@aws-amplify/ui-vue 4.1.0 → 4.2.0

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 CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r=require("vue"),nr=require("aws-amplify/utils"),W=require("aws-amplify/auth"),L=require("@aws-amplify/core/internals/utils"),Pa=require("aws-amplify");const le=r.defineComponent({__name:"base-footer",setup(e){const 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)])}}),ue=r.defineComponent({__name:"base-form",setup(e){const 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 Jt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const ka={};function xa(e,t){return r.openBlock(),r.createElementBlock("div",null,[r.renderSlot(e.$slots,"default")])}var Z=Jt(ka,[["render",xa]]);const Ua=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ee=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(c,l)=>r.renderSlot(c.$slots,"buttont",r.normalizeProps(r.guardReactiveProps(c.$attrs)),()=>[r.createElementVNode("button",r.mergeProps({class:["amplify-button amplify-field-group__control",{[`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},c.$attrs,{"data-amplify-button":""}),[r.renderSlot(c.$slots,"default")],16,Ua)])}}),rr=e=>{var t;return(t=e.context.actorRef)==null?void 0:t.getSnapshot()},or=e=>{var t;return(t=rr(e))==null?void 0:t.context},$a={apis:[L.AuthAction.DeleteUser,L.AuthAction.UpdatePassword],category:L.Category.Auth},Ra={apis:[L.AuthAction.SignUp,L.AuthAction.ConfirmSignUp,L.AuthAction.ResendSignUpCode,L.AuthAction.SignIn,L.AuthAction.ConfirmSignIn,L.AuthAction.FetchUserAttributes,L.AuthAction.SignOut,L.AuthAction.ResetPassword,L.AuthAction.ConfirmResetPassword,L.AuthAction.SignInWithRedirect],category:L.Category.Auth},Oa={apis:[L.InAppMessagingAction.NotifyMessageInteraction],category:L.Category.InAppMessaging},Da={category:L.Category.Geo,apis:[L.GeoAction.SearchByText,L.GeoAction.SearchForSuggestions,L.GeoAction.SearchByPlaceId]},Fa={category:L.Category.Geo,apis:[]},Ma={apis:[L.StorageAction.UploadData],category:L.Category.Storage};function pt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function qo(e){return typeof e=="string"||typeof e=="object"&&Object.prototype.toString.call(e)==="[object String]"}function Ba(e){return pt(e)&&Object.prototype.toString.call(e)==="[object Map]"}function Va(e){return pt(e)&&Object.prototype.toString.call(e)==="[object Set]"}function Jo(e){if(e==null)return!0;if(pt(e)&&(Ba(e)||Va(e)))return!e.size;if(pt(e)&&(qo(e)||Array.isArray(e)))return!e.length;for(const t in e)if(Ga(e,t))return!1;return!0}function La(e){return pt(e)&&Jo(e)}function Ga(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}function Kr(e){return typeof e=="function"}function za(...e){}const Zo=({payload:e},t,n)=>{const{event:o}=e,{send:i}=t,{onSignIn:a,onSignOut:s}=n!=null?n:{};switch(o){case"signedIn":{Kr(a)&&a(e);break}case"signInWithRedirect":{i("SIGN_IN_WITH_REDIRECT");break}case"signedOut":case"tokenRefresh_failure":{o==="signedOut"&&Kr(s)&&s(),i("SIGN_OUT");break}}},ja=(e,t=Zo)=>{const n=o=>t(o,e);return nr.Hub.listen("auth",n,"authenticator-hub-handler")},Wa=["+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"],Zt={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"text",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:Wa,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}},Ha=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],Ya=(e,t)=>{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(t==null?void 0:t.matches("confirmSignUp")):case(t==null?void 0:t.matches("resendSignUpCode")):return"confirmSignUp";case(t==null?void 0:t.matches("confirmSignIn")):return"confirmSignIn";case(t==null?void 0:t.matches("setupTotp.edit")):case(t==null?void 0:t.matches("setupTotp.submit")):return"setupTotp";case(t==null?void 0:t.matches("signIn")):case(t==null?void 0:t.matches("federatedSignIn")):return"signIn";case(t==null?void 0:t.matches("signUp")):case(t==null?void 0:t.matches("autoSignIn")):return"signUp";case(t==null?void 0:t.matches("forceChangePassword")):return"forceNewPassword";case(t==null?void 0:t.matches("forgotPassword")):return"forgotPassword";case(t==null?void 0:t.matches("confirmResetPassword")):return"confirmResetPassword";case(t==null?void 0:t.matches("selectUserAttributes")):return"verifyUser";case(t==null?void 0:t.matches("confirmVerifyUserAttribute")):return"confirmVerifyUser";case e.matches("getCurrentUser"):case(t==null?void 0:t.matches("fetchUserAttributes")):return"transition";default:return null}},Ka=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"),toForgotPassword:t("FORGOT_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},qa=e=>{var g,w,y,_,C;const t=(g=or(e))!=null?g:{},{challengeName:n,codeDeliveryDetails:o,remoteError:i,validationError:a,totpSecretCode:s=null,unverifiedUserAttributes:c,username:l}=t,{socialProviders:u=[]}=(y=(w=e.context)==null?void 0:w.config)!=null?y:{},d=(C=t==null?void 0:t.user)!=null?C:(_=e.context)==null?void 0:_.user,m=!!(a&&Object.keys(a).length>0),f=rr(e),p=e.hasTag("pending")||(f==null?void 0:f.hasTag("pending")),h=Ya(e,f);return{authStatus:(A=>{switch(A){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(h),challengeName:n,codeDeliveryDetails:o,error:i,hasValidationErrors:m,isPending:p,route:h,socialProviders:u,totpSecretCode:s,unverifiedUserAttributes:c,user:d,username:l,validationErrors:a}},Ja=({send:e,state:t})=>{const n=Ka(e),o=qa(t);return{...n,...o}};var Dn;(function(e){e.Apple="Apple",e.Amazon="Amazon",e.Facebook="Facebook",e.Google="Google"})(Dn||(Dn={}));var qr;(function(e){e.Email="email",e.PhoneNumber="phone_number"})(qr||(qr={}));const Za=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],Qa=["username","email","phone_number"],Qo=[...Qa,...Za,"confirmation_code","password","confirm_password"],Xa=e=>Qo.includes(e),de=e=>{const t=new FormData(e.target);return Object.fromEntries(t)},Xo=e=>Qo.includes(e),es=e=>Array.isArray(e),ts=e=>e?es(e)?e:[e]:null,ns=e=>Ha.some(t=>e.includes(t)),rs=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function os(e,...t){return Object.entries(e).reduce((n,[o,i])=>({...n,[o]:t.includes(o)?i:i==null?void 0:i.trim()}),{})}const is={"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","Please confirm your Password":"Bitte best\xE4tigen Sie Ihr Passwort","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 ein","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 gesendet","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 Ihr 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"},as={"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"},ss={"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"},cs={"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","Your passwords must match":"Vos mots de passe doivent \xEAtre identiques","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},ls={"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"},us={"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:"},ds={"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"},fs={"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"},ps={"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"},ms={"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"},gs={"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"},hs={"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"},ys={"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"},vs={"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"},ws={"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"},_s={"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"},Ss={"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"},Cs={"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"},bs={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"},As={...is},Es={...as},Is={...ss},Ts={...cs},Ns={...ls},Ps={...us},Jr={...ds},ks={...fs},xs={...ps},Us={...ms},$s={...gs},Rs={...hs},Os={...ys},Ds={...vs},Fs={...ws},Ms={..._s},Bs={...Ss},Vs={...Cs},Ls={...bs},$={...Ls};function N(e){return nr.I18n.get(e)}const Gs={de:As,en:Es,es:Is,fr:Ts,id:Ds,it:Ns,ja:Ps,kr:Jr,ko:Jr,nb:ks,nl:xs,pl:Us,pt:$s,zh:Rs,sv:Os,tr:Fs,ru:Ms,he:Bs,ua:Vs},ir=e=>{var o;const t=(o=e==null?void 0:e.context.config)==null?void 0:o.loginMechanisms,[n]=t!=null?t:["username"];return n},zs=e=>{const t={...e};for(const[n,o]of Object.entries(e)){const{label:i,placeholder:a}=o;t[n]={...o,label:i?N(i):void 0,placeholder:a?N(a):void 0}}return t},js=e=>Object.entries(e).sort((t,n)=>{const o=t[1].order||Number.MAX_VALUE,i=n[1].order||Number.MAX_VALUE;return o-i}).filter(t=>t[1]!==void 0),Ws="+1",Ee=e=>{let t=Zt[e];const{type:n}=t;return n==="tel"&&(t={...t,dialCode:Ws}),t},Qt=e=>{const t=ir(e);return{...Ee(t),autocomplete:"username"}},Dt=e=>({confirmation_code:{...Ee("confirmation_code"),label:"Code *",placeholder:"Code"}}),Hs=e=>({username:{...Qt(e)},password:{...Ee("password"),autocomplete:"current-password"}}),Ys=e=>{const{loginMechanisms:t,signUpAttributes:n}=e.context.config,o=ir(e),i=Array.from(new Set([...t,"password","confirm_password",...n])),a={};for(const s of i)if(Xo(s)){const c=s===o?Qt(e):Ee(s);a[s]={...c}}else console.debug(`Authenticator does not have a default implementation for ${s}. Customize SignUp FormFields to add your own.`);return a},Ks=e=>({confirmation_code:{...Ee("confirmation_code"),placeholder:"Enter your code"}}),qs=e=>{const t=ir(e),{label:n}=Zt[t];return{username:{...Qt(e),label:`Enter your ${n.toLowerCase()}`,placeholder:`Enter your ${n.toLowerCase()}`}}},Js=e=>({...Dt(),password:{...Ee("password"),label:"New Password",placeholder:"New Password"},confirm_password:{...Ee("confirm_password"),label:"Confirm Password",placeholder:"Confirm Password"}}),Zs=e=>{const t=rr(e),{missingAttributes:n}=t.context,o=Array.from(new Set(["password","confirm_password",...n!=null?n:[]])),i={};for(const a of o)Xo(a)?i[a]={...Ee(a)}:console.debug(`Authenticator does not have a default implementation for ${a}. Customize ForceNewPassword FormFields to add your own.`);return i},Qs={signIn:Hs,signUp:Ys,confirmSignUp:Ks,confirmSignIn:Dt,forceNewPassword:Zs,forgotPassword:qs,confirmResetPassword:Js,confirmVerifyUser:Dt,setupTotp:Dt},Xs=(e,t)=>{const n=Qs[e];return n(t)},ec=(e,t)=>{var o,i;const n=(i=(o=or(t))==null?void 0:o.formFields)==null?void 0:i[e];return!n||Object.keys(n).length===0?{}:Object.entries(n).reduce((a,[s,c])=>{if((e==="signIn"||e==="forgotPassword")&&s==="username"){const u={...Qt(t),...c};return{...a,[s]:u}}else if(Xa(s)){const u={...Zt[s],...c};return{...a,[s]:u}}else return{...a,[s]:c}},{})},tc=(e,t)=>{const n=Xs(e,t),o=ec(e,t),i={...n,...o};return delete i.QR,zs(i)},nc=e=>e.map(t=>{const n=t[0],o={...t[1],order:void 0};return[n,o]}),rc=(e,t)=>{const n=tc(e,t);return nc(js(n))},oc=e=>{switch(e){case"SMS_MFA":return N($.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return N($.CONFIRM_TOTP);default:throw new Error(`${N("Unexpected challengeName encountered in ConfirmSignIn:")} ${e}`)}},ic=e=>{const{DeliveryMedium:t,Destination:n}=e!=null?e:{},o=t==="EMAIL",i=t==="SMS",a=N($.CODE_ARRIVAL);return o||i?`${N(o?$.CODE_EMAILED:$.CODE_TEXTED)} ${n}. ${a}.`:`${N($.CODE_SENT)}. ${a}.`},ac=e=>{const{DeliveryMedium:t}=e!=null?e:{},n=t==="EMAIL";return N(!n&&t==="SMS"?$.WE_SENT_CODE:n?$.WE_EMAILED:$.WE_TEXTED)},sc={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},cc=(e,t)=>N(`Sign ${e==="signIn"?"In":"Up"} with ${sc[t]}`),oe={getBackToSignInText:()=>N($.BACK_SIGN_IN),getChangePasswordText:()=>N($.CHANGE_PASSWORD),getChangingText:()=>N($.CHANGING_PASSWORD),getConfirmText:()=>N($.CONFIRM),getConfirmingText:()=>N($.CONFIRMING),getCopyText:()=>N($.UPPERCASE_COPY),getHidePasswordText:()=>N($.HIDE_PASSWORD),getLoadingText:()=>N($.LOADING),getOrText:()=>N($.OR),getResendCodeText:()=>N($.RESEND_CODE),getSendCodeText:()=>N($.SEND_CODE),getSendingText:()=>N($.SENDING),getShowPasswordText:()=>N($.SHOW_PASSWORD),getSubmitText:()=>N($.SUBMIT),getSubmittingText:()=>N($.SUBMITTING),getSignInTabText:()=>N($.SIGN_IN_TAB),getSignUpTabText:()=>N($.CREATE_ACCOUNT),getForgotPasswordText:e=>N(e?$.FORGOT_PASSWORD:$.FORGOT_YOUR_PASSWORD),getSigningInText:()=>N($.SIGNING_IN_BUTTON),getSignInText:()=>N($.SIGN_IN_BUTTON),getCreatingAccountText:()=>N($.CREATING_ACCOUNT),getCreateAccountText:()=>N($.CREATE_ACCOUNT),getDeliveryMessageText:ic,getDeliveryMethodText:ac,getChallengeText:oc,getResetYourPasswordText:()=>N($.RESET_PASSWORD),getSetupTotpText:()=>N($.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:cc,getSkipText:()=>N($.SKIP),getVerifyText:()=>N($.VERIFY),getVerifyContactText:()=>N($.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>N($.VERIFY_HEADING),getInvalidEmailText:()=>N("Please enter a valid email"),getRequiredFieldText:()=>N("This field is required")};/*! *****************************************************************************
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r=require("vue"),nr=require("aws-amplify/utils"),W=require("aws-amplify/auth"),L=require("@aws-amplify/core/internals/utils"),ka=require("aws-amplify");const le=r.defineComponent({__name:"base-footer",setup(e){const 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)])}}),ue=r.defineComponent({__name:"base-form",setup(e){const 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 Jt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const xa={};function Ua(e,t){return r.openBlock(),r.createElementBlock("div",null,[r.renderSlot(e.$slots,"default")])}var Z=Jt(xa,[["render",Ua]]);const $a=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ee=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(c,l)=>r.renderSlot(c.$slots,"buttont",r.normalizeProps(r.guardReactiveProps(c.$attrs)),()=>[r.createElementVNode("button",r.mergeProps({class:["amplify-button amplify-field-group__control",{[`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},c.$attrs,{"data-amplify-button":""}),[r.renderSlot(c.$slots,"default")],16,$a)])}}),rr=e=>{var t;return(t=e.context.actorRef)==null?void 0:t.getSnapshot()},or=e=>{var t;return(t=rr(e))==null?void 0:t.context},Ra={apis:[L.AuthAction.DeleteUser,L.AuthAction.UpdatePassword],category:L.Category.Auth},Oa={apis:[L.AuthAction.SignUp,L.AuthAction.ConfirmSignUp,L.AuthAction.ResendSignUpCode,L.AuthAction.SignIn,L.AuthAction.ConfirmSignIn,L.AuthAction.FetchUserAttributes,L.AuthAction.SignOut,L.AuthAction.ResetPassword,L.AuthAction.ConfirmResetPassword,L.AuthAction.SignInWithRedirect],category:L.Category.Auth},Da={apis:[L.InAppMessagingAction.NotifyMessageInteraction],category:L.Category.InAppMessaging},Fa={category:L.Category.Geo,apis:[L.GeoAction.SearchByText,L.GeoAction.SearchForSuggestions,L.GeoAction.SearchByPlaceId]},Ma={category:L.Category.Geo,apis:[]},Ba={apis:[L.StorageAction.UploadData],category:L.Category.Storage};function pt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function qo(e){return typeof e=="string"||typeof e=="object"&&Object.prototype.toString.call(e)==="[object String]"}function Va(e){return pt(e)&&Object.prototype.toString.call(e)==="[object Map]"}function La(e){return pt(e)&&Object.prototype.toString.call(e)==="[object Set]"}function Jo(e){if(e==null)return!0;if(pt(e)&&(Va(e)||La(e)))return!e.size;if(pt(e)&&(qo(e)||Array.isArray(e)))return!e.length;for(const t in e)if(za(e,t))return!1;return!0}function Ga(e){return pt(e)&&Jo(e)}function za(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}function Kr(e){return typeof e=="function"}function ja(...e){}const Zo=({payload:e},t,n)=>{const{event:o}=e,{send:i}=t,{onSignIn:a,onSignOut:s}=n!=null?n:{};switch(o){case"signedIn":{Kr(a)&&a(e);break}case"signInWithRedirect":{i("SIGN_IN_WITH_REDIRECT");break}case"signedOut":case"tokenRefresh_failure":{o==="signedOut"&&Kr(s)&&s(),i("SIGN_OUT");break}}},Wa=(e,t=Zo)=>{const n=o=>t(o,e);return nr.Hub.listen("auth",n,"authenticator-hub-handler")},Ha=["+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"],Zt={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"text",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:Ha,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}},Ya=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],Ka=(e,t)=>{if(t!=null&&t.matches("federatedSignIn")){if(e.matches("signUpActor"))return"signUp";if(e.matches("signInActor"))return"signIn"}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(t==null?void 0:t.matches("confirmSignUp")):case(t==null?void 0:t.matches("resendSignUpCode")):return"confirmSignUp";case(t==null?void 0:t.matches("confirmSignIn")):return"confirmSignIn";case(t==null?void 0:t.matches("setupTotp.edit")):case(t==null?void 0:t.matches("setupTotp.submit")):return"setupTotp";case(t==null?void 0:t.matches("signIn")):return"signIn";case(t==null?void 0:t.matches("signUp")):case(t==null?void 0:t.matches("autoSignIn")):return"signUp";case(t==null?void 0:t.matches("forceChangePassword")):return"forceNewPassword";case(t==null?void 0:t.matches("forgotPassword")):return"forgotPassword";case(t==null?void 0:t.matches("confirmResetPassword")):return"confirmResetPassword";case(t==null?void 0:t.matches("selectUserAttributes")):return"verifyUser";case(t==null?void 0:t.matches("confirmVerifyUserAttribute")):return"confirmVerifyUser";case e.matches("getCurrentUser"):case(t==null?void 0:t.matches("fetchUserAttributes")):return"transition";default:return null}},qa=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"),toForgotPassword:t("FORGOT_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},Ja=e=>{var g,w,y,_,C;const t=(g=or(e))!=null?g:{},{challengeName:n,codeDeliveryDetails:o,remoteError:i,validationError:a,totpSecretCode:s=null,unverifiedUserAttributes:c,username:l}=t,{socialProviders:u=[]}=(y=(w=e.context)==null?void 0:w.config)!=null?y:{},d=(C=t==null?void 0:t.user)!=null?C:(_=e.context)==null?void 0:_.user,m=!!(a&&Object.keys(a).length>0),f=rr(e),p=e.hasTag("pending")||(f==null?void 0:f.hasTag("pending")),h=Ka(e,f);return{authStatus:(A=>{switch(A){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(h),challengeName:n,codeDeliveryDetails:o,error:i,hasValidationErrors:m,isPending:p,route:h,socialProviders:u,totpSecretCode:s,unverifiedUserAttributes:c,user:d,username:l,validationErrors:a}},Za=({send:e,state:t})=>{const n=qa(e),o=Ja(t);return{...n,...o}};var Dn;(function(e){e.Apple="Apple",e.Amazon="Amazon",e.Facebook="Facebook",e.Google="Google"})(Dn||(Dn={}));var qr;(function(e){e.Email="email",e.PhoneNumber="phone_number"})(qr||(qr={}));const Qa=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],Xa=["username","email","phone_number"],Qo=[...Xa,...Qa,"confirmation_code","password","confirm_password"],es=e=>Qo.includes(e),de=e=>{const t=new FormData(e.target);return Object.fromEntries(t)},Xo=e=>Qo.includes(e),ts=e=>Array.isArray(e),ns=e=>e?ts(e)?e:[e]:null,rs=e=>Ya.some(t=>e.includes(t)),os=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function is(e,...t){return Object.entries(e).reduce((n,[o,i])=>({...n,[o]:t.includes(o)?i:i==null?void 0:i.trim()}),{})}const as={"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","Please confirm your Password":"Bitte best\xE4tigen Sie Ihr Passwort","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 ein","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 gesendet","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 Ihr 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"},ss={"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"},cs={"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"},ls={"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","Your passwords must match":"Vos mots de passe doivent \xEAtre identiques","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},us={"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"},ds={"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:"},fs={"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"},ps={"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"},ms={"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"},gs={"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"},hs={"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"},ys={"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"},vs={"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"},ws={"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"},_s={"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"},Ss={"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"},Cs={"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"},bs={"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"},As={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"},Es={...as},Is={...ss},Ts={...cs},Ns={...ls},Ps={...us},ks={...ds},Jr={...fs},xs={...ps},Us={...ms},$s={...gs},Rs={...hs},Os={...ys},Ds={...vs},Fs={...ws},Ms={..._s},Bs={...Ss},Vs={...Cs},Ls={...bs},Gs={...As},$={...Gs};function N(e){return nr.I18n.get(e)}const zs={de:Es,en:Is,es:Ts,fr:Ns,id:Fs,it:Ps,ja:ks,kr:Jr,ko:Jr,nb:xs,nl:Us,pl:$s,pt:Rs,zh:Os,sv:Ds,tr:Ms,ru:Bs,he:Vs,ua:Ls},ir=e=>{var o;const t=(o=e==null?void 0:e.context.config)==null?void 0:o.loginMechanisms,[n]=t!=null?t:["username"];return n},js=e=>{const t={...e};for(const[n,o]of Object.entries(e)){const{label:i,placeholder:a}=o;t[n]={...o,label:i?N(i):void 0,placeholder:a?N(a):void 0}}return t},Ws=e=>Object.entries(e).sort((t,n)=>{const o=t[1].order||Number.MAX_VALUE,i=n[1].order||Number.MAX_VALUE;return o-i}).filter(t=>t[1]!==void 0),Hs="+1",Ee=e=>{let t=Zt[e];const{type:n}=t;return n==="tel"&&(t={...t,dialCode:Hs}),t},Qt=e=>{const t=ir(e);return{...Ee(t),autocomplete:"username"}},Dt=e=>({confirmation_code:{...Ee("confirmation_code"),label:"Code *",placeholder:"Code"}}),Ys=e=>({username:{...Qt(e)},password:{...Ee("password"),autocomplete:"current-password"}}),Ks=e=>{const{loginMechanisms:t,signUpAttributes:n}=e.context.config,o=ir(e),i=Array.from(new Set([...t,"password","confirm_password",...n])),a={};for(const s of i)if(Xo(s)){const c=s===o?Qt(e):Ee(s);a[s]={...c}}else console.debug(`Authenticator does not have a default implementation for ${s}. Customize SignUp FormFields to add your own.`);return a},qs=e=>({confirmation_code:{...Ee("confirmation_code"),placeholder:"Enter your code"}}),Js=e=>{const t=ir(e),{label:n}=Zt[t];return{username:{...Qt(e),label:`Enter your ${n.toLowerCase()}`,placeholder:`Enter your ${n.toLowerCase()}`}}},Zs=e=>({...Dt(),password:{...Ee("password"),label:"New Password",placeholder:"New Password"},confirm_password:{...Ee("confirm_password"),label:"Confirm Password",placeholder:"Confirm Password"}}),Qs=e=>{const t=rr(e),{missingAttributes:n}=t.context,o=Array.from(new Set(["password","confirm_password",...n!=null?n:[]])),i={};for(const a of o)Xo(a)?i[a]={...Ee(a)}:console.debug(`Authenticator does not have a default implementation for ${a}. Customize ForceNewPassword FormFields to add your own.`);return i},Xs={signIn:Ys,signUp:Ks,confirmSignUp:qs,confirmSignIn:Dt,forceNewPassword:Qs,forgotPassword:Js,confirmResetPassword:Zs,confirmVerifyUser:Dt,setupTotp:Dt},ec=(e,t)=>{const n=Xs[e];return n(t)},tc=(e,t)=>{var o,i;const n=(i=(o=or(t))==null?void 0:o.formFields)==null?void 0:i[e];return!n||Object.keys(n).length===0?{}:Object.entries(n).reduce((a,[s,c])=>{if((e==="signIn"||e==="forgotPassword")&&s==="username"){const u={...Qt(t),...c};return{...a,[s]:u}}else if(es(s)){const u={...Zt[s],...c};return{...a,[s]:u}}else return{...a,[s]:c}},{})},nc=(e,t)=>{const n=ec(e,t),o=tc(e,t),i={...n,...o};return delete i.QR,js(i)},rc=e=>e.map(t=>{const n=t[0],o={...t[1],order:void 0};return[n,o]}),oc=(e,t)=>{const n=nc(e,t);return rc(Ws(n))},ic=e=>{switch(e){case"SMS_MFA":return N($.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return N($.CONFIRM_TOTP);default:throw new Error(`${N("Unexpected challengeName encountered in ConfirmSignIn:")} ${e}`)}},ac=e=>{const{DeliveryMedium:t,Destination:n}=e!=null?e:{},o=t==="EMAIL",i=t==="SMS",a=N($.CODE_ARRIVAL);return o||i?`${N(o?$.CODE_EMAILED:$.CODE_TEXTED)} ${n}. ${a}.`:`${N($.CODE_SENT)}. ${a}.`},sc=e=>{const{DeliveryMedium:t}=e!=null?e:{},n=t==="EMAIL";return N(!n&&t==="SMS"?$.WE_SENT_CODE:n?$.WE_EMAILED:$.WE_TEXTED)},cc={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},lc=(e,t)=>N(`Sign ${e==="signIn"?"In":"Up"} with ${cc[t]}`),oe={getBackToSignInText:()=>N($.BACK_SIGN_IN),getChangePasswordText:()=>N($.CHANGE_PASSWORD),getChangingText:()=>N($.CHANGING_PASSWORD),getConfirmText:()=>N($.CONFIRM),getConfirmingText:()=>N($.CONFIRMING),getCopyText:()=>N($.UPPERCASE_COPY),getHidePasswordText:()=>N($.HIDE_PASSWORD),getLoadingText:()=>N($.LOADING),getOrText:()=>N($.OR),getResendCodeText:()=>N($.RESEND_CODE),getSendCodeText:()=>N($.SEND_CODE),getSendingText:()=>N($.SENDING),getShowPasswordText:()=>N($.SHOW_PASSWORD),getSubmitText:()=>N($.SUBMIT),getSubmittingText:()=>N($.SUBMITTING),getSignInTabText:()=>N($.SIGN_IN_TAB),getSignUpTabText:()=>N($.CREATE_ACCOUNT),getForgotPasswordText:e=>N(e?$.FORGOT_PASSWORD:$.FORGOT_YOUR_PASSWORD),getSigningInText:()=>N($.SIGNING_IN_BUTTON),getSignInText:()=>N($.SIGN_IN_BUTTON),getCreatingAccountText:()=>N($.CREATING_ACCOUNT),getCreateAccountText:()=>N($.CREATE_ACCOUNT),getDeliveryMessageText:ac,getDeliveryMethodText:sc,getChallengeText:ic,getResetYourPasswordText:()=>N($.RESET_PASSWORD),getSetupTotpText:()=>N($.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:lc,getSkipText:()=>N($.SKIP),getVerifyText:()=>N($.VERIFY),getVerifyContactText:()=>N($.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>N($.VERIFY_HEADING),getInvalidEmailText:()=>N("Please enter a valid email"),getRequiredFieldText:()=>N("This field is required")};/*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,15 +12,15 @@ 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
- ***************************************************************************** */var b=function(){return b=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},b.apply(this,arguments)};function ar(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 O(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 D(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(c){s={error:c}}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 V;(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"})(V||(V={}));var Ie;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Ie||(Ie={}));var Vt=V.Start,Xt=V.Stop,He=V.Raise,wt=V.Send,sr=V.Cancel,ei=V.NullEvent,en=V.Assign,lc=V.After,uc=V.DoneState,tn=V.Log,ti=V.Init,Lt=V.Invoke,dc=V.ErrorExecution,Fn=V.ErrorPlatform,cr=V.ErrorCustom,nn=V.Update,ni=V.Choose,ri=V.Pure,fc=Object.freeze(Object.defineProperty({__proto__:null,after:lc,assign:en,cancel:sr,choose:ni,doneState:uc,error:cr,errorExecution:dc,errorPlatform:Fn,init:ti,invoke:Lt,log:tn,nullEvent:ei,pure:ri,raise:He,send:wt,start:Vt,stop:Xt,update:nn},Symbol.toStringTag,{value:"Module"})),oi=".",Zr={},Mn="xstate.guard",pc="",mt=!0,Et;function lr(e,t,n){n===void 0&&(n=oi);var o=ut(e,n),i=ut(t,n);return M(i)?M(o)?i===o:!1:M(o)?o in i:Object.keys(o).every(function(a){return a in i?lr(o[a],i[a]):!1})}function ii(e){try{return M(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 Bn(e,t){try{return Ye(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function mc(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function ut(e,t){if(mc(e))return e.value;if(Ye(e))return Gt(e);if(typeof e!="string")return e;var n=Bn(e,t);return Gt(n)}function Gt(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 at(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 Qr(e,t,n){var o,i,a={};try{for(var s=O(Object.keys(e)),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l];!n(u)||(a[l]=t(u,l,e))}}catch(d){o={error:d}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}var gc=function(e){return function(t){var n,o,i=t;try{for(var a=O(e),s=a.next();!s.done;s=a.next()){var c=s.value;i=i[c]}}catch(l){n={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}};function hc(e,t){return function(n){var o,i,a=n;try{for(var s=O(e),c=s.next();!c.done;c=s.next()){var l=c.value;a=a[t][l]}}catch(u){o={error:u}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}}function Ft(e){if(!e)return[[]];if(M(e))return[[e]];var t=j(Object.keys(e).map(function(n){var o=e[n];return typeof o!="string"&&(!o||!Object.keys(o).length)?[[n]]:Ft(e[n]).map(function(i){return[n].concat(i)})}));return t}function j(e){var t;return(t=[]).concat.apply(t,G([],D(e),!1))}function ai(e){return Ye(e)?e:[e]}function ae(e){return e===void 0?[]:ai(e)}function zt(e,t,n){var o,i;if(F(e))return e(t,n.data);var a={};try{for(var s=O(Object.keys(e)),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l];F(u)?a[l]=u(t,n.data):a[l]=u}}catch(d){o={error:d}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}function yc(e){return/^(done|error)\./.test(e)}function Xr(e){return!!(e instanceof Promise||e!==null&&(F(e)||typeof e=="object")&&F(e.then))}function vc(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function wc(e,t){var n,o,i=D([[],[]],2),a=i[0],s=i[1];try{for(var c=O(e),l=c.next();!l.done;l=c.next()){var u=l.value;t(u)?a.push(u):s.push(u)}}catch(d){n={error:d}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return[a,s]}function si(e,t){return at(e.states,function(n,o){if(!!n){var i=(M(t)?void 0:t[o])||(n?n.current:void 0);if(!!i)return{current:i,states:si(n,i)}}})}function _c(e,t){return{current:t,states:si(e,t)}}function eo(e,t,n,o){var i=e&&n.reduce(function(a,s){var c,l,u=s.assignment,d={state:o,action:s,_event:t},m={};if(F(u))m=u(a,t.data,d);else try{for(var f=O(Object.keys(u)),p=f.next();!p.done;p=f.next()){var h=p.value,v=u[h];m[h]=F(v)?v(a,t.data,d):v}}catch(S){c={error:S}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(c)throw c.error}}return Object.assign({},a,m)},e);return i}var Vn=function(){};function Ye(e){return Array.isArray(e)}function F(e){return typeof e=="function"}function M(e){return typeof e=="string"}function ci(e,t){if(!!e)return M(e)?{type:Mn,name:e,predicate:t?t[e]:void 0}:F(e)?{type:Mn,name:e.name,predicate:e}:e}function Sc(e){try{return"subscribe"in e&&F(e.subscribe)}catch{return!1}}var be=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Et={},Et[be]=function(){return this},Et[Symbol.observable]=function(){return this};function Ve(e){return!!e&&"__xstatenode"in e}function Cc(e){return!!e&&typeof e.send=="function"}var bc=function(){var e=0;return function(){return e++,e.toString(16)}}();function rn(e,t){return M(e)||typeof e=="number"?b({type:e},t):e}function q(e,t){if(!M(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=rn(e);return b({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Oe(e,t){var n=ai(t).map(function(o){return typeof o=="undefined"||typeof o=="string"||Ve(o)?{target:o,event:e}:b(b({},o),{event:e})});return n}function Ac(e){if(!(e===void 0||e===pc))return ae(e)}function Ec(e,t,n){if(!mt){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 li(e,t,n,o,i){var a=e.options.guards,s={state:i,cond:t,_event:o};if(t.type===Mn)return((a==null?void 0:a[t.name])||t.predicate)(n,o.data,s);var c=a==null?void 0:a[t.type];if(!c)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return c(n,o.data,s)}function ui(e){return typeof e=="string"?{type:e}:e}function Mt(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 It(e,t){return"".concat(e,":invocation[").concat(t,"]")}function Ln(e){return(e.type===He||e.type===wt&&e.to===Ie.Internal)&&typeof e.delay!="number"}var xe=q({type:ti});function jt(e,t){return t&&t[e]||void 0}function Le(e,t){var n;if(M(e)||typeof e=="number"){var o=jt(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=jt(e.type,t);if(F(o))n=b(b({},e),{exec:o});else if(o){var i=o.type||e.type;n=b(b(b({},o),e),{type:i})}else n=e}return n}var ve=function(e,t){if(!e)return[];var n=Ye(e)?e:[e];return n.map(function(o){return Le(o,t)})};function on(e){var t=Le(e);return b(b({id:M(e)?e:t.id},t),{type:t.type})}function di(e,t){return{type:He,event:typeof e=="function"?e:rn(e),delay:t?t.delay:void 0,id:t==null?void 0:t.id}}function fi(e,t,n,o){var i={_event:n},a=q(F(e.event)?e.event(t,n.data,i):e.event),s;if(M(e.delay)){var c=o&&o[e.delay];s=F(c)?c(t,n.data,i):c}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;return b(b({},e),{type:He,_event:a,delay:s})}function Ke(e,t){return{to:t?t.to:void 0,type:wt,event:F(e)?e:rn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:F(e)?e.name:ii(e)}}function pi(e,t,n,o){var i={_event:n},a=q(F(e.event)?e.event(t,n.data,i):e.event),s;if(M(e.delay)){var c=o&&o[e.delay];s=F(c)?c(t,n.data,i):c}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;var l=F(e.to)?e.to(t,n.data,i):e.to;return b(b({},e),{to:l,_event:a,event:a.data,delay:s})}function ur(e,t){return Ke(e,b(b({},t),{to:Ie.Parent}))}function Ic(e,t,n){return Ke(t,b(b({},n),{to:e}))}function mi(){return ur(nn)}function Tc(e,t){return Ke(e,b(b({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var Nc=function(e,t){return{context:e,event:t}};function Pc(e,t){return e===void 0&&(e=Nc),{type:tn,label:t,expr:e}}var gi=function(e,t,n){return b(b({},e),{value:M(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},hi=function(e){return{type:sr,sendId:e}};function yi(e){var t=on(e);return{type:V.Start,activity:t,exec:void 0}}function vi(e){var t=F(e)?e:on(e);return{type:V.Stop,activity:t,exec:void 0}}function wi(e,t,n){var o=F(e.activity)?e.activity(t,n.data):e.activity,i=typeof o=="string"?{id:o}:o,a={type:V.Stop,activity:i};return a}var _i=function(e){return{type:en,assignment:e}};function kc(e){return typeof e=="object"&&"type"in e}function Si(e,t){var n=t?"#".concat(t):"";return"".concat(V.After,"(").concat(e,")").concat(n)}function st(e,t){var n="".concat(V.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function dt(e,t){var n="".concat(V.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Be(e,t){var n="".concat(V.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function xc(e){return{type:V.Pure,get:e}}function Ci(e,t){return Ke(function(n,o){return o},b(b({},t),{to:e}))}function Uc(e,t){return ur(function(n,o,i){return{type:cr,data:F(e)?e(n,o,i):e}},b(b({},t),{to:Ie.Parent}))}function $c(e){return{type:V.Choose,conds:e}}var Rc=function(e){var t,n,o=[];try{for(var i=O(e),a=i.next();!a.done;a=i.next())for(var s=a.value,c=0;c<s.actions.length;){if(s.actions[c].type===en){o.push(s.actions[c]),s.actions.splice(c,1);continue}c++}}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 gt(e,t,n,o,i,a,s){s===void 0&&(s=!1);var c=s?[]:Rc(i),l=c.length?eo(n,o,c,t):n,u=s?[n]:void 0,d=[];function m(h,v){var S;switch(v.type){case He:{var g=fi(v,l,o,e.options.delays);return a&&typeof g.delay=="number"&&a(g,l,o),g}case wt:var w=pi(v,l,o,e.options.delays);return a&&w.to!==Ie.Internal&&(h==="entry"?d.push(w):a(w,l,o)),w;case tn:{var y=gi(v,l,o);return a==null||a(y,l,o),y}case ni:{var _=v,C=(S=_.conds.find(function(se){var K=ci(se.cond,e.options.guards);return!K||li(e,K,l,o,a?void 0:t)}))===null||S===void 0?void 0:S.actions;if(!C)return[];var A=D(gt(e,t,l,o,[{type:h,actions:ve(ae(C),e.options.actions)}],a,s),2),E=A[0],I=A[1];return l=I,u==null||u.push(l),E}case ri:{var C=v.get(l,o.data);if(!C)return[];var T=D(gt(e,t,l,o,[{type:h,actions:ve(ae(C),e.options.actions)}],a,s),2),k=T[0],P=T[1];return l=P,u==null||u.push(l),k}case Xt:{var y=wi(v,l,o);return a==null||a(y,n,o),y}case en:{l=eo(l,o,[v],a?void 0:t),u==null||u.push(l);break}default:var x=Le(v,e.options.actions),R=x.exec;if(a)a(x,l,o);else if(R&&u){var H=u.length-1,re=b(b({},x),{exec:function(se){for(var K=[],ie=1;ie<arguments.length;ie++)K[ie-1]=arguments[ie];R.apply(void 0,G([u[H]],D(K),!1))}});x=re}return x}}function f(h){var v,S,g=[];try{for(var w=O(h.actions),y=w.next();!y.done;y=w.next()){var _=y.value,C=m(h.type,_);C&&(g=g.concat(C))}}catch(A){v={error:A}}finally{try{y&&!y.done&&(S=w.return)&&S.call(w)}finally{if(v)throw v.error}}return d.forEach(function(A){a(A,l,o)}),d.length=0,g}var p=j(i.map(f));return[p,l]}var bi=Object.freeze(Object.defineProperty({__proto__:null,actionTypes:fc,after:Si,assign:_i,cancel:hi,choose:$c,done:st,doneInvoke:dt,error:Be,escalate:Uc,forwardTo:Ci,getActionFunction:jt,initEvent:xe,isActionObject:kc,log:Pc,pure:xc,raise:di,resolveActions:gt,resolveLog:gi,resolveRaise:fi,resolveSend:pi,resolveStop:wi,respond:Tc,send:Ke,sendParent:ur,sendTo:Ic,sendUpdate:mi,start:yi,stop:vi,toActionObject:Le,toActionObjects:ve,toActivityDefinition:on},Symbol.toStringTag,{value:"Module"})),Wt=[],Me=function(e,t){Wt.push(e);var n=t(e);return Wt.pop(),n},Oc=function(e){return e(Wt[Wt.length-1])};function Ai(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[be]=function(){return this},t}function Dc(e,t,n,o){var i,a=ui(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],c=e.data?zt(e.data,n,o):void 0,l=s?dr(s,e.id,c):Ai(e.id);return l.meta=e,l}function dr(e,t,n){var o=Ai(t);if(o.deferred=!0,Ve(e)){var i=o.state=Me(void 0,function(){return(n?e.withContext(n):e).initialState});o.getSnapshot=function(){return i}}return o}function Fc(e){try{return typeof e.send=="function"}catch{return!1}}function Mc(e){return Fc(e)&&"id"in e}function Bc(e){var t;return b((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[be]=function(){return this},t),e)}var Ht=function(e){return e.type==="atomic"||e.type==="final"};function Ei(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function ht(e){return Ei(e).filter(function(t){return t.type!=="history"})}function Ii(e){var t=[e];return Ht(e)?t:t.concat(j(ht(e).map(Ii)))}function ct(e,t){var n,o,i,a,s,c,l,u,d=new Set(e),m=Gn(d),f=new Set(t);try{for(var p=O(f),h=p.next();!h.done;h=p.next())for(var v=h.value,S=v.parent;S&&!f.has(S);)f.add(S),S=S.parent}catch(T){n={error:T}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var g=Gn(f);try{for(var w=O(f),y=w.next();!y.done;y=w.next()){var v=y.value;if(v.type==="compound"&&(!g.get(v)||!g.get(v).length))m.get(v)?m.get(v).forEach(function(k){return f.add(k)}):v.initialStateNodes.forEach(function(k){return f.add(k)});else if(v.type==="parallel")try{for(var _=(s=void 0,O(ht(v))),C=_.next();!C.done;C=_.next()){var A=C.value;f.has(A)||(f.add(A),m.get(A)?m.get(A).forEach(function(k){return f.add(k)}):A.initialStateNodes.forEach(function(k){return f.add(k)}))}}catch(k){s={error:k}}finally{try{C&&!C.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}}}catch(T){i={error:T}}finally{try{y&&!y.done&&(a=w.return)&&a.call(w)}finally{if(i)throw i.error}}try{for(var E=O(f),I=E.next();!I.done;I=E.next())for(var v=I.value,S=v.parent;S&&!f.has(S);)f.add(S),S=S.parent}catch(T){l={error:T}}finally{try{I&&!I.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}return f}function Ti(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var o=n[0];if(o){if(Ht(o))return o.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=Ti(a,t)}),i}function Gn(e){var t,n,o=new Map;try{for(var i=O(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(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function Vc(e,t){var n=ct([e],t);return Ti(e,Gn(n))}function lt(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function Lc(e){return G([],D(new Set(j(G([],D(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Bt(e,t){return t.type==="compound"?ht(t).some(function(n){return n.type==="final"&&lt(e,n)}):t.type==="parallel"?ht(t).every(function(n){return Bt(e,n)}):!1}function Gc(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function to(e){return new Set(j(e.map(function(t){return t.tags})))}function Ni(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(M(e)||M(t))return e===t;var n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(function(i){return Ni(e[i],t[i])})}function zc(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function jc(e,t){var n=e.exec,o=b(b({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return o}var ce=function(){function e(t){var n=this,o;this.actions=[],this.activities=Zr,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||Zr,this.meta=Gc(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 Lc(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=xe;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=xe;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="."),M(t))return[t];var i=Object.keys(t);return i.concat.apply(i,G([],D(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=ar(t,["configuration","transitions","tags","machine"]);return b(b({},o),{tags:Array.from(n)})},e.prototype.matches=function(t){return lr(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Vn(!!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}(),Wc={deferEvents:!1},no=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=b(b({},Wc),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}(),In=new Map,Hc=0,nt={bookId:function(){return"x:".concat(Hc++)},register:function(e,t){return In.set(e,t),e},get:function(e){return In.get(e)},free:function(e){In.delete(e)}};function fr(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global;mt||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 Yc(){var e=fr();if(e&&"__xstate__"in e)return e.__xstate__}function Kc(e){if(!!fr()){var t=Yc();t&&t.register(e)}}function qc(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,l),o.forEach(function(d){return d.next(n)})}a=!1}},c=Bc({id:t.id,send:function(u){i.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,d,m){var f=Mt(u,d,m);return o.add(f),f.next(n),{unsubscribe:function(){o.delete(f)}}}}),l={parent:t.parent,self:c,id:t.id||"anonymous",observers:o};return n=e.start?e.start(l):n,c}var zn={sync:!1,autoForward:!1},Y;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Y||(Y={}));var Jc=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=Y.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,m){if(Ye(d))return o.batch(d),o.state;var f=q(rn(d,m));if(o.status===Y.Stopped)return o.state;if(o.status!==Y.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.
16
- 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,m,f){var p=o.parent&&(m===Ie.Parent||o.parent.id===m),h=p?o.parent:M(m)?m===Ie.Internal?o:o.children.get(m)||nt.get(m):Cc(m)?m:void 0;if(!h){if(!p)throw new Error("Unable to send event to child '".concat(m,"' from service '").concat(o.id,"'."));return}if("machine"in h){if(o.status!==Y.Stopped||o.parent!==h||o.state.done){var v=b(b({},d),{name:d.name===cr?"".concat(Be(o.id)):d.name,origin:o.sessionId});!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([h,v]):h.send(v)}}else!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([h,d.data]):h.send(d.data)},this._exec=function(d,m,f,p){p===void 0&&(p=o.machine.options.actions);var h=d.exec||jt(d.type,p),v=F(h)?h:h?h.exec:d.exec;if(v)try{return v(m,f.data,o.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:o.state,_event:f})}catch(H){throw o.parent&&o.parent.send({type:"xstate.error",data:H}),H}switch(d.type){case He:{var S=d;o.defer(S);break}case wt:var g=d;if(typeof g.delay=="number"){o.defer(g);return}else g.to?o.sendTo(g._event,g.to,f===xe):o.send(g._event);break;case sr:o.cancel(d.sendId);break;case Vt:{if(o.status!==Y.Running)return;var w=d.activity;if(!o.machine.config.predictableActionArguments&&!o.state.activities[w.id||w.type])break;if(w.type===V.Invoke){var y=ui(w.src),_=o.machine.options.services?o.machine.options.services[y.type]:void 0,C=w.id,A=w.data,E="autoForward"in w?w.autoForward:!!w.forward;if(!_)return;var I=A?zt(A,m,f):void 0;if(typeof _=="string")return;var T=F(_)?_(m,f.data,{data:I,src:y,meta:w.meta}):_;if(!T)return;var k=void 0;Ve(T)&&(T=I?T.withContext(I):T,k={autoForward:E}),o.spawn(T,C,k)}else o.spawnActivity(w);break}case Xt:{o.stopChild(d.activity.id);break}case tn:var P=d,x=P.label,R=P.value;x?o.logger(x,R):o.logger(R);break}};var i=b(b({},e.defaultOptions),n),a=i.clock,s=i.logger,c=i.parent,l=i.id,u=l!==void 0?l:t.id;this.id=u,this.logger=s,this.clock=a,this.parent=c,this.options=i,this.scheduler=new no({deferEvents:this.options.deferEvents}),this.sessionId=nt.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:Me(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=O(t.actions),s=a.next();!s.done;s=a.next()){var c=s.value;this.exec(c,t,n)}}catch(l){o={error:l}}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,c,l,u,d,m=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===xe)&&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(T){m.state.children[T.id]=T}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var p=O(this.eventListeners),h=p.next();!h.done;h=p.next()){var v=h.value;v(t.event)}}catch(T){o={error:T}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}try{for(var S=O(this.listeners),g=S.next();!g.done;g=S.next()){var v=g.value;v(t,t.event)}}catch(T){a={error:T}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var w=O(this.contextListeners),y=w.next();!y.done;y=w.next()){var _=y.value;_(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(T){c={error:T}}finally{try{y&&!y.done&&(l=w.return)&&l.call(w)}finally{if(c)throw c.error}}if(this.state.done){var C=t.configuration.find(function(T){return T.type==="final"&&T.parent===m.machine}),A=C&&C.doneData?zt(C.doneData,t.context,n):void 0;this._doneEvent=dt(this.id,A);try{for(var E=O(this.doneListeners),I=E.next();!I.done;I=E.next()){var v=I.value;v(this._doneEvent)}}catch(T){u={error:T}}finally{try{I&&!I.done&&(d=E.return)&&d.call(E)}finally{if(u)throw u.error}}this._stop(),this._stopChildren(),nt.free(this.sessionId)}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===Y.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,o){var i=this,a=Mt(t,n,o);this.listeners.add(a.next),this.status!==Y.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===Y.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===Y.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===Y.Running)return this;this.machine._init(),nt.register(this.sessionId,this),this.initialized=!0,this.status=Y.Running;var o=t===void 0?this.initialState:Me(this,function(){return zc(t)?n.machine.resolveState(t):n.machine.resolveState(ce.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(o,xe)}),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,c,l,u,d;try{for(var m=O(this.listeners),f=m.next();!f.done;f=m.next()){var p=f.value;this.listeners.delete(p)}}catch(E){t={error:E}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}try{for(var h=O(this.stopListeners),v=h.next();!v.done;v=h.next()){var p=v.value;p(),this.stopListeners.delete(p)}}catch(E){o={error:E}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}try{for(var S=O(this.contextListeners),g=S.next();!g.done;g=S.next()){var p=g.value;this.contextListeners.delete(p)}}catch(E){a={error:E}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var w=O(this.doneListeners),y=w.next();!y.done;y=w.next()){var p=y.value;this.doneListeners.delete(p)}}catch(E){c={error:E}}finally{try{y&&!y.done&&(l=w.return)&&l.call(w)}finally{if(c)throw c.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Y.Stopped,this._initialState=void 0;try{for(var _=O(Object.keys(this.delayedEventsMap)),C=_.next();!C.done;C=_.next()){var A=C.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(E){u={error:E}}finally{try{C&&!C.done&&(d=_.return)&&d.call(_)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new no({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var o=q({type:"xstate.stop"}),i=Me(t,function(){var a=j(G([],D(t.state.configuration),!1).sort(function(d,m){return m.order-d.order}).map(function(d){return ve(d.onExit,t.machine.options.actions)})),s=D(gt(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),c=s[0],l=s[1],u=new ce({value:t.state.value,context:l,_event:o,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:c.filter(function(d){return!Ln(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(),nt.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(this.status===Y.NotStarted&&this.options.deferEvents)mt||Vn(!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.
17
- Event: `).concat(JSON.stringify(event)));else if(this.status!==Y.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,c=!1,l=[],u=function(p){var h=q(p);n.forward(h),s=Me(n,function(){return n.machine.transition(s,h,void 0,o||void 0)}),l.push.apply(l,G([],D(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(v){return jc(v,s)})),!1)),c=c||!!s.changed};try{for(var d=O(t),m=d.next();!m.done;m=d.next()){var f=m.value;u(f)}}catch(p){i={error:p}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=c,s.actions=l,n.update(s,q(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=q(t);if(i.name.indexOf(Fn)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Fn)===0}))throw i.data.data;var a=Me(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=O(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,c=this.children.get(s);if(!c)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));c.send(t)}}catch(l){n={error:l}}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!==Y.Running)return dr(t,n);if(Xr(t))return this.spawnPromise(Promise.resolve(t),n);if(F(t))return this.spawnCallback(t,n);if(Mc(t))return this.spawnActor(t,n);if(Sc(t))return this.spawnObservable(t,n);if(Ve(t))return this.spawnMachine(t,b(b({},o),{id:n}));if(vc(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,b(b({},this.options),{parent:this,id:n.id||t.id})),a=b(b({},zn),n);a.sync&&i.onTransition(function(c){o.send(nn,{state:c,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(c){o.removeChild(i.id),o.send(q(c,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var o=qc(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(l){a||(s=l,i.removeChild(n),i.send(q(dt(n,l),{origin:n})))},function(l){if(!a){i.removeChild(n);var u=Be(n,l);try{i.send(q(u,{origin:n}))}catch(d){Ec(l,d,n),i.devTools&&i.devTools.send(u,i.state),i.machine.strict&&i.stop()}}});var c=(o={id:n,send:function(){},subscribe:function(l,u,d){var m=Mt(l,u,d),f=!1;return t.then(function(p){f||(m.next(p),!f&&m.complete())},function(p){f||m.error(p)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},o[be]=function(){return this},o);return this.children.set(n,c),c},e.prototype.spawnCallback=function(t,n){var o,i=this,a=!1,s=new Set,c=new Set,l,u=function(f){l=f,c.forEach(function(p){return p(f)}),!a&&i.send(q(f,{origin:n}))},d;try{d=t(u,function(f){s.add(f)})}catch(f){this.send(Be(n,f))}if(Xr(d))return this.spawnPromise(d,n);var m=(o={id:n,send:function(f){return s.forEach(function(p){return p(f)})},subscribe:function(f){var p=Mt(f);return c.add(p.next),{unsubscribe:function(){c.delete(p.next)}}},stop:function(){a=!0,F(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return l}},o[be]=function(){return this},o);return this.children.set(n,m),m},e.prototype.spawnObservable=function(t,n){var o,i=this,a,s=t.subscribe(function(l){a=l,i.send(q(l,{origin:n}))},function(l){i.removeChild(n),i.send(q(Be(n,l),{origin:n}))},function(){i.removeChild(n),i.send(q(dt(n),{origin:n}))}),c=(o={id:n,send:function(){},subscribe:function(l,u,d){return t.subscribe(l,u,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},o[be]=function(){return this},o);return this.children.set(n,c),c},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){mt||Vn(!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[be]=function(){return this},o))},e.prototype.attachDev=function(){var t=fr();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(b(b({name:this.id,autoPause:!0,stateSanitizer:function(o){return{value:o.value,context:o.context,actions:o.actions}}},n),{features:b({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}Kc(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[be]=function(){return this},e.prototype.getSnapshot=function(){return this.status===Y.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=Pi,e}(),Zc=function(e){return M(e)?b(b({},zn),{name:e}):b(b(b({},zn),{name:bc()}),e)};function rt(e,t){var n=Zc(t);return Oc(function(o){return o?o.spawn(e,n.name,n):dr(e,n.name)})}function Pi(e,t){var n=new Jc(e,t);return n}function Qc(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Tt(e){return b(b({type:Lt},e),{toJSON:function(){e.onDone,e.onError;var t=ar(e,["onDone","onError"]);return b(b({},t),{type:Lt,src:Qc(e.src)})}})}var Nt="",jn="#",Tn="*",De={},Fe=function(e){return e[0]===jn},Xc=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},el=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(Xc(),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:oi),this.id=this.config.id||G([this.machine.key],D(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?at(this.config.states,function(u,d){var m,f=new e(u,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,b((m={},m[f.id]=f,m),f.idMap)),f}):De;var c=0;function l(u){var d,m;u.order=c++;try{for(var f=O(Ei(u)),p=f.next();!p.done;p=f.next()){var h=p.value;l(h)}}catch(v){d={error:v}}finally{try{p&&!p.done&&(m=f.return)&&m.call(f)}finally{if(d)throw d.error}}}l(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===Nt}):Nt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ae(this.config.entry||this.config.onEntry).map(function(u){return Le(u)}),this.onExit=ae(this.config.exit||this.config.onExit).map(function(u){return Le(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ae(this.config.invoke).map(function(u,d){var m,f;if(Ve(u)){var p=It(a.id,d);return a.machine.options.services=b((m={},m[p]=u,m),a.machine.options.services),Tt({src:p,id:p})}else if(M(u.src)){var p=u.id||It(a.id,d);return Tt(b(b({},u),{id:p,src:u.src}))}else if(Ve(u.src)||F(u.src)){var p=u.id||It(a.id,d);return a.machine.options.services=b((f={},f[p]=u.src,f),a.machine.options.services),Tt(b(b({id:p},u),{src:p}))}else{var h=u.src;return Tt(b(b({id:It(a.id,d)},u),{src:h}))}}),this.activities=ae(this.config.activities).concat(this.invoke).map(function(u){return on(u)}),this.transition=this.transition.bind(this),this.tags=ae(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||Ii(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,c=o.services,l=o.delays;return new e(this.config,{actions:b(b({},i),t.actions),activities:b(b({},a),t.activities),guards:b(b({},s),t.guards),services:b(b({},c),t.services),delays:b(b({},l),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:at(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===Nt,o=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===Tn});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 c=F(a)?"".concat(t.id,":delay[").concat(s,"]"):a,l=Si(c,t.id);return t.onEntry.push(Ke(l,{delay:a})),t.onExit.push(hi(l)),l},i=Ye(n)?n.map(function(a,s){var c=o(a.delay,s);return b(b({},a),{event:c})}):j(Object.keys(n).map(function(a,s){var c=n[a],l=M(c)?{target:c}:c,u=isNaN(+a)?a:+a,d=o(u,s);return ae(l).map(function(m){return b(b({},m),{event:d,delay:u})})}));return i.map(function(a){var s=a.delay;return b(b({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,o=this;if(!t)return[];var i=t instanceof ce?t.value:ut(t,this.delimiter);if(M(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),c=[this];return c.push.apply(c,G([],D(j(s.map(function(l){return o.getStateNode(l).getStateNodes(i[l])}))),!1)),c},e.prototype.handles=function(t){var n=ii(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof ce?t:ce.create(t),o=Array.from(ct([],this.getStateNodes(n.value)));return new ce(b(b({},n),{value:this.resolve(n.value),configuration:o,done:Bt(o,this),tags:to(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 c=O(Object.keys(t)),l=c.next();!l.done;l=c.next()){var u=l.value,d=t[u];if(!!d){var m=this.getStateNode(u),f=m._transition(d,n,o);f&&(s[u]=f)}}}catch(g){i={error:g}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}var p=Object.keys(s).map(function(g){return s[g]}),h=j(p.map(function(g){return g.transitions})),v=p.some(function(g){return g.transitions.length>0});if(!v)return this.next(n,o);var S=j(Object.keys(s).map(function(g){return s[g].configuration}));return{transitions:h,exitSet:j(p.map(function(g){return g.exitSet})),configuration:S,source:n,actions:j(Object.keys(s).map(function(g){return s[g].actions}))}},e.prototype._transition=function(t,n,o){return M(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,q(n))},e.prototype.next=function(t,n){var o,i,a=this,s=n.name,c=[],l=[],u;try{for(var d=O(this.getCandidates(s)),m=d.next();!m.done;m=d.next()){var f=m.value,p=f.cond,h=f.in,v=t.context,S=h?M(h)&&Fe(h)?t.matches(ut(this.getStateNodeById(h).path,this.delimiter)):lr(ut(h,this.delimiter),gc(this.path.slice(0,-2))(t.value)):!0,g=!1;try{g=!p||li(this.machine,p,v,n,t)}catch(_){throw new Error("Unable to evaluate guard '".concat(p.name||p.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
18
- `).concat(_.message))}if(g&&S){f.target!==void 0&&(l=f.target),c.push.apply(c,G([],D(f.actions),!1)),u=f;break}}}catch(_){o={error:_}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}if(!!u){if(!l.length)return{transitions:[u],exitSet:[],configuration:t.value?[this]:[],source:t,actions:c};var w=j(l.map(function(_){return a.getRelativeStateNodes(_,t.historyValue)})),y=!!u.internal;return{transitions:[u],exitSet:y?[]:j(l.map(function(_){return a.getPotentiallyReenteringNodes(_)})),configuration:w,source:t,actions:c}}},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,c){var l,u,d,m,f=this,p=s?ct([],this.getStateNodes(s.value)):[],h=new Set;try{for(var v=O(Array.from(t).sort(function(P,x){return P.order-x.order})),S=v.next();!S.done;S=v.next()){var g=S.value;(!lt(p,g)||lt(o.exitSet,g)||g.parent&&h.has(g.parent))&&h.add(g)}}catch(P){l={error:P}}finally{try{S&&!S.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}try{for(var w=O(p),y=w.next();!y.done;y=w.next()){var g=y.value;(!lt(t,g)||lt(o.exitSet,g.parent))&&o.exitSet.push(g)}}catch(P){d={error:P}}finally{try{y&&!y.done&&(m=w.return)&&m.call(w)}finally{if(d)throw d.error}}o.exitSet.sort(function(P,x){return x.order-P.order});var _=Array.from(h).sort(function(P,x){return P.order-x.order}),C=new Set(o.exitSet),A=j(_.map(function(P){var x=[];if(P.type!=="final")return x;var R=P.parent;if(!R.parent)return x;x.push(st(P.id,P.doneData),st(R.id,P.doneData?zt(P.doneData,i,a):void 0));var H=R.parent;return H.type==="parallel"&&ht(H).every(function(re){return Bt(o.configuration,re)})&&x.push(st(H.id)),x})),E=_.map(function(P){var x=P.onEntry,R=P.activities.map(function(H){return yi(H)});return{type:"entry",actions:ve(c?G(G([],D(x),!1),D(R),!1):G(G([],D(R),!1),D(x),!1),f.machine.options.actions)}}).concat({type:"state_done",actions:A.map(function(P){return di(P)})}),I=Array.from(C).map(function(P){return{type:"exit",actions:ve(G(G([],D(P.onExit),!1),D(P.activities.map(function(x){return vi(x)})),!1),f.machine.options.actions)}}),T=I.concat({type:"transition",actions:ve(o.actions,this.machine.options.actions)}).concat(E);if(n){var k=ve(j(G([],D(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!Ln(P)});return T.concat({type:"stop",actions:k})}return T},e.prototype.transition=function(t,n,o,i){t===void 0&&(t=this.initialState);var a=q(n),s;if(t instanceof ce)s=o===void 0?t:this.resolveState(ce.from(t,o));else{var c=M(t)?this.resolve(Gt(this.getResolvedPath(t))):this.resolve(t),l=o!=null?o:this.machine.context;s=this.resolveState(ce.from(c,l))}if(this.strict&&!this.events.includes(a.name)&&!yc(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=ct([],this.getStateNodes(s.value)),m=u.configuration.length?ct(d,u.configuration):d;return u.configuration=G([],D(m),!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([],D(s),!1)),t},e.prototype.resolveTransition=function(t,n,o,i,a){var s,c,l,u,d=this;a===void 0&&(a=xe);var m=t.configuration,f=!n||t.transitions.length>0,p=f?t.configuration:n?n.configuration:[],h=Bt(p,this),v=f?Vc(this.machine,m):void 0,S=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,g=this.getActions(new Set(p),h,t,o,a,n,i),w=n?b({},n.activities):{};try{for(var y=O(g),_=y.next();!_.done;_=y.next()){var C=_.value;try{for(var A=(l=void 0,O(C.actions)),E=A.next();!E.done;E=A.next()){var I=E.value;I.type===Vt?w[I.activity.id||I.activity.type]=I:I.type===Xt&&(w[I.activity.id||I.activity.type]=!1)}}catch(X){l={error:X}}finally{try{E&&!E.done&&(u=A.return)&&u.call(A)}finally{if(l)throw l.error}}}}catch(X){s={error:X}}finally{try{_&&!_.done&&(c=y.return)&&c.call(y)}finally{if(s)throw s.error}}var T=D(gt(this,n,o,a,g,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),k=T[0],P=T[1],x=D(wc(k,Ln),2),R=x[0],H=x[1],re=k.filter(function(X){var Ce;return X.type===Vt&&((Ce=X.activity)===null||Ce===void 0?void 0:Ce.type)===Lt}),se=re.reduce(function(X,Ce){return X[Ce.activity.id]=Dc(Ce.activity,d.machine,P,a),X},n?b({},n.children):{}),K=new ce({value:v||n.value,context:P,_event:a,_sessionid:n?n._sessionid:null,historyValue:v?S?_c(S,v):void 0:n?n.historyValue:void 0,history:!v||t.source?n:void 0,actions:v?H:[],activities:v?w:n?n.activities:{},events:[],configuration:p,transitions:t.transitions,children:se,done:h,tags:to(p),machine:this}),ie=o!==P;K.changed=a.name===nn||ie;var Se=K.history;Se&&delete Se.history;var Re=!h&&(this._transient||m.some(function(X){return X._transient}));if(!f&&(!Re||a.name===Nt))return K;var te=K;if(!h)for(Re&&(te=this.resolveRaisedTransition(te,{type:ei},a,i));R.length;){var U=R.shift();te=this.resolveRaisedTransition(te,U._event,a,i)}var Yr=te.changed||(Se?!!te.actions.length||ie||typeof Se.value!=typeof te.value||!Ni(te.value,Se.value):void 0);return te.changed=Yr,te.history=Se,te},e.prototype.getStateNode=function(t){if(Fe(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=Fe(t)?t.slice(jn.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"&&Fe(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Bn(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 at(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):De});case"compound":if(M(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?at(t,function(a,s){return a?o.getStateNode(s).resolve(a):De}):this.initialStateValue||{};default:return t||De}},e.prototype.getResolvedPath=function(t){if(Fe(t)){var n=this.machine.idMap[t.slice(jn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Bn(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=Qr(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=Ht(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;M(n.target)?t=Fe(n.target)?Gt(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(Ht(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Ft(this.initialStateValue);return j(n.map(function(o){return t.getFromRelativePath(o)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=D(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:Qr(this.states,function(n,o){if(!t)return n.historyValue();var i=M(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?j(Ft(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=hc(o.path,"states")(t).current;return M(a)?[o.getStateNode(a)]:j(Ft(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=j(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 c=O(Object.keys(a)),l=c.next();!l.done;l=c.next()){var u=l.value,d=a[u];if(d.states)try{for(var m=(o=void 0,O(d.events)),f=m.next();!f.done;f=m.next()){var p=f.value;s.add("".concat(p))}}catch(h){o={error:h}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}}}catch(h){t={error:h}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}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(!M(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(c){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
19
- `).concat(c.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,o=Ac(t.target),i="internal"in t?t.internal:o?o.some(function(l){return M(l)&&l[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(o),c=b(b({},t),{actions:ve(ae(t.actions)),cond:ci(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return b(b({},c),{target:c.target?c.target.map(function(l){return"#".concat(l.id)}):void 0,source:"#".concat(n.id)})}});return c},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=Tn,c=a[s],l=c===void 0?[]:c,u=ar(a,[typeof s=="symbol"?s:s+""]);i=j(Object.keys(u).map(function(w){var y=Oe(w,u[w]);return y}).concat(Oe(Tn,l)))}var d=this.config.always?Oe("",this.config.always):[],m=this.config.onDone?Oe(String(st(this.id)),this.config.onDone):[],f=j(this.invoke.map(function(w){var y=[];return w.onDone&&y.push.apply(y,G([],D(Oe(String(dt(w.id)),w.onDone)),!1)),w.onError&&y.push.apply(y,G([],D(Oe(String(Be(w.id)),w.onError)),!1)),y})),p=this.after,h=j(G(G(G(G([],D(m),!1),D(f),!1),D(i),!1),D(d),!1).map(function(w){return ae(w).map(function(y){return o.formatTransition(y)})}));try{for(var v=O(p),S=v.next();!S.done;S=v.next()){var g=S.value;h.push(g)}}catch(w){t={error:w}}finally{try{S&&!S.done&&(n=v.return)&&n.call(v)}finally{if(t)throw t.error}}return h},e}(),ro=!1;function qe(e,t){return!mt&&!("predictableActionArguments"in e)&&!ro&&(ro=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new el(e,t)}var ye=_i,an=mi,tl=Ci,Pt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function nl(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 ki=nl;function rl(){this.__data__=[],this.size=0}var ol=rl;function il(e,t){return e===t||e!==e&&t!==t}var _t=il,al=_t;function sl(e,t){for(var n=e.length;n--;)if(al(e[n][0],t))return n;return-1}var sn=sl,cl=sn,ll=Array.prototype,ul=ll.splice;function dl(e){var t=this.__data__,n=cl(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():ul.call(t,n,1),--this.size,!0}var fl=dl,pl=sn;function ml(e){var t=this.__data__,n=pl(t,e);return n<0?void 0:t[n][1]}var gl=ml,hl=sn;function yl(e){return hl(this.__data__,e)>-1}var vl=yl,wl=sn;function _l(e,t){var n=this.__data__,o=wl(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Sl=_l,Cl=ol,bl=fl,Al=gl,El=vl,Il=Sl;function Je(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])}}Je.prototype.clear=Cl;Je.prototype.delete=bl;Je.prototype.get=Al;Je.prototype.has=El;Je.prototype.set=Il;var cn=Je,Tl=cn;function Nl(){this.__data__=new Tl,this.size=0}var Pl=Nl;function kl(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var xl=kl;function Ul(e){return this.__data__.get(e)}var $l=Ul;function Rl(e){return this.__data__.has(e)}var Ol=Rl,Dl=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,xi=Dl,Fl=xi,Ml=typeof self=="object"&&self&&self.Object===Object&&self,Bl=Fl||Ml||Function("return this")(),fe=Bl,Vl=fe,Ll=Vl.Symbol,ln=Ll,oo=ln,Ui=Object.prototype,Gl=Ui.hasOwnProperty,zl=Ui.toString,ot=oo?oo.toStringTag:void 0;function jl(e){var t=Gl.call(e,ot),n=e[ot];try{e[ot]=void 0;var o=!0}catch{}var i=zl.call(e);return o&&(t?e[ot]=n:delete e[ot]),i}var Wl=jl,Hl=Object.prototype,Yl=Hl.toString;function Kl(e){return Yl.call(e)}var ql=Kl,io=ln,Jl=Wl,Zl=ql,Ql="[object Null]",Xl="[object Undefined]",ao=io?io.toStringTag:void 0;function eu(e){return e==null?e===void 0?Xl:Ql:ao&&ao in Object(e)?Jl(e):Zl(e)}var Ze=eu;function tu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var we=tu,nu=Ze,ru=we,ou="[object AsyncFunction]",iu="[object Function]",au="[object GeneratorFunction]",su="[object Proxy]";function cu(e){if(!ru(e))return!1;var t=nu(e);return t==iu||t==au||t==ou||t==su}var pr=cu,lu=fe,uu=lu["__core-js_shared__"],du=uu,Nn=du,so=function(){var e=/[^.]+$/.exec(Nn&&Nn.keys&&Nn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function fu(e){return!!so&&so in e}var pu=fu,mu=Function.prototype,gu=mu.toString;function hu(e){if(e!=null){try{return gu.call(e)}catch{}try{return e+""}catch{}}return""}var $i=hu,yu=pr,vu=pu,wu=we,_u=$i,Su=/[\\^$.*+?()[\]{}|]/g,Cu=/^\[object .+?Constructor\]$/,bu=Function.prototype,Au=Object.prototype,Eu=bu.toString,Iu=Au.hasOwnProperty,Tu=RegExp("^"+Eu.call(Iu).replace(Su,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Nu(e){if(!wu(e)||vu(e))return!1;var t=yu(e)?Tu:Cu;return t.test(_u(e))}var Pu=Nu;function ku(e,t){return e==null?void 0:e[t]}var xu=ku,Uu=Pu,$u=xu;function Ru(e,t){var n=$u(e,t);return Uu(n)?n:void 0}var Ue=Ru,Ou=Ue,Du=fe,Fu=Ou(Du,"Map"),mr=Fu,Mu=Ue,Bu=Mu(Object,"create"),un=Bu,co=un;function Vu(){this.__data__=co?co(null):{},this.size=0}var Lu=Vu;function Gu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var zu=Gu,ju=un,Wu="__lodash_hash_undefined__",Hu=Object.prototype,Yu=Hu.hasOwnProperty;function Ku(e){var t=this.__data__;if(ju){var n=t[e];return n===Wu?void 0:n}return Yu.call(t,e)?t[e]:void 0}var qu=Ku,Ju=un,Zu=Object.prototype,Qu=Zu.hasOwnProperty;function Xu(e){var t=this.__data__;return Ju?t[e]!==void 0:Qu.call(t,e)}var ed=Xu,td=un,nd="__lodash_hash_undefined__";function rd(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=td&&t===void 0?nd:t,this}var od=rd,id=Lu,ad=zu,sd=qu,cd=ed,ld=od;function Qe(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])}}Qe.prototype.clear=id;Qe.prototype.delete=ad;Qe.prototype.get=sd;Qe.prototype.has=cd;Qe.prototype.set=ld;var ud=Qe,lo=ud,dd=cn,fd=mr;function pd(){this.size=0,this.__data__={hash:new lo,map:new(fd||dd),string:new lo}}var md=pd;function gd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var hd=gd,yd=hd;function vd(e,t){var n=e.__data__;return yd(t)?n[typeof t=="string"?"string":"hash"]:n.map}var dn=vd,wd=dn;function _d(e){var t=wd(this,e).delete(e);return this.size-=t?1:0,t}var Sd=_d,Cd=dn;function bd(e){return Cd(this,e).get(e)}var Ad=bd,Ed=dn;function Id(e){return Ed(this,e).has(e)}var Td=Id,Nd=dn;function Pd(e,t){var n=Nd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var kd=Pd,xd=md,Ud=Sd,$d=Ad,Rd=Td,Od=kd;function Xe(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])}}Xe.prototype.clear=xd;Xe.prototype.delete=Ud;Xe.prototype.get=$d;Xe.prototype.has=Rd;Xe.prototype.set=Od;var gr=Xe,Dd=cn,Fd=mr,Md=gr,Bd=200;function Vd(e,t){var n=this.__data__;if(n instanceof Dd){var o=n.__data__;if(!Fd||o.length<Bd-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Md(o)}return n.set(e,t),this.size=n.size,this}var Ld=Vd,Gd=cn,zd=Pl,jd=xl,Wd=$l,Hd=Ol,Yd=Ld;function et(e){var t=this.__data__=new Gd(e);this.size=t.size}et.prototype.clear=zd;et.prototype.delete=jd;et.prototype.get=Wd;et.prototype.has=Hd;et.prototype.set=Yd;var hr=et,Kd="__lodash_hash_undefined__";function qd(e){return this.__data__.set(e,Kd),this}var Jd=qd;function Zd(e){return this.__data__.has(e)}var Qd=Zd,Xd=gr,ef=Jd,tf=Qd;function Yt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Xd;++t<n;)this.add(e[t])}Yt.prototype.add=Yt.prototype.push=ef;Yt.prototype.has=tf;var nf=Yt;function rf(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 of=rf;function af(e,t){return e.has(t)}var sf=af,cf=nf,lf=of,uf=sf,df=1,ff=2;function pf(e,t,n,o,i,a){var s=n&df,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var m=-1,f=!0,p=n&ff?new cf:void 0;for(a.set(e,t),a.set(t,e);++m<c;){var h=e[m],v=t[m];if(o)var S=s?o(v,h,m,t,e,a):o(h,v,m,e,t,a);if(S!==void 0){if(S)continue;f=!1;break}if(p){if(!lf(t,function(g,w){if(!uf(p,w)&&(h===g||i(h,g,n,o,a)))return p.push(w)})){f=!1;break}}else if(!(h===v||i(h,v,n,o,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var Ri=pf,mf=fe,gf=mf.Uint8Array,Oi=gf;function hf(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var yf=hf;function vf(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var wf=vf,uo=ln,fo=Oi,_f=_t,Sf=Ri,Cf=yf,bf=wf,Af=1,Ef=2,If="[object Boolean]",Tf="[object Date]",Nf="[object Error]",Pf="[object Map]",kf="[object Number]",xf="[object RegExp]",Uf="[object Set]",$f="[object String]",Rf="[object Symbol]",Of="[object ArrayBuffer]",Df="[object DataView]",po=uo?uo.prototype:void 0,Pn=po?po.valueOf:void 0;function Ff(e,t,n,o,i,a,s){switch(n){case Df:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Of:return!(e.byteLength!=t.byteLength||!a(new fo(e),new fo(t)));case If:case Tf:case kf:return _f(+e,+t);case Nf:return e.name==t.name&&e.message==t.message;case xf:case $f:return e==t+"";case Pf:var c=Cf;case Uf:var l=o&Af;if(c||(c=bf),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;o|=Ef,s.set(e,t);var d=Sf(c(e),c(t),o,i,a,s);return s.delete(e),d;case Rf:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}var Mf=Ff;function Bf(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var Di=Bf,Vf=Array.isArray,_e=Vf,Lf=Di,Gf=_e;function zf(e,t,n){var o=t(e);return Gf(e)?o:Lf(o,n(e))}var Fi=zf;function jf(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 Wf=jf;function Hf(){return[]}var Mi=Hf,Yf=Wf,Kf=Mi,qf=Object.prototype,Jf=qf.propertyIsEnumerable,mo=Object.getOwnPropertySymbols,Zf=mo?function(e){return e==null?[]:(e=Object(e),Yf(mo(e),function(t){return Jf.call(e,t)}))}:Kf,Bi=Zf;function Qf(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var Xf=Qf;function ep(e){return e!=null&&typeof e=="object"}var $e=ep,tp=Ze,np=$e,rp="[object Arguments]";function op(e){return np(e)&&tp(e)==rp}var ip=op,go=ip,ap=$e,Vi=Object.prototype,sp=Vi.hasOwnProperty,cp=Vi.propertyIsEnumerable,lp=go(function(){return arguments}())?go:function(e){return ap(e)&&sp.call(e,"callee")&&!cp.call(e,"callee")},yr=lp,yt={exports:{}};function up(){return!1}var dp=up;(function(e,t){var n=fe,o=dp,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,c=s?n.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||o;e.exports=u})(yt,yt.exports);var fp=9007199254740991,pp=/^(?:0|[1-9]\d*)$/;function mp(e,t){var n=typeof e;return t=t==null?fp:t,!!t&&(n=="number"||n!="symbol"&&pp.test(e))&&e>-1&&e%1==0&&e<t}var fn=mp,gp=9007199254740991;function hp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=gp}var vr=hp,yp=Ze,vp=vr,wp=$e,_p="[object Arguments]",Sp="[object Array]",Cp="[object Boolean]",bp="[object Date]",Ap="[object Error]",Ep="[object Function]",Ip="[object Map]",Tp="[object Number]",Np="[object Object]",Pp="[object RegExp]",kp="[object Set]",xp="[object String]",Up="[object WeakMap]",$p="[object ArrayBuffer]",Rp="[object DataView]",Op="[object Float32Array]",Dp="[object Float64Array]",Fp="[object Int8Array]",Mp="[object Int16Array]",Bp="[object Int32Array]",Vp="[object Uint8Array]",Lp="[object Uint8ClampedArray]",Gp="[object Uint16Array]",zp="[object Uint32Array]",z={};z[Op]=z[Dp]=z[Fp]=z[Mp]=z[Bp]=z[Vp]=z[Lp]=z[Gp]=z[zp]=!0;z[_p]=z[Sp]=z[$p]=z[Cp]=z[Rp]=z[bp]=z[Ap]=z[Ep]=z[Ip]=z[Tp]=z[Np]=z[Pp]=z[kp]=z[xp]=z[Up]=!1;function jp(e){return wp(e)&&vp(e.length)&&!!z[yp(e)]}var Wp=jp;function Hp(e){return function(t){return e(t)}}var Yp=Hp,Wn={exports:{}};(function(e,t){var n=xi,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,c=function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(Wn,Wn.exports);var Kp=Wp,qp=Yp,ho=Wn.exports,yo=ho&&ho.isTypedArray,Jp=yo?qp(yo):Kp,wr=Jp,Zp=Xf,Qp=yr,Xp=_e,em=yt.exports,tm=fn,nm=wr,rm=Object.prototype,om=rm.hasOwnProperty;function im(e,t){var n=Xp(e),o=!n&&Qp(e),i=!n&&!o&&em(e),a=!n&&!o&&!i&&nm(e),s=n||o||i||a,c=s?Zp(e.length,String):[],l=c.length;for(var u in e)(t||om.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||tm(u,l)))&&c.push(u);return c}var Li=im,am=Object.prototype;function sm(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||am;return e===n}var _r=sm;function cm(e,t){return function(n){return e(t(n))}}var Gi=cm,lm=Gi,um=lm(Object.keys,Object),dm=um,fm=_r,pm=dm,mm=Object.prototype,gm=mm.hasOwnProperty;function hm(e){if(!fm(e))return pm(e);var t=[];for(var n in Object(e))gm.call(e,n)&&n!="constructor"&&t.push(n);return t}var ym=hm,vm=pr,wm=vr;function _m(e){return e!=null&&wm(e.length)&&!vm(e)}var pn=_m,Sm=Li,Cm=ym,bm=pn;function Am(e){return bm(e)?Sm(e):Cm(e)}var zi=Am,Em=Fi,Im=Bi,Tm=zi;function Nm(e){return Em(e,Tm,Im)}var Pm=Nm,vo=Pm,km=1,xm=Object.prototype,Um=xm.hasOwnProperty;function $m(e,t,n,o,i,a){var s=n&km,c=vo(e),l=c.length,u=vo(t),d=u.length;if(l!=d&&!s)return!1;for(var m=l;m--;){var f=c[m];if(!(s?f in t:Um.call(t,f)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var v=!0;a.set(e,t),a.set(t,e);for(var S=s;++m<l;){f=c[m];var g=e[f],w=t[f];if(o)var y=s?o(w,g,f,t,e,a):o(g,w,f,e,t,a);if(!(y===void 0?g===w||i(g,w,n,o,a):y)){v=!1;break}S||(S=f=="constructor")}if(v&&!S){var _=e.constructor,C=t.constructor;_!=C&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof C=="function"&&C instanceof C)&&(v=!1)}return a.delete(e),a.delete(t),v}var Rm=$m,Om=Ue,Dm=fe,Fm=Om(Dm,"DataView"),Mm=Fm,Bm=Ue,Vm=fe,Lm=Bm(Vm,"Promise"),Gm=Lm,zm=Ue,jm=fe,Wm=zm(jm,"Set"),Hm=Wm,Ym=Ue,Km=fe,qm=Ym(Km,"WeakMap"),Jm=qm,Hn=Mm,Yn=mr,Kn=Gm,qn=Hm,Jn=Jm,ji=Ze,tt=$i,wo="[object Map]",Zm="[object Object]",_o="[object Promise]",So="[object Set]",Co="[object WeakMap]",bo="[object DataView]",Qm=tt(Hn),Xm=tt(Yn),eg=tt(Kn),tg=tt(qn),ng=tt(Jn),ke=ji;(Hn&&ke(new Hn(new ArrayBuffer(1)))!=bo||Yn&&ke(new Yn)!=wo||Kn&&ke(Kn.resolve())!=_o||qn&&ke(new qn)!=So||Jn&&ke(new Jn)!=Co)&&(ke=function(e){var t=ji(e),n=t==Zm?e.constructor:void 0,o=n?tt(n):"";if(o)switch(o){case Qm:return bo;case Xm:return wo;case eg:return _o;case tg:return So;case ng:return Co}return t});var rg=ke,kn=hr,og=Ri,ig=Mf,ag=Rm,Ao=rg,Eo=_e,Io=yt.exports,sg=wr,cg=1,To="[object Arguments]",No="[object Array]",kt="[object Object]",lg=Object.prototype,Po=lg.hasOwnProperty;function ug(e,t,n,o,i,a){var s=Eo(e),c=Eo(t),l=s?No:Ao(e),u=c?No:Ao(t);l=l==To?kt:l,u=u==To?kt:u;var d=l==kt,m=u==kt,f=l==u;if(f&&Io(e)){if(!Io(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new kn),s||sg(e)?og(e,t,n,o,i,a):ig(e,t,l,n,o,i,a);if(!(n&cg)){var p=d&&Po.call(e,"__wrapped__"),h=m&&Po.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,S=h?t.value():t;return a||(a=new kn),i(v,S,n,o,a)}}return f?(a||(a=new kn),ag(e,t,n,o,i,a)):!1}var dg=ug,fg=dg,ko=$e;function Wi(e,t,n,o,i){return e===t?!0:e==null||t==null||!ko(e)&&!ko(t)?e!==e&&t!==t:fg(e,t,n,o,Wi,i)}var Hi=Wi,pg=hr,mg=Hi,gg=1,hg=2;function yg(e,t,n,o){var i=n.length,a=i,s=!o;if(e==null)return!a;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<a;){c=n[i];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===void 0&&!(l in e))return!1}else{var m=new pg;if(o)var f=o(u,d,l,e,t,m);if(!(f===void 0?mg(d,u,gg|hg,o,m):f))return!1}}return!0}var vg=yg,wg=we;function _g(e){return e===e&&!wg(e)}var Yi=_g,Sg=Yi,Cg=zi;function bg(e){for(var t=Cg(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,Sg(i)]}return t}var Ag=bg;function Eg(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Ki=Eg,Ig=vg,Tg=Ag,Ng=Ki;function Pg(e){var t=Tg(e);return t.length==1&&t[0][2]?Ng(t[0][0],t[0][1]):function(n){return n===e||Ig(n,e,t)}}var kg=Pg,xg=Ze,Ug=$e,$g="[object Symbol]";function Rg(e){return typeof e=="symbol"||Ug(e)&&xg(e)==$g}var Sr=Rg,Og=_e,Dg=Sr,Fg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mg=/^\w*$/;function Bg(e,t){if(Og(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Dg(e)?!0:Mg.test(e)||!Fg.test(e)||t!=null&&e in Object(t)}var Cr=Bg,qi=gr,Vg="Expected a function";function br(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Vg);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(br.Cache||qi),n}br.Cache=qi;var Lg=br,Gg=Lg,zg=500;function jg(e){var t=Gg(e,function(o){return n.size===zg&&n.clear(),o}),n=t.cache;return t}var Wg=jg,Hg=Wg,Yg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kg=/\\(\\)?/g,qg=Hg(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yg,function(n,o,i,a){t.push(i?a.replace(Kg,"$1"):o||n)}),t}),Jg=qg,xo=ln,Zg=ki,Qg=_e,Xg=Sr,eh=1/0,Uo=xo?xo.prototype:void 0,$o=Uo?Uo.toString:void 0;function Ji(e){if(typeof e=="string")return e;if(Qg(e))return Zg(e,Ji)+"";if(Xg(e))return $o?$o.call(e):"";var t=e+"";return t=="0"&&1/e==-eh?"-0":t}var th=Ji,nh=th;function rh(e){return e==null?"":nh(e)}var oh=rh,ih=_e,ah=Cr,sh=Jg,ch=oh;function lh(e,t){return ih(e)?e:ah(e,t)?[e]:sh(ch(e))}var mn=lh,uh=Sr,dh=1/0;function fh(e){if(typeof e=="string"||uh(e))return e;var t=e+"";return t=="0"&&1/e==-dh?"-0":t}var St=fh,ph=mn,mh=St;function gh(e,t){t=ph(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[mh(t[n++])];return n&&n==o?e:void 0}var Ar=gh,hh=Ar;function yh(e,t,n){var o=e==null?void 0:hh(e,t);return o===void 0?n:o}var vh=yh;function wh(e,t){return e!=null&&t in Object(e)}var _h=wh,Sh=mn,Ch=yr,bh=_e,Ah=fn,Eh=vr,Ih=St;function Th(e,t,n){t=Sh(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=Ih(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&&Eh(i)&&Ah(s,i)&&(bh(e)||Ch(e)))}var Nh=Th,Ph=_h,kh=Nh;function xh(e,t){return e!=null&&kh(e,t,Ph)}var Uh=xh,$h=Hi,Rh=vh,Oh=Uh,Dh=Cr,Fh=Yi,Mh=Ki,Bh=St,Vh=1,Lh=2;function Gh(e,t){return Dh(e)&&Fh(t)?Mh(Bh(e),t):function(n){var o=Rh(n,e);return o===void 0&&o===t?Oh(n,e):$h(t,o,Vh|Lh)}}var zh=Gh;function jh(e){return e}var Er=jh;function Wh(e){return function(t){return t==null?void 0:t[e]}}var Hh=Wh,Yh=Ar;function Kh(e){return function(t){return Yh(t,e)}}var qh=Kh,Jh=Hh,Zh=qh,Qh=Cr,Xh=St;function ey(e){return Qh(e)?Jh(Xh(e)):Zh(e)}var ty=ey,ny=kg,ry=zh,oy=Er,iy=_e,ay=ty;function sy(e){return typeof e=="function"?e:e==null?oy:typeof e=="object"?iy(e)?ry(e[0],e[1]):ny(e):ay(e)}var cy=sy,ly=Ue,uy=function(){try{var e=ly(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Zi=uy,Ro=Zi;function dy(e,t,n){t=="__proto__"&&Ro?Ro(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ir=dy,fy=Ir,py=_t,my=Object.prototype,gy=my.hasOwnProperty;function hy(e,t,n){var o=e[t];(!(gy.call(e,t)&&py(o,n))||n===void 0&&!(t in e))&&fy(e,t,n)}var Qi=hy,yy=Qi,vy=mn,wy=fn,Oo=we,_y=St;function Sy(e,t,n,o){if(!Oo(e))return e;t=vy(t,e);for(var i=-1,a=t.length,s=a-1,c=e;c!=null&&++i<a;){var l=_y(t[i]),u=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=s){var d=c[l];u=o?o(d,l,c):void 0,u===void 0&&(u=Oo(d)?d:wy(t[i+1])?[]:{})}yy(c,l,u),c=c[l]}return e}var Cy=Sy,by=Ar,Ay=Cy,Ey=mn;function Iy(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],c=by(e,s);n(c,s)&&Ay(a,Ey(s,e),c)}return a}var Ty=Iy,Ny=Gi,Py=Ny(Object.getPrototypeOf,Object),Tr=Py,ky=Di,xy=Tr,Uy=Bi,$y=Mi,Ry=Object.getOwnPropertySymbols,Oy=Ry?function(e){for(var t=[];e;)ky(t,Uy(e)),e=xy(e);return t}:$y,Dy=Oy;function Fy(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var My=Fy,By=we,Vy=_r,Ly=My,Gy=Object.prototype,zy=Gy.hasOwnProperty;function jy(e){if(!By(e))return Ly(e);var t=Vy(e),n=[];for(var o in e)o=="constructor"&&(t||!zy.call(e,o))||n.push(o);return n}var Wy=jy,Hy=Li,Yy=Wy,Ky=pn;function qy(e){return Ky(e)?Hy(e,!0):Yy(e)}var Nr=qy,Jy=Fi,Zy=Dy,Qy=Nr;function Xy(e){return Jy(e,Qy,Zy)}var ev=Xy,tv=ki,nv=cy,rv=Ty,ov=ev;function iv(e,t){if(e==null)return{};var n=tv(ov(e),function(o){return[o]});return t=nv(t),rv(e,n,function(o,i){return t(o,i[0])})}var av=iv;const sv=!0,cv="",gn=(e,t)=>`${e}${t}`.replace(/[^A-Z0-9+]/gi,""),lv=(e,t)=>{switch(t){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 t.startsWith("custom:")}},uv=e=>{const{phone_number:t,...n}=av(e,lv);if(qo(t)&&t!==cv){const{country_code:o}=e;return{...n,phone_number:gn(o,t)}}return n},dv=(e,t,n)=>{const{password:o,...i}=t,a=uv(i),s={autoSignIn:sv,userAttributes:{...n==="phone_number"?{...a,phone_number:e}:a}};return{username:e,password:o,options:s}},fv=({formValues:e,loginMechanisms:t})=>{const n=t[0];if(n==="phone_number"){const{country_code:o,phone_number:i}=e;return gn(o,i)}return e[n]},{assign:B}=bi,pv=B({actorDoneData:void 0}),mv=B({challengeName:void 0}),gv=B({missingAttributes:void 0}),hv=B({remoteError:void 0}),yv=B({formValues:{}}),vv=B({touched:{}}),wv=B({user:void 0}),_v=B({validationError:{}}),Sv=B({totpSecretCode:(e,{data:t})=>{var o,i;const{sharedSecret:n}=(i=(o=t.nextStep)==null?void 0:o.totpSetupDetails)!=null?i:{};return n}}),Cv=B({step:"SIGN_IN"}),bv=B({step:"SHOULD_CONFIRM_USER_ATTRIBUTE"}),Av=B({step:"CONFIRM_ATTRIBUTE_COMPLETE"}),Ev=B({challengeName:(e,{data:t})=>{const{signInStep:n}=t.nextStep;return n==="CONFIRM_SIGN_IN_WITH_SMS_CODE"?"SMS_MFA":n==="CONFIRM_SIGN_IN_WITH_TOTP_CODE"?"SOFTWARE_TOKEN_MFA":void 0}}),Iv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?gn(i,o):o}}),Tv=B({username:fv}),Nv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?gn(i,o):o}}),Pv=B({step:(e,{data:t})=>t.nextStep.signInStep==="DONE"?"SIGN_IN_COMPLETE":t.nextStep.signInStep}),kv=B({step:(e,{data:t})=>t.nextStep.signUpStep==="DONE"?"SIGN_UP_COMPLETE":t.nextStep.signUpStep}),xv=B({step:(e,{data:t})=>t.nextStep.resetPasswordStep==="DONE"?"RESET_PASSWORD_COMPLETE":t.nextStep.resetPasswordStep}),Uv=B({missingAttributes:(e,{data:t})=>{var n;return(n=t.nextStep)==null?void 0:n.missingAttributes}}),$v=B({validationError:(e,{data:t})=>t}),Rv=B({remoteError:(e,{data:t})=>t.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":(t==null?void 0:t.message)||t}),Ov=B({user:(e,{data:t})=>t}),Do=e=>({Destination:e.destination,DeliveryMedium:e.deliveryMedium,AttributeName:e.attributName}),Dv=B({codeDeliveryDetails:(e,{data:t})=>{var n;return(n=t==null?void 0:t.nextStep)!=null&&n.codeDeliveryDetails?Do(t.nextStep.codeDeliveryDetails):Do(t)}}),Fv=B({formValues:(e,{data:t})=>{const{name:n,value:o}=t;return{...e.formValues,[n]:o}}}),Mv=B({formValues:(e,{data:t})=>os({...e.formValues,...t},"password")}),Bv=B({touched:(e,{data:t})=>({...e.touched,[t.name]:!0})}),Vv=B({unverifiedUserAttributes:(e,{data:t})=>{const{email:n,phone_number:o}=t;return{...n&&{email:n},...o&&{phone_number:o}}}}),Lv=B({selectedUserAttribute:void 0}),Gv=B({selectedUserAttribute:e=>{var t;return(t=e.formValues)==null?void 0:t.unverifiedAttr}}),zv=B({step:"CONFIRM_SIGN_UP"}),Ct={clearActorDoneData:pv,clearChallengeName:mv,clearError:hv,clearFormValues:yv,clearMissingAttributes:gv,clearSelectedUserAttribute:Lv,clearTouched:vv,clearUser:wv,clearValidationError:_v,handleBlur:Bv,handleInput:Fv,handleSubmit:Mv,setChallengeName:Ev,setCodeDeliveryDetails:Dv,setFieldErrors:$v,setMissingAttributes:Uv,setNextResetPasswordStep:xv,setNextSignInStep:Pv,setNextSignUpStep:kv,setRemoteError:Rv,setConfirmAttributeCompleteStep:Av,setConfirmSignUpSignUpStep:zv,setShouldVerifyUserAttributeStep:bv,setSelectedUserAttribute:Gv,setSignInStep:Cv,setTotpSecretCode:Sv,setUser:Ov,setUnverifiedUserAttributes:Vv,setUsernameForgotPassword:Iv,setUsernameSignIn:Nv,setUsernameSignUp:Tv},jv=["CONFIRM_SIGN_IN_WITH_SMS_CODE","CONFIRM_SIGN_IN_WITH_TOTP_CODE"],Wv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",Hv=(e,{data:t})=>{var n;return((n=t==null?void 0:t.nextStep)==null?void 0:n.signInStep)==="RESET_PASSWORD"},Yv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_UP",Kv=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="COMPLETE_AUTO_SIGN_IN",qv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="DONE",Jv=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="DONE",Zv=(e,{data:t})=>(t==null?void 0:t.nextStep.resetPasswordStep)==="DONE",Qv=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_COMPLETE",Xv=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_WITH_CODE",ew=(e,{data:t})=>(t==null?void 0:t.step)==="SHOULD_CONFIRM_USER_ATTRIBUTE",tw=(e,{data:t})=>(t==null?void 0:t.step)==="RESET_PASSWORD",nw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_SIGN_UP",rw=({step:e})=>jv.includes(e),ow=({step:e})=>e==="CONTINUE_SIGN_IN_WITH_TOTP_SETUP",iw=({step:e})=>e==="RESET_PASSWORD",aw=({step:e})=>e==="CONFIRM_RESET_PASSWORD_WITH_CODE",sw=({step:e})=>e==="CONFIRM_SIGN_UP",cw=(e,{data:t})=>{const{phone_number_verified:n,email_verified:o}=t;return(o===void 0||o==="false")&&(n===void 0||n==="false")},lw=(e,{data:t})=>t.message==="User is already confirmed.",hn={hasCompletedAttributeConfirmation:Qv,hasCompletedResetPassword:Zv,hasCompletedSignIn:qv,hasCompletedSignUp:Jv,isConfirmSignUpStep:nw,isConfirmUserAttributeStep:Xv,isResetPasswordStep:tw,isShouldConfirmUserAttributeStep:ew,isUserAlreadyConfirmed:lw,shouldAutoSignIn:Kv,shouldConfirmResetPassword:aw,shouldConfirmSignIn:rw,shouldConfirmSignInWithNewPassword:Wv,shouldConfirmSignUp:sw,shouldConfirmSignUpFromSignIn:Yv,shouldResetPassword:iw,shouldResetPasswordFromSignIn:Hv,shouldSetupTotp:ow,shouldVerifyAttribute:cw};var uw=Ir,dw=_t;function fw(e,t,n){(n!==void 0&&!dw(e[t],n)||n===void 0&&!(t in e))&&uw(e,t,n)}var Xi=fw;function pw(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),c=s.length;c--;){var l=s[e?c:++i];if(n(a[l],l,a)===!1)break}return t}}var mw=pw,gw=mw,hw=gw(),yw=hw,Zn={exports:{}};(function(e,t){var n=fe,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,c=s?s.allocUnsafe:void 0;function l(u,d){if(d)return u.slice();var m=u.length,f=c?c(m):new u.constructor(m);return u.copy(f),f}e.exports=l})(Zn,Zn.exports);var Fo=Oi;function vw(e){var t=new e.constructor(e.byteLength);return new Fo(t).set(new Fo(e)),t}var ww=vw,_w=ww;function Sw(e,t){var n=t?_w(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Cw=Sw;function bw(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Aw=bw,Ew=we,Mo=Object.create,Iw=function(){function e(){}return function(t){if(!Ew(t))return{};if(Mo)return Mo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Tw=Iw,Nw=Tw,Pw=Tr,kw=_r;function xw(e){return typeof e.constructor=="function"&&!kw(e)?Nw(Pw(e)):{}}var Uw=xw,$w=pn,Rw=$e;function Ow(e){return Rw(e)&&$w(e)}var Dw=Ow,Fw=Ze,Mw=Tr,Bw=$e,Vw="[object Object]",Lw=Function.prototype,Gw=Object.prototype,ea=Lw.toString,zw=Gw.hasOwnProperty,jw=ea.call(Object);function Ww(e){if(!Bw(e)||Fw(e)!=Vw)return!1;var t=Mw(e);if(t===null)return!0;var n=zw.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ea.call(n)==jw}var Hw=Ww;function Yw(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ta=Yw,Kw=Qi,qw=Ir;function Jw(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],l=o?o(n[c],e[c],c,n,e):void 0;l===void 0&&(l=e[c]),i?qw(n,c,l):Kw(n,c,l)}return n}var Zw=Jw,Qw=Zw,Xw=Nr;function e_(e){return Qw(e,Xw(e))}var t_=e_,Bo=Xi,n_=Zn.exports,r_=Cw,o_=Aw,i_=Uw,Vo=yr,Lo=_e,a_=Dw,s_=yt.exports,c_=pr,l_=we,u_=Hw,d_=wr,Go=ta,f_=t_;function p_(e,t,n,o,i,a,s){var c=Go(e,n),l=Go(t,n),u=s.get(l);if(u){Bo(e,n,u);return}var d=a?a(c,l,n+"",e,t,s):void 0,m=d===void 0;if(m){var f=Lo(l),p=!f&&s_(l),h=!f&&!p&&d_(l);d=l,f||p||h?Lo(c)?d=c:a_(c)?d=o_(c):p?(m=!1,d=n_(l,!0)):h?(m=!1,d=r_(l,!0)):d=[]:u_(l)||Vo(l)?(d=c,Vo(c)?d=f_(c):(!l_(c)||c_(c))&&(d=i_(l))):m=!1}m&&(s.set(l,d),i(d,l,o,a,s),s.delete(l)),Bo(e,n,d)}var m_=p_,g_=hr,h_=Xi,y_=yw,v_=m_,w_=we,__=Nr,S_=ta;function na(e,t,n,o,i){e!==t&&y_(t,function(a,s){if(i||(i=new g_),w_(a))v_(e,t,s,n,na,o,i);else{var c=o?o(S_(e,s),a,s+"",e,t,i):void 0;c===void 0&&(c=a),h_(e,s,c)}},__)}var C_=na;function b_(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 A_=b_,E_=A_,zo=Math.max;function I_(e,t,n){return t=zo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=zo(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),E_(e,this,c)}}var T_=I_;function N_(e){return function(){return e}}var P_=N_,k_=P_,jo=Zi,x_=Er,U_=jo?function(e,t){return jo(e,"toString",{configurable:!0,enumerable:!1,value:k_(t),writable:!0})}:x_,$_=U_,R_=800,O_=16,D_=Date.now;function F_(e){var t=0,n=0;return function(){var o=D_(),i=O_-(o-n);if(n=o,i>0){if(++t>=R_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var M_=F_,B_=$_,V_=M_,L_=V_(B_),G_=L_,z_=Er,j_=T_,W_=G_;function H_(e,t){return W_(j_(e,t,z_),e+"")}var Y_=H_,K_=_t,q_=pn,J_=fn,Z_=we;function Q_(e,t,n){if(!Z_(n))return!1;var o=typeof t;return(o=="number"?q_(n)&&J_(t,n.length):o=="string"&&t in n)?K_(n[t],e):!1}var X_=Q_,eS=Y_,tS=X_;function nS(e){return eS(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&&tS(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var c=n[o];c&&e(t,c,o,a)}return t})}var rS=nS,oS=C_,iS=rS,aS=iS(function(e,t,n){oS(e,t,n)}),sS=aS;const yn=async(e,t,n,o)=>{const i=await Promise.all(o.map(s=>s(e,t,n))),a=sS({},...i);return Jo(a)?Promise.resolve():Promise.reject(a)},cS=8,lS=e=>Array.isArray(e),uS=e=>{if(!!e)return lS(e)?Object.entries(e).map(([t,n])=>Object.keys(n)[0]):Object.keys(e)},Te={async getAmplifyConfig(){var c,l,u,d,m;const e=Pa.Amplify.getConfig(),t=(c=e.Auth)==null?void 0:c.Cognito,{loginWith:n,userAttributes:o}=(u=(l=e.Auth)==null?void 0:l.Cognito)!=null?u:{},i=n?Object.entries(n).filter(([f,p])=>f!=="oauth").filter(([f,p])=>!!p).map(f=>f[0]==="phone"?"phone_number":f[0]):void 0,a=uS(o),s=(d=n==null?void 0:n.oauth)!=null&&d.providers?(m=n.oauth.providers)==null?void 0:m.map(f=>f.toString().toLowerCase()):void 0;return{...t,loginMechanisms:i,signUpAttributes:a,socialProviders:s}},getCurrentUser:W.getCurrentUser,handleSignIn:W.signIn,handleSignUp:W.signUp,handleConfirmSignIn:W.confirmSignIn,handleConfirmSignUp:W.confirmSignUp,handleForgotPasswordSubmit:W.confirmResetPassword,handleForgotPassword:W.resetPassword,async validateCustomSignUp(e,t){},async validateFormPassword(e,t,n){var c;const{password:o}=e,{password:i}=t;if(!i||!n)return null;const a=[],s=(c=n.minLength)!=null?c:cS;return o.length<s&&a.push(`Password must have at least ${s} characters`),n.requireLowercase&&!/[a-z]/.test(o)&&a.push("Password must have lower case letters"),n.requireUppercase&&!/[A-Z]/.test(o)&&a.push("Password must have upper case letters"),n.requireNumbers&&!/[0-9]/.test(o)&&a.push("Password must have numbers"),n.requireSpecialCharacters&&!ns(o)&&a.push("Password must have special characters"),a.length!==0?{password:a}:null},async validateConfirmPassword(e,t){const{password:n,confirm_password:o}=e,{confirm_password:i,password:a}=t;if(!n&&!o)return null;if((n||o)&&n!==o&&(i&&a||(n==null?void 0:n.length)>=6&&(o==null?void 0:o.length)>=6))return{confirm_password:"Your passwords must match"}},async validatePreferredUsername(e,t){}};function dS({services:e}){return qe({id:"forgotPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{cond:"shouldResetPassword",target:"confirmResetPassword"},{cond:"shouldConfirmResetPassword",target:"confirmResetPassword"},{target:"forgotPassword"}]},forgotPassword:{initial:"edit",entry:"sendUpdate",exit:["clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:"pending",entry:["sendUpdate","clearError","setUsernameForgotPassword"],invoke:{src:"handleResetPassword",onDone:{actions:["setCodeDeliveryDetails","setNextResetPasswordStep"],target:"#forgotPasswordActor.confirmResetPassword"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmResetPassword:{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:{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:"handleResetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"handleConfirmResetPassword",onDone:[{cond:"hasCompletedResetPassword",actions:"setNextResetPasswordStep",target:"#forgotPasswordActor.resolved"},{actions:"setSignInStep",target:"#forgotPasswordActor.resolved"}],onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final",data:({step:t})=>({step:t})}}},{actions:{...Ct,sendUpdate:an()},guards:hn,services:{handleResetPassword({username:t}){return e.handleForgotPassword({username:t})},handleConfirmResetPassword({formValues:t,username:n}){const{confirmation_code:o,password:i}=t;return e.handleForgotPasswordSubmit({confirmationCode:o,newPassword:i,username:n})},validateFields(t){return yn(t.formValues,t.touched,t.passwordSettings,[Te.validateFormPassword,Te.validateConfirmPassword])}}})}const xt={onDone:[{cond:"hasCompletedSignIn",actions:"setNextSignInStep",target:"#signInActor.fetchUserAttributes"},{cond:"shouldConfirmSignInWithNewPassword",actions:["setMissingAttributes","setNextSignInStep"],target:"#signInActor.forceChangePassword"},{cond:"shouldResetPasswordFromSignIn",actions:"setNextSignInStep",target:"#signInActor.resetPassword"},{cond:"shouldConfirmSignUpFromSignIn",actions:"setNextSignInStep",target:"#signInActor.resendSignUpCode"},{actions:["setChallengeName","setMissingAttributes","setNextSignInStep","setTotpSecretCode"],target:"#signInActor.init"}],onError:{actions:"setRemoteError",target:"edit"}},fS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signInActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}};function pS({services:e}){return qe({id:"signInActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{cond:"shouldConfirmSignIn",target:"confirmSignIn"},{cond:"shouldSetupTotp",target:"setupTotp"},{cond:({step:t})=>t==="CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",actions:"setActorDoneData",target:"forceChangePassword"},{target:"signIn"}]},federatedSignIn:{entry:["sendUpdate","clearError"],invoke:{src:"signInWithRedirect",onError:{actions:"setRemoteError"}}},fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...fS}},resendSignUpCode:{invoke:{src:"handleResendSignUpCode",onDone:{actions:"setCodeDeliveryDetails",target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resetPassword:{invoke:{src:"resetPassword",onDone:[{actions:"setCodeDeliveryDetails",target:"#signInActor.resolved"}],onError:{actions:["setRemoteError","sendUpdate"]}}},signIn:{initial:"edit",exit:"clearTouched",states:{edit:{entry:"sendUpdate",on:{CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:{target:"#signInActor.federatedSignIn"},SUBMIT:{actions:"handleSubmit",target:"submit"}}},submit:{tags:"pending",entry:["clearError","sendUpdate","setUsernameSignIn"],exit:"clearFormValues",invoke:{src:"handleSignIn",...xt}}}},confirmSignIn:{initial:"edit",exit:["clearChallengeName","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",...xt}}}},forceChangePassword:{entry:"sendUpdate",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:{actions:"setSignInStep",target:"#signInActor.resolved"},CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"edit",entry:"clearError",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{actions:"clearValidationError",target:"pending"},onError:{actions:"setFieldErrors",target:"edit"}}},pending:{tags:"pending",entry:["sendUpdate","clearError"],invoke:{src:"handleForceChangePassword",...xt}}}}}},setupTotp:{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:["sendUpdate","clearError"],invoke:{src:"confirmSignIn",...xt}}}},resolved:{type:"final",data:t=>({codeDeliveryDetails:t.codeDeliveryDetails,remoteError:t.remoteError,step:t.step,unverifiedUserAttributes:t.unverifiedUserAttributes,username:t.username})}}},{actions:{...Ct,sendUpdate:an()},guards:hn,services:{async fetchUserAttributes(){return W.fetchUserAttributes()},resetPassword({username:t}){return W.resetPassword({username:t})},handleResendSignUpCode({username:t}){return W.resendSignUpCode({username:t})},handleSignIn({formValues:t,username:n}){const{password:o}=t;return e.handleSignIn({username:n,password:o})},confirmSignIn({formValues:t}){const{confirmation_code:n}=t;return e.handleConfirmSignIn({challengeResponse:n})},async handleForceChangePassword({formValues:t}){let{password:n,phone_number:o,country_code:i,confirm_password:a,...s}=t,c;o&&(c=`${i}${o}`.replace(/[^A-Z0-9+]/gi,""),s={...s,phone_number:c});const l={challengeResponse:n,options:{userAttributes:s}};return W.confirmSignIn(l)},signInWithRedirect(t,{data:n}){return W.signInWithRedirect(n)},async validateFields(t){return yn(t.formValues,t.touched,t.passwordSettings,[Te.validateFormPassword,Te.validateConfirmPassword])}}})}const mS={onDone:[{actions:"setCodeDeliveryDetails",target:"#signUpActor.resolved"}],onError:{actions:["setRemoteError","sendUpdate"]}},gS={onDone:[{cond:"hasCompletedSignIn",actions:"setNextSignInStep",target:"#signUpActor.fetchUserAttributes"},{cond:"shouldConfirmSignInWithNewPassword",actions:"setNextSignInStep",target:"#signUpActor.resolved"},{cond:"shouldResetPasswordFromSignIn",actions:"setNextSignInStep",target:"#signUpActor.resetPassword"},{cond:"shouldConfirmSignUpFromSignIn",actions:"setNextSignInStep",target:"#signUpActor.resendSignUpCode"},{actions:["setNextSignInStep","setChallengeName","setMissingAttributes","setTotpSecretCode"],target:"#signUpActor.resolved"}],onError:{actions:"setRemoteError",target:"#signUpActor.resolved"}},hS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signUpActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}};function yS({services:e}){return qe({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{cond:"shouldConfirmSignUp",target:"confirmSignUp"},{target:"signUp"}]},autoSignIn:{tags:"pending",invoke:{src:"autoSignIn",...gS}},fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...hS}},resetPassword:{invoke:{src:"resetPassword",...mS}},resendSignUpCode:{tags:"pending",entry:"sendUpdate",exit:"sendUpdate",invoke:{src:"resendSignUpCode",onDone:{actions:["setCodeDeliveryDetails","sendUpdate"],target:"#signUpActor.confirmSignUp"},onError:[{cond:"isUserAlreadyConfirmed",target:"#signUpActor.resolved"},{actions:["setRemoteError","sendUpdate"]}]}},signUp:{type:"parallel",exit:"clearTouched",states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{actions:"clearValidationError",target:"valid"},onError:{actions:"setFieldErrors",target:"invalid"}}},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:{entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"signUp",actions:"clearValidationError"},onError:{actions:"setFieldErrors",target:"idle"}}},signUp:{tags:"pending",entry:["setUsernameSignUp","clearError"],exit:"sendUpdate",invoke:{src:"handleSignUp",onDone:[{cond:"hasCompletedSignUp",actions:"setNextSignUpStep",target:"#signUpActor.resolved"},{cond:"shouldAutoSignIn",actions:"setNextSignUpStep",target:"#signUpActor.autoSignIn"},{actions:["setCodeDeliveryDetails","setNextSignUpStep"],target:"#signUpActor.init"}],onError:{actions:["sendUpdate","setRemoteError"],target:"idle"}}}}}}},confirmSignUp:{initial:"edit",entry:"sendUpdate",states:{edit:{on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"#signUpActor.resendSignUpCode"}},submit:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"confirmSignUp",onDone:[{cond:"shouldAutoSignIn",actions:["setNextSignUpStep","clearFormValues"],target:"#signUpActor.autoSignIn"},{actions:"setNextSignUpStep",target:"#signUpActor.init"}],onError:{actions:["setRemoteError","sendUpdate"],target:"edit"}}}}},resolved:{type:"final",data:t=>({challengeName:t.challengeName,missingAttributes:t.missingAttributes,remoteError:t.remoteError,step:t.step,totpSecretCode:t.totpSecretCode,username:t.username,unverifiedUserAttributes:t.unverifiedUserAttributes})}}},{actions:{...Ct,sendUpdate:an()},guards:hn,services:{autoSignIn(){return W.autoSignIn()},async fetchUserAttributes(){return W.fetchUserAttributes()},confirmSignUp({formValues:t,username:n}){const{confirmation_code:o}=t,i={username:n,confirmationCode:o};return e.handleConfirmSignUp(i)},resendSignUpCode({username:t}){return W.resendSignUpCode({username:t})},async federatedSignIn(t,{data:n}){return W.signInWithRedirect(n)},async handleSignUp(t){const{formValues:n,loginMechanisms:o,username:i}=t,a=o[0],s=dv(i,n,a);return e.handleSignUp(s)},async validateSignUp(t){return yn(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])}}})}const vS=()=>qe({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.signOut()}});function wS(){return qe({id:"verifyUserAttributesActor",initial:"selectUserAttributes",predictableActionArguments:!0,states:{selectUserAttributes:{initial:"edit",exit:["clearError","clearTouched","sendUpdate"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:{target:"#verifyUserAttributesActor.resolved"},CHANGE:{actions:"handleInput"}}},submit:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"sendUserAttributeVerificationCode",onDone:{actions:["setSelectedUserAttribute","setCodeDeliveryDetails"],target:"#verifyUserAttributesActor.confirmVerifyUserAttribute"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUserAttribute:{initial:"edit",exit:["clearError","clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#verifyUserAttributesActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"confirmVerifyUserAttribute",onDone:{actions:["setConfirmAttributeCompleteStep","clearSelectedUserAttribute"],target:"#verifyUserAttributesActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:({step:e})=>({step:e})}}},{actions:{...Ct,sendUpdate:an()},services:{sendUserAttributeVerificationCode({formValues:{unverifiedAttr:e}}){const t={userAttributeKey:e};return W.sendUserAttributeVerificationCode(t)},async confirmVerifyUserAttribute({formValues:{confirmation_code:e},selectedUserAttribute:t}){const n={confirmationCode:e,userAttributeKey:t};return W.confirmUserAttribute(n)},async validateFields(e){return yn(e.formValues,e.touched,e.passwordSettings,[Te.validateFormPassword,Te.validateConfirmPassword])}}})}const Ut=(e,t)=>{var n,o,i,a,s,c,l;return{...e.actorDoneData,step:(o=(n=e==null?void 0:e.actorDoneData)==null?void 0:n.step)!=null?o:t,formValues:{},touched:{},validationError:{},formFields:(i=e.config)==null?void 0:i.formFields,loginMechanisms:(a=e.config)==null?void 0:a.loginMechanisms,passwordSettings:(s=e.config)==null?void 0:s.passwordSettings,signUpAttributes:(c=e.config)==null?void 0:c.signUpAttributes,socialProviders:(l=e.config)==null?void 0:l.socialProviders}},{choose:_S,stop:SS}=bi,it=e=>SS(e),CS={on:{INIT:{actions:["configure"],target:"getConfig"},SIGN_OUT:"#authenticator.signOut"}},bS={always:{actions:["configure"],target:"getConfig"}};function AS(e){const{useNextWaitConfig:t,...n}=e!=null?e:{};return qe({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Te,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"handleGetCurrentUser",onDone:{actions:"setUser",target:"setup"},onError:{target:"setup"}}},setup:{initial:"initConfig",states:{initConfig:t?bS:CS,getConfig:{invoke:{src:"getAmplifyConfig",onDone:[{actions:["applyAmplifyConfig","setHasSetup"],cond:"hasUser",target:"#authenticator.authenticated"},{actions:["applyAmplifyConfig","setHasSetup"],target:"goToInitialState"}]}},goToInitialState:{always:[{cond:"isInitialStateSignUp",target:"#authenticator.signUpActor"},{cond:"isInitialStateResetPassword",target:"#authenticator.forgotPasswordActor"},{target:"#authenticator.signInActor"}]}}},getCurrentUser:{invoke:{src:"handleGetCurrentUser",onDone:{actions:"setUser",target:"#authenticator.authenticated"},onError:{target:"#authenticator.setup"}}},signInActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("signInActor")}},on:{FORGOT_PASSWORD:"forgotPasswordActor",SIGN_IN:"signInActor",SIGN_UP:"signUpActor","done.invoke.signInActor":[{cond:"hasCompletedAttributeConfirmation",target:"#authenticator.getCurrentUser"},{cond:"isShouldConfirmUserAttributeStep",actions:"setActorDoneData",target:"#authenticator.verifyUserAttributesActor"},{cond:"isResetPasswordStep",actions:"setActorDoneData",target:"#authenticator.forgotPasswordActor"},{cond:"isConfirmSignUpStep",actions:"setActorDoneData",target:"#authenticator.signUpActor"}]}},signUpActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("signUpActor")}},on:{SIGN_IN:"signInActor","done.invoke.signUpActor":[{cond:"hasCompletedAttributeConfirmation",target:"#authenticator.getCurrentUser"},{cond:"isConfirmUserAttributeStep",target:"#authenticator.verifyUserAttributesActor"},{actions:"setActorDoneData",target:"#authenticator.signInActor"}]}},forgotPasswordActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnForgotPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("forgotPasswordActor")}},on:{SIGN_IN:"signInActor","done.invoke.forgotPasswordActor":[{target:"#authenticator.signInActor"}]}},verifyUserAttributesActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnVerifyUserAttributesActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("verifyUserAttributesActor")}},on:{"done.invoke.verifyUserAttributesActor":[{actions:"setActorDoneData",target:"#authenticator.getCurrentUser"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"#authenticator.getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("signOutActor")}},on:{"done.invoke.signOutActor":{actions:"clearUser",target:"setup.getConfig"}}}},on:{SIGN_IN_WITH_REDIRECT:{target:"#authenticator.getCurrentUser"},CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{...Ct,forwardToActor:_S([{cond:"hasActor",actions:tl(({actorRef:i})=>i)}]),setActorDoneData:ye({actorDoneData:(i,a)=>({codeDeliveryDetails:a.data.codeDeliveryDetails,missingAttributes:a.data.missingAttributes,remoteError:a.data.remoteError,username:a.data.username,step:a.data.step,totpSecretCode:a.data.totpSecretCode,unverifiedUserAttributes:a.data.unverifiedUserAttributes})}),applyAmplifyConfig:ye({config(i,{data:a}){var p,h,v,S,g;const{loginMechanisms:s=(p=a.loginMechanisms)!=null?p:[],signUpAttributes:c=(h=a.signUpAttributes)!=null?h:[],socialProviders:l=(v=a.socialProviders)!=null?v:[],initialState:u,formFields:d,passwordSettings:m=(S=a.passwordFormat)!=null?S:{}}=i.config;return s.length===0&&s.push("username"),{formFields:(g=ES(d))!=null?g:{},initialState:u,loginMechanisms:s,passwordSettings:m,signUpAttributes:c,socialProviders:l}}}),spawnSignInActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=pS({services:s}).withContext(Ut(i,"SIGN_IN"));return rt(c,{name:"signInActor"})}}),spawnSignUpActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=yS({services:s}).withContext(Ut(i,"SIGN_UP"));return rt(c,{name:"signUpActor"})}}),spawnForgotPasswordActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=dS({services:s}).withContext(Ut(i,"FORGOT_PASSWORD"));return rt(c,{name:"forgotPasswordActor"})}}),spawnVerifyUserAttributesActor:ye({actorRef:i=>{const a=wS().withContext(Ut(i));return rt(a,{name:"verifyUserAttributesActor"})}}),spawnSignOutActor:ye({actorRef:i=>{const a=vS().withContext({user:i==null?void 0:i.user});return rt(a,{name:"signOutActor"})}}),configure:ye((i,a)=>{var l;const{services:s,...c}=La(n)?(l=a.data)!=null?l:{}:n;return{services:{...Te,...s},config:c}}),setHasSetup:ye({hasSetup:!0})},guards:{...hn,hasActor:({actorRef:i})=>!!i,isInitialStateSignUp:({config:i})=>i.initialState==="signUp",isInitialStateResetPassword:({config:i})=>i.initialState==="forgotPassword",shouldSetup:({hasSetup:i})=>!i,hasUser:({user:i})=>!!i},services:{getAmplifyConfig:({services:i})=>i.getAmplifyConfig(),handleGetCurrentUser:({services:i})=>i.getCurrentUser()}})}function ES(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 J={Accordion:"amplify-accordion",AccordionItem:"amplify-accordion__item",AccordionItemTrigger:"amplify-accordion__item__trigger",AccordionItemContent:"amplify-accordion__item__content",AccordionItemIcon:"amplify-accordion__item__icon",Alert:"amplify-alert",AlertIcon:"amplify-alert__icon",AlertHeading:"amplify-alert__heading",AlertBody:"amplify-alert__body",AlertDismiss:"amplify-alert__dismiss",Autocomplete:"amplify-autocomplete",AutocompleteMenu:"amplify-autocomplete__menu",AutocompleteMenuEmpty:"amplify-autocomplete__menu--empty",AutocompleteMenuFooter:"amplify-autocomplete__menu__footer",AutocompleteMenuHeader:"amplify-autocomplete__menu__header",AutocompleteMenuLoading:"amplify-autocomplete__menu--loading",AutocompleteMenuOption:"amplify-autocomplete__menu__option",AutocompleteMenuOptions:"amplify-autocomplete__menu__options",Badge:"amplify-badge",Breadcrumbs:"amplify-breadcrumbs",BreadcrumbsList:"amplify-breadcrumbs__list",BreadcrumbsItem:"amplify-breadcrumbs__item",BreadcrumbsSeparator:"amplify-breadcrumbs__separator",BreadcrumbsLink:"amplify-breadcrumbs__link",Button:"amplify-button",ButtonGroup:"amplify-buttongroup",ButtonLoaderWrapper:"amplify-button__loader-wrapper",Card:"amplify-card",Checkbox:"amplify-checkbox",CheckboxButton:"amplify-checkbox__button",CheckboxIcon:"amplify-checkbox__icon",CheckboxInput:"amplify-checkbox__input",CheckboxLabel:"amplify-checkbox__label",CheckboxField:"amplify-checkboxfield",Collection:"amplify-collection",CollectionItems:"amplify-collection-items",CollectionSearch:"amplify-collection-search",CollectionPagination:"amplify-collection-pagination",CountryCodeSelect:"amplify-countrycodeselect",DialCodeSelect:"amplify-dialcodeselect",Divider:"amplify-divider",DividerLabel:"amplify-divider--label",DropZone:"amplify-dropzone",Field:"amplify-field",FieldDescription:"amplify-field__description",FieldErrorMessage:"amplify-field__error-message",FieldGroup:"amplify-field-group",FieldGroupControl:"amplify-field-group__control",FieldGroupOuterEnd:"amplify-field-group__outer-end",FieldGroupOuterStart:"amplify-field-group__outer-start",FieldGroupInnerEnd:"amplify-field-group__inner-end",FieldGroupInnerStart:"amplify-field-group__inner-start",FieldGroupIcon:"amplify-field-group__icon",FieldGroupIconButton:"amplify-field-group__icon-button",FieldGroupHasInnerEnd:"amplify-field-group--has-inner-end",FieldGroupHasInnerStart:"amplify-field-group--has-inner-start",FieldShowPassword:"amplify-field__show-password",FieldGroupFieldWrapper:"amplify-field-group__field-wrapper",Fieldset:"amplify-fieldset",FieldsetLegend:"amplify-fieldset__legend",Flex:"amplify-flex",Grid:"amplify-grid",Heading:"amplify-heading",HighlightMatch:"amplify-highlightmatch",HighlightMatchHighlighted:"amplify-highlightmatch__highlighted",Icon:"amplify-icon",Image:"amplify-image",Input:"amplify-input",Label:"amplify-label",Link:"amplify-link",Loader:"amplify-loader",LoaderLabel:"amplify-loader__label",MenuContent:"amplify-menu__content",MenuItem:"amplify-menu__content__item",MenuTrigger:"amplify-menu__trigger",MenuWrapper:"amplify-menu__wrapper",Message:"amplify-message",MessageIcon:"amplify-message__icon",MessageHeading:"amplify-message__heading",MessageBody:"amplify-message__body",MessageContent:"amplify-message__content",MessageDismiss:"amplify-message__dismiss",Pagination:"amplify-pagination",PaginationItem:"amplify-pagination__item",PasswordField:"amplify-passwordfield",PhoneNumberField:"amplify-phonenumberfield",Placeholder:"amplify-placeholder",Radio:"amplify-radio",RadioButton:"amplify-radio__button",RadioInput:"amplify-radio__input",RadioLabel:"amplify-radio__label",RadioGroupField:"amplify-radiogroupfield",RadioGroup:"amplify-radiogroup",Rating:"amplify-rating",RatingItem:"amplify-rating__item",RatingIcon:"amplify-rating__icon",RatingLabel:"amplify-rating__label",ScrollView:"amplify-scrollview",SearchField:"amplify-searchfield",SearchFieldClear:"amplify-searchfield__clear",SearchFieldSearch:"amplify-searchfield__search",Select:"amplify-select",SelectField:"amplify-selectfield",SelectWrapper:"amplify-select__wrapper",SelectIcon:"amplify-select__icon",SliderField:"amplify-sliderfield",SliderFieldGroup:"amplify-sliderfield__group",SliderFieldLabel:"amplify-sliderfield__label",SliderFieldRange:"amplify-sliderfield__range",SliderFieldRoot:"amplify-sliderfield__root",SliderFieldThumb:"amplify-sliderfield__thumb",SliderFieldTrack:"amplify-sliderfield__track",StepperField:"amplify-stepperfield",StepperFieldButtonDecrease:"amplify-stepperfield__button--decrease",StepperFieldButtonIncrease:"amplify-stepperfield__button--increase",StepperFieldInput:"amplify-stepperfield__input",StorageImage:"amplify-storageimage",StorageManager:"amplify-storagemanager",StorageManagerDropZone:"amplify-storagemanager__dropzone",StorageManagerDropZoneIcon:"amplify-storagemanager__dropzone__icon",StorageManagerDropZoneText:"amplify-storagemanager__dropzone__text",StorageManagerFilePicker:"amplify-storagemanager__file__picker",StorageManagerFile:"amplify-storagemanager__file",StorageManagerFileWrapper:"amplify-storagemanager__file__wrapper",StorageManagerFileList:"amplify-storagemanager__file__list",StorageManagerFileName:"amplify-storagemanager__file__name",StorageManagerFileSize:"amplify-storagemanager__file__size",StorageManagerFileInfo:"amplify-storagemanager__file__info",StorageManagerFileImage:"amplify-storagemanager__file__image",StorageManagerFileMain:"amplify-storagemanager__file__main",StorageManagerFileStatus:"amplify-storagemanager__file__status",StorageManagerLoader:"amplify-storagemanager__loader",StorageManagerPreviewer:"amplify-storagemanager__previewer",StorageManagerPreviewerText:"amplify-storagemanager__previewer__text",StorageManagerPreviewerActions:"amplify-storagemanager__previewer__actions",StorageManagerPreviewerFooter:"amplify-storagemanager__previewer__footer",SwitchField:"amplify-switchfield",SwitchLabel:"amplify-switch__label",SwitchThumb:"amplify-switch__thumb",SwitchTrack:"amplify-switch__track",SwitchWrapper:"amplify-switch__wrapper",Table:"amplify-table",TableCaption:"amplify-table__caption",TableBody:"amplify-table__body",TableTd:"amplify-table__td",TableTh:"amplify-table__th",TableFoot:"amplify-table__foot",TableHead:"amplify-table__head",TableRow:"amplify-table__row",Tabs:"amplify-tabs",TabsList:"amplify-tabs__list",TabsItem:"amplify-tabs__item",TabsPanel:"amplify-tabs__panel",Text:"amplify-text",Textarea:"amplify-textarea",TextAreaField:"amplify-textareafield",TextField:"amplify-textfield",ToggleButton:"amplify-togglebutton",ToggleButtonGroup:"amplify-togglebuttongroup",VisuallyHidden:"amplify-visually-hidden"},IS=({componentName:e,packageName:t,version:n})=>{const o=[`ui-${t}`,n];switch(e){case"Authenticator":{L.setCustomUserAgent({...Ra,additionalDetails:[[e],o]});break}case"ChangePassword":case"DeleteUser":{L.setCustomUserAgent({...$a,additionalDetails:[["AccountSettings"],o]});break}case"InAppMessaging":{L.setCustomUserAgent({...Oa,additionalDetails:[[e],o]});break}case"LocationSearch":{L.setCustomUserAgent({...Da,additionalDetails:[[e],o]});break}case"MapView":{L.setCustomUserAgent({...Fa,additionalDetails:[[e],o]});break}case"StorageManager":{L.setCustomUserAgent({...Ma,additionalDetails:[[e],o]});break}}return za},TS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},NS={class:"amplify-flex amplify-authenticator__icon-wrapper"},PS=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),kS=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),pe={__name:"base-alert",setup(e){const t=r.ref(!0),n=N("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=ee;return t.value?(r.openBlock(),r.createElementBlock("div",TS,[r.createElementVNode("div",NS,[PS,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(()=>[kS]),_:1},8,["aria-label"])])):r.createCommentVNode("",!0)}}},me=r.defineComponent({__name:"base-field-set",setup(e){const 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 xS(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function ra(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))),xS(i),n)}function US(e){return"state"in e}var Wo=function(){};function $S(e){return"getSnapshot"in e?e.getSnapshot():US(e)?e.state:void 0}function RS(e,t){t===void 0&&(t=$S);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,c){o.value=t(a);var l=a.subscribe({next:function(u){return o.value=u},error:Wo,complete:Wo}).unsubscribe;c(function(){return l()})},{immediate:!0}),{state:o,send:i}}const OS=e=>{var t,n,o;return{...(o=(n=(t=or(e))==null?void 0:t.formFields)==null?void 0:n.setupTotp)==null?void 0:o.QR}},Pr=ra(()=>{const e=AS(),t=Pi(e).start(),n=r.ref("configuring"),{state:o,send:i}=RS(t),a=()=>{n.value="authenticated"},s=()=>{n.value="unauthenticated"},c=ja(t,(l,u)=>Zo(l,u,{onSignIn:a,onSignOut:s}));return W.getCurrentUser().then(()=>{n.value="authenticated"}).catch(()=>{n.value="unauthenticated"}),r.onScopeDispose(()=>{c()}),{authStatus:n,service:t,send:i,state:o}}),Q=ra(()=>{const{authStatus:e,state:t,send:n}=Pr(),o=r.reactive({});return r.watchEffect(()=>{const i=Ja({send:n,state:t.value});for(const s of Object.keys(i))o[s]=i[s];const a=i.route==="setupTotp"?OS(t.value):null;o.QRFields=a,o.authStatus=e.value,o.send=n,o.state=t}),o});let DS=(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 vn=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))}}),FS={},MS={"data-amplify-label":""};function BS(e,t){return r.openBlock(),r.createElementBlock("label",MS,[r.renderSlot(e.$slots,"default")])}var wn=Jt(FS,[["render",BS]]);const VS=["aria-label","aria-checked"],LS=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),GS=[LS],zS=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),jS=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),WS=[zS,jS],HS={inheritAttrs:!1},kr=r.defineComponent({...HS,__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 w;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:c,label:l,autocomplete:u,hasError:d,labelHidden:m,placeholder:f,required:p}=r.toRefs(t),h=r.ref("");function v(){a.value=a.value===n?o:n,i.value=i.value==="password"?"text":"password"}const S=N((w=f==null?void 0:f.value)!=null?w:l.value),g=N(l.value);return(y,_)=>{const C=wn,A=vn,E=Z;return r.openBlock(),r.createBlock(E,{class:r.normalizeClass([r.unref(J).Flex,r.unref(J).Field,r.unref(J).TextField,r.unref(J).PasswordField])},{default:r.withCtx(()=>[r.createVNode(C,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":r.unref(m)}]),for:"amplify-field-"+r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1},8,["class","for"]),r.createVNode(E,{class:r.normalizeClass([r.unref(J).Flex,r.unref(J).FieldGroup])},{default:r.withCtx(()=>[r.createVNode(E,{class:r.normalizeClass(r.unref(J).FieldGroupFieldWrapper)},{default:r.withCtx(()=>{var I;return[r.createVNode(A,r.mergeProps(y.$attrs,{modelValue:h.value,"onUpdate:modelValue":_[0]||(_[0]=T=>h.value=T),class:[r.unref(J).Input,r.unref(J).FieldGroupControl],id:"amplify-field-"+r.unref(s),"data-amplify-password":"true",name:r.unref(c),autocomplete:r.unref(u),required:(I=r.unref(p))!=null?I:!0,placeholder:r.unref(S),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(J).FieldGroupOuterEnd)},{default:r.withCtx(()=>[r.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:r.normalizeClass([r.unref(J).Button,r.unref(J).FieldGroupControl,r.unref(J).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:v},[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(J).Icon)},GS,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(J).Icon)},WS,2))],10,VS)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),YS=["value","selected"],KS=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,c)=>(r.openBlock(),r.createElementBlock("select",{onChange:c[0]||(c[0]=l=>a(l))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(o),(l,u)=>(r.openBlock(),r.createElementBlock("option",{key:u,value:l,selected:l==r.unref(i)?!0:void 0},r.toDisplayString(l),9,YS))),128))],32))}}),qS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},[r.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),JS=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:c,dialCode:l,dialCodeList:u}=r.toRefs(t),d=Math.floor(Math.random()*999999),m=Math.floor(Math.random()*999999);return(f,p)=>{const h=wn,v=KS,S=Z,g=vn;return r.openBlock(),r.createBlock(S,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield"},{default:r.withCtx(()=>[r.createVNode(h,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(S,{class:"amplify-flex amplify-field-group"},{default:r.withCtx(()=>[r.createVNode(S,{class:"amplify-field-group__outer-start"},{default:r.withCtx(()=>[e.type==="tel"?(r.openBlock(),r.createBlock(S,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(h,r.mergeProps({for:"amplify-field-"+r.unref(m),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString("Country Code"))]),_:1},16,["for"]),r.createVNode(S,{class:"amplify-select__wrapper"},{default:r.withCtx(()=>[r.createVNode(v,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+r.unref(m),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:r.unref(u),"select-value":r.unref(l)},null,8,["id","options","select-value"]),r.createVNode(S,{class:"amplify-flex amplify-select__icon"},{default:r.withCtx(()=>[qS]),_:1})]),_:1})]),_:1})):r.createCommentVNode("",!0)]),_:1}),r.createVNode(S,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>{var w;return[r.createVNode(g,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+r.unref(d),autocomplete:r.unref(a),name:r.unref(o),required:(w=r.unref(c))!=null?w:!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})}}}),ZS=["id"],oa=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(Q()),{type:a}=o.value,s=a==="password",c=DS(12),l=r.computed(()=>ts(i.value[n.value])),u=r.computed(()=>{var m;return((m=l.value)==null?void 0:m.length)>0}),d=r.computed(()=>u.value?c:void 0);return(m,f)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[s?(r.openBlock(),r.createBlock(kr,{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(JS,{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(l),(p,h)=>(r.openBlock(),r.createElementBlock("p",{key:h,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},r.toDisplayString(r.unref(N)(p)),1))),128))],8,ZS)):r.createCommentVNode("",!0)],64))}}),ge=r.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=r.toRefs(t),{state:o}=Pr();let i=[];return r.onBeforeMount(()=>{i=rc(n.value,o.value)}),(a,s)=>(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i),([c,l])=>(r.openBlock(),r.createBlock(oa,{name:c,key:c,formField:l},null,8,["name","formField"]))),128))}}),$t=r.defineComponent({__name:"federated-sign-in-button",props:{provider:null},setup(e){const t=e,{provider:n}=r.toRefs(t),{toFederatedSignIn:o}=Q(),i=()=>{o({provider:n.value})};return(a,s)=>{const c=ee;return r.openBlock(),r.createBlock(c,{class:"amplify-authenticator__federated-button",type:"button",onClick:i},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3})}}}),QS=r.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-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),XS={class:"amplify-text"},eC=r.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-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),tC={class:"amplify-text"},nC=r.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-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),rC={class:"amplify-text"},oC=r.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-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),iC={class:"amplify-text"},aC=["data-label"],_n=r.defineComponent({__name:"federated-sign-in",setup(e){const t=Q(),{route:n,socialProviders:o}=t,i=o==null?void 0:o.includes("amazon"),a=o==null?void 0:o.includes("apple"),s=o==null?void 0:o.includes("facebook"),c=o==null?void 0:o.includes("google"),l=s||c||i||a,{getSignInWithFederationText:u,getOrText:d}=oe,m=r.computed(()=>Dn),f=r.computed(()=>u(n,"amazon")),p=r.computed(()=>u(n,"apple")),h=r.computed(()=>u(n,"facebook")),v=r.computed(()=>u(n,"google")),S=r.computed(()=>d());return(g,w)=>{const y=Z;return r.unref(l)?(r.openBlock(),r.createBlock(y,{key:0,class:"amplify-flex amplify-authenticator__federated-buttons"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock($t,{key:0,provider:r.unref(m).Amazon},{default:r.withCtx(()=>[QS,r.createElementVNode("span",XS,r.toDisplayString(r.unref(f)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(a)?(r.openBlock(),r.createBlock($t,{key:1,provider:r.unref(m).Apple},{default:r.withCtx(()=>[eC,r.createElementVNode("span",tC,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(s)?(r.openBlock(),r.createBlock($t,{key:2,provider:r.unref(m).Facebook},{default:r.withCtx(()=>[nC,r.createElementVNode("span",rC,r.toDisplayString(r.unref(h)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock($t,{key:3,provider:r.unref(m).Google},{default:r.withCtx(()=>[oC,r.createElementVNode("span",iC,r.toDisplayString(r.unref(v)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:"amplify-divider amplify-divider--horizontal amplify-divider--small","aria-orientation":"horizontal","data-label":r.unref(S)},null,8,aC)]),_:1})):r.createCommentVNode("",!0)}}}),sC=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),cC={"data-amplify-footer":""},xr=r.defineComponent({__name:"sign-in",setup(e){const t=Q(),{submitForm:n,updateForm:o,toForgotPassword:i}=t,{error:a,isPending:s}=r.toRefs(t),{getForgotPasswordText:c,getSignInText:l,getSigningInText:u}=oe,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=S=>{const{name:g,value:w}=S.target;o({name:g,value:w})},h=S=>{n(de(S))},v=()=>{i()};return(S,g)=>{const w=me,y=pe,_=ee,C=Z,A=ue,E=le;return r.renderSlot(S.$slots,"signInSlotI",r.normalizeProps(r.guardReactiveProps(S.$attrs)),()=>[r.renderSlot(S.$slots,"header"),r.createVNode(C,r.normalizeProps(r.guardReactiveProps(S.$attrs)),{default:r.withCtx(()=>[r.createVNode(A,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:r.withModifiers(h,["prevent"]),method:"post"},{formt:r.withCtx(({slotData:I})=>[r.renderSlot(S.$slots,"form",{info:I,onSignInSubmit:h,onInput:p,onForgotPasswordClicked:v})]),default:r.withCtx(()=>[r.createVNode(_n),r.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(w,{disabled:r.unref(s),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:r.withCtx(({slotData:I})=>[r.renderSlot(S.$slots,"signin-fields",{info:I})]),default:r.withCtx(()=>[sC,r.createVNode(ge,{route:"signIn"})]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(y,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(_,{disabled:r.unref(s),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(s)?r.unref(f):r.unref(m)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(E,null,{default:r.withCtx(()=>[r.renderSlot(S.$slots,"footer",{},()=>[r.createElementVNode("div",cC,[r.createVNode(_,{onClick:v,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(d)),1)]),_:1})])])]),_:3})])}}}),Ur=r.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(ge,{route:"signUp"}))}}),$r=r.defineComponent({__name:"sign-up",setup(e){const t=Q(),{submitForm:n,updateBlur:o,updateForm:i}=t,{error:a,hasValidationErrors:s,isPending:c}=r.toRefs(t),{getCreateAccountText:l}=oe,u=r.computed(()=>l()),d=p=>{const{checked:h,name:v,type:S,value:g}=p.target;i({name:v,value:S==="checkbox"&&!h?void 0:g})};function m(p){const{name:h}=p.target;o({name:h})}const f=p=>{n(de(p))};return(p,h)=>{const v=me,S=pe,g=ee,w=Z,y=ue,_=le;return r.renderSlot(p.$slots,"signUpSlotI",r.normalizeProps(r.guardReactiveProps(p.$attrs)),()=>[r.renderSlot(p.$slots,"header"),r.createVNode(w,r.normalizeProps(r.guardReactiveProps(p.$attrs)),{default:r.withCtx(()=>[r.createVNode(y,{onInput:d,onBlurCapture:m,onSubmit:r.withModifiers(f,["prevent"])},{default:r.withCtx(()=>[r.createVNode(_n),r.createVNode(w,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{fieldSetI:r.withCtx(({slotData:C})=>[r.renderSlot(p.$slots,"signup-fields",{info:C})]),default:r.withCtx(()=>[r.createVNode(Ur)]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(S,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(g,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:r.unref(c)||r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(u)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(_,null,{default:r.withCtx(()=>[r.renderSlot(p.$slots,"footer")]),_:3})])}}}),lC={};function uC(e,t){const n=Z;return r.openBlock(),r.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs amplify-tabs"},{default:r.withCtx(()=>[r.createVNode(n,{class:"amplify-tabs__list amplify-tabs__list--top amplify-tabs__list--equal amplify-authenticator__tabs-wrapper",role:"tablist"},{default:r.withCtx(()=>[r.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var dC=Jt(lC,[["render",uC]]);const fC=["tabindex","aria-selected","id","aria-controls"],pC=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)=>(r.openBlock(),r.createElementBlock("button",{tabindex:r.unref(n)?0:-1,"aria-selected":r.unref(n)?"true":"false",class:r.normalizeClass([{"amplify-tabs__item--active":r.unref(n)},"amplify-tabs__item"]),id:`${r.unref(o)}-tab`,"aria-controls":`${r.unref(o)}-panel`,role:"tab"},r.toDisplayString(r.unref(i)),11,fC))}}),mC="4.1.0",gC={};function hC(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 ia=Jt(gC,[["render",hC]]);const Ne=r.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,c;const o=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((c=(s=i[0])==null?void 0:s.children)==null?void 0:c.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}}),Rr=r.defineComponent({__name:"confirm-sign-up",setup(e){const t=Q(),{codeDeliveryDetails:n,error:o,isPending:i}=r.toRefs(t),{resendCode:a,submitForm:s,updateForm:c}=t,{getDeliveryMethodText:l,getDeliveryMessageText:u,getResendCodeText:d,getConfirmText:m}=oe,f=r.computed(()=>l(n.value)),p=r.computed(()=>d()),h=r.computed(()=>m()),v=r.computed(()=>u(n.value)),S=_=>{const{name:C,value:A}=_.target;c({name:C,value:A})},g=_=>{w(_)},w=_=>{s(de(_))},y=()=>{a()};return(_,C)=>{const A=Ne,E=ia,I=me,T=pe,k=ee,P=le,x=Z,R=ue;return r.renderSlot(_.$slots,"confirmSignUpSlotI",r.normalizeProps(r.guardReactiveProps(_.$attrs)),()=>[r.createVNode(x,r.normalizeProps(r.guardReactiveProps(_.$attrs)),{default:r.withCtx(()=>[r.createVNode(R,{onInput:S,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(x,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(_.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(E,{class:"amplify-authenticator__subtitle"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1}),r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmSignUp"})]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(o)?(r.openBlock(),r.createBlock(T,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(o))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(k,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(k,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(y,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(_.$slots,"footer")]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Or=r.defineComponent({__name:"confirm-sign-in",setup(e){const t=Q(),{submitForm:n,toSignIn:o,updateForm:i}=t,{error:a,isPending:s,challengeName:c}=r.toRefs(t),l=r.computed(()=>c.value),{getBackToSignInText:u,getConfirmText:d,getChallengeText:m}=oe,f=r.computed(()=>m(l.value)),p=r.computed(()=>u()),h=r.computed(()=>d()),v=w=>{const{name:y,value:_}=w.target;i({name:y,value:_})},S=w=>{n(de(w))},g=()=>{o()};return(w,y)=>{const _=Ne,C=Z,A=pe,E=ee,I=le,T=me,k=ue;return r.renderSlot(w.$slots,"confirmSignInSlotI",r.normalizeProps(r.guardReactiveProps(w.$attrs)),()=>[r.createVNode(C,r.normalizeProps(r.guardReactiveProps(w.$attrs)),{default:r.withCtx(()=>[r.createVNode(k,{"data-amplify-authenticator-confirmsignin":"",onInput:v,onSubmit:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{default:r.withCtx(()=>[r.renderSlot(w.$slots,"header",{},()=>[r.createVNode(_,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmSignIn"})]),_:1}),r.createVNode(I,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),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)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),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(g,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(w.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var bt={},yC=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},aa={},ne={};let Dr;const vC=[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];ne.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};ne.getSymbolTotalCodewords=function(t){return vC[t]};ne.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};ne.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Dr=t};ne.isKanjiModeEnabled=function(){return typeof Dr!="undefined"};ne.toSJIS=function(t){return Dr(t)};var Sn={};(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}}})(Sn);function sa(){this.buffer=[],this.length=0}sa.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 wC=sa;function At(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)}At.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};At.prototype.get=function(e,t){return this.data[e*this.size+t]};At.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};At.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var _C=At,ca={};(function(e){const t=ne.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,c=[a-7];for(let l=1;l<i-1;l++)c[l]=c[l-1]-s;return c.push(6),c.reverse()},e.getPositions=function(o){const i=[],a=e.getRowColCoords(o),s=a.length;for(let c=0;c<s;c++)for(let l=0;l<s;l++)c===0&&l===0||c===0&&l===s-1||c===s-1&&l===0||i.push([a[c],a[l]]);return i}})(ca);var la={};const SC=ne.getSymbolSize,Ho=7;la.getPositions=function(t){const n=SC(t);return[[0,0],[n-Ho,0],[0,n-Ho]]};var ua={};(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,c=0,l=0,u=null,d=null;for(let m=0;m<a;m++){c=l=0,u=d=null;for(let f=0;f<a;f++){let p=i.get(m,f);p===u?c++:(c>=5&&(s+=t.N1+(c-5)),u=p,c=1),p=i.get(f,m),p===d?l++:(l>=5&&(s+=t.N1+(l-5)),d=p,l=1)}c>=5&&(s+=t.N1+(c-5)),l>=5&&(s+=t.N1+(l-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let c=0;c<a-1;c++)for(let l=0;l<a-1;l++){const u=i.get(c,l)+i.get(c,l+1)+i.get(c+1,l)+i.get(c+1,l+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,c=0,l=0;for(let u=0;u<a;u++){c=l=0;for(let d=0;d<a;d++)c=c<<1&2047|i.get(u,d),d>=10&&(c===1488||c===93)&&s++,l=l<<1&2047|i.get(d,u),d>=10&&(l===1488||l===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let l=0;l<s;l++)a+=i.data[l];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 c=0;c<s;c++)for(let l=0;l<s;l++)a.isReserved(l,c)||a.xor(l,c,n(i,l,c))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let c=0,l=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<l&&(l=d,c=u)}return c}})(ua);var Cn={};const Ae=Sn,Rt=[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],Ot=[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];Cn.getBlocksCount=function(t,n){switch(n){case Ae.L:return Rt[(t-1)*4+0];case Ae.M:return Rt[(t-1)*4+1];case Ae.Q:return Rt[(t-1)*4+2];case Ae.H:return Rt[(t-1)*4+3];default:return}};Cn.getTotalCodewordsCount=function(t,n){switch(n){case Ae.L:return Ot[(t-1)*4+0];case Ae.M:return Ot[(t-1)*4+1];case Ae.Q:return Ot[(t-1)*4+2];case Ae.H:return Ot[(t-1)*4+3];default:return}};var da={},bn={};const ft=new Uint8Array(512),Kt=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)ft[n]=t,Kt[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)ft[n]=ft[n-255]})();bn.log=function(t){if(t<1)throw new Error("log("+t+")");return Kt[t]};bn.exp=function(t){return ft[t]};bn.mul=function(t,n){return t===0||n===0?0:ft[Kt[t]+Kt[n]]};(function(e){const t=bn;e.mul=function(o,i){const a=new Uint8Array(o.length+i.length-1);for(let s=0;s<o.length;s++)for(let c=0;c<i.length;c++)a[s+c]^=t.mul(o[s],i[c]);return a},e.mod=function(o,i){let a=new Uint8Array(o);for(;a.length-i.length>=0;){const s=a[0];for(let l=0;l<i.length;l++)a[l]^=t.mul(i[l],s);let c=0;for(;c<a.length&&a[c]===0;)c++;a=a.slice(c)}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}})(da);const fa=da;function Fr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Fr.prototype.initialize=function(t){this.degree=t,this.genPoly=fa.generateECPolynomial(this.degree)};Fr.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=fa.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 CC=Fr,pa={},Pe={},Mr={};Mr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var he={};const ma="[0-9]+",bC="[A-Z $%*+\\-./:]+";let vt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";vt=vt.replace(/u/g,"\\u");const AC="(?:(?![A-Z0-9 $%*+\\-./:]|"+vt+`)(?:.|[\r
20
- ]))+`;he.KANJI=new RegExp(vt,"g");he.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");he.BYTE=new RegExp(AC,"g");he.NUMERIC=new RegExp(ma,"g");he.ALPHANUMERIC=new RegExp(bC,"g");const EC=new RegExp("^"+vt+"$"),IC=new RegExp("^"+ma+"$"),TC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");he.testKanji=function(t){return EC.test(t)};he.testNumeric=function(t){return IC.test(t)};he.testAlphanumeric=function(t){return TC.test(t)};(function(e){const t=Mr,n=he;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}}})(Pe);(function(e){const t=ne,n=Cn,o=Sn,i=Pe,a=Mr,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,c=t.getBCHDigit(s);function l(f,p,h){for(let v=1;v<=40;v++)if(p<=e.getCapacity(v,h,f))return v}function u(f,p){return i.getCharCountIndicator(f,p)+4}function d(f,p){let h=0;return f.forEach(function(v){h+=u(v.mode,p)+v.getBitsLength()}),h}function m(f,p){for(let h=1;h<=40;h++)if(d(f,h)<=e.getCapacity(h,p,i.MIXED))return h}e.from=function(p,h){return a.isValid(p)?parseInt(p,10):h},e.getCapacity=function(p,h,v){if(!a.isValid(p))throw new Error("Invalid QR Code version");typeof v=="undefined"&&(v=i.BYTE);const S=t.getSymbolTotalCodewords(p),g=n.getTotalCodewordsCount(p,h),w=(S-g)*8;if(v===i.MIXED)return w;const y=w-u(v,p);switch(v){case i.NUMERIC:return Math.floor(y/10*3);case i.ALPHANUMERIC:return Math.floor(y/11*2);case i.KANJI:return Math.floor(y/13);case i.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(p,h){let v;const S=o.from(h,o.M);if(Array.isArray(p)){if(p.length>1)return m(p,S);if(p.length===0)return 1;v=p[0]}else v=p;return l(v.mode,v.getLength(),S)},e.getEncodedBits=function(p){if(!a.isValid(p)||p<7)throw new Error("Invalid QR Code version");let h=p<<12;for(;t.getBCHDigit(h)-c>=0;)h^=s<<t.getBCHDigit(h)-c;return p<<12|h}})(pa);var ga={};const Qn=ne,ha=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,NC=1<<14|1<<12|1<<10|1<<4|1<<1,Yo=Qn.getBCHDigit(ha);ga.getEncodedBits=function(t,n){const o=t.bit<<3|n;let i=o<<10;for(;Qn.getBCHDigit(i)-Yo>=0;)i^=ha<<Qn.getBCHDigit(i)-Yo;return(o<<10|i)^NC};var ya={};const PC=Pe;function Ge(e){this.mode=PC.NUMERIC,this.data=e.toString()}Ge.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ge.prototype.getLength=function(){return this.data.length};Ge.prototype.getBitsLength=function(){return Ge.getBitsLength(this.data.length)};Ge.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 kC=Ge;const xC=Pe,xn=["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 ze(e){this.mode=xC.ALPHANUMERIC,this.data=e}ze.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};ze.prototype.getLength=function(){return this.data.length};ze.prototype.getBitsLength=function(){return ze.getBitsLength(this.data.length)};ze.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=xn.indexOf(this.data[n])*45;o+=xn.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(xn.indexOf(this.data[n]),6)};var UC=ze,$C=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 RC=$C,OC=Pe;function je(e){this.mode=OC.BYTE,this.data=new Uint8Array(RC(e))}je.getBitsLength=function(t){return t*8};je.prototype.getLength=function(){return this.data.length};je.prototype.getBitsLength=function(){return je.getBitsLength(this.data.length)};je.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var DC=je;const FC=Pe,MC=ne;function We(e){this.mode=FC.KANJI,this.data=e}We.getBitsLength=function(t){return t*13};We.prototype.getLength=function(){return this.data.length};We.prototype.getBitsLength=function(){return We.getBitsLength(this.data.length)};We.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=MC.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]+`
21
- Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var BC=We,va={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,o,i){var a={},s={};s[o]=0;var c=t.PriorityQueue.make();c.push(o,0);for(var l,u,d,m,f,p,h,v,S;!c.empty();){l=c.pop(),u=l.value,m=l.cost,f=n[u]||{};for(d in f)f.hasOwnProperty(d)&&(p=f[d],h=m+p,v=s[d],S=typeof s[d]=="undefined",(S||v>h)&&(s[d]=h,c.push(d,h),a[d]=u))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var g=["Could not find a path from ",o," to ",i,"."].join("");throw new Error(g)}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})(va);(function(e){const t=Pe,n=kC,o=UC,i=DC,a=BC,s=he,c=ne,l=va.exports;function u(g){return unescape(encodeURIComponent(g)).length}function d(g,w,y){const _=[];let C;for(;(C=g.exec(y))!==null;)_.push({data:C[0],index:C.index,mode:w,length:C[0].length});return _}function m(g){const w=d(s.NUMERIC,t.NUMERIC,g),y=d(s.ALPHANUMERIC,t.ALPHANUMERIC,g);let _,C;return c.isKanjiModeEnabled()?(_=d(s.BYTE,t.BYTE,g),C=d(s.KANJI,t.KANJI,g)):(_=d(s.BYTE_KANJI,t.BYTE,g),C=[]),w.concat(y,_,C).sort(function(E,I){return E.index-I.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function f(g,w){switch(w){case t.NUMERIC:return n.getBitsLength(g);case t.ALPHANUMERIC:return o.getBitsLength(g);case t.KANJI:return a.getBitsLength(g);case t.BYTE:return i.getBitsLength(g)}}function p(g){return g.reduce(function(w,y){const _=w.length-1>=0?w[w.length-1]:null;return _&&_.mode===y.mode?(w[w.length-1].data+=y.data,w):(w.push(y),w)},[])}function h(g){const w=[];for(let y=0;y<g.length;y++){const _=g[y];switch(_.mode){case t.NUMERIC:w.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:w.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:w.push([_,{data:_.data,mode:t.BYTE,length:u(_.data)}]);break;case t.BYTE:w.push([{data:_.data,mode:t.BYTE,length:u(_.data)}])}}return w}function v(g,w){const y={},_={start:{}};let C=["start"];for(let A=0;A<g.length;A++){const E=g[A],I=[];for(let T=0;T<E.length;T++){const k=E[T],P=""+A+T;I.push(P),y[P]={node:k,lastCount:0},_[P]={};for(let x=0;x<C.length;x++){const R=C[x];y[R]&&y[R].node.mode===k.mode?(_[R][P]=f(y[R].lastCount+k.length,k.mode)-f(y[R].lastCount,k.mode),y[R].lastCount+=k.length):(y[R]&&(y[R].lastCount=k.length),_[R][P]=f(k.length,k.mode)+4+t.getCharCountIndicator(k.mode,w))}}C=I}for(let A=0;A<C.length;A++)_[C[A]].end=0;return{map:_,table:y}}function S(g,w){let y;const _=t.getBestModeForData(g);if(y=t.from(w,_),y!==t.BYTE&&y.bit<_.bit)throw new Error('"'+g+'" cannot be encoded with mode '+t.toString(y)+`.
22
- Suggested mode is: `+t.toString(_));switch(y===t.KANJI&&!c.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new n(g);case t.ALPHANUMERIC:return new o(g);case t.KANJI:return new a(g);case t.BYTE:return new i(g)}}e.fromArray=function(w){return w.reduce(function(y,_){return typeof _=="string"?y.push(S(_,null)):_.data&&y.push(S(_.data,_.mode)),y},[])},e.fromString=function(w,y){const _=m(w,c.isKanjiModeEnabled()),C=h(_),A=v(C,y),E=l.find_path(A.map,"start","end"),I=[];for(let T=1;T<E.length-1;T++)I.push(A.table[E[T]].node);return e.fromArray(p(I))},e.rawSplit=function(w){return e.fromArray(m(w,c.isKanjiModeEnabled()))}})(ya);const An=ne,Un=Sn,VC=wC,LC=_C,GC=ca,zC=la,Xn=ua,er=Cn,jC=CC,qt=pa,WC=ga,HC=Pe,$n=ya;function YC(e,t){const n=e.size,o=zC.getPositions(t);for(let i=0;i<o.length;i++){const a=o[i][0],s=o[i][1];for(let c=-1;c<=7;c++)if(!(a+c<=-1||n<=a+c))for(let l=-1;l<=7;l++)s+l<=-1||n<=s+l||(c>=0&&c<=6&&(l===0||l===6)||l>=0&&l<=6&&(c===0||c===6)||c>=2&&c<=4&&l>=2&&l<=4?e.set(a+c,s+l,!0,!0):e.set(a+c,s+l,!1,!0))}}function KC(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 qC(e,t){const n=GC.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 c=-2;c<=2;c++)s===-2||s===2||c===-2||c===2||s===0&&c===0?e.set(i+s,a+c,!0,!0):e.set(i+s,a+c,!1,!0)}}function JC(e,t){const n=e.size,o=qt.getEncodedBits(t);let i,a,s;for(let c=0;c<18;c++)i=Math.floor(c/3),a=c%3+n-8-3,s=(o>>c&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function Rn(e,t,n){const o=e.size,i=WC.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 ZC(e,t){const n=e.size;let o=-1,i=n-1,a=7,s=0;for(let c=n-1;c>0;c-=2)for(c===6&&c--;;){for(let l=0;l<2;l++)if(!e.isReserved(i,c-l)){let u=!1;s<t.length&&(u=(t[s]>>>a&1)===1),e.set(i,c-l,u),a--,a===-1&&(s++,a=7)}if(i+=o,i<0||n<=i){i-=o,o=-o;break}}}function QC(e,t,n){const o=new VC;n.forEach(function(l){o.put(l.mode.bit,4),o.put(l.getLength(),HC.getCharCountIndicator(l.mode,e)),l.write(o)});const i=An.getSymbolTotalCodewords(e),a=er.getTotalCodewordsCount(e,t),s=(i-a)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let l=0;l<c;l++)o.put(l%2?17:236,8);return XC(o,e,t)}function XC(e,t,n){const o=An.getSymbolTotalCodewords(t),i=er.getTotalCodewordsCount(t,n),a=o-i,s=er.getBlocksCount(t,n),c=o%s,l=s-c,u=Math.floor(o/s),d=Math.floor(a/s),m=d+1,f=u-d,p=new jC(f);let h=0;const v=new Array(s),S=new Array(s);let g=0;const w=new Uint8Array(e.buffer);for(let E=0;E<s;E++){const I=E<l?d:m;v[E]=w.slice(h,h+I),S[E]=p.encode(v[E]),h+=I,g=Math.max(g,I)}const y=new Uint8Array(o);let _=0,C,A;for(C=0;C<g;C++)for(A=0;A<s;A++)C<v[A].length&&(y[_++]=v[A][C]);for(C=0;C<f;C++)for(A=0;A<s;A++)y[_++]=S[A][C];return y}function eb(e,t,n,o){let i;if(Array.isArray(e))i=$n.fromArray(e);else if(typeof e=="string"){let u=t;if(!u){const d=$n.rawSplit(e);u=qt.getBestVersionForData(d,n)}i=$n.fromString(e,u||40)}else throw new Error("Invalid data");const a=qt.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(`
15
+ ***************************************************************************** */var b=function(){return b=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},b.apply(this,arguments)};function ar(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 O(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 D(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(c){s={error:c}}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 V;(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"})(V||(V={}));var Ie;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Ie||(Ie={}));var Vt=V.Start,Xt=V.Stop,He=V.Raise,wt=V.Send,sr=V.Cancel,ei=V.NullEvent,en=V.Assign,uc=V.After,dc=V.DoneState,tn=V.Log,ti=V.Init,Lt=V.Invoke,fc=V.ErrorExecution,Fn=V.ErrorPlatform,cr=V.ErrorCustom,nn=V.Update,ni=V.Choose,ri=V.Pure,pc=Object.freeze(Object.defineProperty({__proto__:null,after:uc,assign:en,cancel:sr,choose:ni,doneState:dc,error:cr,errorExecution:fc,errorPlatform:Fn,init:ti,invoke:Lt,log:tn,nullEvent:ei,pure:ri,raise:He,send:wt,start:Vt,stop:Xt,update:nn},Symbol.toStringTag,{value:"Module"})),oi=".",Zr={},Mn="xstate.guard",mc="",mt=!0,Et;function lr(e,t,n){n===void 0&&(n=oi);var o=ut(e,n),i=ut(t,n);return M(i)?M(o)?i===o:!1:M(o)?o in i:Object.keys(o).every(function(a){return a in i?lr(o[a],i[a]):!1})}function ii(e){try{return M(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 Bn(e,t){try{return Ye(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function gc(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function ut(e,t){if(gc(e))return e.value;if(Ye(e))return Gt(e);if(typeof e!="string")return e;var n=Bn(e,t);return Gt(n)}function Gt(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 at(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 Qr(e,t,n){var o,i,a={};try{for(var s=O(Object.keys(e)),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l];!n(u)||(a[l]=t(u,l,e))}}catch(d){o={error:d}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}var hc=function(e){return function(t){var n,o,i=t;try{for(var a=O(e),s=a.next();!s.done;s=a.next()){var c=s.value;i=i[c]}}catch(l){n={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}};function yc(e,t){return function(n){var o,i,a=n;try{for(var s=O(e),c=s.next();!c.done;c=s.next()){var l=c.value;a=a[t][l]}}catch(u){o={error:u}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}}function Ft(e){if(!e)return[[]];if(M(e))return[[e]];var t=j(Object.keys(e).map(function(n){var o=e[n];return typeof o!="string"&&(!o||!Object.keys(o).length)?[[n]]:Ft(e[n]).map(function(i){return[n].concat(i)})}));return t}function j(e){var t;return(t=[]).concat.apply(t,G([],D(e),!1))}function ai(e){return Ye(e)?e:[e]}function ae(e){return e===void 0?[]:ai(e)}function zt(e,t,n){var o,i;if(F(e))return e(t,n.data);var a={};try{for(var s=O(Object.keys(e)),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l];F(u)?a[l]=u(t,n.data):a[l]=u}}catch(d){o={error:d}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}function vc(e){return/^(done|error)\./.test(e)}function Xr(e){return!!(e instanceof Promise||e!==null&&(F(e)||typeof e=="object")&&F(e.then))}function wc(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function _c(e,t){var n,o,i=D([[],[]],2),a=i[0],s=i[1];try{for(var c=O(e),l=c.next();!l.done;l=c.next()){var u=l.value;t(u)?a.push(u):s.push(u)}}catch(d){n={error:d}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return[a,s]}function si(e,t){return at(e.states,function(n,o){if(!!n){var i=(M(t)?void 0:t[o])||(n?n.current:void 0);if(!!i)return{current:i,states:si(n,i)}}})}function Sc(e,t){return{current:t,states:si(e,t)}}function eo(e,t,n,o){var i=e&&n.reduce(function(a,s){var c,l,u=s.assignment,d={state:o,action:s,_event:t},m={};if(F(u))m=u(a,t.data,d);else try{for(var f=O(Object.keys(u)),p=f.next();!p.done;p=f.next()){var h=p.value,v=u[h];m[h]=F(v)?v(a,t.data,d):v}}catch(S){c={error:S}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(c)throw c.error}}return Object.assign({},a,m)},e);return i}var Vn=function(){};function Ye(e){return Array.isArray(e)}function F(e){return typeof e=="function"}function M(e){return typeof e=="string"}function ci(e,t){if(!!e)return M(e)?{type:Mn,name:e,predicate:t?t[e]:void 0}:F(e)?{type:Mn,name:e.name,predicate:e}:e}function Cc(e){try{return"subscribe"in e&&F(e.subscribe)}catch{return!1}}var be=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Et={},Et[be]=function(){return this},Et[Symbol.observable]=function(){return this};function Ve(e){return!!e&&"__xstatenode"in e}function bc(e){return!!e&&typeof e.send=="function"}var Ac=function(){var e=0;return function(){return e++,e.toString(16)}}();function rn(e,t){return M(e)||typeof e=="number"?b({type:e},t):e}function q(e,t){if(!M(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=rn(e);return b({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Oe(e,t){var n=ai(t).map(function(o){return typeof o=="undefined"||typeof o=="string"||Ve(o)?{target:o,event:e}:b(b({},o),{event:e})});return n}function Ec(e){if(!(e===void 0||e===mc))return ae(e)}function Ic(e,t,n){if(!mt){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 li(e,t,n,o,i){var a=e.options.guards,s={state:i,cond:t,_event:o};if(t.type===Mn)return((a==null?void 0:a[t.name])||t.predicate)(n,o.data,s);var c=a==null?void 0:a[t.type];if(!c)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return c(n,o.data,s)}function ui(e){return typeof e=="string"?{type:e}:e}function Mt(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 It(e,t){return"".concat(e,":invocation[").concat(t,"]")}function Ln(e){return(e.type===He||e.type===wt&&e.to===Ie.Internal)&&typeof e.delay!="number"}var xe=q({type:ti});function jt(e,t){return t&&t[e]||void 0}function Le(e,t){var n;if(M(e)||typeof e=="number"){var o=jt(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=jt(e.type,t);if(F(o))n=b(b({},e),{exec:o});else if(o){var i=o.type||e.type;n=b(b(b({},o),e),{type:i})}else n=e}return n}var ve=function(e,t){if(!e)return[];var n=Ye(e)?e:[e];return n.map(function(o){return Le(o,t)})};function on(e){var t=Le(e);return b(b({id:M(e)?e:t.id},t),{type:t.type})}function di(e,t){return{type:He,event:typeof e=="function"?e:rn(e),delay:t?t.delay:void 0,id:t==null?void 0:t.id}}function fi(e,t,n,o){var i={_event:n},a=q(F(e.event)?e.event(t,n.data,i):e.event),s;if(M(e.delay)){var c=o&&o[e.delay];s=F(c)?c(t,n.data,i):c}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;return b(b({},e),{type:He,_event:a,delay:s})}function Ke(e,t){return{to:t?t.to:void 0,type:wt,event:F(e)?e:rn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:F(e)?e.name:ii(e)}}function pi(e,t,n,o){var i={_event:n},a=q(F(e.event)?e.event(t,n.data,i):e.event),s;if(M(e.delay)){var c=o&&o[e.delay];s=F(c)?c(t,n.data,i):c}else s=F(e.delay)?e.delay(t,n.data,i):e.delay;var l=F(e.to)?e.to(t,n.data,i):e.to;return b(b({},e),{to:l,_event:a,event:a.data,delay:s})}function ur(e,t){return Ke(e,b(b({},t),{to:Ie.Parent}))}function Tc(e,t,n){return Ke(t,b(b({},n),{to:e}))}function mi(){return ur(nn)}function Nc(e,t){return Ke(e,b(b({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var Pc=function(e,t){return{context:e,event:t}};function kc(e,t){return e===void 0&&(e=Pc),{type:tn,label:t,expr:e}}var gi=function(e,t,n){return b(b({},e),{value:M(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},hi=function(e){return{type:sr,sendId:e}};function yi(e){var t=on(e);return{type:V.Start,activity:t,exec:void 0}}function vi(e){var t=F(e)?e:on(e);return{type:V.Stop,activity:t,exec:void 0}}function wi(e,t,n){var o=F(e.activity)?e.activity(t,n.data):e.activity,i=typeof o=="string"?{id:o}:o,a={type:V.Stop,activity:i};return a}var _i=function(e){return{type:en,assignment:e}};function xc(e){return typeof e=="object"&&"type"in e}function Si(e,t){var n=t?"#".concat(t):"";return"".concat(V.After,"(").concat(e,")").concat(n)}function st(e,t){var n="".concat(V.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function dt(e,t){var n="".concat(V.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Be(e,t){var n="".concat(V.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Uc(e){return{type:V.Pure,get:e}}function Ci(e,t){return Ke(function(n,o){return o},b(b({},t),{to:e}))}function $c(e,t){return ur(function(n,o,i){return{type:cr,data:F(e)?e(n,o,i):e}},b(b({},t),{to:Ie.Parent}))}function Rc(e){return{type:V.Choose,conds:e}}var Oc=function(e){var t,n,o=[];try{for(var i=O(e),a=i.next();!a.done;a=i.next())for(var s=a.value,c=0;c<s.actions.length;){if(s.actions[c].type===en){o.push(s.actions[c]),s.actions.splice(c,1);continue}c++}}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 gt(e,t,n,o,i,a,s){s===void 0&&(s=!1);var c=s?[]:Oc(i),l=c.length?eo(n,o,c,t):n,u=s?[n]:void 0,d=[];function m(h,v){var S;switch(v.type){case He:{var g=fi(v,l,o,e.options.delays);return a&&typeof g.delay=="number"&&a(g,l,o),g}case wt:var w=pi(v,l,o,e.options.delays);return a&&w.to!==Ie.Internal&&(h==="entry"?d.push(w):a(w,l,o)),w;case tn:{var y=gi(v,l,o);return a==null||a(y,l,o),y}case ni:{var _=v,C=(S=_.conds.find(function(se){var K=ci(se.cond,e.options.guards);return!K||li(e,K,l,o,a?void 0:t)}))===null||S===void 0?void 0:S.actions;if(!C)return[];var A=D(gt(e,t,l,o,[{type:h,actions:ve(ae(C),e.options.actions)}],a,s),2),E=A[0],I=A[1];return l=I,u==null||u.push(l),E}case ri:{var C=v.get(l,o.data);if(!C)return[];var T=D(gt(e,t,l,o,[{type:h,actions:ve(ae(C),e.options.actions)}],a,s),2),k=T[0],P=T[1];return l=P,u==null||u.push(l),k}case Xt:{var y=wi(v,l,o);return a==null||a(y,n,o),y}case en:{l=eo(l,o,[v],a?void 0:t),u==null||u.push(l);break}default:var x=Le(v,e.options.actions),R=x.exec;if(a)a(x,l,o);else if(R&&u){var H=u.length-1,re=b(b({},x),{exec:function(se){for(var K=[],ie=1;ie<arguments.length;ie++)K[ie-1]=arguments[ie];R.apply(void 0,G([u[H]],D(K),!1))}});x=re}return x}}function f(h){var v,S,g=[];try{for(var w=O(h.actions),y=w.next();!y.done;y=w.next()){var _=y.value,C=m(h.type,_);C&&(g=g.concat(C))}}catch(A){v={error:A}}finally{try{y&&!y.done&&(S=w.return)&&S.call(w)}finally{if(v)throw v.error}}return d.forEach(function(A){a(A,l,o)}),d.length=0,g}var p=j(i.map(f));return[p,l]}var bi=Object.freeze(Object.defineProperty({__proto__:null,actionTypes:pc,after:Si,assign:_i,cancel:hi,choose:Rc,done:st,doneInvoke:dt,error:Be,escalate:$c,forwardTo:Ci,getActionFunction:jt,initEvent:xe,isActionObject:xc,log:kc,pure:Uc,raise:di,resolveActions:gt,resolveLog:gi,resolveRaise:fi,resolveSend:pi,resolveStop:wi,respond:Nc,send:Ke,sendParent:ur,sendTo:Tc,sendUpdate:mi,start:yi,stop:vi,toActionObject:Le,toActionObjects:ve,toActivityDefinition:on},Symbol.toStringTag,{value:"Module"})),Wt=[],Me=function(e,t){Wt.push(e);var n=t(e);return Wt.pop(),n},Dc=function(e){return e(Wt[Wt.length-1])};function Ai(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[be]=function(){return this},t}function Fc(e,t,n,o){var i,a=ui(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],c=e.data?zt(e.data,n,o):void 0,l=s?dr(s,e.id,c):Ai(e.id);return l.meta=e,l}function dr(e,t,n){var o=Ai(t);if(o.deferred=!0,Ve(e)){var i=o.state=Me(void 0,function(){return(n?e.withContext(n):e).initialState});o.getSnapshot=function(){return i}}return o}function Mc(e){try{return typeof e.send=="function"}catch{return!1}}function Bc(e){return Mc(e)&&"id"in e}function Vc(e){var t;return b((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[be]=function(){return this},t),e)}var Ht=function(e){return e.type==="atomic"||e.type==="final"};function Ei(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function ht(e){return Ei(e).filter(function(t){return t.type!=="history"})}function Ii(e){var t=[e];return Ht(e)?t:t.concat(j(ht(e).map(Ii)))}function ct(e,t){var n,o,i,a,s,c,l,u,d=new Set(e),m=Gn(d),f=new Set(t);try{for(var p=O(f),h=p.next();!h.done;h=p.next())for(var v=h.value,S=v.parent;S&&!f.has(S);)f.add(S),S=S.parent}catch(T){n={error:T}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var g=Gn(f);try{for(var w=O(f),y=w.next();!y.done;y=w.next()){var v=y.value;if(v.type==="compound"&&(!g.get(v)||!g.get(v).length))m.get(v)?m.get(v).forEach(function(k){return f.add(k)}):v.initialStateNodes.forEach(function(k){return f.add(k)});else if(v.type==="parallel")try{for(var _=(s=void 0,O(ht(v))),C=_.next();!C.done;C=_.next()){var A=C.value;f.has(A)||(f.add(A),m.get(A)?m.get(A).forEach(function(k){return f.add(k)}):A.initialStateNodes.forEach(function(k){return f.add(k)}))}}catch(k){s={error:k}}finally{try{C&&!C.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}}}catch(T){i={error:T}}finally{try{y&&!y.done&&(a=w.return)&&a.call(w)}finally{if(i)throw i.error}}try{for(var E=O(f),I=E.next();!I.done;I=E.next())for(var v=I.value,S=v.parent;S&&!f.has(S);)f.add(S),S=S.parent}catch(T){l={error:T}}finally{try{I&&!I.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}return f}function Ti(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var o=n[0];if(o){if(Ht(o))return o.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=Ti(a,t)}),i}function Gn(e){var t,n,o=new Map;try{for(var i=O(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(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function Lc(e,t){var n=ct([e],t);return Ti(e,Gn(n))}function lt(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function Gc(e){return G([],D(new Set(j(G([],D(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Bt(e,t){return t.type==="compound"?ht(t).some(function(n){return n.type==="final"&&lt(e,n)}):t.type==="parallel"?ht(t).every(function(n){return Bt(e,n)}):!1}function zc(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function to(e){return new Set(j(e.map(function(t){return t.tags})))}function Ni(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(M(e)||M(t))return e===t;var n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(function(i){return Ni(e[i],t[i])})}function jc(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function Wc(e,t){var n=e.exec,o=b(b({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return o}var ce=function(){function e(t){var n=this,o;this.actions=[],this.activities=Zr,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||Zr,this.meta=zc(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 Gc(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=xe;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=xe;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="."),M(t))return[t];var i=Object.keys(t);return i.concat.apply(i,G([],D(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=ar(t,["configuration","transitions","tags","machine"]);return b(b({},o),{tags:Array.from(n)})},e.prototype.matches=function(t){return lr(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Vn(!!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}(),Hc={deferEvents:!1},no=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=b(b({},Hc),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}(),In=new Map,Yc=0,nt={bookId:function(){return"x:".concat(Yc++)},register:function(e,t){return In.set(e,t),e},get:function(e){return In.get(e)},free:function(e){In.delete(e)}};function fr(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global;mt||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 Kc(){var e=fr();if(e&&"__xstate__"in e)return e.__xstate__}function qc(e){if(!!fr()){var t=Kc();t&&t.register(e)}}function Jc(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,l),o.forEach(function(d){return d.next(n)})}a=!1}},c=Vc({id:t.id,send:function(u){i.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,d,m){var f=Mt(u,d,m);return o.add(f),f.next(n),{unsubscribe:function(){o.delete(f)}}}}),l={parent:t.parent,self:c,id:t.id||"anonymous",observers:o};return n=e.start?e.start(l):n,c}var zn={sync:!1,autoForward:!1},Y;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Y||(Y={}));var Zc=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=Y.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,m){if(Ye(d))return o.batch(d),o.state;var f=q(rn(d,m));if(o.status===Y.Stopped)return o.state;if(o.status!==Y.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.
16
+ 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,m,f){var p=o.parent&&(m===Ie.Parent||o.parent.id===m),h=p?o.parent:M(m)?m===Ie.Internal?o:o.children.get(m)||nt.get(m):bc(m)?m:void 0;if(!h){if(!p)throw new Error("Unable to send event to child '".concat(m,"' from service '").concat(o.id,"'."));return}if("machine"in h){if(o.status!==Y.Stopped||o.parent!==h||o.state.done){var v=b(b({},d),{name:d.name===cr?"".concat(Be(o.id)):d.name,origin:o.sessionId});!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([h,v]):h.send(v)}}else!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([h,d.data]):h.send(d.data)},this._exec=function(d,m,f,p){p===void 0&&(p=o.machine.options.actions);var h=d.exec||jt(d.type,p),v=F(h)?h:h?h.exec:d.exec;if(v)try{return v(m,f.data,o.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:o.state,_event:f})}catch(H){throw o.parent&&o.parent.send({type:"xstate.error",data:H}),H}switch(d.type){case He:{var S=d;o.defer(S);break}case wt:var g=d;if(typeof g.delay=="number"){o.defer(g);return}else g.to?o.sendTo(g._event,g.to,f===xe):o.send(g._event);break;case sr:o.cancel(d.sendId);break;case Vt:{if(o.status!==Y.Running)return;var w=d.activity;if(!o.machine.config.predictableActionArguments&&!o.state.activities[w.id||w.type])break;if(w.type===V.Invoke){var y=ui(w.src),_=o.machine.options.services?o.machine.options.services[y.type]:void 0,C=w.id,A=w.data,E="autoForward"in w?w.autoForward:!!w.forward;if(!_)return;var I=A?zt(A,m,f):void 0;if(typeof _=="string")return;var T=F(_)?_(m,f.data,{data:I,src:y,meta:w.meta}):_;if(!T)return;var k=void 0;Ve(T)&&(T=I?T.withContext(I):T,k={autoForward:E}),o.spawn(T,C,k)}else o.spawnActivity(w);break}case Xt:{o.stopChild(d.activity.id);break}case tn:var P=d,x=P.label,R=P.value;x?o.logger(x,R):o.logger(R);break}};var i=b(b({},e.defaultOptions),n),a=i.clock,s=i.logger,c=i.parent,l=i.id,u=l!==void 0?l:t.id;this.id=u,this.logger=s,this.clock=a,this.parent=c,this.options=i,this.scheduler=new no({deferEvents:this.options.deferEvents}),this.sessionId=nt.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:Me(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=O(t.actions),s=a.next();!s.done;s=a.next()){var c=s.value;this.exec(c,t,n)}}catch(l){o={error:l}}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,c,l,u,d,m=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===xe)&&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(T){m.state.children[T.id]=T}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var p=O(this.eventListeners),h=p.next();!h.done;h=p.next()){var v=h.value;v(t.event)}}catch(T){o={error:T}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}try{for(var S=O(this.listeners),g=S.next();!g.done;g=S.next()){var v=g.value;v(t,t.event)}}catch(T){a={error:T}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var w=O(this.contextListeners),y=w.next();!y.done;y=w.next()){var _=y.value;_(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(T){c={error:T}}finally{try{y&&!y.done&&(l=w.return)&&l.call(w)}finally{if(c)throw c.error}}if(this.state.done){var C=t.configuration.find(function(T){return T.type==="final"&&T.parent===m.machine}),A=C&&C.doneData?zt(C.doneData,t.context,n):void 0;this._doneEvent=dt(this.id,A);try{for(var E=O(this.doneListeners),I=E.next();!I.done;I=E.next()){var v=I.value;v(this._doneEvent)}}catch(T){u={error:T}}finally{try{I&&!I.done&&(d=E.return)&&d.call(E)}finally{if(u)throw u.error}}this._stop(),this._stopChildren(),nt.free(this.sessionId)}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===Y.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,o){var i=this,a=Mt(t,n,o);this.listeners.add(a.next),this.status!==Y.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===Y.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===Y.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===Y.Running)return this;this.machine._init(),nt.register(this.sessionId,this),this.initialized=!0,this.status=Y.Running;var o=t===void 0?this.initialState:Me(this,function(){return jc(t)?n.machine.resolveState(t):n.machine.resolveState(ce.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(o,xe)}),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,c,l,u,d;try{for(var m=O(this.listeners),f=m.next();!f.done;f=m.next()){var p=f.value;this.listeners.delete(p)}}catch(E){t={error:E}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}try{for(var h=O(this.stopListeners),v=h.next();!v.done;v=h.next()){var p=v.value;p(),this.stopListeners.delete(p)}}catch(E){o={error:E}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}try{for(var S=O(this.contextListeners),g=S.next();!g.done;g=S.next()){var p=g.value;this.contextListeners.delete(p)}}catch(E){a={error:E}}finally{try{g&&!g.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var w=O(this.doneListeners),y=w.next();!y.done;y=w.next()){var p=y.value;this.doneListeners.delete(p)}}catch(E){c={error:E}}finally{try{y&&!y.done&&(l=w.return)&&l.call(w)}finally{if(c)throw c.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Y.Stopped,this._initialState=void 0;try{for(var _=O(Object.keys(this.delayedEventsMap)),C=_.next();!C.done;C=_.next()){var A=C.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(E){u={error:E}}finally{try{C&&!C.done&&(d=_.return)&&d.call(_)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new no({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var o=q({type:"xstate.stop"}),i=Me(t,function(){var a=j(G([],D(t.state.configuration),!1).sort(function(d,m){return m.order-d.order}).map(function(d){return ve(d.onExit,t.machine.options.actions)})),s=D(gt(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),c=s[0],l=s[1],u=new ce({value:t.state.value,context:l,_event:o,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:c.filter(function(d){return!Ln(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(),nt.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(this.status===Y.NotStarted&&this.options.deferEvents)mt||Vn(!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.
17
+ Event: `).concat(JSON.stringify(event)));else if(this.status!==Y.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,c=!1,l=[],u=function(p){var h=q(p);n.forward(h),s=Me(n,function(){return n.machine.transition(s,h,void 0,o||void 0)}),l.push.apply(l,G([],D(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(v){return Wc(v,s)})),!1)),c=c||!!s.changed};try{for(var d=O(t),m=d.next();!m.done;m=d.next()){var f=m.value;u(f)}}catch(p){i={error:p}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=c,s.actions=l,n.update(s,q(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=q(t);if(i.name.indexOf(Fn)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Fn)===0}))throw i.data.data;var a=Me(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=O(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,c=this.children.get(s);if(!c)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));c.send(t)}}catch(l){n={error:l}}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!==Y.Running)return dr(t,n);if(Xr(t))return this.spawnPromise(Promise.resolve(t),n);if(F(t))return this.spawnCallback(t,n);if(Bc(t))return this.spawnActor(t,n);if(Cc(t))return this.spawnObservable(t,n);if(Ve(t))return this.spawnMachine(t,b(b({},o),{id:n}));if(wc(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,b(b({},this.options),{parent:this,id:n.id||t.id})),a=b(b({},zn),n);a.sync&&i.onTransition(function(c){o.send(nn,{state:c,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(c){o.removeChild(i.id),o.send(q(c,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var o=Jc(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(l){a||(s=l,i.removeChild(n),i.send(q(dt(n,l),{origin:n})))},function(l){if(!a){i.removeChild(n);var u=Be(n,l);try{i.send(q(u,{origin:n}))}catch(d){Ic(l,d,n),i.devTools&&i.devTools.send(u,i.state),i.machine.strict&&i.stop()}}});var c=(o={id:n,send:function(){},subscribe:function(l,u,d){var m=Mt(l,u,d),f=!1;return t.then(function(p){f||(m.next(p),!f&&m.complete())},function(p){f||m.error(p)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},o[be]=function(){return this},o);return this.children.set(n,c),c},e.prototype.spawnCallback=function(t,n){var o,i=this,a=!1,s=new Set,c=new Set,l,u=function(f){l=f,c.forEach(function(p){return p(f)}),!a&&i.send(q(f,{origin:n}))},d;try{d=t(u,function(f){s.add(f)})}catch(f){this.send(Be(n,f))}if(Xr(d))return this.spawnPromise(d,n);var m=(o={id:n,send:function(f){return s.forEach(function(p){return p(f)})},subscribe:function(f){var p=Mt(f);return c.add(p.next),{unsubscribe:function(){c.delete(p.next)}}},stop:function(){a=!0,F(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return l}},o[be]=function(){return this},o);return this.children.set(n,m),m},e.prototype.spawnObservable=function(t,n){var o,i=this,a,s=t.subscribe(function(l){a=l,i.send(q(l,{origin:n}))},function(l){i.removeChild(n),i.send(q(Be(n,l),{origin:n}))},function(){i.removeChild(n),i.send(q(dt(n),{origin:n}))}),c=(o={id:n,send:function(){},subscribe:function(l,u,d){return t.subscribe(l,u,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},o[be]=function(){return this},o);return this.children.set(n,c),c},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){mt||Vn(!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[be]=function(){return this},o))},e.prototype.attachDev=function(){var t=fr();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(b(b({name:this.id,autoPause:!0,stateSanitizer:function(o){return{value:o.value,context:o.context,actions:o.actions}}},n),{features:b({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}qc(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[be]=function(){return this},e.prototype.getSnapshot=function(){return this.status===Y.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=Pi,e}(),Qc=function(e){return M(e)?b(b({},zn),{name:e}):b(b(b({},zn),{name:Ac()}),e)};function rt(e,t){var n=Qc(t);return Dc(function(o){return o?o.spawn(e,n.name,n):dr(e,n.name)})}function Pi(e,t){var n=new Zc(e,t);return n}function Xc(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Tt(e){return b(b({type:Lt},e),{toJSON:function(){e.onDone,e.onError;var t=ar(e,["onDone","onError"]);return b(b({},t),{type:Lt,src:Xc(e.src)})}})}var Nt="",jn="#",Tn="*",De={},Fe=function(e){return e[0]===jn},el=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},tl=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(el(),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:oi),this.id=this.config.id||G([this.machine.key],D(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?at(this.config.states,function(u,d){var m,f=new e(u,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,b((m={},m[f.id]=f,m),f.idMap)),f}):De;var c=0;function l(u){var d,m;u.order=c++;try{for(var f=O(Ei(u)),p=f.next();!p.done;p=f.next()){var h=p.value;l(h)}}catch(v){d={error:v}}finally{try{p&&!p.done&&(m=f.return)&&m.call(f)}finally{if(d)throw d.error}}}l(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===Nt}):Nt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ae(this.config.entry||this.config.onEntry).map(function(u){return Le(u)}),this.onExit=ae(this.config.exit||this.config.onExit).map(function(u){return Le(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ae(this.config.invoke).map(function(u,d){var m,f;if(Ve(u)){var p=It(a.id,d);return a.machine.options.services=b((m={},m[p]=u,m),a.machine.options.services),Tt({src:p,id:p})}else if(M(u.src)){var p=u.id||It(a.id,d);return Tt(b(b({},u),{id:p,src:u.src}))}else if(Ve(u.src)||F(u.src)){var p=u.id||It(a.id,d);return a.machine.options.services=b((f={},f[p]=u.src,f),a.machine.options.services),Tt(b(b({id:p},u),{src:p}))}else{var h=u.src;return Tt(b(b({id:It(a.id,d)},u),{src:h}))}}),this.activities=ae(this.config.activities).concat(this.invoke).map(function(u){return on(u)}),this.transition=this.transition.bind(this),this.tags=ae(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||Ii(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,c=o.services,l=o.delays;return new e(this.config,{actions:b(b({},i),t.actions),activities:b(b({},a),t.activities),guards:b(b({},s),t.guards),services:b(b({},c),t.services),delays:b(b({},l),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:at(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===Nt,o=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===Tn});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 c=F(a)?"".concat(t.id,":delay[").concat(s,"]"):a,l=Si(c,t.id);return t.onEntry.push(Ke(l,{delay:a})),t.onExit.push(hi(l)),l},i=Ye(n)?n.map(function(a,s){var c=o(a.delay,s);return b(b({},a),{event:c})}):j(Object.keys(n).map(function(a,s){var c=n[a],l=M(c)?{target:c}:c,u=isNaN(+a)?a:+a,d=o(u,s);return ae(l).map(function(m){return b(b({},m),{event:d,delay:u})})}));return i.map(function(a){var s=a.delay;return b(b({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,o=this;if(!t)return[];var i=t instanceof ce?t.value:ut(t,this.delimiter);if(M(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),c=[this];return c.push.apply(c,G([],D(j(s.map(function(l){return o.getStateNode(l).getStateNodes(i[l])}))),!1)),c},e.prototype.handles=function(t){var n=ii(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof ce?t:ce.create(t),o=Array.from(ct([],this.getStateNodes(n.value)));return new ce(b(b({},n),{value:this.resolve(n.value),configuration:o,done:Bt(o,this),tags:to(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 c=O(Object.keys(t)),l=c.next();!l.done;l=c.next()){var u=l.value,d=t[u];if(!!d){var m=this.getStateNode(u),f=m._transition(d,n,o);f&&(s[u]=f)}}}catch(g){i={error:g}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}var p=Object.keys(s).map(function(g){return s[g]}),h=j(p.map(function(g){return g.transitions})),v=p.some(function(g){return g.transitions.length>0});if(!v)return this.next(n,o);var S=j(Object.keys(s).map(function(g){return s[g].configuration}));return{transitions:h,exitSet:j(p.map(function(g){return g.exitSet})),configuration:S,source:n,actions:j(Object.keys(s).map(function(g){return s[g].actions}))}},e.prototype._transition=function(t,n,o){return M(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,q(n))},e.prototype.next=function(t,n){var o,i,a=this,s=n.name,c=[],l=[],u;try{for(var d=O(this.getCandidates(s)),m=d.next();!m.done;m=d.next()){var f=m.value,p=f.cond,h=f.in,v=t.context,S=h?M(h)&&Fe(h)?t.matches(ut(this.getStateNodeById(h).path,this.delimiter)):lr(ut(h,this.delimiter),hc(this.path.slice(0,-2))(t.value)):!0,g=!1;try{g=!p||li(this.machine,p,v,n,t)}catch(_){throw new Error("Unable to evaluate guard '".concat(p.name||p.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
18
+ `).concat(_.message))}if(g&&S){f.target!==void 0&&(l=f.target),c.push.apply(c,G([],D(f.actions),!1)),u=f;break}}}catch(_){o={error:_}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}if(!!u){if(!l.length)return{transitions:[u],exitSet:[],configuration:t.value?[this]:[],source:t,actions:c};var w=j(l.map(function(_){return a.getRelativeStateNodes(_,t.historyValue)})),y=!!u.internal;return{transitions:[u],exitSet:y?[]:j(l.map(function(_){return a.getPotentiallyReenteringNodes(_)})),configuration:w,source:t,actions:c}}},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,c){var l,u,d,m,f=this,p=s?ct([],this.getStateNodes(s.value)):[],h=new Set;try{for(var v=O(Array.from(t).sort(function(P,x){return P.order-x.order})),S=v.next();!S.done;S=v.next()){var g=S.value;(!lt(p,g)||lt(o.exitSet,g)||g.parent&&h.has(g.parent))&&h.add(g)}}catch(P){l={error:P}}finally{try{S&&!S.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}try{for(var w=O(p),y=w.next();!y.done;y=w.next()){var g=y.value;(!lt(t,g)||lt(o.exitSet,g.parent))&&o.exitSet.push(g)}}catch(P){d={error:P}}finally{try{y&&!y.done&&(m=w.return)&&m.call(w)}finally{if(d)throw d.error}}o.exitSet.sort(function(P,x){return x.order-P.order});var _=Array.from(h).sort(function(P,x){return P.order-x.order}),C=new Set(o.exitSet),A=j(_.map(function(P){var x=[];if(P.type!=="final")return x;var R=P.parent;if(!R.parent)return x;x.push(st(P.id,P.doneData),st(R.id,P.doneData?zt(P.doneData,i,a):void 0));var H=R.parent;return H.type==="parallel"&&ht(H).every(function(re){return Bt(o.configuration,re)})&&x.push(st(H.id)),x})),E=_.map(function(P){var x=P.onEntry,R=P.activities.map(function(H){return yi(H)});return{type:"entry",actions:ve(c?G(G([],D(x),!1),D(R),!1):G(G([],D(R),!1),D(x),!1),f.machine.options.actions)}}).concat({type:"state_done",actions:A.map(function(P){return di(P)})}),I=Array.from(C).map(function(P){return{type:"exit",actions:ve(G(G([],D(P.onExit),!1),D(P.activities.map(function(x){return vi(x)})),!1),f.machine.options.actions)}}),T=I.concat({type:"transition",actions:ve(o.actions,this.machine.options.actions)}).concat(E);if(n){var k=ve(j(G([],D(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!Ln(P)});return T.concat({type:"stop",actions:k})}return T},e.prototype.transition=function(t,n,o,i){t===void 0&&(t=this.initialState);var a=q(n),s;if(t instanceof ce)s=o===void 0?t:this.resolveState(ce.from(t,o));else{var c=M(t)?this.resolve(Gt(this.getResolvedPath(t))):this.resolve(t),l=o!=null?o:this.machine.context;s=this.resolveState(ce.from(c,l))}if(this.strict&&!this.events.includes(a.name)&&!vc(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=ct([],this.getStateNodes(s.value)),m=u.configuration.length?ct(d,u.configuration):d;return u.configuration=G([],D(m),!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([],D(s),!1)),t},e.prototype.resolveTransition=function(t,n,o,i,a){var s,c,l,u,d=this;a===void 0&&(a=xe);var m=t.configuration,f=!n||t.transitions.length>0,p=f?t.configuration:n?n.configuration:[],h=Bt(p,this),v=f?Lc(this.machine,m):void 0,S=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,g=this.getActions(new Set(p),h,t,o,a,n,i),w=n?b({},n.activities):{};try{for(var y=O(g),_=y.next();!_.done;_=y.next()){var C=_.value;try{for(var A=(l=void 0,O(C.actions)),E=A.next();!E.done;E=A.next()){var I=E.value;I.type===Vt?w[I.activity.id||I.activity.type]=I:I.type===Xt&&(w[I.activity.id||I.activity.type]=!1)}}catch(X){l={error:X}}finally{try{E&&!E.done&&(u=A.return)&&u.call(A)}finally{if(l)throw l.error}}}}catch(X){s={error:X}}finally{try{_&&!_.done&&(c=y.return)&&c.call(y)}finally{if(s)throw s.error}}var T=D(gt(this,n,o,a,g,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),k=T[0],P=T[1],x=D(_c(k,Ln),2),R=x[0],H=x[1],re=k.filter(function(X){var Ce;return X.type===Vt&&((Ce=X.activity)===null||Ce===void 0?void 0:Ce.type)===Lt}),se=re.reduce(function(X,Ce){return X[Ce.activity.id]=Fc(Ce.activity,d.machine,P,a),X},n?b({},n.children):{}),K=new ce({value:v||n.value,context:P,_event:a,_sessionid:n?n._sessionid:null,historyValue:v?S?Sc(S,v):void 0:n?n.historyValue:void 0,history:!v||t.source?n:void 0,actions:v?H:[],activities:v?w:n?n.activities:{},events:[],configuration:p,transitions:t.transitions,children:se,done:h,tags:to(p),machine:this}),ie=o!==P;K.changed=a.name===nn||ie;var Se=K.history;Se&&delete Se.history;var Re=!h&&(this._transient||m.some(function(X){return X._transient}));if(!f&&(!Re||a.name===Nt))return K;var te=K;if(!h)for(Re&&(te=this.resolveRaisedTransition(te,{type:ei},a,i));R.length;){var U=R.shift();te=this.resolveRaisedTransition(te,U._event,a,i)}var Yr=te.changed||(Se?!!te.actions.length||ie||typeof Se.value!=typeof te.value||!Ni(te.value,Se.value):void 0);return te.changed=Yr,te.history=Se,te},e.prototype.getStateNode=function(t){if(Fe(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=Fe(t)?t.slice(jn.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"&&Fe(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Bn(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 at(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):De});case"compound":if(M(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?at(t,function(a,s){return a?o.getStateNode(s).resolve(a):De}):this.initialStateValue||{};default:return t||De}},e.prototype.getResolvedPath=function(t){if(Fe(t)){var n=this.machine.idMap[t.slice(jn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Bn(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=Qr(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=Ht(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;M(n.target)?t=Fe(n.target)?Gt(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(Ht(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Ft(this.initialStateValue);return j(n.map(function(o){return t.getFromRelativePath(o)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=D(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:Qr(this.states,function(n,o){if(!t)return n.historyValue();var i=M(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?j(Ft(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=yc(o.path,"states")(t).current;return M(a)?[o.getStateNode(a)]:j(Ft(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=j(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 c=O(Object.keys(a)),l=c.next();!l.done;l=c.next()){var u=l.value,d=a[u];if(d.states)try{for(var m=(o=void 0,O(d.events)),f=m.next();!f.done;f=m.next()){var p=f.value;s.add("".concat(p))}}catch(h){o={error:h}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}}}catch(h){t={error:h}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}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(!M(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(c){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
19
+ `).concat(c.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,o=Ec(t.target),i="internal"in t?t.internal:o?o.some(function(l){return M(l)&&l[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(o),c=b(b({},t),{actions:ve(ae(t.actions)),cond:ci(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return b(b({},c),{target:c.target?c.target.map(function(l){return"#".concat(l.id)}):void 0,source:"#".concat(n.id)})}});return c},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=Tn,c=a[s],l=c===void 0?[]:c,u=ar(a,[typeof s=="symbol"?s:s+""]);i=j(Object.keys(u).map(function(w){var y=Oe(w,u[w]);return y}).concat(Oe(Tn,l)))}var d=this.config.always?Oe("",this.config.always):[],m=this.config.onDone?Oe(String(st(this.id)),this.config.onDone):[],f=j(this.invoke.map(function(w){var y=[];return w.onDone&&y.push.apply(y,G([],D(Oe(String(dt(w.id)),w.onDone)),!1)),w.onError&&y.push.apply(y,G([],D(Oe(String(Be(w.id)),w.onError)),!1)),y})),p=this.after,h=j(G(G(G(G([],D(m),!1),D(f),!1),D(i),!1),D(d),!1).map(function(w){return ae(w).map(function(y){return o.formatTransition(y)})}));try{for(var v=O(p),S=v.next();!S.done;S=v.next()){var g=S.value;h.push(g)}}catch(w){t={error:w}}finally{try{S&&!S.done&&(n=v.return)&&n.call(v)}finally{if(t)throw t.error}}return h},e}(),ro=!1;function qe(e,t){return!mt&&!("predictableActionArguments"in e)&&!ro&&(ro=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new tl(e,t)}var ye=_i,an=mi,nl=Ci,Pt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function rl(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 ki=rl;function ol(){this.__data__=[],this.size=0}var il=ol;function al(e,t){return e===t||e!==e&&t!==t}var _t=al,sl=_t;function cl(e,t){for(var n=e.length;n--;)if(sl(e[n][0],t))return n;return-1}var sn=cl,ll=sn,ul=Array.prototype,dl=ul.splice;function fl(e){var t=this.__data__,n=ll(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():dl.call(t,n,1),--this.size,!0}var pl=fl,ml=sn;function gl(e){var t=this.__data__,n=ml(t,e);return n<0?void 0:t[n][1]}var hl=gl,yl=sn;function vl(e){return yl(this.__data__,e)>-1}var wl=vl,_l=sn;function Sl(e,t){var n=this.__data__,o=_l(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Cl=Sl,bl=il,Al=pl,El=hl,Il=wl,Tl=Cl;function Je(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])}}Je.prototype.clear=bl;Je.prototype.delete=Al;Je.prototype.get=El;Je.prototype.has=Il;Je.prototype.set=Tl;var cn=Je,Nl=cn;function Pl(){this.__data__=new Nl,this.size=0}var kl=Pl;function xl(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Ul=xl;function $l(e){return this.__data__.get(e)}var Rl=$l;function Ol(e){return this.__data__.has(e)}var Dl=Ol,Fl=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,xi=Fl,Ml=xi,Bl=typeof self=="object"&&self&&self.Object===Object&&self,Vl=Ml||Bl||Function("return this")(),fe=Vl,Ll=fe,Gl=Ll.Symbol,ln=Gl,oo=ln,Ui=Object.prototype,zl=Ui.hasOwnProperty,jl=Ui.toString,ot=oo?oo.toStringTag:void 0;function Wl(e){var t=zl.call(e,ot),n=e[ot];try{e[ot]=void 0;var o=!0}catch{}var i=jl.call(e);return o&&(t?e[ot]=n:delete e[ot]),i}var Hl=Wl,Yl=Object.prototype,Kl=Yl.toString;function ql(e){return Kl.call(e)}var Jl=ql,io=ln,Zl=Hl,Ql=Jl,Xl="[object Null]",eu="[object Undefined]",ao=io?io.toStringTag:void 0;function tu(e){return e==null?e===void 0?eu:Xl:ao&&ao in Object(e)?Zl(e):Ql(e)}var Ze=tu;function nu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var we=nu,ru=Ze,ou=we,iu="[object AsyncFunction]",au="[object Function]",su="[object GeneratorFunction]",cu="[object Proxy]";function lu(e){if(!ou(e))return!1;var t=ru(e);return t==au||t==su||t==iu||t==cu}var pr=lu,uu=fe,du=uu["__core-js_shared__"],fu=du,Nn=fu,so=function(){var e=/[^.]+$/.exec(Nn&&Nn.keys&&Nn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function pu(e){return!!so&&so 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 $i=yu,vu=pr,wu=mu,_u=we,Su=$i,Cu=/[\\^$.*+?()[\]{}|]/g,bu=/^\[object .+?Constructor\]$/,Au=Function.prototype,Eu=Object.prototype,Iu=Au.toString,Tu=Eu.hasOwnProperty,Nu=RegExp("^"+Iu.call(Tu).replace(Cu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pu(e){if(!_u(e)||wu(e))return!1;var t=vu(e)?Nu:bu;return t.test(Su(e))}var ku=Pu;function xu(e,t){return e==null?void 0:e[t]}var Uu=xu,$u=ku,Ru=Uu;function Ou(e,t){var n=Ru(e,t);return $u(n)?n:void 0}var Ue=Ou,Du=Ue,Fu=fe,Mu=Du(Fu,"Map"),mr=Mu,Bu=Ue,Vu=Bu(Object,"create"),un=Vu,co=un;function Lu(){this.__data__=co?co(null):{},this.size=0}var Gu=Lu;function zu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ju=zu,Wu=un,Hu="__lodash_hash_undefined__",Yu=Object.prototype,Ku=Yu.hasOwnProperty;function qu(e){var t=this.__data__;if(Wu){var n=t[e];return n===Hu?void 0:n}return Ku.call(t,e)?t[e]:void 0}var Ju=qu,Zu=un,Qu=Object.prototype,Xu=Qu.hasOwnProperty;function ed(e){var t=this.__data__;return Zu?t[e]!==void 0:Xu.call(t,e)}var td=ed,nd=un,rd="__lodash_hash_undefined__";function od(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nd&&t===void 0?rd:t,this}var id=od,ad=Gu,sd=ju,cd=Ju,ld=td,ud=id;function Qe(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])}}Qe.prototype.clear=ad;Qe.prototype.delete=sd;Qe.prototype.get=cd;Qe.prototype.has=ld;Qe.prototype.set=ud;var dd=Qe,lo=dd,fd=cn,pd=mr;function md(){this.size=0,this.__data__={hash:new lo,map:new(pd||fd),string:new lo}}var gd=md;function hd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var yd=hd,vd=yd;function wd(e,t){var n=e.__data__;return vd(t)?n[typeof t=="string"?"string":"hash"]:n.map}var dn=wd,_d=dn;function Sd(e){var t=_d(this,e).delete(e);return this.size-=t?1:0,t}var Cd=Sd,bd=dn;function Ad(e){return bd(this,e).get(e)}var Ed=Ad,Id=dn;function Td(e){return Id(this,e).has(e)}var Nd=Td,Pd=dn;function kd(e,t){var n=Pd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var xd=kd,Ud=gd,$d=Cd,Rd=Ed,Od=Nd,Dd=xd;function Xe(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])}}Xe.prototype.clear=Ud;Xe.prototype.delete=$d;Xe.prototype.get=Rd;Xe.prototype.has=Od;Xe.prototype.set=Dd;var gr=Xe,Fd=cn,Md=mr,Bd=gr,Vd=200;function Ld(e,t){var n=this.__data__;if(n instanceof Fd){var o=n.__data__;if(!Md||o.length<Vd-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Bd(o)}return n.set(e,t),this.size=n.size,this}var Gd=Ld,zd=cn,jd=kl,Wd=Ul,Hd=Rl,Yd=Dl,Kd=Gd;function et(e){var t=this.__data__=new zd(e);this.size=t.size}et.prototype.clear=jd;et.prototype.delete=Wd;et.prototype.get=Hd;et.prototype.has=Yd;et.prototype.set=Kd;var hr=et,qd="__lodash_hash_undefined__";function Jd(e){return this.__data__.set(e,qd),this}var Zd=Jd;function Qd(e){return this.__data__.has(e)}var Xd=Qd,ef=gr,tf=Zd,nf=Xd;function Yt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ef;++t<n;)this.add(e[t])}Yt.prototype.add=Yt.prototype.push=tf;Yt.prototype.has=nf;var rf=Yt;function of(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 af=of;function sf(e,t){return e.has(t)}var cf=sf,lf=rf,uf=af,df=cf,ff=1,pf=2;function mf(e,t,n,o,i,a){var s=n&ff,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var m=-1,f=!0,p=n&pf?new lf:void 0;for(a.set(e,t),a.set(t,e);++m<c;){var h=e[m],v=t[m];if(o)var S=s?o(v,h,m,t,e,a):o(h,v,m,e,t,a);if(S!==void 0){if(S)continue;f=!1;break}if(p){if(!uf(t,function(g,w){if(!df(p,w)&&(h===g||i(h,g,n,o,a)))return p.push(w)})){f=!1;break}}else if(!(h===v||i(h,v,n,o,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var Ri=mf,gf=fe,hf=gf.Uint8Array,Oi=hf;function yf(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var vf=yf;function wf(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var _f=wf,uo=ln,fo=Oi,Sf=_t,Cf=Ri,bf=vf,Af=_f,Ef=1,If=2,Tf="[object Boolean]",Nf="[object Date]",Pf="[object Error]",kf="[object Map]",xf="[object Number]",Uf="[object RegExp]",$f="[object Set]",Rf="[object String]",Of="[object Symbol]",Df="[object ArrayBuffer]",Ff="[object DataView]",po=uo?uo.prototype:void 0,Pn=po?po.valueOf:void 0;function Mf(e,t,n,o,i,a,s){switch(n){case Ff:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Df:return!(e.byteLength!=t.byteLength||!a(new fo(e),new fo(t)));case Tf:case Nf:case xf:return Sf(+e,+t);case Pf:return e.name==t.name&&e.message==t.message;case Uf:case Rf:return e==t+"";case kf:var c=bf;case $f:var l=o&Ef;if(c||(c=Af),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;o|=If,s.set(e,t);var d=Cf(c(e),c(t),o,i,a,s);return s.delete(e),d;case Of:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}var Bf=Mf;function Vf(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var Di=Vf,Lf=Array.isArray,_e=Lf,Gf=Di,zf=_e;function jf(e,t,n){var o=t(e);return zf(e)?o:Gf(o,n(e))}var Fi=jf;function Wf(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 Hf=Wf;function Yf(){return[]}var Mi=Yf,Kf=Hf,qf=Mi,Jf=Object.prototype,Zf=Jf.propertyIsEnumerable,mo=Object.getOwnPropertySymbols,Qf=mo?function(e){return e==null?[]:(e=Object(e),Kf(mo(e),function(t){return Zf.call(e,t)}))}:qf,Bi=Qf;function Xf(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var ep=Xf;function tp(e){return e!=null&&typeof e=="object"}var $e=tp,np=Ze,rp=$e,op="[object Arguments]";function ip(e){return rp(e)&&np(e)==op}var ap=ip,go=ap,sp=$e,Vi=Object.prototype,cp=Vi.hasOwnProperty,lp=Vi.propertyIsEnumerable,up=go(function(){return arguments}())?go:function(e){return sp(e)&&cp.call(e,"callee")&&!lp.call(e,"callee")},yr=up,yt={exports:{}};function dp(){return!1}var fp=dp;(function(e,t){var n=fe,o=fp,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,c=s?n.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||o;e.exports=u})(yt,yt.exports);var pp=9007199254740991,mp=/^(?:0|[1-9]\d*)$/;function gp(e,t){var n=typeof e;return t=t==null?pp:t,!!t&&(n=="number"||n!="symbol"&&mp.test(e))&&e>-1&&e%1==0&&e<t}var fn=gp,hp=9007199254740991;function yp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hp}var vr=yp,vp=Ze,wp=vr,_p=$e,Sp="[object Arguments]",Cp="[object Array]",bp="[object Boolean]",Ap="[object Date]",Ep="[object Error]",Ip="[object Function]",Tp="[object Map]",Np="[object Number]",Pp="[object Object]",kp="[object RegExp]",xp="[object Set]",Up="[object String]",$p="[object WeakMap]",Rp="[object ArrayBuffer]",Op="[object DataView]",Dp="[object Float32Array]",Fp="[object Float64Array]",Mp="[object Int8Array]",Bp="[object Int16Array]",Vp="[object Int32Array]",Lp="[object Uint8Array]",Gp="[object Uint8ClampedArray]",zp="[object Uint16Array]",jp="[object Uint32Array]",z={};z[Dp]=z[Fp]=z[Mp]=z[Bp]=z[Vp]=z[Lp]=z[Gp]=z[zp]=z[jp]=!0;z[Sp]=z[Cp]=z[Rp]=z[bp]=z[Op]=z[Ap]=z[Ep]=z[Ip]=z[Tp]=z[Np]=z[Pp]=z[kp]=z[xp]=z[Up]=z[$p]=!1;function Wp(e){return _p(e)&&wp(e.length)&&!!z[vp(e)]}var Hp=Wp;function Yp(e){return function(t){return e(t)}}var Kp=Yp,Wn={exports:{}};(function(e,t){var n=xi,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,c=function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=c})(Wn,Wn.exports);var qp=Hp,Jp=Kp,ho=Wn.exports,yo=ho&&ho.isTypedArray,Zp=yo?Jp(yo):qp,wr=Zp,Qp=ep,Xp=yr,em=_e,tm=yt.exports,nm=fn,rm=wr,om=Object.prototype,im=om.hasOwnProperty;function am(e,t){var n=em(e),o=!n&&Xp(e),i=!n&&!o&&tm(e),a=!n&&!o&&!i&&rm(e),s=n||o||i||a,c=s?Qp(e.length,String):[],l=c.length;for(var u in e)(t||im.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||nm(u,l)))&&c.push(u);return c}var Li=am,sm=Object.prototype;function cm(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||sm;return e===n}var _r=cm;function lm(e,t){return function(n){return e(t(n))}}var Gi=lm,um=Gi,dm=um(Object.keys,Object),fm=dm,pm=_r,mm=fm,gm=Object.prototype,hm=gm.hasOwnProperty;function ym(e){if(!pm(e))return mm(e);var t=[];for(var n in Object(e))hm.call(e,n)&&n!="constructor"&&t.push(n);return t}var vm=ym,wm=pr,_m=vr;function Sm(e){return e!=null&&_m(e.length)&&!wm(e)}var pn=Sm,Cm=Li,bm=vm,Am=pn;function Em(e){return Am(e)?Cm(e):bm(e)}var zi=Em,Im=Fi,Tm=Bi,Nm=zi;function Pm(e){return Im(e,Nm,Tm)}var km=Pm,vo=km,xm=1,Um=Object.prototype,$m=Um.hasOwnProperty;function Rm(e,t,n,o,i,a){var s=n&xm,c=vo(e),l=c.length,u=vo(t),d=u.length;if(l!=d&&!s)return!1;for(var m=l;m--;){var f=c[m];if(!(s?f in t:$m.call(t,f)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var v=!0;a.set(e,t),a.set(t,e);for(var S=s;++m<l;){f=c[m];var g=e[f],w=t[f];if(o)var y=s?o(w,g,f,t,e,a):o(g,w,f,e,t,a);if(!(y===void 0?g===w||i(g,w,n,o,a):y)){v=!1;break}S||(S=f=="constructor")}if(v&&!S){var _=e.constructor,C=t.constructor;_!=C&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof C=="function"&&C instanceof C)&&(v=!1)}return a.delete(e),a.delete(t),v}var Om=Rm,Dm=Ue,Fm=fe,Mm=Dm(Fm,"DataView"),Bm=Mm,Vm=Ue,Lm=fe,Gm=Vm(Lm,"Promise"),zm=Gm,jm=Ue,Wm=fe,Hm=jm(Wm,"Set"),Ym=Hm,Km=Ue,qm=fe,Jm=Km(qm,"WeakMap"),Zm=Jm,Hn=Bm,Yn=mr,Kn=zm,qn=Ym,Jn=Zm,ji=Ze,tt=$i,wo="[object Map]",Qm="[object Object]",_o="[object Promise]",So="[object Set]",Co="[object WeakMap]",bo="[object DataView]",Xm=tt(Hn),eg=tt(Yn),tg=tt(Kn),ng=tt(qn),rg=tt(Jn),ke=ji;(Hn&&ke(new Hn(new ArrayBuffer(1)))!=bo||Yn&&ke(new Yn)!=wo||Kn&&ke(Kn.resolve())!=_o||qn&&ke(new qn)!=So||Jn&&ke(new Jn)!=Co)&&(ke=function(e){var t=ji(e),n=t==Qm?e.constructor:void 0,o=n?tt(n):"";if(o)switch(o){case Xm:return bo;case eg:return wo;case tg:return _o;case ng:return So;case rg:return Co}return t});var og=ke,kn=hr,ig=Ri,ag=Bf,sg=Om,Ao=og,Eo=_e,Io=yt.exports,cg=wr,lg=1,To="[object Arguments]",No="[object Array]",kt="[object Object]",ug=Object.prototype,Po=ug.hasOwnProperty;function dg(e,t,n,o,i,a){var s=Eo(e),c=Eo(t),l=s?No:Ao(e),u=c?No:Ao(t);l=l==To?kt:l,u=u==To?kt:u;var d=l==kt,m=u==kt,f=l==u;if(f&&Io(e)){if(!Io(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new kn),s||cg(e)?ig(e,t,n,o,i,a):ag(e,t,l,n,o,i,a);if(!(n&lg)){var p=d&&Po.call(e,"__wrapped__"),h=m&&Po.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,S=h?t.value():t;return a||(a=new kn),i(v,S,n,o,a)}}return f?(a||(a=new kn),sg(e,t,n,o,i,a)):!1}var fg=dg,pg=fg,ko=$e;function Wi(e,t,n,o,i){return e===t?!0:e==null||t==null||!ko(e)&&!ko(t)?e!==e&&t!==t:pg(e,t,n,o,Wi,i)}var Hi=Wi,mg=hr,gg=Hi,hg=1,yg=2;function vg(e,t,n,o){var i=n.length,a=i,s=!o;if(e==null)return!a;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<a;){c=n[i];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===void 0&&!(l in e))return!1}else{var m=new mg;if(o)var f=o(u,d,l,e,t,m);if(!(f===void 0?gg(d,u,hg|yg,o,m):f))return!1}}return!0}var wg=vg,_g=we;function Sg(e){return e===e&&!_g(e)}var Yi=Sg,Cg=Yi,bg=zi;function Ag(e){for(var t=bg(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,Cg(i)]}return t}var Eg=Ag;function Ig(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Ki=Ig,Tg=wg,Ng=Eg,Pg=Ki;function kg(e){var t=Ng(e);return t.length==1&&t[0][2]?Pg(t[0][0],t[0][1]):function(n){return n===e||Tg(n,e,t)}}var xg=kg,Ug=Ze,$g=$e,Rg="[object Symbol]";function Og(e){return typeof e=="symbol"||$g(e)&&Ug(e)==Rg}var Sr=Og,Dg=_e,Fg=Sr,Mg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bg=/^\w*$/;function Vg(e,t){if(Dg(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Fg(e)?!0:Bg.test(e)||!Mg.test(e)||t!=null&&e in Object(t)}var Cr=Vg,qi=gr,Lg="Expected a function";function br(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Lg);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(br.Cache||qi),n}br.Cache=qi;var Gg=br,zg=Gg,jg=500;function Wg(e){var t=zg(e,function(o){return n.size===jg&&n.clear(),o}),n=t.cache;return t}var Hg=Wg,Yg=Hg,Kg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qg=/\\(\\)?/g,Jg=Yg(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Kg,function(n,o,i,a){t.push(i?a.replace(qg,"$1"):o||n)}),t}),Zg=Jg,xo=ln,Qg=ki,Xg=_e,eh=Sr,th=1/0,Uo=xo?xo.prototype:void 0,$o=Uo?Uo.toString:void 0;function Ji(e){if(typeof e=="string")return e;if(Xg(e))return Qg(e,Ji)+"";if(eh(e))return $o?$o.call(e):"";var t=e+"";return t=="0"&&1/e==-th?"-0":t}var nh=Ji,rh=nh;function oh(e){return e==null?"":rh(e)}var ih=oh,ah=_e,sh=Cr,ch=Zg,lh=ih;function uh(e,t){return ah(e)?e:sh(e,t)?[e]:ch(lh(e))}var mn=uh,dh=Sr,fh=1/0;function ph(e){if(typeof e=="string"||dh(e))return e;var t=e+"";return t=="0"&&1/e==-fh?"-0":t}var St=ph,mh=mn,gh=St;function hh(e,t){t=mh(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[gh(t[n++])];return n&&n==o?e:void 0}var Ar=hh,yh=Ar;function vh(e,t,n){var o=e==null?void 0:yh(e,t);return o===void 0?n:o}var wh=vh;function _h(e,t){return e!=null&&t in Object(e)}var Sh=_h,Ch=mn,bh=yr,Ah=_e,Eh=fn,Ih=vr,Th=St;function Nh(e,t,n){t=Ch(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=Th(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&&Ih(i)&&Eh(s,i)&&(Ah(e)||bh(e)))}var Ph=Nh,kh=Sh,xh=Ph;function Uh(e,t){return e!=null&&xh(e,t,kh)}var $h=Uh,Rh=Hi,Oh=wh,Dh=$h,Fh=Cr,Mh=Yi,Bh=Ki,Vh=St,Lh=1,Gh=2;function zh(e,t){return Fh(e)&&Mh(t)?Bh(Vh(e),t):function(n){var o=Oh(n,e);return o===void 0&&o===t?Dh(n,e):Rh(t,o,Lh|Gh)}}var jh=zh;function Wh(e){return e}var Er=Wh;function Hh(e){return function(t){return t==null?void 0:t[e]}}var Yh=Hh,Kh=Ar;function qh(e){return function(t){return Kh(t,e)}}var Jh=qh,Zh=Yh,Qh=Jh,Xh=Cr,ey=St;function ty(e){return Xh(e)?Zh(ey(e)):Qh(e)}var ny=ty,ry=xg,oy=jh,iy=Er,ay=_e,sy=ny;function cy(e){return typeof e=="function"?e:e==null?iy:typeof e=="object"?ay(e)?oy(e[0],e[1]):ry(e):sy(e)}var ly=cy,uy=Ue,dy=function(){try{var e=uy(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Zi=dy,Ro=Zi;function fy(e,t,n){t=="__proto__"&&Ro?Ro(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ir=fy,py=Ir,my=_t,gy=Object.prototype,hy=gy.hasOwnProperty;function yy(e,t,n){var o=e[t];(!(hy.call(e,t)&&my(o,n))||n===void 0&&!(t in e))&&py(e,t,n)}var Qi=yy,vy=Qi,wy=mn,_y=fn,Oo=we,Sy=St;function Cy(e,t,n,o){if(!Oo(e))return e;t=wy(t,e);for(var i=-1,a=t.length,s=a-1,c=e;c!=null&&++i<a;){var l=Sy(t[i]),u=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=s){var d=c[l];u=o?o(d,l,c):void 0,u===void 0&&(u=Oo(d)?d:_y(t[i+1])?[]:{})}vy(c,l,u),c=c[l]}return e}var by=Cy,Ay=Ar,Ey=by,Iy=mn;function Ty(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],c=Ay(e,s);n(c,s)&&Ey(a,Iy(s,e),c)}return a}var Ny=Ty,Py=Gi,ky=Py(Object.getPrototypeOf,Object),Tr=ky,xy=Di,Uy=Tr,$y=Bi,Ry=Mi,Oy=Object.getOwnPropertySymbols,Dy=Oy?function(e){for(var t=[];e;)xy(t,$y(e)),e=Uy(e);return t}:Ry,Fy=Dy;function My(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var By=My,Vy=we,Ly=_r,Gy=By,zy=Object.prototype,jy=zy.hasOwnProperty;function Wy(e){if(!Vy(e))return Gy(e);var t=Ly(e),n=[];for(var o in e)o=="constructor"&&(t||!jy.call(e,o))||n.push(o);return n}var Hy=Wy,Yy=Li,Ky=Hy,qy=pn;function Jy(e){return qy(e)?Yy(e,!0):Ky(e)}var Nr=Jy,Zy=Fi,Qy=Fy,Xy=Nr;function ev(e){return Zy(e,Xy,Qy)}var tv=ev,nv=ki,rv=ly,ov=Ny,iv=tv;function av(e,t){if(e==null)return{};var n=nv(iv(e),function(o){return[o]});return t=rv(t),ov(e,n,function(o,i){return t(o,i[0])})}var sv=av;const cv=!0,lv="",gn=(e,t)=>`${e}${t}`.replace(/[^A-Z0-9+]/gi,""),uv=(e,t)=>{switch(t){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 t.startsWith("custom:")}},dv=e=>{const{phone_number:t,...n}=sv(e,uv);if(qo(t)&&t!==lv){const{country_code:o}=e;return{...n,phone_number:gn(o,t)}}return n},fv=(e,t,n)=>{const{password:o,...i}=t,a=dv(i),s={autoSignIn:cv,userAttributes:{...n==="phone_number"?{...a,phone_number:e}:a}};return{username:e,password:o,options:s}},pv=({formValues:e,loginMechanisms:t})=>{const n=t[0];if(n==="phone_number"){const{country_code:o,phone_number:i}=e;return gn(o,i)}return e[n]},{assign:B}=bi,mv=B({actorDoneData:void 0}),gv=B({challengeName:void 0}),hv=B({missingAttributes:void 0}),yv=B({remoteError:void 0}),vv=B({formValues:{}}),wv=B({touched:{}}),_v=B({user:void 0}),Sv=B({validationError:{}}),Cv=B({totpSecretCode:(e,{data:t})=>{var o,i;const{sharedSecret:n}=(i=(o=t.nextStep)==null?void 0:o.totpSetupDetails)!=null?i:{};return n}}),bv=B({step:"SIGN_IN"}),Av=B({step:"SHOULD_CONFIRM_USER_ATTRIBUTE"}),Ev=B({step:"CONFIRM_ATTRIBUTE_COMPLETE"}),Iv=B({challengeName:(e,{data:t})=>{const{signInStep:n}=t.nextStep;return n==="CONFIRM_SIGN_IN_WITH_SMS_CODE"?"SMS_MFA":n==="CONFIRM_SIGN_IN_WITH_TOTP_CODE"?"SOFTWARE_TOKEN_MFA":void 0}}),Tv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?gn(i,o):o}}),Nv=B({username:pv}),Pv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?gn(i,o):o}}),kv=B({step:(e,{data:t})=>t.nextStep.signInStep==="DONE"?"SIGN_IN_COMPLETE":t.nextStep.signInStep}),xv=B({step:(e,{data:t})=>t.nextStep.signUpStep==="DONE"?"SIGN_UP_COMPLETE":t.nextStep.signUpStep}),Uv=B({step:(e,{data:t})=>t.nextStep.resetPasswordStep==="DONE"?"RESET_PASSWORD_COMPLETE":t.nextStep.resetPasswordStep}),$v=B({missingAttributes:(e,{data:t})=>{var n;return(n=t.nextStep)==null?void 0:n.missingAttributes}}),Rv=B({validationError:(e,{data:t})=>t}),Ov=B({remoteError:(e,{data:t})=>t.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":(t==null?void 0:t.message)||t}),Dv=B({user:(e,{data:t})=>t}),Do=e=>({Destination:e.destination,DeliveryMedium:e.deliveryMedium,AttributeName:e.attributName}),Fv=B({codeDeliveryDetails:(e,{data:t})=>{var n;return(n=t==null?void 0:t.nextStep)!=null&&n.codeDeliveryDetails?Do(t.nextStep.codeDeliveryDetails):Do(t)}}),Mv=B({formValues:(e,{data:t})=>{const{name:n,value:o}=t;return{...e.formValues,[n]:o}}}),Bv=B({formValues:(e,{data:t})=>is({...e.formValues,...t},"password")}),Vv=B({touched:(e,{data:t})=>({...e.touched,[t.name]:!0})}),Lv=B({unverifiedUserAttributes:(e,{data:t})=>{const{email:n,phone_number:o}=t;return{...n&&{email:n},...o&&{phone_number:o}}}}),Gv=B({selectedUserAttribute:void 0}),zv=B({selectedUserAttribute:e=>{var t;return(t=e.formValues)==null?void 0:t.unverifiedAttr}}),jv=B({step:"CONFIRM_SIGN_UP"}),Ct={clearActorDoneData:mv,clearChallengeName:gv,clearError:yv,clearFormValues:vv,clearMissingAttributes:hv,clearSelectedUserAttribute:Gv,clearTouched:wv,clearUser:_v,clearValidationError:Sv,handleBlur:Vv,handleInput:Mv,handleSubmit:Bv,setChallengeName:Iv,setCodeDeliveryDetails:Fv,setFieldErrors:Rv,setMissingAttributes:$v,setNextResetPasswordStep:Uv,setNextSignInStep:kv,setNextSignUpStep:xv,setRemoteError:Ov,setConfirmAttributeCompleteStep:Ev,setConfirmSignUpSignUpStep:jv,setShouldVerifyUserAttributeStep:Av,setSelectedUserAttribute:zv,setSignInStep:bv,setTotpSecretCode:Cv,setUser:Dv,setUnverifiedUserAttributes:Lv,setUsernameForgotPassword:Tv,setUsernameSignIn:Pv,setUsernameSignUp:Nv},Wv=["CONFIRM_SIGN_IN_WITH_SMS_CODE","CONFIRM_SIGN_IN_WITH_TOTP_CODE"],Hv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",Yv=(e,{data:t})=>{var n;return((n=t==null?void 0:t.nextStep)==null?void 0:n.signInStep)==="RESET_PASSWORD"},Kv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_UP",qv=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="COMPLETE_AUTO_SIGN_IN",Jv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="DONE",Zv=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="DONE",Qv=(e,{data:t})=>(t==null?void 0:t.nextStep.resetPasswordStep)==="DONE",Xv=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_COMPLETE",ew=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_WITH_CODE",tw=(e,{data:t})=>(t==null?void 0:t.step)==="SHOULD_CONFIRM_USER_ATTRIBUTE",nw=(e,{data:t})=>(t==null?void 0:t.step)==="RESET_PASSWORD",rw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_SIGN_UP",ow=({step:e})=>Wv.includes(e),iw=({step:e})=>e==="CONTINUE_SIGN_IN_WITH_TOTP_SETUP",aw=({step:e})=>e==="RESET_PASSWORD",sw=({step:e})=>e==="CONFIRM_RESET_PASSWORD_WITH_CODE",cw=({step:e})=>e==="CONFIRM_SIGN_UP",lw=(e,{data:t})=>{const{phone_number_verified:n,email_verified:o}=t;return(o===void 0||o==="false")&&(n===void 0||n==="false")},uw=(e,{data:t})=>t.message==="User is already confirmed.",hn={hasCompletedAttributeConfirmation:Xv,hasCompletedResetPassword:Qv,hasCompletedSignIn:Jv,hasCompletedSignUp:Zv,isConfirmSignUpStep:rw,isConfirmUserAttributeStep:ew,isResetPasswordStep:nw,isShouldConfirmUserAttributeStep:tw,isUserAlreadyConfirmed:uw,shouldAutoSignIn:qv,shouldConfirmResetPassword:sw,shouldConfirmSignIn:ow,shouldConfirmSignInWithNewPassword:Hv,shouldConfirmSignUp:cw,shouldConfirmSignUpFromSignIn:Kv,shouldResetPassword:aw,shouldResetPasswordFromSignIn:Yv,shouldSetupTotp:iw,shouldVerifyAttribute:lw};var dw=Ir,fw=_t;function pw(e,t,n){(n!==void 0&&!fw(e[t],n)||n===void 0&&!(t in e))&&dw(e,t,n)}var Xi=pw;function mw(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),c=s.length;c--;){var l=s[e?c:++i];if(n(a[l],l,a)===!1)break}return t}}var gw=mw,hw=gw,yw=hw(),vw=yw,Zn={exports:{}};(function(e,t){var n=fe,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,c=s?s.allocUnsafe:void 0;function l(u,d){if(d)return u.slice();var m=u.length,f=c?c(m):new u.constructor(m);return u.copy(f),f}e.exports=l})(Zn,Zn.exports);var Fo=Oi;function ww(e){var t=new e.constructor(e.byteLength);return new Fo(t).set(new Fo(e)),t}var _w=ww,Sw=_w;function Cw(e,t){var n=t?Sw(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var bw=Cw;function Aw(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Ew=Aw,Iw=we,Mo=Object.create,Tw=function(){function e(){}return function(t){if(!Iw(t))return{};if(Mo)return Mo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Nw=Tw,Pw=Nw,kw=Tr,xw=_r;function Uw(e){return typeof e.constructor=="function"&&!xw(e)?Pw(kw(e)):{}}var $w=Uw,Rw=pn,Ow=$e;function Dw(e){return Ow(e)&&Rw(e)}var Fw=Dw,Mw=Ze,Bw=Tr,Vw=$e,Lw="[object Object]",Gw=Function.prototype,zw=Object.prototype,ea=Gw.toString,jw=zw.hasOwnProperty,Ww=ea.call(Object);function Hw(e){if(!Vw(e)||Mw(e)!=Lw)return!1;var t=Bw(e);if(t===null)return!0;var n=jw.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ea.call(n)==Ww}var Yw=Hw;function Kw(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ta=Kw,qw=Qi,Jw=Ir;function Zw(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],l=o?o(n[c],e[c],c,n,e):void 0;l===void 0&&(l=e[c]),i?Jw(n,c,l):qw(n,c,l)}return n}var Qw=Zw,Xw=Qw,e_=Nr;function t_(e){return Xw(e,e_(e))}var n_=t_,Bo=Xi,r_=Zn.exports,o_=bw,i_=Ew,a_=$w,Vo=yr,Lo=_e,s_=Fw,c_=yt.exports,l_=pr,u_=we,d_=Yw,f_=wr,Go=ta,p_=n_;function m_(e,t,n,o,i,a,s){var c=Go(e,n),l=Go(t,n),u=s.get(l);if(u){Bo(e,n,u);return}var d=a?a(c,l,n+"",e,t,s):void 0,m=d===void 0;if(m){var f=Lo(l),p=!f&&c_(l),h=!f&&!p&&f_(l);d=l,f||p||h?Lo(c)?d=c:s_(c)?d=i_(c):p?(m=!1,d=r_(l,!0)):h?(m=!1,d=o_(l,!0)):d=[]:d_(l)||Vo(l)?(d=c,Vo(c)?d=p_(c):(!u_(c)||l_(c))&&(d=a_(l))):m=!1}m&&(s.set(l,d),i(d,l,o,a,s),s.delete(l)),Bo(e,n,d)}var g_=m_,h_=hr,y_=Xi,v_=vw,w_=g_,__=we,S_=Nr,C_=ta;function na(e,t,n,o,i){e!==t&&v_(t,function(a,s){if(i||(i=new h_),__(a))w_(e,t,s,n,na,o,i);else{var c=o?o(C_(e,s),a,s+"",e,t,i):void 0;c===void 0&&(c=a),y_(e,s,c)}},S_)}var b_=na;function A_(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 E_=A_,I_=E_,zo=Math.max;function T_(e,t,n){return t=zo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=zo(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),I_(e,this,c)}}var N_=T_;function P_(e){return function(){return e}}var k_=P_,x_=k_,jo=Zi,U_=Er,$_=jo?function(e,t){return jo(e,"toString",{configurable:!0,enumerable:!1,value:x_(t),writable:!0})}:U_,R_=$_,O_=800,D_=16,F_=Date.now;function M_(e){var t=0,n=0;return function(){var o=F_(),i=D_-(o-n);if(n=o,i>0){if(++t>=O_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var B_=M_,V_=R_,L_=B_,G_=L_(V_),z_=G_,j_=Er,W_=N_,H_=z_;function Y_(e,t){return H_(W_(e,t,j_),e+"")}var K_=Y_,q_=_t,J_=pn,Z_=fn,Q_=we;function X_(e,t,n){if(!Q_(n))return!1;var o=typeof t;return(o=="number"?J_(n)&&Z_(t,n.length):o=="string"&&t in n)?q_(n[t],e):!1}var eS=X_,tS=K_,nS=eS;function rS(e){return tS(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&&nS(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var c=n[o];c&&e(t,c,o,a)}return t})}var oS=rS,iS=b_,aS=oS,sS=aS(function(e,t,n){iS(e,t,n)}),cS=sS;const yn=async(e,t,n,o)=>{const i=await Promise.all(o.map(s=>s(e,t,n))),a=cS({},...i);return Jo(a)?Promise.resolve():Promise.reject(a)},lS=8,uS=e=>Array.isArray(e),dS=e=>{if(!!e)return uS(e)?Object.entries(e).map(([t,n])=>Object.keys(n)[0]):Object.keys(e)},Te={async getAmplifyConfig(){var c,l,u,d,m;const e=ka.Amplify.getConfig(),t=(c=e.Auth)==null?void 0:c.Cognito,{loginWith:n,userAttributes:o}=(u=(l=e.Auth)==null?void 0:l.Cognito)!=null?u:{},i=n?Object.entries(n).filter(([f,p])=>f!=="oauth").filter(([f,p])=>!!p).map(f=>f[0]==="phone"?"phone_number":f[0]):void 0,a=dS(o),s=(d=n==null?void 0:n.oauth)!=null&&d.providers?(m=n.oauth.providers)==null?void 0:m.map(f=>f.toString().toLowerCase()):void 0;return{...t,loginMechanisms:i,signUpAttributes:a,socialProviders:s}},getCurrentUser:W.getCurrentUser,handleSignIn:W.signIn,handleSignUp:W.signUp,handleConfirmSignIn:W.confirmSignIn,handleConfirmSignUp:W.confirmSignUp,handleForgotPasswordSubmit:W.confirmResetPassword,handleForgotPassword:W.resetPassword,async validateCustomSignUp(e,t){},async validateFormPassword(e,t,n){var c;const{password:o}=e,{password:i}=t;if(!i||!n)return null;const a=[],s=(c=n.minLength)!=null?c:lS;return o.length<s&&a.push(`Password must have at least ${s} characters`),n.requireLowercase&&!/[a-z]/.test(o)&&a.push("Password must have lower case letters"),n.requireUppercase&&!/[A-Z]/.test(o)&&a.push("Password must have upper case letters"),n.requireNumbers&&!/[0-9]/.test(o)&&a.push("Password must have numbers"),n.requireSpecialCharacters&&!rs(o)&&a.push("Password must have special characters"),a.length!==0?{password:a}:null},async validateConfirmPassword(e,t){const{password:n,confirm_password:o}=e,{confirm_password:i,password:a}=t;if(!n&&!o)return null;if((n||o)&&n!==o&&(i&&a||(n==null?void 0:n.length)>=6&&(o==null?void 0:o.length)>=6))return{confirm_password:"Your passwords must match"}},async validatePreferredUsername(e,t){}};function fS({services:e}){return qe({id:"forgotPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{cond:"shouldResetPassword",target:"confirmResetPassword"},{cond:"shouldConfirmResetPassword",target:"confirmResetPassword"},{target:"forgotPassword"}]},forgotPassword:{initial:"edit",entry:"sendUpdate",exit:["clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:"pending",entry:["sendUpdate","clearError","setUsernameForgotPassword"],invoke:{src:"handleResetPassword",onDone:{actions:["setCodeDeliveryDetails","setNextResetPasswordStep"],target:"#forgotPasswordActor.confirmResetPassword"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmResetPassword:{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:{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:"handleResetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"handleConfirmResetPassword",onDone:[{cond:"hasCompletedResetPassword",actions:"setNextResetPasswordStep",target:"#forgotPasswordActor.resolved"},{actions:"setSignInStep",target:"#forgotPasswordActor.resolved"}],onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final",data:({step:t})=>({step:t})}}},{actions:{...Ct,sendUpdate:an()},guards:hn,services:{handleResetPassword({username:t}){return e.handleForgotPassword({username:t})},handleConfirmResetPassword({formValues:t,username:n}){const{confirmation_code:o,password:i}=t;return e.handleForgotPasswordSubmit({confirmationCode:o,newPassword:i,username:n})},validateFields(t){return yn(t.formValues,t.touched,t.passwordSettings,[Te.validateFormPassword,Te.validateConfirmPassword])}}})}const ra=e=>({entry:["sendUpdate","clearError"],invoke:{src:"signInWithRedirect",onDone:{target:e},onError:{actions:"setRemoteError",target:e}}}),xt={onDone:[{cond:"hasCompletedSignIn",actions:"setNextSignInStep",target:"#signInActor.fetchUserAttributes"},{cond:"shouldConfirmSignInWithNewPassword",actions:["setMissingAttributes","setNextSignInStep"],target:"#signInActor.forceChangePassword"},{cond:"shouldResetPasswordFromSignIn",actions:"setNextSignInStep",target:"#signInActor.resetPassword"},{cond:"shouldConfirmSignUpFromSignIn",actions:"setNextSignInStep",target:"#signInActor.resendSignUpCode"},{actions:["setChallengeName","setMissingAttributes","setNextSignInStep","setTotpSecretCode"],target:"#signInActor.init"}],onError:{actions:"setRemoteError",target:"edit"}},pS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signInActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}};function mS({services:e}){return qe({id:"signInActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{cond:"shouldConfirmSignIn",target:"confirmSignIn"},{cond:"shouldSetupTotp",target:"setupTotp"},{cond:({step:t})=>t==="CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",actions:"setActorDoneData",target:"forceChangePassword"},{target:"signIn"}]},federatedSignIn:ra("signIn"),fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...pS}},resendSignUpCode:{invoke:{src:"handleResendSignUpCode",onDone:{actions:"setCodeDeliveryDetails",target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resetPassword:{invoke:{src:"resetPassword",onDone:[{actions:"setCodeDeliveryDetails",target:"#signInActor.resolved"}],onError:{actions:["setRemoteError","sendUpdate"]}}},signIn:{initial:"edit",exit:"clearTouched",states:{edit:{entry:"sendUpdate",on:{CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:{target:"#signInActor.federatedSignIn"},SUBMIT:{actions:"handleSubmit",target:"submit"}}},submit:{tags:"pending",entry:["clearError","sendUpdate","setUsernameSignIn"],exit:"clearFormValues",invoke:{src:"handleSignIn",...xt}}}},confirmSignIn:{initial:"edit",exit:["clearChallengeName","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",...xt}}}},forceChangePassword:{entry:"sendUpdate",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:{actions:"setSignInStep",target:"#signInActor.resolved"},CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"edit",entry:"clearError",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{actions:"clearValidationError",target:"pending"},onError:{actions:"setFieldErrors",target:"edit"}}},pending:{tags:"pending",entry:["sendUpdate","clearError"],invoke:{src:"handleForceChangePassword",...xt}}}}}},setupTotp:{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:["sendUpdate","clearError"],invoke:{src:"confirmSignIn",...xt}}}},resolved:{type:"final",data:t=>({codeDeliveryDetails:t.codeDeliveryDetails,remoteError:t.remoteError,step:t.step,unverifiedUserAttributes:t.unverifiedUserAttributes,username:t.username})}}},{actions:{...Ct,sendUpdate:an()},guards:hn,services:{async fetchUserAttributes(){return W.fetchUserAttributes()},resetPassword({username:t}){return W.resetPassword({username:t})},handleResendSignUpCode({username:t}){return W.resendSignUpCode({username:t})},handleSignIn({formValues:t,username:n}){const{password:o}=t;return e.handleSignIn({username:n,password:o})},confirmSignIn({formValues:t}){const{confirmation_code:n}=t;return e.handleConfirmSignIn({challengeResponse:n})},async handleForceChangePassword({formValues:t}){let{password:n,phone_number:o,country_code:i,confirm_password:a,...s}=t,c;o&&(c=`${i}${o}`.replace(/[^A-Z0-9+]/gi,""),s={...s,phone_number:c});const l={challengeResponse:n,options:{userAttributes:s}};return W.confirmSignIn(l)},signInWithRedirect(t,{data:n}){return W.signInWithRedirect(n)},async validateFields(t){return yn(t.formValues,t.touched,t.passwordSettings,[Te.validateFormPassword,Te.validateConfirmPassword])}}})}const gS={onDone:[{actions:"setCodeDeliveryDetails",target:"#signUpActor.resolved"}],onError:{actions:["setRemoteError","sendUpdate"]}},hS={onDone:[{cond:"hasCompletedSignIn",actions:"setNextSignInStep",target:"#signUpActor.fetchUserAttributes"},{cond:"shouldConfirmSignInWithNewPassword",actions:"setNextSignInStep",target:"#signUpActor.resolved"},{cond:"shouldResetPasswordFromSignIn",actions:"setNextSignInStep",target:"#signUpActor.resetPassword"},{cond:"shouldConfirmSignUpFromSignIn",actions:"setNextSignInStep",target:"#signUpActor.resendSignUpCode"},{actions:["setNextSignInStep","setChallengeName","setMissingAttributes","setTotpSecretCode"],target:"#signUpActor.resolved"}],onError:{actions:"setRemoteError",target:"#signUpActor.resolved"}},yS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signUpActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}};function vS({services:e}){return qe({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{cond:"shouldConfirmSignUp",target:"confirmSignUp"},{target:"signUp"}]},autoSignIn:{tags:"pending",invoke:{src:"autoSignIn",...hS}},fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...yS}},federatedSignIn:ra("signUp"),resetPassword:{invoke:{src:"resetPassword",...gS}},resendSignUpCode:{tags:"pending",entry:"sendUpdate",exit:"sendUpdate",invoke:{src:"resendSignUpCode",onDone:{actions:["setCodeDeliveryDetails","sendUpdate"],target:"#signUpActor.confirmSignUp"},onError:[{cond:"isUserAlreadyConfirmed",target:"#signUpActor.resolved"},{actions:["setRemoteError","sendUpdate"]}]}},signUp:{type:"parallel",exit:"clearTouched",on:{FEDERATED_SIGN_IN:{target:"federatedSignIn"}},states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{actions:"clearValidationError",target:"valid"},onError:{actions:"setFieldErrors",target:"invalid"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{BLUR:{actions:"handleBlur",target:".pending"},CHANGE:{actions:"handleInput",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:["sendUpdate"],on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"handleSignUp",actions:"clearValidationError"},onError:{actions:"setFieldErrors",target:"idle"}}},handleSignUp:{tags:"pending",entry:["setUsernameSignUp","clearError"],exit:"sendUpdate",invoke:{src:"handleSignUp",onDone:[{cond:"hasCompletedSignUp",actions:"setNextSignUpStep",target:"#signUpActor.resolved"},{cond:"shouldAutoSignIn",actions:"setNextSignUpStep",target:"#signUpActor.autoSignIn"},{actions:["setCodeDeliveryDetails","setNextSignUpStep"],target:"#signUpActor.init"}],onError:{actions:["sendUpdate","setRemoteError"],target:"idle"}}}}}}},confirmSignUp:{initial:"edit",entry:"sendUpdate",states:{edit:{on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"#signUpActor.resendSignUpCode"}},submit:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"confirmSignUp",onDone:[{cond:"shouldAutoSignIn",actions:["setNextSignUpStep","clearFormValues"],target:"#signUpActor.autoSignIn"},{actions:"setNextSignUpStep",target:"#signUpActor.init"}],onError:{actions:["setRemoteError","sendUpdate"],target:"edit"}}}}},resolved:{type:"final",data:t=>({challengeName:t.challengeName,missingAttributes:t.missingAttributes,remoteError:t.remoteError,step:t.step,totpSecretCode:t.totpSecretCode,username:t.username,unverifiedUserAttributes:t.unverifiedUserAttributes})}}},{actions:{...Ct,sendUpdate:an()},guards:hn,services:{autoSignIn(){return W.autoSignIn()},async fetchUserAttributes(){return W.fetchUserAttributes()},confirmSignUp({formValues:t,username:n}){const{confirmation_code:o}=t,i={username:n,confirmationCode:o};return e.handleConfirmSignUp(i)},resendSignUpCode({username:t}){return W.resendSignUpCode({username:t})},signInWithRedirect(t,{data:n}){return W.signInWithRedirect(n)},handleSignUp(t){const{formValues:n,loginMechanisms:o,username:i}=t,a=o[0],s=fv(i,n,a);return e.handleSignUp(s)},async validateSignUp(t){return yn(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])}}})}const wS=()=>qe({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.signOut()}});function _S(){return qe({id:"verifyUserAttributesActor",initial:"selectUserAttributes",predictableActionArguments:!0,states:{selectUserAttributes:{initial:"edit",exit:["clearError","clearTouched","sendUpdate"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:{target:"#verifyUserAttributesActor.resolved"},CHANGE:{actions:"handleInput"}}},submit:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"sendUserAttributeVerificationCode",onDone:{actions:["setSelectedUserAttribute","setCodeDeliveryDetails"],target:"#verifyUserAttributesActor.confirmVerifyUserAttribute"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUserAttribute:{initial:"edit",exit:["clearError","clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#verifyUserAttributesActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:"pending",entry:["clearError","sendUpdate"],invoke:{src:"confirmVerifyUserAttribute",onDone:{actions:["setConfirmAttributeCompleteStep","clearSelectedUserAttribute"],target:"#verifyUserAttributesActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:({step:e})=>({step:e})}}},{actions:{...Ct,sendUpdate:an()},services:{sendUserAttributeVerificationCode({formValues:{unverifiedAttr:e}}){const t={userAttributeKey:e};return W.sendUserAttributeVerificationCode(t)},async confirmVerifyUserAttribute({formValues:{confirmation_code:e},selectedUserAttribute:t}){const n={confirmationCode:e,userAttributeKey:t};return W.confirmUserAttribute(n)},async validateFields(e){return yn(e.formValues,e.touched,e.passwordSettings,[Te.validateFormPassword,Te.validateConfirmPassword])}}})}const Ut=(e,t)=>{var n,o,i,a,s,c,l;return{...e.actorDoneData,step:(o=(n=e==null?void 0:e.actorDoneData)==null?void 0:n.step)!=null?o:t,formValues:{},touched:{},validationError:{},formFields:(i=e.config)==null?void 0:i.formFields,loginMechanisms:(a=e.config)==null?void 0:a.loginMechanisms,passwordSettings:(s=e.config)==null?void 0:s.passwordSettings,signUpAttributes:(c=e.config)==null?void 0:c.signUpAttributes,socialProviders:(l=e.config)==null?void 0:l.socialProviders}},{choose:SS,stop:CS}=bi,it=e=>CS(e),bS={on:{INIT:{actions:["configure"],target:"getConfig"},SIGN_OUT:"#authenticator.signOut"}},AS={always:{actions:["configure"],target:"getConfig"}};function ES(e){const{useNextWaitConfig:t,...n}=e!=null?e:{};return qe({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Te,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"handleGetCurrentUser",onDone:{actions:"setUser",target:"setup"},onError:{target:"setup"}}},setup:{initial:"initConfig",states:{initConfig:t?AS:bS,getConfig:{invoke:{src:"getAmplifyConfig",onDone:[{actions:["applyAmplifyConfig","setHasSetup"],cond:"hasUser",target:"#authenticator.authenticated"},{actions:["applyAmplifyConfig","setHasSetup"],target:"goToInitialState"}]}},goToInitialState:{always:[{cond:"isInitialStateSignUp",target:"#authenticator.signUpActor"},{cond:"isInitialStateResetPassword",target:"#authenticator.forgotPasswordActor"},{target:"#authenticator.signInActor"}]}}},getCurrentUser:{invoke:{src:"handleGetCurrentUser",onDone:{actions:"setUser",target:"#authenticator.authenticated"},onError:{target:"#authenticator.setup"}}},signInActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("signInActor")}},on:{FORGOT_PASSWORD:"forgotPasswordActor",SIGN_IN:"signInActor",SIGN_UP:"signUpActor","done.invoke.signInActor":[{cond:"hasCompletedAttributeConfirmation",target:"#authenticator.getCurrentUser"},{cond:"isShouldConfirmUserAttributeStep",actions:"setActorDoneData",target:"#authenticator.verifyUserAttributesActor"},{cond:"isResetPasswordStep",actions:"setActorDoneData",target:"#authenticator.forgotPasswordActor"},{cond:"isConfirmSignUpStep",actions:"setActorDoneData",target:"#authenticator.signUpActor"}]}},signUpActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("signUpActor")}},on:{SIGN_IN:"signInActor","done.invoke.signUpActor":[{cond:"hasCompletedAttributeConfirmation",target:"#authenticator.getCurrentUser"},{cond:"isConfirmUserAttributeStep",target:"#authenticator.verifyUserAttributesActor"},{actions:"setActorDoneData",target:"#authenticator.signInActor"}]}},forgotPasswordActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnForgotPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("forgotPasswordActor")}},on:{SIGN_IN:"signInActor","done.invoke.forgotPasswordActor":[{target:"#authenticator.signInActor"}]}},verifyUserAttributesActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnVerifyUserAttributesActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("verifyUserAttributesActor")}},on:{"done.invoke.verifyUserAttributesActor":[{actions:"setActorDoneData",target:"#authenticator.getCurrentUser"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"#authenticator.getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:it("signOutActor")}},on:{"done.invoke.signOutActor":{actions:"clearUser",target:"setup.getConfig"}}}},on:{SIGN_IN_WITH_REDIRECT:{target:"#authenticator.getCurrentUser"},CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{...Ct,forwardToActor:SS([{cond:"hasActor",actions:nl(({actorRef:i})=>i)}]),setActorDoneData:ye({actorDoneData:(i,a)=>({codeDeliveryDetails:a.data.codeDeliveryDetails,missingAttributes:a.data.missingAttributes,remoteError:a.data.remoteError,username:a.data.username,step:a.data.step,totpSecretCode:a.data.totpSecretCode,unverifiedUserAttributes:a.data.unverifiedUserAttributes})}),applyAmplifyConfig:ye({config(i,{data:a}){var p,h,v,S,g;const{loginMechanisms:s=(p=a.loginMechanisms)!=null?p:[],signUpAttributes:c=(h=a.signUpAttributes)!=null?h:[],socialProviders:l=(v=a.socialProviders)!=null?v:[],initialState:u,formFields:d,passwordSettings:m=(S=a.passwordFormat)!=null?S:{}}=i.config;return s.length===0&&s.push("username"),{formFields:(g=IS(d))!=null?g:{},initialState:u,loginMechanisms:s,passwordSettings:m,signUpAttributes:c,socialProviders:l}}}),spawnSignInActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=mS({services:s}).withContext(Ut(i,"SIGN_IN"));return rt(c,{name:"signInActor"})}}),spawnSignUpActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=vS({services:s}).withContext(Ut(i,"SIGN_UP"));return rt(c,{name:"signUpActor"})}}),spawnForgotPasswordActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=fS({services:s}).withContext(Ut(i,"FORGOT_PASSWORD"));return rt(c,{name:"forgotPasswordActor"})}}),spawnVerifyUserAttributesActor:ye({actorRef:i=>{const a=_S().withContext(Ut(i));return rt(a,{name:"verifyUserAttributesActor"})}}),spawnSignOutActor:ye({actorRef:i=>{const a=wS().withContext({user:i==null?void 0:i.user});return rt(a,{name:"signOutActor"})}}),configure:ye((i,a)=>{var l;const{services:s,...c}=Ga(n)?(l=a.data)!=null?l:{}:n;return{services:{...Te,...s},config:c}}),setHasSetup:ye({hasSetup:!0})},guards:{...hn,hasActor:({actorRef:i})=>!!i,isInitialStateSignUp:({config:i})=>i.initialState==="signUp",isInitialStateResetPassword:({config:i})=>i.initialState==="forgotPassword",shouldSetup:({hasSetup:i})=>!i,hasUser:({user:i})=>!!i},services:{getAmplifyConfig:({services:i})=>i.getAmplifyConfig(),handleGetCurrentUser:({services:i})=>i.getCurrentUser()}})}function IS(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 J={Accordion:"amplify-accordion",AccordionItem:"amplify-accordion__item",AccordionItemTrigger:"amplify-accordion__item__trigger",AccordionItemContent:"amplify-accordion__item__content",AccordionItemIcon:"amplify-accordion__item__icon",Alert:"amplify-alert",AlertIcon:"amplify-alert__icon",AlertHeading:"amplify-alert__heading",AlertBody:"amplify-alert__body",AlertDismiss:"amplify-alert__dismiss",Autocomplete:"amplify-autocomplete",AutocompleteMenu:"amplify-autocomplete__menu",AutocompleteMenuEmpty:"amplify-autocomplete__menu--empty",AutocompleteMenuFooter:"amplify-autocomplete__menu__footer",AutocompleteMenuHeader:"amplify-autocomplete__menu__header",AutocompleteMenuLoading:"amplify-autocomplete__menu--loading",AutocompleteMenuOption:"amplify-autocomplete__menu__option",AutocompleteMenuOptions:"amplify-autocomplete__menu__options",Badge:"amplify-badge",Breadcrumbs:"amplify-breadcrumbs",BreadcrumbsList:"amplify-breadcrumbs__list",BreadcrumbsItem:"amplify-breadcrumbs__item",BreadcrumbsSeparator:"amplify-breadcrumbs__separator",BreadcrumbsLink:"amplify-breadcrumbs__link",Button:"amplify-button",ButtonGroup:"amplify-buttongroup",ButtonLoaderWrapper:"amplify-button__loader-wrapper",Card:"amplify-card",Checkbox:"amplify-checkbox",CheckboxButton:"amplify-checkbox__button",CheckboxIcon:"amplify-checkbox__icon",CheckboxInput:"amplify-checkbox__input",CheckboxLabel:"amplify-checkbox__label",CheckboxField:"amplify-checkboxfield",Collection:"amplify-collection",CollectionItems:"amplify-collection-items",CollectionSearch:"amplify-collection-search",CollectionPagination:"amplify-collection-pagination",CountryCodeSelect:"amplify-countrycodeselect",DialCodeSelect:"amplify-dialcodeselect",Divider:"amplify-divider",DividerLabel:"amplify-divider--label",DropZone:"amplify-dropzone",Field:"amplify-field",FieldDescription:"amplify-field__description",FieldErrorMessage:"amplify-field__error-message",FieldGroup:"amplify-field-group",FieldGroupControl:"amplify-field-group__control",FieldGroupOuterEnd:"amplify-field-group__outer-end",FieldGroupOuterStart:"amplify-field-group__outer-start",FieldGroupInnerEnd:"amplify-field-group__inner-end",FieldGroupInnerStart:"amplify-field-group__inner-start",FieldGroupIcon:"amplify-field-group__icon",FieldGroupIconButton:"amplify-field-group__icon-button",FieldGroupHasInnerEnd:"amplify-field-group--has-inner-end",FieldGroupHasInnerStart:"amplify-field-group--has-inner-start",FieldShowPassword:"amplify-field__show-password",FieldGroupFieldWrapper:"amplify-field-group__field-wrapper",Fieldset:"amplify-fieldset",FieldsetLegend:"amplify-fieldset__legend",Flex:"amplify-flex",Grid:"amplify-grid",Heading:"amplify-heading",HighlightMatch:"amplify-highlightmatch",HighlightMatchHighlighted:"amplify-highlightmatch__highlighted",Icon:"amplify-icon",Image:"amplify-image",Input:"amplify-input",Label:"amplify-label",Link:"amplify-link",Loader:"amplify-loader",LoaderLabel:"amplify-loader__label",MenuContent:"amplify-menu__content",MenuItem:"amplify-menu__content__item",MenuTrigger:"amplify-menu__trigger",MenuWrapper:"amplify-menu__wrapper",Message:"amplify-message",MessageIcon:"amplify-message__icon",MessageHeading:"amplify-message__heading",MessageBody:"amplify-message__body",MessageContent:"amplify-message__content",MessageDismiss:"amplify-message__dismiss",Pagination:"amplify-pagination",PaginationItem:"amplify-pagination__item",PasswordField:"amplify-passwordfield",PhoneNumberField:"amplify-phonenumberfield",Placeholder:"amplify-placeholder",Radio:"amplify-radio",RadioButton:"amplify-radio__button",RadioInput:"amplify-radio__input",RadioLabel:"amplify-radio__label",RadioGroupField:"amplify-radiogroupfield",RadioGroup:"amplify-radiogroup",Rating:"amplify-rating",RatingItem:"amplify-rating__item",RatingIcon:"amplify-rating__icon",RatingLabel:"amplify-rating__label",ScrollView:"amplify-scrollview",SearchField:"amplify-searchfield",SearchFieldClear:"amplify-searchfield__clear",SearchFieldSearch:"amplify-searchfield__search",Select:"amplify-select",SelectField:"amplify-selectfield",SelectWrapper:"amplify-select__wrapper",SelectIcon:"amplify-select__icon",SliderField:"amplify-sliderfield",SliderFieldGroup:"amplify-sliderfield__group",SliderFieldLabel:"amplify-sliderfield__label",SliderFieldRange:"amplify-sliderfield__range",SliderFieldRoot:"amplify-sliderfield__root",SliderFieldThumb:"amplify-sliderfield__thumb",SliderFieldTrack:"amplify-sliderfield__track",StepperField:"amplify-stepperfield",StepperFieldButtonDecrease:"amplify-stepperfield__button--decrease",StepperFieldButtonIncrease:"amplify-stepperfield__button--increase",StepperFieldInput:"amplify-stepperfield__input",StorageImage:"amplify-storageimage",StorageManager:"amplify-storagemanager",StorageManagerDropZone:"amplify-storagemanager__dropzone",StorageManagerDropZoneIcon:"amplify-storagemanager__dropzone__icon",StorageManagerDropZoneText:"amplify-storagemanager__dropzone__text",StorageManagerFilePicker:"amplify-storagemanager__file__picker",StorageManagerFile:"amplify-storagemanager__file",StorageManagerFileWrapper:"amplify-storagemanager__file__wrapper",StorageManagerFileList:"amplify-storagemanager__file__list",StorageManagerFileName:"amplify-storagemanager__file__name",StorageManagerFileSize:"amplify-storagemanager__file__size",StorageManagerFileInfo:"amplify-storagemanager__file__info",StorageManagerFileImage:"amplify-storagemanager__file__image",StorageManagerFileMain:"amplify-storagemanager__file__main",StorageManagerFileStatus:"amplify-storagemanager__file__status",StorageManagerLoader:"amplify-storagemanager__loader",StorageManagerPreviewer:"amplify-storagemanager__previewer",StorageManagerPreviewerText:"amplify-storagemanager__previewer__text",StorageManagerPreviewerActions:"amplify-storagemanager__previewer__actions",StorageManagerPreviewerFooter:"amplify-storagemanager__previewer__footer",SwitchField:"amplify-switchfield",SwitchLabel:"amplify-switch__label",SwitchThumb:"amplify-switch__thumb",SwitchTrack:"amplify-switch__track",SwitchWrapper:"amplify-switch__wrapper",Table:"amplify-table",TableCaption:"amplify-table__caption",TableBody:"amplify-table__body",TableTd:"amplify-table__td",TableTh:"amplify-table__th",TableFoot:"amplify-table__foot",TableHead:"amplify-table__head",TableRow:"amplify-table__row",Tabs:"amplify-tabs",TabsList:"amplify-tabs__list",TabsItem:"amplify-tabs__item",TabsPanel:"amplify-tabs__panel",Text:"amplify-text",Textarea:"amplify-textarea",TextAreaField:"amplify-textareafield",TextField:"amplify-textfield",ToggleButton:"amplify-togglebutton",ToggleButtonGroup:"amplify-togglebuttongroup",VisuallyHidden:"amplify-visually-hidden"},TS=({componentName:e,packageName:t,version:n})=>{const o=[`ui-${t}`,n];switch(e){case"Authenticator":{L.setCustomUserAgent({...Oa,additionalDetails:[[e],o]});break}case"ChangePassword":case"DeleteUser":{L.setCustomUserAgent({...Ra,additionalDetails:[["AccountSettings"],o]});break}case"InAppMessaging":{L.setCustomUserAgent({...Da,additionalDetails:[[e],o]});break}case"LocationSearch":{L.setCustomUserAgent({...Fa,additionalDetails:[[e],o]});break}case"MapView":{L.setCustomUserAgent({...Ma,additionalDetails:[[e],o]});break}case"StorageManager":{L.setCustomUserAgent({...Ba,additionalDetails:[[e],o]});break}}return ja},NS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},PS={class:"amplify-flex amplify-authenticator__icon-wrapper"},kS=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),xS=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),pe={__name:"base-alert",setup(e){const t=r.ref(!0),n=N("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=ee;return t.value?(r.openBlock(),r.createElementBlock("div",NS,[r.createElementVNode("div",PS,[kS,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(()=>[xS]),_:1},8,["aria-label"])])):r.createCommentVNode("",!0)}}},me=r.defineComponent({__name:"base-field-set",setup(e){const 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 US(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function oa(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))),US(i),n)}function $S(e){return"state"in e}var Wo=function(){};function RS(e){return"getSnapshot"in e?e.getSnapshot():$S(e)?e.state:void 0}function OS(e,t){t===void 0&&(t=RS);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,c){o.value=t(a);var l=a.subscribe({next:function(u){return o.value=u},error:Wo,complete:Wo}).unsubscribe;c(function(){return l()})},{immediate:!0}),{state:o,send:i}}const DS=e=>{var t,n,o;return{...(o=(n=(t=or(e))==null?void 0:t.formFields)==null?void 0:n.setupTotp)==null?void 0:o.QR}},Pr=oa(()=>{const e=ES(),t=Pi(e).start(),n=r.ref("configuring"),{state:o,send:i}=OS(t),a=()=>{n.value="authenticated"},s=()=>{n.value="unauthenticated"},c=Wa(t,(l,u)=>Zo(l,u,{onSignIn:a,onSignOut:s}));return W.getCurrentUser().then(()=>{n.value="authenticated"}).catch(()=>{n.value="unauthenticated"}),r.onScopeDispose(()=>{c()}),{authStatus:n,service:t,send:i,state:o}}),Q=oa(()=>{const{authStatus:e,state:t,send:n}=Pr(),o=r.reactive({});return r.watchEffect(()=>{const i=Za({send:n,state:t.value});for(const s of Object.keys(i))o[s]=i[s];const a=i.route==="setupTotp"?DS(t.value):null;o.QRFields=a,o.authStatus=e.value,o.send=n,o.state=t}),o});let FS=(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 vn=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))}}),MS={},BS={"data-amplify-label":""};function VS(e,t){return r.openBlock(),r.createElementBlock("label",BS,[r.renderSlot(e.$slots,"default")])}var wn=Jt(MS,[["render",VS]]);const LS=["aria-label","aria-checked"],GS=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),zS=[GS],jS=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),WS=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),HS=[jS,WS],YS={inheritAttrs:!1},kr=r.defineComponent({...YS,__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 w;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:c,label:l,autocomplete:u,hasError:d,labelHidden:m,placeholder:f,required:p}=r.toRefs(t),h=r.ref("");function v(){a.value=a.value===n?o:n,i.value=i.value==="password"?"text":"password"}const S=N((w=f==null?void 0:f.value)!=null?w:l.value),g=N(l.value);return(y,_)=>{const C=wn,A=vn,E=Z;return r.openBlock(),r.createBlock(E,{class:r.normalizeClass([r.unref(J).Flex,r.unref(J).Field,r.unref(J).TextField,r.unref(J).PasswordField])},{default:r.withCtx(()=>[r.createVNode(C,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":r.unref(m)}]),for:"amplify-field-"+r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(g)),1)]),_:1},8,["class","for"]),r.createVNode(E,{class:r.normalizeClass([r.unref(J).Flex,r.unref(J).FieldGroup])},{default:r.withCtx(()=>[r.createVNode(E,{class:r.normalizeClass(r.unref(J).FieldGroupFieldWrapper)},{default:r.withCtx(()=>{var I;return[r.createVNode(A,r.mergeProps(y.$attrs,{modelValue:h.value,"onUpdate:modelValue":_[0]||(_[0]=T=>h.value=T),class:[r.unref(J).Input,r.unref(J).FieldGroupControl],id:"amplify-field-"+r.unref(s),"data-amplify-password":"true",name:r.unref(c),autocomplete:r.unref(u),required:(I=r.unref(p))!=null?I:!0,placeholder:r.unref(S),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(J).FieldGroupOuterEnd)},{default:r.withCtx(()=>[r.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:r.normalizeClass([r.unref(J).Button,r.unref(J).FieldGroupControl,r.unref(J).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:v},[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(J).Icon)},zS,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(J).Icon)},HS,2))],10,LS)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),KS=["value","selected"],qS=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,c)=>(r.openBlock(),r.createElementBlock("select",{onChange:c[0]||(c[0]=l=>a(l))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(o),(l,u)=>(r.openBlock(),r.createElementBlock("option",{key:u,value:l,selected:l==r.unref(i)?!0:void 0},r.toDisplayString(l),9,KS))),128))],32))}}),JS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},[r.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),ZS=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:c,dialCode:l,dialCodeList:u}=r.toRefs(t),d=Math.floor(Math.random()*999999),m=Math.floor(Math.random()*999999);return(f,p)=>{const h=wn,v=qS,S=Z,g=vn;return r.openBlock(),r.createBlock(S,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield"},{default:r.withCtx(()=>[r.createVNode(h,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(S,{class:"amplify-flex amplify-field-group"},{default:r.withCtx(()=>[r.createVNode(S,{class:"amplify-field-group__outer-start"},{default:r.withCtx(()=>[e.type==="tel"?(r.openBlock(),r.createBlock(S,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(h,r.mergeProps({for:"amplify-field-"+r.unref(m),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString("Country Code"))]),_:1},16,["for"]),r.createVNode(S,{class:"amplify-select__wrapper"},{default:r.withCtx(()=>[r.createVNode(v,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+r.unref(m),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:r.unref(u),"select-value":r.unref(l)},null,8,["id","options","select-value"]),r.createVNode(S,{class:"amplify-flex amplify-select__icon"},{default:r.withCtx(()=>[JS]),_:1})]),_:1})]),_:1})):r.createCommentVNode("",!0)]),_:1}),r.createVNode(S,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>{var w;return[r.createVNode(g,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+r.unref(d),autocomplete:r.unref(a),name:r.unref(o),required:(w=r.unref(c))!=null?w:!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})}}}),QS=["id"],ia=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(Q()),{type:a}=o.value,s=a==="password",c=FS(12),l=r.computed(()=>ns(i.value[n.value])),u=r.computed(()=>{var m;return((m=l.value)==null?void 0:m.length)>0}),d=r.computed(()=>u.value?c:void 0);return(m,f)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[s?(r.openBlock(),r.createBlock(kr,{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(ZS,{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(l),(p,h)=>(r.openBlock(),r.createElementBlock("p",{key:h,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},r.toDisplayString(r.unref(N)(p)),1))),128))],8,QS)):r.createCommentVNode("",!0)],64))}}),ge=r.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=r.toRefs(t),{state:o}=Pr();let i=[];return r.onBeforeMount(()=>{i=oc(n.value,o.value)}),(a,s)=>(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i),([c,l])=>(r.openBlock(),r.createBlock(ia,{name:c,key:c,formField:l},null,8,["name","formField"]))),128))}}),$t=r.defineComponent({__name:"federated-sign-in-button",props:{provider:null},setup(e){const t=e,{provider:n}=r.toRefs(t),{toFederatedSignIn:o}=Q(),i=()=>{o({provider:n.value})};return(a,s)=>{const c=ee;return r.openBlock(),r.createBlock(c,{class:"amplify-authenticator__federated-button",type:"button",onClick:i},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3})}}}),XS=r.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-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),eC={class:"amplify-text"},tC=r.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-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),nC={class:"amplify-text"},rC=r.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-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),oC={class:"amplify-text"},iC=r.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-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),aC={class:"amplify-text"},sC=["data-label"],_n=r.defineComponent({__name:"federated-sign-in",setup(e){const t=Q(),{route:n,socialProviders:o}=t,i=o==null?void 0:o.includes("amazon"),a=o==null?void 0:o.includes("apple"),s=o==null?void 0:o.includes("facebook"),c=o==null?void 0:o.includes("google"),l=s||c||i||a,{getSignInWithFederationText:u,getOrText:d}=oe,m=r.computed(()=>Dn),f=r.computed(()=>u(n,"amazon")),p=r.computed(()=>u(n,"apple")),h=r.computed(()=>u(n,"facebook")),v=r.computed(()=>u(n,"google")),S=r.computed(()=>d());return(g,w)=>{const y=Z;return r.unref(l)?(r.openBlock(),r.createBlock(y,{key:0,class:"amplify-flex amplify-authenticator__federated-buttons"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock($t,{key:0,provider:r.unref(m).Amazon},{default:r.withCtx(()=>[XS,r.createElementVNode("span",eC,r.toDisplayString(r.unref(f)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(a)?(r.openBlock(),r.createBlock($t,{key:1,provider:r.unref(m).Apple},{default:r.withCtx(()=>[tC,r.createElementVNode("span",nC,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(s)?(r.openBlock(),r.createBlock($t,{key:2,provider:r.unref(m).Facebook},{default:r.withCtx(()=>[rC,r.createElementVNode("span",oC,r.toDisplayString(r.unref(h)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock($t,{key:3,provider:r.unref(m).Google},{default:r.withCtx(()=>[iC,r.createElementVNode("span",aC,r.toDisplayString(r.unref(v)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:"amplify-divider amplify-divider--horizontal amplify-divider--small","aria-orientation":"horizontal","data-label":r.unref(S)},null,8,sC)]),_:1})):r.createCommentVNode("",!0)}}}),cC=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),lC={"data-amplify-footer":""},xr=r.defineComponent({__name:"sign-in",setup(e){const t=Q(),{submitForm:n,updateForm:o,toForgotPassword:i}=t,{error:a,isPending:s}=r.toRefs(t),{getForgotPasswordText:c,getSignInText:l,getSigningInText:u}=oe,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=S=>{const{name:g,value:w}=S.target;o({name:g,value:w})},h=S=>{n(de(S))},v=()=>{i()};return(S,g)=>{const w=me,y=pe,_=ee,C=Z,A=ue,E=le;return r.renderSlot(S.$slots,"signInSlotI",r.normalizeProps(r.guardReactiveProps(S.$attrs)),()=>[r.renderSlot(S.$slots,"header"),r.createVNode(C,r.normalizeProps(r.guardReactiveProps(S.$attrs)),{default:r.withCtx(()=>[r.createVNode(A,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:r.withModifiers(h,["prevent"]),method:"post"},{formt:r.withCtx(({slotData:I})=>[r.renderSlot(S.$slots,"form",{info:I,onSignInSubmit:h,onInput:p,onForgotPasswordClicked:v})]),default:r.withCtx(()=>[r.createVNode(_n),r.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(w,{disabled:r.unref(s),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:r.withCtx(({slotData:I})=>[r.renderSlot(S.$slots,"signin-fields",{info:I})]),default:r.withCtx(()=>[cC,r.createVNode(ge,{route:"signIn"})]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(y,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(_,{disabled:r.unref(s),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(s)?r.unref(f):r.unref(m)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(E,null,{default:r.withCtx(()=>[r.renderSlot(S.$slots,"footer",{},()=>[r.createElementVNode("div",lC,[r.createVNode(_,{onClick:v,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(d)),1)]),_:1})])])]),_:3})])}}}),Ur=r.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(ge,{route:"signUp"}))}}),$r=r.defineComponent({__name:"sign-up",setup(e){const t=Q(),{submitForm:n,updateBlur:o,updateForm:i}=t,{error:a,hasValidationErrors:s,isPending:c}=r.toRefs(t),{getCreateAccountText:l}=oe,u=r.computed(()=>l()),d=p=>{const{checked:h,name:v,type:S,value:g}=p.target;i({name:v,value:S==="checkbox"&&!h?void 0:g})};function m(p){const{name:h}=p.target;o({name:h})}const f=p=>{n(de(p))};return(p,h)=>{const v=me,S=pe,g=ee,w=Z,y=ue,_=le;return r.renderSlot(p.$slots,"signUpSlotI",r.normalizeProps(r.guardReactiveProps(p.$attrs)),()=>[r.renderSlot(p.$slots,"header"),r.createVNode(w,r.normalizeProps(r.guardReactiveProps(p.$attrs)),{default:r.withCtx(()=>[r.createVNode(y,{onInput:d,onBlurCapture:m,onSubmit:r.withModifiers(f,["prevent"])},{default:r.withCtx(()=>[r.createVNode(_n),r.createVNode(w,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{fieldSetI:r.withCtx(({slotData:C})=>[r.renderSlot(p.$slots,"signup-fields",{info:C})]),default:r.withCtx(()=>[r.createVNode(Ur)]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(S,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(g,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:r.unref(c)||r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(u)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(_,null,{default:r.withCtx(()=>[r.renderSlot(p.$slots,"footer")]),_:3})])}}}),uC={};function dC(e,t){const n=Z;return r.openBlock(),r.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs amplify-tabs"},{default:r.withCtx(()=>[r.createVNode(n,{class:"amplify-tabs__list amplify-tabs__list--top amplify-tabs__list--equal amplify-authenticator__tabs-wrapper",role:"tablist"},{default:r.withCtx(()=>[r.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var fC=Jt(uC,[["render",dC]]);const pC=["tabindex","aria-selected","id","aria-controls"],mC=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)=>(r.openBlock(),r.createElementBlock("button",{tabindex:r.unref(n)?0:-1,"aria-selected":r.unref(n)?"true":"false",class:r.normalizeClass([{"amplify-tabs__item--active":r.unref(n)},"amplify-tabs__item"]),id:`${r.unref(o)}-tab`,"aria-controls":`${r.unref(o)}-panel`,role:"tab"},r.toDisplayString(r.unref(i)),11,pC))}}),gC="4.2.0",hC={};function yC(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 aa=Jt(hC,[["render",yC]]);const Ne=r.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,c;const o=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((c=(s=i[0])==null?void 0:s.children)==null?void 0:c.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}}),Rr=r.defineComponent({__name:"confirm-sign-up",setup(e){const t=Q(),{codeDeliveryDetails:n,error:o,isPending:i}=r.toRefs(t),{resendCode:a,submitForm:s,updateForm:c}=t,{getDeliveryMethodText:l,getDeliveryMessageText:u,getResendCodeText:d,getConfirmText:m}=oe,f=r.computed(()=>l(n.value)),p=r.computed(()=>d()),h=r.computed(()=>m()),v=r.computed(()=>u(n.value)),S=_=>{const{name:C,value:A}=_.target;c({name:C,value:A})},g=_=>{w(_)},w=_=>{s(de(_))},y=()=>{a()};return(_,C)=>{const A=Ne,E=aa,I=me,T=pe,k=ee,P=le,x=Z,R=ue;return r.renderSlot(_.$slots,"confirmSignUpSlotI",r.normalizeProps(r.guardReactiveProps(_.$attrs)),()=>[r.createVNode(x,r.normalizeProps(r.guardReactiveProps(_.$attrs)),{default:r.withCtx(()=>[r.createVNode(R,{onInput:S,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(x,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(_.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(E,{class:"amplify-authenticator__subtitle"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1}),r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmSignUp"})]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(o)?(r.openBlock(),r.createBlock(T,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(o))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(k,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(k,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(y,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(_.$slots,"footer")]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Or=r.defineComponent({__name:"confirm-sign-in",setup(e){const t=Q(),{submitForm:n,toSignIn:o,updateForm:i}=t,{error:a,isPending:s,challengeName:c}=r.toRefs(t),l=r.computed(()=>c.value),{getBackToSignInText:u,getConfirmText:d,getChallengeText:m}=oe,f=r.computed(()=>m(l.value)),p=r.computed(()=>u()),h=r.computed(()=>d()),v=w=>{const{name:y,value:_}=w.target;i({name:y,value:_})},S=w=>{n(de(w))},g=()=>{o()};return(w,y)=>{const _=Ne,C=Z,A=pe,E=ee,I=le,T=me,k=ue;return r.renderSlot(w.$slots,"confirmSignInSlotI",r.normalizeProps(r.guardReactiveProps(w.$attrs)),()=>[r.createVNode(C,r.normalizeProps(r.guardReactiveProps(w.$attrs)),{default:r.withCtx(()=>[r.createVNode(k,{"data-amplify-authenticator-confirmsignin":"",onInput:v,onSubmit:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{default:r.withCtx(()=>[r.renderSlot(w.$slots,"header",{},()=>[r.createVNode(_,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmSignIn"})]),_:1}),r.createVNode(I,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(a))),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)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),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(g,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(w.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var bt={},vC=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},sa={},ne={};let Dr;const wC=[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];ne.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};ne.getSymbolTotalCodewords=function(t){return wC[t]};ne.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};ne.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Dr=t};ne.isKanjiModeEnabled=function(){return typeof Dr!="undefined"};ne.toSJIS=function(t){return Dr(t)};var Sn={};(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}}})(Sn);function ca(){this.buffer=[],this.length=0}ca.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 _C=ca;function At(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)}At.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};At.prototype.get=function(e,t){return this.data[e*this.size+t]};At.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};At.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var SC=At,la={};(function(e){const t=ne.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,c=[a-7];for(let l=1;l<i-1;l++)c[l]=c[l-1]-s;return c.push(6),c.reverse()},e.getPositions=function(o){const i=[],a=e.getRowColCoords(o),s=a.length;for(let c=0;c<s;c++)for(let l=0;l<s;l++)c===0&&l===0||c===0&&l===s-1||c===s-1&&l===0||i.push([a[c],a[l]]);return i}})(la);var ua={};const CC=ne.getSymbolSize,Ho=7;ua.getPositions=function(t){const n=CC(t);return[[0,0],[n-Ho,0],[0,n-Ho]]};var da={};(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,c=0,l=0,u=null,d=null;for(let m=0;m<a;m++){c=l=0,u=d=null;for(let f=0;f<a;f++){let p=i.get(m,f);p===u?c++:(c>=5&&(s+=t.N1+(c-5)),u=p,c=1),p=i.get(f,m),p===d?l++:(l>=5&&(s+=t.N1+(l-5)),d=p,l=1)}c>=5&&(s+=t.N1+(c-5)),l>=5&&(s+=t.N1+(l-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let c=0;c<a-1;c++)for(let l=0;l<a-1;l++){const u=i.get(c,l)+i.get(c,l+1)+i.get(c+1,l)+i.get(c+1,l+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,c=0,l=0;for(let u=0;u<a;u++){c=l=0;for(let d=0;d<a;d++)c=c<<1&2047|i.get(u,d),d>=10&&(c===1488||c===93)&&s++,l=l<<1&2047|i.get(d,u),d>=10&&(l===1488||l===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let l=0;l<s;l++)a+=i.data[l];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 c=0;c<s;c++)for(let l=0;l<s;l++)a.isReserved(l,c)||a.xor(l,c,n(i,l,c))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let c=0,l=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<l&&(l=d,c=u)}return c}})(da);var Cn={};const Ae=Sn,Rt=[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],Ot=[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];Cn.getBlocksCount=function(t,n){switch(n){case Ae.L:return Rt[(t-1)*4+0];case Ae.M:return Rt[(t-1)*4+1];case Ae.Q:return Rt[(t-1)*4+2];case Ae.H:return Rt[(t-1)*4+3];default:return}};Cn.getTotalCodewordsCount=function(t,n){switch(n){case Ae.L:return Ot[(t-1)*4+0];case Ae.M:return Ot[(t-1)*4+1];case Ae.Q:return Ot[(t-1)*4+2];case Ae.H:return Ot[(t-1)*4+3];default:return}};var fa={},bn={};const ft=new Uint8Array(512),Kt=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)ft[n]=t,Kt[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)ft[n]=ft[n-255]})();bn.log=function(t){if(t<1)throw new Error("log("+t+")");return Kt[t]};bn.exp=function(t){return ft[t]};bn.mul=function(t,n){return t===0||n===0?0:ft[Kt[t]+Kt[n]]};(function(e){const t=bn;e.mul=function(o,i){const a=new Uint8Array(o.length+i.length-1);for(let s=0;s<o.length;s++)for(let c=0;c<i.length;c++)a[s+c]^=t.mul(o[s],i[c]);return a},e.mod=function(o,i){let a=new Uint8Array(o);for(;a.length-i.length>=0;){const s=a[0];for(let l=0;l<i.length;l++)a[l]^=t.mul(i[l],s);let c=0;for(;c<a.length&&a[c]===0;)c++;a=a.slice(c)}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}})(fa);const pa=fa;function Fr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Fr.prototype.initialize=function(t){this.degree=t,this.genPoly=pa.generateECPolynomial(this.degree)};Fr.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=pa.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 bC=Fr,ma={},Pe={},Mr={};Mr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var he={};const ga="[0-9]+",AC="[A-Z $%*+\\-./:]+";let vt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";vt=vt.replace(/u/g,"\\u");const EC="(?:(?![A-Z0-9 $%*+\\-./:]|"+vt+`)(?:.|[\r
20
+ ]))+`;he.KANJI=new RegExp(vt,"g");he.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");he.BYTE=new RegExp(EC,"g");he.NUMERIC=new RegExp(ga,"g");he.ALPHANUMERIC=new RegExp(AC,"g");const IC=new RegExp("^"+vt+"$"),TC=new RegExp("^"+ga+"$"),NC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");he.testKanji=function(t){return IC.test(t)};he.testNumeric=function(t){return TC.test(t)};he.testAlphanumeric=function(t){return NC.test(t)};(function(e){const t=Mr,n=he;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}}})(Pe);(function(e){const t=ne,n=Cn,o=Sn,i=Pe,a=Mr,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,c=t.getBCHDigit(s);function l(f,p,h){for(let v=1;v<=40;v++)if(p<=e.getCapacity(v,h,f))return v}function u(f,p){return i.getCharCountIndicator(f,p)+4}function d(f,p){let h=0;return f.forEach(function(v){h+=u(v.mode,p)+v.getBitsLength()}),h}function m(f,p){for(let h=1;h<=40;h++)if(d(f,h)<=e.getCapacity(h,p,i.MIXED))return h}e.from=function(p,h){return a.isValid(p)?parseInt(p,10):h},e.getCapacity=function(p,h,v){if(!a.isValid(p))throw new Error("Invalid QR Code version");typeof v=="undefined"&&(v=i.BYTE);const S=t.getSymbolTotalCodewords(p),g=n.getTotalCodewordsCount(p,h),w=(S-g)*8;if(v===i.MIXED)return w;const y=w-u(v,p);switch(v){case i.NUMERIC:return Math.floor(y/10*3);case i.ALPHANUMERIC:return Math.floor(y/11*2);case i.KANJI:return Math.floor(y/13);case i.BYTE:default:return Math.floor(y/8)}},e.getBestVersionForData=function(p,h){let v;const S=o.from(h,o.M);if(Array.isArray(p)){if(p.length>1)return m(p,S);if(p.length===0)return 1;v=p[0]}else v=p;return l(v.mode,v.getLength(),S)},e.getEncodedBits=function(p){if(!a.isValid(p)||p<7)throw new Error("Invalid QR Code version");let h=p<<12;for(;t.getBCHDigit(h)-c>=0;)h^=s<<t.getBCHDigit(h)-c;return p<<12|h}})(ma);var ha={};const Qn=ne,ya=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,PC=1<<14|1<<12|1<<10|1<<4|1<<1,Yo=Qn.getBCHDigit(ya);ha.getEncodedBits=function(t,n){const o=t.bit<<3|n;let i=o<<10;for(;Qn.getBCHDigit(i)-Yo>=0;)i^=ya<<Qn.getBCHDigit(i)-Yo;return(o<<10|i)^PC};var va={};const kC=Pe;function Ge(e){this.mode=kC.NUMERIC,this.data=e.toString()}Ge.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ge.prototype.getLength=function(){return this.data.length};Ge.prototype.getBitsLength=function(){return Ge.getBitsLength(this.data.length)};Ge.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 xC=Ge;const UC=Pe,xn=["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 ze(e){this.mode=UC.ALPHANUMERIC,this.data=e}ze.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};ze.prototype.getLength=function(){return this.data.length};ze.prototype.getBitsLength=function(){return ze.getBitsLength(this.data.length)};ze.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=xn.indexOf(this.data[n])*45;o+=xn.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(xn.indexOf(this.data[n]),6)};var $C=ze,RC=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 OC=RC,DC=Pe;function je(e){this.mode=DC.BYTE,this.data=new Uint8Array(OC(e))}je.getBitsLength=function(t){return t*8};je.prototype.getLength=function(){return this.data.length};je.prototype.getBitsLength=function(){return je.getBitsLength(this.data.length)};je.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var FC=je;const MC=Pe,BC=ne;function We(e){this.mode=MC.KANJI,this.data=e}We.getBitsLength=function(t){return t*13};We.prototype.getLength=function(){return this.data.length};We.prototype.getBitsLength=function(){return We.getBitsLength(this.data.length)};We.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=BC.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]+`
21
+ Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var VC=We,wa={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,o,i){var a={},s={};s[o]=0;var c=t.PriorityQueue.make();c.push(o,0);for(var l,u,d,m,f,p,h,v,S;!c.empty();){l=c.pop(),u=l.value,m=l.cost,f=n[u]||{};for(d in f)f.hasOwnProperty(d)&&(p=f[d],h=m+p,v=s[d],S=typeof s[d]=="undefined",(S||v>h)&&(s[d]=h,c.push(d,h),a[d]=u))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var g=["Could not find a path from ",o," to ",i,"."].join("");throw new Error(g)}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})(wa);(function(e){const t=Pe,n=xC,o=$C,i=FC,a=VC,s=he,c=ne,l=wa.exports;function u(g){return unescape(encodeURIComponent(g)).length}function d(g,w,y){const _=[];let C;for(;(C=g.exec(y))!==null;)_.push({data:C[0],index:C.index,mode:w,length:C[0].length});return _}function m(g){const w=d(s.NUMERIC,t.NUMERIC,g),y=d(s.ALPHANUMERIC,t.ALPHANUMERIC,g);let _,C;return c.isKanjiModeEnabled()?(_=d(s.BYTE,t.BYTE,g),C=d(s.KANJI,t.KANJI,g)):(_=d(s.BYTE_KANJI,t.BYTE,g),C=[]),w.concat(y,_,C).sort(function(E,I){return E.index-I.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function f(g,w){switch(w){case t.NUMERIC:return n.getBitsLength(g);case t.ALPHANUMERIC:return o.getBitsLength(g);case t.KANJI:return a.getBitsLength(g);case t.BYTE:return i.getBitsLength(g)}}function p(g){return g.reduce(function(w,y){const _=w.length-1>=0?w[w.length-1]:null;return _&&_.mode===y.mode?(w[w.length-1].data+=y.data,w):(w.push(y),w)},[])}function h(g){const w=[];for(let y=0;y<g.length;y++){const _=g[y];switch(_.mode){case t.NUMERIC:w.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:w.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:w.push([_,{data:_.data,mode:t.BYTE,length:u(_.data)}]);break;case t.BYTE:w.push([{data:_.data,mode:t.BYTE,length:u(_.data)}])}}return w}function v(g,w){const y={},_={start:{}};let C=["start"];for(let A=0;A<g.length;A++){const E=g[A],I=[];for(let T=0;T<E.length;T++){const k=E[T],P=""+A+T;I.push(P),y[P]={node:k,lastCount:0},_[P]={};for(let x=0;x<C.length;x++){const R=C[x];y[R]&&y[R].node.mode===k.mode?(_[R][P]=f(y[R].lastCount+k.length,k.mode)-f(y[R].lastCount,k.mode),y[R].lastCount+=k.length):(y[R]&&(y[R].lastCount=k.length),_[R][P]=f(k.length,k.mode)+4+t.getCharCountIndicator(k.mode,w))}}C=I}for(let A=0;A<C.length;A++)_[C[A]].end=0;return{map:_,table:y}}function S(g,w){let y;const _=t.getBestModeForData(g);if(y=t.from(w,_),y!==t.BYTE&&y.bit<_.bit)throw new Error('"'+g+'" cannot be encoded with mode '+t.toString(y)+`.
22
+ Suggested mode is: `+t.toString(_));switch(y===t.KANJI&&!c.isKanjiModeEnabled()&&(y=t.BYTE),y){case t.NUMERIC:return new n(g);case t.ALPHANUMERIC:return new o(g);case t.KANJI:return new a(g);case t.BYTE:return new i(g)}}e.fromArray=function(w){return w.reduce(function(y,_){return typeof _=="string"?y.push(S(_,null)):_.data&&y.push(S(_.data,_.mode)),y},[])},e.fromString=function(w,y){const _=m(w,c.isKanjiModeEnabled()),C=h(_),A=v(C,y),E=l.find_path(A.map,"start","end"),I=[];for(let T=1;T<E.length-1;T++)I.push(A.table[E[T]].node);return e.fromArray(p(I))},e.rawSplit=function(w){return e.fromArray(m(w,c.isKanjiModeEnabled()))}})(va);const An=ne,Un=Sn,LC=_C,GC=SC,zC=la,jC=ua,Xn=da,er=Cn,WC=bC,qt=ma,HC=ha,YC=Pe,$n=va;function KC(e,t){const n=e.size,o=jC.getPositions(t);for(let i=0;i<o.length;i++){const a=o[i][0],s=o[i][1];for(let c=-1;c<=7;c++)if(!(a+c<=-1||n<=a+c))for(let l=-1;l<=7;l++)s+l<=-1||n<=s+l||(c>=0&&c<=6&&(l===0||l===6)||l>=0&&l<=6&&(c===0||c===6)||c>=2&&c<=4&&l>=2&&l<=4?e.set(a+c,s+l,!0,!0):e.set(a+c,s+l,!1,!0))}}function qC(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 JC(e,t){const n=zC.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 c=-2;c<=2;c++)s===-2||s===2||c===-2||c===2||s===0&&c===0?e.set(i+s,a+c,!0,!0):e.set(i+s,a+c,!1,!0)}}function ZC(e,t){const n=e.size,o=qt.getEncodedBits(t);let i,a,s;for(let c=0;c<18;c++)i=Math.floor(c/3),a=c%3+n-8-3,s=(o>>c&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function Rn(e,t,n){const o=e.size,i=HC.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 QC(e,t){const n=e.size;let o=-1,i=n-1,a=7,s=0;for(let c=n-1;c>0;c-=2)for(c===6&&c--;;){for(let l=0;l<2;l++)if(!e.isReserved(i,c-l)){let u=!1;s<t.length&&(u=(t[s]>>>a&1)===1),e.set(i,c-l,u),a--,a===-1&&(s++,a=7)}if(i+=o,i<0||n<=i){i-=o,o=-o;break}}}function XC(e,t,n){const o=new LC;n.forEach(function(l){o.put(l.mode.bit,4),o.put(l.getLength(),YC.getCharCountIndicator(l.mode,e)),l.write(o)});const i=An.getSymbolTotalCodewords(e),a=er.getTotalCodewordsCount(e,t),s=(i-a)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let l=0;l<c;l++)o.put(l%2?17:236,8);return eb(o,e,t)}function eb(e,t,n){const o=An.getSymbolTotalCodewords(t),i=er.getTotalCodewordsCount(t,n),a=o-i,s=er.getBlocksCount(t,n),c=o%s,l=s-c,u=Math.floor(o/s),d=Math.floor(a/s),m=d+1,f=u-d,p=new WC(f);let h=0;const v=new Array(s),S=new Array(s);let g=0;const w=new Uint8Array(e.buffer);for(let E=0;E<s;E++){const I=E<l?d:m;v[E]=w.slice(h,h+I),S[E]=p.encode(v[E]),h+=I,g=Math.max(g,I)}const y=new Uint8Array(o);let _=0,C,A;for(C=0;C<g;C++)for(A=0;A<s;A++)C<v[A].length&&(y[_++]=v[A][C]);for(C=0;C<f;C++)for(A=0;A<s;A++)y[_++]=S[A][C];return y}function tb(e,t,n,o){let i;if(Array.isArray(e))i=$n.fromArray(e);else if(typeof e=="string"){let u=t;if(!u){const d=$n.rawSplit(e);u=qt.getBestVersionForData(d,n)}i=$n.fromString(e,u||40)}else throw new Error("Invalid data");const a=qt.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(`
23
23
  The chosen QR Code version cannot contain this amount of data.
24
24
  Minimum version required to store current data is: `+a+`.
25
- `);const s=QC(t,n,i),c=An.getSymbolSize(t),l=new LC(c);return YC(l,t),KC(l),qC(l,t),Rn(l,n,0),t>=7&&JC(l,t),ZC(l,s),isNaN(o)&&(o=Xn.getBestMask(l,Rn.bind(null,l,n))),Xn.applyMask(o,l),Rn(l,n,o),{modules:l,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=Un.M,i,a;return typeof n!="undefined"&&(o=Un.from(n.errorCorrectionLevel,Un.M),i=qt.from(n.version),a=Xn.from(n.maskPattern),n.toSJISFunc&&An.setToSJISFunction(n.toSJISFunc)),eb(t,i,o,a)};var wa={},Br={};(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,c=i.modules.data,l=e.getScale(s,a),u=Math.floor((s+a.margin*2)*l),d=a.margin*l,m=[a.color.light,a.color.dark];for(let f=0;f<u;f++)for(let p=0;p<u;p++){let h=(f*u+p)*4,v=a.color.light;if(f>=d&&p>=d&&f<u-d&&p<u-d){const S=Math.floor((f-d)/l),g=Math.floor((p-d)/l);v=m[c[S*s+g]?1:0]}o[h++]=v.r,o[h++]=v.g,o[h++]=v.b,o[h]=v.a}}})(Br);(function(e){const t=Br;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,c){let l=c,u=s;typeof l=="undefined"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(u=o()),l=t.getOptions(l);const d=t.getImageWidth(a.modules.size,l),m=u.getContext("2d"),f=m.createImageData(d,d);return t.qrToImageData(f.data,a,l),n(m,u,d),m.putImageData(f,0,0),u},e.renderToDataURL=function(a,s,c){let l=c;typeof l=="undefined"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const u=e.render(a,s,l),d=l.type||"image/png",m=l.rendererOpts||{};return u.toDataURL(d,m.quality)}})(wa);var _a={};const tb=Br;function Ko(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function On(e,t,n){let o=e+t;return typeof n!="undefined"&&(o+=" "+n),o}function nb(e,t,n){let o="",i=0,a=!1,s=0;for(let c=0;c<e.length;c++){const l=Math.floor(c%t),u=Math.floor(c/t);!l&&!a&&(a=!0),e[c]?(s++,c>0&&l>0&&e[c-1]||(o+=a?On("M",l+n,.5+u+n):On("m",i,0),i=0,a=!1),l+1<t&&e[c+1]||(o+=On("h",s),s=0)):i++}return o}_a.render=function(t,n,o){const i=tb.getOptions(n),a=t.modules.size,s=t.modules.data,c=a+i.margin*2,l=i.color.light.a?"<path "+Ko(i.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",u="<path "+Ko(i.color.dark,"stroke")+' d="'+nb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+c+" "+c+'"',m=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+m+d+' shape-rendering="crispEdges">'+l+u+`</svg>
26
- `;return typeof o=="function"&&o(null,f),f};const rb=yC,tr=aa,Sa=wa,ob=_a;function Vr(e,t,n,o,i){const a=[].slice.call(arguments,1),s=a.length,c=typeof a[s-1]=="function";if(!c&&!rb())throw new Error("Callback required as last argument");if(c){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(l,u){try{const d=tr.create(n,o);l(e(d,t,o))}catch(d){u(d)}})}try{const l=tr.create(n,o);i(null,e(l,t,o))}catch(l){i(l)}}bt.create=tr.create;bt.toCanvas=Vr.bind(null,Sa.render);bt.toDataURL=Vr.bind(null,Sa.renderToDataURL);bt.toString=Vr.bind(null,function(e,t,n){return ob.render(e,n)});const ib={key:0},ab=["src"],sb={"data-amplify-copy-tooltip":""},cb=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),lb=r.defineComponent({__name:"setup-totp",setup(e){const t=new nr.ConsoleLogger("SetupTotp-logger"),n=Q(),{updateForm:o,submitForm:i,toSignIn:a,totpSecretCode:s,username:c,QRFields:l}=n,{error:u,isPending:d}=r.toRefs(n),{totpIssuer:m="AWSCognito",totpUsername:f=c}=l!=null?l:{},p=rs(m,f,s),h=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:v,getCopiedText:S,getBackToSignInText:g,getConfirmText:w}=oe,y=r.ref(v());function _(){s&&navigator.clipboard.writeText(s),y.value=S()}r.onMounted(async()=>{try{h.qrCodeImageSource=await bt.toDataURL(p)}catch(k){t.error(k)}finally{h.isLoading=!1}});const C=r.computed(()=>g()),A=r.computed(()=>w()),E=k=>{const{name:P,value:x}=k.target;o({name:P,value:x})},I=k=>{i(de(k))},T=()=>{a()};return(k,P)=>{const x=Ne,R=Z,H=pe,re=ee,se=le,K=me,ie=ue;return r.renderSlot(k.$slots,"confirmSetupTotpI",r.normalizeProps(r.guardReactiveProps(k.$attrs)),()=>[r.createVNode(R,r.normalizeProps(r.guardReactiveProps(k.$attrs)),{default:r.withCtx(()=>[r.createVNode(ie,{"data-amplify-authenticator-setup-totp":"",onInput:E,onSubmit:r.withModifiers(I,["prevent"])},{default:r.withCtx(()=>[r.createVNode(K,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(d)},{default:r.withCtx(()=>[r.createVNode(R,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(k.$slots,"header",{},()=>[r.createVNode(x,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(" Setup TOTP ")]),_:1})]),r.createVNode(R,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[h.isLoading?(r.openBlock(),r.createElementBlock("p",ib,"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,ab)),r.createVNode(R,{class:"amplify-flex","data-amplify-copy":""},{default:r.withCtx(()=>[r.createElementVNode("div",null,r.toDisplayString(r.unref(s)),1),r.createVNode(R,{"data-amplify-copy-svg":"",onClick:_},{default:r.withCtx(()=>[r.createElementVNode("div",sb,r.toDisplayString(y.value),1),cb]),_:1})]),_:1}),r.createVNode(ge,{route:"setupTotp"})]),_:1}),r.createVNode(se,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(u)?(r.openBlock(),r.createBlock(H,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(u))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(re,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(d)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(A)),1)]),_:1},8,["disabled"]),r.createVNode(re,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(T,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(C)),1)]),_:1},8,["onClick"]),r.renderSlot(k.$slots,"footer")]),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Lr=r.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(ge,{route:"forceNewPassword"}))}}),Gr=r.defineComponent({__name:"force-new-password",setup(e){const t=Q(),{submitForm:n,toSignIn:o,updateBlur:i,updateForm:a}=t,{error:s,isPending:c}=r.toRefs(t),{getChangePasswordText:l,getChangingText:u,getBackToSignInText:d}=oe,m=r.computed(()=>l()),f=r.computed(()=>u()),p=r.computed(()=>d()),h=()=>{o()},v=y=>{S(y)},S=y=>{n(de(y))},g=y=>{const{name:_,value:C}=y.target;a({name:_,value:C})};function w(y){const{name:_}=y.target;i({name:_})}return(y,_)=>{const C=Ne,A=Z,E=pe,I=ee,T=le,k=me,P=ue;return r.renderSlot(y.$slots,"forceNewPasswordI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(A,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode(P,{"data-amplify-authenticator-forcenewpassword":"",onInput:g,onBlurCapture:w,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(C,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1})]),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"force-new-password-form-fields",{},()=>[r.createVNode(Lr)])]),_:3}),r.createVNode(T,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s)?(r.openBlock(),r.createBlock(E,{key:0,"data-ui-error":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(s))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(c)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(c)?r.unref(f)+"\u2026":r.unref(m)),1)]),_:1},8,["disabled"]),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onHaveAccountClicked:h,onForceNewPasswordSubmit:v})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),zr=r.defineComponent({__name:"forgot-password",setup(e){const t=Q(),{submitForm:n,toSignIn:o,updateForm:i}=t,{error:a,isPending:s}=r.toRefs(t),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:u}=oe,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=S=>{n(de(S))},h=S=>{const{name:g,value:w}=S.target;i({name:g,value:w})},v=()=>{o()};return(S,g)=>{const w=Ne,y=me,_=pe,C=ee,A=le,E=Z,I=ue;return r.renderSlot(S.$slots,"forgotPasswordSlotI",r.normalizeProps(r.guardReactiveProps(S.$attrs)),()=>[r.createVNode(I,r.mergeProps(S.$attrs,{"data-amplify-authenticator-forgotpassword":"",onInput:h,onSubmit:r.withModifiers(p,["prevent"])}),{default:r.withCtx(()=>[r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(S.$slots,"header",{},()=>[r.createVNode(w,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1})]),r.createVNode(y,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{default:r.withCtx(()=>[r.createVNode(ge,{route:"forgotPassword"})]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[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(C,{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(C,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["onClick"]),r.renderSlot(S.$slots,"footer",{onBackToSignInClicked:v,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),jr=r.defineComponent({__name:"confirm-reset-password",setup(e){const t=Q(),{resendCode:n,submitForm:o,updateBlur:i,updateForm:a}=t,{error:s,isPending:c}=r.toRefs(t),{getResendCodeText:l,getResetYourPasswordText:u,getSubmitText:d}=oe,m=r.computed(()=>l()),f=r.computed(()=>u()),p=r.computed(()=>d()),h=y=>{v(y)},v=y=>{o(de(y))},S=()=>{n()},g=y=>{const{name:_,value:C}=y.target;a({name:_,value:C})};function w(y){const{name:_}=y.target;i({name:_})}return(y,_)=>{const C=Ne,A=Z,E=pe,I=ee,T=le,k=me,P=ue;return r.renderSlot(y.$slots,"confirmResetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(A,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode(P,{"data-amplify-authenticator-confirmResetpassword":"",onInput:g,onBlurCapture:w,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(C,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmResetPassword"})]),_:1}),r.createVNode(T,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s)?(r.openBlock(),r.createBlock(E,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(s))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:r.unref(c)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["disabled"]),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wr=r.defineComponent({__name:"verify-user",setup(e){const t=Q(),{isPending:n,unverifiedUserAttributes:o,error:i}=r.toRefs(t),{skipVerification:a,submitForm:s,updateForm:c}=t,{getAccountRecoveryInfoText:l,getSkipText:u,getVerifyText:d,getVerifyContactText:m}=oe,f=r.computed(()=>l()),p=r.computed(()=>u()),h=r.computed(()=>d()),v=r.computed(()=>m()),S=_=>{const{name:C,value:A}=_.target;c({name:C,value:A})},g=_=>{w(_)},w=_=>{s(de(_))},y=()=>{a()};return(_,C)=>{const A=Ne,E=wn,I=vn,T=ia,k=Z,P=pe,x=ee,R=le,H=me,re=ue;return r.renderSlot(_.$slots,"verifyUserSlotI",{},()=>[r.createVNode(k,null,{default:r.withCtx(()=>[r.createVNode(re,{onInput:S,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(H,{disabled:r.unref(n),class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(_.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(k,{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(v)),1)]),_:1}),r.createVNode(k,{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(o),(se,K)=>(r.openBlock(),r.createBlock(E,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:se},{default:r.withCtx(()=>[r.createVNode(I,{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(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),r.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(Zt)[K].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),r.createVNode(R,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock(P,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(i))),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(n)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),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(y,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(_.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),Hr=r.defineComponent({__name:"confirm-verify-user",setup(e){const t=Q(),{error:n,isPending:o}=r.toRefs(t),{skipVerification:i,submitForm:a,updateForm:s}=t,{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:u}=oe,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=g=>{const{name:w,value:y}=g.target;s({name:w,value:y})},h=g=>{v(g)},v=g=>{a(de(g))},S=()=>{i()};return(g,w)=>{const y=Ne,_=Z,C=pe,A=ee,E=le,I=me,T=ue;return r.renderSlot(g.$slots,"confirmVerifyUserSlotI",r.normalizeProps(r.guardReactiveProps(g.$attrs)),()=>[r.createVNode(_,r.normalizeProps(r.guardReactiveProps(g.$attrs)),{default:r.withCtx(()=>[r.createVNode(T,{onInput:p,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(o)},{default:r.withCtx(()=>[r.renderSlot(g.$slots,"header",{},()=>[r.createVNode(y,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1})]),r.createVNode(_,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmVerifyUser"})]),_:1}),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(n)?(r.openBlock(),r.createBlock(C,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(n))),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(o)},{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(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["onClick"]),r.renderSlot(g.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),ub=["data-variation"],db={"data-amplify-container":""},fb=["data-amplify-router-content"],pb={key:1,"data-amplify-router-content":""},Ca=r.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},setup(e){const t=e,{initialState:n,loginMechanisms:o,variation:i,services:a,signUpAttributes:s,socialProviders:c,hideSignUp:l,formFields:u}=r.toRefs(t);let d;const m=r.ref(!1),{service:f,send:p,state:h}=Pr(),v=f.subscribe(U=>{U.matches("setup")&&!m.value&&(p({type:"INIT",data:{initialState:n.value,loginMechanisms:o.value,socialProviders:c.value,signUpAttributes:s.value,services:a.value,formFields:u.value}}),m.value=!0)}).unsubscribe,S=Q(),{route:g,signOut:w,toSignIn:y,toSignUp:_,user:C}=r.toRefs(S);r.onMounted(()=>{d=IS({componentName:"Authenticator",packageName:"vue",version:mC})}),r.onUnmounted(()=>{d(),v()});const A=r.ref(),E=r.ref(),I=r.ref(),T=r.ref(),k=r.ref(),P=r.ref(),x=r.ref(),R=r.ref(),H=r.ref(),re=r.ref(),{getSignInTabText:se,getSignUpTabText:K}=oe,ie=r.computed(()=>se()),Se=r.computed(()=>K()),Re=r.computed(()=>g.value==="signIn"||g.value==="signUp"),te=r.computed(()=>["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","forgotPassword","setupTotp","signIn","signUp","verifyUser"].includes(g.value));return(U,Yr)=>{const X=pC,Ce=dC;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(te)?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0},U.$attrs,{"data-amplify-authenticator":"","data-variation":r.unref(i)}),[r.createElementVNode("div",db,[r.renderSlot(U.$slots,"header"),r.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":r.unref(Re)?void 0:""},[r.unref(Re)&&!r.unref(l)?(r.openBlock(),r.createBlock(Ce,{key:0},{default:r.withCtx(()=>[r.createVNode(X,{active:r.unref(g)==="signIn",id:"signIn",label:r.unref(ie),onClick:r.unref(y)},null,8,["active","label","onClick"]),r.createVNode(X,{active:r.unref(g)==="signUp",id:"signUp",label:r.unref(Se),onClick:r.unref(_)},null,8,["active","label","onClick"])]),_:1})):r.createCommentVNode("",!0),r.unref(Re)?(r.openBlock(),r.createElementBlock("div",pb,[r.unref(g)==="signIn"?(r.openBlock(),r.createBlock(xr,{key:0,id:"signIn-panel",role:"tabpanel",class:"amplify-tabs__panel amplify-tabs__panel--active","aria-labelledby":"signIn-tab",ref_key:"signInComponent",ref:A},{signInSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-in")]),form:r.withCtx(({info:En,onSignInSubmit:Ia,onForgotPasswordClicked:Ta,onInput:Na})=>[r.renderSlot(U.$slots,"sign-in-form",{info:En,onInput:Na,onSignInSubmit:Ia,onForgotPasswordClicked:Ta})]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="signUp"&&!r.unref(l)?(r.openBlock(),r.createBlock($r,{key:1,id:"signUp-panel",class:"amplify-tabs__panel amplify-tabs__panel--active",role:"tabpanel","aria-labelledby":"signUp-tab",ref_key:"signUpComponent",ref:E},{signUpSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-up")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-up-header")]),"signup-fields":r.withCtx(({info:En})=>[r.renderSlot(U.$slots,"sign-up-fields",{info:En})]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0)])):r.createCommentVNode("",!0),r.unref(g)==="confirmSignUp"?(r.openBlock(),r.createBlock(Rr,{key:2,ref_key:"confirmSignUpComponent",ref:I},{confirmSignUpSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-up")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-up-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="forgotPassword"?(r.openBlock(),r.createBlock(zr,{key:3,ref_key:"ForgotPasswordComponent",ref:x},{forgotPasswordSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"forgot-password")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"forgot-password-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"forgot-password-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="confirmResetPassword"?(r.openBlock(),r.createBlock(jr,{key:4,ref_key:"confirmResetPasswordComponent",ref:R},{confirmResetPasswordSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-reset-password")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-reset-password-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-reset-password-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="confirmSignIn"?(r.openBlock(),r.createBlock(Or,{key:5,ref_key:"confirmSignInComponent",ref:T},{confirmSignInSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-in")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="setupTotp"?(r.openBlock(),r.createBlock(lb,{key:6,ref_key:"confirmSetupTotpComponent",ref:k},{confirmSetupTotpI:r.withCtx(()=>[r.renderSlot(U.$slots,"setup-totp")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"setup-totp-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"setup-totp-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="forceNewPassword"?(r.openBlock(),r.createBlock(Gr,{key:7,ref_key:"forceNewPasswordComponent",ref:P},{forceNewPasswordI:r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password-header")]),"force-new-password-form-fields":r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password-form-fields")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="verifyUser"?(r.openBlock(),r.createBlock(Wr,{key:8,ref_key:"verifyUserComponent",ref:H},{verifyUserSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"verify-user")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"verify-user-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"verify-user-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="confirmVerifyUser"?(r.openBlock(),r.createBlock(Hr,{key:9,ref_key:"confirmVerifyUserComponent",ref:re},{confirmVerifyUserSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-verify-user")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-verify-user-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-verify-user-footer")]),_:3},512)):r.createCommentVNode("",!0)],8,fb),r.renderSlot(U.$slots,"footer")])],16,ub)):r.createCommentVNode("",!0),r.unref(g)==="authenticated"?r.renderSlot(U.$slots,"default",{key:1,user:r.unref(C),state:r.unref(h),signOut:r.unref(w),send:r.unref(p)}):r.createCommentVNode("",!0)],64)}}}),ba=r.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Aa=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:c,type:l}=r.toRefs(t);return(u,d)=>{const m=wn,f=vn,p=Z;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(m,{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(c),disabled:e.disabled,type:r.unref(l)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),mb={class:"amplify-flex amplify-field amplify-checkboxfield"},gb={class:"amplify-flex amplify-checkbox"},hb={class:"amplify-visually-hidden"},yb=["data-error","data-checked"],vb=["data-checked"],wb=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),_b=[wb],Sb={class:"amplify-text amplify-checkbox__label"},Cb={key:0,class:"amplify-text amplify-field__error-message"},Ea=r.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=r.ref(!1),o=r.ref(N("I agree with the Terms and Conditions")),{errorMessage:i}=r.toRefs(t);return(a,s)=>(r.openBlock(),r.createElementBlock("div",mb,[r.createElementVNode("label",gb,[r.createElementVNode("span",hb,[r.createElementVNode("input",{onClick:s[0]||(s[0]=c=>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},_b,10,vb))],10,yb),r.createElementVNode("span",Sb,r.toDisplayString(o.value),1)]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",Cb,r.toDisplayString(r.unref(i)),1))]))}});var bb={install:e=>{e.component("SignIn",xr),e.component("SignUp",$r),e.component("FederatedSignIn",_n),e.component("Authenticator",Ca),e.component("RenderInfo",ba),e.component("PasswordControl",kr),e.component("ForceNewPassword",Gr),e.component("ForgotPassword",zr),e.component("ConfirmResetPassword",jr),e.component("ConfirmSignUp",Rr),e.component("ConfirmSignIn",Or),e.component("VerifyUser",Wr),e.component("ConfirmVerifyUser",Hr),e.component("AmplifyTextField",Aa),e.component("AmplifyCheckBox",Ea),e.component("AmplifyButton",ee),e.component("BaseFormField",oa),e.component("BaseFormFields",ge),e.component("AuthenticatorSignUpFormFields",Ur),e.component("AuthenticatorForceNewPasswordFormFields",Lr)}};exports.AmplifyButton=ee;exports.AmplifyCheckBox=Ea;exports.AmplifyTextField=Aa;exports.Authenticator=Ca;exports.AuthenticatorForceNewPasswordFormFields=Lr;exports.AuthenticatorSignUpFormFields=Ur;exports.ConfirmResetPassword=jr;exports.ConfirmSignIn=Or;exports.ConfirmSignUp=Rr;exports.ConfirmVerifyUser=Hr;exports.FederatedSignIn=_n;exports.ForceNewPassword=Gr;exports.ForgotPassword=zr;exports.PasswordControl=kr;exports.RenderInfo=ba;exports.SignIn=xr;exports.SignUp=$r;exports.VerifyUser=Wr;exports.default=bb;exports.translations=Gs;exports.useAuthenticator=Q;
25
+ `);const s=XC(t,n,i),c=An.getSymbolSize(t),l=new GC(c);return KC(l,t),qC(l),JC(l,t),Rn(l,n,0),t>=7&&ZC(l,t),QC(l,s),isNaN(o)&&(o=Xn.getBestMask(l,Rn.bind(null,l,n))),Xn.applyMask(o,l),Rn(l,n,o),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:o,segments:i}}sa.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let o=Un.M,i,a;return typeof n!="undefined"&&(o=Un.from(n.errorCorrectionLevel,Un.M),i=qt.from(n.version),a=Xn.from(n.maskPattern),n.toSJISFunc&&An.setToSJISFunction(n.toSJISFunc)),tb(t,i,o,a)};var _a={},Br={};(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,c=i.modules.data,l=e.getScale(s,a),u=Math.floor((s+a.margin*2)*l),d=a.margin*l,m=[a.color.light,a.color.dark];for(let f=0;f<u;f++)for(let p=0;p<u;p++){let h=(f*u+p)*4,v=a.color.light;if(f>=d&&p>=d&&f<u-d&&p<u-d){const S=Math.floor((f-d)/l),g=Math.floor((p-d)/l);v=m[c[S*s+g]?1:0]}o[h++]=v.r,o[h++]=v.g,o[h++]=v.b,o[h]=v.a}}})(Br);(function(e){const t=Br;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,c){let l=c,u=s;typeof l=="undefined"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(u=o()),l=t.getOptions(l);const d=t.getImageWidth(a.modules.size,l),m=u.getContext("2d"),f=m.createImageData(d,d);return t.qrToImageData(f.data,a,l),n(m,u,d),m.putImageData(f,0,0),u},e.renderToDataURL=function(a,s,c){let l=c;typeof l=="undefined"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const u=e.render(a,s,l),d=l.type||"image/png",m=l.rendererOpts||{};return u.toDataURL(d,m.quality)}})(_a);var Sa={};const nb=Br;function Ko(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function On(e,t,n){let o=e+t;return typeof n!="undefined"&&(o+=" "+n),o}function rb(e,t,n){let o="",i=0,a=!1,s=0;for(let c=0;c<e.length;c++){const l=Math.floor(c%t),u=Math.floor(c/t);!l&&!a&&(a=!0),e[c]?(s++,c>0&&l>0&&e[c-1]||(o+=a?On("M",l+n,.5+u+n):On("m",i,0),i=0,a=!1),l+1<t&&e[c+1]||(o+=On("h",s),s=0)):i++}return o}Sa.render=function(t,n,o){const i=nb.getOptions(n),a=t.modules.size,s=t.modules.data,c=a+i.margin*2,l=i.color.light.a?"<path "+Ko(i.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",u="<path "+Ko(i.color.dark,"stroke")+' d="'+rb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+c+" "+c+'"',m=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+m+d+' shape-rendering="crispEdges">'+l+u+`</svg>
26
+ `;return typeof o=="function"&&o(null,f),f};const ob=vC,tr=sa,Ca=_a,ib=Sa;function Vr(e,t,n,o,i){const a=[].slice.call(arguments,1),s=a.length,c=typeof a[s-1]=="function";if(!c&&!ob())throw new Error("Callback required as last argument");if(c){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(l,u){try{const d=tr.create(n,o);l(e(d,t,o))}catch(d){u(d)}})}try{const l=tr.create(n,o);i(null,e(l,t,o))}catch(l){i(l)}}bt.create=tr.create;bt.toCanvas=Vr.bind(null,Ca.render);bt.toDataURL=Vr.bind(null,Ca.renderToDataURL);bt.toString=Vr.bind(null,function(e,t,n){return ib.render(e,n)});const ab={key:0},sb=["src"],cb={"data-amplify-copy-tooltip":""},lb=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),ub=r.defineComponent({__name:"setup-totp",setup(e){const t=new nr.ConsoleLogger("SetupTotp-logger"),n=Q(),{updateForm:o,submitForm:i,toSignIn:a,totpSecretCode:s,username:c,QRFields:l}=n,{error:u,isPending:d}=r.toRefs(n),{totpIssuer:m="AWSCognito",totpUsername:f=c}=l!=null?l:{},p=os(m,f,s),h=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:v,getCopiedText:S,getBackToSignInText:g,getConfirmText:w}=oe,y=r.ref(v());function _(){s&&navigator.clipboard.writeText(s),y.value=S()}r.onMounted(async()=>{try{h.qrCodeImageSource=await bt.toDataURL(p)}catch(k){t.error(k)}finally{h.isLoading=!1}});const C=r.computed(()=>g()),A=r.computed(()=>w()),E=k=>{const{name:P,value:x}=k.target;o({name:P,value:x})},I=k=>{i(de(k))},T=()=>{a()};return(k,P)=>{const x=Ne,R=Z,H=pe,re=ee,se=le,K=me,ie=ue;return r.renderSlot(k.$slots,"confirmSetupTotpI",r.normalizeProps(r.guardReactiveProps(k.$attrs)),()=>[r.createVNode(R,r.normalizeProps(r.guardReactiveProps(k.$attrs)),{default:r.withCtx(()=>[r.createVNode(ie,{"data-amplify-authenticator-setup-totp":"",onInput:E,onSubmit:r.withModifiers(I,["prevent"])},{default:r.withCtx(()=>[r.createVNode(K,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(d)},{default:r.withCtx(()=>[r.createVNode(R,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(k.$slots,"header",{},()=>[r.createVNode(x,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(" Setup TOTP ")]),_:1})]),r.createVNode(R,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[h.isLoading?(r.openBlock(),r.createElementBlock("p",ab,"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,sb)),r.createVNode(R,{class:"amplify-flex","data-amplify-copy":""},{default:r.withCtx(()=>[r.createElementVNode("div",null,r.toDisplayString(r.unref(s)),1),r.createVNode(R,{"data-amplify-copy-svg":"",onClick:_},{default:r.withCtx(()=>[r.createElementVNode("div",cb,r.toDisplayString(y.value),1),lb]),_:1})]),_:1}),r.createVNode(ge,{route:"setupTotp"})]),_:1}),r.createVNode(se,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(u)?(r.openBlock(),r.createBlock(H,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(u))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(re,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(d)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(A)),1)]),_:1},8,["disabled"]),r.createVNode(re,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(T,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(C)),1)]),_:1},8,["onClick"]),r.renderSlot(k.$slots,"footer")]),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Lr=r.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(ge,{route:"forceNewPassword"}))}}),Gr=r.defineComponent({__name:"force-new-password",setup(e){const t=Q(),{submitForm:n,toSignIn:o,updateBlur:i,updateForm:a}=t,{error:s,isPending:c}=r.toRefs(t),{getChangePasswordText:l,getChangingText:u,getBackToSignInText:d}=oe,m=r.computed(()=>l()),f=r.computed(()=>u()),p=r.computed(()=>d()),h=()=>{o()},v=y=>{S(y)},S=y=>{n(de(y))},g=y=>{const{name:_,value:C}=y.target;a({name:_,value:C})};function w(y){const{name:_}=y.target;i({name:_})}return(y,_)=>{const C=Ne,A=Z,E=pe,I=ee,T=le,k=me,P=ue;return r.renderSlot(y.$slots,"forceNewPasswordI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(A,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode(P,{"data-amplify-authenticator-forcenewpassword":"",onInput:g,onBlurCapture:w,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(C,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1})]),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"force-new-password-form-fields",{},()=>[r.createVNode(Lr)])]),_:3}),r.createVNode(T,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s)?(r.openBlock(),r.createBlock(E,{key:0,"data-ui-error":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(s))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(c)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(c)?r.unref(f)+"\u2026":r.unref(m)),1)]),_:1},8,["disabled"]),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onHaveAccountClicked:h,onForceNewPasswordSubmit:v})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),zr=r.defineComponent({__name:"forgot-password",setup(e){const t=Q(),{submitForm:n,toSignIn:o,updateForm:i}=t,{error:a,isPending:s}=r.toRefs(t),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:u}=oe,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=S=>{n(de(S))},h=S=>{const{name:g,value:w}=S.target;i({name:g,value:w})},v=()=>{o()};return(S,g)=>{const w=Ne,y=me,_=pe,C=ee,A=le,E=Z,I=ue;return r.renderSlot(S.$slots,"forgotPasswordSlotI",r.normalizeProps(r.guardReactiveProps(S.$attrs)),()=>[r.createVNode(I,r.mergeProps(S.$attrs,{"data-amplify-authenticator-forgotpassword":"",onInput:h,onSubmit:r.withModifiers(p,["prevent"])}),{default:r.withCtx(()=>[r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(S.$slots,"header",{},()=>[r.createVNode(w,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1})]),r.createVNode(y,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{default:r.withCtx(()=>[r.createVNode(ge,{route:"forgotPassword"})]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[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(C,{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(C,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["onClick"]),r.renderSlot(S.$slots,"footer",{onBackToSignInClicked:v,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),jr=r.defineComponent({__name:"confirm-reset-password",setup(e){const t=Q(),{resendCode:n,submitForm:o,updateBlur:i,updateForm:a}=t,{error:s,isPending:c}=r.toRefs(t),{getResendCodeText:l,getResetYourPasswordText:u,getSubmitText:d}=oe,m=r.computed(()=>l()),f=r.computed(()=>u()),p=r.computed(()=>d()),h=y=>{v(y)},v=y=>{o(de(y))},S=()=>{n()},g=y=>{const{name:_,value:C}=y.target;a({name:_,value:C})};function w(y){const{name:_}=y.target;i({name:_})}return(y,_)=>{const C=Ne,A=Z,E=pe,I=ee,T=le,k=me,P=ue;return r.renderSlot(y.$slots,"confirmResetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(A,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode(P,{"data-amplify-authenticator-confirmResetpassword":"",onInput:g,onBlurCapture:w,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(C,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmResetPassword"})]),_:1}),r.createVNode(T,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s)?(r.openBlock(),r.createBlock(E,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(s))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:r.unref(c)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["disabled"]),r.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wr=r.defineComponent({__name:"verify-user",setup(e){const t=Q(),{isPending:n,unverifiedUserAttributes:o,error:i}=r.toRefs(t),{skipVerification:a,submitForm:s,updateForm:c}=t,{getAccountRecoveryInfoText:l,getSkipText:u,getVerifyText:d,getVerifyContactText:m}=oe,f=r.computed(()=>l()),p=r.computed(()=>u()),h=r.computed(()=>d()),v=r.computed(()=>m()),S=_=>{const{name:C,value:A}=_.target;c({name:C,value:A})},g=_=>{w(_)},w=_=>{s(de(_))},y=()=>{a()};return(_,C)=>{const A=Ne,E=wn,I=vn,T=aa,k=Z,P=pe,x=ee,R=le,H=me,re=ue;return r.renderSlot(_.$slots,"verifyUserSlotI",{},()=>[r.createVNode(k,null,{default:r.withCtx(()=>[r.createVNode(re,{onInput:S,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(H,{disabled:r.unref(n),class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(_.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(k,{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(v)),1)]),_:1}),r.createVNode(k,{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(o),(se,K)=>(r.openBlock(),r.createBlock(E,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:se},{default:r.withCtx(()=>[r.createVNode(I,{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(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),r.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(Zt)[K].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),r.createVNode(R,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock(P,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(i))),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(n)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),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(y,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(_.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),Hr=r.defineComponent({__name:"confirm-verify-user",setup(e){const t=Q(),{error:n,isPending:o}=r.toRefs(t),{skipVerification:i,submitForm:a,updateForm:s}=t,{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:u}=oe,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=g=>{const{name:w,value:y}=g.target;s({name:w,value:y})},h=g=>{v(g)},v=g=>{a(de(g))},S=()=>{i()};return(g,w)=>{const y=Ne,_=Z,C=pe,A=ee,E=le,I=me,T=ue;return r.renderSlot(g.$slots,"confirmVerifyUserSlotI",r.normalizeProps(r.guardReactiveProps(g.$attrs)),()=>[r.createVNode(_,r.normalizeProps(r.guardReactiveProps(g.$attrs)),{default:r.withCtx(()=>[r.createVNode(T,{onInput:p,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(o)},{default:r.withCtx(()=>[r.renderSlot(g.$slots,"header",{},()=>[r.createVNode(y,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1})]),r.createVNode(_,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ge,{route:"confirmVerifyUser"})]),_:1}),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(n)?(r.openBlock(),r.createBlock(C,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(N)(r.unref(n))),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(o)},{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(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["onClick"]),r.renderSlot(g.$slots,"footer")]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),db=["data-variation"],fb={"data-amplify-container":""},pb=["data-amplify-router-content"],mb={key:1,"data-amplify-router-content":""},ba=r.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},setup(e){const t=e,{initialState:n,loginMechanisms:o,variation:i,services:a,signUpAttributes:s,socialProviders:c,hideSignUp:l,formFields:u}=r.toRefs(t);let d;const m=r.ref(!1),{service:f,send:p,state:h}=Pr(),v=f.subscribe(U=>{U.matches("setup")&&!m.value&&(p({type:"INIT",data:{initialState:n.value,loginMechanisms:o.value,socialProviders:c.value,signUpAttributes:s.value,services:a.value,formFields:u.value}}),m.value=!0)}).unsubscribe,S=Q(),{route:g,signOut:w,toSignIn:y,toSignUp:_,user:C}=r.toRefs(S);r.onMounted(()=>{d=TS({componentName:"Authenticator",packageName:"vue",version:gC})}),r.onUnmounted(()=>{d(),v()});const A=r.ref(),E=r.ref(),I=r.ref(),T=r.ref(),k=r.ref(),P=r.ref(),x=r.ref(),R=r.ref(),H=r.ref(),re=r.ref(),{getSignInTabText:se,getSignUpTabText:K}=oe,ie=r.computed(()=>se()),Se=r.computed(()=>K()),Re=r.computed(()=>g.value==="signIn"||g.value==="signUp"),te=r.computed(()=>["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","forgotPassword","setupTotp","signIn","signUp","verifyUser"].includes(g.value));return(U,Yr)=>{const X=mC,Ce=fC;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(te)?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0},U.$attrs,{"data-amplify-authenticator":"","data-variation":r.unref(i)}),[r.createElementVNode("div",fb,[r.renderSlot(U.$slots,"header"),r.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":r.unref(Re)?void 0:""},[r.unref(Re)&&!r.unref(l)?(r.openBlock(),r.createBlock(Ce,{key:0},{default:r.withCtx(()=>[r.createVNode(X,{active:r.unref(g)==="signIn",id:"signIn",label:r.unref(ie),onClick:r.unref(y)},null,8,["active","label","onClick"]),r.createVNode(X,{active:r.unref(g)==="signUp",id:"signUp",label:r.unref(Se),onClick:r.unref(_)},null,8,["active","label","onClick"])]),_:1})):r.createCommentVNode("",!0),r.unref(Re)?(r.openBlock(),r.createElementBlock("div",mb,[r.unref(g)==="signIn"?(r.openBlock(),r.createBlock(xr,{key:0,id:"signIn-panel",role:"tabpanel",class:"amplify-tabs__panel amplify-tabs__panel--active","aria-labelledby":"signIn-tab",ref_key:"signInComponent",ref:A},{signInSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-in")]),form:r.withCtx(({info:En,onSignInSubmit:Ta,onForgotPasswordClicked:Na,onInput:Pa})=>[r.renderSlot(U.$slots,"sign-in-form",{info:En,onInput:Pa,onSignInSubmit:Ta,onForgotPasswordClicked:Na})]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="signUp"&&!r.unref(l)?(r.openBlock(),r.createBlock($r,{key:1,id:"signUp-panel",class:"amplify-tabs__panel amplify-tabs__panel--active",role:"tabpanel","aria-labelledby":"signUp-tab",ref_key:"signUpComponent",ref:E},{signUpSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-up")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-up-header")]),"signup-fields":r.withCtx(({info:En})=>[r.renderSlot(U.$slots,"sign-up-fields",{info:En})]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0)])):r.createCommentVNode("",!0),r.unref(g)==="confirmSignUp"?(r.openBlock(),r.createBlock(Rr,{key:2,ref_key:"confirmSignUpComponent",ref:I},{confirmSignUpSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-up")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-up-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="forgotPassword"?(r.openBlock(),r.createBlock(zr,{key:3,ref_key:"ForgotPasswordComponent",ref:x},{forgotPasswordSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"forgot-password")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"forgot-password-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"forgot-password-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="confirmResetPassword"?(r.openBlock(),r.createBlock(jr,{key:4,ref_key:"confirmResetPasswordComponent",ref:R},{confirmResetPasswordSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-reset-password")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-reset-password-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-reset-password-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="confirmSignIn"?(r.openBlock(),r.createBlock(Or,{key:5,ref_key:"confirmSignInComponent",ref:T},{confirmSignInSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-in")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="setupTotp"?(r.openBlock(),r.createBlock(ub,{key:6,ref_key:"confirmSetupTotpComponent",ref:k},{confirmSetupTotpI:r.withCtx(()=>[r.renderSlot(U.$slots,"setup-totp")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"setup-totp-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"setup-totp-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="forceNewPassword"?(r.openBlock(),r.createBlock(Gr,{key:7,ref_key:"forceNewPasswordComponent",ref:P},{forceNewPasswordI:r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password-header")]),"force-new-password-form-fields":r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password-form-fields")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"force-new-password-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="verifyUser"?(r.openBlock(),r.createBlock(Wr,{key:8,ref_key:"verifyUserComponent",ref:H},{verifyUserSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"verify-user")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"verify-user-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"verify-user-footer")]),_:3},512)):r.createCommentVNode("",!0),r.unref(g)==="confirmVerifyUser"?(r.openBlock(),r.createBlock(Hr,{key:9,ref_key:"confirmVerifyUserComponent",ref:re},{confirmVerifyUserSlotI:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-verify-user")]),header:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-verify-user-header")]),footer:r.withCtx(()=>[r.renderSlot(U.$slots,"confirm-verify-user-footer")]),_:3},512)):r.createCommentVNode("",!0)],8,pb),r.renderSlot(U.$slots,"footer")])],16,db)):r.createCommentVNode("",!0),r.unref(g)==="authenticated"?r.renderSlot(U.$slots,"default",{key:1,user:r.unref(C),state:r.unref(h),signOut:r.unref(w),send:r.unref(p)}):r.createCommentVNode("",!0)],64)}}}),Aa=r.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Ea=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:c,type:l}=r.toRefs(t);return(u,d)=>{const m=wn,f=vn,p=Z;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(m,{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(c),disabled:e.disabled,type:r.unref(l)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),gb={class:"amplify-flex amplify-field amplify-checkboxfield"},hb={class:"amplify-flex amplify-checkbox"},yb={class:"amplify-visually-hidden"},vb=["data-error","data-checked"],wb=["data-checked"],_b=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Sb=[_b],Cb={class:"amplify-text amplify-checkbox__label"},bb={key:0,class:"amplify-text amplify-field__error-message"},Ia=r.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=r.ref(!1),o=r.ref(N("I agree with the Terms and Conditions")),{errorMessage:i}=r.toRefs(t);return(a,s)=>(r.openBlock(),r.createElementBlock("div",gb,[r.createElementVNode("label",hb,[r.createElementVNode("span",yb,[r.createElementVNode("input",{onClick:s[0]||(s[0]=c=>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},Sb,10,wb))],10,vb),r.createElementVNode("span",Cb,r.toDisplayString(o.value),1)]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",bb,r.toDisplayString(r.unref(i)),1))]))}});var Ab={install:e=>{e.component("SignIn",xr),e.component("SignUp",$r),e.component("FederatedSignIn",_n),e.component("Authenticator",ba),e.component("RenderInfo",Aa),e.component("PasswordControl",kr),e.component("ForceNewPassword",Gr),e.component("ForgotPassword",zr),e.component("ConfirmResetPassword",jr),e.component("ConfirmSignUp",Rr),e.component("ConfirmSignIn",Or),e.component("VerifyUser",Wr),e.component("ConfirmVerifyUser",Hr),e.component("AmplifyTextField",Ea),e.component("AmplifyCheckBox",Ia),e.component("AmplifyButton",ee),e.component("BaseFormField",ia),e.component("BaseFormFields",ge),e.component("AuthenticatorSignUpFormFields",Ur),e.component("AuthenticatorForceNewPasswordFormFields",Lr)}};exports.AmplifyButton=ee;exports.AmplifyCheckBox=Ia;exports.AmplifyTextField=Ea;exports.Authenticator=ba;exports.AuthenticatorForceNewPasswordFormFields=Lr;exports.AuthenticatorSignUpFormFields=Ur;exports.ConfirmResetPassword=jr;exports.ConfirmSignIn=Or;exports.ConfirmSignUp=Rr;exports.ConfirmVerifyUser=Hr;exports.FederatedSignIn=_n;exports.ForceNewPassword=Gr;exports.ForgotPassword=zr;exports.PasswordControl=kr;exports.RenderInfo=Aa;exports.SignIn=xr;exports.SignUp=$r;exports.VerifyUser=Wr;exports.default=Ab;exports.translations=zs;exports.useAuthenticator=Q;