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AAU,CAAE6D,KAAMtC,KAAKkB,QAASsD,GAAIxE,KAAKkB,QAASH,MAAO,SAAU0D,SAAUzE,KAAKnB,mBAAqBmB,KAAK+D,cAC1H,EACA1E,OAAO0C,eAAe+B,EAAe,WAAY,CAC7CxC,IAAK,WACD,MAAO,CACH,QAAW,CAAC,6BACZ,SAAY,CAAC,6BAErB,EACAU,YAAY,EACZC,cAAc,IAEX6B,CACX,CA3CkC,GA4ClCA,EAAc9C,MAAQ2C,EACtB,IAAIe,EAAsC,WACtC,SAASA,EAAqB5E,IAC1B,IAAAC,GAAiBC,KAAMF,GAEvBE,KAAKkB,QAAU,IAEflB,KAAKtB,MAAQ,EAAAyC,EAAawD,eAE1B3E,KAAKrB,YAAc,EAAAwC,EAAayD,qBAEhC5E,KAAKpB,UAAW,CACpB,CAOA,OANA8F,EAAqBzE,UAAUC,kBAAoB,WAC/CC,QAAQC,KAAK,mMACjB,EACAsE,EAAqBzE,UAAUa,OAAS,WACpC,OAAQ,IAAArC,GAAE,qBAAsB,CAAE6D,KAAM,WAAYpB,QAASlB,KAAKkB,QAASxC,MAAO,IAAK4C,IAAItB,KAAKtB,OAAQC,YAAa,IAAK2C,IAAItB,KAAKrB,aAAcC,SAAUoB,KAAKpB,SAAUC,kBAAmBmB,KAAKnB,kBAAmBC,MAAOkB,KAAKlB,MAAOC,WAAYiB,KAAKjB,WAAYC,SAAUgB,KAAKhB,SAAUC,KAAMe,KAAKf,MAC7S,EACOyF,CACX,CAnByC,E","sources":["webpack://dbcsi/./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-auth-fields_9.entry.js"],"sourcesContent":["import { h, r as registerInstance } from './index-83f2275b.js';\nimport { I18n, Logger } from '@aws-amplify/core';\nimport '@aws-amplify/auth';\nimport { T as Translations } from './Translations-108d469f.js';\nimport { i as CODE_SUFFIX, C as COUNTRY_DIAL_CODE_SUFFIX, E as EMAIL_SUFFIX, j as PASSWORD_SUFFIX, b as PHONE_SUFFIX, k as USERNAME_SUFFIX } from './constants-c8ecaa24.js';\nvar componentFieldMapping = {\n username: function (ff) { return (h(\"amplify-username-field\", { label: ff.label, placeholder: ff.placeholder, required: ff.required, handleInputChange: ff.handleInputChange, value: ff.value, inputProps: ff.inputProps, disabled: ff.disabled, hint: ff.hint })); },\n password: function (ff) { return (h(\"amplify-password-field\", { label: ff.label, placeholder: ff.placeholder, hint: ff.hint, required: ff.required, handleInputChange: ff.handleInputChange, value: ff.value, inputProps: ff.inputProps, disabled: ff.disabled })); },\n email: function (ff) { return (h(\"amplify-email-field\", { label: ff.label, placeholder: ff.placeholder, required: ff.required, handleInputChange: ff.handleInputChange, value: ff.value, inputProps: ff.inputProps, disabled: ff.disabled, hint: ff.hint })); },\n code: function (ff) { return (h(\"amplify-code-field\", { label: ff.label, placeholder: ff.placeholder, hint: ff.hint, required: ff.required, handleInputChange: ff.handleInputChange, value: ff.value, inputProps: Object.assign(Object.assign({}, ff.inputProps), { min: '0' }), disabled: ff.disabled })); },\n // TODO: Will create a phone field component once the dial country code component is in\n phone_number: function (ff) { return (h(\"amplify-phone-field\", { label: ff.label, placeholder: ff.placeholder, required: ff.required, handleInputChange: ff.handleInputChange, value: ff.value, inputProps: ff.inputProps, disabled: ff.disabled, dialCode: ff.dialCode, hint: ff.hint })); },\n default: function (ff) { return (h(\"amplify-form-field\", { label: ff.label, type: ff.type, placeholder: ff.placeholder, required: ff.required, handleInputChange: ff.handleInputChange, value: ff.value, inputProps: ff.inputProps, disabled: ff.disabled, hint: ff.hint })); },\n};\nvar amplifyAuthFieldsCss = \".auth-fields{margin-bottom:2rem}\";\nvar AmplifyAuthFields = /** @class */ (function () {\n function AmplifyAuthFields(hostRef) {\n registerInstance(this, hostRef);\n }\n AmplifyAuthFields.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyAuthFields.prototype.constructFormFieldOptions = function (formFields) {\n var content = [];\n if (formFields === undefined)\n return '';\n formFields.forEach(function (formField) {\n if (typeof formField === 'string') {\n content.push(componentFieldMapping[formField](formField));\n }\n else if (Object.keys(componentFieldMapping).includes(formField.type)) {\n content.push(componentFieldMapping[formField.type](formField));\n }\n else {\n content.push(componentFieldMapping['default'](formField));\n }\n });\n return content;\n };\n AmplifyAuthFields.prototype.render = function () {\n return (h(\"div\", { class: \"auth-fields\" }, this.constructFormFieldOptions(this.formFields)));\n };\n return AmplifyAuthFields;\n}());\nAmplifyAuthFields.style = amplifyAuthFieldsCss;\nvar AmplifyCodeField = /** @class */ (function () {\n function AmplifyCodeField(hostRef) {\n registerInstance(this, hostRef);\n /** Based on the type of field e.g. sign in, sign up, forgot password, etc. */\n this.fieldId = CODE_SUFFIX;\n /** Used for the code label */\n this.label = Translations.CODE_LABEL;\n /** Used for the placeholder label */\n this.placeholder = Translations.CODE_PLACEHOLDER;\n /** The required flag in order to make an input required prior to submitting a form */\n this.required = false;\n }\n AmplifyCodeField.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyCodeField.prototype.render = function () {\n return (h(\"amplify-form-field\", { fieldId: this.fieldId, label: I18n.get(this.label), placeholder: I18n.get(this.placeholder), type: \"number\", hint: this.hint, required: this.required, handleInputChange: this.handleInputChange, value: this.value, inputProps: this.inputProps, disabled: this.disabled }));\n };\n return AmplifyCodeField;\n}());\nvar countryDialCodes = [\n { label: '+1', value: '+1' },\n { label: '+7', value: '+7' },\n { label: '+20', value: '+20' },\n { label: '+27', value: '+27' },\n { label: '+30', value: '+30' },\n { label: '+31', value: '+31' },\n { label: '+32', value: '+32' },\n { label: '+33', value: '+33' },\n { label: '+34', value: '+34' },\n { label: '+36', value: '+36' },\n { label: '+39', value: '+39' },\n { label: '+40', value: '+40' },\n { label: '+41', value: '+41' },\n { label: '+43', value: '+43' },\n { label: '+44', value: '+44' },\n { label: '+45', value: '+45' },\n { label: '+46', value: '+46' },\n { label: '+47', value: '+47' },\n { label: '+48', value: '+48' },\n { label: '+49', value: '+49' },\n { label: '+51', value: '+51' },\n { label: '+52', value: '+52' },\n { label: '+53', value: '+53' },\n { label: '+54', value: '+54' },\n { label: '+55', value: '+55' },\n { label: '+56', value: '+56' },\n { label: '+57', value: '+57' },\n { label: '+58', value: '+58' },\n { label: '+60', value: '+60' },\n { label: '+61', value: '+61' },\n { label: '+62', value: '+62' },\n { label: '+63', value: '+63' },\n { label: '+64', value: '+64' },\n { label: '+65', value: '+65' },\n { label: '+66', value: '+66' },\n { label: '+81', value: '+81' },\n { label: '+82', value: '+82' },\n { label: '+84', value: '+84' },\n { label: '+86', value: '+86' },\n { label: '+90', value: '+90' },\n { label: '+91', value: '+91' },\n { label: '+92', value: '+92' },\n { label: '+93', value: '+93' },\n { label: '+94', value: '+94' },\n { label: '+95', value: '+95' },\n { label: '+98', value: '+98' },\n { label: '+212', value: '+212' },\n { label: '+213', value: '+213' },\n { label: '+216', value: '+216' },\n { label: '+218', value: '+218' },\n { label: '+220', value: '+220' },\n { label: '+221', value: '+221' },\n { label: '+222', value: '+222' },\n { label: '+223', value: '+223' },\n { label: '+224', value: '+224' },\n { label: '+225', value: '+225' },\n { label: '+226', value: '+226' },\n { label: '+227', value: '+227' },\n { label: '+228', value: '+228' },\n { label: '+229', value: '+229' },\n { label: '+230', value: '+230' },\n { label: '+231', value: '+231' },\n { label: '+232', value: '+232' },\n { label: '+233', value: '+233' },\n { label: '+234', value: '+234' },\n { label: '+235', value: '+235' },\n { label: '+236', value: '+236' },\n { label: '+237', value: '+237' },\n { label: '+238', value: '+238' },\n { label: '+239', value: '+239' },\n { label: '+240', value: '+240' },\n { label: '+241', value: '+241' },\n { label: '+242', value: '+242' },\n { label: '+243', value: '+243' },\n { label: '+244', value: '+244' },\n { label: '+245', value: '+245' },\n { label: '+246', value: '+246' },\n { label: '+248', value: '+248' },\n { label: '+249', value: '+249' },\n { label: '+250', value: '+250' },\n { label: '+251', value: '+251' },\n { label: '+252', value: '+252' },\n { label: '+253', value: '+253' },\n { label: '+254', value: '+254' },\n { label: '+255', value: '+255' },\n { label: '+256', value: '+256' },\n { label: '+257', value: '+257' },\n { label: '+258', value: '+258' },\n { label: '+260', value: '+260' },\n { label: '+261', value: '+261' },\n { label: '+262', value: '+262' },\n { label: '+263', value: '+263' },\n { label: '+264', value: '+264' },\n { label: '+265', value: '+265' },\n { label: '+266', value: '+266' },\n { label: '+267', value: '+267' },\n { label: '+268', value: '+268' },\n { label: '+269', value: '+269' },\n { label: '+290', value: '+290' },\n { label: '+291', value: '+291' },\n { label: '+297', value: '+297' },\n { label: '+298', value: '+298' },\n { label: '+299', value: '+299' },\n { label: '+345', value: '+345' },\n { label: '+350', value: '+350' },\n { label: '+351', value: '+351' },\n { label: '+352', value: '+352' },\n { label: '+353', value: '+353' },\n { label: '+354', value: '+354' },\n { label: '+355', value: '+355' },\n { label: '+356', value: '+356' },\n { label: '+357', value: '+357' },\n { label: '+358', value: '+358' },\n { label: '+359', value: '+359' },\n { label: '+370', value: '+370' },\n { label: '+371', value: '+371' },\n { label: '+372', value: '+372' },\n { label: '+373', value: '+373' },\n { label: '+374', value: '+374' },\n { label: '+375', value: '+375' },\n { label: '+376', value: '+376' },\n { label: '+377', value: '+377' },\n { label: '+378', value: '+378' },\n { label: '+379', value: '+379' },\n { label: '+380', value: '+380' },\n { label: '+381', value: '+381' },\n { label: '+382', value: '+382' },\n { label: '+385', value: '+385' },\n { label: '+386', value: '+386' },\n { label: '+387', value: '+387' },\n { label: '+389', value: '+389' },\n { label: '+420', value: '+420' },\n { label: '+421', value: '+421' },\n { label: '+423', value: '+423' },\n { label: '+500', value: '+500' },\n { label: '+501', value: '+501' },\n { label: '+502', value: '+502' },\n { label: '+503', value: '+503' },\n { label: '+504', value: '+504' },\n { label: '+505', value: '+505' },\n { label: '+506', value: '+506' },\n { label: '+507', value: '+507' },\n { label: '+508', value: '+508' },\n { label: '+509', value: '+509' },\n { label: '+537', value: '+537' },\n { label: '+590', value: '+590' },\n { label: '+591', value: '+591' },\n { label: '+593', value: '+593' },\n { label: '+594', value: '+594' },\n { label: '+595', value: '+595' },\n { label: '+596', value: '+596' },\n { label: '+597', value: '+597' },\n { label: '+598', value: '+598' },\n { label: '+599', value: '+599' },\n { label: '+670', value: '+670' },\n { label: '+672', value: '+672' },\n { label: '+673', value: '+673' },\n { label: '+674', value: '+674' },\n { label: '+675', value: '+675' },\n { label: '+676', value: '+676' },\n { label: '+677', value: '+677' },\n { label: '+678', value: '+678' },\n { label: '+679', value: '+679' },\n { label: '+680', value: '+680' },\n { label: '+681', value: '+681' },\n { label: '+682', value: '+682' },\n { label: '+683', value: '+683' },\n { label: '+685', value: '+685' },\n { label: '+686', value: '+686' },\n { label: '+687', value: '+687' },\n { label: '+688', value: '+688' },\n { label: '+689', value: '+689' },\n { label: '+690', value: '+690' },\n { label: '+691', value: '+691' },\n { label: '+692', value: '+692' },\n { label: '+850', value: '+850' },\n { label: '+852', value: '+852' },\n { label: '+853', value: '+853' },\n { label: '+855', value: '+855' },\n { label: '+856', value: '+856' },\n { label: '+872', value: '+872' },\n { label: '+880', value: '+880' },\n { label: '+886', value: '+886' },\n { label: '+960', value: '+960' },\n { label: '+961', value: '+961' },\n { label: '+962', value: '+962' },\n { label: '+963', value: '+963' },\n { label: '+964', value: '+964' },\n { label: '+965', value: '+965' },\n { label: '+966', value: '+966' },\n { label: '+967', value: '+967' },\n { label: '+968', value: '+968' },\n { label: '+970', value: '+970' },\n { label: '+971', value: '+971' },\n { label: '+972', value: '+972' },\n { label: '+973', value: '+973' },\n { label: '+974', value: '+974' },\n { label: '+975', value: '+975' },\n { label: '+976', value: '+976' },\n { label: '+977', value: '+977' },\n { label: '+992', value: '+992' },\n { label: '+993', value: '+993' },\n { label: '+994', value: '+994' },\n { label: '+995', value: '+995' },\n { label: '+996', value: '+996' },\n { label: '+998', value: '+998' },\n];\nvar AmplifyCountryDialCode = /** @class */ (function () {\n function AmplifyCountryDialCode(hostRef) {\n registerInstance(this, hostRef);\n /** The ID of the field. Should match with its corresponding input's ID. */\n this.fieldId = COUNTRY_DIAL_CODE_SUFFIX;\n /** The options of the country dial code select input. */\n this.options = countryDialCodes;\n /** Default selected dial code */\n this.dialCode = '+1';\n }\n AmplifyCountryDialCode.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n this.setSelectedDialCode();\n };\n AmplifyCountryDialCode.prototype.watchDialCodeHandler = function () {\n this.setSelectedDialCode();\n };\n AmplifyCountryDialCode.prototype.setSelectedDialCode = function () {\n if (typeof this.dialCode === 'number') {\n this.selectedDialCode = \"+\" + this.dialCode;\n }\n else {\n this.selectedDialCode = this.dialCode;\n }\n };\n AmplifyCountryDialCode.prototype.render = function () {\n return (h(\"amplify-select\", { fieldId: this.fieldId, options: this.options, handleInputChange: this.handleInputChange, selected: this.selectedDialCode }));\n };\n Object.defineProperty(AmplifyCountryDialCode, \"watchers\", {\n get: function () {\n return {\n \"dialCode\": [\"watchDialCodeHandler\"]\n };\n },\n enumerable: false,\n configurable: true\n });\n return AmplifyCountryDialCode;\n}());\nvar AmplifyEmailField = /** @class */ (function () {\n function AmplifyEmailField(hostRef) {\n registerInstance(this, hostRef);\n /** Based on the type of field e.g. sign in, sign up, forgot password, etc. */\n this.fieldId = EMAIL_SUFFIX;\n /** Used for the EMAIL label */\n this.label = Translations.EMAIL_LABEL;\n /** Used for the placeholder label */\n this.placeholder = Translations.EMAIL_PLACEHOLDER;\n /** The required flag in order to make an input required prior to submitting a form */\n this.required = false;\n }\n AmplifyEmailField.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyEmailField.prototype.render = function () {\n return (h(\"amplify-form-field\", { fieldId: this.fieldId, label: I18n.get(this.label), placeholder: I18n.get(this.placeholder), type: \"email\", name: \"email\", required: this.required, handleInputChange: this.handleInputChange, value: this.value, inputProps: this.inputProps, disabled: this.disabled, hint: this.hint }));\n };\n return AmplifyEmailField;\n}());\nvar amplifyFormSectionCss = \"amplify-form-section{--header-color:var(--amplify-secondary-color);--header-size:var(--amplify-text-md-sub);--subtitle-size:var(--amplify-grey);--subtitle-color:var(--amplify-grey);--footer-color:var(--amplify-grey);--footer-size:var(--amplify-text-sm);--font-family:var(--amplify-font-family);--font-weight:var(--amplify-font-weight)}.form-section-header{margin:1rem 0 1.5rem 0}.form-section-header .header{color:var(--header-color);font-size:var(--header-size);font-weight:700;margin-bottom:0.75rem}.form-section-header .subtitle{font-weight:400;font-size:var(--amplify-text-sm);color:var(--subtitle-color)}.form-section-footer{font-family:var(--font-family);font-weight:var(--font-weight);font-size:var(--footer-size);color:var(--footer-color);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around}@media (min-width: 672px){.form-section-footer{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:baseline;align-items:baseline}}.form-section-footer *+*{margin-top:15px}\";\nvar AmplifyFormSection = /** @class */ (function () {\n function AmplifyFormSection(hostRef) {\n registerInstance(this, hostRef);\n /** (Optional) Used as a the default value within the default footer slot */\n this.submitButtonText = 'Submit';\n /** String prefix for the data-test attributes in this component primarily used for testing purposes */\n this.testDataPrefix = 'form-section';\n /** Loading state for the form */\n this.loading = false;\n /** Secondary footer component or text */\n this.secondaryFooterContent = null;\n }\n // eslint-disable-next-line\n AmplifyFormSection.prototype.handleFormSubmit = function (ev) {\n this.handleSubmit(ev.detail);\n };\n AmplifyFormSection.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyFormSection.prototype.render = function () {\n return (h(\"form\", { onSubmit: this.handleSubmit }, h(\"amplify-section\", null, h(\"div\", null, h(\"slot\", { name: \"amplify-form-section-header\" }, h(\"div\", { class: \"form-section-header\" }, h(\"h3\", { class: \"header\", \"data-test\": this.testDataPrefix + '-header-section' }, this.headerText), h(\"div\", { class: \"subtitle\" }, h(\"slot\", { name: \"subtitle\" }))))), h(\"slot\", null), h(\"div\", null, h(\"slot\", { name: \"amplify-form-section-footer\" }, h(\"div\", { class: \"form-section-footer\" }, h(\"amplify-button\", { type: \"submit\", \"data-test\": this.testDataPrefix + '-' + this.testDataPrefix + '-button' }, this.loading ? (h(\"amplify-loading-spinner\", null)) : (h(\"span\", null, this.submitButtonText))), this.secondaryFooterContent))))));\n };\n return AmplifyFormSection;\n}());\nAmplifyFormSection.style = amplifyFormSectionCss;\nvar AmplifyPasswordField = /** @class */ (function () {\n function AmplifyPasswordField(hostRef) {\n registerInstance(this, hostRef);\n /** Based on the type of field e.g. sign in, sign up, forgot password, etc. */\n this.fieldId = PASSWORD_SUFFIX;\n /** Used for the password label */\n this.label = Translations.PASSWORD_LABEL;\n /** Used for the placeholder label */\n this.placeholder = Translations.PASSWORD_PLACEHOLDER;\n /** The required flag in order to make an input required prior to submitting a form */\n this.required = false;\n }\n AmplifyPasswordField.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyPasswordField.prototype.render = function () {\n return (h(\"amplify-form-field\", { type: \"password\", name: \"password\", fieldId: this.fieldId, label: I18n.get(this.label), placeholder: I18n.get(this.placeholder), hint: this.hint, required: this.required, handleInputChange: this.handleInputChange, value: this.value, inputProps: this.inputProps, disabled: this.disabled }));\n };\n return AmplifyPasswordField;\n}());\nvar amplifyPhoneFieldCss = \".phone-field{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:start;align-items:flex-start;width:100%}.phone-field input{border-left:none;border-radius:0 3px 3px 0}\";\nvar AmplifyPhoneField = /** @class */ (function () {\n function AmplifyPhoneField(hostRef) {\n registerInstance(this, hostRef);\n /** Based on the type of field e.g. sign in, sign up, forgot password, etc. */\n this.fieldId = PHONE_SUFFIX;\n /** Used for the Phone label */\n this.label = Translations.PHONE_LABEL;\n /** Used for the placeholder label */\n this.placeholder = Translations.PHONE_PLACEHOLDER;\n /** The required flag in order to make an input required prior to submitting a form */\n this.required = false;\n }\n AmplifyPhoneField.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyPhoneField.prototype.render = function () {\n return (h(\"div\", null, h(\"amplify-form-field\", { label: I18n.get(this.label), hint: this.hint }, h(\"div\", { class: \"phone-field\", slot: \"input\" }, h(\"amplify-country-dial-code\", { dialCode: this.dialCode, handleInputChange: this.handleInputChange }), h(\"amplify-input\", { fieldId: this.fieldId, type: \"tel\", handleInputChange: this.handleInputChange, placeholder: I18n.get(this.placeholder), name: this.fieldId, value: this.value, inputProps: this.inputProps, disabled: this.disabled, required: this.required })))));\n };\n return AmplifyPhoneField;\n}());\nAmplifyPhoneField.style = amplifyPhoneFieldCss;\nvar amplifySelectCss = \":host{--color:var(--amplify-secondary-color);--background-color:var(--amplify-secondary-contrast);--border-color:var(--amplify-light-grey);--border-focus:var(--amplify-primary-color);--background-image:linear-gradient(45deg, transparent 50%, gray 50%),\\n \\tlinear-gradient(135deg, gray 50%, transparent 50%),\\n \\tlinear-gradient(to right, #ccc, #ccc)}.select{padding:1rem 1.75rem 1rem 1rem;font-size:var(--amplify-text-sm);color:var(--color);background-color:var(--background-color);border:1px solid var(--border-color);border-radius:3px 0 0 3px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-preferred-size:auto;flex-basis:auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0;height:3.125rem;background-image:var(--background-image);background-position:calc(100% - 1rem) calc(1em + 0.5rem), calc(100% - 0.7rem) calc(1em + 0.5rem), calc(100% - 2.5em) 0.5em;background-size:6px 5px, 6px 5px, 0px 1.5em;background-repeat:no-repeat}.select :focus{outline:none;border-color:var(--border-focus)}\";\nvar DEFAULT_SELECT_OPTION = [{ label: '', value: 1 }];\nvar logger = new Logger('amplify-select');\nvar AmplifySelect = /** @class */ (function () {\n function AmplifySelect(hostRef) {\n registerInstance(this, hostRef);\n /** The options of the select input. Must be an Array of Objects with an Object shape of {label: string, value: string|number} */\n this.options = DEFAULT_SELECT_OPTION;\n }\n AmplifySelect.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n this.selectOptions = this.contructSelectOptions(this.options);\n };\n AmplifySelect.prototype.handleSelectOptionsChange = function () {\n this.selectOptions = this.contructSelectOptions(this.options);\n };\n AmplifySelect.prototype.isSelectedOptionValid = function (selected) {\n if (selected && !this.options.some(function (option) { return option.value === selected; })) {\n logger.warn('Selected option does not exist in options values, falling back to initial option');\n return false;\n }\n return true;\n };\n AmplifySelect.prototype.contructSelectOptions = function (opts) {\n var _this = this;\n this.isSelectedOptionValid(this.selected);\n var content = [];\n opts.forEach(function (opt) {\n content.push(h(\"option\", { value: opt.value, selected: opt.value === _this.selected }, opt.label));\n });\n return content;\n };\n AmplifySelect.prototype.render = function () {\n return (h(\"select\", { name: this.fieldId, id: this.fieldId, class: \"select\", onChange: this.handleInputChange }, this.selectOptions));\n };\n Object.defineProperty(AmplifySelect, \"watchers\", {\n get: function () {\n return {\n \"options\": [\"handleSelectOptionsChange\"],\n \"selected\": [\"handleSelectOptionsChange\"]\n };\n },\n enumerable: false,\n configurable: true\n });\n return AmplifySelect;\n}());\nAmplifySelect.style = amplifySelectCss;\nvar AmplifyUsernameField = /** @class */ (function () {\n function AmplifyUsernameField(hostRef) {\n registerInstance(this, hostRef);\n /** Based on the type of field e.g. sign in, sign up, forgot password, etc. */\n this.fieldId = USERNAME_SUFFIX;\n /** Used for the username label */\n this.label = Translations.USERNAME_LABEL;\n /** Used for the placeholder label */\n this.placeholder = Translations.USERNAME_PLACEHOLDER;\n /** The required flag in order to make an input required prior to submitting a form */\n this.required = false;\n }\n AmplifyUsernameField.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyUsernameField.prototype.render = function () {\n return (h(\"amplify-form-field\", { name: \"username\", fieldId: this.fieldId, label: I18n.get(this.label), placeholder: I18n.get(this.placeholder), required: this.required, handleInputChange: this.handleInputChange, value: this.value, inputProps: this.inputProps, disabled: this.disabled, hint: this.hint }));\n };\n return AmplifyUsernameField;\n}());\nexport { AmplifyAuthFields as amplify_auth_fields, AmplifyCodeField as amplify_code_field, AmplifyCountryDialCode as amplify_country_dial_code, AmplifyEmailField as amplify_email_field, AmplifyFormSection as amplify_form_section, AmplifyPasswordField as amplify_password_field, AmplifyPhoneField as amplify_phone_field, AmplifySelect as amplify_select, AmplifyUsernameField as amplify_username_field };\n"],"names":["componentFieldMapping","username","ff","h","label","placeholder","required","handleInputChange","value","inputProps","disabled","hint","password","email","code","Object","assign","min","phone_number","dialCode","default","type","amplifyAuthFieldsCss","AmplifyAuthFields","hostRef","r","this","prototype","componentWillLoad","console","warn","constructFormFieldOptions","formFields","content","undefined","forEach","formField","push","keys","includes","render","class","style","AmplifyCodeField","fieldId","T","CODE_LABEL","CODE_PLACEHOLDER","get","countryDialCodes","AmplifyCountryDialCode","C","options","setSelectedDialCode","watchDialCodeHandler","selectedDialCode","selected","defineProperty","enumerable","configurable","AmplifyEmailField","E","EMAIL_LABEL","EMAIL_PLACEHOLDER","name","amplifyFormSectionCss","AmplifyFormSection","submitButtonText","testDataPrefix","loading","secondaryFooterContent","handleFormSubmit","ev","handleSubmit","detail","onSubmit","headerText","AmplifyPasswordField","PASSWORD_LABEL","PASSWORD_PLACEHOLDER","amplifyPhoneFieldCss","AmplifyPhoneField","PHONE_LABEL","PHONE_PLACEHOLDER","slot","amplifySelectCss","DEFAULT_SELECT_OPTION","logger","AmplifySelect","selectOptions","contructSelectOptions","handleSelectOptionsChange","isSelectedOptionValid","some","option","opts","_this","opt","id","onChange","AmplifyUsernameField","USERNAME_LABEL","USERNAME_PLACEHOLDER"],"sourceRoot":""}