@aws-amplify/ui-vue 3.1.18 → 3.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +9 -9
- package/dist/index.js +150 -150
- package/dist/src/version.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r=require("vue"),W=require("aws-amplify"),Xa=require("@aws-amplify/auth");const ge=r.defineComponent({__name:"base-field-set",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"fieldSetI",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("fieldset",r.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[r.renderSlot(n.$slots,"default")],16)])}}),es=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ae=r.defineComponent({__name:"amplify-button",props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null,loading:{type:[Boolean,String]},disabled:{type:[Boolean,String]}},setup(e){const t=e,{type:n,fullWidth:o,size:i,variation:a,fontWeight:s}=r.toRefs(t);return(l,c)=>r.renderSlot(l.$slots,"buttont",r.normalizeProps(r.guardReactiveProps(l.$attrs)),()=>[r.createElementVNode("button",r.mergeProps({class:["amplify-button",{[`amplify-button--${r.unref(a)}`]:r.unref(a),[`amplify-button--${r.unref(i)}`]:r.unref(i),"amplify-button--fullwidth":r.unref(o),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:r.unref(n),style:{fontWeight:r.unref(s)},"data-fullwidth":r.unref(o),"data-size":r.unref(i),"data-fontWeight":r.unref(s),"data-variation":r.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},l.$attrs,{"data-amplify-button":""}),[r.renderSlot(l.$slots,"default")],16,es)])}}),se=e=>{var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},ar=e=>{var t;return(t=se(e))===null||t===void 0?void 0:t.context};var Fn,io;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(Fn||(Fn={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(io||(io={}));const ts=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],ns=["username","email","phone_number"],di=[...ns,...ts,"confirmation_code","password","confirm_password"],rs=e=>di.includes(e);var X;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.StorageManager="amplify-storagemanager",e.StorageManagerDropZone="amplify-storagemanager__dropzone",e.StorageManagerDropZoneIcon="amplify-storagemanager__dropzone__icon",e.StorageManagerDropZoneText="amplify-storagemanager__dropzone__text",e.StorageManagerFilePicker="amplify-storagemanager__file__picker",e.StorageManagerFile="amplify-storagemanager__file",e.StorageManagerFileWrapper="amplify-storagemanager__file__wrapper",e.StorageManagerFileList="amplify-storagemanager__file__list",e.StorageManagerFileName="amplify-storagemanager__file__name",e.StorageManagerFileSize="amplify-storagemanager__file__size",e.StorageManagerFileInfo="amplify-storagemanager__file__info",e.StorageManagerFileImage="amplify-storagemanager__file__image",e.StorageManagerFileMain="amplify-storagemanager__file__main",e.StorageManagerFileStatus="amplify-storagemanager__file__status",e.StorageManagerLoader="amplify-storagemanager__loader",e.StorageManagerPreviewer="amplify-storagemanager__previewer",e.StorageManagerPreviewerText="amplify-storagemanager__previewer__text",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"})(X||(X={}));const Vn=e=>{var t;const n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms,[o]=n!=null?n:["username"];return o},os=e=>{const t=n=>o=>e({type:n,data:o});return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},is=e=>{var t,n,o,i,a;const s=(t=ar(e))!==null&&t!==void 0?t:{},{codeDeliveryDetails:l,remoteError:c,unverifiedContactMethods:u,validationError:d,totpSecretCode:g=null}=s,{socialProviders:f}=(o=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&o!==void 0?o:{},p=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,v=d&&Object.keys(d).length>0,h=se(e),_=e.hasTag("pending")||(h==null?void 0:h.hasTag("pending")),m=(()=>{switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case(h==null?void 0:h.matches("confirmSignUp")):return"confirmSignUp";case(h==null?void 0:h.matches("confirmSignIn")):return"confirmSignIn";case(h==null?void 0:h.matches("setupTOTP.edit")):case(h==null?void 0:h.matches("setupTOTP.submit")):return"setupTOTP";case(h==null?void 0:h.matches("signIn")):return"signIn";case(h==null?void 0:h.matches("signUp")):return"signUp";case(h==null?void 0:h.matches("forceNewPassword")):return"forceNewPassword";case(h==null?void 0:h.matches("resetPassword")):return"resetPassword";case(h==null?void 0:h.matches("confirmResetPassword")):return"confirmResetPassword";case(h==null?void 0:h.matches("verifyUser")):return"verifyUser";case(h==null?void 0:h.matches("confirmVerifyUser")):return"confirmVerifyUser";case(h==null?void 0:h.matches("setupTOTP.getTotpSecretCode")):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})();return{authStatus:(w=>{switch(w){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(m),codeDeliveryDetails:l,error:c,hasValidationErrors:v,isPending:_,route:m,socialProviders:f,totpSecretCode:g,unverifiedContactMethods:u,user:p,validationErrors:d}},as=({send:e,state:t})=>{const n=os(e),o=is(t);return Object.assign(Object.assign({},n),o)},ss=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"],ls={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen",Confirm:"Best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code",Confirming:"Wird best\xE4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your Email":"Geben Sie Ihre E-Mail","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihre Passwort ein","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xFCcksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},cs={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your Email":"Enter your Email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},us={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contrase\xF1a","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password.":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},ds={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your Email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xE9","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},fs={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your Email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},ps={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your Email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Apple":"Apple \u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Please confirm your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
|
|
2
|
-
+12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},ms={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your Email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},gs={"Account recovery requires verified contact information":"Gjenoppretting av konto krever verifisert kontaktinformajson","Add your Profile":"Legg til profilen din","Add your Website":"Legg til nettsiden din","Back to Sign In":"Tilbake til innlogging","Change Password":"Bytt passord",Changing:"Endre",Code:"Kode","Confirm Password":"Bekreft passordet","Confirm Sign Up":"Bekreft registrering","Confirm SMS Code":"Bekreft SMS-kode","Confirm TOTP Code":"Bekreft TOTP-kode",Confirm:"Bekreft","Confirmation Code":"Bekreftelseskode",Confirming:"Bekrefter","Create a new account":"Opprett en ny konto","Create Account":"Opprett konto","Creating Account":"Oppretter konto","Dismiss alert":"Avvis varsel",Email:"E-post","Enter your Birthdate":"Skriv inn f\xF8dselsdatoen din","Enter your code":"Skriv inn koden din","Enter your Confirmation Code":"Skriv inn bekreftelseskoden din","Enter your Email":"Skriv inn e-postadressen din","Enter your Family Name":"Skriv inn etternavnet ditt","Enter your Given Name":"Skriv inn fornavnet ditt","Enter your Middle Name":"Skriv inn mellomnavnet ditt","Enter your Name":"Skriv inn navnet ditt","Enter your Nickname":"Skriv inn kallenavnet ditt","Enter your Password":"Skriv inn passordet ditt","Enter your phone number":"Skriv inn telefonnummeret ditt","Enter your Preferred Username":"Skriv inn det foretrukne brukernavnet ditt","Enter your username":"Skriv inn brukernavnet ditt","Forgot password?":"Glemt passord?","Forgot your password?":"Glemt passordet ditt?","Hide password":"Skjul passordet","It may take a minute to arrive":"Det kan ta et minutt for \xE5 komme frem",Loading:"Laster inn","New password":"Nytt passord",or:"eller",Password:"Passord","Phone Number":"Telefonnummer","Please confirm your Password":"Vennligst bekreft passordet ditt","Resend Code":"Send koden p\xE5 nytt","Reset your password":"Nullstill passordet ditt","Reset your Password":"Nullstill passordet ditt","Send code":"Send kode","Send Code":"Send kode",Sending:"Sender","Setup TOTP":"Konfigurer TOTP","Show password":"Vis passordet","Sign in to your account":"Logg inn p\xE5 kontoen din","Sign In with Amazon":"Logg inn med Amazon","Sign In with Apple":"Logg inn med Apple","Sign In with Facebook":"Logg inn med Facebook","Sign In with Google":"Logg inn med Google","Sign in":"Logg inn","Sign In":"Logg inn","Signing in":"Logger inn",Skip:"Hopp over",Submit:"Send inn",Submitting:"Sender inn",Username:"Brukernavn","Verify Contact":"Bekreft kontakt",Verify:"Bekreft","We Emailed You":"Vi sendte deg en e-post","We Sent A Code":"Vi sendte en kode","We Texted You":"Vi sendte deg en tekstmelding","Your code is on the way. To log in, enter the code we emailed to":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte e-post til","Your code is on the way. To log in, enter the code we sent you":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte deg","Your code is on the way. To log in, enter the code we texted to":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte tekstmelding til","An account with the given email already exists.":"Det finnes allerede en konto med denne e-postadressen","Confirm a Code":"Bekreft koden","Confirm Sign In":"Bekreft innlogging","Create account":"Opprett konto","Enter your password":"Skriv inn passordet ditt","Forgot Password":"Glemt passordet","Have an account? ":"Har en konto allerede? ","Incorrect username or password":"Feil brukernavn eller passord","Invalid password format":"Ugyldig passordformat","Invalid phone number format":"Ugyldig telefonnummerformat","Lost your code? ":"Mistet koden? ","New Password":"Nytt passord","No account? ":"Ingen konto? ","Password attempts exceeded":"For mange mislykkede passordfors\xF8k","Reset password":"Nullstill passord","Sign Out":"Logg ut","Sign Up":"Registrering","User already exists":"Brukeren finnes allerede","User does not exist":"Brukeren finnes ikke","Username cannot be empty":"Brukernavnet kan ikke v\xE6re tomt"},hs={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your Email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"},ys={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your Email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},vs={"Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your Email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your username":"entre com seu nome de usu\xE1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xE7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xE1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xEA","We Sent A Code":"Enviamos um c\xF3digo","We Texted You":"Enviamos um SMS para voc\xEA","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo que enviamos para voc\xEA","Your code is on the way. To log in, enter the code we texted to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos uma mensagem de texto"},ws={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u66F4\u6539\u5BC6\u7801",Changing:"\u6B63\u5728\u4FEE\u6539",Code:"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C","Confirm SMS Code":"\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801","Confirm TOTP Code":"\u786E\u8BA4 TOTP \u4EE3\u7801",Confirm:"\u786E\u8BA4","Confirmation Code":"\u786E\u8BA4\u7801",Confirming:"\u6B63\u5728\u786E\u8BA4","Create a new account":"\u521B\u5EFA\u65B0\u8D26\u6237","Create Account":"\u521B\u5EFA\u8D26\u6237","Creating Account":"\u6B63\u5728\u521B\u5EFA\u8D26\u6237","Dismiss alert":"\u5173\u95ED\u8B66\u62A5",Email:"\u90AE\u7BB1","Enter your code":"\u8F93\u5165\u9A8C\u8BC1\u7801","Enter your Email":"\u8F93\u5165\u7535\u5B50\u90AE\u4EF6","Enter your phone number":"\u8F93\u5165\u7535\u8BDD\u53F7\u7801","Enter your username":"\u8F93\u5165\u7528\u6237\u540D","Forgot your password?":"\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F","Hide password":"\u9690\u85CF\u5BC6\u7801","It may take a minute to arrive":"\u53EF\u80FD\u9700\u8981\u4E00\u5206\u949F\u624D\u80FD\u5230\u8FBE",Loading:"\u6B63\u5728\u52A0\u8F7D","New password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend Code":"\u91CD\u53D1\u9A8C\u8BC1\u7801","Reset your password":"\u91CD\u7F6E\u5BC6\u7801","Reset your Password":"\u91CD\u7F6E\u5BC6\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Send code":"\u53D1\u9001\u9A8C\u8BC1\u7801",Sending:"\u6B63\u5728\u53D1\u9001","Setup TOTP":"\u8BBE\u7F6E TOTP","Show password":"\u663E\u793A\u5BC6\u7801","Sign in to your account":"\u767B\u5F55\u8D26\u6237","Sign In with Amazon":"\u901A\u8FC7 Amazon \u767B\u5F55","Sign In with Apple":"\u901A\u8FC7 Apple \u767B\u5F55","Sign In with Facebook":"\u901A\u8FC7 Facebook \u767B\u5F55","Sign In with Google":"\u901A\u8FC7 Google \u767B\u5F55","Sign in":"\u767B\u5F55","Sign In":"\u767B\u5F55","Signing in":"\u6B63\u5728\u767B\u5F55",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4",Submitting:"\u6B63\u5728\u63D0\u4EA4",Username:"\u7528\u6237\u540D","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F",Verify:"\u9A8C\u8BC1","We Emailed You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u7535\u5B50\u90AE\u4EF6","We Sent A Code":"\u6211\u4EEC\u53D1\u9001\u4E86\u4EE3\u7801","We Texted You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u77ED\u4FE1","Your code is on the way. To log in, enter the code we emailed to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Your code is on the way. To log in, enter the code we sent you":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u53D1\u9001\u7ED9\u60A8\u7684\u4EE3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u77ED\u4FE1\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728"},Ss={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord",Changing:"\xC4ndra",Code:"Kod","Confirm Password":"Bekr\xE4fta l\xF6senord","Confirm Sign Up":"Bekr\xE4fta registrering","Confirm SMS Code":"Bekr\xE4fta SMS-kod","Confirm TOTP Code":"Bekr\xE4fta TOTP-kod",Confirm:"Bekr\xE4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xE4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your Email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Hide password":"D\xF6lj l\xF6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xF6senord",or:"eller",Password:"L\xF6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Reset your Password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xF6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xF6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xE4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xF6senord","Forgot Password":"Gl\xF6mt l\xF6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Reset password":"\xC5terst\xE4ll l\xF6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},_s={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your Email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},bs={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula",Confirm:"Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015Ftur","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your Email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xFCrebilir",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre",or:"veya",Password:"\u015Eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xF6nder","Send Code":"Kod G\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Signing in":"Oturum a\xE7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula","We Emailed You":"Size E-posta G\xF6nderdik","We Sent A Code":"Bir Kod G\xF6nderdik","We Texted You":"Size Mesaj G\xF6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, size g\xF6nderdi\u011Fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz"},Cs={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your Email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},Es={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your Email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},As={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your Email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},Is={ADD_PROFILE:"Add your Profile",ADD_WEBSITE:"Add your Website",BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Please confirm your Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_BIRTHDATE:"Enter your Birthdate",ENTER_CODE:"Enter your code",ENTER_CONFIRMATION_CODE:"Enter your Confirmation Code",ENTER_EMAIL:"Enter your Email",ENTER_FAMILY_NAME:"Enter your Family Name",ENTER_GIVEN_NAME:"Enter your Given Name",ENTER_MIDDLE_NAME:"Enter your Middle Name",ENTER_NAME:"Enter your Name",ENTER_NICK_NAME:"Enter your Nickname",ENTER_PASSWORD:"Enter your Password",ENTER_PHONE_NUMBER:"Enter your Phone Number",ENTER_PREFERRED_USERNAME:"Enter your Preferred Username",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_PASSWORD:"Forgot Password?",FORGOT_YOUR_PASSWORD:"Forgot your password?",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},Ts=Object.assign({},ls),Ps=Object.assign({},cs),ks=Object.assign({},us),Ns=Object.assign({},ds),xs=Object.assign({},fs),$s=Object.assign({},ps),ao=Object.assign({},ms),Os=Object.assign({},gs),Rs=Object.assign({},hs),Us=Object.assign({},ys),Bs=Object.assign({},vs),Ms=Object.assign({},ws),Fs=Object.assign({},Ss),Vs=Object.assign({},_s),Ds=Object.assign({},bs),Ls=Object.assign({},Cs),js=Object.assign({},Es),zs=Object.assign({},As),Gs=Object.assign({},Is),R=Object.assign({},Gs);function N(e){return W.I18n.get(e)}const Hs={de:Ts,en:Ps,es:ks,fr:Ns,id:Vs,it:xs,ja:$s,kr:ao,ko:ao,nb:Os,nl:Rs,pl:Us,pt:Bs,zh:Ms,sv:Fs,tr:Ds,ru:Ls,he:js,ua:zs},tn={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:ss,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},Ws=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],he=e=>{const t=new FormData(e.target);return Object.fromEntries(t)},so=e=>di.includes(e),Ys=e=>{return e?(t=e,Array.isArray(t)?e:[e]):null;var t};function fi(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function B(e,t,n,o){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function l(d){try{u(o.next(d))}catch(g){s(g)}}function c(d){try{u(o.throw(d))}catch(g){s(g)}}function u(d){d.done?a(d.value):i(d.value).then(l,c)}u((o=o.apply(e,t||[])).next())})}var Pt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},pi={},mi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r=require("vue"),W=require("aws-amplify"),Xa=require("@aws-amplify/auth");const ge=r.defineComponent({__name:"base-footer",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"footert",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("footer",r.normalizeProps(r.guardReactiveProps(n.$attrs)),[r.renderSlot(n.$slots,"default")],16)])}}),he=r.defineComponent({__name:"base-form",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"formt",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("form",r.mergeProps({"data-amplify-form":""},n.$attrs),[r.renderSlot(n.$slots,"default")],16)])}});var tn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const es={};function ts(e,t){return r.openBlock(),r.createElementBlock("div",null,[r.renderSlot(e.$slots,"default")])}var te=tn(es,[["render",ts]]);const ns=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ae=r.defineComponent({__name:"amplify-button",props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null,loading:{type:[Boolean,String]},disabled:{type:[Boolean,String]}},setup(e){const t=e,{type:n,fullWidth:o,size:i,variation:a,fontWeight:s}=r.toRefs(t);return(l,c)=>r.renderSlot(l.$slots,"buttont",r.normalizeProps(r.guardReactiveProps(l.$attrs)),()=>[r.createElementVNode("button",r.mergeProps({class:["amplify-button",{[`amplify-button--${r.unref(a)}`]:r.unref(a),[`amplify-button--${r.unref(i)}`]:r.unref(i),"amplify-button--fullwidth":r.unref(o),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:r.unref(n),style:{fontWeight:r.unref(s)},"data-fullwidth":r.unref(o),"data-size":r.unref(i),"data-fontWeight":r.unref(s),"data-variation":r.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},l.$attrs,{"data-amplify-button":""}),[r.renderSlot(l.$slots,"default")],16,ns)])}}),se=e=>{var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},ar=e=>{var t;return(t=se(e))===null||t===void 0?void 0:t.context};var Fn,io;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(Fn||(Fn={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(io||(io={}));const rs=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],os=["username","email","phone_number"],di=[...os,...rs,"confirmation_code","password","confirm_password"],is=e=>di.includes(e);var X;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.StorageManager="amplify-storagemanager",e.StorageManagerDropZone="amplify-storagemanager__dropzone",e.StorageManagerDropZoneIcon="amplify-storagemanager__dropzone__icon",e.StorageManagerDropZoneText="amplify-storagemanager__dropzone__text",e.StorageManagerFilePicker="amplify-storagemanager__file__picker",e.StorageManagerFile="amplify-storagemanager__file",e.StorageManagerFileWrapper="amplify-storagemanager__file__wrapper",e.StorageManagerFileList="amplify-storagemanager__file__list",e.StorageManagerFileName="amplify-storagemanager__file__name",e.StorageManagerFileSize="amplify-storagemanager__file__size",e.StorageManagerFileInfo="amplify-storagemanager__file__info",e.StorageManagerFileImage="amplify-storagemanager__file__image",e.StorageManagerFileMain="amplify-storagemanager__file__main",e.StorageManagerFileStatus="amplify-storagemanager__file__status",e.StorageManagerLoader="amplify-storagemanager__loader",e.StorageManagerPreviewer="amplify-storagemanager__previewer",e.StorageManagerPreviewerText="amplify-storagemanager__previewer__text",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"})(X||(X={}));const Vn=e=>{var t;const n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms,[o]=n!=null?n:["username"];return o},as=e=>{const t=n=>o=>e({type:n,data:o});return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},ss=e=>{var t,n,o,i,a;const s=(t=ar(e))!==null&&t!==void 0?t:{},{codeDeliveryDetails:l,remoteError:c,unverifiedContactMethods:u,validationError:d,totpSecretCode:g=null}=s,{socialProviders:f}=(o=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&o!==void 0?o:{},p=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,v=d&&Object.keys(d).length>0,h=se(e),_=e.hasTag("pending")||(h==null?void 0:h.hasTag("pending")),m=(()=>{switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case(h==null?void 0:h.matches("confirmSignUp")):return"confirmSignUp";case(h==null?void 0:h.matches("confirmSignIn")):return"confirmSignIn";case(h==null?void 0:h.matches("setupTOTP.edit")):case(h==null?void 0:h.matches("setupTOTP.submit")):return"setupTOTP";case(h==null?void 0:h.matches("signIn")):return"signIn";case(h==null?void 0:h.matches("signUp")):return"signUp";case(h==null?void 0:h.matches("forceNewPassword")):return"forceNewPassword";case(h==null?void 0:h.matches("resetPassword")):return"resetPassword";case(h==null?void 0:h.matches("confirmResetPassword")):return"confirmResetPassword";case(h==null?void 0:h.matches("verifyUser")):return"verifyUser";case(h==null?void 0:h.matches("confirmVerifyUser")):return"confirmVerifyUser";case(h==null?void 0:h.matches("setupTOTP.getTotpSecretCode")):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})();return{authStatus:(w=>{switch(w){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(m),codeDeliveryDetails:l,error:c,hasValidationErrors:v,isPending:_,route:m,socialProviders:f,totpSecretCode:g,unverifiedContactMethods:u,user:p,validationErrors:d}},ls=({send:e,state:t})=>{const n=as(e),o=ss(t);return Object.assign(Object.assign({},n),o)},cs=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"],us={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen",Confirm:"Best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code",Confirming:"Wird best\xE4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your Email":"Geben Sie Ihre E-Mail","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihre Passwort ein","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xFCcksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},ds={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your Email":"Enter your Email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},fs={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contrase\xF1a","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password.":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},ps={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your Email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xE9","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},ms={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your Email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},gs={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your Email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Apple":"Apple \u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Please confirm your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
|
|
2
|
+
+12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},hs={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your Email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},ys={"Account recovery requires verified contact information":"Gjenoppretting av konto krever verifisert kontaktinformajson","Add your Profile":"Legg til profilen din","Add your Website":"Legg til nettsiden din","Back to Sign In":"Tilbake til innlogging","Change Password":"Bytt passord",Changing:"Endre",Code:"Kode","Confirm Password":"Bekreft passordet","Confirm Sign Up":"Bekreft registrering","Confirm SMS Code":"Bekreft SMS-kode","Confirm TOTP Code":"Bekreft TOTP-kode",Confirm:"Bekreft","Confirmation Code":"Bekreftelseskode",Confirming:"Bekrefter","Create a new account":"Opprett en ny konto","Create Account":"Opprett konto","Creating Account":"Oppretter konto","Dismiss alert":"Avvis varsel",Email:"E-post","Enter your Birthdate":"Skriv inn f\xF8dselsdatoen din","Enter your code":"Skriv inn koden din","Enter your Confirmation Code":"Skriv inn bekreftelseskoden din","Enter your Email":"Skriv inn e-postadressen din","Enter your Family Name":"Skriv inn etternavnet ditt","Enter your Given Name":"Skriv inn fornavnet ditt","Enter your Middle Name":"Skriv inn mellomnavnet ditt","Enter your Name":"Skriv inn navnet ditt","Enter your Nickname":"Skriv inn kallenavnet ditt","Enter your Password":"Skriv inn passordet ditt","Enter your phone number":"Skriv inn telefonnummeret ditt","Enter your Preferred Username":"Skriv inn det foretrukne brukernavnet ditt","Enter your username":"Skriv inn brukernavnet ditt","Forgot password?":"Glemt passord?","Forgot your password?":"Glemt passordet ditt?","Hide password":"Skjul passordet","It may take a minute to arrive":"Det kan ta et minutt for \xE5 komme frem",Loading:"Laster inn","New password":"Nytt passord",or:"eller",Password:"Passord","Phone Number":"Telefonnummer","Please confirm your Password":"Vennligst bekreft passordet ditt","Resend Code":"Send koden p\xE5 nytt","Reset your password":"Nullstill passordet ditt","Reset your Password":"Nullstill passordet ditt","Send code":"Send kode","Send Code":"Send kode",Sending:"Sender","Setup TOTP":"Konfigurer TOTP","Show password":"Vis passordet","Sign in to your account":"Logg inn p\xE5 kontoen din","Sign In with Amazon":"Logg inn med Amazon","Sign In with Apple":"Logg inn med Apple","Sign In with Facebook":"Logg inn med Facebook","Sign In with Google":"Logg inn med Google","Sign in":"Logg inn","Sign In":"Logg inn","Signing in":"Logger inn",Skip:"Hopp over",Submit:"Send inn",Submitting:"Sender inn",Username:"Brukernavn","Verify Contact":"Bekreft kontakt",Verify:"Bekreft","We Emailed You":"Vi sendte deg en e-post","We Sent A Code":"Vi sendte en kode","We Texted You":"Vi sendte deg en tekstmelding","Your code is on the way. To log in, enter the code we emailed to":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte e-post til","Your code is on the way. To log in, enter the code we sent you":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte deg","Your code is on the way. To log in, enter the code we texted to":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte tekstmelding til","An account with the given email already exists.":"Det finnes allerede en konto med denne e-postadressen","Confirm a Code":"Bekreft koden","Confirm Sign In":"Bekreft innlogging","Create account":"Opprett konto","Enter your password":"Skriv inn passordet ditt","Forgot Password":"Glemt passordet","Have an account? ":"Har en konto allerede? ","Incorrect username or password":"Feil brukernavn eller passord","Invalid password format":"Ugyldig passordformat","Invalid phone number format":"Ugyldig telefonnummerformat","Lost your code? ":"Mistet koden? ","New Password":"Nytt passord","No account? ":"Ingen konto? ","Password attempts exceeded":"For mange mislykkede passordfors\xF8k","Reset password":"Nullstill passord","Sign Out":"Logg ut","Sign Up":"Registrering","User already exists":"Brukeren finnes allerede","User does not exist":"Brukeren finnes ikke","Username cannot be empty":"Brukernavnet kan ikke v\xE6re tomt"},vs={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your Email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"},ws={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your Email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},Ss={"Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your Email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your username":"entre com seu nome de usu\xE1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xE7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xE1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xEA","We Sent A Code":"Enviamos um c\xF3digo","We Texted You":"Enviamos um SMS para voc\xEA","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo que enviamos para voc\xEA","Your code is on the way. To log in, enter the code we texted to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos uma mensagem de texto"},_s={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u66F4\u6539\u5BC6\u7801",Changing:"\u6B63\u5728\u4FEE\u6539",Code:"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C","Confirm SMS Code":"\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801","Confirm TOTP Code":"\u786E\u8BA4 TOTP \u4EE3\u7801",Confirm:"\u786E\u8BA4","Confirmation Code":"\u786E\u8BA4\u7801",Confirming:"\u6B63\u5728\u786E\u8BA4","Create a new account":"\u521B\u5EFA\u65B0\u8D26\u6237","Create Account":"\u521B\u5EFA\u8D26\u6237","Creating Account":"\u6B63\u5728\u521B\u5EFA\u8D26\u6237","Dismiss alert":"\u5173\u95ED\u8B66\u62A5",Email:"\u90AE\u7BB1","Enter your code":"\u8F93\u5165\u9A8C\u8BC1\u7801","Enter your Email":"\u8F93\u5165\u7535\u5B50\u90AE\u4EF6","Enter your phone number":"\u8F93\u5165\u7535\u8BDD\u53F7\u7801","Enter your username":"\u8F93\u5165\u7528\u6237\u540D","Forgot your password?":"\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F","Hide password":"\u9690\u85CF\u5BC6\u7801","It may take a minute to arrive":"\u53EF\u80FD\u9700\u8981\u4E00\u5206\u949F\u624D\u80FD\u5230\u8FBE",Loading:"\u6B63\u5728\u52A0\u8F7D","New password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend Code":"\u91CD\u53D1\u9A8C\u8BC1\u7801","Reset your password":"\u91CD\u7F6E\u5BC6\u7801","Reset your Password":"\u91CD\u7F6E\u5BC6\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Send code":"\u53D1\u9001\u9A8C\u8BC1\u7801",Sending:"\u6B63\u5728\u53D1\u9001","Setup TOTP":"\u8BBE\u7F6E TOTP","Show password":"\u663E\u793A\u5BC6\u7801","Sign in to your account":"\u767B\u5F55\u8D26\u6237","Sign In with Amazon":"\u901A\u8FC7 Amazon \u767B\u5F55","Sign In with Apple":"\u901A\u8FC7 Apple \u767B\u5F55","Sign In with Facebook":"\u901A\u8FC7 Facebook \u767B\u5F55","Sign In with Google":"\u901A\u8FC7 Google \u767B\u5F55","Sign in":"\u767B\u5F55","Sign In":"\u767B\u5F55","Signing in":"\u6B63\u5728\u767B\u5F55",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4",Submitting:"\u6B63\u5728\u63D0\u4EA4",Username:"\u7528\u6237\u540D","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F",Verify:"\u9A8C\u8BC1","We Emailed You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u7535\u5B50\u90AE\u4EF6","We Sent A Code":"\u6211\u4EEC\u53D1\u9001\u4E86\u4EE3\u7801","We Texted You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u77ED\u4FE1","Your code is on the way. To log in, enter the code we emailed to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Your code is on the way. To log in, enter the code we sent you":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u53D1\u9001\u7ED9\u60A8\u7684\u4EE3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u77ED\u4FE1\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728"},bs={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord",Changing:"\xC4ndra",Code:"Kod","Confirm Password":"Bekr\xE4fta l\xF6senord","Confirm Sign Up":"Bekr\xE4fta registrering","Confirm SMS Code":"Bekr\xE4fta SMS-kod","Confirm TOTP Code":"Bekr\xE4fta TOTP-kod",Confirm:"Bekr\xE4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xE4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your Email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Hide password":"D\xF6lj l\xF6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xF6senord",or:"eller",Password:"L\xF6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Reset your Password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xF6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xF6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xE4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xF6senord","Forgot Password":"Gl\xF6mt l\xF6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Reset password":"\xC5terst\xE4ll l\xF6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},Cs={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your Email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},Es={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula",Confirm:"Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015Ftur","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your Email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xFCrebilir",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre",or:"veya",Password:"\u015Eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xF6nder","Send Code":"Kod G\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Signing in":"Oturum a\xE7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula","We Emailed You":"Size E-posta G\xF6nderdik","We Sent A Code":"Bir Kod G\xF6nderdik","We Texted You":"Size Mesaj G\xF6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, size g\xF6nderdi\u011Fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz"},As={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your Email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},Is={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your Email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},Ts={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your Email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},Ps={ADD_PROFILE:"Add your Profile",ADD_WEBSITE:"Add your Website",BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Please confirm your Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_BIRTHDATE:"Enter your Birthdate",ENTER_CODE:"Enter your code",ENTER_CONFIRMATION_CODE:"Enter your Confirmation Code",ENTER_EMAIL:"Enter your Email",ENTER_FAMILY_NAME:"Enter your Family Name",ENTER_GIVEN_NAME:"Enter your Given Name",ENTER_MIDDLE_NAME:"Enter your Middle Name",ENTER_NAME:"Enter your Name",ENTER_NICK_NAME:"Enter your Nickname",ENTER_PASSWORD:"Enter your Password",ENTER_PHONE_NUMBER:"Enter your Phone Number",ENTER_PREFERRED_USERNAME:"Enter your Preferred Username",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_PASSWORD:"Forgot Password?",FORGOT_YOUR_PASSWORD:"Forgot your password?",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},ks=Object.assign({},us),Ns=Object.assign({},ds),xs=Object.assign({},fs),$s=Object.assign({},ps),Os=Object.assign({},ms),Rs=Object.assign({},gs),ao=Object.assign({},hs),Us=Object.assign({},ys),Bs=Object.assign({},vs),Ms=Object.assign({},ws),Fs=Object.assign({},Ss),Vs=Object.assign({},_s),Ds=Object.assign({},bs),Ls=Object.assign({},Cs),js=Object.assign({},Es),zs=Object.assign({},As),Gs=Object.assign({},Is),Hs=Object.assign({},Ts),Ws=Object.assign({},Ps),R=Object.assign({},Ws);function N(e){return W.I18n.get(e)}const Ys={de:ks,en:Ns,es:xs,fr:$s,id:Ls,it:Os,ja:Rs,kr:ao,ko:ao,nb:Us,nl:Bs,pl:Ms,pt:Fs,zh:Vs,sv:Ds,tr:js,ru:zs,he:Gs,ua:Hs},nn={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:cs,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},Ks=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],ye=e=>{const t=new FormData(e.target);return Object.fromEntries(t)},so=e=>di.includes(e),qs=e=>{return e?(t=e,Array.isArray(t)?e:[e]):null;var t};function fi(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function B(e,t,n,o){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function l(d){try{u(o.next(d))}catch(g){s(g)}}function c(d){try{u(o.throw(d))}catch(g){s(g)}}function u(d){d.done?a(d.value):i(d.value).then(l,c)}u((o=o.apply(e,t||[])).next())})}var Pt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},pi={},mi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
5
5
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -12,7 +12,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
12
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var l,c=1,u=arguments.length;c<u;c++){l=arguments[c];for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(s[d]=l[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var l={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(l[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,c=Object.getOwnPropertySymbols(a);u<c.length;u++)s.indexOf(c[u])<0&&Object.prototype.propertyIsEnumerable.call(a,c[u])&&(l[c[u]]=a[c[u]]);return l}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,l=s&&a[s],c=0;if(l)return l.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(a,s){var l=typeof Symbol=="function"&&a[Symbol.iterator];if(!l)return a;var c=l.call(a),u,d=[],g;try{for(;(s===void 0||s-- >0)&&!(u=c.next()).done;)d.push(u.value)}catch(f){g={error:f}}finally{try{u&&!u.done&&(l=c.return)&&l.call(c)}finally{if(g)throw g.error}}return d}function i(a,s,l){if(l||arguments.length===2)for(var c=0,u=s.length,d;c<u;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=o,e.__rest=t,e.__spreadArray=i,e.__values=n})(mi);Object.defineProperty(pi,"__esModule",{value:!0});var lo=mi,
|
|
15
|
+
***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var l,c=1,u=arguments.length;c<u;c++){l=arguments[c];for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(s[d]=l[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var l={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(l[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,c=Object.getOwnPropertySymbols(a);u<c.length;u++)s.indexOf(c[u])<0&&Object.prototype.propertyIsEnumerable.call(a,c[u])&&(l[c[u]]=a[c[u]]);return l}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,l=s&&a[s],c=0;if(l)return l.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(a,s){var l=typeof Symbol=="function"&&a[Symbol.iterator];if(!l)return a;var c=l.call(a),u,d=[],g;try{for(;(s===void 0||s-- >0)&&!(u=c.next()).done;)d.push(u.value)}catch(f){g={error:f}}finally{try{u&&!u.done&&(l=c.return)&&l.call(c)}finally{if(g)throw g.error}}return d}function i(a,s,l){if(l||arguments.length===2)for(var c=0,u=s.length,d;c<u;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=o,e.__rest=t,e.__spreadArray=i,e.__values=n})(mi);Object.defineProperty(pi,"__esModule",{value:!0});var lo=mi,Js={timeout:1e4};function Zs(e,t,n){var o=lo.__assign(lo.__assign({},Js),n);return new Promise(function(i,a){var s=!1,l=o.timeout===1/0?void 0:setTimeout(function(){u.unsubscribe(),a(new Error("Timeout of ".concat(o.timeout," ms exceeded")))},o.timeout),c=function(){clearTimeout(l),s=!0,u==null||u.unsubscribe()},u=e.subscribe({next:function(d){t(d)&&(c(),i(d))},error:function(d){c(),a(d)},complete:function(){c(),a(new Error("Actor terminated without satisfying predicate"))}});s&&u.unsubscribe()})}var Qs=pi.waitFor=Zs;function Gt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Xs(e){return typeof e=="string"||typeof e=="object"&&Object.prototype.toString.call(e)==="[object String]"}function el(e){return Gt(e)&&Object.prototype.toString.call(e)==="[object Map]"}function tl(e){return Gt(e)&&Object.prototype.toString.call(e)==="[object Set]"}function Dn(e){if(e==null)return!0;if(Gt(e)&&(el(e)||tl(e)))return!e.size;if(Gt(e)&&(Xs(e)||Array.isArray(e)))return!e.length;for(const t in e)if(nl(e,t))return!1;return!0}function nl(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}function co(e){return typeof e=="function"}const rl=({packageName:e,version:t})=>{Xa.appendToCognitoUserAgent(`${e}/${t}`)},uo=e=>B(void 0,void 0,void 0,function*(){try{yield Qs(e,t=>se(t).matches("autoSignIn"))}catch{}}),gi=({payload:{data:e,event:t}},n,o)=>B(void 0,void 0,void 0,function*(){const{send:i}=n,a=n.getSnapshot(),{onSignIn:s,onSignOut:l}=o!=null?o:{};switch(t){case"tokenRefresh":a.matches("authenticated.idle")&&i("TOKEN_REFRESH");break;case"autoSignIn":if(!a.matches("authenticated")){yield uo(n);const c=se(n.getSnapshot());c!=null&&c.matches("autoSignIn")&&i({type:"AUTO_SIGN_IN",data:e})}break;case"autoSignIn_failure":{yield uo(n);const c=se(n.getSnapshot());c!=null&&c.matches("autoSignIn")&&i({type:"AUTO_SIGN_IN_FAILURE",data:e});break}case"signIn":co(s)&&s();break;case"signOut":case"tokenRefresh_failure":co(l)&&l(),a.matches("authenticated.idle")&&i("SIGN_OUT")}}),ol=(e,t=gi)=>W.Hub.listen("auth",((n,o)=>i=>{o(i,n)})(e,t),"authenticator-hub-handler"),il=e=>Ks.some(t=>e.includes(t)),al=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function sl(e,...t){return Object.entries(e).reduce((n,[o,i])=>Object.assign(Object.assign({},n),{[o]:t.includes(o)?i:i==null?void 0:i.trim()}),{})}const Te=(e,t)=>{const{country_code:n}=ar(e);let o=nn[t];const{type:i}=o;return i==="tel"&&(o=Object.assign(Object.assign({},o),{dialCode:n})),o},Dt=e=>{const t=Vn(e);return Object.assign(Object.assign({},Te(e,t)),{autocomplete:"username"})},kt=e=>({confirmation_code:Object.assign(Object.assign({},Te(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}),ll={signIn:e=>({username:Object.assign({},Dt(e)),password:Object.assign(Object.assign({},Te(e,"password")),{autocomplete:"current-password"})}),signUp:e=>{const{loginMechanisms:t,signUpAttributes:n}=e.context.config,o=Vn(e),i=Array.from(new Set([...t,"password","confirm_password",...n])),a={};for(const s of i)if(so(s)){const l=s===o?Dt(e):Te(e,s);a[s]=Object.assign({},l)}else console.debug(`Authenticator does not have a default implementation for ${s}. Customize SignUp FormFields to add your own.`);return a},confirmSignUp:e=>({confirmation_code:Object.assign(Object.assign({},Te(e,"confirmation_code")),{placeholder:"Enter your code"})}),confirmSignIn:kt,forceNewPassword:e=>{const t=se(e),{requiredAttributes:n}=t.context,o=Array.from(new Set(["password","confirm_password",...n])),i={};for(const a of o)so(a)?i[a]=Object.assign({},Te(e,a)):console.debug(`Authenticator does not have a default implementation for ${a}. Customize ForceNewPassword FormFields to add your own.`);return i},resetPassword:e=>{const t=Vn(e),{label:n}=nn[t];return{username:Object.assign(Object.assign({},Dt(e)),{label:`Enter your ${n.toLowerCase()}`,placeholder:`Enter your ${n.toLowerCase()}`})}},confirmResetPassword:e=>Object.assign(Object.assign({},kt(e)),{password:Object.assign(Object.assign({},Te(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:Object.assign(Object.assign({},Te(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})}),confirmVerifyUser:kt,setupTOTP:kt},cl=e=>{const t=Object.assign({},e);for(const[n,o]of Object.entries(e)){const{label:i,placeholder:a}=o;t[n]=Object.assign(Object.assign({},o),{label:i?N(i):void 0,placeholder:a?N(a):void 0})}return t},ul=e=>Object.entries(e).sort((t,n)=>(t[1].order||Number.MAX_VALUE)-(n[1].order||Number.MAX_VALUE)).filter(t=>t[1]!==void 0),dl=(e,t)=>(0,ll[e])(t),fl=(e,t)=>{var n,o;const i=(o=(n=ar(t))===null||n===void 0?void 0:n.formFields)===null||o===void 0?void 0:o[e];return i&&Object.keys(i).length!==0?Object.entries(i).reduce((a,[s,l])=>{if(e!=="signIn"&&e!=="resetPassword"||s!=="username"){if(is(s)){const c=nn[s],u=Object.assign(Object.assign({},c),l);return Object.assign(Object.assign({},a),{[s]:u})}return Object.assign(Object.assign({},a),{[s]:l})}{const c=Dt(t),u=Object.assign(Object.assign({},c),l);return Object.assign(Object.assign({},a),{[s]:u})}},{}):{}},pl=(e,t)=>{const n=dl(e,t),o=fl(e,t),i=Object.assign(Object.assign({},n),o);return delete i.QR,cl(i)},ml=e=>e.map(t=>[t[0],Object.assign(Object.assign({},t[1]),{order:void 0})]),gl=(e,t)=>{const n=pl(e,t);return ml(ul(n))},hl={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},ue={getBackToSignInText:()=>N(R.BACK_SIGN_IN),getChangePasswordText:()=>N(R.CHANGE_PASSWORD),getChangingText:()=>N(R.CHANGING_PASSWORD),getConfirmText:()=>N(R.CONFIRM),getConfirmingText:()=>N(R.CONFIRMING),getCopyText:()=>N(R.UPPERCASE_COPY),getHidePasswordText:()=>N(R.HIDE_PASSWORD),getLoadingText:()=>N(R.LOADING),getOrText:()=>N(R.OR),getResendCodeText:()=>N(R.RESEND_CODE),getSendCodeText:()=>N(R.SEND_CODE),getSendingText:()=>N(R.SENDING),getShowPasswordText:()=>N(R.SHOW_PASSWORD),getSubmitText:()=>N(R.SUBMIT),getSubmittingText:()=>N(R.SUBMITTING),getSignInTabText:()=>N(R.SIGN_IN_TAB),getSignUpTabText:()=>N(R.CREATE_ACCOUNT),getForgotPasswordText:e=>N(e?R.FORGOT_PASSWORD:R.FORGOT_YOUR_PASSWORD),getSigningInText:()=>N(R.SIGNING_IN_BUTTON),getSignInText:()=>N(R.SIGN_IN_BUTTON),getCreatingAccountText:()=>N(R.CREATING_ACCOUNT),getCreateAccountText:()=>N(R.CREATE_ACCOUNT),getDeliveryMessageText:e=>{const{DeliveryMedium:t,Destination:n}=e!=null?e:{},o=t==="EMAIL",i=t==="SMS",a=N(R.CODE_ARRIVAL);return!o&&!i?`${N(R.CODE_SENT)}. ${a}.`:`${N(o?R.CODE_EMAILED:R.CODE_TEXTED)} ${n}. ${a}.`},getDeliveryMethodText:e=>{const{DeliveryMedium:t}=e!=null?e:{},n=t==="EMAIL";return N(n||t!=="SMS"?n?R.WE_EMAILED:R.WE_TEXTED:R.WE_SENT_CODE)},getChallengeText:e=>{switch(e){case"SMS_MFA":return N(R.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return N(R.CONFIRM_TOTP);default:throw new Error(`${N("Unexpected challengeName encountered in ConfirmSignIn:")} ${e}`)}},getResetYourPasswordText:()=>N(R.RESET_PASSWORD),getSetupTOTPText:()=>N(R.SETUP_TOTP),getSetupTOTPInstructionsText:()=>N("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."),getCopiedText:()=>N("COPIED"),getSignInWithFederationText:(e,t)=>N(`Sign ${e==="signIn"?"In":"Up"} with ${hl[t]}`),getSkipText:()=>N(R.SKIP),getVerifyText:()=>N(R.VERIFY),getVerifyContactText:()=>N(R.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>N(R.VERIFY_HEADING)};/*! *****************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
17
17
|
|
|
18
18
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -25,15 +25,15 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
25
25
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26
26
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
27
|
PERFORMANCE OF THIS SOFTWARE.
|
|
28
|
-
***************************************************************************** */var C=function(){return C=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},C.apply(this,arguments)};function sr(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function U(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(l){s={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(s)throw s.error}}return a}function G(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,a;o<i;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}var D;(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(D||(D={}));var Ne;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Ne||(Ne={}));var Ht=D.Start,nn=D.Stop,Ze=D.Raise,bt=D.Send,lr=D.Cancel,hi=D.NullEvent,rn=D.Assign,gl=D.After,hl=D.DoneState,on=D.Log,yi=D.Init,Wt=D.Invoke,yl=D.ErrorExecution,Ln=D.ErrorPlatform,cr=D.ErrorCustom,an=D.Update,vi=D.Choose,wi=D.Pure,vl=Object.freeze(Object.defineProperty({__proto__:null,after:gl,assign:rn,cancel:lr,choose:vi,doneState:hl,error:cr,errorExecution:yl,errorPlatform:Ln,init:yi,invoke:Wt,log:on,nullEvent:hi,pure:wi,raise:Ze,send:bt,start:Ht,stop:nn,update:an},Symbol.toStringTag,{value:"Module"})),Si=".",fo={},jn="xstate.guard",wl="",yt=!0,Nt;function ur(e,t,n){n===void 0&&(n=Si);var o=mt(e,n),i=mt(t,n);return V(i)?V(o)?i===o:!1:V(o)?o in i:Object.keys(o).every(function(a){return a in i?ur(o[a],i[a]):!1})}function _i(e){try{return V(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function zn(e,t){try{return Qe(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function Sl(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function mt(e,t){if(Sl(e))return e.value;if(Qe(e))return Yt(e);if(typeof e!="string")return e;var n=zn(e,t);return Yt(n)}function Yt(e){if(e.length===1)return e[0];for(var t={},n=t,o=0;o<e.length-1;o++)o===e.length-2?n[e[o]]=e[o+1]:(n[e[o]]={},n=n[e[o]]);return t}function ut(e,t){for(var n={},o=Object.keys(e),i=0;i<o.length;i++){var a=o[i];n[a]=t(e[a],a,e,i)}return n}function po(e,t,n){var o,i,a={};try{for(var s=U(Object.keys(e)),l=s.next();!l.done;l=s.next()){var c=l.value,u=e[c];!n(u)||(a[c]=t(u,c,e))}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}var _l=function(e){return function(t){var n,o,i=t;try{for(var a=U(e),s=a.next();!s.done;s=a.next()){var l=s.value;i=i[l]}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}};function bl(e,t){return function(n){var o,i,a=n;try{for(var s=U(e),l=s.next();!l.done;l=s.next()){var c=l.value;a=a[t][c]}}catch(u){o={error:u}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}}function Lt(e){if(!e)return[[]];if(V(e))return[[e]];var t=Y(Object.keys(e).map(function(n){var o=e[n];return typeof o!="string"&&(!o||!Object.keys(o).length)?[[n]]:Lt(e[n]).map(function(i){return[n].concat(i)})}));return t}function Y(e){var t;return(t=[]).concat.apply(t,G([],M(e),!1))}function bi(e){return Qe(e)?e:[e]}function fe(e){return e===void 0?[]:bi(e)}function Kt(e,t,n){var o,i;if(F(e))return e(t,n.data);var a={};try{for(var s=U(Object.keys(e)),l=s.next();!l.done;l=s.next()){var c=l.value,u=e[c];F(u)?a[c]=u(t,n.data):a[c]=u}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}function Cl(e){return/^(done|error)\./.test(e)}function mo(e){return!!(e instanceof Promise||e!==null&&(F(e)||typeof e=="object")&&F(e.then))}function El(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Al(e,t){var n,o,i=M([[],[]],2),a=i[0],s=i[1];try{for(var l=U(e),c=l.next();!c.done;c=l.next()){var u=c.value;t(u)?a.push(u):s.push(u)}}catch(d){n={error:d}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return[a,s]}function Ci(e,t){return ut(e.states,function(n,o){if(!!n){var i=(V(t)?void 0:t[o])||(n?n.current:void 0);if(!!i)return{current:i,states:Ci(n,i)}}})}function Il(e,t){return{current:t,states:Ci(e,t)}}function go(e,t,n,o){var i=e&&n.reduce(function(a,s){var l,c,u=s.assignment,d={state:o,action:s,_event:t},g={};if(F(u))g=u(a,t.data,d);else try{for(var f=U(Object.keys(u)),p=f.next();!p.done;p=f.next()){var v=p.value,h=u[v];g[v]=F(h)?h(a,t.data,d):h}}catch(_){l={error:_}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(l)throw l.error}}return Object.assign({},a,g)},e);return i}var Gn=function(){};function Qe(e){return Array.isArray(e)}function F(e){return typeof e=="function"}function V(e){return typeof e=="string"}function Ei(e,t){if(!!e)return V(e)?{type:jn,name:e,predicate:t?t[e]:void 0}:F(e)?{type:jn,name:e.name,predicate:e}:e}function Tl(e){try{return"subscribe"in e&&F(e.subscribe)}catch{return!1}}var Pe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Nt={},Nt[Pe]=function(){return this},Nt[Symbol.observable]=function(){return this};function Ge(e){return!!e&&"__xstatenode"in e}function Pl(e){return!!e&&typeof e.send=="function"}var kl=function(){var e=0;return function(){return e++,e.toString(16)}}();function sn(e,t){return V(e)||typeof e=="number"?C({type:e},t):e}function ee(e,t){if(!V(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=sn(e);return C({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Ve(e,t){var n=bi(t).map(function(o){return typeof o=="undefined"||typeof o=="string"||Ge(o)?{target:o,event:e}:C(C({},o),{event:e})});return n}function Nl(e){if(!(e===void 0||e===wl))return fe(e)}function xl(e,t,n){if(!yt){var o=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";if(e===t)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(e,"'.").concat(o));else{var i=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(e,"'. ").concat(o," Current error is '").concat(t,"'.").concat(i))}}}function Ai(e,t,n,o,i){var a=e.options.guards,s={state:i,cond:t,_event:o};if(t.type===jn)return((a==null?void 0:a[t.name])||t.predicate)(n,o.data,s);var l=a==null?void 0:a[t.type];if(!l)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return l(n,o.data,s)}function Ii(e){return typeof e=="string"?{type:e}:e}function jt(e,t,n){var o=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||o).bind(a),error:((i?e.error:t)||o).bind(a),complete:((i?e.complete:n)||o).bind(a)}}function xt(e,t){return"".concat(e,":invocation[").concat(t,"]")}function Hn(e){return(e.type===Ze||e.type===bt&&e.to===Ne.Internal)&&typeof e.delay!="number"}var Be=ee({type:yi});function qt(e,t){return t&&t[e]||void 0}function He(e,t){var n;if(V(e)||typeof e=="number"){var o=qt(e,t);F(o)?n={type:e,exec:o}:o?n=o:n={type:e,exec:void 0}}else if(F(e))n={type:e.name||e.toString(),exec:e};else{var o=qt(e.type,t);if(F(o))n=C(C({},e),{exec:o});else if(o){var i=o.type||e.type;n=C(C(C({},o),e),{type:i})}else n=e}return n}var Ce=function(e,t){if(!e)return[];var n=Qe(e)?e:[e];return n.map(function(o){return He(o,t)})};function ln(e){var t=He(e);return C(C({id:V(e)?e:t.id},t),{type:t.type})}function Ti(e,t){return{type:Ze,event:typeof e=="function"?e:sn(e),delay:t?t.delay:void 0,id:t==null?void 0:t.id}}function Pi(e,t,n,o){var i={_event:n},a=ee(F(e.event)?e.event(t,n.data,i):e.event),s;if(V(e.delay)){var l=o&&o[e.delay];s=F(l)?l(t,n.data,i):l}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;return C(C({},e),{type:Ze,_event:a,delay:s})}function Xe(e,t){return{to:t?t.to:void 0,type:bt,event:F(e)?e:sn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:F(e)?e.name:_i(e)}}function ki(e,t,n,o){var i={_event:n},a=ee(F(e.event)?e.event(t,n.data,i):e.event),s;if(V(e.delay)){var l=o&&o[e.delay];s=F(l)?l(t,n.data,i):l}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;var c=F(e.to)?e.to(t,n.data,i):e.to;return C(C({},e),{to:c,_event:a,event:a.data,delay:s})}function dr(e,t){return Xe(e,C(C({},t),{to:Ne.Parent}))}function $l(e,t,n){return Xe(t,C(C({},n),{to:e}))}function Ni(){return dr(an)}function Ol(e,t){return Xe(e,C(C({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var Rl=function(e,t){return{context:e,event:t}};function Ul(e,t){return e===void 0&&(e=Rl),{type:on,label:t,expr:e}}var xi=function(e,t,n){return C(C({},e),{value:V(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},$i=function(e){return{type:lr,sendId:e}};function Oi(e){var t=ln(e);return{type:D.Start,activity:t,exec:void 0}}function Ri(e){var t=F(e)?e:ln(e);return{type:D.Stop,activity:t,exec:void 0}}function Ui(e,t,n){var o=F(e.activity)?e.activity(t,n.data):e.activity,i=typeof o=="string"?{id:o}:o,a={type:D.Stop,activity:i};return a}var Bi=function(e){return{type:rn,assignment:e}};function Bl(e){return typeof e=="object"&&"type"in e}function Mi(e,t){var n=t?"#".concat(t):"";return"".concat(D.After,"(").concat(e,")").concat(n)}function dt(e,t){var n="".concat(D.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function gt(e,t){var n="".concat(D.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function ze(e,t){var n="".concat(D.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Ml(e){return{type:D.Pure,get:e}}function Fi(e,t){return Xe(function(n,o){return o},C(C({},t),{to:e}))}function Fl(e,t){return dr(function(n,o,i){return{type:cr,data:F(e)?e(n,o,i):e}},C(C({},t),{to:Ne.Parent}))}function Vl(e){return{type:D.Choose,conds:e}}var Dl=function(e){var t,n,o=[];try{for(var i=U(e),a=i.next();!a.done;a=i.next())for(var s=a.value,l=0;l<s.actions.length;){if(s.actions[l].type===rn){o.push(s.actions[l]),s.actions.splice(l,1);continue}l++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o};function vt(e,t,n,o,i,a,s){s===void 0&&(s=!1);var l=s?[]:Dl(i),c=l.length?go(n,o,l,t):n,u=s?[n]:void 0,d=[];function g(v,h){var _;switch(h.type){case Ze:{var m=Pi(h,c,o,e.options.delays);return a&&typeof m.delay=="number"&&a(m,c,o),m}case bt:var y=ki(h,c,o,e.options.delays);return a&&y.to!==Ne.Internal&&(v==="entry"?d.push(y):a(y,c,o)),y;case on:{var w=xi(h,c,o);return a==null||a(w,c,o),w}case vi:{var S=h,b=(_=S.conds.find(function(ie){var K=Ei(ie.cond,e.options.guards);return!K||Ai(e,K,c,o,a?void 0:t)}))===null||_===void 0?void 0:_.actions;if(!b)return[];var A=M(vt(e,t,c,o,[{type:v,actions:Ce(fe(b),e.options.actions)}],a,s),2),E=A[0],k=A[1];return c=k,u==null||u.push(c),E}case wi:{var b=h.get(c,o.data);if(!b)return[];var I=M(vt(e,t,c,o,[{type:v,actions:Ce(fe(b),e.options.actions)}],a,s),2),$=I[0],P=I[1];return c=P,u==null||u.push(c),$}case nn:{var w=Ui(h,c,o);return a==null||a(w,n,o),w}case rn:{c=go(c,o,[h],a?void 0:t),u==null||u.push(c);break}default:var x=He(h,e.options.actions),O=x.exec;if(a)a(x,c,o);else if(O&&u){var L=u.length-1,z=C(C({},x),{exec:function(ie){for(var K=[],J=1;J<arguments.length;J++)K[J-1]=arguments[J];O.apply(void 0,G([u[L]],M(K),!1))}});x=z}return x}}function f(v){var h,_,m=[];try{for(var y=U(v.actions),w=y.next();!w.done;w=y.next()){var S=w.value,b=g(v.type,S);b&&(m=m.concat(b))}}catch(A){h={error:A}}finally{try{w&&!w.done&&(_=y.return)&&_.call(y)}finally{if(h)throw h.error}}return d.forEach(function(A){a(A,c,o)}),d.length=0,m}var p=Y(i.map(f));return[p,c]}var Vi=Object.freeze(Object.defineProperty({__proto__:null,actionTypes:vl,after:Mi,assign:Bi,cancel:$i,choose:Vl,done:dt,doneInvoke:gt,error:ze,escalate:Fl,forwardTo:Fi,getActionFunction:qt,initEvent:Be,isActionObject:Bl,log:Ul,pure:Ml,raise:Ti,resolveActions:vt,resolveLog:xi,resolveRaise:Pi,resolveSend:ki,resolveStop:Ui,respond:Ol,send:Xe,sendParent:dr,sendTo:$l,sendUpdate:Ni,start:Oi,stop:Ri,toActionObject:He,toActionObjects:Ce,toActivityDefinition:ln},Symbol.toStringTag,{value:"Module"})),Jt=[],je=function(e,t){Jt.push(e);var n=t(e);return Jt.pop(),n},Ll=function(e){return e(Jt[Jt.length-1])};function Di(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[Pe]=function(){return this},t}function jl(e,t,n,o){var i,a=Ii(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],l=e.data?Kt(e.data,n,o):void 0,c=s?fr(s,e.id,l):Di(e.id);return c.meta=e,c}function fr(e,t,n){var o=Di(t);if(o.deferred=!0,Ge(e)){var i=o.state=je(void 0,function(){return(n?e.withContext(n):e).initialState});o.getSnapshot=function(){return i}}return o}function zl(e){try{return typeof e.send=="function"}catch{return!1}}function Gl(e){return zl(e)&&"id"in e}function Hl(e){var t;return C((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[Pe]=function(){return this},t),e)}var Zt=function(e){return e.type==="atomic"||e.type==="final"};function Li(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function wt(e){return Li(e).filter(function(t){return t.type!=="history"})}function ji(e){var t=[e];return Zt(e)?t:t.concat(Y(wt(e).map(ji)))}function ft(e,t){var n,o,i,a,s,l,c,u,d=new Set(e),g=Wn(d),f=new Set(t);try{for(var p=U(f),v=p.next();!v.done;v=p.next())for(var h=v.value,_=h.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(I){n={error:I}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var m=Wn(f);try{for(var y=U(f),w=y.next();!w.done;w=y.next()){var h=w.value;if(h.type==="compound"&&(!m.get(h)||!m.get(h).length))g.get(h)?g.get(h).forEach(function($){return f.add($)}):h.initialStateNodes.forEach(function($){return f.add($)});else if(h.type==="parallel")try{for(var S=(s=void 0,U(wt(h))),b=S.next();!b.done;b=S.next()){var A=b.value;f.has(A)||(f.add(A),g.get(A)?g.get(A).forEach(function($){return f.add($)}):A.initialStateNodes.forEach(function($){return f.add($)}))}}catch($){s={error:$}}finally{try{b&&!b.done&&(l=S.return)&&l.call(S)}finally{if(s)throw s.error}}}}catch(I){i={error:I}}finally{try{w&&!w.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}try{for(var E=U(f),k=E.next();!k.done;k=E.next())for(var h=k.value,_=h.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(I){c={error:I}}finally{try{k&&!k.done&&(u=E.return)&&u.call(E)}finally{if(c)throw c.error}}return f}function zi(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var o=n[0];if(o){if(Zt(o))return o.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=zi(a,t)}),i}function Wn(e){var t,n,o=new Map;try{for(var i=U(e),a=i.next();!a.done;a=i.next()){var s=a.value;o.has(s)||o.set(s,[]),s.parent&&(o.has(s.parent)||o.set(s.parent,[]),o.get(s.parent).push(s))}}catch(l){t={error:l}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function Wl(e,t){var n=ft([e],t);return zi(e,Wn(n))}function pt(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function Yl(e){return G([],M(new Set(Y(G([],M(e.map(function(t){return t.ownEvents})),!1)))),!1)}function zt(e,t){return t.type==="compound"?wt(t).some(function(n){return n.type==="final"&&pt(e,n)}):t.type==="parallel"?wt(t).every(function(n){return zt(e,n)}):!1}function Kl(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function ho(e){return new Set(Y(e.map(function(t){return t.tags})))}function Gi(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(V(e)||V(t))return e===t;var n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(function(i){return Gi(e[i],t[i])})}function ql(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function Jl(e,t){var n=e.exec,o=C(C({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return o}var me=function(){function e(t){var n=this,o;this.actions=[],this.activities=fo,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||fo,this.meta=Kl(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(o=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&o!==void 0?o:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return Yl(n.configuration)}})}return e.from=function(t,n){if(t instanceof e)return t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var o=Be;return new e({value:t,context:n,_event:o,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var o=Be;return new e({value:t.value,context:n,_event:o,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(t,n){var o=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),V(t))return[t];var i=Object.keys(t);return i.concat.apply(i,G([],M(i.map(function(a){return o.toStrings(t[a],n).map(function(s){return a+n+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var n=t.tags;t.machine;var o=sr(t,["configuration","transitions","tags","machine"]);return C(C({},o),{tags:Array.from(n)})},e.prototype.matches=function(t){return ur(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Gn(!!this.machine);var o=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(o!=null&&o.transitions.length)&&o.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),Zl={deferEvents:!1},yo=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=C(C({},Zl),t)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},e}(),Tn=new Map,Ql=0,lt={bookId:function(){return"x:".concat(Ql++)},register:function(e,t){return Tn.set(e,t),e},get:function(e){return Tn.get(e)},free:function(e){Tn.delete(e)}};function pr(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global;yt||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues")}function Xl(){var e=pr();if(e&&"__xstate__"in e)return e.__xstate__}function ec(e){if(!!pr()){var t=Xl();t&&t.register(e)}}function tc(e,t){t===void 0&&(t={});var n=e.initialState,o=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var u=i.shift();n=e.transition(n,u,c),o.forEach(function(d){return d.next(n)})}a=!1}},l=Hl({id:t.id,send:function(u){i.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,d,g){var f=jt(u,d,g);return o.add(f),f.next(n),{unsubscribe:function(){o.delete(f)}}}}),c={parent:t.parent,self:l,id:t.id||"anonymous",observers:o};return n=e.start?e.start(c):n,l}var Yn={sync:!1,autoForward:!1},Z;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Z||(Z={}));var nc=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var o=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=Z.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,g){if(Qe(d))return o.batch(d),o.state;var f=ee(sn(d,g));if(o.status===Z.Stopped)return o.state;if(o.status!==Z.Running&&!o.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(o.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
|
|
29
|
-
Event: `).concat(JSON.stringify(f.data)));return o.scheduler.schedule(function(){o.forward(f);var p=o._nextState(f);o.update(p,f)}),o._state},this.sendTo=function(d,g,f){var p=o.parent&&(g===Ne.Parent||o.parent.id===g),v=p?o.parent:V(g)?g===Ne.Internal?o:o.children.get(g)||lt.get(g):
|
|
30
|
-
Event: `).concat(JSON.stringify(event)));else if(this.status!==Z.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(!!t.length){var o=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,l=!1,c=[],u=function(p){var v=ee(p);n.forward(v),s=je(n,function(){return n.machine.transition(s,v,void 0,o||void 0)}),c.push.apply(c,G([],M(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(h){return Jl(h,s)})),!1)),l=l||!!s.changed};try{for(var d=U(t),g=d.next();!g.done;g=d.next()){var f=g.value;u(f)}}catch(p){i={error:p}}finally{try{g&&!g.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=l,s.actions=c,n.update(s,ee(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var o=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=ee(t);if(i.name.indexOf(Ln)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Ln)===0}))throw i.data.data;var a=je(this,function(){return o.machine.transition(o.state,i,void 0,n||void 0)});return a},e.prototype.nextState=function(t){return this._nextState(t,!1)},e.prototype.forward=function(t){var n,o;try{for(var i=U(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,l=this.children.get(s);if(!l)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));l.send(t)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this,o=this.clock.setTimeout(function(){"to"in t&&t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay);t.id&&(this.delayedEventsMap[t.id]=o)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,n,o){o===void 0&&(o=this.machine.options.actions),this._exec(t,n.context,n._event,o)},e.prototype.removeChild=function(t){var n;this.children.delete(t),this.forwardTo.delete(t),(n=this.state)===null||n===void 0||delete n.children[t]},e.prototype.stopChild=function(t){var n=this.children.get(t);!n||(this.removeChild(t),F(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,o){if(this.status!==Z.Running)return fr(t,n);if(mo(t))return this.spawnPromise(Promise.resolve(t),n);if(F(t))return this.spawnCallback(t,n);if(Gl(t))return this.spawnActor(t,n);if(Tl(t))return this.spawnObservable(t,n);if(Ge(t))return this.spawnMachine(t,C(C({},o),{id:n}));if(El(t))return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,n){var o=this;n===void 0&&(n={});var i=new e(t,C(C({},this.options),{parent:this,id:n.id||t.id})),a=C(C({},Yn),n);a.sync&&i.onTransition(function(l){o.send(an,{state:l,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(l){o.removeChild(i.id),o.send(ee(l,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var o=tc(t,{id:n,parent:this});return this.children.set(n,o),o},e.prototype.spawnPromise=function(t,n){var o,i=this,a=!1,s;t.then(function(c){a||(s=c,i.removeChild(n),i.send(ee(gt(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var u=ze(n,c);try{i.send(ee(u,{origin:n}))}catch(d){xl(c,d,n),i.devTools&&i.devTools.send(u,i.state),i.machine.strict&&i.stop()}}});var l=(o={id:n,send:function(){},subscribe:function(c,u,d){var g=jt(c,u,d),f=!1;return t.then(function(p){f||(g.next(p),!f&&g.complete())},function(p){f||g.error(p)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},o[Pe]=function(){return this},o);return this.children.set(n,l),l},e.prototype.spawnCallback=function(t,n){var o,i=this,a=!1,s=new Set,l=new Set,c,u=function(f){c=f,l.forEach(function(p){return p(f)}),!a&&i.send(ee(f,{origin:n}))},d;try{d=t(u,function(f){s.add(f)})}catch(f){this.send(ze(n,f))}if(mo(d))return this.spawnPromise(d,n);var g=(o={id:n,send:function(f){return s.forEach(function(p){return p(f)})},subscribe:function(f){var p=jt(f);return l.add(p.next),{unsubscribe:function(){l.delete(p.next)}}},stop:function(){a=!0,F(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},o[Pe]=function(){return this},o);return this.children.set(n,g),g},e.prototype.spawnObservable=function(t,n){var o,i=this,a,s=t.subscribe(function(c){a=c,i.send(ee(c,{origin:n}))},function(c){i.removeChild(n),i.send(ee(ze(n,c),{origin:n}))},function(){i.removeChild(n),i.send(ee(gt(n),{origin:n}))}),l=(o={id:n,send:function(){},subscribe:function(c,u,d){return t.subscribe(c,u,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},o[Pe]=function(){return this},o);return this.children.set(n,l),l},e.prototype.spawnActor=function(t,n){return this.children.set(n,t),t},e.prototype.spawnActivity=function(t){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!n){yt||Gn(!1,"No implementation found for activity '".concat(t.type,"'"));return}var o=n(this.state.context,t);this.spawnEffect(t.id,o)},e.prototype.spawnEffect=function(t,n){var o;this.children.set(t,(o={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},o[Pe]=function(){return this},o))},e.prototype.attachDev=function(){var t=pr();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(C(C({name:this.id,autoPause:!0,stateSanitizer:function(o){return{value:o.value,context:o.context,actions:o.actions}}},n),{features:C({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}ec(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Pe]=function(){return this},e.prototype.getSnapshot=function(){return this.status===Z.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,n){return setTimeout(t,n)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},e.interpret=Hi,e}(),rc=function(e){return V(e)?C(C({},Yn),{name:e}):C(C(C({},Yn),{name:kl()}),e)};function $t(e,t){var n=rc(t);return Ll(function(o){return o?o.spawn(e,n.name,n):fr(e,n.name)})}function Hi(e,t){var n=new nc(e,t);return n}function oc(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Ot(e){return C(C({type:Wt},e),{toJSON:function(){e.onDone,e.onError;var t=sr(e,["onDone","onError"]);return C(C({},t),{type:Wt,src:oc(e.src)})}})}var Rt="",Kn="#",Pn="*",De={},Le=function(e){return e[0]===Kn},ic=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},ac=function(){function e(t,n,o,i){o===void 0&&(o="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=o,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(ic(),n),this.parent=i==null?void 0:i.parent,this.key=this.config.key||(i==null?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:Si),this.id=this.config.id||G([this.machine.key],M(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?ut(this.config.states,function(u,d){var g,f=new e(u,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,C((g={},g[f.id]=f,g),f.idMap)),f}):De;var l=0;function c(u){var d,g;u.order=l++;try{for(var f=U(Li(u)),p=f.next();!p.done;p=f.next()){var v=p.value;c(v)}}catch(h){d={error:h}}finally{try{p&&!p.done&&(g=f.return)&&g.call(f)}finally{if(d)throw d.error}}}c(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(u){var d=u.event;return d===Rt}):Rt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=fe(this.config.entry||this.config.onEntry).map(function(u){return He(u)}),this.onExit=fe(this.config.exit||this.config.onExit).map(function(u){return He(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=fe(this.config.invoke).map(function(u,d){var g,f;if(Ge(u)){var p=xt(a.id,d);return a.machine.options.services=C((g={},g[p]=u,g),a.machine.options.services),Ot({src:p,id:p})}else if(V(u.src)){var p=u.id||xt(a.id,d);return Ot(C(C({},u),{id:p,src:u.src}))}else if(Ge(u.src)||F(u.src)){var p=u.id||xt(a.id,d);return a.machine.options.services=C((f={},f[p]=u.src,f),a.machine.options.services),Ot(C(C({id:p},u),{src:p}))}else{var v=u.src;return Ot(C(C({id:xt(a.id,d)},u),{src:v}))}}),this.activities=fe(this.config.activities).concat(this.invoke).map(function(u){return ln(u)}),this.transition=this.transition.bind(this),this.tags=fe(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||ji(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var o=this.options,i=o.actions,a=o.activities,s=o.guards,l=o.services,c=o.delays;return new e(this.config,{actions:C(C({},i),t.actions),activities:C(C({},a),t.activities),guards:C(C({},s),t.guards),services:C(C({},l),t.services),delays:C(C({},c),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return F(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:ut(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(n,o){return n[o.eventType]=n[o.eventType]||[],n[o.eventType].push(o),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=t===Rt,o=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===Pn});return this.__cache.candidates[t]=o,o},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var o=function(a,s){var l=F(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Mi(l,t.id);return t.onEntry.push(Xe(c,{delay:a})),t.onExit.push($i(c)),c},i=Qe(n)?n.map(function(a,s){var l=o(a.delay,s);return C(C({},a),{event:l})}):Y(Object.keys(n).map(function(a,s){var l=n[a],c=V(l)?{target:l}:l,u=isNaN(+a)?a:+a,d=o(u,s);return fe(c).map(function(g){return C(C({},g),{event:d,delay:u})})}));return i.map(function(a){var s=a.delay;return C(C({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,o=this;if(!t)return[];var i=t instanceof me?t.value:mt(t,this.delimiter);if(V(i)){var a=this.getStateNode(i).initial;return a!==void 0?this.getStateNodes((n={},n[i]=a,n)):[this,this.states[i]]}var s=Object.keys(i),l=[this];return l.push.apply(l,G([],M(Y(s.map(function(c){return o.getStateNode(c).getStateNodes(i[c])}))),!1)),l},e.prototype.handles=function(t){var n=_i(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof me?t:me.create(t),o=Array.from(ft([],this.getStateNodes(n.value)));return new me(C(C({},n),{value:this.resolve(n.value),configuration:o,done:zt(o,this),tags:ho(o),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,o){var i=this.getStateNode(t),a=i.next(n,o);return!a||!a.transitions.length?this.next(n,o):a},e.prototype.transitionCompoundNode=function(t,n,o){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,o);return!s||!s.transitions.length?this.next(n,o):s},e.prototype.transitionParallelNode=function(t,n,o){var i,a,s={};try{for(var l=U(Object.keys(t)),c=l.next();!c.done;c=l.next()){var u=c.value,d=t[u];if(!!d){var g=this.getStateNode(u),f=g._transition(d,n,o);f&&(s[u]=f)}}}catch(m){i={error:m}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}var p=Object.keys(s).map(function(m){return s[m]}),v=Y(p.map(function(m){return m.transitions})),h=p.some(function(m){return m.transitions.length>0});if(!h)return this.next(n,o);var _=Y(Object.keys(s).map(function(m){return s[m].configuration}));return{transitions:v,exitSet:Y(p.map(function(m){return m.exitSet})),configuration:_,source:n,actions:Y(Object.keys(s).map(function(m){return s[m].actions}))}},e.prototype._transition=function(t,n,o){return V(t)?this.transitionLeafNode(t,n,o):Object.keys(t).length===1?this.transitionCompoundNode(t,n,o):this.transitionParallelNode(t,n,o)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,ee(n))},e.prototype.next=function(t,n){var o,i,a=this,s=n.name,l=[],c=[],u;try{for(var d=U(this.getCandidates(s)),g=d.next();!g.done;g=d.next()){var f=g.value,p=f.cond,v=f.in,h=t.context,_=v?V(v)&&Le(v)?t.matches(mt(this.getStateNodeById(v).path,this.delimiter)):ur(mt(v,this.delimiter),_l(this.path.slice(0,-2))(t.value)):!0,m=!1;try{m=!p||Ai(this.machine,p,h,n,t)}catch(S){throw new Error("Unable to evaluate guard '".concat(p.name||p.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
|
|
31
|
-
`).concat(S.message))}if(m&&_){f.target!==void 0&&(c=f.target),l.push.apply(l,G([],M(f.actions),!1)),u=f;break}}}catch(S){o={error:S}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}if(!!u){if(!c.length)return{transitions:[u],exitSet:[],configuration:t.value?[this]:[],source:t,actions:l};var y=Y(c.map(function(S){return a.getRelativeStateNodes(S,t.historyValue)})),w=!!u.internal;return{transitions:[u],exitSet:w?[]:Y(c.map(function(S){return a.getPotentiallyReenteringNodes(S)})),configuration:y,source:t,actions:l}}},e.prototype.getPotentiallyReenteringNodes=function(t){if(this.order<t.order)return[this];for(var n=[],o=this,i=t;o&&o!==i;)n.push(o),o=o.parent;return o!==i?[]:(n.push(i),n)},e.prototype.getActions=function(t,n,o,i,a,s,l){var c,u,d,g,f=this,p=s?ft([],this.getStateNodes(s.value)):[],v=new Set;try{for(var h=U(Array.from(t).sort(function(P,x){return P.order-x.order})),_=h.next();!_.done;_=h.next()){var m=_.value;(!pt(p,m)||pt(o.exitSet,m)||m.parent&&v.has(m.parent))&&v.add(m)}}catch(P){c={error:P}}finally{try{_&&!_.done&&(u=h.return)&&u.call(h)}finally{if(c)throw c.error}}try{for(var y=U(p),w=y.next();!w.done;w=y.next()){var m=w.value;(!pt(t,m)||pt(o.exitSet,m.parent))&&o.exitSet.push(m)}}catch(P){d={error:P}}finally{try{w&&!w.done&&(g=y.return)&&g.call(y)}finally{if(d)throw d.error}}o.exitSet.sort(function(P,x){return x.order-P.order});var S=Array.from(v).sort(function(P,x){return P.order-x.order}),b=new Set(o.exitSet),A=Y(S.map(function(P){var x=[];if(P.type!=="final")return x;var O=P.parent;if(!O.parent)return x;x.push(dt(P.id,P.doneData),dt(O.id,P.doneData?Kt(P.doneData,i,a):void 0));var L=O.parent;return L.type==="parallel"&&wt(L).every(function(z){return zt(o.configuration,z)})&&x.push(dt(L.id)),x})),E=S.map(function(P){var x=P.onEntry,O=P.activities.map(function(L){return Oi(L)});return{type:"entry",actions:Ce(l?G(G([],M(x),!1),M(O),!1):G(G([],M(O),!1),M(x),!1),f.machine.options.actions)}}).concat({type:"state_done",actions:A.map(function(P){return Ti(P)})}),k=Array.from(b).map(function(P){return{type:"exit",actions:Ce(G(G([],M(P.onExit),!1),M(P.activities.map(function(x){return Ri(x)})),!1),f.machine.options.actions)}}),I=k.concat({type:"transition",actions:Ce(o.actions,this.machine.options.actions)}).concat(E);if(n){var $=Ce(Y(G([],M(t),!1).sort(function(P,x){return x.order-P.order}).map(function(P){return P.onExit})),this.machine.options.actions).filter(function(P){return!Hn(P)});return I.concat({type:"stop",actions:$})}return I},e.prototype.transition=function(t,n,o,i){t===void 0&&(t=this.initialState);var a=ee(n),s;if(t instanceof me)s=o===void 0?t:this.resolveState(me.from(t,o));else{var l=V(t)?this.resolve(Yt(this.getResolvedPath(t))):this.resolve(t),c=o!=null?o:this.machine.context;s=this.resolveState(me.from(l,c))}if(this.strict&&!this.events.includes(a.name)&&!Cl(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var u=this._transition(s.value,s,a)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},d=ft([],this.getStateNodes(s.value)),g=u.configuration.length?ft(d,u.configuration):d;return u.configuration=G([],M(g),!1),this.resolveTransition(u,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,o,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=o,t.event=o.data,(a=t.actions).unshift.apply(a,G([],M(s),!1)),t},e.prototype.resolveTransition=function(t,n,o,i,a){var s,l,c,u,d=this;a===void 0&&(a=Be);var g=t.configuration,f=!n||t.transitions.length>0,p=f?t.configuration:n?n.configuration:[],v=zt(p,this),h=f?Wl(this.machine,g):void 0,_=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,m=this.getActions(new Set(p),v,t,o,a,n,i),y=n?C({},n.activities):{};try{for(var w=U(m),S=w.next();!S.done;S=w.next()){var b=S.value;try{for(var A=(c=void 0,U(b.actions)),E=A.next();!E.done;E=A.next()){var k=E.value;k.type===Ht?y[k.activity.id||k.activity.type]=k:k.type===nn&&(y[k.activity.id||k.activity.type]=!1)}}catch(ne){c={error:ne}}finally{try{E&&!E.done&&(u=A.return)&&u.call(A)}finally{if(c)throw c.error}}}}catch(ne){s={error:ne}}finally{try{S&&!S.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}var I=M(vt(this,n,o,a,m,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),$=I[0],P=I[1],x=M(Al($,Hn),2),O=x[0],L=x[1],z=$.filter(function(ne){var Ie;return ne.type===Ht&&((Ie=ne.activity)===null||Ie===void 0?void 0:Ie.type)===Wt}),ie=z.reduce(function(ne,Ie){return ne[Ie.activity.id]=jl(Ie.activity,d.machine,P,a),ne},n?C({},n.children):{}),K=new me({value:h||n.value,context:P,_event:a,_sessionid:n?n._sessionid:null,historyValue:h?_?Il(_,h):void 0:n?n.historyValue:void 0,history:!h||t.source?n:void 0,actions:h?L:[],activities:h?y:n?n.activities:{},events:[],configuration:p,transitions:t.transitions,children:ie,done:v,tags:ho(p),machine:this}),J=o!==P;K.changed=a.name===an||J;var pe=K.history;pe&&delete pe.history;var Oe=!v&&(this._transient||g.some(function(ne){return ne._transient}));if(!f&&(!Oe||a.name===Rt))return K;var oe=K;if(!v)for(Oe&&(oe=this.resolveRaisedTransition(oe,{type:hi},a,i));O.length;){var at=O.shift();oe=this.resolveRaisedTransition(oe,at._event,a,i)}var st=oe.changed||(pe?!!oe.actions.length||J||typeof pe.value!=typeof oe.value||!Gi(oe.value,pe.value):void 0);return oe.changed=st,oe.history=pe,oe},e.prototype.getStateNode=function(t){if(Le(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[t];if(!n)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return n},e.prototype.getStateNodeById=function(t){var n=Le(t)?t.slice(Kn.length):t;if(n===this.id)return this;var o=this.machine.idMap[n];if(!o)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return o},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&Le(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=zn(t,this.delimiter).slice(),o=this;n.length;){var i=n.shift();if(!i.length)break;o=o.getStateNode(i)}return o},e.prototype.resolve=function(t){var n,o=this;if(!t)return this.initialStateValue||De;switch(this.type){case"parallel":return ut(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):De});case"compound":if(V(t)){var i=this.getStateNode(t);return i.type==="parallel"||i.type==="compound"?(n={},n[t]=i.initialStateValue,n):t}return Object.keys(t).length?ut(t,function(a,s){return a?o.getStateNode(s).resolve(a):De}):this.initialStateValue||{};default:return t||De}},e.prototype.getResolvedPath=function(t){if(Le(t)){var n=this.machine.idMap[t.slice(Kn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return zn(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=po(this.states,function(o){return o.initialStateValue||De},function(o){return o.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=Zt(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,n){this._init();var o=this.getStateNodes(t);return this.resolveTransition({configuration:o,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n!=null?n:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var n=this.config;V(n.target)?t=Le(n.target)?Yt(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:t=n.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,n,o){return o===void 0&&(o=!0),o?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(Zt(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Lt(this.initialStateValue);return Y(n.map(function(o){return t.getFromRelativePath(o)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=M(t),o=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(o,"' from node with no states"));var a=this.getStateNode(o);if(a.type==="history")return a.resolveHistory();if(!this.states[o])throw new Error("Child state '".concat(o,"' does not exist on '").concat(this.id,"'"));return this.states[o].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:po(this.states,function(n,o){if(!t)return n.historyValue();var i=V(t)?void 0:t[o];return n.historyValue(i||n.initialStateValue)},function(n){return!n.history})}},e.prototype.resolveHistory=function(t){var n=this;if(this.type!=="history")return[this];var o=this.parent;if(!t){var i=this.target;return i?Y(Lt(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=bl(o.path,"states")(t).current;return V(a)?[o.getStateNode(a)]:Y(Lt(a).map(function(s){return n.history==="deep"?o.getFromRelativePath(s):[o.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=Y(Object.keys(this.states).map(function(o){return t.states[o].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,o,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var l=U(Object.keys(a)),c=l.next();!c.done;c=l.next()){var u=c.value,d=a[u];if(d.states)try{for(var g=(o=void 0,U(d.events)),f=g.next();!f.done;f=g.next()){var p=f.value;s.add("".concat(p))}}catch(v){o={error:v}}finally{try{f&&!f.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}}}catch(v){t={error:v}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var n=this;if(t!==void 0)return t.map(function(o){if(!V(o))return o;var i=o[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(o.slice(1));var a=i?n.key+o:o;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(l){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
|
|
32
|
-
`).concat(l.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,o=Nl(t.target),i="internal"in t?t.internal:o?o.some(function(c){return V(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(o),l=C(C({},t),{actions:Ce(fe(t.actions)),cond:Ei(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return C(C({},l),{target:l.target?l.target.map(function(c){return"#".concat(c.id)}):void 0,source:"#".concat(n.id)})}});return l},e.prototype.formatTransitions=function(){var t,n,o=this,i;if(!this.config.on)i=[];else if(Array.isArray(this.config.on))i=this.config.on;else{var a=this.config.on,s=Pn,l=a[s],c=l===void 0?[]:l,u=sr(a,[typeof s=="symbol"?s:s+""]);i=Y(Object.keys(u).map(function(y){var w=Ve(y,u[y]);return w}).concat(Ve(Pn,c)))}var d=this.config.always?Ve("",this.config.always):[],g=this.config.onDone?Ve(String(dt(this.id)),this.config.onDone):[],f=Y(this.invoke.map(function(y){var w=[];return y.onDone&&w.push.apply(w,G([],M(Ve(String(gt(y.id)),y.onDone)),!1)),y.onError&&w.push.apply(w,G([],M(Ve(String(ze(y.id)),y.onError)),!1)),w})),p=this.after,v=Y(G(G(G(G([],M(g),!1),M(f),!1),M(i),!1),M(d),!1).map(function(y){return fe(y).map(function(w){return o.formatTransition(w)})}));try{for(var h=U(p),_=h.next();!_.done;_=h.next()){var m=_.value;v.push(m)}}catch(y){t={error:y}}finally{try{_&&!_.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return v},e}(),vo=!1;function Ct(e,t){return!yt&&!("predictableActionArguments"in e)&&!vo&&(vo=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new ac(e,t)}var ce=Bi,mr=Ni,sc=Fi;const{assign:j,stop:lc}=Vi,Ut=e=>lc(e),cc=j({attributeToVerify:e=>{}}),uc=j({challengeName:e=>{}}),dc=j({requiredAttributes:e=>{}}),gr=j({remoteError:e=>""}),hr=j({formValues:e=>({})}),yr=j({touched:e=>({})}),fc=j({unverifiedContactMethods:e=>{}}),pc=j({username:e=>{}}),vr=j({validationError:e=>({})}),mc=j({totpSecretCode:(e,t)=>t.data}),gc=j({challengeName:(e,t)=>{var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),hc=j({requiredAttributes:(e,t)=>{var n,o;return(o=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||o===void 0?void 0:o.requiredAttributes}}),yc=j({redirectIntent:e=>"confirmPasswordReset"}),vc=j({redirectIntent:e=>"confirmSignUp"}),Wi=j({authAttributes:(e,t)=>{var n,o;const[i]=e.loginMechanisms;return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(o=e.formValues)===null||o===void 0?void 0:o.password}}}),wr=j({validationError:(e,t)=>t.data}),Sr=j({remoteError:(e,t)=>{var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),wc=j({unverifiedContactMethods:(e,t)=>t.data.unverified}),Yi=j({user:(e,t)=>t.data.user||t.data}),Sc=j({username:(e,t)=>{let{formValues:{username:n,country_code:o}}=e;return o&&(n=`${o}${n}`),n}}),_c=j({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),bc=j({authAttributes:(e,t)=>({username:e.formValues.username})}),_r=j({formValues:(e,t)=>{const{name:n,value:o}=t.data;return Object.assign(Object.assign({},e.formValues),{[n]:o})}}),br=j({formValues:(e,t)=>{const n=Object.assign(Object.assign({},e.formValues),t.data);return il(n,"password")}}),Cr=j({touched:(e,t)=>{const{name:n}=t.data;return Object.assign(Object.assign({},e.touched),{[`${n}`]:!0})}}),Cc=e=>B(void 0,void 0,void 0,function*(){const{username:t}=e;return yield W.Auth.forgotPassword(t)}),Ki=j({formValues:(e,t)=>{var n;const[o="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&o!=="phone_number")return e.formValues;const{formValues:i,country_code:a}=e,s=i.phone_number?"phone_number":"username",l=`${(n=i.country_code)!==null&&n!==void 0?n:a}${i[s]}`.replace(/[^A-Z0-9+]/gi,""),c=Object.assign(Object.assign({},i),{[s]:l});return delete c.country_code,c}});var Ec=Array.isArray,Ee=Ec,Ac=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,qi=Ac,Ic=qi,Tc=typeof self=="object"&&self&&self.Object===Object&&self,Pc=Ic||Tc||Function("return this")(),ye=Pc,kc=ye,Nc=kc.Symbol,cn=Nc,wo=cn,Ji=Object.prototype,xc=Ji.hasOwnProperty,$c=Ji.toString,ct=wo?wo.toStringTag:void 0;function Oc(e){var t=xc.call(e,ct),n=e[ct];try{e[ct]=void 0;var o=!0}catch{}var i=$c.call(e);return o&&(t?e[ct]=n:delete e[ct]),i}var Rc=Oc,Uc=Object.prototype,Bc=Uc.toString;function Mc(e){return Bc.call(e)}var Fc=Mc,So=cn,Vc=Rc,Dc=Fc,Lc="[object Null]",jc="[object Undefined]",_o=So?So.toStringTag:void 0;function zc(e){return e==null?e===void 0?jc:Lc:_o&&_o in Object(e)?Vc(e):Dc(e)}var et=zc;function Gc(e){return e!=null&&typeof e=="object"}var Me=Gc,Hc=et,Wc=Me,Yc="[object Symbol]";function Kc(e){return typeof e=="symbol"||Wc(e)&&Hc(e)==Yc}var Er=Kc,qc=Ee,Jc=Er,Zc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qc=/^\w*$/;function Xc(e,t){if(qc(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Jc(e)?!0:Qc.test(e)||!Zc.test(e)||t!=null&&e in Object(t)}var Ar=Xc;function eu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ae=eu,tu=et,nu=Ae,ru="[object AsyncFunction]",ou="[object Function]",iu="[object GeneratorFunction]",au="[object Proxy]";function su(e){if(!nu(e))return!1;var t=tu(e);return t==ou||t==iu||t==ru||t==au}var Ir=su,lu=ye,cu=lu["__core-js_shared__"],uu=cu,kn=uu,bo=function(){var e=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function du(e){return!!bo&&bo in e}var fu=du,pu=Function.prototype,mu=pu.toString;function gu(e){if(e!=null){try{return mu.call(e)}catch{}try{return e+""}catch{}}return""}var Zi=gu,hu=Ir,yu=fu,vu=Ae,wu=Zi,Su=/[\\^$.*+?()[\]{}|]/g,_u=/^\[object .+?Constructor\]$/,bu=Function.prototype,Cu=Object.prototype,Eu=bu.toString,Au=Cu.hasOwnProperty,Iu=RegExp("^"+Eu.call(Au).replace(Su,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tu(e){if(!vu(e)||yu(e))return!1;var t=hu(e)?Iu:_u;return t.test(wu(e))}var Pu=Tu;function ku(e,t){return e==null?void 0:e[t]}var Nu=ku,xu=Pu,$u=Nu;function Ou(e,t){var n=$u(e,t);return xu(n)?n:void 0}var Fe=Ou,Ru=Fe,Uu=Ru(Object,"create"),un=Uu,Co=un;function Bu(){this.__data__=Co?Co(null):{},this.size=0}var Mu=Bu;function Fu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Vu=Fu,Du=un,Lu="__lodash_hash_undefined__",ju=Object.prototype,zu=ju.hasOwnProperty;function Gu(e){var t=this.__data__;if(Du){var n=t[e];return n===Lu?void 0:n}return zu.call(t,e)?t[e]:void 0}var Hu=Gu,Wu=un,Yu=Object.prototype,Ku=Yu.hasOwnProperty;function qu(e){var t=this.__data__;return Wu?t[e]!==void 0:Ku.call(t,e)}var Ju=qu,Zu=un,Qu="__lodash_hash_undefined__";function Xu(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Zu&&t===void 0?Qu:t,this}var ed=Xu,td=Mu,nd=Vu,rd=Hu,od=Ju,id=ed;function tt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}tt.prototype.clear=td;tt.prototype.delete=nd;tt.prototype.get=rd;tt.prototype.has=od;tt.prototype.set=id;var ad=tt;function sd(){this.__data__=[],this.size=0}var ld=sd;function cd(e,t){return e===t||e!==e&&t!==t}var Et=cd,ud=Et;function dd(e,t){for(var n=e.length;n--;)if(ud(e[n][0],t))return n;return-1}var dn=dd,fd=dn,pd=Array.prototype,md=pd.splice;function gd(e){var t=this.__data__,n=fd(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():md.call(t,n,1),--this.size,!0}var hd=gd,yd=dn;function vd(e){var t=this.__data__,n=yd(t,e);return n<0?void 0:t[n][1]}var wd=vd,Sd=dn;function _d(e){return Sd(this.__data__,e)>-1}var bd=_d,Cd=dn;function Ed(e,t){var n=this.__data__,o=Cd(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Ad=Ed,Id=ld,Td=hd,Pd=wd,kd=bd,Nd=Ad;function nt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}nt.prototype.clear=Id;nt.prototype.delete=Td;nt.prototype.get=Pd;nt.prototype.has=kd;nt.prototype.set=Nd;var fn=nt,xd=Fe,$d=ye,Od=xd($d,"Map"),Tr=Od,Eo=ad,Rd=fn,Ud=Tr;function Bd(){this.size=0,this.__data__={hash:new Eo,map:new(Ud||Rd),string:new Eo}}var Md=Bd;function Fd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Vd=Fd,Dd=Vd;function Ld(e,t){var n=e.__data__;return Dd(t)?n[typeof t=="string"?"string":"hash"]:n.map}var pn=Ld,jd=pn;function zd(e){var t=jd(this,e).delete(e);return this.size-=t?1:0,t}var Gd=zd,Hd=pn;function Wd(e){return Hd(this,e).get(e)}var Yd=Wd,Kd=pn;function qd(e){return Kd(this,e).has(e)}var Jd=qd,Zd=pn;function Qd(e,t){var n=Zd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var Xd=Qd,ef=Md,tf=Gd,nf=Yd,rf=Jd,of=Xd;function rt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}rt.prototype.clear=ef;rt.prototype.delete=tf;rt.prototype.get=nf;rt.prototype.has=rf;rt.prototype.set=of;var Pr=rt,Qi=Pr,af="Expected a function";function kr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(af);var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,o);return n.cache=a.set(i,s)||a,s};return n.cache=new(kr.Cache||Qi),n}kr.Cache=Qi;var sf=kr,lf=sf,cf=500;function uf(e){var t=lf(e,function(o){return n.size===cf&&n.clear(),o}),n=t.cache;return t}var df=uf,ff=df,pf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mf=/\\(\\)?/g,gf=ff(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(pf,function(n,o,i,a){t.push(i?a.replace(mf,"$1"):o||n)}),t}),hf=gf;function yf(e,t){for(var n=-1,o=e==null?0:e.length,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}var Xi=yf,Ao=cn,vf=Xi,wf=Ee,Sf=Er,_f=1/0,Io=Ao?Ao.prototype:void 0,To=Io?Io.toString:void 0;function ea(e){if(typeof e=="string")return e;if(wf(e))return vf(e,ea)+"";if(Sf(e))return To?To.call(e):"";var t=e+"";return t=="0"&&1/e==-_f?"-0":t}var bf=ea,Cf=bf;function Ef(e){return e==null?"":Cf(e)}var Af=Ef,If=Ee,Tf=Ar,Pf=hf,kf=Af;function Nf(e,t){return If(e)?e:Tf(e,t)?[e]:Pf(kf(e))}var mn=Nf,xf=Er,$f=1/0;function Of(e){if(typeof e=="string"||xf(e))return e;var t=e+"";return t=="0"&&1/e==-$f?"-0":t}var At=Of,Rf=mn,Uf=At;function Bf(e,t){t=Rf(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[Uf(t[n++])];return n&&n==o?e:void 0}var Nr=Bf,Mf=Nr;function Ff(e,t,n){var o=e==null?void 0:Mf(e,t);return o===void 0?n:o}var Ue=Ff,Vf=fn;function Df(){this.__data__=new Vf,this.size=0}var Lf=Df;function jf(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var zf=jf;function Gf(e){return this.__data__.get(e)}var Hf=Gf;function Wf(e){return this.__data__.has(e)}var Yf=Wf,Kf=fn,qf=Tr,Jf=Pr,Zf=200;function Qf(e,t){var n=this.__data__;if(n instanceof Kf){var o=n.__data__;if(!qf||o.length<Zf-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jf(o)}return n.set(e,t),this.size=n.size,this}var Xf=Qf,ep=fn,tp=Lf,np=zf,rp=Hf,op=Yf,ip=Xf;function ot(e){var t=this.__data__=new ep(e);this.size=t.size}ot.prototype.clear=tp;ot.prototype.delete=np;ot.prototype.get=rp;ot.prototype.has=op;ot.prototype.set=ip;var xr=ot,ap=Fe,sp=function(){try{var e=ap(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ta=sp,Po=ta;function lp(e,t,n){t=="__proto__"&&Po?Po(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var $r=lp,cp=$r,up=Et;function dp(e,t,n){(n!==void 0&&!up(e[t],n)||n===void 0&&!(t in e))&&cp(e,t,n)}var na=dp;function fp(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),l=s.length;l--;){var c=s[e?l:++i];if(n(a[c],c,a)===!1)break}return t}}var pp=fp,mp=pp,gp=mp(),hp=gp,qn={exports:{}};(function(e,t){var n=ye,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(u,d){if(d)return u.slice();var g=u.length,f=l?l(g):new u.constructor(g);return u.copy(f),f}e.exports=c})(qn,qn.exports);var yp=ye,vp=yp.Uint8Array,ra=vp,ko=ra;function wp(e){var t=new e.constructor(e.byteLength);return new ko(t).set(new ko(e)),t}var Sp=wp,_p=Sp;function bp(e,t){var n=t?_p(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Cp=bp;function Ep(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Ap=Ep,Ip=Ae,No=Object.create,Tp=function(){function e(){}return function(t){if(!Ip(t))return{};if(No)return No(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Pp=Tp;function kp(e,t){return function(n){return e(t(n))}}var oa=kp,Np=oa,xp=Np(Object.getPrototypeOf,Object),Or=xp,$p=Object.prototype;function Op(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||$p;return e===n}var Rr=Op,Rp=Pp,Up=Or,Bp=Rr;function Mp(e){return typeof e.constructor=="function"&&!Bp(e)?Rp(Up(e)):{}}var Fp=Mp,Vp=et,Dp=Me,Lp="[object Arguments]";function jp(e){return Dp(e)&&Vp(e)==Lp}var zp=jp,xo=zp,Gp=Me,ia=Object.prototype,Hp=ia.hasOwnProperty,Wp=ia.propertyIsEnumerable,Yp=xo(function(){return arguments}())?xo:function(e){return Gp(e)&&Hp.call(e,"callee")&&!Wp.call(e,"callee")},Ur=Yp,Kp=9007199254740991;function qp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Kp}var Br=qp,Jp=Ir,Zp=Br;function Qp(e){return e!=null&&Zp(e.length)&&!Jp(e)}var gn=Qp,Xp=gn,em=Me;function tm(e){return em(e)&&Xp(e)}var nm=tm,St={exports:{}};function rm(){return!1}var om=rm;(function(e,t){var n=ye,o=om,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?n.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u})(St,St.exports);var im=et,am=Or,sm=Me,lm="[object Object]",cm=Function.prototype,um=Object.prototype,aa=cm.toString,dm=um.hasOwnProperty,fm=aa.call(Object);function pm(e){if(!sm(e)||im(e)!=lm)return!1;var t=am(e);if(t===null)return!0;var n=dm.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&aa.call(n)==fm}var mm=pm,gm=et,hm=Br,ym=Me,vm="[object Arguments]",wm="[object Array]",Sm="[object Boolean]",_m="[object Date]",bm="[object Error]",Cm="[object Function]",Em="[object Map]",Am="[object Number]",Im="[object Object]",Tm="[object RegExp]",Pm="[object Set]",km="[object String]",Nm="[object WeakMap]",xm="[object ArrayBuffer]",$m="[object DataView]",Om="[object Float32Array]",Rm="[object Float64Array]",Um="[object Int8Array]",Bm="[object Int16Array]",Mm="[object Int32Array]",Fm="[object Uint8Array]",Vm="[object Uint8ClampedArray]",Dm="[object Uint16Array]",Lm="[object Uint32Array]",H={};H[Om]=H[Rm]=H[Um]=H[Bm]=H[Mm]=H[Fm]=H[Vm]=H[Dm]=H[Lm]=!0;H[vm]=H[wm]=H[xm]=H[Sm]=H[$m]=H[_m]=H[bm]=H[Cm]=H[Em]=H[Am]=H[Im]=H[Tm]=H[Pm]=H[km]=H[Nm]=!1;function jm(e){return ym(e)&&hm(e.length)&&!!H[gm(e)]}var zm=jm;function Gm(e){return function(t){return e(t)}}var Hm=Gm,Jn={exports:{}};(function(e,t){var n=qi,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,l=function(){try{var c=i&&i.require&&i.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Jn,Jn.exports);var Wm=zm,Ym=Hm,$o=Jn.exports,Oo=$o&&$o.isTypedArray,Km=Oo?Ym(Oo):Wm,Mr=Km;function qm(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var sa=qm,Jm=$r,Zm=Et,Qm=Object.prototype,Xm=Qm.hasOwnProperty;function eg(e,t,n){var o=e[t];(!(Xm.call(e,t)&&Zm(o,n))||n===void 0&&!(t in e))&&Jm(e,t,n)}var la=eg,tg=la,ng=$r;function rg(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=o?o(n[l],e[l],l,n,e):void 0;c===void 0&&(c=e[l]),i?ng(n,l,c):tg(n,l,c)}return n}var og=rg;function ig(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var ag=ig,sg=9007199254740991,lg=/^(?:0|[1-9]\d*)$/;function cg(e,t){var n=typeof e;return t=t==null?sg:t,!!t&&(n=="number"||n!="symbol"&&lg.test(e))&&e>-1&&e%1==0&&e<t}var hn=cg,ug=ag,dg=Ur,fg=Ee,pg=St.exports,mg=hn,gg=Mr,hg=Object.prototype,yg=hg.hasOwnProperty;function vg(e,t){var n=fg(e),o=!n&&dg(e),i=!n&&!o&&pg(e),a=!n&&!o&&!i&&gg(e),s=n||o||i||a,l=s?ug(e.length,String):[],c=l.length;for(var u in e)(t||yg.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mg(u,c)))&&l.push(u);return l}var ca=vg;function wg(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Sg=wg,_g=Ae,bg=Rr,Cg=Sg,Eg=Object.prototype,Ag=Eg.hasOwnProperty;function Ig(e){if(!_g(e))return Cg(e);var t=bg(e),n=[];for(var o in e)o=="constructor"&&(t||!Ag.call(e,o))||n.push(o);return n}var Tg=Ig,Pg=ca,kg=Tg,Ng=gn;function xg(e){return Ng(e)?Pg(e,!0):kg(e)}var Fr=xg,$g=og,Og=Fr;function Rg(e){return $g(e,Og(e))}var Ug=Rg,Ro=na,Bg=qn.exports,Mg=Cp,Fg=Ap,Vg=Fp,Uo=Ur,Bo=Ee,Dg=nm,Lg=St.exports,jg=Ir,zg=Ae,Gg=mm,Hg=Mr,Mo=sa,Wg=Ug;function Yg(e,t,n,o,i,a,s){var l=Mo(e,n),c=Mo(t,n),u=s.get(c);if(u){Ro(e,n,u);return}var d=a?a(l,c,n+"",e,t,s):void 0,g=d===void 0;if(g){var f=Bo(c),p=!f&&Lg(c),v=!f&&!p&&Hg(c);d=c,f||p||v?Bo(l)?d=l:Dg(l)?d=Fg(l):p?(g=!1,d=Bg(c,!0)):v?(g=!1,d=Mg(c,!0)):d=[]:Gg(c)||Uo(c)?(d=l,Uo(l)?d=Wg(l):(!zg(l)||jg(l))&&(d=Vg(c))):g=!1}g&&(s.set(c,d),i(d,c,o,a,s),s.delete(c)),Ro(e,n,d)}var Kg=Yg,qg=xr,Jg=na,Zg=hp,Qg=Kg,Xg=Ae,eh=Fr,th=sa;function ua(e,t,n,o,i){e!==t&&Zg(t,function(a,s){if(i||(i=new qg),Xg(a))Qg(e,t,s,n,ua,o,i);else{var l=o?o(th(e,s),a,s+"",e,t,i):void 0;l===void 0&&(l=a),Jg(e,s,l)}},eh)}var nh=ua;function rh(e){return e}var Vr=rh;function oh(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var ih=oh,ah=ih,Fo=Math.max;function sh(e,t,n){return t=Fo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Fo(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),ah(e,this,l)}}var lh=sh;function ch(e){return function(){return e}}var uh=ch,dh=uh,Vo=ta,fh=Vr,ph=Vo?function(e,t){return Vo(e,"toString",{configurable:!0,enumerable:!1,value:dh(t),writable:!0})}:fh,mh=ph,gh=800,hh=16,yh=Date.now;function vh(e){var t=0,n=0;return function(){var o=yh(),i=hh-(o-n);if(n=o,i>0){if(++t>=gh)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var wh=vh,Sh=mh,_h=wh,bh=_h(Sh),Ch=bh,Eh=Vr,Ah=lh,Ih=Ch;function Th(e,t){return Ih(Ah(e,t,Eh),e+"")}var Ph=Th,kh=Et,Nh=gn,xh=hn,$h=Ae;function Oh(e,t,n){if(!$h(n))return!1;var o=typeof t;return(o=="number"?Nh(n)&&xh(t,n.length):o=="string"&&t in n)?kh(n[t],e):!1}var Rh=Oh,Uh=Ph,Bh=Rh;function Mh(e){return Uh(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&Bh(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var l=n[o];l&&e(t,l,o,a)}return t})}var Fh=Mh,Vh=nh,Dh=Fh,Lh=Dh(function(e,t,n){Vh(e,t,n)}),jh=Lh;const Dr=(e,t,n,o)=>B(void 0,void 0,void 0,function*(){const i=yield Promise.all(o.map(s=>s(e,t,n))),a=jh({},...i);return Dn(a)?Promise.resolve():Promise.reject(a)}),We={getAmplifyConfig(){return B(this,void 0,void 0,function*(){return W.Amplify.configure()})},getCurrentUser(){return B(this,void 0,void 0,function*(){return W.Auth.currentAuthenticatedUser()})},handleSignUp(e){return B(this,void 0,void 0,function*(){return W.Auth.signUp(Object.assign(Object.assign({},e),{autoSignIn:{enabled:!0}}))})},handleSignIn({username:e,password:t}){return B(this,void 0,void 0,function*(){return W.Auth.signIn(e,t)})},handleConfirmSignIn({user:e,code:t,mfaType:n}){return B(this,void 0,void 0,function*(){return W.Auth.confirmSignIn(e,t,n)})},handleConfirmSignUp({username:e,code:t}){return B(this,void 0,void 0,function*(){return yield W.Auth.confirmSignUp(e,t)})},handleForgotPasswordSubmit({username:e,code:t,password:n}){return B(this,void 0,void 0,function*(){return W.Auth.forgotPasswordSubmit(e,t,n)})},handleForgotPassword(e){return B(this,void 0,void 0,function*(){return W.Auth.forgotPassword(e)})},validateCustomSignUp(e,t){return B(this,void 0,void 0,function*(){})},validateFormPassword(e,t,n){return B(this,void 0,void 0,function*(){const{password:o}=e,{password:i}=t;if(!i||!n)return null;const a=[],s=+(n==null?void 0:n.passwordPolicyMinLength);o.length<s&&a.push(`Password must have at least ${s} characters`);const l=n==null?void 0:n.passwordPolicyCharacters;return l==null||l.forEach(c=>{switch(c){case"REQUIRES_LOWERCASE":/[a-z]/.test(o)||a.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(o)||a.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(o)||a.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":rl(o)||a.push("Password must have special characters")}}),a.length!==0?{password:a}:null})},validateConfirmPassword(e,t){return B(this,void 0,void 0,function*(){const{password:n,confirm_password:o}=e,{confirm_password:i,password:a}=t;return n||o?(n||o)&&n!==o&&(i&&a||(n==null?void 0:n.length)>=6&&(o==null?void 0:o.length)>=6)?{confirm_password:"Your passwords must match"}:void 0:null})},validatePreferredUsername(e,t){return B(this,void 0,void 0,function*(){})}},zh=["SMS_MFA","SOFTWARE_TOKEN_MFA"],Nn=e=>Ue(e,"data.challengeName"),Do=(e,t)=>e===t,Lo=e=>zh.includes(e);function Gh({services:e}){return Ct({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:t=>({user:t.user})},rejected:{type:"final",data:(t,n)=>({intent:t.redirectIntent,authAttributes:t.authAttributes})}}},{actions:{clearAttributeToVerify:cc,clearChallengeName:uc,clearRequiredAttributes:dc,clearError:gr,clearFormValues:hr,clearTouched:yr,clearUnverifiedContactMethods:fc,clearValidationError:vr,handleInput:_r,handleSubmit:br,handleBlur:Cr,parsePhoneNumber:Ki,setChallengeName:gc,setConfirmResetPasswordIntent:yc,setConfirmSignUpIntent:vc,setRequiredAttributes:hc,setCredentials:Wi,setFieldErrors:wr,setRemoteError:Sr,setTotpSecretCode:mc,setUnverifiedContactMethods:wc,setUser:Yi,setUsernameAuthAttributes:bc,sendUpdate:mr()},guards:{shouldAutoSignIn:t=>(t==null?void 0:t.intent)==="autoSignIn",shouldAutoSubmit:t=>(t==null?void 0:t.intent)==="autoSignInSubmit",shouldConfirmSignIn:(t,n)=>Lo(Nn(n)),shouldForceChangePassword:(t,n)=>Do(Nn(n),"NEW_PASSWORD_REQUIRED"),shouldRedirectToConfirmResetPassword:(t,n)=>n.data.code==="PasswordResetRequiredException",shouldRedirectToConfirmSignUp:(t,n)=>n.data.code==="UserNotConfirmedException",shouldRequestVerification:(t,n)=>{const{unverified:o,verified:i}=n.data;return Dn(i)&&!Dn(o)},shouldSetupTOTP:(t,n)=>Do(Nn(n),"MFA_SETUP")},services:{signIn(t){return B(this,void 0,void 0,function*(){const{authAttributes:n={},formValues:o={}}=t,i=Object.assign(Object.assign({},n),o),{username:a,password:s}=i;return yield e.handleSignIn({username:a,password:s})})},confirmSignIn(t){return B(this,void 0,void 0,function*(){const{challengeName:n,user:o}=t,{confirmation_code:i}=t.formValues,a=Lo(n)?n:void 0;return yield e.handleConfirmSignIn({user:o,code:i,mfaType:a}),yield W.Auth.currentAuthenticatedUser()})},forceNewPassword(t){return B(this,void 0,void 0,function*(){const{user:n,formValues:o}=t;let i,{password:a,confirm_password:s,phone_number:l,country_code:c}=o,u=fi(o,["password","confirm_password","phone_number","country_code"]);l&&(i=`${c}${l}`.replace(/[^A-Z0-9+]/gi,""),u=Object.assign(Object.assign({},u),{phone_number:i}));try{const d=yield W.Auth.completeNewPassword(n,a,u);return d.challengeName?d:W.Auth.currentAuthenticatedUser()}catch(d){return Promise.reject(d)}})},getTotpSecretCode(t){return B(this,void 0,void 0,function*(){const{user:n}=t;return W.Auth.setupTOTP(n)})},verifyTotpToken(t){return B(this,void 0,void 0,function*(){const{formValues:n,user:o}=t,{confirmation_code:i}=n;return W.Auth.verifyTotpToken(o,i)})},federatedSignIn(t,n){return B(this,void 0,void 0,function*(){const{provider:o}=n.data;return yield W.Auth.federatedSignIn({provider:o})})},checkVerifiedContact(t){return B(this,void 0,void 0,function*(){const{user:n}=t;return yield W.Auth.verifiedContact(n)})},verifyUser(t){return B(this,void 0,void 0,function*(){const{unverifiedAttr:n}=t.formValues,o=yield W.Auth.verifyCurrentUserAttribute(n);return t.attributeToVerify=n,o})},confirmVerifyUser(t){return B(this,void 0,void 0,function*(){const{attributeToVerify:n}=t,{confirmation_code:o}=t.formValues;return yield W.Auth.verifyCurrentUserAttributeSubmit(n,o)})},validateFields(t){return B(this,void 0,void 0,function*(){return Dr(t.formValues,t.touched,t.passwordSettings,[We.validateFormPassword,We.validateConfirmPassword])})}}})}const Hh=Ct({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>W.Auth.signOut()}});function Wh({services:e}){return Ct({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:gr,clearFormValues:hr,clearTouched:yr,clearUsername:pc,clearValidationError:vr,handleInput:_r,handleSubmit:br,handleBlur:Cr,resendCode:Cc,setFieldErrors:wr,setRemoteError:Sr,setUsername:Sc,sendUpdate:mr()},guards:{shouldAutoConfirmReset:(t,n)=>!(!t.intent||t.intent!=="confirmPasswordReset")},services:{resetPassword(t){return B(this,void 0,void 0,function*(){const{username:n}=t;return e.handleForgotPassword(n)})},confirmResetPassword(t){return B(this,void 0,void 0,function*(){const{username:n}=t,{confirmation_code:o,password:i}=t.formValues;return e.handleForgotPasswordSubmit({username:n,code:o,password:i})})},validateFields(t,n){return B(this,void 0,void 0,function*(){return Dr(t.formValues,t.touched,t.passwordSettings,[We.validateFormPassword,We.validateConfirmPassword])})}}})}var Yh="__lodash_hash_undefined__";function Kh(e){return this.__data__.set(e,Yh),this}var qh=Kh;function Jh(e){return this.__data__.has(e)}var Zh=Jh,Qh=Pr,Xh=qh,ey=Zh;function Qt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Qh;++t<n;)this.add(e[t])}Qt.prototype.add=Qt.prototype.push=Xh;Qt.prototype.has=ey;var ty=Qt;function ny(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}var ry=ny;function oy(e,t){return e.has(t)}var iy=oy,ay=ty,sy=ry,ly=iy,cy=1,uy=2;function dy(e,t,n,o,i,a){var s=n&cy,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var g=-1,f=!0,p=n&uy?new ay:void 0;for(a.set(e,t),a.set(t,e);++g<l;){var v=e[g],h=t[g];if(o)var _=s?o(h,v,g,t,e,a):o(v,h,g,e,t,a);if(_!==void 0){if(_)continue;f=!1;break}if(p){if(!sy(t,function(m,y){if(!ly(p,y)&&(v===m||i(v,m,n,o,a)))return p.push(y)})){f=!1;break}}else if(!(v===h||i(v,h,n,o,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var da=dy;function fy(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var py=fy;function my(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var gy=my,jo=cn,zo=ra,hy=Et,yy=da,vy=py,wy=gy,Sy=1,_y=2,by="[object Boolean]",Cy="[object Date]",Ey="[object Error]",Ay="[object Map]",Iy="[object Number]",Ty="[object RegExp]",Py="[object Set]",ky="[object String]",Ny="[object Symbol]",xy="[object ArrayBuffer]",$y="[object DataView]",Go=jo?jo.prototype:void 0,xn=Go?Go.valueOf:void 0;function Oy(e,t,n,o,i,a,s){switch(n){case $y:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case xy:return!(e.byteLength!=t.byteLength||!a(new zo(e),new zo(t)));case by:case Cy:case Iy:return hy(+e,+t);case Ey:return e.name==t.name&&e.message==t.message;case Ty:case ky:return e==t+"";case Ay:var l=vy;case Py:var c=o&Sy;if(l||(l=wy),e.size!=t.size&&!c)return!1;var u=s.get(e);if(u)return u==t;o|=_y,s.set(e,t);var d=yy(l(e),l(t),o,i,a,s);return s.delete(e),d;case Ny:if(xn)return xn.call(e)==xn.call(t)}return!1}var Ry=Oy;function Uy(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var fa=Uy,By=fa,My=Ee;function Fy(e,t,n){var o=t(e);return My(e)?o:By(o,n(e))}var pa=Fy;function Vy(e,t){for(var n=-1,o=e==null?0:e.length,i=0,a=[];++n<o;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var Dy=Vy;function Ly(){return[]}var ma=Ly,jy=Dy,zy=ma,Gy=Object.prototype,Hy=Gy.propertyIsEnumerable,Ho=Object.getOwnPropertySymbols,Wy=Ho?function(e){return e==null?[]:(e=Object(e),jy(Ho(e),function(t){return Hy.call(e,t)}))}:zy,ga=Wy,Yy=oa,Ky=Yy(Object.keys,Object),qy=Ky,Jy=Rr,Zy=qy,Qy=Object.prototype,Xy=Qy.hasOwnProperty;function ev(e){if(!Jy(e))return Zy(e);var t=[];for(var n in Object(e))Xy.call(e,n)&&n!="constructor"&&t.push(n);return t}var tv=ev,nv=ca,rv=tv,ov=gn;function iv(e){return ov(e)?nv(e):rv(e)}var ha=iv,av=pa,sv=ga,lv=ha;function cv(e){return av(e,lv,sv)}var uv=cv,Wo=uv,dv=1,fv=Object.prototype,pv=fv.hasOwnProperty;function mv(e,t,n,o,i,a){var s=n&dv,l=Wo(e),c=l.length,u=Wo(t),d=u.length;if(c!=d&&!s)return!1;for(var g=c;g--;){var f=l[g];if(!(s?f in t:pv.call(t,f)))return!1}var p=a.get(e),v=a.get(t);if(p&&v)return p==t&&v==e;var h=!0;a.set(e,t),a.set(t,e);for(var _=s;++g<c;){f=l[g];var m=e[f],y=t[f];if(o)var w=s?o(y,m,f,t,e,a):o(m,y,f,e,t,a);if(!(w===void 0?m===y||i(m,y,n,o,a):w)){h=!1;break}_||(_=f=="constructor")}if(h&&!_){var S=e.constructor,b=t.constructor;S!=b&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof b=="function"&&b instanceof b)&&(h=!1)}return a.delete(e),a.delete(t),h}var gv=mv,hv=Fe,yv=ye,vv=hv(yv,"DataView"),wv=vv,Sv=Fe,_v=ye,bv=Sv(_v,"Promise"),Cv=bv,Ev=Fe,Av=ye,Iv=Ev(Av,"Set"),Tv=Iv,Pv=Fe,kv=ye,Nv=Pv(kv,"WeakMap"),xv=Nv,Zn=wv,Qn=Tr,Xn=Cv,er=Tv,tr=xv,ya=et,it=Zi,Yo="[object Map]",$v="[object Object]",Ko="[object Promise]",qo="[object Set]",Jo="[object WeakMap]",Zo="[object DataView]",Ov=it(Zn),Rv=it(Qn),Uv=it(Xn),Bv=it(er),Mv=it(tr),Re=ya;(Zn&&Re(new Zn(new ArrayBuffer(1)))!=Zo||Qn&&Re(new Qn)!=Yo||Xn&&Re(Xn.resolve())!=Ko||er&&Re(new er)!=qo||tr&&Re(new tr)!=Jo)&&(Re=function(e){var t=ya(e),n=t==$v?e.constructor:void 0,o=n?it(n):"";if(o)switch(o){case Ov:return Zo;case Rv:return Yo;case Uv:return Ko;case Bv:return qo;case Mv:return Jo}return t});var Fv=Re,$n=xr,Vv=da,Dv=Ry,Lv=gv,Qo=Fv,Xo=Ee,ei=St.exports,jv=Mr,zv=1,ti="[object Arguments]",ni="[object Array]",Bt="[object Object]",Gv=Object.prototype,ri=Gv.hasOwnProperty;function Hv(e,t,n,o,i,a){var s=Xo(e),l=Xo(t),c=s?ni:Qo(e),u=l?ni:Qo(t);c=c==ti?Bt:c,u=u==ti?Bt:u;var d=c==Bt,g=u==Bt,f=c==u;if(f&&ei(e)){if(!ei(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new $n),s||jv(e)?Vv(e,t,n,o,i,a):Dv(e,t,c,n,o,i,a);if(!(n&zv)){var p=d&&ri.call(e,"__wrapped__"),v=g&&ri.call(t,"__wrapped__");if(p||v){var h=p?e.value():e,_=v?t.value():t;return a||(a=new $n),i(h,_,n,o,a)}}return f?(a||(a=new $n),Lv(e,t,n,o,i,a)):!1}var Wv=Hv,Yv=Wv,oi=Me;function va(e,t,n,o,i){return e===t?!0:e==null||t==null||!oi(e)&&!oi(t)?e!==e&&t!==t:Yv(e,t,n,o,va,i)}var wa=va,Kv=xr,qv=wa,Jv=1,Zv=2;function Qv(e,t,n,o){var i=n.length,a=i,s=!o;if(e==null)return!a;for(e=Object(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){l=n[i];var c=l[0],u=e[c],d=l[1];if(s&&l[2]){if(u===void 0&&!(c in e))return!1}else{var g=new Kv;if(o)var f=o(u,d,c,e,t,g);if(!(f===void 0?qv(d,u,Jv|Zv,o,g):f))return!1}}return!0}var Xv=Qv,ew=Ae;function tw(e){return e===e&&!ew(e)}var Sa=tw,nw=Sa,rw=ha;function ow(e){for(var t=rw(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,nw(i)]}return t}var iw=ow;function aw(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var _a=aw,sw=Xv,lw=iw,cw=_a;function uw(e){var t=lw(e);return t.length==1&&t[0][2]?cw(t[0][0],t[0][1]):function(n){return n===e||sw(n,e,t)}}var dw=uw;function fw(e,t){return e!=null&&t in Object(e)}var pw=fw,mw=mn,gw=Ur,hw=Ee,yw=hn,vw=Br,ww=At;function Sw(e,t,n){t=mw(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=ww(t[o]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++o!=i?a:(i=e==null?0:e.length,!!i&&vw(i)&&yw(s,i)&&(hw(e)||gw(e)))}var _w=Sw,bw=pw,Cw=_w;function Ew(e,t){return e!=null&&Cw(e,t,bw)}var Aw=Ew,Iw=wa,Tw=Ue,Pw=Aw,kw=Ar,Nw=Sa,xw=_a,$w=At,Ow=1,Rw=2;function Uw(e,t){return kw(e)&&Nw(t)?xw($w(e),t):function(n){var o=Tw(n,e);return o===void 0&&o===t?Pw(n,e):Iw(t,o,Ow|Rw)}}var Bw=Uw;function Mw(e){return function(t){return t==null?void 0:t[e]}}var Fw=Mw,Vw=Nr;function Dw(e){return function(t){return Vw(t,e)}}var Lw=Dw,jw=Fw,zw=Lw,Gw=Ar,Hw=At;function Ww(e){return Gw(e)?jw(Hw(e)):zw(e)}var Yw=Ww,Kw=dw,qw=Bw,Jw=Vr,Zw=Ee,Qw=Yw;function Xw(e){return typeof e=="function"?e:e==null?Jw:typeof e=="object"?Zw(e)?qw(e[0],e[1]):Kw(e):Qw(e)}var eS=Xw,tS=la,nS=mn,rS=hn,ii=Ae,oS=At;function iS(e,t,n,o){if(!ii(e))return e;t=nS(t,e);for(var i=-1,a=t.length,s=a-1,l=e;l!=null&&++i<a;){var c=oS(t[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=s){var d=l[c];u=o?o(d,c,l):void 0,u===void 0&&(u=ii(d)?d:rS(t[i+1])?[]:{})}tS(l,c,u),l=l[c]}return e}var aS=iS,sS=Nr,lS=aS,cS=mn;function uS(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],l=sS(e,s);n(l,s)&&lS(a,cS(s,e),l)}return a}var dS=uS,fS=fa,pS=Or,mS=ga,gS=ma,hS=Object.getOwnPropertySymbols,yS=hS?function(e){for(var t=[];e;)fS(t,mS(e)),e=pS(e);return t}:gS,vS=yS,wS=pa,SS=vS,_S=Fr;function bS(e){return wS(e,_S,SS)}var CS=bS,ES=Xi,AS=eS,IS=dS,TS=CS;function PS(e,t){if(e==null)return{};var n=ES(TS(e),function(o){return[o]});return t=AS(t),IS(e,n,function(o,i){return t(o,i[0])})}var kS=PS;function NS({services:e}){return Ct({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(t,n)=>{const{username:o,password:i}=t.authAttributes;return{user:Ue(n,"data.user")||t.user,authAttributes:{username:o,password:i},intent:t.intent}}}}},{guards:{isUserAlreadyConfirmed:(t,n)=>n.data.message==="User is already confirmed.",shouldInitConfirmSignUp:t=>t.intent&&t.intent==="confirmSignUp",shouldSkipConfirm:(t,n)=>n.data.userConfirmed},actions:{clearError:gr,clearFormValues:hr,clearTouched:yr,clearValidationError:vr,handleInput:_r,handleSubmit:br,handleBlur:Cr,parsePhoneNumber:Ki,setCredentials:Wi,setFieldErrors:wr,setRemoteError:Sr,setCodeDeliveryDetails:_c,setUser:Yi,sendUpdate:mr(),setAutoSignInIntent:ce({intent:t=>(t==null?void 0:t.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"})},services:{confirmSignUp(t,n){return B(this,void 0,void 0,function*(){const{user:o,authAttributes:i,formValues:a}=t,{confirmation_code:s}=a,l=Ue(o,"username")||Ue(i,"username");return yield e.handleConfirmSignUp({username:l,code:s})})},resendConfirmationCode(t,n){return B(this,void 0,void 0,function*(){const{user:o,authAttributes:i}=t,a=Ue(o,"username")||Ue(i,"username");return W.Auth.resendSignUp(a)})},federatedSignIn(t,n){return B(this,void 0,void 0,function*(){const{provider:o}=n.data;return yield W.Auth.federatedSignIn({provider:o})})},signUp(t,n){return B(this,void 0,void 0,function*(){const{formValues:o,loginMechanisms:i}=t,[a="username"]=i,{[a]:s,password:l}=o,c=kS(o,(u,d)=>{switch(d){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return d.startsWith("custom:")}});return yield e.handleSignUp({username:s,password:l,attributes:c})})},validateSignUp(t,n){return B(this,void 0,void 0,function*(){return Dr(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])})}}})}const{choose:xS}=Vi;function $S(){return Ct({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:We,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:xS([{cond:"hasActor",actions:sc(e=>e.actorRef)}]),setUser:ce({user:(e,t)=>t.data}),setActorDoneData:ce({actorDoneData:(e,t)=>{var n,o;return{authAttributes:Object.assign({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(o=t.data)===null||o===void 0?void 0:o.intent}},user:(e,t)=>{var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:ce({user:void 0}),clearActorDoneData:ce({actorDoneData:void 0}),applyAmplifyConfig:ce({config(e,t){var n,o,i,a,s,l,c,u,d;const g=(o=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(b=>b.toLowerCase()))!==null&&o!==void 0?o:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(b=>b.toLowerCase()))!==null&&a!==void 0?a:[],p=(l=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(b=>b.toLowerCase()))!==null&&l!==void 0?l:[],v=(u=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(b=>b.toLowerCase()))!==null&&u!==void 0?u:[],h=t.data.aws_cognito_password_protection_settings||{};g.length===0&&g.push("username");const{loginMechanisms:_,signUpAttributes:m,socialProviders:y,initialState:w,formFields:S}=e.config;return{loginMechanisms:_!=null?_:g,formFields:(d=OS(S))!==null&&d!==void 0?d:{},passwordSettings:h,signUpAttributes:m!=null?m:Array.from(new Set([...f,...p])),socialProviders:y!=null?y:v.sort(),initialState:w}}}),spawnSignInActor:ce({actorRef:(e,t)=>{var n,o,i,a,s,l,c;const{services:u}=e,d=Gh({services:u}).withContext({authAttributes:(o=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&o!==void 0?o:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(l=e.config)===null||l===void 0?void 0:l.socialProviders,formFields:(c=e.config)===null||c===void 0?void 0:c.formFields});return $t(d,{name:"signInActor"})}}),spawnSignUpActor:ce({actorRef:(e,t)=>{var n,o,i,a,s,l,c;const{services:u}=e,d=NS({services:u}).withContext({authAttributes:(o=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&o!==void 0?o:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(l=e.config)===null||l===void 0?void 0:l.formFields,passwordSettings:(c=e.config)===null||c===void 0?void 0:c.passwordSettings});return $t(d,{name:"signUpActor"})}}),spawnResetPasswordActor:ce({actorRef:(e,t)=>{var n,o,i,a,s;const{services:l}=e,c=Wh({services:l}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(o=e.actorDoneData)===null||o===void 0?void 0:o.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return $t(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:ce({actorRef:e=>{const t=Hh.withContext({user:e.user});return $t(t,{name:"signOutActor"})}}),stopSignInActor:Ut("signInActor"),stopSignUpActor:Ut("signUpActor"),stopResetPasswordActor:Ut("resetPasswordActor"),stopSignOutActor:Ut("signOutActor"),configure:ce((e,t)=>{const n=t.data,{services:o}=n,i=fi(n,["services"]);return{services:Object.assign(Object.assign({},We),o),config:i}}),setHasSetup:ce({hasSetup:!0})},guards:{isInitialStateSignUp:e=>e.config.initialState==="signUp",isInitialStateResetPassword:e=>e.config.initialState==="resetPassword",shouldRedirectToSignUp:(e,t)=>{var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:(e,t)=>{var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:(e,t)=>{var n,o;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((o=t.data)===null||o===void 0?void 0:o.intent)==="autoSignInSubmit"},shouldSetup:e=>e.hasSetup===!1,hasActor:e=>!!e.actorRef},services:{getCurrentUser:(e,t)=>e.services.getCurrentUser(),getAmplifyConfig:(e,t)=>e.services.getAmplifyConfig()}})}function OS(e){return e&&Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(n=>{let o=e[t][n];o.required=o.isRequired})}),e}const RS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},US={class:"amplify-flex amplify-authenticator__icon-wrapper"},BS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[r.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),MS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[r.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),ve={__name:"base-alert",setup(e){const t=r.ref(!0),n=N("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=ae;return t.value?(r.openBlock(),r.createElementBlock("div",RS,[r.createElementVNode("div",US,[BS,r.createElementVNode("div",null,[r.renderSlot(i.$slots,"default")])]),r.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":r.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:o},{default:r.withCtx(()=>[MS]),_:1},8,["aria-label"])])):r.createCommentVNode("",!0)}}};var yn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const FS={};function VS(e,t){return r.openBlock(),r.createElementBlock("div",null,[r.renderSlot(e.$slots,"default")])}var te=yn(FS,[["render",VS]]);const we=r.defineComponent({__name:"base-form",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"formt",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("form",r.mergeProps({"data-amplify-form":""},n.$attrs),[r.renderSlot(n.$slots,"default")],16)])}}),Se=r.defineComponent({__name:"base-footer",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"footert",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("footer",r.normalizeProps(r.guardReactiveProps(n.$attrs)),[r.renderSlot(n.$slots,"default")],16)])}});function DS(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function ba(e){let t=0,n,o;const i=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...a)=>(t+=1,n||(o=r.effectScope(!0),n=o.run(()=>e(...a))),DS(i),n)}function LS(e){return"state"in e}var ai=function(){};function jS(e){return"getSnapshot"in e?e.getSnapshot():LS(e)?e.state:void 0}function zS(e,t){t===void 0&&(t=jS);var n=r.isRef(e)?e:r.shallowRef(e),o=r.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return r.watch(n,function(a,s,l){o.value=t(a);var c=a.subscribe({next:function(u){return o.value=u},error:ai,complete:ai}).unsubscribe;l(function(){return c()})},{immediate:!0}),{state:o,send:i}}const si={error:"",hasValidationErrors:!1,isPending:!1,route:"",authStatus:"",user:"",validationErrors:[""],codeDeliveryDetails:{val:"",DeliveryMedium:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},de=ba(()=>{const e=$S(),t=Hi(e).start(),n=r.ref("configuring"),{state:o,send:i}=zS(t),a=()=>{n.value="authenticated"},s=()=>{n.value="unauthenticated"},l=nl(t,async(c,u)=>{await gi(c,u,{onSignIn:a,onSignOut:s})});return W.Auth.currentAuthenticatedUser().then(()=>{n.value="authenticated"}).catch(()=>{n.value="unauthenticated"}),r.onScopeDispose(()=>{l()}),{authStatus:n,service:t,send:i,state:o}}),re=ba(()=>{const{authStatus:e,state:t,send:n}=de(),o=r.reactive({...si,send:n,state:t});return r.watchEffect(()=>{const i=as({send:n,state:t.value});for(const a of Object.keys(si))o[a]=i[a];o.authStatus=e.value,o.send=n,o.state=t}),o}),Mt=r.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=r.toRefs(t),{send:o}=de(),i=()=>{o({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const l=te,c=ae;return r.openBlock(),r.createBlock(c,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:r.withCtx(()=>[r.createVNode(l,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),GS=r.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[r.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),HS={class:"amplify-text amplify-authenticator__federated-text"},WS=r.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),YS={class:"amplify-text amplify-authenticator__federated-text"},KS=r.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[r.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),qS={class:"amplify-text amplify-authenticator__federated-text"},JS=r.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[r.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),r.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),r.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),r.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),ZS={class:"amplify-text amplify-authenticator__federated-text"},QS=["data-label"],vn=r.defineComponent({__name:"federated-sign-in",setup(e){var y;const{state:t}=de(),{route:n}=re(),{value:{context:o}}=t,i=(y=o==null?void 0:o.config)==null?void 0:y.socialProviders,a=i==null?void 0:i.includes("amazon"),s=i==null?void 0:i.includes("apple"),l=i==null?void 0:i.includes("facebook"),c=i==null?void 0:i.includes("google"),u=l||c||a||s,{getSignInWithFederationText:d,getOrText:g}=ue,f=r.computed(()=>Fn),p=r.computed(()=>d(n,"amazon")),v=r.computed(()=>d(n,"apple")),h=r.computed(()=>d(n,"facebook")),_=r.computed(()=>d(n,"google")),m=r.computed(()=>g());return(w,S)=>{const b=te;return r.unref(u)?(r.openBlock(),r.createBlock(b,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(Mt,{key:0,provider:r.unref(f).Amazon},{default:r.withCtx(()=>[GS,r.createElementVNode("p",HS,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(s)?(r.openBlock(),r.createBlock(Mt,{key:1,provider:r.unref(f).Apple},{default:r.withCtx(()=>[WS,r.createElementVNode("p",YS,r.toDisplayString(r.unref(v)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(l)?(r.openBlock(),r.createBlock(Mt,{key:2,provider:r.unref(f).Facebook},{default:r.withCtx(()=>[KS,r.createElementVNode("p",qS,r.toDisplayString(r.unref(h)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock(Mt,{key:3,provider:r.unref(f).Google},{default:r.withCtx(()=>[JS,r.createElementVNode("p",ZS,r.toDisplayString(r.unref(_)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":r.unref(m)},null,8,QS)]),_:1})):r.createCommentVNode("",!0)}}});let XS=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let o=n[e]&63;o<36?t+=o.toString(36):o<62?t+=(o-26).toString(36).toUpperCase():o<63?t+="_":t+="-"}return t};const e_={},t_={"data-amplify-label":""};function n_(e,t){return r.openBlock(),r.createElementBlock("label",t_,[r.renderSlot(e.$slots,"default")])}var wn=yn(e_,[["render",n_]]);const Sn=r.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.value)};return(o,i)=>(r.openBlock(),r.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),r_=["aria-label","aria-checked"],o_=r.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),i_=[o_],a_=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),s_=r.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),l_=[a_,s_],c_={inheritAttrs:!1},Lr=r.defineComponent({...c_,__name:"password-control",props:{name:null,label:null,autocomplete:{default:"new-password"},hasError:{type:Boolean,default:!1},labelHidden:{type:Boolean},placeholder:null,required:{type:Boolean,default:!0},describedBy:null},setup(e){var y;const t=e,n=N("Show password"),o=N("Hide password"),i=r.ref("password"),a=r.ref(n),s=Math.floor(Math.random()*999999),{name:l,label:c,autocomplete:u,hasError:d,labelHidden:g,placeholder:f,required:p}=r.toRefs(t);let v=r.ref("");function h(){a.value=a.value===n?o:n,i.value=i.value==="password"?"text":"password"}const _=N((y=f==null?void 0:f.value)!=null?y:c.value),m=N(c.value);return(w,S)=>{const b=wn,A=Sn,E=te;return r.openBlock(),r.createBlock(E,{class:r.normalizeClass([r.unref(X).Flex,r.unref(X).Field,r.unref(X).TextField,r.unref(X).PasswordField,"amplify-authenticator__column"])},{default:r.withCtx(()=>[r.createVNode(b,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":r.unref(g)}]),for:"amplify-field-"+r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["class","for"]),r.createVNode(E,{class:r.normalizeClass([r.unref(X).Flex,r.unref(X).FieldGroup])},{default:r.withCtx(()=>[r.createVNode(E,{class:r.normalizeClass(r.unref(X).FieldGroupFieldWrapper)},{default:r.withCtx(()=>{var k;return[r.createVNode(A,r.mergeProps(w.$attrs,{modelValue:r.unref(v),"onUpdate:modelValue":S[0]||(S[0]=I=>r.isRef(v)?v.value=I:v=I),class:[r.unref(X).Input,r.unref(X).FieldGroupControl],id:"amplify-field-"+r.unref(s),"data-amplify-password":"true",name:r.unref(l),autocomplete:r.unref(u),required:(k=r.unref(p))!=null?k:!0,placeholder:r.unref(_),type:i.value,"aria-invalid":r.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]}),_:1},8,["class"]),r.createVNode(E,{class:r.normalizeClass(r.unref(X).FieldGroupOuterEnd)},{default:r.withCtx(()=>[r.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:r.normalizeClass([r.unref(X).Button,r.unref(X).FieldGroupControl,r.unref(X).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:h},[i.value==="password"?(r.openBlock(),r.createElementBlock("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:r.normalizeClass(r.unref(X).Icon)},i_,2)):(r.openBlock(),r.createElementBlock("svg",{key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:r.normalizeClass(r.unref(X).Icon)},l_,2))],10,r_)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),u_=["value","selected"],d_=r.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:o,selectValue:i}=r.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,l)=>(r.openBlock(),r.createElementBlock("select",{onChange:l[0]||(l[0]=c=>a(c))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(o),(c,u)=>(r.openBlock(),r.createElementBlock("option",{key:u,value:c,selected:c==r.unref(i)?!0:void 0},r.toDisplayString(c),9,u_))),128))],32))}}),f_=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[r.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),p_=r.defineComponent({__name:"alias-control",props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null,type:{default:"text"},hasError:{type:Boolean},describedBy:null},setup(e){const t=e,{label:n,name:o,placeholder:i,autocomplete:a,labelHidden:s,required:l,dialCode:c,dialCodeList:u}=r.toRefs(t),d=Math.floor(Math.random()*999999),g=Math.floor(Math.random()*999999);return(f,p)=>{const v=wn,h=d_,_=te,m=Sn;return r.openBlock(),r.createBlock(_,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,r.mergeProps({for:"amplify-field-"+r.unref(d),class:["amplify-label",{"amplify-visually-hidden":r.unref(s)}]},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(n)),1)]),_:1},16,["for","class"]),r.createVNode(_,{class:"amplify-flex amplify-field-group"},{default:r.withCtx(()=>[r.createVNode(_,{class:"amplify-field-group__outer-start"},{default:r.withCtx(()=>[e.type==="tel"?(r.openBlock(),r.createBlock(_,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,r.mergeProps({for:"amplify-field-"+r.unref(g),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString("Country Code"))]),_:1},16,["for"]),r.createVNode(_,{class:"amplify-select__wrapper"},{default:r.withCtx(()=>[r.createVNode(h,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+r.unref(g),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:r.unref(u),"select-value":r.unref(c)},null,8,["id","options","select-value"]),r.createVNode(_,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:r.withCtx(()=>[f_]),_:1})]),_:1})]),_:1})):r.createCommentVNode("",!0)]),_:1}),r.createVNode(_,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>{var y;return[r.createVNode(m,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+r.unref(d),autocomplete:r.unref(a),name:r.unref(o),required:(y=r.unref(l))!=null?y:!0,type:e.type,placeholder:r.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),m_=["id"],Ca=r.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:o}=r.toRefs(t),{validationErrors:i}=r.toRefs(re()),{type:a}=o.value,s=a==="password",l=XS(12),c=r.computed(()=>Ys(i.value[n.value])),u=r.computed(()=>{var g;return((g=c.value)==null?void 0:g.length)>0}),d=r.computed(()=>u.value?l:void 0);return(g,f)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[s?(r.openBlock(),r.createBlock(Lr,{key:0,name:r.unref(n),label:r.unref(o).label,placeholder:r.unref(o).placeholder,required:r.unref(o).isRequired,"label-hidden":r.unref(o).labelHidden,autocomplete:r.unref(o).autocomplete,hasError:r.unref(u),describedBy:r.unref(d)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(r.openBlock(),r.createBlock(p_,{key:1,name:r.unref(n),label:r.unref(o).label,placeholder:r.unref(o).placeholder,required:r.unref(o).isRequired,"label-hidden":r.unref(o).labelHidden,autocomplete:r.unref(o).autocomplete,"dial-code":r.unref(o).dialCode,"dial-code-list":r.unref(o).dialCodeList,type:r.unref(o).type,hasError:r.unref(u),describedBy:r.unref(d)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),r.unref(u)?(r.openBlock(),r.createElementBlock("div",{key:2,id:r.unref(d)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(c),(p,v)=>(r.openBlock(),r.createElementBlock("p",{key:v,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},r.toDisplayString(r.unref(N)(p)),1))),128))],8,m_)):r.createCommentVNode("",!0)],64))}}),_e=r.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=r.toRefs(t),{state:o}=de();let i=[];return r.onBeforeMount(()=>{i=pl(n.value,o.value)}),(a,s)=>(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i),([l,c])=>(r.openBlock(),r.createBlock(Ca,{name:l,key:l,formField:c},null,8,["name","formField"]))),128))}}),g_=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),h_={"data-amplify-footer":""},jr=r.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const n=re(),o=r.useAttrs(),{getForgotPasswordText:i,getSignInText:a,getSigningInText:s}=ue,l=r.computed(()=>i()),c=r.computed(()=>a()),u=r.computed(()=>s()),{state:d,send:g}=de(),f=r.computed(()=>se(d.value)),p=m=>{const{name:y,value:w}=m.target;g({type:"CHANGE",data:{name:y,value:w}})},v=m=>{o!=null&&o.onSignInSubmit?t("signInSubmit",m):h(m)},h=m=>{n.submitForm(he(m))},_=()=>{o!=null&&o.onForgotPasswordClicked?t("forgotPasswordClicked"):g({type:"RESET_PASSWORD"})};return(m,y)=>{const w=ge,S=ve,b=ae,A=te,E=we,k=Se;return r.renderSlot(m.$slots,"signInSlotI",r.normalizeProps(r.guardReactiveProps(m.$attrs)),()=>[r.renderSlot(m.$slots,"header"),r.createVNode(A,r.normalizeProps(r.guardReactiveProps(m.$attrs)),{default:r.withCtx(()=>[r.createVNode(E,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:r.withModifiers(v,["prevent"]),method:"post"},{formt:r.withCtx(({slotData:I})=>[r.renderSlot(m.$slots,"form",{info:I,onSignInSubmit:v,onInput:p,onForgotPasswordClicked:_})]),default:r.withCtx(()=>[r.createVNode(vn),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(w,{disabled:r.unref(f).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:r.withCtx(({slotData:I})=>[r.renderSlot(m.$slots,"signin-fields",{info:I})]),default:r.withCtx(()=>[g_,r.createVNode(_e,{route:"signIn"})]),_:3},8,["disabled"]),r.unref(f).context.remoteError?(r.openBlock(),r.createBlock(S,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(f).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(b,{disabled:r.unref(f).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f).matches("signIn.submit")?r.unref(u):r.unref(c)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(k,null,{default:r.withCtx(()=>[r.renderSlot(m.$slots,"footer",{},()=>[r.createElementVNode("div",h_,[r.createVNode(b,{onClick:_,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(l)),1)]),_:1})])])]),_:3})])}}}),zr=r.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(_e,{route:"signUp"}))}}),Gr=r.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=re(),{hasValidationErrors:o,isPending:i,error:a}=r.toRefs(n),s=r.useAttrs(),{getCreateAccountText:l}=ue,c=r.computed(()=>l()),u=p=>{let{checked:v,name:h,type:_,value:m}=p.target;_==="checkbox"&&!v&&(m=void 0),n.updateForm({name:h,value:m})};function d(p){const{name:v}=p.target;n.updateBlur({name:v})}const g=p=>{s!=null&&s.onSignUpSubmit?t("signUpSubmit",p):f(p)},f=p=>{n.submitForm(he(p))};return(p,v)=>{const h=ge,_=ve,m=ae,y=te,w=we,S=Se;return r.renderSlot(p.$slots,"signUpSlotI",r.normalizeProps(r.guardReactiveProps(p.$attrs)),()=>[r.renderSlot(p.$slots,"header"),r.createVNode(y,r.normalizeProps(r.guardReactiveProps(p.$attrs)),{default:r.withCtx(()=>[r.createVNode(w,{onInput:u,onBlurCapture:d,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(vn),r.createVNode(y,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(h,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(i)},{fieldSetI:r.withCtx(({slotData:b})=>[r.renderSlot(p.$slots,"signup-fields",{info:b})]),default:r.withCtx(()=>[r.createVNode(zr)]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(_,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(m,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:r.unref(i)||r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(c)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(S,null,{default:r.withCtx(()=>[r.renderSlot(p.$slots,"footer")]),_:3})])}}}),y_=r.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:o,label:i}=r.toRefs(t);return(a,s)=>{const l=te;return r.openBlock(),r.createBlock(l,{tabindex:r.unref(n)?0:-1,"data-state":r.unref(n)?"active":"inactive","aria-selected":r.unref(n)?"true":"false","aria-controls":`radix-id-${r.unref(o)}-8-content-0`,id:`radix-id-${r.unref(o)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),v_={};function w_(e,t){const n=te;return r.openBlock(),r.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:r.withCtx(()=>[r.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:r.withCtx(()=>[r.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var S_=yn(v_,[["render",w_]]);const xe=r.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,l;const o=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((l=(s=i[0])==null?void 0:s.children)==null?void 0:l.length)===0)i[0].children=[r.h(`h${e.level}`,{...n,class:a},[o])];else return()=>r.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?r.h(i[0].children[0]):r.h(o[0])]);return()=>i}}),__={};function b_(e,t){return r.renderSlot(e.$slots,"textI",r.normalizeProps(r.guardReactiveProps(e.$attrs)),()=>[r.createElementVNode("span",r.mergeProps(e.$attrs,{"data-amplify-text":""}),[r.renderSlot(e.$slots,"default")],16)])}var Ea=yn(__,[["render",b_]]);const Hr=r.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{isPending:o,error:i,codeDeliveryDetails:a}=r.toRefs(re()),{submitForm:s,updateForm:l,resendCode:c}=re(),{getDeliveryMethodText:u,getDeliveryMessageText:d,getResendCodeText:g,getConfirmText:f}=ue,p=r.computed(()=>u(a.value)),v=r.computed(()=>g()),h=r.computed(()=>f()),_=r.computed(()=>d(a.value)),m=b=>{const{name:A,value:E}=b.target;l({name:A,value:E})},y=b=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",b):w(b)},w=b=>{s(he(b))},S=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):c()};return(b,A)=>{const E=xe,k=Ea,I=ge,$=ve,P=ae,x=Se,O=te,L=we;return r.renderSlot(b.$slots,"confirmSignUpSlotI",r.normalizeProps(r.guardReactiveProps(b.$attrs)),()=>[r.createVNode(O,r.normalizeProps(r.guardReactiveProps(b.$attrs)),{default:r.withCtx(()=>[r.createVNode(L,{onInput:m,onSubmit:r.withModifiers(y,["prevent"])},{default:r.withCtx(()=>[r.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(b.$slots,"header",{},()=>[r.createVNode(E,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1})]),r.createVNode(k,{class:"amplify-authenticator__subtitle"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(_)),1)]),_:1}),r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(o)},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmSignUp"})]),_:1},8,["disabled"]),r.createVNode(x,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock($,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(i))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1},8,["onClick"]),r.renderSlot(b.$slots,"footer",{onConfirmSignUpSubmit:y,onLostCodeClicked:S})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wr=r.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{state:o,send:i}=de(),a=re(),s=r.computed(()=>se(o.value)),l=s.value.context.challengeName,{getBackToSignInText:c,getConfirmText:u,getChallengeText:d}=ue,g=r.computed(()=>d(l)),f=r.computed(()=>c()),p=r.computed(()=>u()),v=y=>{const{name:w,value:S}=y.target;i({type:"CHANGE",data:{name:w,value:S}})},h=y=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",y):_(y)},_=y=>{a.submitForm(he(y))},m=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(y,w)=>{const S=xe,b=te,A=ve,E=ae,k=Se,I=ge,$=we;return r.renderSlot(y.$slots,"confirmSignInSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{"data-amplify-authenticator-confirmsignin":"",onInput:v,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(S,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmSignIn"})]),_:1}),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var P,x;return[(x=(P=r.unref(s))==null?void 0:P.context)!=null&&x.remoteError?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>{var O,L;return[r.createTextVNode(r.toDisplayString(r.unref(N)((L=(O=r.unref(s))==null?void 0:O.context)==null?void 0:L.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(s).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(m,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onBackToSignInClicked:m,onConfirmSignInSubmit:h})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var It={},C_=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Aa={},le={};let Yr;const E_=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];le.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};le.getSymbolTotalCodewords=function(t){return E_[t]};le.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};le.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Yr=t};le.isKanjiModeEnabled=function(){return typeof Yr!="undefined"};le.toSJIS=function(t){return Yr(t)};var _n={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(o){return o&&typeof o.bit!="undefined"&&o.bit>=0&&o.bit<4},e.from=function(o,i){if(e.isValid(o))return o;try{return t(o)}catch{return i}}})(_n);function Ia(){this.buffer=[],this.length=0}Ia.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var A_=Ia;function Tt(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Tt.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};Tt.prototype.get=function(e,t){return this.data[e*this.size+t]};Tt.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Tt.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var I_=Tt,Ta={};(function(e){const t=le.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const i=Math.floor(o/7)+2,a=t(o),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,l=[a-7];for(let c=1;c<i-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},e.getPositions=function(o){const i=[],a=e.getRowColCoords(o),s=a.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||i.push([a[l],a[c]]);return i}})(Ta);var Pa={};const T_=le.getSymbolSize,li=7;Pa.getPositions=function(t){const n=T_(t);return[[0,0],[n-li,0],[0,n-li]]};var ka={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const a=i.size;let s=0,l=0,c=0,u=null,d=null;for(let g=0;g<a;g++){l=c=0,u=d=null;for(let f=0;f<a;f++){let p=i.get(g,f);p===u?l++:(l>=5&&(s+=t.N1+(l-5)),u=p,l=1),p=i.get(f,g),p===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=p,c=1)}l>=5&&(s+=t.N1+(l-5)),c>=5&&(s+=t.N1+(c-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let l=0;l<a-1;l++)for(let c=0;c<a-1;c++){const u=i.get(l,c)+i.get(l,c+1)+i.get(l+1,c)+i.get(l+1,c+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,l=0,c=0;for(let u=0;u<a;u++){l=c=0;for(let d=0;d<a;d++)l=l<<1&2047|i.get(u,d),d>=10&&(l===1488||l===93)&&s++,c=c<<1&2047|i.get(d,u),d>=10&&(c===1488||c===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let c=0;c<s;c++)a+=i.data[c];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(o,i,a){switch(o){case e.Patterns.PATTERN000:return(i+a)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(i+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return i*a%2+i*a%3===0;case e.Patterns.PATTERN110:return(i*a%2+i*a%3)%2===0;case e.Patterns.PATTERN111:return(i*a%3+(i+a)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(i,a){const s=a.size;for(let l=0;l<s;l++)for(let c=0;c<s;c++)a.isReserved(c,l)||a.xor(c,l,n(i,c,l))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let l=0,c=1/0;for(let u=0;u<s;u++){a(u),e.applyMask(u,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(u,i),d<c&&(c=d,l=u)}return l}})(ka);var bn={};const ke=_n,Ft=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Vt=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];bn.getBlocksCount=function(t,n){switch(n){case ke.L:return Ft[(t-1)*4+0];case ke.M:return Ft[(t-1)*4+1];case ke.Q:return Ft[(t-1)*4+2];case ke.H:return Ft[(t-1)*4+3];default:return}};bn.getTotalCodewordsCount=function(t,n){switch(n){case ke.L:return Vt[(t-1)*4+0];case ke.M:return Vt[(t-1)*4+1];case ke.Q:return Vt[(t-1)*4+2];case ke.H:return Vt[(t-1)*4+3];default:return}};var Na={},Cn={};const ht=new Uint8Array(512),Xt=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)ht[n]=t,Xt[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)ht[n]=ht[n-255]})();Cn.log=function(t){if(t<1)throw new Error("log("+t+")");return Xt[t]};Cn.exp=function(t){return ht[t]};Cn.mul=function(t,n){return t===0||n===0?0:ht[Xt[t]+Xt[n]]};(function(e){const t=Cn;e.mul=function(o,i){const a=new Uint8Array(o.length+i.length-1);for(let s=0;s<o.length;s++)for(let l=0;l<i.length;l++)a[s+l]^=t.mul(o[s],i[l]);return a},e.mod=function(o,i){let a=new Uint8Array(o);for(;a.length-i.length>=0;){const s=a[0];for(let c=0;c<i.length;c++)a[c]^=t.mul(i[c],s);let l=0;for(;l<a.length&&a[l]===0;)l++;a=a.slice(l)}return a},e.generateECPolynomial=function(o){let i=new Uint8Array([1]);for(let a=0;a<o;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(Na);const xa=Na;function Kr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Kr.prototype.initialize=function(t){this.degree=t,this.genPoly=xa.generateECPolynomial(this.degree)};Kr.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const o=xa.mod(n,this.genPoly),i=this.degree-o.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(o,i),a}return o};var P_=Kr,$a={},$e={},qr={};qr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var be={};const Oa="[0-9]+",k_="[A-Z $%*+\\-./:]+";let _t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";_t=_t.replace(/u/g,"\\u");const N_="(?:(?![A-Z0-9 $%*+\\-./:]|"+_t+`)(?:.|[\r
|
|
28
|
+
***************************************************************************** */var C=function(){return C=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},C.apply(this,arguments)};function sr(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function U(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(l){s={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(s)throw s.error}}return a}function G(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,a;o<i;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}var D;(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(D||(D={}));var Ne;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Ne||(Ne={}));var Ht=D.Start,rn=D.Stop,Ze=D.Raise,bt=D.Send,lr=D.Cancel,hi=D.NullEvent,on=D.Assign,yl=D.After,vl=D.DoneState,an=D.Log,yi=D.Init,Wt=D.Invoke,wl=D.ErrorExecution,Ln=D.ErrorPlatform,cr=D.ErrorCustom,sn=D.Update,vi=D.Choose,wi=D.Pure,Sl=Object.freeze(Object.defineProperty({__proto__:null,after:yl,assign:on,cancel:lr,choose:vi,doneState:vl,error:cr,errorExecution:wl,errorPlatform:Ln,init:yi,invoke:Wt,log:an,nullEvent:hi,pure:wi,raise:Ze,send:bt,start:Ht,stop:rn,update:sn},Symbol.toStringTag,{value:"Module"})),Si=".",fo={},jn="xstate.guard",_l="",yt=!0,Nt;function ur(e,t,n){n===void 0&&(n=Si);var o=mt(e,n),i=mt(t,n);return V(i)?V(o)?i===o:!1:V(o)?o in i:Object.keys(o).every(function(a){return a in i?ur(o[a],i[a]):!1})}function _i(e){try{return V(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function zn(e,t){try{return Qe(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function bl(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function mt(e,t){if(bl(e))return e.value;if(Qe(e))return Yt(e);if(typeof e!="string")return e;var n=zn(e,t);return Yt(n)}function Yt(e){if(e.length===1)return e[0];for(var t={},n=t,o=0;o<e.length-1;o++)o===e.length-2?n[e[o]]=e[o+1]:(n[e[o]]={},n=n[e[o]]);return t}function ut(e,t){for(var n={},o=Object.keys(e),i=0;i<o.length;i++){var a=o[i];n[a]=t(e[a],a,e,i)}return n}function po(e,t,n){var o,i,a={};try{for(var s=U(Object.keys(e)),l=s.next();!l.done;l=s.next()){var c=l.value,u=e[c];!n(u)||(a[c]=t(u,c,e))}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}var Cl=function(e){return function(t){var n,o,i=t;try{for(var a=U(e),s=a.next();!s.done;s=a.next()){var l=s.value;i=i[l]}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}};function El(e,t){return function(n){var o,i,a=n;try{for(var s=U(e),l=s.next();!l.done;l=s.next()){var c=l.value;a=a[t][c]}}catch(u){o={error:u}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}}function Lt(e){if(!e)return[[]];if(V(e))return[[e]];var t=Y(Object.keys(e).map(function(n){var o=e[n];return typeof o!="string"&&(!o||!Object.keys(o).length)?[[n]]:Lt(e[n]).map(function(i){return[n].concat(i)})}));return t}function Y(e){var t;return(t=[]).concat.apply(t,G([],M(e),!1))}function bi(e){return Qe(e)?e:[e]}function fe(e){return e===void 0?[]:bi(e)}function Kt(e,t,n){var o,i;if(F(e))return e(t,n.data);var a={};try{for(var s=U(Object.keys(e)),l=s.next();!l.done;l=s.next()){var c=l.value,u=e[c];F(u)?a[c]=u(t,n.data):a[c]=u}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}function Al(e){return/^(done|error)\./.test(e)}function mo(e){return!!(e instanceof Promise||e!==null&&(F(e)||typeof e=="object")&&F(e.then))}function Il(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Tl(e,t){var n,o,i=M([[],[]],2),a=i[0],s=i[1];try{for(var l=U(e),c=l.next();!c.done;c=l.next()){var u=c.value;t(u)?a.push(u):s.push(u)}}catch(d){n={error:d}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return[a,s]}function Ci(e,t){return ut(e.states,function(n,o){if(!!n){var i=(V(t)?void 0:t[o])||(n?n.current:void 0);if(!!i)return{current:i,states:Ci(n,i)}}})}function Pl(e,t){return{current:t,states:Ci(e,t)}}function go(e,t,n,o){var i=e&&n.reduce(function(a,s){var l,c,u=s.assignment,d={state:o,action:s,_event:t},g={};if(F(u))g=u(a,t.data,d);else try{for(var f=U(Object.keys(u)),p=f.next();!p.done;p=f.next()){var v=p.value,h=u[v];g[v]=F(h)?h(a,t.data,d):h}}catch(_){l={error:_}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(l)throw l.error}}return Object.assign({},a,g)},e);return i}var Gn=function(){};function Qe(e){return Array.isArray(e)}function F(e){return typeof e=="function"}function V(e){return typeof e=="string"}function Ei(e,t){if(!!e)return V(e)?{type:jn,name:e,predicate:t?t[e]:void 0}:F(e)?{type:jn,name:e.name,predicate:e}:e}function kl(e){try{return"subscribe"in e&&F(e.subscribe)}catch{return!1}}var Pe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Nt={},Nt[Pe]=function(){return this},Nt[Symbol.observable]=function(){return this};function Ge(e){return!!e&&"__xstatenode"in e}function Nl(e){return!!e&&typeof e.send=="function"}var xl=function(){var e=0;return function(){return e++,e.toString(16)}}();function ln(e,t){return V(e)||typeof e=="number"?C({type:e},t):e}function ee(e,t){if(!V(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=ln(e);return C({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Ve(e,t){var n=bi(t).map(function(o){return typeof o=="undefined"||typeof o=="string"||Ge(o)?{target:o,event:e}:C(C({},o),{event:e})});return n}function $l(e){if(!(e===void 0||e===_l))return fe(e)}function Ol(e,t,n){if(!yt){var o=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";if(e===t)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(e,"'.").concat(o));else{var i=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(e,"'. ").concat(o," Current error is '").concat(t,"'.").concat(i))}}}function Ai(e,t,n,o,i){var a=e.options.guards,s={state:i,cond:t,_event:o};if(t.type===jn)return((a==null?void 0:a[t.name])||t.predicate)(n,o.data,s);var l=a==null?void 0:a[t.type];if(!l)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return l(n,o.data,s)}function Ii(e){return typeof e=="string"?{type:e}:e}function jt(e,t,n){var o=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||o).bind(a),error:((i?e.error:t)||o).bind(a),complete:((i?e.complete:n)||o).bind(a)}}function xt(e,t){return"".concat(e,":invocation[").concat(t,"]")}function Hn(e){return(e.type===Ze||e.type===bt&&e.to===Ne.Internal)&&typeof e.delay!="number"}var Be=ee({type:yi});function qt(e,t){return t&&t[e]||void 0}function He(e,t){var n;if(V(e)||typeof e=="number"){var o=qt(e,t);F(o)?n={type:e,exec:o}:o?n=o:n={type:e,exec:void 0}}else if(F(e))n={type:e.name||e.toString(),exec:e};else{var o=qt(e.type,t);if(F(o))n=C(C({},e),{exec:o});else if(o){var i=o.type||e.type;n=C(C(C({},o),e),{type:i})}else n=e}return n}var Ce=function(e,t){if(!e)return[];var n=Qe(e)?e:[e];return n.map(function(o){return He(o,t)})};function cn(e){var t=He(e);return C(C({id:V(e)?e:t.id},t),{type:t.type})}function Ti(e,t){return{type:Ze,event:typeof e=="function"?e:ln(e),delay:t?t.delay:void 0,id:t==null?void 0:t.id}}function Pi(e,t,n,o){var i={_event:n},a=ee(F(e.event)?e.event(t,n.data,i):e.event),s;if(V(e.delay)){var l=o&&o[e.delay];s=F(l)?l(t,n.data,i):l}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;return C(C({},e),{type:Ze,_event:a,delay:s})}function Xe(e,t){return{to:t?t.to:void 0,type:bt,event:F(e)?e:ln(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:F(e)?e.name:_i(e)}}function ki(e,t,n,o){var i={_event:n},a=ee(F(e.event)?e.event(t,n.data,i):e.event),s;if(V(e.delay)){var l=o&&o[e.delay];s=F(l)?l(t,n.data,i):l}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;var c=F(e.to)?e.to(t,n.data,i):e.to;return C(C({},e),{to:c,_event:a,event:a.data,delay:s})}function dr(e,t){return Xe(e,C(C({},t),{to:Ne.Parent}))}function Rl(e,t,n){return Xe(t,C(C({},n),{to:e}))}function Ni(){return dr(sn)}function Ul(e,t){return Xe(e,C(C({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var Bl=function(e,t){return{context:e,event:t}};function Ml(e,t){return e===void 0&&(e=Bl),{type:an,label:t,expr:e}}var xi=function(e,t,n){return C(C({},e),{value:V(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},$i=function(e){return{type:lr,sendId:e}};function Oi(e){var t=cn(e);return{type:D.Start,activity:t,exec:void 0}}function Ri(e){var t=F(e)?e:cn(e);return{type:D.Stop,activity:t,exec:void 0}}function Ui(e,t,n){var o=F(e.activity)?e.activity(t,n.data):e.activity,i=typeof o=="string"?{id:o}:o,a={type:D.Stop,activity:i};return a}var Bi=function(e){return{type:on,assignment:e}};function Fl(e){return typeof e=="object"&&"type"in e}function Mi(e,t){var n=t?"#".concat(t):"";return"".concat(D.After,"(").concat(e,")").concat(n)}function dt(e,t){var n="".concat(D.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function gt(e,t){var n="".concat(D.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function ze(e,t){var n="".concat(D.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Vl(e){return{type:D.Pure,get:e}}function Fi(e,t){return Xe(function(n,o){return o},C(C({},t),{to:e}))}function Dl(e,t){return dr(function(n,o,i){return{type:cr,data:F(e)?e(n,o,i):e}},C(C({},t),{to:Ne.Parent}))}function Ll(e){return{type:D.Choose,conds:e}}var jl=function(e){var t,n,o=[];try{for(var i=U(e),a=i.next();!a.done;a=i.next())for(var s=a.value,l=0;l<s.actions.length;){if(s.actions[l].type===on){o.push(s.actions[l]),s.actions.splice(l,1);continue}l++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o};function vt(e,t,n,o,i,a,s){s===void 0&&(s=!1);var l=s?[]:jl(i),c=l.length?go(n,o,l,t):n,u=s?[n]:void 0,d=[];function g(v,h){var _;switch(h.type){case Ze:{var m=Pi(h,c,o,e.options.delays);return a&&typeof m.delay=="number"&&a(m,c,o),m}case bt:var y=ki(h,c,o,e.options.delays);return a&&y.to!==Ne.Internal&&(v==="entry"?d.push(y):a(y,c,o)),y;case an:{var w=xi(h,c,o);return a==null||a(w,c,o),w}case vi:{var S=h,b=(_=S.conds.find(function(ie){var K=Ei(ie.cond,e.options.guards);return!K||Ai(e,K,c,o,a?void 0:t)}))===null||_===void 0?void 0:_.actions;if(!b)return[];var A=M(vt(e,t,c,o,[{type:v,actions:Ce(fe(b),e.options.actions)}],a,s),2),E=A[0],k=A[1];return c=k,u==null||u.push(c),E}case wi:{var b=h.get(c,o.data);if(!b)return[];var I=M(vt(e,t,c,o,[{type:v,actions:Ce(fe(b),e.options.actions)}],a,s),2),$=I[0],P=I[1];return c=P,u==null||u.push(c),$}case rn:{var w=Ui(h,c,o);return a==null||a(w,n,o),w}case on:{c=go(c,o,[h],a?void 0:t),u==null||u.push(c);break}default:var x=He(h,e.options.actions),O=x.exec;if(a)a(x,c,o);else if(O&&u){var L=u.length-1,z=C(C({},x),{exec:function(ie){for(var K=[],J=1;J<arguments.length;J++)K[J-1]=arguments[J];O.apply(void 0,G([u[L]],M(K),!1))}});x=z}return x}}function f(v){var h,_,m=[];try{for(var y=U(v.actions),w=y.next();!w.done;w=y.next()){var S=w.value,b=g(v.type,S);b&&(m=m.concat(b))}}catch(A){h={error:A}}finally{try{w&&!w.done&&(_=y.return)&&_.call(y)}finally{if(h)throw h.error}}return d.forEach(function(A){a(A,c,o)}),d.length=0,m}var p=Y(i.map(f));return[p,c]}var Vi=Object.freeze(Object.defineProperty({__proto__:null,actionTypes:Sl,after:Mi,assign:Bi,cancel:$i,choose:Ll,done:dt,doneInvoke:gt,error:ze,escalate:Dl,forwardTo:Fi,getActionFunction:qt,initEvent:Be,isActionObject:Fl,log:Ml,pure:Vl,raise:Ti,resolveActions:vt,resolveLog:xi,resolveRaise:Pi,resolveSend:ki,resolveStop:Ui,respond:Ul,send:Xe,sendParent:dr,sendTo:Rl,sendUpdate:Ni,start:Oi,stop:Ri,toActionObject:He,toActionObjects:Ce,toActivityDefinition:cn},Symbol.toStringTag,{value:"Module"})),Jt=[],je=function(e,t){Jt.push(e);var n=t(e);return Jt.pop(),n},zl=function(e){return e(Jt[Jt.length-1])};function Di(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[Pe]=function(){return this},t}function Gl(e,t,n,o){var i,a=Ii(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],l=e.data?Kt(e.data,n,o):void 0,c=s?fr(s,e.id,l):Di(e.id);return c.meta=e,c}function fr(e,t,n){var o=Di(t);if(o.deferred=!0,Ge(e)){var i=o.state=je(void 0,function(){return(n?e.withContext(n):e).initialState});o.getSnapshot=function(){return i}}return o}function Hl(e){try{return typeof e.send=="function"}catch{return!1}}function Wl(e){return Hl(e)&&"id"in e}function Yl(e){var t;return C((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[Pe]=function(){return this},t),e)}var Zt=function(e){return e.type==="atomic"||e.type==="final"};function Li(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function wt(e){return Li(e).filter(function(t){return t.type!=="history"})}function ji(e){var t=[e];return Zt(e)?t:t.concat(Y(wt(e).map(ji)))}function ft(e,t){var n,o,i,a,s,l,c,u,d=new Set(e),g=Wn(d),f=new Set(t);try{for(var p=U(f),v=p.next();!v.done;v=p.next())for(var h=v.value,_=h.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(I){n={error:I}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var m=Wn(f);try{for(var y=U(f),w=y.next();!w.done;w=y.next()){var h=w.value;if(h.type==="compound"&&(!m.get(h)||!m.get(h).length))g.get(h)?g.get(h).forEach(function($){return f.add($)}):h.initialStateNodes.forEach(function($){return f.add($)});else if(h.type==="parallel")try{for(var S=(s=void 0,U(wt(h))),b=S.next();!b.done;b=S.next()){var A=b.value;f.has(A)||(f.add(A),g.get(A)?g.get(A).forEach(function($){return f.add($)}):A.initialStateNodes.forEach(function($){return f.add($)}))}}catch($){s={error:$}}finally{try{b&&!b.done&&(l=S.return)&&l.call(S)}finally{if(s)throw s.error}}}}catch(I){i={error:I}}finally{try{w&&!w.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}try{for(var E=U(f),k=E.next();!k.done;k=E.next())for(var h=k.value,_=h.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(I){c={error:I}}finally{try{k&&!k.done&&(u=E.return)&&u.call(E)}finally{if(c)throw c.error}}return f}function zi(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var o=n[0];if(o){if(Zt(o))return o.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=zi(a,t)}),i}function Wn(e){var t,n,o=new Map;try{for(var i=U(e),a=i.next();!a.done;a=i.next()){var s=a.value;o.has(s)||o.set(s,[]),s.parent&&(o.has(s.parent)||o.set(s.parent,[]),o.get(s.parent).push(s))}}catch(l){t={error:l}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function Kl(e,t){var n=ft([e],t);return zi(e,Wn(n))}function pt(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function ql(e){return G([],M(new Set(Y(G([],M(e.map(function(t){return t.ownEvents})),!1)))),!1)}function zt(e,t){return t.type==="compound"?wt(t).some(function(n){return n.type==="final"&&pt(e,n)}):t.type==="parallel"?wt(t).every(function(n){return zt(e,n)}):!1}function Jl(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function ho(e){return new Set(Y(e.map(function(t){return t.tags})))}function Gi(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(V(e)||V(t))return e===t;var n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(function(i){return Gi(e[i],t[i])})}function Zl(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function Ql(e,t){var n=e.exec,o=C(C({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return o}var me=function(){function e(t){var n=this,o;this.actions=[],this.activities=fo,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||fo,this.meta=Jl(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(o=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&o!==void 0?o:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return ql(n.configuration)}})}return e.from=function(t,n){if(t instanceof e)return t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var o=Be;return new e({value:t,context:n,_event:o,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var o=Be;return new e({value:t.value,context:n,_event:o,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(t,n){var o=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),V(t))return[t];var i=Object.keys(t);return i.concat.apply(i,G([],M(i.map(function(a){return o.toStrings(t[a],n).map(function(s){return a+n+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var n=t.tags;t.machine;var o=sr(t,["configuration","transitions","tags","machine"]);return C(C({},o),{tags:Array.from(n)})},e.prototype.matches=function(t){return ur(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Gn(!!this.machine);var o=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(o!=null&&o.transitions.length)&&o.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),Xl={deferEvents:!1},yo=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=C(C({},Xl),t)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},e}(),Tn=new Map,ec=0,lt={bookId:function(){return"x:".concat(ec++)},register:function(e,t){return Tn.set(e,t),e},get:function(e){return Tn.get(e)},free:function(e){Tn.delete(e)}};function pr(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global;yt||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues")}function tc(){var e=pr();if(e&&"__xstate__"in e)return e.__xstate__}function nc(e){if(!!pr()){var t=tc();t&&t.register(e)}}function rc(e,t){t===void 0&&(t={});var n=e.initialState,o=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var u=i.shift();n=e.transition(n,u,c),o.forEach(function(d){return d.next(n)})}a=!1}},l=Yl({id:t.id,send:function(u){i.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,d,g){var f=jt(u,d,g);return o.add(f),f.next(n),{unsubscribe:function(){o.delete(f)}}}}),c={parent:t.parent,self:l,id:t.id||"anonymous",observers:o};return n=e.start?e.start(c):n,l}var Yn={sync:!1,autoForward:!1},Z;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Z||(Z={}));var oc=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var o=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=Z.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,g){if(Qe(d))return o.batch(d),o.state;var f=ee(ln(d,g));if(o.status===Z.Stopped)return o.state;if(o.status!==Z.Running&&!o.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(o.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
|
|
29
|
+
Event: `).concat(JSON.stringify(f.data)));return o.scheduler.schedule(function(){o.forward(f);var p=o._nextState(f);o.update(p,f)}),o._state},this.sendTo=function(d,g,f){var p=o.parent&&(g===Ne.Parent||o.parent.id===g),v=p?o.parent:V(g)?g===Ne.Internal?o:o.children.get(g)||lt.get(g):Nl(g)?g:void 0;if(!v){if(!p)throw new Error("Unable to send event to child '".concat(g,"' from service '").concat(o.id,"'."));return}if("machine"in v){if(o.status!==Z.Stopped||o.parent!==v||o.state.done){var h=C(C({},d),{name:d.name===cr?"".concat(ze(o.id)):d.name,origin:o.sessionId});!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([v,h]):v.send(h)}}else!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([v,d.data]):v.send(d.data)},this._exec=function(d,g,f,p){p===void 0&&(p=o.machine.options.actions);var v=d.exec||qt(d.type,p),h=F(v)?v:v?v.exec:d.exec;if(h)try{return h(g,f.data,o.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:o.state,_event:f})}catch(L){throw o.parent&&o.parent.send({type:"xstate.error",data:L}),L}switch(d.type){case Ze:{var _=d;o.defer(_);break}case bt:var m=d;if(typeof m.delay=="number"){o.defer(m);return}else m.to?o.sendTo(m._event,m.to,f===Be):o.send(m._event);break;case lr:o.cancel(d.sendId);break;case Ht:{if(o.status!==Z.Running)return;var y=d.activity;if(!o.machine.config.predictableActionArguments&&!o.state.activities[y.id||y.type])break;if(y.type===D.Invoke){var w=Ii(y.src),S=o.machine.options.services?o.machine.options.services[w.type]:void 0,b=y.id,A=y.data,E="autoForward"in y?y.autoForward:!!y.forward;if(!S)return;var k=A?Kt(A,g,f):void 0;if(typeof S=="string")return;var I=F(S)?S(g,f.data,{data:k,src:w,meta:y.meta}):S;if(!I)return;var $=void 0;Ge(I)&&(I=k?I.withContext(k):I,$={autoForward:E}),o.spawn(I,b,$)}else o.spawnActivity(y);break}case rn:{o.stopChild(d.activity.id);break}case an:var P=d,x=P.label,O=P.value;x?o.logger(x,O):o.logger(O);break}};var i=C(C({},e.defaultOptions),n),a=i.clock,s=i.logger,l=i.parent,c=i.id,u=c!==void 0?c:t.id;this.id=u,this.logger=s,this.clock=a,this.parent=l,this.options=i,this.scheduler=new yo({deferEvents:this.options.deferEvents}),this.sessionId=lt.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:je(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,n){var o,i;try{for(var a=U(t.actions),s=a.next();!s.done;s=a.next()){var l=s.value;this.exec(l,t,n)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}},e.prototype.update=function(t,n){var o,i,a,s,l,c,u,d,g=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===Be)&&this.options.execute)this.execute(this.state);else for(var f=void 0;f=this._outgoingQueue.shift();)f[0].send(f[1]);if(this.children.forEach(function(I){g.state.children[I.id]=I}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var p=U(this.eventListeners),v=p.next();!v.done;v=p.next()){var h=v.value;h(t.event)}}catch(I){o={error:I}}finally{try{v&&!v.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}try{for(var _=U(this.listeners),m=_.next();!m.done;m=_.next()){var h=m.value;h(t,t.event)}}catch(I){a={error:I}}finally{try{m&&!m.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var y=U(this.contextListeners),w=y.next();!w.done;w=y.next()){var S=w.value;S(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(I){l={error:I}}finally{try{w&&!w.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}if(this.state.done){var b=t.configuration.find(function(I){return I.type==="final"&&I.parent===g.machine}),A=b&&b.doneData?Kt(b.doneData,t.context,n):void 0;this._doneEvent=gt(this.id,A);try{for(var E=U(this.doneListeners),k=E.next();!k.done;k=E.next()){var h=k.value;h(this._doneEvent)}}catch(I){u={error:I}}finally{try{k&&!k.done&&(d=E.return)&&d.call(E)}finally{if(u)throw u.error}}this._stop(),this._stopChildren(),lt.free(this.sessionId)}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===Z.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,o){var i=this,a=jt(t,n,o);this.listeners.add(a.next),this.status!==Z.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===Z.Stopped?a.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){i.listeners.delete(a.next),i.doneListeners.delete(s),i.stopListeners.delete(s)}}},e.prototype.onEvent=function(t){return this.eventListeners.add(t),this},e.prototype.onSend=function(t){return this.sendListeners.add(t),this},e.prototype.onChange=function(t){return this.contextListeners.add(t),this},e.prototype.onStop=function(t){return this.stopListeners.add(t),this},e.prototype.onDone=function(t){return this.status===Z.Stopped&&this._doneEvent?t(this._doneEvent):this.doneListeners.add(t),this},e.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},e.prototype.start=function(t){var n=this;if(this.status===Z.Running)return this;this.machine._init(),lt.register(this.sessionId,this),this.initialized=!0,this.status=Z.Running;var o=t===void 0?this.initialState:je(this,function(){return Zl(t)?n.machine.resolveState(t):n.machine.resolveState(me.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(o,Be)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){F(t.stop)&&t.stop()}),this.children.clear()},e.prototype._stop=function(){var t,n,o,i,a,s,l,c,u,d;try{for(var g=U(this.listeners),f=g.next();!f.done;f=g.next()){var p=f.value;this.listeners.delete(p)}}catch(E){t={error:E}}finally{try{f&&!f.done&&(n=g.return)&&n.call(g)}finally{if(t)throw t.error}}try{for(var v=U(this.stopListeners),h=v.next();!h.done;h=v.next()){var p=h.value;p(),this.stopListeners.delete(p)}}catch(E){o={error:E}}finally{try{h&&!h.done&&(i=v.return)&&i.call(v)}finally{if(o)throw o.error}}try{for(var _=U(this.contextListeners),m=_.next();!m.done;m=_.next()){var p=m.value;this.contextListeners.delete(p)}}catch(E){a={error:E}}finally{try{m&&!m.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var y=U(this.doneListeners),w=y.next();!w.done;w=y.next()){var p=w.value;this.doneListeners.delete(p)}}catch(E){l={error:E}}finally{try{w&&!w.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Z.Stopped,this._initialState=void 0;try{for(var S=U(Object.keys(this.delayedEventsMap)),b=S.next();!b.done;b=S.next()){var A=b.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(E){u={error:E}}finally{try{b&&!b.done&&(d=S.return)&&d.call(S)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new yo({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var o=ee({type:"xstate.stop"}),i=je(t,function(){var a=Y(G([],M(t.state.configuration),!1).sort(function(d,g){return g.order-d.order}).map(function(d){return Ce(d.onExit,t.machine.options.actions)})),s=M(vt(t.machine,t.state,t.state.context,o,[{type:"exit",actions:a}],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),l=s[0],c=s[1],u=new me({value:t.state.value,context:c,_event:o,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:l.filter(function(d){return!Hn(d)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return u.changed=!0,u});t.update(i,o),t._stopChildren(),lt.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(this.status===Z.NotStarted&&this.options.deferEvents)yt||Gn(!1,"".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,`" and are deferred. Make sure .start() is called for this service.
|
|
30
|
+
Event: `).concat(JSON.stringify(event)));else if(this.status!==Z.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(!!t.length){var o=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,l=!1,c=[],u=function(p){var v=ee(p);n.forward(v),s=je(n,function(){return n.machine.transition(s,v,void 0,o||void 0)}),c.push.apply(c,G([],M(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(h){return Ql(h,s)})),!1)),l=l||!!s.changed};try{for(var d=U(t),g=d.next();!g.done;g=d.next()){var f=g.value;u(f)}}catch(p){i={error:p}}finally{try{g&&!g.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=l,s.actions=c,n.update(s,ee(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var o=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=ee(t);if(i.name.indexOf(Ln)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Ln)===0}))throw i.data.data;var a=je(this,function(){return o.machine.transition(o.state,i,void 0,n||void 0)});return a},e.prototype.nextState=function(t){return this._nextState(t,!1)},e.prototype.forward=function(t){var n,o;try{for(var i=U(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,l=this.children.get(s);if(!l)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));l.send(t)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this,o=this.clock.setTimeout(function(){"to"in t&&t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay);t.id&&(this.delayedEventsMap[t.id]=o)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,n,o){o===void 0&&(o=this.machine.options.actions),this._exec(t,n.context,n._event,o)},e.prototype.removeChild=function(t){var n;this.children.delete(t),this.forwardTo.delete(t),(n=this.state)===null||n===void 0||delete n.children[t]},e.prototype.stopChild=function(t){var n=this.children.get(t);!n||(this.removeChild(t),F(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,o){if(this.status!==Z.Running)return fr(t,n);if(mo(t))return this.spawnPromise(Promise.resolve(t),n);if(F(t))return this.spawnCallback(t,n);if(Wl(t))return this.spawnActor(t,n);if(kl(t))return this.spawnObservable(t,n);if(Ge(t))return this.spawnMachine(t,C(C({},o),{id:n}));if(Il(t))return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,n){var o=this;n===void 0&&(n={});var i=new e(t,C(C({},this.options),{parent:this,id:n.id||t.id})),a=C(C({},Yn),n);a.sync&&i.onTransition(function(l){o.send(sn,{state:l,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(l){o.removeChild(i.id),o.send(ee(l,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var o=rc(t,{id:n,parent:this});return this.children.set(n,o),o},e.prototype.spawnPromise=function(t,n){var o,i=this,a=!1,s;t.then(function(c){a||(s=c,i.removeChild(n),i.send(ee(gt(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var u=ze(n,c);try{i.send(ee(u,{origin:n}))}catch(d){Ol(c,d,n),i.devTools&&i.devTools.send(u,i.state),i.machine.strict&&i.stop()}}});var l=(o={id:n,send:function(){},subscribe:function(c,u,d){var g=jt(c,u,d),f=!1;return t.then(function(p){f||(g.next(p),!f&&g.complete())},function(p){f||g.error(p)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},o[Pe]=function(){return this},o);return this.children.set(n,l),l},e.prototype.spawnCallback=function(t,n){var o,i=this,a=!1,s=new Set,l=new Set,c,u=function(f){c=f,l.forEach(function(p){return p(f)}),!a&&i.send(ee(f,{origin:n}))},d;try{d=t(u,function(f){s.add(f)})}catch(f){this.send(ze(n,f))}if(mo(d))return this.spawnPromise(d,n);var g=(o={id:n,send:function(f){return s.forEach(function(p){return p(f)})},subscribe:function(f){var p=jt(f);return l.add(p.next),{unsubscribe:function(){l.delete(p.next)}}},stop:function(){a=!0,F(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},o[Pe]=function(){return this},o);return this.children.set(n,g),g},e.prototype.spawnObservable=function(t,n){var o,i=this,a,s=t.subscribe(function(c){a=c,i.send(ee(c,{origin:n}))},function(c){i.removeChild(n),i.send(ee(ze(n,c),{origin:n}))},function(){i.removeChild(n),i.send(ee(gt(n),{origin:n}))}),l=(o={id:n,send:function(){},subscribe:function(c,u,d){return t.subscribe(c,u,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},o[Pe]=function(){return this},o);return this.children.set(n,l),l},e.prototype.spawnActor=function(t,n){return this.children.set(n,t),t},e.prototype.spawnActivity=function(t){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!n){yt||Gn(!1,"No implementation found for activity '".concat(t.type,"'"));return}var o=n(this.state.context,t);this.spawnEffect(t.id,o)},e.prototype.spawnEffect=function(t,n){var o;this.children.set(t,(o={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},o[Pe]=function(){return this},o))},e.prototype.attachDev=function(){var t=pr();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(C(C({name:this.id,autoPause:!0,stateSanitizer:function(o){return{value:o.value,context:o.context,actions:o.actions}}},n),{features:C({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}nc(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Pe]=function(){return this},e.prototype.getSnapshot=function(){return this.status===Z.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,n){return setTimeout(t,n)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},e.interpret=Hi,e}(),ic=function(e){return V(e)?C(C({},Yn),{name:e}):C(C(C({},Yn),{name:xl()}),e)};function $t(e,t){var n=ic(t);return zl(function(o){return o?o.spawn(e,n.name,n):fr(e,n.name)})}function Hi(e,t){var n=new oc(e,t);return n}function ac(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Ot(e){return C(C({type:Wt},e),{toJSON:function(){e.onDone,e.onError;var t=sr(e,["onDone","onError"]);return C(C({},t),{type:Wt,src:ac(e.src)})}})}var Rt="",Kn="#",Pn="*",De={},Le=function(e){return e[0]===Kn},sc=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},lc=function(){function e(t,n,o,i){o===void 0&&(o="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=o,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(sc(),n),this.parent=i==null?void 0:i.parent,this.key=this.config.key||(i==null?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:Si),this.id=this.config.id||G([this.machine.key],M(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?ut(this.config.states,function(u,d){var g,f=new e(u,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,C((g={},g[f.id]=f,g),f.idMap)),f}):De;var l=0;function c(u){var d,g;u.order=l++;try{for(var f=U(Li(u)),p=f.next();!p.done;p=f.next()){var v=p.value;c(v)}}catch(h){d={error:h}}finally{try{p&&!p.done&&(g=f.return)&&g.call(f)}finally{if(d)throw d.error}}}c(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(u){var d=u.event;return d===Rt}):Rt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=fe(this.config.entry||this.config.onEntry).map(function(u){return He(u)}),this.onExit=fe(this.config.exit||this.config.onExit).map(function(u){return He(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=fe(this.config.invoke).map(function(u,d){var g,f;if(Ge(u)){var p=xt(a.id,d);return a.machine.options.services=C((g={},g[p]=u,g),a.machine.options.services),Ot({src:p,id:p})}else if(V(u.src)){var p=u.id||xt(a.id,d);return Ot(C(C({},u),{id:p,src:u.src}))}else if(Ge(u.src)||F(u.src)){var p=u.id||xt(a.id,d);return a.machine.options.services=C((f={},f[p]=u.src,f),a.machine.options.services),Ot(C(C({id:p},u),{src:p}))}else{var v=u.src;return Ot(C(C({id:xt(a.id,d)},u),{src:v}))}}),this.activities=fe(this.config.activities).concat(this.invoke).map(function(u){return cn(u)}),this.transition=this.transition.bind(this),this.tags=fe(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||ji(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var o=this.options,i=o.actions,a=o.activities,s=o.guards,l=o.services,c=o.delays;return new e(this.config,{actions:C(C({},i),t.actions),activities:C(C({},a),t.activities),guards:C(C({},s),t.guards),services:C(C({},l),t.services),delays:C(C({},c),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return F(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:ut(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(n,o){return n[o.eventType]=n[o.eventType]||[],n[o.eventType].push(o),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=t===Rt,o=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===Pn});return this.__cache.candidates[t]=o,o},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var o=function(a,s){var l=F(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Mi(l,t.id);return t.onEntry.push(Xe(c,{delay:a})),t.onExit.push($i(c)),c},i=Qe(n)?n.map(function(a,s){var l=o(a.delay,s);return C(C({},a),{event:l})}):Y(Object.keys(n).map(function(a,s){var l=n[a],c=V(l)?{target:l}:l,u=isNaN(+a)?a:+a,d=o(u,s);return fe(c).map(function(g){return C(C({},g),{event:d,delay:u})})}));return i.map(function(a){var s=a.delay;return C(C({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,o=this;if(!t)return[];var i=t instanceof me?t.value:mt(t,this.delimiter);if(V(i)){var a=this.getStateNode(i).initial;return a!==void 0?this.getStateNodes((n={},n[i]=a,n)):[this,this.states[i]]}var s=Object.keys(i),l=[this];return l.push.apply(l,G([],M(Y(s.map(function(c){return o.getStateNode(c).getStateNodes(i[c])}))),!1)),l},e.prototype.handles=function(t){var n=_i(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof me?t:me.create(t),o=Array.from(ft([],this.getStateNodes(n.value)));return new me(C(C({},n),{value:this.resolve(n.value),configuration:o,done:zt(o,this),tags:ho(o),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,o){var i=this.getStateNode(t),a=i.next(n,o);return!a||!a.transitions.length?this.next(n,o):a},e.prototype.transitionCompoundNode=function(t,n,o){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,o);return!s||!s.transitions.length?this.next(n,o):s},e.prototype.transitionParallelNode=function(t,n,o){var i,a,s={};try{for(var l=U(Object.keys(t)),c=l.next();!c.done;c=l.next()){var u=c.value,d=t[u];if(!!d){var g=this.getStateNode(u),f=g._transition(d,n,o);f&&(s[u]=f)}}}catch(m){i={error:m}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}var p=Object.keys(s).map(function(m){return s[m]}),v=Y(p.map(function(m){return m.transitions})),h=p.some(function(m){return m.transitions.length>0});if(!h)return this.next(n,o);var _=Y(Object.keys(s).map(function(m){return s[m].configuration}));return{transitions:v,exitSet:Y(p.map(function(m){return m.exitSet})),configuration:_,source:n,actions:Y(Object.keys(s).map(function(m){return s[m].actions}))}},e.prototype._transition=function(t,n,o){return V(t)?this.transitionLeafNode(t,n,o):Object.keys(t).length===1?this.transitionCompoundNode(t,n,o):this.transitionParallelNode(t,n,o)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,ee(n))},e.prototype.next=function(t,n){var o,i,a=this,s=n.name,l=[],c=[],u;try{for(var d=U(this.getCandidates(s)),g=d.next();!g.done;g=d.next()){var f=g.value,p=f.cond,v=f.in,h=t.context,_=v?V(v)&&Le(v)?t.matches(mt(this.getStateNodeById(v).path,this.delimiter)):ur(mt(v,this.delimiter),Cl(this.path.slice(0,-2))(t.value)):!0,m=!1;try{m=!p||Ai(this.machine,p,h,n,t)}catch(S){throw new Error("Unable to evaluate guard '".concat(p.name||p.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
|
|
31
|
+
`).concat(S.message))}if(m&&_){f.target!==void 0&&(c=f.target),l.push.apply(l,G([],M(f.actions),!1)),u=f;break}}}catch(S){o={error:S}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}if(!!u){if(!c.length)return{transitions:[u],exitSet:[],configuration:t.value?[this]:[],source:t,actions:l};var y=Y(c.map(function(S){return a.getRelativeStateNodes(S,t.historyValue)})),w=!!u.internal;return{transitions:[u],exitSet:w?[]:Y(c.map(function(S){return a.getPotentiallyReenteringNodes(S)})),configuration:y,source:t,actions:l}}},e.prototype.getPotentiallyReenteringNodes=function(t){if(this.order<t.order)return[this];for(var n=[],o=this,i=t;o&&o!==i;)n.push(o),o=o.parent;return o!==i?[]:(n.push(i),n)},e.prototype.getActions=function(t,n,o,i,a,s,l){var c,u,d,g,f=this,p=s?ft([],this.getStateNodes(s.value)):[],v=new Set;try{for(var h=U(Array.from(t).sort(function(P,x){return P.order-x.order})),_=h.next();!_.done;_=h.next()){var m=_.value;(!pt(p,m)||pt(o.exitSet,m)||m.parent&&v.has(m.parent))&&v.add(m)}}catch(P){c={error:P}}finally{try{_&&!_.done&&(u=h.return)&&u.call(h)}finally{if(c)throw c.error}}try{for(var y=U(p),w=y.next();!w.done;w=y.next()){var m=w.value;(!pt(t,m)||pt(o.exitSet,m.parent))&&o.exitSet.push(m)}}catch(P){d={error:P}}finally{try{w&&!w.done&&(g=y.return)&&g.call(y)}finally{if(d)throw d.error}}o.exitSet.sort(function(P,x){return x.order-P.order});var S=Array.from(v).sort(function(P,x){return P.order-x.order}),b=new Set(o.exitSet),A=Y(S.map(function(P){var x=[];if(P.type!=="final")return x;var O=P.parent;if(!O.parent)return x;x.push(dt(P.id,P.doneData),dt(O.id,P.doneData?Kt(P.doneData,i,a):void 0));var L=O.parent;return L.type==="parallel"&&wt(L).every(function(z){return zt(o.configuration,z)})&&x.push(dt(L.id)),x})),E=S.map(function(P){var x=P.onEntry,O=P.activities.map(function(L){return Oi(L)});return{type:"entry",actions:Ce(l?G(G([],M(x),!1),M(O),!1):G(G([],M(O),!1),M(x),!1),f.machine.options.actions)}}).concat({type:"state_done",actions:A.map(function(P){return Ti(P)})}),k=Array.from(b).map(function(P){return{type:"exit",actions:Ce(G(G([],M(P.onExit),!1),M(P.activities.map(function(x){return Ri(x)})),!1),f.machine.options.actions)}}),I=k.concat({type:"transition",actions:Ce(o.actions,this.machine.options.actions)}).concat(E);if(n){var $=Ce(Y(G([],M(t),!1).sort(function(P,x){return x.order-P.order}).map(function(P){return P.onExit})),this.machine.options.actions).filter(function(P){return!Hn(P)});return I.concat({type:"stop",actions:$})}return I},e.prototype.transition=function(t,n,o,i){t===void 0&&(t=this.initialState);var a=ee(n),s;if(t instanceof me)s=o===void 0?t:this.resolveState(me.from(t,o));else{var l=V(t)?this.resolve(Yt(this.getResolvedPath(t))):this.resolve(t),c=o!=null?o:this.machine.context;s=this.resolveState(me.from(l,c))}if(this.strict&&!this.events.includes(a.name)&&!Al(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var u=this._transition(s.value,s,a)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},d=ft([],this.getStateNodes(s.value)),g=u.configuration.length?ft(d,u.configuration):d;return u.configuration=G([],M(g),!1),this.resolveTransition(u,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,o,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=o,t.event=o.data,(a=t.actions).unshift.apply(a,G([],M(s),!1)),t},e.prototype.resolveTransition=function(t,n,o,i,a){var s,l,c,u,d=this;a===void 0&&(a=Be);var g=t.configuration,f=!n||t.transitions.length>0,p=f?t.configuration:n?n.configuration:[],v=zt(p,this),h=f?Kl(this.machine,g):void 0,_=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,m=this.getActions(new Set(p),v,t,o,a,n,i),y=n?C({},n.activities):{};try{for(var w=U(m),S=w.next();!S.done;S=w.next()){var b=S.value;try{for(var A=(c=void 0,U(b.actions)),E=A.next();!E.done;E=A.next()){var k=E.value;k.type===Ht?y[k.activity.id||k.activity.type]=k:k.type===rn&&(y[k.activity.id||k.activity.type]=!1)}}catch(ne){c={error:ne}}finally{try{E&&!E.done&&(u=A.return)&&u.call(A)}finally{if(c)throw c.error}}}}catch(ne){s={error:ne}}finally{try{S&&!S.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}var I=M(vt(this,n,o,a,m,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),$=I[0],P=I[1],x=M(Tl($,Hn),2),O=x[0],L=x[1],z=$.filter(function(ne){var Ie;return ne.type===Ht&&((Ie=ne.activity)===null||Ie===void 0?void 0:Ie.type)===Wt}),ie=z.reduce(function(ne,Ie){return ne[Ie.activity.id]=Gl(Ie.activity,d.machine,P,a),ne},n?C({},n.children):{}),K=new me({value:h||n.value,context:P,_event:a,_sessionid:n?n._sessionid:null,historyValue:h?_?Pl(_,h):void 0:n?n.historyValue:void 0,history:!h||t.source?n:void 0,actions:h?L:[],activities:h?y:n?n.activities:{},events:[],configuration:p,transitions:t.transitions,children:ie,done:v,tags:ho(p),machine:this}),J=o!==P;K.changed=a.name===sn||J;var pe=K.history;pe&&delete pe.history;var Oe=!v&&(this._transient||g.some(function(ne){return ne._transient}));if(!f&&(!Oe||a.name===Rt))return K;var oe=K;if(!v)for(Oe&&(oe=this.resolveRaisedTransition(oe,{type:hi},a,i));O.length;){var at=O.shift();oe=this.resolveRaisedTransition(oe,at._event,a,i)}var st=oe.changed||(pe?!!oe.actions.length||J||typeof pe.value!=typeof oe.value||!Gi(oe.value,pe.value):void 0);return oe.changed=st,oe.history=pe,oe},e.prototype.getStateNode=function(t){if(Le(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[t];if(!n)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return n},e.prototype.getStateNodeById=function(t){var n=Le(t)?t.slice(Kn.length):t;if(n===this.id)return this;var o=this.machine.idMap[n];if(!o)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return o},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&Le(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=zn(t,this.delimiter).slice(),o=this;n.length;){var i=n.shift();if(!i.length)break;o=o.getStateNode(i)}return o},e.prototype.resolve=function(t){var n,o=this;if(!t)return this.initialStateValue||De;switch(this.type){case"parallel":return ut(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):De});case"compound":if(V(t)){var i=this.getStateNode(t);return i.type==="parallel"||i.type==="compound"?(n={},n[t]=i.initialStateValue,n):t}return Object.keys(t).length?ut(t,function(a,s){return a?o.getStateNode(s).resolve(a):De}):this.initialStateValue||{};default:return t||De}},e.prototype.getResolvedPath=function(t){if(Le(t)){var n=this.machine.idMap[t.slice(Kn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return zn(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=po(this.states,function(o){return o.initialStateValue||De},function(o){return o.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=Zt(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,n){this._init();var o=this.getStateNodes(t);return this.resolveTransition({configuration:o,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n!=null?n:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var n=this.config;V(n.target)?t=Le(n.target)?Yt(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:t=n.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,n,o){return o===void 0&&(o=!0),o?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(Zt(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Lt(this.initialStateValue);return Y(n.map(function(o){return t.getFromRelativePath(o)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=M(t),o=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(o,"' from node with no states"));var a=this.getStateNode(o);if(a.type==="history")return a.resolveHistory();if(!this.states[o])throw new Error("Child state '".concat(o,"' does not exist on '").concat(this.id,"'"));return this.states[o].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:po(this.states,function(n,o){if(!t)return n.historyValue();var i=V(t)?void 0:t[o];return n.historyValue(i||n.initialStateValue)},function(n){return!n.history})}},e.prototype.resolveHistory=function(t){var n=this;if(this.type!=="history")return[this];var o=this.parent;if(!t){var i=this.target;return i?Y(Lt(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=El(o.path,"states")(t).current;return V(a)?[o.getStateNode(a)]:Y(Lt(a).map(function(s){return n.history==="deep"?o.getFromRelativePath(s):[o.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=Y(Object.keys(this.states).map(function(o){return t.states[o].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,o,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var l=U(Object.keys(a)),c=l.next();!c.done;c=l.next()){var u=c.value,d=a[u];if(d.states)try{for(var g=(o=void 0,U(d.events)),f=g.next();!f.done;f=g.next()){var p=f.value;s.add("".concat(p))}}catch(v){o={error:v}}finally{try{f&&!f.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}}}catch(v){t={error:v}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var n=this;if(t!==void 0)return t.map(function(o){if(!V(o))return o;var i=o[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(o.slice(1));var a=i?n.key+o:o;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(l){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
|
|
32
|
+
`).concat(l.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,o=$l(t.target),i="internal"in t?t.internal:o?o.some(function(c){return V(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(o),l=C(C({},t),{actions:Ce(fe(t.actions)),cond:Ei(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return C(C({},l),{target:l.target?l.target.map(function(c){return"#".concat(c.id)}):void 0,source:"#".concat(n.id)})}});return l},e.prototype.formatTransitions=function(){var t,n,o=this,i;if(!this.config.on)i=[];else if(Array.isArray(this.config.on))i=this.config.on;else{var a=this.config.on,s=Pn,l=a[s],c=l===void 0?[]:l,u=sr(a,[typeof s=="symbol"?s:s+""]);i=Y(Object.keys(u).map(function(y){var w=Ve(y,u[y]);return w}).concat(Ve(Pn,c)))}var d=this.config.always?Ve("",this.config.always):[],g=this.config.onDone?Ve(String(dt(this.id)),this.config.onDone):[],f=Y(this.invoke.map(function(y){var w=[];return y.onDone&&w.push.apply(w,G([],M(Ve(String(gt(y.id)),y.onDone)),!1)),y.onError&&w.push.apply(w,G([],M(Ve(String(ze(y.id)),y.onError)),!1)),w})),p=this.after,v=Y(G(G(G(G([],M(g),!1),M(f),!1),M(i),!1),M(d),!1).map(function(y){return fe(y).map(function(w){return o.formatTransition(w)})}));try{for(var h=U(p),_=h.next();!_.done;_=h.next()){var m=_.value;v.push(m)}}catch(y){t={error:y}}finally{try{_&&!_.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return v},e}(),vo=!1;function Ct(e,t){return!yt&&!("predictableActionArguments"in e)&&!vo&&(vo=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new lc(e,t)}var ce=Bi,mr=Ni,cc=Fi;const{assign:j,stop:uc}=Vi,Ut=e=>uc(e),dc=j({attributeToVerify:e=>{}}),fc=j({challengeName:e=>{}}),pc=j({requiredAttributes:e=>{}}),gr=j({remoteError:e=>""}),hr=j({formValues:e=>({})}),yr=j({touched:e=>({})}),mc=j({unverifiedContactMethods:e=>{}}),gc=j({username:e=>{}}),vr=j({validationError:e=>({})}),hc=j({totpSecretCode:(e,t)=>t.data}),yc=j({challengeName:(e,t)=>{var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),vc=j({requiredAttributes:(e,t)=>{var n,o;return(o=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||o===void 0?void 0:o.requiredAttributes}}),wc=j({redirectIntent:e=>"confirmPasswordReset"}),Sc=j({redirectIntent:e=>"confirmSignUp"}),Wi=j({authAttributes:(e,t)=>{var n,o;const[i]=e.loginMechanisms;return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(o=e.formValues)===null||o===void 0?void 0:o.password}}}),wr=j({validationError:(e,t)=>t.data}),Sr=j({remoteError:(e,t)=>{var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),_c=j({unverifiedContactMethods:(e,t)=>t.data.unverified}),Yi=j({user:(e,t)=>t.data.user||t.data}),bc=j({username:(e,t)=>{let{formValues:{username:n,country_code:o}}=e;return o&&(n=`${o}${n}`),n}}),Cc=j({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),Ec=j({authAttributes:(e,t)=>({username:e.formValues.username})}),_r=j({formValues:(e,t)=>{const{name:n,value:o}=t.data;return Object.assign(Object.assign({},e.formValues),{[n]:o})}}),br=j({formValues:(e,t)=>{const n=Object.assign(Object.assign({},e.formValues),t.data);return sl(n,"password")}}),Cr=j({touched:(e,t)=>{const{name:n}=t.data;return Object.assign(Object.assign({},e.touched),{[`${n}`]:!0})}}),Ac=e=>B(void 0,void 0,void 0,function*(){const{username:t}=e;return yield W.Auth.forgotPassword(t)}),Ki=j({formValues:(e,t)=>{var n;const[o="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&o!=="phone_number")return e.formValues;const{formValues:i,country_code:a}=e,s=i.phone_number?"phone_number":"username",l=`${(n=i.country_code)!==null&&n!==void 0?n:a}${i[s]}`.replace(/[^A-Z0-9+]/gi,""),c=Object.assign(Object.assign({},i),{[s]:l});return delete c.country_code,c}});var Ic=Array.isArray,Ee=Ic,Tc=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,qi=Tc,Pc=qi,kc=typeof self=="object"&&self&&self.Object===Object&&self,Nc=Pc||kc||Function("return this")(),ve=Nc,xc=ve,$c=xc.Symbol,un=$c,wo=un,Ji=Object.prototype,Oc=Ji.hasOwnProperty,Rc=Ji.toString,ct=wo?wo.toStringTag:void 0;function Uc(e){var t=Oc.call(e,ct),n=e[ct];try{e[ct]=void 0;var o=!0}catch{}var i=Rc.call(e);return o&&(t?e[ct]=n:delete e[ct]),i}var Bc=Uc,Mc=Object.prototype,Fc=Mc.toString;function Vc(e){return Fc.call(e)}var Dc=Vc,So=un,Lc=Bc,jc=Dc,zc="[object Null]",Gc="[object Undefined]",_o=So?So.toStringTag:void 0;function Hc(e){return e==null?e===void 0?Gc:zc:_o&&_o in Object(e)?Lc(e):jc(e)}var et=Hc;function Wc(e){return e!=null&&typeof e=="object"}var Me=Wc,Yc=et,Kc=Me,qc="[object Symbol]";function Jc(e){return typeof e=="symbol"||Kc(e)&&Yc(e)==qc}var Er=Jc,Zc=Ee,Qc=Er,Xc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eu=/^\w*$/;function tu(e,t){if(Zc(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Qc(e)?!0:eu.test(e)||!Xc.test(e)||t!=null&&e in Object(t)}var Ar=tu;function nu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ae=nu,ru=et,ou=Ae,iu="[object AsyncFunction]",au="[object Function]",su="[object GeneratorFunction]",lu="[object Proxy]";function cu(e){if(!ou(e))return!1;var t=ru(e);return t==au||t==su||t==iu||t==lu}var Ir=cu,uu=ve,du=uu["__core-js_shared__"],fu=du,kn=fu,bo=function(){var e=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function pu(e){return!!bo&&bo in e}var mu=pu,gu=Function.prototype,hu=gu.toString;function yu(e){if(e!=null){try{return hu.call(e)}catch{}try{return e+""}catch{}}return""}var Zi=yu,vu=Ir,wu=mu,Su=Ae,_u=Zi,bu=/[\\^$.*+?()[\]{}|]/g,Cu=/^\[object .+?Constructor\]$/,Eu=Function.prototype,Au=Object.prototype,Iu=Eu.toString,Tu=Au.hasOwnProperty,Pu=RegExp("^"+Iu.call(Tu).replace(bu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ku(e){if(!Su(e)||wu(e))return!1;var t=vu(e)?Pu:Cu;return t.test(_u(e))}var Nu=ku;function xu(e,t){return e==null?void 0:e[t]}var $u=xu,Ou=Nu,Ru=$u;function Uu(e,t){var n=Ru(e,t);return Ou(n)?n:void 0}var Fe=Uu,Bu=Fe,Mu=Bu(Object,"create"),dn=Mu,Co=dn;function Fu(){this.__data__=Co?Co(null):{},this.size=0}var Vu=Fu;function Du(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Lu=Du,ju=dn,zu="__lodash_hash_undefined__",Gu=Object.prototype,Hu=Gu.hasOwnProperty;function Wu(e){var t=this.__data__;if(ju){var n=t[e];return n===zu?void 0:n}return Hu.call(t,e)?t[e]:void 0}var Yu=Wu,Ku=dn,qu=Object.prototype,Ju=qu.hasOwnProperty;function Zu(e){var t=this.__data__;return Ku?t[e]!==void 0:Ju.call(t,e)}var Qu=Zu,Xu=dn,ed="__lodash_hash_undefined__";function td(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Xu&&t===void 0?ed:t,this}var nd=td,rd=Vu,od=Lu,id=Yu,ad=Qu,sd=nd;function tt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}tt.prototype.clear=rd;tt.prototype.delete=od;tt.prototype.get=id;tt.prototype.has=ad;tt.prototype.set=sd;var ld=tt;function cd(){this.__data__=[],this.size=0}var ud=cd;function dd(e,t){return e===t||e!==e&&t!==t}var Et=dd,fd=Et;function pd(e,t){for(var n=e.length;n--;)if(fd(e[n][0],t))return n;return-1}var fn=pd,md=fn,gd=Array.prototype,hd=gd.splice;function yd(e){var t=this.__data__,n=md(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():hd.call(t,n,1),--this.size,!0}var vd=yd,wd=fn;function Sd(e){var t=this.__data__,n=wd(t,e);return n<0?void 0:t[n][1]}var _d=Sd,bd=fn;function Cd(e){return bd(this.__data__,e)>-1}var Ed=Cd,Ad=fn;function Id(e,t){var n=this.__data__,o=Ad(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Td=Id,Pd=ud,kd=vd,Nd=_d,xd=Ed,$d=Td;function nt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}nt.prototype.clear=Pd;nt.prototype.delete=kd;nt.prototype.get=Nd;nt.prototype.has=xd;nt.prototype.set=$d;var pn=nt,Od=Fe,Rd=ve,Ud=Od(Rd,"Map"),Tr=Ud,Eo=ld,Bd=pn,Md=Tr;function Fd(){this.size=0,this.__data__={hash:new Eo,map:new(Md||Bd),string:new Eo}}var Vd=Fd;function Dd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ld=Dd,jd=Ld;function zd(e,t){var n=e.__data__;return jd(t)?n[typeof t=="string"?"string":"hash"]:n.map}var mn=zd,Gd=mn;function Hd(e){var t=Gd(this,e).delete(e);return this.size-=t?1:0,t}var Wd=Hd,Yd=mn;function Kd(e){return Yd(this,e).get(e)}var qd=Kd,Jd=mn;function Zd(e){return Jd(this,e).has(e)}var Qd=Zd,Xd=mn;function ef(e,t){var n=Xd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var tf=ef,nf=Vd,rf=Wd,of=qd,af=Qd,sf=tf;function rt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}rt.prototype.clear=nf;rt.prototype.delete=rf;rt.prototype.get=of;rt.prototype.has=af;rt.prototype.set=sf;var Pr=rt,Qi=Pr,lf="Expected a function";function kr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(lf);var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,o);return n.cache=a.set(i,s)||a,s};return n.cache=new(kr.Cache||Qi),n}kr.Cache=Qi;var cf=kr,uf=cf,df=500;function ff(e){var t=uf(e,function(o){return n.size===df&&n.clear(),o}),n=t.cache;return t}var pf=ff,mf=pf,gf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hf=/\\(\\)?/g,yf=mf(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(gf,function(n,o,i,a){t.push(i?a.replace(hf,"$1"):o||n)}),t}),vf=yf;function wf(e,t){for(var n=-1,o=e==null?0:e.length,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}var Xi=wf,Ao=un,Sf=Xi,_f=Ee,bf=Er,Cf=1/0,Io=Ao?Ao.prototype:void 0,To=Io?Io.toString:void 0;function ea(e){if(typeof e=="string")return e;if(_f(e))return Sf(e,ea)+"";if(bf(e))return To?To.call(e):"";var t=e+"";return t=="0"&&1/e==-Cf?"-0":t}var Ef=ea,Af=Ef;function If(e){return e==null?"":Af(e)}var Tf=If,Pf=Ee,kf=Ar,Nf=vf,xf=Tf;function $f(e,t){return Pf(e)?e:kf(e,t)?[e]:Nf(xf(e))}var gn=$f,Of=Er,Rf=1/0;function Uf(e){if(typeof e=="string"||Of(e))return e;var t=e+"";return t=="0"&&1/e==-Rf?"-0":t}var At=Uf,Bf=gn,Mf=At;function Ff(e,t){t=Bf(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[Mf(t[n++])];return n&&n==o?e:void 0}var Nr=Ff,Vf=Nr;function Df(e,t,n){var o=e==null?void 0:Vf(e,t);return o===void 0?n:o}var Ue=Df,Lf=pn;function jf(){this.__data__=new Lf,this.size=0}var zf=jf;function Gf(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Hf=Gf;function Wf(e){return this.__data__.get(e)}var Yf=Wf;function Kf(e){return this.__data__.has(e)}var qf=Kf,Jf=pn,Zf=Tr,Qf=Pr,Xf=200;function ep(e,t){var n=this.__data__;if(n instanceof Jf){var o=n.__data__;if(!Zf||o.length<Xf-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Qf(o)}return n.set(e,t),this.size=n.size,this}var tp=ep,np=pn,rp=zf,op=Hf,ip=Yf,ap=qf,sp=tp;function ot(e){var t=this.__data__=new np(e);this.size=t.size}ot.prototype.clear=rp;ot.prototype.delete=op;ot.prototype.get=ip;ot.prototype.has=ap;ot.prototype.set=sp;var xr=ot,lp=Fe,cp=function(){try{var e=lp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ta=cp,Po=ta;function up(e,t,n){t=="__proto__"&&Po?Po(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var $r=up,dp=$r,fp=Et;function pp(e,t,n){(n!==void 0&&!fp(e[t],n)||n===void 0&&!(t in e))&&dp(e,t,n)}var na=pp;function mp(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),l=s.length;l--;){var c=s[e?l:++i];if(n(a[c],c,a)===!1)break}return t}}var gp=mp,hp=gp,yp=hp(),vp=yp,qn={exports:{}};(function(e,t){var n=ve,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,l=s?s.allocUnsafe:void 0;function c(u,d){if(d)return u.slice();var g=u.length,f=l?l(g):new u.constructor(g);return u.copy(f),f}e.exports=c})(qn,qn.exports);var wp=ve,Sp=wp.Uint8Array,ra=Sp,ko=ra;function _p(e){var t=new e.constructor(e.byteLength);return new ko(t).set(new ko(e)),t}var bp=_p,Cp=bp;function Ep(e,t){var n=t?Cp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ap=Ep;function Ip(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Tp=Ip,Pp=Ae,No=Object.create,kp=function(){function e(){}return function(t){if(!Pp(t))return{};if(No)return No(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Np=kp;function xp(e,t){return function(n){return e(t(n))}}var oa=xp,$p=oa,Op=$p(Object.getPrototypeOf,Object),Or=Op,Rp=Object.prototype;function Up(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Rp;return e===n}var Rr=Up,Bp=Np,Mp=Or,Fp=Rr;function Vp(e){return typeof e.constructor=="function"&&!Fp(e)?Bp(Mp(e)):{}}var Dp=Vp,Lp=et,jp=Me,zp="[object Arguments]";function Gp(e){return jp(e)&&Lp(e)==zp}var Hp=Gp,xo=Hp,Wp=Me,ia=Object.prototype,Yp=ia.hasOwnProperty,Kp=ia.propertyIsEnumerable,qp=xo(function(){return arguments}())?xo:function(e){return Wp(e)&&Yp.call(e,"callee")&&!Kp.call(e,"callee")},Ur=qp,Jp=9007199254740991;function Zp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Jp}var Br=Zp,Qp=Ir,Xp=Br;function em(e){return e!=null&&Xp(e.length)&&!Qp(e)}var hn=em,tm=hn,nm=Me;function rm(e){return nm(e)&&tm(e)}var om=rm,St={exports:{}};function im(){return!1}var am=im;(function(e,t){var n=ve,o=am,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?n.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u})(St,St.exports);var sm=et,lm=Or,cm=Me,um="[object Object]",dm=Function.prototype,fm=Object.prototype,aa=dm.toString,pm=fm.hasOwnProperty,mm=aa.call(Object);function gm(e){if(!cm(e)||sm(e)!=um)return!1;var t=lm(e);if(t===null)return!0;var n=pm.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&aa.call(n)==mm}var hm=gm,ym=et,vm=Br,wm=Me,Sm="[object Arguments]",_m="[object Array]",bm="[object Boolean]",Cm="[object Date]",Em="[object Error]",Am="[object Function]",Im="[object Map]",Tm="[object Number]",Pm="[object Object]",km="[object RegExp]",Nm="[object Set]",xm="[object String]",$m="[object WeakMap]",Om="[object ArrayBuffer]",Rm="[object DataView]",Um="[object Float32Array]",Bm="[object Float64Array]",Mm="[object Int8Array]",Fm="[object Int16Array]",Vm="[object Int32Array]",Dm="[object Uint8Array]",Lm="[object Uint8ClampedArray]",jm="[object Uint16Array]",zm="[object Uint32Array]",H={};H[Um]=H[Bm]=H[Mm]=H[Fm]=H[Vm]=H[Dm]=H[Lm]=H[jm]=H[zm]=!0;H[Sm]=H[_m]=H[Om]=H[bm]=H[Rm]=H[Cm]=H[Em]=H[Am]=H[Im]=H[Tm]=H[Pm]=H[km]=H[Nm]=H[xm]=H[$m]=!1;function Gm(e){return wm(e)&&vm(e.length)&&!!H[ym(e)]}var Hm=Gm;function Wm(e){return function(t){return e(t)}}var Ym=Wm,Jn={exports:{}};(function(e,t){var n=qi,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,l=function(){try{var c=i&&i.require&&i.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Jn,Jn.exports);var Km=Hm,qm=Ym,$o=Jn.exports,Oo=$o&&$o.isTypedArray,Jm=Oo?qm(Oo):Km,Mr=Jm;function Zm(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var sa=Zm,Qm=$r,Xm=Et,eg=Object.prototype,tg=eg.hasOwnProperty;function ng(e,t,n){var o=e[t];(!(tg.call(e,t)&&Xm(o,n))||n===void 0&&!(t in e))&&Qm(e,t,n)}var la=ng,rg=la,og=$r;function ig(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=o?o(n[l],e[l],l,n,e):void 0;c===void 0&&(c=e[l]),i?og(n,l,c):rg(n,l,c)}return n}var ag=ig;function sg(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var lg=sg,cg=9007199254740991,ug=/^(?:0|[1-9]\d*)$/;function dg(e,t){var n=typeof e;return t=t==null?cg:t,!!t&&(n=="number"||n!="symbol"&&ug.test(e))&&e>-1&&e%1==0&&e<t}var yn=dg,fg=lg,pg=Ur,mg=Ee,gg=St.exports,hg=yn,yg=Mr,vg=Object.prototype,wg=vg.hasOwnProperty;function Sg(e,t){var n=mg(e),o=!n&&pg(e),i=!n&&!o&&gg(e),a=!n&&!o&&!i&&yg(e),s=n||o||i||a,l=s?fg(e.length,String):[],c=l.length;for(var u in e)(t||wg.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||hg(u,c)))&&l.push(u);return l}var ca=Sg;function _g(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var bg=_g,Cg=Ae,Eg=Rr,Ag=bg,Ig=Object.prototype,Tg=Ig.hasOwnProperty;function Pg(e){if(!Cg(e))return Ag(e);var t=Eg(e),n=[];for(var o in e)o=="constructor"&&(t||!Tg.call(e,o))||n.push(o);return n}var kg=Pg,Ng=ca,xg=kg,$g=hn;function Og(e){return $g(e)?Ng(e,!0):xg(e)}var Fr=Og,Rg=ag,Ug=Fr;function Bg(e){return Rg(e,Ug(e))}var Mg=Bg,Ro=na,Fg=qn.exports,Vg=Ap,Dg=Tp,Lg=Dp,Uo=Ur,Bo=Ee,jg=om,zg=St.exports,Gg=Ir,Hg=Ae,Wg=hm,Yg=Mr,Mo=sa,Kg=Mg;function qg(e,t,n,o,i,a,s){var l=Mo(e,n),c=Mo(t,n),u=s.get(c);if(u){Ro(e,n,u);return}var d=a?a(l,c,n+"",e,t,s):void 0,g=d===void 0;if(g){var f=Bo(c),p=!f&&zg(c),v=!f&&!p&&Yg(c);d=c,f||p||v?Bo(l)?d=l:jg(l)?d=Dg(l):p?(g=!1,d=Fg(c,!0)):v?(g=!1,d=Vg(c,!0)):d=[]:Wg(c)||Uo(c)?(d=l,Uo(l)?d=Kg(l):(!Hg(l)||Gg(l))&&(d=Lg(c))):g=!1}g&&(s.set(c,d),i(d,c,o,a,s),s.delete(c)),Ro(e,n,d)}var Jg=qg,Zg=xr,Qg=na,Xg=vp,eh=Jg,th=Ae,nh=Fr,rh=sa;function ua(e,t,n,o,i){e!==t&&Xg(t,function(a,s){if(i||(i=new Zg),th(a))eh(e,t,s,n,ua,o,i);else{var l=o?o(rh(e,s),a,s+"",e,t,i):void 0;l===void 0&&(l=a),Qg(e,s,l)}},nh)}var oh=ua;function ih(e){return e}var Vr=ih;function ah(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var sh=ah,lh=sh,Fo=Math.max;function ch(e,t,n){return t=Fo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Fo(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),lh(e,this,l)}}var uh=ch;function dh(e){return function(){return e}}var fh=dh,ph=fh,Vo=ta,mh=Vr,gh=Vo?function(e,t){return Vo(e,"toString",{configurable:!0,enumerable:!1,value:ph(t),writable:!0})}:mh,hh=gh,yh=800,vh=16,wh=Date.now;function Sh(e){var t=0,n=0;return function(){var o=wh(),i=vh-(o-n);if(n=o,i>0){if(++t>=yh)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var _h=Sh,bh=hh,Ch=_h,Eh=Ch(bh),Ah=Eh,Ih=Vr,Th=uh,Ph=Ah;function kh(e,t){return Ph(Th(e,t,Ih),e+"")}var Nh=kh,xh=Et,$h=hn,Oh=yn,Rh=Ae;function Uh(e,t,n){if(!Rh(n))return!1;var o=typeof t;return(o=="number"?$h(n)&&Oh(t,n.length):o=="string"&&t in n)?xh(n[t],e):!1}var Bh=Uh,Mh=Nh,Fh=Bh;function Vh(e){return Mh(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&Fh(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var l=n[o];l&&e(t,l,o,a)}return t})}var Dh=Vh,Lh=oh,jh=Dh,zh=jh(function(e,t,n){Lh(e,t,n)}),Gh=zh;const Dr=(e,t,n,o)=>B(void 0,void 0,void 0,function*(){const i=yield Promise.all(o.map(s=>s(e,t,n))),a=Gh({},...i);return Dn(a)?Promise.resolve():Promise.reject(a)}),We={getAmplifyConfig(){return B(this,void 0,void 0,function*(){return W.Amplify.configure()})},getCurrentUser(){return B(this,void 0,void 0,function*(){return W.Auth.currentAuthenticatedUser()})},handleSignUp(e){return B(this,void 0,void 0,function*(){return W.Auth.signUp(Object.assign(Object.assign({},e),{autoSignIn:{enabled:!0}}))})},handleSignIn({username:e,password:t}){return B(this,void 0,void 0,function*(){return W.Auth.signIn(e,t)})},handleConfirmSignIn({user:e,code:t,mfaType:n}){return B(this,void 0,void 0,function*(){return W.Auth.confirmSignIn(e,t,n)})},handleConfirmSignUp({username:e,code:t}){return B(this,void 0,void 0,function*(){return yield W.Auth.confirmSignUp(e,t)})},handleForgotPasswordSubmit({username:e,code:t,password:n}){return B(this,void 0,void 0,function*(){return W.Auth.forgotPasswordSubmit(e,t,n)})},handleForgotPassword(e){return B(this,void 0,void 0,function*(){return W.Auth.forgotPassword(e)})},validateCustomSignUp(e,t){return B(this,void 0,void 0,function*(){})},validateFormPassword(e,t,n){return B(this,void 0,void 0,function*(){const{password:o}=e,{password:i}=t;if(!i||!n)return null;const a=[],s=+(n==null?void 0:n.passwordPolicyMinLength);o.length<s&&a.push(`Password must have at least ${s} characters`);const l=n==null?void 0:n.passwordPolicyCharacters;return l==null||l.forEach(c=>{switch(c){case"REQUIRES_LOWERCASE":/[a-z]/.test(o)||a.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(o)||a.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(o)||a.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":il(o)||a.push("Password must have special characters")}}),a.length!==0?{password:a}:null})},validateConfirmPassword(e,t){return B(this,void 0,void 0,function*(){const{password:n,confirm_password:o}=e,{confirm_password:i,password:a}=t;return n||o?(n||o)&&n!==o&&(i&&a||(n==null?void 0:n.length)>=6&&(o==null?void 0:o.length)>=6)?{confirm_password:"Your passwords must match"}:void 0:null})},validatePreferredUsername(e,t){return B(this,void 0,void 0,function*(){})}},Hh=["SMS_MFA","SOFTWARE_TOKEN_MFA"],Nn=e=>Ue(e,"data.challengeName"),Do=(e,t)=>e===t,Lo=e=>Hh.includes(e);function Wh({services:e}){return Ct({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:t=>({user:t.user})},rejected:{type:"final",data:(t,n)=>({intent:t.redirectIntent,authAttributes:t.authAttributes})}}},{actions:{clearAttributeToVerify:dc,clearChallengeName:fc,clearRequiredAttributes:pc,clearError:gr,clearFormValues:hr,clearTouched:yr,clearUnverifiedContactMethods:mc,clearValidationError:vr,handleInput:_r,handleSubmit:br,handleBlur:Cr,parsePhoneNumber:Ki,setChallengeName:yc,setConfirmResetPasswordIntent:wc,setConfirmSignUpIntent:Sc,setRequiredAttributes:vc,setCredentials:Wi,setFieldErrors:wr,setRemoteError:Sr,setTotpSecretCode:hc,setUnverifiedContactMethods:_c,setUser:Yi,setUsernameAuthAttributes:Ec,sendUpdate:mr()},guards:{shouldAutoSignIn:t=>(t==null?void 0:t.intent)==="autoSignIn",shouldAutoSubmit:t=>(t==null?void 0:t.intent)==="autoSignInSubmit",shouldConfirmSignIn:(t,n)=>Lo(Nn(n)),shouldForceChangePassword:(t,n)=>Do(Nn(n),"NEW_PASSWORD_REQUIRED"),shouldRedirectToConfirmResetPassword:(t,n)=>n.data.code==="PasswordResetRequiredException",shouldRedirectToConfirmSignUp:(t,n)=>n.data.code==="UserNotConfirmedException",shouldRequestVerification:(t,n)=>{const{unverified:o,verified:i}=n.data;return Dn(i)&&!Dn(o)},shouldSetupTOTP:(t,n)=>Do(Nn(n),"MFA_SETUP")},services:{signIn(t){return B(this,void 0,void 0,function*(){const{authAttributes:n={},formValues:o={}}=t,i=Object.assign(Object.assign({},n),o),{username:a,password:s}=i;return yield e.handleSignIn({username:a,password:s})})},confirmSignIn(t){return B(this,void 0,void 0,function*(){const{challengeName:n,user:o}=t,{confirmation_code:i}=t.formValues,a=Lo(n)?n:void 0;return yield e.handleConfirmSignIn({user:o,code:i,mfaType:a}),yield W.Auth.currentAuthenticatedUser()})},forceNewPassword(t){return B(this,void 0,void 0,function*(){const{user:n,formValues:o}=t;let i,{password:a,confirm_password:s,phone_number:l,country_code:c}=o,u=fi(o,["password","confirm_password","phone_number","country_code"]);l&&(i=`${c}${l}`.replace(/[^A-Z0-9+]/gi,""),u=Object.assign(Object.assign({},u),{phone_number:i}));try{const d=yield W.Auth.completeNewPassword(n,a,u);return d.challengeName?d:W.Auth.currentAuthenticatedUser()}catch(d){return Promise.reject(d)}})},getTotpSecretCode(t){return B(this,void 0,void 0,function*(){const{user:n}=t;return W.Auth.setupTOTP(n)})},verifyTotpToken(t){return B(this,void 0,void 0,function*(){const{formValues:n,user:o}=t,{confirmation_code:i}=n;return W.Auth.verifyTotpToken(o,i)})},federatedSignIn(t,n){return B(this,void 0,void 0,function*(){const{provider:o}=n.data;return yield W.Auth.federatedSignIn({provider:o})})},checkVerifiedContact(t){return B(this,void 0,void 0,function*(){const{user:n}=t;return yield W.Auth.verifiedContact(n)})},verifyUser(t){return B(this,void 0,void 0,function*(){const{unverifiedAttr:n}=t.formValues,o=yield W.Auth.verifyCurrentUserAttribute(n);return t.attributeToVerify=n,o})},confirmVerifyUser(t){return B(this,void 0,void 0,function*(){const{attributeToVerify:n}=t,{confirmation_code:o}=t.formValues;return yield W.Auth.verifyCurrentUserAttributeSubmit(n,o)})},validateFields(t){return B(this,void 0,void 0,function*(){return Dr(t.formValues,t.touched,t.passwordSettings,[We.validateFormPassword,We.validateConfirmPassword])})}}})}const Yh=Ct({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>W.Auth.signOut()}});function Kh({services:e}){return Ct({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:gr,clearFormValues:hr,clearTouched:yr,clearUsername:gc,clearValidationError:vr,handleInput:_r,handleSubmit:br,handleBlur:Cr,resendCode:Ac,setFieldErrors:wr,setRemoteError:Sr,setUsername:bc,sendUpdate:mr()},guards:{shouldAutoConfirmReset:(t,n)=>!(!t.intent||t.intent!=="confirmPasswordReset")},services:{resetPassword(t){return B(this,void 0,void 0,function*(){const{username:n}=t;return e.handleForgotPassword(n)})},confirmResetPassword(t){return B(this,void 0,void 0,function*(){const{username:n}=t,{confirmation_code:o,password:i}=t.formValues;return e.handleForgotPasswordSubmit({username:n,code:o,password:i})})},validateFields(t,n){return B(this,void 0,void 0,function*(){return Dr(t.formValues,t.touched,t.passwordSettings,[We.validateFormPassword,We.validateConfirmPassword])})}}})}var qh="__lodash_hash_undefined__";function Jh(e){return this.__data__.set(e,qh),this}var Zh=Jh;function Qh(e){return this.__data__.has(e)}var Xh=Qh,ey=Pr,ty=Zh,ny=Xh;function Qt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ey;++t<n;)this.add(e[t])}Qt.prototype.add=Qt.prototype.push=ty;Qt.prototype.has=ny;var ry=Qt;function oy(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}var iy=oy;function ay(e,t){return e.has(t)}var sy=ay,ly=ry,cy=iy,uy=sy,dy=1,fy=2;function py(e,t,n,o,i,a){var s=n&dy,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var g=-1,f=!0,p=n&fy?new ly:void 0;for(a.set(e,t),a.set(t,e);++g<l;){var v=e[g],h=t[g];if(o)var _=s?o(h,v,g,t,e,a):o(v,h,g,e,t,a);if(_!==void 0){if(_)continue;f=!1;break}if(p){if(!cy(t,function(m,y){if(!uy(p,y)&&(v===m||i(v,m,n,o,a)))return p.push(y)})){f=!1;break}}else if(!(v===h||i(v,h,n,o,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var da=py;function my(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var gy=my;function hy(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var yy=hy,jo=un,zo=ra,vy=Et,wy=da,Sy=gy,_y=yy,by=1,Cy=2,Ey="[object Boolean]",Ay="[object Date]",Iy="[object Error]",Ty="[object Map]",Py="[object Number]",ky="[object RegExp]",Ny="[object Set]",xy="[object String]",$y="[object Symbol]",Oy="[object ArrayBuffer]",Ry="[object DataView]",Go=jo?jo.prototype:void 0,xn=Go?Go.valueOf:void 0;function Uy(e,t,n,o,i,a,s){switch(n){case Ry:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Oy:return!(e.byteLength!=t.byteLength||!a(new zo(e),new zo(t)));case Ey:case Ay:case Py:return vy(+e,+t);case Iy:return e.name==t.name&&e.message==t.message;case ky:case xy:return e==t+"";case Ty:var l=Sy;case Ny:var c=o&by;if(l||(l=_y),e.size!=t.size&&!c)return!1;var u=s.get(e);if(u)return u==t;o|=Cy,s.set(e,t);var d=wy(l(e),l(t),o,i,a,s);return s.delete(e),d;case $y:if(xn)return xn.call(e)==xn.call(t)}return!1}var By=Uy;function My(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var fa=My,Fy=fa,Vy=Ee;function Dy(e,t,n){var o=t(e);return Vy(e)?o:Fy(o,n(e))}var pa=Dy;function Ly(e,t){for(var n=-1,o=e==null?0:e.length,i=0,a=[];++n<o;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var jy=Ly;function zy(){return[]}var ma=zy,Gy=jy,Hy=ma,Wy=Object.prototype,Yy=Wy.propertyIsEnumerable,Ho=Object.getOwnPropertySymbols,Ky=Ho?function(e){return e==null?[]:(e=Object(e),Gy(Ho(e),function(t){return Yy.call(e,t)}))}:Hy,ga=Ky,qy=oa,Jy=qy(Object.keys,Object),Zy=Jy,Qy=Rr,Xy=Zy,ev=Object.prototype,tv=ev.hasOwnProperty;function nv(e){if(!Qy(e))return Xy(e);var t=[];for(var n in Object(e))tv.call(e,n)&&n!="constructor"&&t.push(n);return t}var rv=nv,ov=ca,iv=rv,av=hn;function sv(e){return av(e)?ov(e):iv(e)}var ha=sv,lv=pa,cv=ga,uv=ha;function dv(e){return lv(e,uv,cv)}var fv=dv,Wo=fv,pv=1,mv=Object.prototype,gv=mv.hasOwnProperty;function hv(e,t,n,o,i,a){var s=n&pv,l=Wo(e),c=l.length,u=Wo(t),d=u.length;if(c!=d&&!s)return!1;for(var g=c;g--;){var f=l[g];if(!(s?f in t:gv.call(t,f)))return!1}var p=a.get(e),v=a.get(t);if(p&&v)return p==t&&v==e;var h=!0;a.set(e,t),a.set(t,e);for(var _=s;++g<c;){f=l[g];var m=e[f],y=t[f];if(o)var w=s?o(y,m,f,t,e,a):o(m,y,f,e,t,a);if(!(w===void 0?m===y||i(m,y,n,o,a):w)){h=!1;break}_||(_=f=="constructor")}if(h&&!_){var S=e.constructor,b=t.constructor;S!=b&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof b=="function"&&b instanceof b)&&(h=!1)}return a.delete(e),a.delete(t),h}var yv=hv,vv=Fe,wv=ve,Sv=vv(wv,"DataView"),_v=Sv,bv=Fe,Cv=ve,Ev=bv(Cv,"Promise"),Av=Ev,Iv=Fe,Tv=ve,Pv=Iv(Tv,"Set"),kv=Pv,Nv=Fe,xv=ve,$v=Nv(xv,"WeakMap"),Ov=$v,Zn=_v,Qn=Tr,Xn=Av,er=kv,tr=Ov,ya=et,it=Zi,Yo="[object Map]",Rv="[object Object]",Ko="[object Promise]",qo="[object Set]",Jo="[object WeakMap]",Zo="[object DataView]",Uv=it(Zn),Bv=it(Qn),Mv=it(Xn),Fv=it(er),Vv=it(tr),Re=ya;(Zn&&Re(new Zn(new ArrayBuffer(1)))!=Zo||Qn&&Re(new Qn)!=Yo||Xn&&Re(Xn.resolve())!=Ko||er&&Re(new er)!=qo||tr&&Re(new tr)!=Jo)&&(Re=function(e){var t=ya(e),n=t==Rv?e.constructor:void 0,o=n?it(n):"";if(o)switch(o){case Uv:return Zo;case Bv:return Yo;case Mv:return Ko;case Fv:return qo;case Vv:return Jo}return t});var Dv=Re,$n=xr,Lv=da,jv=By,zv=yv,Qo=Dv,Xo=Ee,ei=St.exports,Gv=Mr,Hv=1,ti="[object Arguments]",ni="[object Array]",Bt="[object Object]",Wv=Object.prototype,ri=Wv.hasOwnProperty;function Yv(e,t,n,o,i,a){var s=Xo(e),l=Xo(t),c=s?ni:Qo(e),u=l?ni:Qo(t);c=c==ti?Bt:c,u=u==ti?Bt:u;var d=c==Bt,g=u==Bt,f=c==u;if(f&&ei(e)){if(!ei(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new $n),s||Gv(e)?Lv(e,t,n,o,i,a):jv(e,t,c,n,o,i,a);if(!(n&Hv)){var p=d&&ri.call(e,"__wrapped__"),v=g&&ri.call(t,"__wrapped__");if(p||v){var h=p?e.value():e,_=v?t.value():t;return a||(a=new $n),i(h,_,n,o,a)}}return f?(a||(a=new $n),zv(e,t,n,o,i,a)):!1}var Kv=Yv,qv=Kv,oi=Me;function va(e,t,n,o,i){return e===t?!0:e==null||t==null||!oi(e)&&!oi(t)?e!==e&&t!==t:qv(e,t,n,o,va,i)}var wa=va,Jv=xr,Zv=wa,Qv=1,Xv=2;function ew(e,t,n,o){var i=n.length,a=i,s=!o;if(e==null)return!a;for(e=Object(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){l=n[i];var c=l[0],u=e[c],d=l[1];if(s&&l[2]){if(u===void 0&&!(c in e))return!1}else{var g=new Jv;if(o)var f=o(u,d,c,e,t,g);if(!(f===void 0?Zv(d,u,Qv|Xv,o,g):f))return!1}}return!0}var tw=ew,nw=Ae;function rw(e){return e===e&&!nw(e)}var Sa=rw,ow=Sa,iw=ha;function aw(e){for(var t=iw(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,ow(i)]}return t}var sw=aw;function lw(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var _a=lw,cw=tw,uw=sw,dw=_a;function fw(e){var t=uw(e);return t.length==1&&t[0][2]?dw(t[0][0],t[0][1]):function(n){return n===e||cw(n,e,t)}}var pw=fw;function mw(e,t){return e!=null&&t in Object(e)}var gw=mw,hw=gn,yw=Ur,vw=Ee,ww=yn,Sw=Br,_w=At;function bw(e,t,n){t=hw(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=_w(t[o]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++o!=i?a:(i=e==null?0:e.length,!!i&&Sw(i)&&ww(s,i)&&(vw(e)||yw(e)))}var Cw=bw,Ew=gw,Aw=Cw;function Iw(e,t){return e!=null&&Aw(e,t,Ew)}var Tw=Iw,Pw=wa,kw=Ue,Nw=Tw,xw=Ar,$w=Sa,Ow=_a,Rw=At,Uw=1,Bw=2;function Mw(e,t){return xw(e)&&$w(t)?Ow(Rw(e),t):function(n){var o=kw(n,e);return o===void 0&&o===t?Nw(n,e):Pw(t,o,Uw|Bw)}}var Fw=Mw;function Vw(e){return function(t){return t==null?void 0:t[e]}}var Dw=Vw,Lw=Nr;function jw(e){return function(t){return Lw(t,e)}}var zw=jw,Gw=Dw,Hw=zw,Ww=Ar,Yw=At;function Kw(e){return Ww(e)?Gw(Yw(e)):Hw(e)}var qw=Kw,Jw=pw,Zw=Fw,Qw=Vr,Xw=Ee,eS=qw;function tS(e){return typeof e=="function"?e:e==null?Qw:typeof e=="object"?Xw(e)?Zw(e[0],e[1]):Jw(e):eS(e)}var nS=tS,rS=la,oS=gn,iS=yn,ii=Ae,aS=At;function sS(e,t,n,o){if(!ii(e))return e;t=oS(t,e);for(var i=-1,a=t.length,s=a-1,l=e;l!=null&&++i<a;){var c=aS(t[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=s){var d=l[c];u=o?o(d,c,l):void 0,u===void 0&&(u=ii(d)?d:iS(t[i+1])?[]:{})}rS(l,c,u),l=l[c]}return e}var lS=sS,cS=Nr,uS=lS,dS=gn;function fS(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],l=cS(e,s);n(l,s)&&uS(a,dS(s,e),l)}return a}var pS=fS,mS=fa,gS=Or,hS=ga,yS=ma,vS=Object.getOwnPropertySymbols,wS=vS?function(e){for(var t=[];e;)mS(t,hS(e)),e=gS(e);return t}:yS,SS=wS,_S=pa,bS=SS,CS=Fr;function ES(e){return _S(e,CS,bS)}var AS=ES,IS=Xi,TS=nS,PS=pS,kS=AS;function NS(e,t){if(e==null)return{};var n=IS(kS(e),function(o){return[o]});return t=TS(t),PS(e,n,function(o,i){return t(o,i[0])})}var xS=NS;function $S({services:e}){return Ct({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(t,n)=>{const{username:o,password:i}=t.authAttributes;return{user:Ue(n,"data.user")||t.user,authAttributes:{username:o,password:i},intent:t.intent}}}}},{guards:{isUserAlreadyConfirmed:(t,n)=>n.data.message==="User is already confirmed.",shouldInitConfirmSignUp:t=>t.intent&&t.intent==="confirmSignUp",shouldSkipConfirm:(t,n)=>n.data.userConfirmed},actions:{clearError:gr,clearFormValues:hr,clearTouched:yr,clearValidationError:vr,handleInput:_r,handleSubmit:br,handleBlur:Cr,parsePhoneNumber:Ki,setCredentials:Wi,setFieldErrors:wr,setRemoteError:Sr,setCodeDeliveryDetails:Cc,setUser:Yi,sendUpdate:mr(),setAutoSignInIntent:ce({intent:t=>(t==null?void 0:t.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"})},services:{confirmSignUp(t,n){return B(this,void 0,void 0,function*(){const{user:o,authAttributes:i,formValues:a}=t,{confirmation_code:s}=a,l=Ue(o,"username")||Ue(i,"username");return yield e.handleConfirmSignUp({username:l,code:s})})},resendConfirmationCode(t,n){return B(this,void 0,void 0,function*(){const{user:o,authAttributes:i}=t,a=Ue(o,"username")||Ue(i,"username");return W.Auth.resendSignUp(a)})},federatedSignIn(t,n){return B(this,void 0,void 0,function*(){const{provider:o}=n.data;return yield W.Auth.federatedSignIn({provider:o})})},signUp(t,n){return B(this,void 0,void 0,function*(){const{formValues:o,loginMechanisms:i}=t,[a="username"]=i,{[a]:s,password:l}=o,c=xS(o,(u,d)=>{switch(d){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return d.startsWith("custom:")}});return yield e.handleSignUp({username:s,password:l,attributes:c})})},validateSignUp(t,n){return B(this,void 0,void 0,function*(){return Dr(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])})}}})}const{choose:OS}=Vi;function RS(){return Ct({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:We,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:OS([{cond:"hasActor",actions:cc(e=>e.actorRef)}]),setUser:ce({user:(e,t)=>t.data}),setActorDoneData:ce({actorDoneData:(e,t)=>{var n,o;return{authAttributes:Object.assign({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(o=t.data)===null||o===void 0?void 0:o.intent}},user:(e,t)=>{var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:ce({user:void 0}),clearActorDoneData:ce({actorDoneData:void 0}),applyAmplifyConfig:ce({config(e,t){var n,o,i,a,s,l,c,u,d;const g=(o=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(b=>b.toLowerCase()))!==null&&o!==void 0?o:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(b=>b.toLowerCase()))!==null&&a!==void 0?a:[],p=(l=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(b=>b.toLowerCase()))!==null&&l!==void 0?l:[],v=(u=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(b=>b.toLowerCase()))!==null&&u!==void 0?u:[],h=t.data.aws_cognito_password_protection_settings||{};g.length===0&&g.push("username");const{loginMechanisms:_,signUpAttributes:m,socialProviders:y,initialState:w,formFields:S}=e.config;return{loginMechanisms:_!=null?_:g,formFields:(d=US(S))!==null&&d!==void 0?d:{},passwordSettings:h,signUpAttributes:m!=null?m:Array.from(new Set([...f,...p])),socialProviders:y!=null?y:v.sort(),initialState:w}}}),spawnSignInActor:ce({actorRef:(e,t)=>{var n,o,i,a,s,l,c;const{services:u}=e,d=Wh({services:u}).withContext({authAttributes:(o=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&o!==void 0?o:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(l=e.config)===null||l===void 0?void 0:l.socialProviders,formFields:(c=e.config)===null||c===void 0?void 0:c.formFields});return $t(d,{name:"signInActor"})}}),spawnSignUpActor:ce({actorRef:(e,t)=>{var n,o,i,a,s,l,c;const{services:u}=e,d=$S({services:u}).withContext({authAttributes:(o=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&o!==void 0?o:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(l=e.config)===null||l===void 0?void 0:l.formFields,passwordSettings:(c=e.config)===null||c===void 0?void 0:c.passwordSettings});return $t(d,{name:"signUpActor"})}}),spawnResetPasswordActor:ce({actorRef:(e,t)=>{var n,o,i,a,s;const{services:l}=e,c=Kh({services:l}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(o=e.actorDoneData)===null||o===void 0?void 0:o.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return $t(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:ce({actorRef:e=>{const t=Yh.withContext({user:e.user});return $t(t,{name:"signOutActor"})}}),stopSignInActor:Ut("signInActor"),stopSignUpActor:Ut("signUpActor"),stopResetPasswordActor:Ut("resetPasswordActor"),stopSignOutActor:Ut("signOutActor"),configure:ce((e,t)=>{const n=t.data,{services:o}=n,i=fi(n,["services"]);return{services:Object.assign(Object.assign({},We),o),config:i}}),setHasSetup:ce({hasSetup:!0})},guards:{isInitialStateSignUp:e=>e.config.initialState==="signUp",isInitialStateResetPassword:e=>e.config.initialState==="resetPassword",shouldRedirectToSignUp:(e,t)=>{var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:(e,t)=>{var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:(e,t)=>{var n,o;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((o=t.data)===null||o===void 0?void 0:o.intent)==="autoSignInSubmit"},shouldSetup:e=>e.hasSetup===!1,hasActor:e=>!!e.actorRef},services:{getCurrentUser:(e,t)=>e.services.getCurrentUser(),getAmplifyConfig:(e,t)=>e.services.getAmplifyConfig()}})}function US(e){return e&&Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(n=>{let o=e[t][n];o.required=o.isRequired})}),e}const BS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},MS={class:"amplify-flex amplify-authenticator__icon-wrapper"},FS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[r.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),VS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[r.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),we={__name:"base-alert",setup(e){const t=r.ref(!0),n=N("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=ae;return t.value?(r.openBlock(),r.createElementBlock("div",BS,[r.createElementVNode("div",MS,[FS,r.createElementVNode("div",null,[r.renderSlot(i.$slots,"default")])]),r.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":r.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:o},{default:r.withCtx(()=>[VS]),_:1},8,["aria-label"])])):r.createCommentVNode("",!0)}}},Se=r.defineComponent({__name:"base-field-set",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"fieldSetI",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("fieldset",r.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[r.renderSlot(n.$slots,"default")],16)])}});function DS(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function ba(e){let t=0,n,o;const i=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...a)=>(t+=1,n||(o=r.effectScope(!0),n=o.run(()=>e(...a))),DS(i),n)}function LS(e){return"state"in e}var ai=function(){};function jS(e){return"getSnapshot"in e?e.getSnapshot():LS(e)?e.state:void 0}function zS(e,t){t===void 0&&(t=jS);var n=r.isRef(e)?e:r.shallowRef(e),o=r.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return r.watch(n,function(a,s,l){o.value=t(a);var c=a.subscribe({next:function(u){return o.value=u},error:ai,complete:ai}).unsubscribe;l(function(){return c()})},{immediate:!0}),{state:o,send:i}}const si={error:"",hasValidationErrors:!1,isPending:!1,route:"",authStatus:"",user:"",validationErrors:[""],codeDeliveryDetails:{val:"",DeliveryMedium:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},de=ba(()=>{const e=RS(),t=Hi(e).start(),n=r.ref("configuring"),{state:o,send:i}=zS(t),a=()=>{n.value="authenticated"},s=()=>{n.value="unauthenticated"},l=ol(t,async(c,u)=>{await gi(c,u,{onSignIn:a,onSignOut:s})});return W.Auth.currentAuthenticatedUser().then(()=>{n.value="authenticated"}).catch(()=>{n.value="unauthenticated"}),r.onScopeDispose(()=>{l()}),{authStatus:n,service:t,send:i,state:o}}),re=ba(()=>{const{authStatus:e,state:t,send:n}=de(),o=r.reactive({...si,send:n,state:t});return r.watchEffect(()=>{const i=ls({send:n,state:t.value});for(const a of Object.keys(si))o[a]=i[a];o.authStatus=e.value,o.send=n,o.state=t}),o}),Mt=r.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=r.toRefs(t),{send:o}=de(),i=()=>{o({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const l=te,c=ae;return r.openBlock(),r.createBlock(c,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:r.withCtx(()=>[r.createVNode(l,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),GS=r.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[r.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),HS={class:"amplify-text amplify-authenticator__federated-text"},WS=r.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),YS={class:"amplify-text amplify-authenticator__federated-text"},KS=r.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[r.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),qS={class:"amplify-text amplify-authenticator__federated-text"},JS=r.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[r.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),r.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),r.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),r.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),ZS={class:"amplify-text amplify-authenticator__federated-text"},QS=["data-label"],vn=r.defineComponent({__name:"federated-sign-in",setup(e){var y;const{state:t}=de(),{route:n}=re(),{value:{context:o}}=t,i=(y=o==null?void 0:o.config)==null?void 0:y.socialProviders,a=i==null?void 0:i.includes("amazon"),s=i==null?void 0:i.includes("apple"),l=i==null?void 0:i.includes("facebook"),c=i==null?void 0:i.includes("google"),u=l||c||a||s,{getSignInWithFederationText:d,getOrText:g}=ue,f=r.computed(()=>Fn),p=r.computed(()=>d(n,"amazon")),v=r.computed(()=>d(n,"apple")),h=r.computed(()=>d(n,"facebook")),_=r.computed(()=>d(n,"google")),m=r.computed(()=>g());return(w,S)=>{const b=te;return r.unref(u)?(r.openBlock(),r.createBlock(b,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(Mt,{key:0,provider:r.unref(f).Amazon},{default:r.withCtx(()=>[GS,r.createElementVNode("p",HS,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(s)?(r.openBlock(),r.createBlock(Mt,{key:1,provider:r.unref(f).Apple},{default:r.withCtx(()=>[WS,r.createElementVNode("p",YS,r.toDisplayString(r.unref(v)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(l)?(r.openBlock(),r.createBlock(Mt,{key:2,provider:r.unref(f).Facebook},{default:r.withCtx(()=>[KS,r.createElementVNode("p",qS,r.toDisplayString(r.unref(h)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock(Mt,{key:3,provider:r.unref(f).Google},{default:r.withCtx(()=>[JS,r.createElementVNode("p",ZS,r.toDisplayString(r.unref(_)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":r.unref(m)},null,8,QS)]),_:1})):r.createCommentVNode("",!0)}}});let XS=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let o=n[e]&63;o<36?t+=o.toString(36):o<62?t+=(o-26).toString(36).toUpperCase():o<63?t+="_":t+="-"}return t};const wn=r.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.value)};return(o,i)=>(r.openBlock(),r.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),e_={},t_={"data-amplify-label":""};function n_(e,t){return r.openBlock(),r.createElementBlock("label",t_,[r.renderSlot(e.$slots,"default")])}var Sn=tn(e_,[["render",n_]]);const r_=["aria-label","aria-checked"],o_=r.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),i_=[o_],a_=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),s_=r.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),l_=[a_,s_],c_={inheritAttrs:!1},Lr=r.defineComponent({...c_,__name:"password-control",props:{name:null,label:null,autocomplete:{default:"new-password"},hasError:{type:Boolean,default:!1},labelHidden:{type:Boolean},placeholder:null,required:{type:Boolean,default:!0},describedBy:null},setup(e){var y;const t=e,n=N("Show password"),o=N("Hide password"),i=r.ref("password"),a=r.ref(n),s=Math.floor(Math.random()*999999),{name:l,label:c,autocomplete:u,hasError:d,labelHidden:g,placeholder:f,required:p}=r.toRefs(t);let v=r.ref("");function h(){a.value=a.value===n?o:n,i.value=i.value==="password"?"text":"password"}const _=N((y=f==null?void 0:f.value)!=null?y:c.value),m=N(c.value);return(w,S)=>{const b=Sn,A=wn,E=te;return r.openBlock(),r.createBlock(E,{class:r.normalizeClass([r.unref(X).Flex,r.unref(X).Field,r.unref(X).TextField,r.unref(X).PasswordField,"amplify-authenticator__column"])},{default:r.withCtx(()=>[r.createVNode(b,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":r.unref(g)}]),for:"amplify-field-"+r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["class","for"]),r.createVNode(E,{class:r.normalizeClass([r.unref(X).Flex,r.unref(X).FieldGroup])},{default:r.withCtx(()=>[r.createVNode(E,{class:r.normalizeClass(r.unref(X).FieldGroupFieldWrapper)},{default:r.withCtx(()=>{var k;return[r.createVNode(A,r.mergeProps(w.$attrs,{modelValue:r.unref(v),"onUpdate:modelValue":S[0]||(S[0]=I=>r.isRef(v)?v.value=I:v=I),class:[r.unref(X).Input,r.unref(X).FieldGroupControl],id:"amplify-field-"+r.unref(s),"data-amplify-password":"true",name:r.unref(l),autocomplete:r.unref(u),required:(k=r.unref(p))!=null?k:!0,placeholder:r.unref(_),type:i.value,"aria-invalid":r.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]}),_:1},8,["class"]),r.createVNode(E,{class:r.normalizeClass(r.unref(X).FieldGroupOuterEnd)},{default:r.withCtx(()=>[r.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:r.normalizeClass([r.unref(X).Button,r.unref(X).FieldGroupControl,r.unref(X).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:h},[i.value==="password"?(r.openBlock(),r.createElementBlock("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:r.normalizeClass(r.unref(X).Icon)},i_,2)):(r.openBlock(),r.createElementBlock("svg",{key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:r.normalizeClass(r.unref(X).Icon)},l_,2))],10,r_)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),u_=["value","selected"],d_=r.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:o,selectValue:i}=r.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,l)=>(r.openBlock(),r.createElementBlock("select",{onChange:l[0]||(l[0]=c=>a(c))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(o),(c,u)=>(r.openBlock(),r.createElementBlock("option",{key:u,value:c,selected:c==r.unref(i)?!0:void 0},r.toDisplayString(c),9,u_))),128))],32))}}),f_=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[r.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),p_=r.defineComponent({__name:"alias-control",props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null,type:{default:"text"},hasError:{type:Boolean},describedBy:null},setup(e){const t=e,{label:n,name:o,placeholder:i,autocomplete:a,labelHidden:s,required:l,dialCode:c,dialCodeList:u}=r.toRefs(t),d=Math.floor(Math.random()*999999),g=Math.floor(Math.random()*999999);return(f,p)=>{const v=Sn,h=d_,_=te,m=wn;return r.openBlock(),r.createBlock(_,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,r.mergeProps({for:"amplify-field-"+r.unref(d),class:["amplify-label",{"amplify-visually-hidden":r.unref(s)}]},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(n)),1)]),_:1},16,["for","class"]),r.createVNode(_,{class:"amplify-flex amplify-field-group"},{default:r.withCtx(()=>[r.createVNode(_,{class:"amplify-field-group__outer-start"},{default:r.withCtx(()=>[e.type==="tel"?(r.openBlock(),r.createBlock(_,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,r.mergeProps({for:"amplify-field-"+r.unref(g),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString("Country Code"))]),_:1},16,["for"]),r.createVNode(_,{class:"amplify-select__wrapper"},{default:r.withCtx(()=>[r.createVNode(h,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+r.unref(g),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:r.unref(u),"select-value":r.unref(c)},null,8,["id","options","select-value"]),r.createVNode(_,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:r.withCtx(()=>[f_]),_:1})]),_:1})]),_:1})):r.createCommentVNode("",!0)]),_:1}),r.createVNode(_,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>{var y;return[r.createVNode(m,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+r.unref(d),autocomplete:r.unref(a),name:r.unref(o),required:(y=r.unref(l))!=null?y:!0,type:e.type,placeholder:r.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),m_=["id"],Ca=r.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:o}=r.toRefs(t),{validationErrors:i}=r.toRefs(re()),{type:a}=o.value,s=a==="password",l=XS(12),c=r.computed(()=>qs(i.value[n.value])),u=r.computed(()=>{var g;return((g=c.value)==null?void 0:g.length)>0}),d=r.computed(()=>u.value?l:void 0);return(g,f)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[s?(r.openBlock(),r.createBlock(Lr,{key:0,name:r.unref(n),label:r.unref(o).label,placeholder:r.unref(o).placeholder,required:r.unref(o).isRequired,"label-hidden":r.unref(o).labelHidden,autocomplete:r.unref(o).autocomplete,hasError:r.unref(u),describedBy:r.unref(d)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(r.openBlock(),r.createBlock(p_,{key:1,name:r.unref(n),label:r.unref(o).label,placeholder:r.unref(o).placeholder,required:r.unref(o).isRequired,"label-hidden":r.unref(o).labelHidden,autocomplete:r.unref(o).autocomplete,"dial-code":r.unref(o).dialCode,"dial-code-list":r.unref(o).dialCodeList,type:r.unref(o).type,hasError:r.unref(u),describedBy:r.unref(d)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),r.unref(u)?(r.openBlock(),r.createElementBlock("div",{key:2,id:r.unref(d)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(c),(p,v)=>(r.openBlock(),r.createElementBlock("p",{key:v,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},r.toDisplayString(r.unref(N)(p)),1))),128))],8,m_)):r.createCommentVNode("",!0)],64))}}),_e=r.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=r.toRefs(t),{state:o}=de();let i=[];return r.onBeforeMount(()=>{i=gl(n.value,o.value)}),(a,s)=>(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i),([l,c])=>(r.openBlock(),r.createBlock(Ca,{name:l,key:l,formField:c},null,8,["name","formField"]))),128))}}),g_=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),h_={"data-amplify-footer":""},jr=r.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const n=re(),o=r.useAttrs(),{getForgotPasswordText:i,getSignInText:a,getSigningInText:s}=ue,l=r.computed(()=>i()),c=r.computed(()=>a()),u=r.computed(()=>s()),{state:d,send:g}=de(),f=r.computed(()=>se(d.value)),p=m=>{const{name:y,value:w}=m.target;g({type:"CHANGE",data:{name:y,value:w}})},v=m=>{o!=null&&o.onSignInSubmit?t("signInSubmit",m):h(m)},h=m=>{n.submitForm(ye(m))},_=()=>{o!=null&&o.onForgotPasswordClicked?t("forgotPasswordClicked"):g({type:"RESET_PASSWORD"})};return(m,y)=>{const w=Se,S=we,b=ae,A=te,E=he,k=ge;return r.renderSlot(m.$slots,"signInSlotI",r.normalizeProps(r.guardReactiveProps(m.$attrs)),()=>[r.renderSlot(m.$slots,"header"),r.createVNode(A,r.normalizeProps(r.guardReactiveProps(m.$attrs)),{default:r.withCtx(()=>[r.createVNode(E,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:r.withModifiers(v,["prevent"]),method:"post"},{formt:r.withCtx(({slotData:I})=>[r.renderSlot(m.$slots,"form",{info:I,onSignInSubmit:v,onInput:p,onForgotPasswordClicked:_})]),default:r.withCtx(()=>[r.createVNode(vn),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(w,{disabled:r.unref(f).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:r.withCtx(({slotData:I})=>[r.renderSlot(m.$slots,"signin-fields",{info:I})]),default:r.withCtx(()=>[g_,r.createVNode(_e,{route:"signIn"})]),_:3},8,["disabled"]),r.unref(f).context.remoteError?(r.openBlock(),r.createBlock(S,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(f).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(b,{disabled:r.unref(f).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f).matches("signIn.submit")?r.unref(u):r.unref(c)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(k,null,{default:r.withCtx(()=>[r.renderSlot(m.$slots,"footer",{},()=>[r.createElementVNode("div",h_,[r.createVNode(b,{onClick:_,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(l)),1)]),_:1})])])]),_:3})])}}}),zr=r.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(_e,{route:"signUp"}))}}),Gr=r.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=re(),{hasValidationErrors:o,isPending:i,error:a}=r.toRefs(n),s=r.useAttrs(),{getCreateAccountText:l}=ue,c=r.computed(()=>l()),u=p=>{let{checked:v,name:h,type:_,value:m}=p.target;_==="checkbox"&&!v&&(m=void 0),n.updateForm({name:h,value:m})};function d(p){const{name:v}=p.target;n.updateBlur({name:v})}const g=p=>{s!=null&&s.onSignUpSubmit?t("signUpSubmit",p):f(p)},f=p=>{n.submitForm(ye(p))};return(p,v)=>{const h=Se,_=we,m=ae,y=te,w=he,S=ge;return r.renderSlot(p.$slots,"signUpSlotI",r.normalizeProps(r.guardReactiveProps(p.$attrs)),()=>[r.renderSlot(p.$slots,"header"),r.createVNode(y,r.normalizeProps(r.guardReactiveProps(p.$attrs)),{default:r.withCtx(()=>[r.createVNode(w,{onInput:u,onBlurCapture:d,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(vn),r.createVNode(y,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(h,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(i)},{fieldSetI:r.withCtx(({slotData:b})=>[r.renderSlot(p.$slots,"signup-fields",{info:b})]),default:r.withCtx(()=>[r.createVNode(zr)]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(_,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(m,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:r.unref(i)||r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(c)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(S,null,{default:r.withCtx(()=>[r.renderSlot(p.$slots,"footer")]),_:3})])}}}),y_={};function v_(e,t){const n=te;return r.openBlock(),r.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:r.withCtx(()=>[r.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:r.withCtx(()=>[r.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var w_=tn(y_,[["render",v_]]);const S_=r.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:o,label:i}=r.toRefs(t);return(a,s)=>{const l=te;return r.openBlock(),r.createBlock(l,{tabindex:r.unref(n)?0:-1,"data-state":r.unref(n)?"active":"inactive","aria-selected":r.unref(n)?"true":"false","aria-controls":`radix-id-${r.unref(o)}-8-content-0`,id:`radix-id-${r.unref(o)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),__={};function b_(e,t){return r.renderSlot(e.$slots,"textI",r.normalizeProps(r.guardReactiveProps(e.$attrs)),()=>[r.createElementVNode("span",r.mergeProps(e.$attrs,{"data-amplify-text":""}),[r.renderSlot(e.$slots,"default")],16)])}var Ea=tn(__,[["render",b_]]);const xe=r.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,l;const o=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((l=(s=i[0])==null?void 0:s.children)==null?void 0:l.length)===0)i[0].children=[r.h(`h${e.level}`,{...n,class:a},[o])];else return()=>r.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?r.h(i[0].children[0]):r.h(o[0])]);return()=>i}}),Hr=r.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{isPending:o,error:i,codeDeliveryDetails:a}=r.toRefs(re()),{submitForm:s,updateForm:l,resendCode:c}=re(),{getDeliveryMethodText:u,getDeliveryMessageText:d,getResendCodeText:g,getConfirmText:f}=ue,p=r.computed(()=>u(a.value)),v=r.computed(()=>g()),h=r.computed(()=>f()),_=r.computed(()=>d(a.value)),m=b=>{const{name:A,value:E}=b.target;l({name:A,value:E})},y=b=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",b):w(b)},w=b=>{s(ye(b))},S=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):c()};return(b,A)=>{const E=xe,k=Ea,I=Se,$=we,P=ae,x=ge,O=te,L=he;return r.renderSlot(b.$slots,"confirmSignUpSlotI",r.normalizeProps(r.guardReactiveProps(b.$attrs)),()=>[r.createVNode(O,r.normalizeProps(r.guardReactiveProps(b.$attrs)),{default:r.withCtx(()=>[r.createVNode(L,{onInput:m,onSubmit:r.withModifiers(y,["prevent"])},{default:r.withCtx(()=>[r.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(b.$slots,"header",{},()=>[r.createVNode(E,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1})]),r.createVNode(k,{class:"amplify-authenticator__subtitle"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(_)),1)]),_:1}),r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(o)},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmSignUp"})]),_:1},8,["disabled"]),r.createVNode(x,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock($,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(i))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1},8,["onClick"]),r.renderSlot(b.$slots,"footer",{onConfirmSignUpSubmit:y,onLostCodeClicked:S})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wr=r.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{state:o,send:i}=de(),a=re(),s=r.computed(()=>se(o.value)),l=s.value.context.challengeName,{getBackToSignInText:c,getConfirmText:u,getChallengeText:d}=ue,g=r.computed(()=>d(l)),f=r.computed(()=>c()),p=r.computed(()=>u()),v=y=>{const{name:w,value:S}=y.target;i({type:"CHANGE",data:{name:w,value:S}})},h=y=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",y):_(y)},_=y=>{a.submitForm(ye(y))},m=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(y,w)=>{const S=xe,b=te,A=we,E=ae,k=ge,I=Se,$=he;return r.renderSlot(y.$slots,"confirmSignInSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{"data-amplify-authenticator-confirmsignin":"",onInput:v,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(S,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmSignIn"})]),_:1}),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var P,x;return[(x=(P=r.unref(s))==null?void 0:P.context)!=null&&x.remoteError?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>{var O,L;return[r.createTextVNode(r.toDisplayString(r.unref(N)((L=(O=r.unref(s))==null?void 0:O.context)==null?void 0:L.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(s).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(m,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onBackToSignInClicked:m,onConfirmSignInSubmit:h})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var It={},C_=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Aa={},le={};let Yr;const E_=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];le.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};le.getSymbolTotalCodewords=function(t){return E_[t]};le.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};le.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Yr=t};le.isKanjiModeEnabled=function(){return typeof Yr!="undefined"};le.toSJIS=function(t){return Yr(t)};var _n={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(o){return o&&typeof o.bit!="undefined"&&o.bit>=0&&o.bit<4},e.from=function(o,i){if(e.isValid(o))return o;try{return t(o)}catch{return i}}})(_n);function Ia(){this.buffer=[],this.length=0}Ia.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var A_=Ia;function Tt(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Tt.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};Tt.prototype.get=function(e,t){return this.data[e*this.size+t]};Tt.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Tt.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var I_=Tt,Ta={};(function(e){const t=le.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const i=Math.floor(o/7)+2,a=t(o),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,l=[a-7];for(let c=1;c<i-1;c++)l[c]=l[c-1]-s;return l.push(6),l.reverse()},e.getPositions=function(o){const i=[],a=e.getRowColCoords(o),s=a.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||i.push([a[l],a[c]]);return i}})(Ta);var Pa={};const T_=le.getSymbolSize,li=7;Pa.getPositions=function(t){const n=T_(t);return[[0,0],[n-li,0],[0,n-li]]};var ka={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const a=i.size;let s=0,l=0,c=0,u=null,d=null;for(let g=0;g<a;g++){l=c=0,u=d=null;for(let f=0;f<a;f++){let p=i.get(g,f);p===u?l++:(l>=5&&(s+=t.N1+(l-5)),u=p,l=1),p=i.get(f,g),p===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=p,c=1)}l>=5&&(s+=t.N1+(l-5)),c>=5&&(s+=t.N1+(c-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let l=0;l<a-1;l++)for(let c=0;c<a-1;c++){const u=i.get(l,c)+i.get(l,c+1)+i.get(l+1,c)+i.get(l+1,c+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,l=0,c=0;for(let u=0;u<a;u++){l=c=0;for(let d=0;d<a;d++)l=l<<1&2047|i.get(u,d),d>=10&&(l===1488||l===93)&&s++,c=c<<1&2047|i.get(d,u),d>=10&&(c===1488||c===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let c=0;c<s;c++)a+=i.data[c];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(o,i,a){switch(o){case e.Patterns.PATTERN000:return(i+a)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(i+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return i*a%2+i*a%3===0;case e.Patterns.PATTERN110:return(i*a%2+i*a%3)%2===0;case e.Patterns.PATTERN111:return(i*a%3+(i+a)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(i,a){const s=a.size;for(let l=0;l<s;l++)for(let c=0;c<s;c++)a.isReserved(c,l)||a.xor(c,l,n(i,c,l))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let l=0,c=1/0;for(let u=0;u<s;u++){a(u),e.applyMask(u,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(u,i),d<c&&(c=d,l=u)}return l}})(ka);var bn={};const ke=_n,Ft=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Vt=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];bn.getBlocksCount=function(t,n){switch(n){case ke.L:return Ft[(t-1)*4+0];case ke.M:return Ft[(t-1)*4+1];case ke.Q:return Ft[(t-1)*4+2];case ke.H:return Ft[(t-1)*4+3];default:return}};bn.getTotalCodewordsCount=function(t,n){switch(n){case ke.L:return Vt[(t-1)*4+0];case ke.M:return Vt[(t-1)*4+1];case ke.Q:return Vt[(t-1)*4+2];case ke.H:return Vt[(t-1)*4+3];default:return}};var Na={},Cn={};const ht=new Uint8Array(512),Xt=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)ht[n]=t,Xt[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)ht[n]=ht[n-255]})();Cn.log=function(t){if(t<1)throw new Error("log("+t+")");return Xt[t]};Cn.exp=function(t){return ht[t]};Cn.mul=function(t,n){return t===0||n===0?0:ht[Xt[t]+Xt[n]]};(function(e){const t=Cn;e.mul=function(o,i){const a=new Uint8Array(o.length+i.length-1);for(let s=0;s<o.length;s++)for(let l=0;l<i.length;l++)a[s+l]^=t.mul(o[s],i[l]);return a},e.mod=function(o,i){let a=new Uint8Array(o);for(;a.length-i.length>=0;){const s=a[0];for(let c=0;c<i.length;c++)a[c]^=t.mul(i[c],s);let l=0;for(;l<a.length&&a[l]===0;)l++;a=a.slice(l)}return a},e.generateECPolynomial=function(o){let i=new Uint8Array([1]);for(let a=0;a<o;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(Na);const xa=Na;function Kr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Kr.prototype.initialize=function(t){this.degree=t,this.genPoly=xa.generateECPolynomial(this.degree)};Kr.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const o=xa.mod(n,this.genPoly),i=this.degree-o.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(o,i),a}return o};var P_=Kr,$a={},$e={},qr={};qr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var be={};const Oa="[0-9]+",k_="[A-Z $%*+\\-./:]+";let _t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";_t=_t.replace(/u/g,"\\u");const N_="(?:(?![A-Z0-9 $%*+\\-./:]|"+_t+`)(?:.|[\r
|
|
33
33
|
]))+`;be.KANJI=new RegExp(_t,"g");be.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");be.BYTE=new RegExp(N_,"g");be.NUMERIC=new RegExp(Oa,"g");be.ALPHANUMERIC=new RegExp(k_,"g");const x_=new RegExp("^"+_t+"$"),$_=new RegExp("^"+Oa+"$"),O_=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");be.testKanji=function(t){return x_.test(t)};be.testNumeric=function(t){return $_.test(t)};be.testAlphanumeric=function(t){return O_.test(t)};(function(e){const t=qr,n=be;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return n.testNumeric(a)?e.NUMERIC:n.testAlphanumeric(a)?e.ALPHANUMERIC:n.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function o(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(a,s){if(e.isValid(a))return a;try{return o(a)}catch{return s}}})($e);(function(e){const t=le,n=bn,o=_n,i=$e,a=qr,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,l=t.getBCHDigit(s);function c(f,p,v){for(let h=1;h<=40;h++)if(p<=e.getCapacity(h,v,f))return h}function u(f,p){return i.getCharCountIndicator(f,p)+4}function d(f,p){let v=0;return f.forEach(function(h){v+=u(h.mode,p)+h.getBitsLength()}),v}function g(f,p){for(let v=1;v<=40;v++)if(d(f,v)<=e.getCapacity(v,p,i.MIXED))return v}e.from=function(p,v){return a.isValid(p)?parseInt(p,10):v},e.getCapacity=function(p,v,h){if(!a.isValid(p))throw new Error("Invalid QR Code version");typeof h=="undefined"&&(h=i.BYTE);const _=t.getSymbolTotalCodewords(p),m=n.getTotalCodewordsCount(p,v),y=(_-m)*8;if(h===i.MIXED)return y;const w=y-u(h,p);switch(h){case i.NUMERIC:return Math.floor(w/10*3);case i.ALPHANUMERIC:return Math.floor(w/11*2);case i.KANJI:return Math.floor(w/13);case i.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(p,v){let h;const _=o.from(v,o.M);if(Array.isArray(p)){if(p.length>1)return g(p,_);if(p.length===0)return 1;h=p[0]}else h=p;return c(h.mode,h.getLength(),_)},e.getEncodedBits=function(p){if(!a.isValid(p)||p<7)throw new Error("Invalid QR Code version");let v=p<<12;for(;t.getBCHDigit(v)-l>=0;)v^=s<<t.getBCHDigit(v)-l;return p<<12|v}})($a);var Ra={};const nr=le,Ua=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,R_=1<<14|1<<12|1<<10|1<<4|1<<1,ci=nr.getBCHDigit(Ua);Ra.getEncodedBits=function(t,n){const o=t.bit<<3|n;let i=o<<10;for(;nr.getBCHDigit(i)-ci>=0;)i^=Ua<<nr.getBCHDigit(i)-ci;return(o<<10|i)^R_};var Ba={};const U_=$e;function Ye(e){this.mode=U_.NUMERIC,this.data=e.toString()}Ye.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ye.prototype.getLength=function(){return this.data.length};Ye.prototype.getBitsLength=function(){return Ye.getBitsLength(this.data.length)};Ye.prototype.write=function(t){let n,o,i;for(n=0;n+3<=this.data.length;n+=3)o=this.data.substr(n,3),i=parseInt(o,10),t.put(i,10);const a=this.data.length-n;a>0&&(o=this.data.substr(n),i=parseInt(o,10),t.put(i,a*3+1))};var B_=Ye;const M_=$e,On=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ke(e){this.mode=M_.ALPHANUMERIC,this.data=e}Ke.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Ke.prototype.getLength=function(){return this.data.length};Ke.prototype.getBitsLength=function(){return Ke.getBitsLength(this.data.length)};Ke.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=On.indexOf(this.data[n])*45;o+=On.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(On.indexOf(this.data[n]),6)};var F_=Ke,V_=function(t){for(var n=[],o=t.length,i=0;i<o;i++){var a=t.charCodeAt(i);if(a>=55296&&a<=56319&&o>i+1){var s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(a=(a-55296)*1024+s-56320+65536,i+=1)}if(a<128){n.push(a);continue}if(a<2048){n.push(a>>6|192),n.push(a&63|128);continue}if(a<55296||a>=57344&&a<65536){n.push(a>>12|224),n.push(a>>6&63|128),n.push(a&63|128);continue}if(a>=65536&&a<=1114111){n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(a&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const D_=V_,L_=$e;function qe(e){this.mode=L_.BYTE,this.data=new Uint8Array(D_(e))}qe.getBitsLength=function(t){return t*8};qe.prototype.getLength=function(){return this.data.length};qe.prototype.getBitsLength=function(){return qe.getBitsLength(this.data.length)};qe.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var j_=qe;const z_=$e,G_=le;function Je(e){this.mode=z_.KANJI,this.data=e}Je.getBitsLength=function(t){return t*13};Je.prototype.getLength=function(){return this.data.length};Je.prototype.getBitsLength=function(){return Je.getBitsLength(this.data.length)};Je.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=G_.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
|
34
34
|
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var H_=Je,Ma={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,o,i){var a={},s={};s[o]=0;var l=t.PriorityQueue.make();l.push(o,0);for(var c,u,d,g,f,p,v,h,_;!l.empty();){c=l.pop(),u=c.value,g=c.cost,f=n[u]||{};for(d in f)f.hasOwnProperty(d)&&(p=f[d],v=g+p,h=s[d],_=typeof s[d]=="undefined",(_||h>v)&&(s[d]=v,l.push(d,v),a[d]=u))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var m=["Could not find a path from ",o," to ",i,"."].join("");throw new Error(m)}return a},extract_shortest_path_from_predecessor_list:function(n,o){for(var i=[],a=o;a;)i.push(a),n[a],a=n[a];return i.reverse(),i},find_path:function(n,o,i){var a=t.single_source_shortest_paths(n,o,i);return t.extract_shortest_path_from_predecessor_list(a,i)},PriorityQueue:{make:function(n){var o=t.PriorityQueue,i={},a;n=n||{};for(a in o)o.hasOwnProperty(a)&&(i[a]=o[a]);return i.queue=[],i.sorter=n.sorter||o.default_sorter,i},default_sorter:function(n,o){return n.cost-o.cost},push:function(n,o){var i={value:n,cost:o};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Ma);(function(e){const t=$e,n=B_,o=F_,i=j_,a=H_,s=be,l=le,c=Ma.exports;function u(m){return unescape(encodeURIComponent(m)).length}function d(m,y,w){const S=[];let b;for(;(b=m.exec(w))!==null;)S.push({data:b[0],index:b.index,mode:y,length:b[0].length});return S}function g(m){const y=d(s.NUMERIC,t.NUMERIC,m),w=d(s.ALPHANUMERIC,t.ALPHANUMERIC,m);let S,b;return l.isKanjiModeEnabled()?(S=d(s.BYTE,t.BYTE,m),b=d(s.KANJI,t.KANJI,m)):(S=d(s.BYTE_KANJI,t.BYTE,m),b=[]),y.concat(w,S,b).sort(function(E,k){return E.index-k.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function f(m,y){switch(y){case t.NUMERIC:return n.getBitsLength(m);case t.ALPHANUMERIC:return o.getBitsLength(m);case t.KANJI:return a.getBitsLength(m);case t.BYTE:return i.getBitsLength(m)}}function p(m){return m.reduce(function(y,w){const S=y.length-1>=0?y[y.length-1]:null;return S&&S.mode===w.mode?(y[y.length-1].data+=w.data,y):(y.push(w),y)},[])}function v(m){const y=[];for(let w=0;w<m.length;w++){const S=m[w];switch(S.mode){case t.NUMERIC:y.push([S,{data:S.data,mode:t.ALPHANUMERIC,length:S.length},{data:S.data,mode:t.BYTE,length:S.length}]);break;case t.ALPHANUMERIC:y.push([S,{data:S.data,mode:t.BYTE,length:S.length}]);break;case t.KANJI:y.push([S,{data:S.data,mode:t.BYTE,length:u(S.data)}]);break;case t.BYTE:y.push([{data:S.data,mode:t.BYTE,length:u(S.data)}])}}return y}function h(m,y){const w={},S={start:{}};let b=["start"];for(let A=0;A<m.length;A++){const E=m[A],k=[];for(let I=0;I<E.length;I++){const $=E[I],P=""+A+I;k.push(P),w[P]={node:$,lastCount:0},S[P]={};for(let x=0;x<b.length;x++){const O=b[x];w[O]&&w[O].node.mode===$.mode?(S[O][P]=f(w[O].lastCount+$.length,$.mode)-f(w[O].lastCount,$.mode),w[O].lastCount+=$.length):(w[O]&&(w[O].lastCount=$.length),S[O][P]=f($.length,$.mode)+4+t.getCharCountIndicator($.mode,y))}}b=k}for(let A=0;A<b.length;A++)S[b[A]].end=0;return{map:S,table:w}}function _(m,y){let w;const S=t.getBestModeForData(m);if(w=t.from(y,S),w!==t.BYTE&&w.bit<S.bit)throw new Error('"'+m+'" cannot be encoded with mode '+t.toString(w)+`.
|
|
35
35
|
Suggested mode is: `+t.toString(S));switch(w===t.KANJI&&!l.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new n(m);case t.ALPHANUMERIC:return new o(m);case t.KANJI:return new a(m);case t.BYTE:return new i(m)}}e.fromArray=function(y){return y.reduce(function(w,S){return typeof S=="string"?w.push(_(S,null)):S.data&&w.push(_(S.data,S.mode)),w},[])},e.fromString=function(y,w){const S=g(y,l.isKanjiModeEnabled()),b=v(S),A=h(b,w),E=c.find_path(A.map,"start","end"),k=[];for(let I=1;I<E.length-1;I++)k.push(A.table[E[I]].node);return e.fromArray(p(k))},e.rawSplit=function(y){return e.fromArray(g(y,l.isKanjiModeEnabled()))}})(Ba);const En=le,Rn=_n,W_=A_,Y_=I_,K_=Ta,q_=Pa,rr=ka,or=bn,J_=P_,en=$a,Z_=Ra,Q_=$e,Un=Ba;function X_(e,t){const n=e.size,o=q_.getPositions(t);for(let i=0;i<o.length;i++){const a=o[i][0],s=o[i][1];for(let l=-1;l<=7;l++)if(!(a+l<=-1||n<=a+l))for(let c=-1;c<=7;c++)s+c<=-1||n<=s+c||(l>=0&&l<=6&&(c===0||c===6)||c>=0&&c<=6&&(l===0||l===6)||l>=2&&l<=4&&c>=2&&c<=4?e.set(a+l,s+c,!0,!0):e.set(a+l,s+c,!1,!0))}}function eb(e){const t=e.size;for(let n=8;n<t-8;n++){const o=n%2===0;e.set(n,6,o,!0),e.set(6,n,o,!0)}}function tb(e,t){const n=K_.getPositions(t);for(let o=0;o<n.length;o++){const i=n[o][0],a=n[o][1];for(let s=-2;s<=2;s++)for(let l=-2;l<=2;l++)s===-2||s===2||l===-2||l===2||s===0&&l===0?e.set(i+s,a+l,!0,!0):e.set(i+s,a+l,!1,!0)}}function nb(e,t){const n=e.size,o=en.getEncodedBits(t);let i,a,s;for(let l=0;l<18;l++)i=Math.floor(l/3),a=l%3+n-8-3,s=(o>>l&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function Bn(e,t,n){const o=e.size,i=Z_.getEncodedBits(t,n);let a,s;for(a=0;a<15;a++)s=(i>>a&1)===1,a<6?e.set(a,8,s,!0):a<8?e.set(a+1,8,s,!0):e.set(o-15+a,8,s,!0),a<8?e.set(8,o-a-1,s,!0):a<9?e.set(8,15-a-1+1,s,!0):e.set(8,15-a-1,s,!0);e.set(o-8,8,1,!0)}function rb(e,t){const n=e.size;let o=-1,i=n-1,a=7,s=0;for(let l=n-1;l>0;l-=2)for(l===6&&l--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,l-c)){let u=!1;s<t.length&&(u=(t[s]>>>a&1)===1),e.set(i,l-c,u),a--,a===-1&&(s++,a=7)}if(i+=o,i<0||n<=i){i-=o,o=-o;break}}}function ob(e,t,n){const o=new W_;n.forEach(function(c){o.put(c.mode.bit,4),o.put(c.getLength(),Q_.getCharCountIndicator(c.mode,e)),c.write(o)});const i=En.getSymbolTotalCodewords(e),a=or.getTotalCodewordsCount(e,t),s=(i-a)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const l=(s-o.getLengthInBits())/8;for(let c=0;c<l;c++)o.put(c%2?17:236,8);return ib(o,e,t)}function ib(e,t,n){const o=En.getSymbolTotalCodewords(t),i=or.getTotalCodewordsCount(t,n),a=o-i,s=or.getBlocksCount(t,n),l=o%s,c=s-l,u=Math.floor(o/s),d=Math.floor(a/s),g=d+1,f=u-d,p=new J_(f);let v=0;const h=new Array(s),_=new Array(s);let m=0;const y=new Uint8Array(e.buffer);for(let E=0;E<s;E++){const k=E<c?d:g;h[E]=y.slice(v,v+k),_[E]=p.encode(h[E]),v+=k,m=Math.max(m,k)}const w=new Uint8Array(o);let S=0,b,A;for(b=0;b<m;b++)for(A=0;A<s;A++)b<h[A].length&&(w[S++]=h[A][b]);for(b=0;b<f;b++)for(A=0;A<s;A++)w[S++]=_[A][b];return w}function ab(e,t,n,o){let i;if(Array.isArray(e))i=Un.fromArray(e);else if(typeof e=="string"){let u=t;if(!u){const d=Un.rawSplit(e);u=en.getBestVersionForData(d,n)}i=Un.fromString(e,u||40)}else throw new Error("Invalid data");const a=en.getBestVersionForData(i,n);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=a;else if(t<a)throw new Error(`
|
|
36
36
|
The chosen QR Code version cannot contain this amount of data.
|
|
37
37
|
Minimum version required to store current data is: `+a+`.
|
|
38
38
|
`);const s=ob(t,n,i),l=En.getSymbolSize(t),c=new Y_(l);return X_(c,t),eb(c),tb(c,t),Bn(c,n,0),t>=7&&nb(c,t),rb(c,s),isNaN(o)&&(o=rr.getBestMask(c,Bn.bind(null,c,n))),rr.applyMask(o,c),Bn(c,n,o),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:o,segments:i}}Aa.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let o=Rn.M,i,a;return typeof n!="undefined"&&(o=Rn.from(n.errorCorrectionLevel,Rn.M),i=en.from(n.version),a=rr.from(n.maskPattern),n.toSJISFunc&&En.setToSJISFunction(n.toSJISFunc)),ab(t,i,o,a)};var Fa={},Jr={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let o=n.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+n);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(a){return[a,a]}))),o.length===6&&o.push("F","F");const i=parseInt(o.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const i=typeof o.margin=="undefined"||o.margin===null||o.margin<0?4:o.margin,a=o.width&&o.width>=21?o.width:void 0,s=o.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,i){return i.width&&i.width>=o+i.margin*2?i.width/(o+i.margin*2):i.scale},e.getImageWidth=function(o,i){const a=e.getScale(o,i);return Math.floor((o+i.margin*2)*a)},e.qrToImageData=function(o,i,a){const s=i.modules.size,l=i.modules.data,c=e.getScale(s,a),u=Math.floor((s+a.margin*2)*c),d=a.margin*c,g=[a.color.light,a.color.dark];for(let f=0;f<u;f++)for(let p=0;p<u;p++){let v=(f*u+p)*4,h=a.color.light;if(f>=d&&p>=d&&f<u-d&&p<u-d){const _=Math.floor((f-d)/c),m=Math.floor((p-d)/c);h=g[l[_*s+m]?1:0]}o[v++]=h.r,o[v++]=h.g,o[v++]=h.b,o[v]=h.a}}})(Jr);(function(e){const t=Jr;function n(i,a,s){i.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function o(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,l){let c=l,u=s;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(u=o()),c=t.getOptions(c);const d=t.getImageWidth(a.modules.size,c),g=u.getContext("2d"),f=g.createImageData(d,d);return t.qrToImageData(f.data,a,c),n(g,u,d),g.putImageData(f,0,0),u},e.renderToDataURL=function(a,s,l){let c=l;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const u=e.render(a,s,c),d=c.type||"image/png",g=c.rendererOpts||{};return u.toDataURL(d,g.quality)}})(Fa);var Va={};const sb=Jr;function ui(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function Mn(e,t,n){let o=e+t;return typeof n!="undefined"&&(o+=" "+n),o}function lb(e,t,n){let o="",i=0,a=!1,s=0;for(let l=0;l<e.length;l++){const c=Math.floor(l%t),u=Math.floor(l/t);!c&&!a&&(a=!0),e[l]?(s++,l>0&&c>0&&e[l-1]||(o+=a?Mn("M",c+n,.5+u+n):Mn("m",i,0),i=0,a=!1),c+1<t&&e[l+1]||(o+=Mn("h",s),s=0)):i++}return o}Va.render=function(t,n,o){const i=sb.getOptions(n),a=t.modules.size,s=t.modules.data,l=a+i.margin*2,c=i.color.light.a?"<path "+ui(i.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",u="<path "+ui(i.color.dark,"stroke")+' d="'+lb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+l+" "+l+'"',g=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+g+d+' shape-rendering="crispEdges">'+c+u+`</svg>
|
|
39
|
-
`;return typeof o=="function"&&o(null,f),f};const cb=C_,ir=Aa,Da=Fa,ub=Va;function Zr(e,t,n,o,i){const a=[].slice.call(arguments,1),s=a.length,l=typeof a[s-1]=="function";if(!l&&!cb())throw new Error("Callback required as last argument");if(l){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=o=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=o,o=void 0):(i=o,o=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=o=void 0):s===2&&!t.getContext&&(o=n,n=t,t=void 0),new Promise(function(c,u){try{const d=ir.create(n,o);c(e(d,t,o))}catch(d){u(d)}})}try{const c=ir.create(n,o);i(null,e(c,t,o))}catch(c){i(c)}}It.create=ir.create;It.toCanvas=Zr.bind(null,Da.render);It.toDataURL=Zr.bind(null,Da.renderToDataURL);It.toString=Zr.bind(null,function(e,t,n){return ub.render(e,n)});const db={key:0},fb=["src"],pb={"data-amplify-copy-tooltip":""},mb=r.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),gb=r.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var x,O,L;const n=new W.Logger("SetupTOTP-logger"),o=re(),i=r.useAttrs(),{state:a,send:s}=de(),{value:{context:l}}=a,c=r.computed(()=>se(a.value)),{totpSecretCode:u,user:d}=c.value.context,g=(O=(x=l==null?void 0:l.config)==null?void 0:x.formFields)==null?void 0:O.setupTOTP,{totpIssuer:f="AWSCognito",totpUsername:p=d==null?void 0:d.username}=(L=g==null?void 0:g.QR)!=null?L:{},v=typeof u=="string"&&typeof p=="string"?ol(f,p,u):null,h=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:_,getCopiedText:m,getBackToSignInText:y,getConfirmText:w}=ue,S=r.ref(_());function b(){typeof u=="string"&&navigator.clipboard.writeText(u),S.value=m()}r.onMounted(async()=>{if(!(!d||!v))try{h.qrCodeImageSource=await It.toDataURL(v)}catch(z){n.error(z)}finally{h.isLoading=!1}});const A=r.computed(()=>y()),E=r.computed(()=>w()),k=z=>{const{name:ie,value:K}=z.target;s({type:"CHANGE",data:{name:ie,value:K}})},I=z=>{i!=null&&i.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",z):$(z)},$=z=>{o.submitForm(he(z))},P=()=>{i!=null&&i.onBackToSignInClicked?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(z,ie)=>{const K=xe,J=te,pe=ve,Oe=ae,oe=Se,at=ge,st=we;return r.renderSlot(z.$slots,"confirmSetupTOTPI",r.normalizeProps(r.guardReactiveProps(z.$attrs)),()=>[r.createVNode(J,r.normalizeProps(r.guardReactiveProps(z.$attrs)),{default:r.withCtx(()=>[r.createVNode(st,{"data-amplify-authenticator-setup-totp":"",onInput:k,onSubmit:r.withModifiers(I,["prevent"])},{default:r.withCtx(()=>[r.createVNode(at,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createVNode(J,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(z.$slots,"header",{},()=>[r.createVNode(K,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(" Setup TOTP ")]),_:1})]),r.createVNode(J,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[h.isLoading?(r.openBlock(),r.createElementBlock("p",db,"Loading...")):(r.openBlock(),r.createElementBlock("img",{key:1,class:"amplify-image","data-amplify-qrcode":"",src:h.qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,fb)),r.createVNode(J,{class:"amplify-flex","data-amplify-copy":""},{default:r.withCtx(()=>[r.createElementVNode("div",null,r.toDisplayString(r.unref(u)),1),r.createVNode(J,{"data-amplify-copy-svg":"",onClick:b},{default:r.withCtx(()=>[r.createElementVNode("div",pb,r.toDisplayString(S.value),1),mb]),_:1})]),_:1}),r.createVNode(_e,{route:"setupTOTP"})]),_:1}),r.createVNode(oe,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var ne;return[(ne=r.unref(c).context)!=null&&ne.remoteError?(r.openBlock(),r.createBlock(pe,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(c).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(Oe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(c).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(E)),1)]),_:1},8,["disabled"]),r.createVNode(Oe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(P,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(A)),1)]),_:1},8,["onClick"]),r.renderSlot(z.$slots,"footer",{onBackToSignInClicked:P,onSetupTOTPSubmit:I})]}),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Qr=r.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(_e,{route:"forceNewPassword"}))}}),Xr=r.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=r.useAttrs(),{state:o,send:i}=de(),a=re(),s=r.computed(()=>se(o.value)),{getChangePasswordText:l,getChangingText:c,getBackToSignInText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},v=y=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",y):h(y)},h=y=>{a.submitForm(he(y))},_=y=>{const{name:w,value:S}=y.target;i({type:"CHANGE",data:{name:w,value:S}})};function m(y){const{name:w}=y.target;a.updateBlur({name:w})}return(y,w)=>{const S=xe,b=te,A=ve,E=ae,k=Se,I=ge,$=we;return r.renderSlot(y.$slots,"forceNewPasswordI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{"data-amplify-authenticator-forcenewpassword":"",onInput:_,onBlurCapture:m,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("forceNewPassword.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(S,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"force-new-password-form-fields",{},()=>[r.createVNode(Qr)])]),_:3}),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s).context.remoteError?(r.openBlock(),r.createBlock(A,{key:0,"data-ui-error":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(s).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(s).matches("signUp.submit")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(s).matches("forceNewPassword.pending")?r.unref(g)+"\u2026":r.unref(d)),1)]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(p,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onHaveAccountClicked:p,onForceNewPasswordSubmit:v})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),eo=r.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{send:o,submitForm:i}=re(),{error:a,isPending:s}=r.toRefs(re()),{getBackToSignInText:l,getResetYourPasswordText:c,getSendCodeText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=m=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",m):v(m)},v=m=>{i(he(m))},h=m=>{const{name:y,value:w}=m.target;o({type:"CHANGE",data:{name:y,value:w}})},_=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):o({type:"SIGN_IN"})};return(m,y)=>{const w=xe,S=ge,b=ve,A=ae,E=Se,k=te,I=we;return r.renderSlot(m.$slots,"resetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(m.$attrs)),()=>[r.createVNode(I,r.mergeProps(m.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:h,onSubmit:r.withModifiers(p,["prevent"])}),{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(m.$slots,"header",{},()=>[r.createVNode(w,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1})]),r.createVNode(S,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{default:r.withCtx(()=>[r.createVNode(_e,{route:"resetPassword"})]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(b,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(_,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["onClick"]),r.renderSlot(m.$slots,"footer",{onBackToSignInClicked:_,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),to=r.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:o}=de(),i=re(),a=r.useAttrs(),s=r.computed(()=>se(n.value)),{getResendCodeText:l,getResetYourPasswordText:c,getSubmitText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=y=>{a!=null&&a.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",y):v(y)},v=y=>{i.submitForm(he(y))},h=()=>{o({type:"RESEND"})},_=y=>{const{name:w,value:S}=y.target;o({type:"CHANGE",data:{name:w,value:S}})};function m(y){const{name:w}=y.target;i.updateBlur({name:w})}return(y,w)=>{const S=xe,b=te,A=ve,E=ae,k=Se,I=ge,$=we;return r.renderSlot(y.$slots,"confirmResetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{"data-amplify-authenticator-confirmResetpassword":"",onInput:_,onBlurCapture:m,onSubmit:r.withModifiers(p,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("confirmResetPassword.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(S,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmResetPassword"})]),_:1}),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var P,x;return[(x=(P=r.unref(s))==null?void 0:P.context)!=null&&x.remoteError?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>{var O,L;return[r.createTextVNode(r.toDisplayString(r.unref(N)((L=(O=r.unref(s))==null?void 0:O.context)==null?void 0:L.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:r.unref(s).matches("confirmResetPassword.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onConfirmResetPasswordSubmit:p,onLostYourCodeClicked:h})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),no=r.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const n=re(),o=r.useAttrs(),{state:i,send:a}=de(),s=r.computed(()=>se(i.value)),{unverifiedContactMethods:l}=s.value.context,{getAccountRecoveryInfoText:c,getSkipText:u,getVerifyText:d,getVerifyContactText:g}=ue,f=r.computed(()=>c()),p=r.computed(()=>u()),v=r.computed(()=>d()),h=r.computed(()=>g()),_=S=>{const{name:b,value:A}=S.target;a({type:"CHANGE",data:{name:b,value:A}})},m=S=>{o!=null&&o.onVerifyUserSubmit?t("verifyUserSubmit",S):y(S)},y=S=>{n.submitForm(he(S))},w=()=>{o!=null&&o.onSkipClicked?t("skipClicked"):a("SKIP")};return(S,b)=>{const A=xe,E=wn,k=Sn,I=Ea,$=te,P=ve,x=ae,O=Se,L=ge,z=we;return r.renderSlot(S.$slots,"verifyUserSlotI",{},()=>[r.createVNode($,null,{default:r.withCtx(()=>[r.createVNode(z,{onInput:_,onSubmit:r.withModifiers(m,["prevent"])},{default:r.withCtx(()=>[r.createVNode(L,{disabled:r.unref(s).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(S.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(E,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1}),r.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(l),(ie,K)=>(r.openBlock(),r.createBlock(E,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ie},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:K},null,8,["value"]),r.createVNode(I,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),r.createVNode(I,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(tn)[K].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),r.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var ie,K;return[(K=(ie=r.unref(s))==null?void 0:ie.context)!=null&&K.remoteError?(r.openBlock(),r.createBlock(P,{key:0},{default:r.withCtx(()=>{var J;return[r.createTextVNode(r.toDisplayString(r.unref(N)((J=r.unref(s))==null?void 0:J.context.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(x,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(s).matches("verifyUser.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1},8,["disabled"]),r.createVNode(x,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(w,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(S.$slots,"footer",{onSkipClicked:w,onVerifyUserSubmit:m})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),ro=r.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const n=re(),o=r.useAttrs(),{state:i,send:a}=de(),s=r.computed(()=>se(i.value)),{getAccountRecoveryInfoText:l,getSkipText:c,getSubmitText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=m=>{const{name:y,value:w}=m.target;a({type:"CHANGE",data:{name:y,value:w}})},v=m=>{o!=null&&o.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",m):h(m)},h=m=>{n.submitForm(he(m))},_=()=>{o!=null&&o.onSkipClicked?t("skipClicked"):a({type:"SKIP"})};return(m,y)=>{const w=xe,S=te,b=ve,A=ae,E=Se,k=ge,I=we;return r.renderSlot(m.$slots,"confirmVerifyUserSlotI",r.normalizeProps(r.guardReactiveProps(m.$attrs)),()=>[r.createVNode(S,r.normalizeProps(r.guardReactiveProps(m.$attrs)),{default:r.withCtx(()=>[r.createVNode(I,{onInput:p,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("confirmVerifyUser.pending")},{default:r.withCtx(()=>[r.renderSlot(m.$slots,"header",{},()=>[r.createVNode(w,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1})]),r.createVNode(S,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmVerifyUser"})]),_:1}),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var $,P;return[(P=($=r.unref(s))==null?void 0:$.context)!=null&&P.remoteError?(r.openBlock(),r.createBlock(b,{key:0},{default:r.withCtx(()=>{var x;return[r.createTextVNode(r.toDisplayString(r.unref(N)((x=r.unref(s))==null?void 0:x.context.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(s).matches("confirmVerifyUser.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(_,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1},8,["onClick"]),r.renderSlot(m.$slots,"footer",{onSkipClicked:_,onConfirmVerifyUserSubmit:v})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),hb="3.1.18",yb=["data-variation"],vb={"data-amplify-container":""},wb=["data-amplify-router-content"],Sb={key:1,"data-amplify-router-content":""},La=r.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,o=r.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:l,signUpAttributes:c,socialProviders:u,hideSignUp:d,formFields:g}=r.toRefs(n);let f;const p=r.ref(!1),{service:v,send:h,state:_}=de();f=v.subscribe(T=>{T.matches("setup")&&!p.value&&(h({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:u==null?void 0:u.value,signUpAttributes:c==null?void 0:c.value,services:l==null?void 0:l.value,formFields:g==null?void 0:g.value}}),p.value=!0)}).unsubscribe;const{route:m,signOut:y,toSignIn:w,toSignUp:S,user:b}=r.toRefs(re());r.onMounted(()=>{tl({packageName:"@aws-amplify/ui-vue",version:hb})}),r.onUnmounted(()=>{f&&f()});const A=r.ref(),E=r.ref(),k=r.ref(),I=r.ref(),$=r.ref(),P=r.ref(),x=r.ref(),O=r.ref(),L=r.ref(),z=r.ref(),{getSignInTabText:ie,getSignUpTabText:K}=ue,J=r.computed(()=>ie()),pe=r.computed(()=>K()),Oe=T=>{var In;o!=null&&o.onSignInSubmit?t("signInSubmit",T):(In=A.value)==null||In.submit(T)},oe=T=>{o!=null&&o.onConfirmSignUpSubmit?t("confirmSignUpSubmit",T):k.value.submit(T)},at=T=>{o!=null&&o.onResetPasswordSubmit?t("resetPasswordSubmit",T):x.value.submit(T)},st=T=>{o!=null&&o.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",T):O.value.submit(T)},ne=T=>{o!=null&&o.onConfirmSignInSubmit?t("confirmSignInSubmit",T):I.value.submit(T)},Ie=T=>{o!=null&&o.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",T):$.value.submit(T)},Ha=T=>{o!=null&&o.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",T):P.value.submit(T)},Wa=T=>{o!=null&&o.onSignUpSubmit?t("signUpSubmit",T):E.value.submit()},Ya=T=>{o!=null&&o.onVerifyUserSubmit?t("verifyUserSubmit",T):L.value.submit(T)},Ka=T=>{o!=null&&o.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",T):z.value.submit(T)},An=r.computed(()=>m.value==="signIn"||m.value==="signUp"),qa=r.computed(()=>["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","resetPassword","setupTOTP","signIn","signUp","verifyUser"].includes(m.value));return(T,In)=>{const oo=y_,Ja=S_;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(qa)?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0},T.$attrs,{"data-amplify-authenticator":"","data-variation":r.unref(s)}),[r.createElementVNode("div",vb,[r.renderSlot(T.$slots,"header"),r.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":r.unref(An)?void 0:""},[r.unref(An)&&!r.unref(d)?(r.openBlock(),r.createBlock(Ja,{key:0},{default:r.withCtx(()=>[r.createVNode(oo,{active:r.unref(m)==="signIn",id:44472,label:r.unref(J),onClick:r.unref(w)},null,8,["active","label","onClick"]),r.createVNode(oo,{active:r.unref(m)==="signUp",id:44471,label:r.unref(pe),onClick:r.unref(S)},null,8,["active","label","onClick"])]),_:1})):r.createCommentVNode("",!0),r.unref(An)?(r.openBlock(),r.createElementBlock("div",Sb,[r.unref(m)==="signIn"?(r.openBlock(),r.createBlock(jr,{key:0,onSignInSubmit:Oe,ref_key:"signInComponent",ref:A},{signInSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-in")]),form:r.withCtx(({info:q,onSignInSubmit:Q,onForgotPasswordClicked:Za,onInput:Qa})=>[r.renderSlot(T.$slots,"sign-in-form",{info:q,onInput:Qa,onSignInSubmit:Q,onForgotPasswordClicked:Za})]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="signUp"&&!r.unref(d)?(r.openBlock(),r.createBlock(Gr,{key:1,onSignUpSubmit:Wa,ref_key:"signUpComponent",ref:E},{signUpSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-up")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-up-header")]),"signup-fields":r.withCtx(({info:q})=>[r.renderSlot(T.$slots,"sign-up-fields",{info:q})]),footer:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0)])):r.createCommentVNode("",!0),r.unref(m)==="confirmSignUp"?(r.openBlock(),r.createBlock(Hr,{key:2,onConfirmSignUpSubmit:oe,ref_key:"confirmSignUpComponent",ref:k},{confirmSignUpSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-up")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-up-header")]),footer:r.withCtx(({onConfirmSignUpSubmit:q,onLostCodeClicked:Q})=>[r.renderSlot(T.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:q,onLostCodeClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="resetPassword"?(r.openBlock(),r.createBlock(eo,{key:3,onResetPasswordSubmit:at,ref_key:"resetPasswordComponent",ref:x},{resetPasswordSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"reset-password")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"reset-password-header")]),footer:r.withCtx(({onResetPasswordSubmit:q,onBackToSignInClicked:Q})=>[r.renderSlot(T.$slots,"reset-password-footer",{onResetPasswordSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="confirmResetPassword"?(r.openBlock(),r.createBlock(to,{key:4,onConfirmResetPasswordSubmit:st,ref_key:"confirmResetPasswordComponent",ref:O},{confirmResetPasswordSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-reset-password")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-reset-password-header")]),footer:r.withCtx(({onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})=>[r.renderSlot(T.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="confirmSignIn"?(r.openBlock(),r.createBlock(Wr,{key:5,onConfirmSignInSubmit:ne,ref_key:"confirmSignInComponent",ref:I},{confirmSignInSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-in")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-in-header")]),footer:r.withCtx(({onConfirmSignInSubmit:q,onBackToSignInClicked:Q})=>[r.renderSlot(T.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="setupTOTP"?(r.openBlock(),r.createBlock(gb,{key:6,onConfirmSetupTotpSubmit:Ie,ref_key:"confirmSetupTOTPComponent",ref:$},{confirmSetupTOTPI:r.withCtx(()=>[r.renderSlot(T.$slots,"setup-totp")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"setup-totp-header")]),footer:r.withCtx(({onSetupTOTPSubmit:q,onBackToSignInClicked:Q})=>[r.renderSlot(T.$slots,"setup-totp-footer",{onSetupTOTPSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="forceNewPassword"?(r.openBlock(),r.createBlock(Xr,{key:7,onForceNewPasswordSubmit:Ha,ref_key:"forceNewPasswordComponent",ref:P},{forceNewPasswordI:r.withCtx(()=>[r.renderSlot(T.$slots,"force-new-password")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"force-new-password-header")]),"force-new-password-form-fields":r.withCtx(()=>[r.renderSlot(T.$slots,"force-new-password-form-fields")]),footer:r.withCtx(({onHaveAccountClicked:q,onForceNewPasswordSubmit:Q})=>[r.renderSlot(T.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:Q,onBackToSignInClicked:q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="verifyUser"?(r.openBlock(),r.createBlock(no,{key:8,onVerifyUserSubmit:Ya,ref_key:"verifyUserComponent",ref:L},{verifyUserSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"verify-user")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"verify-user-header")]),footer:r.withCtx(({onVerifyUserSubmit:q,onSkipClicked:Q})=>[r.renderSlot(T.$slots,"verify-user-footer",{onVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="confirmVerifyUser"?(r.openBlock(),r.createBlock(ro,{key:9,onConfirmVerifyUserSubmit:Ka,ref_key:"confirmVerifyUserComponent",ref:z},{confirmVerifyUserSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-verify-user")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-verify-user-header")]),footer:r.withCtx(({onConfirmVerifyUserSubmit:q,onSkipClicked:Q})=>[r.renderSlot(T.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):r.createCommentVNode("",!0)],8,wb),r.renderSlot(T.$slots,"footer")])],16,yb)):r.createCommentVNode("",!0),r.unref(m)==="authenticated"?r.renderSlot(T.$slots,"default",{key:1,user:r.unref(b),state:r.unref(_),signOut:r.unref(y),send:r.unref(h)}):r.createCommentVNode("",!0)],64)}}}),ja=r.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),za=r.defineComponent({__name:"amplify-text-field",props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:n,id:o,autocomplete:i,placeholder:a,required:s,name:l,type:c}=r.toRefs(t);return(u,d)=>{const g=wn,f=Sn,p=te;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(g,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(n)),1)]),_:1},8,["class","for"]),r.createVNode(p,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>[r.createVNode(f,{class:"amplify-input amplify-field-group__control",id:r.unref(o),"aria-invalid":"false",autocomplete:r.unref(i),placeholder:r.unref(a),required:r.unref(s),name:r.unref(l),disabled:e.disabled,type:r.unref(c)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),_b={class:"amplify-flex amplify-field amplify-checkboxfield"},bb={class:"amplify-flex amplify-checkbox"},Cb={class:"amplify-visually-hidden"},Eb=["data-error","data-checked"],Ab=["data-checked"],Ib=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Tb=[Ib],Pb=r.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),kb={key:0,class:"amplify-text amplify-field__error-message"},Ga=r.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=r.ref(!1),{errorMessage:o}=r.toRefs(t);return(i,a)=>(r.openBlock(),r.createElementBlock("div",_b,[r.createElementVNode("label",bb,[r.createElementVNode("span",Cb,[r.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),r.createElementVNode("span",{class:r.normalizeClass(["amplify-flex amplify-checkbox__button",{"amplify-checkbox__button--error":!n.value}]),"aria-hidden":"true","data-focus":"false","data-error":!n.value,"data-checked":n.value},[(r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:r.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},Tb,10,Ab))],10,Eb),Pb]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",kb,r.toDisplayString(r.unref(o)),1))]))}});var Nb={install:e=>{e.component("SignIn",jr),e.component("SignUp",Gr),e.component("FederatedSignIn",vn),e.component("Authenticator",La),e.component("RenderInfo",ja),e.component("PasswordControl",Lr),e.component("ForceNewPassword",Xr),e.component("ResetPassword",eo),e.component("ConfirmResetPassword",to),e.component("ConfirmSignUp",Hr),e.component("ConfirmSignIn",Wr),e.component("VerifyUser",no),e.component("ConfirmVerifyUser",ro),e.component("AmplifyTextField",za),e.component("AmplifyCheckBox",Ga),e.component("AmplifyButton",ae),e.component("BaseFormField",Ca),e.component("BaseFormFields",_e),e.component("AuthenticatorSignUpFormFields",zr),e.component("AuthenticatorForceNewPasswordFormFields",Qr)}};exports.AmplifyButton=ae;exports.AmplifyCheckBox=Ga;exports.AmplifyTextField=za;exports.Authenticator=La;exports.AuthenticatorForceNewPasswordFormFields=Qr;exports.AuthenticatorSignUpFormFields=zr;exports.ConfirmResetPassword=to;exports.ConfirmSignIn=Wr;exports.ConfirmSignUp=Hr;exports.ConfirmVerifyUser=ro;exports.FederatedSignIn=vn;exports.ForceNewPassword=Xr;exports.PasswordControl=Lr;exports.RenderInfo=ja;exports.ResetPassword=eo;exports.SignIn=jr;exports.SignUp=Gr;exports.VerifyUser=no;exports.default=Nb;exports.translations=Hs;exports.useAuthenticator=re;
|
|
39
|
+
`;return typeof o=="function"&&o(null,f),f};const cb=C_,ir=Aa,Da=Fa,ub=Va;function Zr(e,t,n,o,i){const a=[].slice.call(arguments,1),s=a.length,l=typeof a[s-1]=="function";if(!l&&!cb())throw new Error("Callback required as last argument");if(l){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=o=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=o,o=void 0):(i=o,o=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=o=void 0):s===2&&!t.getContext&&(o=n,n=t,t=void 0),new Promise(function(c,u){try{const d=ir.create(n,o);c(e(d,t,o))}catch(d){u(d)}})}try{const c=ir.create(n,o);i(null,e(c,t,o))}catch(c){i(c)}}It.create=ir.create;It.toCanvas=Zr.bind(null,Da.render);It.toDataURL=Zr.bind(null,Da.renderToDataURL);It.toString=Zr.bind(null,function(e,t,n){return ub.render(e,n)});const db={key:0},fb=["src"],pb={"data-amplify-copy-tooltip":""},mb=r.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),gb=r.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var x,O,L;const n=new W.Logger("SetupTOTP-logger"),o=re(),i=r.useAttrs(),{state:a,send:s}=de(),{value:{context:l}}=a,c=r.computed(()=>se(a.value)),{totpSecretCode:u,user:d}=c.value.context,g=(O=(x=l==null?void 0:l.config)==null?void 0:x.formFields)==null?void 0:O.setupTOTP,{totpIssuer:f="AWSCognito",totpUsername:p=d==null?void 0:d.username}=(L=g==null?void 0:g.QR)!=null?L:{},v=typeof u=="string"&&typeof p=="string"?al(f,p,u):null,h=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:_,getCopiedText:m,getBackToSignInText:y,getConfirmText:w}=ue,S=r.ref(_());function b(){typeof u=="string"&&navigator.clipboard.writeText(u),S.value=m()}r.onMounted(async()=>{if(!(!d||!v))try{h.qrCodeImageSource=await It.toDataURL(v)}catch(z){n.error(z)}finally{h.isLoading=!1}});const A=r.computed(()=>y()),E=r.computed(()=>w()),k=z=>{const{name:ie,value:K}=z.target;s({type:"CHANGE",data:{name:ie,value:K}})},I=z=>{i!=null&&i.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",z):$(z)},$=z=>{o.submitForm(ye(z))},P=()=>{i!=null&&i.onBackToSignInClicked?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(z,ie)=>{const K=xe,J=te,pe=we,Oe=ae,oe=ge,at=Se,st=he;return r.renderSlot(z.$slots,"confirmSetupTOTPI",r.normalizeProps(r.guardReactiveProps(z.$attrs)),()=>[r.createVNode(J,r.normalizeProps(r.guardReactiveProps(z.$attrs)),{default:r.withCtx(()=>[r.createVNode(st,{"data-amplify-authenticator-setup-totp":"",onInput:k,onSubmit:r.withModifiers(I,["prevent"])},{default:r.withCtx(()=>[r.createVNode(at,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createVNode(J,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(z.$slots,"header",{},()=>[r.createVNode(K,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(" Setup TOTP ")]),_:1})]),r.createVNode(J,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[h.isLoading?(r.openBlock(),r.createElementBlock("p",db,"Loading...")):(r.openBlock(),r.createElementBlock("img",{key:1,class:"amplify-image","data-amplify-qrcode":"",src:h.qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,fb)),r.createVNode(J,{class:"amplify-flex","data-amplify-copy":""},{default:r.withCtx(()=>[r.createElementVNode("div",null,r.toDisplayString(r.unref(u)),1),r.createVNode(J,{"data-amplify-copy-svg":"",onClick:b},{default:r.withCtx(()=>[r.createElementVNode("div",pb,r.toDisplayString(S.value),1),mb]),_:1})]),_:1}),r.createVNode(_e,{route:"setupTOTP"})]),_:1}),r.createVNode(oe,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var ne;return[(ne=r.unref(c).context)!=null&&ne.remoteError?(r.openBlock(),r.createBlock(pe,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(c).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(Oe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(c).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(E)),1)]),_:1},8,["disabled"]),r.createVNode(Oe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(P,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(A)),1)]),_:1},8,["onClick"]),r.renderSlot(z.$slots,"footer",{onBackToSignInClicked:P,onSetupTOTPSubmit:I})]}),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Qr=r.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(_e,{route:"forceNewPassword"}))}}),Xr=r.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=r.useAttrs(),{state:o,send:i}=de(),a=re(),s=r.computed(()=>se(o.value)),{getChangePasswordText:l,getChangingText:c,getBackToSignInText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},v=y=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",y):h(y)},h=y=>{a.submitForm(ye(y))},_=y=>{const{name:w,value:S}=y.target;i({type:"CHANGE",data:{name:w,value:S}})};function m(y){const{name:w}=y.target;a.updateBlur({name:w})}return(y,w)=>{const S=xe,b=te,A=we,E=ae,k=ge,I=Se,$=he;return r.renderSlot(y.$slots,"forceNewPasswordI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{"data-amplify-authenticator-forcenewpassword":"",onInput:_,onBlurCapture:m,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("forceNewPassword.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(S,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"force-new-password-form-fields",{},()=>[r.createVNode(Qr)])]),_:3}),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s).context.remoteError?(r.openBlock(),r.createBlock(A,{key:0,"data-ui-error":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(s).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(s).matches("signUp.submit")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(s).matches("forceNewPassword.pending")?r.unref(g)+"\u2026":r.unref(d)),1)]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(p,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onHaveAccountClicked:p,onForceNewPasswordSubmit:v})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),eo=r.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{send:o,submitForm:i}=re(),{error:a,isPending:s}=r.toRefs(re()),{getBackToSignInText:l,getResetYourPasswordText:c,getSendCodeText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=m=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",m):v(m)},v=m=>{i(ye(m))},h=m=>{const{name:y,value:w}=m.target;o({type:"CHANGE",data:{name:y,value:w}})},_=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):o({type:"SIGN_IN"})};return(m,y)=>{const w=xe,S=Se,b=we,A=ae,E=ge,k=te,I=he;return r.renderSlot(m.$slots,"resetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(m.$attrs)),()=>[r.createVNode(I,r.mergeProps(m.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:h,onSubmit:r.withModifiers(p,["prevent"])}),{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(m.$slots,"header",{},()=>[r.createVNode(w,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1})]),r.createVNode(S,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{default:r.withCtx(()=>[r.createVNode(_e,{route:"resetPassword"})]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(b,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(_,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["onClick"]),r.renderSlot(m.$slots,"footer",{onBackToSignInClicked:_,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),to=r.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:o}=de(),i=re(),a=r.useAttrs(),s=r.computed(()=>se(n.value)),{getResendCodeText:l,getResetYourPasswordText:c,getSubmitText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=y=>{a!=null&&a.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",y):v(y)},v=y=>{i.submitForm(ye(y))},h=()=>{o({type:"RESEND"})},_=y=>{const{name:w,value:S}=y.target;o({type:"CHANGE",data:{name:w,value:S}})};function m(y){const{name:w}=y.target;i.updateBlur({name:w})}return(y,w)=>{const S=xe,b=te,A=we,E=ae,k=ge,I=Se,$=he;return r.renderSlot(y.$slots,"confirmResetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{"data-amplify-authenticator-confirmResetpassword":"",onInput:_,onBlurCapture:m,onSubmit:r.withModifiers(p,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("confirmResetPassword.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(S,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmResetPassword"})]),_:1}),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var P,x;return[(x=(P=r.unref(s))==null?void 0:P.context)!=null&&x.remoteError?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>{var O,L;return[r.createTextVNode(r.toDisplayString(r.unref(N)((L=(O=r.unref(s))==null?void 0:O.context)==null?void 0:L.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:r.unref(s).matches("confirmResetPassword.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["disabled"]),r.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onConfirmResetPasswordSubmit:p,onLostYourCodeClicked:h})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),no=r.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const n=re(),o=r.useAttrs(),{state:i,send:a}=de(),s=r.computed(()=>se(i.value)),{unverifiedContactMethods:l}=s.value.context,{getAccountRecoveryInfoText:c,getSkipText:u,getVerifyText:d,getVerifyContactText:g}=ue,f=r.computed(()=>c()),p=r.computed(()=>u()),v=r.computed(()=>d()),h=r.computed(()=>g()),_=S=>{const{name:b,value:A}=S.target;a({type:"CHANGE",data:{name:b,value:A}})},m=S=>{o!=null&&o.onVerifyUserSubmit?t("verifyUserSubmit",S):y(S)},y=S=>{n.submitForm(ye(S))},w=()=>{o!=null&&o.onSkipClicked?t("skipClicked"):a("SKIP")};return(S,b)=>{const A=xe,E=Sn,k=wn,I=Ea,$=te,P=we,x=ae,O=ge,L=Se,z=he;return r.renderSlot(S.$slots,"verifyUserSlotI",{},()=>[r.createVNode($,null,{default:r.withCtx(()=>[r.createVNode(z,{onInput:_,onSubmit:r.withModifiers(m,["prevent"])},{default:r.withCtx(()=>[r.createVNode(L,{disabled:r.unref(s).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(S.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(E,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1}),r.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(l),(ie,K)=>(r.openBlock(),r.createBlock(E,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ie},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:K},null,8,["value"]),r.createVNode(I,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),r.createVNode(I,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(nn)[K].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),r.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var ie,K;return[(K=(ie=r.unref(s))==null?void 0:ie.context)!=null&&K.remoteError?(r.openBlock(),r.createBlock(P,{key:0},{default:r.withCtx(()=>{var J;return[r.createTextVNode(r.toDisplayString(r.unref(N)((J=r.unref(s))==null?void 0:J.context.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(x,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(s).matches("verifyUser.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1},8,["disabled"]),r.createVNode(x,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(w,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(S.$slots,"footer",{onSkipClicked:w,onVerifyUserSubmit:m})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),ro=r.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const n=re(),o=r.useAttrs(),{state:i,send:a}=de(),s=r.computed(()=>se(i.value)),{getAccountRecoveryInfoText:l,getSkipText:c,getSubmitText:u}=ue,d=r.computed(()=>l()),g=r.computed(()=>c()),f=r.computed(()=>u()),p=m=>{const{name:y,value:w}=m.target;a({type:"CHANGE",data:{name:y,value:w}})},v=m=>{o!=null&&o.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",m):h(m)},h=m=>{n.submitForm(ye(m))},_=()=>{o!=null&&o.onSkipClicked?t("skipClicked"):a({type:"SKIP"})};return(m,y)=>{const w=xe,S=te,b=we,A=ae,E=ge,k=Se,I=he;return r.renderSlot(m.$slots,"confirmVerifyUserSlotI",r.normalizeProps(r.guardReactiveProps(m.$attrs)),()=>[r.createVNode(S,r.normalizeProps(r.guardReactiveProps(m.$attrs)),{default:r.withCtx(()=>[r.createVNode(I,{onInput:p,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s).matches("confirmVerifyUser.pending")},{default:r.withCtx(()=>[r.renderSlot(m.$slots,"header",{},()=>[r.createVNode(w,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1})]),r.createVNode(S,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_e,{route:"confirmVerifyUser"})]),_:1}),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var $,P;return[(P=($=r.unref(s))==null?void 0:$.context)!=null&&P.remoteError?(r.openBlock(),r.createBlock(b,{key:0},{default:r.withCtx(()=>{var x;return[r.createTextVNode(r.toDisplayString(r.unref(N)((x=r.unref(s))==null?void 0:x.context.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(s).matches("confirmVerifyUser.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(_,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1},8,["onClick"]),r.renderSlot(m.$slots,"footer",{onSkipClicked:_,onConfirmVerifyUserSubmit:v})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),hb="3.1.20",yb=["data-variation"],vb={"data-amplify-container":""},wb=["data-amplify-router-content"],Sb={key:1,"data-amplify-router-content":""},La=r.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,o=r.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:l,signUpAttributes:c,socialProviders:u,hideSignUp:d,formFields:g}=r.toRefs(n);let f;const p=r.ref(!1),{service:v,send:h,state:_}=de();f=v.subscribe(T=>{T.matches("setup")&&!p.value&&(h({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:u==null?void 0:u.value,signUpAttributes:c==null?void 0:c.value,services:l==null?void 0:l.value,formFields:g==null?void 0:g.value}}),p.value=!0)}).unsubscribe;const{route:m,signOut:y,toSignIn:w,toSignUp:S,user:b}=r.toRefs(re());r.onMounted(()=>{rl({packageName:"@aws-amplify/ui-vue",version:hb})}),r.onUnmounted(()=>{f&&f()});const A=r.ref(),E=r.ref(),k=r.ref(),I=r.ref(),$=r.ref(),P=r.ref(),x=r.ref(),O=r.ref(),L=r.ref(),z=r.ref(),{getSignInTabText:ie,getSignUpTabText:K}=ue,J=r.computed(()=>ie()),pe=r.computed(()=>K()),Oe=T=>{var In;o!=null&&o.onSignInSubmit?t("signInSubmit",T):(In=A.value)==null||In.submit(T)},oe=T=>{o!=null&&o.onConfirmSignUpSubmit?t("confirmSignUpSubmit",T):k.value.submit(T)},at=T=>{o!=null&&o.onResetPasswordSubmit?t("resetPasswordSubmit",T):x.value.submit(T)},st=T=>{o!=null&&o.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",T):O.value.submit(T)},ne=T=>{o!=null&&o.onConfirmSignInSubmit?t("confirmSignInSubmit",T):I.value.submit(T)},Ie=T=>{o!=null&&o.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",T):$.value.submit(T)},Ha=T=>{o!=null&&o.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",T):P.value.submit(T)},Wa=T=>{o!=null&&o.onSignUpSubmit?t("signUpSubmit",T):E.value.submit()},Ya=T=>{o!=null&&o.onVerifyUserSubmit?t("verifyUserSubmit",T):L.value.submit(T)},Ka=T=>{o!=null&&o.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",T):z.value.submit(T)},An=r.computed(()=>m.value==="signIn"||m.value==="signUp"),qa=r.computed(()=>["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","resetPassword","setupTOTP","signIn","signUp","verifyUser"].includes(m.value));return(T,In)=>{const oo=S_,Ja=w_;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(qa)?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0},T.$attrs,{"data-amplify-authenticator":"","data-variation":r.unref(s)}),[r.createElementVNode("div",vb,[r.renderSlot(T.$slots,"header"),r.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":r.unref(An)?void 0:""},[r.unref(An)&&!r.unref(d)?(r.openBlock(),r.createBlock(Ja,{key:0},{default:r.withCtx(()=>[r.createVNode(oo,{active:r.unref(m)==="signIn",id:44472,label:r.unref(J),onClick:r.unref(w)},null,8,["active","label","onClick"]),r.createVNode(oo,{active:r.unref(m)==="signUp",id:44471,label:r.unref(pe),onClick:r.unref(S)},null,8,["active","label","onClick"])]),_:1})):r.createCommentVNode("",!0),r.unref(An)?(r.openBlock(),r.createElementBlock("div",Sb,[r.unref(m)==="signIn"?(r.openBlock(),r.createBlock(jr,{key:0,onSignInSubmit:Oe,ref_key:"signInComponent",ref:A},{signInSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-in")]),form:r.withCtx(({info:q,onSignInSubmit:Q,onForgotPasswordClicked:Za,onInput:Qa})=>[r.renderSlot(T.$slots,"sign-in-form",{info:q,onInput:Qa,onSignInSubmit:Q,onForgotPasswordClicked:Za})]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="signUp"&&!r.unref(d)?(r.openBlock(),r.createBlock(Gr,{key:1,onSignUpSubmit:Wa,ref_key:"signUpComponent",ref:E},{signUpSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-up")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-up-header")]),"signup-fields":r.withCtx(({info:q})=>[r.renderSlot(T.$slots,"sign-up-fields",{info:q})]),footer:r.withCtx(()=>[r.renderSlot(T.$slots,"sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0)])):r.createCommentVNode("",!0),r.unref(m)==="confirmSignUp"?(r.openBlock(),r.createBlock(Hr,{key:2,onConfirmSignUpSubmit:oe,ref_key:"confirmSignUpComponent",ref:k},{confirmSignUpSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-up")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-up-header")]),footer:r.withCtx(({onConfirmSignUpSubmit:q,onLostCodeClicked:Q})=>[r.renderSlot(T.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:q,onLostCodeClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="resetPassword"?(r.openBlock(),r.createBlock(eo,{key:3,onResetPasswordSubmit:at,ref_key:"resetPasswordComponent",ref:x},{resetPasswordSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"reset-password")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"reset-password-header")]),footer:r.withCtx(({onResetPasswordSubmit:q,onBackToSignInClicked:Q})=>[r.renderSlot(T.$slots,"reset-password-footer",{onResetPasswordSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="confirmResetPassword"?(r.openBlock(),r.createBlock(to,{key:4,onConfirmResetPasswordSubmit:st,ref_key:"confirmResetPasswordComponent",ref:O},{confirmResetPasswordSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-reset-password")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-reset-password-header")]),footer:r.withCtx(({onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})=>[r.renderSlot(T.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="confirmSignIn"?(r.openBlock(),r.createBlock(Wr,{key:5,onConfirmSignInSubmit:ne,ref_key:"confirmSignInComponent",ref:I},{confirmSignInSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-in")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-sign-in-header")]),footer:r.withCtx(({onConfirmSignInSubmit:q,onBackToSignInClicked:Q})=>[r.renderSlot(T.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="setupTOTP"?(r.openBlock(),r.createBlock(gb,{key:6,onConfirmSetupTotpSubmit:Ie,ref_key:"confirmSetupTOTPComponent",ref:$},{confirmSetupTOTPI:r.withCtx(()=>[r.renderSlot(T.$slots,"setup-totp")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"setup-totp-header")]),footer:r.withCtx(({onSetupTOTPSubmit:q,onBackToSignInClicked:Q})=>[r.renderSlot(T.$slots,"setup-totp-footer",{onSetupTOTPSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="forceNewPassword"?(r.openBlock(),r.createBlock(Xr,{key:7,onForceNewPasswordSubmit:Ha,ref_key:"forceNewPasswordComponent",ref:P},{forceNewPasswordI:r.withCtx(()=>[r.renderSlot(T.$slots,"force-new-password")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"force-new-password-header")]),"force-new-password-form-fields":r.withCtx(()=>[r.renderSlot(T.$slots,"force-new-password-form-fields")]),footer:r.withCtx(({onHaveAccountClicked:q,onForceNewPasswordSubmit:Q})=>[r.renderSlot(T.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:Q,onBackToSignInClicked:q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="verifyUser"?(r.openBlock(),r.createBlock(no,{key:8,onVerifyUserSubmit:Ya,ref_key:"verifyUserComponent",ref:L},{verifyUserSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"verify-user")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"verify-user-header")]),footer:r.withCtx(({onVerifyUserSubmit:q,onSkipClicked:Q})=>[r.renderSlot(T.$slots,"verify-user-footer",{onVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):r.createCommentVNode("",!0),r.unref(m)==="confirmVerifyUser"?(r.openBlock(),r.createBlock(ro,{key:9,onConfirmVerifyUserSubmit:Ka,ref_key:"confirmVerifyUserComponent",ref:z},{confirmVerifyUserSlotI:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-verify-user")]),header:r.withCtx(()=>[r.renderSlot(T.$slots,"confirm-verify-user-header")]),footer:r.withCtx(({onConfirmVerifyUserSubmit:q,onSkipClicked:Q})=>[r.renderSlot(T.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):r.createCommentVNode("",!0)],8,wb),r.renderSlot(T.$slots,"footer")])],16,yb)):r.createCommentVNode("",!0),r.unref(m)==="authenticated"?r.renderSlot(T.$slots,"default",{key:1,user:r.unref(b),state:r.unref(_),signOut:r.unref(y),send:r.unref(h)}):r.createCommentVNode("",!0)],64)}}}),ja=r.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),za=r.defineComponent({__name:"amplify-text-field",props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:n,id:o,autocomplete:i,placeholder:a,required:s,name:l,type:c}=r.toRefs(t);return(u,d)=>{const g=Sn,f=wn,p=te;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(g,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(n)),1)]),_:1},8,["class","for"]),r.createVNode(p,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>[r.createVNode(f,{class:"amplify-input amplify-field-group__control",id:r.unref(o),"aria-invalid":"false",autocomplete:r.unref(i),placeholder:r.unref(a),required:r.unref(s),name:r.unref(l),disabled:e.disabled,type:r.unref(c)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),_b={class:"amplify-flex amplify-field amplify-checkboxfield"},bb={class:"amplify-flex amplify-checkbox"},Cb={class:"amplify-visually-hidden"},Eb=["data-error","data-checked"],Ab=["data-checked"],Ib=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Tb=[Ib],Pb=r.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),kb={key:0,class:"amplify-text amplify-field__error-message"},Ga=r.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=r.ref(!1),{errorMessage:o}=r.toRefs(t);return(i,a)=>(r.openBlock(),r.createElementBlock("div",_b,[r.createElementVNode("label",bb,[r.createElementVNode("span",Cb,[r.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),r.createElementVNode("span",{class:r.normalizeClass(["amplify-flex amplify-checkbox__button",{"amplify-checkbox__button--error":!n.value}]),"aria-hidden":"true","data-focus":"false","data-error":!n.value,"data-checked":n.value},[(r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:r.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},Tb,10,Ab))],10,Eb),Pb]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",kb,r.toDisplayString(r.unref(o)),1))]))}});var Nb={install:e=>{e.component("SignIn",jr),e.component("SignUp",Gr),e.component("FederatedSignIn",vn),e.component("Authenticator",La),e.component("RenderInfo",ja),e.component("PasswordControl",Lr),e.component("ForceNewPassword",Xr),e.component("ResetPassword",eo),e.component("ConfirmResetPassword",to),e.component("ConfirmSignUp",Hr),e.component("ConfirmSignIn",Wr),e.component("VerifyUser",no),e.component("ConfirmVerifyUser",ro),e.component("AmplifyTextField",za),e.component("AmplifyCheckBox",Ga),e.component("AmplifyButton",ae),e.component("BaseFormField",Ca),e.component("BaseFormFields",_e),e.component("AuthenticatorSignUpFormFields",zr),e.component("AuthenticatorForceNewPasswordFormFields",Qr)}};exports.AmplifyButton=ae;exports.AmplifyCheckBox=Ga;exports.AmplifyTextField=za;exports.Authenticator=La;exports.AuthenticatorForceNewPasswordFormFields=Qr;exports.AuthenticatorSignUpFormFields=zr;exports.ConfirmResetPassword=to;exports.ConfirmSignIn=Wr;exports.ConfirmSignUp=Hr;exports.ConfirmVerifyUser=ro;exports.FederatedSignIn=vn;exports.ForceNewPassword=Xr;exports.PasswordControl=Lr;exports.RenderInfo=ja;exports.ResetPassword=eo;exports.SignIn=jr;exports.SignUp=Gr;exports.VerifyUser=no;exports.default=Nb;exports.translations=Ys;exports.useAuthenticator=re;
|