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-amplify/core/src/I18n/I18n.ts","../node_modules/@aws-amplify/core/src/I18n/index.ts","../node_modules/@aws-amplify/ui-components/dist/esm-es5/Translations-108d469f.js","../node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-auth-fields_9.entry.js","../node_modules/@aws-amplify/ui-components/dist/esm-es5/constants-c8ecaa24.js"],"sourcesContent":["/*\n * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with\n * the License. A copy of the License is located at\n *\n * http://aws.amazon.com/apache2.0/\n *\n * or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions\n * and limitations under the License.\n */\n\nimport { I18nOptions } from './types';\nimport { ConsoleLogger as Logger } from '../Logger';\n\nconst logger = new Logger('I18n');\n\n/**\n * Language transition class\n */\nexport class I18n {\n\t/**\n\t * @private\n\t */\n\t_options: I18nOptions = null;\n\n\t/**\n\t * @private\n\t */\n\t_lang = null;\n\n\t/**\n\t * @private\n\t */\n\t_dict = {};\n\n\t/**\n\t * @constructor\n\t * Initialize with configurations\n\t * @param {Object} options\n\t */\n\tconstructor(options: I18nOptions) {\n\t\tthis._options = Object.assign({}, options);\n\t\tthis._lang = this._options.language;\n\n\t\tif (\n\t\t\t!this._lang &&\n\t\t\ttypeof window !== 'undefined' &&\n\t\t\twindow &&\n\t\t\twindow.navigator\n\t\t) {\n\t\t\tthis._lang = window.navigator.language;\n\t\t}\n\n\t\tlogger.debug(this._lang);\n\t}\n\n\t/**\n\t * @method\n\t * Explicitly setting language\n\t * @param {String} lang\n\t */\n\tsetLanguage(lang: string) {\n\t\tthis._lang = lang;\n\t}\n\n\t/**\n\t * @method\n\t * Get value\n\t * @param {String} key\n\t * @param {String} defVal - Default value\n\t */\n\tget(key, defVal = undefined) {\n\t\tif (!this._lang) {\n\t\t\treturn typeof defVal !== 'undefined' ? defVal : key;\n\t\t}\n\n\t\tconst lang = this._lang;\n\t\tlet val = this.getByLanguage(key, lang);\n\t\tif (val) {\n\t\t\treturn val;\n\t\t}\n\n\t\tif (lang.indexOf('-') > 0) {\n\t\t\tval = this.getByLanguage(key, lang.split('-')[0]);\n\t\t}\n\t\tif (val) {\n\t\t\treturn val;\n\t\t}\n\n\t\treturn typeof defVal !== 'undefined' ? defVal : key;\n\t}\n\n\t/**\n\t * @method\n\t * Get value according to specified language\n\t * @param {String} key\n\t * @param {String} language - Specified langurage to be used\n\t * @param {String} defVal - Default value\n\t */\n\tgetByLanguage(key, language, defVal = null) {\n\t\tif (!language) {\n\t\t\treturn defVal;\n\t\t}\n\n\t\tconst lang_dict = this._dict[language];\n\t\tif (!lang_dict) {\n\t\t\treturn defVal;\n\t\t}\n\n\t\treturn lang_dict[key];\n\t}\n\n\t/**\n\t * @method\n\t * Add vocabularies for one language\n\t * @param {String} language - Language of the dictionary\n\t * @param {Object} vocabularies - Object that has key-value as dictionary entry\n\t */\n\tputVocabulariesForLanguage(language, vocabularies) {\n\t\tlet lang_dict = this._dict[language];\n\t\tif (!lang_dict) {\n\t\t\tlang_dict = this._dict[language] = {};\n\t\t}\n\t\tObject.assign(lang_dict, vocabularies);\n\t}\n\n\t/**\n\t * @method\n\t * Add vocabularies for one language\n\t * @param {Object} vocabularies - Object that has language as key,\n\t * vocabularies of each language as value\n\t */\n\tputVocabularies(vocabularies) {\n\t\tObject.keys(vocabularies).map(key => {\n\t\t\tthis.putVocabulariesForLanguage(key, vocabularies[key]);\n\t\t});\n\t}\n}\n","/*\n * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"). You may not use this file except in compliance with\n * the License. A copy of the License is located at\n *\n * http://aws.amazon.com/apache2.0/\n *\n * or in the \"license\" file accompanying this file. This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions\n * and limitations under the License.\n */\n\nimport { I18n as I18nClass } from './I18n';\n\nimport { ConsoleLogger as Logger } from '../Logger';\nimport { Amplify } from '../Amplify';\n\nconst logger = new Logger('I18n');\n\nlet _config = null;\nlet _i18n = null;\n\n/**\n * Export I18n APIs\n */\nexport class I18n {\n\t/**\n\t * @static\n\t * @method\n\t * Configure I18n part\n\t * @param {Object} config - Configuration of the I18n\n\t */\n\tstatic configure(config) {\n\t\tlogger.debug('configure I18n');\n\t\tif (!config) {\n\t\t\treturn _config;\n\t\t}\n\n\t\t_config = Object.assign({}, _config, config.I18n || config);\n\n\t\tI18n.createInstance();\n\n\t\treturn _config;\n\t}\n\n\tstatic getModuleName() {\n\t\treturn 'I18n';\n\t}\n\n\t/**\n\t * @static\n\t * @method\n\t * Create an instance of I18n for the library\n\t */\n\tstatic createInstance() {\n\t\tlogger.debug('create I18n instance');\n\t\tif (_i18n) {\n\t\t\treturn;\n\t\t}\n\t\t_i18n = new I18nClass(_config);\n\t}\n\n\t/**\n\t * @static @method\n\t * Explicitly setting language\n\t * @param {String} lang\n\t */\n\tstatic setLanguage(lang) {\n\t\tI18n.checkConfig();\n\n\t\treturn _i18n.setLanguage(lang);\n\t}\n\n\t/**\n\t * @static @method\n\t * Get value\n\t * @param {String} key\n\t * @param {String} defVal - Default value\n\t */\n\tstatic get(key, defVal?) {\n\t\tif (!I18n.checkConfig()) {\n\t\t\treturn typeof defVal === 'undefined' ? key : defVal;\n\t\t}\n\n\t\treturn _i18n.get(key, defVal);\n\t}\n\n\t/**\n\t * @static\n\t * @method\n\t * Add vocabularies for one language\n\t * @param {String} langurage - Language of the dictionary\n\t * @param {Object} vocabularies - Object that has key-value as dictionary entry\n\t */\n\tstatic putVocabulariesForLanguage(language, vocabularies) {\n\t\tI18n.checkConfig();\n\n\t\treturn _i18n.putVocabulariesForLanguage(language, vocabularies);\n\t}\n\n\t/**\n\t * @static\n\t * @method\n\t * Add vocabularies for one language\n\t * @param {Object} vocabularies - Object that has language as key,\n\t * vocabularies of each language as value\n\t */\n\tstatic putVocabularies(vocabularies) {\n\t\tI18n.checkConfig();\n\n\t\treturn _i18n.putVocabularies(vocabularies);\n\t}\n\n\tpublic static checkConfig() {\n\t\tif (!_i18n) {\n\t\t\t_i18n = new I18nClass(_config);\n\t\t}\n\n\t\treturn true;\n\t}\n}\n\nAmplify.register(I18n);\n\n/**\n * @deprecated use named import\n */\nexport default I18n;\n","import { AuthErrorStrings } from '@aws-amplify/auth';\nvar AuthStrings;\n(function (AuthStrings) {\n AuthStrings[\"BACK_TO_SIGN_IN\"] = \"Back to Sign In\";\n AuthStrings[\"CHANGE_PASSWORD_ACTION\"] = \"Change\";\n AuthStrings[\"CHANGE_PASSWORD\"] = \"Change Password\";\n AuthStrings[\"CODE_LABEL\"] = \"Verification code\";\n AuthStrings[\"CODE_PLACEHOLDER\"] = \"Enter code\";\n AuthStrings[\"CONFIRM_SIGN_UP_CODE_LABEL\"] = \"Confirmation Code\";\n AuthStrings[\"CONFIRM_SIGN_UP_CODE_PLACEHOLDER\"] = \"Enter your code\";\n AuthStrings[\"CONFIRM_SIGN_UP_HEADER_TEXT\"] = \"Confirm Sign up\";\n AuthStrings[\"CONFIRM_SIGN_UP_LOST_CODE\"] = \"Lost your code?\";\n AuthStrings[\"CONFIRM_SIGN_UP_RESEND_CODE\"] = \"Resend Code\";\n AuthStrings[\"CONFIRM_SIGN_UP_SUBMIT_BUTTON_TEXT\"] = \"Confirm\";\n AuthStrings[\"CONFIRM_SMS_CODE\"] = \"Confirm SMS Code\";\n AuthStrings[\"CONFIRM_TOTP_CODE\"] = \"Confirm TOTP Code\";\n AuthStrings[\"CONFIRM\"] = \"Confirm\";\n AuthStrings[\"CREATE_ACCOUNT_TEXT\"] = \"Create account\";\n AuthStrings[\"EMAIL_LABEL\"] = \"Email Address *\";\n AuthStrings[\"EMAIL_PLACEHOLDER\"] = \"Enter your email address\";\n AuthStrings[\"FORGOT_PASSWORD_TEXT\"] = \"Forgot your password?\";\n AuthStrings[\"LESS_THAN_TWO_MFA_VALUES_MESSAGE\"] = \"Less than two MFA types available\";\n AuthStrings[\"NEW_PASSWORD_LABEL\"] = \"New password\";\n AuthStrings[\"NEW_PASSWORD_PLACEHOLDER\"] = \"Enter your new password\";\n AuthStrings[\"NO_ACCOUNT_TEXT\"] = \"No account?\";\n AuthStrings[\"USERNAME_REMOVE_WHITESPACE\"] = \"Username cannot contain whitespace\";\n AuthStrings[\"PASSWORD_REMOVE_WHITESPACE\"] = \"Password cannot start or end with whitespace\";\n AuthStrings[\"PASSWORD_LABEL\"] = \"Password *\";\n AuthStrings[\"PASSWORD_PLACEHOLDER\"] = \"Enter your password\";\n AuthStrings[\"PHONE_LABEL\"] = \"Phone Number *\";\n AuthStrings[\"PHONE_PLACEHOLDER\"] = \"(555) 555-1212\";\n AuthStrings[\"QR_CODE_ALT\"] = \"qrcode\";\n AuthStrings[\"RESET_PASSWORD_TEXT\"] = \"Reset password\";\n AuthStrings[\"RESET_YOUR_PASSWORD\"] = \"Reset your password\";\n AuthStrings[\"SELECT_MFA_TYPE_HEADER_TEXT\"] = \"Select MFA Type\";\n AuthStrings[\"SELECT_MFA_TYPE_SUBMIT_BUTTON_TEXT\"] = \"Verify\";\n AuthStrings[\"SEND_CODE\"] = \"Send Code\";\n AuthStrings[\"SUBMIT\"] = \"Submit\";\n AuthStrings[\"SETUP_TOTP_REQUIRED\"] = \"TOTP needs to be configured\";\n AuthStrings[\"SIGN_IN_ACTION\"] = \"Sign In\";\n AuthStrings[\"SIGN_IN_HEADER_TEXT\"] = \"Sign in to your account\";\n AuthStrings[\"SIGN_IN_TEXT\"] = \"Sign in\";\n AuthStrings[\"SIGN_IN_WITH_AMAZON\"] = \"Sign in with Amazon\";\n AuthStrings[\"SIGN_IN_WITH_AUTH0\"] = \"Sign in with Auth0\";\n AuthStrings[\"SIGN_IN_WITH_AWS\"] = \"Sign in with AWS\";\n AuthStrings[\"SIGN_IN_WITH_FACEBOOK\"] = \"Sign in with Facebook\";\n AuthStrings[\"SIGN_IN_WITH_GOOGLE\"] = \"Sign in with Google\";\n AuthStrings[\"SIGN_OUT\"] = \"Sign Out\";\n AuthStrings[\"SIGN_UP_EMAIL_PLACEHOLDER\"] = \"Email\";\n AuthStrings[\"SIGN_UP_HAVE_ACCOUNT_TEXT\"] = \"Have an account?\";\n AuthStrings[\"SIGN_UP_HEADER_TEXT\"] = \"Create a new account\";\n AuthStrings[\"SIGN_UP_PASSWORD_PLACEHOLDER\"] = \"Password\";\n AuthStrings[\"SIGN_UP_SUBMIT_BUTTON_TEXT\"] = \"Create Account\";\n AuthStrings[\"SIGN_UP_USERNAME_PLACEHOLDER\"] = \"Username\";\n AuthStrings[\"SKIP\"] = \"Skip\";\n AuthStrings[\"SUCCESS_MFA_TYPE\"] = \"Success! Your MFA Type is now:\";\n AuthStrings[\"TOTP_HEADER_TEXT\"] = \"Scan then enter verification code\";\n AuthStrings[\"TOTP_LABEL\"] = \"Enter Security Code:\";\n AuthStrings[\"TOTP_ISSUER\"] = \"AWSCognito\";\n AuthStrings[\"TOTP_SETUP_FAILURE\"] = \"TOTP Setup has failed\";\n AuthStrings[\"TOTP_SUBMIT_BUTTON_TEXT\"] = \"Verify Security Token\";\n AuthStrings[\"TOTP_SUCCESS_MESSAGE\"] = \"Setup TOTP successfully!\";\n AuthStrings[\"UNABLE_TO_SETUP_MFA_AT_THIS_TIME\"] = \"Failed! Unable to configure MFA at this time\";\n AuthStrings[\"USERNAME_LABEL\"] = \"Username *\";\n AuthStrings[\"USERNAME_PLACEHOLDER\"] = \"Enter your username\";\n AuthStrings[\"VERIFY_CONTACT_EMAIL_LABEL\"] = \"Email\";\n AuthStrings[\"VERIFY_CONTACT_HEADER_TEXT\"] = \"Account recovery requires verified contact information\";\n AuthStrings[\"VERIFY_CONTACT_PHONE_LABEL\"] = \"Phone Number\";\n AuthStrings[\"VERIFY_CONTACT_SUBMIT_LABEL\"] = \"Submit\";\n AuthStrings[\"VERIFY_CONTACT_VERIFY_LABEL\"] = \"Verify\";\n AuthStrings[\"ADDRESS_LABEL\"] = \"Address\";\n AuthStrings[\"ADDRESS_PLACEHOLDER\"] = \"Enter your address\";\n AuthStrings[\"NICKNAME_LABEL\"] = \"Nickname\";\n AuthStrings[\"NICKNAME_PLACEHOLDER\"] = \"Enter your nickname\";\n AuthStrings[\"BIRTHDATE_LABEL\"] = \"Birthday\";\n AuthStrings[\"BIRTHDATE_PLACEHOLDER\"] = \"Enter your birthday\";\n AuthStrings[\"PICTURE_LABEL\"] = \"Picture URL\";\n AuthStrings[\"PICTURE_PLACEHOLDER\"] = \"Enter your picture URL\";\n AuthStrings[\"FAMILY_NAME_LABEL\"] = \"Family Name\";\n AuthStrings[\"FAMILY_NAME_PLACEHOLDER\"] = \"Enter your family name\";\n AuthStrings[\"PREFERRED_USERNAME_LABEL\"] = \"Preferred Username\";\n AuthStrings[\"PREFERRED_USERNAME_PLACEHOLDER\"] = \"Enter your preferred username\";\n AuthStrings[\"GENDER_LABEL\"] = \"Gender\";\n AuthStrings[\"GENDER_PLACEHOLDER\"] = \"Enter your gender\";\n AuthStrings[\"PROFILE_LABEL\"] = \"Profile URL\";\n AuthStrings[\"PROFILE_PLACEHOLDER\"] = \"Enter your profile URL\";\n AuthStrings[\"GIVEN_NAME_LABEL\"] = \"First Name\";\n AuthStrings[\"GIVEN_NAME_PLACEHOLDER\"] = \"Enter your first name\";\n AuthStrings[\"ZONEINFO_LABEL\"] = \"Time zone\";\n AuthStrings[\"ZONEINFO_PLACEHOLDER\"] = \"Enter your time zone\";\n AuthStrings[\"LOCALE_LABEL\"] = \"Locale\";\n AuthStrings[\"LOCALE_PLACEHOLDER\"] = \"Enter your locale\";\n AuthStrings[\"UPDATED_AT_LABEL\"] = \"Updated At\";\n AuthStrings[\"UPDATED_AT_PLACEHOLDER\"] = \"Enter the time the information was last updated\";\n AuthStrings[\"MIDDLE_NAME_LABEL\"] = \"Middle Name\";\n AuthStrings[\"MIDDLE_NAME_PLACEHOLDER\"] = \"Enter your middle name\";\n AuthStrings[\"WEBSITE_LABEL\"] = \"Website\";\n AuthStrings[\"WEBSITE_PLACEHOLDER\"] = \"Enter your website\";\n AuthStrings[\"NAME_LABEL\"] = \"Full Name\";\n AuthStrings[\"NAME_PLACEHOLDER\"] = \"Enter your full name\";\n AuthStrings[\"PHOTO_PICKER_TITLE\"] = \"Picker Title\";\n AuthStrings[\"PHOTO_PICKER_HINT\"] = \"Ancillary text or content may occupy this space here\";\n AuthStrings[\"PHOTO_PICKER_PLACEHOLDER_HINT\"] = \"Placeholder hint\";\n AuthStrings[\"PHOTO_PICKER_BUTTON_TEXT\"] = \"Button\";\n AuthStrings[\"IMAGE_PICKER_TITLE\"] = \"Add Profile Photo\";\n AuthStrings[\"IMAGE_PICKER_HINT\"] = \"Preview the image before upload\";\n AuthStrings[\"IMAGE_PICKER_PLACEHOLDER_HINT\"] = \"Tap to image select\";\n AuthStrings[\"IMAGE_PICKER_BUTTON_TEXT\"] = \"Upload\";\n AuthStrings[\"PICKER_TEXT\"] = \"Pick a file\";\n AuthStrings[\"TEXT_FALLBACK_CONTENT\"] = \"Fallback Content\";\n AuthStrings[\"CONFIRM_SIGN_UP_FAILED\"] = \"Confirm Sign Up Failed\";\n AuthStrings[\"SIGN_UP_FAILED\"] = \"Sign Up Failed\";\n})(AuthStrings || (AuthStrings = {}));\nvar InteractionsStrings;\n(function (InteractionsStrings) {\n InteractionsStrings[\"CHATBOT_TITLE\"] = \"ChatBot Lex\";\n InteractionsStrings[\"TEXT_INPUT_PLACEHOLDER\"] = \"Write a message\";\n InteractionsStrings[\"VOICE_INPUT_PLACEHOLDER\"] = \"Click mic to speak\";\n InteractionsStrings[\"CHAT_DISABLED_ERROR\"] = \"Error: Either voice or text must be enabled for the chatbot\";\n InteractionsStrings[\"NO_BOT_NAME_ERROR\"] = \"Error: Bot name must be provided to ChatBot\";\n})(InteractionsStrings || (InteractionsStrings = {}));\nvar Translations = Object.assign(Object.assign(Object.assign({}, AuthStrings), AuthErrorStrings), InteractionsStrings);\nexport { Translations as T };\n","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.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.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 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.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.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.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.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 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.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","// Dictionaries\n// fieldId constants\nvar USERNAME_SUFFIX = 'username';\nvar EMAIL_SUFFIX = 'email';\nvar CODE_SUFFIX = 'code';\nvar PHONE_SUFFIX = 'phone';\nvar PASSWORD_SUFFIX = 'password';\n// Country Dial Code common constants\nvar COUNTRY_DIAL_CODE_SUFFIX = 'country-dial-code-select';\nvar COUNTRY_DIAL_CODE_DEFAULT = '+1';\n// Auth Keys\nvar AUTH_SOURCE_KEY = 'amplify-auth-source';\n// Error message Common Constants\nvar PHONE_EMPTY_ERROR_MESSAGE = 'Phone number can not be empty';\nvar NO_AUTH_MODULE_FOUND = 'No Auth module found, please ensure @aws-amplify/auth is imported';\nvar NO_STORAGE_MODULE_FOUND = 'No Storage module found, please ensure @aws-amplify/storage is imported';\nvar NO_INTERACTIONS_MODULE_FOUND = 'No Interactions module found, please ensure @aws-amplify/interactions is imported';\n// Select MFA Types Messages\nvar USER_NOT_SETUP_SOFTWARE_TOKEN_MFA = 'User has not set up software token mfa';\nvar USER_NOT_VERIFIED_SOFTWARE_TOKEN_MFA = 'User has not verified software token mfa';\n// Hub Events and Channels\nvar AUTH_CHANNEL = 'auth';\nvar UI_AUTH_CHANNEL = 'UI Auth';\nvar TOAST_AUTH_ERROR_EVENT = 'ToastAuthError';\nvar AUTH_STATE_CHANGE_EVENT = 'AuthStateChange';\nexport { AUTH_CHANNEL as A, COUNTRY_DIAL_CODE_SUFFIX as C, EMAIL_SUFFIX as E, NO_AUTH_MODULE_FOUND as N, PHONE_EMPTY_ERROR_MESSAGE as P, TOAST_AUTH_ERROR_EVENT as T, UI_AUTH_CHANNEL as U, AUTH_STATE_CHANGE_EVENT as a, PHONE_SUFFIX as b, NO_INTERACTIONS_MODULE_FOUND as c, NO_STORAGE_MODULE_FOUND as d, USER_NOT_SETUP_SOFTWARE_TOKEN_MFA as e, USER_NOT_VERIFIED_SOFTWARE_TOKEN_MFA as f, COUNTRY_DIAL_CODE_DEFAULT as g, AUTH_SOURCE_KEY as h, CODE_SUFFIX as i, PASSWORD_SUFFIX as j, USERNAME_SUFFIX as k };\n"],"names":["logger","Logger","options","_options","_lang","_dict","this","Object","assign","language","window","navigator","debug","I18n","lang","key","defVal","undefined","val","getByLanguage","indexOf","split","lang_dict","vocabularies","keys","map","_this","putVocabulariesForLanguage","_config","_i18n","config","createInstance","I18nClass","checkConfig","setLanguage","get","putVocabularies","Amplify","AuthStrings","InteractionsStrings","Translations","AuthErrorStrings","componentFieldMapping","username","ff","h","label","placeholder","required","handleInputChange","value","inputProps","disabled","hint","password","email","code","min","phone_number","dialCode","default","type","AmplifyAuthFields","hostRef","registerInstance","prototype","constructFormFieldOptions","formFields","content","forEach","formField","push","includes","render","class","style","AmplifyCodeField","fieldId","CODE_SUFFIX","countryDialCodes","AmplifyCountryDialCode","COUNTRY_DIAL_CODE_SUFFIX","componentWillLoad","setSelectedDialCode","watchDialCodeHandler","selectedDialCode","selected","defineProperty","enumerable","configurable","AmplifyEmailField","EMAIL_SUFFIX","name","AmplifyFormSection","submitButtonText","testDataPrefix","loading","secondaryFooterContent","handleFormSubmit","ev","handleSubmit","detail","onSubmit","headerText","AmplifyPasswordField","PASSWORD_SUFFIX","AmplifyPhoneField","PHONE_SUFFIX","slot","DEFAULT_SELECT_OPTION","AmplifySelect","selectOptions","contructSelectOptions","handleSelectOptionsChange","isSelectedOptionValid","some","option","warn","opts","opt","id","onChange","AmplifyUsernameField","USERNAME_SUFFIX","COUNTRY_DIAL_CODE_DEFAULT","AUTH_SOURCE_KEY","PHONE_EMPTY_ERROR_MESSAGE","NO_AUTH_MODULE_FOUND","NO_STORAGE_MODULE_FOUND","NO_INTERACTIONS_MODULE_FOUND","USER_NOT_SETUP_SOFTWARE_TOKEN_MFA","USER_NOT_VERIFIED_SOFTWARE_TOKEN_MFA","AUTH_CHANNEL","UI_AUTH_CHANNEL","TOAST_AUTH_ERROR_EVENT","AUTH_STATE_CHANGE_EVENT"],"sourceRoot":""}