@aws-amplify/ui-vue 3.1.2 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var o=require("vue"),le=require("aws-amplify"),Ds=require("@aws-amplify/auth");const Me=o.defineComponent({__name:"base-field-set",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"fieldSetI",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("fieldset",o.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[o.renderSlot(n.$slots,"default")],16)])}}),Ms=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],Te=o.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:r,size:i,variation:a,fontWeight:s}=o.toRefs(t);return(u,c)=>o.renderSlot(u.$slots,"buttont",o.normalizeProps(o.guardReactiveProps(u.$attrs)),()=>[o.createElementVNode("button",o.mergeProps({class:["amplify-button",{[`amplify-button--${o.unref(a)}`]:o.unref(a),[`amplify-button--${o.unref(i)}`]:o.unref(i),"amplify-button--fullwidth":o.unref(r),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:o.unref(n),style:{fontWeight:o.unref(s)},"data-fullwidth":o.unref(r),"data-size":o.unref(i),"data-fontWeight":o.unref(s),"data-variation":o.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},u.$attrs,{"data-amplify-button":""}),[o.renderSlot(u.$slots,"default")],16,Ms)])}});var Ce=function(e){var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},oa=function(e){var t;return(t=Ce(e))===null||t===void 0?void 0:t.context},an=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Fs=typeof an=="object"&&an&&an.Object===Object&&an,ia=Fs,Ls=ia,js=typeof self=="object"&&self&&self.Object===Object&&self,zs=Ls||js||Function("return this")(),Fe=zs,Gs=Fe,Hs=Gs.Symbol,Yt=Hs,Yo=Yt,aa=Object.prototype,Ws=aa.hasOwnProperty,Ys=aa.toString,Bt=Yo?Yo.toStringTag:void 0;function Ks(e){var t=Ws.call(e,Bt),n=e[Bt];try{e[Bt]=void 0;var r=!0}catch{}var i=Ys.call(e);return r&&(t?e[Bt]=n:delete e[Bt]),i}var qs=Ks,Js=Object.prototype,Zs=Js.toString;function Xs(e){return Zs.call(e)}var Qs=Xs,Ko=Yt,eu=qs,tu=Qs,nu="[object Null]",ru="[object Undefined]",qo=Ko?Ko.toStringTag:void 0;function ou(e){return e==null?e===void 0?ru:nu:qo&&qo in Object(e)?eu(e):tu(e)}var At=ou;function iu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Le=iu,au=At,su=Le,uu="[object AsyncFunction]",cu="[object Function]",lu="[object GeneratorFunction]",du="[object Proxy]";function fu(e){if(!su(e))return!1;var t=au(e);return t==cu||t==lu||t==uu||t==du}var Gr=fu,pu=9007199254740991;function hu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=pu}var Hr=hu,mu=Gr,gu=Hr;function vu(e){return e!=null&&gu(e.length)&&!mu(e)}var Kt=vu,yu=Array.isArray,Ve=yu;function wu(e){return e!=null&&typeof e=="object"}var Je=wu,Su=At,_u=Je,bu="[object Symbol]";function Cu(e){return typeof e=="symbol"||_u(e)&&Su(e)==bu}var Wr=Cu;function Au(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var sa=Au;function Tu(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Eu=Tu,Iu=At,Pu=Je,$u="[object Arguments]";function Nu(e){return Pu(e)&&Iu(e)==$u}var ku=Nu,Jo=ku,xu=Je,ua=Object.prototype,Ou=ua.hasOwnProperty,Uu=ua.propertyIsEnumerable,Ru=Jo(function(){return arguments}())?Jo:function(e){return xu(e)&&Ou.call(e,"callee")&&!Uu.call(e,"callee")},Vn=Ru,st={exports:{}};function Vu(){return!1}var Bu=Vu;(function(e,t){var n=Fe,r=Bu,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?n.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||r;e.exports=l})(st,st.exports);var Du=9007199254740991,Mu=/^(?:0|[1-9]\d*)$/;function Fu(e,t){var n=typeof e;return t=t==null?Du:t,!!t&&(n=="number"||n!="symbol"&&Mu.test(e))&&e>-1&&e%1==0&&e<t}var Bn=Fu,Lu=At,ju=Hr,zu=Je,Gu="[object Arguments]",Hu="[object Array]",Wu="[object Boolean]",Yu="[object Date]",Ku="[object Error]",qu="[object Function]",Ju="[object Map]",Zu="[object Number]",Xu="[object Object]",Qu="[object RegExp]",ec="[object Set]",tc="[object String]",nc="[object WeakMap]",rc="[object ArrayBuffer]",oc="[object DataView]",ic="[object Float32Array]",ac="[object Float64Array]",sc="[object Int8Array]",uc="[object Int16Array]",cc="[object Int32Array]",lc="[object Uint8Array]",dc="[object Uint8ClampedArray]",fc="[object Uint16Array]",pc="[object Uint32Array]",se={};se[ic]=se[ac]=se[sc]=se[uc]=se[cc]=se[lc]=se[dc]=se[fc]=se[pc]=!0;se[Gu]=se[Hu]=se[rc]=se[Wu]=se[oc]=se[Yu]=se[Ku]=se[qu]=se[Ju]=se[Zu]=se[Xu]=se[Qu]=se[ec]=se[tc]=se[nc]=!1;function hc(e){return zu(e)&&ju(e.length)&&!!se[Lu(e)]}var mc=hc;function gc(e){return function(t){return e(t)}}var Yr=gc,zt={exports:{}};(function(e,t){var n=ia,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a&&n.process,u=function(){try{var c=i&&i.require&&i.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=u})(zt,zt.exports);var vc=mc,yc=Yr,Zo=zt.exports,Xo=Zo&&Zo.isTypedArray,wc=Xo?yc(Xo):vc,Dn=wc,Sc=Eu,_c=Vn,bc=Ve,Cc=st.exports,Ac=Bn,Tc=Dn,Ec=Object.prototype,Ic=Ec.hasOwnProperty;function Pc(e,t){var n=bc(e),r=!n&&_c(e),i=!n&&!r&&Cc(e),a=!n&&!r&&!i&&Tc(e),s=n||r||i||a,u=s?Sc(e.length,String):[],c=u.length;for(var l in e)(t||Ic.call(e,l))&&!(s&&(l=="length"||i&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Ac(l,c)))&&u.push(l);return u}var ca=Pc,$c=Object.prototype;function Nc(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||$c;return e===n}var Mn=Nc;function kc(e,t){return function(n){return e(t(n))}}var la=kc,xc=la,Oc=xc(Object.keys,Object),Uc=Oc,Rc=Mn,Vc=Uc,Bc=Object.prototype,Dc=Bc.hasOwnProperty;function Mc(e){if(!Rc(e))return Vc(e);var t=[];for(var n in Object(e))Dc.call(e,n)&&n!="constructor"&&t.push(n);return t}var da=Mc,Fc=ca,Lc=da,jc=Kt;function zc(e){return jc(e)?Fc(e):Lc(e)}var Fn=zc,Sr,Qo;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(Sr||(Sr={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(Qo||(Qo={}));var U=function(){return U=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},U.apply(this,arguments)};function fa(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function K(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function u(d){try{l(r.next(d))}catch(h){s(h)}}function c(d){try{l(r.throw(d))}catch(h){s(h)}}function l(d){d.done?a(d.value):i(d.value).then(u,c)}l((r=r.apply(e,t||[])).next())})}function q(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(d){return c([l,d])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1],a=l;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(l);break}a[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(d){l=[6,d],i=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function De(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Gc=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],Hc=["username","email","phone_number"],Wc=De(De(De([],Hc,!0),Gc,!0),["confirmation_code","password","confirm_password"],!1),_r=function(e){var t,n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms;return(n!=null?n:["username"])[0]},Yc=function(e){var t=function(n){return function(r){return e({type:n,data:r})}};return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},Kc=function(e){var t,n,r,i,a,s=(t=oa(e))!==null&&t!==void 0?t:{},u=s.codeDeliveryDetails,c=s.remoteError,l=s.unverifiedContactMethods,d=s.validationError,h=((r=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&r!==void 0?r:{}).socialProviders,f=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,g=d&&Object.keys(d).length>0,p=Ce(e),w=e.hasTag("pending")||(p==null?void 0:p.hasTag("pending")),_=function(){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(p==null?void 0:p.matches("confirmSignUp")):return"confirmSignUp";case(p==null?void 0:p.matches("confirmSignIn")):return"confirmSignIn";case(p==null?void 0:p.matches("setupTOTP")):return"setupTOTP";case(p==null?void 0:p.matches("signIn")):return"signIn";case(p==null?void 0:p.matches("signUp")):return"signUp";case(p==null?void 0:p.matches("forceNewPassword")):return"forceNewPassword";case(p==null?void 0:p.matches("resetPassword")):return"resetPassword";case(p==null?void 0:p.matches("confirmResetPassword")):return"confirmResetPassword";case(p==null?void 0:p.matches("verifyUser")):return"verifyUser";case(p==null?void 0:p.matches("confirmVerifyUser")):return"confirmVerifyUser";case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),S=function(v){switch(v){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(_);return{authStatus:S,codeDeliveryDetails:u,error:c,hasValidationErrors:g,isPending:w,route:_,socialProviders:h,unverifiedContactMethods:l,user:f,validationErrors:d}},pa=function(e){var t=e.send,n=e.state,r=Yc(t),i=Kc(n);return U(U({},r),i)},qc=["+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"],Jc={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen",Confirm:"Best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code",Confirming:"Wird best\xE4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your email":"Geben Sie Ihre Email 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",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","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? ",or:"oder","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"},Zc={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your code":"Enter your code","Enter your email":"Enter your email","Enter your phone number":"Enter your phone number","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",Password:"Password","Phone Number":"Phone Number","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"},Xc={"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 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",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",or:"o","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"},Qc={"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",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 ? ",or:"ou","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},el={"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",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?",or:"o","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"},tl={"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",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 ","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 ",or:"\u53C8\u306F","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 ","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:"},nl={"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",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"},rl={"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 phone number":"Vul je telefoonnummer 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",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","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"},ol={"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",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"},il={"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",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"},al={"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",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",or:"\u6216\u8005","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"},sl={"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",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? ",or:"eller","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"},ul={"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",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?",or:"atau","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"},cl={"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",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? ",or:"veya","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"},ll={"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",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"},dl={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",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"},fl={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_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_CODE:"Enter your code",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",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"},pl=U({},Jc),hl=U({},Zc),ml=U({},Xc),gl=U({},Qc),vl=U({},el),yl=U({},tl),wl=U({},nl),Sl=U({},rl),_l=U({},ol),bl=U({},il),Cl=U({},al),Al=U({},sl),Tl=U({},ul),El=U({},cl),Il=U({},ll),Pl=U({},dl),$l=U({},fl),H=U({},$l);function V(e){return le.I18n.get(e)}var Nl={de:pl,en:hl,es:ml,fr:gl,id:Tl,it:vl,ja:yl,kr:wl,nl:Sl,pl:_l,pt:bl,zh:Cl,sv:Al,tr:El,ru:Il,he:Pl},Kr={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:qc,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}},kl=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],je=function(e){var t=new FormData(e.target);return Object.fromEntries(t)},ei=function(e){return Wc.includes(e)},xl=function(e){return e?(t=e,Array.isArray(t)?e:[e]):null;var t},ha={},Ln={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var o=require("vue"),le=require("aws-amplify"),Vs=require("@aws-amplify/auth");const Me=o.defineComponent({__name:"base-field-set",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"fieldSetI",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("fieldset",o.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[o.renderSlot(n.$slots,"default")],16)])}}),Ms=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],Ie=o.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:r,size:i,variation:a,fontWeight:s}=o.toRefs(t);return(u,c)=>o.renderSlot(u.$slots,"buttont",o.normalizeProps(o.guardReactiveProps(u.$attrs)),()=>[o.createElementVNode("button",o.mergeProps({class:["amplify-button",{[`amplify-button--${o.unref(a)}`]:o.unref(a),[`amplify-button--${o.unref(i)}`]:o.unref(i),"amplify-button--fullwidth":o.unref(r),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:o.unref(n),style:{fontWeight:o.unref(s)},"data-fullwidth":o.unref(r),"data-size":o.unref(i),"data-fontWeight":o.unref(s),"data-variation":o.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},u.$attrs,{"data-amplify-button":""}),[o.renderSlot(u.$slots,"default")],16,Ms)])}});var Ae=function(e){var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},ia=function(e){var t;return(t=Ae(e))===null||t===void 0?void 0:t.context},sn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ls=typeof sn=="object"&&sn&&sn.Object===Object&&sn,aa=Ls,js=aa,zs=typeof self=="object"&&self&&self.Object===Object&&self,Gs=js||zs||Function("return this")(),Le=Gs,Hs=Le,Ws=Hs.Symbol,Kt=Ws,Ko=Kt,sa=Object.prototype,Ys=sa.hasOwnProperty,Ks=sa.toString,Dt=Ko?Ko.toStringTag:void 0;function qs(e){var t=Ys.call(e,Dt),n=e[Dt];try{e[Dt]=void 0;var r=!0}catch{}var i=Ks.call(e);return r&&(t?e[Dt]=n:delete e[Dt]),i}var Js=qs,Zs=Object.prototype,Xs=Zs.toString;function Qs(e){return Xs.call(e)}var eu=Qs,qo=Kt,tu=Js,nu=eu,ru="[object Null]",ou="[object Undefined]",Jo=qo?qo.toStringTag:void 0;function iu(e){return e==null?e===void 0?ou:ru:Jo&&Jo in Object(e)?tu(e):nu(e)}var Tt=iu;function au(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var je=au,su=Tt,uu=je,cu="[object AsyncFunction]",lu="[object Function]",du="[object GeneratorFunction]",fu="[object Proxy]";function pu(e){if(!uu(e))return!1;var t=su(e);return t==lu||t==du||t==cu||t==fu}var Hr=pu,mu=9007199254740991;function hu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mu}var Wr=hu,gu=Hr,vu=Wr;function yu(e){return e!=null&&vu(e.length)&&!gu(e)}var qt=yu,wu=Array.isArray,Be=wu;function Su(e){return e!=null&&typeof e=="object"}var Ze=Su,_u=Tt,bu=Ze,Cu="[object Symbol]";function Au(e){return typeof e=="symbol"||bu(e)&&_u(e)==Cu}var Yr=Au;function Tu(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var ua=Tu;function Iu(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Eu=Iu,Pu=Tt,$u=Ze,Nu="[object Arguments]";function ku(e){return $u(e)&&Pu(e)==Nu}var xu=ku,Zo=xu,Ou=Ze,ca=Object.prototype,Uu=ca.hasOwnProperty,Ru=ca.propertyIsEnumerable,Fu=Zo(function(){return arguments}())?Zo:function(e){return Ou(e)&&Uu.call(e,"callee")&&!Ru.call(e,"callee")},Bn=Fu,ut={exports:{}};function Bu(){return!1}var Du=Bu;(function(e,t){var n=Le,r=Du,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?n.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||r;e.exports=l})(ut,ut.exports);var Vu=9007199254740991,Mu=/^(?:0|[1-9]\d*)$/;function Lu(e,t){var n=typeof e;return t=t==null?Vu:t,!!t&&(n=="number"||n!="symbol"&&Mu.test(e))&&e>-1&&e%1==0&&e<t}var Dn=Lu,ju=Tt,zu=Wr,Gu=Ze,Hu="[object Arguments]",Wu="[object Array]",Yu="[object Boolean]",Ku="[object Date]",qu="[object Error]",Ju="[object Function]",Zu="[object Map]",Xu="[object Number]",Qu="[object Object]",ec="[object RegExp]",tc="[object Set]",nc="[object String]",rc="[object WeakMap]",oc="[object ArrayBuffer]",ic="[object DataView]",ac="[object Float32Array]",sc="[object Float64Array]",uc="[object Int8Array]",cc="[object Int16Array]",lc="[object Int32Array]",dc="[object Uint8Array]",fc="[object Uint8ClampedArray]",pc="[object Uint16Array]",mc="[object Uint32Array]",se={};se[ac]=se[sc]=se[uc]=se[cc]=se[lc]=se[dc]=se[fc]=se[pc]=se[mc]=!0;se[Hu]=se[Wu]=se[oc]=se[Yu]=se[ic]=se[Ku]=se[qu]=se[Ju]=se[Zu]=se[Xu]=se[Qu]=se[ec]=se[tc]=se[nc]=se[rc]=!1;function hc(e){return Gu(e)&&zu(e.length)&&!!se[ju(e)]}var gc=hc;function vc(e){return function(t){return e(t)}}var Kr=vc,Gt={exports:{}};(function(e,t){var n=aa,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a&&n.process,u=function(){try{var c=i&&i.require&&i.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=u})(Gt,Gt.exports);var yc=gc,wc=Kr,Xo=Gt.exports,Qo=Xo&&Xo.isTypedArray,Sc=Qo?wc(Qo):yc,Vn=Sc,_c=Eu,bc=Bn,Cc=Be,Ac=ut.exports,Tc=Dn,Ic=Vn,Ec=Object.prototype,Pc=Ec.hasOwnProperty;function $c(e,t){var n=Cc(e),r=!n&&bc(e),i=!n&&!r&&Ac(e),a=!n&&!r&&!i&&Ic(e),s=n||r||i||a,u=s?_c(e.length,String):[],c=u.length;for(var l in e)(t||Pc.call(e,l))&&!(s&&(l=="length"||i&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Tc(l,c)))&&u.push(l);return u}var la=$c,Nc=Object.prototype;function kc(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Nc;return e===n}var Mn=kc;function xc(e,t){return function(n){return e(t(n))}}var da=xc,Oc=da,Uc=Oc(Object.keys,Object),Rc=Uc,Fc=Mn,Bc=Rc,Dc=Object.prototype,Vc=Dc.hasOwnProperty;function Mc(e){if(!Fc(e))return Bc(e);var t=[];for(var n in Object(e))Vc.call(e,n)&&n!="constructor"&&t.push(n);return t}var fa=Mc,Lc=la,jc=fa,zc=qt;function Gc(e){return zc(e)?Lc(e):jc(e)}var Ln=Gc,_r,ei;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(_r||(_r={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(ei||(ei={}));var O=function(){return O=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},O.apply(this,arguments)};function pa(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function K(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function u(d){try{l(r.next(d))}catch(m){s(m)}}function c(d){try{l(r.throw(d))}catch(m){s(m)}}function l(d){d.done?a(d.value):i(d.value).then(u,c)}l((r=r.apply(e,t||[])).next())})}function q(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(d){return c([l,d])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1],a=l;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(l);break}a[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(d){l=[6,d],i=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ve(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Hc=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],Wc=["username","email","phone_number"],Yc=Ve(Ve(Ve([],Wc,!0),Hc,!0),["confirmation_code","password","confirm_password"],!1),ye;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"})(ye||(ye={}));var br=function(e){var t,n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms;return(n!=null?n:["username"])[0]},Kc=function(e){var t=function(n){return function(r){return e({type:n,data:r})}};return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},qc=function(e){var t,n,r,i,a,s=(t=ia(e))!==null&&t!==void 0?t:{},u=s.codeDeliveryDetails,c=s.remoteError,l=s.unverifiedContactMethods,d=s.validationError,m=((r=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&r!==void 0?r:{}).socialProviders,f=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,g=d&&Object.keys(d).length>0,p=Ae(e),w=e.hasTag("pending")||(p==null?void 0:p.hasTag("pending")),_=function(){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(p==null?void 0:p.matches("confirmSignUp")):return"confirmSignUp";case(p==null?void 0:p.matches("confirmSignIn")):return"confirmSignIn";case(p==null?void 0:p.matches("setupTOTP")):return"setupTOTP";case(p==null?void 0:p.matches("signIn")):return"signIn";case(p==null?void 0:p.matches("signUp")):return"signUp";case(p==null?void 0:p.matches("forceNewPassword")):return"forceNewPassword";case(p==null?void 0:p.matches("resetPassword")):return"resetPassword";case(p==null?void 0:p.matches("confirmResetPassword")):return"confirmResetPassword";case(p==null?void 0:p.matches("verifyUser")):return"verifyUser";case(p==null?void 0:p.matches("confirmVerifyUser")):return"confirmVerifyUser";case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),S=function(v){switch(v){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(_);return{authStatus:S,codeDeliveryDetails:u,error:c,hasValidationErrors:g,isPending:w,route:_,socialProviders:m,unverifiedContactMethods:l,user:f,validationErrors:d}},ma=function(e){var t=e.send,n=e.state,r=Kc(t),i=qc(n);return O(O({},r),i)},Jc=["+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"],Zc={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen",Confirm:"Best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code",Confirming:"Wird best\xE4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your email":"Geben Sie Ihre Email 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",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","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? ",or:"oder","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"},Xc={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your code":"Enter your code","Enter your email":"Enter your email","Enter your phone number":"Enter your phone number","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",Password:"Password","Phone Number":"Phone Number","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"},Qc={"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 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",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",or:"o","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"},el={"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",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 ? ",or:"ou","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},tl={"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",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?",or:"o","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"},nl={"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",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 ","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 ",or:"\u53C8\u306F","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 ","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:"},rl={"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",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"},ol={"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 phone number":"Vul je telefoonnummer 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",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","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"},il={"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",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"},al={"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",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"},sl={"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",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",or:"\u6216\u8005","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"},ul={"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",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? ",or:"eller","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"},cl={"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",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?",or:"atau","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"},ll={"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",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? ",or:"veya","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"},dl={"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",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"},fl={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",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"},pl={"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",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",or:"\u0430\u0431\u043E","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"},ml={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_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_CODE:"Enter your code",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",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"},hl=O({},Zc),gl=O({},Xc),vl=O({},Qc),yl=O({},el),wl=O({},tl),Sl=O({},nl),_l=O({},rl),bl=O({},ol),Cl=O({},il),Al=O({},al),Tl=O({},sl),Il=O({},ul),El=O({},cl),Pl=O({},ll),$l=O({},dl),Nl=O({},fl),kl=O({},pl),xl=O({},ml),H=O({},xl);function F(e){return le.I18n.get(e)}var Ol={de:hl,en:gl,es:vl,fr:yl,id:El,it:wl,ja:Sl,kr:_l,nl:bl,pl:Cl,pt:Al,zh:Tl,sv:Il,tr:Pl,ru:$l,he:Nl,ua:kl},qr={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:Jc,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}},Ul=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],ze=function(e){var t=new FormData(e.target);return Object.fromEntries(t)},ti=function(e){return Yc.includes(e)},Rl=function(e){return e?(t=e,Array.isArray(t)?e:[e]):null;var t},ha={},jn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,7 +12,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var u,c=1,l=arguments.length;c<l;c++){u=arguments[c];for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(s[d]=u[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var u={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(u[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,c=Object.getOwnPropertySymbols(a);l<c.length;l++)s.indexOf(c[l])<0&&Object.prototype.propertyIsEnumerable.call(a,c[l])&&(u[c[l]]=a[c[l]]);return u}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,u=s&&a[s],c=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(a,s){var u=typeof Symbol=="function"&&a[Symbol.iterator];if(!u)return a;var c=u.call(a),l,d=[],h;try{for(;(s===void 0||s-- >0)&&!(l=c.next()).done;)d.push(l.value)}catch(f){h={error:f}}finally{try{l&&!l.done&&(u=c.return)&&u.call(c)}finally{if(h)throw h.error}}return d}function i(a,s,u){if(u||arguments.length===2)for(var c=0,l=s.length,d;c<l;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=r,e.__rest=t,e.__spreadArray=i,e.__values=n})(Ln);Object.defineProperty(ha,"__esModule",{value:!0});var ti=Ln,Ol={timeout:1e4};function Ul(e,t,n){var r=ti.__assign(ti.__assign({},Ol),n);return new Promise(function(i,a){var s=!1,u=r.timeout===1/0?void 0:setTimeout(function(){l.unsubscribe(),a(new Error("Timeout of ".concat(r.timeout," ms exceeded")))},r.timeout),c=function(){clearTimeout(u),s=!0,l==null||l.unsubscribe()},l=e.subscribe({next:function(d){t(d)&&(c(),i(d))},error:function(d){c(),a(d)},complete:function(){c(),a(new Error("Actor terminated without satisfying predicate"))}});s&&l.unsubscribe()})}var Rl=ha.waitFor=Ul,Vl=function(e){var t=e.packageName,n=e.version;Ds.appendToCognitoUserAgent("".concat(t,"/").concat(n))},ni=function(e){return K(void 0,void 0,void 0,function(){return q(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,Rl(e,function(n){return Ce(n).matches("autoSignIn")})];case 1:case 2:return t.sent(),[3,3];case 3:return[2]}})})},Bl=function(e,t){return K(void 0,void 0,void 0,function(){var n,r,i,a;return q(this,function(s){switch(s.label){case 0:switch(n=t.send,r=t.getSnapshot(),e.payload.event){case"tokenRefresh":return[3,1];case"autoSignIn":return[3,2];case"autoSignIn_failure":return[3,5];case"signOut":case"tokenRefresh_failure":return[3,7]}return[3,8];case 1:return r.matches("authenticated.idle")&&n("TOKEN_REFRESH"),[3,9];case 2:return r.matches("authenticated")?[3,4]:[4,ni(t)];case 3:s.sent(),(i=Ce(t.getSnapshot()))!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN",data:e.payload.data}),s.label=4;case 4:return[3,9];case 5:return[4,ni(t)];case 6:return s.sent(),(a=Ce(t.getSnapshot()))!=null&&a.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN_FAILURE",data:e.payload.data}),[3,9];case 7:return r.matches("authenticated.idle")&&n("SIGN_OUT"),[3,9];case 8:return[3,9];case 9:return[2]}})})},Dl=function(e,t){return t===void 0&&(t=Bl),le.Hub.listen("auth",function(n,r){return function(i){r(i,n)}}(e,t),"authenticator-hub-handler")},Ml=function(e){return kl.some(function(t){return e.includes(t)})},Xe=function(e,t){var n=oa(e).country_code,r=Kr[t];return r.type==="tel"&&(r=U(U({},r),{dialCode:n})),r},ur=function(e){var t=_r(e);return U(U({},Xe(e,t)),{autocomplete:"username"})},sn=function(e){return{confirmation_code:U(U({},Xe(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},Fl={signIn:function(e){return{username:U({},ur(e)),password:U(U({},Xe(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var t=e.context.config,n=t.loginMechanisms,r=t.signUpAttributes,i=_r(e),a={},s=0,u=Array.from(new Set(De(De(De([],n,!0),["password","confirm_password"],!1),r,!0)));s<u.length;s++){var c=u[s];if(ei(c)){var l=c===i?ur(e):Xe(e,c);a[c]=U({},l)}else console.debug("Authenticator does not have a default implementation for ".concat(c,". Customize SignUp FormFields to add your own."))}return a},confirmSignUp:function(e){return{confirmation_code:U(U({},Xe(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:sn,forceNewPassword:function(e){for(var t=Ce(e).context.requiredAttributes,n={},r=0,i=Array.from(new Set(De(["password","confirm_password"],t,!0)));r<i.length;r++){var a=i[r];ei(a)?n[a]=U({},Xe(e,a)):console.debug("Authenticator does not have a default implementation for ".concat(a,". Customize ForceNewPassword FormFields to add your own."))}return n},resetPassword:function(e){var t=_r(e),n=Kr[t].label;return{username:U(U({},ur(e)),{label:"Enter your ".concat(n.toLowerCase()),placeholder:"Enter your ".concat(n.toLowerCase())})}},confirmResetPassword:function(e){return U(U({},sn(e)),{password:U(U({},Xe(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:U(U({},Xe(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:sn,setupTOTP:sn};function Ll(){this.__data__=[],this.size=0}var jl=Ll;function zl(e,t){return e===t||e!==e&&t!==t}var qt=zl,Gl=qt;function Hl(e,t){for(var n=e.length;n--;)if(Gl(e[n][0],t))return n;return-1}var jn=Hl,Wl=jn,Yl=Array.prototype,Kl=Yl.splice;function ql(e){var t=this.__data__,n=Wl(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Kl.call(t,n,1),--this.size,!0}var Jl=ql,Zl=jn;function Xl(e){var t=this.__data__,n=Zl(t,e);return n<0?void 0:t[n][1]}var Ql=Xl,ed=jn;function td(e){return ed(this.__data__,e)>-1}var nd=td,rd=jn;function od(e,t){var n=this.__data__,r=rd(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var id=od,ad=jl,sd=Jl,ud=Ql,cd=nd,ld=id;function Tt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Tt.prototype.clear=ad;Tt.prototype.delete=sd;Tt.prototype.get=ud;Tt.prototype.has=cd;Tt.prototype.set=ld;var zn=Tt,dd=zn;function fd(){this.__data__=new dd,this.size=0}var pd=fd;function hd(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var md=hd;function gd(e){return this.__data__.get(e)}var vd=gd;function yd(e){return this.__data__.has(e)}var wd=yd,Sd=Fe,_d=Sd["__core-js_shared__"],bd=_d,cr=bd,ri=function(){var e=/[^.]+$/.exec(cr&&cr.keys&&cr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Cd(e){return!!ri&&ri in e}var Ad=Cd,Td=Function.prototype,Ed=Td.toString;function Id(e){if(e!=null){try{return Ed.call(e)}catch{}try{return e+""}catch{}}return""}var ma=Id,Pd=Gr,$d=Ad,Nd=Le,kd=ma,xd=/[\\^$.*+?()[\]{}|]/g,Od=/^\[object .+?Constructor\]$/,Ud=Function.prototype,Rd=Object.prototype,Vd=Ud.toString,Bd=Rd.hasOwnProperty,Dd=RegExp("^"+Vd.call(Bd).replace(xd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Md(e){if(!Nd(e)||$d(e))return!1;var t=Pd(e)?Dd:Od;return t.test(kd(e))}var Fd=Md;function Ld(e,t){return e==null?void 0:e[t]}var jd=Ld,zd=Fd,Gd=jd;function Hd(e,t){var n=Gd(e,t);return zd(n)?n:void 0}var ut=Hd,Wd=ut,Yd=Fe,Kd=Wd(Yd,"Map"),qr=Kd,qd=ut,Jd=qd(Object,"create"),Gn=Jd,oi=Gn;function Zd(){this.__data__=oi?oi(null):{},this.size=0}var Xd=Zd;function Qd(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ef=Qd,tf=Gn,nf="__lodash_hash_undefined__",rf=Object.prototype,of=rf.hasOwnProperty;function af(e){var t=this.__data__;if(tf){var n=t[e];return n===nf?void 0:n}return of.call(t,e)?t[e]:void 0}var sf=af,uf=Gn,cf=Object.prototype,lf=cf.hasOwnProperty;function df(e){var t=this.__data__;return uf?t[e]!==void 0:lf.call(t,e)}var ff=df,pf=Gn,hf="__lodash_hash_undefined__";function mf(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=pf&&t===void 0?hf:t,this}var gf=mf,vf=Xd,yf=ef,wf=sf,Sf=ff,_f=gf;function Et(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Et.prototype.clear=vf;Et.prototype.delete=yf;Et.prototype.get=wf;Et.prototype.has=Sf;Et.prototype.set=_f;var bf=Et,ii=bf,Cf=zn,Af=qr;function Tf(){this.size=0,this.__data__={hash:new ii,map:new(Af||Cf),string:new ii}}var Ef=Tf;function If(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Pf=If,$f=Pf;function Nf(e,t){var n=e.__data__;return $f(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Hn=Nf,kf=Hn;function xf(e){var t=kf(this,e).delete(e);return this.size-=t?1:0,t}var Of=xf,Uf=Hn;function Rf(e){return Uf(this,e).get(e)}var Vf=Rf,Bf=Hn;function Df(e){return Bf(this,e).has(e)}var Mf=Df,Ff=Hn;function Lf(e,t){var n=Ff(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var jf=Lf,zf=Ef,Gf=Of,Hf=Vf,Wf=Mf,Yf=jf;function It(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}It.prototype.clear=zf;It.prototype.delete=Gf;It.prototype.get=Hf;It.prototype.has=Wf;It.prototype.set=Yf;var Jr=It,Kf=zn,qf=qr,Jf=Jr,Zf=200;function Xf(e,t){var n=this.__data__;if(n instanceof Kf){var r=n.__data__;if(!qf||r.length<Zf-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Jf(r)}return n.set(e,t),this.size=n.size,this}var Qf=Xf,ep=zn,tp=pd,np=md,rp=vd,op=wd,ip=Qf;function Pt(e){var t=this.__data__=new ep(e);this.size=t.size}Pt.prototype.clear=tp;Pt.prototype.delete=np;Pt.prototype.get=rp;Pt.prototype.has=op;Pt.prototype.set=ip;var Wn=Pt;function ap(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var sp=ap,up=ut,cp=function(){try{var e=up(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ga=cp,ai=ga;function lp(e,t,n){t=="__proto__"&&ai?ai(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Zr=lp,dp=Zr,fp=qt,pp=Object.prototype,hp=pp.hasOwnProperty;function mp(e,t,n){var r=e[t];(!(hp.call(e,t)&&fp(r,n))||n===void 0&&!(t in e))&&dp(e,t,n)}var Xr=mp,gp=Xr,vp=Zr;function yp(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?vp(n,u,c):gp(n,u,c)}return n}var Jt=yp,wp=Jt,Sp=Fn;function _p(e,t){return e&&wp(t,Sp(t),e)}var bp=_p;function Cp(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Ap=Cp,Tp=Le,Ep=Mn,Ip=Ap,Pp=Object.prototype,$p=Pp.hasOwnProperty;function Np(e){if(!Tp(e))return Ip(e);var t=Ep(e),n=[];for(var r in e)r=="constructor"&&(t||!$p.call(e,r))||n.push(r);return n}var kp=Np,xp=ca,Op=kp,Up=Kt;function Rp(e){return Up(e)?xp(e,!0):Op(e)}var Zt=Rp,Vp=Jt,Bp=Zt;function Dp(e,t){return e&&Vp(t,Bp(t),e)}var Mp=Dp,En={exports:{}};(function(e,t){var n=Fe,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a?n.Buffer:void 0,u=s?s.allocUnsafe:void 0;function c(l,d){if(d)return l.slice();var h=l.length,f=u?u(h):new l.constructor(h);return l.copy(f),f}e.exports=c})(En,En.exports);function Fp(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var va=Fp;function Lp(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var jp=Lp;function zp(){return[]}var ya=zp,Gp=jp,Hp=ya,Wp=Object.prototype,Yp=Wp.propertyIsEnumerable,si=Object.getOwnPropertySymbols,Kp=si?function(e){return e==null?[]:(e=Object(e),Gp(si(e),function(t){return Yp.call(e,t)}))}:Hp,Qr=Kp,qp=Jt,Jp=Qr;function Zp(e,t){return qp(e,Jp(e),t)}var Xp=Zp;function Qp(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var wa=Qp,eh=la,th=eh(Object.getPrototypeOf,Object),eo=th,nh=wa,rh=eo,oh=Qr,ih=ya,ah=Object.getOwnPropertySymbols,sh=ah?function(e){for(var t=[];e;)nh(t,oh(e)),e=rh(e);return t}:ih,Sa=sh,uh=Jt,ch=Sa;function lh(e,t){return uh(e,ch(e),t)}var dh=lh,fh=wa,ph=Ve;function hh(e,t,n){var r=t(e);return ph(e)?r:fh(r,n(e))}var _a=hh,mh=_a,gh=Qr,vh=Fn;function yh(e){return mh(e,vh,gh)}var ba=yh,wh=_a,Sh=Sa,_h=Zt;function bh(e){return wh(e,_h,Sh)}var Ca=bh,Ch=ut,Ah=Fe,Th=Ch(Ah,"DataView"),Eh=Th,Ih=ut,Ph=Fe,$h=Ih(Ph,"Promise"),Nh=$h,kh=ut,xh=Fe,Oh=kh(xh,"Set"),Uh=Oh,Rh=ut,Vh=Fe,Bh=Rh(Vh,"WeakMap"),Dh=Bh,br=Eh,Cr=qr,Ar=Nh,Tr=Uh,Er=Dh,Aa=At,$t=ma,ui="[object Map]",Mh="[object Object]",ci="[object Promise]",li="[object Set]",di="[object WeakMap]",fi="[object DataView]",Fh=$t(br),Lh=$t(Cr),jh=$t(Ar),zh=$t(Tr),Gh=$t(Er),it=Aa;(br&&it(new br(new ArrayBuffer(1)))!=fi||Cr&&it(new Cr)!=ui||Ar&&it(Ar.resolve())!=ci||Tr&&it(new Tr)!=li||Er&&it(new Er)!=di)&&(it=function(e){var t=Aa(e),n=t==Mh?e.constructor:void 0,r=n?$t(n):"";if(r)switch(r){case Fh:return fi;case Lh:return ui;case jh:return ci;case zh:return li;case Gh:return di}return t});var Xt=it,Hh=Object.prototype,Wh=Hh.hasOwnProperty;function Yh(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Wh.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Kh=Yh,qh=Fe,Jh=qh.Uint8Array,Ta=Jh,pi=Ta;function Zh(e){var t=new e.constructor(e.byteLength);return new pi(t).set(new pi(e)),t}var to=Zh,Xh=to;function Qh(e,t){var n=t?Xh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var em=Qh,tm=/\w*$/;function nm(e){var t=new e.constructor(e.source,tm.exec(e));return t.lastIndex=e.lastIndex,t}var rm=nm,hi=Yt,mi=hi?hi.prototype:void 0,gi=mi?mi.valueOf:void 0;function om(e){return gi?Object(gi.call(e)):{}}var im=om,am=to;function sm(e,t){var n=t?am(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ea=sm,um=to,cm=em,lm=rm,dm=im,fm=Ea,pm="[object Boolean]",hm="[object Date]",mm="[object Map]",gm="[object Number]",vm="[object RegExp]",ym="[object Set]",wm="[object String]",Sm="[object Symbol]",_m="[object ArrayBuffer]",bm="[object DataView]",Cm="[object Float32Array]",Am="[object Float64Array]",Tm="[object Int8Array]",Em="[object Int16Array]",Im="[object Int32Array]",Pm="[object Uint8Array]",$m="[object Uint8ClampedArray]",Nm="[object Uint16Array]",km="[object Uint32Array]";function xm(e,t,n){var r=e.constructor;switch(t){case _m:return um(e);case pm:case hm:return new r(+e);case bm:return cm(e,n);case Cm:case Am:case Tm:case Em:case Im:case Pm:case $m:case Nm:case km:return fm(e,n);case mm:return new r;case gm:case wm:return new r(e);case vm:return lm(e);case ym:return new r;case Sm:return dm(e)}}var Om=xm,Um=Le,vi=Object.create,Rm=function(){function e(){}return function(t){if(!Um(t))return{};if(vi)return vi(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Vm=Rm,Bm=Vm,Dm=eo,Mm=Mn;function Fm(e){return typeof e.constructor=="function"&&!Mm(e)?Bm(Dm(e)):{}}var Ia=Fm,Lm=Xt,jm=Je,zm="[object Map]";function Gm(e){return jm(e)&&Lm(e)==zm}var Hm=Gm,Wm=Hm,Ym=Yr,yi=zt.exports,wi=yi&&yi.isMap,Km=wi?Ym(wi):Wm,qm=Km,Jm=Xt,Zm=Je,Xm="[object Set]";function Qm(e){return Zm(e)&&Jm(e)==Xm}var eg=Qm,tg=eg,ng=Yr,Si=zt.exports,_i=Si&&Si.isSet,rg=_i?ng(_i):tg,og=rg,ig=Wn,ag=sp,sg=Xr,ug=bp,cg=Mp,lg=En.exports,dg=va,fg=Xp,pg=dh,hg=ba,mg=Ca,gg=Xt,vg=Kh,yg=Om,wg=Ia,Sg=Ve,_g=st.exports,bg=qm,Cg=Le,Ag=og,Tg=Fn,Eg=Zt,Ig=1,Pg=2,$g=4,Pa="[object Arguments]",Ng="[object Array]",kg="[object Boolean]",xg="[object Date]",Og="[object Error]",$a="[object Function]",Ug="[object GeneratorFunction]",Rg="[object Map]",Vg="[object Number]",Na="[object Object]",Bg="[object RegExp]",Dg="[object Set]",Mg="[object String]",Fg="[object Symbol]",Lg="[object WeakMap]",jg="[object ArrayBuffer]",zg="[object DataView]",Gg="[object Float32Array]",Hg="[object Float64Array]",Wg="[object Int8Array]",Yg="[object Int16Array]",Kg="[object Int32Array]",qg="[object Uint8Array]",Jg="[object Uint8ClampedArray]",Zg="[object Uint16Array]",Xg="[object Uint32Array]",re={};re[Pa]=re[Ng]=re[jg]=re[zg]=re[kg]=re[xg]=re[Gg]=re[Hg]=re[Wg]=re[Yg]=re[Kg]=re[Rg]=re[Vg]=re[Na]=re[Bg]=re[Dg]=re[Mg]=re[Fg]=re[qg]=re[Jg]=re[Zg]=re[Xg]=!0;re[Og]=re[$a]=re[Lg]=!1;function Sn(e,t,n,r,i,a){var s,u=t&Ig,c=t&Pg,l=t&$g;if(n&&(s=i?n(e,r,i,a):n(e)),s!==void 0)return s;if(!Cg(e))return e;var d=Sg(e);if(d){if(s=vg(e),!u)return dg(e,s)}else{var h=gg(e),f=h==$a||h==Ug;if(_g(e))return lg(e,u);if(h==Na||h==Pa||f&&!i){if(s=c||f?{}:wg(e),!u)return c?pg(e,cg(s,e)):fg(e,ug(s,e))}else{if(!re[h])return i?e:{};s=yg(e,h,u)}}a||(a=new ig);var g=a.get(e);if(g)return g;a.set(e,s),Ag(e)?e.forEach(function(_){s.add(Sn(_,t,n,_,e,a))}):bg(e)&&e.forEach(function(_,S){s.set(S,Sn(_,t,n,S,e,a))});var p=l?c?mg:hg:c?Eg:Tg,w=d?void 0:p(e);return ag(w||e,function(_,S){w&&(S=_,_=e[S]),sg(s,S,Sn(_,t,n,S,e,a))}),s}var Qg=Sn,ev=Qg,tv=1,nv=4;function rv(e){return ev(e,tv|nv)}var ov=rv,iv=function(e){for(var t=U({},e),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1],u=s.label,c=s.placeholder;t[a]=U(U({},s),{label:u?V(u):void 0,placeholder:c?V(c):void 0})}return t},av=function(e){return Object.entries(e).sort(function(t,n){return(t[1].order||Number.MAX_VALUE)-(n[1].order||Number.MAX_VALUE)}).filter(function(t){return t[1]!==void 0})},sv=function(e,t){t===void 0&&(t={});var n=ov(e);return Object.keys(t).forEach(function(r){n[r]=U(U({},n[r]),t[r])}),n},uv=function(e,t){var n=(0,Fl[e])(t);return iv(n)},cv=function(e,t){var n,r,i=uv(e,t),a=((r=(n=Ce(t).context)===null||n===void 0?void 0:n.formFields)===null||r===void 0?void 0:r[e])||{},s=sv(i,a);return delete s.QR,s},lv=function(e,t){var n=cv(e,t);return av(n)},dv={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},ke={getBackToSignInText:function(){return V(H.BACK_SIGN_IN)},getChangePasswordText:function(){return V(H.CHANGE_PASSWORD)},getChangingText:function(){return V(H.CHANGING_PASSWORD)},getConfirmText:function(){return V(H.CONFIRM)},getConfirmingText:function(){return V(H.CONFIRMING)},getCopyText:function(){return V(H.UPPERCASE_COPY)},getHidePasswordText:function(){return V(H.HIDE_PASSWORD)},getLoadingText:function(){return V(H.LOADING)},getResendCodeText:function(){return V(H.RESEND_CODE)},getSendCodeText:function(){return V(H.SEND_CODE)},getSendingText:function(){return V(H.SENDING)},getShowPasswordText:function(){return V(H.SHOW_PASSWORD)},getSubmitText:function(){return V(H.SUBMIT)},getSubmittingText:function(){return V(H.SUBMITTING)},getSignInTabText:function(){return V(H.SIGN_IN_TAB)},getSignUpTabText:function(){return V(H.CREATE_ACCOUNT)},getForgotPasswordText:function(e){return V(e?H.FORGOT_PASSWORD:H.FORGOT_YOUR_PASSWORD)},getSigningInText:function(){return V(H.SIGNING_IN_BUTTON)},getSignInText:function(){return V(H.SIGN_IN_BUTTON)},getCreatingAccountText:function(){return V(H.CREATING_ACCOUNT)},getCreateAccountText:function(){return V(H.CREATE_ACCOUNT)},getDeliveryMessageText:function(e){var t=e!=null?e:{},n=t.DeliveryMedium,r=t.Destination,i=n==="EMAIL",a=n==="SMS",s=V(H.CODE_ARRIVAL);if(!i&&!a)return"".concat(V(H.CODE_SENT),". ").concat(s,".");var u=V(i?H.CODE_EMAILED:H.CODE_TEXTED);return"".concat(u," ").concat(r,". ").concat(s,".")},getDeliveryMethodText:function(e){var t=(e!=null?e:{}).DeliveryMedium,n=t==="EMAIL";return V(n||t!=="SMS"?n?H.WE_EMAILED:H.WE_TEXTED:H.WE_SENT_CODE)},getChallengeText:function(e){switch(e){case"SMS_MFA":return V(H.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return V(H.CONFIRM_TOTP);default:throw new Error("".concat(V("Unexpected challengeName encountered in ConfirmSignIn:")," ").concat(e))}},getResetYourPasswordText:function(){return V(H.RESET_PASSWORD)},getSetupTOTPText:function(){return V(H.SETUP_TOTP)},getSetupTOTPInstructionsText:function(){return V("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below.")},getCopiedText:function(){return V("COPIED")},getSignInWithFederationText:function(e,t){return V("Sign ".concat(e==="signIn"?"In":"Up"," with ").concat(dv[t]))},getSkipText:function(){return V(H.SKIP)},getVerifyText:function(){return V(H.VERIFY)},getVerifyContactText:function(){return V(H.VERIFY_CONTACT)},getAccountRecoveryInfoText:function(){return V(H.VERIFY_HEADING)}};/*! *****************************************************************************
15
+ ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var u,c=1,l=arguments.length;c<l;c++){u=arguments[c];for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(s[d]=u[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var u={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(u[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,c=Object.getOwnPropertySymbols(a);l<c.length;l++)s.indexOf(c[l])<0&&Object.prototype.propertyIsEnumerable.call(a,c[l])&&(u[c[l]]=a[c[l]]);return u}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,u=s&&a[s],c=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(a,s){var u=typeof Symbol=="function"&&a[Symbol.iterator];if(!u)return a;var c=u.call(a),l,d=[],m;try{for(;(s===void 0||s-- >0)&&!(l=c.next()).done;)d.push(l.value)}catch(f){m={error:f}}finally{try{l&&!l.done&&(u=c.return)&&u.call(c)}finally{if(m)throw m.error}}return d}function i(a,s,u){if(u||arguments.length===2)for(var c=0,l=s.length,d;c<l;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=r,e.__rest=t,e.__spreadArray=i,e.__values=n})(jn);Object.defineProperty(ha,"__esModule",{value:!0});var ni=jn,Fl={timeout:1e4};function Bl(e,t,n){var r=ni.__assign(ni.__assign({},Fl),n);return new Promise(function(i,a){var s=!1,u=r.timeout===1/0?void 0:setTimeout(function(){l.unsubscribe(),a(new Error("Timeout of ".concat(r.timeout," ms exceeded")))},r.timeout),c=function(){clearTimeout(u),s=!0,l==null||l.unsubscribe()},l=e.subscribe({next:function(d){t(d)&&(c(),i(d))},error:function(d){c(),a(d)},complete:function(){c(),a(new Error("Actor terminated without satisfying predicate"))}});s&&l.unsubscribe()})}var Dl=ha.waitFor=Bl,Vl=function(e){var t=e.packageName,n=e.version;Vs.appendToCognitoUserAgent("".concat(t,"/").concat(n))},ri=function(e){return K(void 0,void 0,void 0,function(){return q(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,Dl(e,function(n){return Ae(n).matches("autoSignIn")})];case 1:case 2:return t.sent(),[3,3];case 3:return[2]}})})},Ml=function(e,t){return K(void 0,void 0,void 0,function(){var n,r,i,a;return q(this,function(s){switch(s.label){case 0:switch(n=t.send,r=t.getSnapshot(),e.payload.event){case"tokenRefresh":return[3,1];case"autoSignIn":return[3,2];case"autoSignIn_failure":return[3,5];case"signOut":case"tokenRefresh_failure":return[3,7]}return[3,8];case 1:return r.matches("authenticated.idle")&&n("TOKEN_REFRESH"),[3,9];case 2:return r.matches("authenticated")?[3,4]:[4,ri(t)];case 3:s.sent(),(i=Ae(t.getSnapshot()))!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN",data:e.payload.data}),s.label=4;case 4:return[3,9];case 5:return[4,ri(t)];case 6:return s.sent(),(a=Ae(t.getSnapshot()))!=null&&a.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN_FAILURE",data:e.payload.data}),[3,9];case 7:return r.matches("authenticated.idle")&&n("SIGN_OUT"),[3,9];case 8:return[3,9];case 9:return[2]}})})},Ll=function(e,t){return t===void 0&&(t=Ml),le.Hub.listen("auth",function(n,r){return function(i){r(i,n)}}(e,t),"authenticator-hub-handler")},jl=function(e){return Ul.some(function(t){return e.includes(t)})},Qe=function(e,t){var n=ia(e).country_code,r=qr[t];return r.type==="tel"&&(r=O(O({},r),{dialCode:n})),r},cr=function(e){var t=br(e);return O(O({},Qe(e,t)),{autocomplete:"username"})},un=function(e){return{confirmation_code:O(O({},Qe(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},zl={signIn:function(e){return{username:O({},cr(e)),password:O(O({},Qe(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var t=e.context.config,n=t.loginMechanisms,r=t.signUpAttributes,i=br(e),a={},s=0,u=Array.from(new Set(Ve(Ve(Ve([],n,!0),["password","confirm_password"],!1),r,!0)));s<u.length;s++){var c=u[s];if(ti(c)){var l=c===i?cr(e):Qe(e,c);a[c]=O({},l)}else console.debug("Authenticator does not have a default implementation for ".concat(c,". Customize SignUp FormFields to add your own."))}return a},confirmSignUp:function(e){return{confirmation_code:O(O({},Qe(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:un,forceNewPassword:function(e){for(var t=Ae(e).context.requiredAttributes,n={},r=0,i=Array.from(new Set(Ve(["password","confirm_password"],t,!0)));r<i.length;r++){var a=i[r];ti(a)?n[a]=O({},Qe(e,a)):console.debug("Authenticator does not have a default implementation for ".concat(a,". Customize ForceNewPassword FormFields to add your own."))}return n},resetPassword:function(e){var t=br(e),n=qr[t].label;return{username:O(O({},cr(e)),{label:"Enter your ".concat(n.toLowerCase()),placeholder:"Enter your ".concat(n.toLowerCase())})}},confirmResetPassword:function(e){return O(O({},un(e)),{password:O(O({},Qe(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:O(O({},Qe(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:un,setupTOTP:un};function Gl(){this.__data__=[],this.size=0}var Hl=Gl;function Wl(e,t){return e===t||e!==e&&t!==t}var Jt=Wl,Yl=Jt;function Kl(e,t){for(var n=e.length;n--;)if(Yl(e[n][0],t))return n;return-1}var zn=Kl,ql=zn,Jl=Array.prototype,Zl=Jl.splice;function Xl(e){var t=this.__data__,n=ql(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Zl.call(t,n,1),--this.size,!0}var Ql=Xl,ed=zn;function td(e){var t=this.__data__,n=ed(t,e);return n<0?void 0:t[n][1]}var nd=td,rd=zn;function od(e){return rd(this.__data__,e)>-1}var id=od,ad=zn;function sd(e,t){var n=this.__data__,r=ad(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var ud=sd,cd=Hl,ld=Ql,dd=nd,fd=id,pd=ud;function It(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}It.prototype.clear=cd;It.prototype.delete=ld;It.prototype.get=dd;It.prototype.has=fd;It.prototype.set=pd;var Gn=It,md=Gn;function hd(){this.__data__=new md,this.size=0}var gd=hd;function vd(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var yd=vd;function wd(e){return this.__data__.get(e)}var Sd=wd;function _d(e){return this.__data__.has(e)}var bd=_d,Cd=Le,Ad=Cd["__core-js_shared__"],Td=Ad,lr=Td,oi=function(){var e=/[^.]+$/.exec(lr&&lr.keys&&lr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Id(e){return!!oi&&oi in e}var Ed=Id,Pd=Function.prototype,$d=Pd.toString;function Nd(e){if(e!=null){try{return $d.call(e)}catch{}try{return e+""}catch{}}return""}var ga=Nd,kd=Hr,xd=Ed,Od=je,Ud=ga,Rd=/[\\^$.*+?()[\]{}|]/g,Fd=/^\[object .+?Constructor\]$/,Bd=Function.prototype,Dd=Object.prototype,Vd=Bd.toString,Md=Dd.hasOwnProperty,Ld=RegExp("^"+Vd.call(Md).replace(Rd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jd(e){if(!Od(e)||xd(e))return!1;var t=kd(e)?Ld:Fd;return t.test(Ud(e))}var zd=jd;function Gd(e,t){return e==null?void 0:e[t]}var Hd=Gd,Wd=zd,Yd=Hd;function Kd(e,t){var n=Yd(e,t);return Wd(n)?n:void 0}var ct=Kd,qd=ct,Jd=Le,Zd=qd(Jd,"Map"),Jr=Zd,Xd=ct,Qd=Xd(Object,"create"),Hn=Qd,ii=Hn;function ef(){this.__data__=ii?ii(null):{},this.size=0}var tf=ef;function nf(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var rf=nf,of=Hn,af="__lodash_hash_undefined__",sf=Object.prototype,uf=sf.hasOwnProperty;function cf(e){var t=this.__data__;if(of){var n=t[e];return n===af?void 0:n}return uf.call(t,e)?t[e]:void 0}var lf=cf,df=Hn,ff=Object.prototype,pf=ff.hasOwnProperty;function mf(e){var t=this.__data__;return df?t[e]!==void 0:pf.call(t,e)}var hf=mf,gf=Hn,vf="__lodash_hash_undefined__";function yf(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=gf&&t===void 0?vf:t,this}var wf=yf,Sf=tf,_f=rf,bf=lf,Cf=hf,Af=wf;function Et(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Et.prototype.clear=Sf;Et.prototype.delete=_f;Et.prototype.get=bf;Et.prototype.has=Cf;Et.prototype.set=Af;var Tf=Et,ai=Tf,If=Gn,Ef=Jr;function Pf(){this.size=0,this.__data__={hash:new ai,map:new(Ef||If),string:new ai}}var $f=Pf;function Nf(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var kf=Nf,xf=kf;function Of(e,t){var n=e.__data__;return xf(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Wn=Of,Uf=Wn;function Rf(e){var t=Uf(this,e).delete(e);return this.size-=t?1:0,t}var Ff=Rf,Bf=Wn;function Df(e){return Bf(this,e).get(e)}var Vf=Df,Mf=Wn;function Lf(e){return Mf(this,e).has(e)}var jf=Lf,zf=Wn;function Gf(e,t){var n=zf(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Hf=Gf,Wf=$f,Yf=Ff,Kf=Vf,qf=jf,Jf=Hf;function Pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pt.prototype.clear=Wf;Pt.prototype.delete=Yf;Pt.prototype.get=Kf;Pt.prototype.has=qf;Pt.prototype.set=Jf;var Zr=Pt,Zf=Gn,Xf=Jr,Qf=Zr,ep=200;function tp(e,t){var n=this.__data__;if(n instanceof Zf){var r=n.__data__;if(!Xf||r.length<ep-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Qf(r)}return n.set(e,t),this.size=n.size,this}var np=tp,rp=Gn,op=gd,ip=yd,ap=Sd,sp=bd,up=np;function $t(e){var t=this.__data__=new rp(e);this.size=t.size}$t.prototype.clear=op;$t.prototype.delete=ip;$t.prototype.get=ap;$t.prototype.has=sp;$t.prototype.set=up;var Yn=$t;function cp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var lp=cp,dp=ct,fp=function(){try{var e=dp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),va=fp,si=va;function pp(e,t,n){t=="__proto__"&&si?si(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Xr=pp,mp=Xr,hp=Jt,gp=Object.prototype,vp=gp.hasOwnProperty;function yp(e,t,n){var r=e[t];(!(vp.call(e,t)&&hp(r,n))||n===void 0&&!(t in e))&&mp(e,t,n)}var Qr=yp,wp=Qr,Sp=Xr;function _p(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?Sp(n,u,c):wp(n,u,c)}return n}var Zt=_p,bp=Zt,Cp=Ln;function Ap(e,t){return e&&bp(t,Cp(t),e)}var Tp=Ap;function Ip(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Ep=Ip,Pp=je,$p=Mn,Np=Ep,kp=Object.prototype,xp=kp.hasOwnProperty;function Op(e){if(!Pp(e))return Np(e);var t=$p(e),n=[];for(var r in e)r=="constructor"&&(t||!xp.call(e,r))||n.push(r);return n}var Up=Op,Rp=la,Fp=Up,Bp=qt;function Dp(e){return Bp(e)?Rp(e,!0):Fp(e)}var Xt=Dp,Vp=Zt,Mp=Xt;function Lp(e,t){return e&&Vp(t,Mp(t),e)}var jp=Lp,En={exports:{}};(function(e,t){var n=Le,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a?n.Buffer:void 0,u=s?s.allocUnsafe:void 0;function c(l,d){if(d)return l.slice();var m=l.length,f=u?u(m):new l.constructor(m);return l.copy(f),f}e.exports=c})(En,En.exports);function zp(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var ya=zp;function Gp(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var Hp=Gp;function Wp(){return[]}var wa=Wp,Yp=Hp,Kp=wa,qp=Object.prototype,Jp=qp.propertyIsEnumerable,ui=Object.getOwnPropertySymbols,Zp=ui?function(e){return e==null?[]:(e=Object(e),Yp(ui(e),function(t){return Jp.call(e,t)}))}:Kp,eo=Zp,Xp=Zt,Qp=eo;function em(e,t){return Xp(e,Qp(e),t)}var tm=em;function nm(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Sa=nm,rm=da,om=rm(Object.getPrototypeOf,Object),to=om,im=Sa,am=to,sm=eo,um=wa,cm=Object.getOwnPropertySymbols,lm=cm?function(e){for(var t=[];e;)im(t,sm(e)),e=am(e);return t}:um,_a=lm,dm=Zt,fm=_a;function pm(e,t){return dm(e,fm(e),t)}var mm=pm,hm=Sa,gm=Be;function vm(e,t,n){var r=t(e);return gm(e)?r:hm(r,n(e))}var ba=vm,ym=ba,wm=eo,Sm=Ln;function _m(e){return ym(e,Sm,wm)}var Ca=_m,bm=ba,Cm=_a,Am=Xt;function Tm(e){return bm(e,Am,Cm)}var Aa=Tm,Im=ct,Em=Le,Pm=Im(Em,"DataView"),$m=Pm,Nm=ct,km=Le,xm=Nm(km,"Promise"),Om=xm,Um=ct,Rm=Le,Fm=Um(Rm,"Set"),Bm=Fm,Dm=ct,Vm=Le,Mm=Dm(Vm,"WeakMap"),Lm=Mm,Cr=$m,Ar=Jr,Tr=Om,Ir=Bm,Er=Lm,Ta=Tt,Nt=ga,ci="[object Map]",jm="[object Object]",li="[object Promise]",di="[object Set]",fi="[object WeakMap]",pi="[object DataView]",zm=Nt(Cr),Gm=Nt(Ar),Hm=Nt(Tr),Wm=Nt(Ir),Ym=Nt(Er),at=Ta;(Cr&&at(new Cr(new ArrayBuffer(1)))!=pi||Ar&&at(new Ar)!=ci||Tr&&at(Tr.resolve())!=li||Ir&&at(new Ir)!=di||Er&&at(new Er)!=fi)&&(at=function(e){var t=Ta(e),n=t==jm?e.constructor:void 0,r=n?Nt(n):"";if(r)switch(r){case zm:return pi;case Gm:return ci;case Hm:return li;case Wm:return di;case Ym:return fi}return t});var Qt=at,Km=Object.prototype,qm=Km.hasOwnProperty;function Jm(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&qm.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Zm=Jm,Xm=Le,Qm=Xm.Uint8Array,Ia=Qm,mi=Ia;function eh(e){var t=new e.constructor(e.byteLength);return new mi(t).set(new mi(e)),t}var no=eh,th=no;function nh(e,t){var n=t?th(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var rh=nh,oh=/\w*$/;function ih(e){var t=new e.constructor(e.source,oh.exec(e));return t.lastIndex=e.lastIndex,t}var ah=ih,hi=Kt,gi=hi?hi.prototype:void 0,vi=gi?gi.valueOf:void 0;function sh(e){return vi?Object(vi.call(e)):{}}var uh=sh,ch=no;function lh(e,t){var n=t?ch(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ea=lh,dh=no,fh=rh,ph=ah,mh=uh,hh=Ea,gh="[object Boolean]",vh="[object Date]",yh="[object Map]",wh="[object Number]",Sh="[object RegExp]",_h="[object Set]",bh="[object String]",Ch="[object Symbol]",Ah="[object ArrayBuffer]",Th="[object DataView]",Ih="[object Float32Array]",Eh="[object Float64Array]",Ph="[object Int8Array]",$h="[object Int16Array]",Nh="[object Int32Array]",kh="[object Uint8Array]",xh="[object Uint8ClampedArray]",Oh="[object Uint16Array]",Uh="[object Uint32Array]";function Rh(e,t,n){var r=e.constructor;switch(t){case Ah:return dh(e);case gh:case vh:return new r(+e);case Th:return fh(e,n);case Ih:case Eh:case Ph:case $h:case Nh:case kh:case xh:case Oh:case Uh:return hh(e,n);case yh:return new r;case wh:case bh:return new r(e);case Sh:return ph(e);case _h:return new r;case Ch:return mh(e)}}var Fh=Rh,Bh=je,yi=Object.create,Dh=function(){function e(){}return function(t){if(!Bh(t))return{};if(yi)return yi(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Vh=Dh,Mh=Vh,Lh=to,jh=Mn;function zh(e){return typeof e.constructor=="function"&&!jh(e)?Mh(Lh(e)):{}}var Pa=zh,Gh=Qt,Hh=Ze,Wh="[object Map]";function Yh(e){return Hh(e)&&Gh(e)==Wh}var Kh=Yh,qh=Kh,Jh=Kr,wi=Gt.exports,Si=wi&&wi.isMap,Zh=Si?Jh(Si):qh,Xh=Zh,Qh=Qt,eg=Ze,tg="[object Set]";function ng(e){return eg(e)&&Qh(e)==tg}var rg=ng,og=rg,ig=Kr,_i=Gt.exports,bi=_i&&_i.isSet,ag=bi?ig(bi):og,sg=ag,ug=Yn,cg=lp,lg=Qr,dg=Tp,fg=jp,pg=En.exports,mg=ya,hg=tm,gg=mm,vg=Ca,yg=Aa,wg=Qt,Sg=Zm,_g=Fh,bg=Pa,Cg=Be,Ag=ut.exports,Tg=Xh,Ig=je,Eg=sg,Pg=Ln,$g=Xt,Ng=1,kg=2,xg=4,$a="[object Arguments]",Og="[object Array]",Ug="[object Boolean]",Rg="[object Date]",Fg="[object Error]",Na="[object Function]",Bg="[object GeneratorFunction]",Dg="[object Map]",Vg="[object Number]",ka="[object Object]",Mg="[object RegExp]",Lg="[object Set]",jg="[object String]",zg="[object Symbol]",Gg="[object WeakMap]",Hg="[object ArrayBuffer]",Wg="[object DataView]",Yg="[object Float32Array]",Kg="[object Float64Array]",qg="[object Int8Array]",Jg="[object Int16Array]",Zg="[object Int32Array]",Xg="[object Uint8Array]",Qg="[object Uint8ClampedArray]",ev="[object Uint16Array]",tv="[object Uint32Array]",re={};re[$a]=re[Og]=re[Hg]=re[Wg]=re[Ug]=re[Rg]=re[Yg]=re[Kg]=re[qg]=re[Jg]=re[Zg]=re[Dg]=re[Vg]=re[ka]=re[Mg]=re[Lg]=re[jg]=re[zg]=re[Xg]=re[Qg]=re[ev]=re[tv]=!0;re[Fg]=re[Na]=re[Gg]=!1;function _n(e,t,n,r,i,a){var s,u=t&Ng,c=t&kg,l=t&xg;if(n&&(s=i?n(e,r,i,a):n(e)),s!==void 0)return s;if(!Ig(e))return e;var d=Cg(e);if(d){if(s=Sg(e),!u)return mg(e,s)}else{var m=wg(e),f=m==Na||m==Bg;if(Ag(e))return pg(e,u);if(m==ka||m==$a||f&&!i){if(s=c||f?{}:bg(e),!u)return c?gg(e,fg(s,e)):hg(e,dg(s,e))}else{if(!re[m])return i?e:{};s=_g(e,m,u)}}a||(a=new ug);var g=a.get(e);if(g)return g;a.set(e,s),Eg(e)?e.forEach(function(_){s.add(_n(_,t,n,_,e,a))}):Tg(e)&&e.forEach(function(_,S){s.set(S,_n(_,t,n,S,e,a))});var p=l?c?yg:vg:c?$g:Pg,w=d?void 0:p(e);return cg(w||e,function(_,S){w&&(S=_,_=e[S]),lg(s,S,_n(_,t,n,S,e,a))}),s}var nv=_n,rv=nv,ov=1,iv=4;function av(e){return rv(e,ov|iv)}var sv=av,uv=function(e){for(var t=O({},e),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1],u=s.label,c=s.placeholder;t[a]=O(O({},s),{label:u?F(u):void 0,placeholder:c?F(c):void 0})}return t},cv=function(e){return Object.entries(e).sort(function(t,n){return(t[1].order||Number.MAX_VALUE)-(n[1].order||Number.MAX_VALUE)}).filter(function(t){return t[1]!==void 0})},lv=function(e,t){t===void 0&&(t={});var n=sv(e);return Object.keys(t).forEach(function(r){n[r]=O(O({},n[r]),t[r])}),n},dv=function(e,t){var n=(0,zl[e])(t);return uv(n)},fv=function(e,t){var n,r,i=dv(e,t),a=((r=(n=Ae(t).context)===null||n===void 0?void 0:n.formFields)===null||r===void 0?void 0:r[e])||{},s=lv(i,a);return delete s.QR,s},pv=function(e){return e.map(function(t){return[t[0],O(O({},t[1]),{order:void 0})]})},mv=function(e,t){var n=fv(e,t);return pv(cv(n))},hv={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},xe={getBackToSignInText:function(){return F(H.BACK_SIGN_IN)},getChangePasswordText:function(){return F(H.CHANGE_PASSWORD)},getChangingText:function(){return F(H.CHANGING_PASSWORD)},getConfirmText:function(){return F(H.CONFIRM)},getConfirmingText:function(){return F(H.CONFIRMING)},getCopyText:function(){return F(H.UPPERCASE_COPY)},getHidePasswordText:function(){return F(H.HIDE_PASSWORD)},getLoadingText:function(){return F(H.LOADING)},getResendCodeText:function(){return F(H.RESEND_CODE)},getSendCodeText:function(){return F(H.SEND_CODE)},getSendingText:function(){return F(H.SENDING)},getShowPasswordText:function(){return F(H.SHOW_PASSWORD)},getSubmitText:function(){return F(H.SUBMIT)},getSubmittingText:function(){return F(H.SUBMITTING)},getSignInTabText:function(){return F(H.SIGN_IN_TAB)},getSignUpTabText:function(){return F(H.CREATE_ACCOUNT)},getForgotPasswordText:function(e){return F(e?H.FORGOT_PASSWORD:H.FORGOT_YOUR_PASSWORD)},getSigningInText:function(){return F(H.SIGNING_IN_BUTTON)},getSignInText:function(){return F(H.SIGN_IN_BUTTON)},getCreatingAccountText:function(){return F(H.CREATING_ACCOUNT)},getCreateAccountText:function(){return F(H.CREATE_ACCOUNT)},getDeliveryMessageText:function(e){var t=e!=null?e:{},n=t.DeliveryMedium,r=t.Destination,i=n==="EMAIL",a=n==="SMS",s=F(H.CODE_ARRIVAL);if(!i&&!a)return"".concat(F(H.CODE_SENT),". ").concat(s,".");var u=F(i?H.CODE_EMAILED:H.CODE_TEXTED);return"".concat(u," ").concat(r,". ").concat(s,".")},getDeliveryMethodText:function(e){var t=(e!=null?e:{}).DeliveryMedium,n=t==="EMAIL";return F(n||t!=="SMS"?n?H.WE_EMAILED:H.WE_TEXTED:H.WE_SENT_CODE)},getChallengeText:function(e){switch(e){case"SMS_MFA":return F(H.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return F(H.CONFIRM_TOTP);default:throw new Error("".concat(F("Unexpected challengeName encountered in ConfirmSignIn:")," ").concat(e))}},getResetYourPasswordText:function(){return F(H.RESET_PASSWORD)},getSetupTOTPText:function(){return F(H.SETUP_TOTP)},getSetupTOTPInstructionsText:function(){return F("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below.")},getCopiedText:function(){return F("COPIED")},getSignInWithFederationText:function(e,t){return F("Sign ".concat(e==="signIn"?"In":"Up"," with ").concat(hv[t]))},getSkipText:function(){return F(H.SKIP)},getVerifyText:function(){return F(H.VERIFY)},getVerifyContactText:function(){return F(H.VERIFY_CONTACT)},getAccountRecoveryInfoText:function(){return F(H.VERIFY_HEADING)}};/*! *****************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
17
17
 
18
18
  Permission to use, copy, modify, and/or distribute this software for any
@@ -25,14 +25,14 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
25
25
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
26
26
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27
27
  PERFORMANCE OF THIS SOFTWARE.
28
- ***************************************************************************** */var I=function(){return I=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},I.apply(this,arguments)};function no(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function W(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Y(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function oe(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var ne;(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"})(ne||(ne={}));var qe;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(qe||(qe={}));var Ir=ne.Start,ro=ne.Stop,gt=ne.Raise,vt=ne.Send,ka=ne.Cancel,fv=ne.NullEvent,oo=ne.Assign;ne.After;ne.DoneState;var xa=ne.Log,pv=ne.Init,Pr=ne.Invoke;ne.ErrorExecution;var bi=ne.ErrorPlatform,hv=ne.ErrorCustom,io=ne.Update,mv=ne.Choose,gv=ne.Pure,Oa=".",Ci={},$r="xstate.guard",vv="",Ua=!0,un;function ao(e,t,n){n===void 0&&(n=Oa);var r=Lt(e,n),i=Lt(t,n);return X(i)?X(r)?i===r:!1:X(r)?r in i:Object.keys(r).every(function(a){return a in i?ao(r[a],i[a]):!1})}function Ra(e){try{return X(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 Nr(e,t){try{return Nt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function yv(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function Lt(e,t){if(yv(e))return e.value;if(Nt(e))return In(e);if(typeof e!="string")return e;var n=Nr(e,t);return In(n)}function In(e){if(e.length===1)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function Dt(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function Ai(e,t,n){var r,i,a={};try{for(var s=W(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];!n(l)||(a[c]=t(l,c,e))}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}var wv=function(e){return function(t){var n,r,i=t;try{for(var a=W(e),s=a.next();!s.done;s=a.next()){var u=s.value;i=i[u]}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}};function Sv(e,t){return function(n){var r,i,a=n;try{for(var s=W(e),u=s.next();!u.done;u=s.next()){var c=u.value;a=a[t][c]}}catch(l){r={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}}function _n(e){if(!e)return[[]];if(X(e))return[[e]];var t=de(Object.keys(e).map(function(n){var r=e[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:_n(e[n]).map(function(i){return[n].concat(i)})}));return t}function de(e){var t;return(t=[]).concat.apply(t,oe([],Y(e),!1))}function Va(e){return Nt(e)?e:[e]}function Ue(e){return e===void 0?[]:Va(e)}function Pn(e,t,n){var r,i;if(te(e))return e(t,n.data);var a={};try{for(var s=W(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];te(l)?a[c]=l(t,n.data):a[c]=l}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}function _v(e){return/^(done|error)\./.test(e)}function Ti(e){return!!(e instanceof Promise||e!==null&&(te(e)||typeof e=="object")&&te(e.then))}function bv(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Cv(e,t){var n,r,i=Y([[],[]],2),a=i[0],s=i[1];try{for(var u=W(e),c=u.next();!c.done;c=u.next()){var l=c.value;t(l)?a.push(l):s.push(l)}}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return[a,s]}function Ba(e,t){return Dt(e.states,function(n,r){if(!!n){var i=(X(t)?void 0:t[r])||(n?n.current:void 0);if(!!i)return{current:i,states:Ba(n,i)}}})}function Av(e,t){return{current:t,states:Ba(e,t)}}function Ei(e,t,n,r){var i=e&&n.reduce(function(a,s){var u,c,l=s.assignment,d={state:r,action:s,_event:t},h={};if(te(l))h=l(a,t.data,d);else try{for(var f=W(Object.keys(l)),g=f.next();!g.done;g=f.next()){var p=g.value,w=l[p];h[p]=te(w)?w(a,t.data,d):w}}catch(_){u={error:_}}finally{try{g&&!g.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return Object.assign({},a,h)},e);return i}var Tv=function(){};function Nt(e){return Array.isArray(e)}function te(e){return typeof e=="function"}function X(e){return typeof e=="string"}function Da(e,t){if(!!e)return X(e)?{type:$r,name:e,predicate:t?t[e]:void 0}:te(e)?{type:$r,name:e.name,predicate:e}:e}function Ev(e){try{return"subscribe"in e&&te(e.subscribe)}catch{return!1}}var Qe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();un={},un[Qe]=function(){return this},un[Symbol.observable]=function(){return this};function yt(e){return!!e&&"__xstatenode"in e}function Iv(e){return!!e&&typeof e.send=="function"}var Pv=function(){var e=0;return function(){return e++,e.toString(16)}}();function so(e,t){return X(e)||typeof e=="number"?I({type:e},t):e}function we(e,t){if(!X(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=so(e);return I({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function lt(e,t){var n=Va(t).map(function(r){return typeof r=="undefined"||typeof r=="string"||yt(r)?{target:r,event:e}:I(I({},r),{event:e})});return n}function $v(e){if(!(e===void 0||e===vv))return Ue(e)}function Ma(e,t,n,r,i){var a=e.options.guards,s={state:i,cond:t,_event:r};if(t.type===$r)return((a==null?void 0:a[t.name])||t.predicate)(n,r.data,s);var u=a==null?void 0:a[t.type];if(!u)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return u(n,r.data,s)}function Fa(e){return typeof e=="string"?{type:e}:e}function bn(e,t,n){var r=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}}function cn(e,t){return"".concat(e,":invocation[").concat(t,"]")}var mt=we({type:pv});function kr(e,t){return t&&t[e]||void 0}function Gt(e,t){var n;if(X(e)||typeof e=="number"){var r=kr(e,t);te(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(te(e))n={type:e.name||e.toString(),exec:e};else{var r=kr(e.type,t);if(te(r))n=I(I({},e),{exec:r});else if(r){var i=r.type||e.type;n=I(I(I({},r),e),{type:i})}else n=e}return n}var et=function(e,t){if(!e)return[];var n=Nt(e)?e:[e];return n.map(function(r){return Gt(r,t)})};function uo(e){var t=Gt(e);return I(I({id:X(e)?e:t.id},t),{type:t.type})}function Nv(e){return X(e)?{type:gt,event:e}:Yn(e,{to:qe.Internal})}function kv(e){return{type:gt,_event:we(e.event)}}function Yn(e,t){return{to:t?t.to:void 0,type:vt,event:te(e)?e:so(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:te(e)?e.name:Ra(e)}}function xv(e,t,n,r){var i={_event:n},a=we(te(e.event)?e.event(t,n.data,i):e.event),s;if(X(e.delay)){var u=r&&r[e.delay];s=te(u)?u(t,n.data,i):u}else s=te(e.delay)?e.delay(t,n.data,i):e.delay;var c=te(e.to)?e.to(t,n.data,i):e.to;return I(I({},e),{to:c,_event:a,event:a.data,delay:s})}function Ov(e,t){return Yn(e,I(I({},t),{to:qe.Parent}))}function Uv(){return Ov(io)}var Rv=function(e,t,n){return I(I({},e),{value:X(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Vv=function(e){return{type:ka,sendId:e}};function Bv(e){var t=uo(e);return{type:ne.Start,activity:t,exec:void 0}}function Dv(e){var t=te(e)?e:uo(e);return{type:ne.Stop,activity:t,exec:void 0}}function Mv(e,t,n){var r=te(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:ne.Stop,activity:i};return a}var Fv=function(e){return{type:oo,assignment:e}};function Lv(e,t){var n=t?"#".concat(t):"";return"".concat(ne.After,"(").concat(e,")").concat(n)}function ln(e,t){var n="".concat(ne.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Cn(e,t){var n="".concat(ne.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Mt(e,t){var n="".concat(ne.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function jv(e,t){return Yn(function(n,r){return r},I(I({},t),{to:e}))}var zv=function(e){var t,n,r=[];try{for(var i=W(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===oo){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function $n(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:zv(i),c=u.length?Ei(n,r,u,t):n,l=s?[n]:void 0,d=[];function h(p){var w;switch(p.type){case gt:return kv(p);case vt:var _=xv(p,c,r,e.options.delays);return a&&_.to!==qe.Internal&&d.push(_),_;case xa:{var S=Rv(p,c,r);return a==null||a(S,c,r),S}case mv:{var v=p,m=(w=v.conds.find(function(D){var L=Da(D.cond,e.options.guards);return!L||Ma(e,L,c,r,a?void 0:t)}))===null||w===void 0?void 0:w.actions;if(!m)return[];var b=Y($n(e,t,c,r,[et(Ue(m),e.options.actions)],a,s),2),C=b[0],A=b[1];return c=A,l==null||l.push(c),C}case gv:{var m=p.get(c,r.data);if(!m)return[];var E=Y($n(e,t,c,r,[et(Ue(m),e.options.actions)],a,s),2),P=E[0],O=E[1];return c=O,l==null||l.push(c),P}case ro:{var S=Mv(p,c,r);return a==null||a(S,n,r),S}case oo:{c=Ei(c,r,[p],a?void 0:t),l==null||l.push(c);break}default:var T=Gt(p,e.options.actions),k=T.exec;if(a)a(T,c,r);else if(k&&l){var F=l.length-1;T=I(I({},T),{exec:function(D){for(var L=[],j=1;j<arguments.length;j++)L[j-1]=arguments[j];k.apply(void 0,oe([l[F]],Y(L),!1))}})}return T}}function f(p){var w,_,S=[];try{for(var v=W(p),m=v.next();!m.done;m=v.next()){var b=m.value,C=h(b);C&&(S=S.concat(C))}}catch(A){w={error:A}}finally{try{m&&!m.done&&(_=v.return)&&_.call(v)}finally{if(w)throw w.error}}return d.forEach(function(A){a(A,c,r)}),d.length=0,S}var g=de(i.map(f));return[g,c]}var Nn=[],pt=function(e,t){Nn.push(e);var n=t(e);return Nn.pop(),n},Gv=function(e){return e(Nn[Nn.length-1])};function La(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[Qe]=function(){return this},t}function Hv(e,t,n,r){var i,a=Fa(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],u=e.data?Pn(e.data,n,r):void 0,c=s?co(s,e.id,u):La(e.id);return c.meta=e,c}function co(e,t,n){var r=La(t);if(r.deferred=!0,yt(e)){var i=r.state=pt(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}function Wv(e){try{return typeof e.send=="function"}catch{return!1}}function Yv(e){return Wv(e)&&"id"in e}function Kv(e){var t;return I((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[Qe]=function(){return this},t),e)}var kn=function(e){return e.type==="atomic"||e.type==="final"};function ja(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function Ht(e){return ja(e).filter(function(t){return t.type!=="history"})}function za(e){var t=[e];return kn(e)?t:t.concat(de(Ht(e).map(za)))}function Ft(e,t){var n,r,i,a,s,u,c,l,d=new Set(e),h=xr(d),f=new Set(t);try{for(var g=W(f),p=g.next();!p.done;p=g.next())for(var w=p.value,_=w.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(O){n={error:O}}finally{try{p&&!p.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var S=xr(f);try{for(var v=W(f),m=v.next();!m.done;m=v.next()){var w=m.value;if(w.type==="compound"&&(!S.get(w)||!S.get(w).length))h.get(w)?h.get(w).forEach(function(T){return f.add(T)}):w.initialStateNodes.forEach(function(T){return f.add(T)});else if(w.type==="parallel")try{for(var b=(s=void 0,W(Ht(w))),C=b.next();!C.done;C=b.next()){var A=C.value;f.has(A)||(f.add(A),h.get(A)?h.get(A).forEach(function(T){return f.add(T)}):A.initialStateNodes.forEach(function(T){return f.add(T)}))}}catch(T){s={error:T}}finally{try{C&&!C.done&&(u=b.return)&&u.call(b)}finally{if(s)throw s.error}}}}catch(O){i={error:O}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}try{for(var E=W(f),P=E.next();!P.done;P=E.next())for(var w=P.value,_=w.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(O){c={error:O}}finally{try{P&&!P.done&&(l=E.return)&&l.call(E)}finally{if(c)throw c.error}}return f}function Ga(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var r=n[0];if(r){if(kn(r))return r.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=Ga(a,t)}),i}function xr(e){var t,n,r=new Map;try{for(var i=W(e),a=i.next();!a.done;a=i.next()){var s=a.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function qv(e,t){var n=Ft([e],t);return Ga(e,xr(n))}function ht(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function Jv(e){return oe([],Y(new Set(de(oe([],Y(e.map(function(t){return t.ownEvents})),!1)))),!1)}function An(e,t){return t.type==="compound"?Ht(t).some(function(n){return n.type==="final"&&ht(e,n)}):t.type==="parallel"?Ht(t).every(function(n){return An(e,n)}):!1}function Zv(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function Ii(e){return new Set(de(e.map(function(t){return t.tags})))}function Ha(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(X(e)||X(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(i){return Ha(e[i],t[i])})}function Xv(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function Qv(e,t){var n=e.exec,r=I(I({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return r}var Re=function(){function e(t){var n=this,r;this.actions=[],this.activities=Ci,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||Ci,this.meta=Zv(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=(r=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&r!==void 0?r:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return Jv(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 r=mt;return new e({value:t,context:n,_event:r,_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 r=mt;return new e({value:t.value,context:n,_event:r,_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 r=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),X(t))return[t];var i=Object.keys(t);return i.concat.apply(i,oe([],Y(i.map(function(a){return r.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 r=no(t,["configuration","transitions","tags","machine"]);return I(I({},r),{tags:Array.from(n)})},e.prototype.matches=function(t){return ao(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Ua&&Tv(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),ey={deferEvents:!1},Pi=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=I(I({},ey),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}(),lr=new Map,ty=0,dn={bookId:function(){return"x:".concat(ty++)},register:function(e,t){return lr.set(e,t),e},get:function(e){return lr.get(e)},free:function(e){lr.delete(e)}};function lo(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function ny(){var e=lo();if(e&&"__xstate__"in e)return e.__xstate__}function ry(e){if(!!lo()){var t=ny();t&&t.register(e)}}function oy(e,t){t===void 0&&(t={});var n=e.initialState,r=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var l=i.shift();n=e.transition(n,l,c),r.forEach(function(d){return d.next(n)})}a=!1}},u=Kv({id:t.id,send:function(l){i.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,d,h){var f=bn(l,d,h);return r.add(f),f.next(n),{unsubscribe:function(){r.delete(f)}}}}),c={parent:t.parent,self:u,id:t.id||"anonymous",observers:r};return n=e.start?e.start(c):n,u}var Or={sync:!1,autoForward:!1},ye;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ye||(ye={}));var iy=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var r=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=ye.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,h){if(Nt(d))return r.batch(d),r.state;var f=we(so(d,h));if(r.status===ye.Stopped)return r.state;if(r.status!==ye.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
29
- Event: `).concat(JSON.stringify(f.data)));return r.scheduler.schedule(function(){r.forward(f);var g=r._nextState(f);r.update(g,f)}),r._state},this.sendTo=function(d,h,f){var g=r.parent&&(h===qe.Parent||r.parent.id===h),p=g?r.parent:X(h)?r.children.get(h)||dn.get(h):Iv(h)?h:void 0;if(!p){if(!g)throw new Error("Unable to send event to child '".concat(h,"' from service '").concat(r.id,"'."));return}if("machine"in p){if(r.status!==ye.Stopped||r.parent!==p||r.state.done){var w=I(I({},d),{name:d.name===hv?"".concat(Mt(r.id)):d.name,origin:r.sessionId});!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([p,w]):p.send(w)}}else!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([p,d.data]):p.send(d.data)},this._exec=function(d,h,f,g){g===void 0&&(g=r.machine.options.actions);var p=d.exec||kr(d.type,g),w=te(p)?p:p?p.exec:d.exec;if(w)try{return w(h,f.data,r.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:r.state,_event:f})}catch(F){throw r.parent&&r.parent.send({type:"xstate.error",data:F}),F}switch(d.type){case vt:var _=d;if(typeof _.delay=="number"){r.defer(_);return}else _.to?r.sendTo(_._event,_.to,f===mt):r.send(_._event);break;case ka:r.cancel(d.sendId);break;case Ir:{if(r.status!==ye.Running)return;var S=d.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[S.id||S.type])break;if(S.type===ne.Invoke){var v=Fa(S.src),m=r.machine.options.services?r.machine.options.services[v.type]:void 0,b=S.id,C=S.data,A="autoForward"in S?S.autoForward:!!S.forward;if(!m)return;var E=C?Pn(C,h,f):void 0;if(typeof m=="string")return;var P=te(m)?m(h,f.data,{data:E,src:v,meta:S.meta}):m;if(!P)return;var O=void 0;yt(P)&&(P=E?P.withContext(E):P,O={autoForward:A}),r.spawn(P,b,O)}else r.spawnActivity(S);break}case ro:{r.stopChild(d.activity.id);break}case xa:var T=d.label,k=d.value;T?r.logger(T,k):r.logger(k);break}};var i=I(I({},e.defaultOptions),n),a=i.clock,s=i.logger,u=i.parent,c=i.id,l=c!==void 0?c:t.id;this.id=l,this.logger=s,this.clock=a,this.parent=u,this.options=i,this.scheduler=new Pi({deferEvents:this.options.deferEvents}),this.sessionId=dn.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:pt(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,n){var r,i;try{for(var a=W(t.actions),s=a.next();!s.done;s=a.next()){var u=s.value;this.exec(u,t,n)}}catch(c){r={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},e.prototype.update=function(t,n){var r,i,a,s,u,c,l,d,h=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===mt)&&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(O){h.state.children[O.id]=O}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var g=W(this.eventListeners),p=g.next();!p.done;p=g.next()){var w=p.value;w(t.event)}}catch(O){r={error:O}}finally{try{p&&!p.done&&(i=g.return)&&i.call(g)}finally{if(r)throw r.error}}try{for(var _=W(this.listeners),S=_.next();!S.done;S=_.next()){var w=S.value;w(t,t.event)}}catch(O){a={error:O}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var v=W(this.contextListeners),m=v.next();!m.done;m=v.next()){var b=m.value;b(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(O){u={error:O}}finally{try{m&&!m.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(this.state.done){var C=t.configuration.find(function(O){return O.type==="final"&&O.parent===h.machine}),A=C&&C.doneData?Pn(C.doneData,t.context,n):void 0;try{for(var E=W(this.doneListeners),P=E.next();!P.done;P=E.next()){var w=P.value;w(Cn(this.id,A))}}catch(O){l={error:O}}finally{try{P&&!P.done&&(d=E.return)&&d.call(E)}finally{if(l)throw l.error}}this._stop(),this._stopChildren()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===ye.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,r){var i=this,a=bn(t,n,r);this.listeners.add(a.next),this.status!==ye.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===ye.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.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===ye.Running)return this;this.machine._init(),dn.register(this.sessionId,this),this.initialized=!0,this.status=ye.Running;var r=t===void 0?this.initialState:pt(this,function(){return Xv(t)?n.machine.resolveState(t):n.machine.resolveState(Re.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,mt)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){te(t.stop)&&t.stop()}),this.children.clear()},e.prototype._stop=function(){var t,n,r,i,a,s,u,c,l,d;try{for(var h=W(this.listeners),f=h.next();!f.done;f=h.next()){var g=f.value;this.listeners.delete(g)}}catch(E){t={error:E}}finally{try{f&&!f.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}try{for(var p=W(this.stopListeners),w=p.next();!w.done;w=p.next()){var g=w.value;g(),this.stopListeners.delete(g)}}catch(E){r={error:E}}finally{try{w&&!w.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}try{for(var _=W(this.contextListeners),S=_.next();!S.done;S=_.next()){var g=S.value;this.contextListeners.delete(g)}}catch(E){a={error:E}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var v=W(this.doneListeners),m=v.next();!m.done;m=v.next()){var g=m.value;this.doneListeners.delete(g)}}catch(E){u={error:E}}finally{try{m&&!m.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(!this.initialized)return this;this.initialized=!1,this.status=ye.Stopped,this._initialState=void 0;try{for(var b=W(Object.keys(this.delayedEventsMap)),C=b.next();!C.done;C=b.next()){var A=C.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(E){l={error:E}}finally{try{C&&!C.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new Pi({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=we({type:"xstate.stop"}),i=pt(t,function(){var a=de(oe([],Y(t.state.configuration),!1).sort(function(d,h){return h.order-d.order}).map(function(d){return et(d.onExit,t.machine.options.actions)})),s=Y($n(t.machine,t.state,t.state.context,r,[a],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),u=s[0],c=s[1],l=new Re({value:t.state.value,context:c,_event:r,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:u.filter(function(d){return d.type!==gt&&(d.type!==vt||!!d.to&&d.to!==qe.Internal)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return l.changed=!0,l});t.update(i,r),t._stopChildren(),dn.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(!(this.status===ye.NotStarted&&this.options.deferEvents)){if(this.status!==ye.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 r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,u=!1,c=[],l=function(g){var p=we(g);n.forward(p),s=pt(n,function(){return n.machine.transition(s,p,void 0,r||void 0)}),c.push.apply(c,oe([],Y(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(w){return Qv(w,s)})),!1)),u=u||!!s.changed};try{for(var d=W(t),h=d.next();!h.done;h=d.next()){var f=h.value;l(f)}}catch(g){i={error:g}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=u,s.actions=c,n.update(s,we(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=we(t);if(i.name.indexOf(bi)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(bi)===0}))throw i.data.data;var a=pt(this,function(){return r.machine.transition(r.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,r;try{for(var i=W(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,u=this.children.get(s);if(!u)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));u.send(t)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(t,n.context,n._event,r)},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),te(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,r){if(this.status!==ye.Running)return co(t,n);if(Ti(t))return this.spawnPromise(Promise.resolve(t),n);if(te(t))return this.spawnCallback(t,n);if(Yv(t))return this.spawnActor(t,n);if(Ev(t))return this.spawnObservable(t,n);if(yt(t))return this.spawnMachine(t,I(I({},r),{id:n}));if(bv(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 r=this;n===void 0&&(n={});var i=new e(t,I(I({},this.options),{parent:this,id:n.id||t.id})),a=I(I({},Or),n);a.sync&&i.onTransition(function(u){r.send(io,{state:u,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(u){r.removeChild(i.id),r.send(we(u,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var r=oy(t,{id:n,parent:this});return this.children.set(n,r),r},e.prototype.spawnPromise=function(t,n){var r,i=this,a=!1,s;t.then(function(c){a||(s=c,i.removeChild(n),i.send(we(Cn(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var l=Mt(n,c);try{i.send(we(l,{origin:n}))}catch{i.devTools&&i.devTools.send(l,i.state),i.machine.strict&&i.stop()}}});var u=(r={id:n,send:function(){},subscribe:function(c,l,d){var h=bn(c,l,d),f=!1;return t.then(function(g){f||(h.next(g),!f&&h.complete())},function(g){f||h.error(g)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[Qe]=function(){return this},r);return this.children.set(n,u),u},e.prototype.spawnCallback=function(t,n){var r,i=this,a=!1,s=new Set,u=new Set,c,l=function(f){c=f,u.forEach(function(g){return g(f)}),!a&&i.send(we(f,{origin:n}))},d;try{d=t(l,function(f){s.add(f)})}catch(f){this.send(Mt(n,f))}if(Ti(d))return this.spawnPromise(d,n);var h=(r={id:n,send:function(f){return s.forEach(function(g){return g(f)})},subscribe:function(f){var g=bn(f);return u.add(g.next),{unsubscribe:function(){u.delete(g.next)}}},stop:function(){a=!0,te(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},r[Qe]=function(){return this},r);return this.children.set(n,h),h},e.prototype.spawnObservable=function(t,n){var r,i=this,a,s=t.subscribe(function(c){a=c,i.send(we(c,{origin:n}))},function(c){i.removeChild(n),i.send(we(Mt(n,c),{origin:n}))},function(){i.removeChild(n),i.send(we(Cn(n),{origin:n}))}),u=(r={id:n,send:function(){},subscribe:function(c,l,d){return t.subscribe(c,l,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},r[Qe]=function(){return this},r);return this.children.set(n,u),u},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){var r=n(this.state.context,t);this.spawnEffect(t.id,r)}},e.prototype.spawnEffect=function(t,n){var r;this.children.set(t,(r={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},r[Qe]=function(){return this},r))},e.prototype.attachDev=function(){var t=lo();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(I(I({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:I({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}ry(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Qe]=function(){return this},e.prototype.getSnapshot=function(){return this.status===ye.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=Wa,e}(),ay=function(e){return X(e)?I(I({},Or),{name:e}):I(I(I({},Or),{name:Pv()}),e)};function fn(e,t){var n=ay(t);return Gv(function(r){return r?r.spawn(e,n.name,n):co(e,n.name)})}function Wa(e,t){var n=new iy(e,t);return n}function sy(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function pn(e){return I(I({type:Pr},e),{toJSON:function(){e.onDone,e.onError;var t=no(e,["onDone","onError"]);return I(I({},t),{type:Pr,src:sy(e.src)})}})}var hn="",Ur="#",dr="*",dt={},ft=function(e){return e[0]===Ur},uy=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},cy=function(){function e(t,n,r,i){r===void 0&&(r="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=r,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(uy(),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:Oa),this.id=this.config.id||oe([this.machine.key],Y(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?Dt(this.config.states,function(l,d){var h,f=new e(l,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,I((h={},h[f.id]=f,h),f.idMap)),f}):dt;var u=0;function c(l){var d,h;l.order=u++;try{for(var f=W(ja(l)),g=f.next();!g.done;g=f.next()){var p=g.value;c(p)}}catch(w){d={error:w}}finally{try{g&&!g.done&&(h=f.return)&&h.call(f)}finally{if(d)throw d.error}}}c(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(l){var d=l.event;return d===hn}):hn in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Ue(this.config.entry||this.config.onEntry).map(function(l){return Gt(l)}),this.onExit=Ue(this.config.exit||this.config.onExit).map(function(l){return Gt(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Ue(this.config.invoke).map(function(l,d){var h,f;if(yt(l)){var g=cn(a.id,d);return a.machine.options.services=I((h={},h[g]=l,h),a.machine.options.services),pn({src:g,id:g})}else if(X(l.src)){var g=l.id||cn(a.id,d);return pn(I(I({},l),{id:g,src:l.src}))}else if(yt(l.src)||te(l.src)){var g=l.id||cn(a.id,d);return a.machine.options.services=I((f={},f[g]=l.src,f),a.machine.options.services),pn(I(I({id:g},l),{src:g}))}else{var p=l.src;return pn(I(I({id:cn(a.id,d)},l),{src:p}))}}),this.activities=Ue(this.config.activities).concat(this.invoke).map(function(l){return uo(l)}),this.transition=this.transition.bind(this),this.tags=Ue(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||za(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var r=this.options,i=r.actions,a=r.activities,s=r.guards,u=r.services,c=r.delays;return new e(this.config,{actions:I(I({},i),t.actions),activities:I(I({},a),t.activities),guards:I(I({},s),t.guards),services:I(I({},u),t.services),delays:I(I({},c),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return te(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:Dt(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,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),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===hn,r=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===dr});return this.__cache.candidates[t]=r,r},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var r=function(a,s){var u=te(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Lv(u,t.id);return t.onEntry.push(Yn(c,{delay:a})),t.onExit.push(Vv(c)),c},i=Nt(n)?n.map(function(a,s){var u=r(a.delay,s);return I(I({},a),{event:u})}):de(Object.keys(n).map(function(a,s){var u=n[a],c=X(u)?{target:u}:u,l=isNaN(+a)?a:+a,d=r(l,s);return Ue(c).map(function(h){return I(I({},h),{event:d,delay:l})})}));return i.map(function(a){var s=a.delay;return I(I({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,r=this;if(!t)return[];var i=t instanceof Re?t.value:Lt(t,this.delimiter);if(X(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),u=[this];return u.push.apply(u,oe([],Y(de(s.map(function(c){return r.getStateNode(c).getStateNodes(i[c])}))),!1)),u},e.prototype.handles=function(t){var n=Ra(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof Re?t:Re.create(t),r=Array.from(Ft([],this.getStateNodes(n.value)));return new Re(I(I({},n),{value:this.resolve(n.value),configuration:r,done:An(r,this),tags:Ii(r),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,r){var i=this.getStateNode(t),a=i.next(n,r);return!a||!a.transitions.length?this.next(n,r):a},e.prototype.transitionCompoundNode=function(t,n,r){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},e.prototype.transitionParallelNode=function(t,n,r){var i,a,s={};try{for(var u=W(Object.keys(t)),c=u.next();!c.done;c=u.next()){var l=c.value,d=t[l];if(!!d){var h=this.getStateNode(l),f=h._transition(d,n,r);f&&(s[l]=f)}}}catch(v){i={error:v}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}var g=Object.keys(s).map(function(v){return s[v]}),p=de(g.map(function(v){return v.transitions})),w=g.some(function(v){return v.transitions.length>0});if(!w)return this.next(n,r);var _=de(g.map(function(v){return v.entrySet})),S=de(Object.keys(s).map(function(v){return s[v].configuration}));return{transitions:p,entrySet:_,exitSet:de(g.map(function(v){return v.exitSet})),configuration:S,source:n,actions:de(Object.keys(s).map(function(v){return s[v].actions}))}},e.prototype._transition=function(t,n,r){return X(t)?this.transitionLeafNode(t,n,r):Object.keys(t).length===1?this.transitionCompoundNode(t,n,r):this.transitionParallelNode(t,n,r)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,we(n))},e.prototype.next=function(t,n){var r,i,a=this,s=n.name,u=[],c=[],l;try{for(var d=W(this.getCandidates(s)),h=d.next();!h.done;h=d.next()){var f=h.value,g=f.cond,p=f.in,w=t.context,_=p?X(p)&&ft(p)?t.matches(Lt(this.getStateNodeById(p).path,this.delimiter)):ao(Lt(p,this.delimiter),wv(this.path.slice(0,-2))(t.value)):!0,S=!1;try{S=!g||Ma(this.machine,g,w,n,t)}catch(C){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
30
- `).concat(C.message))}if(S&&_){f.target!==void 0&&(c=f.target),u.push.apply(u,oe([],Y(f.actions),!1)),l=f;break}}}catch(C){r={error:C}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}if(!!l){if(!c.length)return{transitions:[l],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var v=de(c.map(function(C){return a.getRelativeStateNodes(C,t.historyValue)})),m=!!l.internal,b=[];return m||c.forEach(function(C){b.push.apply(b,oe([],Y(a.getExternalReentryNodes(C)),!1))}),{transitions:[l],entrySet:b,exitSet:m?[]:[this],configuration:v,source:t,actions:u}}},e.prototype.getExternalReentryNodes=function(t){for(var n=[],r=Y(t.order>this.order?[t,this]:[this,t],2),i=r[0],a=r[1];i&&i!==a;)n.push(i),i=i.parent;return i!==a?[]:(n.push(a),n)},e.prototype.getActions=function(t,n,r,i,a,s,u){var c,l,d,h,f=this,g=Ft([],s?this.getStateNodes(s.value):[this]);try{for(var p=W(t),w=p.next();!w.done;w=p.next()){var _=w.value;(!ht(g,_)||ht(r.entrySet,_.parent)&&!ht(r.entrySet,_))&&r.entrySet.push(_)}}catch(T){c={error:T}}finally{try{w&&!w.done&&(l=p.return)&&l.call(p)}finally{if(c)throw c.error}}try{for(var S=W(g),v=S.next();!v.done;v=S.next()){var _=v.value;(!ht(t,_)||ht(r.exitSet,_.parent))&&r.exitSet.push(_)}}catch(T){d={error:T}}finally{try{v&&!v.done&&(h=S.return)&&h.call(S)}finally{if(d)throw d.error}}var m=de(r.entrySet.map(function(T){var k=[];if(T.type!=="final")return k;var F=T.parent;if(!F.parent)return k;k.push(ln(T.id,T.doneData),ln(F.id,T.doneData?Pn(T.doneData,i,a):void 0));var D=F.parent;return D.type==="parallel"&&Ht(D).every(function(L){return An(r.configuration,L)})&&k.push(ln(D.id)),k}));r.exitSet.sort(function(T,k){return k.order-T.order}),r.entrySet.sort(function(T,k){return T.order-k.order});var b=new Set(r.entrySet),C=new Set(r.exitSet),A=Array.from(b).map(function(T){var k=T.onEntry,F=T.activities.map(function(D){return Bv(D)});return et(u?oe(oe([],Y(k),!1),Y(F),!1):oe(oe([],Y(F),!1),Y(k),!1),f.machine.options.actions)}).concat([m.map(Nv)]),E=Array.from(C).map(function(T){return et(oe(oe([],Y(T.onExit),!1),Y(T.activities.map(function(k){return Dv(k)})),!1),f.machine.options.actions)}),P=E.concat([et(r.actions,this.machine.options.actions)]).concat(A);if(n){var O=et(de(oe([],Y(t),!1).sort(function(T,k){return k.order-T.order}).map(function(T){return T.onExit})),this.machine.options.actions).filter(function(T){return T.type!==gt&&(T.type!==vt||!!T.to&&T.to!==qe.Internal)});return P.concat([O])}return P},e.prototype.transition=function(t,n,r,i){t===void 0&&(t=this.initialState);var a=we(n),s;if(t instanceof Re)s=r===void 0?t:this.resolveState(Re.from(t,r));else{var u=X(t)?this.resolve(In(this.getResolvedPath(t))):this.resolve(t),c=r!=null?r:this.machine.context;s=this.resolveState(Re.from(u,c))}if(this.strict&&!this.events.includes(a.name)&&!_v(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var l=this._transition(s.value,s,a)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},d=Ft([],this.getStateNodes(s.value)),h=l.configuration.length?Ft(d,l.configuration):d;return l.configuration=oe([],Y(h),!1),this.resolveTransition(l,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,r,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=r,t.event=r.data,(a=t.actions).unshift.apply(a,oe([],Y(s),!1)),t},e.prototype.resolveTransition=function(t,n,r,i,a){var s,u,c,l,d=this;a===void 0&&(a=mt);var h=t.configuration,f=!n||t.transitions.length>0,g=f?t.configuration:n?n.configuration:[],p=An(g,this),w=f?qv(this.machine,h):void 0,_=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,S=this.getActions(new Set(g),p,t,r,a,n,i),v=n?I({},n.activities):{};try{for(var m=W(S),b=m.next();!b.done;b=m.next()){var C=b.value;try{for(var A=(c=void 0,W(C)),E=A.next();!E.done;E=A.next()){var P=E.value;P.type===Ir?v[P.activity.id||P.activity.type]=P:P.type===ro&&(v[P.activity.id||P.activity.type]=!1)}}catch(pe){c={error:pe}}finally{try{E&&!E.done&&(l=A.return)&&l.call(A)}finally{if(c)throw c.error}}}}catch(pe){s={error:pe}}finally{try{b&&!b.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}var O=Y($n(this,n,r,a,S,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),T=O[0],k=O[1],F=Y(Cv(T,function(pe){return pe.type===gt||pe.type===vt&&pe.to===qe.Internal}),2),D=F[0],L=F[1],j=T.filter(function(pe){var Be;return pe.type===Ir&&((Be=pe.activity)===null||Be===void 0?void 0:Be.type)===Pr}),fe=j.reduce(function(pe,Be){return pe[Be.activity.id]=Hv(Be.activity,d.machine,k,a),pe},n?I({},n.children):{}),ve=new Re({value:w||n.value,context:k,_event:a,_sessionid:n?n._sessionid:null,historyValue:w?_?Av(_,w):void 0:n?n.historyValue:void 0,history:!w||t.source?n:void 0,actions:w?L:[],activities:w?v:n?n.activities:{},events:[],configuration:g,transitions:t.transitions,children:fe,done:p,tags:Ii(g),machine:this}),Ae=r!==k;ve.changed=a.name===io||Ae;var _e=ve.history;_e&&delete _e.history;var Ke=!p&&(this._transient||h.some(function(pe){return pe._transient}));if(!f&&(!Ke||a.name===hn))return ve;var be=ve;if(!p)for(Ke&&(be=this.resolveRaisedTransition(be,{type:fv},a,i));D.length;){var Ot=D.shift();be=this.resolveRaisedTransition(be,Ot._event,a,i)}var Ut=be.changed||(_e?!!be.actions.length||Ae||typeof _e.value!=typeof be.value||!Ha(be.value,_e.value):void 0);return be.changed=Ut,be.history=_e,be},e.prototype.getStateNode=function(t){if(ft(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=ft(t)?t.slice(Ur.length):t;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&ft(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Nr(t,this.delimiter).slice(),r=this;n.length;){var i=n.shift();if(!i.length)break;r=r.getStateNode(i)}return r},e.prototype.resolve=function(t){var n,r=this;if(!t)return this.initialStateValue||dt;switch(this.type){case"parallel":return Dt(this.initialStateValue,function(a,s){return a?r.getStateNode(s).resolve(t[s]||a):dt});case"compound":if(X(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?Dt(t,function(a,s){return a?r.getStateNode(s).resolve(a):dt}):this.initialStateValue||{};default:return t||dt}},e.prototype.getResolvedPath=function(t){if(ft(t)){var n=this.machine.idMap[t.slice(Ur.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Nr(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=Ai(this.states,function(r){return r.initialStateValue||dt},function(r){return r.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=kn(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 r=this.getStateNodes(t);return this.resolveTransition({configuration:r,entrySet:r,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;X(n.target)?t=ft(n.target)?In(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,r){return r===void 0&&(r=!0),r?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(kn(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=_n(this.initialStateValue);return de(n.map(function(r){return t.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=Y(t),r=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var a=this.getStateNode(r);if(a.type==="history")return a.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:Ai(this.states,function(n,r){if(!t)return n.historyValue();var i=X(t)?void 0:t[r];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 r=this.parent;if(!t){var i=this.target;return i?de(_n(i).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var a=Sv(r.path,"states")(t).current;return X(a)?[r.getStateNode(a)]:de(_n(a).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=de(Object.keys(this.states).map(function(r){return t.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,r,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var u=W(Object.keys(a)),c=u.next();!c.done;c=u.next()){var l=c.value,d=a[l];if(d.states)try{for(var h=(r=void 0,W(d.events)),f=h.next();!f.done;f=h.next()){var g=f.value;s.add("".concat(g))}}catch(p){r={error:p}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}}}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}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(r){if(!X(r))return r;var i=r[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(r.slice(1));var a=i?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(u){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
31
- `).concat(u.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,r=$v(t.target),i="internal"in t?t.internal:r?r.some(function(c){return X(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(r),u=I(I({},t),{actions:et(Ue(t.actions)),cond:Da(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return I(I({},u),{target:u.target?u.target.map(function(c){return"#".concat(c.id)}):void 0,source:"#".concat(n.id)})}});return u},e.prototype.formatTransitions=function(){var t,n,r=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=dr,u=a[s],c=u===void 0?[]:u,l=no(a,[typeof s=="symbol"?s:s+""]);i=de(Object.keys(l).map(function(v){var m=lt(v,l[v]);return m}).concat(lt(dr,c)))}var d=this.config.always?lt("",this.config.always):[],h=this.config.onDone?lt(String(ln(this.id)),this.config.onDone):[],f=de(this.invoke.map(function(v){var m=[];return v.onDone&&m.push.apply(m,oe([],Y(lt(String(Cn(v.id)),v.onDone)),!1)),v.onError&&m.push.apply(m,oe([],Y(lt(String(Mt(v.id)),v.onError)),!1)),m})),g=this.after,p=de(oe(oe(oe(oe([],Y(h),!1),Y(f),!1),Y(i),!1),Y(d),!1).map(function(v){return Ue(v).map(function(m){return r.formatTransition(m)})}));try{for(var w=W(g),_=w.next();!_.done;_=w.next()){var S=_.value;p.push(S)}}catch(v){t={error:v}}finally{try{_&&!_.done&&(n=w.return)&&n.call(w)}finally{if(t)throw t.error}}return p},e}(),$i=!1;function Qt(e,t){return!Ua&&!e.predictableActionArguments&&!$i&&($i=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new cy(e,t)}var Ne=Fv,fo=Uv,ly=jv,Z={},po={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ActionTypes=void 0,function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(e.ActionTypes||(e.ActionTypes={})),e.SpecialTargets=void 0,function(t){t.Parent="#_parent",t.Internal="#_internal"}(e.SpecialTargets||(e.SpecialTargets={}))})(po);var he={};Object.defineProperty(he,"__esModule",{value:!0});var ge=po,dy=ge.ActionTypes.Start,fy=ge.ActionTypes.Stop,py=ge.ActionTypes.Raise,hy=ge.ActionTypes.Send,my=ge.ActionTypes.Cancel,gy=ge.ActionTypes.NullEvent,vy=ge.ActionTypes.Assign,yy=ge.ActionTypes.After,wy=ge.ActionTypes.DoneState,Sy=ge.ActionTypes.Log,_y=ge.ActionTypes.Init,by=ge.ActionTypes.Invoke,Cy=ge.ActionTypes.ErrorExecution,Ay=ge.ActionTypes.ErrorPlatform,Ty=ge.ActionTypes.ErrorCustom,Ey=ge.ActionTypes.Update,Iy=ge.ActionTypes.Choose,Py=ge.ActionTypes.Pure;he.after=yy;he.assign=vy;he.cancel=my;he.choose=Iy;he.doneState=wy;he.error=Ty;he.errorExecution=Cy;he.errorPlatform=Ay;he.init=_y;he.invoke=by;he.log=Sy;he.nullEvent=gy;he.pure=Py;he.raise=py;he.send=hy;he.start=dy;he.stop=fy;he.update=Ey;var Ya={},kt={};Object.defineProperty(kt,"__esModule",{value:!0});var $y=".",Ny={},ky="xstate.guard",xy="";kt.DEFAULT_GUARD_TYPE=ky;kt.EMPTY_ACTIVITY_MAP=Ny;kt.STATE_DELIMITER=$y;kt.TARGETLESS_KEY=xy;var Kn={};Object.defineProperty(Kn,"__esModule",{value:!0});var Oy=!0;Kn.IS_PRODUCTION=Oy;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Ln,n=kt,r=Kn,i;function a(y){return Object.keys(y)}function s(y,N,R){R===void 0&&(R=n.STATE_DELIMITER);var x=h(y,R),B=h(N,R);return fe(B)?fe(x)?B===x:!1:fe(x)?x in B:Object.keys(x).every(function(M){return M in B?s(x[M],B[M]):!1})}function u(y){try{return fe(y)||typeof y=="number"?"".concat(y):y.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function c(y){try{return fe(y)||typeof y=="number"?"".concat(y):j(y)?y.name:y.type}catch{throw new Error("Actions must be strings or objects with a string action.type property.")}}function l(y,N){try{return L(y)?y:y.toString().split(N)}catch{throw new Error("'".concat(y,"' is not a valid state path."))}}function d(y){return typeof y=="object"&&"value"in y&&"context"in y&&"event"in y&&"_event"in y}function h(y,N){if(d(y))return y.value;if(L(y))return f(y);if(typeof y!="string")return y;var R=l(y,N);return f(R)}function f(y){if(y.length===1)return y[0];for(var N={},R=N,x=0;x<y.length-1;x++)x===y.length-2?R[y[x]]=y[x+1]:(R[y[x]]={},R=R[y[x]]);return N}function g(y,N){for(var R={},x=Object.keys(y),B=0;B<x.length;B++){var M=x[B];R[M]=N(y[M],M,y,B)}return R}function p(y,N,R){var x,B,M={};try{for(var G=t.__values(Object.keys(y)),z=G.next();!z.done;z=G.next()){var ee=z.value,ie=y[ee];!R(ie)||(M[ee]=N(ie,ee,y))}}catch(Ee){x={error:Ee}}finally{try{z&&!z.done&&(B=G.return)&&B.call(G)}finally{if(x)throw x.error}}return M}var w=function(y){return function(N){var R,x,B=N;try{for(var M=t.__values(y),G=M.next();!G.done;G=M.next()){var z=G.value;B=B[z]}}catch(ee){R={error:ee}}finally{try{G&&!G.done&&(x=M.return)&&x.call(M)}finally{if(R)throw R.error}}return B}};function _(y,N){return function(R){var x,B,M=R;try{for(var G=t.__values(y),z=G.next();!z.done;z=G.next()){var ee=z.value;M=M[N][ee]}}catch(ie){x={error:ie}}finally{try{z&&!z.done&&(B=G.return)&&B.call(G)}finally{if(x)throw x.error}}return M}}function S(y){if(!y)return[[]];if(fe(y))return[[y]];var N=m(Object.keys(y).map(function(R){var x=y[R];return typeof x!="string"&&(!x||!Object.keys(x).length)?[[R]]:S(y[R]).map(function(B){return[R].concat(B)})}));return N}function v(y){var N,R,x={};if(y&&y.length===1&&y[0].length===1)return y[0][0];try{for(var B=t.__values(y),M=B.next();!M.done;M=B.next())for(var G=M.value,z=x,ee=0;ee<G.length;ee++){var ie=G[ee];if(ee===G.length-2){z[ie]=G[ee+1];break}z[ie]=z[ie]||{},z=z[ie]}}catch(Ee){N={error:Ee}}finally{try{M&&!M.done&&(R=B.return)&&R.call(B)}finally{if(N)throw N.error}}return x}function m(y){var N;return(N=[]).concat.apply(N,t.__spreadArray([],t.__read(y),!1))}function b(y){return L(y)?y:[y]}function C(y){return y===void 0?[]:b(y)}function A(y,N,R){var x,B;if(j(y))return y(N,R.data);var M={};try{for(var G=t.__values(Object.keys(y)),z=G.next();!z.done;z=G.next()){var ee=z.value,ie=y[ee];j(ie)?M[ee]=ie(N,R.data):M[ee]=ie}}catch(Ee){x={error:Ee}}finally{try{z&&!z.done&&(B=G.return)&&B.call(G)}finally{if(x)throw x.error}}return M}function E(y){return/^(done|error)\./.test(y)}function P(y){return!!(y instanceof Promise||y!==null&&(j(y)||typeof y=="object")&&j(y.then))}function O(y){return y!==null&&typeof y=="object"&&"transition"in y&&typeof y.transition=="function"}function T(y,N){var R,x,B=t.__read([[],[]],2),M=B[0],G=B[1];try{for(var z=t.__values(y),ee=z.next();!ee.done;ee=z.next()){var ie=ee.value;N(ie)?M.push(ie):G.push(ie)}}catch(Ee){R={error:Ee}}finally{try{ee&&!ee.done&&(x=z.return)&&x.call(z)}finally{if(R)throw R.error}}return[M,G]}function k(y,N){return g(y.states,function(R,x){if(!!R){var B=(fe(N)?void 0:N[x])||(R?R.current:void 0);if(!!B)return{current:B,states:k(R,B)}}})}function F(y,N){return{current:N,states:k(y,N)}}function D(y,N,R,x){r.IS_PRODUCTION||e.warn(!!y,"Attempting to update undefined context");var B=y&&R.reduce(function(M,G){var z,ee,ie=G.assignment,Ee={state:x,action:G,_event:N},ct={};if(j(ie))ct=ie(M,N.data,Ee);else try{for(var ot=t.__values(Object.keys(ie)),Ze=ot.next();!Ze.done;Ze=ot.next()){var ae=Ze.value,ce=ie[ae];ct[ae]=j(ce)?ce(M,N.data,Ee):ce}}catch(Vt){z={error:Vt}}finally{try{Ze&&!Ze.done&&(ee=ot.return)&&ee.call(ot)}finally{if(z)throw z.error}}return Object.assign({},M,ct)},y);return B}e.warn=function(){},r.IS_PRODUCTION||(e.warn=function(y,N){var R=y instanceof Error?y:void 0;if(!(!R&&y)&&console!==void 0){var x=["Warning: ".concat(N)];R&&x.push(R),console.warn.apply(console,x)}});function L(y){return Array.isArray(y)}function j(y){return typeof y=="function"}function fe(y){return typeof y=="string"}function ve(y,N){if(!!y)return fe(y)?{type:n.DEFAULT_GUARD_TYPE,name:y,predicate:N?N[y]:void 0}:j(y)?{type:n.DEFAULT_GUARD_TYPE,name:y.name,predicate:y}:y}function Ae(y){try{return"subscribe"in y&&j(y.subscribe)}catch{return!1}}var _e=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ke=(i={},i[_e]=function(){return this},i[Symbol.observable]=function(){return this},i);function be(y){return!!y&&"__xstatenode"in y}function Ot(y){return!!y&&typeof y.send=="function"}var Ut=function(){var y=0;return function(){return y++,y.toString(16)}}();function pe(y,N){return fe(y)||typeof y=="number"?t.__assign({type:y},N):y}function Be(y,N){if(!fe(y)&&"$$type"in y&&y.$$type==="scxml")return y;var R=pe(y);return t.__assign({name:R.type,data:R,$$type:"scxml",type:"external"},N)}function ir(y,N){var R=b(N).map(function(x){return typeof x=="undefined"||typeof x=="string"||be(x)?{target:x,event:y}:t.__assign(t.__assign({},x),{event:y})});return R}function ar(y){if(!(y===void 0||y===n.TARGETLESS_KEY))return C(y)}function rn(y,N,R){if(!r.IS_PRODUCTION){var x=y.stack?" Stacktrace was '".concat(y.stack,"'"):"";if(y===N)console.error("Missing onError handler for invocation '".concat(R,"', error was '").concat(y,"'.").concat(x));else{var B=N.stack?" Stacktrace was '".concat(N.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(R,"'. ")+"Original error: '".concat(y,"'. ").concat(x," Current error is '").concat(N,"'.").concat(B))}}}function on(y,N,R,x,B){var M=y.options.guards,G={state:B,cond:N,_event:x};if(N.type===n.DEFAULT_GUARD_TYPE)return((M==null?void 0:M[N.name])||N.predicate)(R,x.data,G);var z=M==null?void 0:M[N.type];if(!z)throw new Error("Guard '".concat(N.type,"' is not implemented on machine '").concat(y.id,"'."));return z(R,x.data,G)}function Rt(y){return typeof y=="string"?{type:y}:y}function sr(y,N,R){var x=function(){},B=typeof y=="object",M=B?y:null;return{next:((B?y.next:y)||x).bind(M),error:((B?y.error:N)||x).bind(M),complete:((B?y.complete:R)||x).bind(M)}}function $(y,N){return"".concat(y,":invocation[").concat(N,"]")}e.createInvokeId=$,e.evaluateGuard=on,e.flatten=m,e.getActionType=c,e.getEventType=u,e.interopSymbols=Ke,e.isActor=Ot,e.isArray=L,e.isBehavior=O,e.isBuiltInEvent=E,e.isFunction=j,e.isMachine=be,e.isObservable=Ae,e.isPromiseLike=P,e.isStateLike=d,e.isString=fe,e.keys=a,e.mapContext=A,e.mapFilterValues=p,e.mapValues=g,e.matchesState=s,e.nestedPath=_,e.normalizeTarget=ar,e.partition=T,e.path=w,e.pathToStateValue=f,e.pathsToStateValue=v,e.reportUnhandledExceptionOnInvocation=rn,e.symbolObservable=_e,e.toArray=C,e.toArrayStrict=b,e.toEventObject=pe,e.toGuard=ve,e.toInvokeSource=Rt,e.toObserver=sr,e.toSCXMLEvent=Be,e.toStatePath=l,e.toStatePaths=S,e.toStateValue=h,e.toTransitionConfigArray=ir,e.uniqueId=Ut,e.updateContext=D,e.updateHistoryStates=k,e.updateHistoryValue=F})(Ya);Object.defineProperty(Z,"__esModule",{value:!0});var Q=Ln,Ie=po,me=he,J=Ya,Ka=Kn,Uy=J.toSCXMLEvent({type:me.init});function Rr(e,t){return t&&t[e]||void 0}function qn(e,t){var n;if(J.isString(e)||typeof e=="number"){var r=Rr(e,t);J.isFunction(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(J.isFunction(e))n={type:e.name||e.toString(),exec:e};else{var r=Rr(e.type,t);if(J.isFunction(r))n=Q.__assign(Q.__assign({},e),{exec:r});else if(r){var i=r.type||e.type;n=Q.__assign(Q.__assign(Q.__assign({},r),e),{type:i})}else n=e}return n}var Vr=function(e,t){if(!e)return[];var n=J.isArray(e)?e:[e];return n.map(function(r){return qn(r,t)})};function ho(e){var t=qn(e);return Q.__assign(Q.__assign({id:J.isString(e)?e:t.id},t),{type:t.type})}function Ry(e){return J.isString(e)?{type:me.raise,event:e}:xt(e,{to:Ie.SpecialTargets.Internal})}function qa(e){return{type:me.raise,_event:J.toSCXMLEvent(e.event)}}function xt(e,t){return{to:t?t.to:void 0,type:me.send,event:J.isFunction(e)?e:J.toEventObject(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:J.isFunction(e)?e.name:J.getEventType(e)}}function Ja(e,t,n,r){var i={_event:n},a=J.toSCXMLEvent(J.isFunction(e.event)?e.event(t,n.data,i):e.event),s;if(J.isString(e.delay)){var u=r&&r[e.delay];s=J.isFunction(u)?u(t,n.data,i):u}else s=J.isFunction(e.delay)?e.delay(t,n.data,i):e.delay;var c=J.isFunction(e.to)?e.to(t,n.data,i):e.to;return Q.__assign(Q.__assign({},e),{to:c,_event:a,event:a.data,delay:s})}function mo(e,t){return xt(e,Q.__assign(Q.__assign({},t),{to:Ie.SpecialTargets.Parent}))}function Vy(e,t,n){return xt(t,Q.__assign(Q.__assign({},n),{to:e}))}function By(){return mo(me.update)}function Dy(e,t){return xt(e,Q.__assign(Q.__assign({},t),{to:function(n,r,i){var a=i._event;return a.origin}}))}var My=function(e,t){return{context:e,event:t}};function Fy(e,t){return e===void 0&&(e=My),{type:me.log,label:t,expr:e}}var Za=function(e,t,n){return Q.__assign(Q.__assign({},e),{value:J.isString(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Ly=function(e){return{type:me.cancel,sendId:e}};function jy(e){var t=ho(e);return{type:Ie.ActionTypes.Start,activity:t,exec:void 0}}function zy(e){var t=J.isFunction(e)?e:ho(e);return{type:Ie.ActionTypes.Stop,activity:t,exec:void 0}}function Xa(e,t,n){var r=J.isFunction(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:Ie.ActionTypes.Stop,activity:i};return a}var Gy=function(e){return{type:me.assign,assignment:e}};function Hy(e){return typeof e=="object"&&"type"in e}function Wy(e,t){var n=t?"#".concat(t):"";return"".concat(Ie.ActionTypes.After,"(").concat(e,")").concat(n)}function Yy(e,t){var n="".concat(Ie.ActionTypes.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Ky(e,t){var n="".concat(Ie.ActionTypes.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function qy(e,t){var n="".concat(Ie.ActionTypes.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Jy(e){return{type:Ie.ActionTypes.Pure,get:e}}function Zy(e,t){if(!Ka.IS_PRODUCTION&&(!e||typeof e=="function")){var n=e;e=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=typeof n=="function"?n.apply(void 0,Q.__spreadArray([],Q.__read(r),!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 xt(function(r,i){return i},Q.__assign(Q.__assign({},t),{to:e}))}function Xy(e,t){return mo(function(n,r,i){return{type:me.error,data:J.isFunction(e)?e(n,r,i):e}},Q.__assign(Q.__assign({},t),{to:Ie.SpecialTargets.Parent}))}function Qy(e){return{type:Ie.ActionTypes.Choose,conds:e}}var ew=function(e){var t,n,r=[];try{for(var i=Q.__values(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===me.assign){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function Br(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:ew(i),c=u.length?J.updateContext(n,r,u,t):n,l=s?[n]:void 0,d=[];function h(p){var w;switch(p.type){case me.raise:return qa(p);case me.send:var _=Ja(p,c,r,e.options.delays);return Ka.IS_PRODUCTION||J.warn(!J.isString(p.delay)||typeof _.delay=="number","No delay reference for delay expression '".concat(p.delay,"' was found on machine '").concat(e.id,"'")),a&&_.to!==Ie.SpecialTargets.Internal&&d.push(_),_;case me.log:{var S=Za(p,c,r);return a==null||a(S,c,r),S}case me.choose:{var v=p,m=(w=v.conds.find(function(D){var L=J.toGuard(D.cond,e.options.guards);return!L||J.evaluateGuard(e,L,c,r,a?void 0:t)}))===null||w===void 0?void 0:w.actions;if(!m)return[];var b=Q.__read(Br(e,t,c,r,[Vr(J.toArray(m),e.options.actions)],a,s),2),C=b[0],A=b[1];return c=A,l==null||l.push(c),C}case me.pure:{var m=p.get(c,r.data);if(!m)return[];var E=Q.__read(Br(e,t,c,r,[Vr(J.toArray(m),e.options.actions)],a,s),2),P=E[0],O=E[1];return c=O,l==null||l.push(c),P}case me.stop:{var S=Xa(p,c,r);return a==null||a(S,n,r),S}case me.assign:{c=J.updateContext(c,r,[p],a?void 0:t),l==null||l.push(c);break}default:var T=qn(p,e.options.actions),k=T.exec;if(a)a(T,c,r);else if(k&&l){var F=l.length-1;T=Q.__assign(Q.__assign({},T),{exec:function(D){for(var L=[],j=1;j<arguments.length;j++)L[j-1]=arguments[j];k.apply(void 0,Q.__spreadArray([l[F]],Q.__read(L),!1))}})}return T}}function f(p){var w,_,S=[];try{for(var v=Q.__values(p),m=v.next();!m.done;m=v.next()){var b=m.value,C=h(b);C&&(S=S.concat(C))}}catch(A){w={error:A}}finally{try{m&&!m.done&&(_=v.return)&&_.call(v)}finally{if(w)throw w.error}}return d.forEach(function(A){a(A,c,r)}),d.length=0,S}var g=J.flatten(i.map(f));return[g,c]}Z.actionTypes=me;Z.after=Wy;var ue=Z.assign=Gy;Z.cancel=Ly;var tw=Z.choose=Qy;Z.done=Yy;Z.doneInvoke=Ky;Z.error=qy;Z.escalate=Xy;Z.forwardTo=Zy;Z.getActionFunction=Rr;Z.initEvent=Uy;Z.isActionObject=Hy;Z.log=Fy;Z.pure=Jy;Z.raise=Ry;Z.resolveActions=Br;Z.resolveLog=Za;Z.resolveRaise=qa;Z.resolveSend=Ja;Z.resolveStop=Xa;Z.respond=Dy;Z.send=xt;Z.sendParent=mo;Z.sendTo=Vy;Z.sendUpdate=By;Z.start=jy;var nw=Z.stop=zy;Z.toActionObject=qn;Z.toActionObjects=Vr;Z.toActivityDefinition=ho;var mn=function(e){return nw(e)},rw=ue({attributeToVerify:function(e){}}),ow=ue({challengeName:function(e){}}),iw=ue({requiredAttributes:function(e){}}),go=ue({remoteError:function(e){return""}}),vo=ue({formValues:function(e){return{}}}),yo=ue({touched:function(e){return{}}}),aw=ue({unverifiedContactMethods:function(e){}}),sw=ue({username:function(e){}}),wo=ue({validationError:function(e){return{}}}),uw=ue({challengeName:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),cw=ue({requiredAttributes:function(e,t){var n,r;return(r=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||r===void 0?void 0:r.requiredAttributes}}),lw=ue({redirectIntent:function(e){return"confirmPasswordReset"}}),dw=ue({redirectIntent:function(e){return"confirmSignUp"}}),Qa=ue({authAttributes:function(e,t){var n,r,i=e.loginMechanisms[0];return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(r=e.formValues)===null||r===void 0?void 0:r.password}}}),So=ue({validationError:function(e,t){return t.data}}),_o=ue({remoteError:function(e,t){var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),fw=ue({unverifiedContactMethods:function(e,t){return t.data.unverified}}),es=ue({user:function(e,t){return t.data.user||t.data}}),pw=ue({username:function(e,t){var n=e.formValues,r=n.username,i=n.country_code;return i&&(r="".concat(i).concat(r)),r}}),hw=ue({codeDeliveryDetails:function(e,t){return t.data.codeDeliveryDetails}}),mw=ue({authAttributes:function(e,t){return{username:e.formValues.username}}}),bo=ue({formValues:function(e,t){var n,r=t.data,i=r.name,a=r.value;return U(U({},e.formValues),((n={})[i]=a,n))}}),Co=ue({formValues:function(e,t){return U(U({},e.formValues),t.data)}}),Ao=ue({touched:function(e,t){var n,r=t.data.name;return U(U({},e.touched),((n={})["".concat(r)]=!0,n))}}),gw=function(e){return K(void 0,void 0,void 0,function(){var t;return q(this,function(n){switch(n.label){case 0:return t=e.username,[4,le.Auth.forgotPassword(t)];case 1:return[2,n.sent()]}})})},ts=ue({formValues:function(e,t){var n,r,i=e.loginMechanisms[0],a=i===void 0?"username":i;if(!e.formValues.phone_number&&a!=="phone_number")return e.formValues;var s=e.formValues,u=e.country_code,c=s.phone_number?"phone_number":"username",l="".concat((r=s.country_code)!==null&&r!==void 0?r:u).concat(s[c]).replace(/[^A-Z0-9+]/gi,""),d=U(U({},s),((n={})[c]=l,n));return delete d.country_code,d}}),vw=Ve,yw=Wr,ww=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sw=/^\w*$/;function _w(e,t){if(vw(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||yw(e)?!0:Sw.test(e)||!ww.test(e)||t!=null&&e in Object(t)}var To=_w,ns=Jr,bw="Expected a function";function Eo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(bw);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(Eo.Cache||ns),n}Eo.Cache=ns;var Cw=Eo,Aw=Cw,Tw=500;function Ew(e){var t=Aw(e,function(r){return n.size===Tw&&n.clear(),r}),n=t.cache;return t}var Iw=Ew,Pw=Iw,$w=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nw=/\\(\\)?/g,kw=Pw(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace($w,function(n,r,i,a){t.push(i?a.replace(Nw,"$1"):r||n)}),t}),xw=kw,Ni=Yt,Ow=sa,Uw=Ve,Rw=Wr,Vw=1/0,ki=Ni?Ni.prototype:void 0,xi=ki?ki.toString:void 0;function rs(e){if(typeof e=="string")return e;if(Uw(e))return Ow(e,rs)+"";if(Rw(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-Vw?"-0":t}var Bw=rs,Dw=Bw;function Mw(e){return e==null?"":Dw(e)}var Fw=Mw,Lw=Ve,jw=To,zw=xw,Gw=Fw;function Hw(e,t){return Lw(e)?e:jw(e,t)?[e]:zw(Gw(e))}var Jn=Hw,Ww=Wr,Yw=1/0;function Kw(e){if(typeof e=="string"||Ww(e))return e;var t=e+"";return t=="0"&&1/e==-Yw?"-0":t}var en=Kw,qw=Jn,Jw=en;function Zw(e,t){t=qw(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Jw(t[n++])];return n&&n==r?e:void 0}var Io=Zw,Xw=Io;function Qw(e,t,n){var r=e==null?void 0:Xw(e,t);return r===void 0?n:r}var at=Qw,eS=da,tS=Xt,nS=Vn,rS=Ve,oS=Kt,iS=st.exports,aS=Mn,sS=Dn,uS="[object Map]",cS="[object Set]",lS=Object.prototype,dS=lS.hasOwnProperty;function fS(e){if(e==null)return!0;if(oS(e)&&(rS(e)||typeof e=="string"||typeof e.splice=="function"||iS(e)||sS(e)||nS(e)))return!e.length;var t=tS(e);if(t==uS||t==cS)return!e.size;if(aS(e))return!eS(e).length;for(var n in e)if(dS.call(e,n))return!1;return!0}var Dr=fS,pS=Zr,hS=qt;function mS(e,t,n){(n!==void 0&&!hS(e[t],n)||n===void 0&&!(t in e))&&pS(e,t,n)}var os=mS;function gS(e){return function(t,n,r){for(var i=-1,a=Object(t),s=r(t),u=s.length;u--;){var c=s[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var vS=gS,yS=vS,wS=yS(),SS=wS,_S=Kt,bS=Je;function CS(e){return bS(e)&&_S(e)}var AS=CS,TS=At,ES=eo,IS=Je,PS="[object Object]",$S=Function.prototype,NS=Object.prototype,is=$S.toString,kS=NS.hasOwnProperty,xS=is.call(Object);function OS(e){if(!IS(e)||TS(e)!=PS)return!1;var t=ES(e);if(t===null)return!0;var n=kS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&is.call(n)==xS}var US=OS;function RS(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var as=RS,VS=Jt,BS=Zt;function DS(e){return VS(e,BS(e))}var MS=DS,Oi=os,FS=En.exports,LS=Ea,jS=va,zS=Ia,Ui=Vn,Ri=Ve,GS=AS,HS=st.exports,WS=Gr,YS=Le,KS=US,qS=Dn,Vi=as,JS=MS;function ZS(e,t,n,r,i,a,s){var u=Vi(e,n),c=Vi(t,n),l=s.get(c);if(l){Oi(e,n,l);return}var d=a?a(u,c,n+"",e,t,s):void 0,h=d===void 0;if(h){var f=Ri(c),g=!f&&HS(c),p=!f&&!g&&qS(c);d=c,f||g||p?Ri(u)?d=u:GS(u)?d=jS(u):g?(h=!1,d=FS(c,!0)):p?(h=!1,d=LS(c,!0)):d=[]:KS(c)||Ui(c)?(d=u,Ui(u)?d=JS(u):(!YS(u)||WS(u))&&(d=zS(c))):h=!1}h&&(s.set(c,d),i(d,c,r,a,s),s.delete(c)),Oi(e,n,d)}var XS=ZS,QS=Wn,e_=os,t_=SS,n_=XS,r_=Le,o_=Zt,i_=as;function ss(e,t,n,r,i){e!==t&&t_(t,function(a,s){if(i||(i=new QS),r_(a))n_(e,t,s,n,ss,r,i);else{var u=r?r(i_(e,s),a,s+"",e,t,i):void 0;u===void 0&&(u=a),e_(e,s,u)}},o_)}var a_=ss;function s_(e){return e}var Po=s_;function u_(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 c_=u_,l_=c_,Bi=Math.max;function d_(e,t,n){return t=Bi(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Bi(r.length-t,0),s=Array(a);++i<a;)s[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(s),l_(e,this,u)}}var f_=d_;function p_(e){return function(){return e}}var h_=p_,m_=h_,Di=ga,g_=Po,v_=Di?function(e,t){return Di(e,"toString",{configurable:!0,enumerable:!1,value:m_(t),writable:!0})}:g_,y_=v_,w_=800,S_=16,__=Date.now;function b_(e){var t=0,n=0;return function(){var r=__(),i=S_-(r-n);if(n=r,i>0){if(++t>=w_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var C_=b_,A_=y_,T_=C_,E_=T_(A_),I_=E_,P_=Po,$_=f_,N_=I_;function k_(e,t){return N_($_(e,t,P_),e+"")}var x_=k_,O_=qt,U_=Kt,R_=Bn,V_=Le;function B_(e,t,n){if(!V_(n))return!1;var r=typeof t;return(r=="number"?U_(n)&&R_(t,n.length):r=="string"&&t in n)?O_(n[t],e):!1}var D_=B_,M_=x_,F_=D_;function L_(e){return M_(function(t,n){var r=-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&&F_(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var j_=L_,z_=a_,G_=j_,H_=G_(function(e,t,n){z_(e,t,n)}),W_=H_,$o=function(e,t,n,r){return K(void 0,void 0,void 0,function(){var i,a;return q(this,function(s){switch(s.label){case 0:return[4,Promise.all(r.map(function(u){return u(e,t,n)}))];case 1:return i=s.sent(),a=W_.apply(void 0,De([{}],i,!1)),Dr(a)?[2,Promise.resolve()]:[2,Promise.reject(a)]}})})},wt={getAmplifyConfig:function(){return K(this,void 0,void 0,function(){return q(this,function(e){return[2,le.Amplify.configure()]})})},getCurrentUser:function(){return K(this,void 0,void 0,function(){return q(this,function(e){return[2,le.Auth.currentAuthenticatedUser()]})})},handleSignUp:function(e){return K(this,void 0,void 0,function(){return q(this,function(t){return[2,le.Auth.signUp(U(U({},e),{autoSignIn:{enabled:!0}}))]})})},handleSignIn:function(e){var t=e.username,n=e.password;return K(this,void 0,void 0,function(){return q(this,function(r){return[2,le.Auth.signIn(t,n)]})})},handleConfirmSignIn:function(e){var t=e.user,n=e.code,r=e.mfaType;return K(this,void 0,void 0,function(){return q(this,function(i){return[2,le.Auth.confirmSignIn(t,n,r)]})})},handleConfirmSignUp:function(e){var t=e.username,n=e.code;return K(this,void 0,void 0,function(){return q(this,function(r){switch(r.label){case 0:return[4,le.Auth.confirmSignUp(t,n)];case 1:return[2,r.sent()]}})})},handleForgotPasswordSubmit:function(e){var t=e.username,n=e.code,r=e.password;return K(this,void 0,void 0,function(){return q(this,function(i){return[2,le.Auth.forgotPasswordSubmit(t,n,r)]})})},handleForgotPassword:function(e){return K(this,void 0,void 0,function(){return q(this,function(t){return[2,le.Auth.forgotPassword(e)]})})},validateCustomSignUp:function(e,t){return K(this,void 0,void 0,function(){return q(this,function(n){return[2]})})},validateFormPassword:function(e,t,n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){return r=e.password,t.password&&n?(i=[],a=+(n==null?void 0:n.passwordPolicyMinLength),r.length<a&&i.push("Password must have at least ".concat(a," characters")),(s=n==null?void 0:n.passwordPolicyCharacters)==null||s.forEach(function(c){switch(c){case"REQUIRES_LOWERCASE":/[a-z]/.test(r)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(r)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(r)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":Ml(r)||i.push("Password must have special characters")}}),[2,i.length!==0?{password:i}:null]):[2,null]})})},validateConfirmPassword:function(e,t){return K(this,void 0,void 0,function(){var n,r,i,a;return q(this,function(s){return n=e.password,r=e.confirm_password,i=t.confirm_password,a=t.password,n||r?(n||r)&&n!==r&&(i&&a||(n==null?void 0:n.length)>=6&&(r==null?void 0:r.length)>=6)?[2,{confirm_password:"Your passwords must match"}]:[2]:[2,null]})})},validatePreferredUsername:function(e,t){return K(this,void 0,void 0,function(){return q(this,function(n){return[2]})})}},Y_=["SMS_MFA","SOFTWARE_TOKEN_MFA"],fr=function(e){return at(e,"data.challengeName")},Mi=function(e,t){return e===t},Fi=function(e){return Y_.includes(e)};function K_(e){var t=e.services;return Qt({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"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:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:function(n){return{user:n.user}}},rejected:{type:"final",data:function(n,r){return{intent:n.redirectIntent,authAttributes:n.authAttributes}}}}},{actions:{clearAttributeToVerify:rw,clearChallengeName:ow,clearRequiredAttributes:iw,clearError:go,clearFormValues:vo,clearTouched:yo,clearUnverifiedContactMethods:aw,clearValidationError:wo,handleInput:bo,handleSubmit:Co,handleBlur:Ao,parsePhoneNumber:ts,setChallengeName:uw,setConfirmResetPasswordIntent:lw,setConfirmSignUpIntent:dw,setRequiredAttributes:cw,setCredentials:Qa,setFieldErrors:So,setRemoteError:_o,setUnverifiedContactMethods:fw,setUser:es,setUsernameAuthAttributes:mw,sendUpdate:fo()},guards:{shouldAutoSignIn:function(n){return(n==null?void 0:n.intent)==="autoSignIn"},shouldAutoSubmit:function(n){return(n==null?void 0:n.intent)==="autoSignInSubmit"},shouldConfirmSignIn:function(n,r){return Fi(fr(r))},shouldForceChangePassword:function(n,r){return Mi(fr(r),"NEW_PASSWORD_REQUIRED")},shouldRedirectToConfirmResetPassword:function(n,r){return r.data.code==="PasswordResetRequiredException"},shouldRedirectToConfirmSignUp:function(n,r){return r.data.code==="UserNotConfirmedException"},shouldRequestVerification:function(n,r){var i=r.data,a=i.unverified,s=i.verified;return Dr(s)&&!Dr(a)},shouldSetupTOTP:function(n,r){return Mi(fr(r),"MFA_SETUP")}},services:{signIn:function(n){return K(this,void 0,void 0,function(){var r,i,a,s,u,c,l;return q(this,function(d){switch(d.label){case 0:return r=n.authAttributes,i=r===void 0?{}:r,a=n.formValues,s=a===void 0?{}:a,u=U(U({},i),s),c=u.username,l=u.password,[4,t.handleSignIn({username:c,password:l})];case 1:return[2,d.sent()]}})})},confirmSignIn:function(n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){switch(u.label){case 0:return r=n.challengeName,i=n.user,a=n.formValues.confirmation_code,s=Fi(r)?r:void 0,[4,t.handleConfirmSignIn({user:i,code:a,mfaType:s})];case 1:return u.sent(),[4,le.Auth.currentAuthenticatedUser()];case 2:return[2,u.sent()]}})})},forceNewPassword:function(n){return K(this,void 0,void 0,function(){var r,i,a,s,u,c,l,d,h;return q(this,function(f){switch(f.label){case 0:r=n.user,i=n.formValues,a=i.password,i.confirm_password,s=i.phone_number,u=i.country_code,c=fa(i,["password","confirm_password","phone_number","country_code"]),s&&(l="".concat(u).concat(s).replace(/[^A-Z0-9+]/gi,""),c=U(U({},c),{phone_number:l})),f.label=1;case 1:return f.trys.push([1,3,,4]),[4,le.Auth.completeNewPassword(r,a,c)];case 2:return(d=f.sent()).challengeName?[2,d]:[2,le.Auth.currentAuthenticatedUser()];case 3:return h=f.sent(),[2,Promise.reject(h)];case 4:return[2]}})})},verifyTotpToken:function(n){return K(this,void 0,void 0,function(){var r,i,a;return q(this,function(s){return r=n.formValues,i=n.user,a=r.confirmation_code,[2,le.Auth.verifyTotpToken(i,a)]})})},federatedSignIn:function(n,r){return K(this,void 0,void 0,function(){var i;return q(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,le.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},checkVerifiedContact:function(n){return K(this,void 0,void 0,function(){var r;return q(this,function(i){switch(i.label){case 0:return r=n.user,[4,le.Auth.verifiedContact(r)];case 1:return[2,i.sent()]}})})},verifyUser:function(n){return K(this,void 0,void 0,function(){var r,i;return q(this,function(a){switch(a.label){case 0:return r=n.formValues.unverifiedAttr,[4,le.Auth.verifyCurrentUserAttribute(r)];case 1:return i=a.sent(),n.attributeToVerify=r,[2,i]}})})},confirmVerifyUser:function(n){return K(this,void 0,void 0,function(){var r,i;return q(this,function(a){switch(a.label){case 0:return r=n.attributeToVerify,i=n.formValues.confirmation_code,[4,le.Auth.verifyCurrentUserAttributeSubmit(r,i)];case 1:return[2,a.sent()]}})})},validateFields:function(n){return K(this,void 0,void 0,function(){return q(this,function(r){return[2,$o(n.formValues,n.touched,n.passwordSettings,[wt.validateFormPassword,wt.validateConfirmPassword])]})})}}})}var q_=Qt({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:function(){return le.Auth.signOut()}}});function J_(e){var t=e.services;return Qt({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:go,clearFormValues:vo,clearTouched:yo,clearUsername:sw,clearValidationError:wo,handleInput:bo,handleSubmit:Co,handleBlur:Ao,resendCode:gw,setFieldErrors:So,setRemoteError:_o,setUsername:pw,sendUpdate:fo()},guards:{shouldAutoConfirmReset:function(n,r){return!(!n.intent||n.intent!=="confirmPasswordReset")}},services:{resetPassword:function(n){return K(this,void 0,void 0,function(){var r;return q(this,function(i){return r=n.username,[2,t.handleForgotPassword(r)]})})},confirmResetPassword:function(n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){return r=n.username,i=n.formValues,a=i.confirmation_code,s=i.password,[2,t.handleForgotPasswordSubmit({username:r,code:a,password:s})]})})},validateFields:function(n,r){return K(this,void 0,void 0,function(){return q(this,function(i){return[2,$o(n.formValues,n.touched,n.passwordSettings,[wt.validateFormPassword,wt.validateConfirmPassword])]})})}}})}var Z_="__lodash_hash_undefined__";function X_(e){return this.__data__.set(e,Z_),this}var Q_=X_;function eb(e){return this.__data__.has(e)}var tb=eb,nb=Jr,rb=Q_,ob=tb;function xn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new nb;++t<n;)this.add(e[t])}xn.prototype.add=xn.prototype.push=rb;xn.prototype.has=ob;var ib=xn;function ab(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var sb=ab;function ub(e,t){return e.has(t)}var cb=ub,lb=ib,db=sb,fb=cb,pb=1,hb=2;function mb(e,t,n,r,i,a){var s=n&pb,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var l=a.get(e),d=a.get(t);if(l&&d)return l==t&&d==e;var h=-1,f=!0,g=n&hb?new lb:void 0;for(a.set(e,t),a.set(t,e);++h<u;){var p=e[h],w=t[h];if(r)var _=s?r(w,p,h,t,e,a):r(p,w,h,e,t,a);if(_!==void 0){if(_)continue;f=!1;break}if(g){if(!db(t,function(S,v){if(!fb(g,v)&&(p===S||i(p,S,n,r,a)))return g.push(v)})){f=!1;break}}else if(!(p===w||i(p,w,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var us=mb;function gb(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var vb=gb;function yb(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var wb=yb,Li=Yt,ji=Ta,Sb=qt,_b=us,bb=vb,Cb=wb,Ab=1,Tb=2,Eb="[object Boolean]",Ib="[object Date]",Pb="[object Error]",$b="[object Map]",Nb="[object Number]",kb="[object RegExp]",xb="[object Set]",Ob="[object String]",Ub="[object Symbol]",Rb="[object ArrayBuffer]",Vb="[object DataView]",zi=Li?Li.prototype:void 0,pr=zi?zi.valueOf:void 0;function Bb(e,t,n,r,i,a,s){switch(n){case Vb:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Rb:return!(e.byteLength!=t.byteLength||!a(new ji(e),new ji(t)));case Eb:case Ib:case Nb:return Sb(+e,+t);case Pb:return e.name==t.name&&e.message==t.message;case kb:case Ob:return e==t+"";case $b:var u=bb;case xb:var c=r&Ab;if(u||(u=Cb),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=Tb,s.set(e,t);var d=_b(u(e),u(t),r,i,a,s);return s.delete(e),d;case Ub:if(pr)return pr.call(e)==pr.call(t)}return!1}var Db=Bb,Gi=ba,Mb=1,Fb=Object.prototype,Lb=Fb.hasOwnProperty;function jb(e,t,n,r,i,a){var s=n&Mb,u=Gi(e),c=u.length,l=Gi(t),d=l.length;if(c!=d&&!s)return!1;for(var h=c;h--;){var f=u[h];if(!(s?f in t:Lb.call(t,f)))return!1}var g=a.get(e),p=a.get(t);if(g&&p)return g==t&&p==e;var w=!0;a.set(e,t),a.set(t,e);for(var _=s;++h<c;){f=u[h];var S=e[f],v=t[f];if(r)var m=s?r(v,S,f,t,e,a):r(S,v,f,e,t,a);if(!(m===void 0?S===v||i(S,v,n,r,a):m)){w=!1;break}_||(_=f=="constructor")}if(w&&!_){var b=e.constructor,C=t.constructor;b!=C&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof C=="function"&&C instanceof C)&&(w=!1)}return a.delete(e),a.delete(t),w}var zb=jb,hr=Wn,Gb=us,Hb=Db,Wb=zb,Hi=Xt,Wi=Ve,Yi=st.exports,Yb=Dn,Kb=1,Ki="[object Arguments]",qi="[object Array]",gn="[object Object]",qb=Object.prototype,Ji=qb.hasOwnProperty;function Jb(e,t,n,r,i,a){var s=Wi(e),u=Wi(t),c=s?qi:Hi(e),l=u?qi:Hi(t);c=c==Ki?gn:c,l=l==Ki?gn:l;var d=c==gn,h=l==gn,f=c==l;if(f&&Yi(e)){if(!Yi(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new hr),s||Yb(e)?Gb(e,t,n,r,i,a):Hb(e,t,c,n,r,i,a);if(!(n&Kb)){var g=d&&Ji.call(e,"__wrapped__"),p=h&&Ji.call(t,"__wrapped__");if(g||p){var w=g?e.value():e,_=p?t.value():t;return a||(a=new hr),i(w,_,n,r,a)}}return f?(a||(a=new hr),Wb(e,t,n,r,i,a)):!1}var Zb=Jb,Xb=Zb,Zi=Je;function cs(e,t,n,r,i){return e===t?!0:e==null||t==null||!Zi(e)&&!Zi(t)?e!==e&&t!==t:Xb(e,t,n,r,cs,i)}var ls=cs,Qb=Wn,e1=ls,t1=1,n1=2;function r1(e,t,n,r){var i=n.length,a=i,s=!r;if(e==null)return!a;for(e=Object(e);i--;){var u=n[i];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<a;){u=n[i];var c=u[0],l=e[c],d=u[1];if(s&&u[2]){if(l===void 0&&!(c in e))return!1}else{var h=new Qb;if(r)var f=r(l,d,c,e,t,h);if(!(f===void 0?e1(d,l,t1|n1,r,h):f))return!1}}return!0}var o1=r1,i1=Le;function a1(e){return e===e&&!i1(e)}var ds=a1,s1=ds,u1=Fn;function c1(e){for(var t=u1(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,s1(i)]}return t}var l1=c1;function d1(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var fs=d1,f1=o1,p1=l1,h1=fs;function m1(e){var t=p1(e);return t.length==1&&t[0][2]?h1(t[0][0],t[0][1]):function(n){return n===e||f1(n,e,t)}}var g1=m1;function v1(e,t){return e!=null&&t in Object(e)}var y1=v1,w1=Jn,S1=Vn,_1=Ve,b1=Bn,C1=Hr,A1=en;function T1(e,t,n){t=w1(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var s=A1(t[r]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&C1(i)&&b1(s,i)&&(_1(e)||S1(e)))}var E1=T1,I1=y1,P1=E1;function $1(e,t){return e!=null&&P1(e,t,I1)}var N1=$1,k1=ls,x1=at,O1=N1,U1=To,R1=ds,V1=fs,B1=en,D1=1,M1=2;function F1(e,t){return U1(e)&&R1(t)?V1(B1(e),t):function(n){var r=x1(n,e);return r===void 0&&r===t?O1(n,e):k1(t,r,D1|M1)}}var L1=F1;function j1(e){return function(t){return t==null?void 0:t[e]}}var z1=j1,G1=Io;function H1(e){return function(t){return G1(t,e)}}var W1=H1,Y1=z1,K1=W1,q1=To,J1=en;function Z1(e){return q1(e)?Y1(J1(e)):K1(e)}var X1=Z1,Q1=g1,eC=L1,tC=Po,nC=Ve,rC=X1;function oC(e){return typeof e=="function"?e:e==null?tC:typeof e=="object"?nC(e)?eC(e[0],e[1]):Q1(e):rC(e)}var iC=oC,aC=Xr,sC=Jn,uC=Bn,Xi=Le,cC=en;function lC(e,t,n,r){if(!Xi(e))return e;t=sC(t,e);for(var i=-1,a=t.length,s=a-1,u=e;u!=null&&++i<a;){var c=cC(t[i]),l=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=s){var d=u[c];l=r?r(d,c,u):void 0,l===void 0&&(l=Xi(d)?d:uC(t[i+1])?[]:{})}aC(u,c,l),u=u[c]}return e}var dC=lC,fC=Io,pC=dC,hC=Jn;function mC(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],u=fC(e,s);n(u,s)&&pC(a,hC(s,e),u)}return a}var gC=mC,vC=sa,yC=iC,wC=gC,SC=Ca;function _C(e,t){if(e==null)return{};var n=vC(SC(e),function(r){return[r]});return t=yC(t),wC(e,n,function(r,i){return t(r,i[0])})}var bC=_C;function CC(e){var t=e.services;return Qt({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:function(n,r){var i=n.authAttributes,a=i.username,s=i.password;return{user:at(r,"data.user")||n.user,authAttributes:{username:a,password:s},intent:n.intent}}}}},{guards:{isUserAlreadyConfirmed:function(n,r){return r.data.message==="User is already confirmed."},shouldInitConfirmSignUp:function(n){return n.intent&&n.intent==="confirmSignUp"},shouldSkipConfirm:function(n,r){return r.data.userConfirmed}},actions:{clearError:go,clearFormValues:vo,clearTouched:yo,clearValidationError:wo,handleInput:bo,handleSubmit:Co,handleBlur:Ao,parsePhoneNumber:ts,setCredentials:Qa,setFieldErrors:So,setRemoteError:_o,setCodeDeliveryDetails:hw,setUser:es,sendUpdate:fo(),setAutoSignInIntent:Ne({intent:function(n){return(n==null?void 0:n.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"}})},services:{confirmSignUp:function(n,r){return K(this,void 0,void 0,function(){var i,a,s,u,c;return q(this,function(l){switch(l.label){case 0:return i=n.user,a=n.authAttributes,s=n.formValues,u=s.confirmation_code,c=at(i,"username")||at(a,"username"),[4,t.handleConfirmSignUp({username:c,code:u})];case 1:return[2,l.sent()]}})})},resendConfirmationCode:function(n,r){return K(this,void 0,void 0,function(){var i,a,s;return q(this,function(u){return i=n.user,a=n.authAttributes,s=at(i,"username")||at(a,"username"),[2,le.Auth.resendSignUp(s)]})})},federatedSignIn:function(n,r){return K(this,void 0,void 0,function(){var i;return q(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,le.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},signUp:function(n,r){return K(this,void 0,void 0,function(){var i,a,s,u,c,l,d;return q(this,function(h){switch(h.label){case 0:return i=n.formValues,a=n.loginMechanisms,s=a[0],c=(u=i)[s===void 0?"username":s],l=u.password,d=bC(i,function(f,g){switch(g){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 g.startsWith("custom:")}}),[4,t.handleSignUp({username:c,password:l,attributes:d})];case 1:return[2,h.sent()]}})})},validateSignUp:function(n,r){return K(this,void 0,void 0,function(){return q(this,function(i){return[2,$o(n.formValues,n.touched,n.passwordSettings,[t.validateFormPassword,t.validateConfirmPassword,t.validatePreferredUsername,t.validateCustomSignUp])]})})}}})}function AC(){return Qt({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:wt,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:tw([{cond:"hasActor",actions:ly(function(e){return e.actorRef})}]),setUser:Ne({user:function(e,t){return t.data}}),setActorDoneData:Ne({actorDoneData:function(e,t){var n,r;return{authAttributes:U({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(r=t.data)===null||r===void 0?void 0:r.intent}},user:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:Ne({user:void 0}),clearActorDoneData:Ne({actorDoneData:void 0}),applyAmplifyConfig:Ne({config:function(e,t){var n,r,i,a,s,u,c,l,d,h=(r=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(function(C){return C.toLowerCase()}))!==null&&r!==void 0?r:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(function(C){return C.toLowerCase()}))!==null&&a!==void 0?a:[],g=(u=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(function(C){return C.toLowerCase()}))!==null&&u!==void 0?u:[],p=(l=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(function(C){return C.toLowerCase()}))!==null&&l!==void 0?l:[],w=t.data.aws_cognito_password_protection_settings||{};h.length===0&&h.push("username");var _=e.config,S=_.loginMechanisms,v=_.signUpAttributes,m=_.socialProviders,b=_.initialState;return{loginMechanisms:S!=null?S:h,formFields:(d=TC(_.formFields))!==null&&d!==void 0?d:{},passwordSettings:w,signUpAttributes:v!=null?v:Array.from(new Set(De(De([],f,!0),g,!0))),socialProviders:m!=null?m:p.sort(),initialState:b}}}),spawnSignInActor:Ne({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=K_({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(u=e.config)===null||u===void 0?void 0:u.socialProviders,formFields:(c=e.config)===null||c===void 0?void 0:c.formFields});return fn(d,{name:"signInActor"})}}),spawnSignUpActor:Ne({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=CC({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(u=e.config)===null||u===void 0?void 0:u.formFields,passwordSettings:(c=e.config)===null||c===void 0?void 0:c.passwordSettings});return fn(d,{name:"signUpActor"})}}),spawnResetPasswordActor:Ne({actorRef:function(e,t){var n,r,i,a,s,u=e.services,c=J_({services:u}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(r=e.actorDoneData)===null||r===void 0?void 0:r.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return fn(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:Ne({actorRef:function(e){var t=q_.withContext({user:e.user});return fn(t,{name:"signOutActor"})}}),stopSignInActor:mn("signInActor"),stopSignUpActor:mn("signUpActor"),stopResetPasswordActor:mn("resetPasswordActor"),stopSignOutActor:mn("signOutActor"),configure:Ne(function(e,t){var n=t.data,r=n.services,i=fa(n,["services"]);return{services:U(U({},wt),r),config:i}}),setHasSetup:Ne({hasSetup:!0})},guards:{isInitialStateSignUp:function(e){return e.config.initialState==="signUp"},isInitialStateResetPassword:function(e){return e.config.initialState==="resetPassword"},shouldRedirectToSignUp:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:function(e,t){var n,r;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((r=t.data)===null||r===void 0?void 0:r.intent)==="autoSignInSubmit"},shouldSetup:function(e){return e.hasSetup===!1},hasActor:function(e){return!!e.actorRef}},services:{getCurrentUser:function(e,t){return e.services.getCurrentUser()},getAmplifyConfig:function(e,t){return e.services.getAmplifyConfig()}}})}function TC(e){return e&&Object.keys(e).forEach(function(t){Object.keys(e[t]).forEach(function(n){var r=e[t][n];r.required=r.isRequired})}),e}const EC={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},IC={class:"amplify-flex amplify-authenticator__icon-wrapper"},PC=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.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),$C=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.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),ze={__name:"base-alert",setup(e){const t=o.ref(!0),n=V("Dismiss alert");function r(){t.value=!1}return(i,a)=>{const s=Te;return t.value?(o.openBlock(),o.createElementBlock("div",EC,[o.createElementVNode("div",IC,[PC,o.createElementVNode("div",null,[o.renderSlot(i.$slots,"default")])]),o.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":o.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:r},{default:o.withCtx(()=>[$C]),_:1},8,["aria-label"])])):o.createCommentVNode("",!0)}}};var Zn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const NC={};function kC(e,t){return o.openBlock(),o.createElementBlock("div",null,[o.renderSlot(e.$slots,"default")])}var Se=Zn(NC,[["render",kC]]);const Ge=o.defineComponent({__name:"base-form",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"formt",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("form",o.mergeProps({"data-amplify-form":""},n.$attrs),[o.renderSlot(n.$slots,"default")],16)])}}),He=o.defineComponent({__name:"base-footer",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"footert",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("footer",o.normalizeProps(o.guardReactiveProps(n.$attrs)),[o.renderSlot(n.$slots,"default")],16)])}});function xC(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function xe(e){let t=0,n,r;const i=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,n||(r=o.effectScope(!0),n=r.run(()=>e(...a))),xC(i),n)}var On=globalThis&&globalThis.__assign||function(){return On=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},On.apply(this,arguments)},OC=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function UC(e,t,n){if(typeof e=="object")return e;var r=function(){};return{next:e,error:t||r,complete:n||r}}function RC(e,t,n){t===void 0&&(t={});var r=typeof e=="function"?e():e,i=t.context,a=t.guards,s=t.actions,u=t.activities,c=t.services,l=t.delays,d=t.state,h=OC(t,["context","guards","actions","activities","services","delays","state"]),f={context:i,guards:a,actions:s,activities:u,services:c,delays:l},g=r.withConfig(f,function(){return On(On({},r.context),i)}),p=Wa(g,h).start(d?Re.create(d):void 0),w;return o.onMounted(function(){n&&(w=p.subscribe(UC(n)))}),o.onBeforeUnmount(function(){p.stop(),w==null||w.unsubscribe()}),p}function VC(e){return"state"in e}var Qi=function(){};function BC(e){return"getSnapshot"in e?e.getSnapshot():VC(e)?e.state:void 0}function ps(e,t){t===void 0&&(t=BC);var n=o.isRef(e)?e:o.shallowRef(e),r=o.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return o.watch(n,function(a,s,u){r.value=t(a);var c=a.subscribe({next:function(l){return r.value=l},error:Qi,complete:Qi}).unsubscribe;u(function(){return c()})},{immediate:!0}),{state:r,send:i}}const hs={error:"",hasValidationErrors:!1,isPending:!1,route:"",authStatus:"",user:"",validationErrors:[""],codeDeliveryDetails:{val:"",DeliveryMedium:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},Mr=o.ref(),Tn=o.reactive({...hs,send:"",state:""}),Oe=e=>(e&&(Mr.value=e),ps(Mr.value)),DC=()=>(ea(),o.watchEffect(()=>{ea()}),Tn),Pe=DC;function ea(){if(!Mr.value)return;const{state:e,send:t}=Oe(),n=pa({send:t,state:e.value});for(const r of Object.keys(hs))Tn[r]=n[r];Tn.send=t,Tn.state=e}const vn=o.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=o.toRefs(t),{send:r}=Oe(),i=()=>{r({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const u=Se,c=Te;return o.openBlock(),o.createBlock(c,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:o.withCtx(()=>[o.createVNode(u,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),MC=o.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[o.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),FC={class:"amplify-text amplify-authenticator__federated-text"},LC=o.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[o.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),jC={class:"amplify-text amplify-authenticator__federated-text"},zC=o.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[o.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 amplify-authenticator__federated-text"},HC=o.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[o.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"}),o.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"}),o.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"}),o.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),WC={class:"amplify-text amplify-authenticator__federated-text"},YC=o.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":"or"},null,-1),Xn=o.defineComponent({__name:"federated-sign-in",setup(e){var S;const{state:t}=Oe(),n=xe(Pe),{route:r}=n(),{value:{context:i}}=t,a=(S=i==null?void 0:i.config)==null?void 0:S.socialProviders,s=a==null?void 0:a.includes("amazon"),u=a==null?void 0:a.includes("apple"),c=a==null?void 0:a.includes("facebook"),l=a==null?void 0:a.includes("google"),d=c||l||s||u,{getSignInWithFederationText:h}=ke,f=o.computed(()=>Sr),g=o.computed(()=>h(r,"amazon")),p=o.computed(()=>h(r,"apple")),w=o.computed(()=>h(r,"facebook")),_=o.computed(()=>h(r,"google"));return(v,m)=>{const b=Se;return o.unref(d)?(o.openBlock(),o.createBlock(b,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(vn,{key:0,provider:o.unref(f).Amazon},{default:o.withCtx(()=>[MC,o.createElementVNode("p",FC,o.toDisplayString(o.unref(g)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(u)?(o.openBlock(),o.createBlock(vn,{key:1,provider:o.unref(f).Apple},{default:o.withCtx(()=>[LC,o.createElementVNode("p",jC,o.toDisplayString(o.unref(p)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(c)?(o.openBlock(),o.createBlock(vn,{key:2,provider:o.unref(f).Facebook},{default:o.withCtx(()=>[zC,o.createElementVNode("p",GC,o.toDisplayString(o.unref(w)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(l)?(o.openBlock(),o.createBlock(vn,{key:3,provider:o.unref(f).Google},{default:o.withCtx(()=>[HC,o.createElementVNode("p",WC,o.toDisplayString(o.unref(_)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),YC]),_:1})):o.createCommentVNode("",!0)}}});let KC=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=n[e]&63;r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r<63?t+="_":t+="-"}return t};const qC={},JC={"data-amplify-label":""};function ZC(e,t){return o.openBlock(),o.createElementBlock("label",JC,[o.renderSlot(e.$slots,"default")])}var Qn=Zn(qC,[["render",ZC]]);const er=o.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=r=>{t("update:modelValue",r.target.value)};return(r,i)=>(o.openBlock(),o.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),XC=["aria-label"],QC={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},e0=o.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),t0=[e0],n0={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon"},r0=o.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),o0=o.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),i0=[r0,o0],a0={inheritAttrs:!1},No=o.defineComponent({...a0,__name:"password-control",props:{name:null,label:null,autocomplete:null,hasError:{type:Boolean},labelHidden:{type:Boolean},placeholder:null,required:{type:Boolean,default:!0},describedBy:null},setup(e){var v;const t=e,n=V("Show password"),r=V("Hide password"),i=o.ref("password"),a=o.ref(n),s=Math.floor(Math.random()*999999),{name:u,label:c,autocomplete:l,hasError:d,labelHidden:h,placeholder:f,required:g}=o.toRefs(t);let p=o.ref("");function w(){a.value=a.value===n?r:n,i.value=i.value==="password"?"text":"password"}const _=V((v=f==null?void 0:f.value)!=null?v:c.value),S=V(c.value);return(m,b)=>{const C=Qn,A=er,E=Se;return o.openBlock(),o.createBlock(E,{class:"amplify-flex amplify-field amplify-textfield amplify-passwordfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(C,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":o.unref(h)}]),for:"amplify-field-"+o.unref(s)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1},8,["class","for"]),o.createVNode(E,{class:"amplify-flex amplify-field-group"},{default:o.withCtx(()=>{var P;return[o.createVNode(A,o.mergeProps(m.$attrs,{modelValue:o.unref(p),"onUpdate:modelValue":b[0]||(b[0]=O=>o.isRef(p)?p.value=O:p=O),class:"amplify-input amplify-field-group__control",id:"amplify-field-"+o.unref(s),"data-amplify-password":"true",name:o.unref(u),autocomplete:o.unref(l),required:(P=o.unref(g))!=null?P:!0,placeholder:o.unref(_),type:i.value,"aria-invalid":o.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"]),o.createVNode(E,{class:"amplify-field-group__outer-end"},{default:o.withCtx(()=>[o.createElementVNode("button",{"aria-label":a.value,class:"amplify-button amplify-field-group__control amplify-field__show-password amplify-button--fullwidth","data-fullwidth":"false",type:"button",onClick:w},[i.value==="password"?(o.openBlock(),o.createElementBlock("svg",QC,t0)):(o.openBlock(),o.createElementBlock("svg",n0,i0))],8,XC)]),_:1})]}),_:1})]),_:1})}}}),s0=["value","selected"],u0=o.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:r,selectValue:i}=o.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,u)=>(o.openBlock(),o.createElementBlock("select",{onChange:u[0]||(u[0]=c=>a(c))},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(r),(c,l)=>(o.openBlock(),o.createElementBlock("option",{key:l,value:c,selected:c==o.unref(i)?!0:void 0},o.toDisplayString(c),9,s0))),128))],32))}}),c0=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[o.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),l0=o.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:r,placeholder:i,autocomplete:a,labelHidden:s,required:u,dialCode:c,dialCodeList:l}=o.toRefs(t),d=Math.floor(Math.random()*999999),h=Math.floor(Math.random()*999999);return(f,g)=>{const p=Qn,w=u0,_=Se,S=er;return o.openBlock(),o.createBlock(_,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(p,o.mergeProps({for:"amplify-field-"+o.unref(d),class:["amplify-label",{"amplify-visually-hidden":o.unref(s)}]},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},16,["for","class"]),o.createVNode(_,{class:"amplify-flex amplify-field-group"},{default:o.withCtx(()=>[o.createVNode(_,{class:"amplify-field-group__outer-start"},{default:o.withCtx(()=>[e.type==="tel"?(o.openBlock(),o.createBlock(_,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(p,o.mergeProps({for:"amplify-field-"+o.unref(h),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString("Country Code"))]),_:1},16,["for"]),o.createVNode(_,{class:"amplify-select__wrapper"},{default:o.withCtx(()=>[o.createVNode(w,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+o.unref(h),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:o.unref(l),"select-value":o.unref(c)},null,8,["id","options","select-value"]),o.createVNode(_,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:o.withCtx(()=>[c0]),_:1})]),_:1})]),_:1})):o.createCommentVNode("",!0)]),_:1}),o.createVNode(_,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>{var v;return[o.createVNode(S,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+o.unref(d),autocomplete:o.unref(a),name:o.unref(r),required:(v=o.unref(u))!=null?v:!0,type:e.type,placeholder:o.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),d0=["id"],ms=o.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:r}=o.toRefs(t),i=xe(Pe),{validationErrors:a}=o.toRefs(i()),{type:s}=r.value,u=s==="password",c=KC(12),l=o.computed(()=>xl(a.value[n.value])),d=o.computed(()=>{var f;return((f=l.value)==null?void 0:f.length)>0}),h=o.computed(()=>d.value?c:void 0);return(f,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[u?(o.openBlock(),o.createBlock(No,{key:0,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,hasError:o.unref(d),describedBy:o.unref(h)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(o.openBlock(),o.createBlock(l0,{key:1,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,"dial-code":o.unref(r).dialCode,"dial-code-list":o.unref(r).dialCodeList,type:o.unref(r).type,hasError:o.unref(d),describedBy:o.unref(h)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),o.unref(d)?(o.openBlock(),o.createElementBlock("div",{key:2,id:o.unref(h)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),(p,w)=>(o.openBlock(),o.createElementBlock("p",{key:w,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},o.toDisplayString(o.unref(V)(p)),1))),128))],8,d0)):o.createCommentVNode("",!0)],64))}}),We=o.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=o.toRefs(t),{state:r}=Oe();let i=[];return o.onBeforeMount(()=>{i=lv(n.value,r.value)}),(a,s)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(i),([u,c])=>(o.openBlock(),o.createBlock(ms,{name:u,key:u,formField:c},null,8,["name","formField"]))),128))}}),f0=o.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),p0={"data-amplify-footer":""},ko=o.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const r=xe(Pe)(),i=o.useAttrs(),{getForgotPasswordText:a,getSignInText:s,getSigningInText:u}=ke,c=o.computed(()=>a()),l=o.computed(()=>s()),d=o.computed(()=>u()),{state:h,send:f}=Oe(),g=o.computed(()=>Ce(h.value)),p=v=>{const{name:m,value:b}=v.target;f({type:"CHANGE",data:{name:m,value:b}})},w=v=>{i!=null&&i.onSignInSubmit?t("signInSubmit",v):_(v)},_=v=>{r.submitForm(je(v))},S=()=>{i!=null&&i.onForgotPasswordClicked?t("forgotPasswordClicked"):f({type:"RESET_PASSWORD"})};return(v,m)=>{const b=Me,C=ze,A=Te,E=Se,P=Ge,O=He;return o.renderSlot(v.$slots,"signInSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.renderSlot(v.$slots,"header"),o.createVNode(E,o.normalizeProps(o.guardReactiveProps(v.$attrs)),{default:o.withCtx(()=>[o.createVNode(P,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:o.withModifiers(w,["prevent"]),method:"post"},{formt:o.withCtx(({slotData:T})=>[o.renderSlot(v.$slots,"form",{info:T,onSignInSubmit:w,onInput:p,onForgotPasswordClicked:S})]),default:o.withCtx(()=>[o.createVNode(Xn),o.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(b,{disabled:o.unref(g).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:o.withCtx(({slotData:T})=>[o.renderSlot(v.$slots,"signin-fields",{info:T})]),default:o.withCtx(()=>[f0,o.createVNode(We,{route:"signIn"})]),_:3},8,["disabled"]),o.unref(g).context.remoteError?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(V)(o.unref(g).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{disabled:o.unref(g).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g).matches("signIn.submit")?o.unref(d):o.unref(l)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(O,null,{default:o.withCtx(()=>[o.renderSlot(v.$slots,"footer",{},()=>[o.createElementVNode("div",p0,[o.createVNode(A,{onClick:S,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(c)),1)]),_:1})])])]),_:3})])}}}),xo=o.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(We,{route:"signUp"}))}}),Oo=o.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=xe(Pe),r=n(),i=n(),{hasValidationErrors:a,isPending:s,error:u}=o.toRefs(r),c=o.useAttrs(),{getCreateAccountText:l}=ke,d=o.computed(()=>l()),h=w=>{let{checked:_,name:S,type:v,value:m}=w.target;v==="checkbox"&&!_&&(m=void 0),i.updateForm({name:S,value:m})};function f(w){const{name:_}=w.target;i.updateBlur({name:_})}const g=w=>{c!=null&&c.onSignUpSubmit?t("signUpSubmit",w):p(w)},p=w=>{i.submitForm(je(w))};return(w,_)=>{const S=Me,v=ze,m=Te,b=Se,C=Ge,A=He;return o.renderSlot(w.$slots,"signUpSlotI",o.normalizeProps(o.guardReactiveProps(w.$attrs)),()=>[o.renderSlot(w.$slots,"header"),o.createVNode(b,o.normalizeProps(o.guardReactiveProps(w.$attrs)),{default:o.withCtx(()=>[o.createVNode(C,{onInput:h,onBlurCapture:f,onSubmit:o.withModifiers(g,["prevent"])},{default:o.withCtx(()=>[o.createVNode(Xn),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(S,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(s)},{fieldSetI:o.withCtx(({slotData:E})=>[o.renderSlot(w.$slots,"signup-fields",{info:E})]),default:o.withCtx(()=>[o.createVNode(xo)]),_:3},8,["disabled"]),o.unref(u)?(o.openBlock(),o.createBlock(v,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(V)(o.unref(u))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(m,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:o.unref(s)||o.unref(a)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(A,null,{default:o.withCtx(()=>[o.renderSlot(w.$slots,"footer")]),_:3})])}}}),h0=o.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:r,label:i}=o.toRefs(t);return(a,s)=>{const u=Se;return o.openBlock(),o.createBlock(u,{tabindex:o.unref(n)?0:-1,"data-state":o.unref(n)?"active":"inactive","aria-selected":o.unref(n)?"true":"false","aria-controls":`radix-id-${o.unref(r)}-8-content-0`,id:`radix-id-${o.unref(r)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),m0={};function g0(e,t){const n=Se;return o.openBlock(),o.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:o.withCtx(()=>[o.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var v0=Zn(m0,[["render",g0]]);const nt=o.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,u;const r=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((u=(s=i[0])==null?void 0:s.children)==null?void 0:u.length)===0)i[0].children=[o.h(`h${e.level}`,{...n,class:a},[r])];else return()=>o.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?o.h(i[0].children[0]):o.h(r[0])]);return()=>i}}),y0={};function w0(e,t){return o.renderSlot(e.$slots,"textI",o.normalizeProps(o.guardReactiveProps(e.$attrs)),()=>[o.createElementVNode("span",o.mergeProps(e.$attrs,{"data-amplify-text":""}),[o.renderSlot(e.$slots,"default")],16)])}var gs=Zn(y0,[["render",w0]]);const Uo=o.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=xe(Pe),{isPending:i,error:a,codeDeliveryDetails:s}=o.toRefs(r()),{submitForm:u,updateForm:c,resendCode:l}=r(),{getDeliveryMethodText:d,getDeliveryMessageText:h,getResendCodeText:f,getConfirmText:g}=ke,p=o.computed(()=>d(s.value)),w=o.computed(()=>f()),_=o.computed(()=>g()),S=o.computed(()=>h(s.value)),v=A=>{const{name:E,value:P}=A.target;c({name:E,value:P})},m=A=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",A):b(A)},b=A=>{u(je(A))},C=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):l()};return(A,E)=>{const P=nt,O=gs,T=Me,k=ze,F=Te,D=He,L=Se,j=Ge;return o.renderSlot(A.$slots,"confirmSignUpSlotI",o.normalizeProps(o.guardReactiveProps(A.$attrs)),()=>[o.createVNode(L,o.normalizeProps(o.guardReactiveProps(A.$attrs)),{default:o.withCtx(()=>[o.createVNode(j,{onInput:v,onSubmit:o.withModifiers(m,["prevent"])},{default:o.withCtx(()=>[o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(A.$slots,"header",{},()=>[o.createVNode(P,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(O,{class:"amplify-authenticator__subtitle"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1}),o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createVNode(We,{route:"confirmSignUp"})]),_:1},8,["disabled"]),o.createVNode(D,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(a)?(o.openBlock(),o.createBlock(k,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(V)(o.unref(a))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(F,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(_)),1)]),_:1},8,["disabled"]),o.createVNode(F,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(C,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["onClick"]),o.renderSlot(A.$slots,"footer",{onConfirmSignUpSubmit:m,onLostCodeClicked:C})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Ro=o.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=Oe(),s=xe(Pe)(),u=o.computed(()=>Ce(r.value)),c=u.value.context.challengeName,{getBackToSignInText:l,getConfirmText:d,getChallengeText:h}=ke,f=o.computed(()=>h(c)),g=o.computed(()=>l()),p=o.computed(()=>d()),w=m=>{const{name:b,value:C}=m.target;i({type:"CHANGE",data:{name:b,value:C}})},_=m=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",m):S(m)},S=m=>{s.submitForm(je(m))},v=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(m,b)=>{const C=nt,A=Se,E=ze,P=Te,O=He,T=Me,k=Ge;return o.renderSlot(m.$slots,"confirmSignInSlotI",o.normalizeProps(o.guardReactiveProps(m.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(m.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-confirmsignin":"",onInput:w,onSubmit:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.renderSlot(m.$slots,"header",{},()=>[o.createVNode(C,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(We,{route:"confirmSignIn"})]),_:1}),o.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var F,D;return[(D=(F=o.unref(u))==null?void 0:F.context)!=null&&D.remoteError?(o.openBlock(),o.createBlock(E,{key:0},{default:o.withCtx(()=>{var L,j;return[o.createTextVNode(o.toDisplayString(o.unref(V)((j=(L=o.unref(u))==null?void 0:L.context)==null?void 0:j.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["onClick"]),o.renderSlot(m.$slots,"footer",{onBackToSignInClicked:v,onConfirmSignInSubmit:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var tn={},S0=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},vs={},$e={};let Vo;const _0=[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];$e.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};$e.getSymbolTotalCodewords=function(t){return _0[t]};$e.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};$e.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Vo=t};$e.isKanjiModeEnabled=function(){return typeof Vo!="undefined"};$e.toSJIS=function(t){return Vo(t)};var tr={};(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(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,i){if(e.isValid(r))return r;try{return t(r)}catch{return i}}})(tr);function ys(){this.buffer=[],this.length=0}ys.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 b0=ys;function nn(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)}nn.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)};nn.prototype.get=function(e,t){return this.data[e*this.size+t]};nn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};nn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var C0=nn,ws={};(function(e){const t=$e.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const i=Math.floor(r/7)+2,a=t(r),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,u=[a-7];for(let c=1;c<i-1;c++)u[c]=u[c-1]-s;return u.push(6),u.reverse()},e.getPositions=function(r){const i=[],a=e.getRowColCoords(r),s=a.length;for(let u=0;u<s;u++)for(let c=0;c<s;c++)u===0&&c===0||u===0&&c===s-1||u===s-1&&c===0||i.push([a[u],a[c]]);return i}})(ws);var Ss={};const A0=$e.getSymbolSize,ta=7;Ss.getPositions=function(t){const n=A0(t);return[[0,0],[n-ta,0],[0,n-ta]]};var _s={};(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,u=0,c=0,l=null,d=null;for(let h=0;h<a;h++){u=c=0,l=d=null;for(let f=0;f<a;f++){let g=i.get(h,f);g===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=g,u=1),g=i.get(f,h),g===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=g,c=1)}u>=5&&(s+=t.N1+(u-5)),c>=5&&(s+=t.N1+(c-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let u=0;u<a-1;u++)for(let c=0;c<a-1;c++){const l=i.get(u,c)+i.get(u,c+1)+i.get(u+1,c)+i.get(u+1,c+1);(l===4||l===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,u=0,c=0;for(let l=0;l<a;l++){u=c=0;for(let d=0;d<a;d++)u=u<<1&2047|i.get(l,d),d>=10&&(u===1488||u===93)&&s++,c=c<<1&2047|i.get(d,l),d>=10&&(c===1488||c===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let c=0;c<s;c++)a+=i.data[c];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(r,i,a){switch(r){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:"+r)}}e.applyMask=function(i,a){const s=a.size;for(let u=0;u<s;u++)for(let c=0;c<s;c++)a.isReserved(c,u)||a.xor(c,u,n(i,c,u))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let u=0,c=1/0;for(let l=0;l<s;l++){a(l),e.applyMask(l,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(l,i),d<c&&(c=d,u=l)}return u}})(_s);var nr={};const tt=tr,yn=[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],wn=[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];nr.getBlocksCount=function(t,n){switch(n){case tt.L:return yn[(t-1)*4+0];case tt.M:return yn[(t-1)*4+1];case tt.Q:return yn[(t-1)*4+2];case tt.H:return yn[(t-1)*4+3];default:return}};nr.getTotalCodewordsCount=function(t,n){switch(n){case tt.L:return wn[(t-1)*4+0];case tt.M:return wn[(t-1)*4+1];case tt.Q:return wn[(t-1)*4+2];case tt.H:return wn[(t-1)*4+3];default:return}};var bs={},rr={};const jt=new Uint8Array(512),Un=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)jt[n]=t,Un[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)jt[n]=jt[n-255]})();rr.log=function(t){if(t<1)throw new Error("log("+t+")");return Un[t]};rr.exp=function(t){return jt[t]};rr.mul=function(t,n){return t===0||n===0?0:jt[Un[t]+Un[n]]};(function(e){const t=rr;e.mul=function(r,i){const a=new Uint8Array(r.length+i.length-1);for(let s=0;s<r.length;s++)for(let u=0;u<i.length;u++)a[s+u]^=t.mul(r[s],i[u]);return a},e.mod=function(r,i){let a=new Uint8Array(r);for(;a.length-i.length>=0;){const s=a[0];for(let c=0;c<i.length;c++)a[c]^=t.mul(i[c],s);let u=0;for(;u<a.length&&a[u]===0;)u++;a=a.slice(u)}return a},e.generateECPolynomial=function(r){let i=new Uint8Array([1]);for(let a=0;a<r;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(bs);const Cs=bs;function Bo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Bo.prototype.initialize=function(t){this.degree=t,this.genPoly=Cs.generateECPolynomial(this.degree)};Bo.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 r=Cs.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(r,i),a}return r};var T0=Bo,As={},rt={},Do={};Do.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Ye={};const Ts="[0-9]+",E0="[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 I0="(?:(?![A-Z0-9 $%*+\\-./:]|"+Wt+`)(?:.|[\r
32
- ]))+`;Ye.KANJI=new RegExp(Wt,"g");Ye.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ye.BYTE=new RegExp(I0,"g");Ye.NUMERIC=new RegExp(Ts,"g");Ye.ALPHANUMERIC=new RegExp(E0,"g");const P0=new RegExp("^"+Wt+"$"),$0=new RegExp("^"+Ts+"$"),N0=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ye.testKanji=function(t){return P0.test(t)};Ye.testNumeric=function(t){return $0.test(t)};Ye.testAlphanumeric=function(t){return N0.test(t)};(function(e){const t=Do,n=Ye;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 r(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 r(a)}catch{return s}}})(rt);(function(e){const t=$e,n=nr,r=tr,i=rt,a=Do,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,u=t.getBCHDigit(s);function c(f,g,p){for(let w=1;w<=40;w++)if(g<=e.getCapacity(w,p,f))return w}function l(f,g){return i.getCharCountIndicator(f,g)+4}function d(f,g){let p=0;return f.forEach(function(w){p+=l(w.mode,g)+w.getBitsLength()}),p}function h(f,g){for(let p=1;p<=40;p++)if(d(f,p)<=e.getCapacity(p,g,i.MIXED))return p}e.from=function(g,p){return a.isValid(g)?parseInt(g,10):p},e.getCapacity=function(g,p,w){if(!a.isValid(g))throw new Error("Invalid QR Code version");typeof w=="undefined"&&(w=i.BYTE);const _=t.getSymbolTotalCodewords(g),S=n.getTotalCodewordsCount(g,p),v=(_-S)*8;if(w===i.MIXED)return v;const m=v-l(w,g);switch(w){case i.NUMERIC:return Math.floor(m/10*3);case i.ALPHANUMERIC:return Math.floor(m/11*2);case i.KANJI:return Math.floor(m/13);case i.BYTE:default:return Math.floor(m/8)}},e.getBestVersionForData=function(g,p){let w;const _=r.from(p,r.M);if(Array.isArray(g)){if(g.length>1)return h(g,_);if(g.length===0)return 1;w=g[0]}else w=g;return c(w.mode,w.getLength(),_)},e.getEncodedBits=function(g){if(!a.isValid(g)||g<7)throw new Error("Invalid QR Code version");let p=g<<12;for(;t.getBCHDigit(p)-u>=0;)p^=s<<t.getBCHDigit(p)-u;return g<<12|p}})(As);var Es={};const Fr=$e,Is=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,k0=1<<14|1<<12|1<<10|1<<4|1<<1,na=Fr.getBCHDigit(Is);Es.getEncodedBits=function(t,n){const r=t.bit<<3|n;let i=r<<10;for(;Fr.getBCHDigit(i)-na>=0;)i^=Is<<Fr.getBCHDigit(i)-na;return(r<<10|i)^k0};var Ps={};const x0=rt;function St(e){this.mode=x0.NUMERIC,this.data=e.toString()}St.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};St.prototype.getLength=function(){return this.data.length};St.prototype.getBitsLength=function(){return St.getBitsLength(this.data.length)};St.prototype.write=function(t){let n,r,i;for(n=0;n+3<=this.data.length;n+=3)r=this.data.substr(n,3),i=parseInt(r,10),t.put(i,10);const a=this.data.length-n;a>0&&(r=this.data.substr(n),i=parseInt(r,10),t.put(i,a*3+1))};var O0=St;const U0=rt,mr=["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 _t(e){this.mode=U0.ALPHANUMERIC,this.data=e}_t.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};_t.prototype.getLength=function(){return this.data.length};_t.prototype.getBitsLength=function(){return _t.getBitsLength(this.data.length)};_t.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=mr.indexOf(this.data[n])*45;r+=mr.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(mr.indexOf(this.data[n]),6)};var R0=_t,V0=function(t){for(var n=[],r=t.length,i=0;i<r;i++){var a=t.charCodeAt(i);if(a>=55296&&a<=56319&&r>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 B0=V0,D0=rt;function bt(e){this.mode=D0.BYTE,this.data=new Uint8Array(B0(e))}bt.getBitsLength=function(t){return t*8};bt.prototype.getLength=function(){return this.data.length};bt.prototype.getBitsLength=function(){return bt.getBitsLength(this.data.length)};bt.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var M0=bt;const F0=rt,L0=$e;function Ct(e){this.mode=F0.KANJI,this.data=e}Ct.getBitsLength=function(t){return t*13};Ct.prototype.getLength=function(){return this.data.length};Ct.prototype.getBitsLength=function(){return Ct.getBitsLength(this.data.length)};Ct.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=L0.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]+`
33
- Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var j0=Ct,$s={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,r,i){var a={},s={};s[r]=0;var u=t.PriorityQueue.make();u.push(r,0);for(var c,l,d,h,f,g,p,w,_;!u.empty();){c=u.pop(),l=c.value,h=c.cost,f=n[l]||{};for(d in f)f.hasOwnProperty(d)&&(g=f[d],p=h+g,w=s[d],_=typeof s[d]=="undefined",(_||w>p)&&(s[d]=p,u.push(d,p),a[d]=l))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var S=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(S)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],a=r;a;)i.push(a),n[a],a=n[a];return i.reverse(),i},find_path:function(n,r,i){var a=t.single_source_shortest_paths(n,r,i);return t.extract_shortest_path_from_predecessor_list(a,i)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,i={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(i[a]=r[a]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};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})($s);(function(e){const t=rt,n=O0,r=R0,i=M0,a=j0,s=Ye,u=$e,c=$s.exports;function l(S){return unescape(encodeURIComponent(S)).length}function d(S,v,m){const b=[];let C;for(;(C=S.exec(m))!==null;)b.push({data:C[0],index:C.index,mode:v,length:C[0].length});return b}function h(S){const v=d(s.NUMERIC,t.NUMERIC,S),m=d(s.ALPHANUMERIC,t.ALPHANUMERIC,S);let b,C;return u.isKanjiModeEnabled()?(b=d(s.BYTE,t.BYTE,S),C=d(s.KANJI,t.KANJI,S)):(b=d(s.BYTE_KANJI,t.BYTE,S),C=[]),v.concat(m,b,C).sort(function(E,P){return E.index-P.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function f(S,v){switch(v){case t.NUMERIC:return n.getBitsLength(S);case t.ALPHANUMERIC:return r.getBitsLength(S);case t.KANJI:return a.getBitsLength(S);case t.BYTE:return i.getBitsLength(S)}}function g(S){return S.reduce(function(v,m){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===m.mode?(v[v.length-1].data+=m.data,v):(v.push(m),v)},[])}function p(S){const v=[];for(let m=0;m<S.length;m++){const b=S[m];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:l(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:l(b.data)}])}}return v}function w(S,v){const m={},b={start:{}};let C=["start"];for(let A=0;A<S.length;A++){const E=S[A],P=[];for(let O=0;O<E.length;O++){const T=E[O],k=""+A+O;P.push(k),m[k]={node:T,lastCount:0},b[k]={};for(let F=0;F<C.length;F++){const D=C[F];m[D]&&m[D].node.mode===T.mode?(b[D][k]=f(m[D].lastCount+T.length,T.mode)-f(m[D].lastCount,T.mode),m[D].lastCount+=T.length):(m[D]&&(m[D].lastCount=T.length),b[D][k]=f(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,v))}}C=P}for(let A=0;A<C.length;A++)b[C[A]].end=0;return{map:b,table:m}}function _(S,v){let m;const b=t.getBestModeForData(S);if(m=t.from(v,b),m!==t.BYTE&&m.bit<b.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(m)+`.
34
- Suggested mode is: `+t.toString(b));switch(m===t.KANJI&&!u.isKanjiModeEnabled()&&(m=t.BYTE),m){case t.NUMERIC:return new n(S);case t.ALPHANUMERIC:return new r(S);case t.KANJI:return new a(S);case t.BYTE:return new i(S)}}e.fromArray=function(v){return v.reduce(function(m,b){return typeof b=="string"?m.push(_(b,null)):b.data&&m.push(_(b.data,b.mode)),m},[])},e.fromString=function(v,m){const b=h(v,u.isKanjiModeEnabled()),C=p(b),A=w(C,m),E=c.find_path(A.map,"start","end"),P=[];for(let O=1;O<E.length-1;O++)P.push(A.table[E[O]].node);return e.fromArray(g(P))},e.rawSplit=function(v){return e.fromArray(h(v,u.isKanjiModeEnabled()))}})(Ps);const or=$e,gr=tr,z0=b0,G0=C0,H0=ws,W0=Ss,Lr=_s,jr=nr,Y0=T0,Rn=As,K0=Es,q0=rt,vr=Ps;function J0(e,t){const n=e.size,r=W0.getPositions(t);for(let i=0;i<r.length;i++){const a=r[i][0],s=r[i][1];for(let u=-1;u<=7;u++)if(!(a+u<=-1||n<=a+u))for(let c=-1;c<=7;c++)s+c<=-1||n<=s+c||(u>=0&&u<=6&&(c===0||c===6)||c>=0&&c<=6&&(u===0||u===6)||u>=2&&u<=4&&c>=2&&c<=4?e.set(a+u,s+c,!0,!0):e.set(a+u,s+c,!1,!0))}}function Z0(e){const t=e.size;for(let n=8;n<t-8;n++){const r=n%2===0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}function X0(e,t){const n=H0.getPositions(t);for(let r=0;r<n.length;r++){const i=n[r][0],a=n[r][1];for(let s=-2;s<=2;s++)for(let u=-2;u<=2;u++)s===-2||s===2||u===-2||u===2||s===0&&u===0?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0)}}function Q0(e,t){const n=e.size,r=Rn.getEncodedBits(t);let i,a,s;for(let u=0;u<18;u++)i=Math.floor(u/3),a=u%3+n-8-3,s=(r>>u&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function yr(e,t,n){const r=e.size,i=K0.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(r-15+a,8,s,!0),a<8?e.set(8,r-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(r-8,8,1,!0)}function e2(e,t){const n=e.size;let r=-1,i=n-1,a=7,s=0;for(let u=n-1;u>0;u-=2)for(u===6&&u--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,u-c)){let l=!1;s<t.length&&(l=(t[s]>>>a&1)===1),e.set(i,u-c,l),a--,a===-1&&(s++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function t2(e,t,n){const r=new z0;n.forEach(function(c){r.put(c.mode.bit,4),r.put(c.getLength(),q0.getCharCountIndicator(c.mode,e)),c.write(r)});const i=or.getSymbolTotalCodewords(e),a=jr.getTotalCodewordsCount(e,t),s=(i-a)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const u=(s-r.getLengthInBits())/8;for(let c=0;c<u;c++)r.put(c%2?17:236,8);return n2(r,e,t)}function n2(e,t,n){const r=or.getSymbolTotalCodewords(t),i=jr.getTotalCodewordsCount(t,n),a=r-i,s=jr.getBlocksCount(t,n),u=r%s,c=s-u,l=Math.floor(r/s),d=Math.floor(a/s),h=d+1,f=l-d,g=new Y0(f);let p=0;const w=new Array(s),_=new Array(s);let S=0;const v=new Uint8Array(e.buffer);for(let E=0;E<s;E++){const P=E<c?d:h;w[E]=v.slice(p,p+P),_[E]=g.encode(w[E]),p+=P,S=Math.max(S,P)}const m=new Uint8Array(r);let b=0,C,A;for(C=0;C<S;C++)for(A=0;A<s;A++)C<w[A].length&&(m[b++]=w[A][C]);for(C=0;C<f;C++)for(A=0;A<s;A++)m[b++]=_[A][C];return m}function r2(e,t,n,r){let i;if(Array.isArray(e))i=vr.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const d=vr.rawSplit(e);l=Rn.getBestVersionForData(d,n)}i=vr.fromString(e,l||40)}else throw new Error("Invalid data");const a=Rn.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(`
28
+ ***************************************************************************** */var E=function(){return E=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},E.apply(this,arguments)};function ro(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function W(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Y(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function oe(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var ne;(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"})(ne||(ne={}));var Je;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Je||(Je={}));var Pr=ne.Start,oo=ne.Stop,vt=ne.Raise,yt=ne.Send,xa=ne.Cancel,gv=ne.NullEvent,io=ne.Assign;ne.After;ne.DoneState;var Oa=ne.Log,vv=ne.Init,$r=ne.Invoke;ne.ErrorExecution;var Ci=ne.ErrorPlatform,yv=ne.ErrorCustom,ao=ne.Update,wv=ne.Choose,Sv=ne.Pure,Ua=".",Ai={},Nr="xstate.guard",_v="",Ra=!0,cn;function so(e,t,n){n===void 0&&(n=Ua);var r=jt(e,n),i=jt(t,n);return X(i)?X(r)?i===r:!1:X(r)?r in i:Object.keys(r).every(function(a){return a in i?so(r[a],i[a]):!1})}function Fa(e){try{return X(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 kr(e,t){try{return kt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function bv(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function jt(e,t){if(bv(e))return e.value;if(kt(e))return Pn(e);if(typeof e!="string")return e;var n=kr(e,t);return Pn(n)}function Pn(e){if(e.length===1)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function Vt(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function Ti(e,t,n){var r,i,a={};try{for(var s=W(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];!n(l)||(a[c]=t(l,c,e))}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}var Cv=function(e){return function(t){var n,r,i=t;try{for(var a=W(e),s=a.next();!s.done;s=a.next()){var u=s.value;i=i[u]}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}};function Av(e,t){return function(n){var r,i,a=n;try{for(var s=W(e),u=s.next();!u.done;u=s.next()){var c=u.value;a=a[t][c]}}catch(l){r={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}}function bn(e){if(!e)return[[]];if(X(e))return[[e]];var t=de(Object.keys(e).map(function(n){var r=e[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:bn(e[n]).map(function(i){return[n].concat(i)})}));return t}function de(e){var t;return(t=[]).concat.apply(t,oe([],Y(e),!1))}function Ba(e){return kt(e)?e:[e]}function Re(e){return e===void 0?[]:Ba(e)}function $n(e,t,n){var r,i;if(te(e))return e(t,n.data);var a={};try{for(var s=W(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];te(l)?a[c]=l(t,n.data):a[c]=l}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}function Tv(e){return/^(done|error)\./.test(e)}function Ii(e){return!!(e instanceof Promise||e!==null&&(te(e)||typeof e=="object")&&te(e.then))}function Iv(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Ev(e,t){var n,r,i=Y([[],[]],2),a=i[0],s=i[1];try{for(var u=W(e),c=u.next();!c.done;c=u.next()){var l=c.value;t(l)?a.push(l):s.push(l)}}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return[a,s]}function Da(e,t){return Vt(e.states,function(n,r){if(!!n){var i=(X(t)?void 0:t[r])||(n?n.current:void 0);if(!!i)return{current:i,states:Da(n,i)}}})}function Pv(e,t){return{current:t,states:Da(e,t)}}function Ei(e,t,n,r){var i=e&&n.reduce(function(a,s){var u,c,l=s.assignment,d={state:r,action:s,_event:t},m={};if(te(l))m=l(a,t.data,d);else try{for(var f=W(Object.keys(l)),g=f.next();!g.done;g=f.next()){var p=g.value,w=l[p];m[p]=te(w)?w(a,t.data,d):w}}catch(_){u={error:_}}finally{try{g&&!g.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return Object.assign({},a,m)},e);return i}var $v=function(){};function kt(e){return Array.isArray(e)}function te(e){return typeof e=="function"}function X(e){return typeof e=="string"}function Va(e,t){if(!!e)return X(e)?{type:Nr,name:e,predicate:t?t[e]:void 0}:te(e)?{type:Nr,name:e.name,predicate:e}:e}function Nv(e){try{return"subscribe"in e&&te(e.subscribe)}catch{return!1}}var et=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();cn={},cn[et]=function(){return this},cn[Symbol.observable]=function(){return this};function wt(e){return!!e&&"__xstatenode"in e}function kv(e){return!!e&&typeof e.send=="function"}var xv=function(){var e=0;return function(){return e++,e.toString(16)}}();function uo(e,t){return X(e)||typeof e=="number"?E({type:e},t):e}function Se(e,t){if(!X(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=uo(e);return E({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function dt(e,t){var n=Ba(t).map(function(r){return typeof r=="undefined"||typeof r=="string"||wt(r)?{target:r,event:e}:E(E({},r),{event:e})});return n}function Ov(e){if(!(e===void 0||e===_v))return Re(e)}function Ma(e,t,n,r,i){var a=e.options.guards,s={state:i,cond:t,_event:r};if(t.type===Nr)return((a==null?void 0:a[t.name])||t.predicate)(n,r.data,s);var u=a==null?void 0:a[t.type];if(!u)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return u(n,r.data,s)}function La(e){return typeof e=="string"?{type:e}:e}function Cn(e,t,n){var r=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}}function ln(e,t){return"".concat(e,":invocation[").concat(t,"]")}var gt=Se({type:vv});function xr(e,t){return t&&t[e]||void 0}function Ht(e,t){var n;if(X(e)||typeof e=="number"){var r=xr(e,t);te(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(te(e))n={type:e.name||e.toString(),exec:e};else{var r=xr(e.type,t);if(te(r))n=E(E({},e),{exec:r});else if(r){var i=r.type||e.type;n=E(E(E({},r),e),{type:i})}else n=e}return n}var tt=function(e,t){if(!e)return[];var n=kt(e)?e:[e];return n.map(function(r){return Ht(r,t)})};function co(e){var t=Ht(e);return E(E({id:X(e)?e:t.id},t),{type:t.type})}function Uv(e){return X(e)?{type:vt,event:e}:Kn(e,{to:Je.Internal})}function Rv(e){return{type:vt,_event:Se(e.event)}}function Kn(e,t){return{to:t?t.to:void 0,type:yt,event:te(e)?e:uo(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:te(e)?e.name:Fa(e)}}function Fv(e,t,n,r){var i={_event:n},a=Se(te(e.event)?e.event(t,n.data,i):e.event),s;if(X(e.delay)){var u=r&&r[e.delay];s=te(u)?u(t,n.data,i):u}else s=te(e.delay)?e.delay(t,n.data,i):e.delay;var c=te(e.to)?e.to(t,n.data,i):e.to;return E(E({},e),{to:c,_event:a,event:a.data,delay:s})}function Bv(e,t){return Kn(e,E(E({},t),{to:Je.Parent}))}function Dv(){return Bv(ao)}var Vv=function(e,t,n){return E(E({},e),{value:X(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Mv=function(e){return{type:xa,sendId:e}};function Lv(e){var t=co(e);return{type:ne.Start,activity:t,exec:void 0}}function jv(e){var t=te(e)?e:co(e);return{type:ne.Stop,activity:t,exec:void 0}}function zv(e,t,n){var r=te(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:ne.Stop,activity:i};return a}var Gv=function(e){return{type:io,assignment:e}};function Hv(e,t){var n=t?"#".concat(t):"";return"".concat(ne.After,"(").concat(e,")").concat(n)}function dn(e,t){var n="".concat(ne.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function An(e,t){var n="".concat(ne.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Mt(e,t){var n="".concat(ne.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Wv(e,t){return Kn(function(n,r){return r},E(E({},t),{to:e}))}var Yv=function(e){var t,n,r=[];try{for(var i=W(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===io){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function Nn(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:Yv(i),c=u.length?Ei(n,r,u,t):n,l=s?[n]:void 0,d=[];function m(p){var w;switch(p.type){case vt:return Rv(p);case yt:var _=Fv(p,c,r,e.options.delays);return a&&_.to!==Je.Internal&&d.push(_),_;case Oa:{var S=Vv(p,c,r);return a==null||a(S,c,r),S}case wv:{var v=p,h=(w=v.conds.find(function(D){var L=Va(D.cond,e.options.guards);return!L||Ma(e,L,c,r,a?void 0:t)}))===null||w===void 0?void 0:w.actions;if(!h)return[];var b=Y(Nn(e,t,c,r,[tt(Re(h),e.options.actions)],a,s),2),C=b[0],A=b[1];return c=A,l==null||l.push(c),C}case Sv:{var h=p.get(c,r.data);if(!h)return[];var I=Y(Nn(e,t,c,r,[tt(Re(h),e.options.actions)],a,s),2),P=I[0],U=I[1];return c=U,l==null||l.push(c),P}case oo:{var S=zv(p,c,r);return a==null||a(S,n,r),S}case io:{c=Ei(c,r,[p],a?void 0:t),l==null||l.push(c);break}default:var T=Ht(p,e.options.actions),k=T.exec;if(a)a(T,c,r);else if(k&&l){var M=l.length-1;T=E(E({},T),{exec:function(D){for(var L=[],j=1;j<arguments.length;j++)L[j-1]=arguments[j];k.apply(void 0,oe([l[M]],Y(L),!1))}})}return T}}function f(p){var w,_,S=[];try{for(var v=W(p),h=v.next();!h.done;h=v.next()){var b=h.value,C=m(b);C&&(S=S.concat(C))}}catch(A){w={error:A}}finally{try{h&&!h.done&&(_=v.return)&&_.call(v)}finally{if(w)throw w.error}}return d.forEach(function(A){a(A,c,r)}),d.length=0,S}var g=de(i.map(f));return[g,c]}var kn=[],mt=function(e,t){kn.push(e);var n=t(e);return kn.pop(),n},Kv=function(e){return e(kn[kn.length-1])};function ja(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[et]=function(){return this},t}function qv(e,t,n,r){var i,a=La(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],u=e.data?$n(e.data,n,r):void 0,c=s?lo(s,e.id,u):ja(e.id);return c.meta=e,c}function lo(e,t,n){var r=ja(t);if(r.deferred=!0,wt(e)){var i=r.state=mt(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}function Jv(e){try{return typeof e.send=="function"}catch{return!1}}function Zv(e){return Jv(e)&&"id"in e}function Xv(e){var t;return E((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[et]=function(){return this},t),e)}var xn=function(e){return e.type==="atomic"||e.type==="final"};function za(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function Wt(e){return za(e).filter(function(t){return t.type!=="history"})}function Ga(e){var t=[e];return xn(e)?t:t.concat(de(Wt(e).map(Ga)))}function Lt(e,t){var n,r,i,a,s,u,c,l,d=new Set(e),m=Or(d),f=new Set(t);try{for(var g=W(f),p=g.next();!p.done;p=g.next())for(var w=p.value,_=w.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(U){n={error:U}}finally{try{p&&!p.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}var S=Or(f);try{for(var v=W(f),h=v.next();!h.done;h=v.next()){var w=h.value;if(w.type==="compound"&&(!S.get(w)||!S.get(w).length))m.get(w)?m.get(w).forEach(function(T){return f.add(T)}):w.initialStateNodes.forEach(function(T){return f.add(T)});else if(w.type==="parallel")try{for(var b=(s=void 0,W(Wt(w))),C=b.next();!C.done;C=b.next()){var A=C.value;f.has(A)||(f.add(A),m.get(A)?m.get(A).forEach(function(T){return f.add(T)}):A.initialStateNodes.forEach(function(T){return f.add(T)}))}}catch(T){s={error:T}}finally{try{C&&!C.done&&(u=b.return)&&u.call(b)}finally{if(s)throw s.error}}}}catch(U){i={error:U}}finally{try{h&&!h.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}try{for(var I=W(f),P=I.next();!P.done;P=I.next())for(var w=P.value,_=w.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(U){c={error:U}}finally{try{P&&!P.done&&(l=I.return)&&l.call(I)}finally{if(c)throw c.error}}return f}function Ha(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var r=n[0];if(r){if(xn(r))return r.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=Ha(a,t)}),i}function Or(e){var t,n,r=new Map;try{for(var i=W(e),a=i.next();!a.done;a=i.next()){var s=a.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function Qv(e,t){var n=Lt([e],t);return Ha(e,Or(n))}function ht(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function ey(e){return oe([],Y(new Set(de(oe([],Y(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Tn(e,t){return t.type==="compound"?Wt(t).some(function(n){return n.type==="final"&&ht(e,n)}):t.type==="parallel"?Wt(t).every(function(n){return Tn(e,n)}):!1}function ty(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function Pi(e){return new Set(de(e.map(function(t){return t.tags})))}function Wa(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(X(e)||X(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(i){return Wa(e[i],t[i])})}function ny(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function ry(e,t){var n=e.exec,r=E(E({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return r}var Fe=function(){function e(t){var n=this,r;this.actions=[],this.activities=Ai,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||Ai,this.meta=ty(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=(r=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&r!==void 0?r:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return ey(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 r=gt;return new e({value:t,context:n,_event:r,_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 r=gt;return new e({value:t.value,context:n,_event:r,_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 r=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),X(t))return[t];var i=Object.keys(t);return i.concat.apply(i,oe([],Y(i.map(function(a){return r.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 r=ro(t,["configuration","transitions","tags","machine"]);return E(E({},r),{tags:Array.from(n)})},e.prototype.matches=function(t){return so(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Ra&&$v(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),oy={deferEvents:!1},$i=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=E(E({},oy),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}(),dr=new Map,iy=0,fn={bookId:function(){return"x:".concat(iy++)},register:function(e,t){return dr.set(e,t),e},get:function(e){return dr.get(e)},free:function(e){dr.delete(e)}};function fo(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function ay(){var e=fo();if(e&&"__xstate__"in e)return e.__xstate__}function sy(e){if(!!fo()){var t=ay();t&&t.register(e)}}function uy(e,t){t===void 0&&(t={});var n=e.initialState,r=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var l=i.shift();n=e.transition(n,l,c),r.forEach(function(d){return d.next(n)})}a=!1}},u=Xv({id:t.id,send:function(l){i.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,d,m){var f=Cn(l,d,m);return r.add(f),f.next(n),{unsubscribe:function(){r.delete(f)}}}}),c={parent:t.parent,self:u,id:t.id||"anonymous",observers:r};return n=e.start?e.start(c):n,u}var Ur={sync:!1,autoForward:!1},we;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(we||(we={}));var cy=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var r=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=we.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,m){if(kt(d))return r.batch(d),r.state;var f=Se(uo(d,m));if(r.status===we.Stopped)return r.state;if(r.status!==we.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
29
+ Event: `).concat(JSON.stringify(f.data)));return r.scheduler.schedule(function(){r.forward(f);var g=r._nextState(f);r.update(g,f)}),r._state},this.sendTo=function(d,m,f){var g=r.parent&&(m===Je.Parent||r.parent.id===m),p=g?r.parent:X(m)?r.children.get(m)||fn.get(m):kv(m)?m:void 0;if(!p){if(!g)throw new Error("Unable to send event to child '".concat(m,"' from service '").concat(r.id,"'."));return}if("machine"in p){if(r.status!==we.Stopped||r.parent!==p||r.state.done){var w=E(E({},d),{name:d.name===yv?"".concat(Mt(r.id)):d.name,origin:r.sessionId});!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([p,w]):p.send(w)}}else!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([p,d.data]):p.send(d.data)},this._exec=function(d,m,f,g){g===void 0&&(g=r.machine.options.actions);var p=d.exec||xr(d.type,g),w=te(p)?p:p?p.exec:d.exec;if(w)try{return w(m,f.data,r.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:r.state,_event:f})}catch(M){throw r.parent&&r.parent.send({type:"xstate.error",data:M}),M}switch(d.type){case yt:var _=d;if(typeof _.delay=="number"){r.defer(_);return}else _.to?r.sendTo(_._event,_.to,f===gt):r.send(_._event);break;case xa:r.cancel(d.sendId);break;case Pr:{if(r.status!==we.Running)return;var S=d.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[S.id||S.type])break;if(S.type===ne.Invoke){var v=La(S.src),h=r.machine.options.services?r.machine.options.services[v.type]:void 0,b=S.id,C=S.data,A="autoForward"in S?S.autoForward:!!S.forward;if(!h)return;var I=C?$n(C,m,f):void 0;if(typeof h=="string")return;var P=te(h)?h(m,f.data,{data:I,src:v,meta:S.meta}):h;if(!P)return;var U=void 0;wt(P)&&(P=I?P.withContext(I):P,U={autoForward:A}),r.spawn(P,b,U)}else r.spawnActivity(S);break}case oo:{r.stopChild(d.activity.id);break}case Oa:var T=d.label,k=d.value;T?r.logger(T,k):r.logger(k);break}};var i=E(E({},e.defaultOptions),n),a=i.clock,s=i.logger,u=i.parent,c=i.id,l=c!==void 0?c:t.id;this.id=l,this.logger=s,this.clock=a,this.parent=u,this.options=i,this.scheduler=new $i({deferEvents:this.options.deferEvents}),this.sessionId=fn.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:mt(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,n){var r,i;try{for(var a=W(t.actions),s=a.next();!s.done;s=a.next()){var u=s.value;this.exec(u,t,n)}}catch(c){r={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},e.prototype.update=function(t,n){var r,i,a,s,u,c,l,d,m=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===gt)&&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(U){m.state.children[U.id]=U}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var g=W(this.eventListeners),p=g.next();!p.done;p=g.next()){var w=p.value;w(t.event)}}catch(U){r={error:U}}finally{try{p&&!p.done&&(i=g.return)&&i.call(g)}finally{if(r)throw r.error}}try{for(var _=W(this.listeners),S=_.next();!S.done;S=_.next()){var w=S.value;w(t,t.event)}}catch(U){a={error:U}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var v=W(this.contextListeners),h=v.next();!h.done;h=v.next()){var b=h.value;b(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(U){u={error:U}}finally{try{h&&!h.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(this.state.done){var C=t.configuration.find(function(U){return U.type==="final"&&U.parent===m.machine}),A=C&&C.doneData?$n(C.doneData,t.context,n):void 0;try{for(var I=W(this.doneListeners),P=I.next();!P.done;P=I.next()){var w=P.value;w(An(this.id,A))}}catch(U){l={error:U}}finally{try{P&&!P.done&&(d=I.return)&&d.call(I)}finally{if(l)throw l.error}}this._stop(),this._stopChildren()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===we.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,r){var i=this,a=Cn(t,n,r);this.listeners.add(a.next),this.status!==we.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===we.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.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===we.Running)return this;this.machine._init(),fn.register(this.sessionId,this),this.initialized=!0,this.status=we.Running;var r=t===void 0?this.initialState:mt(this,function(){return ny(t)?n.machine.resolveState(t):n.machine.resolveState(Fe.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,gt)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){te(t.stop)&&t.stop()}),this.children.clear()},e.prototype._stop=function(){var t,n,r,i,a,s,u,c,l,d;try{for(var m=W(this.listeners),f=m.next();!f.done;f=m.next()){var g=f.value;this.listeners.delete(g)}}catch(I){t={error:I}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}try{for(var p=W(this.stopListeners),w=p.next();!w.done;w=p.next()){var g=w.value;g(),this.stopListeners.delete(g)}}catch(I){r={error:I}}finally{try{w&&!w.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}try{for(var _=W(this.contextListeners),S=_.next();!S.done;S=_.next()){var g=S.value;this.contextListeners.delete(g)}}catch(I){a={error:I}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var v=W(this.doneListeners),h=v.next();!h.done;h=v.next()){var g=h.value;this.doneListeners.delete(g)}}catch(I){u={error:I}}finally{try{h&&!h.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(!this.initialized)return this;this.initialized=!1,this.status=we.Stopped,this._initialState=void 0;try{for(var b=W(Object.keys(this.delayedEventsMap)),C=b.next();!C.done;C=b.next()){var A=C.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(I){l={error:I}}finally{try{C&&!C.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new $i({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=Se({type:"xstate.stop"}),i=mt(t,function(){var a=de(oe([],Y(t.state.configuration),!1).sort(function(d,m){return m.order-d.order}).map(function(d){return tt(d.onExit,t.machine.options.actions)})),s=Y(Nn(t.machine,t.state,t.state.context,r,[a],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),u=s[0],c=s[1],l=new Fe({value:t.state.value,context:c,_event:r,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:u.filter(function(d){return d.type!==vt&&(d.type!==yt||!!d.to&&d.to!==Je.Internal)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return l.changed=!0,l});t.update(i,r),t._stopChildren(),fn.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(!(this.status===we.NotStarted&&this.options.deferEvents)){if(this.status!==we.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 r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,u=!1,c=[],l=function(g){var p=Se(g);n.forward(p),s=mt(n,function(){return n.machine.transition(s,p,void 0,r||void 0)}),c.push.apply(c,oe([],Y(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(w){return ry(w,s)})),!1)),u=u||!!s.changed};try{for(var d=W(t),m=d.next();!m.done;m=d.next()){var f=m.value;l(f)}}catch(g){i={error:g}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=u,s.actions=c,n.update(s,Se(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=Se(t);if(i.name.indexOf(Ci)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Ci)===0}))throw i.data.data;var a=mt(this,function(){return r.machine.transition(r.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,r;try{for(var i=W(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,u=this.children.get(s);if(!u)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));u.send(t)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(t,n.context,n._event,r)},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),te(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,r){if(this.status!==we.Running)return lo(t,n);if(Ii(t))return this.spawnPromise(Promise.resolve(t),n);if(te(t))return this.spawnCallback(t,n);if(Zv(t))return this.spawnActor(t,n);if(Nv(t))return this.spawnObservable(t,n);if(wt(t))return this.spawnMachine(t,E(E({},r),{id:n}));if(Iv(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 r=this;n===void 0&&(n={});var i=new e(t,E(E({},this.options),{parent:this,id:n.id||t.id})),a=E(E({},Ur),n);a.sync&&i.onTransition(function(u){r.send(ao,{state:u,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(u){r.removeChild(i.id),r.send(Se(u,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var r=uy(t,{id:n,parent:this});return this.children.set(n,r),r},e.prototype.spawnPromise=function(t,n){var r,i=this,a=!1,s;t.then(function(c){a||(s=c,i.removeChild(n),i.send(Se(An(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var l=Mt(n,c);try{i.send(Se(l,{origin:n}))}catch{i.devTools&&i.devTools.send(l,i.state),i.machine.strict&&i.stop()}}});var u=(r={id:n,send:function(){},subscribe:function(c,l,d){var m=Cn(c,l,d),f=!1;return t.then(function(g){f||(m.next(g),!f&&m.complete())},function(g){f||m.error(g)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[et]=function(){return this},r);return this.children.set(n,u),u},e.prototype.spawnCallback=function(t,n){var r,i=this,a=!1,s=new Set,u=new Set,c,l=function(f){c=f,u.forEach(function(g){return g(f)}),!a&&i.send(Se(f,{origin:n}))},d;try{d=t(l,function(f){s.add(f)})}catch(f){this.send(Mt(n,f))}if(Ii(d))return this.spawnPromise(d,n);var m=(r={id:n,send:function(f){return s.forEach(function(g){return g(f)})},subscribe:function(f){var g=Cn(f);return u.add(g.next),{unsubscribe:function(){u.delete(g.next)}}},stop:function(){a=!0,te(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},r[et]=function(){return this},r);return this.children.set(n,m),m},e.prototype.spawnObservable=function(t,n){var r,i=this,a,s=t.subscribe(function(c){a=c,i.send(Se(c,{origin:n}))},function(c){i.removeChild(n),i.send(Se(Mt(n,c),{origin:n}))},function(){i.removeChild(n),i.send(Se(An(n),{origin:n}))}),u=(r={id:n,send:function(){},subscribe:function(c,l,d){return t.subscribe(c,l,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},r[et]=function(){return this},r);return this.children.set(n,u),u},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){var r=n(this.state.context,t);this.spawnEffect(t.id,r)}},e.prototype.spawnEffect=function(t,n){var r;this.children.set(t,(r={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},r[et]=function(){return this},r))},e.prototype.attachDev=function(){var t=fo();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(E(E({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:E({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}sy(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[et]=function(){return this},e.prototype.getSnapshot=function(){return this.status===we.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=Ya,e}(),ly=function(e){return X(e)?E(E({},Ur),{name:e}):E(E(E({},Ur),{name:xv()}),e)};function pn(e,t){var n=ly(t);return Kv(function(r){return r?r.spawn(e,n.name,n):lo(e,n.name)})}function Ya(e,t){var n=new cy(e,t);return n}function dy(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function mn(e){return E(E({type:$r},e),{toJSON:function(){e.onDone,e.onError;var t=ro(e,["onDone","onError"]);return E(E({},t),{type:$r,src:dy(e.src)})}})}var hn="",Rr="#",fr="*",ft={},pt=function(e){return e[0]===Rr},fy=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},py=function(){function e(t,n,r,i){r===void 0&&(r="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=r,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(fy(),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:Ua),this.id=this.config.id||oe([this.machine.key],Y(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?Vt(this.config.states,function(l,d){var m,f=new e(l,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,E((m={},m[f.id]=f,m),f.idMap)),f}):ft;var u=0;function c(l){var d,m;l.order=u++;try{for(var f=W(za(l)),g=f.next();!g.done;g=f.next()){var p=g.value;c(p)}}catch(w){d={error:w}}finally{try{g&&!g.done&&(m=f.return)&&m.call(f)}finally{if(d)throw d.error}}}c(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(l){var d=l.event;return d===hn}):hn in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Re(this.config.entry||this.config.onEntry).map(function(l){return Ht(l)}),this.onExit=Re(this.config.exit||this.config.onExit).map(function(l){return Ht(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Re(this.config.invoke).map(function(l,d){var m,f;if(wt(l)){var g=ln(a.id,d);return a.machine.options.services=E((m={},m[g]=l,m),a.machine.options.services),mn({src:g,id:g})}else if(X(l.src)){var g=l.id||ln(a.id,d);return mn(E(E({},l),{id:g,src:l.src}))}else if(wt(l.src)||te(l.src)){var g=l.id||ln(a.id,d);return a.machine.options.services=E((f={},f[g]=l.src,f),a.machine.options.services),mn(E(E({id:g},l),{src:g}))}else{var p=l.src;return mn(E(E({id:ln(a.id,d)},l),{src:p}))}}),this.activities=Re(this.config.activities).concat(this.invoke).map(function(l){return co(l)}),this.transition=this.transition.bind(this),this.tags=Re(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||Ga(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var r=this.options,i=r.actions,a=r.activities,s=r.guards,u=r.services,c=r.delays;return new e(this.config,{actions:E(E({},i),t.actions),activities:E(E({},a),t.activities),guards:E(E({},s),t.guards),services:E(E({},u),t.services),delays:E(E({},c),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return te(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:Vt(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,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),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===hn,r=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===fr});return this.__cache.candidates[t]=r,r},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var r=function(a,s){var u=te(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Hv(u,t.id);return t.onEntry.push(Kn(c,{delay:a})),t.onExit.push(Mv(c)),c},i=kt(n)?n.map(function(a,s){var u=r(a.delay,s);return E(E({},a),{event:u})}):de(Object.keys(n).map(function(a,s){var u=n[a],c=X(u)?{target:u}:u,l=isNaN(+a)?a:+a,d=r(l,s);return Re(c).map(function(m){return E(E({},m),{event:d,delay:l})})}));return i.map(function(a){var s=a.delay;return E(E({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,r=this;if(!t)return[];var i=t instanceof Fe?t.value:jt(t,this.delimiter);if(X(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),u=[this];return u.push.apply(u,oe([],Y(de(s.map(function(c){return r.getStateNode(c).getStateNodes(i[c])}))),!1)),u},e.prototype.handles=function(t){var n=Fa(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof Fe?t:Fe.create(t),r=Array.from(Lt([],this.getStateNodes(n.value)));return new Fe(E(E({},n),{value:this.resolve(n.value),configuration:r,done:Tn(r,this),tags:Pi(r),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,r){var i=this.getStateNode(t),a=i.next(n,r);return!a||!a.transitions.length?this.next(n,r):a},e.prototype.transitionCompoundNode=function(t,n,r){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},e.prototype.transitionParallelNode=function(t,n,r){var i,a,s={};try{for(var u=W(Object.keys(t)),c=u.next();!c.done;c=u.next()){var l=c.value,d=t[l];if(!!d){var m=this.getStateNode(l),f=m._transition(d,n,r);f&&(s[l]=f)}}}catch(v){i={error:v}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}var g=Object.keys(s).map(function(v){return s[v]}),p=de(g.map(function(v){return v.transitions})),w=g.some(function(v){return v.transitions.length>0});if(!w)return this.next(n,r);var _=de(g.map(function(v){return v.entrySet})),S=de(Object.keys(s).map(function(v){return s[v].configuration}));return{transitions:p,entrySet:_,exitSet:de(g.map(function(v){return v.exitSet})),configuration:S,source:n,actions:de(Object.keys(s).map(function(v){return s[v].actions}))}},e.prototype._transition=function(t,n,r){return X(t)?this.transitionLeafNode(t,n,r):Object.keys(t).length===1?this.transitionCompoundNode(t,n,r):this.transitionParallelNode(t,n,r)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,Se(n))},e.prototype.next=function(t,n){var r,i,a=this,s=n.name,u=[],c=[],l;try{for(var d=W(this.getCandidates(s)),m=d.next();!m.done;m=d.next()){var f=m.value,g=f.cond,p=f.in,w=t.context,_=p?X(p)&&pt(p)?t.matches(jt(this.getStateNodeById(p).path,this.delimiter)):so(jt(p,this.delimiter),Cv(this.path.slice(0,-2))(t.value)):!0,S=!1;try{S=!g||Ma(this.machine,g,w,n,t)}catch(C){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
30
+ `).concat(C.message))}if(S&&_){f.target!==void 0&&(c=f.target),u.push.apply(u,oe([],Y(f.actions),!1)),l=f;break}}}catch(C){r={error:C}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}if(!!l){if(!c.length)return{transitions:[l],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var v=de(c.map(function(C){return a.getRelativeStateNodes(C,t.historyValue)})),h=!!l.internal,b=[];return h||c.forEach(function(C){b.push.apply(b,oe([],Y(a.getExternalReentryNodes(C)),!1))}),{transitions:[l],entrySet:b,exitSet:h?[]:[this],configuration:v,source:t,actions:u}}},e.prototype.getExternalReentryNodes=function(t){for(var n=[],r=Y(t.order>this.order?[t,this]:[this,t],2),i=r[0],a=r[1];i&&i!==a;)n.push(i),i=i.parent;return i!==a?[]:(n.push(a),n)},e.prototype.getActions=function(t,n,r,i,a,s,u){var c,l,d,m,f=this,g=Lt([],s?this.getStateNodes(s.value):[this]);try{for(var p=W(t),w=p.next();!w.done;w=p.next()){var _=w.value;(!ht(g,_)||ht(r.entrySet,_.parent)&&!ht(r.entrySet,_))&&r.entrySet.push(_)}}catch(T){c={error:T}}finally{try{w&&!w.done&&(l=p.return)&&l.call(p)}finally{if(c)throw c.error}}try{for(var S=W(g),v=S.next();!v.done;v=S.next()){var _=v.value;(!ht(t,_)||ht(r.exitSet,_.parent))&&r.exitSet.push(_)}}catch(T){d={error:T}}finally{try{v&&!v.done&&(m=S.return)&&m.call(S)}finally{if(d)throw d.error}}var h=de(r.entrySet.map(function(T){var k=[];if(T.type!=="final")return k;var M=T.parent;if(!M.parent)return k;k.push(dn(T.id,T.doneData),dn(M.id,T.doneData?$n(T.doneData,i,a):void 0));var D=M.parent;return D.type==="parallel"&&Wt(D).every(function(L){return Tn(r.configuration,L)})&&k.push(dn(D.id)),k}));r.exitSet.sort(function(T,k){return k.order-T.order}),r.entrySet.sort(function(T,k){return T.order-k.order});var b=new Set(r.entrySet),C=new Set(r.exitSet),A=Array.from(b).map(function(T){var k=T.onEntry,M=T.activities.map(function(D){return Lv(D)});return tt(u?oe(oe([],Y(k),!1),Y(M),!1):oe(oe([],Y(M),!1),Y(k),!1),f.machine.options.actions)}).concat([h.map(Uv)]),I=Array.from(C).map(function(T){return tt(oe(oe([],Y(T.onExit),!1),Y(T.activities.map(function(k){return jv(k)})),!1),f.machine.options.actions)}),P=I.concat([tt(r.actions,this.machine.options.actions)]).concat(A);if(n){var U=tt(de(oe([],Y(t),!1).sort(function(T,k){return k.order-T.order}).map(function(T){return T.onExit})),this.machine.options.actions).filter(function(T){return T.type!==vt&&(T.type!==yt||!!T.to&&T.to!==Je.Internal)});return P.concat([U])}return P},e.prototype.transition=function(t,n,r,i){t===void 0&&(t=this.initialState);var a=Se(n),s;if(t instanceof Fe)s=r===void 0?t:this.resolveState(Fe.from(t,r));else{var u=X(t)?this.resolve(Pn(this.getResolvedPath(t))):this.resolve(t),c=r!=null?r:this.machine.context;s=this.resolveState(Fe.from(u,c))}if(this.strict&&!this.events.includes(a.name)&&!Tv(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var l=this._transition(s.value,s,a)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},d=Lt([],this.getStateNodes(s.value)),m=l.configuration.length?Lt(d,l.configuration):d;return l.configuration=oe([],Y(m),!1),this.resolveTransition(l,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,r,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=r,t.event=r.data,(a=t.actions).unshift.apply(a,oe([],Y(s),!1)),t},e.prototype.resolveTransition=function(t,n,r,i,a){var s,u,c,l,d=this;a===void 0&&(a=gt);var m=t.configuration,f=!n||t.transitions.length>0,g=f?t.configuration:n?n.configuration:[],p=Tn(g,this),w=f?Qv(this.machine,m):void 0,_=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,S=this.getActions(new Set(g),p,t,r,a,n,i),v=n?E({},n.activities):{};try{for(var h=W(S),b=h.next();!b.done;b=h.next()){var C=b.value;try{for(var A=(c=void 0,W(C)),I=A.next();!I.done;I=A.next()){var P=I.value;P.type===Pr?v[P.activity.id||P.activity.type]=P:P.type===oo&&(v[P.activity.id||P.activity.type]=!1)}}catch(pe){c={error:pe}}finally{try{I&&!I.done&&(l=A.return)&&l.call(A)}finally{if(c)throw c.error}}}}catch(pe){s={error:pe}}finally{try{b&&!b.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}var U=Y(Nn(this,n,r,a,S,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),T=U[0],k=U[1],M=Y(Ev(T,function(pe){return pe.type===vt||pe.type===yt&&pe.to===Je.Internal}),2),D=M[0],L=M[1],j=T.filter(function(pe){var De;return pe.type===Pr&&((De=pe.activity)===null||De===void 0?void 0:De.type)===$r}),fe=j.reduce(function(pe,De){return pe[De.activity.id]=qv(De.activity,d.machine,k,a),pe},n?E({},n.children):{}),ve=new Fe({value:w||n.value,context:k,_event:a,_sessionid:n?n._sessionid:null,historyValue:w?_?Pv(_,w):void 0:n?n.historyValue:void 0,history:!w||t.source?n:void 0,actions:w?L:[],activities:w?v:n?n.activities:{},events:[],configuration:g,transitions:t.transitions,children:fe,done:p,tags:Pi(g),machine:this}),Te=r!==k;ve.changed=a.name===ao||Te;var be=ve.history;be&&delete be.history;var qe=!p&&(this._transient||m.some(function(pe){return pe._transient}));if(!f&&(!qe||a.name===hn))return ve;var Ce=ve;if(!p)for(qe&&(Ce=this.resolveRaisedTransition(Ce,{type:gv},a,i));D.length;){var Ut=D.shift();Ce=this.resolveRaisedTransition(Ce,Ut._event,a,i)}var Rt=Ce.changed||(be?!!Ce.actions.length||Te||typeof be.value!=typeof Ce.value||!Wa(Ce.value,be.value):void 0);return Ce.changed=Rt,Ce.history=be,Ce},e.prototype.getStateNode=function(t){if(pt(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=pt(t)?t.slice(Rr.length):t;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&pt(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=kr(t,this.delimiter).slice(),r=this;n.length;){var i=n.shift();if(!i.length)break;r=r.getStateNode(i)}return r},e.prototype.resolve=function(t){var n,r=this;if(!t)return this.initialStateValue||ft;switch(this.type){case"parallel":return Vt(this.initialStateValue,function(a,s){return a?r.getStateNode(s).resolve(t[s]||a):ft});case"compound":if(X(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?Vt(t,function(a,s){return a?r.getStateNode(s).resolve(a):ft}):this.initialStateValue||{};default:return t||ft}},e.prototype.getResolvedPath=function(t){if(pt(t)){var n=this.machine.idMap[t.slice(Rr.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return kr(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=Ti(this.states,function(r){return r.initialStateValue||ft},function(r){return r.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=xn(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 r=this.getStateNodes(t);return this.resolveTransition({configuration:r,entrySet:r,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;X(n.target)?t=pt(n.target)?Pn(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,r){return r===void 0&&(r=!0),r?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(xn(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=bn(this.initialStateValue);return de(n.map(function(r){return t.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=Y(t),r=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var a=this.getStateNode(r);if(a.type==="history")return a.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:Ti(this.states,function(n,r){if(!t)return n.historyValue();var i=X(t)?void 0:t[r];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 r=this.parent;if(!t){var i=this.target;return i?de(bn(i).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var a=Av(r.path,"states")(t).current;return X(a)?[r.getStateNode(a)]:de(bn(a).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=de(Object.keys(this.states).map(function(r){return t.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,r,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var u=W(Object.keys(a)),c=u.next();!c.done;c=u.next()){var l=c.value,d=a[l];if(d.states)try{for(var m=(r=void 0,W(d.events)),f=m.next();!f.done;f=m.next()){var g=f.value;s.add("".concat(g))}}catch(p){r={error:p}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}}}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}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(r){if(!X(r))return r;var i=r[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(r.slice(1));var a=i?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(u){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
31
+ `).concat(u.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,r=Ov(t.target),i="internal"in t?t.internal:r?r.some(function(c){return X(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(r),u=E(E({},t),{actions:tt(Re(t.actions)),cond:Va(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return E(E({},u),{target:u.target?u.target.map(function(c){return"#".concat(c.id)}):void 0,source:"#".concat(n.id)})}});return u},e.prototype.formatTransitions=function(){var t,n,r=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=fr,u=a[s],c=u===void 0?[]:u,l=ro(a,[typeof s=="symbol"?s:s+""]);i=de(Object.keys(l).map(function(v){var h=dt(v,l[v]);return h}).concat(dt(fr,c)))}var d=this.config.always?dt("",this.config.always):[],m=this.config.onDone?dt(String(dn(this.id)),this.config.onDone):[],f=de(this.invoke.map(function(v){var h=[];return v.onDone&&h.push.apply(h,oe([],Y(dt(String(An(v.id)),v.onDone)),!1)),v.onError&&h.push.apply(h,oe([],Y(dt(String(Mt(v.id)),v.onError)),!1)),h})),g=this.after,p=de(oe(oe(oe(oe([],Y(m),!1),Y(f),!1),Y(i),!1),Y(d),!1).map(function(v){return Re(v).map(function(h){return r.formatTransition(h)})}));try{for(var w=W(g),_=w.next();!_.done;_=w.next()){var S=_.value;p.push(S)}}catch(v){t={error:v}}finally{try{_&&!_.done&&(n=w.return)&&n.call(w)}finally{if(t)throw t.error}}return p},e}(),Ni=!1;function en(e,t){return!Ra&&!e.predictableActionArguments&&!Ni&&(Ni=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new py(e,t)}var ke=Gv,po=Dv,my=Wv,Z={},mo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ActionTypes=void 0,function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(e.ActionTypes||(e.ActionTypes={})),e.SpecialTargets=void 0,function(t){t.Parent="#_parent",t.Internal="#_internal"}(e.SpecialTargets||(e.SpecialTargets={}))})(mo);var me={};Object.defineProperty(me,"__esModule",{value:!0});var ge=mo,hy=ge.ActionTypes.Start,gy=ge.ActionTypes.Stop,vy=ge.ActionTypes.Raise,yy=ge.ActionTypes.Send,wy=ge.ActionTypes.Cancel,Sy=ge.ActionTypes.NullEvent,_y=ge.ActionTypes.Assign,by=ge.ActionTypes.After,Cy=ge.ActionTypes.DoneState,Ay=ge.ActionTypes.Log,Ty=ge.ActionTypes.Init,Iy=ge.ActionTypes.Invoke,Ey=ge.ActionTypes.ErrorExecution,Py=ge.ActionTypes.ErrorPlatform,$y=ge.ActionTypes.ErrorCustom,Ny=ge.ActionTypes.Update,ky=ge.ActionTypes.Choose,xy=ge.ActionTypes.Pure;me.after=by;me.assign=_y;me.cancel=wy;me.choose=ky;me.doneState=Cy;me.error=$y;me.errorExecution=Ey;me.errorPlatform=Py;me.init=Ty;me.invoke=Iy;me.log=Ay;me.nullEvent=Sy;me.pure=xy;me.raise=vy;me.send=yy;me.start=hy;me.stop=gy;me.update=Ny;var Ka={},xt={};Object.defineProperty(xt,"__esModule",{value:!0});var Oy=".",Uy={},Ry="xstate.guard",Fy="";xt.DEFAULT_GUARD_TYPE=Ry;xt.EMPTY_ACTIVITY_MAP=Uy;xt.STATE_DELIMITER=Oy;xt.TARGETLESS_KEY=Fy;var qn={};Object.defineProperty(qn,"__esModule",{value:!0});var By=!0;qn.IS_PRODUCTION=By;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=jn,n=xt,r=qn,i;function a(y){return Object.keys(y)}function s(y,N,R){R===void 0&&(R=n.STATE_DELIMITER);var x=m(y,R),B=m(N,R);return fe(B)?fe(x)?B===x:!1:fe(x)?x in B:Object.keys(x).every(function(V){return V in B?s(x[V],B[V]):!1})}function u(y){try{return fe(y)||typeof y=="number"?"".concat(y):y.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function c(y){try{return fe(y)||typeof y=="number"?"".concat(y):j(y)?y.name:y.type}catch{throw new Error("Actions must be strings or objects with a string action.type property.")}}function l(y,N){try{return L(y)?y:y.toString().split(N)}catch{throw new Error("'".concat(y,"' is not a valid state path."))}}function d(y){return typeof y=="object"&&"value"in y&&"context"in y&&"event"in y&&"_event"in y}function m(y,N){if(d(y))return y.value;if(L(y))return f(y);if(typeof y!="string")return y;var R=l(y,N);return f(R)}function f(y){if(y.length===1)return y[0];for(var N={},R=N,x=0;x<y.length-1;x++)x===y.length-2?R[y[x]]=y[x+1]:(R[y[x]]={},R=R[y[x]]);return N}function g(y,N){for(var R={},x=Object.keys(y),B=0;B<x.length;B++){var V=x[B];R[V]=N(y[V],V,y,B)}return R}function p(y,N,R){var x,B,V={};try{for(var G=t.__values(Object.keys(y)),z=G.next();!z.done;z=G.next()){var ee=z.value,ie=y[ee];!R(ie)||(V[ee]=N(ie,ee,y))}}catch(Ee){x={error:Ee}}finally{try{z&&!z.done&&(B=G.return)&&B.call(G)}finally{if(x)throw x.error}}return V}var w=function(y){return function(N){var R,x,B=N;try{for(var V=t.__values(y),G=V.next();!G.done;G=V.next()){var z=G.value;B=B[z]}}catch(ee){R={error:ee}}finally{try{G&&!G.done&&(x=V.return)&&x.call(V)}finally{if(R)throw R.error}}return B}};function _(y,N){return function(R){var x,B,V=R;try{for(var G=t.__values(y),z=G.next();!z.done;z=G.next()){var ee=z.value;V=V[N][ee]}}catch(ie){x={error:ie}}finally{try{z&&!z.done&&(B=G.return)&&B.call(G)}finally{if(x)throw x.error}}return V}}function S(y){if(!y)return[[]];if(fe(y))return[[y]];var N=h(Object.keys(y).map(function(R){var x=y[R];return typeof x!="string"&&(!x||!Object.keys(x).length)?[[R]]:S(y[R]).map(function(B){return[R].concat(B)})}));return N}function v(y){var N,R,x={};if(y&&y.length===1&&y[0].length===1)return y[0][0];try{for(var B=t.__values(y),V=B.next();!V.done;V=B.next())for(var G=V.value,z=x,ee=0;ee<G.length;ee++){var ie=G[ee];if(ee===G.length-2){z[ie]=G[ee+1];break}z[ie]=z[ie]||{},z=z[ie]}}catch(Ee){N={error:Ee}}finally{try{V&&!V.done&&(R=B.return)&&R.call(B)}finally{if(N)throw N.error}}return x}function h(y){var N;return(N=[]).concat.apply(N,t.__spreadArray([],t.__read(y),!1))}function b(y){return L(y)?y:[y]}function C(y){return y===void 0?[]:b(y)}function A(y,N,R){var x,B;if(j(y))return y(N,R.data);var V={};try{for(var G=t.__values(Object.keys(y)),z=G.next();!z.done;z=G.next()){var ee=z.value,ie=y[ee];j(ie)?V[ee]=ie(N,R.data):V[ee]=ie}}catch(Ee){x={error:Ee}}finally{try{z&&!z.done&&(B=G.return)&&B.call(G)}finally{if(x)throw x.error}}return V}function I(y){return/^(done|error)\./.test(y)}function P(y){return!!(y instanceof Promise||y!==null&&(j(y)||typeof y=="object")&&j(y.then))}function U(y){return y!==null&&typeof y=="object"&&"transition"in y&&typeof y.transition=="function"}function T(y,N){var R,x,B=t.__read([[],[]],2),V=B[0],G=B[1];try{for(var z=t.__values(y),ee=z.next();!ee.done;ee=z.next()){var ie=ee.value;N(ie)?V.push(ie):G.push(ie)}}catch(Ee){R={error:Ee}}finally{try{ee&&!ee.done&&(x=z.return)&&x.call(z)}finally{if(R)throw R.error}}return[V,G]}function k(y,N){return g(y.states,function(R,x){if(!!R){var B=(fe(N)?void 0:N[x])||(R?R.current:void 0);if(!!B)return{current:B,states:k(R,B)}}})}function M(y,N){return{current:N,states:k(y,N)}}function D(y,N,R,x){r.IS_PRODUCTION||e.warn(!!y,"Attempting to update undefined context");var B=y&&R.reduce(function(V,G){var z,ee,ie=G.assignment,Ee={state:x,action:G,_event:N},lt={};if(j(ie))lt=ie(V,N.data,Ee);else try{for(var it=t.__values(Object.keys(ie)),Xe=it.next();!Xe.done;Xe=it.next()){var ae=Xe.value,ce=ie[ae];lt[ae]=j(ce)?ce(V,N.data,Ee):ce}}catch(Bt){z={error:Bt}}finally{try{Xe&&!Xe.done&&(ee=it.return)&&ee.call(it)}finally{if(z)throw z.error}}return Object.assign({},V,lt)},y);return B}e.warn=function(){},r.IS_PRODUCTION||(e.warn=function(y,N){var R=y instanceof Error?y:void 0;if(!(!R&&y)&&console!==void 0){var x=["Warning: ".concat(N)];R&&x.push(R),console.warn.apply(console,x)}});function L(y){return Array.isArray(y)}function j(y){return typeof y=="function"}function fe(y){return typeof y=="string"}function ve(y,N){if(!!y)return fe(y)?{type:n.DEFAULT_GUARD_TYPE,name:y,predicate:N?N[y]:void 0}:j(y)?{type:n.DEFAULT_GUARD_TYPE,name:y.name,predicate:y}:y}function Te(y){try{return"subscribe"in y&&j(y.subscribe)}catch{return!1}}var be=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qe=(i={},i[be]=function(){return this},i[Symbol.observable]=function(){return this},i);function Ce(y){return!!y&&"__xstatenode"in y}function Ut(y){return!!y&&typeof y.send=="function"}var Rt=function(){var y=0;return function(){return y++,y.toString(16)}}();function pe(y,N){return fe(y)||typeof y=="number"?t.__assign({type:y},N):y}function De(y,N){if(!fe(y)&&"$$type"in y&&y.$$type==="scxml")return y;var R=pe(y);return t.__assign({name:R.type,data:R,$$type:"scxml",type:"external"},N)}function ar(y,N){var R=b(N).map(function(x){return typeof x=="undefined"||typeof x=="string"||Ce(x)?{target:x,event:y}:t.__assign(t.__assign({},x),{event:y})});return R}function sr(y){if(!(y===void 0||y===n.TARGETLESS_KEY))return C(y)}function on(y,N,R){if(!r.IS_PRODUCTION){var x=y.stack?" Stacktrace was '".concat(y.stack,"'"):"";if(y===N)console.error("Missing onError handler for invocation '".concat(R,"', error was '").concat(y,"'.").concat(x));else{var B=N.stack?" Stacktrace was '".concat(N.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(R,"'. ")+"Original error: '".concat(y,"'. ").concat(x," Current error is '").concat(N,"'.").concat(B))}}}function an(y,N,R,x,B){var V=y.options.guards,G={state:B,cond:N,_event:x};if(N.type===n.DEFAULT_GUARD_TYPE)return((V==null?void 0:V[N.name])||N.predicate)(R,x.data,G);var z=V==null?void 0:V[N.type];if(!z)throw new Error("Guard '".concat(N.type,"' is not implemented on machine '").concat(y.id,"'."));return z(R,x.data,G)}function Ft(y){return typeof y=="string"?{type:y}:y}function ur(y,N,R){var x=function(){},B=typeof y=="object",V=B?y:null;return{next:((B?y.next:y)||x).bind(V),error:((B?y.error:N)||x).bind(V),complete:((B?y.complete:R)||x).bind(V)}}function $(y,N){return"".concat(y,":invocation[").concat(N,"]")}e.createInvokeId=$,e.evaluateGuard=an,e.flatten=h,e.getActionType=c,e.getEventType=u,e.interopSymbols=qe,e.isActor=Ut,e.isArray=L,e.isBehavior=U,e.isBuiltInEvent=I,e.isFunction=j,e.isMachine=Ce,e.isObservable=Te,e.isPromiseLike=P,e.isStateLike=d,e.isString=fe,e.keys=a,e.mapContext=A,e.mapFilterValues=p,e.mapValues=g,e.matchesState=s,e.nestedPath=_,e.normalizeTarget=sr,e.partition=T,e.path=w,e.pathToStateValue=f,e.pathsToStateValue=v,e.reportUnhandledExceptionOnInvocation=on,e.symbolObservable=be,e.toArray=C,e.toArrayStrict=b,e.toEventObject=pe,e.toGuard=ve,e.toInvokeSource=Ft,e.toObserver=ur,e.toSCXMLEvent=De,e.toStatePath=l,e.toStatePaths=S,e.toStateValue=m,e.toTransitionConfigArray=ar,e.uniqueId=Rt,e.updateContext=D,e.updateHistoryStates=k,e.updateHistoryValue=M})(Ka);Object.defineProperty(Z,"__esModule",{value:!0});var Q=jn,Pe=mo,he=me,J=Ka,qa=qn,Dy=J.toSCXMLEvent({type:he.init});function Fr(e,t){return t&&t[e]||void 0}function Jn(e,t){var n;if(J.isString(e)||typeof e=="number"){var r=Fr(e,t);J.isFunction(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(J.isFunction(e))n={type:e.name||e.toString(),exec:e};else{var r=Fr(e.type,t);if(J.isFunction(r))n=Q.__assign(Q.__assign({},e),{exec:r});else if(r){var i=r.type||e.type;n=Q.__assign(Q.__assign(Q.__assign({},r),e),{type:i})}else n=e}return n}var Br=function(e,t){if(!e)return[];var n=J.isArray(e)?e:[e];return n.map(function(r){return Jn(r,t)})};function ho(e){var t=Jn(e);return Q.__assign(Q.__assign({id:J.isString(e)?e:t.id},t),{type:t.type})}function Vy(e){return J.isString(e)?{type:he.raise,event:e}:Ot(e,{to:Pe.SpecialTargets.Internal})}function Ja(e){return{type:he.raise,_event:J.toSCXMLEvent(e.event)}}function Ot(e,t){return{to:t?t.to:void 0,type:he.send,event:J.isFunction(e)?e:J.toEventObject(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:J.isFunction(e)?e.name:J.getEventType(e)}}function Za(e,t,n,r){var i={_event:n},a=J.toSCXMLEvent(J.isFunction(e.event)?e.event(t,n.data,i):e.event),s;if(J.isString(e.delay)){var u=r&&r[e.delay];s=J.isFunction(u)?u(t,n.data,i):u}else s=J.isFunction(e.delay)?e.delay(t,n.data,i):e.delay;var c=J.isFunction(e.to)?e.to(t,n.data,i):e.to;return Q.__assign(Q.__assign({},e),{to:c,_event:a,event:a.data,delay:s})}function go(e,t){return Ot(e,Q.__assign(Q.__assign({},t),{to:Pe.SpecialTargets.Parent}))}function My(e,t,n){return Ot(t,Q.__assign(Q.__assign({},n),{to:e}))}function Ly(){return go(he.update)}function jy(e,t){return Ot(e,Q.__assign(Q.__assign({},t),{to:function(n,r,i){var a=i._event;return a.origin}}))}var zy=function(e,t){return{context:e,event:t}};function Gy(e,t){return e===void 0&&(e=zy),{type:he.log,label:t,expr:e}}var Xa=function(e,t,n){return Q.__assign(Q.__assign({},e),{value:J.isString(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Hy=function(e){return{type:he.cancel,sendId:e}};function Wy(e){var t=ho(e);return{type:Pe.ActionTypes.Start,activity:t,exec:void 0}}function Yy(e){var t=J.isFunction(e)?e:ho(e);return{type:Pe.ActionTypes.Stop,activity:t,exec:void 0}}function Qa(e,t,n){var r=J.isFunction(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:Pe.ActionTypes.Stop,activity:i};return a}var Ky=function(e){return{type:he.assign,assignment:e}};function qy(e){return typeof e=="object"&&"type"in e}function Jy(e,t){var n=t?"#".concat(t):"";return"".concat(Pe.ActionTypes.After,"(").concat(e,")").concat(n)}function Zy(e,t){var n="".concat(Pe.ActionTypes.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Xy(e,t){var n="".concat(Pe.ActionTypes.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Qy(e,t){var n="".concat(Pe.ActionTypes.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function ew(e){return{type:Pe.ActionTypes.Pure,get:e}}function tw(e,t){if(!qa.IS_PRODUCTION&&(!e||typeof e=="function")){var n=e;e=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=typeof n=="function"?n.apply(void 0,Q.__spreadArray([],Q.__read(r),!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 Ot(function(r,i){return i},Q.__assign(Q.__assign({},t),{to:e}))}function nw(e,t){return go(function(n,r,i){return{type:he.error,data:J.isFunction(e)?e(n,r,i):e}},Q.__assign(Q.__assign({},t),{to:Pe.SpecialTargets.Parent}))}function rw(e){return{type:Pe.ActionTypes.Choose,conds:e}}var ow=function(e){var t,n,r=[];try{for(var i=Q.__values(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===he.assign){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function Dr(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:ow(i),c=u.length?J.updateContext(n,r,u,t):n,l=s?[n]:void 0,d=[];function m(p){var w;switch(p.type){case he.raise:return Ja(p);case he.send:var _=Za(p,c,r,e.options.delays);return qa.IS_PRODUCTION||J.warn(!J.isString(p.delay)||typeof _.delay=="number","No delay reference for delay expression '".concat(p.delay,"' was found on machine '").concat(e.id,"'")),a&&_.to!==Pe.SpecialTargets.Internal&&d.push(_),_;case he.log:{var S=Xa(p,c,r);return a==null||a(S,c,r),S}case he.choose:{var v=p,h=(w=v.conds.find(function(D){var L=J.toGuard(D.cond,e.options.guards);return!L||J.evaluateGuard(e,L,c,r,a?void 0:t)}))===null||w===void 0?void 0:w.actions;if(!h)return[];var b=Q.__read(Dr(e,t,c,r,[Br(J.toArray(h),e.options.actions)],a,s),2),C=b[0],A=b[1];return c=A,l==null||l.push(c),C}case he.pure:{var h=p.get(c,r.data);if(!h)return[];var I=Q.__read(Dr(e,t,c,r,[Br(J.toArray(h),e.options.actions)],a,s),2),P=I[0],U=I[1];return c=U,l==null||l.push(c),P}case he.stop:{var S=Qa(p,c,r);return a==null||a(S,n,r),S}case he.assign:{c=J.updateContext(c,r,[p],a?void 0:t),l==null||l.push(c);break}default:var T=Jn(p,e.options.actions),k=T.exec;if(a)a(T,c,r);else if(k&&l){var M=l.length-1;T=Q.__assign(Q.__assign({},T),{exec:function(D){for(var L=[],j=1;j<arguments.length;j++)L[j-1]=arguments[j];k.apply(void 0,Q.__spreadArray([l[M]],Q.__read(L),!1))}})}return T}}function f(p){var w,_,S=[];try{for(var v=Q.__values(p),h=v.next();!h.done;h=v.next()){var b=h.value,C=m(b);C&&(S=S.concat(C))}}catch(A){w={error:A}}finally{try{h&&!h.done&&(_=v.return)&&_.call(v)}finally{if(w)throw w.error}}return d.forEach(function(A){a(A,c,r)}),d.length=0,S}var g=J.flatten(i.map(f));return[g,c]}Z.actionTypes=he;Z.after=Jy;var ue=Z.assign=Ky;Z.cancel=Hy;var iw=Z.choose=rw;Z.done=Zy;Z.doneInvoke=Xy;Z.error=Qy;Z.escalate=nw;Z.forwardTo=tw;Z.getActionFunction=Fr;Z.initEvent=Dy;Z.isActionObject=qy;Z.log=Gy;Z.pure=ew;Z.raise=Vy;Z.resolveActions=Dr;Z.resolveLog=Xa;Z.resolveRaise=Ja;Z.resolveSend=Za;Z.resolveStop=Qa;Z.respond=jy;Z.send=Ot;Z.sendParent=go;Z.sendTo=My;Z.sendUpdate=Ly;Z.start=Wy;var aw=Z.stop=Yy;Z.toActionObject=Jn;Z.toActionObjects=Br;Z.toActivityDefinition=ho;var gn=function(e){return aw(e)},sw=ue({attributeToVerify:function(e){}}),uw=ue({challengeName:function(e){}}),cw=ue({requiredAttributes:function(e){}}),vo=ue({remoteError:function(e){return""}}),yo=ue({formValues:function(e){return{}}}),wo=ue({touched:function(e){return{}}}),lw=ue({unverifiedContactMethods:function(e){}}),dw=ue({username:function(e){}}),So=ue({validationError:function(e){return{}}}),fw=ue({challengeName:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),pw=ue({requiredAttributes:function(e,t){var n,r;return(r=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||r===void 0?void 0:r.requiredAttributes}}),mw=ue({redirectIntent:function(e){return"confirmPasswordReset"}}),hw=ue({redirectIntent:function(e){return"confirmSignUp"}}),es=ue({authAttributes:function(e,t){var n,r,i=e.loginMechanisms[0];return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(r=e.formValues)===null||r===void 0?void 0:r.password}}}),_o=ue({validationError:function(e,t){return t.data}}),bo=ue({remoteError:function(e,t){var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),gw=ue({unverifiedContactMethods:function(e,t){return t.data.unverified}}),ts=ue({user:function(e,t){return t.data.user||t.data}}),vw=ue({username:function(e,t){var n=e.formValues,r=n.username,i=n.country_code;return i&&(r="".concat(i).concat(r)),r}}),yw=ue({codeDeliveryDetails:function(e,t){return t.data.codeDeliveryDetails}}),ww=ue({authAttributes:function(e,t){return{username:e.formValues.username}}}),Co=ue({formValues:function(e,t){var n,r=t.data,i=r.name,a=r.value;return O(O({},e.formValues),((n={})[i]=a,n))}}),Ao=ue({formValues:function(e,t){return O(O({},e.formValues),t.data)}}),To=ue({touched:function(e,t){var n,r=t.data.name;return O(O({},e.touched),((n={})["".concat(r)]=!0,n))}}),Sw=function(e){return K(void 0,void 0,void 0,function(){var t;return q(this,function(n){switch(n.label){case 0:return t=e.username,[4,le.Auth.forgotPassword(t)];case 1:return[2,n.sent()]}})})},ns=ue({formValues:function(e,t){var n,r,i=e.loginMechanisms[0],a=i===void 0?"username":i;if(!e.formValues.phone_number&&a!=="phone_number")return e.formValues;var s=e.formValues,u=e.country_code,c=s.phone_number?"phone_number":"username",l="".concat((r=s.country_code)!==null&&r!==void 0?r:u).concat(s[c]).replace(/[^A-Z0-9+]/gi,""),d=O(O({},s),((n={})[c]=l,n));return delete d.country_code,d}}),_w=Be,bw=Yr,Cw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Aw=/^\w*$/;function Tw(e,t){if(_w(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||bw(e)?!0:Aw.test(e)||!Cw.test(e)||t!=null&&e in Object(t)}var Io=Tw,rs=Zr,Iw="Expected a function";function Eo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Iw);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(Eo.Cache||rs),n}Eo.Cache=rs;var Ew=Eo,Pw=Ew,$w=500;function Nw(e){var t=Pw(e,function(r){return n.size===$w&&n.clear(),r}),n=t.cache;return t}var kw=Nw,xw=kw,Ow=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Uw=/\\(\\)?/g,Rw=xw(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ow,function(n,r,i,a){t.push(i?a.replace(Uw,"$1"):r||n)}),t}),Fw=Rw,ki=Kt,Bw=ua,Dw=Be,Vw=Yr,Mw=1/0,xi=ki?ki.prototype:void 0,Oi=xi?xi.toString:void 0;function os(e){if(typeof e=="string")return e;if(Dw(e))return Bw(e,os)+"";if(Vw(e))return Oi?Oi.call(e):"";var t=e+"";return t=="0"&&1/e==-Mw?"-0":t}var Lw=os,jw=Lw;function zw(e){return e==null?"":jw(e)}var Gw=zw,Hw=Be,Ww=Io,Yw=Fw,Kw=Gw;function qw(e,t){return Hw(e)?e:Ww(e,t)?[e]:Yw(Kw(e))}var Zn=qw,Jw=Yr,Zw=1/0;function Xw(e){if(typeof e=="string"||Jw(e))return e;var t=e+"";return t=="0"&&1/e==-Zw?"-0":t}var tn=Xw,Qw=Zn,eS=tn;function tS(e,t){t=Qw(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[eS(t[n++])];return n&&n==r?e:void 0}var Po=tS,nS=Po;function rS(e,t,n){var r=e==null?void 0:nS(e,t);return r===void 0?n:r}var st=rS,oS=fa,iS=Qt,aS=Bn,sS=Be,uS=qt,cS=ut.exports,lS=Mn,dS=Vn,fS="[object Map]",pS="[object Set]",mS=Object.prototype,hS=mS.hasOwnProperty;function gS(e){if(e==null)return!0;if(uS(e)&&(sS(e)||typeof e=="string"||typeof e.splice=="function"||cS(e)||dS(e)||aS(e)))return!e.length;var t=iS(e);if(t==fS||t==pS)return!e.size;if(lS(e))return!oS(e).length;for(var n in e)if(hS.call(e,n))return!1;return!0}var Vr=gS,vS=Xr,yS=Jt;function wS(e,t,n){(n!==void 0&&!yS(e[t],n)||n===void 0&&!(t in e))&&vS(e,t,n)}var is=wS;function SS(e){return function(t,n,r){for(var i=-1,a=Object(t),s=r(t),u=s.length;u--;){var c=s[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var _S=SS,bS=_S,CS=bS(),AS=CS,TS=qt,IS=Ze;function ES(e){return IS(e)&&TS(e)}var PS=ES,$S=Tt,NS=to,kS=Ze,xS="[object Object]",OS=Function.prototype,US=Object.prototype,as=OS.toString,RS=US.hasOwnProperty,FS=as.call(Object);function BS(e){if(!kS(e)||$S(e)!=xS)return!1;var t=NS(e);if(t===null)return!0;var n=RS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&as.call(n)==FS}var DS=BS;function VS(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ss=VS,MS=Zt,LS=Xt;function jS(e){return MS(e,LS(e))}var zS=jS,Ui=is,GS=En.exports,HS=Ea,WS=ya,YS=Pa,Ri=Bn,Fi=Be,KS=PS,qS=ut.exports,JS=Hr,ZS=je,XS=DS,QS=Vn,Bi=ss,e_=zS;function t_(e,t,n,r,i,a,s){var u=Bi(e,n),c=Bi(t,n),l=s.get(c);if(l){Ui(e,n,l);return}var d=a?a(u,c,n+"",e,t,s):void 0,m=d===void 0;if(m){var f=Fi(c),g=!f&&qS(c),p=!f&&!g&&QS(c);d=c,f||g||p?Fi(u)?d=u:KS(u)?d=WS(u):g?(m=!1,d=GS(c,!0)):p?(m=!1,d=HS(c,!0)):d=[]:XS(c)||Ri(c)?(d=u,Ri(u)?d=e_(u):(!ZS(u)||JS(u))&&(d=YS(c))):m=!1}m&&(s.set(c,d),i(d,c,r,a,s),s.delete(c)),Ui(e,n,d)}var n_=t_,r_=Yn,o_=is,i_=AS,a_=n_,s_=je,u_=Xt,c_=ss;function us(e,t,n,r,i){e!==t&&i_(t,function(a,s){if(i||(i=new r_),s_(a))a_(e,t,s,n,us,r,i);else{var u=r?r(c_(e,s),a,s+"",e,t,i):void 0;u===void 0&&(u=a),o_(e,s,u)}},u_)}var l_=us;function d_(e){return e}var $o=d_;function f_(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_=f_,m_=p_,Di=Math.max;function h_(e,t,n){return t=Di(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Di(r.length-t,0),s=Array(a);++i<a;)s[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(s),m_(e,this,u)}}var g_=h_;function v_(e){return function(){return e}}var y_=v_,w_=y_,Vi=va,S_=$o,__=Vi?function(e,t){return Vi(e,"toString",{configurable:!0,enumerable:!1,value:w_(t),writable:!0})}:S_,b_=__,C_=800,A_=16,T_=Date.now;function I_(e){var t=0,n=0;return function(){var r=T_(),i=A_-(r-n);if(n=r,i>0){if(++t>=C_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var E_=I_,P_=b_,$_=E_,N_=$_(P_),k_=N_,x_=$o,O_=g_,U_=k_;function R_(e,t){return U_(O_(e,t,x_),e+"")}var F_=R_,B_=Jt,D_=qt,V_=Dn,M_=je;function L_(e,t,n){if(!M_(n))return!1;var r=typeof t;return(r=="number"?D_(n)&&V_(t,n.length):r=="string"&&t in n)?B_(n[t],e):!1}var j_=L_,z_=F_,G_=j_;function H_(e){return z_(function(t,n){var r=-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&&G_(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var W_=H_,Y_=l_,K_=W_,q_=K_(function(e,t,n){Y_(e,t,n)}),J_=q_,No=function(e,t,n,r){return K(void 0,void 0,void 0,function(){var i,a;return q(this,function(s){switch(s.label){case 0:return[4,Promise.all(r.map(function(u){return u(e,t,n)}))];case 1:return i=s.sent(),a=J_.apply(void 0,Ve([{}],i,!1)),Vr(a)?[2,Promise.resolve()]:[2,Promise.reject(a)]}})})},St={getAmplifyConfig:function(){return K(this,void 0,void 0,function(){return q(this,function(e){return[2,le.Amplify.configure()]})})},getCurrentUser:function(){return K(this,void 0,void 0,function(){return q(this,function(e){return[2,le.Auth.currentAuthenticatedUser()]})})},handleSignUp:function(e){return K(this,void 0,void 0,function(){return q(this,function(t){return[2,le.Auth.signUp(O(O({},e),{autoSignIn:{enabled:!0}}))]})})},handleSignIn:function(e){var t=e.username,n=e.password;return K(this,void 0,void 0,function(){return q(this,function(r){return[2,le.Auth.signIn(t,n)]})})},handleConfirmSignIn:function(e){var t=e.user,n=e.code,r=e.mfaType;return K(this,void 0,void 0,function(){return q(this,function(i){return[2,le.Auth.confirmSignIn(t,n,r)]})})},handleConfirmSignUp:function(e){var t=e.username,n=e.code;return K(this,void 0,void 0,function(){return q(this,function(r){switch(r.label){case 0:return[4,le.Auth.confirmSignUp(t,n)];case 1:return[2,r.sent()]}})})},handleForgotPasswordSubmit:function(e){var t=e.username,n=e.code,r=e.password;return K(this,void 0,void 0,function(){return q(this,function(i){return[2,le.Auth.forgotPasswordSubmit(t,n,r)]})})},handleForgotPassword:function(e){return K(this,void 0,void 0,function(){return q(this,function(t){return[2,le.Auth.forgotPassword(e)]})})},validateCustomSignUp:function(e,t){return K(this,void 0,void 0,function(){return q(this,function(n){return[2]})})},validateFormPassword:function(e,t,n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){return r=e.password,t.password&&n?(i=[],a=+(n==null?void 0:n.passwordPolicyMinLength),r.length<a&&i.push("Password must have at least ".concat(a," characters")),(s=n==null?void 0:n.passwordPolicyCharacters)==null||s.forEach(function(c){switch(c){case"REQUIRES_LOWERCASE":/[a-z]/.test(r)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(r)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(r)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":jl(r)||i.push("Password must have special characters")}}),[2,i.length!==0?{password:i}:null]):[2,null]})})},validateConfirmPassword:function(e,t){return K(this,void 0,void 0,function(){var n,r,i,a;return q(this,function(s){return n=e.password,r=e.confirm_password,i=t.confirm_password,a=t.password,n||r?(n||r)&&n!==r&&(i&&a||(n==null?void 0:n.length)>=6&&(r==null?void 0:r.length)>=6)?[2,{confirm_password:"Your passwords must match"}]:[2]:[2,null]})})},validatePreferredUsername:function(e,t){return K(this,void 0,void 0,function(){return q(this,function(n){return[2]})})}},Z_=["SMS_MFA","SOFTWARE_TOKEN_MFA"],pr=function(e){return st(e,"data.challengeName")},Mi=function(e,t){return e===t},Li=function(e){return Z_.includes(e)};function X_(e){var t=e.services;return en({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"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:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:function(n){return{user:n.user}}},rejected:{type:"final",data:function(n,r){return{intent:n.redirectIntent,authAttributes:n.authAttributes}}}}},{actions:{clearAttributeToVerify:sw,clearChallengeName:uw,clearRequiredAttributes:cw,clearError:vo,clearFormValues:yo,clearTouched:wo,clearUnverifiedContactMethods:lw,clearValidationError:So,handleInput:Co,handleSubmit:Ao,handleBlur:To,parsePhoneNumber:ns,setChallengeName:fw,setConfirmResetPasswordIntent:mw,setConfirmSignUpIntent:hw,setRequiredAttributes:pw,setCredentials:es,setFieldErrors:_o,setRemoteError:bo,setUnverifiedContactMethods:gw,setUser:ts,setUsernameAuthAttributes:ww,sendUpdate:po()},guards:{shouldAutoSignIn:function(n){return(n==null?void 0:n.intent)==="autoSignIn"},shouldAutoSubmit:function(n){return(n==null?void 0:n.intent)==="autoSignInSubmit"},shouldConfirmSignIn:function(n,r){return Li(pr(r))},shouldForceChangePassword:function(n,r){return Mi(pr(r),"NEW_PASSWORD_REQUIRED")},shouldRedirectToConfirmResetPassword:function(n,r){return r.data.code==="PasswordResetRequiredException"},shouldRedirectToConfirmSignUp:function(n,r){return r.data.code==="UserNotConfirmedException"},shouldRequestVerification:function(n,r){var i=r.data,a=i.unverified,s=i.verified;return Vr(s)&&!Vr(a)},shouldSetupTOTP:function(n,r){return Mi(pr(r),"MFA_SETUP")}},services:{signIn:function(n){return K(this,void 0,void 0,function(){var r,i,a,s,u,c,l;return q(this,function(d){switch(d.label){case 0:return r=n.authAttributes,i=r===void 0?{}:r,a=n.formValues,s=a===void 0?{}:a,u=O(O({},i),s),c=u.username,l=u.password,[4,t.handleSignIn({username:c,password:l})];case 1:return[2,d.sent()]}})})},confirmSignIn:function(n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){switch(u.label){case 0:return r=n.challengeName,i=n.user,a=n.formValues.confirmation_code,s=Li(r)?r:void 0,[4,t.handleConfirmSignIn({user:i,code:a,mfaType:s})];case 1:return u.sent(),[4,le.Auth.currentAuthenticatedUser()];case 2:return[2,u.sent()]}})})},forceNewPassword:function(n){return K(this,void 0,void 0,function(){var r,i,a,s,u,c,l,d,m;return q(this,function(f){switch(f.label){case 0:r=n.user,i=n.formValues,a=i.password,i.confirm_password,s=i.phone_number,u=i.country_code,c=pa(i,["password","confirm_password","phone_number","country_code"]),s&&(l="".concat(u).concat(s).replace(/[^A-Z0-9+]/gi,""),c=O(O({},c),{phone_number:l})),f.label=1;case 1:return f.trys.push([1,3,,4]),[4,le.Auth.completeNewPassword(r,a,c)];case 2:return(d=f.sent()).challengeName?[2,d]:[2,le.Auth.currentAuthenticatedUser()];case 3:return m=f.sent(),[2,Promise.reject(m)];case 4:return[2]}})})},verifyTotpToken:function(n){return K(this,void 0,void 0,function(){var r,i,a;return q(this,function(s){return r=n.formValues,i=n.user,a=r.confirmation_code,[2,le.Auth.verifyTotpToken(i,a)]})})},federatedSignIn:function(n,r){return K(this,void 0,void 0,function(){var i;return q(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,le.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},checkVerifiedContact:function(n){return K(this,void 0,void 0,function(){var r;return q(this,function(i){switch(i.label){case 0:return r=n.user,[4,le.Auth.verifiedContact(r)];case 1:return[2,i.sent()]}})})},verifyUser:function(n){return K(this,void 0,void 0,function(){var r,i;return q(this,function(a){switch(a.label){case 0:return r=n.formValues.unverifiedAttr,[4,le.Auth.verifyCurrentUserAttribute(r)];case 1:return i=a.sent(),n.attributeToVerify=r,[2,i]}})})},confirmVerifyUser:function(n){return K(this,void 0,void 0,function(){var r,i;return q(this,function(a){switch(a.label){case 0:return r=n.attributeToVerify,i=n.formValues.confirmation_code,[4,le.Auth.verifyCurrentUserAttributeSubmit(r,i)];case 1:return[2,a.sent()]}})})},validateFields:function(n){return K(this,void 0,void 0,function(){return q(this,function(r){return[2,No(n.formValues,n.touched,n.passwordSettings,[St.validateFormPassword,St.validateConfirmPassword])]})})}}})}var Q_=en({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:function(){return le.Auth.signOut()}}});function eb(e){var t=e.services;return en({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:vo,clearFormValues:yo,clearTouched:wo,clearUsername:dw,clearValidationError:So,handleInput:Co,handleSubmit:Ao,handleBlur:To,resendCode:Sw,setFieldErrors:_o,setRemoteError:bo,setUsername:vw,sendUpdate:po()},guards:{shouldAutoConfirmReset:function(n,r){return!(!n.intent||n.intent!=="confirmPasswordReset")}},services:{resetPassword:function(n){return K(this,void 0,void 0,function(){var r;return q(this,function(i){return r=n.username,[2,t.handleForgotPassword(r)]})})},confirmResetPassword:function(n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){return r=n.username,i=n.formValues,a=i.confirmation_code,s=i.password,[2,t.handleForgotPasswordSubmit({username:r,code:a,password:s})]})})},validateFields:function(n,r){return K(this,void 0,void 0,function(){return q(this,function(i){return[2,No(n.formValues,n.touched,n.passwordSettings,[St.validateFormPassword,St.validateConfirmPassword])]})})}}})}var tb="__lodash_hash_undefined__";function nb(e){return this.__data__.set(e,tb),this}var rb=nb;function ob(e){return this.__data__.has(e)}var ib=ob,ab=Zr,sb=rb,ub=ib;function On(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ab;++t<n;)this.add(e[t])}On.prototype.add=On.prototype.push=sb;On.prototype.has=ub;var cb=On;function lb(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var db=lb;function fb(e,t){return e.has(t)}var pb=fb,mb=cb,hb=db,gb=pb,vb=1,yb=2;function wb(e,t,n,r,i,a){var s=n&vb,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var l=a.get(e),d=a.get(t);if(l&&d)return l==t&&d==e;var m=-1,f=!0,g=n&yb?new mb:void 0;for(a.set(e,t),a.set(t,e);++m<u;){var p=e[m],w=t[m];if(r)var _=s?r(w,p,m,t,e,a):r(p,w,m,e,t,a);if(_!==void 0){if(_)continue;f=!1;break}if(g){if(!hb(t,function(S,v){if(!gb(g,v)&&(p===S||i(p,S,n,r,a)))return g.push(v)})){f=!1;break}}else if(!(p===w||i(p,w,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var cs=wb;function Sb(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var _b=Sb;function bb(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Cb=bb,ji=Kt,zi=Ia,Ab=Jt,Tb=cs,Ib=_b,Eb=Cb,Pb=1,$b=2,Nb="[object Boolean]",kb="[object Date]",xb="[object Error]",Ob="[object Map]",Ub="[object Number]",Rb="[object RegExp]",Fb="[object Set]",Bb="[object String]",Db="[object Symbol]",Vb="[object ArrayBuffer]",Mb="[object DataView]",Gi=ji?ji.prototype:void 0,mr=Gi?Gi.valueOf:void 0;function Lb(e,t,n,r,i,a,s){switch(n){case Mb:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Vb:return!(e.byteLength!=t.byteLength||!a(new zi(e),new zi(t)));case Nb:case kb:case Ub:return Ab(+e,+t);case xb:return e.name==t.name&&e.message==t.message;case Rb:case Bb:return e==t+"";case Ob:var u=Ib;case Fb:var c=r&Pb;if(u||(u=Eb),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=$b,s.set(e,t);var d=Tb(u(e),u(t),r,i,a,s);return s.delete(e),d;case Db:if(mr)return mr.call(e)==mr.call(t)}return!1}var jb=Lb,Hi=Ca,zb=1,Gb=Object.prototype,Hb=Gb.hasOwnProperty;function Wb(e,t,n,r,i,a){var s=n&zb,u=Hi(e),c=u.length,l=Hi(t),d=l.length;if(c!=d&&!s)return!1;for(var m=c;m--;){var f=u[m];if(!(s?f in t:Hb.call(t,f)))return!1}var g=a.get(e),p=a.get(t);if(g&&p)return g==t&&p==e;var w=!0;a.set(e,t),a.set(t,e);for(var _=s;++m<c;){f=u[m];var S=e[f],v=t[f];if(r)var h=s?r(v,S,f,t,e,a):r(S,v,f,e,t,a);if(!(h===void 0?S===v||i(S,v,n,r,a):h)){w=!1;break}_||(_=f=="constructor")}if(w&&!_){var b=e.constructor,C=t.constructor;b!=C&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof C=="function"&&C instanceof C)&&(w=!1)}return a.delete(e),a.delete(t),w}var Yb=Wb,hr=Yn,Kb=cs,qb=jb,Jb=Yb,Wi=Qt,Yi=Be,Ki=ut.exports,Zb=Vn,Xb=1,qi="[object Arguments]",Ji="[object Array]",vn="[object Object]",Qb=Object.prototype,Zi=Qb.hasOwnProperty;function e1(e,t,n,r,i,a){var s=Yi(e),u=Yi(t),c=s?Ji:Wi(e),l=u?Ji:Wi(t);c=c==qi?vn:c,l=l==qi?vn:l;var d=c==vn,m=l==vn,f=c==l;if(f&&Ki(e)){if(!Ki(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new hr),s||Zb(e)?Kb(e,t,n,r,i,a):qb(e,t,c,n,r,i,a);if(!(n&Xb)){var g=d&&Zi.call(e,"__wrapped__"),p=m&&Zi.call(t,"__wrapped__");if(g||p){var w=g?e.value():e,_=p?t.value():t;return a||(a=new hr),i(w,_,n,r,a)}}return f?(a||(a=new hr),Jb(e,t,n,r,i,a)):!1}var t1=e1,n1=t1,Xi=Ze;function ls(e,t,n,r,i){return e===t?!0:e==null||t==null||!Xi(e)&&!Xi(t)?e!==e&&t!==t:n1(e,t,n,r,ls,i)}var ds=ls,r1=Yn,o1=ds,i1=1,a1=2;function s1(e,t,n,r){var i=n.length,a=i,s=!r;if(e==null)return!a;for(e=Object(e);i--;){var u=n[i];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<a;){u=n[i];var c=u[0],l=e[c],d=u[1];if(s&&u[2]){if(l===void 0&&!(c in e))return!1}else{var m=new r1;if(r)var f=r(l,d,c,e,t,m);if(!(f===void 0?o1(d,l,i1|a1,r,m):f))return!1}}return!0}var u1=s1,c1=je;function l1(e){return e===e&&!c1(e)}var fs=l1,d1=fs,f1=Ln;function p1(e){for(var t=f1(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,d1(i)]}return t}var m1=p1;function h1(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var ps=h1,g1=u1,v1=m1,y1=ps;function w1(e){var t=v1(e);return t.length==1&&t[0][2]?y1(t[0][0],t[0][1]):function(n){return n===e||g1(n,e,t)}}var S1=w1;function _1(e,t){return e!=null&&t in Object(e)}var b1=_1,C1=Zn,A1=Bn,T1=Be,I1=Dn,E1=Wr,P1=tn;function $1(e,t,n){t=C1(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var s=P1(t[r]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&E1(i)&&I1(s,i)&&(T1(e)||A1(e)))}var N1=$1,k1=b1,x1=N1;function O1(e,t){return e!=null&&x1(e,t,k1)}var U1=O1,R1=ds,F1=st,B1=U1,D1=Io,V1=fs,M1=ps,L1=tn,j1=1,z1=2;function G1(e,t){return D1(e)&&V1(t)?M1(L1(e),t):function(n){var r=F1(n,e);return r===void 0&&r===t?B1(n,e):R1(t,r,j1|z1)}}var H1=G1;function W1(e){return function(t){return t==null?void 0:t[e]}}var Y1=W1,K1=Po;function q1(e){return function(t){return K1(t,e)}}var J1=q1,Z1=Y1,X1=J1,Q1=Io,eC=tn;function tC(e){return Q1(e)?Z1(eC(e)):X1(e)}var nC=tC,rC=S1,oC=H1,iC=$o,aC=Be,sC=nC;function uC(e){return typeof e=="function"?e:e==null?iC:typeof e=="object"?aC(e)?oC(e[0],e[1]):rC(e):sC(e)}var cC=uC,lC=Qr,dC=Zn,fC=Dn,Qi=je,pC=tn;function mC(e,t,n,r){if(!Qi(e))return e;t=dC(t,e);for(var i=-1,a=t.length,s=a-1,u=e;u!=null&&++i<a;){var c=pC(t[i]),l=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=s){var d=u[c];l=r?r(d,c,u):void 0,l===void 0&&(l=Qi(d)?d:fC(t[i+1])?[]:{})}lC(u,c,l),u=u[c]}return e}var hC=mC,gC=Po,vC=hC,yC=Zn;function wC(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],u=gC(e,s);n(u,s)&&vC(a,yC(s,e),u)}return a}var SC=wC,_C=ua,bC=cC,CC=SC,AC=Aa;function TC(e,t){if(e==null)return{};var n=_C(AC(e),function(r){return[r]});return t=bC(t),CC(e,n,function(r,i){return t(r,i[0])})}var IC=TC;function EC(e){var t=e.services;return en({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:function(n,r){var i=n.authAttributes,a=i.username,s=i.password;return{user:st(r,"data.user")||n.user,authAttributes:{username:a,password:s},intent:n.intent}}}}},{guards:{isUserAlreadyConfirmed:function(n,r){return r.data.message==="User is already confirmed."},shouldInitConfirmSignUp:function(n){return n.intent&&n.intent==="confirmSignUp"},shouldSkipConfirm:function(n,r){return r.data.userConfirmed}},actions:{clearError:vo,clearFormValues:yo,clearTouched:wo,clearValidationError:So,handleInput:Co,handleSubmit:Ao,handleBlur:To,parsePhoneNumber:ns,setCredentials:es,setFieldErrors:_o,setRemoteError:bo,setCodeDeliveryDetails:yw,setUser:ts,sendUpdate:po(),setAutoSignInIntent:ke({intent:function(n){return(n==null?void 0:n.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"}})},services:{confirmSignUp:function(n,r){return K(this,void 0,void 0,function(){var i,a,s,u,c;return q(this,function(l){switch(l.label){case 0:return i=n.user,a=n.authAttributes,s=n.formValues,u=s.confirmation_code,c=st(i,"username")||st(a,"username"),[4,t.handleConfirmSignUp({username:c,code:u})];case 1:return[2,l.sent()]}})})},resendConfirmationCode:function(n,r){return K(this,void 0,void 0,function(){var i,a,s;return q(this,function(u){return i=n.user,a=n.authAttributes,s=st(i,"username")||st(a,"username"),[2,le.Auth.resendSignUp(s)]})})},federatedSignIn:function(n,r){return K(this,void 0,void 0,function(){var i;return q(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,le.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},signUp:function(n,r){return K(this,void 0,void 0,function(){var i,a,s,u,c,l,d;return q(this,function(m){switch(m.label){case 0:return i=n.formValues,a=n.loginMechanisms,s=a[0],c=(u=i)[s===void 0?"username":s],l=u.password,d=IC(i,function(f,g){switch(g){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 g.startsWith("custom:")}}),[4,t.handleSignUp({username:c,password:l,attributes:d})];case 1:return[2,m.sent()]}})})},validateSignUp:function(n,r){return K(this,void 0,void 0,function(){return q(this,function(i){return[2,No(n.formValues,n.touched,n.passwordSettings,[t.validateFormPassword,t.validateConfirmPassword,t.validatePreferredUsername,t.validateCustomSignUp])]})})}}})}function PC(){return en({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:St,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:iw([{cond:"hasActor",actions:my(function(e){return e.actorRef})}]),setUser:ke({user:function(e,t){return t.data}}),setActorDoneData:ke({actorDoneData:function(e,t){var n,r;return{authAttributes:O({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(r=t.data)===null||r===void 0?void 0:r.intent}},user:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:ke({user:void 0}),clearActorDoneData:ke({actorDoneData:void 0}),applyAmplifyConfig:ke({config:function(e,t){var n,r,i,a,s,u,c,l,d,m=(r=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(function(C){return C.toLowerCase()}))!==null&&r!==void 0?r:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(function(C){return C.toLowerCase()}))!==null&&a!==void 0?a:[],g=(u=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(function(C){return C.toLowerCase()}))!==null&&u!==void 0?u:[],p=(l=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(function(C){return C.toLowerCase()}))!==null&&l!==void 0?l:[],w=t.data.aws_cognito_password_protection_settings||{};m.length===0&&m.push("username");var _=e.config,S=_.loginMechanisms,v=_.signUpAttributes,h=_.socialProviders,b=_.initialState;return{loginMechanisms:S!=null?S:m,formFields:(d=$C(_.formFields))!==null&&d!==void 0?d:{},passwordSettings:w,signUpAttributes:v!=null?v:Array.from(new Set(Ve(Ve([],f,!0),g,!0))),socialProviders:h!=null?h:p.sort(),initialState:b}}}),spawnSignInActor:ke({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=X_({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(u=e.config)===null||u===void 0?void 0:u.socialProviders,formFields:(c=e.config)===null||c===void 0?void 0:c.formFields});return pn(d,{name:"signInActor"})}}),spawnSignUpActor:ke({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=EC({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(u=e.config)===null||u===void 0?void 0:u.formFields,passwordSettings:(c=e.config)===null||c===void 0?void 0:c.passwordSettings});return pn(d,{name:"signUpActor"})}}),spawnResetPasswordActor:ke({actorRef:function(e,t){var n,r,i,a,s,u=e.services,c=eb({services:u}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(r=e.actorDoneData)===null||r===void 0?void 0:r.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return pn(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:ke({actorRef:function(e){var t=Q_.withContext({user:e.user});return pn(t,{name:"signOutActor"})}}),stopSignInActor:gn("signInActor"),stopSignUpActor:gn("signUpActor"),stopResetPasswordActor:gn("resetPasswordActor"),stopSignOutActor:gn("signOutActor"),configure:ke(function(e,t){var n=t.data,r=n.services,i=pa(n,["services"]);return{services:O(O({},St),r),config:i}}),setHasSetup:ke({hasSetup:!0})},guards:{isInitialStateSignUp:function(e){return e.config.initialState==="signUp"},isInitialStateResetPassword:function(e){return e.config.initialState==="resetPassword"},shouldRedirectToSignUp:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:function(e,t){var n,r;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((r=t.data)===null||r===void 0?void 0:r.intent)==="autoSignInSubmit"},shouldSetup:function(e){return e.hasSetup===!1},hasActor:function(e){return!!e.actorRef}},services:{getCurrentUser:function(e,t){return e.services.getCurrentUser()},getAmplifyConfig:function(e,t){return e.services.getAmplifyConfig()}}})}function $C(e){return e&&Object.keys(e).forEach(function(t){Object.keys(e[t]).forEach(function(n){var r=e[t][n];r.required=r.isRequired})}),e}const NC={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},kC={class:"amplify-flex amplify-authenticator__icon-wrapper"},xC=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.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),OC=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.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),Ge={__name:"base-alert",setup(e){const t=o.ref(!0),n=F("Dismiss alert");function r(){t.value=!1}return(i,a)=>{const s=Ie;return t.value?(o.openBlock(),o.createElementBlock("div",NC,[o.createElementVNode("div",kC,[xC,o.createElementVNode("div",null,[o.renderSlot(i.$slots,"default")])]),o.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":o.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:r},{default:o.withCtx(()=>[OC]),_:1},8,["aria-label"])])):o.createCommentVNode("",!0)}}};var Xn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const UC={};function RC(e,t){return o.openBlock(),o.createElementBlock("div",null,[o.renderSlot(e.$slots,"default")])}var _e=Xn(UC,[["render",RC]]);const He=o.defineComponent({__name:"base-form",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"formt",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("form",o.mergeProps({"data-amplify-form":""},n.$attrs),[o.renderSlot(n.$slots,"default")],16)])}}),We=o.defineComponent({__name:"base-footer",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"footert",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("footer",o.normalizeProps(o.guardReactiveProps(n.$attrs)),[o.renderSlot(n.$slots,"default")],16)])}});function FC(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function Oe(e){let t=0,n,r;const i=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,n||(r=o.effectScope(!0),n=r.run(()=>e(...a))),FC(i),n)}var Un=globalThis&&globalThis.__assign||function(){return Un=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Un.apply(this,arguments)},BC=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function DC(e,t,n){if(typeof e=="object")return e;var r=function(){};return{next:e,error:t||r,complete:n||r}}function VC(e,t,n){t===void 0&&(t={});var r=typeof e=="function"?e():e,i=t.context,a=t.guards,s=t.actions,u=t.activities,c=t.services,l=t.delays,d=t.state,m=BC(t,["context","guards","actions","activities","services","delays","state"]),f={context:i,guards:a,actions:s,activities:u,services:c,delays:l},g=r.withConfig(f,function(){return Un(Un({},r.context),i)}),p=Ya(g,m).start(d?Fe.create(d):void 0),w;return o.onMounted(function(){n&&(w=p.subscribe(DC(n)))}),o.onBeforeUnmount(function(){p.stop(),w==null||w.unsubscribe()}),p}function MC(e){return"state"in e}var ea=function(){};function LC(e){return"getSnapshot"in e?e.getSnapshot():MC(e)?e.state:void 0}function ms(e,t){t===void 0&&(t=LC);var n=o.isRef(e)?e:o.shallowRef(e),r=o.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return o.watch(n,function(a,s,u){r.value=t(a);var c=a.subscribe({next:function(l){return r.value=l},error:ea,complete:ea}).unsubscribe;u(function(){return c()})},{immediate:!0}),{state:r,send:i}}const hs={error:"",hasValidationErrors:!1,isPending:!1,route:"",authStatus:"",user:"",validationErrors:[""],codeDeliveryDetails:{val:"",DeliveryMedium:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},Mr=o.ref(),In=o.reactive({...hs,send:"",state:""}),Ue=e=>(e&&(Mr.value=e),ms(Mr.value)),jC=()=>(ta(),o.watchEffect(()=>{ta()}),In),$e=jC;function ta(){if(!Mr.value)return;const{state:e,send:t}=Ue(),n=ma({send:t,state:e.value});for(const r of Object.keys(hs))In[r]=n[r];In.send=t,In.state=e}const yn=o.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=o.toRefs(t),{send:r}=Ue(),i=()=>{r({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const u=_e,c=Ie;return o.openBlock(),o.createBlock(c,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:o.withCtx(()=>[o.createVNode(u,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),zC=o.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[o.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),GC={class:"amplify-text amplify-authenticator__federated-text"},HC=o.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[o.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),WC={class:"amplify-text amplify-authenticator__federated-text"},YC=o.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[o.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),KC={class:"amplify-text amplify-authenticator__federated-text"},qC=o.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[o.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"}),o.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"}),o.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"}),o.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),JC={class:"amplify-text amplify-authenticator__federated-text"},ZC=o.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":"or"},null,-1),Qn=o.defineComponent({__name:"federated-sign-in",setup(e){var S;const{state:t}=Ue(),n=Oe($e),{route:r}=n(),{value:{context:i}}=t,a=(S=i==null?void 0:i.config)==null?void 0:S.socialProviders,s=a==null?void 0:a.includes("amazon"),u=a==null?void 0:a.includes("apple"),c=a==null?void 0:a.includes("facebook"),l=a==null?void 0:a.includes("google"),d=c||l||s||u,{getSignInWithFederationText:m}=xe,f=o.computed(()=>_r),g=o.computed(()=>m(r,"amazon")),p=o.computed(()=>m(r,"apple")),w=o.computed(()=>m(r,"facebook")),_=o.computed(()=>m(r,"google"));return(v,h)=>{const b=_e;return o.unref(d)?(o.openBlock(),o.createBlock(b,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(yn,{key:0,provider:o.unref(f).Amazon},{default:o.withCtx(()=>[zC,o.createElementVNode("p",GC,o.toDisplayString(o.unref(g)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(u)?(o.openBlock(),o.createBlock(yn,{key:1,provider:o.unref(f).Apple},{default:o.withCtx(()=>[HC,o.createElementVNode("p",WC,o.toDisplayString(o.unref(p)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(c)?(o.openBlock(),o.createBlock(yn,{key:2,provider:o.unref(f).Facebook},{default:o.withCtx(()=>[YC,o.createElementVNode("p",KC,o.toDisplayString(o.unref(w)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(l)?(o.openBlock(),o.createBlock(yn,{key:3,provider:o.unref(f).Google},{default:o.withCtx(()=>[qC,o.createElementVNode("p",JC,o.toDisplayString(o.unref(_)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),ZC]),_:1})):o.createCommentVNode("",!0)}}});let XC=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=n[e]&63;r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r<63?t+="_":t+="-"}return t};const QC={},e0={"data-amplify-label":""};function t0(e,t){return o.openBlock(),o.createElementBlock("label",e0,[o.renderSlot(e.$slots,"default")])}var er=Xn(QC,[["render",t0]]);const tr=o.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=r=>{t("update:modelValue",r.target.value)};return(r,i)=>(o.openBlock(),o.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),n0=["aria-label","aria-checked"],r0=o.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),o0=[r0],i0=o.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),a0=o.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),s0=[i0,a0],u0={inheritAttrs:!1},ko=o.defineComponent({...u0,__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 v;const t=e,n=F("Show password"),r=F("Hide password"),i=o.ref("password"),a=o.ref(n),s=Math.floor(Math.random()*999999),{name:u,label:c,autocomplete:l,hasError:d,labelHidden:m,placeholder:f,required:g}=o.toRefs(t);let p=o.ref("");function w(){a.value=a.value===n?r:n,i.value=i.value==="password"?"text":"password"}const _=F((v=f==null?void 0:f.value)!=null?v:c.value),S=F(c.value);return(h,b)=>{const C=er,A=tr,I=_e;return o.openBlock(),o.createBlock(I,{class:o.normalizeClass([o.unref(ye).Flex,o.unref(ye).Field,o.unref(ye).TextField,o.unref(ye).PasswordField,"amplify-authenticator__column"])},{default:o.withCtx(()=>[o.createVNode(C,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":o.unref(m)}]),for:"amplify-field-"+o.unref(s)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1},8,["class","for"]),o.createVNode(I,{class:o.normalizeClass([o.unref(ye).Flex,o.unref(ye).FieldGroup])},{default:o.withCtx(()=>[o.createVNode(I,{class:o.normalizeClass(o.unref(ye).FieldGroupFieldWrapper)},{default:o.withCtx(()=>{var P;return[o.createVNode(A,o.mergeProps(h.$attrs,{modelValue:o.unref(p),"onUpdate:modelValue":b[0]||(b[0]=U=>o.isRef(p)?p.value=U:p=U),class:[o.unref(ye).Input,o.unref(ye).FieldGroupControl],id:"amplify-field-"+o.unref(s),"data-amplify-password":"true",name:o.unref(u),autocomplete:o.unref(l),required:(P=o.unref(g))!=null?P:!0,placeholder:o.unref(_),type:i.value,"aria-invalid":o.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]}),_:1},8,["class"]),o.createVNode(I,{class:o.normalizeClass(o.unref(ye).FieldGroupOuterEnd)},{default:o.withCtx(()=>[o.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:o.normalizeClass([o.unref(ye).Button,o.unref(ye).FieldGroupControl,o.unref(ye).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:w},[i.value==="password"?(o.openBlock(),o.createElementBlock("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:o.normalizeClass(o.unref(ye).Icon)},o0,2)):(o.openBlock(),o.createElementBlock("svg",{key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:o.normalizeClass(o.unref(ye).Icon)},s0,2))],10,n0)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),c0=["value","selected"],l0=o.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:r,selectValue:i}=o.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,u)=>(o.openBlock(),o.createElementBlock("select",{onChange:u[0]||(u[0]=c=>a(c))},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(r),(c,l)=>(o.openBlock(),o.createElementBlock("option",{key:l,value:c,selected:c==o.unref(i)?!0:void 0},o.toDisplayString(c),9,c0))),128))],32))}}),d0=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[o.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),f0=o.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:r,placeholder:i,autocomplete:a,labelHidden:s,required:u,dialCode:c,dialCodeList:l}=o.toRefs(t),d=Math.floor(Math.random()*999999),m=Math.floor(Math.random()*999999);return(f,g)=>{const p=er,w=l0,_=_e,S=tr;return o.openBlock(),o.createBlock(_,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(p,o.mergeProps({for:"amplify-field-"+o.unref(d),class:["amplify-label",{"amplify-visually-hidden":o.unref(s)}]},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},16,["for","class"]),o.createVNode(_,{class:"amplify-flex amplify-field-group"},{default:o.withCtx(()=>[o.createVNode(_,{class:"amplify-field-group__outer-start"},{default:o.withCtx(()=>[e.type==="tel"?(o.openBlock(),o.createBlock(_,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(p,o.mergeProps({for:"amplify-field-"+o.unref(m),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString("Country Code"))]),_:1},16,["for"]),o.createVNode(_,{class:"amplify-select__wrapper"},{default:o.withCtx(()=>[o.createVNode(w,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+o.unref(m),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:o.unref(l),"select-value":o.unref(c)},null,8,["id","options","select-value"]),o.createVNode(_,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:o.withCtx(()=>[d0]),_:1})]),_:1})]),_:1})):o.createCommentVNode("",!0)]),_:1}),o.createVNode(_,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>{var v;return[o.createVNode(S,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+o.unref(d),autocomplete:o.unref(a),name:o.unref(r),required:(v=o.unref(u))!=null?v:!0,type:e.type,placeholder:o.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),p0=["id"],gs=o.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:r}=o.toRefs(t),i=Oe($e),{validationErrors:a}=o.toRefs(i()),{type:s}=r.value,u=s==="password",c=XC(12),l=o.computed(()=>Rl(a.value[n.value])),d=o.computed(()=>{var f;return((f=l.value)==null?void 0:f.length)>0}),m=o.computed(()=>d.value?c:void 0);return(f,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[u?(o.openBlock(),o.createBlock(ko,{key:0,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,hasError:o.unref(d),describedBy:o.unref(m)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(o.openBlock(),o.createBlock(f0,{key:1,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,"dial-code":o.unref(r).dialCode,"dial-code-list":o.unref(r).dialCodeList,type:o.unref(r).type,hasError:o.unref(d),describedBy:o.unref(m)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),o.unref(d)?(o.openBlock(),o.createElementBlock("div",{key:2,id:o.unref(m)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),(p,w)=>(o.openBlock(),o.createElementBlock("p",{key:w,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},o.toDisplayString(o.unref(F)(p)),1))),128))],8,p0)):o.createCommentVNode("",!0)],64))}}),Ye=o.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=o.toRefs(t),{state:r}=Ue();let i=[];return o.onBeforeMount(()=>{i=mv(n.value,r.value)}),(a,s)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(i),([u,c])=>(o.openBlock(),o.createBlock(gs,{name:u,key:u,formField:c},null,8,["name","formField"]))),128))}}),m0=o.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),h0={"data-amplify-footer":""},xo=o.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const r=Oe($e)(),i=o.useAttrs(),{getForgotPasswordText:a,getSignInText:s,getSigningInText:u}=xe,c=o.computed(()=>a()),l=o.computed(()=>s()),d=o.computed(()=>u()),{state:m,send:f}=Ue(),g=o.computed(()=>Ae(m.value)),p=v=>{const{name:h,value:b}=v.target;f({type:"CHANGE",data:{name:h,value:b}})},w=v=>{i!=null&&i.onSignInSubmit?t("signInSubmit",v):_(v)},_=v=>{r.submitForm(ze(v))},S=()=>{i!=null&&i.onForgotPasswordClicked?t("forgotPasswordClicked"):f({type:"RESET_PASSWORD"})};return(v,h)=>{const b=Me,C=Ge,A=Ie,I=_e,P=He,U=We;return o.renderSlot(v.$slots,"signInSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.renderSlot(v.$slots,"header"),o.createVNode(I,o.normalizeProps(o.guardReactiveProps(v.$attrs)),{default:o.withCtx(()=>[o.createVNode(P,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:o.withModifiers(w,["prevent"]),method:"post"},{formt:o.withCtx(({slotData:T})=>[o.renderSlot(v.$slots,"form",{info:T,onSignInSubmit:w,onInput:p,onForgotPasswordClicked:S})]),default:o.withCtx(()=>[o.createVNode(Qn),o.createVNode(I,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(b,{disabled:o.unref(g).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:o.withCtx(({slotData:T})=>[o.renderSlot(v.$slots,"signin-fields",{info:T})]),default:o.withCtx(()=>[m0,o.createVNode(Ye,{route:"signIn"})]),_:3},8,["disabled"]),o.unref(g).context.remoteError?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(g).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{disabled:o.unref(g).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g).matches("signIn.submit")?o.unref(d):o.unref(l)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(U,null,{default:o.withCtx(()=>[o.renderSlot(v.$slots,"footer",{},()=>[o.createElementVNode("div",h0,[o.createVNode(A,{onClick:S,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(c)),1)]),_:1})])])]),_:3})])}}}),Oo=o.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ye,{route:"signUp"}))}}),Uo=o.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=Oe($e),r=n(),i=n(),{hasValidationErrors:a,isPending:s,error:u}=o.toRefs(r),c=o.useAttrs(),{getCreateAccountText:l}=xe,d=o.computed(()=>l()),m=w=>{let{checked:_,name:S,type:v,value:h}=w.target;v==="checkbox"&&!_&&(h=void 0),i.updateForm({name:S,value:h})};function f(w){const{name:_}=w.target;i.updateBlur({name:_})}const g=w=>{c!=null&&c.onSignUpSubmit?t("signUpSubmit",w):p(w)},p=w=>{i.submitForm(ze(w))};return(w,_)=>{const S=Me,v=Ge,h=Ie,b=_e,C=He,A=We;return o.renderSlot(w.$slots,"signUpSlotI",o.normalizeProps(o.guardReactiveProps(w.$attrs)),()=>[o.renderSlot(w.$slots,"header"),o.createVNode(b,o.normalizeProps(o.guardReactiveProps(w.$attrs)),{default:o.withCtx(()=>[o.createVNode(C,{onInput:m,onBlurCapture:f,onSubmit:o.withModifiers(g,["prevent"])},{default:o.withCtx(()=>[o.createVNode(Qn),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(S,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(s)},{fieldSetI:o.withCtx(({slotData:I})=>[o.renderSlot(w.$slots,"signup-fields",{info:I})]),default:o.withCtx(()=>[o.createVNode(Oo)]),_:3},8,["disabled"]),o.unref(u)?(o.openBlock(),o.createBlock(v,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(u))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(h,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:o.unref(s)||o.unref(a)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(A,null,{default:o.withCtx(()=>[o.renderSlot(w.$slots,"footer")]),_:3})])}}}),g0=o.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:r,label:i}=o.toRefs(t);return(a,s)=>{const u=_e;return o.openBlock(),o.createBlock(u,{tabindex:o.unref(n)?0:-1,"data-state":o.unref(n)?"active":"inactive","aria-selected":o.unref(n)?"true":"false","aria-controls":`radix-id-${o.unref(r)}-8-content-0`,id:`radix-id-${o.unref(r)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),v0={};function y0(e,t){const n=_e;return o.openBlock(),o.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:o.withCtx(()=>[o.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var w0=Xn(v0,[["render",y0]]);const rt=o.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,u;const r=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((u=(s=i[0])==null?void 0:s.children)==null?void 0:u.length)===0)i[0].children=[o.h(`h${e.level}`,{...n,class:a},[r])];else return()=>o.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?o.h(i[0].children[0]):o.h(r[0])]);return()=>i}}),S0={};function _0(e,t){return o.renderSlot(e.$slots,"textI",o.normalizeProps(o.guardReactiveProps(e.$attrs)),()=>[o.createElementVNode("span",o.mergeProps(e.$attrs,{"data-amplify-text":""}),[o.renderSlot(e.$slots,"default")],16)])}var vs=Xn(S0,[["render",_0]]);const Ro=o.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=Oe($e),{isPending:i,error:a,codeDeliveryDetails:s}=o.toRefs(r()),{submitForm:u,updateForm:c,resendCode:l}=r(),{getDeliveryMethodText:d,getDeliveryMessageText:m,getResendCodeText:f,getConfirmText:g}=xe,p=o.computed(()=>d(s.value)),w=o.computed(()=>f()),_=o.computed(()=>g()),S=o.computed(()=>m(s.value)),v=A=>{const{name:I,value:P}=A.target;c({name:I,value:P})},h=A=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",A):b(A)},b=A=>{u(ze(A))},C=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):l()};return(A,I)=>{const P=rt,U=vs,T=Me,k=Ge,M=Ie,D=We,L=_e,j=He;return o.renderSlot(A.$slots,"confirmSignUpSlotI",o.normalizeProps(o.guardReactiveProps(A.$attrs)),()=>[o.createVNode(L,o.normalizeProps(o.guardReactiveProps(A.$attrs)),{default:o.withCtx(()=>[o.createVNode(j,{onInput:v,onSubmit:o.withModifiers(h,["prevent"])},{default:o.withCtx(()=>[o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(A.$slots,"header",{},()=>[o.createVNode(P,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(U,{class:"amplify-authenticator__subtitle"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1}),o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmSignUp"})]),_:1},8,["disabled"]),o.createVNode(D,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(a)?(o.openBlock(),o.createBlock(k,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(a))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(M,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(_)),1)]),_:1},8,["disabled"]),o.createVNode(M,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(C,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["onClick"]),o.renderSlot(A.$slots,"footer",{onConfirmSignUpSubmit:h,onLostCodeClicked:C})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Fo=o.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=Ue(),s=Oe($e)(),u=o.computed(()=>Ae(r.value)),c=u.value.context.challengeName,{getBackToSignInText:l,getConfirmText:d,getChallengeText:m}=xe,f=o.computed(()=>m(c)),g=o.computed(()=>l()),p=o.computed(()=>d()),w=h=>{const{name:b,value:C}=h.target;i({type:"CHANGE",data:{name:b,value:C}})},_=h=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",h):S(h)},S=h=>{s.submitForm(ze(h))},v=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(h,b)=>{const C=rt,A=_e,I=Ge,P=Ie,U=We,T=Me,k=He;return o.renderSlot(h.$slots,"confirmSignInSlotI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-confirmsignin":"",onInput:w,onSubmit:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(C,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmSignIn"})]),_:1}),o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var M,D;return[(D=(M=o.unref(u))==null?void 0:M.context)!=null&&D.remoteError?(o.openBlock(),o.createBlock(I,{key:0},{default:o.withCtx(()=>{var L,j;return[o.createTextVNode(o.toDisplayString(o.unref(F)((j=(L=o.unref(u))==null?void 0:L.context)==null?void 0:j.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onBackToSignInClicked:v,onConfirmSignInSubmit:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var nn={},b0=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},ys={},Ne={};let Bo;const C0=[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 C0[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.');Bo=t};Ne.isKanjiModeEnabled=function(){return typeof Bo!="undefined"};Ne.toSJIS=function(t){return Bo(t)};var nr={};(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(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,i){if(e.isValid(r))return r;try{return t(r)}catch{return i}}})(nr);function ws(){this.buffer=[],this.length=0}ws.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 A0=ws;function rn(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)}rn.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)};rn.prototype.get=function(e,t){return this.data[e*this.size+t]};rn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};rn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var T0=rn,Ss={};(function(e){const t=Ne.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const i=Math.floor(r/7)+2,a=t(r),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,u=[a-7];for(let c=1;c<i-1;c++)u[c]=u[c-1]-s;return u.push(6),u.reverse()},e.getPositions=function(r){const i=[],a=e.getRowColCoords(r),s=a.length;for(let u=0;u<s;u++)for(let c=0;c<s;c++)u===0&&c===0||u===0&&c===s-1||u===s-1&&c===0||i.push([a[u],a[c]]);return i}})(Ss);var _s={};const I0=Ne.getSymbolSize,na=7;_s.getPositions=function(t){const n=I0(t);return[[0,0],[n-na,0],[0,n-na]]};var bs={};(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,u=0,c=0,l=null,d=null;for(let m=0;m<a;m++){u=c=0,l=d=null;for(let f=0;f<a;f++){let g=i.get(m,f);g===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=g,u=1),g=i.get(f,m),g===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=g,c=1)}u>=5&&(s+=t.N1+(u-5)),c>=5&&(s+=t.N1+(c-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let u=0;u<a-1;u++)for(let c=0;c<a-1;c++){const l=i.get(u,c)+i.get(u,c+1)+i.get(u+1,c)+i.get(u+1,c+1);(l===4||l===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,u=0,c=0;for(let l=0;l<a;l++){u=c=0;for(let d=0;d<a;d++)u=u<<1&2047|i.get(l,d),d>=10&&(u===1488||u===93)&&s++,c=c<<1&2047|i.get(d,l),d>=10&&(c===1488||c===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let c=0;c<s;c++)a+=i.data[c];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(r,i,a){switch(r){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:"+r)}}e.applyMask=function(i,a){const s=a.size;for(let u=0;u<s;u++)for(let c=0;c<s;c++)a.isReserved(c,u)||a.xor(c,u,n(i,c,u))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let u=0,c=1/0;for(let l=0;l<s;l++){a(l),e.applyMask(l,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(l,i),d<c&&(c=d,u=l)}return u}})(bs);var rr={};const nt=nr,wn=[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],Sn=[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];rr.getBlocksCount=function(t,n){switch(n){case nt.L:return wn[(t-1)*4+0];case nt.M:return wn[(t-1)*4+1];case nt.Q:return wn[(t-1)*4+2];case nt.H:return wn[(t-1)*4+3];default:return}};rr.getTotalCodewordsCount=function(t,n){switch(n){case nt.L:return Sn[(t-1)*4+0];case nt.M:return Sn[(t-1)*4+1];case nt.Q:return Sn[(t-1)*4+2];case nt.H:return Sn[(t-1)*4+3];default:return}};var Cs={},or={};const zt=new Uint8Array(512),Rn=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)zt[n]=t,Rn[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)zt[n]=zt[n-255]})();or.log=function(t){if(t<1)throw new Error("log("+t+")");return Rn[t]};or.exp=function(t){return zt[t]};or.mul=function(t,n){return t===0||n===0?0:zt[Rn[t]+Rn[n]]};(function(e){const t=or;e.mul=function(r,i){const a=new Uint8Array(r.length+i.length-1);for(let s=0;s<r.length;s++)for(let u=0;u<i.length;u++)a[s+u]^=t.mul(r[s],i[u]);return a},e.mod=function(r,i){let a=new Uint8Array(r);for(;a.length-i.length>=0;){const s=a[0];for(let c=0;c<i.length;c++)a[c]^=t.mul(i[c],s);let u=0;for(;u<a.length&&a[u]===0;)u++;a=a.slice(u)}return a},e.generateECPolynomial=function(r){let i=new Uint8Array([1]);for(let a=0;a<r;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(Cs);const As=Cs;function Do(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Do.prototype.initialize=function(t){this.degree=t,this.genPoly=As.generateECPolynomial(this.degree)};Do.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 r=As.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(r,i),a}return r};var E0=Do,Ts={},ot={},Vo={};Vo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Ke={};const Is="[0-9]+",P0="[A-Z $%*+\\-./:]+";let Yt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Yt=Yt.replace(/u/g,"\\u");const $0="(?:(?![A-Z0-9 $%*+\\-./:]|"+Yt+`)(?:.|[\r
32
+ ]))+`;Ke.KANJI=new RegExp(Yt,"g");Ke.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ke.BYTE=new RegExp($0,"g");Ke.NUMERIC=new RegExp(Is,"g");Ke.ALPHANUMERIC=new RegExp(P0,"g");const N0=new RegExp("^"+Yt+"$"),k0=new RegExp("^"+Is+"$"),x0=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ke.testKanji=function(t){return N0.test(t)};Ke.testNumeric=function(t){return k0.test(t)};Ke.testAlphanumeric=function(t){return x0.test(t)};(function(e){const t=Vo,n=Ke;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 r(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 r(a)}catch{return s}}})(ot);(function(e){const t=Ne,n=rr,r=nr,i=ot,a=Vo,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,u=t.getBCHDigit(s);function c(f,g,p){for(let w=1;w<=40;w++)if(g<=e.getCapacity(w,p,f))return w}function l(f,g){return i.getCharCountIndicator(f,g)+4}function d(f,g){let p=0;return f.forEach(function(w){p+=l(w.mode,g)+w.getBitsLength()}),p}function m(f,g){for(let p=1;p<=40;p++)if(d(f,p)<=e.getCapacity(p,g,i.MIXED))return p}e.from=function(g,p){return a.isValid(g)?parseInt(g,10):p},e.getCapacity=function(g,p,w){if(!a.isValid(g))throw new Error("Invalid QR Code version");typeof w=="undefined"&&(w=i.BYTE);const _=t.getSymbolTotalCodewords(g),S=n.getTotalCodewordsCount(g,p),v=(_-S)*8;if(w===i.MIXED)return v;const h=v-l(w,g);switch(w){case i.NUMERIC:return Math.floor(h/10*3);case i.ALPHANUMERIC:return Math.floor(h/11*2);case i.KANJI:return Math.floor(h/13);case i.BYTE:default:return Math.floor(h/8)}},e.getBestVersionForData=function(g,p){let w;const _=r.from(p,r.M);if(Array.isArray(g)){if(g.length>1)return m(g,_);if(g.length===0)return 1;w=g[0]}else w=g;return c(w.mode,w.getLength(),_)},e.getEncodedBits=function(g){if(!a.isValid(g)||g<7)throw new Error("Invalid QR Code version");let p=g<<12;for(;t.getBCHDigit(p)-u>=0;)p^=s<<t.getBCHDigit(p)-u;return g<<12|p}})(Ts);var Es={};const Lr=Ne,Ps=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,O0=1<<14|1<<12|1<<10|1<<4|1<<1,ra=Lr.getBCHDigit(Ps);Es.getEncodedBits=function(t,n){const r=t.bit<<3|n;let i=r<<10;for(;Lr.getBCHDigit(i)-ra>=0;)i^=Ps<<Lr.getBCHDigit(i)-ra;return(r<<10|i)^O0};var $s={};const U0=ot;function _t(e){this.mode=U0.NUMERIC,this.data=e.toString()}_t.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};_t.prototype.getLength=function(){return this.data.length};_t.prototype.getBitsLength=function(){return _t.getBitsLength(this.data.length)};_t.prototype.write=function(t){let n,r,i;for(n=0;n+3<=this.data.length;n+=3)r=this.data.substr(n,3),i=parseInt(r,10),t.put(i,10);const a=this.data.length-n;a>0&&(r=this.data.substr(n),i=parseInt(r,10),t.put(i,a*3+1))};var R0=_t;const F0=ot,gr=["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 bt(e){this.mode=F0.ALPHANUMERIC,this.data=e}bt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};bt.prototype.getLength=function(){return this.data.length};bt.prototype.getBitsLength=function(){return bt.getBitsLength(this.data.length)};bt.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=gr.indexOf(this.data[n])*45;r+=gr.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(gr.indexOf(this.data[n]),6)};var B0=bt,D0=function(t){for(var n=[],r=t.length,i=0;i<r;i++){var a=t.charCodeAt(i);if(a>=55296&&a<=56319&&r>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 V0=D0,M0=ot;function Ct(e){this.mode=M0.BYTE,this.data=new Uint8Array(V0(e))}Ct.getBitsLength=function(t){return t*8};Ct.prototype.getLength=function(){return this.data.length};Ct.prototype.getBitsLength=function(){return Ct.getBitsLength(this.data.length)};Ct.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var L0=Ct;const j0=ot,z0=Ne;function At(e){this.mode=j0.KANJI,this.data=e}At.getBitsLength=function(t){return t*13};At.prototype.getLength=function(){return this.data.length};At.prototype.getBitsLength=function(){return At.getBitsLength(this.data.length)};At.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=z0.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]+`
33
+ Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var G0=At,Ns={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,r,i){var a={},s={};s[r]=0;var u=t.PriorityQueue.make();u.push(r,0);for(var c,l,d,m,f,g,p,w,_;!u.empty();){c=u.pop(),l=c.value,m=c.cost,f=n[l]||{};for(d in f)f.hasOwnProperty(d)&&(g=f[d],p=m+g,w=s[d],_=typeof s[d]=="undefined",(_||w>p)&&(s[d]=p,u.push(d,p),a[d]=l))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var S=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(S)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],a=r;a;)i.push(a),n[a],a=n[a];return i.reverse(),i},find_path:function(n,r,i){var a=t.single_source_shortest_paths(n,r,i);return t.extract_shortest_path_from_predecessor_list(a,i)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,i={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(i[a]=r[a]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};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})(Ns);(function(e){const t=ot,n=R0,r=B0,i=L0,a=G0,s=Ke,u=Ne,c=Ns.exports;function l(S){return unescape(encodeURIComponent(S)).length}function d(S,v,h){const b=[];let C;for(;(C=S.exec(h))!==null;)b.push({data:C[0],index:C.index,mode:v,length:C[0].length});return b}function m(S){const v=d(s.NUMERIC,t.NUMERIC,S),h=d(s.ALPHANUMERIC,t.ALPHANUMERIC,S);let b,C;return u.isKanjiModeEnabled()?(b=d(s.BYTE,t.BYTE,S),C=d(s.KANJI,t.KANJI,S)):(b=d(s.BYTE_KANJI,t.BYTE,S),C=[]),v.concat(h,b,C).sort(function(I,P){return I.index-P.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function f(S,v){switch(v){case t.NUMERIC:return n.getBitsLength(S);case t.ALPHANUMERIC:return r.getBitsLength(S);case t.KANJI:return a.getBitsLength(S);case t.BYTE:return i.getBitsLength(S)}}function g(S){return S.reduce(function(v,h){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===h.mode?(v[v.length-1].data+=h.data,v):(v.push(h),v)},[])}function p(S){const v=[];for(let h=0;h<S.length;h++){const b=S[h];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:l(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:l(b.data)}])}}return v}function w(S,v){const h={},b={start:{}};let C=["start"];for(let A=0;A<S.length;A++){const I=S[A],P=[];for(let U=0;U<I.length;U++){const T=I[U],k=""+A+U;P.push(k),h[k]={node:T,lastCount:0},b[k]={};for(let M=0;M<C.length;M++){const D=C[M];h[D]&&h[D].node.mode===T.mode?(b[D][k]=f(h[D].lastCount+T.length,T.mode)-f(h[D].lastCount,T.mode),h[D].lastCount+=T.length):(h[D]&&(h[D].lastCount=T.length),b[D][k]=f(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,v))}}C=P}for(let A=0;A<C.length;A++)b[C[A]].end=0;return{map:b,table:h}}function _(S,v){let h;const b=t.getBestModeForData(S);if(h=t.from(v,b),h!==t.BYTE&&h.bit<b.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(h)+`.
34
+ Suggested mode is: `+t.toString(b));switch(h===t.KANJI&&!u.isKanjiModeEnabled()&&(h=t.BYTE),h){case t.NUMERIC:return new n(S);case t.ALPHANUMERIC:return new r(S);case t.KANJI:return new a(S);case t.BYTE:return new i(S)}}e.fromArray=function(v){return v.reduce(function(h,b){return typeof b=="string"?h.push(_(b,null)):b.data&&h.push(_(b.data,b.mode)),h},[])},e.fromString=function(v,h){const b=m(v,u.isKanjiModeEnabled()),C=p(b),A=w(C,h),I=c.find_path(A.map,"start","end"),P=[];for(let U=1;U<I.length-1;U++)P.push(A.table[I[U]].node);return e.fromArray(g(P))},e.rawSplit=function(v){return e.fromArray(m(v,u.isKanjiModeEnabled()))}})($s);const ir=Ne,vr=nr,H0=A0,W0=T0,Y0=Ss,K0=_s,jr=bs,zr=rr,q0=E0,Fn=Ts,J0=Es,Z0=ot,yr=$s;function X0(e,t){const n=e.size,r=K0.getPositions(t);for(let i=0;i<r.length;i++){const a=r[i][0],s=r[i][1];for(let u=-1;u<=7;u++)if(!(a+u<=-1||n<=a+u))for(let c=-1;c<=7;c++)s+c<=-1||n<=s+c||(u>=0&&u<=6&&(c===0||c===6)||c>=0&&c<=6&&(u===0||u===6)||u>=2&&u<=4&&c>=2&&c<=4?e.set(a+u,s+c,!0,!0):e.set(a+u,s+c,!1,!0))}}function Q0(e){const t=e.size;for(let n=8;n<t-8;n++){const r=n%2===0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}function e2(e,t){const n=Y0.getPositions(t);for(let r=0;r<n.length;r++){const i=n[r][0],a=n[r][1];for(let s=-2;s<=2;s++)for(let u=-2;u<=2;u++)s===-2||s===2||u===-2||u===2||s===0&&u===0?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0)}}function t2(e,t){const n=e.size,r=Fn.getEncodedBits(t);let i,a,s;for(let u=0;u<18;u++)i=Math.floor(u/3),a=u%3+n-8-3,s=(r>>u&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function wr(e,t,n){const r=e.size,i=J0.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(r-15+a,8,s,!0),a<8?e.set(8,r-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(r-8,8,1,!0)}function n2(e,t){const n=e.size;let r=-1,i=n-1,a=7,s=0;for(let u=n-1;u>0;u-=2)for(u===6&&u--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,u-c)){let l=!1;s<t.length&&(l=(t[s]>>>a&1)===1),e.set(i,u-c,l),a--,a===-1&&(s++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function r2(e,t,n){const r=new H0;n.forEach(function(c){r.put(c.mode.bit,4),r.put(c.getLength(),Z0.getCharCountIndicator(c.mode,e)),c.write(r)});const i=ir.getSymbolTotalCodewords(e),a=zr.getTotalCodewordsCount(e,t),s=(i-a)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const u=(s-r.getLengthInBits())/8;for(let c=0;c<u;c++)r.put(c%2?17:236,8);return o2(r,e,t)}function o2(e,t,n){const r=ir.getSymbolTotalCodewords(t),i=zr.getTotalCodewordsCount(t,n),a=r-i,s=zr.getBlocksCount(t,n),u=r%s,c=s-u,l=Math.floor(r/s),d=Math.floor(a/s),m=d+1,f=l-d,g=new q0(f);let p=0;const w=new Array(s),_=new Array(s);let S=0;const v=new Uint8Array(e.buffer);for(let I=0;I<s;I++){const P=I<c?d:m;w[I]=v.slice(p,p+P),_[I]=g.encode(w[I]),p+=P,S=Math.max(S,P)}const h=new Uint8Array(r);let b=0,C,A;for(C=0;C<S;C++)for(A=0;A<s;A++)C<w[A].length&&(h[b++]=w[A][C]);for(C=0;C<f;C++)for(A=0;A<s;A++)h[b++]=_[A][C];return h}function i2(e,t,n,r){let i;if(Array.isArray(e))i=yr.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const d=yr.rawSplit(e);l=Fn.getBestVersionForData(d,n)}i=yr.fromString(e,l||40)}else throw new Error("Invalid data");const a=Fn.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(`
35
35
  The chosen QR Code version cannot contain this amount of data.
36
36
  Minimum version required to store current data is: `+a+`.
37
- `);const s=t2(t,n,i),u=or.getSymbolSize(t),c=new G0(u);return J0(c,t),Z0(c),X0(c,t),yr(c,n,0),t>=7&&Q0(c,t),e2(c,s),isNaN(r)&&(r=Lr.getBestMask(c,yr.bind(null,c,n))),Lr.applyMask(r,c),yr(c,n,r),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}vs.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=gr.M,i,a;return typeof n!="undefined"&&(r=gr.from(n.errorCorrectionLevel,gr.M),i=Rn.from(n.version),a=Lr.from(n.maskPattern),n.toSJISFunc&&or.setToSJISFunction(n.toSJISFunc)),r2(t,i,r,a)};var Ns={},Mo={};(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 r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const i=parseInt(r.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const i=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,i){return i.width&&i.width>=r+i.margin*2?i.width/(r+i.margin*2):i.scale},e.getImageWidth=function(r,i){const a=e.getScale(r,i);return Math.floor((r+i.margin*2)*a)},e.qrToImageData=function(r,i,a){const s=i.modules.size,u=i.modules.data,c=e.getScale(s,a),l=Math.floor((s+a.margin*2)*c),d=a.margin*c,h=[a.color.light,a.color.dark];for(let f=0;f<l;f++)for(let g=0;g<l;g++){let p=(f*l+g)*4,w=a.color.light;if(f>=d&&g>=d&&f<l-d&&g<l-d){const _=Math.floor((f-d)/c),S=Math.floor((g-d)/c);w=h[u[_*s+S]?1:0]}r[p++]=w.r,r[p++]=w.g,r[p++]=w.b,r[p]=w.a}}})(Mo);(function(e){const t=Mo;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 r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,u){let c=u,l=s;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(l=r()),c=t.getOptions(c);const d=t.getImageWidth(a.modules.size,c),h=l.getContext("2d"),f=h.createImageData(d,d);return t.qrToImageData(f.data,a,c),n(h,l,d),h.putImageData(f,0,0),l},e.renderToDataURL=function(a,s,u){let c=u;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const l=e.render(a,s,c),d=c.type||"image/png",h=c.rendererOpts||{};return l.toDataURL(d,h.quality)}})(Ns);var ks={};const o2=Mo;function ra(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function wr(e,t,n){let r=e+t;return typeof n!="undefined"&&(r+=" "+n),r}function i2(e,t,n){let r="",i=0,a=!1,s=0;for(let u=0;u<e.length;u++){const c=Math.floor(u%t),l=Math.floor(u/t);!c&&!a&&(a=!0),e[u]?(s++,u>0&&c>0&&e[u-1]||(r+=a?wr("M",c+n,.5+l+n):wr("m",i,0),i=0,a=!1),c+1<t&&e[u+1]||(r+=wr("h",s),s=0)):i++}return r}ks.render=function(t,n,r){const i=o2.getOptions(n),a=t.modules.size,s=t.modules.data,u=a+i.margin*2,c=i.color.light.a?"<path "+ra(i.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",l="<path "+ra(i.color.dark,"stroke")+' d="'+i2(s,a,i.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',h=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+h+d+' shape-rendering="crispEdges">'+c+l+`</svg>
38
- `;return typeof r=="function"&&r(null,f),f};const a2=S0,zr=vs,xs=Ns,s2=ks;function Fo(e,t,n,r,i){const a=[].slice.call(arguments,1),s=a.length,u=typeof a[s-1]=="function";if(!u&&!a2())throw new Error("Callback required as last argument");if(u){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=r=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=r,r=void 0):(i=r,r=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=r=void 0):s===2&&!t.getContext&&(r=n,n=t,t=void 0),new Promise(function(c,l){try{const d=zr.create(n,r);c(e(d,t,r))}catch(d){l(d)}})}try{const c=zr.create(n,r);i(null,e(c,t,r))}catch(c){i(c)}}tn.create=zr.create;tn.toCanvas=Fo.bind(null,xs.render);tn.toDataURL=Fo.bind(null,xs.renderToDataURL);tn.toString=Fo.bind(null,function(e,t,n){return s2.render(e,n)});const u2={key:0},c2=["src"],l2={"data-amplify-copy-tooltip":""},d2=o.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[o.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),f2=o.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var O,T;const r=xe(Pe)(),i=o.useAttrs(),{state:a,send:s}=Oe(),{value:{context:u}}=a,c=(T=(O=u==null?void 0:u.config)==null?void 0:O.formFields)==null?void 0:T.setupTOTP,l=c==null?void 0:c.QR,d=o.computed(()=>Ce(a.value));let h=o.reactive({qrCodeImageSource:"",isLoading:!0}),f=o.ref("");const{getCopyText:g,getCopiedText:p,getBackToSignInText:w,getConfirmText:_}=ke;let S=o.ref(g());function v(){navigator.clipboard.writeText(f.value),S.value=p()}o.onMounted(async()=>{var D,L;const k=new le.Logger("SetupTOTP-logger"),{user:F}=d.value.context;if(!!F)try{f.value=await le.Auth.setupTOTP(F);const j=(D=l==null?void 0:l.totpIssuer)!=null?D:"AWSCognito",fe=(L=l==null?void 0:l.totpUsername)!=null?L:F.username,ve=encodeURI(`otpauth://totp/${j}:${fe}?secret=${f.value}&issuer=${j}`);h.qrCodeImageSource=await tn.toDataURL(ve)}catch(j){k.error(j)}finally{h.isLoading=!1}});const m=o.computed(()=>w()),b=o.computed(()=>_()),C=k=>{const{name:F,value:D}=k.target;s({type:"CHANGE",data:{name:F,value:D}})},A=k=>{i!=null&&i.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",k):E(k)},E=k=>{r.submitForm(je(k))},P=()=>{i!=null&&i.onBackToSignInClicked?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(k,F)=>{const D=nt,L=Se,j=ze,fe=Te,ve=He,Ae=Me,_e=Ge;return o.renderSlot(k.$slots,"confirmSetupTOTPI",o.normalizeProps(o.guardReactiveProps(k.$attrs)),()=>[o.createVNode(L,o.normalizeProps(o.guardReactiveProps(k.$attrs)),{default:o.withCtx(()=>[o.createVNode(_e,{"data-amplify-authenticator-setup-totp":"",onInput:C,onSubmit:o.withModifiers(A,["prevent"])},{default:o.withCtx(()=>[o.createVNode(Ae,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(d).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.unref(h).isLoading?(o.openBlock(),o.createElementBlock("p",u2,"Loading...")):(o.openBlock(),o.createBlock(L,{key:1,class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(k.$slots,"header",{},()=>[o.createVNode(D,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(" Setup TOTP ")]),_:1})]),o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createElementVNode("img",{class:"amplify-image","data-amplify-qrcode":"",src:o.unref(h).qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,c2),o.createVNode(L,{class:"amplify-flex","data-amplify-copy":""},{default:o.withCtx(()=>[o.createElementVNode("div",null,o.toDisplayString(o.unref(f)),1),o.createVNode(L,{"data-amplify-copy-svg":"",onClick:v},{default:o.withCtx(()=>[o.createElementVNode("div",l2,o.toDisplayString(o.unref(S)),1),d2]),_:1})]),_:1}),o.createVNode(We,{route:"setupTOTP"})]),_:1}),o.createVNode(ve,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var Ke;return[(Ke=o.unref(d).context)!=null&&Ke.remoteError?(o.openBlock(),o.createBlock(j,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(V)(o.unref(d).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(fe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(d).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(b)),1)]),_:1},8,["disabled"]),o.createVNode(fe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(P,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(k.$slots,"footer",{onBackToSignInClicked:P,onSetupTOTPSubmit:A})]}),_:3})]),_:3}))]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Lo=o.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(We,{route:"forceNewPassword"}))}}),jo=o.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=Oe(),s=xe(Pe)(),u=o.computed(()=>Ce(r.value)),{getChangePasswordText:c,getChangingText:l,getBackToSignInText:d}=ke,h=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},w=m=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",m):_(m)},_=m=>{s.submitForm(je(m))},S=m=>{const{name:b,value:C}=m.target;i({type:"CHANGE",data:{name:b,value:C}})};function v(m){const{name:b}=m.target;s.updateBlur({name:b})}return(m,b)=>{const C=nt,A=Se,E=ze,P=Te,O=He,T=Me,k=Ge;return o.renderSlot(m.$slots,"forceNewPasswordI",o.normalizeProps(o.guardReactiveProps(m.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(m.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-forcenewpassword":"",onInput:S,onBlurCapture:v,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("forceNewPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(m.$slots,"header",{},()=>[o.createVNode(C,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(m.$slots,"force-new-password-form-fields",{},()=>[o.createVNode(Lo)])]),_:3}),o.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(u).context.remoteError?(o.openBlock(),o.createBlock(E,{key:0,"data-ui-error":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(V)(o.unref(u).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("signUp.submit")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(u).matches("forceNewPassword.pending")?o.unref(f)+"\u2026":o.unref(h)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(p,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["onClick"]),o.renderSlot(m.$slots,"footer",{onHaveAccountClicked:p,onForceNewPasswordSubmit:w})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),zo=o.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=xe(Pe),{send:i,submitForm:a}=r(),{error:s,isPending:u}=o.toRefs(r()),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:d}=ke,h=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=v=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",v):w(v)},w=v=>{a(je(v))},_=v=>{const{name:m,value:b}=v.target;i({type:"CHANGE",data:{name:m,value:b}})},S=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(v,m)=>{const b=nt,C=Me,A=ze,E=Te,P=He,O=Se,T=Ge;return o.renderSlot(v.$slots,"resetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.createVNode(T,o.mergeProps(v.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:_,onSubmit:o.withModifiers(p,["prevent"])}),{default:o.withCtx(()=>[o.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(v.$slots,"header",{},()=>[o.createVNode(b,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createVNode(We,{route:"resetPassword"})]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(V)(o.unref(s))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["disabled"]),o.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["onClick"]),o.renderSlot(v.$slots,"footer",{onBackToSignInClicked:S,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),Go=o.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:r}=Oe(),a=xe(Pe)(),s=o.useAttrs(),u=o.computed(()=>Ce(n.value)),{getResendCodeText:c,getResetYourPasswordText:l,getSubmitText:d}=ke,h=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=m=>{s!=null&&s.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",m):w(m)},w=m=>{a.submitForm(je(m))},_=()=>{r({type:"RESEND"})},S=m=>{const{name:b,value:C}=m.target;r({type:"CHANGE",data:{name:b,value:C}})};function v(m){const{name:b}=m.target;a.updateBlur({name:b})}return(m,b)=>{const C=nt,A=Se,E=ze,P=Te,O=He,T=Me,k=Ge;return o.renderSlot(m.$slots,"confirmResetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(m.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(m.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-confirmResetpassword":"",onInput:S,onBlurCapture:v,onSubmit:o.withModifiers(p,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(m.$slots,"header",{},()=>[o.createVNode(C,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(We,{route:"confirmResetPassword"})]),_:1}),o.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var F,D;return[(D=(F=o.unref(u))==null?void 0:F.context)!=null&&D.remoteError?(o.openBlock(),o.createBlock(E,{key:0},{default:o.withCtx(()=>{var L,j;return[o.createTextVNode(o.toDisplayString(o.unref(V)((j=(L=o.unref(u))==null?void 0:L.context)==null?void 0:j.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["onClick"]),o.renderSlot(m.$slots,"footer",{onConfirmResetPasswordSubmit:p,onLostYourCodeClicked:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Ho=o.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=xe(Pe)(),i=o.useAttrs(),{state:a,send:s}=Oe(),u=o.computed(()=>Ce(a.value)),{unverifiedContactMethods:c}=u.value.context,{getAccountRecoveryInfoText:l,getSkipText:d,getVerifyText:h,getVerifyContactText:f}=ke,g=o.computed(()=>l()),p=o.computed(()=>d()),w=o.computed(()=>h()),_=o.computed(()=>f()),S=C=>{const{name:A,value:E}=C.target;s({type:"CHANGE",data:{name:A,value:E}})},v=C=>{i!=null&&i.onVerifyUserSubmit?t("verifyUserSubmit",C):m(C)},m=C=>{r.submitForm(je(C))},b=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s("SKIP")};return(C,A)=>{const E=nt,P=Qn,O=er,T=gs,k=Se,F=ze,D=Te,L=He,j=Me,fe=Ge;return o.renderSlot(C.$slots,"verifyUserSlotI",{},()=>[o.createVNode(k,null,{default:o.withCtx(()=>[o.createVNode(fe,{onInput:S,onSubmit:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createVNode(j,{disabled:o.unref(u).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(C.$slots,"header",{},()=>[o.createVNode(E,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1})]),o.createVNode(k,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(P,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(_)),1)]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(c),(ve,Ae)=>(o.openBlock(),o.createBlock(P,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ve},{default:o.withCtx(()=>[o.createVNode(O,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:Ae},null,8,["value"]),o.createVNode(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),o.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(Kr)[Ae].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ve,Ae;return[(Ae=(ve=o.unref(u))==null?void 0:ve.context)!=null&&Ae.remoteError?(o.openBlock(),o.createBlock(F,{key:0},{default:o.withCtx(()=>{var _e;return[o.createTextVNode(o.toDisplayString(o.unref(V)((_e=o.unref(u))==null?void 0:_e.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(D,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("verifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["disabled"]),o.createVNode(D,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(b,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["onClick"]),o.renderSlot(C.$slots,"footer",{onSkipClicked:b,onVerifyUserSubmit:v})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),Wo=o.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=xe(Pe)(),i=o.useAttrs(),{state:a,send:s}=Oe(),u=o.computed(()=>Ce(a.value)),{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:d}=ke,h=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=v=>{const{name:m,value:b}=v.target;s({type:"CHANGE",data:{name:m,value:b}})},w=v=>{i!=null&&i.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",v):_(v)},_=v=>{r.submitForm(je(v))},S=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s({type:"SKIP"})};return(v,m)=>{const b=nt,C=Se,A=ze,E=Te,P=He,O=Me,T=Ge;return o.renderSlot(v.$slots,"confirmVerifyUserSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(v.$attrs)),{default:o.withCtx(()=>[o.createVNode(T,{onInput:p,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(O,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.renderSlot(v.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(We,{route:"confirmVerifyUser"})]),_:1}),o.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var k,F;return[(F=(k=o.unref(u))==null?void 0:k.context)!=null&&F.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var D;return[o.createTextVNode(o.toDisplayString(o.unref(V)((D=o.unref(u))==null?void 0:D.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["disabled"]),o.createVNode(E,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1},8,["onClick"]),o.renderSlot(v.$slots,"footer",{onSkipClicked:S,onConfirmVerifyUserSubmit:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),p2="3.1.2",h2=["data-variation"],m2={"data-amplify-container":""},g2=["data-amplify-router-content"],v2={key:1,"data-amplify-router-content":""},Os=o.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,r=o.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:u,signUpAttributes:c,socialProviders:l,hideSignUp:d,formFields:h}=o.toRefs(n),f=AC(),g=RC(f);let p,w;const{state:_,send:S}=ps(g);Oe(g);const v=o.ref(!1);w=g.subscribe($=>{$.matches("setup")&&!v.value&&(S({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:l==null?void 0:l.value,signUpAttributes:c==null?void 0:c.value,services:u==null?void 0:u.value,formFields:h==null?void 0:h.value}}),v.value=!0)}).unsubscribe,o.onMounted(()=>{p=Dl(g),Vl({packageName:"@aws-amplify/ui-vue",version:p2})}),o.onUnmounted(()=>{p&&p(),w&&w()});const m=o.computed(()=>Ce(_.value)),b=o.ref(),C=o.ref(),A=o.ref(),E=o.ref(),P=o.ref(),O=o.ref(),T=o.ref(),k=o.ref(),F=o.ref(),D=o.ref(),{getSignInTabText:L,getSignUpTabText:j}=ke,fe=o.computed(()=>L()),ve=o.computed(()=>j()),Ae=$=>{var y;r!=null&&r.onSignInSubmit?t("signInSubmit",$):(y=b.value)==null||y.submit($)},_e=$=>{r!=null&&r.onConfirmSignUpSubmit?t("confirmSignUpSubmit",$):A.value.submit($)},Ke=$=>{r!=null&&r.onResetPasswordSubmit?t("resetPasswordSubmit",$):T.value.submit($)},be=$=>{r!=null&&r.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",$):k.value.submit($)},Ot=$=>{r!=null&&r.onConfirmSignInSubmit?t("confirmSignInSubmit",$):E.value.submit($)},Ut=$=>{r!=null&&r.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",$):P.value.submit($)},pe=$=>{r!=null&&r.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",$):O.value.submit($)},Be=$=>{r!=null&&r.onSignUpSubmit?t("signUpSubmit",$):C.value.submit()},ir=$=>{r!=null&&r.onVerifyUserSubmit?t("verifyUserSubmit",$):F.value.submit($)},ar=$=>{r!=null&&r.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",$):D.value.submit($)},rn=o.ref(null),on=o.ref();o.watch(()=>_.value.context,()=>{const{user:$,signOut:y}=pa({send:S,state:_.value});rn.value=$,on.value=y});const Rt=o.computed(()=>{var $,y;return(($=m.value)==null?void 0:$.matches("signIn"))||((y=m.value)==null?void 0:y.matches("signUp"))}),sr=o.computed(()=>{var $;return!(_.value.matches("authenticated")||_.value.matches("idle")||_.value.matches("setup")||_.value.matches("signOut")||(($=m.value)==null?void 0:$.matches("autoSignIn")))});return($,y)=>{var x,B,M,G,z,ee,ie,Ee,ct,ot,Ze;const N=h0,R=v0;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(sr)?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0},$.$attrs,{"data-amplify-authenticator":"","data-variation":o.unref(s)}),[o.createElementVNode("div",m2,[o.renderSlot($.$slots,"header"),o.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":o.unref(Rt)?void 0:""},[o.unref(Rt)&&!o.unref(d)?(o.openBlock(),o.createBlock(R,{key:0},{default:o.withCtx(()=>{var ae,ce;return[o.createVNode(N,{active:(ae=o.unref(m))==null?void 0:ae.matches("signIn"),id:44472,label:o.unref(fe),onClick:y[0]||(y[0]=Vt=>o.unref(S)("SIGN_IN"))},null,8,["active","label"]),o.createVNode(N,{active:(ce=o.unref(m))==null?void 0:ce.matches("signUp"),id:44471,label:o.unref(ve),onClick:y[1]||(y[1]=Vt=>o.unref(S)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):o.createCommentVNode("",!0),o.unref(Rt)?(o.openBlock(),o.createElementBlock("div",v2,[(x=o.unref(m))!=null&&x.matches("signIn")?(o.openBlock(),o.createBlock(ko,{key:0,onSignInSubmit:Ae,ref_key:"signInComponent",ref:b},{signInSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in")]),form:o.withCtx(({info:ae,onSignInSubmit:ce,onForgotPasswordClicked:Vt,onInput:Bs})=>[o.renderSlot($.$slots,"sign-in-form",{info:ae,onInput:Bs,onSignInSubmit:ce,onForgotPasswordClicked:Vt})]),header:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in-header")]),footer:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in-footer")]),_:3},512)):o.createCommentVNode("",!0),((B=o.unref(m))==null?void 0:B.matches("signUp"))&&!o.unref(d)?(o.openBlock(),o.createBlock(Oo,{key:1,onSignUpSubmit:Be,ref_key:"signUpComponent",ref:C},{signUpSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up-header")]),"signup-fields":o.withCtx(({info:ae})=>[o.renderSlot($.$slots,"sign-up-fields",{info:ae})]),footer:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up-footer")]),_:3},512)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),(M=o.unref(m))!=null&&M.matches("confirmSignUp")?(o.openBlock(),o.createBlock(Uo,{key:2,onConfirmSignUpSubmit:_e,ref_key:"confirmSignUpComponent",ref:A},{confirmSignUpSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-up")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-up-header")]),footer:o.withCtx(({onConfirmSignUpSubmit:ae,onLostCodeClicked:ce})=>[o.renderSlot($.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:ae,onLostCodeClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(G=o.unref(m))!=null&&G.matches("resetPassword")?(o.openBlock(),o.createBlock(zo,{key:3,onResetPasswordSubmit:Ke,ref_key:"resetPasswordComponent",ref:T},{resetPasswordSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"reset-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"reset-password-header")]),footer:o.withCtx(({onResetPasswordSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"reset-password-footer",{onResetPasswordSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(z=o.unref(m))!=null&&z.matches("confirmResetPassword")?(o.openBlock(),o.createBlock(Go,{key:4,onConfirmResetPasswordSubmit:be,ref_key:"confirmResetPasswordComponent",ref:k},{confirmResetPasswordSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-reset-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-reset-password-header")]),footer:o.withCtx(({onConfirmResetPasswordSubmit:ae,onLostYourCodeClicked:ce})=>[o.renderSlot($.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:ae,onLostYourCodeClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ee=o.unref(m))!=null&&ee.matches("confirmSignIn")?(o.openBlock(),o.createBlock(Ro,{key:5,onConfirmSignInSubmit:Ot,ref_key:"confirmSignInComponent",ref:E},{confirmSignInSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-in")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-in-header")]),footer:o.withCtx(({onConfirmSignInSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ie=o.unref(m))!=null&&ie.matches("setupTOTP")?(o.openBlock(),o.createBlock(f2,{key:6,onConfirmSetupTotpSubmit:Ut,ref_key:"confirmSetupTOTPComponent",ref:P},{confirmSetupTOTPI:o.withCtx(()=>[o.renderSlot($.$slots,"setup-totp")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"setup-totp-header")]),footer:o.withCtx(({onSetupTOTPSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"setup-totp-footer",{onSetupTOTPSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(Ee=o.unref(m))!=null&&Ee.matches("forceNewPassword")?(o.openBlock(),o.createBlock(jo,{key:7,onForceNewPasswordSubmit:pe,ref_key:"forceNewPasswordComponent",ref:O},{forceNewPasswordI:o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password-header")]),"force-new-password-form-fields":o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password-form-fields")]),footer:o.withCtx(({onHaveAccountClicked:ae,onForceNewPasswordSubmit:ce})=>[o.renderSlot($.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:ce,onBackToSignInClicked:ae})]),_:3},512)):o.createCommentVNode("",!0),(ct=o.unref(m))!=null&&ct.matches("verifyUser")?(o.openBlock(),o.createBlock(Ho,{key:8,onVerifyUserSubmit:ir,ref_key:"verifyUserComponent",ref:F},{verifyUserSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"verify-user")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"verify-user-header")]),footer:o.withCtx(({onVerifyUserSubmit:ae,onSkipClicked:ce})=>[o.renderSlot($.$slots,"verify-user-footer",{onVerifyUserSubmit:ae,onSkipClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ot=o.unref(m))!=null&&ot.matches("confirmVerifyUser")?(o.openBlock(),o.createBlock(Wo,{key:9,onConfirmVerifyUserSubmit:ar,ref_key:"confirmVerifyUserComponent",ref:D},{confirmVerifyUserSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-verify-user")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-verify-user-header")]),footer:o.withCtx(({onConfirmVerifyUserSubmit:ae,onSkipClicked:ce})=>[o.renderSlot($.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:ae,onSkipClicked:ce})]),_:3},512)):o.createCommentVNode("",!0)],8,g2),o.renderSlot($.$slots,"footer")])],16,h2)):o.createCommentVNode("",!0),(Ze=o.unref(_))!=null&&Ze.matches("authenticated")?o.renderSlot($.$slots,"default",{key:1,user:rn.value,state:o.unref(_),signOut:on.value,send:o.unref(S)}):o.createCommentVNode("",!0)],64)}}}),Us=o.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Rs=o.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:r,autocomplete:i,placeholder:a,required:s,name:u,type:c}=o.toRefs(t);return(l,d)=>{const h=Qn,f=er,g=Se;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(h,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:o.unref(r)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},8,["class","for"]),o.createVNode(g,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>[o.createVNode(f,{class:"amplify-input amplify-field-group__control",id:o.unref(r),"aria-invalid":"false",autocomplete:o.unref(i),placeholder:o.unref(a),required:o.unref(s),name:o.unref(u),disabled:e.disabled,type:o.unref(c)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),y2={class:"amplify-flex amplify-field amplify-checkboxfield"},w2={class:"amplify-flex amplify-checkbox"},S2={class:"amplify-visually-hidden"},_2=["data-error","data-checked"],b2=["data-checked"],C2=o.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),A2=[C2],T2=o.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),E2={key:0,class:"amplify-text amplify-field__error-message"},Vs=o.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=o.ref(!1),{errorMessage:r}=o.toRefs(t);return(i,a)=>(o.openBlock(),o.createElementBlock("div",y2,[o.createElementVNode("label",w2,[o.createElementVNode("span",S2,[o.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),o.createElementVNode("span",{class:o.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},[(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:o.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},A2,10,b2))],10,_2),T2]),n.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",E2,o.toDisplayString(o.unref(r)),1))]))}});var I2={install:e=>{e.component("SignIn",ko),e.component("SignUp",Oo),e.component("FederatedSignIn",Xn),e.component("Authenticator",Os),e.component("RenderInfo",Us),e.component("PasswordControl",No),e.component("ForceNewPassword",jo),e.component("ResetPassword",zo),e.component("ConfirmResetPassword",Go),e.component("ConfirmSignUp",Uo),e.component("ConfirmSignIn",Ro),e.component("VerifyUser",Ho),e.component("ConfirmVerifyUser",Wo),e.component("AmplifyTextField",Rs),e.component("AmplifyCheckBox",Vs),e.component("AmplifyButton",Te),e.component("BaseFormField",ms),e.component("BaseFormFields",We),e.component("AuthenticatorSignUpFormFields",xo),e.component("AuthenticatorForceNewPasswordFormFields",Lo)}};exports.AmplifyButton=Te;exports.AmplifyCheckBox=Vs;exports.AmplifyTextField=Rs;exports.Authenticator=Os;exports.AuthenticatorForceNewPasswordFormFields=Lo;exports.AuthenticatorSignUpFormFields=xo;exports.ConfirmResetPassword=Go;exports.ConfirmSignIn=Ro;exports.ConfirmSignUp=Uo;exports.ConfirmVerifyUser=Wo;exports.FederatedSignIn=Xn;exports.ForceNewPassword=jo;exports.PasswordControl=No;exports.RenderInfo=Us;exports.ResetPassword=zo;exports.SignIn=ko;exports.SignUp=Oo;exports.VerifyUser=Ho;exports.default=I2;exports.translations=Nl;exports.useAuthenticator=Pe;
37
+ `);const s=r2(t,n,i),u=ir.getSymbolSize(t),c=new W0(u);return X0(c,t),Q0(c),e2(c,t),wr(c,n,0),t>=7&&t2(c,t),n2(c,s),isNaN(r)&&(r=jr.getBestMask(c,wr.bind(null,c,n))),jr.applyMask(r,c),wr(c,n,r),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}ys.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=vr.M,i,a;return typeof n!="undefined"&&(r=vr.from(n.errorCorrectionLevel,vr.M),i=Fn.from(n.version),a=jr.from(n.maskPattern),n.toSJISFunc&&ir.setToSJISFunction(n.toSJISFunc)),i2(t,i,r,a)};var ks={},Mo={};(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 r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const i=parseInt(r.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const i=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,i){return i.width&&i.width>=r+i.margin*2?i.width/(r+i.margin*2):i.scale},e.getImageWidth=function(r,i){const a=e.getScale(r,i);return Math.floor((r+i.margin*2)*a)},e.qrToImageData=function(r,i,a){const s=i.modules.size,u=i.modules.data,c=e.getScale(s,a),l=Math.floor((s+a.margin*2)*c),d=a.margin*c,m=[a.color.light,a.color.dark];for(let f=0;f<l;f++)for(let g=0;g<l;g++){let p=(f*l+g)*4,w=a.color.light;if(f>=d&&g>=d&&f<l-d&&g<l-d){const _=Math.floor((f-d)/c),S=Math.floor((g-d)/c);w=m[u[_*s+S]?1:0]}r[p++]=w.r,r[p++]=w.g,r[p++]=w.b,r[p]=w.a}}})(Mo);(function(e){const t=Mo;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 r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,u){let c=u,l=s;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(l=r()),c=t.getOptions(c);const d=t.getImageWidth(a.modules.size,c),m=l.getContext("2d"),f=m.createImageData(d,d);return t.qrToImageData(f.data,a,c),n(m,l,d),m.putImageData(f,0,0),l},e.renderToDataURL=function(a,s,u){let c=u;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const l=e.render(a,s,c),d=c.type||"image/png",m=c.rendererOpts||{};return l.toDataURL(d,m.quality)}})(ks);var xs={};const a2=Mo;function oa(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function Sr(e,t,n){let r=e+t;return typeof n!="undefined"&&(r+=" "+n),r}function s2(e,t,n){let r="",i=0,a=!1,s=0;for(let u=0;u<e.length;u++){const c=Math.floor(u%t),l=Math.floor(u/t);!c&&!a&&(a=!0),e[u]?(s++,u>0&&c>0&&e[u-1]||(r+=a?Sr("M",c+n,.5+l+n):Sr("m",i,0),i=0,a=!1),c+1<t&&e[u+1]||(r+=Sr("h",s),s=0)):i++}return r}xs.render=function(t,n,r){const i=a2.getOptions(n),a=t.modules.size,s=t.modules.data,u=a+i.margin*2,c=i.color.light.a?"<path "+oa(i.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",l="<path "+oa(i.color.dark,"stroke")+' d="'+s2(s,a,i.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',m=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+m+d+' shape-rendering="crispEdges">'+c+l+`</svg>
38
+ `;return typeof r=="function"&&r(null,f),f};const u2=b0,Gr=ys,Os=ks,c2=xs;function Lo(e,t,n,r,i){const a=[].slice.call(arguments,1),s=a.length,u=typeof a[s-1]=="function";if(!u&&!u2())throw new Error("Callback required as last argument");if(u){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=r=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=r,r=void 0):(i=r,r=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=r=void 0):s===2&&!t.getContext&&(r=n,n=t,t=void 0),new Promise(function(c,l){try{const d=Gr.create(n,r);c(e(d,t,r))}catch(d){l(d)}})}try{const c=Gr.create(n,r);i(null,e(c,t,r))}catch(c){i(c)}}nn.create=Gr.create;nn.toCanvas=Lo.bind(null,Os.render);nn.toDataURL=Lo.bind(null,Os.renderToDataURL);nn.toString=Lo.bind(null,function(e,t,n){return c2.render(e,n)});const l2={key:0},d2=["src"],f2={"data-amplify-copy-tooltip":""},p2=o.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[o.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),m2=o.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var U,T;const r=Oe($e)(),i=o.useAttrs(),{state:a,send:s}=Ue(),{value:{context:u}}=a,c=(T=(U=u==null?void 0:u.config)==null?void 0:U.formFields)==null?void 0:T.setupTOTP,l=c==null?void 0:c.QR,d=o.computed(()=>Ae(a.value));let m=o.reactive({qrCodeImageSource:"",isLoading:!0}),f=o.ref("");const{getCopyText:g,getCopiedText:p,getBackToSignInText:w,getConfirmText:_}=xe;let S=o.ref(g());function v(){navigator.clipboard.writeText(f.value),S.value=p()}o.onMounted(async()=>{var D,L;const k=new le.Logger("SetupTOTP-logger"),{user:M}=d.value.context;if(!!M)try{f.value=await le.Auth.setupTOTP(M);const j=(D=l==null?void 0:l.totpIssuer)!=null?D:"AWSCognito",fe=(L=l==null?void 0:l.totpUsername)!=null?L:M.username,ve=encodeURI(`otpauth://totp/${j}:${fe}?secret=${f.value}&issuer=${j}`);m.qrCodeImageSource=await nn.toDataURL(ve)}catch(j){k.error(j)}finally{m.isLoading=!1}});const h=o.computed(()=>w()),b=o.computed(()=>_()),C=k=>{const{name:M,value:D}=k.target;s({type:"CHANGE",data:{name:M,value:D}})},A=k=>{i!=null&&i.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",k):I(k)},I=k=>{r.submitForm(ze(k))},P=()=>{i!=null&&i.onBackToSignInClicked?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(k,M)=>{const D=rt,L=_e,j=Ge,fe=Ie,ve=We,Te=Me,be=He;return o.renderSlot(k.$slots,"confirmSetupTOTPI",o.normalizeProps(o.guardReactiveProps(k.$attrs)),()=>[o.createVNode(L,o.normalizeProps(o.guardReactiveProps(k.$attrs)),{default:o.withCtx(()=>[o.createVNode(be,{"data-amplify-authenticator-setup-totp":"",onInput:C,onSubmit:o.withModifiers(A,["prevent"])},{default:o.withCtx(()=>[o.createVNode(Te,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(d).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.unref(m).isLoading?(o.openBlock(),o.createElementBlock("p",l2,"Loading...")):(o.openBlock(),o.createBlock(L,{key:1,class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(k.$slots,"header",{},()=>[o.createVNode(D,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(" Setup TOTP ")]),_:1})]),o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createElementVNode("img",{class:"amplify-image","data-amplify-qrcode":"",src:o.unref(m).qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,d2),o.createVNode(L,{class:"amplify-flex","data-amplify-copy":""},{default:o.withCtx(()=>[o.createElementVNode("div",null,o.toDisplayString(o.unref(f)),1),o.createVNode(L,{"data-amplify-copy-svg":"",onClick:v},{default:o.withCtx(()=>[o.createElementVNode("div",f2,o.toDisplayString(o.unref(S)),1),p2]),_:1})]),_:1}),o.createVNode(Ye,{route:"setupTOTP"})]),_:1}),o.createVNode(ve,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var qe;return[(qe=o.unref(d).context)!=null&&qe.remoteError?(o.openBlock(),o.createBlock(j,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(d).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(fe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(d).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(b)),1)]),_:1},8,["disabled"]),o.createVNode(fe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(P,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["onClick"]),o.renderSlot(k.$slots,"footer",{onBackToSignInClicked:P,onSetupTOTPSubmit:A})]}),_:3})]),_:3}))]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),jo=o.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ye,{route:"forceNewPassword"}))}}),zo=o.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=Ue(),s=Oe($e)(),u=o.computed(()=>Ae(r.value)),{getChangePasswordText:c,getChangingText:l,getBackToSignInText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},w=h=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",h):_(h)},_=h=>{s.submitForm(ze(h))},S=h=>{const{name:b,value:C}=h.target;i({type:"CHANGE",data:{name:b,value:C}})};function v(h){const{name:b}=h.target;s.updateBlur({name:b})}return(h,b)=>{const C=rt,A=_e,I=Ge,P=Ie,U=We,T=Me,k=He;return o.renderSlot(h.$slots,"forceNewPasswordI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-forcenewpassword":"",onInput:S,onBlurCapture:v,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("forceNewPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(C,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"force-new-password-form-fields",{},()=>[o.createVNode(jo)])]),_:3}),o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(u).context.remoteError?(o.openBlock(),o.createBlock(I,{key:0,"data-ui-error":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(u).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("signUp.submit")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(u).matches("forceNewPassword.pending")?o.unref(f)+"\u2026":o.unref(m)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(p,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onHaveAccountClicked:p,onForceNewPasswordSubmit:w})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Go=o.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=Oe($e),{send:i,submitForm:a}=r(),{error:s,isPending:u}=o.toRefs(r()),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=v=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",v):w(v)},w=v=>{a(ze(v))},_=v=>{const{name:h,value:b}=v.target;i({type:"CHANGE",data:{name:h,value:b}})},S=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(v,h)=>{const b=rt,C=Me,A=Ge,I=Ie,P=We,U=_e,T=He;return o.renderSlot(v.$slots,"resetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.createVNode(T,o.mergeProps(v.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:_,onSubmit:o.withModifiers(p,["prevent"])}),{default:o.withCtx(()=>[o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(v.$slots,"header",{},()=>[o.createVNode(b,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"resetPassword"})]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(s))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["disabled"]),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(v.$slots,"footer",{onBackToSignInClicked:S,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),Ho=o.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:r}=Ue(),a=Oe($e)(),s=o.useAttrs(),u=o.computed(()=>Ae(n.value)),{getResendCodeText:c,getResetYourPasswordText:l,getSubmitText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=h=>{s!=null&&s.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",h):w(h)},w=h=>{a.submitForm(ze(h))},_=()=>{r({type:"RESEND"})},S=h=>{const{name:b,value:C}=h.target;r({type:"CHANGE",data:{name:b,value:C}})};function v(h){const{name:b}=h.target;a.updateBlur({name:b})}return(h,b)=>{const C=rt,A=_e,I=Ge,P=Ie,U=We,T=Me,k=He;return o.renderSlot(h.$slots,"confirmResetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-confirmResetpassword":"",onInput:S,onBlurCapture:v,onSubmit:o.withModifiers(p,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(C,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmResetPassword"})]),_:1}),o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var M,D;return[(D=(M=o.unref(u))==null?void 0:M.context)!=null&&D.remoteError?(o.openBlock(),o.createBlock(I,{key:0},{default:o.withCtx(()=>{var L,j;return[o.createTextVNode(o.toDisplayString(o.unref(F)((j=(L=o.unref(u))==null?void 0:L.context)==null?void 0:j.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onConfirmResetPasswordSubmit:p,onLostYourCodeClicked:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wo=o.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=Oe($e)(),i=o.useAttrs(),{state:a,send:s}=Ue(),u=o.computed(()=>Ae(a.value)),{unverifiedContactMethods:c}=u.value.context,{getAccountRecoveryInfoText:l,getSkipText:d,getVerifyText:m,getVerifyContactText:f}=xe,g=o.computed(()=>l()),p=o.computed(()=>d()),w=o.computed(()=>m()),_=o.computed(()=>f()),S=C=>{const{name:A,value:I}=C.target;s({type:"CHANGE",data:{name:A,value:I}})},v=C=>{i!=null&&i.onVerifyUserSubmit?t("verifyUserSubmit",C):h(C)},h=C=>{r.submitForm(ze(C))},b=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s("SKIP")};return(C,A)=>{const I=rt,P=er,U=tr,T=vs,k=_e,M=Ge,D=Ie,L=We,j=Me,fe=He;return o.renderSlot(C.$slots,"verifyUserSlotI",{},()=>[o.createVNode(k,null,{default:o.withCtx(()=>[o.createVNode(fe,{onInput:S,onSubmit:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createVNode(j,{disabled:o.unref(u).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(C.$slots,"header",{},()=>[o.createVNode(I,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1})]),o.createVNode(k,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(P,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(_)),1)]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(c),(ve,Te)=>(o.openBlock(),o.createBlock(P,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ve},{default:o.withCtx(()=>[o.createVNode(U,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:Te},null,8,["value"]),o.createVNode(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),o.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(qr)[Te].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ve,Te;return[(Te=(ve=o.unref(u))==null?void 0:ve.context)!=null&&Te.remoteError?(o.openBlock(),o.createBlock(M,{key:0},{default:o.withCtx(()=>{var be;return[o.createTextVNode(o.toDisplayString(o.unref(F)((be=o.unref(u))==null?void 0:be.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(D,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("verifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["disabled"]),o.createVNode(D,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(b,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["onClick"]),o.renderSlot(C.$slots,"footer",{onSkipClicked:b,onVerifyUserSubmit:v})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),Yo=o.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=Oe($e)(),i=o.useAttrs(),{state:a,send:s}=Ue(),u=o.computed(()=>Ae(a.value)),{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),g=o.computed(()=>d()),p=v=>{const{name:h,value:b}=v.target;s({type:"CHANGE",data:{name:h,value:b}})},w=v=>{i!=null&&i.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",v):_(v)},_=v=>{r.submitForm(ze(v))},S=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s({type:"SKIP"})};return(v,h)=>{const b=rt,C=_e,A=Ge,I=Ie,P=We,U=Me,T=He;return o.renderSlot(v.$slots,"confirmVerifyUserSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(v.$attrs)),{default:o.withCtx(()=>[o.createVNode(T,{onInput:p,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(U,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.renderSlot(v.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmVerifyUser"})]),_:1}),o.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var k,M;return[(M=(k=o.unref(u))==null?void 0:k.context)!=null&&M.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var D;return[o.createTextVNode(o.toDisplayString(o.unref(F)((D=o.unref(u))==null?void 0:D.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["disabled"]),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1},8,["onClick"]),o.renderSlot(v.$slots,"footer",{onSkipClicked:S,onConfirmVerifyUserSubmit:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),h2="3.1.3",g2=["data-variation"],v2={"data-amplify-container":""},y2=["data-amplify-router-content"],w2={key:1,"data-amplify-router-content":""},Us=o.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,r=o.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:u,signUpAttributes:c,socialProviders:l,hideSignUp:d,formFields:m}=o.toRefs(n),f=PC(),g=VC(f);let p,w;const{state:_,send:S}=ms(g);Ue(g);const v=o.ref(!1);w=g.subscribe($=>{$.matches("setup")&&!v.value&&(S({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:l==null?void 0:l.value,signUpAttributes:c==null?void 0:c.value,services:u==null?void 0:u.value,formFields:m==null?void 0:m.value}}),v.value=!0)}).unsubscribe,o.onMounted(()=>{p=Ll(g),Vl({packageName:"@aws-amplify/ui-vue",version:h2})}),o.onUnmounted(()=>{p&&p(),w&&w()});const h=o.computed(()=>Ae(_.value)),b=o.ref(),C=o.ref(),A=o.ref(),I=o.ref(),P=o.ref(),U=o.ref(),T=o.ref(),k=o.ref(),M=o.ref(),D=o.ref(),{getSignInTabText:L,getSignUpTabText:j}=xe,fe=o.computed(()=>L()),ve=o.computed(()=>j()),Te=$=>{var y;r!=null&&r.onSignInSubmit?t("signInSubmit",$):(y=b.value)==null||y.submit($)},be=$=>{r!=null&&r.onConfirmSignUpSubmit?t("confirmSignUpSubmit",$):A.value.submit($)},qe=$=>{r!=null&&r.onResetPasswordSubmit?t("resetPasswordSubmit",$):T.value.submit($)},Ce=$=>{r!=null&&r.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",$):k.value.submit($)},Ut=$=>{r!=null&&r.onConfirmSignInSubmit?t("confirmSignInSubmit",$):I.value.submit($)},Rt=$=>{r!=null&&r.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",$):P.value.submit($)},pe=$=>{r!=null&&r.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",$):U.value.submit($)},De=$=>{r!=null&&r.onSignUpSubmit?t("signUpSubmit",$):C.value.submit()},ar=$=>{r!=null&&r.onVerifyUserSubmit?t("verifyUserSubmit",$):M.value.submit($)},sr=$=>{r!=null&&r.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",$):D.value.submit($)},on=o.ref(null),an=o.ref();o.watch(()=>_.value.context,()=>{const{user:$,signOut:y}=ma({send:S,state:_.value});on.value=$,an.value=y});const Ft=o.computed(()=>{var $,y;return(($=h.value)==null?void 0:$.matches("signIn"))||((y=h.value)==null?void 0:y.matches("signUp"))}),ur=o.computed(()=>{var $;return!(_.value.matches("authenticated")||_.value.matches("idle")||_.value.matches("setup")||_.value.matches("signOut")||(($=h.value)==null?void 0:$.matches("autoSignIn")))});return($,y)=>{var x,B,V,G,z,ee,ie,Ee,lt,it,Xe;const N=g0,R=w0;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(ur)?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0},$.$attrs,{"data-amplify-authenticator":"","data-variation":o.unref(s)}),[o.createElementVNode("div",v2,[o.renderSlot($.$slots,"header"),o.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":o.unref(Ft)?void 0:""},[o.unref(Ft)&&!o.unref(d)?(o.openBlock(),o.createBlock(R,{key:0},{default:o.withCtx(()=>{var ae,ce;return[o.createVNode(N,{active:(ae=o.unref(h))==null?void 0:ae.matches("signIn"),id:44472,label:o.unref(fe),onClick:y[0]||(y[0]=Bt=>o.unref(S)("SIGN_IN"))},null,8,["active","label"]),o.createVNode(N,{active:(ce=o.unref(h))==null?void 0:ce.matches("signUp"),id:44471,label:o.unref(ve),onClick:y[1]||(y[1]=Bt=>o.unref(S)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):o.createCommentVNode("",!0),o.unref(Ft)?(o.openBlock(),o.createElementBlock("div",w2,[(x=o.unref(h))!=null&&x.matches("signIn")?(o.openBlock(),o.createBlock(xo,{key:0,onSignInSubmit:Te,ref_key:"signInComponent",ref:b},{signInSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in")]),form:o.withCtx(({info:ae,onSignInSubmit:ce,onForgotPasswordClicked:Bt,onInput:Ds})=>[o.renderSlot($.$slots,"sign-in-form",{info:ae,onInput:Ds,onSignInSubmit:ce,onForgotPasswordClicked:Bt})]),header:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in-header")]),footer:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in-footer")]),_:3},512)):o.createCommentVNode("",!0),((B=o.unref(h))==null?void 0:B.matches("signUp"))&&!o.unref(d)?(o.openBlock(),o.createBlock(Uo,{key:1,onSignUpSubmit:De,ref_key:"signUpComponent",ref:C},{signUpSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up-header")]),"signup-fields":o.withCtx(({info:ae})=>[o.renderSlot($.$slots,"sign-up-fields",{info:ae})]),footer:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up-footer")]),_:3},512)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),(V=o.unref(h))!=null&&V.matches("confirmSignUp")?(o.openBlock(),o.createBlock(Ro,{key:2,onConfirmSignUpSubmit:be,ref_key:"confirmSignUpComponent",ref:A},{confirmSignUpSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-up")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-up-header")]),footer:o.withCtx(({onConfirmSignUpSubmit:ae,onLostCodeClicked:ce})=>[o.renderSlot($.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:ae,onLostCodeClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(G=o.unref(h))!=null&&G.matches("resetPassword")?(o.openBlock(),o.createBlock(Go,{key:3,onResetPasswordSubmit:qe,ref_key:"resetPasswordComponent",ref:T},{resetPasswordSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"reset-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"reset-password-header")]),footer:o.withCtx(({onResetPasswordSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"reset-password-footer",{onResetPasswordSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(z=o.unref(h))!=null&&z.matches("confirmResetPassword")?(o.openBlock(),o.createBlock(Ho,{key:4,onConfirmResetPasswordSubmit:Ce,ref_key:"confirmResetPasswordComponent",ref:k},{confirmResetPasswordSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-reset-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-reset-password-header")]),footer:o.withCtx(({onConfirmResetPasswordSubmit:ae,onLostYourCodeClicked:ce})=>[o.renderSlot($.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:ae,onLostYourCodeClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ee=o.unref(h))!=null&&ee.matches("confirmSignIn")?(o.openBlock(),o.createBlock(Fo,{key:5,onConfirmSignInSubmit:Ut,ref_key:"confirmSignInComponent",ref:I},{confirmSignInSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-in")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-in-header")]),footer:o.withCtx(({onConfirmSignInSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ie=o.unref(h))!=null&&ie.matches("setupTOTP")?(o.openBlock(),o.createBlock(m2,{key:6,onConfirmSetupTotpSubmit:Rt,ref_key:"confirmSetupTOTPComponent",ref:P},{confirmSetupTOTPI:o.withCtx(()=>[o.renderSlot($.$slots,"setup-totp")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"setup-totp-header")]),footer:o.withCtx(({onSetupTOTPSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"setup-totp-footer",{onSetupTOTPSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(Ee=o.unref(h))!=null&&Ee.matches("forceNewPassword")?(o.openBlock(),o.createBlock(zo,{key:7,onForceNewPasswordSubmit:pe,ref_key:"forceNewPasswordComponent",ref:U},{forceNewPasswordI:o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password-header")]),"force-new-password-form-fields":o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password-form-fields")]),footer:o.withCtx(({onHaveAccountClicked:ae,onForceNewPasswordSubmit:ce})=>[o.renderSlot($.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:ce,onBackToSignInClicked:ae})]),_:3},512)):o.createCommentVNode("",!0),(lt=o.unref(h))!=null&&lt.matches("verifyUser")?(o.openBlock(),o.createBlock(Wo,{key:8,onVerifyUserSubmit:ar,ref_key:"verifyUserComponent",ref:M},{verifyUserSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"verify-user")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"verify-user-header")]),footer:o.withCtx(({onVerifyUserSubmit:ae,onSkipClicked:ce})=>[o.renderSlot($.$slots,"verify-user-footer",{onVerifyUserSubmit:ae,onSkipClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(it=o.unref(h))!=null&&it.matches("confirmVerifyUser")?(o.openBlock(),o.createBlock(Yo,{key:9,onConfirmVerifyUserSubmit:sr,ref_key:"confirmVerifyUserComponent",ref:D},{confirmVerifyUserSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-verify-user")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-verify-user-header")]),footer:o.withCtx(({onConfirmVerifyUserSubmit:ae,onSkipClicked:ce})=>[o.renderSlot($.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:ae,onSkipClicked:ce})]),_:3},512)):o.createCommentVNode("",!0)],8,y2),o.renderSlot($.$slots,"footer")])],16,g2)):o.createCommentVNode("",!0),(Xe=o.unref(_))!=null&&Xe.matches("authenticated")?o.renderSlot($.$slots,"default",{key:1,user:on.value,state:o.unref(_),signOut:an.value,send:o.unref(S)}):o.createCommentVNode("",!0)],64)}}}),Rs=o.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Fs=o.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:r,autocomplete:i,placeholder:a,required:s,name:u,type:c}=o.toRefs(t);return(l,d)=>{const m=er,f=tr,g=_e;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(m,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:o.unref(r)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},8,["class","for"]),o.createVNode(g,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>[o.createVNode(f,{class:"amplify-input amplify-field-group__control",id:o.unref(r),"aria-invalid":"false",autocomplete:o.unref(i),placeholder:o.unref(a),required:o.unref(s),name:o.unref(u),disabled:e.disabled,type:o.unref(c)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),S2={class:"amplify-flex amplify-field amplify-checkboxfield"},_2={class:"amplify-flex amplify-checkbox"},b2={class:"amplify-visually-hidden"},C2=["data-error","data-checked"],A2=["data-checked"],T2=o.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),I2=[T2],E2=o.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),P2={key:0,class:"amplify-text amplify-field__error-message"},Bs=o.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=o.ref(!1),{errorMessage:r}=o.toRefs(t);return(i,a)=>(o.openBlock(),o.createElementBlock("div",S2,[o.createElementVNode("label",_2,[o.createElementVNode("span",b2,[o.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),o.createElementVNode("span",{class:o.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},[(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:o.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},I2,10,A2))],10,C2),E2]),n.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",P2,o.toDisplayString(o.unref(r)),1))]))}});var $2={install:e=>{e.component("SignIn",xo),e.component("SignUp",Uo),e.component("FederatedSignIn",Qn),e.component("Authenticator",Us),e.component("RenderInfo",Rs),e.component("PasswordControl",ko),e.component("ForceNewPassword",zo),e.component("ResetPassword",Go),e.component("ConfirmResetPassword",Ho),e.component("ConfirmSignUp",Ro),e.component("ConfirmSignIn",Fo),e.component("VerifyUser",Wo),e.component("ConfirmVerifyUser",Yo),e.component("AmplifyTextField",Fs),e.component("AmplifyCheckBox",Bs),e.component("AmplifyButton",Ie),e.component("BaseFormField",gs),e.component("BaseFormFields",Ye),e.component("AuthenticatorSignUpFormFields",Oo),e.component("AuthenticatorForceNewPasswordFormFields",jo)}};exports.AmplifyButton=Ie;exports.AmplifyCheckBox=Bs;exports.AmplifyTextField=Fs;exports.Authenticator=Us;exports.AuthenticatorForceNewPasswordFormFields=jo;exports.AuthenticatorSignUpFormFields=Oo;exports.ConfirmResetPassword=Ho;exports.ConfirmSignIn=Fo;exports.ConfirmSignUp=Ro;exports.ConfirmVerifyUser=Yo;exports.FederatedSignIn=Qn;exports.ForceNewPassword=zo;exports.PasswordControl=ko;exports.RenderInfo=Rs;exports.ResetPassword=Go;exports.SignIn=xo;exports.SignUp=Uo;exports.VerifyUser=Wo;exports.default=$2;exports.translations=Ol;exports.useAuthenticator=$e;