@aws-amplify/ui-vue 4.2.3 → 4.2.4
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/components/alias-control.vue.d.ts +2 -70
- package/dist/components/alias-control.vue.d.ts.map +1 -1
- package/dist/components/authenticator-force-new-password-form-fields.vue.d.ts +2 -3
- package/dist/components/authenticator-force-new-password-form-fields.vue.d.ts.map +1 -1
- package/dist/components/authenticator-sign-up-form-fields.vue.d.ts +2 -3
- package/dist/components/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
- package/dist/components/authenticator.vue.d.ts +2 -32
- package/dist/components/authenticator.vue.d.ts.map +1 -1
- package/dist/components/confirm-reset-password.vue.d.ts +2 -3
- package/dist/components/confirm-reset-password.vue.d.ts.map +1 -1
- package/dist/components/confirm-sign-in.vue.d.ts +2 -3
- package/dist/components/confirm-sign-in.vue.d.ts.map +1 -1
- package/dist/components/confirm-sign-up.vue.d.ts +2 -3
- package/dist/components/confirm-sign-up.vue.d.ts.map +1 -1
- package/dist/components/confirm-verify-user.vue.d.ts +2 -3
- package/dist/components/confirm-verify-user.vue.d.ts.map +1 -1
- package/dist/components/federated-sign-in-button.vue.d.ts +2 -7
- package/dist/components/federated-sign-in-button.vue.d.ts.map +1 -1
- package/dist/components/federated-sign-in.vue.d.ts +2 -3
- package/dist/components/federated-sign-in.vue.d.ts.map +1 -1
- package/dist/components/force-new-password.vue.d.ts +2 -3
- package/dist/components/force-new-password.vue.d.ts.map +1 -1
- package/dist/components/forgot-password.vue.d.ts +2 -3
- package/dist/components/forgot-password.vue.d.ts.map +1 -1
- package/dist/components/password-control.vue.d.ts +2 -46
- package/dist/components/password-control.vue.d.ts.map +1 -1
- package/dist/components/primitives/amplify-button.vue.d.ts +2 -31
- package/dist/components/primitives/amplify-button.vue.d.ts.map +1 -1
- package/dist/components/primitives/amplify-check-box.vue.d.ts +2 -13
- package/dist/components/primitives/amplify-check-box.vue.d.ts.map +1 -1
- package/dist/components/primitives/amplify-text-field.vue.d.ts +2 -75
- package/dist/components/primitives/amplify-text-field.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-alert.vue.d.ts +2 -3
- package/dist/components/primitives/base-alert.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-field-set.vue.d.ts +2 -3
- package/dist/components/primitives/base-field-set.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-footer.vue.d.ts +2 -3
- package/dist/components/primitives/base-footer.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-form-field.vue.d.ts +2 -20
- package/dist/components/primitives/base-form-field.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-form-fields.vue.d.ts +2 -7
- package/dist/components/primitives/base-form-fields.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-form.vue.d.ts +2 -3
- package/dist/components/primitives/base-form.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-heading.vue.d.ts +2 -17
- package/dist/components/primitives/base-heading.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-input.vue.d.ts +2 -5
- package/dist/components/primitives/base-input.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-select.vue.d.ts +2 -17
- package/dist/components/primitives/base-select.vue.d.ts.map +1 -1
- package/dist/components/primitives/base-two-tab-item.vue.d.ts +2 -19
- package/dist/components/primitives/base-two-tab-item.vue.d.ts.map +1 -1
- package/dist/components/primitives/render-info.vue.d.ts +2 -9
- package/dist/components/primitives/render-info.vue.d.ts.map +1 -1
- package/dist/components/setup-totp.vue.d.ts +2 -3
- package/dist/components/setup-totp.vue.d.ts.map +1 -1
- package/dist/components/sign-in.vue.d.ts +2 -3
- package/dist/components/sign-in.vue.d.ts.map +1 -1
- package/dist/components/sign-up.vue.d.ts +2 -3
- package/dist/components/sign-up.vue.d.ts.map +1 -1
- package/dist/components/verify-user.vue.d.ts +2 -3
- package/dist/components/verify-user.vue.d.ts.map +1 -1
- package/dist/index.cjs +13 -12
- package/dist/index.js +7337 -9982
- package/dist/style.css +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +6 -9
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"),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 Zt=(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=Zt(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},Fa={apis:[L.InAppMessagingAction.NotifyMessageInteraction],category:L.Category.InAppMessaging},Da={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"],mt={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 Fn;(function(e){e.Apple="Apple",e.Amazon="Amazon",e.Facebook="Facebook",e.Google="Google"})(Fn||(Fn={}));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=>{const t=e.trim().split("");for(let n=0;n<t.length;n++)n>0&&n<t.length-1&&(t[n]="*");return t.join("")},os=e=>{if(e.length<4)return e;const t=e.split("");for(let n=0;n<t.length-4;n++)t[n]="*";return t.join("")},is=e=>{const t=e.split("@");return`${rs(t[0])}@${t[1]}`},as=(e,t)=>e==="Phone Number"?os(t):is(t),ss=e=>Ya.some(t=>e.includes(t)),cs=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function ls(e,...t){return Object.entries(e).reduce((n,[o,i])=>({...n,[o]:t.includes(o)?i:i==null?void 0:i.trim()}),{})}const us={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","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"},ds={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm MFA Code":"Confirm MFA Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your Email":"Enter your Email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},fs={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contrase\xF1a","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password.":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},ps={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your Email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xE9","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","Your passwords must match":"Vos mots de passe doivent \xEAtre identiques","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},ms={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your Email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},gs={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your Email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Apple":"Apple \u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Please confirm your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
|
|
2
|
-
+12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},hs={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your Email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},ys={"Account recovery requires verified contact information":"Gjenoppretting av konto krever verifisert kontaktinformajson","Add your Profile":"Legg til profilen din","Add your Website":"Legg til nettsiden din","Back to Sign In":"Tilbake til innlogging","Change Password":"Bytt passord",Changing:"Endre",Code:"Kode","Confirm Password":"Bekreft passordet","Confirm Sign Up":"Bekreft registrering","Confirm SMS Code":"Bekreft SMS-kode","Confirm TOTP Code":"Bekreft TOTP-kode",Confirm:"Bekreft","Confirmation Code":"Bekreftelseskode",Confirming:"Bekrefter","Create a new account":"Opprett en ny konto","Create Account":"Opprett konto","Creating Account":"Oppretter konto","Dismiss alert":"Avvis varsel",Email:"E-post","Enter your Birthdate":"Skriv inn f\xF8dselsdatoen din","Enter your code":"Skriv inn koden din","Enter your Confirmation Code":"Skriv inn bekreftelseskoden din","Enter your Email":"Skriv inn e-postadressen din","Enter your Family Name":"Skriv inn etternavnet ditt","Enter your Given Name":"Skriv inn fornavnet ditt","Enter your Middle Name":"Skriv inn mellomnavnet ditt","Enter your Name":"Skriv inn navnet ditt","Enter your Nickname":"Skriv inn kallenavnet ditt","Enter your Password":"Skriv inn passordet ditt","Enter your phone number":"Skriv inn telefonnummeret ditt","Enter your Preferred Username":"Skriv inn det foretrukne brukernavnet ditt","Enter your username":"Skriv inn brukernavnet ditt","Forgot password?":"Glemt passord?","Forgot your password?":"Glemt passordet ditt?","Hide password":"Skjul passordet","It may take a minute to arrive":"Det kan ta et minutt for \xE5 komme frem",Loading:"Laster inn","New password":"Nytt passord",or:"eller",Password:"Passord","Phone Number":"Telefonnummer","Please confirm your Password":"Vennligst bekreft passordet ditt","Resend Code":"Send koden p\xE5 nytt","Reset your password":"Nullstill passordet ditt","Reset your Password":"Nullstill passordet ditt","Send code":"Send kode","Send Code":"Send kode",Sending:"Sender","Setup TOTP":"Konfigurer TOTP","Show password":"Vis passordet","Sign in to your account":"Logg inn p\xE5 kontoen din","Sign In with Amazon":"Logg inn med Amazon","Sign In with Apple":"Logg inn med Apple","Sign In with Facebook":"Logg inn med Facebook","Sign In with Google":"Logg inn med Google","Sign in":"Logg inn","Sign In":"Logg inn","Signing in":"Logger inn",Skip:"Hopp over",Submit:"Send inn",Submitting:"Sender inn",Username:"Brukernavn","Verify Contact":"Bekreft kontakt",Verify:"Bekreft","We Emailed You":"Vi sendte deg en e-post","We Sent A Code":"Vi sendte en kode","We Texted You":"Vi sendte deg en tekstmelding","Your code is on the way. To log in, enter the code we emailed to":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte e-post til","Your code is on the way. To log in, enter the code we sent you":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte deg","Your code is on the way. To log in, enter the code we texted to":"Koden din er p\xE5 vei. For \xE5 logge inn, skriv inn koden vi sendte tekstmelding til","An account with the given email already exists.":"Det finnes allerede en konto med denne e-postadressen","Confirm a Code":"Bekreft koden","Confirm Sign In":"Bekreft innlogging","Create account":"Opprett konto","Enter your password":"Skriv inn passordet ditt","Forgot Password":"Glemt passordet","Have an account? ":"Har en konto allerede? ","Incorrect username or password":"Feil brukernavn eller passord","Invalid password format":"Ugyldig passordformat","Invalid phone number format":"Ugyldig telefonnummerformat","Lost your code? ":"Mistet koden? ","New Password":"Nytt passord","No account? ":"Ingen konto? ","Password attempts exceeded":"For mange mislykkede passordfors\xF8k","Reset password":"Nullstill passord","Sign Out":"Logg ut","Sign Up":"Registrering","User already exists":"Brukeren finnes allerede","User does not exist":"Brukeren finnes ikke","Username cannot be empty":"Brukernavnet kan ikke v\xE6re tomt"},vs={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your Email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"},ws={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your Email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},_s={"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"},Ss={"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"},Cs={"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"},bs={"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"},As={"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"},Es={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your Email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},Is={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your Email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05DB\u05D7\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},Ts={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your Email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},Ns={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_MFA_DEFAULT:"Confirm MFA 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"},Ps={...us},ks={...ds},xs={...fs},Us={...ps},$s={...ms},Rs={...gs},Jr={...hs},Os={...ys},Fs={...vs},Ds={...ws},Ms={..._s},Bs={...Ss},Vs={...Cs},Ls={...bs},Gs={...As},zs={...Es},js={...Is},Ws={...Ts},Hs={...Ns},$={...Hs};function T(e){return nr.I18n.get(e)}const Ys={de:Ps,en:ks,es:xs,fr:Us,id:Ls,it:$s,ja:Rs,kr:Jr,ko:Jr,nb:Os,nl:Fs,pl:Ds,pt:Ms,zh:Bs,sv:Vs,tr:Gs,ru:zs,he:js,ua:Ws},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},Ks=e=>{const t={...e};for(const[n,o]of Object.entries(e)){const{label:i,placeholder:a}=o;t[n]={...o,label:i?T(i):void 0,placeholder:a?T(a):void 0}}return t},qs=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),Js="+1",Ee=e=>{let t=mt[e];const{type:n}=t;return n==="tel"&&(t={...t,dialCode:Js}),t},Qt=e=>{const t=ir(e);return{...Ee(t),autocomplete:"username"}},Dt=e=>({confirmation_code:{...Ee("confirmation_code"),label:"Code *",placeholder:"Code"}}),Zs=e=>({username:{...Qt(e)},password:{...Ee("password"),autocomplete:"current-password"}}),Qs=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},Xs=e=>({confirmation_code:{...Ee("confirmation_code"),placeholder:"Enter your code"}}),ec=e=>{const t=ir(e),{label:n}=mt[t];return{username:{...Qt(e),label:`Enter your ${n.toLowerCase()}`,placeholder:`Enter your ${n.toLowerCase()}`}}},tc=e=>({...Dt(),password:{...Ee("password"),label:"New Password",placeholder:"New Password"},confirm_password:{...Ee("confirm_password"),label:"Confirm Password",placeholder:"Confirm Password"}}),nc=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},rc={signIn:Zs,signUp:Qs,confirmSignUp:Xs,confirmSignIn:Dt,forceNewPassword:nc,forgotPassword:ec,confirmResetPassword:tc,confirmVerifyUser:Dt,setupTotp:Dt},oc=(e,t)=>{const n=rc[e];return n(t)},ic=(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={...mt[s],...c};return{...a,[s]:u}}else return{...a,[s]:c}},{})},ac=(e,t)=>{const n=oc(e,t),o=ic(e,t),i={...n,...o};return delete i.QR,Ks(i)},sc=e=>e.map(t=>{const n=t[0],o={...t[1],order:void 0};return[n,o]}),cc=(e,t)=>{const n=ac(e,t);return sc(qs(n))},lc=e=>{switch(e){case"SMS_MFA":return T($.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return T($.CONFIRM_TOTP);default:return T($.CONFIRM_MFA_DEFAULT)}},uc=e=>{const{DeliveryMedium:t,Destination:n}=e!=null?e:{},o=t==="EMAIL",i=t==="SMS",a=T($.CODE_ARRIVAL);return o||i?`${T(o?$.CODE_EMAILED:$.CODE_TEXTED)} ${n}. ${a}.`:`${T($.CODE_SENT)}. ${a}.`},dc=e=>{const{DeliveryMedium:t}=e!=null?e:{},n=t==="EMAIL";return T(!n&&t==="SMS"?$.WE_SENT_CODE:n?$.WE_EMAILED:$.WE_TEXTED)},fc={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},pc=(e,t)=>T(`Sign ${e==="signIn"?"In":"Up"} with ${fc[t]}`),ie={getBackToSignInText:()=>T($.BACK_SIGN_IN),getChangePasswordText:()=>T($.CHANGE_PASSWORD),getChangingText:()=>T($.CHANGING_PASSWORD),getConfirmText:()=>T($.CONFIRM),getConfirmingText:()=>T($.CONFIRMING),getCopyText:()=>T($.UPPERCASE_COPY),getHidePasswordText:()=>T($.HIDE_PASSWORD),getLoadingText:()=>T($.LOADING),getOrText:()=>T($.OR),getResendCodeText:()=>T($.RESEND_CODE),getSendCodeText:()=>T($.SEND_CODE),getSendingText:()=>T($.SENDING),getShowPasswordText:()=>T($.SHOW_PASSWORD),getSubmitText:()=>T($.SUBMIT),getSubmittingText:()=>T($.SUBMITTING),getSignInTabText:()=>T($.SIGN_IN_TAB),getSignUpTabText:()=>T($.CREATE_ACCOUNT),getForgotPasswordText:e=>T(e?$.FORGOT_PASSWORD:$.FORGOT_YOUR_PASSWORD),getSigningInText:()=>T($.SIGNING_IN_BUTTON),getSignInText:()=>T($.SIGN_IN_BUTTON),getCreatingAccountText:()=>T($.CREATING_ACCOUNT),getCreateAccountText:()=>T($.CREATE_ACCOUNT),getDeliveryMessageText:uc,getDeliveryMethodText:dc,getChallengeText:lc,getResetYourPasswordText:()=>T($.RESET_PASSWORD),getSetupTotpText:()=>T($.SETUP_TOTP),getSetupTotpInstructionsText:()=>T("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."),getCopiedText:()=>T("COPIED"),getSignInWithFederationText:pc,getSkipText:()=>T($.SKIP),getVerifyText:()=>T($.VERIFY),getVerifyContactText:()=>T($.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>T($.VERIFY_HEADING),getInvalidEmailText:()=>T("Please enter a valid email"),getRequiredFieldText:()=>T("This field is required")};/*! *****************************************************************************
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),nr=require("aws-amplify/utils"),H=require("aws-amplify/auth"),L=require("@aws-amplify/core/internals/utils"),Ua=require("aws-amplify"),fe=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)])}}),pe=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)])}}),tn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},$a={};function Ra(e,t){return r.openBlock(),r.createElementBlock("div",null,[r.renderSlot(e.$slots,"default")])}const X=tn($a,[["render",Ra]]),Oa=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ne=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,Oa)])}}),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},Da={apis:[L.AuthAction.DeleteUser,L.AuthAction.UpdatePassword],category:L.Category.Auth},Fa={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},Ma={apis:[L.InAppMessagingAction.NotifyMessageInteraction],category:L.Category.InAppMessaging},Ba={category:L.Category.Geo,apis:[L.GeoAction.SearchByText,L.GeoAction.SearchForSuggestions,L.GeoAction.SearchByPlaceId]},Va={category:L.Category.Geo,apis:[]},La={apis:[L.StorageAction.UploadData],category:L.Category.Storage};function yt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Jo(e){return typeof e=="string"||typeof e=="object"&&Object.prototype.toString.call(e)==="[object String]"}function Ga(e){return yt(e)&&Object.prototype.toString.call(e)==="[object Map]"}function za(e){return yt(e)&&Object.prototype.toString.call(e)==="[object Set]"}function Zo(e){if(e==null)return!0;if(yt(e)&&(Ga(e)||za(e)))return!e.size;if(yt(e)&&(Jo(e)||Array.isArray(e)))return!e.length;for(const t in e)if(Wa(e,t))return!1;return!0}function ja(e){return yt(e)&&Zo(e)}function Wa(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}function qr(e){return typeof e=="function"}function Ha(...e){}const Qo=({payload:e},t,n)=>{const{event:o}=e,{send:i}=t,{onSignIn:a,onSignOut:s}=n??{};switch(o){case"signedIn":{qr(a)&&a(e);break}case"signInWithRedirect":{i("SIGN_IN_WITH_REDIRECT");break}case"signedOut":case"tokenRefresh_failure":{o==="signedOut"&&qr(s)&&s(),i("SIGN_OUT");break}}},Ya=(e,t=Qo)=>{const n=o=>t(o,e);return nr.Hub.listen("auth",n,"authenticator-hub-handler")},Ka=["+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"],vt={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:Ka,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}},qa=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],Ja=(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}},Za=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;const t=or(e)??{},{challengeName:n,codeDeliveryDetails:o,remoteError:i,validationError:a,totpSecretCode:s=null,unverifiedUserAttributes:c,username:l}=t,{socialProviders:u=[]}=((g=e.context)==null?void 0:g.config)??{},d=(t==null?void 0:t.user)??((w=e.context)==null?void 0:w.user),m=!!(a&&Object.keys(a).length>0),f=rr(e),p=e.hasTag("pending")||(f==null?void 0:f.hasTag("pending")),h=Ja(e,f);return{authStatus:(y=>{switch(y){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}},Xa=({send:e,state:t})=>{const n=Za(e),o=Qa(t);return{...n,...o}};var Bn;(function(e){e.Apple="Apple",e.Amazon="Amazon",e.Facebook="Facebook",e.Google="Google"})(Bn||(Bn={}));var Jr;(function(e){e.Email="email",e.PhoneNumber="phone_number"})(Jr||(Jr={}));const es=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],ts=["username","email","phone_number"],Xo=[...ts,...es,"confirmation_code","password","confirm_password"],ns=e=>Xo.includes(e),me=e=>{const t=new FormData(e.target);return Object.fromEntries(t)},ei=e=>Xo.includes(e),rs=e=>Array.isArray(e),os=e=>e?rs(e)?e:[e]:null,is=e=>{const t=e.trim().split("");for(let n=0;n<t.length;n++)n>0&&n<t.length-1&&(t[n]="*");return t.join("")},as=e=>{if(e.length<4)return e;const t=e.split("");for(let n=0;n<t.length-4;n++)t[n]="*";return t.join("")},ss=e=>{const t=e.split("@");return`${is(t[0])}@${t[1]}`},cs=(e,t)=>e==="Phone Number"?as(t):ss(t),ls=e=>qa.some(t=>e.includes(t)),us=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function ds(e,...t){return Object.entries(e).reduce((n,[o,i])=>({...n,[o]:t.includes(o)?i:i==null?void 0:i.trim()}),{})}const fs={"Account recovery requires verified contact information":"Zurücksetzen des Account benötigt einen verifizierten Account","Back to Sign In":"Zurück zur Anmeldung","Change Password":"Passwort ändern",Changing:"Ändern von",Code:"Code","Confirm Password":"Passwort bestätigen","Please confirm your Password":"Bitte bestätigen Sie Ihr Passwort","Confirm Sign Up":"Registrierung bestätigen","Confirm SMS Code":"SMS-Code bestätigen","Confirm TOTP Code":"TOTP-Code bestätigen",Confirm:"Bestätigen","Confirmation Code":"Bestätigungs-Code",Confirming:"Wird bestätigt","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ücksetzen des Passwort","Reset your password":"Zurücksetzen 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:"Überspringen",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ätigen","Confirm Sign In":"Anmeldung bestätigen","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ültiges Passwort-Format","Invalid phone number format":"Ungültiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es könnte 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ücksetzen","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ätigungscode 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ätigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},ps={"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 MFA Code":"Confirm MFA 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"},ms={"Account recovery requires verified contact information":"La recuperación de la cuenta requiere información de contacto verificada","Back to Sign In":"Volver a inicio de sesión","Change Password":"Cambiar contraseña",Changing:"Cambiando",Code:"Código","Confirm Password":"Confirmar contraseña","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el código de SMS","Confirm TOTP Code":"Confirmar código TOTP",Confirm:"Confirmar","Confirmation Code":"Código de confirmación",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ódigo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contraseña","Enter your phone number":"Ingrese el número de teléfono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"¿Olvidó su contraseña?","Hide password":"Ocultar contraseña","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contraseña",or:"o",Password:"Contraseña","Phone Number":"Número de teléfono","Resend Code":"Reenviar código","Reset your password":"Restablecer su contraseña","Reset your Password":"Restablecer su Contraseña","Send code":"Enviar código","Send Code":"Enviar código",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contraseña","Sign in to your account":"Iniciar sesión en tu cuenta","Sign In with Amazon":"Iniciar Sesión con Amazon","Sign In with Apple":"Iniciar Sesión con Apple","Sign In with Facebook":"Iniciar Sesión con Facebook","Sign In with Google":"Iniciar Sesión con Google","Sign in":"Iniciar sesión","Sign In":"Iniciar Sesión","Signing in":"Iniciando sesión",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ónico","We Sent A Code":"Hemos enviado un código","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ódigo está en camino. Para iniciar sesión, escriba el código que hemos enviado por correo electrónico a","Your code is on the way. To log in, enter the code we sent you":"El código está en camino. Para iniciar sesión, escriba el código que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El código está en camino. Para iniciar sesión, escriba el código 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ódigo","Confirm Sign In":"Confirmar inicio de sesión","Forgot Password":"Olvidé mi contraseña","Incorrect username or password.":"Nombre de usuario o contraseña incorrecta","Invalid password format":"Formato de contraseña inválido","Invalid phone number format":"Formato de número de teléfono inválido","Loading...":"Cargando...","New Password":"Nueva contraseña","Resend a Code":"Reenviar un código","Sign Out":"Cerrar sesión","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ío","Your passwords must match":"Las contraseñas deben coincidir"},gs={"Account recovery requires verified contact information":"La récupération du compte nécessite des informations de contact vérifiées","Back to Sign In":"Retour à 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éer un nouveau compte","Create Account":"Créer un compte","Creating Account":"Création 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éro de téléphone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oublié ? ","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éro de téléphone","Resend Code":"Renvoyer le code","Reset your Password":"Réinitialiser votre mot de passe","Reset your password":"Réinitialisez 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 à 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érifier le contact",Verify:"Vérifier","We Sent A Code":"Nous avons envoyé un code","We Texted You":"Nous vous avons envoyé 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é","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe déjà.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Créer un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oublié","Have an account? ":"Déjà 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éro de téléphone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur réseau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"Réinitialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"Déconnexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe déjà","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit être renseigné","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoyé 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çu 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çu sur ce numéro de téléphone","Your passwords must match":"Vos mots de passe doivent être identiques","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},hs={"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 è 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 è 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 è in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email è già 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à 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 è stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente già esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non può essere vuoto"},ys={"Account recovery requires verified contact information":"アカウントの復旧には確認済みの連絡先が必要です","Back to Sign In":"サインインに戻る","Change Password":"パスワードを変える ",Changing:"変更中",Code:"コード","Confirm Password":"パスワードの確認","Confirm Sign Up":"登録する","Confirm SMS Code":"SMS コードを確認","Confirm TOTP Code":"TOTP コードを確認",Confirm:"確定","Confirmation Code":"確認コード",Confirming:"確認中","Create a new account":"新しいアカウントを作る","Create Account":"アカウントを作る","Creating Account":"アカウントの作成中","Dismiss alert":"アラートを閉じる",Email:"メールアドレス","Enter your code":"コードを入力","Enter your Email":"メールアドレスを入力","Enter your phone number":"電話番号を入力","Enter your username":"ユーザー名を入力 ","Forgot your password?":"パスワードを忘れましたか? ","Hide password":"パスワードを非表示","It may take a minute to arrive":"到着するまでに 1 分かかることがあります。",Loading:"ロード中","New password":"新しいパスワード",or:"又は",Password:"パスワード ","Phone Number":"電話番号","Resend Code":"コードを再送信","Reset your Password":"パスワードをリセット","Reset your password":"パスワードをリセットする","Send code":"コードを送信","Send Code":"コードを送信",Sending:"送信中","Setup TOTP":"TOTP をセットアップ","Show password":"パスワードを表示","Sign in to your account":"アカウントにサインイン ","Sign In with Amazon":"Amazonでサインイン","Sign In with Apple":"Apple でサインイン","Sign In with Facebook":"Facebookでサインイン","Sign In with Google":"Googleでサインイン","Sign In":"サインイン ","Sign in":"サインイン","Signing in":"サインイン中",Skip:"スキップ",Submit:"送信",Submitting:"送信中",Username:"ユーザー名 ","Verify Contact":"連絡先を確認",Verify:"確認","We Sent A Code":"コードが送信されました","We Texted You":"テキストが送信されました","Your code is on the way. To log in, enter the code we sent you":"コードが途中です。ログインするには、送信したコードを入力してください。","An account with the given email already exists.":"入力されたメールアドレスのアカウントが既に存在します","Confirm a Code":"コードを確認","Confirm Sign In":"サインインする","Create account":"アカウントを作る ","Enter your password":"パスワードを入力 ","Enter your Password":"パスワードを入力","Please confirm your Password":"パスワードを入力","Forgot Password":"パスワードを忘れた ","Have an account? ":"アカウントを持っていますか?","Incorrect username or password":"ユーザー名かパスワードが異なります ","Invalid password format":"パスワードの形式が無効です ","Invalid phone number format":`不正な電話番号の形式です。
|
|
2
|
+
+12345678900 の形式で入力してください`,"It may take a minute to arrive.":"コードを受信するまで数分かかる場合があります。","Lost your code? ":"コードを失くしましたか?","New Password":"新しいパスワード","No account? ":"アカウントが無いとき ","Password attempts exceeded":"サインインの試行回数が上限に達しました","Reset password":"パスワードをリセット ","Reset Password":"パスワードをリセット","Sign Out":"サインアウト ","Sign Up":"登録 ","User already exists":"既にユーザーが存在しています ","User does not exist":"ユーザーが存在しません ","Username cannot be empty":"ユーザー名は入力必須です","We Emailed 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 texted to":"ログインするには、テキストメッセージに記載されたコードを入力してください。送信先:"},vs={"Account recovery requires verified contact information":"계정 복구를 위해 연락처 확인이 필요합니다","Back to Sign In":"로그인으로 돌아가기","Change Password":"비밀번호 변경하기",Changing:"변경중",Code:"코드","Confirm Password":"비밀번호 재확인","Confirm Sign Up":"회원가입 확인","Confirm SMS Code":"휴대폰 본인 확인","Confirm TOTP Code":"TOTP 인증번호 확인",Confirm:"확인","Confirmation Code":"인증번호",Confirming:"확인중","Create a new account":"회원가입","Create Account":"회원가입","Creating Account":"회원가입중","Dismiss alert":"알림 무시",Email:"이메일","Enter your code":"인증번호를 입력해주세요","Enter your Email":"이메일 입력","Enter your phone number":"전화번호 입력","Enter your username":"아이디를 입력해주세요","Hide password":"비밀번호 숨기기","It may take a minute to arrive":"도착하는 데 1분 정도 걸릴 수 있습니다",Loading:"로딩중","New password":"새 비밀번호",or:"또는",Password:"비밀번호","Phone Number":"전화번호","Resend Code":"인증번호 재전송","Reset your password":"비밀번호 재설정","Reset your Password":"비밀번호 재설정","Send code":"인증코드 보내기","Send Code":"코드 전송",Sending:"전송중","Setup TOTP":"TOTP 설정하기","Show password":"비밀번호 보이기","Sign in to your account":"로그인","Sign In with Amazon":"Amazon 로그인","Sign In with Apple":"Apple 로그인","Sign In with Facebook":"Facebook 로그인","Sign In with Google":"Google 로그인","Sign in":"로그인","Sign In":"로그인","Signing in":"로그인중",Skip:"다음에 하기",Submit:"확인",Submitting:"확인중",Username:"아이디","Verify Contact":"연락처 확인",Verify:"인증","We Emailed You":"이메일을 보냄","We Sent A Code":"코드를 보냄","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 sent you":"코드가 전송 중입니다. 로그인하려면 전송한 코드를 입력하세요","Your code is on the way. To log in, enter the code we texted to":"코드가 전송 중입니다. 로그인하려면 문자 메시지로 전송한 코드를 입력하세요",Birthdate:"생년월일","Family Name":"성","Forgot your password?":"비밀번호를 잊으셨나요?","Given Name":"이름",Name:"성함",Nickname:"닉네임","Preferred Username":"닉네임",Profile:"프로필","Reset Password":"비밀번호 재설정",Website:"웹사이트"},ws={"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ødselsdatoen 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 å 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å 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å 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å vei. For å 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å vei. For å 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å vei. For å 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øk","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ære tomt"},_s={"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"},Ss={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powrót do logowania","Change Password":"Zmień hasło",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierdź Hasło","Confirm Sign Up":"Potwierdź rejestrację","Confirm SMS Code":"Potwierdź kod SMS","Confirm TOTP Code":"Potwierdź hasło jednorazowe",Confirm:"Potwierdź","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utwórz nowe konto","Create Account":"Utwórz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzuć alert",Email:"E-mail","Enter your code":"Wprowadź swój kod","Enter your Email":"Wpisz swój adres e-mail","Enter your phone number":"Wpisz swój numer telefonu","Enter your username":"Wprowadź swoją nazwę użytkownika","Forgot your password?":"Zapomniałeś hasła? ","Hide password":"Ukryj hasło","It may take a minute to arrive":"Może to chwilę potrwać",Loading:"Ładowanie","New password":"Nowe hasło",or:"albo",Password:"Hasło","Phone Number":"Numer telefonu","Resend Code":"Wyślij kod ponownie","Reset your password":"Zresetuj swoje hasło","Reset your Password":"Zresetuj swoje hasło","Send code":"Wyślij kod","Send Code":"Zresetuj hasło",Sending:"Wysyłanie","Setup TOTP":"Konfiguruj TOTP","Show password":"Pokaż hasło","Sign in to your account":"Zaloguj się 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ń",Submit:"Wyślij",Submitting:"Wysyłanie",Username:"Nazwa użytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imię","Middle Name":"Drugie imię",Name:"Imię i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa użytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wysłaliśmy Ci wiadomość e-mail","We Sent A Code":"Wysłaliśmy kod","We Texted You":"Wysłaliśmy Ci wiadomość SMS","Your code is on the way. To log in, enter the code we emailed to":"Twój kod został wysłany. Aby się zalogować, wprowadź kod wysłany na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Twój kod został wysłany. Aby się zalogować, wprowadź wysłany do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Twój kod został wysłany. Aby się zalogować, wprowadź kod wysłany do Ciebie w wiadomości SMS pod numer"},Cs={"Account recovery requires verified contact information":"A recuperação da conta requer informações de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"Código","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscrição","Confirm SMS Code":"Confirme o código SMS","Confirm TOTP Code":"Confirme o código TOTP",Confirm:"confirme","Confirmation Code":"Código de confirmação",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ódigo","Enter your Email":"Digite seu e-mail","Enter your phone number":"Digite seu número de telefone","Enter your username":"entre com seu nome de usuário","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úmero de telefone","Resend Code":"Reenviar código","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar código","Send Code":"Enviar código",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Faça 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ça login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usuário","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para você","We Sent A Code":"Enviamos um código","We Texted You":"Enviamos um SMS para você","Your code is on the way. To log in, enter the code we emailed to":"Seu código está a caminho. Para fazer login, insira o código para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu código está a caminho. Para fazer login, insira o código que enviamos para você","Your code is on the way. To log in, enter the code we texted to":"Seu código está a caminho. Para fazer login, insira o código para o qual enviamos uma mensagem de texto"},bs={"Account recovery requires verified contact information":"账户恢复需要验证过的联系方式","Back to Sign In":"回到登录","Change Password":"更改密码",Changing:"正在修改",Code:"确认码","Confirm Password":"确认密码","Confirm Sign Up":"确认注册","Confirm SMS Code":"确认短信验证码","Confirm TOTP Code":"确认 TOTP 代码",Confirm:"确认","Confirmation Code":"确认码",Confirming:"正在确认","Create a new account":"创建新账户","Create Account":"创建账户","Creating Account":"正在创建账户","Dismiss alert":"关闭警报",Email:"邮箱","Enter your code":"输入验证码","Enter your Email":"输入电子邮件","Enter your phone number":"输入电话号码","Enter your username":"输入用户名","Forgot your password?":"忘记密码了?","Hide password":"隐藏密码","It may take a minute to arrive":"可能需要一分钟才能到达",Loading:"正在加载","New password":"新密码",or:"或者",Password:"密码","Phone Number":"电话","Resend Code":"重发验证码","Reset your password":"重置密码","Reset your Password":"重置密码","Send Code":"发送确认码","Send code":"发送验证码",Sending:"正在发送","Setup TOTP":"设置 TOTP","Show password":"显示密码","Sign in to your account":"登录账户","Sign In with Amazon":"通过 Amazon 登录","Sign In with Apple":"通过 Apple 登录","Sign In with Facebook":"通过 Facebook 登录","Sign In with Google":"通过 Google 登录","Sign in":"登录","Sign In":"登录","Signing in":"正在登录",Skip:"跳过",Submit:"提交",Submitting:"正在提交",Username:"用户名","Verify Contact":"验证联系方式",Verify:"验证","We Emailed You":"我们给您发送了电子邮件","We Sent A Code":"我们发送了代码","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 sent you":"您的代码正在发送中。要登录,请输入我们发送给您的代码","Your code is on the way. To log in, enter the code we texted to":"您的代码正在发送中。要登录,请输入我们通过短信发送给以下人员的代码:","Confirm a Code":"确认码","Confirm Sign In":"确认登录","Forgot Password":"忘记密码","Incorrect username or password":"用户名或密码错误","Invalid password format":"密码格式错误","Invalid phone number format":"电话格式错误,请使用格式 +12345678900","New Password":"新密码","Resend a Code":"重发确认码","Sign Out":"退出","Sign Up":"注册","User already exists":"用户已经存在","User does not exist":"用户不存在"},As={"Account recovery requires verified contact information":"För att återställa kontot behöver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt lösenord",Changing:"Ändra",Code:"Kod","Confirm Password":"Bekräfta lösenord","Confirm Sign Up":"Bekräfta registrering","Confirm SMS Code":"Bekräfta SMS-kod","Confirm TOTP Code":"Bekräfta TOTP-kod",Confirm:"Bekräfta","Confirmation Code":"Verifikationskod",Confirming:"Bekräftar","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ändarnamn","Forgot your password?":"Glömt ditt lösenord? ","Hide password":"Dölj lösenord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt lösenord",or:"eller",Password:"Lösenord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"Återställ ditt lösenord","Reset your Password":"Återställ ditt lösenord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa lösenord","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 över",Submit:"Skicka",Submitting:"Skickar in",Username:"Användarnamn","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 är på väg. För 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 är på väg. För 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 är på väg. För 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äfta koden","Confirm Sign In":"Bekräfta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt lösenord","Forgot Password":"Glömt lösenordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt användarnamn eller lösenord","Invalid password format":"Ogiltigt lösenordsformat","Invalid phone number format":"Ogiltigt format för telefonnummer","Lost your code? ":"Förlorat koden? ","New Password":"Nytt lösenord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsförsök har uppnåtts","Reset password":"Återställ lösenord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Användaren finns redan","User does not exist":"Användaren finns inte","Username cannot be empty":"Användarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},Es={"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"},Is={"Account recovery requires verified contact information":"Hesap kurtarma, doğrulanmış iletişim bilgilerini gerektirir","Back to Sign In":"Oturum Açmaya Geri Dön","Change Password":"Şifreyi Değiştir",Changing:"Değiştiriliyor",Code:"Kod","Confirm Password":"Şifreyi Doğrula","Confirm Sign Up":"Kayıt İşlemini Doğrula","Confirm SMS Code":"SMS Kodunu Doğrula","Confirm TOTP Code":"Tek Kullanımlık Şifreyi Doğrula",Confirm:"Doğrula","Confirmation Code":"Doğrulama Kodu",Confirming:"Doğrulanıyor","Create a new account":"Yeni bir hesap oluştur","Create Account":"Hesap Oluştur","Creating Account":"Hesap Oluşturuluyor","Dismiss alert":"Uyarıyı reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your Email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaranızı girin","Enter your username":"Kullanıcı adınızı girin","Forgot your password?":"Şifrenizi mi unuttunuz?","Hide password":"Şifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika sürebilir",Loading:"Yükleniyor","New password":"Yeni şifre",or:"veya",Password:"Şifre","Phone Number":"Telefon Numarası","Resend Code":"Kodu Yeniden Gönder","Reset your password":"Şifrenizi sıfırlayın","Reset your Password":"Şifrenizi Sıfırlayın","Send code":"Kod gönder","Send Code":"Kod Gönder",Sending:"Gönderiliyor","Setup TOTP":"Tek kullanımlık şifre kurulumu yap","Show password":"Şifreyi göster","Sign in to your account":"Hesabınızda oturum açın","Sign In with Amazon":"Amazon ile Oturum Aç","Sign In with Apple":"Apple ile Oturum Aç","Sign In with Facebook":"Facebook ile Oturum Aç","Sign In with Google":"Google ile Oturum Aç","Sign in":"Oturum aç","Sign In":"Oturum Aç","Signing in":"Oturum açılıyor",Skip:"Atla",Submit:"Gönder",Submitting:"Gönderiliyor",Username:"Kullanıcı adı","Verify Contact":"Kişiyi Doğrula",Verify:"Doğrula","We Emailed You":"Size E-posta Gönderdik","We Sent A Code":"Bir Kod Gönderdik","We Texted You":"Size Mesaj Gönderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum açmak için, gönderdiğimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum açmak için, size gönderdiğimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum açmak için, gönderdiğimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum Açmayı Doğrula","Have an account? ":"Hesabınız var mı? ","Incorrect username or password":"Yanlış kullanıcı adı ya da şifre","Invalid password format":"Geçersiz parola formatı","Invalid phone number format":"Geçersiz telefon numarası formatı","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesabınız yok mu? ","Password attempts exceeded":"Maksimum oturum açma girişimi aşıldı","Sign Out":"Çıkış yap","Sign Up":"Kayıt Ol","User already exists":"Bu kullanıcı zaten var","User does not exist":"Böyle bir kullanıcı mevcut değil","Username cannot be empty":"Kullanıcı adı boş olamaz"},Ts={"Account recovery requires verified contact information":"Восстановление учетной записи требует проверки контактной информации","Back to Sign In":"Назад, чтобы войти","Change Password":"изменять пароль",Changing:"Изменение",Code:"Код","Confirm Password":"Подтверждение пароля","Confirm Sign Up":"Подтверждение зарегистрироваться","Confirm SMS Code":"Подтверждение CMC-Код","Confirm TOTP Code":"Подтверждение TOTP-Код",Confirm:"Подтверждать","Confirmation Code":"код подтверждения",Confirming:"подтверждение","Create a new account":"Создавать новую учетную запись","Create Account":"Создать учетную запись","Creating Account":"создание учетная запись","Dismiss alert":"Закрыть оповещение",Email:"электронная почта","Enter your code":"ввести ваш Код","Enter your Email":"ввести ваш электронная почта","Enter your phone number":"ввести ваш номер телефона","Enter your username":"ввести ваш имя пользователя","Forgot your password?":"Забыли ваш пароль?","Hide password":"Скрывать пароль","It may take a minute to arrive":"Доставка может занять некоторое время",Loading:"Загрузка","New password":"Новый пароль",or:"или",Password:"Пароль","Phone Number":"Номер телефона","Resend Code":"Отправь еще раз Код","Reset your password":"сброс ваш пароль","Reset your Password":"сброс ваш Пароль","Send code":"Отправлять Код","Send Code":"Отправлять Код",Sending:"отправка","Setup TOTP":"Настраивать TOTP","Show password":"Показывать пароль","Sign in to your account":"знак в свой аккаунт","Sign In with Amazon":"знак в с Amazon","Sign In with Apple":"знак в с Apple","Sign In with Facebook":"знак в с Facebook","Sign In with Google":"знак в с Google","Sign in":"знак в","Sign In":"знак в","Signing in":"подписание в",Skip:"Пропускать",Submit:"Представлять на рассмотрение",Submitting:"Представив",Username:"Имя пользователя","Verify Contact":"Проверить контакт",Verify:"Проверить","We Emailed You":"Мы отправили вам электронное письмо","We Sent A Code":"Мы отправили код","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 sent you":"Ваш код отправлен. Чтобы войти в систему, введите код, который мы послали вам","Your code is on the way. To log in, enter the code we texted to":"Ваш код отправлен. Чтобы войти в систему, введите код, который мы отправили текстовым сообщением"},Ns={"Account recovery requires verified contact information":"שחזור לקוח דורש עוד מידע","Back to Sign In":"חזור להרשמה","Change Password":"עדכון סיסמא",Changing:"מעדכן",Code:"קוד","Confirm Password":"אשר סיסמא","Confirm Sign Up":"אשר הרשמה","Confirm SMS Code":"אשר sms קוד","Confirm TOTP Code":"אשר totp קוד",Confirm:"אישור","Confirmation Code":"אישור קוד",Confirming:"מאשר","Create a new account":"צור משתמש חדש","Create Account":"צור משתמש","Creating Account":"יצירת משתמש","Dismiss alert":"הסר התראה",Email:"אימייל","Enter your code":"הכנס את הקוד","Enter your Email":"הכנס את המייל שלך","Enter your phone number":"הכנס את מספר הטלפון שלך","Enter your username":"הכנס את שם המתמש שלך","Forgot your password?":"שכחת סיסמא ?","Hide password":"הסתר סיסמא",Loading:"טוען","New password":"סיסמא חדשה",or:"אוֹ",Password:"סיסמא","Phone Number":"מספר טלפון","Resend Code":"שלח קוד שוב","Reset your password":"אפס סיסמא","Reset your Password":"אפס סיסמא","Send code":"שלח קוד","Send Code":"שלח קוד",Sending:"שולח","Setup TOTP":"Setup TOTP","Show password":"הצג סיסמא","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":"התחבר","Signing in":"מתחבר",Skip:"דלג",Submit:"שלח",Submitting:"שולח",Username:"שם משתמש","Verify Contact":"אמת איש קשר",Verify:"אמת"},Ps={"Account recovery requires verified contact information":"Відновлення облікового запису потребує контактної інформації","Back to Sign In":"Назад на сторінку входу","Change Password":"Змінити пароль",Changing:"Змінюємо",Code:"Код","Confirm Password":"Підтвердіть пароль","Confirm Sign Up":"Підтвердіть реєстрацію","Confirm SMS Code":"Підтвердіть SMS код","Confirm TOTP Code":"Підтвердіть TOTP код",Confirm:"Підтвердити","Confirmation Code":"Код підтвердження",Confirming:"Підтверджуємо","Create a new account":"Зареєструватися","Create Account":"Зареєструватися","Creating Account":"Реєструємо","Dismiss alert":"Відхилити сповіщення",Email:"Email","Enter your code":"Введіть код","Enter your Email":"Введіть ваш email","Enter your phone number":"Введіть ваш номер телефону","Enter your username":"Введіть ваше імʼя користувача","Forgot password?":"Забули пароль?","Forgot your password?":"Забули ваш пароль?","Hide password":"Сховати пароль","It may take a minute to arrive":"Доставка може тривати хвилину",Loading:"Загружаємо","New password":"Новий пароль",or:"або",Password:"Пароль","Phone Number":"Номер Телефону","Resend Code":"Відправити код повторно","Reset your password":"Скинути пароль","Reset your Password":"Скинути пароль","Send code":"Відправити код","Send Code":"Відправити код",Sending:"Відправляємо","Setup TOTP":"Налаштувати TOTP","Show password":"Показати пароль","Sign in to your account":"Увійти у ваш обліковий запис","Sign In with Amazon":"Увійти з Amazon","Sign In with Apple":"Увійти з Apple","Sign In with Facebook":"Увійти з Facebook","Sign In with Google":"Увійти з Google","Sign in":"Увійти","Sign In":"Увійти","Signing in":"Входимо",Skip:"Пропустити",Submit:"Відправити",Submitting:"Відправляємо",Username:"Імʼя користувача","Verify Contact":"Підтвердити Контакт",Verify:"Підтвердити","We Emailed You":"Ми відправили вам Email","We Sent A Code":"Ми відправили код","We Texted You":"Ми відправили вам текстове повідомлення","Your code is on the way. To log in, enter the code we emailed to":"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми відправили вам на Email","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":"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми відправили вам текстовим повідомленням","An account with the given email already exists.":"Обліковий запис з цим Email вже існує.","Confirm a Code":"Підтвердіть код","Confirm Sign In":"Підтвердіть вхід","Forgot Password":"Забули пароль","Incorrect username or password.":"Невірне імʼя користувача або пароль","Invalid password format":"Невірний формат паролю","Invalid phone number format":"Невірний формат номеру телефону","Loading...":"Загружаємо...","New Password":"Новий пароль","Resend a Code":"Відправити код повторно","Reset Password":"Скинути пароль","Sign Out":"Вийти","Sign Up with Amazon":"Зареєструватися з Amazon","Sign Up with Apple":"Зареєструватися з Apple","Sign Up with Facebook":"Зареєструватися з Facebook","Sign Up with Google":"Зареєструватися з Google","Sign Up":"Зареєструватися","User already exists":"Користувач вже існує","User does not exist":"Такий користувач не існує","Username cannot be empty":"Імʼя користувача не може бути пустим","Your passwords must match":"Паролі мають збігатися"},ks={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_MFA_DEFAULT:"Confirm MFA 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"},xs={...fs},Us={...ps},$s={...ms},Rs={...gs},Os={...hs},Ds={...ys},Zr={...vs},Fs={...ws},Ms={..._s},Bs={...Ss},Vs={...Cs},Ls={...bs},Gs={...As},zs={...Es},js={...Is},Ws={...Ts},Hs={...Ns},Ys={...Ps},Ks={...ks},R={...Ks};function T(e){return nr.I18n.get(e)}const qs={de:xs,en:Us,es:$s,fr:Rs,id:zs,it:Os,ja:Ds,kr:Zr,ko:Zr,nb:Fs,nl:Ms,pl:Bs,pt:Vs,zh:Ls,sv:Gs,tr:js,ru:Ws,he:Hs,ua:Ys},ir=e=>{var o;const t=(o=e==null?void 0:e.context.config)==null?void 0:o.loginMechanisms,[n]=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?T(i):void 0,placeholder:a?T(a):void 0}}return t},Zs=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),Qs="+1",Ne=e=>{let t=vt[e];const{type:n}=t;return n==="tel"&&(t={...t,dialCode:Qs}),t},nn=e=>{const t=ir(e);return{...Ne(t),autocomplete:"username"}},Mt=e=>({confirmation_code:{...Ne("confirmation_code"),label:"Code *",placeholder:"Code"}}),Xs=e=>({username:{...nn(e)},password:{...Ne("password"),autocomplete:"current-password"}}),ec=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(ei(s)){const c=s===o?nn(e):Ne(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},tc=e=>({confirmation_code:{...Ne("confirmation_code"),placeholder:"Enter your code"}}),nc=e=>{const t=ir(e),{label:n}=vt[t];return{username:{...nn(e),label:`Enter your ${n.toLowerCase()}`,placeholder:`Enter your ${n.toLowerCase()}`}}},rc=e=>({...Mt(),password:{...Ne("password"),label:"New Password",placeholder:"New Password"},confirm_password:{...Ne("confirm_password"),label:"Confirm Password",placeholder:"Confirm Password"}}),oc=e=>{const t=rr(e),{missingAttributes:n}=t.context,o=Array.from(new Set(["password","confirm_password",...n??[]])),i={};for(const a of o)ei(a)?i[a]={...Ne(a)}:console.debug(`Authenticator does not have a default implementation for ${a}. Customize ForceNewPassword FormFields to add your own.`);return i},ic={signIn:Xs,signUp:ec,confirmSignUp:tc,confirmSignIn:Mt,forceNewPassword:oc,forgotPassword:nc,confirmResetPassword:rc,confirmVerifyUser:Mt,setupTotp:Mt},ac=(e,t)=>{const n=ic[e];return n(t)},sc=(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={...nn(t),...c};return{...a,[s]:u}}else if(ns(s)){const u={...vt[s],...c};return{...a,[s]:u}}else return{...a,[s]:c}},{})},cc=(e,t)=>{const n=ac(e,t),o=sc(e,t),i={...n,...o};return delete i.QR,Js(i)},lc=e=>e.map(t=>{const n=t[0],o={...t[1],order:void 0};return[n,o]}),uc=(e,t)=>{const n=cc(e,t);return lc(Zs(n))},dc=e=>{switch(e){case"SMS_MFA":return T(R.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return T(R.CONFIRM_TOTP);default:return T(R.CONFIRM_MFA_DEFAULT)}},fc=e=>{const{DeliveryMedium:t,Destination:n}=e??{},o=t==="EMAIL",i=t==="SMS",a=T(R.CODE_ARRIVAL);return o||i?`${T(o?R.CODE_EMAILED:R.CODE_TEXTED)} ${n}. ${a}.`:`${T(R.CODE_SENT)}. ${a}.`},pc=e=>{const{DeliveryMedium:t}=e??{},n=t==="EMAIL";return T(!n&&t==="SMS"?R.WE_SENT_CODE:n?R.WE_EMAILED:R.WE_TEXTED)},mc={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},gc=(e,t)=>T(`Sign ${e==="signIn"?"In":"Up"} with ${mc[t]}`),ce={getBackToSignInText:()=>T(R.BACK_SIGN_IN),getChangePasswordText:()=>T(R.CHANGE_PASSWORD),getChangingText:()=>T(R.CHANGING_PASSWORD),getConfirmText:()=>T(R.CONFIRM),getConfirmingText:()=>T(R.CONFIRMING),getCopyText:()=>T(R.UPPERCASE_COPY),getHidePasswordText:()=>T(R.HIDE_PASSWORD),getLoadingText:()=>T(R.LOADING),getOrText:()=>T(R.OR),getResendCodeText:()=>T(R.RESEND_CODE),getSendCodeText:()=>T(R.SEND_CODE),getSendingText:()=>T(R.SENDING),getShowPasswordText:()=>T(R.SHOW_PASSWORD),getSubmitText:()=>T(R.SUBMIT),getSubmittingText:()=>T(R.SUBMITTING),getSignInTabText:()=>T(R.SIGN_IN_TAB),getSignUpTabText:()=>T(R.CREATE_ACCOUNT),getForgotPasswordText:e=>T(e?R.FORGOT_PASSWORD:R.FORGOT_YOUR_PASSWORD),getSigningInText:()=>T(R.SIGNING_IN_BUTTON),getSignInText:()=>T(R.SIGN_IN_BUTTON),getCreatingAccountText:()=>T(R.CREATING_ACCOUNT),getCreateAccountText:()=>T(R.CREATE_ACCOUNT),getDeliveryMessageText:fc,getDeliveryMethodText:pc,getChallengeText:dc,getResetYourPasswordText:()=>T(R.RESET_PASSWORD),getSetupTotpText:()=>T(R.SETUP_TOTP),getSetupTotpInstructionsText:()=>T("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."),getCopiedText:()=>T("COPIED"),getSignInWithFederationText:gc,getSkipText:()=>T(R.SKIP),getVerifyText:()=>T(R.VERIFY),getVerifyContactText:()=>T(R.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>T(R.VERIFY_HEADING),getInvalidEmailText:()=>T("Please enter a valid email"),getRequiredFieldText:()=>T("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,16 @@ 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 F(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 Lt=V.Start,Xt=V.Stop,He=V.Raise,_t=V.Send,sr=V.Cancel,ei=V.NullEvent,en=V.Assign,mc=V.After,gc=V.DoneState,tn=V.Log,ti=V.Init,Gt=V.Invoke,hc=V.ErrorExecution,Dn=V.ErrorPlatform,cr=V.ErrorCustom,nn=V.Update,ni=V.Choose,ri=V.Pure,yc=Object.freeze(Object.defineProperty({__proto__:null,after:mc,assign:en,cancel:sr,choose:ni,doneState:gc,error:cr,errorExecution:hc,errorPlatform:Dn,init:ti,invoke:Gt,log:tn,nullEvent:ei,pure:ri,raise:He,send:_t,start:Lt,stop:Xt,update:nn},Symbol.toStringTag,{value:"Module"})),oi=".",Zr={},Mn="xstate.guard",vc="",gt=!0,It;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 wc(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function ut(e,t){if(wc(e))return e.value;if(Ye(e))return zt(e);if(typeof e!="string")return e;var n=Bn(e,t);return zt(n)}function zt(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 _c=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 Sc(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 Mt(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]]:Mt(e[n]).map(function(i){return[n].concat(i)})}));return t}function j(e){var t;return(t=[]).concat.apply(t,G([],F(e),!1))}function ai(e){return Ye(e)?e:[e]}function se(e){return e===void 0?[]:ai(e)}function jt(e,t,n){var o,i;if(D(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];D(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 Cc(e){return/^(done|error)\./.test(e)}function Xr(e){return!!(e instanceof Promise||e!==null&&(D(e)||typeof e=="object")&&D(e.then))}function bc(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Ac(e,t){var n,o,i=F([[],[]],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 Ec(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(D(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]=D(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 D(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}:D(e)?{type:Mn,name:e.name,predicate:e}:e}function Ic(e){try{return"subscribe"in e&&D(e.subscribe)}catch{return!1}}var be=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();It={},It[be]=function(){return this},It[Symbol.observable]=function(){return this};function Ve(e){return!!e&&"__xstatenode"in e}function Tc(e){return!!e&&typeof e.send=="function"}var Nc=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 Pc(e){if(!(e===void 0||e===vc))return se(e)}function kc(e,t,n){if(!gt){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 Bt(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 Tt(e,t){return"".concat(e,":invocation[").concat(t,"]")}function Ln(e){return(e.type===He||e.type===_t&&e.to===Ie.Internal)&&typeof e.delay!="number"}var xe=q({type:ti});function Wt(e,t){return t&&t[e]||void 0}function Le(e,t){var n;if(M(e)||typeof e=="number"){var o=Wt(e,t);D(o)?n={type:e,exec:o}:o?n=o:n={type:e,exec:void 0}}else if(D(e))n={type:e.name||e.toString(),exec:e};else{var o=Wt(e.type,t);if(D(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(D(e.event)?e.event(t,n.data,i):e.event),s;if(M(e.delay)){var c=o&&o[e.delay];s=D(c)?c(t,n.data,i):c}else s=D(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:_t,event:D(e)?e:rn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:D(e)?e.name:ii(e)}}function pi(e,t,n,o){var i={_event:n},a=q(D(e.event)?e.event(t,n.data,i):e.event),s;if(M(e.delay)){var c=o&&o[e.delay];s=D(c)?c(t,n.data,i):c}else s=D(e.delay)?e.delay(t,n.data,i):e.delay;var l=D(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 xc(e,t,n){return Ke(t,b(b({},n),{to:e}))}function mi(){return ur(nn)}function Uc(e,t){return Ke(e,b(b({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var $c=function(e,t){return{context:e,event:t}};function Rc(e,t){return e===void 0&&(e=$c),{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=D(e)?e:on(e);return{type:V.Stop,activity:t,exec:void 0}}function wi(e,t,n){var o=D(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 Oc(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 Fc(e){return{type:V.Pure,get:e}}function Ci(e,t){return Ke(function(n,o){return o},b(b({},t),{to:e}))}function Dc(e,t){return ur(function(n,o,i){return{type:cr,data:D(e)?e(n,o,i):e}},b(b({},t),{to:Ie.Parent}))}function Mc(e){return{type:V.Choose,conds:e}}var Bc=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 ht(e,t,n,o,i,a,s){s===void 0&&(s=!1);var c=s?[]:Bc(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 _t: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(oe){var Y=ci(oe.cond,e.options.guards);return!Y||li(e,Y,l,o,a?void 0:t)}))===null||S===void 0?void 0:S.actions;if(!C)return[];var A=F(ht(e,t,l,o,[{type:h,actions:ve(se(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 N=F(ht(e,t,l,o,[{type:h,actions:ve(se(C),e.options.actions)}],a,s),2),k=N[0],P=N[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(oe){for(var Y=[],ae=1;ae<arguments.length;ae++)Y[ae-1]=arguments[ae];R.apply(void 0,G([u[H]],F(Y),!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:yc,after:Si,assign:_i,cancel:hi,choose:Mc,done:st,doneInvoke:dt,error:Be,escalate:Dc,forwardTo:Ci,getActionFunction:Wt,initEvent:xe,isActionObject:Oc,log:Rc,pure:Fc,raise:di,resolveActions:ht,resolveLog:gi,resolveRaise:fi,resolveSend:pi,resolveStop:wi,respond:Uc,send:Ke,sendParent:ur,sendTo:xc,sendUpdate:mi,start:yi,stop:vi,toActionObject:Le,toActionObjects:ve,toActivityDefinition:on},Symbol.toStringTag,{value:"Module"})),Ht=[],Me=function(e,t){Ht.push(e);var n=t(e);return Ht.pop(),n},Vc=function(e){return e(Ht[Ht.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 Lc(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?jt(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 Gc(e){try{return typeof e.send=="function"}catch{return!1}}function zc(e){return Gc(e)&&"id"in e}function jc(e){var t;return b((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[be]=function(){return this},t),e)}var Yt=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 yt(e){return Ei(e).filter(function(t){return t.type!=="history"})}function Ii(e){var t=[e];return Yt(e)?t:t.concat(j(yt(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(N){n={error:N}}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(yt(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(N){i={error:N}}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(N){l={error:N}}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(Yt(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 Wc(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 Hc(e){return G([],F(new Set(j(G([],F(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Vt(e,t){return t.type==="compound"?yt(t).some(function(n){return n.type==="final"&<(e,n)}):t.type==="parallel"?yt(t).every(function(n){return Vt(e,n)}):!1}function Yc(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 Kc(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function qc(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=Yc(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 Hc(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([],F(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}(),Jc={deferEvents:!1},no=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=b(b({},Jc),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,Zc=0,nt={bookId:function(){return"x:".concat(Zc++)},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;gt||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 Qc(){var e=fr();if(e&&"__xstate__"in e)return e.__xstate__}function Xc(e){if(!!fr()){var t=Qc();t&&t.register(e)}}function el(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=jc({id:t.id,send:function(u){i.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,d,m){var f=Bt(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},K;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(K||(K={}));var tl=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=K.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===K.Stopped)return o.state;if(o.status!==K.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)))
|
|
17
|
-
Event: `).concat(JSON.stringify(event)));else if(this.status!==K.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([],F(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(v){return qc(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(Dn)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Dn)===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),D(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,o){if(this.status!==K.Running)return dr(t,n);if(Xr(t))return this.spawnPromise(Promise.resolve(t),n);if(D(t))return this.spawnCallback(t,n);if(zc(t))return this.spawnActor(t,n);if(Ic(t))return this.spawnObservable(t,n);if(Ve(t))return this.spawnMachine(t,b(b({},o),{id:n}));if(bc(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=el(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){kc(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=Bt(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=Bt(f);return c.add(p.next),{unsubscribe:function(){c.delete(p.next)}}},stop:function(){a=!0,D(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){gt||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)}Xc(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[be]=function(){return this},e.prototype.getSnapshot=function(){return this.status===K.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}(),nl=function(e){return M(e)?b(b({},zn),{name:e}):b(b(b({},zn),{name:Nc()}),e)};function rt(e,t){var n=nl(t);return Vc(function(o){return o?o.spawn(e,n.name,n):dr(e,n.name)})}function Pi(e,t){var n=new tl(e,t);return n}function rl(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Nt(e){return b(b({type:Gt},e),{toJSON:function(){e.onDone,e.onError;var t=ar(e,["onDone","onError"]);return b(b({},t),{type:Gt,src:rl(e.src)})}})}var Pt="",jn="#",Tn="*",Fe={},De=function(e){return e[0]===jn},ol=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},il=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(ol(),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],F(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}):Fe;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===Pt}):Pt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=se(this.config.entry||this.config.onEntry).map(function(u){return Le(u)}),this.onExit=se(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=se(this.config.invoke).map(function(u,d){var m,f;if(Ve(u)){var p=Tt(a.id,d);return a.machine.options.services=b((m={},m[p]=u,m),a.machine.options.services),Nt({src:p,id:p})}else if(M(u.src)){var p=u.id||Tt(a.id,d);return Nt(b(b({},u),{id:p,src:u.src}))}else if(Ve(u.src)||D(u.src)){var p=u.id||Tt(a.id,d);return a.machine.options.services=b((f={},f[p]=u.src,f),a.machine.options.services),Nt(b(b({id:p},u),{src:p}))}else{var h=u.src;return Nt(b(b({id:Tt(a.id,d)},u),{src:h}))}}),this.activities=se(this.config.activities).concat(this.invoke).map(function(u){return on(u)}),this.transition=this.transition.bind(this),this.tags=se(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 D(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===Pt,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=D(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 se(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([],F(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:Vt(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)&&De(h)?t.matches(ut(this.getStateNodeById(h).path,this.delimiter)):lr(ut(h,this.delimiter),_c(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([],F(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?jt(P.doneData,i,a):void 0));var H=R.parent;return H.type==="parallel"&&yt(H).every(function(re){return Vt(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([],F(x),!1),F(R),!1):G(G([],F(R),!1),F(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([],F(P.onExit),!1),F(P.activities.map(function(x){return vi(x)})),!1),f.machine.options.actions)}}),N=I.concat({type:"transition",actions:ve(o.actions,this.machine.options.actions)}).concat(E);if(n){var k=ve(j(G([],F(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 N.concat({type:"stop",actions:k})}return N},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(zt(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)&&!Cc(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([],F(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([],F(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=Vt(p,this),v=f?Wc(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===Lt?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 N=F(ht(this,n,o,a,g,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),k=N[0],P=N[1],x=F(Ac(k,Ln),2),R=x[0],H=x[1],re=k.filter(function(X){var Ce;return X.type===Lt&&((Ce=X.activity)===null||Ce===void 0?void 0:Ce.type)===Gt}),oe=re.reduce(function(X,Ce){return X[Ce.activity.id]=Lc(Ce.activity,d.machine,P,a),X},n?b({},n.children):{}),Y=new ce({value:v||n.value,context:P,_event:a,_sessionid:n?n._sessionid:null,historyValue:v?S?Ec(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:oe,done:h,tags:to(p),machine:this}),ae=o!==P;Y.changed=a.name===nn||ae;var Se=Y.history;Se&&delete Se.history;var Re=!h&&(this._transient||m.some(function(X){return X._transient}));if(!f&&(!Re||a.name===Pt))return Y;var te=Y;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||ae||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(De(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=De(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"&&De(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||Fe;switch(this.type){case"parallel":return at(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):Fe});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):Fe}):this.initialStateValue||{};default:return t||Fe}},e.prototype.getResolvedPath=function(t){if(De(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||Fe},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=Yt(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=De(n.target)?zt(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(Yt(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Mt(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=F(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(Mt(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=Sc(o.path,"states")(t).current;return M(a)?[o.getStateNode(a)]:j(Mt(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=Pc(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(se(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([],F(Oe(String(dt(w.id)),w.onDone)),!1)),w.onError&&y.push.apply(y,G([],F(Oe(String(Be(w.id)),w.onError)),!1)),y})),p=this.after,h=j(G(G(G(G([],F(m),!1),F(f),!1),F(i),!1),F(d),!1).map(function(w){return se(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!gt&&!("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 il(e,t)}var ye=_i,an=mi,al=Ci,kt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function sl(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=sl;function cl(){this.__data__=[],this.size=0}var ll=cl;function ul(e,t){return e===t||e!==e&&t!==t}var St=ul,dl=St;function fl(e,t){for(var n=e.length;n--;)if(dl(e[n][0],t))return n;return-1}var sn=fl,pl=sn,ml=Array.prototype,gl=ml.splice;function hl(e){var t=this.__data__,n=pl(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():gl.call(t,n,1),--this.size,!0}var yl=hl,vl=sn;function wl(e){var t=this.__data__,n=vl(t,e);return n<0?void 0:t[n][1]}var _l=wl,Sl=sn;function Cl(e){return Sl(this.__data__,e)>-1}var bl=Cl,Al=sn;function El(e,t){var n=this.__data__,o=Al(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Il=El,Tl=ll,Nl=yl,Pl=_l,kl=bl,xl=Il;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=Tl;Je.prototype.delete=Nl;Je.prototype.get=Pl;Je.prototype.has=kl;Je.prototype.set=xl;var cn=Je,Ul=cn;function $l(){this.__data__=new Ul,this.size=0}var Rl=$l;function Ol(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Fl=Ol;function Dl(e){return this.__data__.get(e)}var Ml=Dl;function Bl(e){return this.__data__.has(e)}var Vl=Bl,Ll=typeof kt=="object"&&kt&&kt.Object===Object&&kt,xi=Ll,Gl=xi,zl=typeof self=="object"&&self&&self.Object===Object&&self,jl=Gl||zl||Function("return this")(),fe=jl,Wl=fe,Hl=Wl.Symbol,ln=Hl,oo=ln,Ui=Object.prototype,Yl=Ui.hasOwnProperty,Kl=Ui.toString,ot=oo?oo.toStringTag:void 0;function ql(e){var t=Yl.call(e,ot),n=e[ot];try{e[ot]=void 0;var o=!0}catch{}var i=Kl.call(e);return o&&(t?e[ot]=n:delete e[ot]),i}var Jl=ql,Zl=Object.prototype,Ql=Zl.toString;function Xl(e){return Ql.call(e)}var eu=Xl,io=ln,tu=Jl,nu=eu,ru="[object Null]",ou="[object Undefined]",ao=io?io.toStringTag:void 0;function iu(e){return e==null?e===void 0?ou:ru:ao&&ao in Object(e)?tu(e):nu(e)}var Ze=iu;function au(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var we=au,su=Ze,cu=we,lu="[object AsyncFunction]",uu="[object Function]",du="[object GeneratorFunction]",fu="[object Proxy]";function pu(e){if(!cu(e))return!1;var t=su(e);return t==uu||t==du||t==lu||t==fu}var pr=pu,mu=fe,gu=mu["__core-js_shared__"],hu=gu,Nn=hu,so=function(){var e=/[^.]+$/.exec(Nn&&Nn.keys&&Nn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function yu(e){return!!so&&so in e}var vu=yu,wu=Function.prototype,_u=wu.toString;function Su(e){if(e!=null){try{return _u.call(e)}catch{}try{return e+""}catch{}}return""}var $i=Su,Cu=pr,bu=vu,Au=we,Eu=$i,Iu=/[\\^$.*+?()[\]{}|]/g,Tu=/^\[object .+?Constructor\]$/,Nu=Function.prototype,Pu=Object.prototype,ku=Nu.toString,xu=Pu.hasOwnProperty,Uu=RegExp("^"+ku.call(xu).replace(Iu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $u(e){if(!Au(e)||bu(e))return!1;var t=Cu(e)?Uu:Tu;return t.test(Eu(e))}var Ru=$u;function Ou(e,t){return e==null?void 0:e[t]}var Fu=Ou,Du=Ru,Mu=Fu;function Bu(e,t){var n=Mu(e,t);return Du(n)?n:void 0}var Ue=Bu,Vu=Ue,Lu=fe,Gu=Vu(Lu,"Map"),mr=Gu,zu=Ue,ju=zu(Object,"create"),un=ju,co=un;function Wu(){this.__data__=co?co(null):{},this.size=0}var Hu=Wu;function Yu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ku=Yu,qu=un,Ju="__lodash_hash_undefined__",Zu=Object.prototype,Qu=Zu.hasOwnProperty;function Xu(e){var t=this.__data__;if(qu){var n=t[e];return n===Ju?void 0:n}return Qu.call(t,e)?t[e]:void 0}var ed=Xu,td=un,nd=Object.prototype,rd=nd.hasOwnProperty;function od(e){var t=this.__data__;return td?t[e]!==void 0:rd.call(t,e)}var id=od,ad=un,sd="__lodash_hash_undefined__";function cd(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ad&&t===void 0?sd:t,this}var ld=cd,ud=Hu,dd=Ku,fd=ed,pd=id,md=ld;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=ud;Qe.prototype.delete=dd;Qe.prototype.get=fd;Qe.prototype.has=pd;Qe.prototype.set=md;var gd=Qe,lo=gd,hd=cn,yd=mr;function vd(){this.size=0,this.__data__={hash:new lo,map:new(yd||hd),string:new lo}}var wd=vd;function _d(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Sd=_d,Cd=Sd;function bd(e,t){var n=e.__data__;return Cd(t)?n[typeof t=="string"?"string":"hash"]:n.map}var dn=bd,Ad=dn;function Ed(e){var t=Ad(this,e).delete(e);return this.size-=t?1:0,t}var Id=Ed,Td=dn;function Nd(e){return Td(this,e).get(e)}var Pd=Nd,kd=dn;function xd(e){return kd(this,e).has(e)}var Ud=xd,$d=dn;function Rd(e,t){var n=$d(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var Od=Rd,Fd=wd,Dd=Id,Md=Pd,Bd=Ud,Vd=Od;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=Fd;Xe.prototype.delete=Dd;Xe.prototype.get=Md;Xe.prototype.has=Bd;Xe.prototype.set=Vd;var gr=Xe,Ld=cn,Gd=mr,zd=gr,jd=200;function Wd(e,t){var n=this.__data__;if(n instanceof Ld){var o=n.__data__;if(!Gd||o.length<jd-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new zd(o)}return n.set(e,t),this.size=n.size,this}var Hd=Wd,Yd=cn,Kd=Rl,qd=Fl,Jd=Ml,Zd=Vl,Qd=Hd;function et(e){var t=this.__data__=new Yd(e);this.size=t.size}et.prototype.clear=Kd;et.prototype.delete=qd;et.prototype.get=Jd;et.prototype.has=Zd;et.prototype.set=Qd;var hr=et,Xd="__lodash_hash_undefined__";function ef(e){return this.__data__.set(e,Xd),this}var tf=ef;function nf(e){return this.__data__.has(e)}var rf=nf,of=gr,af=tf,sf=rf;function Kt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new of;++t<n;)this.add(e[t])}Kt.prototype.add=Kt.prototype.push=af;Kt.prototype.has=sf;var cf=Kt;function lf(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 uf=lf;function df(e,t){return e.has(t)}var ff=df,pf=cf,mf=uf,gf=ff,hf=1,yf=2;function vf(e,t,n,o,i,a){var s=n&hf,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&yf?new pf: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(!mf(t,function(g,w){if(!gf(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=vf,wf=fe,_f=wf.Uint8Array,Oi=_f;function Sf(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var Cf=Sf;function bf(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var Af=bf,uo=ln,fo=Oi,Ef=St,If=Ri,Tf=Cf,Nf=Af,Pf=1,kf=2,xf="[object Boolean]",Uf="[object Date]",$f="[object Error]",Rf="[object Map]",Of="[object Number]",Ff="[object RegExp]",Df="[object Set]",Mf="[object String]",Bf="[object Symbol]",Vf="[object ArrayBuffer]",Lf="[object DataView]",po=uo?uo.prototype:void 0,Pn=po?po.valueOf:void 0;function Gf(e,t,n,o,i,a,s){switch(n){case Lf:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Vf:return!(e.byteLength!=t.byteLength||!a(new fo(e),new fo(t)));case xf:case Uf:case Of:return Ef(+e,+t);case $f:return e.name==t.name&&e.message==t.message;case Ff:case Mf:return e==t+"";case Rf:var c=Tf;case Df:var l=o&Pf;if(c||(c=Nf),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;o|=kf,s.set(e,t);var d=If(c(e),c(t),o,i,a,s);return s.delete(e),d;case Bf:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}var zf=Gf;function jf(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var Fi=jf,Wf=Array.isArray,_e=Wf,Hf=Fi,Yf=_e;function Kf(e,t,n){var o=t(e);return Yf(e)?o:Hf(o,n(e))}var Di=Kf;function qf(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 Jf=qf;function Zf(){return[]}var Mi=Zf,Qf=Jf,Xf=Mi,ep=Object.prototype,tp=ep.propertyIsEnumerable,mo=Object.getOwnPropertySymbols,np=mo?function(e){return e==null?[]:(e=Object(e),Qf(mo(e),function(t){return tp.call(e,t)}))}:Xf,Bi=np;function rp(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var op=rp;function ip(e){return e!=null&&typeof e=="object"}var $e=ip,ap=Ze,sp=$e,cp="[object Arguments]";function lp(e){return sp(e)&&ap(e)==cp}var up=lp,go=up,dp=$e,Vi=Object.prototype,fp=Vi.hasOwnProperty,pp=Vi.propertyIsEnumerable,mp=go(function(){return arguments}())?go:function(e){return dp(e)&&fp.call(e,"callee")&&!pp.call(e,"callee")},yr=mp,vt={exports:{}};function gp(){return!1}var hp=gp;(function(e,t){var n=fe,o=hp,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})(vt,vt.exports);var yp=9007199254740991,vp=/^(?:0|[1-9]\d*)$/;function wp(e,t){var n=typeof e;return t=t==null?yp:t,!!t&&(n=="number"||n!="symbol"&&vp.test(e))&&e>-1&&e%1==0&&e<t}var fn=wp,_p=9007199254740991;function Sp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=_p}var vr=Sp,Cp=Ze,bp=vr,Ap=$e,Ep="[object Arguments]",Ip="[object Array]",Tp="[object Boolean]",Np="[object Date]",Pp="[object Error]",kp="[object Function]",xp="[object Map]",Up="[object Number]",$p="[object Object]",Rp="[object RegExp]",Op="[object Set]",Fp="[object String]",Dp="[object WeakMap]",Mp="[object ArrayBuffer]",Bp="[object DataView]",Vp="[object Float32Array]",Lp="[object Float64Array]",Gp="[object Int8Array]",zp="[object Int16Array]",jp="[object Int32Array]",Wp="[object Uint8Array]",Hp="[object Uint8ClampedArray]",Yp="[object Uint16Array]",Kp="[object Uint32Array]",z={};z[Vp]=z[Lp]=z[Gp]=z[zp]=z[jp]=z[Wp]=z[Hp]=z[Yp]=z[Kp]=!0;z[Ep]=z[Ip]=z[Mp]=z[Tp]=z[Bp]=z[Np]=z[Pp]=z[kp]=z[xp]=z[Up]=z[$p]=z[Rp]=z[Op]=z[Fp]=z[Dp]=!1;function qp(e){return Ap(e)&&bp(e.length)&&!!z[Cp(e)]}var Jp=qp;function Zp(e){return function(t){return e(t)}}var Qp=Zp,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 Xp=Jp,em=Qp,ho=Wn.exports,yo=ho&&ho.isTypedArray,tm=yo?em(yo):Xp,wr=tm,nm=op,rm=yr,om=_e,im=vt.exports,am=fn,sm=wr,cm=Object.prototype,lm=cm.hasOwnProperty;function um(e,t){var n=om(e),o=!n&&rm(e),i=!n&&!o&&im(e),a=!n&&!o&&!i&&sm(e),s=n||o||i||a,c=s?nm(e.length,String):[],l=c.length;for(var u in e)(t||lm.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||am(u,l)))&&c.push(u);return c}var Li=um,dm=Object.prototype;function fm(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||dm;return e===n}var _r=fm;function pm(e,t){return function(n){return e(t(n))}}var Gi=pm,mm=Gi,gm=mm(Object.keys,Object),hm=gm,ym=_r,vm=hm,wm=Object.prototype,_m=wm.hasOwnProperty;function Sm(e){if(!ym(e))return vm(e);var t=[];for(var n in Object(e))_m.call(e,n)&&n!="constructor"&&t.push(n);return t}var Cm=Sm,bm=pr,Am=vr;function Em(e){return e!=null&&Am(e.length)&&!bm(e)}var pn=Em,Im=Li,Tm=Cm,Nm=pn;function Pm(e){return Nm(e)?Im(e):Tm(e)}var zi=Pm,km=Di,xm=Bi,Um=zi;function $m(e){return km(e,Um,xm)}var Rm=$m,vo=Rm,Om=1,Fm=Object.prototype,Dm=Fm.hasOwnProperty;function Mm(e,t,n,o,i,a){var s=n&Om,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:Dm.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 Bm=Mm,Vm=Ue,Lm=fe,Gm=Vm(Lm,"DataView"),zm=Gm,jm=Ue,Wm=fe,Hm=jm(Wm,"Promise"),Ym=Hm,Km=Ue,qm=fe,Jm=Km(qm,"Set"),Zm=Jm,Qm=Ue,Xm=fe,eg=Qm(Xm,"WeakMap"),tg=eg,Hn=zm,Yn=mr,Kn=Ym,qn=Zm,Jn=tg,ji=Ze,tt=$i,wo="[object Map]",ng="[object Object]",_o="[object Promise]",So="[object Set]",Co="[object WeakMap]",bo="[object DataView]",rg=tt(Hn),og=tt(Yn),ig=tt(Kn),ag=tt(qn),sg=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==ng?e.constructor:void 0,o=n?tt(n):"";if(o)switch(o){case rg:return bo;case og:return wo;case ig:return _o;case ag:return So;case sg:return Co}return t});var cg=ke,kn=hr,lg=Ri,ug=zf,dg=Bm,Ao=cg,Eo=_e,Io=vt.exports,fg=wr,pg=1,To="[object Arguments]",No="[object Array]",xt="[object Object]",mg=Object.prototype,Po=mg.hasOwnProperty;function gg(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?xt:l,u=u==To?xt:u;var d=l==xt,m=u==xt,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||fg(e)?lg(e,t,n,o,i,a):ug(e,t,l,n,o,i,a);if(!(n&pg)){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),dg(e,t,n,o,i,a)):!1}var hg=gg,yg=hg,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:yg(e,t,n,o,Wi,i)}var Hi=Wi,vg=hr,wg=Hi,_g=1,Sg=2;function Cg(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 vg;if(o)var f=o(u,d,l,e,t,m);if(!(f===void 0?wg(d,u,_g|Sg,o,m):f))return!1}}return!0}var bg=Cg,Ag=we;function Eg(e){return e===e&&!Ag(e)}var Yi=Eg,Ig=Yi,Tg=zi;function Ng(e){for(var t=Tg(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,Ig(i)]}return t}var Pg=Ng;function kg(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Ki=kg,xg=bg,Ug=Pg,$g=Ki;function Rg(e){var t=Ug(e);return t.length==1&&t[0][2]?$g(t[0][0],t[0][1]):function(n){return n===e||xg(n,e,t)}}var Og=Rg,Fg=Ze,Dg=$e,Mg="[object Symbol]";function Bg(e){return typeof e=="symbol"||Dg(e)&&Fg(e)==Mg}var Sr=Bg,Vg=_e,Lg=Sr,Gg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zg=/^\w*$/;function jg(e,t){if(Vg(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Lg(e)?!0:zg.test(e)||!Gg.test(e)||t!=null&&e in Object(t)}var Cr=jg,qi=gr,Wg="Expected a function";function br(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Wg);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 Hg=br,Yg=Hg,Kg=500;function qg(e){var t=Yg(e,function(o){return n.size===Kg&&n.clear(),o}),n=t.cache;return t}var Jg=qg,Zg=Jg,Qg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xg=/\\(\\)?/g,eh=Zg(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Qg,function(n,o,i,a){t.push(i?a.replace(Xg,"$1"):o||n)}),t}),th=eh,xo=ln,nh=ki,rh=_e,oh=Sr,ih=1/0,Uo=xo?xo.prototype:void 0,$o=Uo?Uo.toString:void 0;function Ji(e){if(typeof e=="string")return e;if(rh(e))return nh(e,Ji)+"";if(oh(e))return $o?$o.call(e):"";var t=e+"";return t=="0"&&1/e==-ih?"-0":t}var ah=Ji,sh=ah;function ch(e){return e==null?"":sh(e)}var lh=ch,uh=_e,dh=Cr,fh=th,ph=lh;function mh(e,t){return uh(e)?e:dh(e,t)?[e]:fh(ph(e))}var mn=mh,gh=Sr,hh=1/0;function yh(e){if(typeof e=="string"||gh(e))return e;var t=e+"";return t=="0"&&1/e==-hh?"-0":t}var Ct=yh,vh=mn,wh=Ct;function _h(e,t){t=vh(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[wh(t[n++])];return n&&n==o?e:void 0}var Ar=_h,Sh=Ar;function Ch(e,t,n){var o=e==null?void 0:Sh(e,t);return o===void 0?n:o}var bh=Ch;function Ah(e,t){return e!=null&&t in Object(e)}var Eh=Ah,Ih=mn,Th=yr,Nh=_e,Ph=fn,kh=vr,xh=Ct;function Uh(e,t,n){t=Ih(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=xh(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&&kh(i)&&Ph(s,i)&&(Nh(e)||Th(e)))}var $h=Uh,Rh=Eh,Oh=$h;function Fh(e,t){return e!=null&&Oh(e,t,Rh)}var Dh=Fh,Mh=Hi,Bh=bh,Vh=Dh,Lh=Cr,Gh=Yi,zh=Ki,jh=Ct,Wh=1,Hh=2;function Yh(e,t){return Lh(e)&&Gh(t)?zh(jh(e),t):function(n){var o=Bh(n,e);return o===void 0&&o===t?Vh(n,e):Mh(t,o,Wh|Hh)}}var Kh=Yh;function qh(e){return e}var Er=qh;function Jh(e){return function(t){return t==null?void 0:t[e]}}var Zh=Jh,Qh=Ar;function Xh(e){return function(t){return Qh(t,e)}}var ey=Xh,ty=Zh,ny=ey,ry=Cr,oy=Ct;function iy(e){return ry(e)?ty(oy(e)):ny(e)}var ay=iy,sy=Og,cy=Kh,ly=Er,uy=_e,dy=ay;function fy(e){return typeof e=="function"?e:e==null?ly:typeof e=="object"?uy(e)?cy(e[0],e[1]):sy(e):dy(e)}var py=fy,my=Ue,gy=function(){try{var e=my(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Zi=gy,Ro=Zi;function hy(e,t,n){t=="__proto__"&&Ro?Ro(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ir=hy,yy=Ir,vy=St,wy=Object.prototype,_y=wy.hasOwnProperty;function Sy(e,t,n){var o=e[t];(!(_y.call(e,t)&&vy(o,n))||n===void 0&&!(t in e))&&yy(e,t,n)}var Qi=Sy,Cy=Qi,by=mn,Ay=fn,Oo=we,Ey=Ct;function Iy(e,t,n,o){if(!Oo(e))return e;t=by(t,e);for(var i=-1,a=t.length,s=a-1,c=e;c!=null&&++i<a;){var l=Ey(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:Ay(t[i+1])?[]:{})}Cy(c,l,u),c=c[l]}return e}var Ty=Iy,Ny=Ar,Py=Ty,ky=mn;function xy(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],c=Ny(e,s);n(c,s)&&Py(a,ky(s,e),c)}return a}var Uy=xy,$y=Gi,Ry=$y(Object.getPrototypeOf,Object),Tr=Ry,Oy=Fi,Fy=Tr,Dy=Bi,My=Mi,By=Object.getOwnPropertySymbols,Vy=By?function(e){for(var t=[];e;)Oy(t,Dy(e)),e=Fy(e);return t}:My,Ly=Vy;function Gy(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var zy=Gy,jy=we,Wy=_r,Hy=zy,Yy=Object.prototype,Ky=Yy.hasOwnProperty;function qy(e){if(!jy(e))return Hy(e);var t=Wy(e),n=[];for(var o in e)o=="constructor"&&(t||!Ky.call(e,o))||n.push(o);return n}var Jy=qy,Zy=Li,Qy=Jy,Xy=pn;function ev(e){return Xy(e)?Zy(e,!0):Qy(e)}var Nr=ev,tv=Di,nv=Ly,rv=Nr;function ov(e){return tv(e,rv,nv)}var iv=ov,av=ki,sv=py,cv=Uy,lv=iv;function uv(e,t){if(e==null)return{};var n=av(lv(e),function(o){return[o]});return t=sv(t),cv(e,n,function(o,i){return t(o,i[0])})}var dv=uv;const fv=!0,pv="",gn=(e,t)=>`${e}${t}`.replace(/[^A-Z0-9+]/gi,""),mv=(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:")}},gv=e=>{const{phone_number:t,...n}=dv(e,mv);if(qo(t)&&t!==pv){const{country_code:o}=e;return{...n,phone_number:gn(o,t)}}return n},hv=(e,t,n)=>{const{password:o,...i}=t,a=gv(i),s={autoSignIn:fv,userAttributes:{...n==="phone_number"?{...a,phone_number:e}:a}};return{username:e,password:o,options:s}},yv=({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,vv=B({actorDoneData:void 0}),wv=B({challengeName:void 0}),_v=B({missingAttributes:void 0}),Sv=B({remoteError:void 0}),Cv=B({formValues:{}}),bv=B({touched:{}}),Av=B({user:void 0}),Ev=B({validationError:{}}),Iv=B({totpSecretCode:(e,{data:t})=>{var o,i;const{sharedSecret:n}=(i=(o=t.nextStep)==null?void 0:o.totpSetupDetails)!=null?i:{};return n}}),Tv=B({step:"SIGN_IN"}),Nv=B({step:"SHOULD_CONFIRM_USER_ATTRIBUTE"}),Pv=B({step:"CONFIRM_ATTRIBUTE_COMPLETE"}),kv=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}}),xv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?gn(i,o):o}}),Uv=B({username:yv}),$v=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?gn(i,o):o}}),Rv=B({step:(e,{data:t})=>t.nextStep.signInStep==="DONE"?"SIGN_IN_COMPLETE":t.nextStep.signInStep}),Ov=B({step:(e,{data:t})=>t.nextStep.signUpStep==="DONE"?"SIGN_UP_COMPLETE":t.nextStep.signUpStep}),Fv=B({step:(e,{data:t})=>t.nextStep.resetPasswordStep==="DONE"?"RESET_PASSWORD_COMPLETE":t.nextStep.resetPasswordStep}),Dv=B({missingAttributes:(e,{data:t})=>{var n;return(n=t.nextStep)==null?void 0:n.missingAttributes}}),Mv=B({validationError:(e,{data:t})=>t}),Bv=B({remoteError:(e,{data:t})=>t.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":(t==null?void 0:t.message)||t}),Vv=B({user:(e,{data:t})=>t}),Fo=e=>({Destination:e.destination,DeliveryMedium:e.deliveryMedium,AttributeName:e.attributName}),Lv=B({codeDeliveryDetails:(e,{data:t})=>{var n;return(n=t==null?void 0:t.nextStep)!=null&&n.codeDeliveryDetails?Fo(t.nextStep.codeDeliveryDetails):Fo(t)}}),Gv=B({formValues:(e,{data:t})=>{const{name:n,value:o}=t;return{...e.formValues,[n]:o}}}),zv=B({formValues:(e,{data:t})=>ls({...e.formValues,...t},"password")}),jv=B({touched:(e,{data:t})=>({...e.touched,[t.name]:!0})}),Wv=B({unverifiedUserAttributes:(e,{data:t})=>{const{email:n,phone_number:o}=t;return{...n&&{email:n},...o&&{phone_number:o}}}}),Hv=B({selectedUserAttribute:void 0}),Yv=B({selectedUserAttribute:e=>{var t;return(t=e.formValues)==null?void 0:t.unverifiedAttr}}),Kv=B({step:"CONFIRM_SIGN_UP"}),bt={clearActorDoneData:vv,clearChallengeName:wv,clearError:Sv,clearFormValues:Cv,clearMissingAttributes:_v,clearSelectedUserAttribute:Hv,clearTouched:bv,clearUser:Av,clearValidationError:Ev,handleBlur:jv,handleInput:Gv,handleSubmit:zv,setChallengeName:kv,setCodeDeliveryDetails:Lv,setFieldErrors:Mv,setMissingAttributes:Dv,setNextResetPasswordStep:Fv,setNextSignInStep:Rv,setNextSignUpStep:Ov,setRemoteError:Bv,setConfirmAttributeCompleteStep:Pv,setConfirmSignUpSignUpStep:Kv,setShouldVerifyUserAttributeStep:Nv,setSelectedUserAttribute:Yv,setSignInStep:Tv,setTotpSecretCode:Iv,setUser:Vv,setUnverifiedUserAttributes:Wv,setUsernameForgotPassword:xv,setUsernameSignIn:$v,setUsernameSignUp:Uv},qv=["CONFIRM_SIGN_IN_WITH_SMS_CODE","CONFIRM_SIGN_IN_WITH_TOTP_CODE"],Jv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",Zv=(e,{data:t})=>{var n;return((n=t==null?void 0:t.nextStep)==null?void 0:n.signInStep)==="RESET_PASSWORD"},Qv=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_UP",Xv=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="COMPLETE_AUTO_SIGN_IN",ew=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="DONE",tw=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="DONE",nw=(e,{data:t})=>(t==null?void 0:t.nextStep.resetPasswordStep)==="DONE",rw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_COMPLETE",ow=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_WITH_CODE",iw=(e,{data:t})=>(t==null?void 0:t.step)==="SHOULD_CONFIRM_USER_ATTRIBUTE",aw=(e,{data:t})=>(t==null?void 0:t.step)==="RESET_PASSWORD",sw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_SIGN_UP",cw=({step:e})=>qv.includes(e),lw=({step:e})=>e==="CONTINUE_SIGN_IN_WITH_TOTP_SETUP",uw=({step:e})=>e==="RESET_PASSWORD",dw=({step:e})=>e==="CONFIRM_RESET_PASSWORD_WITH_CODE",fw=({step:e})=>e==="CONFIRM_SIGN_UP",pw=(e,{data:t})=>{const{phone_number_verified:n,email_verified:o}=t;return(o===void 0||o==="false")&&(n===void 0||n==="false")},mw=(e,{data:t})=>t.message==="User is already confirmed.",hn={hasCompletedAttributeConfirmation:rw,hasCompletedResetPassword:nw,hasCompletedSignIn:ew,hasCompletedSignUp:tw,isConfirmSignUpStep:sw,isConfirmUserAttributeStep:ow,isResetPasswordStep:aw,isShouldConfirmUserAttributeStep:iw,isUserAlreadyConfirmed:mw,shouldAutoSignIn:Xv,shouldConfirmResetPassword:dw,shouldConfirmSignIn:cw,shouldConfirmSignInWithNewPassword:Jv,shouldConfirmSignUp:fw,shouldConfirmSignUpFromSignIn:Qv,shouldResetPassword:uw,shouldResetPasswordFromSignIn:Zv,shouldSetupTotp:lw,shouldVerifyAttribute:pw};var gw=Ir,hw=St;function yw(e,t,n){(n!==void 0&&!hw(e[t],n)||n===void 0&&!(t in e))&&gw(e,t,n)}var Xi=yw;function vw(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 ww=vw,_w=ww,Sw=_w(),Cw=Sw,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 Do=Oi;function bw(e){var t=new e.constructor(e.byteLength);return new Do(t).set(new Do(e)),t}var Aw=bw,Ew=Aw;function Iw(e,t){var n=t?Ew(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Tw=Iw;function Nw(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Pw=Nw,kw=we,Mo=Object.create,xw=function(){function e(){}return function(t){if(!kw(t))return{};if(Mo)return Mo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Uw=xw,$w=Uw,Rw=Tr,Ow=_r;function Fw(e){return typeof e.constructor=="function"&&!Ow(e)?$w(Rw(e)):{}}var Dw=Fw,Mw=pn,Bw=$e;function Vw(e){return Bw(e)&&Mw(e)}var Lw=Vw,Gw=Ze,zw=Tr,jw=$e,Ww="[object Object]",Hw=Function.prototype,Yw=Object.prototype,ea=Hw.toString,Kw=Yw.hasOwnProperty,qw=ea.call(Object);function Jw(e){if(!jw(e)||Gw(e)!=Ww)return!1;var t=zw(e);if(t===null)return!0;var n=Kw.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ea.call(n)==qw}var Zw=Jw;function Qw(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ta=Qw,Xw=Qi,e_=Ir;function t_(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?e_(n,c,l):Xw(n,c,l)}return n}var n_=t_,r_=n_,o_=Nr;function i_(e){return r_(e,o_(e))}var a_=i_,Bo=Xi,s_=Zn.exports,c_=Tw,l_=Pw,u_=Dw,Vo=yr,Lo=_e,d_=Lw,f_=vt.exports,p_=pr,m_=we,g_=Zw,h_=wr,Go=ta,y_=a_;function v_(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&&f_(l),h=!f&&!p&&h_(l);d=l,f||p||h?Lo(c)?d=c:d_(c)?d=l_(c):p?(m=!1,d=s_(l,!0)):h?(m=!1,d=c_(l,!0)):d=[]:g_(l)||Vo(l)?(d=c,Vo(c)?d=y_(c):(!m_(c)||p_(c))&&(d=u_(l))):m=!1}m&&(s.set(l,d),i(d,l,o,a,s),s.delete(l)),Bo(e,n,d)}var w_=v_,__=hr,S_=Xi,C_=Cw,b_=w_,A_=we,E_=Nr,I_=ta;function na(e,t,n,o,i){e!==t&&C_(t,function(a,s){if(i||(i=new __),A_(a))b_(e,t,s,n,na,o,i);else{var c=o?o(I_(e,s),a,s+"",e,t,i):void 0;c===void 0&&(c=a),S_(e,s,c)}},E_)}var T_=na;function N_(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 P_=N_,k_=P_,zo=Math.max;function x_(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),k_(e,this,c)}}var U_=x_;function $_(e){return function(){return e}}var R_=$_,O_=R_,jo=Zi,F_=Er,D_=jo?function(e,t){return jo(e,"toString",{configurable:!0,enumerable:!1,value:O_(t),writable:!0})}:F_,M_=D_,B_=800,V_=16,L_=Date.now;function G_(e){var t=0,n=0;return function(){var o=L_(),i=V_-(o-n);if(n=o,i>0){if(++t>=B_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var z_=G_,j_=M_,W_=z_,H_=W_(j_),Y_=H_,K_=Er,q_=U_,J_=Y_;function Z_(e,t){return J_(q_(e,t,K_),e+"")}var Q_=Z_,X_=St,eS=pn,tS=fn,nS=we;function rS(e,t,n){if(!nS(n))return!1;var o=typeof t;return(o=="number"?eS(n)&&tS(t,n.length):o=="string"&&t in n)?X_(n[t],e):!1}var oS=rS,iS=Q_,aS=oS;function sS(e){return iS(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&&aS(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 cS=sS,lS=T_,uS=cS,dS=uS(function(e,t,n){lS(e,t,n)}),fS=dS;const yn=async(e,t,n,o)=>{const i=await Promise.all(o.map(s=>s(e,t,n))),a=fS({},...i);return Jo(a)?Promise.resolve():Promise.reject(a)},pS=8,mS=e=>Array.isArray(e),gS=e=>{if(!!e)return mS(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=gS(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:pS;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&&!ss(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 hS({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:{...bt,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}}}),Ut={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"}},yS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signInActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}};function vS({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",...yS}},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",...Ut}}}},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",...Ut}}}},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",...Ut}}}}}},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",...Ut}}}},resolved:{type:"final",data:t=>({codeDeliveryDetails:t.codeDeliveryDetails,remoteError:t.remoteError,step:t.step,unverifiedUserAttributes:t.unverifiedUserAttributes,username:t.username})}}},{actions:{...bt,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 wS={onDone:[{actions:"setCodeDeliveryDetails",target:"#signUpActor.resolved"}],onError:{actions:["setRemoteError","sendUpdate"]}},_S={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"}},SS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signUpActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}};function CS({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",..._S}},fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...SS}},federatedSignIn:ra("signUp"),resetPassword:{invoke:{src:"resetPassword",...wS}},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:{...bt,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=hv(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 bS=()=>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 AS(){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:{...bt,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 $t=(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:ES,stop:IS}=bi,it=e=>IS(e),TS={on:{INIT:{actions:"configure",target:"getConfig"},SIGN_OUT:"#authenticator.signOut"}},NS={always:{actions:"configure",target:"getConfig"}};function PS(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?NS:TS,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:"isShouldConfirmUserAttributeStep",actions:"setActorDoneData",target:"#authenticator.verifyUserAttributesActor"},{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:{...bt,forwardToActor:ES([{cond:"hasActor",actions:al(({actorRef:i})=>i)}]),setActorDoneData:ye({actorDoneData:(i,a)=>({challengeName:a.data.challengeName,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=kS(d))!=null?g:{},initialState:u,loginMechanisms:s,passwordSettings:m,signUpAttributes:c,socialProviders:l}}}),spawnSignInActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=vS({services:s}).withContext($t(i,"SIGN_IN"));return rt(c,{name:"signInActor"})}}),spawnSignUpActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=CS({services:s}).withContext($t(i,"SIGN_UP"));return rt(c,{name:"signUpActor"})}}),spawnForgotPasswordActor:ye({actorRef:(i,a)=>{const{services:s}=i,c=hS({services:s}).withContext($t(i,"FORGOT_PASSWORD"));return rt(c,{name:"forgotPasswordActor"})}}),spawnVerifyUserAttributesActor:ye({actorRef:i=>{const a=AS().withContext($t(i));return rt(a,{name:"verifyUserAttributesActor"})}}),spawnSignOutActor:ye({actorRef:i=>{const a=bS().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 kS(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"},xS=({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({...Fa,additionalDetails:[[e],o]});break}case"LocationSearch":{L.setCustomUserAgent({...Da,additionalDetails:[[e],o]});break}case"MapView":{L.setCustomUserAgent({...Ma,additionalDetails:[[e],o]});break}case"StorageManager":{L.setCustomUserAgent({...Ba,additionalDetails:[[e],o]});break}}return ja},US={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},$S={class:"amplify-flex amplify-authenticator__icon-wrapper"},RS=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),OS=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=r.defineComponent({__name:"base-alert",setup(e){const t=r.ref(!0),n=T("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=ee;return t.value?(r.openBlock(),r.createElementBlock("div",US,[r.createElementVNode("div",$S,[RS,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(()=>[OS]),_: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 FS(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))),FS(i),n)}function DS(e){return"state"in e}var Wo=function(){};function MS(e){return"getSnapshot"in e?e.getSnapshot():DS(e)?e.state:void 0}function BS(e,t){t===void 0&&(t=MS);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 VS=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=PS(),t=Pi(e).start(),n=r.ref("configuring"),{state:o,send:i}=BS(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"?VS(t.value):null;o.QRFields=a,o.authStatus=e.value,o.send=n,o.state=t}),o});let LS=(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))}}),GS={},zS={"data-amplify-label":""};function jS(e,t){return r.openBlock(),r.createElementBlock("label",zS,[r.renderSlot(e.$slots,"default")])}var wn=Zt(GS,[["render",jS]]);const WS=["aria-label","aria-checked"],HS=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),YS=[HS],KS=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),qS=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),JS=[KS,qS],ZS={inheritAttrs:!1},kr=r.defineComponent({...ZS,__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=T("Show password"),o=T("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=T((w=f==null?void 0:f.value)!=null?w:l.value),g=T(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]=N=>h.value=N),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,autocapitalize:"off"}),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)},YS,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)},JS,2))],10,WS)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),QS=["value","selected"],XS=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,QS))),128))],32))}}),eC=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),tC=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=XS,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(()=>[eC]),_: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,autocapitalize:"off"},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),nC=["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=LS(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(tC,{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(T)(p)),1))),128))],8,nC)):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=cc(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))}}),Rt=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})}}}),rC=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),oC={class:"amplify-text"},iC=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),aC={class:"amplify-text"},sC=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),cC={class:"amplify-text"},lC=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),uC={class:"amplify-text"},dC=["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}=ie,m=r.computed(()=>Fn),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(Rt,{key:0,provider:r.unref(m).Amazon},{default:r.withCtx(()=>[rC,r.createElementVNode("span",oC,r.toDisplayString(r.unref(f)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(a)?(r.openBlock(),r.createBlock(Rt,{key:1,provider:r.unref(m).Apple},{default:r.withCtx(()=>[iC,r.createElementVNode("span",aC,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(s)?(r.openBlock(),r.createBlock(Rt,{key:2,provider:r.unref(m).Facebook},{default:r.withCtx(()=>[sC,r.createElementVNode("span",cC,r.toDisplayString(r.unref(h)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock(Rt,{key:3,provider:r.unref(m).Google},{default:r.withCtx(()=>[lC,r.createElementVNode("span",uC,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,dC)]),_:1})):r.createCommentVNode("",!0)}}}),fC=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),pC={"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}=ie,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(()=>[fC,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(T)(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",pC,[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}=ie,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(T)(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})])}}}),mC={};function gC(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 hC=Zt(mC,[["render",gC]]);const yC=["tabindex","aria-selected","id","aria-controls"],vC=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,yC))}}),wC="4.2.3",_C={};function SC(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=Zt(_C,[["render",SC]]);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}=ie,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,N=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(N,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(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}=ie,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,N=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(N,{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(T)(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 At={},CC=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},sa={},ne={};let Fr;const bC=[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 bC[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.');Fr=t};ne.isKanjiModeEnabled=function(){return typeof Fr!="undefined"};ne.toSJIS=function(t){return Fr(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 AC=ca;function Et(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)}Et.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};Et.prototype.get=function(e,t){return this.data[e*this.size+t]};Et.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Et.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var EC=Et,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 IC=ne.getSymbolSize,Ho=7;ua.getPositions=function(t){const n=IC(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,Ot=[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],Ft=[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 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}};Cn.getTotalCodewordsCount=function(t,n){switch(n){case Ae.L:return Ft[(t-1)*4+0];case Ae.M:return Ft[(t-1)*4+1];case Ae.Q:return Ft[(t-1)*4+2];case Ae.H:return Ft[(t-1)*4+3];default:return}};var fa={},bn={};const ft=new Uint8Array(512),qt=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)ft[n]=t,qt[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 qt[t]};bn.exp=function(t){return ft[t]};bn.mul=function(t,n){return t===0||n===0?0:ft[qt[t]+qt[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 Dr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Dr.prototype.initialize=function(t){this.degree=t,this.genPoly=pa.generateECPolynomial(this.degree)};Dr.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 TC=Dr,ma={},Pe={},Mr={};Mr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var he={};const ga="[0-9]+",NC="[A-Z $%*+\\-./:]+";let wt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";wt=wt.replace(/u/g,"\\u");const PC="(?:(?![A-Z0-9 $%*+\\-./:]|"+wt+`)(?:.|[\r
|
|
20
|
-
]))+`;he.KANJI=new RegExp(wt,"g");he.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");he.BYTE=new RegExp(PC,"g");he.NUMERIC=new RegExp(ga,"g");he.ALPHANUMERIC=new RegExp(NC,"g");const kC=new RegExp("^"+wt+"$"),xC=new RegExp("^"+ga+"$"),UC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");he.testKanji=function(t){return kC.test(t)};he.testNumeric=function(t){return xC.test(t)};he.testAlphanumeric=function(t){return UC.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,$C=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)^$C};var va={};const RC=Pe;function Ge(e){this.mode=RC.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 OC=Ge;const FC=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=FC.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 DC=ze,MC=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 BC=MC,VC=Pe;function je(e){this.mode=VC.BYTE,this.data=new Uint8Array(BC(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 LC=je;const GC=Pe,zC=ne;function We(e){this.mode=GC.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=zC.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
|
-
|
|
22
|
-
|
|
15
|
+
***************************************************************************** */var C=function(){return C=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},C.apply(this,arguments)};function 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 Pe;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Pe||(Pe={}));var Gt=V.Start,rn=V.Stop,qe=V.Raise,Ct=V.Send,sr=V.Cancel,ti=V.NullEvent,on=V.Assign,hc=V.After,yc=V.DoneState,an=V.Log,ni=V.Init,zt=V.Invoke,vc=V.ErrorExecution,Vn=V.ErrorPlatform,cr=V.ErrorCustom,sn=V.Update,ri=V.Choose,oi=V.Pure;const wc=Object.freeze(Object.defineProperty({__proto__:null,after:hc,assign:on,cancel:sr,choose:ri,doneState:yc,error:cr,errorExecution:vc,errorPlatform:Vn,init:ni,invoke:zt,log:an,nullEvent:ti,pure:oi,raise:qe,send:Ct,start:Gt,stop:rn,update:sn},Symbol.toStringTag,{value:"Module"}));var ii=".",Qr={},Ln="xstate.guard",_c="",W=process.env.NODE_ENV==="production",Nt;function lr(e,t,n){n===void 0&&(n=ii);var o=mt(e,n),i=mt(t,n);return F(i)?F(o)?i===o:!1:F(o)?o in i:Object.keys(o).every(function(a){return a in i?lr(o[a],i[a]):!1})}function ai(e){try{return F(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 Gn(e,t){try{return Je(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function Sc(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function mt(e,t){if(Sc(e))return e.value;if(Je(e))return jt(e);if(typeof e!="string")return e;var n=Gn(e,t);return jt(n)}function jt(e){if(e.length===1)return e[0];for(var t={},n=t,o=0;o<e.length-1;o++)o===e.length-2?n[e[o]]=e[o+1]:(n[e[o]]={},n=n[e[o]]);return t}function ut(e,t){for(var n={},o=Object.keys(e),i=0;i<o.length;i++){var a=o[i];n[a]=t(e[a],a,e,i)}return n}function Xr(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 Cc=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 bc(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 Bt(e){if(!e)return[[]];if(F(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]]:Bt(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 si(e){return Je(e)?e:[e]}function ue(e){return e===void 0?[]:si(e)}function Wt(e,t,n){var o,i;if(M(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];M(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 Ac(e){return/^(done|error)\./.test(e)}function eo(e){return!!(e instanceof Promise||e!==null&&(M(e)||typeof e=="object")&&M(e.then))}function Ec(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Ic(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 ci(e,t){return ut(e.states,function(n,o){if(n){var i=(F(t)?void 0:t[o])||(n?n.current:void 0);if(i)return{current:i,states:ci(n,i)}}})}function Tc(e,t){return{current:t,states:ci(e,t)}}function to(e,t,n,o){W||q(!!e,"Attempting to update undefined context");var i=e&&n.reduce(function(a,s){var c,l,u=s.assignment,d={state:o,action:s,_event:t},m={};if(M(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]=M(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 q=function(){};W||(q=function(e,t){var n=e instanceof Error?e:void 0;if(!(!n&&e)&&console!==void 0){var o=["Warning: ".concat(t)];n&&o.push(n),console.warn.apply(console,o)}});function Je(e){return Array.isArray(e)}function M(e){return typeof e=="function"}function F(e){return typeof e=="string"}function li(e,t){if(e)return F(e)?{type:Ln,name:e,predicate:t?t[e]:void 0}:M(e)?{type:Ln,name:e.name,predicate:e}:e}function Nc(e){try{return"subscribe"in e&&M(e.subscribe)}catch{return!1}}var Ie=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Nt={},Nt[Ie]=function(){return this},Nt[Symbol.observable]=function(){return this};function Ce(e){return!!e&&"__xstatenode"in e}function Pc(e){return!!e&&typeof e.send=="function"}var kc=function(){var e=0;return function(){return e++,e.toString(16)}}();function cn(e,t){return F(e)||typeof e=="number"?C({type:e},t):e}function J(e,t){if(!F(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=cn(e);return C({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Me(e,t){var n=si(t).map(function(o){return typeof o>"u"||typeof o=="string"||Ce(o)?{target:o,event:e}:C(C({},o),{event:e})});return n}function xc(e){if(!(e===void 0||e===_c))return ue(e)}function Uc(e,t,n){if(!W){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 ui(e,t,n,o,i){var a=e.options.guards,s={state:i,cond:t,_event:o};if(t.type===Ln)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 di(e){return typeof e=="string"?{type:e}:e}function Vt(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 Pt(e,t){return"".concat(e,":invocation[").concat(t,"]")}function zn(e){return(e.type===qe||e.type===Ct&&e.to===Pe.Internal)&&typeof e.delay!="number"}var Re=J({type:ni});function Ht(e,t){return t&&t[e]||void 0}function je(e,t){var n;if(F(e)||typeof e=="number"){var o=Ht(e,t);M(o)?n={type:e,exec:o}:o?n=o:n={type:e,exec:void 0}}else if(M(e))n={type:e.name||e.toString(),exec:e};else{var o=Ht(e.type,t);if(M(o))n=C(C({},e),{exec:o});else if(o){var i=o.type||e.type;n=C(C(C({},o),e),{type:i})}else n=e}return n}var Se=function(e,t){if(!e)return[];var n=Je(e)?e:[e];return n.map(function(o){return je(o,t)})};function ln(e){var t=je(e);return C(C({id:F(e)?e:t.id},t),{type:t.type})}function fi(e,t){return{type:qe,event:typeof e=="function"?e:cn(e),delay:t?t.delay:void 0,id:t==null?void 0:t.id}}function pi(e,t,n,o){var i={_event:n},a=J(M(e.event)?e.event(t,n.data,i):e.event),s;if(F(e.delay)){var c=o&&o[e.delay];s=M(c)?c(t,n.data,i):c}else s=M(e.delay)?e.delay(t,n.data,i):e.delay;return C(C({},e),{type:qe,_event:a,delay:s})}function Ze(e,t){return{to:t?t.to:void 0,type:Ct,event:M(e)?e:cn(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:M(e)?e.name:ai(e)}}function mi(e,t,n,o){var i={_event:n},a=J(M(e.event)?e.event(t,n.data,i):e.event),s;if(F(e.delay)){var c=o&&o[e.delay];s=M(c)?c(t,n.data,i):c}else s=M(e.delay)?e.delay(t,n.data,i):e.delay;var l=M(e.to)?e.to(t,n.data,i):e.to;return C(C({},e),{to:l,_event:a,event:a.data,delay:s})}function ur(e,t){return Ze(e,C(C({},t),{to:Pe.Parent}))}function $c(e,t,n){return Ze(t,C(C({},n),{to:e}))}function gi(){return ur(sn)}function Rc(e,t){return Ze(e,C(C({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var Oc=function(e,t){return{context:e,event:t}};function Dc(e,t){return e===void 0&&(e=Oc),{type:an,label:t,expr:e}}var hi=function(e,t,n){return C(C({},e),{value:F(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},yi=function(e){return{type:sr,sendId:e}};function vi(e){var t=ln(e);return{type:V.Start,activity:t,exec:void 0}}function wi(e){var t=M(e)?e:ln(e);return{type:V.Stop,activity:t,exec:void 0}}function _i(e,t,n){var o=M(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 Si=function(e){return{type:on,assignment:e}};function Fc(e){return typeof e=="object"&&"type"in e}function Ci(e,t){var n=t?"#".concat(t):"";return"".concat(V.After,"(").concat(e,")").concat(n)}function dt(e,t){var n="".concat(V.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function gt(e,t){var n="".concat(V.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function ze(e,t){var n="".concat(V.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Mc(e){return{type:V.Pure,get:e}}function bi(e,t){if(!W&&(!e||typeof e=="function")){var n=e;e=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=typeof n=="function"?n.apply(void 0,G([],D(o),!1)):n;if(!a)throw new Error("Attempted to forward event to undefined actor. This risks an infinite loop in the sender.");return a}}return Ze(function(o,i){return i},C(C({},t),{to:e}))}function Bc(e,t){return ur(function(n,o,i){return{type:cr,data:M(e)?e(n,o,i):e}},C(C({},t),{to:Pe.Parent}))}function Vc(e){return{type:V.Choose,conds:e}}var Lc=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===on){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 wt(e,t,n,o,i,a,s){s===void 0&&(s=!1);var c=s?[]:Lc(i),l=c.length?to(n,o,c,t):n,u=s?[n]:void 0,d=[];function m(h,v){var S;switch(v.type){case qe:{var g=pi(v,l,o,e.options.delays);return a&&typeof g.delay=="number"&&a(g,l,o),g}case Ct:var w=mi(v,l,o,e.options.delays);if(!W){var y=v.delay;q(!F(y)||typeof w.delay=="number","No delay reference for delay expression '".concat(y,"' was found on machine '").concat(e.id,"'"))}return a&&w.to!==Pe.Internal&&(h==="entry"?d.push(w):a(w,l,o)),w;case an:{var _=hi(v,l,o);return a==null||a(_,l,o),_}case ri:{var b=v,A=(S=b.conds.find(function(Z){var se=li(Z.cond,e.options.guards);return!se||ui(e,se,l,o,a?void 0:t)}))===null||S===void 0?void 0:S.actions;if(!A)return[];var E=D(wt(e,t,l,o,[{type:h,actions:Se(ue(A),e.options.actions)}],a,s),2),I=E[0],N=E[1];return l=N,u==null||u.push(l),I}case oi:{var A=v.get(l,o.data);if(!A)return[];var P=D(wt(e,t,l,o,[{type:h,actions:Se(ue(A),e.options.actions)}],a,s),2),k=P[0],x=P[1];return l=x,u==null||u.push(l),k}case rn:{var _=_i(v,l,o);return a==null||a(_,n,o),_}case on:{l=to(l,o,[v],a?void 0:t),u==null||u.push(l);break}default:var $=je(v,e.options.actions),Y=$.exec;if(a)a($,l,o);else if(Y&&u){var ae=u.length-1,le=C(C({},$),{exec:function(Z){for(var se=[],re=1;re<arguments.length;re++)se[re-1]=arguments[re];Y.apply(void 0,G([u[ae]],D(se),!1))}});$=le}return $}}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,b=m(h.type,_);b&&(g=g.concat(b))}}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]}const Ai=Object.freeze(Object.defineProperty({__proto__:null,actionTypes:wc,after:Ci,assign:Si,cancel:yi,choose:Vc,done:dt,doneInvoke:gt,error:ze,escalate:Bc,forwardTo:bi,getActionFunction:Ht,initEvent:Re,isActionObject:Fc,log:Dc,pure:Mc,raise:fi,resolveActions:wt,resolveLog:hi,resolveRaise:pi,resolveSend:mi,resolveStop:_i,respond:Rc,send:Ze,sendParent:ur,sendTo:$c,sendUpdate:gi,start:vi,stop:wi,toActionObject:je,toActionObjects:Se,toActivityDefinition:ln},Symbol.toStringTag,{value:"Module"}));var Yt=[],Le=function(e,t){Yt.push(e);var n=t(e);return Yt.pop(),n},Gc=function(e){return e(Yt[Yt.length-1])};function Ei(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[Ie]=function(){return this},t}function zc(e,t,n,o){var i,a=di(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],c=e.data?Wt(e.data,n,o):void 0,l=s?dr(s,e.id,c):Ei(e.id);return l.meta=e,l}function dr(e,t,n){var o=Ei(t);if(o.deferred=!0,Ce(e)){var i=o.state=Le(void 0,function(){return(n?e.withContext(n):e).initialState});o.getSnapshot=function(){return i}}return o}function jc(e){try{return typeof e.send=="function"}catch{return!1}}function Wc(e){return jc(e)&&"id"in e}function Hc(e){var t;return C((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[Ie]=function(){return this},t),e)}var Kt=function(e){return e.type==="atomic"||e.type==="final"};function Ii(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function _t(e){return Ii(e).filter(function(t){return t.type!=="history"})}function Ti(e){var t=[e];return Kt(e)?t:t.concat(j(_t(e).map(Ti)))}function ft(e,t){var n,o,i,a,s,c,l,u,d=new Set(e),m=jn(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(N){n={error:N}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var g=jn(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(P){return f.add(P)}):v.initialStateNodes.forEach(function(P){return f.add(P)});else if(v.type==="parallel")try{for(var _=(s=void 0,O(_t(v))),b=_.next();!b.done;b=_.next()){var A=b.value;f.has(A)||(f.add(A),m.get(A)?m.get(A).forEach(function(P){return f.add(P)}):A.initialStateNodes.forEach(function(P){return f.add(P)}))}}catch(P){s={error:P}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}}}catch(N){i={error:N}}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(N){l={error:N}}finally{try{I&&!I.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}return f}function Ni(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var o=n[0];if(o){if(Kt(o))return o.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=Ni(a,t)}),i}function jn(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 Yc(e,t){var n=ft([e],t);return Ni(e,jn(n))}function pt(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function Kc(e){return G([],D(new Set(j(G([],D(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Lt(e,t){return t.type==="compound"?_t(t).some(function(n){return n.type==="final"&&pt(e,n)}):t.type==="parallel"?_t(t).every(function(n){return Lt(e,n)}):!1}function qc(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function no(e){return new Set(j(e.map(function(t){return t.tags})))}function Pi(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(F(e)||F(t))return e===t;var n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(function(i){return Pi(e[i],t[i])})}function Jc(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function Zc(e,t){var n=e.exec,o=C(C({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return o}var de=function(){function e(t){var n=this,o;this.actions=[],this.activities=Qr,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||Qr,this.meta=qc(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 Kc(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=Re;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=Re;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="."),F(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 C(C({},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;W&&q(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");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}(),Qc={deferEvents:!1},ro=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=C(C({},Qc),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}(),kn=new Map,Xc=0,it={bookId:function(){return"x:".concat(Xc++)},register:function(e,t){return kn.set(e,t),e},get:function(e){return kn.get(e)},free:function(e){kn.delete(e)}};function fr(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;W||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 el(){var e=fr();if(e&&"__xstate__"in e)return e.__xstate__}function tl(e){if(fr()){var t=el();t&&t.register(e)}}function nl(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=Hc({id:t.id,send:function(u){i.push(u),s()},getSnapshot:function(){return n},subscribe:function(u,d,m){var f=Vt(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 Wn={sync:!1,autoForward:!1},K;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(K||(K={}));var rl=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=K.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,m){if(Je(d))return o.batch(d),o.state;var f=J(cn(d,m));if(o.status===K.Stopped)return W||q(!1,'Event "'.concat(f.name,'" was sent to stopped service "').concat(o.machine.id,`". This service has already reached its final state, and will not transition.
|
|
16
|
+
Event: `).concat(JSON.stringify(f.data))),o.state;if(o.status!==K.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.
|
|
17
|
+
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===Pe.Parent||o.parent.id===m),h=p?o.parent:F(m)?m===Pe.Internal?o:o.children.get(m)||it.get(m):Pc(m)?m:void 0;if(!h){if(!p)throw new Error("Unable to send event to child '".concat(m,"' from service '").concat(o.id,"'."));W||q(!1,"Service '".concat(o.id,"' has no parent: unable to send event ").concat(d.type));return}if("machine"in h){if(o.status!==K.Stopped||o.parent!==h||o.state.done){var v=C(C({},d),{name:d.name===cr?"".concat(ze(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||Ht(d.type,p),v=M(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(Y){throw o.parent&&o.parent.send({type:"xstate.error",data:Y}),Y}switch(d.type){case qe:{var S=d;o.defer(S);break}case Ct:var g=d;if(typeof g.delay=="number"){o.defer(g);return}else g.to?o.sendTo(g._event,g.to,f===Re):o.send(g._event);break;case sr:o.cancel(d.sendId);break;case Gt:{if(o.status!==K.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=di(w.src),_=o.machine.options.services?o.machine.options.services[y.type]:void 0,b=w.id,A=w.data;W||q(!("forward"in w),"`forward` property is deprecated (found in invocation of '".concat(w.src,"' in in machine '").concat(o.machine.id,"'). ")+"Please use `autoForward` instead.");var E="autoForward"in w?w.autoForward:!!w.forward;if(!_){W||q(!1,"No service found for invocation '".concat(w.src,"' in machine '").concat(o.machine.id,"'."));return}var I=A?Wt(A,m,f):void 0;if(typeof _=="string")return;var N=M(_)?_(m,f.data,{data:I,src:y,meta:w.meta}):_;if(!N)return;var P=void 0;Ce(N)&&(N=I?N.withContext(I):N,P={autoForward:E}),o.spawn(N,b,P)}else o.spawnActivity(w);break}case rn:{o.stopChild(d.activity.id);break}case an:var k=d,x=k.label,$=k.value;x?o.logger(x,$):o.logger($);break;default:W||q(!1,"No implementation found for action type '".concat(d.type,"'"));break}};var i=C(C({},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 ro({deferEvents:this.options.deferEvents}),this.sessionId=it.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:Le(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return W||q(this.status!==K.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),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===Re)&&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(N){m.state.children[N.id]=N}),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(N){o={error:N}}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(N){a={error:N}}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(N){c={error:N}}finally{try{y&&!y.done&&(l=w.return)&&l.call(w)}finally{if(c)throw c.error}}if(this.state.done){var b=t.configuration.find(function(N){return N.type==="final"&&N.parent===m.machine}),A=b&&b.doneData?Wt(b.doneData,t.context,n):void 0;this._doneEvent=gt(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(N){u={error:N}}finally{try{I&&!I.done&&(d=E.return)&&d.call(E)}finally{if(u)throw u.error}}this._stop(),this._stopChildren(),it.free(this.sessionId)}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===K.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,o){var i=this,a=Vt(t,n,o);this.listeners.add(a.next),this.status!==K.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===K.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===K.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===K.Running)return this;this.machine._init(),it.register(this.sessionId,this),this.initialized=!0,this.status=K.Running;var o=t===void 0?this.initialState:Le(this,function(){return Jc(t)?n.machine.resolveState(t):n.machine.resolveState(de.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(o,Re)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){M(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=K.Stopped,this._initialState=void 0;try{for(var _=O(Object.keys(this.delayedEventsMap)),b=_.next();!b.done;b=_.next()){var A=b.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(E){u={error:E}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new ro({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var o=J({type:"xstate.stop"}),i=Le(t,function(){var a=j(G([],D(t.state.configuration),!1).sort(function(d,m){return m.order-d.order}).map(function(d){return Se(d.onExit,t.machine.options.actions)})),s=D(wt(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 de({value:t.state.value,context:l,_event:o,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:c.filter(function(d){return!zn(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(),it.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(this.status===K.NotStarted&&this.options.deferEvents)W||q(!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.
|
|
18
|
+
Event: `).concat(JSON.stringify(event)));else if(this.status!==K.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=J(p);n.forward(h),s=Le(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 Zc(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,J(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=J(t);if(i.name.indexOf(Vn)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Vn)===0}))throw i.data.data;var a=Le(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),M(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,o){if(this.status!==K.Running)return dr(t,n);if(eo(t))return this.spawnPromise(Promise.resolve(t),n);if(M(t))return this.spawnCallback(t,n);if(Wc(t))return this.spawnActor(t,n);if(Nc(t))return this.spawnObservable(t,n);if(Ce(t))return this.spawnMachine(t,C(C({},o),{id:n}));if(Ec(t))return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,n){var o=this;n===void 0&&(n={});var i=new e(t,C(C({},this.options),{parent:this,id:n.id||t.id})),a=C(C({},Wn),n);a.sync&&i.onTransition(function(c){o.send(sn,{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(J(c,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var o=nl(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(J(gt(n,l),{origin:n})))},function(l){if(!a){i.removeChild(n);var u=ze(n,l);try{i.send(J(u,{origin:n}))}catch(d){Uc(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=Vt(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[Ie]=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(J(f,{origin:n}))},d;try{d=t(u,function(f){s.add(f)})}catch(f){this.send(ze(n,f))}if(eo(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=Vt(f);return c.add(p.next),{unsubscribe:function(){c.delete(p.next)}}},stop:function(){a=!0,M(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return l}},o[Ie]=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(J(l,{origin:n}))},function(l){i.removeChild(n),i.send(J(ze(n,l),{origin:n}))},function(){i.removeChild(n),i.send(J(gt(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[Ie]=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){W||q(!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[Ie]=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(C(C({name:this.id,autoPause:!0,stateSanitizer:function(o){return{value:o.value,context:o.context,actions:o.actions}}},n),{features:C({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}tl(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Ie]=function(){return this},e.prototype.getSnapshot=function(){return this.status===K.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=ki,e}(),ol=function(e){return F(e)?C(C({},Wn),{name:e}):C(C(C({},Wn),{name:kc()}),e)};function at(e,t){var n=ol(t);return Gc(function(o){if(!W){var i=Ce(e)||M(e);q(!!o||i,'Attempted to spawn an Actor (ID: "'.concat(Ce(e)?e.id:"undefined",'") outside of a service. This will have no effect.'))}return o?o.spawn(e,n.name,n):dr(e,n.name)})}function ki(e,t){var n=new rl(e,t);return n}function il(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function kt(e){return C(C({type:zt},e),{toJSON:function(){e.onDone,e.onError;var t=ar(e,["onDone","onError"]);return C(C({},t),{type:zt,src:il(e.src)})}})}var Ge="",Hn="#",st="*",Be={},Ve=function(e){return e[0]===Hn},al=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},sl=function(e,t,n){var o=n.slice(0,-1).some(function(a){return!("cond"in a)&&!("in"in a)&&(F(a.target)||Ce(a.target))}),i=t===Ge?"the transient event":"event '".concat(t,"'");q(!o,"One or more transitions for ".concat(i," on state '").concat(e.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")},cl=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(al(),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:ii),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,W||q(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?ut(this.config.states,function(u,d){var m,f=new e(u,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,C((m={},m[f.id]=f,m),f.idMap)),f}):Be;var c=0;function l(u){var d,m;u.order=c++;try{for(var f=O(Ii(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===Ge}):Ge in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ue(this.config.entry||this.config.onEntry).map(function(u){return je(u)}),this.onExit=ue(this.config.exit||this.config.onExit).map(function(u){return je(u)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ue(this.config.invoke).map(function(u,d){var m,f;if(Ce(u)){var p=Pt(a.id,d);return a.machine.options.services=C((m={},m[p]=u,m),a.machine.options.services),kt({src:p,id:p})}else if(F(u.src)){var p=u.id||Pt(a.id,d);return kt(C(C({},u),{id:p,src:u.src}))}else if(Ce(u.src)||M(u.src)){var p=u.id||Pt(a.id,d);return a.machine.options.services=C((f={},f[p]=u.src,f),a.machine.options.services),kt(C(C({id:p},u),{src:p}))}else{var h=u.src;return kt(C(C({id:Pt(a.id,d)},u),{src:h}))}}),this.activities=ue(this.config.activities).concat(this.invoke).map(function(u){return ln(u)}),this.transition=this.transition.bind(this),this.tags=ue(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||Ti(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:C(C({},i),t.actions),activities:C(C({},a),t.activities),guards:C(C({},s),t.guards),services:C(C({},c),t.services),delays:C(C({},l),t.delays)},n??this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return M(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:ut(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(n,o){return n[o.eventType]=n[o.eventType]||[],n[o.eventType].push(o),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=t===Ge,o=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===st});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=M(a)?"".concat(t.id,":delay[").concat(s,"]"):a,l=Ci(c,t.id);return t.onEntry.push(Ze(l,{delay:a})),t.onExit.push(yi(l)),l},i=Je(n)?n.map(function(a,s){var c=o(a.delay,s);return C(C({},a),{event:c})}):j(Object.keys(n).map(function(a,s){var c=n[a],l=F(c)?{target:c}:c,u=isNaN(+a)?a:+a,d=o(u,s);return ue(l).map(function(m){return C(C({},m),{event:d,delay:u})})}));return i.map(function(a){var s=a.delay;return C(C({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,o=this;if(!t)return[];var i=t instanceof de?t.value:mt(t,this.delimiter);if(F(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=ai(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof de?t:de.create(t),o=Array.from(ft([],this.getStateNodes(n.value)));return new de(C(C({},n),{value:this.resolve(n.value),configuration:o,done:Lt(o,this),tags:no(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 F(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,J(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?F(h)&&Ve(h)?t.matches(mt(this.getStateNodeById(h).path,this.delimiter)):lr(mt(h,this.delimiter),Cc(this.path.slice(0,-2))(t.value)):!0,g=!1;try{g=!p||ui(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,`':
|
|
19
|
+
`).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?ft([],this.getStateNodes(s.value)):[],h=new Set;try{for(var v=O(Array.from(t).sort(function(k,x){return k.order-x.order})),S=v.next();!S.done;S=v.next()){var g=S.value;(!pt(p,g)||pt(o.exitSet,g)||g.parent&&h.has(g.parent))&&h.add(g)}}catch(k){l={error:k}}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;(!pt(t,g)||pt(o.exitSet,g.parent))&&o.exitSet.push(g)}}catch(k){d={error:k}}finally{try{y&&!y.done&&(m=w.return)&&m.call(w)}finally{if(d)throw d.error}}o.exitSet.sort(function(k,x){return x.order-k.order});var _=Array.from(h).sort(function(k,x){return k.order-x.order}),b=new Set(o.exitSet),A=j(_.map(function(k){var x=[];if(k.type!=="final")return x;var $=k.parent;if(!$.parent)return x;x.push(dt(k.id,k.doneData),dt($.id,k.doneData?Wt(k.doneData,i,a):void 0));var Y=$.parent;return Y.type==="parallel"&&_t(Y).every(function(ae){return Lt(o.configuration,ae)})&&x.push(dt(Y.id)),x})),E=_.map(function(k){var x=k.onEntry,$=k.activities.map(function(Y){return vi(Y)});return{type:"entry",actions:Se(c?G(G([],D(x),!1),D($),!1):G(G([],D($),!1),D(x),!1),f.machine.options.actions)}}).concat({type:"state_done",actions:A.map(function(k){return fi(k)})}),I=Array.from(b).map(function(k){return{type:"exit",actions:Se(G(G([],D(k.onExit),!1),D(k.activities.map(function(x){return wi(x)})),!1),f.machine.options.actions)}}),N=I.concat({type:"transition",actions:Se(o.actions,this.machine.options.actions)}).concat(E);if(n){var P=Se(j(G([],D(t),!1).sort(function(k,x){return x.order-k.order}).map(function(k){return k.onExit})),this.machine.options.actions).filter(function(k){return!zn(k)});return N.concat({type:"stop",actions:P})}return N},e.prototype.transition=function(t,n,o,i){t===void 0&&(t=this.initialState);var a=J(n),s;if(t instanceof de)s=o===void 0?t:this.resolveState(de.from(t,o));else{var c=F(t)?this.resolve(jt(this.getResolvedPath(t))):this.resolve(t),l=o??this.machine.context;s=this.resolveState(de.from(c,l))}if(!W&&a.name===st)throw new Error("An event cannot have the wildcard type ('".concat(st,"')"));if(this.strict&&!this.events.includes(a.name)&&!Ac(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var u=this._transition(s.value,s,a)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},d=ft([],this.getStateNodes(s.value)),m=u.configuration.length?ft(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=Re);var m=t.configuration,f=!n||t.transitions.length>0,p=f?t.configuration:n?n.configuration:[],h=Lt(p,this),v=f?Yc(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?C({},n.activities):{};try{for(var y=O(g),_=y.next();!_.done;_=y.next()){var b=_.value;try{for(var A=(l=void 0,O(b.actions)),E=A.next();!E.done;E=A.next()){var I=E.value;I.type===Gt?w[I.activity.id||I.activity.type]=I:I.type===rn&&(w[I.activity.id||I.activity.type]=!1)}}catch(te){l={error:te}}finally{try{E&&!E.done&&(u=A.return)&&u.call(A)}finally{if(l)throw l.error}}}}catch(te){s={error:te}}finally{try{_&&!_.done&&(c=y.return)&&c.call(y)}finally{if(s)throw s.error}}var N=D(wt(this,n,o,a,g,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),P=N[0],k=N[1],x=D(Ic(P,zn),2),$=x[0],Y=x[1],ae=P.filter(function(te){var Ee;return te.type===Gt&&((Ee=te.activity)===null||Ee===void 0?void 0:Ee.type)===zt}),le=ae.reduce(function(te,Ee){return te[Ee.activity.id]=zc(Ee.activity,d.machine,k,a),te},n?C({},n.children):{}),Z=new de({value:v||n.value,context:k,_event:a,_sessionid:n?n._sessionid:null,historyValue:v?S?Tc(S,v):void 0:n?n.historyValue:void 0,history:!v||t.source?n:void 0,actions:v?Y:[],activities:v?w:n?n.activities:{},events:[],configuration:p,transitions:t.transitions,children:le,done:h,tags:no(p),machine:this}),se=o!==k;Z.changed=a.name===sn||se;var re=Z.history;re&&delete re.history;var Fe=!h&&(this._transient||m.some(function(te){return te._transient}));if(!f&&(!Fe||a.name===Ge))return Z;var oe=Z;if(!h)for(Fe&&(oe=this.resolveRaisedTransition(oe,{type:ti},a,i));$.length;){var U=$.shift();oe=this.resolveRaisedTransition(oe,U._event,a,i)}var Kr=oe.changed||(re?!!oe.actions.length||se||typeof re.value!=typeof oe.value||!Pi(oe.value,re.value):void 0);return oe.changed=Kr,oe.history=re,oe},e.prototype.getStateNode=function(t){if(Ve(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=Ve(t)?t.slice(Hn.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"&&Ve(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Gn(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||Be;switch(this.type){case"parallel":return ut(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):Be});case"compound":if(F(t)){var i=this.getStateNode(t);return i.type==="parallel"||i.type==="compound"?(n={},n[t]=i.initialStateValue,n):t}return Object.keys(t).length?ut(t,function(a,s){return a?o.getStateNode(s).resolve(a):Be}):this.initialStateValue||{};default:return t||Be}},e.prototype.getResolvedPath=function(t){if(Ve(t)){var n=this.machine.idMap[t.slice(Hn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Gn(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=Xr(this.states,function(o){return o.initialStateValue||Be},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=Kt(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??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;F(n.target)?t=Ve(n.target)?jt(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(Kt(this))return[this];if(this.type==="compound"&&!this.initial)return W||q(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this];var n=Bt(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:Xr(this.states,function(n,o){if(!t)return n.historyValue();var i=F(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(Bt(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=bc(o.path,"states")(t).current;return F(a)?[o.getStateNode(a)]:j(Bt(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(!F(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,`':
|
|
20
|
+
`).concat(c.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,o=xc(t.target),i="internal"in t?t.internal:o?o.some(function(l){return F(l)&&l[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(o),c=C(C({},t),{actions:Se(ue(t.actions)),cond:li(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return C(C({},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=st,c=a[s],l=c===void 0?[]:c,u=ar(a,[typeof s=="symbol"?s:s+""]);i=j(Object.keys(u).map(function(w){!W&&w===Ge&&q(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(o.id,'".'));var y=Me(w,u[w]);return W||sl(o,w,y),y}).concat(Me(st,l)))}var d=this.config.always?Me("",this.config.always):[],m=this.config.onDone?Me(String(dt(this.id)),this.config.onDone):[];W||q(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var f=j(this.invoke.map(function(w){var y=[];return w.onDone&&y.push.apply(y,G([],D(Me(String(gt(w.id)),w.onDone)),!1)),w.onError&&y.push.apply(y,G([],D(Me(String(ze(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 ue(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}(),oo=!1;function Qe(e,t){return!W&&!("predictableActionArguments"in e)&&!oo&&(oo=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new cl(e,t)}var _e=Si,un=gi,ll=bi,xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ul(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 Ui=ul;function dl(){this.__data__=[],this.size=0}var fl=dl;function pl(e,t){return e===t||e!==e&&t!==t}var bt=pl,ml=bt;function gl(e,t){for(var n=e.length;n--;)if(ml(e[n][0],t))return n;return-1}var dn=gl,hl=dn,yl=Array.prototype,vl=yl.splice;function wl(e){var t=this.__data__,n=hl(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():vl.call(t,n,1),--this.size,!0}var _l=wl,Sl=dn;function Cl(e){var t=this.__data__,n=Sl(t,e);return n<0?void 0:t[n][1]}var bl=Cl,Al=dn;function El(e){return Al(this.__data__,e)>-1}var Il=El,Tl=dn;function Nl(e,t){var n=this.__data__,o=Tl(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Pl=Nl,kl=fl,xl=_l,Ul=bl,$l=Il,Rl=Pl;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=kl;Xe.prototype.delete=xl;Xe.prototype.get=Ul;Xe.prototype.has=$l;Xe.prototype.set=Rl;var fn=Xe,Ol=fn;function Dl(){this.__data__=new Ol,this.size=0}var Fl=Dl;function Ml(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Bl=Ml;function Vl(e){return this.__data__.get(e)}var Ll=Vl;function Gl(e){return this.__data__.has(e)}var zl=Gl,jl=typeof xt=="object"&&xt&&xt.Object===Object&&xt,$i=jl,Wl=$i,Hl=typeof self=="object"&&self&&self.Object===Object&&self,Yl=Wl||Hl||Function("return this")(),ge=Yl,Kl=ge,ql=Kl.Symbol,pn=ql,io=pn,Ri=Object.prototype,Jl=Ri.hasOwnProperty,Zl=Ri.toString,ct=io?io.toStringTag:void 0;function Ql(e){var t=Jl.call(e,ct),n=e[ct];try{e[ct]=void 0;var o=!0}catch{}var i=Zl.call(e);return o&&(t?e[ct]=n:delete e[ct]),i}var Xl=Ql,eu=Object.prototype,tu=eu.toString;function nu(e){return tu.call(e)}var ru=nu,ao=pn,ou=Xl,iu=ru,au="[object Null]",su="[object Undefined]",so=ao?ao.toStringTag:void 0;function cu(e){return e==null?e===void 0?su:au:so&&so in Object(e)?ou(e):iu(e)}var et=cu;function lu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var be=lu,uu=et,du=be,fu="[object AsyncFunction]",pu="[object Function]",mu="[object GeneratorFunction]",gu="[object Proxy]";function hu(e){if(!du(e))return!1;var t=uu(e);return t==pu||t==mu||t==fu||t==gu}var pr=hu,yu=ge,vu=yu["__core-js_shared__"],wu=vu,xn=wu,co=function(){var e=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _u(e){return!!co&&co in e}var Su=_u,Cu=Function.prototype,bu=Cu.toString;function Au(e){if(e!=null){try{return bu.call(e)}catch{}try{return e+""}catch{}}return""}var Oi=Au,Eu=pr,Iu=Su,Tu=be,Nu=Oi,Pu=/[\\^$.*+?()[\]{}|]/g,ku=/^\[object .+?Constructor\]$/,xu=Function.prototype,Uu=Object.prototype,$u=xu.toString,Ru=Uu.hasOwnProperty,Ou=RegExp("^"+$u.call(Ru).replace(Pu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Du(e){if(!Tu(e)||Iu(e))return!1;var t=Eu(e)?Ou:ku;return t.test(Nu(e))}var Fu=Du;function Mu(e,t){return e==null?void 0:e[t]}var Bu=Mu,Vu=Fu,Lu=Bu;function Gu(e,t){var n=Lu(e,t);return Vu(n)?n:void 0}var Oe=Gu,zu=Oe,ju=ge,Wu=zu(ju,"Map"),mr=Wu,Hu=Oe,Yu=Hu(Object,"create"),mn=Yu,lo=mn;function Ku(){this.__data__=lo?lo(null):{},this.size=0}var qu=Ku;function Ju(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Zu=Ju,Qu=mn,Xu="__lodash_hash_undefined__",ed=Object.prototype,td=ed.hasOwnProperty;function nd(e){var t=this.__data__;if(Qu){var n=t[e];return n===Xu?void 0:n}return td.call(t,e)?t[e]:void 0}var rd=nd,od=mn,id=Object.prototype,ad=id.hasOwnProperty;function sd(e){var t=this.__data__;return od?t[e]!==void 0:ad.call(t,e)}var cd=sd,ld=mn,ud="__lodash_hash_undefined__";function dd(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ld&&t===void 0?ud:t,this}var fd=dd,pd=qu,md=Zu,gd=rd,hd=cd,yd=fd;function tt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}tt.prototype.clear=pd;tt.prototype.delete=md;tt.prototype.get=gd;tt.prototype.has=hd;tt.prototype.set=yd;var vd=tt,uo=vd,wd=fn,_d=mr;function Sd(){this.size=0,this.__data__={hash:new uo,map:new(_d||wd),string:new uo}}var Cd=Sd;function bd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ad=bd,Ed=Ad;function Id(e,t){var n=e.__data__;return Ed(t)?n[typeof t=="string"?"string":"hash"]:n.map}var gn=Id,Td=gn;function Nd(e){var t=Td(this,e).delete(e);return this.size-=t?1:0,t}var Pd=Nd,kd=gn;function xd(e){return kd(this,e).get(e)}var Ud=xd,$d=gn;function Rd(e){return $d(this,e).has(e)}var Od=Rd,Dd=gn;function Fd(e,t){var n=Dd(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var Md=Fd,Bd=Cd,Vd=Pd,Ld=Ud,Gd=Od,zd=Md;function nt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}nt.prototype.clear=Bd;nt.prototype.delete=Vd;nt.prototype.get=Ld;nt.prototype.has=Gd;nt.prototype.set=zd;var gr=nt,jd=fn,Wd=mr,Hd=gr,Yd=200;function Kd(e,t){var n=this.__data__;if(n instanceof jd){var o=n.__data__;if(!Wd||o.length<Yd-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Hd(o)}return n.set(e,t),this.size=n.size,this}var qd=Kd,Jd=fn,Zd=Fl,Qd=Bl,Xd=Ll,ef=zl,tf=qd;function rt(e){var t=this.__data__=new Jd(e);this.size=t.size}rt.prototype.clear=Zd;rt.prototype.delete=Qd;rt.prototype.get=Xd;rt.prototype.has=ef;rt.prototype.set=tf;var hr=rt,nf="__lodash_hash_undefined__";function rf(e){return this.__data__.set(e,nf),this}var of=rf;function af(e){return this.__data__.has(e)}var sf=af,cf=gr,lf=of,uf=sf;function qt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new cf;++t<n;)this.add(e[t])}qt.prototype.add=qt.prototype.push=lf;qt.prototype.has=uf;var df=qt;function ff(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 pf=ff;function mf(e,t){return e.has(t)}var gf=mf,hf=df,yf=pf,vf=gf,wf=1,_f=2;function Sf(e,t,n,o,i,a){var s=n&wf,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&_f?new hf: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(!yf(t,function(g,w){if(!vf(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 Di=Sf,Cf=ge,bf=Cf.Uint8Array,Fi=bf;function Af(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var Ef=Af;function If(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var Tf=If,fo=pn,po=Fi,Nf=bt,Pf=Di,kf=Ef,xf=Tf,Uf=1,$f=2,Rf="[object Boolean]",Of="[object Date]",Df="[object Error]",Ff="[object Map]",Mf="[object Number]",Bf="[object RegExp]",Vf="[object Set]",Lf="[object String]",Gf="[object Symbol]",zf="[object ArrayBuffer]",jf="[object DataView]",mo=fo?fo.prototype:void 0,Un=mo?mo.valueOf:void 0;function Wf(e,t,n,o,i,a,s){switch(n){case jf:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case zf:return!(e.byteLength!=t.byteLength||!a(new po(e),new po(t)));case Rf:case Of:case Mf:return Nf(+e,+t);case Df:return e.name==t.name&&e.message==t.message;case Bf:case Lf:return e==t+"";case Ff:var c=kf;case Vf:var l=o&Uf;if(c||(c=xf),e.size!=t.size&&!l)return!1;var u=s.get(e);if(u)return u==t;o|=$f,s.set(e,t);var d=Pf(c(e),c(t),o,i,a,s);return s.delete(e),d;case Gf:if(Un)return Un.call(e)==Un.call(t)}return!1}var Hf=Wf;function Yf(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var Mi=Yf,Kf=Array.isArray,Ae=Kf,qf=Mi,Jf=Ae;function Zf(e,t,n){var o=t(e);return Jf(e)?o:qf(o,n(e))}var Bi=Zf;function Qf(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 Xf=Qf;function ep(){return[]}var Vi=ep,tp=Xf,np=Vi,rp=Object.prototype,op=rp.propertyIsEnumerable,go=Object.getOwnPropertySymbols,ip=go?function(e){return e==null?[]:(e=Object(e),tp(go(e),function(t){return op.call(e,t)}))}:np,Li=ip;function ap(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var sp=ap;function cp(e){return e!=null&&typeof e=="object"}var De=cp,lp=et,up=De,dp="[object Arguments]";function fp(e){return up(e)&&lp(e)==dp}var pp=fp,ho=pp,mp=De,Gi=Object.prototype,gp=Gi.hasOwnProperty,hp=Gi.propertyIsEnumerable,yp=ho(function(){return arguments}())?ho:function(e){return mp(e)&&gp.call(e,"callee")&&!hp.call(e,"callee")},yr=yp,Jt={exports:{}};function vp(){return!1}var wp=vp;Jt.exports;(function(e,t){var n=ge,o=wp,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})(Jt,Jt.exports);var vr=Jt.exports,_p=9007199254740991,Sp=/^(?:0|[1-9]\d*)$/;function Cp(e,t){var n=typeof e;return t=t??_p,!!t&&(n=="number"||n!="symbol"&&Sp.test(e))&&e>-1&&e%1==0&&e<t}var hn=Cp,bp=9007199254740991;function Ap(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bp}var wr=Ap,Ep=et,Ip=wr,Tp=De,Np="[object Arguments]",Pp="[object Array]",kp="[object Boolean]",xp="[object Date]",Up="[object Error]",$p="[object Function]",Rp="[object Map]",Op="[object Number]",Dp="[object Object]",Fp="[object RegExp]",Mp="[object Set]",Bp="[object String]",Vp="[object WeakMap]",Lp="[object ArrayBuffer]",Gp="[object DataView]",zp="[object Float32Array]",jp="[object Float64Array]",Wp="[object Int8Array]",Hp="[object Int16Array]",Yp="[object Int32Array]",Kp="[object Uint8Array]",qp="[object Uint8ClampedArray]",Jp="[object Uint16Array]",Zp="[object Uint32Array]",z={};z[zp]=z[jp]=z[Wp]=z[Hp]=z[Yp]=z[Kp]=z[qp]=z[Jp]=z[Zp]=!0;z[Np]=z[Pp]=z[Lp]=z[kp]=z[Gp]=z[xp]=z[Up]=z[$p]=z[Rp]=z[Op]=z[Dp]=z[Fp]=z[Mp]=z[Bp]=z[Vp]=!1;function Qp(e){return Tp(e)&&Ip(e.length)&&!!z[Ep(e)]}var Xp=Qp;function em(e){return function(t){return e(t)}}var tm=em,Zt={exports:{}};Zt.exports;(function(e,t){var n=$i,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})(Zt,Zt.exports);var nm=Zt.exports,rm=Xp,om=tm,yo=nm,vo=yo&&yo.isTypedArray,im=vo?om(vo):rm,_r=im,am=sp,sm=yr,cm=Ae,lm=vr,um=hn,dm=_r,fm=Object.prototype,pm=fm.hasOwnProperty;function mm(e,t){var n=cm(e),o=!n&&sm(e),i=!n&&!o&&lm(e),a=!n&&!o&&!i&&dm(e),s=n||o||i||a,c=s?am(e.length,String):[],l=c.length;for(var u in e)(t||pm.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||um(u,l)))&&c.push(u);return c}var zi=mm,gm=Object.prototype;function hm(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||gm;return e===n}var Sr=hm;function ym(e,t){return function(n){return e(t(n))}}var ji=ym,vm=ji,wm=vm(Object.keys,Object),_m=wm,Sm=Sr,Cm=_m,bm=Object.prototype,Am=bm.hasOwnProperty;function Em(e){if(!Sm(e))return Cm(e);var t=[];for(var n in Object(e))Am.call(e,n)&&n!="constructor"&&t.push(n);return t}var Im=Em,Tm=pr,Nm=wr;function Pm(e){return e!=null&&Nm(e.length)&&!Tm(e)}var yn=Pm,km=zi,xm=Im,Um=yn;function $m(e){return Um(e)?km(e):xm(e)}var Wi=$m,Rm=Bi,Om=Li,Dm=Wi;function Fm(e){return Rm(e,Dm,Om)}var Mm=Fm,wo=Mm,Bm=1,Vm=Object.prototype,Lm=Vm.hasOwnProperty;function Gm(e,t,n,o,i,a){var s=n&Bm,c=wo(e),l=c.length,u=wo(t),d=u.length;if(l!=d&&!s)return!1;for(var m=l;m--;){var f=c[m];if(!(s?f in t:Lm.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,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof b=="function"&&b instanceof b)&&(v=!1)}return a.delete(e),a.delete(t),v}var zm=Gm,jm=Oe,Wm=ge,Hm=jm(Wm,"DataView"),Ym=Hm,Km=Oe,qm=ge,Jm=Km(qm,"Promise"),Zm=Jm,Qm=Oe,Xm=ge,eg=Qm(Xm,"Set"),tg=eg,ng=Oe,rg=ge,og=ng(rg,"WeakMap"),ig=og,Yn=Ym,Kn=mr,qn=Zm,Jn=tg,Zn=ig,Hi=et,ot=Oi,_o="[object Map]",ag="[object Object]",So="[object Promise]",Co="[object Set]",bo="[object WeakMap]",Ao="[object DataView]",sg=ot(Yn),cg=ot(Kn),lg=ot(qn),ug=ot(Jn),dg=ot(Zn),$e=Hi;(Yn&&$e(new Yn(new ArrayBuffer(1)))!=Ao||Kn&&$e(new Kn)!=_o||qn&&$e(qn.resolve())!=So||Jn&&$e(new Jn)!=Co||Zn&&$e(new Zn)!=bo)&&($e=function(e){var t=Hi(e),n=t==ag?e.constructor:void 0,o=n?ot(n):"";if(o)switch(o){case sg:return Ao;case cg:return _o;case lg:return So;case ug:return Co;case dg:return bo}return t});var fg=$e,$n=hr,pg=Di,mg=Hf,gg=zm,Eo=fg,Io=Ae,To=vr,hg=_r,yg=1,No="[object Arguments]",Po="[object Array]",Ut="[object Object]",vg=Object.prototype,ko=vg.hasOwnProperty;function wg(e,t,n,o,i,a){var s=Io(e),c=Io(t),l=s?Po:Eo(e),u=c?Po:Eo(t);l=l==No?Ut:l,u=u==No?Ut:u;var d=l==Ut,m=u==Ut,f=l==u;if(f&&To(e)){if(!To(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new $n),s||hg(e)?pg(e,t,n,o,i,a):mg(e,t,l,n,o,i,a);if(!(n&yg)){var p=d&&ko.call(e,"__wrapped__"),h=m&&ko.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,S=h?t.value():t;return a||(a=new $n),i(v,S,n,o,a)}}return f?(a||(a=new $n),gg(e,t,n,o,i,a)):!1}var _g=wg,Sg=_g,xo=De;function Yi(e,t,n,o,i){return e===t?!0:e==null||t==null||!xo(e)&&!xo(t)?e!==e&&t!==t:Sg(e,t,n,o,Yi,i)}var Ki=Yi,Cg=hr,bg=Ki,Ag=1,Eg=2;function Ig(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 Cg;if(o)var f=o(u,d,l,e,t,m);if(!(f===void 0?bg(d,u,Ag|Eg,o,m):f))return!1}}return!0}var Tg=Ig,Ng=be;function Pg(e){return e===e&&!Ng(e)}var qi=Pg,kg=qi,xg=Wi;function Ug(e){for(var t=xg(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,kg(i)]}return t}var $g=Ug;function Rg(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Ji=Rg,Og=Tg,Dg=$g,Fg=Ji;function Mg(e){var t=Dg(e);return t.length==1&&t[0][2]?Fg(t[0][0],t[0][1]):function(n){return n===e||Og(n,e,t)}}var Bg=Mg,Vg=et,Lg=De,Gg="[object Symbol]";function zg(e){return typeof e=="symbol"||Lg(e)&&Vg(e)==Gg}var Cr=zg,jg=Ae,Wg=Cr,Hg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yg=/^\w*$/;function Kg(e,t){if(jg(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Wg(e)?!0:Yg.test(e)||!Hg.test(e)||t!=null&&e in Object(t)}var br=Kg,Zi=gr,qg="Expected a function";function Ar(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(qg);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(Ar.Cache||Zi),n}Ar.Cache=Zi;var Jg=Ar,Zg=Jg,Qg=500;function Xg(e){var t=Zg(e,function(o){return n.size===Qg&&n.clear(),o}),n=t.cache;return t}var eh=Xg,th=eh,nh=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rh=/\\(\\)?/g,oh=th(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(nh,function(n,o,i,a){t.push(i?a.replace(rh,"$1"):o||n)}),t}),ih=oh,Uo=pn,ah=Ui,sh=Ae,ch=Cr,lh=1/0,$o=Uo?Uo.prototype:void 0,Ro=$o?$o.toString:void 0;function Qi(e){if(typeof e=="string")return e;if(sh(e))return ah(e,Qi)+"";if(ch(e))return Ro?Ro.call(e):"";var t=e+"";return t=="0"&&1/e==-lh?"-0":t}var uh=Qi,dh=uh;function fh(e){return e==null?"":dh(e)}var ph=fh,mh=Ae,gh=br,hh=ih,yh=ph;function vh(e,t){return mh(e)?e:gh(e,t)?[e]:hh(yh(e))}var vn=vh,wh=Cr,_h=1/0;function Sh(e){if(typeof e=="string"||wh(e))return e;var t=e+"";return t=="0"&&1/e==-_h?"-0":t}var At=Sh,Ch=vn,bh=At;function Ah(e,t){t=Ch(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[bh(t[n++])];return n&&n==o?e:void 0}var Er=Ah,Eh=Er;function Ih(e,t,n){var o=e==null?void 0:Eh(e,t);return o===void 0?n:o}var Th=Ih;function Nh(e,t){return e!=null&&t in Object(e)}var Ph=Nh,kh=vn,xh=yr,Uh=Ae,$h=hn,Rh=wr,Oh=At;function Dh(e,t,n){t=kh(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=Oh(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&&Rh(i)&&$h(s,i)&&(Uh(e)||xh(e)))}var Fh=Dh,Mh=Ph,Bh=Fh;function Vh(e,t){return e!=null&&Bh(e,t,Mh)}var Lh=Vh,Gh=Ki,zh=Th,jh=Lh,Wh=br,Hh=qi,Yh=Ji,Kh=At,qh=1,Jh=2;function Zh(e,t){return Wh(e)&&Hh(t)?Yh(Kh(e),t):function(n){var o=zh(n,e);return o===void 0&&o===t?jh(n,e):Gh(t,o,qh|Jh)}}var Qh=Zh;function Xh(e){return e}var Ir=Xh;function ey(e){return function(t){return t==null?void 0:t[e]}}var ty=ey,ny=Er;function ry(e){return function(t){return ny(t,e)}}var oy=ry,iy=ty,ay=oy,sy=br,cy=At;function ly(e){return sy(e)?iy(cy(e)):ay(e)}var uy=ly,dy=Bg,fy=Qh,py=Ir,my=Ae,gy=uy;function hy(e){return typeof e=="function"?e:e==null?py:typeof e=="object"?my(e)?fy(e[0],e[1]):dy(e):gy(e)}var yy=hy,vy=Oe,wy=function(){try{var e=vy(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Xi=wy,Oo=Xi;function _y(e,t,n){t=="__proto__"&&Oo?Oo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Tr=_y,Sy=Tr,Cy=bt,by=Object.prototype,Ay=by.hasOwnProperty;function Ey(e,t,n){var o=e[t];(!(Ay.call(e,t)&&Cy(o,n))||n===void 0&&!(t in e))&&Sy(e,t,n)}var ea=Ey,Iy=ea,Ty=vn,Ny=hn,Do=be,Py=At;function ky(e,t,n,o){if(!Do(e))return e;t=Ty(t,e);for(var i=-1,a=t.length,s=a-1,c=e;c!=null&&++i<a;){var l=Py(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=Do(d)?d:Ny(t[i+1])?[]:{})}Iy(c,l,u),c=c[l]}return e}var xy=ky,Uy=Er,$y=xy,Ry=vn;function Oy(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],c=Uy(e,s);n(c,s)&&$y(a,Ry(s,e),c)}return a}var Dy=Oy,Fy=ji,My=Fy(Object.getPrototypeOf,Object),Nr=My,By=Mi,Vy=Nr,Ly=Li,Gy=Vi,zy=Object.getOwnPropertySymbols,jy=zy?function(e){for(var t=[];e;)By(t,Ly(e)),e=Vy(e);return t}:Gy,Wy=jy;function Hy(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Yy=Hy,Ky=be,qy=Sr,Jy=Yy,Zy=Object.prototype,Qy=Zy.hasOwnProperty;function Xy(e){if(!Ky(e))return Jy(e);var t=qy(e),n=[];for(var o in e)o=="constructor"&&(t||!Qy.call(e,o))||n.push(o);return n}var ev=Xy,tv=zi,nv=ev,rv=yn;function ov(e){return rv(e)?tv(e,!0):nv(e)}var Pr=ov,iv=Bi,av=Wy,sv=Pr;function cv(e){return iv(e,sv,av)}var lv=cv,uv=Ui,dv=yy,fv=Dy,pv=lv;function mv(e,t){if(e==null)return{};var n=uv(pv(e),function(o){return[o]});return t=dv(t),fv(e,n,function(o,i){return t(o,i[0])})}var gv=mv;const hv=xi(gv),yv=!0,vv="",wn=(e,t)=>`${e}${t}`.replace(/[^A-Z0-9+]/gi,""),wv=(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:")}},_v=e=>{const{phone_number:t,...n}=hv(e,wv);if(Jo(t)&&t!==vv){const{country_code:o}=e;return{...n,phone_number:wn(o,t)}}return n},Sv=(e,t,n)=>{const{password:o,...i}=t,a=_v(i),s={autoSignIn:yv,userAttributes:{...n==="phone_number"?{...a,phone_number:e}:a}};return{username:e,password:o,options:s}},Cv=({formValues:e,loginMechanisms:t})=>{const n=t[0];if(n==="phone_number"){const{country_code:o,phone_number:i}=e;return wn(o,i)}return e[n]},{assign:B}=Ai,bv=B({actorDoneData:void 0}),Av=B({challengeName:void 0}),Ev=B({missingAttributes:void 0}),Iv=B({remoteError:void 0}),Tv=B({formValues:{}}),Nv=B({touched:{}}),Pv=B({user:void 0}),kv=B({validationError:{}}),xv=B({totpSecretCode:(e,{data:t})=>{var o;const{sharedSecret:n}=((o=t.nextStep)==null?void 0:o.totpSetupDetails)??{};return n}}),Uv=B({step:"SIGN_IN"}),$v=B({step:"SHOULD_CONFIRM_USER_ATTRIBUTE"}),Rv=B({step:"CONFIRM_ATTRIBUTE_COMPLETE"}),Ov=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}}),Dv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?wn(i,o):o}}),Fv=B({username:Cv}),Mv=B({username:({formValues:e,loginMechanisms:t})=>{const n=t[0],{username:o,country_code:i}=e;return n==="phone_number"?wn(i,o):o}}),Bv=B({step:(e,{data:t})=>t.nextStep.signInStep==="DONE"?"SIGN_IN_COMPLETE":t.nextStep.signInStep}),Vv=B({step:(e,{data:t})=>t.nextStep.signUpStep==="DONE"?"SIGN_UP_COMPLETE":t.nextStep.signUpStep}),Lv=B({step:(e,{data:t})=>t.nextStep.resetPasswordStep==="DONE"?"RESET_PASSWORD_COMPLETE":t.nextStep.resetPasswordStep}),Gv=B({missingAttributes:(e,{data:t})=>{var n;return(n=t.nextStep)==null?void 0:n.missingAttributes}}),zv=B({validationError:(e,{data:t})=>t}),jv=B({remoteError:(e,{data:t})=>t.name==="NoUserPoolError"?"Configuration error (see console) – please contact the administrator":(t==null?void 0:t.message)||t}),Wv=B({user:(e,{data:t})=>t}),Fo=e=>({Destination:e.destination,DeliveryMedium:e.deliveryMedium,AttributeName:e.attributName}),Hv=B({codeDeliveryDetails:(e,{data:t})=>{var n;return(n=t==null?void 0:t.nextStep)!=null&&n.codeDeliveryDetails?Fo(t.nextStep.codeDeliveryDetails):Fo(t)}}),Yv=B({formValues:(e,{data:t})=>{const{name:n,value:o}=t;return{...e.formValues,[n]:o}}}),Kv=B({formValues:(e,{data:t})=>ds({...e.formValues,...t},"password")}),qv=B({touched:(e,{data:t})=>({...e.touched,[t.name]:!0})}),Jv=B({unverifiedUserAttributes:(e,{data:t})=>{const{email:n,phone_number:o}=t;return{...n&&{email:n},...o&&{phone_number:o}}}}),Zv=B({selectedUserAttribute:void 0}),Qv=B({selectedUserAttribute:e=>{var t;return(t=e.formValues)==null?void 0:t.unverifiedAttr}}),Xv=B({step:"CONFIRM_SIGN_UP"}),Et={clearActorDoneData:bv,clearChallengeName:Av,clearError:Iv,clearFormValues:Tv,clearMissingAttributes:Ev,clearSelectedUserAttribute:Zv,clearTouched:Nv,clearUser:Pv,clearValidationError:kv,handleBlur:qv,handleInput:Yv,handleSubmit:Kv,setChallengeName:Ov,setCodeDeliveryDetails:Hv,setFieldErrors:zv,setMissingAttributes:Gv,setNextResetPasswordStep:Lv,setNextSignInStep:Bv,setNextSignUpStep:Vv,setRemoteError:jv,setConfirmAttributeCompleteStep:Rv,setConfirmSignUpSignUpStep:Xv,setShouldVerifyUserAttributeStep:$v,setSelectedUserAttribute:Qv,setSignInStep:Uv,setTotpSecretCode:xv,setUser:Wv,setUnverifiedUserAttributes:Jv,setUsernameForgotPassword:Dv,setUsernameSignIn:Mv,setUsernameSignUp:Fv},ew=["CONFIRM_SIGN_IN_WITH_SMS_CODE","CONFIRM_SIGN_IN_WITH_TOTP_CODE"],tw=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",nw=(e,{data:t})=>{var n;return((n=t==null?void 0:t.nextStep)==null?void 0:n.signInStep)==="RESET_PASSWORD"},rw=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="CONFIRM_SIGN_UP",ow=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="COMPLETE_AUTO_SIGN_IN",iw=(e,{data:t})=>(t==null?void 0:t.nextStep.signInStep)==="DONE",aw=(e,{data:t})=>(t==null?void 0:t.nextStep.signUpStep)==="DONE",sw=(e,{data:t})=>(t==null?void 0:t.nextStep.resetPasswordStep)==="DONE",cw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_COMPLETE",lw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_ATTRIBUTE_WITH_CODE",uw=(e,{data:t})=>(t==null?void 0:t.step)==="SHOULD_CONFIRM_USER_ATTRIBUTE",dw=(e,{data:t})=>(t==null?void 0:t.step)==="RESET_PASSWORD",fw=(e,{data:t})=>(t==null?void 0:t.step)==="CONFIRM_SIGN_UP",pw=({step:e})=>ew.includes(e),mw=({step:e})=>e==="CONTINUE_SIGN_IN_WITH_TOTP_SETUP",gw=({step:e})=>e==="RESET_PASSWORD",hw=({step:e})=>e==="CONFIRM_RESET_PASSWORD_WITH_CODE",yw=({step:e})=>e==="CONFIRM_SIGN_UP",vw=(e,{data:t})=>{const{phone_number_verified:n,email_verified:o}=t;return(o===void 0||o==="false")&&(n===void 0||n==="false")},ww=(e,{data:t})=>t.message==="User is already confirmed.",_n={hasCompletedAttributeConfirmation:cw,hasCompletedResetPassword:sw,hasCompletedSignIn:iw,hasCompletedSignUp:aw,isConfirmSignUpStep:fw,isConfirmUserAttributeStep:lw,isResetPasswordStep:dw,isShouldConfirmUserAttributeStep:uw,isUserAlreadyConfirmed:ww,shouldAutoSignIn:ow,shouldConfirmResetPassword:hw,shouldConfirmSignIn:pw,shouldConfirmSignInWithNewPassword:tw,shouldConfirmSignUp:yw,shouldConfirmSignUpFromSignIn:rw,shouldResetPassword:gw,shouldResetPasswordFromSignIn:nw,shouldSetupTotp:mw,shouldVerifyAttribute:vw};var _w=Tr,Sw=bt;function Cw(e,t,n){(n!==void 0&&!Sw(e[t],n)||n===void 0&&!(t in e))&&_w(e,t,n)}var ta=Cw;function bw(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 Aw=bw,Ew=Aw,Iw=Ew(),Tw=Iw,Qt={exports:{}};Qt.exports;(function(e,t){var n=ge,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})(Qt,Qt.exports);var Nw=Qt.exports,Mo=Fi;function Pw(e){var t=new e.constructor(e.byteLength);return new Mo(t).set(new Mo(e)),t}var kw=Pw,xw=kw;function Uw(e,t){var n=t?xw(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var $w=Uw;function Rw(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Ow=Rw,Dw=be,Bo=Object.create,Fw=function(){function e(){}return function(t){if(!Dw(t))return{};if(Bo)return Bo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Mw=Fw,Bw=Mw,Vw=Nr,Lw=Sr;function Gw(e){return typeof e.constructor=="function"&&!Lw(e)?Bw(Vw(e)):{}}var zw=Gw,jw=yn,Ww=De;function Hw(e){return Ww(e)&&jw(e)}var Yw=Hw,Kw=et,qw=Nr,Jw=De,Zw="[object Object]",Qw=Function.prototype,Xw=Object.prototype,na=Qw.toString,e_=Xw.hasOwnProperty,t_=na.call(Object);function n_(e){if(!Jw(e)||Kw(e)!=Zw)return!1;var t=qw(e);if(t===null)return!0;var n=e_.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&na.call(n)==t_}var r_=n_;function o_(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ra=o_,i_=ea,a_=Tr;function s_(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?a_(n,c,l):i_(n,c,l)}return n}var c_=s_,l_=c_,u_=Pr;function d_(e){return l_(e,u_(e))}var f_=d_,Vo=ta,p_=Nw,m_=$w,g_=Ow,h_=zw,Lo=yr,Go=Ae,y_=Yw,v_=vr,w_=pr,__=be,S_=r_,C_=_r,zo=ra,b_=f_;function A_(e,t,n,o,i,a,s){var c=zo(e,n),l=zo(t,n),u=s.get(l);if(u){Vo(e,n,u);return}var d=a?a(c,l,n+"",e,t,s):void 0,m=d===void 0;if(m){var f=Go(l),p=!f&&v_(l),h=!f&&!p&&C_(l);d=l,f||p||h?Go(c)?d=c:y_(c)?d=g_(c):p?(m=!1,d=p_(l,!0)):h?(m=!1,d=m_(l,!0)):d=[]:S_(l)||Lo(l)?(d=c,Lo(c)?d=b_(c):(!__(c)||w_(c))&&(d=h_(l))):m=!1}m&&(s.set(l,d),i(d,l,o,a,s),s.delete(l)),Vo(e,n,d)}var E_=A_,I_=hr,T_=ta,N_=Tw,P_=E_,k_=be,x_=Pr,U_=ra;function oa(e,t,n,o,i){e!==t&&N_(t,function(a,s){if(i||(i=new I_),k_(a))P_(e,t,s,n,oa,o,i);else{var c=o?o(U_(e,s),a,s+"",e,t,i):void 0;c===void 0&&(c=a),T_(e,s,c)}},x_)}var $_=oa;function R_(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 O_=R_,D_=O_,jo=Math.max;function F_(e,t,n){return t=jo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=jo(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),D_(e,this,c)}}var M_=F_;function B_(e){return function(){return e}}var V_=B_,L_=V_,Wo=Xi,G_=Ir,z_=Wo?function(e,t){return Wo(e,"toString",{configurable:!0,enumerable:!1,value:L_(t),writable:!0})}:G_,j_=z_,W_=800,H_=16,Y_=Date.now;function K_(e){var t=0,n=0;return function(){var o=Y_(),i=H_-(o-n);if(n=o,i>0){if(++t>=W_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var q_=K_,J_=j_,Z_=q_,Q_=Z_(J_),X_=Q_,eS=Ir,tS=M_,nS=X_;function rS(e,t){return nS(tS(e,t,eS),e+"")}var oS=rS,iS=bt,aS=yn,sS=hn,cS=be;function lS(e,t,n){if(!cS(n))return!1;var o=typeof t;return(o=="number"?aS(n)&&sS(t,n.length):o=="string"&&t in n)?iS(n[t],e):!1}var uS=lS,dS=oS,fS=uS;function pS(e){return dS(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&&fS(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 mS=pS,gS=$_,hS=mS,yS=hS(function(e,t,n){gS(e,t,n)}),vS=yS;const wS=xi(vS),Sn=async(e,t,n,o)=>{const i=await Promise.all(o.map(s=>s(e,t,n))),a=wS({},...i);return Zo(a)?Promise.resolve():Promise.reject(a)},_S=8,SS=e=>Array.isArray(e),CS=e=>{if(e)return SS(e)?Object.entries(e).map(([t,n])=>Object.keys(n)[0]):Object.keys(e)},ke={async getAmplifyConfig(){var c,l,u,d;const e=Ua.Amplify.getConfig(),t=(c=e.Auth)==null?void 0:c.Cognito,{loginWith:n,userAttributes:o}=((l=e.Auth)==null?void 0:l.Cognito)??{},i=n?Object.entries(n).filter(([m,f])=>m!=="oauth").filter(([m,f])=>!!f).map(m=>m[0]==="phone"?"phone_number":m[0]):void 0,a=CS(o),s=(u=n==null?void 0:n.oauth)!=null&&u.providers?(d=n.oauth.providers)==null?void 0:d.map(m=>m.toString().toLowerCase()):void 0;return{...t,loginMechanisms:i,signUpAttributes:a,socialProviders:s}},getCurrentUser:H.getCurrentUser,handleSignIn:H.signIn,handleSignUp:H.signUp,handleConfirmSignIn:H.confirmSignIn,handleConfirmSignUp:H.confirmSignUp,handleForgotPasswordSubmit:H.confirmResetPassword,handleForgotPassword:H.resetPassword,async validateCustomSignUp(e,t){},async validateFormPassword(e,t,n){const{password:o}=e,{password:i}=t;if(!i||!n)return null;const a=[],s=n.minLength??_S;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&&!ls(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 bS({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:{...Et,sendUpdate:un()},guards:_n,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 Sn(t.formValues,t.touched,t.passwordSettings,[ke.validateFormPassword,ke.validateConfirmPassword])}}})}const ia=e=>({entry:["sendUpdate","clearError"],invoke:{src:"signInWithRedirect",onDone:{target:e},onError:{actions:"setRemoteError",target:e}}}),$t={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"}},AS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signInActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signInActor.resolved"}};function ES({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:ia("signIn"),fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...AS}},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",...$t}}}},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",...$t}}}},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",...$t}}}}}},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",...$t}}}},resolved:{type:"final",data:t=>({codeDeliveryDetails:t.codeDeliveryDetails,remoteError:t.remoteError,step:t.step,unverifiedUserAttributes:t.unverifiedUserAttributes,username:t.username})}}},{actions:{...Et,sendUpdate:un()},guards:_n,services:{async fetchUserAttributes(){return H.fetchUserAttributes()},resetPassword({username:t}){return H.resetPassword({username:t})},handleResendSignUpCode({username:t}){return H.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 H.confirmSignIn(l)},signInWithRedirect(t,{data:n}){return H.signInWithRedirect(n)},async validateFields(t){return Sn(t.formValues,t.touched,t.passwordSettings,[ke.validateFormPassword,ke.validateConfirmPassword])}}})}const IS={onDone:[{actions:"setCodeDeliveryDetails",target:"#signUpActor.resolved"}],onError:{actions:["setRemoteError","sendUpdate"]}},TS={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"}},NS={onDone:[{cond:"shouldVerifyAttribute",actions:["setShouldVerifyUserAttributeStep","setUnverifiedUserAttributes"],target:"#signUpActor.resolved"},{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}],onError:{actions:"setConfirmAttributeCompleteStep",target:"#signUpActor.resolved"}};function PS({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",...TS}},fetchUserAttributes:{invoke:{src:"fetchUserAttributes",...NS}},federatedSignIn:ia("signUp"),resetPassword:{invoke:{src:"resetPassword",...IS}},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:{...Et,sendUpdate:un()},guards:_n,services:{autoSignIn(){return H.autoSignIn()},async fetchUserAttributes(){return H.fetchUserAttributes()},confirmSignUp({formValues:t,username:n}){const{confirmation_code:o}=t,i={username:n,confirmationCode:o};return e.handleConfirmSignUp(i)},resendSignUpCode({username:t}){return H.resendSignUpCode({username:t})},signInWithRedirect(t,{data:n}){return H.signInWithRedirect(n)},handleSignUp(t){const{formValues:n,loginMechanisms:o,username:i}=t,a=o[0],s=Sv(i,n,a);return e.handleSignUp(s)},async validateSignUp(t){return Sn(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])}}})}const kS=()=>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:()=>H.signOut()}});function xS(){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:{...Et,sendUpdate:un()},services:{sendUserAttributeVerificationCode({formValues:{unverifiedAttr:e}}){const t={userAttributeKey:e};return H.sendUserAttributeVerificationCode(t)},async confirmVerifyUserAttribute({formValues:{confirmation_code:e},selectedUserAttribute:t}){const n={confirmationCode:e,userAttributeKey:t};return H.confirmUserAttribute(n)},async validateFields(e){return Sn(e.formValues,e.touched,e.passwordSettings,[ke.validateFormPassword,ke.validateConfirmPassword])}}})}const Rt=(e,t)=>{var n,o,i,a,s,c;return{...e.actorDoneData,step:((n=e==null?void 0:e.actorDoneData)==null?void 0:n.step)??t,formValues:{},touched:{},validationError:{},formFields:(o=e.config)==null?void 0:o.formFields,loginMechanisms:(i=e.config)==null?void 0:i.loginMechanisms,passwordSettings:(a=e.config)==null?void 0:a.passwordSettings,signUpAttributes:(s=e.config)==null?void 0:s.signUpAttributes,socialProviders:(c=e.config)==null?void 0:c.socialProviders}},{choose:US,stop:$S}=Ai,lt=e=>$S(e),RS={on:{INIT:{actions:"configure",target:"getConfig"},SIGN_OUT:"#authenticator.signOut"}},OS={always:{actions:"configure",target:"getConfig"}};function DS(e){const{useNextWaitConfig:t,...n}=e??{};return Qe({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:ke,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?OS:RS,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:lt("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:lt("signUpActor")}},on:{SIGN_IN:"signInActor","done.invoke.signUpActor":[{cond:"hasCompletedAttributeConfirmation",target:"#authenticator.getCurrentUser"},{cond:"isShouldConfirmUserAttributeStep",actions:"setActorDoneData",target:"#authenticator.verifyUserAttributesActor"},{cond:"isConfirmUserAttributeStep",target:"#authenticator.verifyUserAttributesActor"},{actions:"setActorDoneData",target:"#authenticator.signInActor"}]}},forgotPasswordActor:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnForgotPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:lt("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:lt("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:lt("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:{...Et,forwardToActor:US([{cond:"hasActor",actions:ll(({actorRef:i})=>i)}]),setActorDoneData:_e({actorDoneData:(i,a)=>({challengeName:a.data.challengeName,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:_e({config(i,{data:a}){const{loginMechanisms:s=a.loginMechanisms??[],signUpAttributes:c=a.signUpAttributes??[],socialProviders:l=a.socialProviders??[],initialState:u,formFields:d,passwordSettings:m=a.passwordFormat??{}}=i.config;return s.length===0&&s.push("username"),{formFields:FS(d)??{},initialState:u,loginMechanisms:s,passwordSettings:m,signUpAttributes:c,socialProviders:l}}}),spawnSignInActor:_e({actorRef:(i,a)=>{const{services:s}=i,c=ES({services:s}).withContext(Rt(i,"SIGN_IN"));return at(c,{name:"signInActor"})}}),spawnSignUpActor:_e({actorRef:(i,a)=>{const{services:s}=i,c=PS({services:s}).withContext(Rt(i,"SIGN_UP"));return at(c,{name:"signUpActor"})}}),spawnForgotPasswordActor:_e({actorRef:(i,a)=>{const{services:s}=i,c=bS({services:s}).withContext(Rt(i,"FORGOT_PASSWORD"));return at(c,{name:"forgotPasswordActor"})}}),spawnVerifyUserAttributesActor:_e({actorRef:i=>{const a=xS().withContext(Rt(i));return at(a,{name:"verifyUserAttributesActor"})}}),spawnSignOutActor:_e({actorRef:i=>{const a=kS().withContext({user:i==null?void 0:i.user});return at(a,{name:"signOutActor"})}}),configure:_e((i,a)=>{const{services:s,...c}=ja(n)?a.data??{}:n;return{services:{...ke,...s},config:c}}),setHasSetup:_e({hasSetup:!0})},guards:{..._n,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 FS(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 Q={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"},MS=({componentName:e,packageName:t,version:n})=>{const o=[`ui-${t}`,n];switch(e){case"Authenticator":{L.setCustomUserAgent({...Fa,additionalDetails:[[e],o]});break}case"ChangePassword":case"DeleteUser":{L.setCustomUserAgent({...Da,additionalDetails:[["AccountSettings"],o]});break}case"InAppMessaging":{L.setCustomUserAgent({...Ma,additionalDetails:[[e],o]});break}case"LocationSearch":{L.setCustomUserAgent({...Ba,additionalDetails:[[e],o]});break}case"MapView":{L.setCustomUserAgent({...Va,additionalDetails:[[e],o]});break}case"StorageManager":{L.setCustomUserAgent({...La,additionalDetails:[[e],o]});break}}return Ha},BS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},VS={class:"amplify-flex amplify-authenticator__icon-wrapper"},LS=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),GS=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),he=r.defineComponent({__name:"base-alert",setup(e){const t=r.ref(!0),n=T("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=ne;return t.value?(r.openBlock(),r.createElementBlock("div",BS,[r.createElementVNode("div",VS,[LS,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(()=>[GS]),_:1},8,["aria-label"])])):r.createCommentVNode("",!0)}}}),ye=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 zS(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function aa(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))),zS(i),n)}function jS(e){return"state"in e}var Ho=function(){};function WS(e){return"getSnapshot"in e?e.getSnapshot():jS(e)?e.state:void 0}function HS(e,t){t===void 0&&(t=WS);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:Ho,complete:Ho}).unsubscribe;c(function(){return l()})},{immediate:!0}),{state:o,send:i}}const YS=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}},kr=aa(()=>{const e=DS(),t=ki(e).start(),n=r.ref("configuring"),{state:o,send:i}=HS(t),a=()=>{n.value="authenticated"},s=()=>{n.value="unauthenticated"},c=Ya(t,(l,u)=>Qo(l,u,{onSignIn:a,onSignOut:s}));return H.getCurrentUser().then(()=>{n.value="authenticated"}).catch(()=>{n.value="unauthenticated"}),r.onScopeDispose(()=>{c()}),{authStatus:n,service:t,send:i,state:o}}),ee=aa(()=>{const{authStatus:e,state:t,send:n}=kr(),o=r.reactive({});return r.watchEffect(()=>{const i=Xa({send:n,state:t.value});for(const s of Object.keys(i))o[s]=i[s];const a=i.route==="setupTotp"?YS(t.value):null;o.QRFields=a,o.authStatus=e.value,o.send=n,o.state=t}),o});let KS=(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 Cn=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))}}),qS={},JS={"data-amplify-label":""};function ZS(e,t){return r.openBlock(),r.createElementBlock("label",JS,[r.renderSlot(e.$slots,"default")])}const bn=tn(qS,[["render",ZS]]),QS=["aria-label","aria-checked"],XS=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),eC=[XS],tC=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),nC=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),rC=[tC,nC],oC={inheritAttrs:!1},xr=r.defineComponent({...oC,__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){const t=e,n=T("Show password"),o=T("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=T((f==null?void 0:f.value)??l.value),g=T(l.value);return(w,y)=>{const _=bn,b=Cn,A=X;return r.openBlock(),r.createBlock(A,{class:r.normalizeClass([r.unref(Q).Flex,r.unref(Q).Field,r.unref(Q).TextField,r.unref(Q).PasswordField])},{default:r.withCtx(()=>[r.createVNode(_,{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(A,{class:r.normalizeClass([r.unref(Q).Flex,r.unref(Q).FieldGroup])},{default:r.withCtx(()=>[r.createVNode(A,{class:r.normalizeClass(r.unref(Q).FieldGroupFieldWrapper)},{default:r.withCtx(()=>[r.createVNode(b,r.mergeProps(w.$attrs,{modelValue:h.value,"onUpdate:modelValue":y[0]||(y[0]=E=>h.value=E),class:[r.unref(Q).Input,r.unref(Q).FieldGroupControl],id:"amplify-field-"+r.unref(s),"data-amplify-password":"true",name:r.unref(c),autocomplete:r.unref(u),required:r.unref(p)??!0,placeholder:r.unref(S),type:i.value,"aria-invalid":r.unref(d),"aria-describedBy":e.describedBy,autocapitalize:"off"}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]),_:1},8,["class"]),r.createVNode(A,{class:r.normalizeClass(r.unref(Q).FieldGroupOuterEnd)},{default:r.withCtx(()=>[r.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:r.normalizeClass([r.unref(Q).Button,r.unref(Q).FieldGroupControl,r.unref(Q).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(Q).Icon)},eC,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(Q).Icon)},rC,2))],10,QS)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),iC=["value","selected"],aC=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,iC))),128))],32))}}),sC=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),cC=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=bn,v=aC,S=X,g=Cn;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(()=>[sC]),_:1})]),_:1})]),_:1})):r.createCommentVNode("",!0)]),_:1}),r.createVNode(S,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>[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:r.unref(c)??!0,type:e.type,placeholder:r.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy,autocapitalize:"off"},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]),_:1})]),_:1})]),_:1})}}}),lC=["id"],sa=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(ee()),{type:a}=o.value,s=a==="password",c=KS(12),l=r.computed(()=>os(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(xr,{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(cC,{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(T)(p)),1))),128))],8,lC)):r.createCommentVNode("",!0)],64))}}),ve=r.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=r.toRefs(t),{state:o}=kr();let i=[];return r.onBeforeMount(()=>{i=uc(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(sa,{name:c,key:c,formField:l},null,8,["name","formField"]))),128))}}),Ot=r.defineComponent({__name:"federated-sign-in-button",props:{provider:null},setup(e){const t=e,{provider:n}=r.toRefs(t),{toFederatedSignIn:o}=ee(),i=()=>{o({provider:n.value})};return(a,s)=>{const c=ne;return r.openBlock(),r.createBlock(c,{class:"amplify-authenticator__federated-button",type:"button",onClick:i},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3})}}}),uC=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),dC={class:"amplify-text"},fC=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),pC={class:"amplify-text"},mC=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),gC={class:"amplify-text"},hC=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),yC={class:"amplify-text"},vC=["data-label"],An=r.defineComponent({__name:"federated-sign-in",setup(e){const t=ee(),{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}=ce,m=r.computed(()=>Bn),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=X;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(Ot,{key:0,provider:r.unref(m).Amazon},{default:r.withCtx(()=>[uC,r.createElementVNode("span",dC,r.toDisplayString(r.unref(f)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(a)?(r.openBlock(),r.createBlock(Ot,{key:1,provider:r.unref(m).Apple},{default:r.withCtx(()=>[fC,r.createElementVNode("span",pC,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(s)?(r.openBlock(),r.createBlock(Ot,{key:2,provider:r.unref(m).Facebook},{default:r.withCtx(()=>[mC,r.createElementVNode("span",gC,r.toDisplayString(r.unref(h)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock(Ot,{key:3,provider:r.unref(m).Google},{default:r.withCtx(()=>[hC,r.createElementVNode("span",yC,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,vC)]),_:1})):r.createCommentVNode("",!0)}}}),wC=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),_C={"data-amplify-footer":""},Ur=r.defineComponent({__name:"sign-in",setup(e){const t=ee(),{submitForm:n,updateForm:o,toForgotPassword:i}=t,{error:a,isPending:s}=r.toRefs(t),{getForgotPasswordText:c,getSignInText:l,getSigningInText:u}=ce,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(me(S))},v=()=>{i()};return(S,g)=>{const w=ye,y=he,_=ne,b=X,A=pe,E=fe;return r.renderSlot(S.$slots,"signInSlotI",r.normalizeProps(r.guardReactiveProps(S.$attrs)),()=>[r.renderSlot(S.$slots,"header"),r.createVNode(b,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(An),r.createVNode(b,{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(()=>[wC,r.createVNode(ve,{route:"signIn"})]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(y,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(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",_C,[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})])}}}),$r=r.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(ve,{route:"signUp"}))}}),Rr=r.defineComponent({__name:"sign-up",setup(e){const t=ee(),{submitForm:n,updateBlur:o,updateForm:i}=t,{error:a,hasValidationErrors:s,isPending:c}=r.toRefs(t),{getCreateAccountText:l}=ce,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(me(p))};return(p,h)=>{const v=ye,S=he,g=ne,w=X,y=pe,_=fe;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(An),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:b})=>[r.renderSlot(p.$slots,"signup-fields",{info:b})]),default:r.withCtx(()=>[r.createVNode($r)]),_:3},8,["disabled"]),r.unref(a)?(r.openBlock(),r.createBlock(S,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(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})])}}}),SC={};function CC(e,t){const n=X;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})}const bC=tn(SC,[["render",CC]]),AC=["tabindex","aria-selected","id","aria-controls"],EC=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,AC))}}),IC="4.2.4",TC={};function NC(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)])}const ca=tn(TC,[["render",NC]]),xe=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}}),Or=r.defineComponent({__name:"confirm-sign-up",setup(e){const t=ee(),{codeDeliveryDetails:n,error:o,isPending:i}=r.toRefs(t),{resendCode:a,submitForm:s,updateForm:c}=t,{getDeliveryMethodText:l,getDeliveryMessageText:u,getResendCodeText:d,getConfirmText:m}=ce,f=r.computed(()=>l(n.value)),p=r.computed(()=>d()),h=r.computed(()=>m()),v=r.computed(()=>u(n.value)),S=_=>{const{name:b,value:A}=_.target;c({name:b,value:A})},g=_=>{w(_)},w=_=>{s(me(_))},y=()=>{a()};return(_,b)=>{const A=xe,E=ca,I=ye,N=he,P=ne,k=fe,x=X,$=pe;return r.renderSlot(_.$slots,"confirmSignUpSlotI",r.normalizeProps(r.guardReactiveProps(_.$attrs)),()=>[r.createVNode(x,r.normalizeProps(r.guardReactiveProps(_.$attrs)),{default:r.withCtx(()=>[r.createVNode($,{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(ve,{route:"confirmSignUp"})]),_:1},8,["disabled"]),r.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(o)?(r.openBlock(),r.createBlock(N,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(r.unref(o))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(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)])}}}),Dr=r.defineComponent({__name:"confirm-sign-in",setup(e){const t=ee(),{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}=ce,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(me(w))},g=()=>{o()};return(w,y)=>{const _=xe,b=X,A=he,E=ne,I=fe,N=ye,P=pe;return r.renderSlot(w.$slots,"confirmSignInSlotI",r.normalizeProps(r.guardReactiveProps(w.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(w.$attrs)),{default:r.withCtx(()=>[r.createVNode(P,{"data-amplify-authenticator-confirmsignin":"",onInput:v,onSubmit:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createVNode(N,{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(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(ve,{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(T)(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 It={},PC=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},la={},ie={};let Fr;const kC=[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];ie.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};ie.getSymbolTotalCodewords=function(t){return kC[t]};ie.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};ie.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Fr=t};ie.isKanjiModeEnabled=function(){return typeof Fr<"u"};ie.toSJIS=function(t){return Fr(t)};var En={};(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<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,i){if(e.isValid(o))return o;try{return t(o)}catch{return i}}})(En);function ua(){this.buffer=[],this.length=0}ua.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 xC=ua;function Tt(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Tt.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};Tt.prototype.get=function(e,t){return this.data[e*this.size+t]};Tt.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Tt.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var UC=Tt,da={};(function(e){const t=ie.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}})(da);var fa={};const $C=ie.getSymbolSize,Yo=7;fa.getPositions=function(t){const n=$C(t);return[[0,0],[n-Yo,0],[0,n-Yo]]};var pa={};(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}})(pa);var In={};const Te=En,Dt=[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],Ft=[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];In.getBlocksCount=function(t,n){switch(n){case Te.L:return Dt[(t-1)*4+0];case Te.M:return Dt[(t-1)*4+1];case Te.Q:return Dt[(t-1)*4+2];case Te.H:return Dt[(t-1)*4+3];default:return}};In.getTotalCodewordsCount=function(t,n){switch(n){case Te.L:return Ft[(t-1)*4+0];case Te.M:return Ft[(t-1)*4+1];case Te.Q:return Ft[(t-1)*4+2];case Te.H:return Ft[(t-1)*4+3];default:return}};var ma={},Tn={};const ht=new Uint8Array(512),Xt=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)ht[n]=t,Xt[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)ht[n]=ht[n-255]})();Tn.log=function(t){if(t<1)throw new Error("log("+t+")");return Xt[t]};Tn.exp=function(t){return ht[t]};Tn.mul=function(t,n){return t===0||n===0?0:ht[Xt[t]+Xt[n]]};(function(e){const t=Tn;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}})(ma);const ga=ma;function Mr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Mr.prototype.initialize=function(t){this.degree=t,this.genPoly=ga.generateECPolynomial(this.degree)};Mr.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=ga.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 RC=Mr,ha={},Ue={},Br={};Br.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var we={};const ya="[0-9]+",OC="[A-Z $%*+\\-./:]+";let St="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";St=St.replace(/u/g,"\\u");const DC="(?:(?![A-Z0-9 $%*+\\-./:]|"+St+`)(?:.|[\r
|
|
21
|
+
]))+`;we.KANJI=new RegExp(St,"g");we.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");we.BYTE=new RegExp(DC,"g");we.NUMERIC=new RegExp(ya,"g");we.ALPHANUMERIC=new RegExp(OC,"g");const FC=new RegExp("^"+St+"$"),MC=new RegExp("^"+ya+"$"),BC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");we.testKanji=function(t){return FC.test(t)};we.testNumeric=function(t){return MC.test(t)};we.testAlphanumeric=function(t){return BC.test(t)};(function(e){const t=Br,n=we;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,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}}})(Ue);(function(e){const t=ie,n=In,o=En,i=Ue,a=Br,s=7973,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){const S=u(v.mode,p);h+=S+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>"u"&&(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}})(ha);var va={};const Qn=ie,wa=1335,VC=21522,Ko=Qn.getBCHDigit(wa);va.getEncodedBits=function(t,n){const o=t.bit<<3|n;let i=o<<10;for(;Qn.getBCHDigit(i)-Ko>=0;)i^=wa<<Qn.getBCHDigit(i)-Ko;return(o<<10|i)^VC};var _a={};const LC=Ue;function We(e){this.mode=LC.NUMERIC,this.data=e.toString()}We.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};We.prototype.getLength=function(){return this.data.length};We.prototype.getBitsLength=function(){return We.getBitsLength(this.data.length)};We.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 GC=We;const zC=Ue,Rn=["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 He(e){this.mode=zC.ALPHANUMERIC,this.data=e}He.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};He.prototype.getLength=function(){return this.data.length};He.prototype.getBitsLength=function(){return He.getBitsLength(this.data.length)};He.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=Rn.indexOf(this.data[n])*45;o+=Rn.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(Rn.indexOf(this.data[n]),6)};var jC=He,WC=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 HC=WC,YC=Ue;function Ye(e){this.mode=YC.BYTE,this.data=new Uint8Array(HC(e))}Ye.getBitsLength=function(t){return t*8};Ye.prototype.getLength=function(){return this.data.length};Ye.prototype.getBitsLength=function(){return Ye.getBitsLength(this.data.length)};Ye.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var KC=Ye;const qC=Ue,JC=ie;function Ke(e){this.mode=qC.KANJI,this.data=e}Ke.getBitsLength=function(t){return t*13};Ke.prototype.getLength=function(){return this.data.length};Ke.prototype.getBitsLength=function(){return Ke.getBitsLength(this.data.length)};Ke.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=JC.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]+`
|
|
22
|
+
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var ZC=Ke,Sa={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]>"u",(S||v>h)&&(s[d]=h,c.push(d,h),a[d]=u))}if(typeof i<"u"&&typeof s[i]>"u"){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})(Sa);var QC=Sa.exports;(function(e){const t=Ue,n=GC,o=jC,i=KC,a=ZC,s=we,c=ie,l=QC;function u(g){return unescape(encodeURIComponent(g)).length}function d(g,w,y){const _=[];let b;for(;(b=g.exec(y))!==null;)_.push({data:b[0],index:b.index,mode:w,length:b[0].length});return _}function m(g){const w=d(s.NUMERIC,t.NUMERIC,g),y=d(s.ALPHANUMERIC,t.ALPHANUMERIC,g);let _,b;return c.isKanjiModeEnabled()?(_=d(s.BYTE,t.BYTE,g),b=d(s.KANJI,t.KANJI,g)):(_=d(s.BYTE_KANJI,t.BYTE,g),b=[]),w.concat(y,_,b).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 b=["start"];for(let A=0;A<g.length;A++){const E=g[A],I=[];for(let N=0;N<E.length;N++){const P=E[N],k=""+A+N;I.push(k),y[k]={node:P,lastCount:0},_[k]={};for(let x=0;x<b.length;x++){const $=b[x];y[$]&&y[$].node.mode===P.mode?(_[$][k]=f(y[$].lastCount+P.length,P.mode)-f(y[$].lastCount,P.mode),y[$].lastCount+=P.length):(y[$]&&(y[$].lastCount=P.length),_[$][k]=f(P.length,P.mode)+4+t.getCharCountIndicator(P.mode,w))}}b=I}for(let A=0;A<b.length;A++)_[b[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)+`.
|
|
23
|
+
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()),b=h(_),A=v(b,y),E=l.find_path(A.map,"start","end"),I=[];for(let N=1;N<E.length-1;N++)I.push(A.table[E[N]].node);return e.fromArray(p(I))},e.rawSplit=function(w){return e.fromArray(m(w,c.isKanjiModeEnabled()))}})(_a);const Nn=ie,On=En,XC=xC,eb=UC,tb=da,nb=fa,Xn=pa,er=In,rb=RC,en=ha,ob=va,ib=Ue,Dn=_a;function ab(e,t){const n=e.size,o=nb.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 sb(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 cb(e,t){const n=tb.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 lb(e,t){const n=e.size,o=en.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 Fn(e,t,n){const o=e.size,i=ob.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 ub(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 db(e,t,n){const o=new XC;n.forEach(function(l){o.put(l.mode.bit,4),o.put(l.getLength(),ib.getCharCountIndicator(l.mode,e)),l.write(o)});const i=Nn.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 fb(o,e,t)}function fb(e,t,n){const o=Nn.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 rb(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,b,A;for(b=0;b<g;b++)for(A=0;A<s;A++)b<v[A].length&&(y[_++]=v[A][b]);for(b=0;b<f;b++)for(A=0;A<s;A++)y[_++]=S[A][b];return y}function pb(e,t,n,o){let i;if(Array.isArray(e))i=Dn.fromArray(e);else if(typeof e=="string"){let u=t;if(!u){const d=Dn.rawSplit(e);u=en.getBestVersionForData(d,n)}i=Dn.fromString(e,u||40)}else throw new Error("Invalid data");const a=en.getBestVersionForData(i,n);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=a;else if(t<a)throw new Error(`
|
|
23
24
|
The chosen QR Code version cannot contain this amount of data.
|
|
24
25
|
Minimum version required to store current data is: `+a+`.
|
|
25
|
-
`);const s=
|
|
26
|
-
`;return typeof o=="function"&&o(null,f),f};const cb=CC,tr=sa,Ca=_a,lb=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&&!cb())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)}}At.create=tr.create;At.toCanvas=Vr.bind(null,Ca.render);At.toDataURL=Vr.bind(null,Ca.renderToDataURL);At.toString=Vr.bind(null,function(e,t,n){return lb.render(e,n)});const ub={key:0},db=["src"],fb={"data-amplify-copy-tooltip":""},pb=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),mb=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=cs(m,f,s),h=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:v,getCopiedText:S,getBackToSignInText:g,getConfirmText:w}=ie,y=r.ref(v());function _(){s&&navigator.clipboard.writeText(s),y.value=S()}r.onMounted(async()=>{try{h.qrCodeImageSource=await At.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))},N=()=>{a()};return(k,P)=>{const x=Ne,R=Z,H=pe,re=ee,oe=le,Y=me,ae=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(ae,{"data-amplify-authenticator-setup-totp":"",onInput:E,onSubmit:r.withModifiers(I,["prevent"])},{default:r.withCtx(()=>[r.createVNode(Y,{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",ub,"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,db)),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",fb,r.toDisplayString(y.value),1),pb]),_:1})]),_:1}),r.createVNode(ge,{route:"setupTotp"})]),_:1}),r.createVNode(oe,{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(T)(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(N,["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}=ie,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,N=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(N,{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(T)(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}=ie,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(T)(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}=ie,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,N=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(N,{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(T)(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}=ie,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=aa,N=vn,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),(oe,Y)=>(r.openBlock(),r.createElementBlock(r.Fragment,{key:oe},[oe?(r.openBlock(),r.createBlock(E,{key:0,class:"amplify-flex amplify-radio","data-amplify-verify-label":""},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(r.unref(mt)[Y].label))+": "+r.toDisplayString(r.unref(as)(r.unref(mt)[Y].label,oe)),1)]),_:2},1024),r.createVNode(N,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",name:"unverifiedAttr",type:"radio",value:Y},null,8,["value"]),r.createVNode(I,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"})]),_:2},1024)):r.createCommentVNode("",!0)],64))),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(T)(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}=ie,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,N=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(N,{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(T)(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)])}}}),gb=["data-variation"],hb={"data-amplify-container":""},yb=["data-amplify-router-content"],vb={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=xS({componentName:"Authenticator",packageName:"vue",version:wC})}),r.onUnmounted(()=>{d(),v()});const A=r.ref(),E=r.ref(),I=r.ref(),N=r.ref(),k=r.ref(),P=r.ref(),x=r.ref(),R=r.ref(),H=r.ref(),re=r.ref(),{getSignInTabText:oe,getSignUpTabText:Y}=ie,ae=r.computed(()=>oe()),Se=r.computed(()=>Y()),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=vC,Ce=hC;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",hb,[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(ae),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",vb,[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:N},{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(mb,{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,yb),r.renderSlot(U.$slots,"footer")])],16,gb)):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)}}}),wb={class:"amplify-flex amplify-field amplify-checkboxfield"},_b={class:"amplify-flex amplify-checkbox"},Sb={class:"amplify-visually-hidden"},Cb=["data-error","data-checked"],bb=["data-checked"],Ab=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Eb=[Ab],Ib={class:"amplify-text amplify-checkbox__label"},Tb={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(T("I agree with the Terms and Conditions")),{errorMessage:i}=r.toRefs(t);return(a,s)=>(r.openBlock(),r.createElementBlock("div",wb,[r.createElementVNode("label",_b,[r.createElementVNode("span",Sb,[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},Eb,10,bb))],10,Cb),r.createElementVNode("span",Ib,r.toDisplayString(o.value),1)]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",Tb,r.toDisplayString(r.unref(i)),1))]))}});var Nb={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=Nb;exports.translations=Ys;exports.useAuthenticator=Q;
|
|
26
|
+
`);const s=db(t,n,i),c=Nn.getSymbolSize(t),l=new eb(c);return ab(l,t),sb(l),cb(l,t),Fn(l,n,0),t>=7&&lb(l,t),ub(l,s),isNaN(o)&&(o=Xn.getBestMask(l,Fn.bind(null,l,n))),Xn.applyMask(o,l),Fn(l,n,o),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:o,segments:i}}la.create=function(t,n){if(typeof t>"u"||t==="")throw new Error("No input text");let o=On.M,i,a;return typeof n<"u"&&(o=On.from(n.errorCorrectionLevel,On.M),i=en.from(n.version),a=Xn.from(n.maskPattern),n.toSJISFunc&&Nn.setToSJISFunction(n.toSJISFunc)),pb(t,i,o,a)};var Ca={},Vr={};(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>"u"||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}}})(Vr);(function(e){const t=Vr;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>"u"&&(!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>"u"&&(!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)}})(Ca);var ba={};const mb=Vr;function qo(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function Mn(e,t,n){let o=e+t;return typeof n<"u"&&(o+=" "+n),o}function gb(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?Mn("M",l+n,.5+u+n):Mn("m",i,0),i=0,a=!1),l+1<t&&e[c+1]||(o+=Mn("h",s),s=0)):i++}return o}ba.render=function(t,n,o){const i=mb.getOptions(n),a=t.modules.size,s=t.modules.data,c=a+i.margin*2,l=i.color.light.a?"<path "+qo(i.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",u="<path "+qo(i.color.dark,"stroke")+' d="'+gb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+c+" "+c+'"',f='<svg xmlns="http://www.w3.org/2000/svg" '+(i.width?'width="'+i.width+'" height="'+i.width+'" ':"")+d+' shape-rendering="crispEdges">'+l+u+`</svg>
|
|
27
|
+
`;return typeof o=="function"&&o(null,f),f};const hb=PC,tr=la,Aa=Ca,yb=ba;function Lr(e,t,n,o,i){const a=[].slice.call(arguments,1),s=a.length,c=typeof a[s-1]=="function";if(!c&&!hb())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>"u"?(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)}}It.create=tr.create;It.toCanvas=Lr.bind(null,Aa.render);It.toDataURL=Lr.bind(null,Aa.renderToDataURL);It.toString=Lr.bind(null,function(e,t,n){return yb.render(e,n)});const vb={key:0},wb=["src"],_b={"data-amplify-copy-tooltip":""},Sb=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),Cb=r.defineComponent({__name:"setup-totp",setup(e){const t=new nr.ConsoleLogger("SetupTotp-logger"),n=ee(),{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??{},p=us(m,f,s),h=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:v,getCopiedText:S,getBackToSignInText:g,getConfirmText:w}=ce,y=r.ref(v());function _(){s&&navigator.clipboard.writeText(s),y.value=S()}r.onMounted(async()=>{try{h.qrCodeImageSource=await It.toDataURL(p)}catch(P){t.error(P)}finally{h.isLoading=!1}});const b=r.computed(()=>g()),A=r.computed(()=>w()),E=P=>{const{name:k,value:x}=P.target;o({name:k,value:x})},I=P=>{i(me(P))},N=()=>{a()};return(P,k)=>{const x=xe,$=X,Y=he,ae=ne,le=fe,Z=ye,se=pe;return r.renderSlot(P.$slots,"confirmSetupTotpI",r.normalizeProps(r.guardReactiveProps(P.$attrs)),()=>[r.createVNode($,r.normalizeProps(r.guardReactiveProps(P.$attrs)),{default:r.withCtx(()=>[r.createVNode(se,{"data-amplify-authenticator-setup-totp":"",onInput:E,onSubmit:r.withModifiers(I,["prevent"])},{default:r.withCtx(()=>[r.createVNode(Z,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(d)},{default:r.withCtx(()=>[r.createVNode($,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(P.$slots,"header",{},()=>[r.createVNode(x,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(" Setup TOTP ")]),_:1})]),r.createVNode($,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[h.isLoading?(r.openBlock(),r.createElementBlock("p",vb,"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,wb)),r.createVNode($,{class:"amplify-flex","data-amplify-copy":""},{default:r.withCtx(()=>[r.createElementVNode("div",null,r.toDisplayString(r.unref(s)),1),r.createVNode($,{"data-amplify-copy-svg":"",onClick:_},{default:r.withCtx(()=>[r.createElementVNode("div",_b,r.toDisplayString(y.value),1),Sb]),_:1})]),_:1}),r.createVNode(ve,{route:"setupTotp"})]),_:1}),r.createVNode(le,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(u)?(r.openBlock(),r.createBlock(Y,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(r.unref(u))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(ae,{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(ae,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(N,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(b)),1)]),_:1},8,["onClick"]),r.renderSlot(P.$slots,"footer")]),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Gr=r.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(ve,{route:"forceNewPassword"}))}}),zr=r.defineComponent({__name:"force-new-password",setup(e){const t=ee(),{submitForm:n,toSignIn:o,updateBlur:i,updateForm:a}=t,{error:s,isPending:c}=r.toRefs(t),{getChangePasswordText:l,getChangingText:u,getBackToSignInText:d}=ce,m=r.computed(()=>l()),f=r.computed(()=>u()),p=r.computed(()=>d()),h=()=>{o()},v=y=>{S(y)},S=y=>{n(me(y))},g=y=>{const{name:_,value:b}=y.target;a({name:_,value:b})};function w(y){const{name:_}=y.target;i({name:_})}return(y,_)=>{const b=xe,A=X,E=he,I=ne,N=fe,P=ye,k=pe;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(k,{"data-amplify-authenticator-forcenewpassword":"",onInput:g,onBlurCapture:w,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(P,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(b,{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(Gr)])]),_:3}),r.createVNode(N,{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(T)(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)+"…":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)])}}}),jr=r.defineComponent({__name:"forgot-password",setup(e){const t=ee(),{submitForm:n,toSignIn:o,updateForm:i}=t,{error:a,isPending:s}=r.toRefs(t),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:u}=ce,d=r.computed(()=>c()),m=r.computed(()=>l()),f=r.computed(()=>u()),p=S=>{n(me(S))},h=S=>{const{name:g,value:w}=S.target;i({name:g,value:w})},v=()=>{o()};return(S,g)=>{const w=xe,y=ye,_=he,b=ne,A=fe,E=X,I=pe;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(ve,{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(T)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(b,{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(b,{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"])])}}}),Wr=r.defineComponent({__name:"confirm-reset-password",setup(e){const t=ee(),{resendCode:n,submitForm:o,updateBlur:i,updateForm:a}=t,{error:s,isPending:c}=r.toRefs(t),{getResendCodeText:l,getResetYourPasswordText:u,getSubmitText:d}=ce,m=r.computed(()=>l()),f=r.computed(()=>u()),p=r.computed(()=>d()),h=y=>{v(y)},v=y=>{o(me(y))},S=()=>{n()},g=y=>{const{name:_,value:b}=y.target;a({name:_,value:b})};function w(y){const{name:_}=y.target;i({name:_})}return(y,_)=>{const b=xe,A=X,E=he,I=ne,N=fe,P=ye,k=pe;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(k,{"data-amplify-authenticator-confirmResetpassword":"",onInput:g,onBlurCapture:w,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(P,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c)},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(b,{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(ve,{route:"confirmResetPassword"})]),_:1}),r.createVNode(N,{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(T)(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)])}}}),Hr=r.defineComponent({__name:"verify-user",setup(e){const t=ee(),{isPending:n,unverifiedUserAttributes:o,error:i}=r.toRefs(t),{skipVerification:a,submitForm:s,updateForm:c}=t,{getAccountRecoveryInfoText:l,getSkipText:u,getVerifyText:d,getVerifyContactText:m}=ce,f=r.computed(()=>l()),p=r.computed(()=>u()),h=r.computed(()=>d()),v=r.computed(()=>m()),S=_=>{const{name:b,value:A}=_.target;c({name:b,value:A})},g=_=>{w(_)},w=_=>{s(me(_))},y=()=>{a()};return(_,b)=>{const A=xe,E=bn,I=ca,N=Cn,P=X,k=he,x=ne,$=fe,Y=ye,ae=pe;return r.renderSlot(_.$slots,"verifyUserSlotI",{},()=>[r.createVNode(P,null,{default:r.withCtx(()=>[r.createVNode(ae,{onInput:S,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(Y,{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(P,{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(P,{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),(le,Z)=>(r.openBlock(),r.createElementBlock(r.Fragment,{key:le},[le?(r.openBlock(),r.createBlock(E,{key:0,class:"amplify-flex amplify-radio","data-amplify-verify-label":""},{default:r.withCtx(()=>[r.createVNode(I,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(r.unref(vt)[Z].label))+": "+r.toDisplayString(r.unref(cs)(r.unref(vt)[Z].label,le)),1)]),_:2},1024),r.createVNode(N,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",name:"unverifiedAttr",type:"radio",value:Z},null,8,["value"]),r.createVNode(I,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"})]),_:2},1024)):r.createCommentVNode("",!0)],64))),128))]),_:1})]),_:1}),r.createVNode($,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(i)?(r.openBlock(),r.createBlock(k,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(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})])}}}),Yr=r.defineComponent({__name:"confirm-verify-user",setup(e){const t=ee(),{error:n,isPending:o}=r.toRefs(t),{skipVerification:i,submitForm:a,updateForm:s}=t,{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:u}=ce,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(me(g))},S=()=>{i()};return(g,w)=>{const y=xe,_=X,b=he,A=ne,E=fe,I=ye,N=pe;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(N,{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(ve,{route:"confirmVerifyUser"})]),_:1}),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(n)?(r.openBlock(),r.createBlock(b,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(T)(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)])}}}),bb=["data-variation"],Ab={"data-amplify-container":""},Eb=["data-amplify-router-content"],Ib={key:1,"data-amplify-router-content":""},Ea=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}=kr(),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=ee(),{route:g,signOut:w,toSignIn:y,toSignUp:_,user:b}=r.toRefs(S);r.onMounted(()=>{d=MS({componentName:"Authenticator",packageName:"vue",version:IC})}),r.onUnmounted(()=>{d(),v()});const A=r.ref(),E=r.ref(),I=r.ref(),N=r.ref(),P=r.ref(),k=r.ref(),x=r.ref(),$=r.ref(),Y=r.ref(),ae=r.ref(),{getSignInTabText:le,getSignUpTabText:Z}=ce,se=r.computed(()=>le()),re=r.computed(()=>Z()),Fe=r.computed(()=>g.value==="signIn"||g.value==="signUp"),oe=r.computed(()=>["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","forgotPassword","setupTotp","signIn","signUp","verifyUser"].includes(g.value));return(U,Kr)=>{const te=EC,Ee=bC;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(oe)?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0},U.$attrs,{"data-amplify-authenticator":"","data-variation":r.unref(i)}),[r.createElementVNode("div",Ab,[r.renderSlot(U.$slots,"header"),r.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":r.unref(Fe)?void 0:""},[r.unref(Fe)&&!r.unref(l)?(r.openBlock(),r.createBlock(Ee,{key:0},{default:r.withCtx(()=>[r.createVNode(te,{active:r.unref(g)==="signIn",id:"signIn",label:r.unref(se),onClick:r.unref(y)},null,8,["active","label","onClick"]),r.createVNode(te,{active:r.unref(g)==="signUp",id:"signUp",label:r.unref(re),onClick:r.unref(_)},null,8,["active","label","onClick"])]),_:1})):r.createCommentVNode("",!0),r.unref(Fe)?(r.openBlock(),r.createElementBlock("div",Ib,[r.unref(g)==="signIn"?(r.openBlock(),r.createBlock(Ur,{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:Pn,onSignInSubmit:Pa,onForgotPasswordClicked:ka,onInput:xa})=>[r.renderSlot(U.$slots,"sign-in-form",{info:Pn,onInput:xa,onSignInSubmit:Pa,onForgotPasswordClicked:ka})]),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(Rr,{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:Pn})=>[r.renderSlot(U.$slots,"sign-up-fields",{info:Pn})]),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(Or,{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(jr,{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(Wr,{key:4,ref_key:"confirmResetPasswordComponent",ref:$},{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(Dr,{key:5,ref_key:"confirmSignInComponent",ref:N},{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(Cb,{key:6,ref_key:"confirmSetupTotpComponent",ref:P},{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(zr,{key:7,ref_key:"forceNewPasswordComponent",ref:k},{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(Hr,{key:8,ref_key:"verifyUserComponent",ref:Y},{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(Yr,{key:9,ref_key:"confirmVerifyUserComponent",ref:ae},{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,Eb),r.renderSlot(U.$slots,"footer")])],16,bb)):r.createCommentVNode("",!0),r.unref(g)==="authenticated"?r.renderSlot(U.$slots,"default",{key:1,user:r.unref(b),state:r.unref(h),signOut:r.unref(w),send:r.unref(p)}):r.createCommentVNode("",!0)],64)}}}),Ia=r.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Ta=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=bn,f=Cn,p=X;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)}}}),Tb={class:"amplify-flex amplify-field amplify-checkboxfield"},Nb={class:"amplify-flex amplify-checkbox"},Pb={class:"amplify-visually-hidden"},kb=["data-error","data-checked"],xb=["data-checked"],Ub=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),$b=[Ub],Rb={class:"amplify-text amplify-checkbox__label"},Ob={key:0,class:"amplify-text amplify-field__error-message"},Na=r.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=r.ref(!1),o=r.ref(T("I agree with the Terms and Conditions")),{errorMessage:i}=r.toRefs(t);return(a,s)=>(r.openBlock(),r.createElementBlock("div",Tb,[r.createElementVNode("label",Nb,[r.createElementVNode("span",Pb,[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,xb))],10,kb),r.createElementVNode("span",Rb,r.toDisplayString(o.value),1)]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",Ob,r.toDisplayString(r.unref(i)),1))]))}}),Db={install:e=>{e.component("SignIn",Ur),e.component("SignUp",Rr),e.component("FederatedSignIn",An),e.component("Authenticator",Ea),e.component("RenderInfo",Ia),e.component("PasswordControl",xr),e.component("ForceNewPassword",zr),e.component("ForgotPassword",jr),e.component("ConfirmResetPassword",Wr),e.component("ConfirmSignUp",Or),e.component("ConfirmSignIn",Dr),e.component("VerifyUser",Hr),e.component("ConfirmVerifyUser",Yr),e.component("AmplifyTextField",Ta),e.component("AmplifyCheckBox",Na),e.component("AmplifyButton",ne),e.component("BaseFormField",sa),e.component("BaseFormFields",ve),e.component("AuthenticatorSignUpFormFields",$r),e.component("AuthenticatorForceNewPasswordFormFields",Gr)}};exports.AmplifyButton=ne;exports.AmplifyCheckBox=Na;exports.AmplifyTextField=Ta;exports.Authenticator=Ea;exports.AuthenticatorForceNewPasswordFormFields=Gr;exports.AuthenticatorSignUpFormFields=$r;exports.ConfirmResetPassword=Wr;exports.ConfirmSignIn=Dr;exports.ConfirmSignUp=Or;exports.ConfirmVerifyUser=Yr;exports.FederatedSignIn=An;exports.ForceNewPassword=zr;exports.ForgotPassword=jr;exports.PasswordControl=xr;exports.RenderInfo=Ia;exports.SignIn=Ur;exports.SignUp=Rr;exports.VerifyUser=Hr;exports.default=Db;exports.translations=qs;exports.useAuthenticator=ee;
|