@aws-amplify/ui-vue 3.1.9 → 3.1.11

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"),Y=require("aws-amplify"),Qa=require("@aws-amplify/auth");const _e=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)])}}),Xa=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ce=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,Xa)])}});var ue=function(e){var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},or=function(e){var t;return(t=ue(e))===null||t===void 0?void 0:t.context},Rn,So;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(Rn||(Rn={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(So||(So={}));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 Ai(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 F(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(p){s(p)}}function c(d){try{l(r.throw(d))}catch(p){s(p)}}function l(d){d.done?a(d.value):i(d.value).then(u,c)}l((r=r.apply(e,t||[])).next())})}function M(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 Se(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 es=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],ts=["username","email","phone_number"],Ii=Se(Se(Se([],ts,!0),es,!0),["confirmation_code","password","confirm_password"],!1),ns=function(e){return Ii.includes(e)},te;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.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"})(te||(te={}));var Bn=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]},rs=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")}},os=function(e){var t,n,r,i,a,s=(t=or(e))!==null&&t!==void 0?t:{},u=s.codeDeliveryDetails,c=s.remoteError,l=s.unverifiedContactMethods,d=s.validationError,p=s.totpSecretCode,f=p===void 0?null:p,m=((r=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&r!==void 0?r:{}).socialProviders,v=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,y=d&&Object.keys(d).length>0,w=ue(e),S=e.hasTag("pending")||(w==null?void 0:w.hasTag("pending")),g=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(w==null?void 0:w.matches("confirmSignUp")):return"confirmSignUp";case(w==null?void 0:w.matches("confirmSignIn")):return"confirmSignIn";case(w==null?void 0:w.matches("setupTOTP.edit")):case(w==null?void 0:w.matches("setupTOTP.submit")):return"setupTOTP";case(w==null?void 0:w.matches("signIn")):return"signIn";case(w==null?void 0:w.matches("signUp")):return"signUp";case(w==null?void 0:w.matches("forceNewPassword")):return"forceNewPassword";case(w==null?void 0:w.matches("resetPassword")):return"resetPassword";case(w==null?void 0:w.matches("confirmResetPassword")):return"confirmResetPassword";case(w==null?void 0:w.matches("verifyUser")):return"verifyUser";case(w==null?void 0:w.matches("confirmVerifyUser")):return"confirmVerifyUser";case(w==null?void 0:w.matches("setupTOTP.getTotpSecretCode")):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),h=function(_){switch(_){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(g);return{authStatus:h,codeDeliveryDetails:u,error:c,hasValidationErrors:y,isPending:S,route:g,socialProviders:m,totpSecretCode:f,unverifiedContactMethods:l,user:v,validationErrors:d}},Ti=function(e){var t=e.send,n=e.state,r=rs(t),i=os(n);return E(E({},r),i)},is=["+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"],as={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","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",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihre Passwort ein","Enter your Email":"Geben Sie Ihre E-Mail","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xFCcksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},ss={"Account recovery requires verified contact information":"Account recovery requires verified contact information","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",or:"or",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"},us={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your email":"Escriba su Email","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password.":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},cs={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xE9","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},ls={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},ds={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Apple":"Apple \u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your Email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Please confirm your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
2
- +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},fs={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},ps={"Account recovery requires verified contact information":"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",or:"of",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"},ms={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},hs={"Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your username":"entre com seu nome de usu\xE1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xE7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xE1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xEA","We Sent A Code":"Enviamos um c\xF3digo","We Texted You":"Enviamos um SMS para voc\xEA","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo que enviamos para voc\xEA","Your code is on the way. To log in, enter the code we texted to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos uma mensagem de texto"},gs={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u66F4\u6539\u5BC6\u7801",Changing:"\u6B63\u5728\u4FEE\u6539",Code:"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C","Confirm SMS Code":"\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801","Confirm TOTP Code":"\u786E\u8BA4 TOTP \u4EE3\u7801",Confirm:"\u786E\u8BA4","Confirmation Code":"\u786E\u8BA4\u7801",Confirming:"\u6B63\u5728\u786E\u8BA4","Create a new account":"\u521B\u5EFA\u65B0\u8D26\u6237","Create Account":"\u521B\u5EFA\u8D26\u6237","Creating Account":"\u6B63\u5728\u521B\u5EFA\u8D26\u6237","Dismiss alert":"\u5173\u95ED\u8B66\u62A5",Email:"\u90AE\u7BB1","Enter your code":"\u8F93\u5165\u9A8C\u8BC1\u7801","Enter your email":"\u8F93\u5165\u7535\u5B50\u90AE\u4EF6","Enter your phone number":"\u8F93\u5165\u7535\u8BDD\u53F7\u7801","Enter your username":"\u8F93\u5165\u7528\u6237\u540D","Forgot your password?":"\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F","Hide password":"\u9690\u85CF\u5BC6\u7801","It may take a minute to arrive":"\u53EF\u80FD\u9700\u8981\u4E00\u5206\u949F\u624D\u80FD\u5230\u8FBE",Loading:"\u6B63\u5728\u52A0\u8F7D","New password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend Code":"\u91CD\u53D1\u9A8C\u8BC1\u7801","Reset your password":"\u91CD\u7F6E\u5BC6\u7801","Reset your Password":"\u91CD\u7F6E\u5BC6\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Send code":"\u53D1\u9001\u9A8C\u8BC1\u7801",Sending:"\u6B63\u5728\u53D1\u9001","Setup TOTP":"\u8BBE\u7F6E TOTP","Show password":"\u663E\u793A\u5BC6\u7801","Sign in to your account":"\u767B\u5F55\u8D26\u6237","Sign In with Amazon":"\u901A\u8FC7 Amazon \u767B\u5F55","Sign In with Apple":"\u901A\u8FC7 Apple \u767B\u5F55","Sign In with Facebook":"\u901A\u8FC7 Facebook \u767B\u5F55","Sign In with Google":"\u901A\u8FC7 Google \u767B\u5F55","Sign in":"\u767B\u5F55","Sign In":"\u767B\u5F55","Signing in":"\u6B63\u5728\u767B\u5F55",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4",Submitting:"\u6B63\u5728\u63D0\u4EA4",Username:"\u7528\u6237\u540D","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F",Verify:"\u9A8C\u8BC1","We Emailed You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u7535\u5B50\u90AE\u4EF6","We Sent A Code":"\u6211\u4EEC\u53D1\u9001\u4E86\u4EE3\u7801","We Texted You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u77ED\u4FE1","Your code is on the way. To log in, enter the code we emailed to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Your code is on the way. To log in, enter the code we sent you":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u53D1\u9001\u7ED9\u60A8\u7684\u4EE3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u77ED\u4FE1\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728"},vs={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord",Changing:"\xC4ndra",Code:"Kod","Confirm Password":"Bekr\xE4fta l\xF6senord","Confirm Sign Up":"Bekr\xE4fta registrering","Confirm SMS Code":"Bekr\xE4fta SMS-kod","Confirm TOTP Code":"Bekr\xE4fta TOTP-kod",Confirm:"Bekr\xE4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xE4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Hide password":"D\xF6lj l\xF6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xF6senord",or:"eller",Password:"L\xF6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Reset your Password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xF6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xF6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xE4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xF6senord","Forgot Password":"Gl\xF6mt l\xF6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Reset password":"\xC5terst\xE4ll l\xF6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},ys={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},ws={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula",Confirm:"Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015Ftur","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xFCrebilir",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre",or:"veya",Password:"\u015Eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xF6nder","Send Code":"Kod G\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Signing in":"Oturum a\xE7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula","We Emailed You":"Size E-posta G\xF6nderdik","We Sent A Code":"Bir Kod G\xF6nderdik","We Texted You":"Size Mesaj G\xF6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, size g\xF6nderdi\u011Fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz"},Ss={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},_s={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},bs={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},Cs={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",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},As=E({},as),Is=E({},ss),Ts=E({},us),Es=E({},cs),Ps=E({},ls),Ns=E({},ds),ks=E({},fs),xs=E({},ps),$s=E({},ms),Os=E({},hs),Us=E({},gs),Rs=E({},vs),Bs=E({},ys),Vs=E({},ws),Fs=E({},Ss),Ms=E({},_s),Ds=E({},bs),Ls=E({},Cs),R=E({},Ls);function x(e){return Y.I18n.get(e)}var zs={de:As,en:Is,es:Ts,fr:Es,id:Bs,it:Ps,ja:Ns,kr:ks,nl:xs,pl:$s,pt:Os,zh:Us,sv:Rs,tr:Vs,ru:Fs,he:Ms,ua:Ds},rn={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:is,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}},Gs=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],be=function(e){var t=new FormData(e.target);return Object.fromEntries(t)},_o=function(e){return Ii.includes(e)},js=function(e){return e?(t=e,Array.isArray(t)?e:[e]):null;var t},Et=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ei={},Pi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var r=require("vue"),H=require("aws-amplify"),ps=require("@aws-amplify/auth");const we=r.defineComponent({__name:"base-field-set",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"fieldSetI",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("fieldset",r.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[r.renderSlot(n.$slots,"default")],16)])}}),ms=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],se=r.defineComponent({__name:"amplify-button",props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null,loading:{type:[Boolean,String]},disabled:{type:[Boolean,String]}},setup(e){const t=e,{type:n,fullWidth:o,size:i,variation:a,fontWeight:s}=r.toRefs(t);return(l,u)=>r.renderSlot(l.$slots,"buttont",r.normalizeProps(r.guardReactiveProps(l.$attrs)),()=>[r.createElementVNode("button",r.mergeProps({class:["amplify-button",{[`amplify-button--${r.unref(a)}`]:r.unref(a),[`amplify-button--${r.unref(i)}`]:r.unref(i),"amplify-button--fullwidth":r.unref(o),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:r.unref(n),style:{fontWeight:r.unref(s)},"data-fullwidth":r.unref(o),"data-size":r.unref(i),"data-fontWeight":r.unref(s),"data-variation":r.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},l.$attrs,{"data-amplify-button":""}),[r.renderSlot(l.$slots,"default")],16,ms)])}}),ae=e=>{var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},sr=e=>{var t;return(t=ae(e))===null||t===void 0?void 0:t.context};var Dn,bo;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(Dn||(Dn={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(bo||(bo={}));const hs=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],gs=["username","email","phone_number"],Ti=[...gs,...hs,"confirmation_code","password","confirm_password"],ys=e=>Ti.includes(e);var X;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"})(X||(X={}));const Ln=e=>{var t;const n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms,[o]=n!=null?n:["username"];return o},vs=e=>{const t=n=>o=>e({type:n,data:o});return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},ws=e=>{var t,n,o,i,a;const s=(t=sr(e))!==null&&t!==void 0?t:{},{codeDeliveryDetails:l,remoteError:u,unverifiedContactMethods:c,validationError:d,totpSecretCode:m=null}=s,{socialProviders:f}=(o=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&o!==void 0?o:{},h=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,v=d&&Object.keys(d).length>0,p=ae(e),S=e.hasTag("pending")||(p==null?void 0:p.hasTag("pending")),w=(()=>{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.edit")):case(p==null?void 0:p.matches("setupTOTP.submit")):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(p==null?void 0:p.matches("setupTOTP.getTotpSecretCode")):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})();return{authStatus:(g=>{switch(g){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(w),codeDeliveryDetails:l,error:u,hasValidationErrors:v,isPending:S,route:w,socialProviders:f,totpSecretCode:m,unverifiedContactMethods:c,user:h,validationErrors:d}},Ii=({send:e,state:t})=>{const n=vs(e),o=ws(t);return Object.assign(Object.assign({},n),o)},Ss=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"],_s={"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",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihre Passwort ein","Enter your Email":"Geben Sie Ihre E-Mail","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xFCcksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},bs={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your email":"Enter your email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},Cs={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your email":"Escriba su Email","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi contrase\xF1a","Incorrect username or password.":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":"Formato de n\xFAmero de tel\xE9fono inv\xE1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},Es={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xE9","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},As={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},Ts={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Apple":"Apple \u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your Email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Please confirm your Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
2
+ +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},Is={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},Ps={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"},Ns={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},ks={"Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your username":"entre com seu nome de usu\xE1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xE7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xE1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xEA","We Sent A Code":"Enviamos um c\xF3digo","We Texted You":"Enviamos um SMS para voc\xEA","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo que enviamos para voc\xEA","Your code is on the way. To log in, enter the code we texted to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos uma mensagem de texto"},xs={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u66F4\u6539\u5BC6\u7801",Changing:"\u6B63\u5728\u4FEE\u6539",Code:"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C","Confirm SMS Code":"\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801","Confirm TOTP Code":"\u786E\u8BA4 TOTP \u4EE3\u7801",Confirm:"\u786E\u8BA4","Confirmation Code":"\u786E\u8BA4\u7801",Confirming:"\u6B63\u5728\u786E\u8BA4","Create a new account":"\u521B\u5EFA\u65B0\u8D26\u6237","Create Account":"\u521B\u5EFA\u8D26\u6237","Creating Account":"\u6B63\u5728\u521B\u5EFA\u8D26\u6237","Dismiss alert":"\u5173\u95ED\u8B66\u62A5",Email:"\u90AE\u7BB1","Enter your code":"\u8F93\u5165\u9A8C\u8BC1\u7801","Enter your email":"\u8F93\u5165\u7535\u5B50\u90AE\u4EF6","Enter your phone number":"\u8F93\u5165\u7535\u8BDD\u53F7\u7801","Enter your username":"\u8F93\u5165\u7528\u6237\u540D","Forgot your password?":"\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F","Hide password":"\u9690\u85CF\u5BC6\u7801","It may take a minute to arrive":"\u53EF\u80FD\u9700\u8981\u4E00\u5206\u949F\u624D\u80FD\u5230\u8FBE",Loading:"\u6B63\u5728\u52A0\u8F7D","New password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend Code":"\u91CD\u53D1\u9A8C\u8BC1\u7801","Reset your password":"\u91CD\u7F6E\u5BC6\u7801","Reset your Password":"\u91CD\u7F6E\u5BC6\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Send code":"\u53D1\u9001\u9A8C\u8BC1\u7801",Sending:"\u6B63\u5728\u53D1\u9001","Setup TOTP":"\u8BBE\u7F6E TOTP","Show password":"\u663E\u793A\u5BC6\u7801","Sign in to your account":"\u767B\u5F55\u8D26\u6237","Sign In with Amazon":"\u901A\u8FC7 Amazon \u767B\u5F55","Sign In with Apple":"\u901A\u8FC7 Apple \u767B\u5F55","Sign In with Facebook":"\u901A\u8FC7 Facebook \u767B\u5F55","Sign In with Google":"\u901A\u8FC7 Google \u767B\u5F55","Sign in":"\u767B\u5F55","Sign In":"\u767B\u5F55","Signing in":"\u6B63\u5728\u767B\u5F55",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4",Submitting:"\u6B63\u5728\u63D0\u4EA4",Username:"\u7528\u6237\u540D","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F",Verify:"\u9A8C\u8BC1","We Emailed You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u7535\u5B50\u90AE\u4EF6","We Sent A Code":"\u6211\u4EEC\u53D1\u9001\u4E86\u4EE3\u7801","We Texted You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u77ED\u4FE1","Your code is on the way. To log in, enter the code we emailed to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Your code is on the way. To log in, enter the code we sent you":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u53D1\u9001\u7ED9\u60A8\u7684\u4EE3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u77ED\u4FE1\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728"},$s={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord",Changing:"\xC4ndra",Code:"Kod","Confirm Password":"Bekr\xE4fta l\xF6senord","Confirm Sign Up":"Bekr\xE4fta registrering","Confirm SMS Code":"Bekr\xE4fta SMS-kod","Confirm TOTP Code":"Bekr\xE4fta TOTP-kod",Confirm:"Bekr\xE4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xE4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Hide password":"D\xF6lj l\xF6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xF6senord",or:"eller",Password:"L\xF6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Reset your Password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xF6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xF6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xE4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xF6senord","Forgot Password":"Gl\xF6mt l\xF6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Reset password":"\xC5terst\xE4ll l\xF6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},Os={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},Rs={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula",Confirm:"Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015Ftur","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xFCrebilir",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre",or:"veya",Password:"\u015Eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xF6nder","Send Code":"Kod G\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Signing in":"Oturum a\xE7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula","We Emailed You":"Size E-posta G\xF6nderdik","We Sent A Code":"Bir Kod G\xF6nderdik","We Texted You":"Size Mesaj G\xF6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, size g\xF6nderdi\u011Fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz"},Us={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},Bs={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},Vs={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},Fs={ADD_PROFILE:"Add your Profile",ADD_WEBSITE:"Add your Website",BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Please confirm your Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_BIRTHDATE:"Enter your Birthdate",ENTER_CODE:"Enter your code",ENTER_CONFIRMATION_CODE:"Enter your Confirmation Code",ENTER_EMAIL:"Enter your Email",ENTER_FAMILY_NAME:"Enter your Family Name",ENTER_GIVEN_NAME:"Enter your Given Name",ENTER_MIDDLE_NAME:"Enter your Middle Name",ENTER_NAME:"Enter your Name",ENTER_NICK_NAME:"Enter your Nickname",ENTER_PASSWORD:"Enter your Password",ENTER_PHONE_NUMBER:"Enter your Phone Number",ENTER_PREFERRED_USERNAME:"Enter your Preferred Username",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_PASSWORD:"Forgot Password?",FORGOT_YOUR_PASSWORD:"Forgot your password?",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},Ms=Object.assign({},_s),Ds=Object.assign({},bs),Ls=Object.assign({},Cs),js=Object.assign({},Es),zs=Object.assign({},As),Gs=Object.assign({},Ts),Co=Object.assign({},Is),Hs=Object.assign({},Ps),Ws=Object.assign({},Ns),Ys=Object.assign({},ks),Ks=Object.assign({},xs),qs=Object.assign({},$s),Js=Object.assign({},Os),Zs=Object.assign({},Rs),Qs=Object.assign({},Us),Xs=Object.assign({},Bs),el=Object.assign({},Vs),tl=Object.assign({},Fs),R=Object.assign({},tl);function k(e){return H.I18n.get(e)}const nl={de:Ms,en:Ds,es:Ls,fr:js,id:Js,it:zs,ja:Gs,kr:Co,ko:Co,nl:Hs,pl:Ws,pt:Ys,zh:Ks,sv:qs,tr:Zs,ru:Qs,he:Xs,ua:el},on={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:Ss,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},rl=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],Se=e=>{const t=new FormData(e.target);return Object.fromEntries(t)},Eo=e=>Ti.includes(e),ol=e=>{return e?(t=e,Array.isArray(t)?e:[e]):null;var t};function Pi(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function V(e,t,n,o){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function l(d){try{c(o.next(d))}catch(m){s(m)}}function u(d){try{c(o.throw(d))}catch(m){s(m)}}function c(d){d.done?a(d.value):i(d.value).then(l,u)}c((o=o.apply(e,t||[])).next())})}var Pt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ni={},ki={};(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=[],p;try{for(;(s===void 0||s-- >0)&&!(l=c.next()).done;)d.push(l.value)}catch(f){p={error:f}}finally{try{l&&!l.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.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})(Pi);Object.defineProperty(Ei,"__esModule",{value:!0});var bo=Pi,Hs={timeout:1e4};function Ws(e,t,n){var r=bo.__assign(bo.__assign({},Hs),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 Ys=Ei.waitFor=Ws,Ks=function(e){var t=e.packageName,n=e.version;Qa.appendToCognitoUserAgent("".concat(t,"/").concat(n))},Co=function(e){return F(void 0,void 0,void 0,function(){return M(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,Ys(e,function(n){return ue(n).matches("autoSignIn")})];case 1:case 2:return t.sent(),[3,3];case 3:return[2]}})})},qs=function(e,t){return F(void 0,void 0,void 0,function(){var n,r,i;return M(this,function(a){switch(a.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,Co(t)];case 3:a.sent(),(i=ue(t.getSnapshot()))!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN",data:e.payload.data}),a.label=4;case 4:return[3,9];case 5:return[4,Co(t)];case 6:return a.sent(),(i=ue(t.getSnapshot()))!=null&&i.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]}})})},Js=function(e,t){return t===void 0&&(t=qs),Y.Hub.listen("auth",function(n,r){return function(i){r(i,n)}}(e,t),"authenticator-hub-handler")},Zs=function(e){return Gs.some(function(t){return e.includes(t)})},Qs=function(e,t,n){return encodeURI("otpauth://totp/".concat(e,":").concat(t,"?secret=").concat(n,"&issuer=").concat(e))};function Xs(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object.entries(e).reduce(function(r,i){var a,s=i[0],u=i[1];return E(E({},r),((a={})[s]=t.includes(s)?u:u==null?void 0:u.trim(),a))},{})}var $e=function(e,t){var n=or(e).country_code,r=rn[t];return r.type==="tel"&&(r=E(E({},r),{dialCode:n})),r},Lt=function(e){var t=Bn(e);return E(E({},$e(e,t)),{autocomplete:"username"})},Pt=function(e){return{confirmation_code:E(E({},$e(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},eu={signIn:function(e){return{username:E({},Lt(e)),password:E(E({},$e(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var t=e.context.config,n=t.loginMechanisms,r=t.signUpAttributes,i=Bn(e),a={},s=0,u=Array.from(new Set(Se(Se(Se([],n,!0),["password","confirm_password"],!1),r,!0)));s<u.length;s++){var c=u[s];if(_o(c)){var l=c===i?Lt(e):$e(e,c);a[c]=E({},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:E(E({},$e(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:Pt,forceNewPassword:function(e){for(var t=ue(e).context.requiredAttributes,n={},r=0,i=Array.from(new Set(Se(["password","confirm_password"],t,!0)));r<i.length;r++){var a=i[r];_o(a)?n[a]=E({},$e(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=Bn(e),n=rn[t].label;return{username:E(E({},Lt(e)),{label:"Enter your ".concat(n.toLowerCase()),placeholder:"Enter your ".concat(n.toLowerCase())})}},confirmResetPassword:function(e){return E(E({},Pt(e)),{password:E(E({},$e(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:E(E({},$e(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:Pt,setupTOTP:Pt},tu=function(e){for(var t=E({},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]=E(E({},s),{label:u?x(u):void 0,placeholder:c?x(c):void 0})}return t},nu=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})},ru=function(e,t){return(0,eu[e])(t)},ou=function(e,t){var n,r,i=(r=(n=or(t))===null||n===void 0?void 0:n.formFields)===null||r===void 0?void 0:r[e];return i&&Object.keys(i).length!==0?Object.entries(i).reduce(function(a,s){var u,c,l,d=s[0],p=s[1];if(e!=="signIn"&&e!=="resetPassword"||d!=="username")return ns(d)?(f=rn[d],m=E(E({},f),p),E(E({},a),((c={})[d]=m,c))):E(E({},a),((l={})[d]=p,l));var f=Lt(t),m=E(E({},f),p);return E(E({},a),((u={})[d]=m,u))},{}):{}},iu=function(e,t){var n=ru(e,t),r=ou(e,t),i=E(E({},n),r);return delete i.QR,tu(i)},au=function(e){return e.map(function(t){return[t[0],E(E({},t[1]),{order:void 0})]})},su=function(e,t){var n=iu(e,t);return au(nu(n))},uu={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},me={getBackToSignInText:function(){return x(R.BACK_SIGN_IN)},getChangePasswordText:function(){return x(R.CHANGE_PASSWORD)},getChangingText:function(){return x(R.CHANGING_PASSWORD)},getConfirmText:function(){return x(R.CONFIRM)},getConfirmingText:function(){return x(R.CONFIRMING)},getCopyText:function(){return x(R.UPPERCASE_COPY)},getHidePasswordText:function(){return x(R.HIDE_PASSWORD)},getLoadingText:function(){return x(R.LOADING)},getOrText:function(){return x(R.OR)},getResendCodeText:function(){return x(R.RESEND_CODE)},getSendCodeText:function(){return x(R.SEND_CODE)},getSendingText:function(){return x(R.SENDING)},getShowPasswordText:function(){return x(R.SHOW_PASSWORD)},getSubmitText:function(){return x(R.SUBMIT)},getSubmittingText:function(){return x(R.SUBMITTING)},getSignInTabText:function(){return x(R.SIGN_IN_TAB)},getSignUpTabText:function(){return x(R.CREATE_ACCOUNT)},getForgotPasswordText:function(e){return x(e?R.FORGOT_PASSWORD:R.FORGOT_YOUR_PASSWORD)},getSigningInText:function(){return x(R.SIGNING_IN_BUTTON)},getSignInText:function(){return x(R.SIGN_IN_BUTTON)},getCreatingAccountText:function(){return x(R.CREATING_ACCOUNT)},getCreateAccountText:function(){return x(R.CREATE_ACCOUNT)},getDeliveryMessageText:function(e){var t=e!=null?e:{},n=t.DeliveryMedium,r=t.Destination,i=n==="EMAIL",a=n==="SMS",s=x(R.CODE_ARRIVAL);if(!i&&!a)return"".concat(x(R.CODE_SENT),". ").concat(s,".");var u=x(i?R.CODE_EMAILED:R.CODE_TEXTED);return"".concat(u," ").concat(r,". ").concat(s,".")},getDeliveryMethodText:function(e){var t=(e!=null?e:{}).DeliveryMedium,n=t==="EMAIL";return x(n||t!=="SMS"?n?R.WE_EMAILED:R.WE_TEXTED:R.WE_SENT_CODE)},getChallengeText:function(e){switch(e){case"SMS_MFA":return x(R.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return x(R.CONFIRM_TOTP);default:throw new Error("".concat(x("Unexpected challengeName encountered in ConfirmSignIn:")," ").concat(e))}},getResetYourPasswordText:function(){return x(R.RESET_PASSWORD)},getSetupTOTPText:function(){return x(R.SETUP_TOTP)},getSetupTOTPInstructionsText:function(){return x("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below.")},getCopiedText:function(){return x("COPIED")},getSignInWithFederationText:function(e,t){return x("Sign ".concat(e==="signIn"?"In":"Up"," with ").concat(uu[t]))},getSkipText:function(){return x(R.SKIP)},getVerifyText:function(){return x(R.VERIFY)},getVerifyContactText:function(){return x(R.VERIFY_CONTACT)},getAccountRecoveryInfoText:function(){return x(R.VERIFY_HEADING)}};/*! *****************************************************************************
15
+ ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var l,u=1,c=arguments.length;u<c;u++){l=arguments[u];for(var d in l)Object.prototype.hasOwnProperty.call(l,d)&&(s[d]=l[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var l={};for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&s.indexOf(u)<0&&(l[u]=a[u]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,u=Object.getOwnPropertySymbols(a);c<u.length;c++)s.indexOf(u[c])<0&&Object.prototype.propertyIsEnumerable.call(a,u[c])&&(l[u[c]]=a[u[c]]);return l}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,l=s&&a[s],u=0;if(l)return l.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&u>=a.length&&(a=void 0),{value:a&&a[u++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(a,s){var l=typeof Symbol=="function"&&a[Symbol.iterator];if(!l)return a;var u=l.call(a),c,d=[],m;try{for(;(s===void 0||s-- >0)&&!(c=u.next()).done;)d.push(c.value)}catch(f){m={error:f}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(m)throw m.error}}return d}function i(a,s,l){if(l||arguments.length===2)for(var u=0,c=s.length,d;u<c;u++)(d||!(u in s))&&(d||(d=Array.prototype.slice.call(s,0,u)),d[u]=s[u]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=o,e.__rest=t,e.__spreadArray=i,e.__values=n})(ki);Object.defineProperty(Ni,"__esModule",{value:!0});var Ao=ki,il={timeout:1e4};function al(e,t,n){var o=Ao.__assign(Ao.__assign({},il),n);return new Promise(function(i,a){var s=!1,l=o.timeout===1/0?void 0:setTimeout(function(){c.unsubscribe(),a(new Error("Timeout of ".concat(o.timeout," ms exceeded")))},o.timeout),u=function(){clearTimeout(l),s=!0,c==null||c.unsubscribe()},c=e.subscribe({next:function(d){t(d)&&(u(),i(d))},error:function(d){u(),a(d)},complete:function(){u(),a(new Error("Actor terminated without satisfying predicate"))}});s&&c.unsubscribe()})}var sl=Ni.waitFor=al;const ll=({packageName:e,version:t})=>{ps.appendToCognitoUserAgent(`${e}/${t}`)},To=e=>V(void 0,void 0,void 0,function*(){try{yield sl(e,t=>ae(t).matches("autoSignIn"))}catch{}}),ul=(e,t)=>V(void 0,void 0,void 0,function*(){const{send:n}=t,o=t.getSnapshot();switch(e.payload.event){case"tokenRefresh":o.matches("authenticated.idle")&&n("TOKEN_REFRESH");break;case"autoSignIn":if(!o.matches("authenticated")){yield To(t);const i=ae(t.getSnapshot());i!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN",data:e.payload.data})}break;case"autoSignIn_failure":{yield To(t);const i=ae(t.getSnapshot());i!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN_FAILURE",data:e.payload.data});break}case"signOut":case"tokenRefresh_failure":o.matches("authenticated.idle")&&n("SIGN_OUT")}}),cl=(e,t=ul)=>H.Hub.listen("auth",((n,o)=>i=>{o(i,n)})(e,t),"authenticator-hub-handler"),dl=e=>rl.some(t=>e.includes(t)),fl=(e,t,n)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);function pl(e,...t){return Object.entries(e).reduce((n,[o,i])=>Object.assign(Object.assign({},n),{[o]:t.includes(o)?i:i==null?void 0:i.trim()}),{})}const ke=(e,t)=>{const{country_code:n}=sr(e);let o=on[t];const{type:i}=o;return i==="tel"&&(o=Object.assign(Object.assign({},o),{dialCode:n})),o},Lt=e=>{const t=Ln(e);return Object.assign(Object.assign({},ke(e,t)),{autocomplete:"username"})},Nt=e=>({confirmation_code:Object.assign(Object.assign({},ke(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}),ml={signIn:e=>({username:Object.assign({},Lt(e)),password:Object.assign(Object.assign({},ke(e,"password")),{autocomplete:"current-password"})}),signUp:e=>{const{loginMechanisms:t,signUpAttributes:n}=e.context.config,o=Ln(e),i=Array.from(new Set([...t,"password","confirm_password",...n])),a={};for(const s of i)if(Eo(s)){const l=s===o?Lt(e):ke(e,s);a[s]=Object.assign({},l)}else console.debug(`Authenticator does not have a default implementation for ${s}. Customize SignUp FormFields to add your own.`);return a},confirmSignUp:e=>({confirmation_code:Object.assign(Object.assign({},ke(e,"confirmation_code")),{placeholder:"Enter your code"})}),confirmSignIn:Nt,forceNewPassword:e=>{const t=ae(e),{requiredAttributes:n}=t.context,o=Array.from(new Set(["password","confirm_password",...n])),i={};for(const a of o)Eo(a)?i[a]=Object.assign({},ke(e,a)):console.debug(`Authenticator does not have a default implementation for ${a}. Customize ForceNewPassword FormFields to add your own.`);return i},resetPassword:e=>{const t=Ln(e),{label:n}=on[t];return{username:Object.assign(Object.assign({},Lt(e)),{label:`Enter your ${n.toLowerCase()}`,placeholder:`Enter your ${n.toLowerCase()}`})}},confirmResetPassword:e=>Object.assign(Object.assign({},Nt(e)),{password:Object.assign(Object.assign({},ke(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:Object.assign(Object.assign({},ke(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})}),confirmVerifyUser:Nt,setupTOTP:Nt},hl=e=>{const t=Object.assign({},e);for(const[n,o]of Object.entries(e)){const{label:i,placeholder:a}=o;t[n]=Object.assign(Object.assign({},o),{label:i?k(i):void 0,placeholder:a?k(a):void 0})}return t},gl=e=>Object.entries(e).sort((t,n)=>(t[1].order||Number.MAX_VALUE)-(n[1].order||Number.MAX_VALUE)).filter(t=>t[1]!==void 0),yl=(e,t)=>(0,ml[e])(t),vl=(e,t)=>{var n,o;const i=(o=(n=sr(t))===null||n===void 0?void 0:n.formFields)===null||o===void 0?void 0:o[e];return i&&Object.keys(i).length!==0?Object.entries(i).reduce((a,[s,l])=>{if(e!=="signIn"&&e!=="resetPassword"||s!=="username"){if(ys(s)){const u=on[s],c=Object.assign(Object.assign({},u),l);return Object.assign(Object.assign({},a),{[s]:c})}return Object.assign(Object.assign({},a),{[s]:l})}{const u=Lt(t),c=Object.assign(Object.assign({},u),l);return Object.assign(Object.assign({},a),{[s]:c})}},{}):{}},wl=(e,t)=>{const n=yl(e,t),o=vl(e,t),i=Object.assign(Object.assign({},n),o);return delete i.QR,hl(i)},Sl=e=>e.map(t=>[t[0],Object.assign(Object.assign({},t[1]),{order:void 0})]),_l=(e,t)=>{const n=wl(e,t);return Sl(gl(n))},bl={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},fe={getBackToSignInText:()=>k(R.BACK_SIGN_IN),getChangePasswordText:()=>k(R.CHANGE_PASSWORD),getChangingText:()=>k(R.CHANGING_PASSWORD),getConfirmText:()=>k(R.CONFIRM),getConfirmingText:()=>k(R.CONFIRMING),getCopyText:()=>k(R.UPPERCASE_COPY),getHidePasswordText:()=>k(R.HIDE_PASSWORD),getLoadingText:()=>k(R.LOADING),getOrText:()=>k(R.OR),getResendCodeText:()=>k(R.RESEND_CODE),getSendCodeText:()=>k(R.SEND_CODE),getSendingText:()=>k(R.SENDING),getShowPasswordText:()=>k(R.SHOW_PASSWORD),getSubmitText:()=>k(R.SUBMIT),getSubmittingText:()=>k(R.SUBMITTING),getSignInTabText:()=>k(R.SIGN_IN_TAB),getSignUpTabText:()=>k(R.CREATE_ACCOUNT),getForgotPasswordText:e=>k(e?R.FORGOT_PASSWORD:R.FORGOT_YOUR_PASSWORD),getSigningInText:()=>k(R.SIGNING_IN_BUTTON),getSignInText:()=>k(R.SIGN_IN_BUTTON),getCreatingAccountText:()=>k(R.CREATING_ACCOUNT),getCreateAccountText:()=>k(R.CREATE_ACCOUNT),getDeliveryMessageText:e=>{const{DeliveryMedium:t,Destination:n}=e!=null?e:{},o=t==="EMAIL",i=t==="SMS",a=k(R.CODE_ARRIVAL);return!o&&!i?`${k(R.CODE_SENT)}. ${a}.`:`${k(o?R.CODE_EMAILED:R.CODE_TEXTED)} ${n}. ${a}.`},getDeliveryMethodText:e=>{const{DeliveryMedium:t}=e!=null?e:{},n=t==="EMAIL";return k(n||t!=="SMS"?n?R.WE_EMAILED:R.WE_TEXTED:R.WE_SENT_CODE)},getChallengeText:e=>{switch(e){case"SMS_MFA":return k(R.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return k(R.CONFIRM_TOTP);default:throw new Error(`${k("Unexpected challengeName encountered in ConfirmSignIn:")} ${e}`)}},getResetYourPasswordText:()=>k(R.RESET_PASSWORD),getSetupTOTPText:()=>k(R.SETUP_TOTP),getSetupTOTPInstructionsText:()=>k("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."),getCopiedText:()=>k("COPIED"),getSignInWithFederationText:(e,t)=>k(`Sign ${e==="signIn"?"In":"Up"} with ${bl[t]}`),getSkipText:()=>k(R.SKIP),getVerifyText:()=>k(R.VERIFY),getVerifyContactText:()=>k(R.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>k(R.VERIFY_HEADING)};/*! *****************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
17
17
 
18
18
  Permission to use, copy, modify, and/or distribute this software for any
@@ -25,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 T=function(){return T=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},T.apply(this,arguments)};function ir(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 B(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 V(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 G(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 L;(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"})(L||(L={}));var Ne;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Ne||(Ne={}));var Vn=L.Start,ar=L.Stop,qe=L.Raise,Je=L.Send,Ni=L.Cancel,cu=L.NullEvent,sr=L.Assign;L.After;L.DoneState;var ki=L.Log,lu=L.Init,Fn=L.Invoke;L.ErrorExecution;var Ao=L.ErrorPlatform,du=L.ErrorCustom,ur=L.Update,fu=L.Choose,pu=L.Pure,xi=".",Io={},Mn="xstate.guard",mu="",$i=!0,Nt;function cr(e,t,n){n===void 0&&(n=xi);var r=gt(e,n),i=gt(t,n);return D(i)?D(r)?i===r:!1:D(r)?r in i:Object.keys(r).every(function(a){return a in i?cr(r[a],i[a]):!1})}function Oi(e){try{return D(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 Dn(e,t){try{return rt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function hu(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function gt(e,t){if(hu(e))return e.value;if(rt(e))return Yt(e);if(typeof e!="string")return e;var n=Dn(e,t);return Yt(n)}function Yt(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 pt(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 To(e,t,n){var r,i,a={};try{for(var s=B(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 gu=function(e){return function(t){var n,r,i=t;try{for(var a=B(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 vu(e,t){return function(n){var r,i,a=n;try{for(var s=B(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 zt(e){if(!e)return[[]];if(D(e))return[[e]];var t=K(Object.keys(e).map(function(n){var r=e[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:zt(e[n]).map(function(i){return[n].concat(i)})}));return t}function K(e){var t;return(t=[]).concat.apply(t,G([],V(e),!1))}function Ui(e){return rt(e)?e:[e]}function ye(e){return e===void 0?[]:Ui(e)}function Kt(e,t,n){var r,i;if(z(e))return e(t,n.data);var a={};try{for(var s=B(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];z(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 yu(e){return/^(done|error)\./.test(e)}function Eo(e){return!!(e instanceof Promise||e!==null&&(z(e)||typeof e=="object")&&z(e.then))}function wu(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Su(e,t){var n,r,i=V([[],[]],2),a=i[0],s=i[1];try{for(var u=B(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 Ri(e,t){return pt(e.states,function(n,r){if(!!n){var i=(D(t)?void 0:t[r])||(n?n.current:void 0);if(!!i)return{current:i,states:Ri(n,i)}}})}function _u(e,t){return{current:t,states:Ri(e,t)}}function Po(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},p={};if(z(l))p=l(a,t.data,d);else try{for(var f=B(Object.keys(l)),m=f.next();!m.done;m=f.next()){var v=m.value,y=l[v];p[v]=z(y)?y(a,t.data,d):y}}catch(w){u={error:w}}finally{try{m&&!m.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return Object.assign({},a,p)},e);return i}var bu=function(){};function rt(e){return Array.isArray(e)}function z(e){return typeof e=="function"}function D(e){return typeof e=="string"}function Bi(e,t){if(!!e)return D(e)?{type:Mn,name:e,predicate:t?t[e]:void 0}:z(e)?{type:Mn,name:e.name,predicate:e}:e}function Cu(e){try{return"subscribe"in e&&z(e.subscribe)}catch{return!1}}var Oe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Nt={},Nt[Oe]=function(){return this},Nt[Symbol.observable]=function(){return this};function Ze(e){return!!e&&"__xstatenode"in e}function Au(e){return!!e&&typeof e.send=="function"}var Iu=function(){var e=0;return function(){return e++,e.toString(16)}}();function lr(e,t){return D(e)||typeof e=="number"?T({type:e},t):e}function re(e,t){if(!D(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=lr(e);return T({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Ge(e,t){var n=Ui(t).map(function(r){return typeof r=="undefined"||typeof r=="string"||Ze(r)?{target:r,event:e}:T(T({},r),{event:e})});return n}function Tu(e){if(!(e===void 0||e===mu))return ye(e)}function Vi(e,t,n,r,i){var a=e.options.guards,s={state:i,cond:t,_event:r};if(t.type===Mn)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 Fi(e){return typeof e=="string"?{type:e}:e}function Gt(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 kt(e,t){return"".concat(e,":invocation[").concat(t,"]")}var Ke=re({type:lu});function Ln(e,t){return t&&t[e]||void 0}function yt(e,t){var n;if(D(e)||typeof e=="number"){var r=Ln(e,t);z(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(z(e))n={type:e.name||e.toString(),exec:e};else{var r=Ln(e.type,t);if(z(r))n=T(T({},e),{exec:r});else if(r){var i=r.type||e.type;n=T(T(T({},r),e),{type:i})}else n=e}return n}var Ue=function(e,t){if(!e)return[];var n=rt(e)?e:[e];return n.map(function(r){return yt(r,t)})};function dr(e){var t=yt(e);return T(T({id:D(e)?e:t.id},t),{type:t.type})}function Eu(e){return D(e)?{type:qe,event:e}:on(e,{to:Ne.Internal})}function Pu(e){return{type:qe,_event:re(e.event)}}function on(e,t){return{to:t?t.to:void 0,type:Je,event:z(e)?e:lr(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:z(e)?e.name:Oi(e)}}function Nu(e,t,n,r){var i={_event:n},a=re(z(e.event)?e.event(t,n.data,i):e.event),s;if(D(e.delay)){var u=r&&r[e.delay];s=z(u)?u(t,n.data,i):u}else s=z(e.delay)?e.delay(t,n.data,i):e.delay;var c=z(e.to)?e.to(t,n.data,i):e.to;return T(T({},e),{to:c,_event:a,event:a.data,delay:s})}function ku(e,t){return on(e,T(T({},t),{to:Ne.Parent}))}function xu(){return ku(ur)}var $u=function(e,t,n){return T(T({},e),{value:D(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Ou=function(e){return{type:Ni,sendId:e}};function Uu(e){var t=dr(e);return{type:L.Start,activity:t,exec:void 0}}function Mi(e){var t=z(e)?e:dr(e);return{type:L.Stop,activity:t,exec:void 0}}function Ru(e,t,n){var r=z(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:L.Stop,activity:i};return a}var Di=function(e){return{type:sr,assignment:e}};function Bu(e,t){var n=t?"#".concat(t):"";return"".concat(L.After,"(").concat(e,")").concat(n)}function xt(e,t){var n="".concat(L.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function jt(e,t){var n="".concat(L.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function mt(e,t){var n="".concat(L.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Vu(e,t){return on(function(n,r){return r},T(T({},t),{to:e}))}function Fu(e){return{type:L.Choose,conds:e}}var Mu=function(e){var t,n,r=[];try{for(var i=B(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===sr){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 qt(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:Mu(i),c=u.length?Po(n,r,u,t):n,l=s?[n]:void 0,d=[];function p(v){var y;switch(v.type){case qe:return Pu(v);case Je:var w=Nu(v,c,r,e.options.delays);return a&&w.to!==Ne.Internal&&d.push(w),w;case ki:{var S=$u(v,c,r);return a==null||a(S,c,r),S}case fu:{var g=v,h=(y=g.conds.find(function(O){var H=Bi(O.cond,e.options.guards);return!H||Vi(e,H,c,r,a?void 0:t)}))===null||y===void 0?void 0:y.actions;if(!h)return[];var _=V(qt(e,t,c,r,[Ue(ye(h),e.options.actions)],a,s),2),b=_[0],C=_[1];return c=C,l==null||l.push(c),b}case pu:{var h=v.get(c,r.data);if(!h)return[];var A=V(qt(e,t,c,r,[Ue(ye(h),e.options.actions)],a,s),2),N=A[0],k=A[1];return c=k,l==null||l.push(c),N}case ar:{var S=Ru(v,c,r);return a==null||a(S,n,r),S}case sr:{c=Po(c,r,[v],a?void 0:t),l==null||l.push(c);break}default:var I=yt(v,e.options.actions),$=I.exec;if(a)a(I,c,r);else if($&&l){var U=l.length-1;I=T(T({},I),{exec:function(O){for(var H=[],J=1;J<arguments.length;J++)H[J-1]=arguments[J];$.apply(void 0,G([l[U]],V(H),!1))}})}return I}}function f(v){var y,w,S=[];try{for(var g=B(v),h=g.next();!h.done;h=g.next()){var _=h.value,b=p(_);b&&(S=S.concat(b))}}catch(C){y={error:C}}finally{try{h&&!h.done&&(w=g.return)&&w.call(g)}finally{if(y)throw y.error}}return d.forEach(function(C){a(C,c,r)}),d.length=0,S}var m=K(i.map(f));return[m,c]}var Jt=[],We=function(e,t){Jt.push(e);var n=t(e);return Jt.pop(),n},Du=function(e){return e(Jt[Jt.length-1])};function Li(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[Oe]=function(){return this},t}function Lu(e,t,n,r){var i,a=Fi(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],u=e.data?Kt(e.data,n,r):void 0,c=s?fr(s,e.id,u):Li(e.id);return c.meta=e,c}function fr(e,t,n){var r=Li(t);if(r.deferred=!0,Ze(e)){var i=r.state=We(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}function zu(e){try{return typeof e.send=="function"}catch{return!1}}function Gu(e){return zu(e)&&"id"in e}function ju(e){var t;return T((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[Oe]=function(){return this},t),e)}var Zt=function(e){return e.type==="atomic"||e.type==="final"};function zi(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function wt(e){return zi(e).filter(function(t){return t.type!=="history"})}function Gi(e){var t=[e];return Zt(e)?t:t.concat(K(wt(e).map(Gi)))}function ht(e,t){var n,r,i,a,s,u,c,l,d=new Set(e),p=zn(d),f=new Set(t);try{for(var m=B(f),v=m.next();!v.done;v=m.next())for(var y=v.value,w=y.parent;w&&!f.has(w);)f.add(w),w=w.parent}catch(k){n={error:k}}finally{try{v&&!v.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}var S=zn(f);try{for(var g=B(f),h=g.next();!h.done;h=g.next()){var y=h.value;if(y.type==="compound"&&(!S.get(y)||!S.get(y).length))p.get(y)?p.get(y).forEach(function(I){return f.add(I)}):y.initialStateNodes.forEach(function(I){return f.add(I)});else if(y.type==="parallel")try{for(var _=(s=void 0,B(wt(y))),b=_.next();!b.done;b=_.next()){var C=b.value;f.has(C)||(f.add(C),p.get(C)?p.get(C).forEach(function(I){return f.add(I)}):C.initialStateNodes.forEach(function(I){return f.add(I)}))}}catch(I){s={error:I}}finally{try{b&&!b.done&&(u=_.return)&&u.call(_)}finally{if(s)throw s.error}}}}catch(k){i={error:k}}finally{try{h&&!h.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var A=B(f),N=A.next();!N.done;N=A.next())for(var y=N.value,w=y.parent;w&&!f.has(w);)f.add(w),w=w.parent}catch(k){c={error:k}}finally{try{N&&!N.done&&(l=A.return)&&l.call(A)}finally{if(c)throw c.error}}return f}function ji(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var r=n[0];if(r){if(Zt(r))return r.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=ji(a,t)}),i}function zn(e){var t,n,r=new Map;try{for(var i=B(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 Hu(e,t){var n=ht([e],t);return ji(e,zn(n))}function Ye(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function Wu(e){return G([],V(new Set(K(G([],V(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Ht(e,t){return t.type==="compound"?wt(t).some(function(n){return n.type==="final"&&Ye(e,n)}):t.type==="parallel"?wt(t).every(function(n){return Ht(e,n)}):!1}function Yu(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function No(e){return new Set(K(e.map(function(t){return t.tags})))}function Hi(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(D(e)||D(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(i){return Hi(e[i],t[i])})}function Ku(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function qu(e,t){var n=e.exec,r=T(T({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return r}var we=function(){function e(t){var n=this,r;this.actions=[],this.activities=Io,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||Io,this.meta=Yu(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 Wu(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=Ke;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=Ke;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="."),D(t))return[t];var i=Object.keys(t);return i.concat.apply(i,G([],V(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=ir(t,["configuration","transitions","tags","machine"]);return T(T({},r),{tags:Array.from(n)})},e.prototype.matches=function(t){return cr(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;$i&&bu(!!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}(),Ju={deferEvents:!1},ko=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=T(T({},Ju),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}(),An=new Map,Zu=0,$t={bookId:function(){return"x:".concat(Zu++)},register:function(e,t){return An.set(e,t),e},get:function(e){return An.get(e)},free:function(e){An.delete(e)}};function pr(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function Qu(){var e=pr();if(e&&"__xstate__"in e)return e.__xstate__}function Xu(e){if(!!pr()){var t=Qu();t&&t.register(e)}}function ec(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=ju({id:t.id,send:function(l){i.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,d,p){var f=Gt(l,d,p);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 Gn={sync:!1,autoForward:!1},ne;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ne||(ne={}));var tc=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=ne.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,p){if(rt(d))return r.batch(d),r.state;var f=re(lr(d,p));if(r.status===ne.Stopped)return r.state;if(r.status!==ne.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 m=r._nextState(f);r.update(m,f)}),r._state},this.sendTo=function(d,p,f){var m=r.parent&&(p===Ne.Parent||r.parent.id===p),v=m?r.parent:D(p)?r.children.get(p)||$t.get(p):Au(p)?p:void 0;if(!v){if(!m)throw new Error("Unable to send event to child '".concat(p,"' from service '").concat(r.id,"'."));return}if("machine"in v){if(r.status!==ne.Stopped||r.parent!==v||r.state.done){var y=T(T({},d),{name:d.name===du?"".concat(mt(r.id)):d.name,origin:r.sessionId});!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,y]):v.send(y)}}else!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,d.data]):v.send(d.data)},this._exec=function(d,p,f,m){m===void 0&&(m=r.machine.options.actions);var v=d.exec||Ln(d.type,m),y=z(v)?v:v?v.exec:d.exec;if(y)try{return y(p,f.data,r.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:r.state,_event:f})}catch(U){throw r.parent&&r.parent.send({type:"xstate.error",data:U}),U}switch(d.type){case Je:var w=d;if(typeof w.delay=="number"){r.defer(w);return}else w.to?r.sendTo(w._event,w.to,f===Ke):r.send(w._event);break;case Ni:r.cancel(d.sendId);break;case Vn:{if(r.status!==ne.Running)return;var S=d.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[S.id||S.type])break;if(S.type===L.Invoke){var g=Fi(S.src),h=r.machine.options.services?r.machine.options.services[g.type]:void 0,_=S.id,b=S.data,C="autoForward"in S?S.autoForward:!!S.forward;if(!h)return;var A=b?Kt(b,p,f):void 0;if(typeof h=="string")return;var N=z(h)?h(p,f.data,{data:A,src:g,meta:S.meta}):h;if(!N)return;var k=void 0;Ze(N)&&(N=A?N.withContext(A):N,k={autoForward:C}),r.spawn(N,_,k)}else r.spawnActivity(S);break}case ar:{r.stopChild(d.activity.id);break}case ki:var I=d.label,$=d.value;I?r.logger(I,$):r.logger($);break}};var i=T(T({},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 ko({deferEvents:this.options.deferEvents}),this.sessionId=$t.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:We(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=B(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,p=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===Ke)&&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(k){p.state.children[k.id]=k}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var m=B(this.eventListeners),v=m.next();!v.done;v=m.next()){var y=v.value;y(t.event)}}catch(k){r={error:k}}finally{try{v&&!v.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}try{for(var w=B(this.listeners),S=w.next();!S.done;S=w.next()){var y=S.value;y(t,t.event)}}catch(k){a={error:k}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}try{for(var g=B(this.contextListeners),h=g.next();!h.done;h=g.next()){var _=h.value;_(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(k){u={error:k}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}if(this.state.done){var b=t.configuration.find(function(k){return k.type==="final"&&k.parent===p.machine}),C=b&&b.doneData?Kt(b.doneData,t.context,n):void 0;try{for(var A=B(this.doneListeners),N=A.next();!N.done;N=A.next()){var y=N.value;y(jt(this.id,C))}}catch(k){l={error:k}}finally{try{N&&!N.done&&(d=A.return)&&d.call(A)}finally{if(l)throw l.error}}this._stop(),this._stopChildren()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===ne.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,r){var i=this,a=Gt(t,n,r);this.listeners.add(a.next),this.status!==ne.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===ne.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===ne.Running)return this;this.machine._init(),$t.register(this.sessionId,this),this.initialized=!0,this.status=ne.Running;var r=t===void 0?this.initialState:We(this,function(){return Ku(t)?n.machine.resolveState(t):n.machine.resolveState(we.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Ke)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){z(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 p=B(this.listeners),f=p.next();!f.done;f=p.next()){var m=f.value;this.listeners.delete(m)}}catch(A){t={error:A}}finally{try{f&&!f.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}try{for(var v=B(this.stopListeners),y=v.next();!y.done;y=v.next()){var m=y.value;m(),this.stopListeners.delete(m)}}catch(A){r={error:A}}finally{try{y&&!y.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}try{for(var w=B(this.contextListeners),S=w.next();!S.done;S=w.next()){var m=S.value;this.contextListeners.delete(m)}}catch(A){a={error:A}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}try{for(var g=B(this.doneListeners),h=g.next();!h.done;h=g.next()){var m=h.value;this.doneListeners.delete(m)}}catch(A){u={error:A}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}if(!this.initialized)return this;this.initialized=!1,this.status=ne.Stopped,this._initialState=void 0;try{for(var _=B(Object.keys(this.delayedEventsMap)),b=_.next();!b.done;b=_.next()){var C=b.value;this.clock.clearTimeout(this.delayedEventsMap[C])}}catch(A){l={error:A}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new ko({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=re({type:"xstate.stop"}),i=We(t,function(){var a=K(G([],V(t.state.configuration),!1).sort(function(d,p){return p.order-d.order}).map(function(d){return Ue(d.onExit,t.machine.options.actions)})),s=V(qt(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 we({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!==qe&&(d.type!==Je||!!d.to&&d.to!==Ne.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(),$t.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(!(this.status===ne.NotStarted&&this.options.deferEvents)){if(this.status!==ne.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(m){var v=re(m);n.forward(v),s=We(n,function(){return n.machine.transition(s,v,void 0,r||void 0)}),c.push.apply(c,G([],V(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(y){return qu(y,s)})),!1)),u=u||!!s.changed};try{for(var d=B(t),p=d.next();!p.done;p=d.next()){var f=p.value;l(f)}}catch(m){i={error:m}}finally{try{p&&!p.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=u,s.actions=c,n.update(s,re(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=re(t);if(i.name.indexOf(Ao)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Ao)===0}))throw i.data.data;var a=We(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=B(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),z(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,r){if(this.status!==ne.Running)return fr(t,n);if(Eo(t))return this.spawnPromise(Promise.resolve(t),n);if(z(t))return this.spawnCallback(t,n);if(Gu(t))return this.spawnActor(t,n);if(Cu(t))return this.spawnObservable(t,n);if(Ze(t))return this.spawnMachine(t,T(T({},r),{id:n}));if(wu(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,T(T({},this.options),{parent:this,id:n.id||t.id})),a=T(T({},Gn),n);a.sync&&i.onTransition(function(u){r.send(ur,{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(re(u,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var r=ec(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(re(jt(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var l=mt(n,c);try{i.send(re(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 p=Gt(c,l,d),f=!1;return t.then(function(m){f||(p.next(m),!f&&p.complete())},function(m){f||p.error(m)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[Oe]=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(m){return m(f)}),!a&&i.send(re(f,{origin:n}))},d;try{d=t(l,function(f){s.add(f)})}catch(f){this.send(mt(n,f))}if(Eo(d))return this.spawnPromise(d,n);var p=(r={id:n,send:function(f){return s.forEach(function(m){return m(f)})},subscribe:function(f){var m=Gt(f);return u.add(m.next),{unsubscribe:function(){u.delete(m.next)}}},stop:function(){a=!0,z(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},r[Oe]=function(){return this},r);return this.children.set(n,p),p},e.prototype.spawnObservable=function(t,n){var r,i=this,a,s=t.subscribe(function(c){a=c,i.send(re(c,{origin:n}))},function(c){i.removeChild(n),i.send(re(mt(n,c),{origin:n}))},function(){i.removeChild(n),i.send(re(jt(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[Oe]=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[Oe]=function(){return this},r))},e.prototype.attachDev=function(){var t=pr();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(T(T({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:T({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}Xu(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Oe]=function(){return this},e.prototype.getSnapshot=function(){return this.status===ne.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=Wi,e}(),nc=function(e){return D(e)?T(T({},Gn),{name:e}):T(T(T({},Gn),{name:Iu()}),e)};function Ot(e,t){var n=nc(t);return Du(function(r){return r?r.spawn(e,n.name,n):fr(e,n.name)})}function Wi(e,t){var n=new tc(e,t);return n}function rc(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Ut(e){return T(T({type:Fn},e),{toJSON:function(){e.onDone,e.onError;var t=ir(e,["onDone","onError"]);return T(T({},t),{type:Fn,src:rc(e.src)})}})}var Rt="",jn="#",In="*",je={},He=function(e){return e[0]===jn},oc=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},ic=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(oc(),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:xi),this.id=this.config.id||G([this.machine.key],V(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?pt(this.config.states,function(l,d){var p,f=new e(l,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,T((p={},p[f.id]=f,p),f.idMap)),f}):je;var u=0;function c(l){var d,p;l.order=u++;try{for(var f=B(zi(l)),m=f.next();!m.done;m=f.next()){var v=m.value;c(v)}}catch(y){d={error:y}}finally{try{m&&!m.done&&(p=f.return)&&p.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===Rt}):Rt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ye(this.config.entry||this.config.onEntry).map(function(l){return yt(l)}),this.onExit=ye(this.config.exit||this.config.onExit).map(function(l){return yt(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ye(this.config.invoke).map(function(l,d){var p,f;if(Ze(l)){var m=kt(a.id,d);return a.machine.options.services=T((p={},p[m]=l,p),a.machine.options.services),Ut({src:m,id:m})}else if(D(l.src)){var m=l.id||kt(a.id,d);return Ut(T(T({},l),{id:m,src:l.src}))}else if(Ze(l.src)||z(l.src)){var m=l.id||kt(a.id,d);return a.machine.options.services=T((f={},f[m]=l.src,f),a.machine.options.services),Ut(T(T({id:m},l),{src:m}))}else{var v=l.src;return Ut(T(T({id:kt(a.id,d)},l),{src:v}))}}),this.activities=ye(this.config.activities).concat(this.invoke).map(function(l){return dr(l)}),this.transition=this.transition.bind(this),this.tags=ye(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||Gi(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:T(T({},i),t.actions),activities:T(T({},a),t.activities),guards:T(T({},s),t.guards),services:T(T({},u),t.services),delays:T(T({},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 z(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:pt(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===Rt,r=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===In});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=z(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Bu(u,t.id);return t.onEntry.push(on(c,{delay:a})),t.onExit.push(Ou(c)),c},i=rt(n)?n.map(function(a,s){var u=r(a.delay,s);return T(T({},a),{event:u})}):K(Object.keys(n).map(function(a,s){var u=n[a],c=D(u)?{target:u}:u,l=isNaN(+a)?a:+a,d=r(l,s);return ye(c).map(function(p){return T(T({},p),{event:d,delay:l})})}));return i.map(function(a){var s=a.delay;return T(T({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,r=this;if(!t)return[];var i=t instanceof we?t.value:gt(t,this.delimiter);if(D(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,G([],V(K(s.map(function(c){return r.getStateNode(c).getStateNodes(i[c])}))),!1)),u},e.prototype.handles=function(t){var n=Oi(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof we?t:we.create(t),r=Array.from(ht([],this.getStateNodes(n.value)));return new we(T(T({},n),{value:this.resolve(n.value),configuration:r,done:Ht(r,this),tags:No(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=B(Object.keys(t)),c=u.next();!c.done;c=u.next()){var l=c.value,d=t[l];if(!!d){var p=this.getStateNode(l),f=p._transition(d,n,r);f&&(s[l]=f)}}}catch(g){i={error:g}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}var m=Object.keys(s).map(function(g){return s[g]}),v=K(m.map(function(g){return g.transitions})),y=m.some(function(g){return g.transitions.length>0});if(!y)return this.next(n,r);var w=K(m.map(function(g){return g.entrySet})),S=K(Object.keys(s).map(function(g){return s[g].configuration}));return{transitions:v,entrySet:w,exitSet:K(m.map(function(g){return g.exitSet})),configuration:S,source:n,actions:K(Object.keys(s).map(function(g){return s[g].actions}))}},e.prototype._transition=function(t,n,r){return D(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,re(n))},e.prototype.next=function(t,n){var r,i,a=this,s=n.name,u=[],c=[],l;try{for(var d=B(this.getCandidates(s)),p=d.next();!p.done;p=d.next()){var f=p.value,m=f.cond,v=f.in,y=t.context,w=v?D(v)&&He(v)?t.matches(gt(this.getStateNodeById(v).path,this.delimiter)):cr(gt(v,this.delimiter),gu(this.path.slice(0,-2))(t.value)):!0,S=!1;try{S=!m||Vi(this.machine,m,y,n,t)}catch(b){throw new Error("Unable to evaluate guard '".concat(m.name||m.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
30
- `).concat(b.message))}if(S&&w){f.target!==void 0&&(c=f.target),u.push.apply(u,G([],V(f.actions),!1)),l=f;break}}}catch(b){r={error:b}}finally{try{p&&!p.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 g=K(c.map(function(b){return a.getRelativeStateNodes(b,t.historyValue)})),h=!!l.internal,_=[];return h||c.forEach(function(b){_.push.apply(_,G([],V(a.getExternalReentryNodes(b)),!1))}),{transitions:[l],entrySet:_,exitSet:h?[]:[this],configuration:g,source:t,actions:u}}},e.prototype.getExternalReentryNodes=function(t){for(var n=[],r=V(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,p,f=this,m=ht([],s?this.getStateNodes(s.value):[this]);try{for(var v=B(t),y=v.next();!y.done;y=v.next()){var w=y.value;(!Ye(m,w)||Ye(r.entrySet,w.parent)&&!Ye(r.entrySet,w))&&r.entrySet.push(w)}}catch(I){c={error:I}}finally{try{y&&!y.done&&(l=v.return)&&l.call(v)}finally{if(c)throw c.error}}try{for(var S=B(m),g=S.next();!g.done;g=S.next()){var w=g.value;(!Ye(t,w)||Ye(r.exitSet,w.parent))&&r.exitSet.push(w)}}catch(I){d={error:I}}finally{try{g&&!g.done&&(p=S.return)&&p.call(S)}finally{if(d)throw d.error}}var h=K(r.entrySet.map(function(I){var $=[];if(I.type!=="final")return $;var U=I.parent;if(!U.parent)return $;$.push(xt(I.id,I.doneData),xt(U.id,I.doneData?Kt(I.doneData,i,a):void 0));var O=U.parent;return O.type==="parallel"&&wt(O).every(function(H){return Ht(r.configuration,H)})&&$.push(xt(O.id)),$}));r.exitSet.sort(function(I,$){return $.order-I.order}),r.entrySet.sort(function(I,$){return I.order-$.order});var _=new Set(r.entrySet),b=new Set(r.exitSet),C=Array.from(_).map(function(I){var $=I.onEntry,U=I.activities.map(function(O){return Uu(O)});return Ue(u?G(G([],V($),!1),V(U),!1):G(G([],V(U),!1),V($),!1),f.machine.options.actions)}).concat([h.map(Eu)]),A=Array.from(b).map(function(I){return Ue(G(G([],V(I.onExit),!1),V(I.activities.map(function($){return Mi($)})),!1),f.machine.options.actions)}),N=A.concat([Ue(r.actions,this.machine.options.actions)]).concat(C);if(n){var k=Ue(K(G([],V(t),!1).sort(function(I,$){return $.order-I.order}).map(function(I){return I.onExit})),this.machine.options.actions).filter(function(I){return I.type!==qe&&(I.type!==Je||!!I.to&&I.to!==Ne.Internal)});return N.concat([k])}return N},e.prototype.transition=function(t,n,r,i){t===void 0&&(t=this.initialState);var a=re(n),s;if(t instanceof we)s=r===void 0?t:this.resolveState(we.from(t,r));else{var u=D(t)?this.resolve(Yt(this.getResolvedPath(t))):this.resolve(t),c=r!=null?r:this.machine.context;s=this.resolveState(we.from(u,c))}if(this.strict&&!this.events.includes(a.name)&&!yu(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=ht([],this.getStateNodes(s.value)),p=l.configuration.length?ht(d,l.configuration):d;return l.configuration=G([],V(p),!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,G([],V(s),!1)),t},e.prototype.resolveTransition=function(t,n,r,i,a){var s,u,c,l,d=this;a===void 0&&(a=Ke);var p=t.configuration,f=!n||t.transitions.length>0,m=f?t.configuration:n?n.configuration:[],v=Ht(m,this),y=f?Hu(this.machine,p):void 0,w=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,S=this.getActions(new Set(m),v,t,r,a,n,i),g=n?T({},n.activities):{};try{for(var h=B(S),_=h.next();!_.done;_=h.next()){var b=_.value;try{for(var C=(c=void 0,B(b)),A=C.next();!A.done;A=C.next()){var N=A.value;N.type===Vn?g[N.activity.id||N.activity.type]=N:N.type===ar&&(g[N.activity.id||N.activity.type]=!1)}}catch(X){c={error:X}}finally{try{A&&!A.done&&(l=C.return)&&l.call(C)}finally{if(c)throw c.error}}}}catch(X){s={error:X}}finally{try{_&&!_.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}var k=V(qt(this,n,r,a,S,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),I=k[0],$=k[1],U=V(Su(I,function(X){return X.type===qe||X.type===Je&&X.to===Ne.Internal}),2),O=U[0],H=U[1],J=I.filter(function(X){var ve;return X.type===Vn&&((ve=X.activity)===null||ve===void 0?void 0:ve.type)===Fn}),Z=J.reduce(function(X,ve){return X[ve.activity.id]=Lu(ve.activity,d.machine,$,a),X},n?T({},n.children):{}),ae=new we({value:y||n.value,context:$,_event:a,_sessionid:n?n._sessionid:null,historyValue:y?w?_u(w,y):void 0:n?n.historyValue:void 0,history:!y||t.source?n:void 0,actions:y?H:[],activities:y?g:n?n.activities:{},events:[],configuration:m,transitions:t.transitions,children:Z,done:v,tags:No(m),machine:this}),se=r!==$;ae.changed=a.name===ur||se;var ee=ae.history;ee&&delete ee.history;var ze=!v&&(this._transient||p.some(function(X){return X._transient}));if(!f&&(!ze||a.name===Rt))return ae;var ie=ae;if(!v)for(ze&&(ie=this.resolveRaisedTransition(ie,{type:cu},a,i));O.length;){var lt=O.shift();ie=this.resolveRaisedTransition(ie,lt._event,a,i)}var dt=ie.changed||(ee?!!ie.actions.length||se||typeof ee.value!=typeof ie.value||!Hi(ie.value,ee.value):void 0);return ie.changed=dt,ie.history=ee,ie},e.prototype.getStateNode=function(t){if(He(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=He(t)?t.slice(jn.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"&&He(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Dn(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||je;switch(this.type){case"parallel":return pt(this.initialStateValue,function(a,s){return a?r.getStateNode(s).resolve(t[s]||a):je});case"compound":if(D(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?pt(t,function(a,s){return a?r.getStateNode(s).resolve(a):je}):this.initialStateValue||{};default:return t||je}},e.prototype.getResolvedPath=function(t){if(He(t)){var n=this.machine.idMap[t.slice(jn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Dn(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=To(this.states,function(r){return r.initialStateValue||je},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=Zt(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,n){this._init();var 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;D(n.target)?t=He(n.target)?Yt(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:t=n.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,n,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(Zt(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=zt(this.initialStateValue);return K(n.map(function(r){return t.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=V(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:To(this.states,function(n,r){if(!t)return n.historyValue();var i=D(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?K(zt(i).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var a=vu(r.path,"states")(t).current;return D(a)?[r.getStateNode(a)]:K(zt(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=K(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=B(Object.keys(a)),c=u.next();!c.done;c=u.next()){var l=c.value,d=a[l];if(d.states)try{for(var p=(r=void 0,B(d.events)),f=p.next();!f.done;f=p.next()){var m=f.value;s.add("".concat(m))}}catch(v){r={error:v}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}}catch(v){t={error:v}}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(!D(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=Tu(t.target),i="internal"in t?t.internal:r?r.some(function(c){return D(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(r),u=T(T({},t),{actions:Ue(ye(t.actions)),cond:Bi(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return T(T({},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=In,u=a[s],c=u===void 0?[]:u,l=ir(a,[typeof s=="symbol"?s:s+""]);i=K(Object.keys(l).map(function(g){var h=Ge(g,l[g]);return h}).concat(Ge(In,c)))}var d=this.config.always?Ge("",this.config.always):[],p=this.config.onDone?Ge(String(xt(this.id)),this.config.onDone):[],f=K(this.invoke.map(function(g){var h=[];return g.onDone&&h.push.apply(h,G([],V(Ge(String(jt(g.id)),g.onDone)),!1)),g.onError&&h.push.apply(h,G([],V(Ge(String(mt(g.id)),g.onError)),!1)),h})),m=this.after,v=K(G(G(G(G([],V(p),!1),V(f),!1),V(i),!1),V(d),!1).map(function(g){return ye(g).map(function(h){return r.formatTransition(h)})}));try{for(var y=B(m),w=y.next();!w.done;w=y.next()){var S=w.value;v.push(S)}}catch(g){t={error:g}}finally{try{w&&!w.done&&(n=y.return)&&n.call(y)}finally{if(t)throw t.error}}return v},e}(),xo=!1;function bt(e,t){return!$i&&!e.predictableActionArguments&&!xo&&(xo=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new ic(e,t)}var pe=Di,mr=xu,ac=Vu,j=Di,sc=Mi,Bt=function(e){return sc(e)},uc=j({attributeToVerify:function(e){}}),cc=j({challengeName:function(e){}}),lc=j({requiredAttributes:function(e){}}),hr=j({remoteError:function(e){return""}}),gr=j({formValues:function(e){return{}}}),vr=j({touched:function(e){return{}}}),dc=j({unverifiedContactMethods:function(e){}}),fc=j({username:function(e){}}),yr=j({validationError:function(e){return{}}}),pc=j({totpSecretCode:function(e,t){return t.data}}),mc=j({challengeName:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),hc=j({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}}),gc=j({redirectIntent:function(e){return"confirmPasswordReset"}}),vc=j({redirectIntent:function(e){return"confirmSignUp"}}),Yi=j({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}}}),wr=j({validationError:function(e,t){return t.data}}),Sr=j({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}}),yc=j({unverifiedContactMethods:function(e,t){return t.data.unverified}}),Ki=j({user:function(e,t){return t.data.user||t.data}}),wc=j({username:function(e,t){var n=e.formValues,r=n.username,i=n.country_code;return i&&(r="".concat(i).concat(r)),r}}),Sc=j({codeDeliveryDetails:function(e,t){return t.data.codeDeliveryDetails}}),_c=j({authAttributes:function(e,t){return{username:e.formValues.username}}}),_r=j({formValues:function(e,t){var n,r=t.data,i=r.name,a=r.value;return E(E({},e.formValues),((n={})[i]=a,n))}}),br=j({formValues:function(e,t){var n=E(E({},e.formValues),t.data);return Xs(n,"password")}}),Cr=j({touched:function(e,t){var n,r=t.data.name;return E(E({},e.touched),((n={})["".concat(r)]=!0,n))}}),bc=function(e){return F(void 0,void 0,void 0,function(){var t;return M(this,function(n){switch(n.label){case 0:return t=e.username,[4,Y.Auth.forgotPassword(t)];case 1:return[2,n.sent()]}})})},qi=j({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=E(E({},s),((n={})[c]=l,n));return delete d.country_code,d}}),Cc=Array.isArray,ke=Cc,Ac=typeof Et=="object"&&Et&&Et.Object===Object&&Et,Ji=Ac,Ic=Ji,Tc=typeof self=="object"&&self&&self.Object===Object&&self,Ec=Ic||Tc||Function("return this")(),Ce=Ec,Pc=Ce,Nc=Pc.Symbol,an=Nc,$o=an,Zi=Object.prototype,kc=Zi.hasOwnProperty,xc=Zi.toString,ft=$o?$o.toStringTag:void 0;function $c(e){var t=kc.call(e,ft),n=e[ft];try{e[ft]=void 0;var r=!0}catch{}var i=xc.call(e);return r&&(t?e[ft]=n:delete e[ft]),i}var Oc=$c,Uc=Object.prototype,Rc=Uc.toString;function Bc(e){return Rc.call(e)}var Vc=Bc,Oo=an,Fc=Oc,Mc=Vc,Dc="[object Null]",Lc="[object Undefined]",Uo=Oo?Oo.toStringTag:void 0;function zc(e){return e==null?e===void 0?Lc:Dc:Uo&&Uo in Object(e)?Fc(e):Mc(e)}var ot=zc;function Gc(e){return e!=null&&typeof e=="object"}var De=Gc,jc=ot,Hc=De,Wc="[object Symbol]";function Yc(e){return typeof e=="symbol"||Hc(e)&&jc(e)==Wc}var Ar=Yc,Kc=ke,qc=Ar,Jc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zc=/^\w*$/;function Qc(e,t){if(Kc(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||qc(e)?!0:Zc.test(e)||!Jc.test(e)||t!=null&&e in Object(t)}var Ir=Qc;function Xc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var xe=Xc,el=ot,tl=xe,nl="[object AsyncFunction]",rl="[object Function]",ol="[object GeneratorFunction]",il="[object Proxy]";function al(e){if(!tl(e))return!1;var t=el(e);return t==rl||t==ol||t==nl||t==il}var Tr=al,sl=Ce,ul=sl["__core-js_shared__"],cl=ul,Tn=cl,Ro=function(){var e=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function ll(e){return!!Ro&&Ro in e}var dl=ll,fl=Function.prototype,pl=fl.toString;function ml(e){if(e!=null){try{return pl.call(e)}catch{}try{return e+""}catch{}}return""}var Qi=ml,hl=Tr,gl=dl,vl=xe,yl=Qi,wl=/[\\^$.*+?()[\]{}|]/g,Sl=/^\[object .+?Constructor\]$/,_l=Function.prototype,bl=Object.prototype,Cl=_l.toString,Al=bl.hasOwnProperty,Il=RegExp("^"+Cl.call(Al).replace(wl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tl(e){if(!vl(e)||gl(e))return!1;var t=hl(e)?Il:Sl;return t.test(yl(e))}var El=Tl;function Pl(e,t){return e==null?void 0:e[t]}var Nl=Pl,kl=El,xl=Nl;function $l(e,t){var n=xl(e,t);return kl(n)?n:void 0}var Le=$l,Ol=Le,Ul=Ol(Object,"create"),sn=Ul,Bo=sn;function Rl(){this.__data__=Bo?Bo(null):{},this.size=0}var Bl=Rl;function Vl(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Fl=Vl,Ml=sn,Dl="__lodash_hash_undefined__",Ll=Object.prototype,zl=Ll.hasOwnProperty;function Gl(e){var t=this.__data__;if(Ml){var n=t[e];return n===Dl?void 0:n}return zl.call(t,e)?t[e]:void 0}var jl=Gl,Hl=sn,Wl=Object.prototype,Yl=Wl.hasOwnProperty;function Kl(e){var t=this.__data__;return Hl?t[e]!==void 0:Yl.call(t,e)}var ql=Kl,Jl=sn,Zl="__lodash_hash_undefined__";function Ql(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Jl&&t===void 0?Zl:t,this}var Xl=Ql,ed=Bl,td=Fl,nd=jl,rd=ql,od=Xl;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=ed;it.prototype.delete=td;it.prototype.get=nd;it.prototype.has=rd;it.prototype.set=od;var id=it;function ad(){this.__data__=[],this.size=0}var sd=ad;function ud(e,t){return e===t||e!==e&&t!==t}var Ct=ud,cd=Ct;function ld(e,t){for(var n=e.length;n--;)if(cd(e[n][0],t))return n;return-1}var un=ld,dd=un,fd=Array.prototype,pd=fd.splice;function md(e){var t=this.__data__,n=dd(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():pd.call(t,n,1),--this.size,!0}var hd=md,gd=un;function vd(e){var t=this.__data__,n=gd(t,e);return n<0?void 0:t[n][1]}var yd=vd,wd=un;function Sd(e){return wd(this.__data__,e)>-1}var _d=Sd,bd=un;function Cd(e,t){var n=this.__data__,r=bd(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Ad=Cd,Id=sd,Td=hd,Ed=yd,Pd=_d,Nd=Ad;function at(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])}}at.prototype.clear=Id;at.prototype.delete=Td;at.prototype.get=Ed;at.prototype.has=Pd;at.prototype.set=Nd;var cn=at,kd=Le,xd=Ce,$d=kd(xd,"Map"),Er=$d,Vo=id,Od=cn,Ud=Er;function Rd(){this.size=0,this.__data__={hash:new Vo,map:new(Ud||Od),string:new Vo}}var Bd=Rd;function Vd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Fd=Vd,Md=Fd;function Dd(e,t){var n=e.__data__;return Md(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ln=Dd,Ld=ln;function zd(e){var t=Ld(this,e).delete(e);return this.size-=t?1:0,t}var Gd=zd,jd=ln;function Hd(e){return jd(this,e).get(e)}var Wd=Hd,Yd=ln;function Kd(e){return Yd(this,e).has(e)}var qd=Kd,Jd=ln;function Zd(e,t){var n=Jd(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Qd=Zd,Xd=Bd,ef=Gd,tf=Wd,nf=qd,rf=Qd;function st(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])}}st.prototype.clear=Xd;st.prototype.delete=ef;st.prototype.get=tf;st.prototype.has=nf;st.prototype.set=rf;var Pr=st,Xi=Pr,of="Expected a function";function Nr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(of);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(Nr.Cache||Xi),n}Nr.Cache=Xi;var af=Nr,sf=af,uf=500;function cf(e){var t=sf(e,function(r){return n.size===uf&&n.clear(),r}),n=t.cache;return t}var lf=cf,df=lf,ff=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pf=/\\(\\)?/g,mf=df(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ff,function(n,r,i,a){t.push(i?a.replace(pf,"$1"):r||n)}),t}),hf=mf;function gf(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 ea=gf,Fo=an,vf=ea,yf=ke,wf=Ar,Sf=1/0,Mo=Fo?Fo.prototype:void 0,Do=Mo?Mo.toString:void 0;function ta(e){if(typeof e=="string")return e;if(yf(e))return vf(e,ta)+"";if(wf(e))return Do?Do.call(e):"";var t=e+"";return t=="0"&&1/e==-Sf?"-0":t}var _f=ta,bf=_f;function Cf(e){return e==null?"":bf(e)}var Af=Cf,If=ke,Tf=Ir,Ef=hf,Pf=Af;function Nf(e,t){return If(e)?e:Tf(e,t)?[e]:Ef(Pf(e))}var dn=Nf,kf=Ar,xf=1/0;function $f(e){if(typeof e=="string"||kf(e))return e;var t=e+"";return t=="0"&&1/e==-xf?"-0":t}var At=$f,Of=dn,Uf=At;function Rf(e,t){t=Of(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Uf(t[n++])];return n&&n==r?e:void 0}var kr=Rf,Bf=kr;function Vf(e,t,n){var r=e==null?void 0:Bf(e,t);return r===void 0?n:r}var Me=Vf,Ff=cn;function Mf(){this.__data__=new Ff,this.size=0}var Df=Mf;function Lf(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var zf=Lf;function Gf(e){return this.__data__.get(e)}var jf=Gf;function Hf(e){return this.__data__.has(e)}var Wf=Hf,Yf=cn,Kf=Er,qf=Pr,Jf=200;function Zf(e,t){var n=this.__data__;if(n instanceof Yf){var r=n.__data__;if(!Kf||r.length<Jf-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 Qf=Zf,Xf=cn,ep=Df,tp=zf,np=jf,rp=Wf,op=Qf;function ut(e){var t=this.__data__=new Xf(e);this.size=t.size}ut.prototype.clear=ep;ut.prototype.delete=tp;ut.prototype.get=np;ut.prototype.has=rp;ut.prototype.set=op;var xr=ut,ip=Le,ap=function(){try{var e=ip(Object,"defineProperty");return e({},"",{}),e}catch{}}(),na=ap,Lo=na;function sp(e,t,n){t=="__proto__"&&Lo?Lo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var $r=sp,up=$r,cp=Ct;function lp(e,t,n){(n!==void 0&&!cp(e[t],n)||n===void 0&&!(t in e))&&up(e,t,n)}var ra=lp;function dp(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 fp=dp,pp=fp,mp=pp(),hp=mp,Hn={exports:{}};(function(e,t){var n=Ce,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 p=l.length,f=u?u(p):new l.constructor(p);return l.copy(f),f}e.exports=c})(Hn,Hn.exports);var gp=Ce,vp=gp.Uint8Array,oa=vp,zo=oa;function yp(e){var t=new e.constructor(e.byteLength);return new zo(t).set(new zo(e)),t}var wp=yp,Sp=wp;function _p(e,t){var n=t?Sp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var bp=_p;function Cp(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Ap=Cp,Ip=xe,Go=Object.create,Tp=function(){function e(){}return function(t){if(!Ip(t))return{};if(Go)return Go(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Ep=Tp;function Pp(e,t){return function(n){return e(t(n))}}var ia=Pp,Np=ia,kp=Np(Object.getPrototypeOf,Object),Or=kp,xp=Object.prototype;function $p(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||xp;return e===n}var Ur=$p,Op=Ep,Up=Or,Rp=Ur;function Bp(e){return typeof e.constructor=="function"&&!Rp(e)?Op(Up(e)):{}}var Vp=Bp,Fp=ot,Mp=De,Dp="[object Arguments]";function Lp(e){return Mp(e)&&Fp(e)==Dp}var zp=Lp,jo=zp,Gp=De,aa=Object.prototype,jp=aa.hasOwnProperty,Hp=aa.propertyIsEnumerable,Wp=jo(function(){return arguments}())?jo:function(e){return Gp(e)&&jp.call(e,"callee")&&!Hp.call(e,"callee")},Rr=Wp,Yp=9007199254740991;function Kp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Yp}var Br=Kp,qp=Tr,Jp=Br;function Zp(e){return e!=null&&Jp(e.length)&&!qp(e)}var fn=Zp,Qp=fn,Xp=De;function em(e){return Xp(e)&&Qp(e)}var tm=em,St={exports:{}};function nm(){return!1}var rm=nm;(function(e,t){var n=Ce,r=rm,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 om=ot,im=Or,am=De,sm="[object Object]",um=Function.prototype,cm=Object.prototype,sa=um.toString,lm=cm.hasOwnProperty,dm=sa.call(Object);function fm(e){if(!am(e)||om(e)!=sm)return!1;var t=im(e);if(t===null)return!0;var n=lm.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&sa.call(n)==dm}var pm=fm,mm=ot,hm=Br,gm=De,vm="[object Arguments]",ym="[object Array]",wm="[object Boolean]",Sm="[object Date]",_m="[object Error]",bm="[object Function]",Cm="[object Map]",Am="[object Number]",Im="[object Object]",Tm="[object RegExp]",Em="[object Set]",Pm="[object String]",Nm="[object WeakMap]",km="[object ArrayBuffer]",xm="[object DataView]",$m="[object Float32Array]",Om="[object Float64Array]",Um="[object Int8Array]",Rm="[object Int16Array]",Bm="[object Int32Array]",Vm="[object Uint8Array]",Fm="[object Uint8ClampedArray]",Mm="[object Uint16Array]",Dm="[object Uint32Array]",W={};W[$m]=W[Om]=W[Um]=W[Rm]=W[Bm]=W[Vm]=W[Fm]=W[Mm]=W[Dm]=!0;W[vm]=W[ym]=W[km]=W[wm]=W[xm]=W[Sm]=W[_m]=W[bm]=W[Cm]=W[Am]=W[Im]=W[Tm]=W[Em]=W[Pm]=W[Nm]=!1;function Lm(e){return gm(e)&&hm(e.length)&&!!W[mm(e)]}var zm=Lm;function Gm(e){return function(t){return e(t)}}var jm=Gm,Wn={exports:{}};(function(e,t){var n=Ji,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})(Wn,Wn.exports);var Hm=zm,Wm=jm,Ho=Wn.exports,Wo=Ho&&Ho.isTypedArray,Ym=Wo?Wm(Wo):Hm,Vr=Ym;function Km(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ua=Km,qm=$r,Jm=Ct,Zm=Object.prototype,Qm=Zm.hasOwnProperty;function Xm(e,t,n){var r=e[t];(!(Qm.call(e,t)&&Jm(r,n))||n===void 0&&!(t in e))&&qm(e,t,n)}var ca=Xm,eh=ca,th=$r;function nh(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?th(n,u,c):eh(n,u,c)}return n}var rh=nh;function oh(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var ih=oh,ah=9007199254740991,sh=/^(?:0|[1-9]\d*)$/;function uh(e,t){var n=typeof e;return t=t==null?ah:t,!!t&&(n=="number"||n!="symbol"&&sh.test(e))&&e>-1&&e%1==0&&e<t}var pn=uh,ch=ih,lh=Rr,dh=ke,fh=St.exports,ph=pn,mh=Vr,hh=Object.prototype,gh=hh.hasOwnProperty;function vh(e,t){var n=dh(e),r=!n&&lh(e),i=!n&&!r&&fh(e),a=!n&&!r&&!i&&mh(e),s=n||r||i||a,u=s?ch(e.length,String):[],c=u.length;for(var l in e)(t||gh.call(e,l))&&!(s&&(l=="length"||i&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||ph(l,c)))&&u.push(l);return u}var la=vh;function yh(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var wh=yh,Sh=xe,_h=Ur,bh=wh,Ch=Object.prototype,Ah=Ch.hasOwnProperty;function Ih(e){if(!Sh(e))return bh(e);var t=_h(e),n=[];for(var r in e)r=="constructor"&&(t||!Ah.call(e,r))||n.push(r);return n}var Th=Ih,Eh=la,Ph=Th,Nh=fn;function kh(e){return Nh(e)?Eh(e,!0):Ph(e)}var Fr=kh,xh=rh,$h=Fr;function Oh(e){return xh(e,$h(e))}var Uh=Oh,Yo=ra,Rh=Hn.exports,Bh=bp,Vh=Ap,Fh=Vp,Ko=Rr,qo=ke,Mh=tm,Dh=St.exports,Lh=Tr,zh=xe,Gh=pm,jh=Vr,Jo=ua,Hh=Uh;function Wh(e,t,n,r,i,a,s){var u=Jo(e,n),c=Jo(t,n),l=s.get(c);if(l){Yo(e,n,l);return}var d=a?a(u,c,n+"",e,t,s):void 0,p=d===void 0;if(p){var f=qo(c),m=!f&&Dh(c),v=!f&&!m&&jh(c);d=c,f||m||v?qo(u)?d=u:Mh(u)?d=Vh(u):m?(p=!1,d=Rh(c,!0)):v?(p=!1,d=Bh(c,!0)):d=[]:Gh(c)||Ko(c)?(d=u,Ko(u)?d=Hh(u):(!zh(u)||Lh(u))&&(d=Fh(c))):p=!1}p&&(s.set(c,d),i(d,c,r,a,s),s.delete(c)),Yo(e,n,d)}var Yh=Wh,Kh=xr,qh=ra,Jh=hp,Zh=Yh,Qh=xe,Xh=Fr,eg=ua;function da(e,t,n,r,i){e!==t&&Jh(t,function(a,s){if(i||(i=new Kh),Qh(a))Zh(e,t,s,n,da,r,i);else{var u=r?r(eg(e,s),a,s+"",e,t,i):void 0;u===void 0&&(u=a),qh(e,s,u)}},Xh)}var tg=da;function ng(e){return e}var Mr=ng;function rg(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 og=rg,ig=og,Zo=Math.max;function ag(e,t,n){return t=Zo(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Zo(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),ig(e,this,u)}}var sg=ag;function ug(e){return function(){return e}}var cg=ug,lg=cg,Qo=na,dg=Mr,fg=Qo?function(e,t){return Qo(e,"toString",{configurable:!0,enumerable:!1,value:lg(t),writable:!0})}:dg,pg=fg,mg=800,hg=16,gg=Date.now;function vg(e){var t=0,n=0;return function(){var r=gg(),i=hg-(r-n);if(n=r,i>0){if(++t>=mg)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var yg=vg,wg=pg,Sg=yg,_g=Sg(wg),bg=_g,Cg=Mr,Ag=sg,Ig=bg;function Tg(e,t){return Ig(Ag(e,t,Cg),e+"")}var Eg=Tg,Pg=Ct,Ng=fn,kg=pn,xg=xe;function $g(e,t,n){if(!xg(n))return!1;var r=typeof t;return(r=="number"?Ng(n)&&kg(t,n.length):r=="string"&&t in n)?Pg(n[t],e):!1}var Og=$g,Ug=Eg,Rg=Og;function Bg(e){return Ug(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&&Rg(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 Vg=Bg,Fg=tg,Mg=Vg,Dg=Mg(function(e,t,n){Fg(e,t,n)}),Lg=Dg;function Qt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function zg(e){return typeof e=="string"||typeof e=="object"&&Object.prototype.toString.call(e)==="[object String]"}function Gg(e){return Qt(e)&&Object.prototype.toString.call(e)==="[object Map]"}function jg(e){return Qt(e)&&Object.prototype.toString.call(e)==="[object Set]"}function Yn(e){if(e==null)return!0;if(Qt(e)&&(Gg(e)||jg(e)))return!e.size;if(Qt(e)&&(zg(e)||Array.isArray(e)))return!e.length;for(var t in e)if(Hg(e,t))return!1;return!0}function Hg(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}var Dr=function(e,t,n,r){return F(void 0,void 0,void 0,function(){var i,a;return M(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=Lg.apply(void 0,Se([{}],i,!1)),Yn(a)?[2,Promise.resolve()]:[2,Promise.reject(a)]}})})},Qe={getAmplifyConfig:function(){return F(this,void 0,void 0,function(){return M(this,function(e){return[2,Y.Amplify.configure()]})})},getCurrentUser:function(){return F(this,void 0,void 0,function(){return M(this,function(e){return[2,Y.Auth.currentAuthenticatedUser()]})})},handleSignUp:function(e){return F(this,void 0,void 0,function(){return M(this,function(t){return[2,Y.Auth.signUp(E(E({},e),{autoSignIn:{enabled:!0}}))]})})},handleSignIn:function(e){var t=e.username,n=e.password;return F(this,void 0,void 0,function(){return M(this,function(r){return[2,Y.Auth.signIn(t,n)]})})},handleConfirmSignIn:function(e){var t=e.user,n=e.code,r=e.mfaType;return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Y.Auth.confirmSignIn(t,n,r)]})})},handleConfirmSignUp:function(e){var t=e.username,n=e.code;return F(this,void 0,void 0,function(){return M(this,function(r){switch(r.label){case 0:return[4,Y.Auth.confirmSignUp(t,n)];case 1:return[2,r.sent()]}})})},handleForgotPasswordSubmit:function(e){var t=e.username,n=e.code,r=e.password;return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Y.Auth.forgotPasswordSubmit(t,n,r)]})})},handleForgotPassword:function(e){return F(this,void 0,void 0,function(){return M(this,function(t){return[2,Y.Auth.forgotPassword(e)]})})},validateCustomSignUp:function(e,t){return F(this,void 0,void 0,function(){return M(this,function(n){return[2]})})},validateFormPassword:function(e,t,n){return F(this,void 0,void 0,function(){var r,i,a,s;return M(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":Zs(r)||i.push("Password must have special characters")}}),[2,i.length!==0?{password:i}:null]):[2,null]})})},validateConfirmPassword:function(e,t){return F(this,void 0,void 0,function(){var n,r,i,a;return M(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 F(this,void 0,void 0,function(){return M(this,function(n){return[2]})})}},Wg=["SMS_MFA","SOFTWARE_TOKEN_MFA"],En=function(e){return Me(e,"data.challengeName")},Xo=function(e,t){return e===t},ei=function(e){return Wg.includes(e)};function Yg(e){var t=e.services;return bt({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:function(n){return{user:n.user}}},rejected:{type:"final",data:function(n,r){return{intent:n.redirectIntent,authAttributes:n.authAttributes}}}}},{actions:{clearAttributeToVerify:uc,clearChallengeName:cc,clearRequiredAttributes:lc,clearError:hr,clearFormValues:gr,clearTouched:vr,clearUnverifiedContactMethods:dc,clearValidationError:yr,handleInput:_r,handleSubmit:br,handleBlur:Cr,parsePhoneNumber:qi,setChallengeName:mc,setConfirmResetPasswordIntent:gc,setConfirmSignUpIntent:vc,setRequiredAttributes:hc,setCredentials:Yi,setFieldErrors:wr,setRemoteError:Sr,setTotpSecretCode:pc,setUnverifiedContactMethods:yc,setUser:Ki,setUsernameAuthAttributes:_c,sendUpdate:mr()},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 ei(En(r))},shouldForceChangePassword:function(n,r){return Xo(En(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 Yn(s)&&!Yn(a)},shouldSetupTOTP:function(n,r){return Xo(En(r),"MFA_SETUP")}},services:{signIn:function(n){return F(this,void 0,void 0,function(){var r,i,a,s,u,c,l;return M(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=E(E({},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 F(this,void 0,void 0,function(){var r,i,a,s;return M(this,function(u){switch(u.label){case 0:return r=n.challengeName,i=n.user,a=n.formValues.confirmation_code,s=ei(r)?r:void 0,[4,t.handleConfirmSignIn({user:i,code:a,mfaType:s})];case 1:return u.sent(),[4,Y.Auth.currentAuthenticatedUser()];case 2:return[2,u.sent()]}})})},forceNewPassword:function(n){return F(this,void 0,void 0,function(){var r,i,a,s,u,c,l,d,p;return M(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=Ai(i,["password","confirm_password","phone_number","country_code"]),s&&(l="".concat(u).concat(s).replace(/[^A-Z0-9+]/gi,""),c=E(E({},c),{phone_number:l})),f.label=1;case 1:return f.trys.push([1,3,,4]),[4,Y.Auth.completeNewPassword(r,a,c)];case 2:return(d=f.sent()).challengeName?[2,d]:[2,Y.Auth.currentAuthenticatedUser()];case 3:return p=f.sent(),[2,Promise.reject(p)];case 4:return[2]}})})},getTotpSecretCode:function(n){return F(this,void 0,void 0,function(){var r;return M(this,function(i){return r=n.user,[2,Y.Auth.setupTOTP(r)]})})},verifyTotpToken:function(n){return F(this,void 0,void 0,function(){var r,i,a;return M(this,function(s){return r=n.formValues,i=n.user,a=r.confirmation_code,[2,Y.Auth.verifyTotpToken(i,a)]})})},federatedSignIn:function(n,r){return F(this,void 0,void 0,function(){var i;return M(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,Y.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},checkVerifiedContact:function(n){return F(this,void 0,void 0,function(){var r;return M(this,function(i){switch(i.label){case 0:return r=n.user,[4,Y.Auth.verifiedContact(r)];case 1:return[2,i.sent()]}})})},verifyUser:function(n){return F(this,void 0,void 0,function(){var r,i;return M(this,function(a){switch(a.label){case 0:return r=n.formValues.unverifiedAttr,[4,Y.Auth.verifyCurrentUserAttribute(r)];case 1:return i=a.sent(),n.attributeToVerify=r,[2,i]}})})},confirmVerifyUser:function(n){return F(this,void 0,void 0,function(){var r,i;return M(this,function(a){switch(a.label){case 0:return r=n.attributeToVerify,i=n.formValues.confirmation_code,[4,Y.Auth.verifyCurrentUserAttributeSubmit(r,i)];case 1:return[2,a.sent()]}})})},validateFields:function(n){return F(this,void 0,void 0,function(){return M(this,function(r){return[2,Dr(n.formValues,n.touched,n.passwordSettings,[Qe.validateFormPassword,Qe.validateConfirmPassword])]})})}}})}var Kg=bt({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 Y.Auth.signOut()}}});function qg(e){var t=e.services;return bt({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:hr,clearFormValues:gr,clearTouched:vr,clearUsername:fc,clearValidationError:yr,handleInput:_r,handleSubmit:br,handleBlur:Cr,resendCode:bc,setFieldErrors:wr,setRemoteError:Sr,setUsername:wc,sendUpdate:mr()},guards:{shouldAutoConfirmReset:function(n,r){return!(!n.intent||n.intent!=="confirmPasswordReset")}},services:{resetPassword:function(n){return F(this,void 0,void 0,function(){var r;return M(this,function(i){return r=n.username,[2,t.handleForgotPassword(r)]})})},confirmResetPassword:function(n){return F(this,void 0,void 0,function(){var r,i,a,s;return M(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 F(this,void 0,void 0,function(){return M(this,function(i){return[2,Dr(n.formValues,n.touched,n.passwordSettings,[Qe.validateFormPassword,Qe.validateConfirmPassword])]})})}}})}var Jg="__lodash_hash_undefined__";function Zg(e){return this.__data__.set(e,Jg),this}var Qg=Zg;function Xg(e){return this.__data__.has(e)}var ev=Xg,tv=Pr,nv=Qg,rv=ev;function Xt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new tv;++t<n;)this.add(e[t])}Xt.prototype.add=Xt.prototype.push=nv;Xt.prototype.has=rv;var ov=Xt;function iv(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 av=iv;function sv(e,t){return e.has(t)}var uv=sv,cv=ov,lv=av,dv=uv,fv=1,pv=2;function mv(e,t,n,r,i,a){var s=n&fv,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 p=-1,f=!0,m=n&pv?new cv:void 0;for(a.set(e,t),a.set(t,e);++p<u;){var v=e[p],y=t[p];if(r)var w=s?r(y,v,p,t,e,a):r(v,y,p,e,t,a);if(w!==void 0){if(w)continue;f=!1;break}if(m){if(!lv(t,function(S,g){if(!dv(m,g)&&(v===S||i(v,S,n,r,a)))return m.push(g)})){f=!1;break}}else if(!(v===y||i(v,y,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var fa=mv;function hv(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var gv=hv;function vv(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var yv=vv,ti=an,ni=oa,wv=Ct,Sv=fa,_v=gv,bv=yv,Cv=1,Av=2,Iv="[object Boolean]",Tv="[object Date]",Ev="[object Error]",Pv="[object Map]",Nv="[object Number]",kv="[object RegExp]",xv="[object Set]",$v="[object String]",Ov="[object Symbol]",Uv="[object ArrayBuffer]",Rv="[object DataView]",ri=ti?ti.prototype:void 0,Pn=ri?ri.valueOf:void 0;function Bv(e,t,n,r,i,a,s){switch(n){case Rv:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Uv:return!(e.byteLength!=t.byteLength||!a(new ni(e),new ni(t)));case Iv:case Tv:case Nv:return wv(+e,+t);case Ev:return e.name==t.name&&e.message==t.message;case kv:case $v:return e==t+"";case Pv:var u=_v;case xv:var c=r&Cv;if(u||(u=bv),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=Av,s.set(e,t);var d=Sv(u(e),u(t),r,i,a,s);return s.delete(e),d;case Ov:if(Pn)return Pn.call(e)==Pn.call(t)}return!1}var Vv=Bv;function Fv(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var pa=Fv,Mv=pa,Dv=ke;function Lv(e,t,n){var r=t(e);return Dv(e)?r:Mv(r,n(e))}var ma=Lv;function zv(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 Gv=zv;function jv(){return[]}var ha=jv,Hv=Gv,Wv=ha,Yv=Object.prototype,Kv=Yv.propertyIsEnumerable,oi=Object.getOwnPropertySymbols,qv=oi?function(e){return e==null?[]:(e=Object(e),Hv(oi(e),function(t){return Kv.call(e,t)}))}:Wv,ga=qv,Jv=ia,Zv=Jv(Object.keys,Object),Qv=Zv,Xv=Ur,ey=Qv,ty=Object.prototype,ny=ty.hasOwnProperty;function ry(e){if(!Xv(e))return ey(e);var t=[];for(var n in Object(e))ny.call(e,n)&&n!="constructor"&&t.push(n);return t}var oy=ry,iy=la,ay=oy,sy=fn;function uy(e){return sy(e)?iy(e):ay(e)}var va=uy,cy=ma,ly=ga,dy=va;function fy(e){return cy(e,dy,ly)}var py=fy,ii=py,my=1,hy=Object.prototype,gy=hy.hasOwnProperty;function vy(e,t,n,r,i,a){var s=n&my,u=ii(e),c=u.length,l=ii(t),d=l.length;if(c!=d&&!s)return!1;for(var p=c;p--;){var f=u[p];if(!(s?f in t:gy.call(t,f)))return!1}var m=a.get(e),v=a.get(t);if(m&&v)return m==t&&v==e;var y=!0;a.set(e,t),a.set(t,e);for(var w=s;++p<c;){f=u[p];var S=e[f],g=t[f];if(r)var h=s?r(g,S,f,t,e,a):r(S,g,f,e,t,a);if(!(h===void 0?S===g||i(S,g,n,r,a):h)){y=!1;break}w||(w=f=="constructor")}if(y&&!w){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof b=="function"&&b instanceof b)&&(y=!1)}return a.delete(e),a.delete(t),y}var yy=vy,wy=Le,Sy=Ce,_y=wy(Sy,"DataView"),by=_y,Cy=Le,Ay=Ce,Iy=Cy(Ay,"Promise"),Ty=Iy,Ey=Le,Py=Ce,Ny=Ey(Py,"Set"),ky=Ny,xy=Le,$y=Ce,Oy=xy($y,"WeakMap"),Uy=Oy,Kn=by,qn=Er,Jn=Ty,Zn=ky,Qn=Uy,ya=ot,ct=Qi,ai="[object Map]",Ry="[object Object]",si="[object Promise]",ui="[object Set]",ci="[object WeakMap]",li="[object DataView]",By=ct(Kn),Vy=ct(qn),Fy=ct(Jn),My=ct(Zn),Dy=ct(Qn),Fe=ya;(Kn&&Fe(new Kn(new ArrayBuffer(1)))!=li||qn&&Fe(new qn)!=ai||Jn&&Fe(Jn.resolve())!=si||Zn&&Fe(new Zn)!=ui||Qn&&Fe(new Qn)!=ci)&&(Fe=function(e){var t=ya(e),n=t==Ry?e.constructor:void 0,r=n?ct(n):"";if(r)switch(r){case By:return li;case Vy:return ai;case Fy:return si;case My:return ui;case Dy:return ci}return t});var Ly=Fe,Nn=xr,zy=fa,Gy=Vv,jy=yy,di=Ly,fi=ke,pi=St.exports,Hy=Vr,Wy=1,mi="[object Arguments]",hi="[object Array]",Vt="[object Object]",Yy=Object.prototype,gi=Yy.hasOwnProperty;function Ky(e,t,n,r,i,a){var s=fi(e),u=fi(t),c=s?hi:di(e),l=u?hi:di(t);c=c==mi?Vt:c,l=l==mi?Vt:l;var d=c==Vt,p=l==Vt,f=c==l;if(f&&pi(e)){if(!pi(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Nn),s||Hy(e)?zy(e,t,n,r,i,a):Gy(e,t,c,n,r,i,a);if(!(n&Wy)){var m=d&&gi.call(e,"__wrapped__"),v=p&&gi.call(t,"__wrapped__");if(m||v){var y=m?e.value():e,w=v?t.value():t;return a||(a=new Nn),i(y,w,n,r,a)}}return f?(a||(a=new Nn),jy(e,t,n,r,i,a)):!1}var qy=Ky,Jy=qy,vi=De;function wa(e,t,n,r,i){return e===t?!0:e==null||t==null||!vi(e)&&!vi(t)?e!==e&&t!==t:Jy(e,t,n,r,wa,i)}var Sa=wa,Zy=xr,Qy=Sa,Xy=1,ew=2;function tw(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 p=new Zy;if(r)var f=r(l,d,c,e,t,p);if(!(f===void 0?Qy(d,l,Xy|ew,r,p):f))return!1}}return!0}var nw=tw,rw=xe;function ow(e){return e===e&&!rw(e)}var _a=ow,iw=_a,aw=va;function sw(e){for(var t=aw(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,iw(i)]}return t}var uw=sw;function cw(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var ba=cw,lw=nw,dw=uw,fw=ba;function pw(e){var t=dw(e);return t.length==1&&t[0][2]?fw(t[0][0],t[0][1]):function(n){return n===e||lw(n,e,t)}}var mw=pw;function hw(e,t){return e!=null&&t in Object(e)}var gw=hw,vw=dn,yw=Rr,ww=ke,Sw=pn,_w=Br,bw=At;function Cw(e,t,n){t=vw(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var s=bw(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&&_w(i)&&Sw(s,i)&&(ww(e)||yw(e)))}var Aw=Cw,Iw=gw,Tw=Aw;function Ew(e,t){return e!=null&&Tw(e,t,Iw)}var Pw=Ew,Nw=Sa,kw=Me,xw=Pw,$w=Ir,Ow=_a,Uw=ba,Rw=At,Bw=1,Vw=2;function Fw(e,t){return $w(e)&&Ow(t)?Uw(Rw(e),t):function(n){var r=kw(n,e);return r===void 0&&r===t?xw(n,e):Nw(t,r,Bw|Vw)}}var Mw=Fw;function Dw(e){return function(t){return t==null?void 0:t[e]}}var Lw=Dw,zw=kr;function Gw(e){return function(t){return zw(t,e)}}var jw=Gw,Hw=Lw,Ww=jw,Yw=Ir,Kw=At;function qw(e){return Yw(e)?Hw(Kw(e)):Ww(e)}var Jw=qw,Zw=mw,Qw=Mw,Xw=Mr,eS=ke,tS=Jw;function nS(e){return typeof e=="function"?e:e==null?Xw:typeof e=="object"?eS(e)?Qw(e[0],e[1]):Zw(e):tS(e)}var rS=nS,oS=ca,iS=dn,aS=pn,yi=xe,sS=At;function uS(e,t,n,r){if(!yi(e))return e;t=iS(t,e);for(var i=-1,a=t.length,s=a-1,u=e;u!=null&&++i<a;){var c=sS(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=yi(d)?d:aS(t[i+1])?[]:{})}oS(u,c,l),u=u[c]}return e}var cS=uS,lS=kr,dS=cS,fS=dn;function pS(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],u=lS(e,s);n(u,s)&&dS(a,fS(s,e),u)}return a}var mS=pS,hS=pa,gS=Or,vS=ga,yS=ha,wS=Object.getOwnPropertySymbols,SS=wS?function(e){for(var t=[];e;)hS(t,vS(e)),e=gS(e);return t}:yS,_S=SS,bS=ma,CS=_S,AS=Fr;function IS(e){return bS(e,AS,CS)}var TS=IS,ES=ea,PS=rS,NS=mS,kS=TS;function xS(e,t){if(e==null)return{};var n=ES(kS(e),function(r){return[r]});return t=PS(t),NS(e,n,function(r,i){return t(r,i[0])})}var $S=xS;function OS(e){var t=e.services;return bt({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:Me(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:hr,clearFormValues:gr,clearTouched:vr,clearValidationError:yr,handleInput:_r,handleSubmit:br,handleBlur:Cr,parsePhoneNumber:qi,setCredentials:Yi,setFieldErrors:wr,setRemoteError:Sr,setCodeDeliveryDetails:Sc,setUser:Ki,sendUpdate:mr(),setAutoSignInIntent:pe({intent:function(n){return(n==null?void 0:n.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"}})},services:{confirmSignUp:function(n,r){return F(this,void 0,void 0,function(){var i,a,s,u,c;return M(this,function(l){switch(l.label){case 0:return i=n.user,a=n.authAttributes,s=n.formValues,u=s.confirmation_code,c=Me(i,"username")||Me(a,"username"),[4,t.handleConfirmSignUp({username:c,code:u})];case 1:return[2,l.sent()]}})})},resendConfirmationCode:function(n,r){return F(this,void 0,void 0,function(){var i,a,s;return M(this,function(u){return i=n.user,a=n.authAttributes,s=Me(i,"username")||Me(a,"username"),[2,Y.Auth.resendSignUp(s)]})})},federatedSignIn:function(n,r){return F(this,void 0,void 0,function(){var i;return M(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,Y.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},signUp:function(n,r){return F(this,void 0,void 0,function(){var i,a,s,u,c,l,d;return M(this,function(p){switch(p.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=$S(i,function(f,m){switch(m){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 m.startsWith("custom:")}}),[4,t.handleSignUp({username:c,password:l,attributes:d})];case 1:return[2,p.sent()]}})})},validateSignUp:function(n,r){return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Dr(n.formValues,n.touched,n.passwordSettings,[t.validateFormPassword,t.validateConfirmPassword,t.validatePreferredUsername,t.validateCustomSignUp])]})})}}})}var US=Fu;function RS(){return bt({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Qe,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:US([{cond:"hasActor",actions:ac(function(e){return e.actorRef})}]),setUser:pe({user:function(e,t){return t.data}}),setActorDoneData:pe({actorDoneData:function(e,t){var n,r;return{authAttributes:E({},(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:pe({user:void 0}),clearActorDoneData:pe({actorDoneData:void 0}),applyAmplifyConfig:pe({config:function(e,t){var n,r,i,a,s,u,c,l,d,p=(r=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(function(b){return b.toLowerCase()}))!==null&&r!==void 0?r:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(function(b){return b.toLowerCase()}))!==null&&a!==void 0?a:[],m=(u=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(function(b){return b.toLowerCase()}))!==null&&u!==void 0?u:[],v=(l=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(function(b){return b.toLowerCase()}))!==null&&l!==void 0?l:[],y=t.data.aws_cognito_password_protection_settings||{};p.length===0&&p.push("username");var w=e.config,S=w.loginMechanisms,g=w.signUpAttributes,h=w.socialProviders,_=w.initialState;return{loginMechanisms:S!=null?S:p,formFields:(d=BS(w.formFields))!==null&&d!==void 0?d:{},passwordSettings:y,signUpAttributes:g!=null?g:Array.from(new Set(Se(Se([],f,!0),m,!0))),socialProviders:h!=null?h:v.sort(),initialState:_}}}),spawnSignInActor:pe({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=Yg({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 Ot(d,{name:"signInActor"})}}),spawnSignUpActor:pe({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=OS({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 Ot(d,{name:"signUpActor"})}}),spawnResetPasswordActor:pe({actorRef:function(e,t){var n,r,i,a,s,u=e.services,c=qg({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 Ot(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:pe({actorRef:function(e){var t=Kg.withContext({user:e.user});return Ot(t,{name:"signOutActor"})}}),stopSignInActor:Bt("signInActor"),stopSignUpActor:Bt("signUpActor"),stopResetPasswordActor:Bt("resetPasswordActor"),stopSignOutActor:Bt("signOutActor"),configure:pe(function(e,t){var n=t.data,r=n.services,i=Ai(n,["services"]);return{services:E(E({},Qe),r),config:i}}),setHasSetup:pe({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 BS(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 VS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},FS={class:"amplify-flex amplify-authenticator__icon-wrapper"},MS=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),DS=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),Ae={__name:"base-alert",setup(e){const t=o.ref(!0),n=x("Dismiss alert");function r(){t.value=!1}return(i,a)=>{const s=ce;return t.value?(o.openBlock(),o.createElementBlock("div",VS,[o.createElementVNode("div",FS,[MS,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(()=>[DS]),_:1},8,["aria-label"])])):o.createCommentVNode("",!0)}}};var mn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const LS={};function zS(e,t){return o.openBlock(),o.createElementBlock("div",null,[o.renderSlot(e.$slots,"default")])}var oe=mn(LS,[["render",zS]]);const Ie=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)])}}),Te=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 GS(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function he(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))),GS(i),n)}var en=globalThis&&globalThis.__assign||function(){return en=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},en.apply(this,arguments)},jS=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 HS(e,t,n){if(typeof e=="object")return e;var r=function(){};return{next:e,error:t||r,complete:n||r}}function WS(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,p=jS(t,["context","guards","actions","activities","services","delays","state"]),f={context:i,guards:a,actions:s,activities:u,services:c,delays:l},m=r.withConfig(f,function(){return en(en({},r.context),i)}),v=Wi(m,p).start(d?we.create(d):void 0),y;return o.onMounted(function(){n&&(y=v.subscribe(HS(n)))}),o.onBeforeUnmount(function(){v.stop(),y==null||y.unsubscribe()}),v}function YS(e){return"state"in e}var wi=function(){};function KS(e){return"getSnapshot"in e?e.getSnapshot():YS(e)?e.state:void 0}function Ca(e,t){t===void 0&&(t=KS);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:wi,complete:wi}).unsubscribe;u(function(){return c()})},{immediate:!0}),{state:r,send:i}}const Aa={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},Xn=o.ref(),Wt=o.reactive({...Aa,send:"",state:""}),ge=e=>(e&&(Xn.value=e),Ca(Xn.value)),qS=()=>(Si(),o.watchEffect(()=>{Si()}),Wt),le=qS;function Si(){if(!Xn.value)return;const{state:e,send:t}=ge(),n=Ti({send:t,state:e.value});for(const r of Object.keys(Aa))Wt[r]=n[r];Wt.send=t,Wt.state=e}const Ft=o.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=o.toRefs(t),{send:r}=ge(),i=()=>{r({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const u=oe,c=ce;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})}}}),JS=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),ZS={class:"amplify-text amplify-authenticator__federated-text"},QS=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),XS={class:"amplify-text amplify-authenticator__federated-text"},e_=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),t_={class:"amplify-text amplify-authenticator__federated-text"},n_=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),r_={class:"amplify-text amplify-authenticator__federated-text"},o_=["data-label"],hn=o.defineComponent({__name:"federated-sign-in",setup(e){var h;const{state:t}=ge(),n=he(le),{route:r}=n(),{value:{context:i}}=t,a=(h=i==null?void 0:i.config)==null?void 0:h.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:p,getOrText:f}=me,m=o.computed(()=>Rn),v=o.computed(()=>p(r,"amazon")),y=o.computed(()=>p(r,"apple")),w=o.computed(()=>p(r,"facebook")),S=o.computed(()=>p(r,"google")),g=o.computed(()=>f());return(_,b)=>{const C=oe;return o.unref(d)?(o.openBlock(),o.createBlock(C,{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(Ft,{key:0,provider:o.unref(m).Amazon},{default:o.withCtx(()=>[JS,o.createElementVNode("p",ZS,o.toDisplayString(o.unref(v)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(u)?(o.openBlock(),o.createBlock(Ft,{key:1,provider:o.unref(m).Apple},{default:o.withCtx(()=>[QS,o.createElementVNode("p",XS,o.toDisplayString(o.unref(y)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(c)?(o.openBlock(),o.createBlock(Ft,{key:2,provider:o.unref(m).Facebook},{default:o.withCtx(()=>[e_,o.createElementVNode("p",t_,o.toDisplayString(o.unref(w)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(l)?(o.openBlock(),o.createBlock(Ft,{key:3,provider:o.unref(m).Google},{default:o.withCtx(()=>[n_,o.createElementVNode("p",r_,o.toDisplayString(o.unref(S)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":o.unref(g)},null,8,o_)]),_:1})):o.createCommentVNode("",!0)}}});let i_=(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 a_={},s_={"data-amplify-label":""};function u_(e,t){return o.openBlock(),o.createElementBlock("label",s_,[o.renderSlot(e.$slots,"default")])}var gn=mn(a_,[["render",u_]]);const vn=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))}}),c_=["aria-label","aria-checked"],l_=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),d_=[l_],f_=o.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),p_=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),m_=[f_,p_],h_={inheritAttrs:!1},Lr=o.defineComponent({...h_,__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 g;const t=e,n=x("Show password"),r=x("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:p,placeholder:f,required:m}=o.toRefs(t);let v=o.ref("");function y(){a.value=a.value===n?r:n,i.value=i.value==="password"?"text":"password"}const w=x((g=f==null?void 0:f.value)!=null?g:c.value),S=x(c.value);return(h,_)=>{const b=gn,C=vn,A=oe;return o.openBlock(),o.createBlock(A,{class:o.normalizeClass([o.unref(te).Flex,o.unref(te).Field,o.unref(te).TextField,o.unref(te).PasswordField,"amplify-authenticator__column"])},{default:o.withCtx(()=>[o.createVNode(b,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":o.unref(p)}]),for:"amplify-field-"+o.unref(s)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1},8,["class","for"]),o.createVNode(A,{class:o.normalizeClass([o.unref(te).Flex,o.unref(te).FieldGroup])},{default:o.withCtx(()=>[o.createVNode(A,{class:o.normalizeClass(o.unref(te).FieldGroupFieldWrapper)},{default:o.withCtx(()=>{var N;return[o.createVNode(C,o.mergeProps(h.$attrs,{modelValue:o.unref(v),"onUpdate:modelValue":_[0]||(_[0]=k=>o.isRef(v)?v.value=k:v=k),class:[o.unref(te).Input,o.unref(te).FieldGroupControl],id:"amplify-field-"+o.unref(s),"data-amplify-password":"true",name:o.unref(u),autocomplete:o.unref(l),required:(N=o.unref(m))!=null?N:!0,placeholder:o.unref(w),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(A,{class:o.normalizeClass(o.unref(te).FieldGroupOuterEnd)},{default:o.withCtx(()=>[o.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:o.normalizeClass([o.unref(te).Button,o.unref(te).FieldGroupControl,o.unref(te).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:y},[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(te).Icon)},d_,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(te).Icon)},m_,2))],10,c_)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),g_=["value","selected"],v_=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,g_))),128))],32))}}),y_=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),w_=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),p=Math.floor(Math.random()*999999);return(f,m)=>{const v=gn,y=v_,w=oe,S=vn;return o.openBlock(),o.createBlock(w,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(v,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(w,{class:"amplify-flex amplify-field-group"},{default:o.withCtx(()=>[o.createVNode(w,{class:"amplify-field-group__outer-start"},{default:o.withCtx(()=>[e.type==="tel"?(o.openBlock(),o.createBlock(w,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(v,o.mergeProps({for:"amplify-field-"+o.unref(p),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString("Country Code"))]),_:1},16,["for"]),o.createVNode(w,{class:"amplify-select__wrapper"},{default:o.withCtx(()=>[o.createVNode(y,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+o.unref(p),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(w,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:o.withCtx(()=>[y_]),_:1})]),_:1})]),_:1})):o.createCommentVNode("",!0)]),_:1}),o.createVNode(w,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>{var g;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:(g=o.unref(u))!=null?g:!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})}}}),S_=["id"],Ia=o.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:r}=o.toRefs(t),i=he(le),{validationErrors:a}=o.toRefs(i()),{type:s}=r.value,u=s==="password",c=i_(12),l=o.computed(()=>js(a.value[n.value])),d=o.computed(()=>{var f;return((f=l.value)==null?void 0:f.length)>0}),p=o.computed(()=>d.value?c:void 0);return(f,m)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[u?(o.openBlock(),o.createBlock(Lr,{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(p)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(o.openBlock(),o.createBlock(w_,{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(p)},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(p)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),(v,y)=>(o.openBlock(),o.createElementBlock("p",{key:y,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},o.toDisplayString(o.unref(x)(v)),1))),128))],8,S_)):o.createCommentVNode("",!0)],64))}}),Ee=o.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=o.toRefs(t),{state:r}=ge();let i=[];return o.onBeforeMount(()=>{i=su(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(Ia,{name:u,key:u,formField:c},null,8,["name","formField"]))),128))}}),__=o.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),b_={"data-amplify-footer":""},zr=o.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const r=he(le)(),i=o.useAttrs(),{getForgotPasswordText:a,getSignInText:s,getSigningInText:u}=me,c=o.computed(()=>a()),l=o.computed(()=>s()),d=o.computed(()=>u()),{state:p,send:f}=ge(),m=o.computed(()=>ue(p.value)),v=g=>{const{name:h,value:_}=g.target;f({type:"CHANGE",data:{name:h,value:_}})},y=g=>{i!=null&&i.onSignInSubmit?t("signInSubmit",g):w(g)},w=g=>{r.submitForm(be(g))},S=()=>{i!=null&&i.onForgotPasswordClicked?t("forgotPasswordClicked"):f({type:"RESET_PASSWORD"})};return(g,h)=>{const _=_e,b=Ae,C=ce,A=oe,N=Ie,k=Te;return o.renderSlot(g.$slots,"signInSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.renderSlot(g.$slots,"header"),o.createVNode(A,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(N,{"data-amplify-authenticator-signin":"",onInput:v,onSubmit:o.withModifiers(y,["prevent"]),method:"post"},{formt:o.withCtx(({slotData:I})=>[o.renderSlot(g.$slots,"form",{info:I,onSignInSubmit:y,onInput:v,onForgotPasswordClicked:S})]),default:o.withCtx(()=>[o.createVNode(hn),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(_,{disabled:o.unref(m).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:o.withCtx(({slotData:I})=>[o.renderSlot(g.$slots,"signin-fields",{info:I})]),default:o.withCtx(()=>[__,o.createVNode(Ee,{route:"signIn"})]),_:3},8,["disabled"]),o.unref(m).context.remoteError?(o.openBlock(),o.createBlock(b,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(m).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(C,{disabled:o.unref(m).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(m).matches("signIn.submit")?o.unref(d):o.unref(l)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(k,null,{default:o.withCtx(()=>[o.renderSlot(g.$slots,"footer",{},()=>[o.createElementVNode("div",b_,[o.createVNode(C,{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})])}}}),Gr=o.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ee,{route:"signUp"}))}}),jr=o.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=he(le),r=n(),i=n(),{hasValidationErrors:a,isPending:s,error:u}=o.toRefs(r),c=o.useAttrs(),{getCreateAccountText:l}=me,d=o.computed(()=>l()),p=y=>{let{checked:w,name:S,type:g,value:h}=y.target;g==="checkbox"&&!w&&(h=void 0),i.updateForm({name:S,value:h})};function f(y){const{name:w}=y.target;i.updateBlur({name:w})}const m=y=>{c!=null&&c.onSignUpSubmit?t("signUpSubmit",y):v(y)},v=y=>{i.submitForm(be(y))};return(y,w)=>{const S=_e,g=Ae,h=ce,_=oe,b=Ie,C=Te;return o.renderSlot(y.$slots,"signUpSlotI",o.normalizeProps(o.guardReactiveProps(y.$attrs)),()=>[o.renderSlot(y.$slots,"header"),o.createVNode(_,o.normalizeProps(o.guardReactiveProps(y.$attrs)),{default:o.withCtx(()=>[o.createVNode(b,{onInput:p,onBlurCapture:f,onSubmit:o.withModifiers(m,["prevent"])},{default:o.withCtx(()=>[o.createVNode(hn),o.createVNode(_,{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:A})=>[o.renderSlot(y.$slots,"signup-fields",{info:A})]),default:o.withCtx(()=>[o.createVNode(Gr)]),_:3},8,["disabled"]),o.unref(u)?(o.openBlock(),o.createBlock(g,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(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(C,null,{default:o.withCtx(()=>[o.renderSlot(y.$slots,"footer")]),_:3})])}}}),C_=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=oe;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"])}}}),A_={};function I_(e,t){const n=oe;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 T_=mn(A_,[["render",I_]]);const Be=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}}),E_={};function P_(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 Ta=mn(E_,[["render",P_]]);const Hr=o.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=he(le),{isPending:i,error:a,codeDeliveryDetails:s}=o.toRefs(r()),{submitForm:u,updateForm:c,resendCode:l}=r(),{getDeliveryMethodText:d,getDeliveryMessageText:p,getResendCodeText:f,getConfirmText:m}=me,v=o.computed(()=>d(s.value)),y=o.computed(()=>f()),w=o.computed(()=>m()),S=o.computed(()=>p(s.value)),g=C=>{const{name:A,value:N}=C.target;c({name:A,value:N})},h=C=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",C):_(C)},_=C=>{u(be(C))},b=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):l()};return(C,A)=>{const N=Be,k=Ta,I=_e,$=Ae,U=ce,O=Te,H=oe,J=Ie;return o.renderSlot(C.$slots,"confirmSignUpSlotI",o.normalizeProps(o.guardReactiveProps(C.$attrs)),()=>[o.createVNode(H,o.normalizeProps(o.guardReactiveProps(C.$attrs)),{default:o.withCtx(()=>[o.createVNode(J,{onInput:g,onSubmit:o.withModifiers(h,["prevent"])},{default:o.withCtx(()=>[o.createVNode(H,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(C.$slots,"header",{},()=>[o.createVNode(N,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(v)),1)]),_:1})]),o.createVNode(k,{class:"amplify-authenticator__subtitle"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1}),o.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createVNode(Ee,{route:"confirmSignUp"})]),_:1},8,["disabled"]),o.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(a)?(o.openBlock(),o.createBlock($,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(a))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(U,{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(w)),1)]),_:1},8,["disabled"]),o.createVNode(U,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(b,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(y)),1)]),_:1},8,["onClick"]),o.renderSlot(C.$slots,"footer",{onConfirmSignUpSubmit:h,onLostCodeClicked:b})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wr=o.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=ge(),s=he(le)(),u=o.computed(()=>ue(r.value)),c=u.value.context.challengeName,{getBackToSignInText:l,getConfirmText:d,getChallengeText:p}=me,f=o.computed(()=>p(c)),m=o.computed(()=>l()),v=o.computed(()=>d()),y=h=>{const{name:_,value:b}=h.target;i({type:"CHANGE",data:{name:_,value:b}})},w=h=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",h):S(h)},S=h=>{s.submitForm(be(h))},g=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(h,_)=>{const b=Be,C=oe,A=Ae,N=ce,k=Te,I=_e,$=Ie;return o.renderSlot(h.$slots,"confirmSignInSlotI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode($,{"data-amplify-authenticator-confirmsignin":"",onInput:y,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ee,{route:"confirmSignIn"})]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var U,O;return[(O=(U=o.unref(u))==null?void 0:U.context)!=null&&O.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var H,J;return[o.createTextVNode(o.toDisplayString(o.unref(x)((J=(H=o.unref(u))==null?void 0:H.context)==null?void 0:J.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(N,{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(v)),1)]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(g,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onBackToSignInClicked:g,onConfirmSignInSubmit:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var It={},N_=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Ea={},de={};let Yr;const k_=[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];de.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};de.getSymbolTotalCodewords=function(t){return k_[t]};de.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};de.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Yr=t};de.isKanjiModeEnabled=function(){return typeof Yr!="undefined"};de.toSJIS=function(t){return Yr(t)};var yn={};(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}}})(yn);function Pa(){this.buffer=[],this.length=0}Pa.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 x_=Pa;function Tt(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Tt.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)};Tt.prototype.get=function(e,t){return this.data[e*this.size+t]};Tt.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Tt.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var $_=Tt,Na={};(function(e){const t=de.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}})(Na);var ka={};const O_=de.getSymbolSize,_i=7;ka.getPositions=function(t){const n=O_(t);return[[0,0],[n-_i,0],[0,n-_i]]};var xa={};(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 p=0;p<a;p++){u=c=0,l=d=null;for(let f=0;f<a;f++){let m=i.get(p,f);m===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=m,u=1),m=i.get(f,p),m===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=m,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}})(xa);var wn={};const Re=yn,Mt=[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],Dt=[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];wn.getBlocksCount=function(t,n){switch(n){case Re.L:return Mt[(t-1)*4+0];case Re.M:return Mt[(t-1)*4+1];case Re.Q:return Mt[(t-1)*4+2];case Re.H:return Mt[(t-1)*4+3];default:return}};wn.getTotalCodewordsCount=function(t,n){switch(n){case Re.L:return Dt[(t-1)*4+0];case Re.M:return Dt[(t-1)*4+1];case Re.Q:return Dt[(t-1)*4+2];case Re.H:return Dt[(t-1)*4+3];default:return}};var $a={},Sn={};const vt=new Uint8Array(512),tn=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)vt[n]=t,tn[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)vt[n]=vt[n-255]})();Sn.log=function(t){if(t<1)throw new Error("log("+t+")");return tn[t]};Sn.exp=function(t){return vt[t]};Sn.mul=function(t,n){return t===0||n===0?0:vt[tn[t]+tn[n]]};(function(e){const t=Sn;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}})($a);const Oa=$a;function Kr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Kr.prototype.initialize=function(t){this.degree=t,this.genPoly=Oa.generateECPolynomial(this.degree)};Kr.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const r=Oa.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 U_=Kr,Ua={},Ve={},qr={};qr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Pe={};const Ra="[0-9]+",R_="[A-Z $%*+\\-./:]+";let _t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";_t=_t.replace(/u/g,"\\u");const B_="(?:(?![A-Z0-9 $%*+\\-./:]|"+_t+`)(?:.|[\r
32
- ]))+`;Pe.KANJI=new RegExp(_t,"g");Pe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Pe.BYTE=new RegExp(B_,"g");Pe.NUMERIC=new RegExp(Ra,"g");Pe.ALPHANUMERIC=new RegExp(R_,"g");const V_=new RegExp("^"+_t+"$"),F_=new RegExp("^"+Ra+"$"),M_=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Pe.testKanji=function(t){return V_.test(t)};Pe.testNumeric=function(t){return F_.test(t)};Pe.testAlphanumeric=function(t){return M_.test(t)};(function(e){const t=qr,n=Pe;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}}})(Ve);(function(e){const t=de,n=wn,r=yn,i=Ve,a=qr,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,u=t.getBCHDigit(s);function c(f,m,v){for(let y=1;y<=40;y++)if(m<=e.getCapacity(y,v,f))return y}function l(f,m){return i.getCharCountIndicator(f,m)+4}function d(f,m){let v=0;return f.forEach(function(y){v+=l(y.mode,m)+y.getBitsLength()}),v}function p(f,m){for(let v=1;v<=40;v++)if(d(f,v)<=e.getCapacity(v,m,i.MIXED))return v}e.from=function(m,v){return a.isValid(m)?parseInt(m,10):v},e.getCapacity=function(m,v,y){if(!a.isValid(m))throw new Error("Invalid QR Code version");typeof y=="undefined"&&(y=i.BYTE);const w=t.getSymbolTotalCodewords(m),S=n.getTotalCodewordsCount(m,v),g=(w-S)*8;if(y===i.MIXED)return g;const h=g-l(y,m);switch(y){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(m,v){let y;const w=r.from(v,r.M);if(Array.isArray(m)){if(m.length>1)return p(m,w);if(m.length===0)return 1;y=m[0]}else y=m;return c(y.mode,y.getLength(),w)},e.getEncodedBits=function(m){if(!a.isValid(m)||m<7)throw new Error("Invalid QR Code version");let v=m<<12;for(;t.getBCHDigit(v)-u>=0;)v^=s<<t.getBCHDigit(v)-u;return m<<12|v}})(Ua);var Ba={};const er=de,Va=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,D_=1<<14|1<<12|1<<10|1<<4|1<<1,bi=er.getBCHDigit(Va);Ba.getEncodedBits=function(t,n){const r=t.bit<<3|n;let i=r<<10;for(;er.getBCHDigit(i)-bi>=0;)i^=Va<<er.getBCHDigit(i)-bi;return(r<<10|i)^D_};var Fa={};const L_=Ve;function Xe(e){this.mode=L_.NUMERIC,this.data=e.toString()}Xe.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Xe.prototype.getLength=function(){return this.data.length};Xe.prototype.getBitsLength=function(){return Xe.getBitsLength(this.data.length)};Xe.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 z_=Xe;const G_=Ve,kn=["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 et(e){this.mode=G_.ALPHANUMERIC,this.data=e}et.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};et.prototype.getLength=function(){return this.data.length};et.prototype.getBitsLength=function(){return et.getBitsLength(this.data.length)};et.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=kn.indexOf(this.data[n])*45;r+=kn.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(kn.indexOf(this.data[n]),6)};var j_=et,H_=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 W_=H_,Y_=Ve;function tt(e){this.mode=Y_.BYTE,this.data=new Uint8Array(W_(e))}tt.getBitsLength=function(t){return t*8};tt.prototype.getLength=function(){return this.data.length};tt.prototype.getBitsLength=function(){return tt.getBitsLength(this.data.length)};tt.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var K_=tt;const q_=Ve,J_=de;function nt(e){this.mode=q_.KANJI,this.data=e}nt.getBitsLength=function(t){return t*13};nt.prototype.getLength=function(){return this.data.length};nt.prototype.getBitsLength=function(){return nt.getBitsLength(this.data.length)};nt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=J_.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 Z_=nt,Ma={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,p,f,m,v,y,w;!u.empty();){c=u.pop(),l=c.value,p=c.cost,f=n[l]||{};for(d in f)f.hasOwnProperty(d)&&(m=f[d],v=p+m,y=s[d],w=typeof s[d]=="undefined",(w||y>v)&&(s[d]=v,u.push(d,v),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})(Ma);(function(e){const t=Ve,n=z_,r=j_,i=K_,a=Z_,s=Pe,u=de,c=Ma.exports;function l(S){return unescape(encodeURIComponent(S)).length}function d(S,g,h){const _=[];let b;for(;(b=S.exec(h))!==null;)_.push({data:b[0],index:b.index,mode:g,length:b[0].length});return _}function p(S){const g=d(s.NUMERIC,t.NUMERIC,S),h=d(s.ALPHANUMERIC,t.ALPHANUMERIC,S);let _,b;return u.isKanjiModeEnabled()?(_=d(s.BYTE,t.BYTE,S),b=d(s.KANJI,t.KANJI,S)):(_=d(s.BYTE_KANJI,t.BYTE,S),b=[]),g.concat(h,_,b).sort(function(A,N){return A.index-N.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function f(S,g){switch(g){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 m(S){return S.reduce(function(g,h){const _=g.length-1>=0?g[g.length-1]:null;return _&&_.mode===h.mode?(g[g.length-1].data+=h.data,g):(g.push(h),g)},[])}function v(S){const g=[];for(let h=0;h<S.length;h++){const _=S[h];switch(_.mode){case t.NUMERIC:g.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:g.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:g.push([_,{data:_.data,mode:t.BYTE,length:l(_.data)}]);break;case t.BYTE:g.push([{data:_.data,mode:t.BYTE,length:l(_.data)}])}}return g}function y(S,g){const h={},_={start:{}};let b=["start"];for(let C=0;C<S.length;C++){const A=S[C],N=[];for(let k=0;k<A.length;k++){const I=A[k],$=""+C+k;N.push($),h[$]={node:I,lastCount:0},_[$]={};for(let U=0;U<b.length;U++){const O=b[U];h[O]&&h[O].node.mode===I.mode?(_[O][$]=f(h[O].lastCount+I.length,I.mode)-f(h[O].lastCount,I.mode),h[O].lastCount+=I.length):(h[O]&&(h[O].lastCount=I.length),_[O][$]=f(I.length,I.mode)+4+t.getCharCountIndicator(I.mode,g))}}b=N}for(let C=0;C<b.length;C++)_[b[C]].end=0;return{map:_,table:h}}function w(S,g){let h;const _=t.getBestModeForData(S);if(h=t.from(g,_),h!==t.BYTE&&h.bit<_.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(h)+`.
34
- Suggested mode is: `+t.toString(_));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(g){return g.reduce(function(h,_){return typeof _=="string"?h.push(w(_,null)):_.data&&h.push(w(_.data,_.mode)),h},[])},e.fromString=function(g,h){const _=p(g,u.isKanjiModeEnabled()),b=v(_),C=y(b,h),A=c.find_path(C.map,"start","end"),N=[];for(let k=1;k<A.length-1;k++)N.push(C.table[A[k]].node);return e.fromArray(m(N))},e.rawSplit=function(g){return e.fromArray(p(g,u.isKanjiModeEnabled()))}})(Fa);const _n=de,xn=yn,Q_=x_,X_=$_,eb=Na,tb=ka,tr=xa,nr=wn,nb=U_,nn=Ua,rb=Ba,ob=Ve,$n=Fa;function ib(e,t){const n=e.size,r=tb.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 ab(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 sb(e,t){const n=eb.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 ub(e,t){const n=e.size,r=nn.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 On(e,t,n){const r=e.size,i=rb.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 cb(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 lb(e,t,n){const r=new Q_;n.forEach(function(c){r.put(c.mode.bit,4),r.put(c.getLength(),ob.getCharCountIndicator(c.mode,e)),c.write(r)});const i=_n.getSymbolTotalCodewords(e),a=nr.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 db(r,e,t)}function db(e,t,n){const r=_n.getSymbolTotalCodewords(t),i=nr.getTotalCodewordsCount(t,n),a=r-i,s=nr.getBlocksCount(t,n),u=r%s,c=s-u,l=Math.floor(r/s),d=Math.floor(a/s),p=d+1,f=l-d,m=new nb(f);let v=0;const y=new Array(s),w=new Array(s);let S=0;const g=new Uint8Array(e.buffer);for(let A=0;A<s;A++){const N=A<c?d:p;y[A]=g.slice(v,v+N),w[A]=m.encode(y[A]),v+=N,S=Math.max(S,N)}const h=new Uint8Array(r);let _=0,b,C;for(b=0;b<S;b++)for(C=0;C<s;C++)b<y[C].length&&(h[_++]=y[C][b]);for(b=0;b<f;b++)for(C=0;C<s;C++)h[_++]=w[C][b];return h}function fb(e,t,n,r){let i;if(Array.isArray(e))i=$n.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const d=$n.rawSplit(e);l=nn.getBestVersionForData(d,n)}i=$n.fromString(e,l||40)}else throw new Error("Invalid data");const a=nn.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 C=function(){return C=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},C.apply(this,arguments)};function lr(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}function U(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function B(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(l){s={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(s)throw s.error}}return a}function L(e,t,n){if(n||arguments.length===2)for(var o=0,i=t.length,a;o<i;o++)(a||!(o in t))&&(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}var M;(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"})(M||(M={}));var ve;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(ve||(ve={}));var Wt=M.Start,an=M.Stop,Fe=M.Raise,Me=M.Send,ur=M.Cancel,xi=M.NullEvent,sn=M.Assign,Cl=M.After,El=M.DoneState,ln=M.Log,$i=M.Init,Yt=M.Invoke,Al=M.ErrorExecution,jn=M.ErrorPlatform,cr=M.ErrorCustom,un=M.Update,Oi=M.Choose,Ri=M.Pure,Tl=Object.freeze(Object.defineProperty({__proto__:null,after:Cl,assign:sn,cancel:ur,choose:Oi,doneState:El,error:cr,errorExecution:Al,errorPlatform:jn,init:$i,invoke:Yt,log:ln,nullEvent:xi,pure:Ri,raise:Fe,send:Me,start:Wt,stop:an,update:un},Symbol.toStringTag,{value:"Module"})),Ui=".",Io={},zn="xstate.guard",Il="",Bi=!0,kt;function dr(e,t,n){n===void 0&&(n=Ui);var o=gt(e,n),i=gt(t,n);return F(i)?F(o)?i===o:!1:F(o)?o in i:Object.keys(o).every(function(a){return a in i?dr(o[a],i[a]):!1})}function Vi(e){try{return F(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function Gn(e,t){try{return rt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function Pl(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function gt(e,t){if(Pl(e))return e.value;if(rt(e))return Kt(e);if(typeof e!="string")return e;var n=Gn(e,t);return Kt(n)}function Kt(e){if(e.length===1)return e[0];for(var t={},n=t,o=0;o<e.length-1;o++)o===e.length-2?n[e[o]]=e[o+1]:(n[e[o]]={},n=n[e[o]]);return t}function pt(e,t){for(var n={},o=Object.keys(e),i=0;i<o.length;i++){var a=o[i];n[a]=t(e[a],a,e,i)}return n}function Po(e,t,n){var o,i,a={};try{for(var s=U(Object.keys(e)),l=s.next();!l.done;l=s.next()){var u=l.value,c=e[u];!n(c)||(a[u]=t(c,u,e))}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}var Nl=function(e){return function(t){var n,o,i=t;try{for(var a=U(e),s=a.next();!s.done;s=a.next()){var l=s.value;i=i[l]}}catch(u){n={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}};function kl(e,t){return function(n){var o,i,a=n;try{for(var s=U(e),l=s.next();!l.done;l=s.next()){var u=l.value;a=a[t][u]}}catch(c){o={error:c}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}}function jt(e){if(!e)return[[]];if(F(e))return[[e]];var t=W(Object.keys(e).map(function(n){var o=e[n];return typeof o!="string"&&(!o||!Object.keys(o).length)?[[n]]:jt(e[n]).map(function(i){return[n].concat(i)})}));return t}function W(e){var t;return(t=[]).concat.apply(t,L([],B(e),!1))}function Fi(e){return rt(e)?e:[e]}function ge(e){return e===void 0?[]:Fi(e)}function qt(e,t,n){var o,i;if(D(e))return e(t,n.data);var a={};try{for(var s=U(Object.keys(e)),l=s.next();!l.done;l=s.next()){var u=l.value,c=e[u];D(c)?a[u]=c(t,n.data):a[u]=c}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}function xl(e){return/^(done|error)\./.test(e)}function No(e){return!!(e instanceof Promise||e!==null&&(D(e)||typeof e=="object")&&D(e.then))}function $l(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Ol(e,t){var n,o,i=B([[],[]],2),a=i[0],s=i[1];try{for(var l=U(e),u=l.next();!u.done;u=l.next()){var c=u.value;t(c)?a.push(c):s.push(c)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return[a,s]}function Mi(e,t){return pt(e.states,function(n,o){if(!!n){var i=(F(t)?void 0:t[o])||(n?n.current:void 0);if(!!i)return{current:i,states:Mi(n,i)}}})}function Rl(e,t){return{current:t,states:Mi(e,t)}}function ko(e,t,n,o){var i=e&&n.reduce(function(a,s){var l,u,c=s.assignment,d={state:o,action:s,_event:t},m={};if(D(c))m=c(a,t.data,d);else try{for(var f=U(Object.keys(c)),h=f.next();!h.done;h=f.next()){var v=h.value,p=c[v];m[v]=D(p)?p(a,t.data,d):p}}catch(S){l={error:S}}finally{try{h&&!h.done&&(u=f.return)&&u.call(f)}finally{if(l)throw l.error}}return Object.assign({},a,m)},e);return i}var Ul=function(){};function rt(e){return Array.isArray(e)}function D(e){return typeof e=="function"}function F(e){return typeof e=="string"}function Di(e,t){if(!!e)return F(e)?{type:zn,name:e,predicate:t?t[e]:void 0}:D(e)?{type:zn,name:e.name,predicate:e}:e}function Bl(e){try{return"subscribe"in e&&D(e.subscribe)}catch{return!1}}var xe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();kt={},kt[xe]=function(){return this},kt[Symbol.observable]=function(){return this};function Je(e){return!!e&&"__xstatenode"in e}function Vl(e){return!!e&&typeof e.send=="function"}var Fl=function(){var e=0;return function(){return e++,e.toString(16)}}();function fr(e,t){return F(e)||typeof e=="number"?C({type:e},t):e}function te(e,t){if(!F(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=fr(e);return C({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Ge(e,t){var n=Fi(t).map(function(o){return typeof o=="undefined"||typeof o=="string"||Je(o)?{target:o,event:e}:C(C({},o),{event:e})});return n}function Ml(e){if(!(e===void 0||e===Il))return ge(e)}function Li(e,t,n,o,i){var a=e.options.guards,s={state:i,cond:t,_event:o};if(t.type===zn)return((a==null?void 0:a[t.name])||t.predicate)(n,o.data,s);var l=a==null?void 0:a[t.type];if(!l)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return l(n,o.data,s)}function ji(e){return typeof e=="string"?{type:e}:e}function zt(e,t,n){var o=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||o).bind(a),error:((i?e.error:t)||o).bind(a),complete:((i?e.complete:n)||o).bind(a)}}function xt(e,t){return"".concat(e,":invocation[").concat(t,"]")}var Ve=te({type:$i});function Jt(e,t){return t&&t[e]||void 0}function Ze(e,t){var n;if(F(e)||typeof e=="number"){var o=Jt(e,t);D(o)?n={type:e,exec:o}:o?n=o:n={type:e,exec:void 0}}else if(D(e))n={type:e.name||e.toString(),exec:e};else{var o=Jt(e.type,t);if(D(o))n=C(C({},e),{exec:o});else if(o){var i=o.type||e.type;n=C(C(C({},o),e),{type:i})}else n=e}return n}var Ie=function(e,t){if(!e)return[];var n=rt(e)?e:[e];return n.map(function(o){return Ze(o,t)})};function cn(e){var t=Ze(e);return C(C({id:F(e)?e:t.id},t),{type:t.type})}function zi(e){return F(e)?{type:Fe,event:e}:De(e,{to:ve.Internal})}function Gi(e){return{type:Fe,_event:te(e.event)}}function De(e,t){return{to:t?t.to:void 0,type:Me,event:D(e)?e:fr(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:D(e)?e.name:Vi(e)}}function Hi(e,t,n,o){var i={_event:n},a=te(D(e.event)?e.event(t,n.data,i):e.event),s;if(F(e.delay)){var l=o&&o[e.delay];s=D(l)?l(t,n.data,i):l}else s=D(e.delay)?e.delay(t,n.data,i):e.delay;var u=D(e.to)?e.to(t,n.data,i):e.to;return C(C({},e),{to:u,_event:a,event:a.data,delay:s})}function pr(e,t){return De(e,C(C({},t),{to:ve.Parent}))}function Dl(e,t,n){return De(t,C(C({},n),{to:e}))}function Wi(){return pr(un)}function Ll(e,t){return De(e,C(C({},t),{to:function(n,o,i){var a=i._event;return a.origin}}))}var jl=function(e,t){return{context:e,event:t}};function zl(e,t){return e===void 0&&(e=jl),{type:ln,label:t,expr:e}}var Yi=function(e,t,n){return C(C({},e),{value:F(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Ki=function(e){return{type:ur,sendId:e}};function qi(e){var t=cn(e);return{type:M.Start,activity:t,exec:void 0}}function Ji(e){var t=D(e)?e:cn(e);return{type:M.Stop,activity:t,exec:void 0}}function Zi(e,t,n){var o=D(e.activity)?e.activity(t,n.data):e.activity,i=typeof o=="string"?{id:o}:o,a={type:M.Stop,activity:i};return a}var Qi=function(e){return{type:sn,assignment:e}};function Gl(e){return typeof e=="object"&&"type"in e}function Xi(e,t){var n=t?"#".concat(t):"";return"".concat(M.After,"(").concat(e,")").concat(n)}function mt(e,t){var n="".concat(M.DoneState,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function yt(e,t){var n="".concat(M.DoneInvoke,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function qe(e,t){var n="".concat(M.ErrorPlatform,".").concat(e),o={type:n,data:t};return o.toString=function(){return n},o}function Hl(e){return{type:M.Pure,get:e}}function ea(e,t){return De(function(n,o){return o},C(C({},t),{to:e}))}function Wl(e,t){return pr(function(n,o,i){return{type:cr,data:D(e)?e(n,o,i):e}},C(C({},t),{to:ve.Parent}))}function Yl(e){return{type:M.Choose,conds:e}}var Kl=function(e){var t,n,o=[];try{for(var i=U(e),a=i.next();!a.done;a=i.next())for(var s=a.value,l=0;l<s.length;){if(s[l].type===sn){o.push(s[l]),s.splice(l,1);continue}l++}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o};function wt(e,t,n,o,i,a,s){s===void 0&&(s=!1);var l=s?[]:Kl(i),u=l.length?ko(n,o,l,t):n,c=s?[n]:void 0,d=[];function m(v){var p;switch(v.type){case Fe:return Gi(v);case Me:var S=Hi(v,u,o,e.options.delays);return a&&S.to!==ve.Internal&&d.push(S),S;case ln:{var w=Yi(v,u,o);return a==null||a(w,u,o),w}case Oi:{var y=v,g=(p=y.conds.find(function($){var z=Di($.cond,e.options.guards);return!z||Li(e,z,u,o,a?void 0:t)}))===null||p===void 0?void 0:p.actions;if(!g)return[];var _=B(wt(e,t,u,o,[Ie(ge(g),e.options.actions)],a,s),2),b=_[0],E=_[1];return u=E,c==null||c.push(u),b}case Ri:{var g=v.get(u,o.data);if(!g)return[];var A=B(wt(e,t,u,o,[Ie(ge(g),e.options.actions)],a,s),2),P=A[0],N=A[1];return u=N,c==null||c.push(u),P}case an:{var w=Zi(v,u,o);return a==null||a(w,n,o),w}case sn:{u=ko(u,o,[v],a?void 0:t),c==null||c.push(u);break}default:var T=Ze(v,e.options.actions),x=T.exec;if(a)a(T,u,o);else if(x&&c){var O=c.length-1;T=C(C({},T),{exec:function($){for(var z=[],K=1;K<arguments.length;K++)z[K-1]=arguments[K];x.apply(void 0,L([c[O]],B(z),!1))}})}return T}}function f(v){var p,S,w=[];try{for(var y=U(v),g=y.next();!g.done;g=y.next()){var _=g.value,b=m(_);b&&(w=w.concat(b))}}catch(E){p={error:E}}finally{try{g&&!g.done&&(S=y.return)&&S.call(y)}finally{if(p)throw p.error}}return d.forEach(function(E){a(E,u,o)}),d.length=0,w}var h=W(i.map(f));return[h,u]}var ta=Object.freeze(Object.defineProperty({__proto__:null,actionTypes:Tl,after:Xi,assign:Qi,cancel:Ki,choose:Yl,done:mt,doneInvoke:yt,error:qe,escalate:Wl,forwardTo:ea,getActionFunction:Jt,initEvent:Ve,isActionObject:Gl,log:zl,pure:Hl,raise:zi,resolveActions:wt,resolveLog:Yi,resolveRaise:Gi,resolveSend:Hi,resolveStop:Zi,respond:Ll,send:De,sendParent:pr,sendTo:Dl,sendUpdate:Wi,start:qi,stop:Ji,toActionObject:Ze,toActionObjects:Ie,toActivityDefinition:cn},Symbol.toStringTag,{value:"Module"})),Zt=[],Ye=function(e,t){Zt.push(e);var n=t(e);return Zt.pop(),n},ql=function(e){return e(Zt[Zt.length-1])};function na(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[xe]=function(){return this},t}function Jl(e,t,n,o){var i,a=ji(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],l=e.data?qt(e.data,n,o):void 0,u=s?mr(s,e.id,l):na(e.id);return u.meta=e,u}function mr(e,t,n){var o=na(t);if(o.deferred=!0,Je(e)){var i=o.state=Ye(void 0,function(){return(n?e.withContext(n):e).initialState});o.getSnapshot=function(){return i}}return o}function Zl(e){try{return typeof e.send=="function"}catch{return!1}}function Ql(e){return Zl(e)&&"id"in e}function Xl(e){var t;return C((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[xe]=function(){return this},t),e)}var Qt=function(e){return e.type==="atomic"||e.type==="final"};function ra(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function St(e){return ra(e).filter(function(t){return t.type!=="history"})}function oa(e){var t=[e];return Qt(e)?t:t.concat(W(St(e).map(oa)))}function ht(e,t){var n,o,i,a,s,l,u,c,d=new Set(e),m=Hn(d),f=new Set(t);try{for(var h=U(f),v=h.next();!v.done;v=h.next())for(var p=v.value,S=p.parent;S&&!f.has(S);)f.add(S),S=S.parent}catch(N){n={error:N}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}var w=Hn(f);try{for(var y=U(f),g=y.next();!g.done;g=y.next()){var p=g.value;if(p.type==="compound"&&(!w.get(p)||!w.get(p).length))m.get(p)?m.get(p).forEach(function(T){return f.add(T)}):p.initialStateNodes.forEach(function(T){return f.add(T)});else if(p.type==="parallel")try{for(var _=(s=void 0,U(St(p))),b=_.next();!b.done;b=_.next()){var E=b.value;f.has(E)||(f.add(E),m.get(E)?m.get(E).forEach(function(T){return f.add(T)}):E.initialStateNodes.forEach(function(T){return f.add(T)}))}}catch(T){s={error:T}}finally{try{b&&!b.done&&(l=_.return)&&l.call(_)}finally{if(s)throw s.error}}}}catch(N){i={error:N}}finally{try{g&&!g.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}try{for(var A=U(f),P=A.next();!P.done;P=A.next())for(var p=P.value,S=p.parent;S&&!f.has(S);)f.add(S),S=S.parent}catch(N){u={error:N}}finally{try{P&&!P.done&&(c=A.return)&&c.call(A)}finally{if(u)throw u.error}}return f}function ia(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var o=n[0];if(o){if(Qt(o))return o.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=ia(a,t)}),i}function Hn(e){var t,n,o=new Map;try{for(var i=U(e),a=i.next();!a.done;a=i.next()){var s=a.value;o.has(s)||o.set(s,[]),s.parent&&(o.has(s.parent)||o.set(s.parent,[]),o.get(s.parent).push(s))}}catch(l){t={error:l}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}function eu(e,t){var n=ht([e],t);return ia(e,Hn(n))}function Ke(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function tu(e){return L([],B(new Set(W(L([],B(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Gt(e,t){return t.type==="compound"?St(t).some(function(n){return n.type==="final"&&Ke(e,n)}):t.type==="parallel"?St(t).every(function(n){return Gt(e,n)}):!1}function nu(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function xo(e){return new Set(W(e.map(function(t){return t.tags})))}function aa(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(F(e)||F(t))return e===t;var n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(function(i){return aa(e[i],t[i])})}function ru(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function ou(e,t){var n=e.exec,o=C(C({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return o}var ye=function(){function e(t){var n=this,o;this.actions=[],this.activities=Io,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||Io,this.meta=nu(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(o=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&o!==void 0?o:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return tu(n.configuration)}})}return e.from=function(t,n){if(t instanceof e)return t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var o=Ve;return new e({value:t,context:n,_event:o,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var o=Ve;return new e({value:t.value,context:n,_event:o,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(t,n){var o=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),F(t))return[t];var i=Object.keys(t);return i.concat.apply(i,L([],B(i.map(function(a){return o.toStrings(t[a],n).map(function(s){return a+n+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var n=t.tags;t.machine;var o=lr(t,["configuration","transitions","tags","machine"]);return C(C({},o),{tags:Array.from(n)})},e.prototype.matches=function(t){return dr(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Bi&&Ul(!!this.machine);var o=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(o!=null&&o.transitions.length)&&o.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),iu={deferEvents:!1},$o=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=C(C({},iu),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}(),Nn=new Map,au=0,$t={bookId:function(){return"x:".concat(au++)},register:function(e,t){return Nn.set(e,t),e},get:function(e){return Nn.get(e)},free:function(e){Nn.delete(e)}};function hr(){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 su(){var e=hr();if(e&&"__xstate__"in e)return e.__xstate__}function lu(e){if(!!hr()){var t=su();t&&t.register(e)}}function uu(e,t){t===void 0&&(t={});var n=e.initialState,o=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var c=i.shift();n=e.transition(n,c,u),o.forEach(function(d){return d.next(n)})}a=!1}},l=Xl({id:t.id,send:function(c){i.push(c),s()},getSnapshot:function(){return n},subscribe:function(c,d,m){var f=zt(c,d,m);return o.add(f),f.next(n),{unsubscribe:function(){o.delete(f)}}}}),u={parent:t.parent,self:l,id:t.id||"anonymous",observers:o};return n=e.start?e.start(u):n,l}var Wn={sync:!1,autoForward:!1},ee;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ee||(ee={}));var cu=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var o=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=ee.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,m){if(rt(d))return o.batch(d),o.state;var f=te(fr(d,m));if(o.status===ee.Stopped)return o.state;if(o.status!==ee.Running&&!o.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(o.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
29
+ Event: `).concat(JSON.stringify(f.data)));return o.scheduler.schedule(function(){o.forward(f);var h=o._nextState(f);o.update(h,f)}),o._state},this.sendTo=function(d,m,f){var h=o.parent&&(m===ve.Parent||o.parent.id===m),v=h?o.parent:F(m)?o.children.get(m)||$t.get(m):Vl(m)?m:void 0;if(!v){if(!h)throw new Error("Unable to send event to child '".concat(m,"' from service '").concat(o.id,"'."));return}if("machine"in v){if(o.status!==ee.Stopped||o.parent!==v||o.state.done){var p=C(C({},d),{name:d.name===cr?"".concat(qe(o.id)):d.name,origin:o.sessionId});!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([v,p]):v.send(p)}}else!f&&o.machine.config.predictableActionArguments?o._outgoingQueue.push([v,d.data]):v.send(d.data)},this._exec=function(d,m,f,h){h===void 0&&(h=o.machine.options.actions);var v=d.exec||Jt(d.type,h),p=D(v)?v:v?v.exec:d.exec;if(p)try{return p(m,f.data,o.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:o.state,_event:f})}catch(O){throw o.parent&&o.parent.send({type:"xstate.error",data:O}),O}switch(d.type){case Me:var S=d;if(typeof S.delay=="number"){o.defer(S);return}else S.to?o.sendTo(S._event,S.to,f===Ve):o.send(S._event);break;case ur:o.cancel(d.sendId);break;case Wt:{if(o.status!==ee.Running)return;var w=d.activity;if(!o.machine.config.predictableActionArguments&&!o.state.activities[w.id||w.type])break;if(w.type===M.Invoke){var y=ji(w.src),g=o.machine.options.services?o.machine.options.services[y.type]:void 0,_=w.id,b=w.data,E="autoForward"in w?w.autoForward:!!w.forward;if(!g)return;var A=b?qt(b,m,f):void 0;if(typeof g=="string")return;var P=D(g)?g(m,f.data,{data:A,src:y,meta:w.meta}):g;if(!P)return;var N=void 0;Je(P)&&(P=A?P.withContext(A):P,N={autoForward:E}),o.spawn(P,_,N)}else o.spawnActivity(w);break}case an:{o.stopChild(d.activity.id);break}case ln:var T=d.label,x=d.value;T?o.logger(T,x):o.logger(x);break}};var i=C(C({},e.defaultOptions),n),a=i.clock,s=i.logger,l=i.parent,u=i.id,c=u!==void 0?u:t.id;this.id=c,this.logger=s,this.clock=a,this.parent=l,this.options=i,this.scheduler=new $o({deferEvents:this.options.deferEvents}),this.sessionId=$t.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:Ye(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,n){var o,i;try{for(var a=U(t.actions),s=a.next();!s.done;s=a.next()){var l=s.value;this.exec(l,t,n)}}catch(u){o={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}},e.prototype.update=function(t,n){var o,i,a,s,l,u,c,d,m=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===Ve)&&this.options.execute)this.execute(this.state);else for(var f=void 0;f=this._outgoingQueue.shift();)f[0].send(f[1]);if(this.children.forEach(function(N){m.state.children[N.id]=N}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var h=U(this.eventListeners),v=h.next();!v.done;v=h.next()){var p=v.value;p(t.event)}}catch(N){o={error:N}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}try{for(var S=U(this.listeners),w=S.next();!w.done;w=S.next()){var p=w.value;p(t,t.event)}}catch(N){a={error:N}}finally{try{w&&!w.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var y=U(this.contextListeners),g=y.next();!g.done;g=y.next()){var _=g.value;_(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(N){l={error:N}}finally{try{g&&!g.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}if(this.state.done){var b=t.configuration.find(function(N){return N.type==="final"&&N.parent===m.machine}),E=b&&b.doneData?qt(b.doneData,t.context,n):void 0;try{for(var A=U(this.doneListeners),P=A.next();!P.done;P=A.next()){var p=P.value;p(yt(this.id,E))}}catch(N){c={error:N}}finally{try{P&&!P.done&&(d=A.return)&&d.call(A)}finally{if(c)throw c.error}}this._stop(),this._stopChildren()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===ee.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,o){var i=this,a=zt(t,n,o);this.listeners.add(a.next),this.status!==ee.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===ee.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===ee.Running)return this;this.machine._init(),$t.register(this.sessionId,this),this.initialized=!0,this.status=ee.Running;var o=t===void 0?this.initialState:Ye(this,function(){return ru(t)?n.machine.resolveState(t):n.machine.resolveState(ye.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(o,Ve)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){D(t.stop)&&t.stop()}),this.children.clear()},e.prototype._stop=function(){var t,n,o,i,a,s,l,u,c,d;try{for(var m=U(this.listeners),f=m.next();!f.done;f=m.next()){var h=f.value;this.listeners.delete(h)}}catch(A){t={error:A}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}try{for(var v=U(this.stopListeners),p=v.next();!p.done;p=v.next()){var h=p.value;h(),this.stopListeners.delete(h)}}catch(A){o={error:A}}finally{try{p&&!p.done&&(i=v.return)&&i.call(v)}finally{if(o)throw o.error}}try{for(var S=U(this.contextListeners),w=S.next();!w.done;w=S.next()){var h=w.value;this.contextListeners.delete(h)}}catch(A){a={error:A}}finally{try{w&&!w.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}try{for(var y=U(this.doneListeners),g=y.next();!g.done;g=y.next()){var h=g.value;this.doneListeners.delete(h)}}catch(A){l={error:A}}finally{try{g&&!g.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}if(!this.initialized)return this;this.initialized=!1,this.status=ee.Stopped,this._initialState=void 0;try{for(var _=U(Object.keys(this.delayedEventsMap)),b=_.next();!b.done;b=_.next()){var E=b.value;this.clock.clearTimeout(this.delayedEventsMap[E])}}catch(A){c={error:A}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(c)throw c.error}}this.scheduler.clear(),this.scheduler=new $o({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var o=te({type:"xstate.stop"}),i=Ye(t,function(){var a=W(L([],B(t.state.configuration),!1).sort(function(d,m){return m.order-d.order}).map(function(d){return Ie(d.onExit,t.machine.options.actions)})),s=B(wt(t.machine,t.state,t.state.context,o,[a],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),l=s[0],u=s[1],c=new ye({value:t.state.value,context:u,_event:o,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:l.filter(function(d){return d.type!==Fe&&(d.type!==Me||!!d.to&&d.to!==ve.Internal)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return c.changed=!0,c});t.update(i,o),t._stopChildren(),$t.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(!(this.status===ee.NotStarted&&this.options.deferEvents)){if(this.status!==ee.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(!!t.length){var o=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,l=!1,u=[],c=function(h){var v=te(h);n.forward(v),s=Ye(n,function(){return n.machine.transition(s,v,void 0,o||void 0)}),u.push.apply(u,L([],B(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(p){return ou(p,s)})),!1)),l=l||!!s.changed};try{for(var d=U(t),m=d.next();!m.done;m=d.next()){var f=m.value;c(f)}}catch(h){i={error:h}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=l,s.actions=u,n.update(s,te(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var o=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=te(t);if(i.name.indexOf(jn)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(jn)===0}))throw i.data.data;var a=Ye(this,function(){return o.machine.transition(o.state,i,void 0,n||void 0)});return a},e.prototype.nextState=function(t){return this._nextState(t,!1)},e.prototype.forward=function(t){var n,o;try{for(var i=U(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,l=this.children.get(s);if(!l)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));l.send(t)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this;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,o){o===void 0&&(o=this.machine.options.actions),this._exec(t,n.context,n._event,o)},e.prototype.removeChild=function(t){var n;this.children.delete(t),this.forwardTo.delete(t),(n=this.state)===null||n===void 0||delete n.children[t]},e.prototype.stopChild=function(t){var n=this.children.get(t);!n||(this.removeChild(t),D(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,o){if(this.status!==ee.Running)return mr(t,n);if(No(t))return this.spawnPromise(Promise.resolve(t),n);if(D(t))return this.spawnCallback(t,n);if(Ql(t))return this.spawnActor(t,n);if(Bl(t))return this.spawnObservable(t,n);if(Je(t))return this.spawnMachine(t,C(C({},o),{id:n}));if($l(t))return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,n){var o=this;n===void 0&&(n={});var i=new e(t,C(C({},this.options),{parent:this,id:n.id||t.id})),a=C(C({},Wn),n);a.sync&&i.onTransition(function(l){o.send(un,{state:l,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(l){o.removeChild(i.id),o.send(te(l,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var o=uu(t,{id:n,parent:this});return this.children.set(n,o),o},e.prototype.spawnPromise=function(t,n){var o,i=this,a=!1,s;t.then(function(u){a||(s=u,i.removeChild(n),i.send(te(yt(n,u),{origin:n})))},function(u){if(!a){i.removeChild(n);var c=qe(n,u);try{i.send(te(c,{origin:n}))}catch{i.devTools&&i.devTools.send(c,i.state),i.machine.strict&&i.stop()}}});var l=(o={id:n,send:function(){},subscribe:function(u,c,d){var m=zt(u,c,d),f=!1;return t.then(function(h){f||(m.next(h),!f&&m.complete())},function(h){f||m.error(h)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},o[xe]=function(){return this},o);return this.children.set(n,l),l},e.prototype.spawnCallback=function(t,n){var o,i=this,a=!1,s=new Set,l=new Set,u,c=function(f){u=f,l.forEach(function(h){return h(f)}),!a&&i.send(te(f,{origin:n}))},d;try{d=t(c,function(f){s.add(f)})}catch(f){this.send(qe(n,f))}if(No(d))return this.spawnPromise(d,n);var m=(o={id:n,send:function(f){return s.forEach(function(h){return h(f)})},subscribe:function(f){var h=zt(f);return l.add(h.next),{unsubscribe:function(){l.delete(h.next)}}},stop:function(){a=!0,D(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return u}},o[xe]=function(){return this},o);return this.children.set(n,m),m},e.prototype.spawnObservable=function(t,n){var o,i=this,a,s=t.subscribe(function(u){a=u,i.send(te(u,{origin:n}))},function(u){i.removeChild(n),i.send(te(qe(n,u),{origin:n}))},function(){i.removeChild(n),i.send(te(yt(n),{origin:n}))}),l=(o={id:n,send:function(){},subscribe:function(u,c,d){return t.subscribe(u,c,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},o[xe]=function(){return this},o);return this.children.set(n,l),l},e.prototype.spawnActor=function(t,n){return this.children.set(n,t),t},e.prototype.spawnActivity=function(t){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!!n){var o=n(this.state.context,t);this.spawnEffect(t.id,o)}},e.prototype.spawnEffect=function(t,n){var o;this.children.set(t,(o={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},o[xe]=function(){return this},o))},e.prototype.attachDev=function(){var t=hr();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(C(C({name:this.id,autoPause:!0,stateSanitizer:function(o){return{value:o.value,context:o.context,actions:o.actions}}},n),{features:C({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}lu(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[xe]=function(){return this},e.prototype.getSnapshot=function(){return this.status===ee.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=sa,e}(),du=function(e){return F(e)?C(C({},Wn),{name:e}):C(C(C({},Wn),{name:Fl()}),e)};function Ot(e,t){var n=du(t);return ql(function(o){return o?o.spawn(e,n.name,n):mr(e,n.name)})}function sa(e,t){var n=new cu(e,t);return n}function fu(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Rt(e){return C(C({type:Yt},e),{toJSON:function(){e.onDone,e.onError;var t=lr(e,["onDone","onError"]);return C(C({},t),{type:Yt,src:fu(e.src)})}})}var Ut="",Yn="#",kn="*",He={},We=function(e){return e[0]===Yn},pu=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},mu=function(){function e(t,n,o,i){o===void 0&&(o="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=o,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(pu(),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:Ui),this.id=this.config.id||L([this.machine.key],B(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?pt(this.config.states,function(c,d){var m,f=new e(c,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,C((m={},m[f.id]=f,m),f.idMap)),f}):He;var l=0;function u(c){var d,m;c.order=l++;try{for(var f=U(ra(c)),h=f.next();!h.done;h=f.next()){var v=h.value;u(v)}}catch(p){d={error:p}}finally{try{h&&!h.done&&(m=f.return)&&m.call(f)}finally{if(d)throw d.error}}}u(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(c){var d=c.event;return d===Ut}):Ut in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ge(this.config.entry||this.config.onEntry).map(function(c){return Ze(c)}),this.onExit=ge(this.config.exit||this.config.onExit).map(function(c){return Ze(c)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ge(this.config.invoke).map(function(c,d){var m,f;if(Je(c)){var h=xt(a.id,d);return a.machine.options.services=C((m={},m[h]=c,m),a.machine.options.services),Rt({src:h,id:h})}else if(F(c.src)){var h=c.id||xt(a.id,d);return Rt(C(C({},c),{id:h,src:c.src}))}else if(Je(c.src)||D(c.src)){var h=c.id||xt(a.id,d);return a.machine.options.services=C((f={},f[h]=c.src,f),a.machine.options.services),Rt(C(C({id:h},c),{src:h}))}else{var v=c.src;return Rt(C(C({id:xt(a.id,d)},c),{src:v}))}}),this.activities=ge(this.config.activities).concat(this.invoke).map(function(c){return cn(c)}),this.transition=this.transition.bind(this),this.tags=ge(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||oa(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var o=this.options,i=o.actions,a=o.activities,s=o.guards,l=o.services,u=o.delays;return new e(this.config,{actions:C(C({},i),t.actions),activities:C(C({},a),t.activities),guards:C(C({},s),t.guards),services:C(C({},l),t.services),delays:C(C({},u),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return D(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:pt(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(n,o){return n[o.eventType]=n[o.eventType]||[],n[o.eventType].push(o),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=t===Ut,o=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===kn});return this.__cache.candidates[t]=o,o},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var o=function(a,s){var l=D(a)?"".concat(t.id,":delay[").concat(s,"]"):a,u=Xi(l,t.id);return t.onEntry.push(De(u,{delay:a})),t.onExit.push(Ki(u)),u},i=rt(n)?n.map(function(a,s){var l=o(a.delay,s);return C(C({},a),{event:l})}):W(Object.keys(n).map(function(a,s){var l=n[a],u=F(l)?{target:l}:l,c=isNaN(+a)?a:+a,d=o(c,s);return ge(u).map(function(m){return C(C({},m),{event:d,delay:c})})}));return i.map(function(a){var s=a.delay;return C(C({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,o=this;if(!t)return[];var i=t instanceof ye?t.value:gt(t,this.delimiter);if(F(i)){var a=this.getStateNode(i).initial;return a!==void 0?this.getStateNodes((n={},n[i]=a,n)):[this,this.states[i]]}var s=Object.keys(i),l=[this];return l.push.apply(l,L([],B(W(s.map(function(u){return o.getStateNode(u).getStateNodes(i[u])}))),!1)),l},e.prototype.handles=function(t){var n=Vi(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof ye?t:ye.create(t),o=Array.from(ht([],this.getStateNodes(n.value)));return new ye(C(C({},n),{value:this.resolve(n.value),configuration:o,done:Gt(o,this),tags:xo(o),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,o){var i=this.getStateNode(t),a=i.next(n,o);return!a||!a.transitions.length?this.next(n,o):a},e.prototype.transitionCompoundNode=function(t,n,o){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,o);return!s||!s.transitions.length?this.next(n,o):s},e.prototype.transitionParallelNode=function(t,n,o){var i,a,s={};try{for(var l=U(Object.keys(t)),u=l.next();!u.done;u=l.next()){var c=u.value,d=t[c];if(!!d){var m=this.getStateNode(c),f=m._transition(d,n,o);f&&(s[c]=f)}}}catch(y){i={error:y}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}var h=Object.keys(s).map(function(y){return s[y]}),v=W(h.map(function(y){return y.transitions})),p=h.some(function(y){return y.transitions.length>0});if(!p)return this.next(n,o);var S=W(h.map(function(y){return y.entrySet})),w=W(Object.keys(s).map(function(y){return s[y].configuration}));return{transitions:v,entrySet:S,exitSet:W(h.map(function(y){return y.exitSet})),configuration:w,source:n,actions:W(Object.keys(s).map(function(y){return s[y].actions}))}},e.prototype._transition=function(t,n,o){return F(t)?this.transitionLeafNode(t,n,o):Object.keys(t).length===1?this.transitionCompoundNode(t,n,o):this.transitionParallelNode(t,n,o)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,te(n))},e.prototype.next=function(t,n){var o,i,a=this,s=n.name,l=[],u=[],c;try{for(var d=U(this.getCandidates(s)),m=d.next();!m.done;m=d.next()){var f=m.value,h=f.cond,v=f.in,p=t.context,S=v?F(v)&&We(v)?t.matches(gt(this.getStateNodeById(v).path,this.delimiter)):dr(gt(v,this.delimiter),Nl(this.path.slice(0,-2))(t.value)):!0,w=!1;try{w=!h||Li(this.machine,h,p,n,t)}catch(b){throw new Error("Unable to evaluate guard '".concat(h.name||h.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
30
+ `).concat(b.message))}if(w&&S){f.target!==void 0&&(u=f.target),l.push.apply(l,L([],B(f.actions),!1)),c=f;break}}}catch(b){o={error:b}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}if(!!c){if(!u.length)return{transitions:[c],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:l};var y=W(u.map(function(b){return a.getRelativeStateNodes(b,t.historyValue)})),g=!!c.internal,_=[];return g||u.forEach(function(b){_.push.apply(_,L([],B(a.getExternalReentryNodes(b)),!1))}),{transitions:[c],entrySet:_,exitSet:g?[]:[this],configuration:y,source:t,actions:l}}},e.prototype.getExternalReentryNodes=function(t){for(var n=[],o=B(t.order>this.order?[t,this]:[this,t],2),i=o[0],a=o[1];i&&i!==a;)n.push(i),i=i.parent;return i!==a?[]:(n.push(a),n)},e.prototype.getActions=function(t,n,o,i,a,s,l){var u,c,d,m,f=this,h=ht([],s?this.getStateNodes(s.value):[this]);try{for(var v=U(t),p=v.next();!p.done;p=v.next()){var S=p.value;(!Ke(h,S)||Ke(o.entrySet,S.parent)&&!Ke(o.entrySet,S))&&o.entrySet.push(S)}}catch(T){u={error:T}}finally{try{p&&!p.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}try{for(var w=U(h),y=w.next();!y.done;y=w.next()){var S=y.value;(!Ke(t,S)||Ke(o.exitSet,S.parent))&&o.exitSet.push(S)}}catch(T){d={error:T}}finally{try{y&&!y.done&&(m=w.return)&&m.call(w)}finally{if(d)throw d.error}}var g=W(o.entrySet.map(function(T){var x=[];if(T.type!=="final")return x;var O=T.parent;if(!O.parent)return x;x.push(mt(T.id,T.doneData),mt(O.id,T.doneData?qt(T.doneData,i,a):void 0));var $=O.parent;return $.type==="parallel"&&St($).every(function(z){return Gt(o.configuration,z)})&&x.push(mt($.id)),x}));o.exitSet.sort(function(T,x){return x.order-T.order}),o.entrySet.sort(function(T,x){return T.order-x.order});var _=new Set(o.entrySet),b=new Set(o.exitSet),E=Array.from(_).map(function(T){var x=T.onEntry,O=T.activities.map(function($){return qi($)});return Ie(l?L(L([],B(x),!1),B(O),!1):L(L([],B(O),!1),B(x),!1),f.machine.options.actions)}).concat([g.map(zi)]),A=Array.from(b).map(function(T){return Ie(L(L([],B(T.onExit),!1),B(T.activities.map(function(x){return Ji(x)})),!1),f.machine.options.actions)}),P=A.concat([Ie(o.actions,this.machine.options.actions)]).concat(E);if(n){var N=Ie(W(L([],B(t),!1).sort(function(T,x){return x.order-T.order}).map(function(T){return T.onExit})),this.machine.options.actions).filter(function(T){return T.type!==Fe&&(T.type!==Me||!!T.to&&T.to!==ve.Internal)});return P.concat([N])}return P},e.prototype.transition=function(t,n,o,i){t===void 0&&(t=this.initialState);var a=te(n),s;if(t instanceof ye)s=o===void 0?t:this.resolveState(ye.from(t,o));else{var l=F(t)?this.resolve(Kt(this.getResolvedPath(t))):this.resolve(t),u=o!=null?o:this.machine.context;s=this.resolveState(ye.from(l,u))}if(this.strict&&!this.events.includes(a.name)&&!xl(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var c=this._transition(s.value,s,a)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},d=ht([],this.getStateNodes(s.value)),m=c.configuration.length?ht(d,c.configuration):d;return c.configuration=L([],B(m),!1),this.resolveTransition(c,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,o,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=o,t.event=o.data,(a=t.actions).unshift.apply(a,L([],B(s),!1)),t},e.prototype.resolveTransition=function(t,n,o,i,a){var s,l,u,c,d=this;a===void 0&&(a=Ve);var m=t.configuration,f=!n||t.transitions.length>0,h=f?t.configuration:n?n.configuration:[],v=Gt(h,this),p=f?eu(this.machine,m):void 0,S=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,w=this.getActions(new Set(h),v,t,o,a,n,i),y=n?C({},n.activities):{};try{for(var g=U(w),_=g.next();!_.done;_=g.next()){var b=_.value;try{for(var E=(u=void 0,U(b)),A=E.next();!A.done;A=E.next()){var P=A.value;P.type===Wt?y[P.activity.id||P.activity.type]=P:P.type===an&&(y[P.activity.id||P.activity.type]=!1)}}catch(Z){u={error:Z}}finally{try{A&&!A.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}}}catch(Z){s={error:Z}}finally{try{_&&!_.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}var N=B(wt(this,n,o,a,w,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),T=N[0],x=N[1],O=B(Ol(T,function(Z){return Z.type===Fe||Z.type===Me&&Z.to===ve.Internal}),2),$=O[0],z=O[1],K=T.filter(function(Z){var he;return Z.type===Wt&&((he=Z.activity)===null||he===void 0?void 0:he.type)===Yt}),q=K.reduce(function(Z,he){return Z[he.activity.id]=Jl(he.activity,d.machine,x,a),Z},n?C({},n.children):{}),oe=new ye({value:p||n.value,context:x,_event:a,_sessionid:n?n._sessionid:null,historyValue:p?S?Rl(S,p):void 0:n?n.historyValue:void 0,history:!p||t.source?n:void 0,actions:p?z:[],activities:p?y:n?n.activities:{},events:[],configuration:h,transitions:t.transitions,children:q,done:v,tags:xo(h),machine:this}),ie=o!==x;oe.changed=a.name===un||ie;var Q=oe.history;Q&&delete Q.history;var ze=!v&&(this._transient||m.some(function(Z){return Z._transient}));if(!f&&(!ze||a.name===Ut))return oe;var re=oe;if(!v)for(ze&&(re=this.resolveRaisedTransition(re,{type:xi},a,i));$.length;){var ct=$.shift();re=this.resolveRaisedTransition(re,ct._event,a,i)}var dt=re.changed||(Q?!!re.actions.length||ie||typeof Q.value!=typeof re.value||!aa(re.value,Q.value):void 0);return re.changed=dt,re.history=Q,re},e.prototype.getStateNode=function(t){if(We(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=We(t)?t.slice(Yn.length):t;if(n===this.id)return this;var o=this.machine.idMap[n];if(!o)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return o},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&We(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Gn(t,this.delimiter).slice(),o=this;n.length;){var i=n.shift();if(!i.length)break;o=o.getStateNode(i)}return o},e.prototype.resolve=function(t){var n,o=this;if(!t)return this.initialStateValue||He;switch(this.type){case"parallel":return pt(this.initialStateValue,function(a,s){return a?o.getStateNode(s).resolve(t[s]||a):He});case"compound":if(F(t)){var i=this.getStateNode(t);return i.type==="parallel"||i.type==="compound"?(n={},n[t]=i.initialStateValue,n):t}return Object.keys(t).length?pt(t,function(a,s){return a?o.getStateNode(s).resolve(a):He}):this.initialStateValue||{};default:return t||He}},e.prototype.getResolvedPath=function(t){if(We(t)){var n=this.machine.idMap[t.slice(Yn.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Gn(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=Po(this.states,function(o){return o.initialStateValue||He},function(o){return o.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=Qt(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,n){this._init();var o=this.getStateNodes(t);return this.resolveTransition({configuration:o,entrySet:o,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n!=null?n:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var n=this.config;F(n.target)?t=We(n.target)?Kt(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:t=n.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,n,o){return o===void 0&&(o=!0),o?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(Qt(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=jt(this.initialStateValue);return W(n.map(function(o){return t.getFromRelativePath(o)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=B(t),o=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(o,"' from node with no states"));var a=this.getStateNode(o);if(a.type==="history")return a.resolveHistory();if(!this.states[o])throw new Error("Child state '".concat(o,"' does not exist on '").concat(this.id,"'"));return this.states[o].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:Po(this.states,function(n,o){if(!t)return n.historyValue();var i=F(t)?void 0:t[o];return n.historyValue(i||n.initialStateValue)},function(n){return!n.history})}},e.prototype.resolveHistory=function(t){var n=this;if(this.type!=="history")return[this];var o=this.parent;if(!t){var i=this.target;return i?W(jt(i).map(function(s){return o.getFromRelativePath(s)})):o.initialStateNodes}var a=kl(o.path,"states")(t).current;return F(a)?[o.getStateNode(a)]:W(jt(a).map(function(s){return n.history==="deep"?o.getFromRelativePath(s):[o.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=W(Object.keys(this.states).map(function(o){return t.states[o].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,o,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var l=U(Object.keys(a)),u=l.next();!u.done;u=l.next()){var c=u.value,d=a[c];if(d.states)try{for(var m=(o=void 0,U(d.events)),f=m.next();!f.done;f=m.next()){var h=f.value;s.add("".concat(h))}}catch(v){o={error:v}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}}}catch(v){t={error:v}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var n=this;if(t!==void 0)return t.map(function(o){if(!F(o))return o;var i=o[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(o.slice(1));var a=i?n.key+o:o;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(l){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
31
+ `).concat(l.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,o=Ml(t.target),i="internal"in t?t.internal:o?o.some(function(u){return F(u)&&u[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(o),l=C(C({},t),{actions:Ie(ge(t.actions)),cond:Di(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return C(C({},l),{target:l.target?l.target.map(function(u){return"#".concat(u.id)}):void 0,source:"#".concat(n.id)})}});return l},e.prototype.formatTransitions=function(){var t,n,o=this,i;if(!this.config.on)i=[];else if(Array.isArray(this.config.on))i=this.config.on;else{var a=this.config.on,s=kn,l=a[s],u=l===void 0?[]:l,c=lr(a,[typeof s=="symbol"?s:s+""]);i=W(Object.keys(c).map(function(y){var g=Ge(y,c[y]);return g}).concat(Ge(kn,u)))}var d=this.config.always?Ge("",this.config.always):[],m=this.config.onDone?Ge(String(mt(this.id)),this.config.onDone):[],f=W(this.invoke.map(function(y){var g=[];return y.onDone&&g.push.apply(g,L([],B(Ge(String(yt(y.id)),y.onDone)),!1)),y.onError&&g.push.apply(g,L([],B(Ge(String(qe(y.id)),y.onError)),!1)),g})),h=this.after,v=W(L(L(L(L([],B(m),!1),B(f),!1),B(i),!1),B(d),!1).map(function(y){return ge(y).map(function(g){return o.formatTransition(g)})}));try{for(var p=U(h),S=p.next();!S.done;S=p.next()){var w=S.value;v.push(w)}}catch(y){t={error:y}}finally{try{S&&!S.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return v},e}(),Oo=!1;function Ct(e,t){return!Bi&&!e.predictableActionArguments&&!Oo&&(Oo=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new mu(e,t)}var de=Qi,gr=Wi,hu=ea;const{assign:j,stop:gu}=ta,Bt=e=>gu(e),yu=j({attributeToVerify:e=>{}}),vu=j({challengeName:e=>{}}),wu=j({requiredAttributes:e=>{}}),yr=j({remoteError:e=>""}),vr=j({formValues:e=>({})}),wr=j({touched:e=>({})}),Su=j({unverifiedContactMethods:e=>{}}),_u=j({username:e=>{}}),Sr=j({validationError:e=>({})}),bu=j({totpSecretCode:(e,t)=>t.data}),Cu=j({challengeName:(e,t)=>{var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),Eu=j({requiredAttributes:(e,t)=>{var n,o;return(o=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||o===void 0?void 0:o.requiredAttributes}}),Au=j({redirectIntent:e=>"confirmPasswordReset"}),Tu=j({redirectIntent:e=>"confirmSignUp"}),la=j({authAttributes:(e,t)=>{var n,o;const[i]=e.loginMechanisms;return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(o=e.formValues)===null||o===void 0?void 0:o.password}}}),_r=j({validationError:(e,t)=>t.data}),br=j({remoteError:(e,t)=>{var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),Iu=j({unverifiedContactMethods:(e,t)=>t.data.unverified}),ua=j({user:(e,t)=>t.data.user||t.data}),Pu=j({username:(e,t)=>{let{formValues:{username:n,country_code:o}}=e;return o&&(n=`${o}${n}`),n}}),Nu=j({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),ku=j({authAttributes:(e,t)=>({username:e.formValues.username})}),Cr=j({formValues:(e,t)=>{const{name:n,value:o}=t.data;return Object.assign(Object.assign({},e.formValues),{[n]:o})}}),Er=j({formValues:(e,t)=>{const n=Object.assign(Object.assign({},e.formValues),t.data);return pl(n,"password")}}),Ar=j({touched:(e,t)=>{const{name:n}=t.data;return Object.assign(Object.assign({},e.touched),{[`${n}`]:!0})}}),xu=e=>V(void 0,void 0,void 0,function*(){const{username:t}=e;return yield H.Auth.forgotPassword(t)}),ca=j({formValues:(e,t)=>{var n;const[o="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&o!=="phone_number")return e.formValues;const{formValues:i,country_code:a}=e,s=i.phone_number?"phone_number":"username",l=`${(n=i.country_code)!==null&&n!==void 0?n:a}${i[s]}`.replace(/[^A-Z0-9+]/gi,""),u=Object.assign(Object.assign({},i),{[s]:l});return delete u.country_code,u}});var $u=Array.isArray,Pe=$u,Ou=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,da=Ou,Ru=da,Uu=typeof self=="object"&&self&&self.Object===Object&&self,Bu=Ru||Uu||Function("return this")(),_e=Bu,Vu=_e,Fu=Vu.Symbol,dn=Fu,Ro=dn,fa=Object.prototype,Mu=fa.hasOwnProperty,Du=fa.toString,ft=Ro?Ro.toStringTag:void 0;function Lu(e){var t=Mu.call(e,ft),n=e[ft];try{e[ft]=void 0;var o=!0}catch{}var i=Du.call(e);return o&&(t?e[ft]=n:delete e[ft]),i}var ju=Lu,zu=Object.prototype,Gu=zu.toString;function Hu(e){return Gu.call(e)}var Wu=Hu,Uo=dn,Yu=ju,Ku=Wu,qu="[object Null]",Ju="[object Undefined]",Bo=Uo?Uo.toStringTag:void 0;function Zu(e){return e==null?e===void 0?Ju:qu:Bo&&Bo in Object(e)?Yu(e):Ku(e)}var ot=Zu;function Qu(e){return e!=null&&typeof e=="object"}var Le=Qu,Xu=ot,ec=Le,tc="[object Symbol]";function nc(e){return typeof e=="symbol"||ec(e)&&Xu(e)==tc}var Tr=nc,rc=Pe,oc=Tr,ic=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ac=/^\w*$/;function sc(e,t){if(rc(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||oc(e)?!0:ac.test(e)||!ic.test(e)||t!=null&&e in Object(t)}var Ir=sc;function lc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ne=lc,uc=ot,cc=Ne,dc="[object AsyncFunction]",fc="[object Function]",pc="[object GeneratorFunction]",mc="[object Proxy]";function hc(e){if(!cc(e))return!1;var t=uc(e);return t==fc||t==pc||t==dc||t==mc}var Pr=hc,gc=_e,yc=gc["__core-js_shared__"],vc=yc,xn=vc,Vo=function(){var e=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function wc(e){return!!Vo&&Vo in e}var Sc=wc,_c=Function.prototype,bc=_c.toString;function Cc(e){if(e!=null){try{return bc.call(e)}catch{}try{return e+""}catch{}}return""}var pa=Cc,Ec=Pr,Ac=Sc,Tc=Ne,Ic=pa,Pc=/[\\^$.*+?()[\]{}|]/g,Nc=/^\[object .+?Constructor\]$/,kc=Function.prototype,xc=Object.prototype,$c=kc.toString,Oc=xc.hasOwnProperty,Rc=RegExp("^"+$c.call(Oc).replace(Pc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Uc(e){if(!Tc(e)||Ac(e))return!1;var t=Ec(e)?Rc:Nc;return t.test(Ic(e))}var Bc=Uc;function Vc(e,t){return e==null?void 0:e[t]}var Fc=Vc,Mc=Bc,Dc=Fc;function Lc(e,t){var n=Dc(e,t);return Mc(n)?n:void 0}var je=Lc,jc=je,zc=jc(Object,"create"),fn=zc,Fo=fn;function Gc(){this.__data__=Fo?Fo(null):{},this.size=0}var Hc=Gc;function Wc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Yc=Wc,Kc=fn,qc="__lodash_hash_undefined__",Jc=Object.prototype,Zc=Jc.hasOwnProperty;function Qc(e){var t=this.__data__;if(Kc){var n=t[e];return n===qc?void 0:n}return Zc.call(t,e)?t[e]:void 0}var Xc=Qc,ed=fn,td=Object.prototype,nd=td.hasOwnProperty;function rd(e){var t=this.__data__;return ed?t[e]!==void 0:nd.call(t,e)}var od=rd,id=fn,ad="__lodash_hash_undefined__";function sd(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=id&&t===void 0?ad:t,this}var ld=sd,ud=Hc,cd=Yc,dd=Xc,fd=od,pd=ld;function it(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}it.prototype.clear=ud;it.prototype.delete=cd;it.prototype.get=dd;it.prototype.has=fd;it.prototype.set=pd;var md=it;function hd(){this.__data__=[],this.size=0}var gd=hd;function yd(e,t){return e===t||e!==e&&t!==t}var Et=yd,vd=Et;function wd(e,t){for(var n=e.length;n--;)if(vd(e[n][0],t))return n;return-1}var pn=wd,Sd=pn,_d=Array.prototype,bd=_d.splice;function Cd(e){var t=this.__data__,n=Sd(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():bd.call(t,n,1),--this.size,!0}var Ed=Cd,Ad=pn;function Td(e){var t=this.__data__,n=Ad(t,e);return n<0?void 0:t[n][1]}var Id=Td,Pd=pn;function Nd(e){return Pd(this.__data__,e)>-1}var kd=Nd,xd=pn;function $d(e,t){var n=this.__data__,o=xd(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var Od=$d,Rd=gd,Ud=Ed,Bd=Id,Vd=kd,Fd=Od;function at(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}at.prototype.clear=Rd;at.prototype.delete=Ud;at.prototype.get=Bd;at.prototype.has=Vd;at.prototype.set=Fd;var mn=at,Md=je,Dd=_e,Ld=Md(Dd,"Map"),Nr=Ld,Mo=md,jd=mn,zd=Nr;function Gd(){this.size=0,this.__data__={hash:new Mo,map:new(zd||jd),string:new Mo}}var Hd=Gd;function Wd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Yd=Wd,Kd=Yd;function qd(e,t){var n=e.__data__;return Kd(t)?n[typeof t=="string"?"string":"hash"]:n.map}var hn=qd,Jd=hn;function Zd(e){var t=Jd(this,e).delete(e);return this.size-=t?1:0,t}var Qd=Zd,Xd=hn;function ef(e){return Xd(this,e).get(e)}var tf=ef,nf=hn;function rf(e){return nf(this,e).has(e)}var of=rf,af=hn;function sf(e,t){var n=af(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var lf=sf,uf=Hd,cf=Qd,df=tf,ff=of,pf=lf;function st(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}st.prototype.clear=uf;st.prototype.delete=cf;st.prototype.get=df;st.prototype.has=ff;st.prototype.set=pf;var kr=st,ma=kr,mf="Expected a function";function xr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(mf);var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,o);return n.cache=a.set(i,s)||a,s};return n.cache=new(xr.Cache||ma),n}xr.Cache=ma;var hf=xr,gf=hf,yf=500;function vf(e){var t=gf(e,function(o){return n.size===yf&&n.clear(),o}),n=t.cache;return t}var wf=vf,Sf=wf,_f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bf=/\\(\\)?/g,Cf=Sf(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(_f,function(n,o,i,a){t.push(i?a.replace(bf,"$1"):o||n)}),t}),Ef=Cf;function Af(e,t){for(var n=-1,o=e==null?0:e.length,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}var ha=Af,Do=dn,Tf=ha,If=Pe,Pf=Tr,Nf=1/0,Lo=Do?Do.prototype:void 0,jo=Lo?Lo.toString:void 0;function ga(e){if(typeof e=="string")return e;if(If(e))return Tf(e,ga)+"";if(Pf(e))return jo?jo.call(e):"";var t=e+"";return t=="0"&&1/e==-Nf?"-0":t}var kf=ga,xf=kf;function $f(e){return e==null?"":xf(e)}var Of=$f,Rf=Pe,Uf=Ir,Bf=Ef,Vf=Of;function Ff(e,t){return Rf(e)?e:Uf(e,t)?[e]:Bf(Vf(e))}var gn=Ff,Mf=Tr,Df=1/0;function Lf(e){if(typeof e=="string"||Mf(e))return e;var t=e+"";return t=="0"&&1/e==-Df?"-0":t}var At=Lf,jf=gn,zf=At;function Gf(e,t){t=jf(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[zf(t[n++])];return n&&n==o?e:void 0}var $r=Gf,Hf=$r;function Wf(e,t,n){var o=e==null?void 0:Hf(e,t);return o===void 0?n:o}var Be=Wf,Yf=mn;function Kf(){this.__data__=new Yf,this.size=0}var qf=Kf;function Jf(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var Zf=Jf;function Qf(e){return this.__data__.get(e)}var Xf=Qf;function ep(e){return this.__data__.has(e)}var tp=ep,np=mn,rp=Nr,op=kr,ip=200;function ap(e,t){var n=this.__data__;if(n instanceof np){var o=n.__data__;if(!rp||o.length<ip-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new op(o)}return n.set(e,t),this.size=n.size,this}var sp=ap,lp=mn,up=qf,cp=Zf,dp=Xf,fp=tp,pp=sp;function lt(e){var t=this.__data__=new lp(e);this.size=t.size}lt.prototype.clear=up;lt.prototype.delete=cp;lt.prototype.get=dp;lt.prototype.has=fp;lt.prototype.set=pp;var Or=lt,mp=je,hp=function(){try{var e=mp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ya=hp,zo=ya;function gp(e,t,n){t=="__proto__"&&zo?zo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Rr=gp,yp=Rr,vp=Et;function wp(e,t,n){(n!==void 0&&!vp(e[t],n)||n===void 0&&!(t in e))&&yp(e,t,n)}var va=wp;function Sp(e){return function(t,n,o){for(var i=-1,a=Object(t),s=o(t),l=s.length;l--;){var u=s[e?l:++i];if(n(a[u],u,a)===!1)break}return t}}var _p=Sp,bp=_p,Cp=bp(),Ep=Cp,Kn={exports:{}};(function(e,t){var n=_e,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?n.Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(c,d){if(d)return c.slice();var m=c.length,f=l?l(m):new c.constructor(m);return c.copy(f),f}e.exports=u})(Kn,Kn.exports);var Ap=_e,Tp=Ap.Uint8Array,wa=Tp,Go=wa;function Ip(e){var t=new e.constructor(e.byteLength);return new Go(t).set(new Go(e)),t}var Pp=Ip,Np=Pp;function kp(e,t){var n=t?Np(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var xp=kp;function $p(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var Op=$p,Rp=Ne,Ho=Object.create,Up=function(){function e(){}return function(t){if(!Rp(t))return{};if(Ho)return Ho(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Bp=Up;function Vp(e,t){return function(n){return e(t(n))}}var Sa=Vp,Fp=Sa,Mp=Fp(Object.getPrototypeOf,Object),Ur=Mp,Dp=Object.prototype;function Lp(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Dp;return e===n}var Br=Lp,jp=Bp,zp=Ur,Gp=Br;function Hp(e){return typeof e.constructor=="function"&&!Gp(e)?jp(zp(e)):{}}var Wp=Hp,Yp=ot,Kp=Le,qp="[object Arguments]";function Jp(e){return Kp(e)&&Yp(e)==qp}var Zp=Jp,Wo=Zp,Qp=Le,_a=Object.prototype,Xp=_a.hasOwnProperty,em=_a.propertyIsEnumerable,tm=Wo(function(){return arguments}())?Wo:function(e){return Qp(e)&&Xp.call(e,"callee")&&!em.call(e,"callee")},Vr=tm,nm=9007199254740991;function rm(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=nm}var Fr=rm,om=Pr,im=Fr;function am(e){return e!=null&&im(e.length)&&!om(e)}var yn=am,sm=yn,lm=Le;function um(e){return lm(e)&&sm(e)}var cm=um,_t={exports:{}};function dm(){return!1}var fm=dm;(function(e,t){var n=_e,o=fm,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?n.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||o;e.exports=c})(_t,_t.exports);var pm=ot,mm=Ur,hm=Le,gm="[object Object]",ym=Function.prototype,vm=Object.prototype,ba=ym.toString,wm=vm.hasOwnProperty,Sm=ba.call(Object);function _m(e){if(!hm(e)||pm(e)!=gm)return!1;var t=mm(e);if(t===null)return!0;var n=wm.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ba.call(n)==Sm}var bm=_m,Cm=ot,Em=Fr,Am=Le,Tm="[object Arguments]",Im="[object Array]",Pm="[object Boolean]",Nm="[object Date]",km="[object Error]",xm="[object Function]",$m="[object Map]",Om="[object Number]",Rm="[object Object]",Um="[object RegExp]",Bm="[object Set]",Vm="[object String]",Fm="[object WeakMap]",Mm="[object ArrayBuffer]",Dm="[object DataView]",Lm="[object Float32Array]",jm="[object Float64Array]",zm="[object Int8Array]",Gm="[object Int16Array]",Hm="[object Int32Array]",Wm="[object Uint8Array]",Ym="[object Uint8ClampedArray]",Km="[object Uint16Array]",qm="[object Uint32Array]",G={};G[Lm]=G[jm]=G[zm]=G[Gm]=G[Hm]=G[Wm]=G[Ym]=G[Km]=G[qm]=!0;G[Tm]=G[Im]=G[Mm]=G[Pm]=G[Dm]=G[Nm]=G[km]=G[xm]=G[$m]=G[Om]=G[Rm]=G[Um]=G[Bm]=G[Vm]=G[Fm]=!1;function Jm(e){return Am(e)&&Em(e.length)&&!!G[Cm(e)]}var Zm=Jm;function Qm(e){return function(t){return e(t)}}var Xm=Qm,qn={exports:{}};(function(e,t){var n=da,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&n.process,l=function(){try{var u=i&&i.require&&i.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(qn,qn.exports);var eh=Zm,th=Xm,Yo=qn.exports,Ko=Yo&&Yo.isTypedArray,nh=Ko?th(Ko):eh,Mr=nh;function rh(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Ca=rh,oh=Rr,ih=Et,ah=Object.prototype,sh=ah.hasOwnProperty;function lh(e,t,n){var o=e[t];(!(sh.call(e,t)&&ih(o,n))||n===void 0&&!(t in e))&&oh(e,t,n)}var Ea=lh,uh=Ea,ch=Rr;function dh(e,t,n,o){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=o?o(n[l],e[l],l,n,e):void 0;u===void 0&&(u=e[l]),i?ch(n,l,u):uh(n,l,u)}return n}var fh=dh;function ph(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var mh=ph,hh=9007199254740991,gh=/^(?:0|[1-9]\d*)$/;function yh(e,t){var n=typeof e;return t=t==null?hh:t,!!t&&(n=="number"||n!="symbol"&&gh.test(e))&&e>-1&&e%1==0&&e<t}var vn=yh,vh=mh,wh=Vr,Sh=Pe,_h=_t.exports,bh=vn,Ch=Mr,Eh=Object.prototype,Ah=Eh.hasOwnProperty;function Th(e,t){var n=Sh(e),o=!n&&wh(e),i=!n&&!o&&_h(e),a=!n&&!o&&!i&&Ch(e),s=n||o||i||a,l=s?vh(e.length,String):[],u=l.length;for(var c in e)(t||Ah.call(e,c))&&!(s&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||bh(c,u)))&&l.push(c);return l}var Aa=Th;function Ih(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Ph=Ih,Nh=Ne,kh=Br,xh=Ph,$h=Object.prototype,Oh=$h.hasOwnProperty;function Rh(e){if(!Nh(e))return xh(e);var t=kh(e),n=[];for(var o in e)o=="constructor"&&(t||!Oh.call(e,o))||n.push(o);return n}var Uh=Rh,Bh=Aa,Vh=Uh,Fh=yn;function Mh(e){return Fh(e)?Bh(e,!0):Vh(e)}var Dr=Mh,Dh=fh,Lh=Dr;function jh(e){return Dh(e,Lh(e))}var zh=jh,qo=va,Gh=Kn.exports,Hh=xp,Wh=Op,Yh=Wp,Jo=Vr,Zo=Pe,Kh=cm,qh=_t.exports,Jh=Pr,Zh=Ne,Qh=bm,Xh=Mr,Qo=Ca,eg=zh;function tg(e,t,n,o,i,a,s){var l=Qo(e,n),u=Qo(t,n),c=s.get(u);if(c){qo(e,n,c);return}var d=a?a(l,u,n+"",e,t,s):void 0,m=d===void 0;if(m){var f=Zo(u),h=!f&&qh(u),v=!f&&!h&&Xh(u);d=u,f||h||v?Zo(l)?d=l:Kh(l)?d=Wh(l):h?(m=!1,d=Gh(u,!0)):v?(m=!1,d=Hh(u,!0)):d=[]:Qh(u)||Jo(u)?(d=l,Jo(l)?d=eg(l):(!Zh(l)||Jh(l))&&(d=Yh(u))):m=!1}m&&(s.set(u,d),i(d,u,o,a,s),s.delete(u)),qo(e,n,d)}var ng=tg,rg=Or,og=va,ig=Ep,ag=ng,sg=Ne,lg=Dr,ug=Ca;function Ta(e,t,n,o,i){e!==t&&ig(t,function(a,s){if(i||(i=new rg),sg(a))ag(e,t,s,n,Ta,o,i);else{var l=o?o(ug(e,s),a,s+"",e,t,i):void 0;l===void 0&&(l=a),og(e,s,l)}},lg)}var cg=Ta;function dg(e){return e}var Lr=dg;function fg(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 pg=fg,mg=pg,Xo=Math.max;function hg(e,t,n){return t=Xo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Xo(o.length-t,0),s=Array(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),mg(e,this,l)}}var gg=hg;function yg(e){return function(){return e}}var vg=yg,wg=vg,ei=ya,Sg=Lr,_g=ei?function(e,t){return ei(e,"toString",{configurable:!0,enumerable:!1,value:wg(t),writable:!0})}:Sg,bg=_g,Cg=800,Eg=16,Ag=Date.now;function Tg(e){var t=0,n=0;return function(){var o=Ag(),i=Eg-(o-n);if(n=o,i>0){if(++t>=Cg)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ig=Tg,Pg=bg,Ng=Ig,kg=Ng(Pg),xg=kg,$g=Lr,Og=gg,Rg=xg;function Ug(e,t){return Rg(Og(e,t,$g),e+"")}var Bg=Ug,Vg=Et,Fg=yn,Mg=vn,Dg=Ne;function Lg(e,t,n){if(!Dg(n))return!1;var o=typeof t;return(o=="number"?Fg(n)&&Mg(t,n.length):o=="string"&&t in n)?Vg(n[t],e):!1}var jg=Lg,zg=Bg,Gg=jg;function Hg(e){return zg(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&Gg(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var l=n[o];l&&e(t,l,o,a)}return t})}var Wg=Hg,Yg=cg,Kg=Wg,qg=Kg(function(e,t,n){Yg(e,t,n)}),Jg=qg;function Xt(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Zg(e){return typeof e=="string"||typeof e=="object"&&Object.prototype.toString.call(e)==="[object String]"}function Qg(e){return Xt(e)&&Object.prototype.toString.call(e)==="[object Map]"}function Xg(e){return Xt(e)&&Object.prototype.toString.call(e)==="[object Set]"}function Jn(e){if(e==null)return!0;if(Xt(e)&&(Qg(e)||Xg(e)))return!e.size;if(Xt(e)&&(Zg(e)||Array.isArray(e)))return!e.length;for(const t in e)if(ey(e,t))return!1;return!0}function ey(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)}const jr=(e,t,n,o)=>V(void 0,void 0,void 0,function*(){const i=yield Promise.all(o.map(s=>s(e,t,n))),a=Jg({},...i);return Jn(a)?Promise.resolve():Promise.reject(a)}),Qe={getAmplifyConfig(){return V(this,void 0,void 0,function*(){return H.Amplify.configure()})},getCurrentUser(){return V(this,void 0,void 0,function*(){return H.Auth.currentAuthenticatedUser()})},handleSignUp(e){return V(this,void 0,void 0,function*(){return H.Auth.signUp(Object.assign(Object.assign({},e),{autoSignIn:{enabled:!0}}))})},handleSignIn({username:e,password:t}){return V(this,void 0,void 0,function*(){return H.Auth.signIn(e,t)})},handleConfirmSignIn({user:e,code:t,mfaType:n}){return V(this,void 0,void 0,function*(){return H.Auth.confirmSignIn(e,t,n)})},handleConfirmSignUp({username:e,code:t}){return V(this,void 0,void 0,function*(){return yield H.Auth.confirmSignUp(e,t)})},handleForgotPasswordSubmit({username:e,code:t,password:n}){return V(this,void 0,void 0,function*(){return H.Auth.forgotPasswordSubmit(e,t,n)})},handleForgotPassword(e){return V(this,void 0,void 0,function*(){return H.Auth.forgotPassword(e)})},validateCustomSignUp(e,t){return V(this,void 0,void 0,function*(){})},validateFormPassword(e,t,n){return V(this,void 0,void 0,function*(){const{password:o}=e,{password:i}=t;if(!i||!n)return null;const a=[],s=+(n==null?void 0:n.passwordPolicyMinLength);o.length<s&&a.push(`Password must have at least ${s} characters`);const l=n==null?void 0:n.passwordPolicyCharacters;return l==null||l.forEach(u=>{switch(u){case"REQUIRES_LOWERCASE":/[a-z]/.test(o)||a.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(o)||a.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(o)||a.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":dl(o)||a.push("Password must have special characters")}}),a.length!==0?{password:a}:null})},validateConfirmPassword(e,t){return V(this,void 0,void 0,function*(){const{password:n,confirm_password:o}=e,{confirm_password:i,password:a}=t;return n||o?(n||o)&&n!==o&&(i&&a||(n==null?void 0:n.length)>=6&&(o==null?void 0:o.length)>=6)?{confirm_password:"Your passwords must match"}:void 0:null})},validatePreferredUsername(e,t){return V(this,void 0,void 0,function*(){})}},ty=["SMS_MFA","SOFTWARE_TOKEN_MFA"],$n=e=>Be(e,"data.challengeName"),ti=(e,t)=>e===t,ni=e=>ty.includes(e);function ny({services:e}){return Ct({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:t=>({user:t.user})},rejected:{type:"final",data:(t,n)=>({intent:t.redirectIntent,authAttributes:t.authAttributes})}}},{actions:{clearAttributeToVerify:yu,clearChallengeName:vu,clearRequiredAttributes:wu,clearError:yr,clearFormValues:vr,clearTouched:wr,clearUnverifiedContactMethods:Su,clearValidationError:Sr,handleInput:Cr,handleSubmit:Er,handleBlur:Ar,parsePhoneNumber:ca,setChallengeName:Cu,setConfirmResetPasswordIntent:Au,setConfirmSignUpIntent:Tu,setRequiredAttributes:Eu,setCredentials:la,setFieldErrors:_r,setRemoteError:br,setTotpSecretCode:bu,setUnverifiedContactMethods:Iu,setUser:ua,setUsernameAuthAttributes:ku,sendUpdate:gr()},guards:{shouldAutoSignIn:t=>(t==null?void 0:t.intent)==="autoSignIn",shouldAutoSubmit:t=>(t==null?void 0:t.intent)==="autoSignInSubmit",shouldConfirmSignIn:(t,n)=>ni($n(n)),shouldForceChangePassword:(t,n)=>ti($n(n),"NEW_PASSWORD_REQUIRED"),shouldRedirectToConfirmResetPassword:(t,n)=>n.data.code==="PasswordResetRequiredException",shouldRedirectToConfirmSignUp:(t,n)=>n.data.code==="UserNotConfirmedException",shouldRequestVerification:(t,n)=>{const{unverified:o,verified:i}=n.data;return Jn(i)&&!Jn(o)},shouldSetupTOTP:(t,n)=>ti($n(n),"MFA_SETUP")},services:{signIn(t){return V(this,void 0,void 0,function*(){const{authAttributes:n={},formValues:o={}}=t,i=Object.assign(Object.assign({},n),o),{username:a,password:s}=i;return yield e.handleSignIn({username:a,password:s})})},confirmSignIn(t){return V(this,void 0,void 0,function*(){const{challengeName:n,user:o}=t,{confirmation_code:i}=t.formValues,a=ni(n)?n:void 0;return yield e.handleConfirmSignIn({user:o,code:i,mfaType:a}),yield H.Auth.currentAuthenticatedUser()})},forceNewPassword(t){return V(this,void 0,void 0,function*(){const{user:n,formValues:o}=t;let i,{password:a,confirm_password:s,phone_number:l,country_code:u}=o,c=Pi(o,["password","confirm_password","phone_number","country_code"]);l&&(i=`${u}${l}`.replace(/[^A-Z0-9+]/gi,""),c=Object.assign(Object.assign({},c),{phone_number:i}));try{const d=yield H.Auth.completeNewPassword(n,a,c);return d.challengeName?d:H.Auth.currentAuthenticatedUser()}catch(d){return Promise.reject(d)}})},getTotpSecretCode(t){return V(this,void 0,void 0,function*(){const{user:n}=t;return H.Auth.setupTOTP(n)})},verifyTotpToken(t){return V(this,void 0,void 0,function*(){const{formValues:n,user:o}=t,{confirmation_code:i}=n;return H.Auth.verifyTotpToken(o,i)})},federatedSignIn(t,n){return V(this,void 0,void 0,function*(){const{provider:o}=n.data;return yield H.Auth.federatedSignIn({provider:o})})},checkVerifiedContact(t){return V(this,void 0,void 0,function*(){const{user:n}=t;return yield H.Auth.verifiedContact(n)})},verifyUser(t){return V(this,void 0,void 0,function*(){const{unverifiedAttr:n}=t.formValues,o=yield H.Auth.verifyCurrentUserAttribute(n);return t.attributeToVerify=n,o})},confirmVerifyUser(t){return V(this,void 0,void 0,function*(){const{attributeToVerify:n}=t,{confirmation_code:o}=t.formValues;return yield H.Auth.verifyCurrentUserAttributeSubmit(n,o)})},validateFields(t){return V(this,void 0,void 0,function*(){return jr(t.formValues,t.touched,t.passwordSettings,[Qe.validateFormPassword,Qe.validateConfirmPassword])})}}})}const ry=Ct({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>H.Auth.signOut()}});function oy({services:e}){return Ct({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:yr,clearFormValues:vr,clearTouched:wr,clearUsername:_u,clearValidationError:Sr,handleInput:Cr,handleSubmit:Er,handleBlur:Ar,resendCode:xu,setFieldErrors:_r,setRemoteError:br,setUsername:Pu,sendUpdate:gr()},guards:{shouldAutoConfirmReset:(t,n)=>!(!t.intent||t.intent!=="confirmPasswordReset")},services:{resetPassword(t){return V(this,void 0,void 0,function*(){const{username:n}=t;return e.handleForgotPassword(n)})},confirmResetPassword(t){return V(this,void 0,void 0,function*(){const{username:n}=t,{confirmation_code:o,password:i}=t.formValues;return e.handleForgotPasswordSubmit({username:n,code:o,password:i})})},validateFields(t,n){return V(this,void 0,void 0,function*(){return jr(t.formValues,t.touched,t.passwordSettings,[Qe.validateFormPassword,Qe.validateConfirmPassword])})}}})}var iy="__lodash_hash_undefined__";function ay(e){return this.__data__.set(e,iy),this}var sy=ay;function ly(e){return this.__data__.has(e)}var uy=ly,cy=kr,dy=sy,fy=uy;function en(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new cy;++t<n;)this.add(e[t])}en.prototype.add=en.prototype.push=dy;en.prototype.has=fy;var py=en;function my(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}var hy=my;function gy(e,t){return e.has(t)}var yy=gy,vy=py,wy=hy,Sy=yy,_y=1,by=2;function Cy(e,t,n,o,i,a){var s=n&_y,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var m=-1,f=!0,h=n&by?new vy:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],p=t[m];if(o)var S=s?o(p,v,m,t,e,a):o(v,p,m,e,t,a);if(S!==void 0){if(S)continue;f=!1;break}if(h){if(!wy(t,function(w,y){if(!Sy(h,y)&&(v===w||i(v,w,n,o,a)))return h.push(y)})){f=!1;break}}else if(!(v===p||i(v,p,n,o,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var Ia=Cy;function Ey(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}var Ay=Ey;function Ty(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var Iy=Ty,ri=dn,oi=wa,Py=Et,Ny=Ia,ky=Ay,xy=Iy,$y=1,Oy=2,Ry="[object Boolean]",Uy="[object Date]",By="[object Error]",Vy="[object Map]",Fy="[object Number]",My="[object RegExp]",Dy="[object Set]",Ly="[object String]",jy="[object Symbol]",zy="[object ArrayBuffer]",Gy="[object DataView]",ii=ri?ri.prototype:void 0,On=ii?ii.valueOf:void 0;function Hy(e,t,n,o,i,a,s){switch(n){case Gy:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case zy:return!(e.byteLength!=t.byteLength||!a(new oi(e),new oi(t)));case Ry:case Uy:case Fy:return Py(+e,+t);case By:return e.name==t.name&&e.message==t.message;case My:case Ly:return e==t+"";case Vy:var l=ky;case Dy:var u=o&$y;if(l||(l=xy),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;o|=Oy,s.set(e,t);var d=Ny(l(e),l(t),o,i,a,s);return s.delete(e),d;case jy:if(On)return On.call(e)==On.call(t)}return!1}var Wy=Hy;function Yy(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var Pa=Yy,Ky=Pa,qy=Pe;function Jy(e,t,n){var o=t(e);return qy(e)?o:Ky(o,n(e))}var Na=Jy;function Zy(e,t){for(var n=-1,o=e==null?0:e.length,i=0,a=[];++n<o;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var Qy=Zy;function Xy(){return[]}var ka=Xy,ev=Qy,tv=ka,nv=Object.prototype,rv=nv.propertyIsEnumerable,ai=Object.getOwnPropertySymbols,ov=ai?function(e){return e==null?[]:(e=Object(e),ev(ai(e),function(t){return rv.call(e,t)}))}:tv,xa=ov,iv=Sa,av=iv(Object.keys,Object),sv=av,lv=Br,uv=sv,cv=Object.prototype,dv=cv.hasOwnProperty;function fv(e){if(!lv(e))return uv(e);var t=[];for(var n in Object(e))dv.call(e,n)&&n!="constructor"&&t.push(n);return t}var pv=fv,mv=Aa,hv=pv,gv=yn;function yv(e){return gv(e)?mv(e):hv(e)}var $a=yv,vv=Na,wv=xa,Sv=$a;function _v(e){return vv(e,Sv,wv)}var bv=_v,si=bv,Cv=1,Ev=Object.prototype,Av=Ev.hasOwnProperty;function Tv(e,t,n,o,i,a){var s=n&Cv,l=si(e),u=l.length,c=si(t),d=c.length;if(u!=d&&!s)return!1;for(var m=u;m--;){var f=l[m];if(!(s?f in t:Av.call(t,f)))return!1}var h=a.get(e),v=a.get(t);if(h&&v)return h==t&&v==e;var p=!0;a.set(e,t),a.set(t,e);for(var S=s;++m<u;){f=l[m];var w=e[f],y=t[f];if(o)var g=s?o(y,w,f,t,e,a):o(w,y,f,e,t,a);if(!(g===void 0?w===y||i(w,y,n,o,a):g)){p=!1;break}S||(S=f=="constructor")}if(p&&!S){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof b=="function"&&b instanceof b)&&(p=!1)}return a.delete(e),a.delete(t),p}var Iv=Tv,Pv=je,Nv=_e,kv=Pv(Nv,"DataView"),xv=kv,$v=je,Ov=_e,Rv=$v(Ov,"Promise"),Uv=Rv,Bv=je,Vv=_e,Fv=Bv(Vv,"Set"),Mv=Fv,Dv=je,Lv=_e,jv=Dv(Lv,"WeakMap"),zv=jv,Zn=xv,Qn=Nr,Xn=Uv,er=Mv,tr=zv,Oa=ot,ut=pa,li="[object Map]",Gv="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",fi="[object DataView]",Hv=ut(Zn),Wv=ut(Qn),Yv=ut(Xn),Kv=ut(er),qv=ut(tr),Ue=Oa;(Zn&&Ue(new Zn(new ArrayBuffer(1)))!=fi||Qn&&Ue(new Qn)!=li||Xn&&Ue(Xn.resolve())!=ui||er&&Ue(new er)!=ci||tr&&Ue(new tr)!=di)&&(Ue=function(e){var t=Oa(e),n=t==Gv?e.constructor:void 0,o=n?ut(n):"";if(o)switch(o){case Hv:return fi;case Wv:return li;case Yv:return ui;case Kv:return ci;case qv:return di}return t});var Jv=Ue,Rn=Or,Zv=Ia,Qv=Wy,Xv=Iv,pi=Jv,mi=Pe,hi=_t.exports,ew=Mr,tw=1,gi="[object Arguments]",yi="[object Array]",Vt="[object Object]",nw=Object.prototype,vi=nw.hasOwnProperty;function rw(e,t,n,o,i,a){var s=mi(e),l=mi(t),u=s?yi:pi(e),c=l?yi:pi(t);u=u==gi?Vt:u,c=c==gi?Vt:c;var d=u==Vt,m=c==Vt,f=u==c;if(f&&hi(e)){if(!hi(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Rn),s||ew(e)?Zv(e,t,n,o,i,a):Qv(e,t,u,n,o,i,a);if(!(n&tw)){var h=d&&vi.call(e,"__wrapped__"),v=m&&vi.call(t,"__wrapped__");if(h||v){var p=h?e.value():e,S=v?t.value():t;return a||(a=new Rn),i(p,S,n,o,a)}}return f?(a||(a=new Rn),Xv(e,t,n,o,i,a)):!1}var ow=rw,iw=ow,wi=Le;function Ra(e,t,n,o,i){return e===t?!0:e==null||t==null||!wi(e)&&!wi(t)?e!==e&&t!==t:iw(e,t,n,o,Ra,i)}var Ua=Ra,aw=Or,sw=Ua,lw=1,uw=2;function cw(e,t,n,o){var i=n.length,a=i,s=!o;if(e==null)return!a;for(e=Object(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){l=n[i];var u=l[0],c=e[u],d=l[1];if(s&&l[2]){if(c===void 0&&!(u in e))return!1}else{var m=new aw;if(o)var f=o(c,d,u,e,t,m);if(!(f===void 0?sw(d,c,lw|uw,o,m):f))return!1}}return!0}var dw=cw,fw=Ne;function pw(e){return e===e&&!fw(e)}var Ba=pw,mw=Ba,hw=$a;function gw(e){for(var t=hw(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,mw(i)]}return t}var yw=gw;function vw(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Va=vw,ww=dw,Sw=yw,_w=Va;function bw(e){var t=Sw(e);return t.length==1&&t[0][2]?_w(t[0][0],t[0][1]):function(n){return n===e||ww(n,e,t)}}var Cw=bw;function Ew(e,t){return e!=null&&t in Object(e)}var Aw=Ew,Tw=gn,Iw=Vr,Pw=Pe,Nw=vn,kw=Fr,xw=At;function $w(e,t,n){t=Tw(t,e);for(var o=-1,i=t.length,a=!1;++o<i;){var s=xw(t[o]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++o!=i?a:(i=e==null?0:e.length,!!i&&kw(i)&&Nw(s,i)&&(Pw(e)||Iw(e)))}var Ow=$w,Rw=Aw,Uw=Ow;function Bw(e,t){return e!=null&&Uw(e,t,Rw)}var Vw=Bw,Fw=Ua,Mw=Be,Dw=Vw,Lw=Ir,jw=Ba,zw=Va,Gw=At,Hw=1,Ww=2;function Yw(e,t){return Lw(e)&&jw(t)?zw(Gw(e),t):function(n){var o=Mw(n,e);return o===void 0&&o===t?Dw(n,e):Fw(t,o,Hw|Ww)}}var Kw=Yw;function qw(e){return function(t){return t==null?void 0:t[e]}}var Jw=qw,Zw=$r;function Qw(e){return function(t){return Zw(t,e)}}var Xw=Qw,eS=Jw,tS=Xw,nS=Ir,rS=At;function oS(e){return nS(e)?eS(rS(e)):tS(e)}var iS=oS,aS=Cw,sS=Kw,lS=Lr,uS=Pe,cS=iS;function dS(e){return typeof e=="function"?e:e==null?lS:typeof e=="object"?uS(e)?sS(e[0],e[1]):aS(e):cS(e)}var fS=dS,pS=Ea,mS=gn,hS=vn,Si=Ne,gS=At;function yS(e,t,n,o){if(!Si(e))return e;t=mS(t,e);for(var i=-1,a=t.length,s=a-1,l=e;l!=null&&++i<a;){var u=gS(t[i]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(i!=s){var d=l[u];c=o?o(d,u,l):void 0,c===void 0&&(c=Si(d)?d:hS(t[i+1])?[]:{})}pS(l,u,c),l=l[u]}return e}var vS=yS,wS=$r,SS=vS,_S=gn;function bS(e,t,n){for(var o=-1,i=t.length,a={};++o<i;){var s=t[o],l=wS(e,s);n(l,s)&&SS(a,_S(s,e),l)}return a}var CS=bS,ES=Pa,AS=Ur,TS=xa,IS=ka,PS=Object.getOwnPropertySymbols,NS=PS?function(e){for(var t=[];e;)ES(t,TS(e)),e=AS(e);return t}:IS,kS=NS,xS=Na,$S=kS,OS=Dr;function RS(e){return xS(e,OS,$S)}var US=RS,BS=ha,VS=fS,FS=CS,MS=US;function DS(e,t){if(e==null)return{};var n=BS(MS(e),function(o){return[o]});return t=VS(t),FS(e,n,function(o,i){return t(o,i[0])})}var LS=DS;function jS({services:e}){return Ct({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(t,n)=>{const{username:o,password:i}=t.authAttributes;return{user:Be(n,"data.user")||t.user,authAttributes:{username:o,password:i},intent:t.intent}}}}},{guards:{isUserAlreadyConfirmed:(t,n)=>n.data.message==="User is already confirmed.",shouldInitConfirmSignUp:t=>t.intent&&t.intent==="confirmSignUp",shouldSkipConfirm:(t,n)=>n.data.userConfirmed},actions:{clearError:yr,clearFormValues:vr,clearTouched:wr,clearValidationError:Sr,handleInput:Cr,handleSubmit:Er,handleBlur:Ar,parsePhoneNumber:ca,setCredentials:la,setFieldErrors:_r,setRemoteError:br,setCodeDeliveryDetails:Nu,setUser:ua,sendUpdate:gr(),setAutoSignInIntent:de({intent:t=>(t==null?void 0:t.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"})},services:{confirmSignUp(t,n){return V(this,void 0,void 0,function*(){const{user:o,authAttributes:i,formValues:a}=t,{confirmation_code:s}=a,l=Be(o,"username")||Be(i,"username");return yield e.handleConfirmSignUp({username:l,code:s})})},resendConfirmationCode(t,n){return V(this,void 0,void 0,function*(){const{user:o,authAttributes:i}=t,a=Be(o,"username")||Be(i,"username");return H.Auth.resendSignUp(a)})},federatedSignIn(t,n){return V(this,void 0,void 0,function*(){const{provider:o}=n.data;return yield H.Auth.federatedSignIn({provider:o})})},signUp(t,n){return V(this,void 0,void 0,function*(){const{formValues:o,loginMechanisms:i}=t,[a="username"]=i,{[a]:s,password:l}=o,u=LS(o,(c,d)=>{switch(d){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return d.startsWith("custom:")}});return yield e.handleSignUp({username:s,password:l,attributes:u})})},validateSignUp(t,n){return V(this,void 0,void 0,function*(){return jr(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])})}}})}const{choose:zS}=ta;function GS(){return Ct({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Qe,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:zS([{cond:"hasActor",actions:hu(e=>e.actorRef)}]),setUser:de({user:(e,t)=>t.data}),setActorDoneData:de({actorDoneData:(e,t)=>{var n,o;return{authAttributes:Object.assign({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(o=t.data)===null||o===void 0?void 0:o.intent}},user:(e,t)=>{var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:de({user:void 0}),clearActorDoneData:de({actorDoneData:void 0}),applyAmplifyConfig:de({config(e,t){var n,o,i,a,s,l,u,c,d;const m=(o=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(b=>b.toLowerCase()))!==null&&o!==void 0?o:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(b=>b.toLowerCase()))!==null&&a!==void 0?a:[],h=(l=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(b=>b.toLowerCase()))!==null&&l!==void 0?l:[],v=(c=(u=t.data.aws_cognito_social_providers)===null||u===void 0?void 0:u.map(b=>b.toLowerCase()))!==null&&c!==void 0?c:[],p=t.data.aws_cognito_password_protection_settings||{};m.length===0&&m.push("username");const{loginMechanisms:S,signUpAttributes:w,socialProviders:y,initialState:g,formFields:_}=e.config;return{loginMechanisms:S!=null?S:m,formFields:(d=HS(_))!==null&&d!==void 0?d:{},passwordSettings:p,signUpAttributes:w!=null?w:Array.from(new Set([...f,...h])),socialProviders:y!=null?y:v.sort(),initialState:g}}}),spawnSignInActor:de({actorRef:(e,t)=>{var n,o,i,a,s,l,u;const{services:c}=e,d=ny({services:c}).withContext({authAttributes:(o=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&o!==void 0?o:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(l=e.config)===null||l===void 0?void 0:l.socialProviders,formFields:(u=e.config)===null||u===void 0?void 0:u.formFields});return Ot(d,{name:"signInActor"})}}),spawnSignUpActor:de({actorRef:(e,t)=>{var n,o,i,a,s,l,u;const{services:c}=e,d=jS({services:c}).withContext({authAttributes:(o=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&o!==void 0?o:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(l=e.config)===null||l===void 0?void 0:l.formFields,passwordSettings:(u=e.config)===null||u===void 0?void 0:u.passwordSettings});return Ot(d,{name:"signUpActor"})}}),spawnResetPasswordActor:de({actorRef:(e,t)=>{var n,o,i,a,s;const{services:l}=e,u=oy({services:l}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(o=e.actorDoneData)===null||o===void 0?void 0:o.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return Ot(u,{name:"resetPasswordActor"})}}),spawnSignOutActor:de({actorRef:e=>{const t=ry.withContext({user:e.user});return Ot(t,{name:"signOutActor"})}}),stopSignInActor:Bt("signInActor"),stopSignUpActor:Bt("signUpActor"),stopResetPasswordActor:Bt("resetPasswordActor"),stopSignOutActor:Bt("signOutActor"),configure:de((e,t)=>{const n=t.data,{services:o}=n,i=Pi(n,["services"]);return{services:Object.assign(Object.assign({},Qe),o),config:i}}),setHasSetup:de({hasSetup:!0})},guards:{isInitialStateSignUp:e=>e.config.initialState==="signUp",isInitialStateResetPassword:e=>e.config.initialState==="resetPassword",shouldRedirectToSignUp:(e,t)=>{var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:(e,t)=>{var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:(e,t)=>{var n,o;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((o=t.data)===null||o===void 0?void 0:o.intent)==="autoSignInSubmit"},shouldSetup:e=>e.hasSetup===!1,hasActor:e=>!!e.actorRef},services:{getCurrentUser:(e,t)=>e.services.getCurrentUser(),getAmplifyConfig:(e,t)=>e.services.getAmplifyConfig()}})}function HS(e){return e&&Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(n=>{let o=e[t][n];o.required=o.isRequired})}),e}const WS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},YS={class:"amplify-flex amplify-authenticator__icon-wrapper"},KS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[r.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),qS=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[r.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),be={__name:"base-alert",setup(e){const t=r.ref(!0),n=k("Dismiss alert");function o(){t.value=!1}return(i,a)=>{const s=se;return t.value?(r.openBlock(),r.createElementBlock("div",WS,[r.createElementVNode("div",YS,[KS,r.createElementVNode("div",null,[r.renderSlot(i.$slots,"default")])]),r.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":r.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:o},{default:r.withCtx(()=>[qS]),_:1},8,["aria-label"])])):r.createCommentVNode("",!0)}}};var wn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const JS={};function ZS(e,t){return r.openBlock(),r.createElementBlock("div",null,[r.renderSlot(e.$slots,"default")])}var ne=wn(JS,[["render",ZS]]);const Ce=r.defineComponent({__name:"base-form",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"formt",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("form",r.mergeProps({"data-amplify-form":""},n.$attrs),[r.renderSlot(n.$slots,"default")],16)])}}),Ee=r.defineComponent({__name:"base-footer",setup(e){let t=r.useSlots();return(n,o)=>r.renderSlot(n.$slots,"footert",r.mergeProps(n.$attrs,{slotData:r.unref(t).default&&r.unref(t).default()}),()=>[r.createElementVNode("footer",r.normalizeProps(r.guardReactiveProps(n.$attrs)),[r.renderSlot(n.$slots,"default")],16)])}});function QS(e){return r.getCurrentScope()?(r.onScopeDispose(e),!0):!1}function pe(e){let t=0,n,o;const i=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...a)=>(t+=1,n||(o=r.effectScope(!0),n=o.run(()=>e(...a))),QS(i),n)}var tn=globalThis&&globalThis.__assign||function(){return tn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},tn.apply(this,arguments)},XS=globalThis&&globalThis.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n};function e_(e,t,n){if(typeof e=="object")return e;var o=function(){};return{next:e,error:t||o,complete:n||o}}function t_(e,t,n){t===void 0&&(t={});var o=typeof e=="function"?e():e,i=t.context,a=t.guards,s=t.actions,l=t.activities,u=t.services,c=t.delays,d=t.state,m=XS(t,["context","guards","actions","activities","services","delays","state"]),f={context:i,guards:a,actions:s,activities:l,services:u,delays:c},h=o.withConfig(f,function(){return tn(tn({},o.context),i)}),v=sa(h,m).start(d?ye.create(d):void 0),p;return r.onMounted(function(){n&&(p=v.subscribe(e_(n)))}),r.onBeforeUnmount(function(){v.stop(),p==null||p.unsubscribe()}),v}function n_(e){return"state"in e}var _i=function(){};function r_(e){return"getSnapshot"in e?e.getSnapshot():n_(e)?e.state:void 0}function Fa(e,t){t===void 0&&(t=r_);var n=r.isRef(e)?e:r.shallowRef(e),o=r.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return r.watch(n,function(a,s,l){o.value=t(a);var u=a.subscribe({next:function(c){return o.value=c},error:_i,complete:_i}).unsubscribe;l(function(){return u()})},{immediate:!0}),{state:o,send:i}}const Ma={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},nr=r.ref(),Ht=r.reactive({...Ma,send:"",state:""}),me=e=>(e&&(nr.value=e),Fa(nr.value)),o_=()=>(bi(),r.watchEffect(()=>{bi()}),Ht),le=o_;function bi(){if(!nr.value)return;const{state:e,send:t}=me(),n=Ii({send:t,state:e.value});for(const o of Object.keys(Ma))Ht[o]=n[o];Ht.send=t,Ht.state=e}const Ft=r.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=r.toRefs(t),{send:o}=me(),i=()=>{o({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const l=ne,u=se;return r.openBlock(),r.createBlock(u,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:r.withCtx(()=>[r.createVNode(l,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),i_=r.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[r.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),a_={class:"amplify-text amplify-authenticator__federated-text"},s_=r.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),l_={class:"amplify-text amplify-authenticator__federated-text"},u_=r.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[r.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),c_={class:"amplify-text amplify-authenticator__federated-text"},d_=r.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[r.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),r.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),r.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),r.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),f_={class:"amplify-text amplify-authenticator__federated-text"},p_=["data-label"],Sn=r.defineComponent({__name:"federated-sign-in",setup(e){var g;const{state:t}=me(),n=pe(le),{route:o}=n(),{value:{context:i}}=t,a=(g=i==null?void 0:i.config)==null?void 0:g.socialProviders,s=a==null?void 0:a.includes("amazon"),l=a==null?void 0:a.includes("apple"),u=a==null?void 0:a.includes("facebook"),c=a==null?void 0:a.includes("google"),d=u||c||s||l,{getSignInWithFederationText:m,getOrText:f}=fe,h=r.computed(()=>Dn),v=r.computed(()=>m(o,"amazon")),p=r.computed(()=>m(o,"apple")),S=r.computed(()=>m(o,"facebook")),w=r.computed(()=>m(o,"google")),y=r.computed(()=>f());return(_,b)=>{const E=ne;return r.unref(d)?(r.openBlock(),r.createBlock(E,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:r.withCtx(()=>[r.unref(s)?(r.openBlock(),r.createBlock(Ft,{key:0,provider:r.unref(h).Amazon},{default:r.withCtx(()=>[i_,r.createElementVNode("p",a_,r.toDisplayString(r.unref(v)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(l)?(r.openBlock(),r.createBlock(Ft,{key:1,provider:r.unref(h).Apple},{default:r.withCtx(()=>[s_,r.createElementVNode("p",l_,r.toDisplayString(r.unref(p)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(u)?(r.openBlock(),r.createBlock(Ft,{key:2,provider:r.unref(h).Facebook},{default:r.withCtx(()=>[u_,r.createElementVNode("p",c_,r.toDisplayString(r.unref(S)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.unref(c)?(r.openBlock(),r.createBlock(Ft,{key:3,provider:r.unref(h).Google},{default:r.withCtx(()=>[d_,r.createElementVNode("p",f_,r.toDisplayString(r.unref(w)),1)]),_:1},8,["provider"])):r.createCommentVNode("",!0),r.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":r.unref(y)},null,8,p_)]),_:1})):r.createCommentVNode("",!0)}}});let m_=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let o=n[e]&63;o<36?t+=o.toString(36):o<62?t+=(o-26).toString(36).toUpperCase():o<63?t+="_":t+="-"}return t};const h_={},g_={"data-amplify-label":""};function y_(e,t){return r.openBlock(),r.createElementBlock("label",g_,[r.renderSlot(e.$slots,"default")])}var _n=wn(h_,[["render",y_]]);const bn=r.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.value)};return(o,i)=>(r.openBlock(),r.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),v_=["aria-label","aria-checked"],w_=r.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),S_=[w_],__=r.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),b_=r.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),C_=[__,b_],E_={inheritAttrs:!1},zr=r.defineComponent({...E_,__name:"password-control",props:{name:null,label:null,autocomplete:{default:"new-password"},hasError:{type:Boolean,default:!1},labelHidden:{type:Boolean},placeholder:null,required:{type:Boolean,default:!0},describedBy:null},setup(e){var y;const t=e,n=k("Show password"),o=k("Hide password"),i=r.ref("password"),a=r.ref(n),s=Math.floor(Math.random()*999999),{name:l,label:u,autocomplete:c,hasError:d,labelHidden:m,placeholder:f,required:h}=r.toRefs(t);let v=r.ref("");function p(){a.value=a.value===n?o:n,i.value=i.value==="password"?"text":"password"}const S=k((y=f==null?void 0:f.value)!=null?y:u.value),w=k(u.value);return(g,_)=>{const b=_n,E=bn,A=ne;return r.openBlock(),r.createBlock(A,{class:r.normalizeClass([r.unref(X).Flex,r.unref(X).Field,r.unref(X).TextField,r.unref(X).PasswordField,"amplify-authenticator__column"])},{default:r.withCtx(()=>[r.createVNode(b,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":r.unref(m)}]),for:"amplify-field-"+r.unref(s)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(w)),1)]),_:1},8,["class","for"]),r.createVNode(A,{class:r.normalizeClass([r.unref(X).Flex,r.unref(X).FieldGroup])},{default:r.withCtx(()=>[r.createVNode(A,{class:r.normalizeClass(r.unref(X).FieldGroupFieldWrapper)},{default:r.withCtx(()=>{var P;return[r.createVNode(E,r.mergeProps(g.$attrs,{modelValue:r.unref(v),"onUpdate:modelValue":_[0]||(_[0]=N=>r.isRef(v)?v.value=N:v=N),class:[r.unref(X).Input,r.unref(X).FieldGroupControl],id:"amplify-field-"+r.unref(s),"data-amplify-password":"true",name:r.unref(l),autocomplete:r.unref(c),required:(P=r.unref(h))!=null?P:!0,placeholder:r.unref(S),type:i.value,"aria-invalid":r.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]}),_:1},8,["class"]),r.createVNode(A,{class:r.normalizeClass(r.unref(X).FieldGroupOuterEnd)},{default:r.withCtx(()=>[r.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:r.normalizeClass([r.unref(X).Button,r.unref(X).FieldGroupControl,r.unref(X).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:p},[i.value==="password"?(r.openBlock(),r.createElementBlock("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:r.normalizeClass(r.unref(X).Icon)},S_,2)):(r.openBlock(),r.createElementBlock("svg",{key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:r.normalizeClass(r.unref(X).Icon)},C_,2))],10,v_)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),A_=["value","selected"],T_=r.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:o,selectValue:i}=r.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,l)=>(r.openBlock(),r.createElementBlock("select",{onChange:l[0]||(l[0]=u=>a(u))},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(o),(u,c)=>(r.openBlock(),r.createElementBlock("option",{key:c,value:u,selected:u==r.unref(i)?!0:void 0},r.toDisplayString(u),9,A_))),128))],32))}}),I_=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[r.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),P_=r.defineComponent({__name:"alias-control",props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null,type:{default:"text"},hasError:{type:Boolean},describedBy:null},setup(e){const t=e,{label:n,name:o,placeholder:i,autocomplete:a,labelHidden:s,required:l,dialCode:u,dialCodeList:c}=r.toRefs(t),d=Math.floor(Math.random()*999999),m=Math.floor(Math.random()*999999);return(f,h)=>{const v=_n,p=T_,S=ne,w=bn;return r.openBlock(),r.createBlock(S,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,r.mergeProps({for:"amplify-field-"+r.unref(d),class:["amplify-label",{"amplify-visually-hidden":r.unref(s)}]},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(n)),1)]),_:1},16,["for","class"]),r.createVNode(S,{class:"amplify-flex amplify-field-group"},{default:r.withCtx(()=>[r.createVNode(S,{class:"amplify-field-group__outer-start"},{default:r.withCtx(()=>[e.type==="tel"?(r.openBlock(),r.createBlock(S,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(v,r.mergeProps({for:"amplify-field-"+r.unref(m),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString("Country Code"))]),_:1},16,["for"]),r.createVNode(S,{class:"amplify-select__wrapper"},{default:r.withCtx(()=>[r.createVNode(p,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+r.unref(m),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:r.unref(c),"select-value":r.unref(u)},null,8,["id","options","select-value"]),r.createVNode(S,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:r.withCtx(()=>[I_]),_:1})]),_:1})]),_:1})):r.createCommentVNode("",!0)]),_:1}),r.createVNode(S,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>{var y;return[r.createVNode(w,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+r.unref(d),autocomplete:r.unref(a),name:r.unref(o),required:(y=r.unref(l))!=null?y:!0,type:e.type,placeholder:r.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),N_=["id"],Da=r.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:o}=r.toRefs(t),i=pe(le),{validationErrors:a}=r.toRefs(i()),{type:s}=o.value,l=s==="password",u=m_(12),c=r.computed(()=>ol(a.value[n.value])),d=r.computed(()=>{var f;return((f=c.value)==null?void 0:f.length)>0}),m=r.computed(()=>d.value?u:void 0);return(f,h)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[l?(r.openBlock(),r.createBlock(zr,{key:0,name:r.unref(n),label:r.unref(o).label,placeholder:r.unref(o).placeholder,required:r.unref(o).isRequired,"label-hidden":r.unref(o).labelHidden,autocomplete:r.unref(o).autocomplete,hasError:r.unref(d),describedBy:r.unref(m)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(r.openBlock(),r.createBlock(P_,{key:1,name:r.unref(n),label:r.unref(o).label,placeholder:r.unref(o).placeholder,required:r.unref(o).isRequired,"label-hidden":r.unref(o).labelHidden,autocomplete:r.unref(o).autocomplete,"dial-code":r.unref(o).dialCode,"dial-code-list":r.unref(o).dialCodeList,type:r.unref(o).type,hasError:r.unref(d),describedBy:r.unref(m)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),r.unref(d)?(r.openBlock(),r.createElementBlock("div",{key:2,id:r.unref(m)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(c),(v,p)=>(r.openBlock(),r.createElementBlock("p",{key:p,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},r.toDisplayString(r.unref(k)(v)),1))),128))],8,N_)):r.createCommentVNode("",!0)],64))}}),Ae=r.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=r.toRefs(t),{state:o}=me();let i=[];return r.onBeforeMount(()=>{i=_l(n.value,o.value)}),(a,s)=>(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i),([l,u])=>(r.openBlock(),r.createBlock(Da,{name:l,key:l,formField:u},null,8,["name","formField"]))),128))}}),k_=r.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),x_={"data-amplify-footer":""},Gr=r.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const o=pe(le)(),i=r.useAttrs(),{getForgotPasswordText:a,getSignInText:s,getSigningInText:l}=fe,u=r.computed(()=>a()),c=r.computed(()=>s()),d=r.computed(()=>l()),{state:m,send:f}=me(),h=r.computed(()=>ae(m.value)),v=y=>{const{name:g,value:_}=y.target;f({type:"CHANGE",data:{name:g,value:_}})},p=y=>{i!=null&&i.onSignInSubmit?t("signInSubmit",y):S(y)},S=y=>{o.submitForm(Se(y))},w=()=>{i!=null&&i.onForgotPasswordClicked?t("forgotPasswordClicked"):f({type:"RESET_PASSWORD"})};return(y,g)=>{const _=we,b=be,E=se,A=ne,P=Ce,N=Ee;return r.renderSlot(y.$slots,"signInSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.renderSlot(y.$slots,"header"),r.createVNode(A,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode(P,{"data-amplify-authenticator-signin":"",onInput:v,onSubmit:r.withModifiers(p,["prevent"]),method:"post"},{formt:r.withCtx(({slotData:T})=>[r.renderSlot(y.$slots,"form",{info:T,onSignInSubmit:p,onInput:v,onForgotPasswordClicked:w})]),default:r.withCtx(()=>[r.createVNode(Sn),r.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(_,{disabled:r.unref(h).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:r.withCtx(({slotData:T})=>[r.renderSlot(y.$slots,"signin-fields",{info:T})]),default:r.withCtx(()=>[k_,r.createVNode(Ae,{route:"signIn"})]),_:3},8,["disabled"]),r.unref(h).context.remoteError?(r.openBlock(),r.createBlock(b,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(k)(r.unref(h).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(E,{disabled:r.unref(h).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h).matches("signIn.submit")?r.unref(d):r.unref(c)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(N,null,{default:r.withCtx(()=>[r.renderSlot(y.$slots,"footer",{},()=>[r.createElementVNode("div",x_,[r.createVNode(E,{onClick:w,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(u)),1)]),_:1})])])]),_:3})])}}}),Hr=r.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(Ae,{route:"signUp"}))}}),Wr=r.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=pe(le),o=n(),i=n(),{hasValidationErrors:a,isPending:s,error:l}=r.toRefs(o),u=r.useAttrs(),{getCreateAccountText:c}=fe,d=r.computed(()=>c()),m=p=>{let{checked:S,name:w,type:y,value:g}=p.target;y==="checkbox"&&!S&&(g=void 0),i.updateForm({name:w,value:g})};function f(p){const{name:S}=p.target;i.updateBlur({name:S})}const h=p=>{u!=null&&u.onSignUpSubmit?t("signUpSubmit",p):v(p)},v=p=>{i.submitForm(Se(p))};return(p,S)=>{const w=we,y=be,g=se,_=ne,b=Ce,E=Ee;return r.renderSlot(p.$slots,"signUpSlotI",r.normalizeProps(r.guardReactiveProps(p.$attrs)),()=>[r.renderSlot(p.$slots,"header"),r.createVNode(_,r.normalizeProps(r.guardReactiveProps(p.$attrs)),{default:r.withCtx(()=>[r.createVNode(b,{onInput:m,onBlurCapture:f,onSubmit:r.withModifiers(h,["prevent"])},{default:r.withCtx(()=>[r.createVNode(Sn),r.createVNode(_,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(w,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(s)},{fieldSetI:r.withCtx(({slotData:A})=>[r.renderSlot(p.$slots,"signup-fields",{info:A})]),default:r.withCtx(()=>[r.createVNode(Hr)]),_:3},8,["disabled"]),r.unref(l)?(r.openBlock(),r.createBlock(y,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(k)(r.unref(l))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(g,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:r.unref(s)||r.unref(a)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),r.createVNode(E,null,{default:r.withCtx(()=>[r.renderSlot(p.$slots,"footer")]),_:3})])}}}),$_=r.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:o,label:i}=r.toRefs(t);return(a,s)=>{const l=ne;return r.openBlock(),r.createBlock(l,{tabindex:r.unref(n)?0:-1,"data-state":r.unref(n)?"active":"inactive","aria-selected":r.unref(n)?"true":"false","aria-controls":`radix-id-${r.unref(o)}-8-content-0`,id:`radix-id-${r.unref(o)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),O_={};function R_(e,t){const n=ne;return r.openBlock(),r.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:r.withCtx(()=>[r.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:r.withCtx(()=>[r.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var U_=wn(O_,[["render",R_]]);const Oe=r.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,l;const o=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((l=(s=i[0])==null?void 0:s.children)==null?void 0:l.length)===0)i[0].children=[r.h(`h${e.level}`,{...n,class:a},[o])];else return()=>r.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?r.h(i[0].children[0]):r.h(o[0])]);return()=>i}}),B_={};function V_(e,t){return r.renderSlot(e.$slots,"textI",r.normalizeProps(r.guardReactiveProps(e.$attrs)),()=>[r.createElementVNode("span",r.mergeProps(e.$attrs,{"data-amplify-text":""}),[r.renderSlot(e.$slots,"default")],16)])}var La=wn(B_,[["render",V_]]);const Yr=r.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=r.useAttrs(),o=pe(le),{isPending:i,error:a,codeDeliveryDetails:s}=r.toRefs(o()),{submitForm:l,updateForm:u,resendCode:c}=o(),{getDeliveryMethodText:d,getDeliveryMessageText:m,getResendCodeText:f,getConfirmText:h}=fe,v=r.computed(()=>d(s.value)),p=r.computed(()=>f()),S=r.computed(()=>h()),w=r.computed(()=>m(s.value)),y=E=>{const{name:A,value:P}=E.target;u({name:A,value:P})},g=E=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",E):_(E)},_=E=>{l(Se(E))},b=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):c()};return(E,A)=>{const P=Oe,N=La,T=we,x=be,O=se,$=Ee,z=ne,K=Ce;return r.renderSlot(E.$slots,"confirmSignUpSlotI",r.normalizeProps(r.guardReactiveProps(E.$attrs)),()=>[r.createVNode(z,r.normalizeProps(r.guardReactiveProps(E.$attrs)),{default:r.withCtx(()=>[r.createVNode(K,{onInput:y,onSubmit:r.withModifiers(g,["prevent"])},{default:r.withCtx(()=>[r.createVNode(z,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(E.$slots,"header",{},()=>[r.createVNode(P,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1})]),r.createVNode(N,{class:"amplify-authenticator__subtitle"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(w)),1)]),_:1}),r.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createVNode(Ae,{route:"confirmSignUp"})]),_:1},8,["disabled"]),r.createVNode($,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(x,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(k)(r.unref(a))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(O,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(i)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(S)),1)]),_:1},8,["disabled"]),r.createVNode(O,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(b,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["onClick"]),r.renderSlot(E.$slots,"footer",{onConfirmSignUpSubmit:g,onLostCodeClicked:b})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Kr=r.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=r.useAttrs(),{state:o,send:i}=me(),s=pe(le)(),l=r.computed(()=>ae(o.value)),u=l.value.context.challengeName,{getBackToSignInText:c,getConfirmText:d,getChallengeText:m}=fe,f=r.computed(()=>m(u)),h=r.computed(()=>c()),v=r.computed(()=>d()),p=g=>{const{name:_,value:b}=g.target;i({type:"CHANGE",data:{name:_,value:b}})},S=g=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",g):w(g)},w=g=>{s.submitForm(Se(g))},y=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(g,_)=>{const b=Oe,E=ne,A=be,P=se,N=Ee,T=we,x=Ce;return r.renderSlot(g.$slots,"confirmSignInSlotI",r.normalizeProps(r.guardReactiveProps(g.$attrs)),()=>[r.createVNode(E,r.normalizeProps(r.guardReactiveProps(g.$attrs)),{default:r.withCtx(()=>[r.createVNode(x,{"data-amplify-authenticator-confirmsignin":"",onInput:p,onSubmit:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(l).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.renderSlot(g.$slots,"header",{},()=>[r.createVNode(b,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(Ae,{route:"confirmSignIn"})]),_:1}),r.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var O,$;return[($=(O=r.unref(l))==null?void 0:O.context)!=null&&$.remoteError?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>{var z,K;return[r.createTextVNode(r.toDisplayString(r.unref(k)((K=(z=r.unref(l))==null?void 0:z.context)==null?void 0:K.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(l).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(y,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["onClick"]),r.renderSlot(g.$slots,"footer",{onBackToSignInClicked:y,onConfirmSignInSubmit:S})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var Tt={},F_=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},ja={},ue={};let qr;const M_=[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];ue.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};ue.getSymbolTotalCodewords=function(t){return M_[t]};ue.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};ue.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');qr=t};ue.isKanjiModeEnabled=function(){return typeof qr!="undefined"};ue.toSJIS=function(t){return qr(t)};var Cn={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(o){return o&&typeof o.bit!="undefined"&&o.bit>=0&&o.bit<4},e.from=function(o,i){if(e.isValid(o))return o;try{return t(o)}catch{return i}}})(Cn);function za(){this.buffer=[],this.length=0}za.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 D_=za;function It(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)}It.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};It.prototype.get=function(e,t){return this.data[e*this.size+t]};It.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};It.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var L_=It,Ga={};(function(e){const t=ue.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const i=Math.floor(o/7)+2,a=t(o),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,l=[a-7];for(let u=1;u<i-1;u++)l[u]=l[u-1]-s;return l.push(6),l.reverse()},e.getPositions=function(o){const i=[],a=e.getRowColCoords(o),s=a.length;for(let l=0;l<s;l++)for(let u=0;u<s;u++)l===0&&u===0||l===0&&u===s-1||l===s-1&&u===0||i.push([a[l],a[u]]);return i}})(Ga);var Ha={};const j_=ue.getSymbolSize,Ci=7;Ha.getPositions=function(t){const n=j_(t);return[[0,0],[n-Ci,0],[0,n-Ci]]};var Wa={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const a=i.size;let s=0,l=0,u=0,c=null,d=null;for(let m=0;m<a;m++){l=u=0,c=d=null;for(let f=0;f<a;f++){let h=i.get(m,f);h===c?l++:(l>=5&&(s+=t.N1+(l-5)),c=h,l=1),h=i.get(f,m),h===d?u++:(u>=5&&(s+=t.N1+(u-5)),d=h,u=1)}l>=5&&(s+=t.N1+(l-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let l=0;l<a-1;l++)for(let u=0;u<a-1;u++){const c=i.get(l,u)+i.get(l,u+1)+i.get(l+1,u)+i.get(l+1,u+1);(c===4||c===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,l=0,u=0;for(let c=0;c<a;c++){l=u=0;for(let d=0;d<a;d++)l=l<<1&2047|i.get(c,d),d>=10&&(l===1488||l===93)&&s++,u=u<<1&2047|i.get(d,c),d>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let u=0;u<s;u++)a+=i.data[u];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(o,i,a){switch(o){case e.Patterns.PATTERN000:return(i+a)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(i+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return i*a%2+i*a%3===0;case e.Patterns.PATTERN110:return(i*a%2+i*a%3)%2===0;case e.Patterns.PATTERN111:return(i*a%3+(i+a)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(i,a){const s=a.size;for(let l=0;l<s;l++)for(let u=0;u<s;u++)a.isReserved(u,l)||a.xor(u,l,n(i,u,l))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let l=0,u=1/0;for(let c=0;c<s;c++){a(c),e.applyMask(c,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(c,i),d<u&&(u=d,l=c)}return l}})(Wa);var En={};const $e=Cn,Mt=[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],Dt=[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];En.getBlocksCount=function(t,n){switch(n){case $e.L:return Mt[(t-1)*4+0];case $e.M:return Mt[(t-1)*4+1];case $e.Q:return Mt[(t-1)*4+2];case $e.H:return Mt[(t-1)*4+3];default:return}};En.getTotalCodewordsCount=function(t,n){switch(n){case $e.L:return Dt[(t-1)*4+0];case $e.M:return Dt[(t-1)*4+1];case $e.Q:return Dt[(t-1)*4+2];case $e.H:return Dt[(t-1)*4+3];default:return}};var Ya={},An={};const vt=new Uint8Array(512),nn=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)vt[n]=t,nn[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)vt[n]=vt[n-255]})();An.log=function(t){if(t<1)throw new Error("log("+t+")");return nn[t]};An.exp=function(t){return vt[t]};An.mul=function(t,n){return t===0||n===0?0:vt[nn[t]+nn[n]]};(function(e){const t=An;e.mul=function(o,i){const a=new Uint8Array(o.length+i.length-1);for(let s=0;s<o.length;s++)for(let l=0;l<i.length;l++)a[s+l]^=t.mul(o[s],i[l]);return a},e.mod=function(o,i){let a=new Uint8Array(o);for(;a.length-i.length>=0;){const s=a[0];for(let u=0;u<i.length;u++)a[u]^=t.mul(i[u],s);let l=0;for(;l<a.length&&a[l]===0;)l++;a=a.slice(l)}return a},e.generateECPolynomial=function(o){let i=new Uint8Array([1]);for(let a=0;a<o;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(Ya);const Ka=Ya;function Jr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Jr.prototype.initialize=function(t){this.degree=t,this.genPoly=Ka.generateECPolynomial(this.degree)};Jr.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const o=Ka.mod(n,this.genPoly),i=this.degree-o.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(o,i),a}return o};var z_=Jr,qa={},Re={},Zr={};Zr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Te={};const Ja="[0-9]+",G_="[A-Z $%*+\\-./:]+";let bt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";bt=bt.replace(/u/g,"\\u");const H_="(?:(?![A-Z0-9 $%*+\\-./:]|"+bt+`)(?:.|[\r
32
+ ]))+`;Te.KANJI=new RegExp(bt,"g");Te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Te.BYTE=new RegExp(H_,"g");Te.NUMERIC=new RegExp(Ja,"g");Te.ALPHANUMERIC=new RegExp(G_,"g");const W_=new RegExp("^"+bt+"$"),Y_=new RegExp("^"+Ja+"$"),K_=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Te.testKanji=function(t){return W_.test(t)};Te.testNumeric=function(t){return Y_.test(t)};Te.testAlphanumeric=function(t){return K_.test(t)};(function(e){const t=Zr,n=Te;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return n.testNumeric(a)?e.NUMERIC:n.testAlphanumeric(a)?e.ALPHANUMERIC:n.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function o(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(a,s){if(e.isValid(a))return a;try{return o(a)}catch{return s}}})(Re);(function(e){const t=ue,n=En,o=Cn,i=Re,a=Zr,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,l=t.getBCHDigit(s);function u(f,h,v){for(let p=1;p<=40;p++)if(h<=e.getCapacity(p,v,f))return p}function c(f,h){return i.getCharCountIndicator(f,h)+4}function d(f,h){let v=0;return f.forEach(function(p){v+=c(p.mode,h)+p.getBitsLength()}),v}function m(f,h){for(let v=1;v<=40;v++)if(d(f,v)<=e.getCapacity(v,h,i.MIXED))return v}e.from=function(h,v){return a.isValid(h)?parseInt(h,10):v},e.getCapacity=function(h,v,p){if(!a.isValid(h))throw new Error("Invalid QR Code version");typeof p=="undefined"&&(p=i.BYTE);const S=t.getSymbolTotalCodewords(h),w=n.getTotalCodewordsCount(h,v),y=(S-w)*8;if(p===i.MIXED)return y;const g=y-c(p,h);switch(p){case i.NUMERIC:return Math.floor(g/10*3);case i.ALPHANUMERIC:return Math.floor(g/11*2);case i.KANJI:return Math.floor(g/13);case i.BYTE:default:return Math.floor(g/8)}},e.getBestVersionForData=function(h,v){let p;const S=o.from(v,o.M);if(Array.isArray(h)){if(h.length>1)return m(h,S);if(h.length===0)return 1;p=h[0]}else p=h;return u(p.mode,p.getLength(),S)},e.getEncodedBits=function(h){if(!a.isValid(h)||h<7)throw new Error("Invalid QR Code version");let v=h<<12;for(;t.getBCHDigit(v)-l>=0;)v^=s<<t.getBCHDigit(v)-l;return h<<12|v}})(qa);var Za={};const rr=ue,Qa=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,q_=1<<14|1<<12|1<<10|1<<4|1<<1,Ei=rr.getBCHDigit(Qa);Za.getEncodedBits=function(t,n){const o=t.bit<<3|n;let i=o<<10;for(;rr.getBCHDigit(i)-Ei>=0;)i^=Qa<<rr.getBCHDigit(i)-Ei;return(o<<10|i)^q_};var Xa={};const J_=Re;function Xe(e){this.mode=J_.NUMERIC,this.data=e.toString()}Xe.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Xe.prototype.getLength=function(){return this.data.length};Xe.prototype.getBitsLength=function(){return Xe.getBitsLength(this.data.length)};Xe.prototype.write=function(t){let n,o,i;for(n=0;n+3<=this.data.length;n+=3)o=this.data.substr(n,3),i=parseInt(o,10),t.put(i,10);const a=this.data.length-n;a>0&&(o=this.data.substr(n),i=parseInt(o,10),t.put(i,a*3+1))};var Z_=Xe;const Q_=Re,Un=["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 et(e){this.mode=Q_.ALPHANUMERIC,this.data=e}et.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};et.prototype.getLength=function(){return this.data.length};et.prototype.getBitsLength=function(){return et.getBitsLength(this.data.length)};et.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=Un.indexOf(this.data[n])*45;o+=Un.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(Un.indexOf(this.data[n]),6)};var X_=et,eb=function(t){for(var n=[],o=t.length,i=0;i<o;i++){var a=t.charCodeAt(i);if(a>=55296&&a<=56319&&o>i+1){var s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(a=(a-55296)*1024+s-56320+65536,i+=1)}if(a<128){n.push(a);continue}if(a<2048){n.push(a>>6|192),n.push(a&63|128);continue}if(a<55296||a>=57344&&a<65536){n.push(a>>12|224),n.push(a>>6&63|128),n.push(a&63|128);continue}if(a>=65536&&a<=1114111){n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(a&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const tb=eb,nb=Re;function tt(e){this.mode=nb.BYTE,this.data=new Uint8Array(tb(e))}tt.getBitsLength=function(t){return t*8};tt.prototype.getLength=function(){return this.data.length};tt.prototype.getBitsLength=function(){return tt.getBitsLength(this.data.length)};tt.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var rb=tt;const ob=Re,ib=ue;function nt(e){this.mode=ob.KANJI,this.data=e}nt.getBitsLength=function(t){return t*13};nt.prototype.getLength=function(){return this.data.length};nt.prototype.getBitsLength=function(){return nt.getBitsLength(this.data.length)};nt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=ib.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 ab=nt,es={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,o,i){var a={},s={};s[o]=0;var l=t.PriorityQueue.make();l.push(o,0);for(var u,c,d,m,f,h,v,p,S;!l.empty();){u=l.pop(),c=u.value,m=u.cost,f=n[c]||{};for(d in f)f.hasOwnProperty(d)&&(h=f[d],v=m+h,p=s[d],S=typeof s[d]=="undefined",(S||p>v)&&(s[d]=v,l.push(d,v),a[d]=c))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var w=["Could not find a path from ",o," to ",i,"."].join("");throw new Error(w)}return a},extract_shortest_path_from_predecessor_list:function(n,o){for(var i=[],a=o;a;)i.push(a),n[a],a=n[a];return i.reverse(),i},find_path:function(n,o,i){var a=t.single_source_shortest_paths(n,o,i);return t.extract_shortest_path_from_predecessor_list(a,i)},PriorityQueue:{make:function(n){var o=t.PriorityQueue,i={},a;n=n||{};for(a in o)o.hasOwnProperty(a)&&(i[a]=o[a]);return i.queue=[],i.sorter=n.sorter||o.default_sorter,i},default_sorter:function(n,o){return n.cost-o.cost},push:function(n,o){var i={value:n,cost:o};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(es);(function(e){const t=Re,n=Z_,o=X_,i=rb,a=ab,s=Te,l=ue,u=es.exports;function c(w){return unescape(encodeURIComponent(w)).length}function d(w,y,g){const _=[];let b;for(;(b=w.exec(g))!==null;)_.push({data:b[0],index:b.index,mode:y,length:b[0].length});return _}function m(w){const y=d(s.NUMERIC,t.NUMERIC,w),g=d(s.ALPHANUMERIC,t.ALPHANUMERIC,w);let _,b;return l.isKanjiModeEnabled()?(_=d(s.BYTE,t.BYTE,w),b=d(s.KANJI,t.KANJI,w)):(_=d(s.BYTE_KANJI,t.BYTE,w),b=[]),y.concat(g,_,b).sort(function(A,P){return A.index-P.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function f(w,y){switch(y){case t.NUMERIC:return n.getBitsLength(w);case t.ALPHANUMERIC:return o.getBitsLength(w);case t.KANJI:return a.getBitsLength(w);case t.BYTE:return i.getBitsLength(w)}}function h(w){return w.reduce(function(y,g){const _=y.length-1>=0?y[y.length-1]:null;return _&&_.mode===g.mode?(y[y.length-1].data+=g.data,y):(y.push(g),y)},[])}function v(w){const y=[];for(let g=0;g<w.length;g++){const _=w[g];switch(_.mode){case t.NUMERIC:y.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:y.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:y.push([_,{data:_.data,mode:t.BYTE,length:c(_.data)}]);break;case t.BYTE:y.push([{data:_.data,mode:t.BYTE,length:c(_.data)}])}}return y}function p(w,y){const g={},_={start:{}};let b=["start"];for(let E=0;E<w.length;E++){const A=w[E],P=[];for(let N=0;N<A.length;N++){const T=A[N],x=""+E+N;P.push(x),g[x]={node:T,lastCount:0},_[x]={};for(let O=0;O<b.length;O++){const $=b[O];g[$]&&g[$].node.mode===T.mode?(_[$][x]=f(g[$].lastCount+T.length,T.mode)-f(g[$].lastCount,T.mode),g[$].lastCount+=T.length):(g[$]&&(g[$].lastCount=T.length),_[$][x]=f(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,y))}}b=P}for(let E=0;E<b.length;E++)_[b[E]].end=0;return{map:_,table:g}}function S(w,y){let g;const _=t.getBestModeForData(w);if(g=t.from(y,_),g!==t.BYTE&&g.bit<_.bit)throw new Error('"'+w+'" cannot be encoded with mode '+t.toString(g)+`.
34
+ Suggested mode is: `+t.toString(_));switch(g===t.KANJI&&!l.isKanjiModeEnabled()&&(g=t.BYTE),g){case t.NUMERIC:return new n(w);case t.ALPHANUMERIC:return new o(w);case t.KANJI:return new a(w);case t.BYTE:return new i(w)}}e.fromArray=function(y){return y.reduce(function(g,_){return typeof _=="string"?g.push(S(_,null)):_.data&&g.push(S(_.data,_.mode)),g},[])},e.fromString=function(y,g){const _=m(y,l.isKanjiModeEnabled()),b=v(_),E=p(b,g),A=u.find_path(E.map,"start","end"),P=[];for(let N=1;N<A.length-1;N++)P.push(E.table[A[N]].node);return e.fromArray(h(P))},e.rawSplit=function(y){return e.fromArray(m(y,l.isKanjiModeEnabled()))}})(Xa);const Tn=ue,Bn=Cn,sb=D_,lb=L_,ub=Ga,cb=Ha,or=Wa,ir=En,db=z_,rn=qa,fb=Za,pb=Re,Vn=Xa;function mb(e,t){const n=e.size,o=cb.getPositions(t);for(let i=0;i<o.length;i++){const a=o[i][0],s=o[i][1];for(let l=-1;l<=7;l++)if(!(a+l<=-1||n<=a+l))for(let u=-1;u<=7;u++)s+u<=-1||n<=s+u||(l>=0&&l<=6&&(u===0||u===6)||u>=0&&u<=6&&(l===0||l===6)||l>=2&&l<=4&&u>=2&&u<=4?e.set(a+l,s+u,!0,!0):e.set(a+l,s+u,!1,!0))}}function hb(e){const t=e.size;for(let n=8;n<t-8;n++){const o=n%2===0;e.set(n,6,o,!0),e.set(6,n,o,!0)}}function gb(e,t){const n=ub.getPositions(t);for(let o=0;o<n.length;o++){const i=n[o][0],a=n[o][1];for(let s=-2;s<=2;s++)for(let l=-2;l<=2;l++)s===-2||s===2||l===-2||l===2||s===0&&l===0?e.set(i+s,a+l,!0,!0):e.set(i+s,a+l,!1,!0)}}function yb(e,t){const n=e.size,o=rn.getEncodedBits(t);let i,a,s;for(let l=0;l<18;l++)i=Math.floor(l/3),a=l%3+n-8-3,s=(o>>l&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function Fn(e,t,n){const o=e.size,i=fb.getEncodedBits(t,n);let a,s;for(a=0;a<15;a++)s=(i>>a&1)===1,a<6?e.set(a,8,s,!0):a<8?e.set(a+1,8,s,!0):e.set(o-15+a,8,s,!0),a<8?e.set(8,o-a-1,s,!0):a<9?e.set(8,15-a-1+1,s,!0):e.set(8,15-a-1,s,!0);e.set(o-8,8,1,!0)}function vb(e,t){const n=e.size;let o=-1,i=n-1,a=7,s=0;for(let l=n-1;l>0;l-=2)for(l===6&&l--;;){for(let u=0;u<2;u++)if(!e.isReserved(i,l-u)){let c=!1;s<t.length&&(c=(t[s]>>>a&1)===1),e.set(i,l-u,c),a--,a===-1&&(s++,a=7)}if(i+=o,i<0||n<=i){i-=o,o=-o;break}}}function wb(e,t,n){const o=new sb;n.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),pb.getCharCountIndicator(u.mode,e)),u.write(o)});const i=Tn.getSymbolTotalCodewords(e),a=ir.getTotalCodewordsCount(e,t),s=(i-a)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const l=(s-o.getLengthInBits())/8;for(let u=0;u<l;u++)o.put(u%2?17:236,8);return Sb(o,e,t)}function Sb(e,t,n){const o=Tn.getSymbolTotalCodewords(t),i=ir.getTotalCodewordsCount(t,n),a=o-i,s=ir.getBlocksCount(t,n),l=o%s,u=s-l,c=Math.floor(o/s),d=Math.floor(a/s),m=d+1,f=c-d,h=new db(f);let v=0;const p=new Array(s),S=new Array(s);let w=0;const y=new Uint8Array(e.buffer);for(let A=0;A<s;A++){const P=A<u?d:m;p[A]=y.slice(v,v+P),S[A]=h.encode(p[A]),v+=P,w=Math.max(w,P)}const g=new Uint8Array(o);let _=0,b,E;for(b=0;b<w;b++)for(E=0;E<s;E++)b<p[E].length&&(g[_++]=p[E][b]);for(b=0;b<f;b++)for(E=0;E<s;E++)g[_++]=S[E][b];return g}function _b(e,t,n,o){let i;if(Array.isArray(e))i=Vn.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const d=Vn.rawSplit(e);c=rn.getBestVersionForData(d,n)}i=Vn.fromString(e,c||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(`
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=lb(t,n,i),u=_n.getSymbolSize(t),c=new X_(u);return ib(c,t),ab(c),sb(c,t),On(c,n,0),t>=7&&ub(c,t),cb(c,s),isNaN(r)&&(r=tr.getBestMask(c,On.bind(null,c,n))),tr.applyMask(r,c),On(c,n,r),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}Ea.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=xn.M,i,a;return typeof n!="undefined"&&(r=xn.from(n.errorCorrectionLevel,xn.M),i=nn.from(n.version),a=tr.from(n.maskPattern),n.toSJISFunc&&_n.setToSJISFunction(n.toSJISFunc)),fb(t,i,r,a)};var Da={},Jr={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let 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,p=[a.color.light,a.color.dark];for(let f=0;f<l;f++)for(let m=0;m<l;m++){let v=(f*l+m)*4,y=a.color.light;if(f>=d&&m>=d&&f<l-d&&m<l-d){const w=Math.floor((f-d)/c),S=Math.floor((m-d)/c);y=p[u[w*s+S]?1:0]}r[v++]=y.r,r[v++]=y.g,r[v++]=y.b,r[v]=y.a}}})(Jr);(function(e){const t=Jr;function n(i,a,s){i.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function 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),p=l.getContext("2d"),f=p.createImageData(d,d);return t.qrToImageData(f.data,a,c),n(p,l,d),p.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",p=c.rendererOpts||{};return l.toDataURL(d,p.quality)}})(Da);var La={};const pb=Jr;function Ci(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function Un(e,t,n){let r=e+t;return typeof n!="undefined"&&(r+=" "+n),r}function mb(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?Un("M",c+n,.5+l+n):Un("m",i,0),i=0,a=!1),c+1<t&&e[u+1]||(r+=Un("h",s),s=0)):i++}return r}La.render=function(t,n,r){const i=pb.getOptions(n),a=t.modules.size,s=t.modules.data,u=a+i.margin*2,c=i.color.light.a?"<path "+Ci(i.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",l="<path "+Ci(i.color.dark,"stroke")+' d="'+mb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',p=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+p+d+' shape-rendering="crispEdges">'+c+l+`</svg>
38
- `;return typeof r=="function"&&r(null,f),f};const hb=N_,rr=Ea,za=Da,gb=La;function Zr(e,t,n,r,i){const a=[].slice.call(arguments,1),s=a.length,u=typeof a[s-1]=="function";if(!u&&!hb())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=rr.create(n,r);c(e(d,t,r))}catch(d){l(d)}})}try{const c=rr.create(n,r);i(null,e(c,t,r))}catch(c){i(c)}}It.create=rr.create;It.toCanvas=Zr.bind(null,za.render);It.toDataURL=Zr.bind(null,za.renderToDataURL);It.toString=Zr.bind(null,function(e,t,n){return gb.render(e,n)});const vb={key:0},yb=["src"],wb={"data-amplify-copy-tooltip":""},Sb=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),_b=o.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var O,H,J;const n=new Y.Logger("SetupTOTP-logger"),i=he(le)(),a=o.useAttrs(),{state:s,send:u}=ge(),{value:{context:c}}=s,l=o.computed(()=>ue(s.value)),{totpSecretCode:d,user:p}=l.value.context,f=(H=(O=c==null?void 0:c.config)==null?void 0:O.formFields)==null?void 0:H.setupTOTP,{totpIssuer:m="AWSCognito",totpUsername:v=p==null?void 0:p.username}=(J=f==null?void 0:f.QR)!=null?J:{},y=typeof d=="string"&&typeof v=="string"?Qs(m,v,d):null,w=o.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:S,getCopiedText:g,getBackToSignInText:h,getConfirmText:_}=me,b=o.ref(S());function C(){typeof d=="string"&&navigator.clipboard.writeText(d),b.value=g()}o.onMounted(async()=>{if(!(!p||!y))try{w.qrCodeImageSource=await It.toDataURL(y)}catch(Z){n.error(Z)}finally{w.isLoading=!1}});const A=o.computed(()=>h()),N=o.computed(()=>_()),k=Z=>{const{name:ae,value:se}=Z.target;u({type:"CHANGE",data:{name:ae,value:se}})},I=Z=>{a!=null&&a.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",Z):$(Z)},$=Z=>{i.submitForm(be(Z))},U=()=>{a!=null&&a.onBackToSignInClicked?t("backToSignInClicked"):u({type:"SIGN_IN"})};return(Z,ae)=>{const se=Be,ee=oe,ze=Ae,ie=ce,lt=Te,dt=_e,X=Ie;return o.renderSlot(Z.$slots,"confirmSetupTOTPI",o.normalizeProps(o.guardReactiveProps(Z.$attrs)),()=>[o.createVNode(ee,o.normalizeProps(o.guardReactiveProps(Z.$attrs)),{default:o.withCtx(()=>[o.createVNode(X,{"data-amplify-authenticator-setup-totp":"",onInput:k,onSubmit:o.withModifiers(I,["prevent"])},{default:o.withCtx(()=>[o.createVNode(dt,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(l).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createVNode(ee,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(Z.$slots,"header",{},()=>[o.createVNode(se,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(" Setup TOTP ")]),_:1})]),o.createVNode(ee,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[w.isLoading?(o.openBlock(),o.createElementBlock("p",vb,"Loading...")):(o.openBlock(),o.createElementBlock("img",{key:1,class:"amplify-image","data-amplify-qrcode":"",src:w.qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,yb)),o.createVNode(ee,{class:"amplify-flex","data-amplify-copy":""},{default:o.withCtx(()=>[o.createElementVNode("div",null,o.toDisplayString(o.unref(d)),1),o.createVNode(ee,{"data-amplify-copy-svg":"",onClick:C},{default:o.withCtx(()=>[o.createElementVNode("div",wb,o.toDisplayString(b.value),1),Sb]),_:1})]),_:1}),o.createVNode(Ee,{route:"setupTOTP"})]),_:1}),o.createVNode(lt,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ve;return[(ve=o.unref(l).context)!=null&&ve.remoteError?(o.openBlock(),o.createBlock(ze,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(l).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(ie,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(l).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(N)),1)]),_:1},8,["disabled"]),o.createVNode(ie,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(U,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(A)),1)]),_:1},8,["onClick"]),o.renderSlot(Z.$slots,"footer",{onBackToSignInClicked:U,onSetupTOTPSubmit:I})]}),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Qr=o.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ee,{route:"forceNewPassword"}))}}),Xr=o.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=ge(),s=he(le)(),u=o.computed(()=>ue(r.value)),{getChangePasswordText:c,getChangingText:l,getBackToSignInText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},y=h=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",h):w(h)},w=h=>{s.submitForm(be(h))},S=h=>{const{name:_,value:b}=h.target;i({type:"CHANGE",data:{name:_,value:b}})};function g(h){const{name:_}=h.target;s.updateBlur({name:_})}return(h,_)=>{const b=Be,C=oe,A=Ae,N=ce,k=Te,I=_e,$=Ie;return o.renderSlot(h.$slots,"forceNewPasswordI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode($,{"data-amplify-authenticator-forcenewpassword":"",onInput:S,onBlurCapture:g,onSubmit:o.withModifiers(y,["prevent"])},{default:o.withCtx(()=>[o.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("forceNewPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"force-new-password-form-fields",{},()=>[o.createVNode(Qr)])]),_:3}),o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(u).context.remoteError?(o.openBlock(),o.createBlock(A,{key:0,"data-ui-error":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(u).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(N,{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(p)),1)]),_:1},8,["disabled"]),o.createVNode(N,{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(m)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onHaveAccountClicked:v,onForceNewPasswordSubmit:y})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),eo=o.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=he(le),{send:i,submitForm:a}=r(),{error:s,isPending:u}=o.toRefs(r()),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=g=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",g):y(g)},y=g=>{a(be(g))},w=g=>{const{name:h,value:_}=g.target;i({type:"CHANGE",data:{name:h,value:_}})},S=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(g,h)=>{const _=Be,b=_e,C=Ae,A=ce,N=Te,k=oe,I=Ie;return o.renderSlot(g.$slots,"resetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(I,o.mergeProps(g.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:w,onSubmit:o.withModifiers(v,["prevent"])}),{default:o.withCtx(()=>[o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(_,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createVNode(Ee,{route:"resetPassword"})]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(s))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{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(m)),1)]),_:1},8,["disabled"]),o.createVNode(A,{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(p)),1)]),_:1},8,["onClick"]),o.renderSlot(g.$slots,"footer",{onBackToSignInClicked:S,onResetPasswordSubmit:v})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),to=o.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:r}=ge(),a=he(le)(),s=o.useAttrs(),u=o.computed(()=>ue(n.value)),{getResendCodeText:c,getResetYourPasswordText:l,getSubmitText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=h=>{s!=null&&s.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",h):y(h)},y=h=>{a.submitForm(be(h))},w=()=>{r({type:"RESEND"})},S=h=>{const{name:_,value:b}=h.target;r({type:"CHANGE",data:{name:_,value:b}})};function g(h){const{name:_}=h.target;a.updateBlur({name:_})}return(h,_)=>{const b=Be,C=oe,A=Ae,N=ce,k=Te,I=_e,$=Ie;return o.renderSlot(h.$slots,"confirmResetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode($,{"data-amplify-authenticator-confirmResetpassword":"",onInput:S,onBlurCapture:g,onSubmit:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createVNode(I,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$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"},{default:o.withCtx(()=>[o.createVNode(Ee,{route:"confirmResetPassword"})]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var U,O;return[(O=(U=o.unref(u))==null?void 0:U.context)!=null&&O.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var H,J;return[o.createTextVNode(o.toDisplayString(o.unref(x)((J=(H=o.unref(u))==null?void 0:H.context)==null?void 0:J.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(N,{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(m)),1)]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onConfirmResetPasswordSubmit:v,onLostYourCodeClicked:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),no=o.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=he(le)(),i=o.useAttrs(),{state:a,send:s}=ge(),u=o.computed(()=>ue(a.value)),{unverifiedContactMethods:c}=u.value.context,{getAccountRecoveryInfoText:l,getSkipText:d,getVerifyText:p,getVerifyContactText:f}=me,m=o.computed(()=>l()),v=o.computed(()=>d()),y=o.computed(()=>p()),w=o.computed(()=>f()),S=b=>{const{name:C,value:A}=b.target;s({type:"CHANGE",data:{name:C,value:A}})},g=b=>{i!=null&&i.onVerifyUserSubmit?t("verifyUserSubmit",b):h(b)},h=b=>{r.submitForm(be(b))},_=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s("SKIP")};return(b,C)=>{const A=Be,N=gn,k=vn,I=Ta,$=oe,U=Ae,O=ce,H=Te,J=_e,Z=Ie;return o.renderSlot(b.$slots,"verifyUserSlotI",{},()=>[o.createVNode($,null,{default:o.withCtx(()=>[o.createVNode(Z,{onInput:S,onSubmit:o.withModifiers(g,["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(b.$slots,"header",{},()=>[o.createVNode(A,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1})]),o.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(N,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1}),o.createVNode($,{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),(ae,se)=>(o.openBlock(),o.createBlock(N,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ae},{default:o.withCtx(()=>[o.createVNode(k,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:se},null,8,["value"]),o.createVNode(I,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),o.createVNode(I,{class:"amplify-text amplify-radio__label"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(rn)[se].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),o.createVNode(H,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ae,se;return[(se=(ae=o.unref(u))==null?void 0:ae.context)!=null&&se.remoteError?(o.openBlock(),o.createBlock(U,{key:0},{default:o.withCtx(()=>{var ee;return[o.createTextVNode(o.toDisplayString(o.unref(x)((ee=o.unref(u))==null?void 0:ee.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(O,{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(y)),1)]),_:1},8,["disabled"]),o.createVNode(O,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(v)),1)]),_:1},8,["onClick"]),o.renderSlot(b.$slots,"footer",{onSkipClicked:_,onVerifyUserSubmit:g})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),ro=o.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=he(le)(),i=o.useAttrs(),{state:a,send:s}=ge(),u=o.computed(()=>ue(a.value)),{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=g=>{const{name:h,value:_}=g.target;s({type:"CHANGE",data:{name:h,value:_}})},y=g=>{i!=null&&i.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",g):w(g)},w=g=>{r.submitForm(be(g))},S=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s({type:"SKIP"})};return(g,h)=>{const _=Be,b=oe,C=Ae,A=ce,N=Te,k=_e,I=Ie;return o.renderSlot(g.$slots,"confirmVerifyUserSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(b,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(I,{onInput:v,onSubmit:o.withModifiers(y,["prevent"])},{default:o.withCtx(()=>[o.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(_,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ee,{route:"confirmVerifyUser"})]),_:1}),o.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var $,U;return[(U=($=o.unref(u))==null?void 0:$.context)!=null&&U.remoteError?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>{var O;return[o.createTextVNode(o.toDisplayString(o.unref(x)((O=o.unref(u))==null?void 0:O.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{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(m)),1)]),_:1},8,["disabled"]),o.createVNode(A,{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(g.$slots,"footer",{onSkipClicked:S,onConfirmVerifyUserSubmit:y})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),bb="3.1.9",Cb=["data-variation"],Ab={"data-amplify-container":""},Ib=["data-amplify-router-content"],Tb={key:1,"data-amplify-router-content":""},Ga=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:p}=o.toRefs(n),f=RS(),m=WS(f);let v,y;const{state:w,send:S}=Ca(m);ge(m);const g=o.ref(!1);y=m.subscribe(P=>{P.matches("setup")&&!g.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:p==null?void 0:p.value}}),g.value=!0)}).unsubscribe,o.onMounted(()=>{v=Js(m),Ks({packageName:"@aws-amplify/ui-vue",version:bb})}),o.onUnmounted(()=>{v&&v(),y&&y()});const h=o.computed(()=>ue(w.value)),_=o.ref(),b=o.ref(),C=o.ref(),A=o.ref(),N=o.ref(),k=o.ref(),I=o.ref(),$=o.ref(),U=o.ref(),O=o.ref(),{getSignInTabText:H,getSignUpTabText:J}=me,Z=o.computed(()=>H()),ae=o.computed(()=>J()),se=P=>{var fe;r!=null&&r.onSignInSubmit?t("signInSubmit",P):(fe=_.value)==null||fe.submit(P)},ee=P=>{r!=null&&r.onConfirmSignUpSubmit?t("confirmSignUpSubmit",P):C.value.submit(P)},ze=P=>{r!=null&&r.onResetPasswordSubmit?t("resetPasswordSubmit",P):I.value.submit(P)},ie=P=>{r!=null&&r.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",P):$.value.submit(P)},lt=P=>{r!=null&&r.onConfirmSignInSubmit?t("confirmSignInSubmit",P):A.value.submit(P)},dt=P=>{r!=null&&r.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",P):N.value.submit(P)},X=P=>{r!=null&&r.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",P):k.value.submit(P)},ve=P=>{r!=null&&r.onSignUpSubmit?t("signUpSubmit",P):b.value.submit()},Ya=P=>{r!=null&&r.onVerifyUserSubmit?t("verifyUserSubmit",P):U.value.submit(P)},Ka=P=>{r!=null&&r.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",P):O.value.submit(P)},oo=o.ref(null),io=o.ref();o.watch(()=>w.value.context,()=>{const{user:P,signOut:fe}=Ti({send:S,state:w.value});oo.value=P,io.value=fe});const bn=o.computed(()=>{var P,fe;return((P=h.value)==null?void 0:P.matches("signIn"))||((fe=h.value)==null?void 0:fe.matches("signUp"))}),qa=o.computed(()=>{var P;return!(w.value.matches("authenticated")||w.value.matches("idle")||w.value.matches("setup")||w.value.matches("signOut")||((P=h.value)==null?void 0:P.matches("autoSignIn")))});return(P,fe)=>{var so,uo,co,lo,fo,po,mo,ho,go,vo,yo,wo;const ao=C_,Ja=T_;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(qa)?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0},P.$attrs,{"data-amplify-authenticator":"","data-variation":o.unref(s)}),[o.createElementVNode("div",Ab,[o.renderSlot(P.$slots,"header"),o.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":o.unref(bn)?void 0:""},[o.unref(bn)&&!o.unref(d)?(o.openBlock(),o.createBlock(Ja,{key:0},{default:o.withCtx(()=>{var q,Q;return[o.createVNode(ao,{active:(q=o.unref(h))==null?void 0:q.matches("signIn"),id:44472,label:o.unref(Z),onClick:fe[0]||(fe[0]=Cn=>o.unref(S)("SIGN_IN"))},null,8,["active","label"]),o.createVNode(ao,{active:(Q=o.unref(h))==null?void 0:Q.matches("signUp"),id:44471,label:o.unref(ae),onClick:fe[1]||(fe[1]=Cn=>o.unref(S)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):o.createCommentVNode("",!0),o.unref(bn)?(o.openBlock(),o.createElementBlock("div",Tb,[(so=o.unref(h))!=null&&so.matches("signIn")?(o.openBlock(),o.createBlock(zr,{key:0,onSignInSubmit:se,ref_key:"signInComponent",ref:_},{signInSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-in")]),form:o.withCtx(({info:q,onSignInSubmit:Q,onForgotPasswordClicked:Cn,onInput:Za})=>[o.renderSlot(P.$slots,"sign-in-form",{info:q,onInput:Za,onSignInSubmit:Q,onForgotPasswordClicked:Cn})]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-in-header")]),footer:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-in-footer")]),_:3},512)):o.createCommentVNode("",!0),((uo=o.unref(h))==null?void 0:uo.matches("signUp"))&&!o.unref(d)?(o.openBlock(),o.createBlock(jr,{key:1,onSignUpSubmit:ve,ref_key:"signUpComponent",ref:b},{signUpSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-up")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-up-header")]),"signup-fields":o.withCtx(({info:q})=>[o.renderSlot(P.$slots,"sign-up-fields",{info:q})]),footer:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-up-footer")]),_:3},512)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),(co=o.unref(h))!=null&&co.matches("confirmSignUp")?(o.openBlock(),o.createBlock(Hr,{key:2,onConfirmSignUpSubmit:ee,ref_key:"confirmSignUpComponent",ref:C},{confirmSignUpSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-up")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-up-header")]),footer:o.withCtx(({onConfirmSignUpSubmit:q,onLostCodeClicked:Q})=>[o.renderSlot(P.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:q,onLostCodeClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(lo=o.unref(h))!=null&&lo.matches("resetPassword")?(o.openBlock(),o.createBlock(eo,{key:3,onResetPasswordSubmit:ze,ref_key:"resetPasswordComponent",ref:I},{resetPasswordSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"reset-password")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"reset-password-header")]),footer:o.withCtx(({onResetPasswordSubmit:q,onBackToSignInClicked:Q})=>[o.renderSlot(P.$slots,"reset-password-footer",{onResetPasswordSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(fo=o.unref(h))!=null&&fo.matches("confirmResetPassword")?(o.openBlock(),o.createBlock(to,{key:4,onConfirmResetPasswordSubmit:ie,ref_key:"confirmResetPasswordComponent",ref:$},{confirmResetPasswordSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-reset-password")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-reset-password-header")]),footer:o.withCtx(({onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})=>[o.renderSlot(P.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(po=o.unref(h))!=null&&po.matches("confirmSignIn")?(o.openBlock(),o.createBlock(Wr,{key:5,onConfirmSignInSubmit:lt,ref_key:"confirmSignInComponent",ref:A},{confirmSignInSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-in")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-in-header")]),footer:o.withCtx(({onConfirmSignInSubmit:q,onBackToSignInClicked:Q})=>[o.renderSlot(P.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),((mo=o.unref(h))==null?void 0:mo.matches("setupTOTP.edit"))||((ho=o.unref(h))==null?void 0:ho.matches("setupTOTP.submit"))?(o.openBlock(),o.createBlock(_b,{key:6,onConfirmSetupTotpSubmit:dt,ref_key:"confirmSetupTOTPComponent",ref:N},{confirmSetupTOTPI:o.withCtx(()=>[o.renderSlot(P.$slots,"setup-totp")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"setup-totp-header")]),footer:o.withCtx(({onSetupTOTPSubmit:q,onBackToSignInClicked:Q})=>[o.renderSlot(P.$slots,"setup-totp-footer",{onSetupTOTPSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(go=o.unref(h))!=null&&go.matches("forceNewPassword")?(o.openBlock(),o.createBlock(Xr,{key:7,onForceNewPasswordSubmit:X,ref_key:"forceNewPasswordComponent",ref:k},{forceNewPasswordI:o.withCtx(()=>[o.renderSlot(P.$slots,"force-new-password")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"force-new-password-header")]),"force-new-password-form-fields":o.withCtx(()=>[o.renderSlot(P.$slots,"force-new-password-form-fields")]),footer:o.withCtx(({onHaveAccountClicked:q,onForceNewPasswordSubmit:Q})=>[o.renderSlot(P.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:Q,onBackToSignInClicked:q})]),_:3},512)):o.createCommentVNode("",!0),(vo=o.unref(h))!=null&&vo.matches("verifyUser")?(o.openBlock(),o.createBlock(no,{key:8,onVerifyUserSubmit:Ya,ref_key:"verifyUserComponent",ref:U},{verifyUserSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"verify-user")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"verify-user-header")]),footer:o.withCtx(({onVerifyUserSubmit:q,onSkipClicked:Q})=>[o.renderSlot(P.$slots,"verify-user-footer",{onVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(yo=o.unref(h))!=null&&yo.matches("confirmVerifyUser")?(o.openBlock(),o.createBlock(ro,{key:9,onConfirmVerifyUserSubmit:Ka,ref_key:"confirmVerifyUserComponent",ref:O},{confirmVerifyUserSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-verify-user")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-verify-user-header")]),footer:o.withCtx(({onConfirmVerifyUserSubmit:q,onSkipClicked:Q})=>[o.renderSlot(P.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):o.createCommentVNode("",!0)],8,Ib),o.renderSlot(P.$slots,"footer")])],16,Cb)):o.createCommentVNode("",!0),(wo=o.unref(w))!=null&&wo.matches("authenticated")?o.renderSlot(P.$slots,"default",{key:1,user:oo.value,state:o.unref(w),signOut:io.value,send:o.unref(S)}):o.createCommentVNode("",!0)],64)}}}),ja=o.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Ha=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 p=gn,f=vn,m=oe;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(p,{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(m,{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)}}}),Eb={class:"amplify-flex amplify-field amplify-checkboxfield"},Pb={class:"amplify-flex amplify-checkbox"},Nb={class:"amplify-visually-hidden"},kb=["data-error","data-checked"],xb=["data-checked"],$b=o.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Ob=[$b],Ub=o.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),Rb={key:0,class:"amplify-text amplify-field__error-message"},Wa=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",Eb,[o.createElementVNode("label",Pb,[o.createElementVNode("span",Nb,[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},Ob,10,xb))],10,kb),Ub]),n.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",Rb,o.toDisplayString(o.unref(r)),1))]))}});var Bb={install:e=>{e.component("SignIn",zr),e.component("SignUp",jr),e.component("FederatedSignIn",hn),e.component("Authenticator",Ga),e.component("RenderInfo",ja),e.component("PasswordControl",Lr),e.component("ForceNewPassword",Xr),e.component("ResetPassword",eo),e.component("ConfirmResetPassword",to),e.component("ConfirmSignUp",Hr),e.component("ConfirmSignIn",Wr),e.component("VerifyUser",no),e.component("ConfirmVerifyUser",ro),e.component("AmplifyTextField",Ha),e.component("AmplifyCheckBox",Wa),e.component("AmplifyButton",ce),e.component("BaseFormField",Ia),e.component("BaseFormFields",Ee),e.component("AuthenticatorSignUpFormFields",Gr),e.component("AuthenticatorForceNewPasswordFormFields",Qr)}};exports.AmplifyButton=ce;exports.AmplifyCheckBox=Wa;exports.AmplifyTextField=Ha;exports.Authenticator=Ga;exports.AuthenticatorForceNewPasswordFormFields=Qr;exports.AuthenticatorSignUpFormFields=Gr;exports.ConfirmResetPassword=to;exports.ConfirmSignIn=Wr;exports.ConfirmSignUp=Hr;exports.ConfirmVerifyUser=ro;exports.FederatedSignIn=hn;exports.ForceNewPassword=Xr;exports.PasswordControl=Lr;exports.RenderInfo=ja;exports.ResetPassword=eo;exports.SignIn=zr;exports.SignUp=jr;exports.VerifyUser=no;exports.default=Bb;exports.translations=zs;exports.useAuthenticator=le;
37
+ `);const s=wb(t,n,i),l=Tn.getSymbolSize(t),u=new lb(l);return mb(u,t),hb(u),gb(u,t),Fn(u,n,0),t>=7&&yb(u,t),vb(u,s),isNaN(o)&&(o=or.getBestMask(u,Fn.bind(null,u,n))),or.applyMask(o,u),Fn(u,n,o),{modules:u,version:t,errorCorrectionLevel:n,maskPattern:o,segments:i}}ja.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let o=Bn.M,i,a;return typeof n!="undefined"&&(o=Bn.from(n.errorCorrectionLevel,Bn.M),i=rn.from(n.version),a=or.from(n.maskPattern),n.toSJISFunc&&Tn.setToSJISFunction(n.toSJISFunc)),_b(t,i,o,a)};var ts={},Qr={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let o=n.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+n);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(a){return[a,a]}))),o.length===6&&o.push("F","F");const i=parseInt(o.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const i=typeof o.margin=="undefined"||o.margin===null||o.margin<0?4:o.margin,a=o.width&&o.width>=21?o.width:void 0,s=o.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,i){return i.width&&i.width>=o+i.margin*2?i.width/(o+i.margin*2):i.scale},e.getImageWidth=function(o,i){const a=e.getScale(o,i);return Math.floor((o+i.margin*2)*a)},e.qrToImageData=function(o,i,a){const s=i.modules.size,l=i.modules.data,u=e.getScale(s,a),c=Math.floor((s+a.margin*2)*u),d=a.margin*u,m=[a.color.light,a.color.dark];for(let f=0;f<c;f++)for(let h=0;h<c;h++){let v=(f*c+h)*4,p=a.color.light;if(f>=d&&h>=d&&f<c-d&&h<c-d){const S=Math.floor((f-d)/u),w=Math.floor((h-d)/u);p=m[l[S*s+w]?1:0]}o[v++]=p.r,o[v++]=p.g,o[v++]=p.b,o[v]=p.a}}})(Qr);(function(e){const t=Qr;function n(i,a,s){i.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function o(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,l){let u=l,c=s;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(c=o()),u=t.getOptions(u);const d=t.getImageWidth(a.modules.size,u),m=c.getContext("2d"),f=m.createImageData(d,d);return t.qrToImageData(f.data,a,u),n(m,c,d),m.putImageData(f,0,0),c},e.renderToDataURL=function(a,s,l){let u=l;typeof u=="undefined"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const c=e.render(a,s,u),d=u.type||"image/png",m=u.rendererOpts||{};return c.toDataURL(d,m.quality)}})(ts);var ns={};const bb=Qr;function Ai(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function Mn(e,t,n){let o=e+t;return typeof n!="undefined"&&(o+=" "+n),o}function Cb(e,t,n){let o="",i=0,a=!1,s=0;for(let l=0;l<e.length;l++){const u=Math.floor(l%t),c=Math.floor(l/t);!u&&!a&&(a=!0),e[l]?(s++,l>0&&u>0&&e[l-1]||(o+=a?Mn("M",u+n,.5+c+n):Mn("m",i,0),i=0,a=!1),u+1<t&&e[l+1]||(o+=Mn("h",s),s=0)):i++}return o}ns.render=function(t,n,o){const i=bb.getOptions(n),a=t.modules.size,s=t.modules.data,l=a+i.margin*2,u=i.color.light.a?"<path "+Ai(i.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",c="<path "+Ai(i.color.dark,"stroke")+' d="'+Cb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+l+" "+l+'"',m=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+m+d+' shape-rendering="crispEdges">'+u+c+`</svg>
38
+ `;return typeof o=="function"&&o(null,f),f};const Eb=F_,ar=ja,rs=ts,Ab=ns;function Xr(e,t,n,o,i){const a=[].slice.call(arguments,1),s=a.length,l=typeof a[s-1]=="function";if(!l&&!Eb())throw new Error("Callback required as last argument");if(l){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=o=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=o,o=void 0):(i=o,o=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=o=void 0):s===2&&!t.getContext&&(o=n,n=t,t=void 0),new Promise(function(u,c){try{const d=ar.create(n,o);u(e(d,t,o))}catch(d){c(d)}})}try{const u=ar.create(n,o);i(null,e(u,t,o))}catch(u){i(u)}}Tt.create=ar.create;Tt.toCanvas=Xr.bind(null,rs.render);Tt.toDataURL=Xr.bind(null,rs.renderToDataURL);Tt.toString=Xr.bind(null,function(e,t,n){return Ab.render(e,n)});const Tb={key:0},Ib=["src"],Pb={"data-amplify-copy-tooltip":""},Nb=r.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[r.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),kb=r.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var $,z,K;const n=new H.Logger("SetupTOTP-logger"),i=pe(le)(),a=r.useAttrs(),{state:s,send:l}=me(),{value:{context:u}}=s,c=r.computed(()=>ae(s.value)),{totpSecretCode:d,user:m}=c.value.context,f=(z=($=u==null?void 0:u.config)==null?void 0:$.formFields)==null?void 0:z.setupTOTP,{totpIssuer:h="AWSCognito",totpUsername:v=m==null?void 0:m.username}=(K=f==null?void 0:f.QR)!=null?K:{},p=typeof d=="string"&&typeof v=="string"?fl(h,v,d):null,S=r.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:w,getCopiedText:y,getBackToSignInText:g,getConfirmText:_}=fe,b=r.ref(w());function E(){typeof d=="string"&&navigator.clipboard.writeText(d),b.value=y()}r.onMounted(async()=>{if(!(!m||!p))try{S.qrCodeImageSource=await Tt.toDataURL(p)}catch(q){n.error(q)}finally{S.isLoading=!1}});const A=r.computed(()=>g()),P=r.computed(()=>_()),N=q=>{const{name:oe,value:ie}=q.target;l({type:"CHANGE",data:{name:oe,value:ie}})},T=q=>{a!=null&&a.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",q):x(q)},x=q=>{i.submitForm(Se(q))},O=()=>{a!=null&&a.onBackToSignInClicked?t("backToSignInClicked"):l({type:"SIGN_IN"})};return(q,oe)=>{const ie=Oe,Q=ne,ze=be,re=se,ct=Ee,dt=we,Z=Ce;return r.renderSlot(q.$slots,"confirmSetupTOTPI",r.normalizeProps(r.guardReactiveProps(q.$attrs)),()=>[r.createVNode(Q,r.normalizeProps(r.guardReactiveProps(q.$attrs)),{default:r.withCtx(()=>[r.createVNode(Z,{"data-amplify-authenticator-setup-totp":"",onInput:N,onSubmit:r.withModifiers(T,["prevent"])},{default:r.withCtx(()=>[r.createVNode(dt,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(c).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createVNode(Q,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(q.$slots,"header",{},()=>[r.createVNode(ie,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(" Setup TOTP ")]),_:1})]),r.createVNode(Q,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[S.isLoading?(r.openBlock(),r.createElementBlock("p",Tb,"Loading...")):(r.openBlock(),r.createElementBlock("img",{key:1,class:"amplify-image","data-amplify-qrcode":"",src:S.qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,Ib)),r.createVNode(Q,{class:"amplify-flex","data-amplify-copy":""},{default:r.withCtx(()=>[r.createElementVNode("div",null,r.toDisplayString(r.unref(d)),1),r.createVNode(Q,{"data-amplify-copy-svg":"",onClick:E},{default:r.withCtx(()=>[r.createElementVNode("div",Pb,r.toDisplayString(b.value),1),Nb]),_:1})]),_:1}),r.createVNode(Ae,{route:"setupTOTP"})]),_:1}),r.createVNode(ct,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var he;return[(he=r.unref(c).context)!=null&&he.remoteError?(r.openBlock(),r.createBlock(ze,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(k)(r.unref(c).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(re,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:r.unref(c).matches("confirmSignIn.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(P)),1)]),_:1},8,["disabled"]),r.createVNode(re,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(O,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(A)),1)]),_:1},8,["onClick"]),r.renderSlot(q.$slots,"footer",{onBackToSignInClicked:O,onSetupTOTPSubmit:T})]}),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),eo=r.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(Ae,{route:"forceNewPassword"}))}}),to=r.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=r.useAttrs(),{state:o,send:i}=me(),s=pe(le)(),l=r.computed(()=>ae(o.value)),{getChangePasswordText:u,getChangingText:c,getBackToSignInText:d}=fe,m=r.computed(()=>u()),f=r.computed(()=>c()),h=r.computed(()=>d()),v=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},p=g=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",g):S(g)},S=g=>{s.submitForm(Se(g))},w=g=>{const{name:_,value:b}=g.target;i({type:"CHANGE",data:{name:_,value:b}})};function y(g){const{name:_}=g.target;s.updateBlur({name:_})}return(g,_)=>{const b=Oe,E=ne,A=be,P=se,N=Ee,T=we,x=Ce;return r.renderSlot(g.$slots,"forceNewPasswordI",r.normalizeProps(r.guardReactiveProps(g.$attrs)),()=>[r.createVNode(E,r.normalizeProps(r.guardReactiveProps(g.$attrs)),{default:r.withCtx(()=>[r.createVNode(x,{"data-amplify-authenticator-forcenewpassword":"",onInput:w,onBlurCapture:y,onSubmit:r.withModifiers(p,["prevent"])},{default:r.withCtx(()=>[r.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(l).matches("forceNewPassword.pending")},{default:r.withCtx(()=>[r.renderSlot(g.$slots,"header",{},()=>[r.createVNode(b,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1})]),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(g.$slots,"force-new-password-form-fields",{},()=>[r.createVNode(eo)])]),_:3}),r.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(l).context.remoteError?(r.openBlock(),r.createBlock(A,{key:0,"data-ui-error":""},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(k)(r.unref(l).context.remoteError)),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:r.unref(l).matches("signUp.submit")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(l).matches("forceNewPassword.pending")?r.unref(f)+"\u2026":r.unref(m)),1)]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["onClick"]),r.renderSlot(g.$slots,"footer",{onHaveAccountClicked:v,onForceNewPasswordSubmit:p})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),no=r.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=r.useAttrs(),o=pe(le),{send:i,submitForm:a}=o(),{error:s,isPending:l}=r.toRefs(o()),{getBackToSignInText:u,getResetYourPasswordText:c,getSendCodeText:d}=fe,m=r.computed(()=>u()),f=r.computed(()=>c()),h=r.computed(()=>d()),v=y=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",y):p(y)},p=y=>{a(Se(y))},S=y=>{const{name:g,value:_}=y.target;i({type:"CHANGE",data:{name:g,value:_}})},w=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(y,g)=>{const _=Oe,b=we,E=be,A=se,P=Ee,N=ne,T=Ce;return r.renderSlot(y.$slots,"resetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(T,r.mergeProps(y.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:S,onSubmit:r.withModifiers(v,["prevent"])}),{default:r.withCtx(()=>[r.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(_,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(l)},{default:r.withCtx(()=>[r.createVNode(Ae,{route:"resetPassword"})]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.unref(s)?(r.openBlock(),r.createBlock(E,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(k)(r.unref(s))),1)]),_:1})):r.createCommentVNode("",!0),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(l)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(w,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onBackToSignInClicked:w,onResetPasswordSubmit:v})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),ro=r.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:o}=me(),a=pe(le)(),s=r.useAttrs(),l=r.computed(()=>ae(n.value)),{getResendCodeText:u,getResetYourPasswordText:c,getSubmitText:d}=fe,m=r.computed(()=>u()),f=r.computed(()=>c()),h=r.computed(()=>d()),v=g=>{s!=null&&s.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",g):p(g)},p=g=>{a.submitForm(Se(g))},S=()=>{o({type:"RESEND"})},w=g=>{const{name:_,value:b}=g.target;o({type:"CHANGE",data:{name:_,value:b}})};function y(g){const{name:_}=g.target;a.updateBlur({name:_})}return(g,_)=>{const b=Oe,E=ne,A=be,P=se,N=Ee,T=we,x=Ce;return r.renderSlot(g.$slots,"confirmResetPasswordSlotI",r.normalizeProps(r.guardReactiveProps(g.$attrs)),()=>[r.createVNode(E,r.normalizeProps(r.guardReactiveProps(g.$attrs)),{default:r.withCtx(()=>[r.createVNode(x,{"data-amplify-authenticator-confirmResetpassword":"",onInput:w,onBlurCapture:y,onSubmit:r.withModifiers(v,["prevent"])},{default:r.withCtx(()=>[r.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(l).matches("confirmResetPassword.pending")},{default:r.withCtx(()=>[r.renderSlot(g.$slots,"header",{},()=>[r.createVNode(b,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1})]),r.createVNode(E,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(Ae,{route:"confirmResetPassword"})]),_:1}),r.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var O,$;return[($=(O=r.unref(l))==null?void 0:O.context)!=null&&$.remoteError?(r.openBlock(),r.createBlock(A,{key:0},{default:r.withCtx(()=>{var z,K;return[r.createTextVNode(r.toDisplayString(r.unref(k)((K=(z=r.unref(l))==null?void 0:z.context)==null?void 0:K.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:r.unref(l).matches("confirmResetPassword.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:r.withModifiers(S,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1},8,["onClick"]),r.renderSlot(g.$slots,"footer",{onConfirmResetPasswordSubmit:v,onLostYourCodeClicked:S})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),oo=r.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const o=pe(le)(),i=r.useAttrs(),{state:a,send:s}=me(),l=r.computed(()=>ae(a.value)),{unverifiedContactMethods:u}=l.value.context,{getAccountRecoveryInfoText:c,getSkipText:d,getVerifyText:m,getVerifyContactText:f}=fe,h=r.computed(()=>c()),v=r.computed(()=>d()),p=r.computed(()=>m()),S=r.computed(()=>f()),w=b=>{const{name:E,value:A}=b.target;s({type:"CHANGE",data:{name:E,value:A}})},y=b=>{i!=null&&i.onVerifyUserSubmit?t("verifyUserSubmit",b):g(b)},g=b=>{o.submitForm(Se(b))},_=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s("SKIP")};return(b,E)=>{const A=Oe,P=_n,N=bn,T=La,x=ne,O=be,$=se,z=Ee,K=we,q=Ce;return r.renderSlot(b.$slots,"verifyUserSlotI",{},()=>[r.createVNode(x,null,{default:r.withCtx(()=>[r.createVNode(q,{onInput:w,onSubmit:r.withModifiers(y,["prevent"])},{default:r.withCtx(()=>[r.createVNode(K,{disabled:r.unref(l).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.renderSlot(b.$slots,"header",{},()=>[r.createVNode(A,{class:"amplify-heading",level:3},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1})]),r.createVNode(x,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(P,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(S)),1)]),_:1}),r.createVNode(x,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(u),(oe,ie)=>(r.openBlock(),r.createBlock(P,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:oe},{default:r.withCtx(()=>[r.createVNode(N,{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:ie},null,8,["value"]),r.createVNode(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),r.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(on)[ie].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),r.createVNode(z,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var oe,ie;return[(ie=(oe=r.unref(l))==null?void 0:oe.context)!=null&&ie.remoteError?(r.openBlock(),r.createBlock(O,{key:0},{default:r.withCtx(()=>{var Q;return[r.createTextVNode(r.toDisplayString(r.unref(k)((Q=r.unref(l))==null?void 0:Q.context.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode($,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(l).matches("verifyUser.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(p)),1)]),_:1},8,["disabled"]),r.createVNode($,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(_,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(v)),1)]),_:1},8,["onClick"]),r.renderSlot(b.$slots,"footer",{onSkipClicked:_,onVerifyUserSubmit:y})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),io=r.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const o=pe(le)(),i=r.useAttrs(),{state:a,send:s}=me(),l=r.computed(()=>ae(a.value)),{getAccountRecoveryInfoText:u,getSkipText:c,getSubmitText:d}=fe,m=r.computed(()=>u()),f=r.computed(()=>c()),h=r.computed(()=>d()),v=y=>{const{name:g,value:_}=y.target;s({type:"CHANGE",data:{name:g,value:_}})},p=y=>{i!=null&&i.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",y):S(y)},S=y=>{o.submitForm(Se(y))},w=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s({type:"SKIP"})};return(y,g)=>{const _=Oe,b=ne,E=be,A=se,P=Ee,N=we,T=Ce;return r.renderSlot(y.$slots,"confirmVerifyUserSlotI",r.normalizeProps(r.guardReactiveProps(y.$attrs)),()=>[r.createVNode(b,r.normalizeProps(r.guardReactiveProps(y.$attrs)),{default:r.withCtx(()=>[r.createVNode(T,{onInput:v,onSubmit:r.withModifiers(p,["prevent"])},{default:r.withCtx(()=>[r.createVNode(N,{class:"amplify-flex amplify-authenticator__column",disabled:r.unref(l).matches("confirmVerifyUser.pending")},{default:r.withCtx(()=>[r.renderSlot(y.$slots,"header",{},()=>[r.createVNode(_,{level:3,class:"amplify-heading"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(m)),1)]),_:1})]),r.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>[r.createVNode(Ae,{route:"confirmVerifyUser"})]),_:1}),r.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:r.withCtx(()=>{var x,O;return[(O=(x=r.unref(l))==null?void 0:x.context)!=null&&O.remoteError?(r.openBlock(),r.createBlock(E,{key:0},{default:r.withCtx(()=>{var $;return[r.createTextVNode(r.toDisplayString(r.unref(k)(($=r.unref(l))==null?void 0:$.context.remoteError)),1)]}),_:1})):r.createCommentVNode("",!0),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:r.unref(l).matches("confirmVerifyUser.pending")},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(h)),1)]),_:1},8,["disabled"]),r.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:r.withModifiers(w,["prevent"])},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(f)),1)]),_:1},8,["onClick"]),r.renderSlot(y.$slots,"footer",{onSkipClicked:w,onConfirmVerifyUserSubmit:p})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),xb="3.1.11",$b=["data-variation"],Ob={"data-amplify-container":""},Rb=["data-amplify-router-content"],Ub={key:1,"data-amplify-router-content":""},os=r.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,o=r.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:l,signUpAttributes:u,socialProviders:c,hideSignUp:d,formFields:m}=r.toRefs(n),f=GS(),h=t_(f);let v,p;const{state:S,send:w}=Fa(h);me(h);const y=r.ref(!1);p=h.subscribe(I=>{I.matches("setup")&&!y.value&&(w({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:c==null?void 0:c.value,signUpAttributes:u==null?void 0:u.value,services:l==null?void 0:l.value,formFields:m==null?void 0:m.value}}),y.value=!0)}).unsubscribe,r.onMounted(()=>{v=cl(h),ll({packageName:"@aws-amplify/ui-vue",version:xb})}),r.onUnmounted(()=>{v&&v(),p&&p()});const g=r.computed(()=>ae(S.value)),_=r.ref(),b=r.ref(),E=r.ref(),A=r.ref(),P=r.ref(),N=r.ref(),T=r.ref(),x=r.ref(),O=r.ref(),$=r.ref(),{getSignInTabText:z,getSignUpTabText:K}=fe,q=r.computed(()=>z()),oe=r.computed(()=>K()),ie=I=>{var ce;o!=null&&o.onSignInSubmit?t("signInSubmit",I):(ce=_.value)==null||ce.submit(I)},Q=I=>{o!=null&&o.onConfirmSignUpSubmit?t("confirmSignUpSubmit",I):E.value.submit(I)},ze=I=>{o!=null&&o.onResetPasswordSubmit?t("resetPasswordSubmit",I):T.value.submit(I)},re=I=>{o!=null&&o.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",I):x.value.submit(I)},ct=I=>{o!=null&&o.onConfirmSignInSubmit?t("confirmSignInSubmit",I):A.value.submit(I)},dt=I=>{o!=null&&o.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",I):P.value.submit(I)},Z=I=>{o!=null&&o.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",I):N.value.submit(I)},he=I=>{o!=null&&o.onSignUpSubmit?t("signUpSubmit",I):b.value.submit()},ls=I=>{o!=null&&o.onVerifyUserSubmit?t("verifyUserSubmit",I):O.value.submit(I)},us=I=>{o!=null&&o.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",I):$.value.submit(I)},ao=r.ref(null),so=r.ref();r.watch(()=>S.value.context,()=>{const{user:I,signOut:ce}=Ii({send:w,state:S.value});ao.value=I,so.value=ce});const In=r.computed(()=>{var I,ce;return((I=g.value)==null?void 0:I.matches("signIn"))||((ce=g.value)==null?void 0:ce.matches("signUp"))}),cs=r.computed(()=>{var I;return!(S.value.matches("authenticated")||S.value.matches("idle")||S.value.matches("setup")||S.value.matches("signOut")||((I=g.value)==null?void 0:I.matches("autoSignIn")))});return(I,ce)=>{var uo,co,fo,po,mo,ho,go,yo,vo,wo,So,_o;const lo=$_,ds=U_;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(cs)?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0},I.$attrs,{"data-amplify-authenticator":"","data-variation":r.unref(s)}),[r.createElementVNode("div",Ob,[r.renderSlot(I.$slots,"header"),r.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":r.unref(In)?void 0:""},[r.unref(In)&&!r.unref(d)?(r.openBlock(),r.createBlock(ds,{key:0},{default:r.withCtx(()=>{var Y,J;return[r.createVNode(lo,{active:(Y=r.unref(g))==null?void 0:Y.matches("signIn"),id:44472,label:r.unref(q),onClick:ce[0]||(ce[0]=Pn=>r.unref(w)("SIGN_IN"))},null,8,["active","label"]),r.createVNode(lo,{active:(J=r.unref(g))==null?void 0:J.matches("signUp"),id:44471,label:r.unref(oe),onClick:ce[1]||(ce[1]=Pn=>r.unref(w)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):r.createCommentVNode("",!0),r.unref(In)?(r.openBlock(),r.createElementBlock("div",Ub,[(uo=r.unref(g))!=null&&uo.matches("signIn")?(r.openBlock(),r.createBlock(Gr,{key:0,onSignInSubmit:ie,ref_key:"signInComponent",ref:_},{signInSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"sign-in")]),form:r.withCtx(({info:Y,onSignInSubmit:J,onForgotPasswordClicked:Pn,onInput:fs})=>[r.renderSlot(I.$slots,"sign-in-form",{info:Y,onInput:fs,onSignInSubmit:J,onForgotPasswordClicked:Pn})]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"sign-in-header")]),footer:r.withCtx(()=>[r.renderSlot(I.$slots,"sign-in-footer")]),_:3},512)):r.createCommentVNode("",!0),((co=r.unref(g))==null?void 0:co.matches("signUp"))&&!r.unref(d)?(r.openBlock(),r.createBlock(Wr,{key:1,onSignUpSubmit:he,ref_key:"signUpComponent",ref:b},{signUpSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"sign-up")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"sign-up-header")]),"signup-fields":r.withCtx(({info:Y})=>[r.renderSlot(I.$slots,"sign-up-fields",{info:Y})]),footer:r.withCtx(()=>[r.renderSlot(I.$slots,"sign-up-footer")]),_:3},512)):r.createCommentVNode("",!0)])):r.createCommentVNode("",!0),(fo=r.unref(g))!=null&&fo.matches("confirmSignUp")?(r.openBlock(),r.createBlock(Yr,{key:2,onConfirmSignUpSubmit:Q,ref_key:"confirmSignUpComponent",ref:E},{confirmSignUpSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-sign-up")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-sign-up-header")]),footer:r.withCtx(({onConfirmSignUpSubmit:Y,onLostCodeClicked:J})=>[r.renderSlot(I.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:Y,onLostCodeClicked:J})]),_:3},512)):r.createCommentVNode("",!0),(po=r.unref(g))!=null&&po.matches("resetPassword")?(r.openBlock(),r.createBlock(no,{key:3,onResetPasswordSubmit:ze,ref_key:"resetPasswordComponent",ref:T},{resetPasswordSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"reset-password")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"reset-password-header")]),footer:r.withCtx(({onResetPasswordSubmit:Y,onBackToSignInClicked:J})=>[r.renderSlot(I.$slots,"reset-password-footer",{onResetPasswordSubmit:Y,onBackToSignInClicked:J})]),_:3},512)):r.createCommentVNode("",!0),(mo=r.unref(g))!=null&&mo.matches("confirmResetPassword")?(r.openBlock(),r.createBlock(ro,{key:4,onConfirmResetPasswordSubmit:re,ref_key:"confirmResetPasswordComponent",ref:x},{confirmResetPasswordSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-reset-password")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-reset-password-header")]),footer:r.withCtx(({onConfirmResetPasswordSubmit:Y,onLostYourCodeClicked:J})=>[r.renderSlot(I.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:Y,onLostYourCodeClicked:J})]),_:3},512)):r.createCommentVNode("",!0),(ho=r.unref(g))!=null&&ho.matches("confirmSignIn")?(r.openBlock(),r.createBlock(Kr,{key:5,onConfirmSignInSubmit:ct,ref_key:"confirmSignInComponent",ref:A},{confirmSignInSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-sign-in")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-sign-in-header")]),footer:r.withCtx(({onConfirmSignInSubmit:Y,onBackToSignInClicked:J})=>[r.renderSlot(I.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:Y,onBackToSignInClicked:J})]),_:3},512)):r.createCommentVNode("",!0),((go=r.unref(g))==null?void 0:go.matches("setupTOTP.edit"))||((yo=r.unref(g))==null?void 0:yo.matches("setupTOTP.submit"))?(r.openBlock(),r.createBlock(kb,{key:6,onConfirmSetupTotpSubmit:dt,ref_key:"confirmSetupTOTPComponent",ref:P},{confirmSetupTOTPI:r.withCtx(()=>[r.renderSlot(I.$slots,"setup-totp")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"setup-totp-header")]),footer:r.withCtx(({onSetupTOTPSubmit:Y,onBackToSignInClicked:J})=>[r.renderSlot(I.$slots,"setup-totp-footer",{onSetupTOTPSubmit:Y,onBackToSignInClicked:J})]),_:3},512)):r.createCommentVNode("",!0),(vo=r.unref(g))!=null&&vo.matches("forceNewPassword")?(r.openBlock(),r.createBlock(to,{key:7,onForceNewPasswordSubmit:Z,ref_key:"forceNewPasswordComponent",ref:N},{forceNewPasswordI:r.withCtx(()=>[r.renderSlot(I.$slots,"force-new-password")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"force-new-password-header")]),"force-new-password-form-fields":r.withCtx(()=>[r.renderSlot(I.$slots,"force-new-password-form-fields")]),footer:r.withCtx(({onHaveAccountClicked:Y,onForceNewPasswordSubmit:J})=>[r.renderSlot(I.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:J,onBackToSignInClicked:Y})]),_:3},512)):r.createCommentVNode("",!0),(wo=r.unref(g))!=null&&wo.matches("verifyUser")?(r.openBlock(),r.createBlock(oo,{key:8,onVerifyUserSubmit:ls,ref_key:"verifyUserComponent",ref:O},{verifyUserSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"verify-user")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"verify-user-header")]),footer:r.withCtx(({onVerifyUserSubmit:Y,onSkipClicked:J})=>[r.renderSlot(I.$slots,"verify-user-footer",{onVerifyUserSubmit:Y,onSkipClicked:J})]),_:3},512)):r.createCommentVNode("",!0),(So=r.unref(g))!=null&&So.matches("confirmVerifyUser")?(r.openBlock(),r.createBlock(io,{key:9,onConfirmVerifyUserSubmit:us,ref_key:"confirmVerifyUserComponent",ref:$},{confirmVerifyUserSlotI:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-verify-user")]),header:r.withCtx(()=>[r.renderSlot(I.$slots,"confirm-verify-user-header")]),footer:r.withCtx(({onConfirmVerifyUserSubmit:Y,onSkipClicked:J})=>[r.renderSlot(I.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:Y,onSkipClicked:J})]),_:3},512)):r.createCommentVNode("",!0)],8,Rb),r.renderSlot(I.$slots,"footer")])],16,$b)):r.createCommentVNode("",!0),(_o=r.unref(S))!=null&&_o.matches("authenticated")?r.renderSlot(I.$slots,"default",{key:1,user:ao.value,state:r.unref(S),signOut:so.value,send:r.unref(w)}):r.createCommentVNode("",!0)],64)}}}),is=r.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),as=r.defineComponent({__name:"amplify-text-field",props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:n,id:o,autocomplete:i,placeholder:a,required:s,name:l,type:u}=r.toRefs(t);return(c,d)=>{const m=_n,f=bn,h=ne;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(m,{class:r.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:r.unref(o)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(r.unref(n)),1)]),_:1},8,["class","for"]),r.createVNode(h,{class:"amplify-field-group__field-wrapper"},{default:r.withCtx(()=>[r.createVNode(f,{class:"amplify-input amplify-field-group__control",id:r.unref(o),"aria-invalid":"false",autocomplete:r.unref(i),placeholder:r.unref(a),required:r.unref(s),name:r.unref(l),disabled:e.disabled,type:r.unref(u)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),Bb={class:"amplify-flex amplify-field amplify-checkboxfield"},Vb={class:"amplify-flex amplify-checkbox"},Fb={class:"amplify-visually-hidden"},Mb=["data-error","data-checked"],Db=["data-checked"],Lb=r.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),jb=[Lb],zb=r.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),Gb={key:0,class:"amplify-text amplify-field__error-message"},ss=r.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=r.ref(!1),{errorMessage:o}=r.toRefs(t);return(i,a)=>(r.openBlock(),r.createElementBlock("div",Bb,[r.createElementVNode("label",Vb,[r.createElementVNode("span",Fb,[r.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),r.createElementVNode("span",{class:r.normalizeClass(["amplify-flex amplify-checkbox__button",{"amplify-checkbox__button--error":!n.value}]),"aria-hidden":"true","data-focus":"false","data-error":!n.value,"data-checked":n.value},[(r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:r.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},jb,10,Db))],10,Mb),zb]),n.value?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("p",Gb,r.toDisplayString(r.unref(o)),1))]))}});var Hb={install:e=>{e.component("SignIn",Gr),e.component("SignUp",Wr),e.component("FederatedSignIn",Sn),e.component("Authenticator",os),e.component("RenderInfo",is),e.component("PasswordControl",zr),e.component("ForceNewPassword",to),e.component("ResetPassword",no),e.component("ConfirmResetPassword",ro),e.component("ConfirmSignUp",Yr),e.component("ConfirmSignIn",Kr),e.component("VerifyUser",oo),e.component("ConfirmVerifyUser",io),e.component("AmplifyTextField",as),e.component("AmplifyCheckBox",ss),e.component("AmplifyButton",se),e.component("BaseFormField",Da),e.component("BaseFormFields",Ae),e.component("AuthenticatorSignUpFormFields",Hr),e.component("AuthenticatorForceNewPasswordFormFields",eo)}};exports.AmplifyButton=se;exports.AmplifyCheckBox=ss;exports.AmplifyTextField=as;exports.Authenticator=os;exports.AuthenticatorForceNewPasswordFormFields=eo;exports.AuthenticatorSignUpFormFields=Hr;exports.ConfirmResetPassword=ro;exports.ConfirmSignIn=Kr;exports.ConfirmSignUp=Yr;exports.ConfirmVerifyUser=io;exports.FederatedSignIn=Sn;exports.ForceNewPassword=to;exports.PasswordControl=zr;exports.RenderInfo=is;exports.ResetPassword=no;exports.SignIn=Gr;exports.SignUp=Wr;exports.VerifyUser=oo;exports.default=Hb;exports.translations=nl;exports.useAuthenticator=le;