@aws-amplify/ui 3.11.0 → 3.11.1

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.
@@ -1 +1 @@
1
- import{__assign as n}from"../node_modules/tslib/tslib.es6.js";import t from"style-dictionary/lib/utils/deepExtend";import o from"style-dictionary/lib/utils/flattenProperties";import{defaultTheme as a}from"./defaultTheme.js";import{cssValue as e,cssNameTransform as r}from"./utils.js";function c(n,t){void 0===t&&(t=[]);var o={};if(n.hasOwnProperty("value"))return function(n,t){var o="--".concat(r({path:t})),a=n.value;return{name:o,path:t,value:e(n),original:a,toString:function(){return"var(".concat(o,")")}}}(n,t);for(var a in n)n.hasOwnProperty(a)&&(o[a]=c(n[a],t.concat(a)));return o}function i(e,r){void 0===r&&(r=a);var i=t([{},r,e]),m=c(i.tokens),l=i.breakpoints,s=i.name,d='[data-amplify-theme="'.concat(s,'"] {\n')+o(m).map((function(n){return"".concat(n.name,": ").concat(n.value,";")})).join("\n")+"\n}\n",p=[];return i.overrides&&(p=i.overrides.map((function(t){var a=c(t.tokens),e=o(a).map((function(n){return"".concat(n.name,": ").concat(n.value,";")})).join("\n");if("selector"in t&&(d+="\n".concat(t.selector," {\n").concat(e,"\n}\n")),"mediaQuery"in t&&(d+="\n@media (".concat(t.mediaQuery,') {\n [data-amplify-theme="').concat(s,'"] {\n ').concat(e,"\n }\n}\n")),"breakpoint"in t){var r=i.breakpoints.values[t.breakpoint];d+="\n@media (min-width: ".concat(r,'px) {\n [data-amplify-theme="').concat(s,'"] {\n ').concat(e,"\n }\n}\n")}return"colorMode"in t&&(d+="\n@media (prefers-color-scheme: ".concat(t.colorMode,') {\n [data-amplify-theme="').concat(s,'"][data-amplify-color-mode="system"] {\n').concat(e,"\n}\n }\n"),d+='\n[data-amplify-theme="'.concat(s,'"][data-amplify-color-mode="').concat(t.colorMode,'"] {\n').concat(e,"\n}\n")),n(n({},t),{tokens:a})}))),{tokens:m,breakpoints:l,name:s,cssText:d,overrides:p}}export{i as createTheme};
1
+ import{__assign as n}from"../node_modules/tslib/tslib.es6.js";import t from"style-dictionary/lib/utils/deepExtend";import o from"style-dictionary/lib/utils/flattenProperties";import{defaultTheme as e}from"./defaultTheme.js";import{cssValue as a,cssNameTransform as c}from"./utils.js";function r(n,t){void 0===t&&(t=[]);var o={};if(n.hasOwnProperty("value"))return function(n,t){var o="--".concat(c({path:t})),e=n.value;return{name:o,path:t,value:a(n),original:e,toString:function(){return"var(".concat(o,")")}}}(n,t);if("object"==typeof n)for(var e in n)n.hasOwnProperty(e)&&("object"!=typeof n[e]?(console.warn("Non-design token found when creating the theme at path: ".concat(t.join("."),".").concat(e,"\nDid you forget to add '{value:\"").concat(n[e],"\"}'?")),o[e]=n[e]):o[e]=r(n[e],t.concat(e)));return o}function i(a,c){void 0===c&&(c=e);var i=t([{},c,a]),m=r(i.tokens),l=i.breakpoints,s=i.name,d='[data-amplify-theme="'.concat(s,'"] {\n')+o(m).map((function(n){return"".concat(n.name,": ").concat(n.value,";")})).join("\n")+"\n}\n",p=[];return i.overrides&&(p=i.overrides.map((function(t){var e=r(t.tokens),a=o(e).map((function(n){return"".concat(n.name,": ").concat(n.value,";")})).join("\n");if("selector"in t&&(d+="\n".concat(t.selector," {\n").concat(a,"\n}\n")),"mediaQuery"in t&&(d+="\n@media (".concat(t.mediaQuery,') {\n [data-amplify-theme="').concat(s,'"] {\n ').concat(a,"\n }\n}\n")),"breakpoint"in t){var c=i.breakpoints.values[t.breakpoint];d+="\n@media (min-width: ".concat(c,'px) {\n [data-amplify-theme="').concat(s,'"] {\n ').concat(a,"\n }\n}\n")}return"colorMode"in t&&(d+="\n@media (prefers-color-scheme: ".concat(t.colorMode,') {\n [data-amplify-theme="').concat(s,'"][data-amplify-color-mode="system"] {\n').concat(a,"\n}\n }\n"),d+='\n[data-amplify-theme="'.concat(s,'"][data-amplify-color-mode="').concat(t.colorMode,'"] {\n').concat(a,"\n}\n")),n(n({},t),{tokens:e})}))),{tokens:m,breakpoints:l,name:s,cssText:d,overrides:p}}export{i as createTheme};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("lodash/includes"),o=require("aws-amplify"),r=require("lodash/cloneDeep"),a=require("xstate"),n=require("xstate/lib/actions"),t=require("lodash/get"),l=require("lodash/isEmpty"),i=require("lodash/merge"),s=require("lodash/pickBy"),u=require("style-dictionary/lib/utils/deepExtend"),d=require("style-dictionary/lib/utils/flattenProperties"),c=require("lodash/kebabCase"),v=require("style-dictionary/lib/utils/references/usesReference");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g,f,p=m(e),h=m(r),b=m(t),S=m(l),C=m(i),w=m(s),y=m(u),k=m(d),A=m(c),I=m(v),E=function(e){var o;return null===(o=e.context.actorRef)||void 0===o?void 0:o.getSnapshot()},x=function(e){var o;return null===(o=E(e))||void 0===o?void 0:o.context};exports.AuthChallengeNames=void 0,(g=exports.AuthChallengeNames||(exports.AuthChallengeNames={})).SMS_MFA="SMS_MFA",g.SOFTWARE_TOKEN_MFA="SOFTWARE_TOKEN_MFA",g.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",g.RESET_REQUIRED="RESET_REQUIRED",g.MFA_SETUP="MFA_SETUP",exports.FederatedIdentityProviders=void 0,(f=exports.FederatedIdentityProviders||(exports.FederatedIdentityProviders={})).Apple="SignInWithApple",f.Amazon="LoginWithAmazon",f.Facebook="Facebook",f.Google="Google";var P=function(){return P=Object.assign||function(e){for(var o,r=1,a=arguments.length;r<a;r++)for(var n in o=arguments[r])Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);return e},P.apply(this,arguments)};function _(e,o){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&o.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)o.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r}function U(e,o,r,a){return new(r||(r=Promise))((function(n,t){function l(e){try{s(a.next(e))}catch(e){t(e)}}function i(e){try{s(a.throw(e))}catch(e){t(e)}}function s(e){var o;e.done?n(e.value):(o=e.value,o instanceof r?o:new r((function(e){e(o)}))).then(l,i)}s((a=a.apply(e,o||[])).next())}))}function R(e,o){var r,a,n,t,l={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return t={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function i(t){return function(i){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,a&&(n=2&t[0]?a.return:t[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,t[1])).done)return n;switch(a=0,n&&(t=[2&t[0],n.value]),t[0]){case 0:case 1:n=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(n=l.trys,(n=n.length>0&&n[n.length-1])||6!==t[0]&&2!==t[0])){l=0;continue}if(3===t[0]&&(!n||t[1]>n[0]&&t[1]<n[3])){l.label=t[1];break}if(6===t[0]&&l.label<n[1]){l.label=n[1],n=t;break}if(n&&l.label<n[2]){l.label=n[2],l.ops.push(t);break}n[2]&&l.ops.pop(),l.trys.pop();continue}t=o.call(e,l)}catch(e){t=[6,e],a=0}finally{r=n=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,i])}}}function N(e,o,r){if(r||2===arguments.length)for(var a,n=0,t=o.length;n<t;n++)!a&&n in o||(a||(a=Array.prototype.slice.call(o,0,n)),a[n]=o[n]);return e.concat(a||Array.prototype.slice.call(o))}var T=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],z=["username","email","phone_number"],O=N(N(N([],z,!0),T,!0),["confirmation_code","password","confirm_password"],!1),F=function(e){var o,r=null===(o=null==e?void 0:e.context.config)||void 0===o?void 0:o.loginMechanisms;return(null!=r?r:["username"])[0]},D=function(e){var o=function(o){return function(r){return e({type:o,data:r})}};return{resendCode:o("RESEND"),signOut:o("SIGN_OUT"),submitForm:o("SUBMIT"),updateForm:o("CHANGE"),updateBlur:o("BLUR"),toFederatedSignIn:o("FEDERATED_SIGN_IN"),toResetPassword:o("RESET_PASSWORD"),toSignIn:o("SIGN_IN"),toSignUp:o("SIGN_UP"),skipVerification:o("SKIP")}},W=function(e){var o,r,a=null===(o=e.context)||void 0===o?void 0:o.user,n=E(e),t=x(e),l=null==t?void 0:t.remoteError,i=P({},null==t?void 0:t.validationError),s=null==t?void 0:t.codeDeliveryDetails,u=Object.keys(i).length>0,d=e.hasTag("pending")||(null===(r=E(e))||void 0===r?void 0:r.hasTag("pending")),c=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 null==n?void 0:n.matches("autoSignIn"):return"autoSignIn";case null==n?void 0:n.matches("confirmSignUp"):return"confirmSignUp";case null==n?void 0:n.matches("confirmSignIn"):return"confirmSignIn";case null==n?void 0:n.matches("setupTOTP"):return"setupTOTP";case null==n?void 0:n.matches("signIn"):return"signIn";case null==n?void 0:n.matches("signUp"):return"signUp";case null==n?void 0:n.matches("forceNewPassword"):return"forceNewPassword";case null==n?void 0:n.matches("resetPassword"):return"resetPassword";case null==n?void 0:n.matches("confirmResetPassword"):return"confirmResetPassword";case null==n?void 0:n.matches("verifyUser"):return"verifyUser";case null==n?void 0:n.matches("confirmVerifyUser"):return"confirmVerifyUser";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),v=function(e){switch(e){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(c);return{error:l,hasValidationErrors:u,isPending:d,route:c,authStatus:v,user:a,validationErrors:i,codeDeliveryDetails:s}},V=["+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"],M=P({},{"Account recovery requires verified contact information":"Zurücksetzen des Account benötigt einen verifizierten Account","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Back to Sign In":"Zurück zur Anmeldung","Change Password":"Passwort ändern",Code:"Code",Confirm:"Bestätigen","Confirm Password":"Passwort bestätigen","Confirm a Code":"Code bestätigen","Confirm Sign In":"Anmeldung bestätigen","Confirm Sign Up":"Registrierung bestätigen","Confirm SMS Code":"SMS-Code bestätigen","Confirm TOTP Code":"TOTP-Code bestätigen","Confirmation Code":"Bestätigungs-Code","Create a new account":"Einen neuen Account erstellen","Create account":"Hier registrieren","Create Account":"Account erstellen","Creating Account":"Account wird erstellt",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your password":"Geben Sie Ihr Passwort ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your email":"Geben Sie ihre Email ein","Forgot your password?":"Passwort vergessen? ","Forgot Password":"Passwort vergessen","Hide password":"Passwort verbergen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ungültiges Passwort-Format","Invalid phone number format":"Ungültiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ",or:"oder",Password:"Passwort","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset password":"Passwort zurücksetzen","Reset your password":"Zurücksetzen des Passworts","Send Code":"Code senden","Sign in":"Anmelden","Sign In":"Anmelden","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign Out":"Abmelden","Sign Up":"Registrieren",Skip:"Überspringen",Submit:"Abschicken","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht",Username:"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein",Verify:"Verifizieren","Verify Contact":"Kontakt verifizieren"}),B=P({},{"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:"Confirm","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create Account":"Create Account","Creating Account":"Creating Account",Email:"Email","Enter your code":"Enter your code","Enter your username":"Enter your username","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Forgot your password?":"Forgot your password?","Hide password":"Hide password",Loading:"Loading",Username:"Username","New password":"New password",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send Code":"Send Code","Send code":"Send code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in":"Sign in","Sign In":"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 to your account":"Sign in to your account","Create a new account":"Create a new account","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting","Verify Contact":"Verify Contact",Verify:"Verify"}),G=P({},{"Account recovery requires verified contact information":"La recuperación de la cuenta requiere información de contacto verificada","Back to Sign In":"Volver a inicio de sesión","Change Password":"Cambiar contraseña",Changing:"Cambiando",Code:"Código",Confirm:"Confirmar","Confirm a Code":"Confirmar un código","Confirm Password":"Confirmar contraseña","Confirm Sign In":"Confirmar inicio de sesión","Confirm Sign Up":"Confirmar registro","Confirm TOTP Code":"Confirmar código TOTP","Confirmation Code":"Código de confirmación",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Creating Account":"Creando cuenta",Email:"Email","Forgot Password":"Olvidé mi contraseña","Incorrect username or password":"Nombre de usuario o contraseña incorrecta","Invalid password format":"Formato de contraseña inválido","Invalid phone number format":"Formato de número de teléfono inválido","Forgot your password?":"¿Olvidó su contraseña?","Hide password":"Ocultar contraseña","Loading...":"Cargando...","New Password":"Nueva contraseña",or:"o",Password:"Contraseña","Phone Number":"Número de teléfono","Resend a Code":"Reenviar un código","Reset your password":"Restablecer su contraseña","Reset your Password":"Restablecer su Contraseña","Resend Code":"Reenviar código","Send Code":"Enviar código",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contraseña","Sign in":"Iniciar sesión","Sign In":"Iniciar Sesión","Sign In with Amazon":"Iniciar Sesión con Amazon","Sign In with Apple":"Iniciar Sesión con Apple","Sign In with Facebook":"Iniciar Sesión con Facebook","Sign In with Google":"Iniciar Sesión con Google","Sign in to your account":"Iniciar sesión en tu cuenta","Sign Out":"Cerrar sesión","Sign Up":"Crear cuenta","Signing in":"Iniciando sesión",Skip:"Omitir",Submit:"Enviar","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe",Username:"Nombre de usuario","Username cannot be empty":"El nombre de usuario no puede estar vacío",Verify:"Verificar","Verify Contact":"Verificar contacto"}),H=P({},{"Account recovery requires verified contact information":"La récupération du compte nécessite des informations de contact vérifiées","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe déjà.","Back to Sign In":"Retour à la connexion",Change:"Modifier","Change Password":"Modifier le mot de passe",Code:"Code",Confirm:"Confirmer","Confirm a Code":"Confirmer un code","Confirm Password":"Confirmez le mot de passe","Confirm Sign In":"Confirmer la connexion","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP","Confirmation Code":"Code de confirmation","Create a new account":"Créer un nouveau compte","Create account":"Créer un compte","Create Account":"Créer un compte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your password":"Saisissez votre mot de passe","Enter your phone number":"Saisissez votre numéro de téléphone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot Password":"Mot de passe oublié","Forgot your password?":"Mot de passe oublié ? ","Have an account? ":"Déjà un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de numéro de téléphone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur réseau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ",or:"ou",Password:"Mot de passe","Phone Number":"Numéro de téléphone","Resend a Code":"Renvoyer un code","Resend Code":"Renvoyer le code","Reset password":"Réinitialisez votre mot de passe","Reset your password":"Réinitialisez votre mot de passe",Send:"Envoyer","Send Code":"M'envoyer un code","Sign in":"Se connecter","Sign In":"Se connecter","Sign in to your account":"Connexion à votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with AWS":"Se connecter avec AWS","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign Out":"Déconnexion","Sign Up":"S'inscrire",Skip:"Passer",SMS:"SMS",Submit:"Soumettre","User already exists":"L'utilisateur existe déjà","User does not exist":"L'utilisateur n'existe pas",Username:"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur doit être renseigné","Username/client id combination not found.":"L'utilisateur n'existe pas",Verify:"Vérifier","Verify Contact":"Vérifier le contact"}),j=P({},{"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","An account with the given email already exists.":"Questa email è già utilizzata da un'altro account.","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Code:"Codice",Confirm:"Conferma","Confirm a Code":"Conferma un codice","Confirm Password":"Conferma la password","Confirm Sign In":"Conferma l'accesso","Confirm Sign Up":"Conferma registrazione","Confirmation Code":"Codice di verifica","Create a new account":"Crea un nuovo account","Create account":"Crea account","Create Account":"Crea Account",Email:"Email","Enter your password":"Inserisci la tua password","Enter your username":"Inserisci il tuo nome utente","Forgot Password":"Password dimenticata","Forgot your password?":"Password dimenticata?","Have an account? ":"Già registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password",or:"o","No account? ":"Non hai un account?",Password:"Password","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti è stato raggiunto","Phone Number":"Numero di telefono","Resend Code":"Rispedisci codice","Reset password":"Reimposta password","Reset your password":"Reimposta la tua password","Send Code":"Invia codice","Sign in":"Accesso","Sign In":"Accesso","Sign in to your account":"Accedi al tuo account","Sign Out":"Esci","Sign Up":"Registrati",Skip:"Salta",Submit:"Invia","User already exists":"Utente già esistente","User does not exist":"Utente inesistente",Username:"Nome utente","Username cannot be empty":"Il nome utente non può essere vuoto",Verify:"Verifica","Verify Contact":"Verifica contatto"}),L=P({},{"Account recovery requires verified contact information":"アカウントの復旧には確認済みの連絡先が必要です","An account with the given email already exists.":"入力されたメールアドレスのアカウントが既に存在します","Back to Sign In":"サインインに戻る","Change Password":"パスワードを変える ",Code:"コード",Confirm:"確定","Confirm a Code":"コードを確認","Confirm Password":"パスワードの確認","Confirm Sign In":"サインインする","Confirm Sign Up":"登録する","Confirmation Code":"確認コード","Create a new account":"新しいアカウントを作る","Create account":"アカウントを作る ","Create Account":"アカウントを作る",Email:"メールアドレス","Enter your password":"パスワードを入力 ","Enter your username":"ユーザー名を入力 ","Forgot Password":"パスワードを忘れた ","Forgot your password?":"パスワードを忘れましたか? ","Have an account? ":"アカウントを持っていますか?","Incorrect username or password":"ユーザー名かパスワードが異なります ","Invalid password format":"パスワードの形式が無効です ","Invalid phone number format":"不正な電話番号の形式です。\n+12345678900 の形式で入力してください","Lost your code? ":"コードを失くしましたか?","New Password":"新しいパスワード","No account? ":"アカウントが無いとき ",or:"又は",Password:"パスワード ","Password attempts exceeded":"サインインの試行回数が上限に達しました","Phone Number":"電話番号","Resend Code":"コードを再送信","Reset password":"パスワードをリセット ","Reset your password":"パスワードをリセットする","Send Code":"コードを送信","Sign in":"サインイン","Sign In":"サインイン ","Sign in to your account":"アカウントにサインイン ","Sign In with Amazon":"Amazonでサインイン","Sign In with Facebook":"Facebookでサインイン","Sign In with Google":"Googleでサインイン","Sign Out":"サインアウト ","Sign Up":"登録 ",Skip:"スキップ",Submit:"送信","User already exists":"既にユーザーが存在しています ","User does not exist":"ユーザーが存在しません ",Username:"ユーザー名 ","Username cannot be empty":"ユーザー名は入力必須です",Verify:"確認","Verify Contact":"連絡先を確認"}),q=P({},{"Back to Sign In":"로그인으로 돌아가기",Birthdate:"생년월일","Change Password":"비밀번호 변경하기",Changing:"변경중",Code:"코드","Confirm Password":"비밀번호 재확인","Reset your Password":"비밀번호 재설정","Confirm Sign Up":"회원가입 확인","Confirm SMS Code":"휴대폰 본인 확인","Confirm TOTP Code":"TOTP 인증번호 확인",Confirm:"확인","Confirmation Code":"인증번호",Confirming:"확인중","Create Account":"회원가입","Creating Account":"회원가입중",Email:"이메일","Enter your code":"인증번호를 입력해주세요","Enter your username":"아이디를 입력해주세요","Family Name":"성","Given Name":"이름","Forgot your password?":"비밀번호를 잊으셨나요?","Hide password":"비밀번호 숨기기",Loading:"로딩중",Username:"아이디",Name:"성함",Nickname:"닉네임","New password":"새 비밀번호",Password:"비밀번호","Phone Number":"전화번호","Preferred Username":"닉네임",Profile:"프로필","Resend Code":"인증번호 재전송","Reset your password":"비밀번호 재설정","Reset Password":"비밀번호 재설정","Send code":"인증코드 보내기",Sending:"전송중","Setup TOTP":"TOTP 설정하기","Show password":"비밀번호 보이기","Sign in":"로그인","Sign In":"로그인","Sign In with Amazon":"Amazon 로그인","Sign In with Apple":"Apple 로그인","Sign In with Facebook":"Facebook 로그인","Sign In with Google":"Google 로그인","Sign in to your account":"로그인","Create a new account":"회원가입","Signing in":"로그인중",Skip:"다음에 하기",Submit:"확인",Submitting:"확인중","Verify Contact":"연락처 확인","Account recovery requires verified contact information":"계정 복구를 위해 연락처 확인이 필요합니다",Verify:"인증",Website:"웹사이트"}),K=P({},{"Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Reset your Password":"Wachtwoord resetten","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 Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt",Email:"E-mail","Enter your code":"Vul je code in","Enter your username":"Vul je gebruikersnaam in","Enter your phone number":"Vul je telefoonnummer in","Enter your email":"Vul je e-mail in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord",Loading:"Laden",Username:"Gebruikersnaam","New password":"Nieuw wachtwoord",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","Reset your password":"Reset je wachtwoord","Send Code":"Verstuur Code","Send code":"Verstuur code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in":"Inloggen","Sign In":"Inloggen","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 to your account":"Inloggen op je account","Create a new account":"Nieuw account aanmaken","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd","Verify Contact":"Verifieer Contact","Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens",Verify:"Verifieer"}),Y=P({},{"Back to Sign In":"Powrót do logowania",Birthdate:"Data urodzenia","Change Password":"Zmień hasło",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierdź Hasło","Reset your Password":"Zresetuj swoje hasło","Confirm Sign Up":"Potwierdź rejestrację","Confirm SMS Code":"Potwierdź kod SMS","Confirm TOTP Code":"Potwierdź hasło jednorazowe",Confirm:"Potwierdź","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create Account":"Utwórz konto","Creating Account":"Tworzenie konta",Email:"E-mail","Enter your code":"Wprowadź swój kod","Enter your username":"Wprowadź swoją nazwę użytkownika","Family Name":"Nazwisko","Given Name":"Pierwsze imię","Forgot your password?":"Zapomniałeś hasła? ","Hide password":"Ukryj hasło",Loading:"Ładowanie",Username:"Nazwa użytkownika","Middle Name":"Drugie imię",Name:"Imię i nazwisko",Nickname:"Pseudonim","New password":"Nowe hasło",Password:"Hasło","Phone Number":"Numer telefonu","Preferred Username":"Preferowana nazwa użytkownika",Profile:"Profil","Resend Code":"Wyślij kod ponownie","Reset your password":"Zresetuj swoje hasło","Send Code":"Zresetuj hasło","Send code":"Wyślij kod",Sending:"Wysyłanie","Setup TOTP":"Konfiguruj TOTP","Show password":"Pokaż hasło","Sign in":"Zaloguj","Sign In":"Logowanie","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 to your account":"Zaloguj się na swoje konto","Create a new account":"Utwórz nowe konto","Signing in":"Logowanie",Skip:"Pomiń",Submit:"Wyślij",Submitting:"Wysyłanie","Verify Contact":"Weryfikacja danych kontaktowych","Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych",Verify:"Zweryfikuj",Website:"Strona internetowa"}),X=P({},{"Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"Código","Confirm Password":"Confirme a Senha","Reset your Password":"Redefina sua senha","Confirm Sign Up":"Confirmar inscrição","Confirm SMS Code":"Confirme o código SMS","Confirm TOTP Code":"Confirme o código TOTP",Confirm:"confirme","Confirmation Code":"Código de confirmação",Confirming:"Confirmando","Create Account":"Criar Conta","Creating Account":"Criando conta",Email:"O email","Enter your code":"Insira seu código","Enter your username":"entre com seu nome de usuário","Enter your phone number":"Digite seu número de telefone","Enter your email":"Digite seu e-mail","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha",Loading:"Carregando",Username:"Nome do usuário","New password":"Nova Senha",Password:"Senha","Phone Number":"Número de telefone","Resend Code":"Reenviar código","Reset your password":"Redefina sua senha","Send Code":"Enviar código","Send code":"Enviar código",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign In":"Entrar","Sign in":"Entrar","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Faça login no Google","Sign in to your account":"Faça login em sua conta","Create a new account":"Criar uma nova conta","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando","Verify Contact":"Verificar contato","Account recovery requires verified contact information":"A recuperação da conta requer informações de contato verificadas",Verify:"Verificar"}),Z=P({},{"Account recovery requires verified contact information":"账户恢复需要验证过的联系方式","Back to Sign In":"回到登录","Change Password":"更改密码",Code:"确认码",Confirm:"确认","Confirm a Code":"确认码","Confirm Password":"确认密码","Confirm Sign In":"确认登录","Confirm Sign Up":"确认注册",Email:"邮箱","Forgot Password":"忘记密码","Incorrect username or password":"用户名或密码错误","Invalid password format":"密码格式错误","Invalid phone number format":"电话格式错误,请使用格式 +12345678900","New Password":"新密码",or:"或者",Password:"密码","Phone Number":"电话","Resend a Code":"重发确认码","Send Code":"发送确认码","Sign In":"登录","Sign Out":"退出","Sign Up":"注册",Skip:"跳过",Submit:"提交","User already exists":"用户已经存在","User does not exist":"用户不存在",Username:"用户名",Verify:"验证","Verify Contact":"验证联系方式"}),Q=P({},{"Account recovery requires verified contact information":"För att återställa kontot behöver du ett verifierat konto","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt lösenord","Confirm Password":"Bekräfta lösenord",Code:"Kod",Confirm:"Bekräfta","Confirm a Code":"Bekräfta koden","Confirm Sign In":"Bekräfta inloggning","Confirm Sign Up":"Bekräfta registrering","Confirmation Code":"Verifikationskod","Create a new account":"Skapa ett nytt konto","Create account":"Skapa konto","Create Account":"Skapa konto",Email:"E-post","Enter your password":"Ange ditt lösenord","Enter your username":"Ange ditt användarnamn","Forgot Password":"Glömt lösenordet","Forgot your password?":"Glömt ditt lösenord? ","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt användarnamn eller lösenord","Invalid password format":"Ogiltigt lösenordsformat","Invalid phone number format":"Ogiltigt format för telefonnummer","Lost your code? ":"Förlorat koden? ","New Password":"Nytt lösenord","No account? ":"Inget konto? ",or:"eller",Password:"Lösenord","Password attempts exceeded":"Maximalt antal felaktiga inloggningsförsök har uppnåtts","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset password":"Återställ lösenord","Reset your password":"Återställ ditt lösenord","Send code":"Skicka kod","Sign in":"Logga in","Sign In":"Logga in","Sign in to your account":"Logga in till ditt konto","Sign Out":"Logga ut","Sign Up":"Registrering","We Emailed You":"Vi har skickat e-post till dig","Enter your code":"Skriv din kod",Skip:"Hoppa över",Submit:"Skicka","User already exists":"Användaren finns redan","User does not exist":"Användaren finns inte",Username:"Användarnamn","Username cannot be empty":"Användarnamnet kan inte vara tomt",Verify:"Verifiera","Verify Contact":"Verifiera kontakt"}),$=P({},{"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","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.","Back to Sign In":"Kembali ke Masuk","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","Change Password":"Ubah kata sandi",Code:"Kode",Confirm:"Konfirmasi","Confirm a Code":"Konfirmasi kode","Confirm Password":"Konfirmasi kata sandi","Confirmation Code":"Kode Konfirmasi","Create a new account":"Buat akun baru","Create account":"Buat akun","Create Account":"Buat Akun","Creating Account":"Membuat Akun",Confirming:"Mengkonfirmasi",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your password":"Masukkan kata sandi anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot Password":"Lupa kata sandi","Forgot your 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","New password":"Kata sandi baru","No account? ":"Tidak ada akun?",or:"atau",Password:"Kata sandi","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Phone Number":"Nomor telepon","Resend a Code":"Renvoyer un code","Resend Code":"Kirim ulang kodenya","Reset password":"Ubah kata sandi anda","Reset your password":"Ubah kata sandi anda",Send:"Kirim","Send Code":"Kirim Kode","Send code":"Kirim kode",Sending:"Mengirim","Sign in":"Masuk","Sign In":"Masuk","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with AWS":"Masuk dengan AWS","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","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","Signing in":"Memasuki",Skip:"Lewati",SMS:"SMS",Submit:"Ajukan",Submitting:"Mengajukan","User is disabled.":"Akun dinonaktifkan.","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.",Username:"Nama akun","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.",Verify:"Verifikasi","Verify Contact":"Verifikasi Kontak","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"}),J=P({},{"Account recovery requires verified contact information":"Hesap kurtarma, doğrulanmış iletişim bilgilerini gerektirir","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Back to Sign In":"Oturum Açmaya Geri Dön","Change Password":"Şifreyi Değiştir",Changing:"Değiştiriliyor",Code:"Kod",Confirm:"Doğrula","Confirm Password":"Şifreyi Doğrula","Confirm Sign In":"Oturum Açmayı Doğrula","Confirm Sign Up":"Kayıt İşlemini Doğrula","Confirm SMS Code":"SMS Kodunu Doğrula","Confirm TOTP Code":"Tek Kullanımlık Şifreyi Doğrula","Confirmation Code":"Doğrulama Kodu",Confirming:"Doğrulanıyor","Create Account":"Hesap Oluştur","Creating Account":"Hesap Oluşturuluyor",Email:"E-posta","Enter your code":"Kodu girin","Enter your username":"Kullanıcı adınızı girin","Enter your phone number":"Telefon numaranızı girin","Enter your email":"E-posta adresinizi girin","Forgot your password?":"Şifrenizi mi unuttunuz?","Hide password":"Şifreyi gizle","Have an account? ":"Hesabınız var mı? ","Incorrect username or password":"Yanlış kullanıcı adı ya da şifre","Invalid password format":"Geçersiz parola formatı","Invalid phone number format":"Geçersiz telefon numarası formatı","Lost your code? ":"Kodu mu kaybettiniz? ",Loading:"Yükleniyor","New password":"Yeni şifre","No account? ":"Hesabınız yok mu? ",or:"veya",Password:"Şifre","Password attempts exceeded":"Maksimum oturum açma girişimi aşıldı","Phone Number":"Telefon Numarası","Resend Code":"Kodu Yeniden Gönder","Reset your password":"Şifrenizi sıfırlayın","Reset your Password":"Şifrenizi Sıfırlayın","Send Code":"Kod Gönder","Send code":"Kod gönder",Sending:"Gönderiliyor","Setup TOTP":"Tek kullanımlık şifre kurulumu yap","Show password":"Şifreyi göster","Sign in":"Oturum aç","Sign In":"Oturum Aç","Sign In with Amazon":"Amazon ile Oturum Aç","Sign In with Apple":"Apple ile Oturum Aç","Sign In with Facebook":"Facebook ile Oturum Aç","Sign In with Google":"Google ile Oturum Aç","Sign in to your account":"Hesabınızda oturum açın","Create a new account":"Yeni bir hesap oluştur","Signing in":"Oturum açılıyor","Sign Out":"Çıkış yap","Sign Up":"Kayıt Ol",Skip:"Atla",Submit:"Gönder",Submitting:"Gönderiliyor","User already exists":"Bu kullanıcı zaten var","User does not exist":"Böyle bir kullanıcı mevcut değil",Username:"Kullanıcı adı","Username cannot be empty":"Kullanıcı adı boş olamaz","Verify Contact":"Kişiyi Doğrula",Verify:"Doğrula"}),ee=P({},{BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",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_YOUR_PASSWORD:"Forgot your password?",FORGOT_YOUR_PASSWORD_LEGACY:"Forgot your password? ",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WEBSITE:"Website"}),oe=P({},ee);function re(e){return o.I18n.get(e)}var ae={de:M,en:B,es:G,fr:H,id:$,it:j,ja:L,kr:q,nl:K,pl:Y,pt:X,zh:Z,sv:Q,tr:J},ne={birthdate:{label:"Birthdate",labelHidden:!0,placeholder:"Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",labelHidden:!0,placeholder:"Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",labelHidden:!0,placeholder:"Confirm Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",labelHidden:!0,placeholder:"Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",labelHidden:!0,placeholder:"Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",labelHidden:!0,placeholder:"Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",labelHidden:!0,placeholder:"Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",labelHidden:!0,placeholder:"Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",labelHidden:!0,placeholder:"Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",labelHidden:!0,placeholder:"Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",labelHidden:!0,placeholder:"Phone",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:V,isRequired:!0},preferred_username:{label:"Preferred Username",labelHidden:!0,placeholder:"Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",labelHidden:!0,placeholder:"Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",labelHidden:!0,placeholder:"Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",labelHidden:!0,placeholder:"Username",type:"text",autocomplete:"username",isRequired:!0}},te=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],le=function(e){return O.includes(e)},ie=function(e,o){var r=o.send,a=o.getSnapshot();switch(e.payload.event){case"tokenRefresh":a.matches("authenticated.idle")&&r("TOKEN_REFRESH");break;case"signOut":case"tokenRefresh_failure":a.matches("authenticated.idle")&&r("SIGN_OUT")}},se=function(e){return te.some((function(o){return e.includes(o)}))},ue=function(e,o){var r=x(e).country_code,a=ne[o];return"tel"===a.type&&(a=P(P({},a),{dialCode:r})),a},de=function(e){var o=F(e);return P(P({},ue(e,o)),{autocomplete:"username"})},ce=function(e){return{confirmation_code:P(P({},ue(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},ve={signIn:function(e){return{username:P({},de(e)),password:P(P({},ue(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var o=e.context.config,r=o.loginMechanisms,a=o.signUpAttributes,n=F(e),t={},l=0,i=Array.from(new Set(N(N(N([],r,!0),["password","confirm_password"],!1),a,!0)));l<i.length;l++){var s=i[l];if(le(s)){var u=s===n?de(e):ue(e,s);t[s]=P({},u)}else console.debug("Authenticator does not have a default implementation for ".concat(s,". Customize SignUp FormFields to add your own."))}return t},confirmSignUp:function(e){return{confirmation_code:P(P({},ue(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:ce,forceNewPassword:function(e){for(var o=E(e).context.requiredAttributes,r={},a=0,n=Array.from(new Set(N(["password","confirm_password"],o,!0)));a<n.length;a++){var t=n[a];le(t)?r[t]=P({},ue(e,t)):console.debug("Authenticator does not have a default implementation for ".concat(t,". Customize ForceNewPassword FormFields to add your own."))}return r},resetPassword:function(e){var o=F(e),r=ne[o].label;return{username:P(P({},de(e)),{label:"Enter your ".concat(r.toLowerCase()),placeholder:"Enter your ".concat(r.toLowerCase())})}},confirmResetPassword:function(e){return P(P({},ce(e)),{password:P(P({},ue(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:P(P({},ue(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:ce,setupTOTP:ce},me=function(e){for(var o=P({},e),r=0,a=Object.entries(e);r<a.length;r++){var n=a[r],t=n[0],l=n[1],i=l.label,s=l.placeholder;o[t]=P(P({},l),{label:i?re(i):void 0,placeholder:s?re(s):void 0})}return o},ge=function(e){return Object.entries(e).sort((function(e,o){return(e[1].order||Number.MAX_VALUE)-(o[1].order||Number.MAX_VALUE)})).filter((function(e){return void 0!==e[1]}))},fe=function(e,o){void 0===o&&(o={});var r=h.default(e);return Object.keys(o).forEach((function(e){r[e]=P(P({},r[e]),o[e])})),r},pe=function(e,o){var r=(0,ve[e])(o);return me(r)},he=function(e,o){var r,a,n=pe(e,o),t=(null===(a=null===(r=E(o).context)||void 0===r?void 0:r.formFields)||void 0===a?void 0:a[e])||{},l=fe(n,t);return delete l.QR,l},be=function(e){return n.stop(e)},Se=n.assign({attributeToVerify:function(e){}}),Ce=n.assign({challengeName:function(e){}}),we=n.assign({requiredAttributes:function(e){}}),ye=n.assign({remoteError:function(e){return""}}),ke=n.assign({formValues:function(e){return{}}}),Ae=n.assign({touched:function(e){return{}}}),Ie=n.assign({unverifiedAttributes:function(e){}}),Ee=n.assign({username:function(e){}}),xe=n.assign({validationError:function(e){return{}}}),Pe=n.assign({challengeName:function(e,o){var r;return null===(r=o.data)||void 0===r?void 0:r.challengeName}}),_e=n.assign({requiredAttributes:function(e,o){var r,a;return null===(a=null===(r=o.data)||void 0===r?void 0:r.challengeParam)||void 0===a?void 0:a.requiredAttributes}}),Ue=n.assign({redirectIntent:function(e){return"confirmPasswordReset"}}),Re=n.assign({redirectIntent:function(e){return"confirmSignUp"}}),Ne=n.assign({authAttributes:function(e,o){var r,a,n=e.loginMechanisms[0];return{username:null!==(r=e.formValues[n])&&void 0!==r?r:e.formValues.username,password:null===(a=e.formValues)||void 0===a?void 0:a.password}}}),Te=n.assign({validationError:function(e,o){return o.data}}),ze=n.assign({remoteError:function(e,o){var r;return"NoUserPoolError"===o.data.name?"Configuration error (see console) – please contact the administrator":(null===(r=o.data)||void 0===r?void 0:r.message)||o.data}}),Oe=n.assign({unverifiedAttributes:function(e,o){return o.data.unverified}}),Fe=n.assign({user:function(e,o){return o.data.user||o.data}}),De=n.assign({username:function(e,o){var r=e.formValues,a=r.username,n=r.country_code;return n&&(a="".concat(n).concat(a)),a}}),We=n.assign({codeDeliveryDetails:function(e,o){return o.data.codeDeliveryDetails}}),Ve=n.assign({authAttributes:function(e,o){return{username:e.formValues.username}}}),Me=n.assign({formValues:function(e,o){var r,a=o.data,n=a.name,t=a.value;return P(P({},e.formValues),((r={})[n]=t,r))}}),Be=n.assign({formValues:function(e,o){return P(P({},e.formValues),o.data)}}),Ge=n.assign({touched:function(e,o){var r,a=o.data.name;return P(P({},e.touched),((r={})["".concat(a)]=!0,r))}}),He=n.assign({formValues:function(e,o){var r,a,n=e.loginMechanisms[0],t=void 0===n?"username":n;if(!e.formValues.phone_number&&"phone_number"!==t)return e.formValues;var l=e.formValues,i=e.country_code,s=l.phone_number?"phone_number":"username",u="".concat(null!==(a=l.country_code)&&void 0!==a?a:i).concat(l[s]).replace(/[^A-Z0-9+]/gi,""),d=P(P({},l),((r={})[s]=u,r));return delete d.country_code,d}}),je=function(e,o,r,a){return U(void 0,void 0,void 0,(function(){var n,t;return R(this,(function(l){switch(l.label){case 0:return[4,Promise.all(a.map((function(a){return a(e,o,r)})))];case 1:return n=l.sent(),t=C.default.apply(void 0,N([{}],n,!1)),S.default(t)?[2,Promise.resolve()]:[2,Promise.reject(t)]}}))}))},Le={getAmplifyConfig:function(){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Amplify.configure()]}))}))},getCurrentUser:function(){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.currentAuthenticatedUser()]}))}))},handleSignUp:function(e){return U(this,void 0,void 0,(function(){return R(this,(function(r){return[2,o.Auth.signUp(e)]}))}))},handleSignIn:function(e){var r=e.username,a=e.password;return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.signIn(r,a)]}))}))},handleConfirmSignIn:function(e){var r=e.user,a=e.code,n=e.mfaType;return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.confirmSignIn(r,a,n)]}))}))},handleConfirmSignUp:function(e){var r=e.username,a=e.code;return U(this,void 0,void 0,(function(){return R(this,(function(e){switch(e.label){case 0:return[4,o.Auth.confirmSignUp(r,a)];case 1:return[2,e.sent()]}}))}))},handleForgotPasswordSubmit:function(e){var r=e.username,a=e.code,n=e.password;return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.forgotPasswordSubmit(r,a,n)]}))}))},handleForgotPassword:function(e){return U(this,void 0,void 0,(function(){return R(this,(function(r){return[2,o.Auth.forgotPassword(e)]}))}))},validateCustomSignUp:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2]}))}))},validateFormPassword:function(e,o,r){return U(this,void 0,void 0,(function(){var a,n,t,l;return R(this,(function(i){return a=e.password,o.password&&r?(n=[],t=+(null==r?void 0:r.passwordPolicyMinLength),a.length<t&&n.push("Password must have at least ".concat(t," characters")),null==(l=null==r?void 0:r.passwordPolicyCharacters)||l.forEach((function(e){switch(e){case"REQUIRES_LOWERCASE":/[a-z]/.test(a)||n.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(a)||n.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(a)||n.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":se(a)||n.push("Password must have special characters")}})),[2,0!==n.length?{password:n}:null]):[2,null]}))}))},validateConfirmPassword:function(e,o){return U(this,void 0,void 0,(function(){var r,a,n,t;return R(this,(function(l){return r=e.password,a=e.confirm_password,n=o.confirm_password,t=o.password,r||a?(r||a)&&r!==a&&(n&&t||(null==r?void 0:r.length)>=6&&(null==a?void 0:a.length)>=6)?[2,{confirm_password:"Your passwords must match"}]:[2]:[2,null]}))}))},validatePreferredUsername:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2]}))}))}};var qe=a.createMachine({initial:"pending",id:"signOutActor",states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:function(){return o.Auth.signOut()}}});function Ke(e){return e&&Object.keys(e).forEach((function(o){Object.keys(e[o]).forEach((function(r){var a=e[o][r];a.required=a.isRequired}))})),e}var Ye={components:{alert:{alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}},authenticator:{maxWidth:{value:"60rem"},modal:{width:{value:"{space.relative.full}"},height:{value:"{space.relative.full}"},backgroundColor:{value:"{colors.overlay.50.value}"},top:{value:"{space.zero}"},left:{value:"{space.zero}"}},container:{widthMax:{value:"30rem"}},router:{borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"}},footer:{paddingBottom:{value:"{space.medium.value}"}},form:{padding:{value:"{space.xl.value}"}},state:{inactive:{backgroundColor:{value:"{colors.background.secondary.value}"}}},orContainer:{color:{value:"{colors.neutral.80.value}"},orLine:{backgroundColor:{value:"{colors.background.primary.value}"}}}},badge:{color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}},button:{fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:"{space.zero.value}"},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{backgroundColor:{value:"transparent"},borderColor:{value:"transparent"},borderWidth:{value:"{space.zero.value}"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}},loaderWrapper:{alignItems:{value:"center"},gap:{value:"{space.xs.value}"}}},card:{backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}},checkbox:{cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}},checkboxfield:{alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}},collection:{pagination:{current:{color:{value:"{components.pagination.current.color}"},backgroundColor:{value:"{components.pagination.current.backgroundColor}"}},button:{color:{value:"{components.pagination.button.color}"},_hover:{backgroundColor:{value:"{components.pagination.button.hover.backgroundColor}"},color:{value:"{components.pagination.button.hover.color}"}},_disabled:{color:{value:"{components.pagination.button.disabled.color}"}}}},search:{input:{color:{value:"{components.searchfield.color}"}},button:{color:{value:"{components.searchfield.button.color}"},_active:{backgroundColor:{value:"{components.searchfield.button._active.backgroundColor}"},borderColor:{value:"{components.searchfield.button._active.borderColor}"},color:{value:"{components.searchfield.button._active.color}"}},_disabled:{backgroundColor:{value:"{components.searchfield.button._disabled.backgroundColor}"},borderColor:{value:"{components.searchfield.button._disabled.borderColor}"},color:{value:"{components.searchfield.button._disabled.color}"}},_focus:{backgroundColor:{value:"{components.searchfield.button._focus.backgroundColor}"},borderColor:{value:"{components.searchfield.button._focus.borderColor}"},color:{value:"{components.searchfield.button._focus.color}"}},_hover:{backgroundColor:{value:"{components.searchfield.button._hover.backgroundColor}"},borderColor:{value:"{components.searchfield.button._hover.borderColor}"},color:{value:"{components.searchfield.button._hover.color}"}}}}},copy:{fontSize:{value:"{fontSizes.xs}"},gap:{value:"{space.relative.medium}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{fontSizes.xxs}"}}},countrycodeselect:{height:{value:"{space.relative.full.value}"}},divider:{borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}},expander:{display:{value:"block"},backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},field:{gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}},fieldcontrol:{borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderBlockEnd:{value:"{borderWidths.small.value} solid {colors.border.primary.value}"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}",blurRadius:"0px"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}",blurRadius:"0px"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}},fieldgroup:{gap:{value:"{space.zero.value}"},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}},fieldmessages:{error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}},flex:{gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}},heading:{color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}},icon:{lineHeight:{value:1},height:{value:"1em"}},image:{maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}},link:{active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}},loader:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},fontSize:{value:"{fontSizes.xs.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.xxs.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.small.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},fontSize:{value:"{fontSizes.medium.value}"},strokeWidth:{value:"{fontSizes.medium.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{strokeWidth:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{strokeWidth:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.large.value}"}}},text:{fill:{value:"{colors.font.primary.value}"}}},menu:{backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:"{space.zero.value}"},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}},pagination:{current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}},passwordfield:{color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},placeholder:{borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}},radio:{alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.background.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}},rating:{large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}},searchfield:{color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},select:{paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},option:{backgroundColor:{value:"{colors.background.primary.value}"}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}},selectfield:{flexDirection:{value:"column"}},sliderfield:{paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.medium.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}},stepperfield:{flexDirection:{value:"column"},input:{textAlign:{value:"center"}}},switchfield:{_disabled:{opacity:{value:"{opacities.60.value}"}},_focused:{shadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.80.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"}}},table:{borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}},tabs:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}},text:{color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}},textareafield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},textfield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},togglebutton:{borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.font.primary.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.font.primary.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{borderColor:{value:"{colors.border.pressed.value}"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.font.primary.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.background.primary.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.background.primary.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"},boxShadow:{value:"{colors.brand.primary.60.value}"},color:{value:"{colors.background.primary.value}"}}}},link:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"}},_hover:{color:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.transparent.value}"}}}}},togglebuttongroup:{alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}},borderWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},colors:{red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 8%, 55%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.neutral.60.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},quaternary:{value:"{colors.neutral.60.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},pressed:{value:"{colors.brand.primary.100.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}},fonts:{default:{variable:{value:"'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,\n 'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',\n sans-serif"},static:{value:"'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',\n 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif"}}},fontSizes:{xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"2.5rem"},xxxxl:{value:"3rem"}},fontWeights:{hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}},lineHeights:{small:{value:"1.25"},medium:{value:"1.5"},large:{value:"2"}},opacities:{0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}},outlineOffsets:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},outlineWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},radii:{xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}},shadows:{small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}},space:{zero:{value:"0"},xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375em"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"},full:{value:"100%"}}},time:{short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}},transforms:{slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}}},Xe={tokens:Ye,breakpoints:{values:{base:0,small:480,medium:768,large:992,xl:1280,xxl:1536},defaultBreakpoint:"base"},name:"default-theme"};function Ze(e){if(I.default(e)){var o=e.replace(/\{|\}/g,"").replace(".value","").split(".");return"var(--".concat($e({path:o}),")")}return e}function Qe(e){var o=e.value;if("string"==typeof o)return Ze(o);if("object"==typeof o&&"offsetX"in o){var r=o.offsetX,a=void 0===r?"":r,n=o.offsetY,t=void 0===n?"":n,l=o.blurRadius,i=void 0===l?"":l,s=o.spreadRadius,u=void 0===s?"":s,d=o.color,c=void 0===d?"":d;return[Ze(a),Ze(t),Ze(i),Ze(u),Ze(c)].join(" ")}return o}function $e(e){var o=e.path,r=void 0===o?[]:o;return"".concat(A.default(N(["amplify"],r,!0).join(" ")))}function Je(e,o){void 0===o&&(o=[]);var r={};if(e.hasOwnProperty("value"))return function(e,o){var r="--".concat($e({path:o})),a=e.value;return{name:r,path:o,value:Qe(e),original:a,toString:function(){return"var(".concat(r,")")}}}(e,o);for(var a in e)e.hasOwnProperty(a)&&(r[a]=Je(e[a],o.concat(a)));return r}var eo={colorMode:"dark",tokens:{colors:{red:{10:{value:Ye.colors.red[100].value},20:{value:Ye.colors.red[90].value},40:{value:Ye.colors.red[80].value},80:{value:Ye.colors.red[40].value},90:{value:Ye.colors.red[20].value},100:{value:Ye.colors.red[10].value}},orange:{10:{value:Ye.colors.orange[100].value},20:{value:Ye.colors.orange[90].value},40:{value:Ye.colors.orange[80].value},80:{value:Ye.colors.orange[40].value},90:{value:Ye.colors.orange[20].value},100:{value:Ye.colors.orange[10].value}},yellow:{10:{value:Ye.colors.yellow[100].value},20:{value:Ye.colors.yellow[90].value},40:{value:Ye.colors.yellow[80].value},80:{value:Ye.colors.yellow[40].value},90:{value:Ye.colors.yellow[20].value},100:{value:Ye.colors.yellow[10].value}},green:{10:{value:Ye.colors.green[100].value},20:{value:Ye.colors.green[90].value},40:{value:Ye.colors.green[80].value},80:{value:Ye.colors.green[40].value},90:{value:Ye.colors.green[20].value},100:{value:Ye.colors.green[10].value}},teal:{10:{value:Ye.colors.teal[100].value},20:{value:Ye.colors.teal[90].value},40:{value:Ye.colors.teal[80].value},80:{value:Ye.colors.teal[40].value},90:{value:Ye.colors.teal[20].value},100:{value:Ye.colors.teal[10].value}},blue:{10:{value:Ye.colors.blue[100].value},20:{value:Ye.colors.blue[90].value},40:{value:Ye.colors.blue[80].value},80:{value:Ye.colors.blue[40].value},90:{value:Ye.colors.blue[20].value},100:{value:Ye.colors.blue[10].value}},purple:{10:{value:Ye.colors.purple[100].value},20:{value:Ye.colors.purple[90].value},40:{value:Ye.colors.purple[80].value},80:{value:Ye.colors.purple[40].value},90:{value:Ye.colors.purple[20].value},100:{value:Ye.colors.purple[10].value}},pink:{10:{value:Ye.colors.pink[100].value},20:{value:Ye.colors.pink[90].value},40:{value:Ye.colors.pink[80].value},80:{value:Ye.colors.pink[40].value},90:{value:Ye.colors.pink[20].value},100:{value:Ye.colors.pink[10].value}},neutral:{10:{value:Ye.colors.neutral[100].value},20:{value:Ye.colors.neutral[90].value},40:{value:Ye.colors.neutral[80].value},80:{value:Ye.colors.neutral[40].value},90:{value:Ye.colors.neutral[20].value},100:{value:Ye.colors.neutral[10].value}},font:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.100.value}"},tertiary:{value:"{colors.neutral.90.value}"},inverse:{value:"{colors.neutral.10.value}"}},background:{primary:{value:"{colors.neutral.10.value}"},secondary:{value:"{colors.neutral.20.value}"},tertiary:{value:"{colors.neutral.40.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"}},overlay:{10:{value:"hsla(0, 0%, 100%, 0.1)"},20:{value:"hsla(0, 0%, 100%, 0.2)"},30:{value:"hsla(0, 0%, 100%, 0.3)"},40:{value:"hsla(0, 0%, 100%, 0.4)"},50:{value:"hsla(0, 0%, 100%, 0.5)"},60:{value:"hsla(0, 0%, 100%, 0.6)"},70:{value:"hsla(0, 0%, 100%, 0.7)"},80:{value:"hsla(0, 0%, 100%, 0.8)"},90:{value:"hsla(0, 0%, 100%, 0.9)"}}}}};exports.ALLOWED_SPECIAL_CHARACTERS=te,exports.DefaultTexts=oe,exports.LoginMechanismArray=z,exports.applyDefaults=fe,exports.applyTranslation=me,exports.authFieldsWithDefaults=O,exports.censorAllButFirstAndLast=function(e){for(var o=e.trim().split(""),r=0;r<o.length;r++)r>0&&r<o.length-1&&(o[r]="*");return o.join("")},exports.censorPhoneNumber=function(e){if(e.length<4)return e;for(var o=e.split(""),r=0;r<o.length-4;r++)o[r]="*";return o.join("")},exports.countryDialCodes=V,exports.createAuthenticatorMachine=function(){return a.createMachine({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Le,actorRef:void 0,hasSetup:!1},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"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:n.choose([{cond:"hasActor",actions:a.forwardTo((function(e){return e.actorRef}))}]),setUser:a.assign({user:function(e,o){return o.data}}),setActorDoneData:a.assign({actorDoneData:function(e,o){var r,a;return{authAttributes:P({},null===(r=o.data)||void 0===r?void 0:r.authAttributes),intent:null===(a=o.data)||void 0===a?void 0:a.intent}},user:function(e,o){var r;return null===(r=o.data)||void 0===r?void 0:r.user}}),clearUser:a.assign({user:void 0}),clearActorDoneData:a.assign({actorDoneData:void 0}),applyAmplifyConfig:a.assign({config:function(e,o){var r,a,n,t,l,i,s,u,d,c=null!==(a=null===(r=o.data.aws_cognito_username_attributes)||void 0===r?void 0:r.map((function(e){return e.toLowerCase()})))&&void 0!==a?a:[],v=null!==(t=null===(n=o.data.aws_cognito_verification_mechanisms)||void 0===n?void 0:n.map((function(e){return e.toLowerCase()})))&&void 0!==t?t:[],m=null!==(i=null===(l=o.data.aws_cognito_signup_attributes)||void 0===l?void 0:l.map((function(e){return e.toLowerCase()})))&&void 0!==i?i:[],g=null!==(u=null===(s=o.data.aws_cognito_social_providers)||void 0===s?void 0:s.map((function(e){return e.toLowerCase()})))&&void 0!==u?u:[],f=o.data.aws_cognito_password_protection_settings||{};0===c.length&&c.push("username");var p=e.config,h=p.loginMechanisms,b=p.signUpAttributes,S=p.socialProviders,C=p.initialState;return{loginMechanisms:null!=h?h:c,formFields:null!==(d=Ke(p.formFields))&&void 0!==d?d:{},passwordSettings:f,signUpAttributes:null!=b?b:Array.from(new Set(N(N([],v,!0),m,!0))),socialProviders:null!=S?S:g.sort(),initialState:C}}}),spawnSignInActor:a.assign({actorRef:function(e,r){var n,t,l,i,s,u,d=function(e){var r=e.services;return a.createMachine({initial:"init",id:"signInActor",states:{init:{always:[{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:"setUnverifiedAttributes"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"submit",states:{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:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"#signInActor.rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"#signInActor.rejected"},{actions:"setRemoteError",target:"#signInActor.signIn"}]}}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["setUser","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","clearUnverifiedAttributes","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(e){return{user:e.user}}},rejected:{type:"final",data:function(e,o){return{intent:e.redirectIntent,authAttributes:e.authAttributes}}}}},{actions:{clearAttributeToVerify:Se,clearChallengeName:Ce,clearRequiredAttributes:we,clearError:ye,clearFormValues:ke,clearTouched:Ae,clearUnverifiedAttributes:Ie,clearValidationError:xe,handleInput:Me,handleSubmit:Be,handleBlur:Ge,parsePhoneNumber:He,setChallengeName:Pe,setConfirmResetPasswordIntent:Ue,setConfirmSignUpIntent:Re,setRequiredAttributes:_e,setCredentials:Ne,setFieldErrors:Te,setRemoteError:ze,setUnverifiedAttributes:Oe,setUser:Fe,setUsernameAuthAttributes:Ve,sendUpdate:a.sendUpdate()},guards:{shouldConfirmSignIn:function(e,o){var r=b.default(o,"data.challengeName");return[exports.AuthChallengeNames.SMS_MFA,exports.AuthChallengeNames.SOFTWARE_TOKEN_MFA].includes(r)},shouldAutoSignIn:function(e){return"autoSignIn"===(null==e?void 0:e.intent)},shouldRedirectToConfirmSignUp:function(e,o){return"UserNotConfirmedException"===o.data.code},shouldRedirectToConfirmResetPassword:function(e,o){return"PasswordResetRequiredException"===o.data.code},shouldSetupTOTP:function(e,o){return b.default(o,"data.challengeName")===exports.AuthChallengeNames.MFA_SETUP},shouldForceChangePassword:function(e,o){return b.default(o,"data.challengeName")===exports.AuthChallengeNames.NEW_PASSWORD_REQUIRED},shouldRequestVerification:function(e,o){var r=o.data,a=r.unverified,n=r.verified;return S.default(n)&&!S.default(a)}},services:{signIn:function(e){return U(this,void 0,void 0,(function(){var o,a,n,t,l,i,s;return R(this,(function(u){switch(u.label){case 0:return o=e.authAttributes,a=void 0===o?{}:o,n=e.formValues,t=void 0===n?{}:n,l=P(P({},a),t),i=l.username,s=l.password,[4,r.handleSignIn({username:i,password:s})];case 1:return[2,u.sent()]}}))}))},confirmSignIn:function(e,a){return U(this,void 0,void 0,(function(){var a,n,t,l;return R(this,(function(i){switch(i.label){case 0:return a=e.challengeName,n=e.user,t=e.formValues.confirmation_code,a!==exports.AuthChallengeNames.SMS_MFA&&a!==exports.AuthChallengeNames.SOFTWARE_TOKEN_MFA||(l=a),[4,r.handleConfirmSignIn({user:n,code:t,mfaType:l})];case 1:return i.sent(),[4,o.Auth.currentAuthenticatedUser()];case 2:return[2,i.sent()]}}))}))},forceNewPassword:function(e,r){return U(this,void 0,void 0,(function(){var r,a,n,t,l,i,s,u,d;return R(this,(function(c){switch(c.label){case 0:r=e.user,a=e.formValues,n=a.password,t=a.phone_number,l=a.country_code,i=_(a,["password","confirm_password","phone_number","country_code"]),t&&(s="".concat(l).concat(t).replace(/[^A-Z0-9+]/gi,""),i=P(P({},i),{phone_number:s})),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,o.Auth.completeNewPassword(r,n,i)];case 2:return(u=c.sent()).challengeName?[2,u]:[2,o.Auth.currentAuthenticatedUser()];case 3:return d=c.sent(),[2,Promise.reject(d)];case 4:return[2]}}))}))},verifyTotpToken:function(e,r){return U(this,void 0,void 0,(function(){var r,a;return R(this,(function(n){return r=e.user,a=e.formValues.confirmation_code,[2,o.Auth.verifyTotpToken(r,a)]}))}))},federatedSignIn:function(e,r){return U(this,void 0,void 0,(function(){var e;return R(this,(function(a){switch(a.label){case 0:return e=r.data.provider,[4,o.Auth.federatedSignIn({provider:e})];case 1:return[2,a.sent()]}}))}))},checkVerifiedContact:function(e,r){return U(this,void 0,void 0,(function(){var r;return R(this,(function(a){switch(a.label){case 0:return r=e.user,[4,o.Auth.verifiedContact(r)];case 1:return[2,a.sent()]}}))}))},verifyUser:function(e,r){return U(this,void 0,void 0,(function(){var r,a;return R(this,(function(n){switch(n.label){case 0:return r=e.formValues.unverifiedAttr,[4,o.Auth.verifyCurrentUserAttribute(r)];case 1:return a=n.sent(),e.attributeToVerify=r,[2,a]}}))}))},confirmVerifyUser:function(e,r){return U(this,void 0,void 0,(function(){var r,a;return R(this,(function(n){switch(n.label){case 0:return r=e.attributeToVerify,a=e.formValues.confirmation_code,[4,o.Auth.verifyCurrentUserAttributeSubmit(r,a)];case 1:return[2,n.sent()]}}))}))},validateFields:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(o){return[2,je(e.formValues,e.touched,e.passwordSettings,[Le.validateConfirmPassword])]}))}))}}})}({services:e.services}).withContext({authAttributes:null!==(t=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==t?t:{},user:e.user,intent:null===(l=e.actorDoneData)||void 0===l?void 0:l.intent,country_code:"+1",formValues:{},touched:{},validationError:{},loginMechanisms:null===(i=e.config)||void 0===i?void 0:i.loginMechanisms,socialProviders:null===(s=e.config)||void 0===s?void 0:s.socialProviders,formFields:null===(u=e.config)||void 0===u?void 0:u.formFields});return a.spawn(d,{name:"signInActor"})}}),spawnSignUpActor:a.assign({actorRef:function(e,r){var n,t,l,i,s,u,d,c=function(e){var r=e.services;return a.createMachine({id:"signUpActor",initial:"init",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"]},{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(e,o){var r=e.authAttributes,a=r.username,n=r.password;return{user:b.default(o,"data.user")||e.user,authAttributes:{username:a,password:n},intent:e.intent}}}}},{guards:{isUserAlreadyConfirmed:function(e,o){return"User is already confirmed."===o.data.message},shouldInitConfirmSignUp:function(e){return e.intent&&"confirmSignUp"===e.intent},shouldSkipConfirm:function(e,o){return o.data.userConfirmed}},actions:{clearError:ye,clearFormValues:ke,clearTouched:Ae,clearValidationError:xe,handleInput:Me,handleSubmit:Be,handleBlur:Ge,parsePhoneNumber:He,setCredentials:Ne,setFieldErrors:Te,setRemoteError:ze,setCodeDeliveryDetails:We,setUser:Fe,sendUpdate:a.sendUpdate(),setAutoSignInIntent:a.assign({intent:function(e){return"autoSignIn"}})},services:{confirmSignUp:function(e,o){return U(this,void 0,void 0,(function(){var o,a,n,t,l;return R(this,(function(i){switch(i.label){case 0:return o=e.user,a=e.authAttributes,n=e.formValues,t=n.confirmation_code,l=b.default(o,"username")||b.default(a,"username"),[4,r.handleConfirmSignUp({username:l,code:t})];case 1:return[2,i.sent()]}}))}))},resendConfirmationCode:function(e,r){return U(this,void 0,void 0,(function(){var r,a,n;return R(this,(function(t){return r=e.user,a=e.authAttributes,n=b.default(r,"username")||b.default(a,"username"),[2,o.Auth.resendSignUp(n)]}))}))},federatedSignIn:function(e,r){return U(this,void 0,void 0,(function(){var e;return R(this,(function(a){switch(a.label){case 0:return e=r.data.provider,[4,o.Auth.federatedSignIn({provider:e})];case 1:return[2,a.sent()]}}))}))},signUp:function(e,o){return U(this,void 0,void 0,(function(){var o,a,n,t,l,i,s;return R(this,(function(u){switch(u.label){case 0:return o=e.formValues,a=e.loginMechanisms,n=a[0],l=(t=o)[void 0===n?"username":n],i=t.password,s=w.default(o,(function(e,o){switch(o){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 o.startsWith("custom:")}})),[4,r.handleSignUp({username:l,password:i,attributes:s})];case 1:return[2,u.sent()]}}))}))},validateSignUp:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(o){return[2,je(e.formValues,e.touched,e.passwordSettings,[r.validateFormPassword,r.validateConfirmPassword,r.validatePreferredUsername,r.validateCustomSignUp])]}))}))}}})}({services:e.services}).withContext({authAttributes:null!==(t=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==t?t:{},country_code:"+1",intent:null===(l=e.actorDoneData)||void 0===l?void 0:l.intent,formValues:{},touched:{},validationError:{},loginMechanisms:null===(i=e.config)||void 0===i?void 0:i.loginMechanisms,socialProviders:null===(s=e.config)||void 0===s?void 0:s.socialProviders,formFields:null===(u=e.config)||void 0===u?void 0:u.formFields,passwordSettings:null===(d=e.config)||void 0===d?void 0:d.passwordSettings});return a.spawn(c,{name:"signUpActor"})}}),spawnResetPasswordActor:a.assign({actorRef:function(e,o){var r,n,t,l,i=function(e){var o=e.services;return a.createMachine({id:"resetPasswordActor",initial:"init",states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset"},{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:ye,clearFormValues:ke,clearTouched:Ae,clearUsername:Ee,clearValidationError:xe,handleInput:Me,handleSubmit:Be,handleBlur:Ge,setFieldErrors:Te,setRemoteError:ze,setUsername:De,sendUpdate:a.sendUpdate()},guards:{shouldAutoConfirmReset:function(e,o){return!(!e.intent||"confirmPasswordReset"!==e.intent)}},services:{resetPassword:function(e){return U(this,void 0,void 0,(function(){var r;return R(this,(function(a){return r=e.username,[2,o.handleForgotPassword(r)]}))}))},confirmResetPassword:function(e){return U(this,void 0,void 0,(function(){var r,a,n,t;return R(this,(function(l){return r=e.username,a=e.formValues,n=a.confirmation_code,t=a.password,[2,o.handleForgotPasswordSubmit({username:r,code:n,password:t})]}))}))},validateFields:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(o){return[2,je(e.formValues,e.touched,e.passwordSettings,[Le.validateConfirmPassword])]}))}))}}})}({services:e.services}).withContext({formValues:{},touched:{},intent:null===(r=e.actorDoneData)||void 0===r?void 0:r.intent,username:null===(t=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)||void 0===t?void 0:t.username,formFields:null===(l=e.config)||void 0===l?void 0:l.formFields,validationError:{}});return a.spawn(i,{name:"resetPasswordActor"})}}),spawnSignOutActor:a.assign({actorRef:function(e){var o=qe.withContext({user:e.user});return a.spawn(o,{name:"signOutActor"})}}),stopSignInActor:be("signInActor"),stopSignUpActor:be("signUpActor"),stopResetPasswordActor:be("resetPasswordActor"),stopSignOutActor:be("signOutActor"),configure:a.assign((function(e,o){var r=o.data,a=r.services,n=_(r,["services"]);return{services:P(P({},Le),a),config:n}})),setHasSetup:a.assign({hasSetup:!0})},guards:{isInitialStateSignUp:function(e){return"signUp"===e.config.initialState},isInitialStateResetPassword:function(e){return"resetPassword"===e.config.initialState},shouldRedirectToSignUp:function(e,o){var r;return"confirmSignUp"===(null===(r=o.data)||void 0===r?void 0:r.intent)},shouldRedirectToResetPassword:function(e,o){var r;return"confirmPasswordReset"===(null===(r=o.data)||void 0===r?void 0:r.intent)},shouldAutoSignIn:function(e,o){var r;return"autoSignIn"===(null===(r=o.data)||void 0===r?void 0:r.intent)},shouldSetup:function(e){return!1===e.hasSetup},hasActor:function(e){return!!e.actorRef}},services:{getCurrentUser:function(e,o){return e.services.getCurrentUser()},getAmplifyConfig:function(e,o){return e.services.getAmplifyConfig()}}})},exports.createTheme=function(e,o){void 0===o&&(o=Xe);var r=y.default([{},o,e]),a=Je(r.tokens),n=r.breakpoints,t=r.name,l='[data-amplify-theme="'.concat(t,'"] {\n')+k.default(a).map((function(e){return"".concat(e.name,": ").concat(e.value,";")})).join("\n")+"\n}\n",i=[];return r.overrides&&(i=r.overrides.map((function(e){var o=Je(e.tokens),a=k.default(o).map((function(e){return"".concat(e.name,": ").concat(e.value,";")})).join("\n");if("selector"in e&&(l+="\n".concat(e.selector," {\n").concat(a,"\n}\n")),"mediaQuery"in e&&(l+="\n@media (".concat(e.mediaQuery,') {\n [data-amplify-theme="').concat(t,'"] {\n ').concat(a,"\n }\n}\n")),"breakpoint"in e){var n=r.breakpoints.values[e.breakpoint];l+="\n@media (min-width: ".concat(n,'px) {\n [data-amplify-theme="').concat(t,'"] {\n ').concat(a,"\n }\n}\n")}return"colorMode"in e&&(l+="\n@media (prefers-color-scheme: ".concat(e.colorMode,') {\n [data-amplify-theme="').concat(t,'"][data-amplify-color-mode="system"] {\n').concat(a,"\n}\n }\n"),l+='\n[data-amplify-theme="'.concat(t,'"][data-amplify-color-mode="').concat(e.colorMode,'"] {\n').concat(a,"\n}\n")),P(P({},e),{tokens:o})}))),{tokens:a,breakpoints:n,name:t,cssText:l,overrides:i}},exports.cssNameTransform=$e,exports.defaultAuthHubHandler=ie,exports.defaultDarkModeOverride=eo,exports.defaultFormFieldOptions=ne,exports.defaultFormFieldsGetters=ve,exports.defaultTheme=Xe,exports.getActorContext=x,exports.getActorState=E,exports.getConfiguredAliases=function(e){var o,r=(null===(o=e.config)||void 0===o?void 0:o.loginMechanisms).filter((function(e){return p.default(z,e)}));return{primaryAlias:r[0],secondaryAliases:r.slice(1)}},exports.getDefaultFormFields=pe,exports.getErrors=function(e){return e?(o=e,Array.isArray(o)?e:[e]):null;var o},exports.getFormDataFromEvent=function(e){var o=new FormData(e.target);return Object.fromEntries(o)},exports.getFormFields=he,exports.getPrimaryAlias=F,exports.getSendEventAliases=D,exports.getServiceContextFacade=W,exports.getServiceFacade=function(e){var o=e.send,r=e.state,a=D(o),n=W(r);return P(P({},a),n)},exports.getSortedFormFields=function(e,o){var r=he(e,o);return ge(r)},exports.hasSpecialChars=se,exports.hasTranslation=function(e){return o.I18n.get(e)!==e},exports.isAuthFieldWithDefaults=le,exports.isDesignToken=function(e){return"object"==typeof e&&e.hasOwnProperty("value")},exports.listenToAuthHub=function(e,r){return void 0===r&&(r=ie),o.Hub.listen("auth",(function(o){r(o,e)}))},exports.setFormOrder=function(e,o){var r=[];return e&&(r=Object.keys(e).reduce((function(o,r){var a;return o.push([r,null===(a=e[r])||void 0===a?void 0:a.order]),o}),[]).sort((function(e,o){return e[1]-o[1]})).filter((function(e){return void 0!==e[1]})).map((function(e){return e[0]}))),Array.from(new Set(N(N([],r,!0),o,!0)))},exports.signUpFieldsWithDefault=T,exports.signUpFieldsWithoutDefault=["address","gender","locale","picture","updated_at","zoneinfo"],exports.sortFormFields=ge,exports.translate=re,exports.translations=ae;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("lodash/includes"),o=require("aws-amplify"),r=require("lodash/cloneDeep"),a=require("xstate"),n=require("xstate/lib/actions"),t=require("lodash/get"),l=require("lodash/isEmpty"),i=require("lodash/merge"),s=require("lodash/pickBy"),u=require("style-dictionary/lib/utils/deepExtend"),d=require("style-dictionary/lib/utils/flattenProperties"),c=require("lodash/kebabCase"),v=require("style-dictionary/lib/utils/references/usesReference");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g,f,p=m(e),h=m(r),b=m(t),S=m(l),C=m(i),w=m(s),y=m(u),k=m(d),A=m(c),I=m(v),E=function(e){var o;return null===(o=e.context.actorRef)||void 0===o?void 0:o.getSnapshot()},x=function(e){var o;return null===(o=E(e))||void 0===o?void 0:o.context};exports.AuthChallengeNames=void 0,(g=exports.AuthChallengeNames||(exports.AuthChallengeNames={})).SMS_MFA="SMS_MFA",g.SOFTWARE_TOKEN_MFA="SOFTWARE_TOKEN_MFA",g.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",g.RESET_REQUIRED="RESET_REQUIRED",g.MFA_SETUP="MFA_SETUP",exports.FederatedIdentityProviders=void 0,(f=exports.FederatedIdentityProviders||(exports.FederatedIdentityProviders={})).Apple="SignInWithApple",f.Amazon="LoginWithAmazon",f.Facebook="Facebook",f.Google="Google";var P=function(){return P=Object.assign||function(e){for(var o,r=1,a=arguments.length;r<a;r++)for(var n in o=arguments[r])Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);return e},P.apply(this,arguments)};function _(e,o){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&o.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)o.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r}function U(e,o,r,a){return new(r||(r=Promise))((function(n,t){function l(e){try{s(a.next(e))}catch(e){t(e)}}function i(e){try{s(a.throw(e))}catch(e){t(e)}}function s(e){var o;e.done?n(e.value):(o=e.value,o instanceof r?o:new r((function(e){e(o)}))).then(l,i)}s((a=a.apply(e,o||[])).next())}))}function R(e,o){var r,a,n,t,l={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return t={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function i(t){return function(i){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,a&&(n=2&t[0]?a.return:t[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,t[1])).done)return n;switch(a=0,n&&(t=[2&t[0],n.value]),t[0]){case 0:case 1:n=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(n=l.trys,(n=n.length>0&&n[n.length-1])||6!==t[0]&&2!==t[0])){l=0;continue}if(3===t[0]&&(!n||t[1]>n[0]&&t[1]<n[3])){l.label=t[1];break}if(6===t[0]&&l.label<n[1]){l.label=n[1],n=t;break}if(n&&l.label<n[2]){l.label=n[2],l.ops.push(t);break}n[2]&&l.ops.pop(),l.trys.pop();continue}t=o.call(e,l)}catch(e){t=[6,e],a=0}finally{r=n=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,i])}}}function N(e,o,r){if(r||2===arguments.length)for(var a,n=0,t=o.length;n<t;n++)!a&&n in o||(a||(a=Array.prototype.slice.call(o,0,n)),a[n]=o[n]);return e.concat(a||Array.prototype.slice.call(o))}var T=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],z=["username","email","phone_number"],O=N(N(N([],z,!0),T,!0),["confirmation_code","password","confirm_password"],!1),F=function(e){var o,r=null===(o=null==e?void 0:e.context.config)||void 0===o?void 0:o.loginMechanisms;return(null!=r?r:["username"])[0]},D=function(e){var o=function(o){return function(r){return e({type:o,data:r})}};return{resendCode:o("RESEND"),signOut:o("SIGN_OUT"),submitForm:o("SUBMIT"),updateForm:o("CHANGE"),updateBlur:o("BLUR"),toFederatedSignIn:o("FEDERATED_SIGN_IN"),toResetPassword:o("RESET_PASSWORD"),toSignIn:o("SIGN_IN"),toSignUp:o("SIGN_UP"),skipVerification:o("SKIP")}},W=function(e){var o,r,a=null===(o=e.context)||void 0===o?void 0:o.user,n=E(e),t=x(e),l=null==t?void 0:t.remoteError,i=P({},null==t?void 0:t.validationError),s=null==t?void 0:t.codeDeliveryDetails,u=Object.keys(i).length>0,d=e.hasTag("pending")||(null===(r=E(e))||void 0===r?void 0:r.hasTag("pending")),c=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 null==n?void 0:n.matches("autoSignIn"):return"autoSignIn";case null==n?void 0:n.matches("confirmSignUp"):return"confirmSignUp";case null==n?void 0:n.matches("confirmSignIn"):return"confirmSignIn";case null==n?void 0:n.matches("setupTOTP"):return"setupTOTP";case null==n?void 0:n.matches("signIn"):return"signIn";case null==n?void 0:n.matches("signUp"):return"signUp";case null==n?void 0:n.matches("forceNewPassword"):return"forceNewPassword";case null==n?void 0:n.matches("resetPassword"):return"resetPassword";case null==n?void 0:n.matches("confirmResetPassword"):return"confirmResetPassword";case null==n?void 0:n.matches("verifyUser"):return"verifyUser";case null==n?void 0:n.matches("confirmVerifyUser"):return"confirmVerifyUser";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),v=function(e){switch(e){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(c);return{error:l,hasValidationErrors:u,isPending:d,route:c,authStatus:v,user:a,validationErrors:i,codeDeliveryDetails:s}},V=["+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"],M=P({},{"Account recovery requires verified contact information":"Zurücksetzen des Account benötigt einen verifizierten Account","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Back to Sign In":"Zurück zur Anmeldung","Change Password":"Passwort ändern",Code:"Code",Confirm:"Bestätigen","Confirm Password":"Passwort bestätigen","Confirm a Code":"Code bestätigen","Confirm Sign In":"Anmeldung bestätigen","Confirm Sign Up":"Registrierung bestätigen","Confirm SMS Code":"SMS-Code bestätigen","Confirm TOTP Code":"TOTP-Code bestätigen","Confirmation Code":"Bestätigungs-Code","Create a new account":"Einen neuen Account erstellen","Create account":"Hier registrieren","Create Account":"Account erstellen","Creating Account":"Account wird erstellt",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your password":"Geben Sie Ihr Passwort ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your email":"Geben Sie ihre Email ein","Forgot your password?":"Passwort vergessen? ","Forgot Password":"Passwort vergessen","Hide password":"Passwort verbergen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ungültiges Passwort-Format","Invalid phone number format":"Ungültiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ",or:"oder",Password:"Passwort","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset password":"Passwort zurücksetzen","Reset your password":"Zurücksetzen des Passworts","Send Code":"Code senden","Sign in":"Anmelden","Sign In":"Anmelden","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign Out":"Abmelden","Sign Up":"Registrieren",Skip:"Überspringen",Submit:"Abschicken","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht",Username:"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein",Verify:"Verifizieren","Verify Contact":"Kontakt verifizieren"}),B=P({},{"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:"Confirm","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create Account":"Create Account","Creating Account":"Creating Account",Email:"Email","Enter your code":"Enter your code","Enter your username":"Enter your username","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Forgot your password?":"Forgot your password?","Hide password":"Hide password",Loading:"Loading",Username:"Username","New password":"New password",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send Code":"Send Code","Send code":"Send code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in":"Sign in","Sign In":"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 to your account":"Sign in to your account","Create a new account":"Create a new account","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting","Verify Contact":"Verify Contact",Verify:"Verify"}),G=P({},{"Account recovery requires verified contact information":"La recuperación de la cuenta requiere información de contacto verificada","Back to Sign In":"Volver a inicio de sesión","Change Password":"Cambiar contraseña",Changing:"Cambiando",Code:"Código",Confirm:"Confirmar","Confirm a Code":"Confirmar un código","Confirm Password":"Confirmar contraseña","Confirm Sign In":"Confirmar inicio de sesión","Confirm Sign Up":"Confirmar registro","Confirm TOTP Code":"Confirmar código TOTP","Confirmation Code":"Código de confirmación",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Creating Account":"Creando cuenta",Email:"Email","Forgot Password":"Olvidé mi contraseña","Incorrect username or password":"Nombre de usuario o contraseña incorrecta","Invalid password format":"Formato de contraseña inválido","Invalid phone number format":"Formato de número de teléfono inválido","Forgot your password?":"¿Olvidó su contraseña?","Hide password":"Ocultar contraseña","Loading...":"Cargando...","New Password":"Nueva contraseña",or:"o",Password:"Contraseña","Phone Number":"Número de teléfono","Resend a Code":"Reenviar un código","Reset your password":"Restablecer su contraseña","Reset your Password":"Restablecer su Contraseña","Resend Code":"Reenviar código","Send Code":"Enviar código",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contraseña","Sign in":"Iniciar sesión","Sign In":"Iniciar Sesión","Sign In with Amazon":"Iniciar Sesión con Amazon","Sign In with Apple":"Iniciar Sesión con Apple","Sign In with Facebook":"Iniciar Sesión con Facebook","Sign In with Google":"Iniciar Sesión con Google","Sign in to your account":"Iniciar sesión en tu cuenta","Sign Out":"Cerrar sesión","Sign Up":"Crear cuenta","Signing in":"Iniciando sesión",Skip:"Omitir",Submit:"Enviar","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe",Username:"Nombre de usuario","Username cannot be empty":"El nombre de usuario no puede estar vacío",Verify:"Verificar","Verify Contact":"Verificar contacto"}),H=P({},{"Account recovery requires verified contact information":"La récupération du compte nécessite des informations de contact vérifiées","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe déjà.","Back to Sign In":"Retour à la connexion",Change:"Modifier","Change Password":"Modifier le mot de passe",Code:"Code",Confirm:"Confirmer","Confirm a Code":"Confirmer un code","Confirm Password":"Confirmez le mot de passe","Confirm Sign In":"Confirmer la connexion","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP","Confirmation Code":"Code de confirmation","Create a new account":"Créer un nouveau compte","Create account":"Créer un compte","Create Account":"Créer un compte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your password":"Saisissez votre mot de passe","Enter your phone number":"Saisissez votre numéro de téléphone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot Password":"Mot de passe oublié","Forgot your password?":"Mot de passe oublié ? ","Have an account? ":"Déjà un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de numéro de téléphone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur réseau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ",or:"ou",Password:"Mot de passe","Phone Number":"Numéro de téléphone","Resend a Code":"Renvoyer un code","Resend Code":"Renvoyer le code","Reset password":"Réinitialisez votre mot de passe","Reset your password":"Réinitialisez votre mot de passe",Send:"Envoyer","Send Code":"M'envoyer un code","Sign in":"Se connecter","Sign In":"Se connecter","Sign in to your account":"Connexion à votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with AWS":"Se connecter avec AWS","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign Out":"Déconnexion","Sign Up":"S'inscrire",Skip:"Passer",SMS:"SMS",Submit:"Soumettre","User already exists":"L'utilisateur existe déjà","User does not exist":"L'utilisateur n'existe pas",Username:"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur doit être renseigné","Username/client id combination not found.":"L'utilisateur n'existe pas",Verify:"Vérifier","Verify Contact":"Vérifier le contact"}),j=P({},{"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","An account with the given email already exists.":"Questa email è già utilizzata da un'altro account.","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Code:"Codice",Confirm:"Conferma","Confirm a Code":"Conferma un codice","Confirm Password":"Conferma la password","Confirm Sign In":"Conferma l'accesso","Confirm Sign Up":"Conferma registrazione","Confirmation Code":"Codice di verifica","Create a new account":"Crea un nuovo account","Create account":"Crea account","Create Account":"Crea Account",Email:"Email","Enter your password":"Inserisci la tua password","Enter your username":"Inserisci il tuo nome utente","Forgot Password":"Password dimenticata","Forgot your password?":"Password dimenticata?","Have an account? ":"Già registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password",or:"o","No account? ":"Non hai un account?",Password:"Password","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti è stato raggiunto","Phone Number":"Numero di telefono","Resend Code":"Rispedisci codice","Reset password":"Reimposta password","Reset your password":"Reimposta la tua password","Send Code":"Invia codice","Sign in":"Accesso","Sign In":"Accesso","Sign in to your account":"Accedi al tuo account","Sign Out":"Esci","Sign Up":"Registrati",Skip:"Salta",Submit:"Invia","User already exists":"Utente già esistente","User does not exist":"Utente inesistente",Username:"Nome utente","Username cannot be empty":"Il nome utente non può essere vuoto",Verify:"Verifica","Verify Contact":"Verifica contatto"}),L=P({},{"Account recovery requires verified contact information":"アカウントの復旧には確認済みの連絡先が必要です","An account with the given email already exists.":"入力されたメールアドレスのアカウントが既に存在します","Back to Sign In":"サインインに戻る","Change Password":"パスワードを変える ",Code:"コード",Confirm:"確定","Confirm a Code":"コードを確認","Confirm Password":"パスワードの確認","Confirm Sign In":"サインインする","Confirm Sign Up":"登録する","Confirmation Code":"確認コード","Create a new account":"新しいアカウントを作る","Create account":"アカウントを作る ","Create Account":"アカウントを作る",Email:"メールアドレス","Enter your password":"パスワードを入力 ","Enter your username":"ユーザー名を入力 ","Forgot Password":"パスワードを忘れた ","Forgot your password?":"パスワードを忘れましたか? ","Have an account? ":"アカウントを持っていますか?","Incorrect username or password":"ユーザー名かパスワードが異なります ","Invalid password format":"パスワードの形式が無効です ","Invalid phone number format":"不正な電話番号の形式です。\n+12345678900 の形式で入力してください","Lost your code? ":"コードを失くしましたか?","New Password":"新しいパスワード","No account? ":"アカウントが無いとき ",or:"又は",Password:"パスワード ","Password attempts exceeded":"サインインの試行回数が上限に達しました","Phone Number":"電話番号","Resend Code":"コードを再送信","Reset password":"パスワードをリセット ","Reset your password":"パスワードをリセットする","Send Code":"コードを送信","Sign in":"サインイン","Sign In":"サインイン ","Sign in to your account":"アカウントにサインイン ","Sign In with Amazon":"Amazonでサインイン","Sign In with Facebook":"Facebookでサインイン","Sign In with Google":"Googleでサインイン","Sign Out":"サインアウト ","Sign Up":"登録 ",Skip:"スキップ",Submit:"送信","User already exists":"既にユーザーが存在しています ","User does not exist":"ユーザーが存在しません ",Username:"ユーザー名 ","Username cannot be empty":"ユーザー名は入力必須です",Verify:"確認","Verify Contact":"連絡先を確認"}),q=P({},{"Back to Sign In":"로그인으로 돌아가기",Birthdate:"생년월일","Change Password":"비밀번호 변경하기",Changing:"변경중",Code:"코드","Confirm Password":"비밀번호 재확인","Reset your Password":"비밀번호 재설정","Confirm Sign Up":"회원가입 확인","Confirm SMS Code":"휴대폰 본인 확인","Confirm TOTP Code":"TOTP 인증번호 확인",Confirm:"확인","Confirmation Code":"인증번호",Confirming:"확인중","Create Account":"회원가입","Creating Account":"회원가입중",Email:"이메일","Enter your code":"인증번호를 입력해주세요","Enter your username":"아이디를 입력해주세요","Family Name":"성","Given Name":"이름","Forgot your password?":"비밀번호를 잊으셨나요?","Hide password":"비밀번호 숨기기",Loading:"로딩중",Username:"아이디",Name:"성함",Nickname:"닉네임","New password":"새 비밀번호",Password:"비밀번호","Phone Number":"전화번호","Preferred Username":"닉네임",Profile:"프로필","Resend Code":"인증번호 재전송","Reset your password":"비밀번호 재설정","Reset Password":"비밀번호 재설정","Send code":"인증코드 보내기",Sending:"전송중","Setup TOTP":"TOTP 설정하기","Show password":"비밀번호 보이기","Sign in":"로그인","Sign In":"로그인","Sign In with Amazon":"Amazon 로그인","Sign In with Apple":"Apple 로그인","Sign In with Facebook":"Facebook 로그인","Sign In with Google":"Google 로그인","Sign in to your account":"로그인","Create a new account":"회원가입","Signing in":"로그인중",Skip:"다음에 하기",Submit:"확인",Submitting:"확인중","Verify Contact":"연락처 확인","Account recovery requires verified contact information":"계정 복구를 위해 연락처 확인이 필요합니다",Verify:"인증",Website:"웹사이트"}),K=P({},{"Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Reset your Password":"Wachtwoord resetten","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 Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt",Email:"E-mail","Enter your code":"Vul je code in","Enter your username":"Vul je gebruikersnaam in","Enter your phone number":"Vul je telefoonnummer in","Enter your email":"Vul je e-mail in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord",Loading:"Laden",Username:"Gebruikersnaam","New password":"Nieuw wachtwoord",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","Reset your password":"Reset je wachtwoord","Send Code":"Verstuur Code","Send code":"Verstuur code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in":"Inloggen","Sign In":"Inloggen","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 to your account":"Inloggen op je account","Create a new account":"Nieuw account aanmaken","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd","Verify Contact":"Verifieer Contact","Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens",Verify:"Verifieer"}),Y=P({},{"Back to Sign In":"Powrót do logowania",Birthdate:"Data urodzenia","Change Password":"Zmień hasło",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierdź Hasło","Reset your Password":"Zresetuj swoje hasło","Confirm Sign Up":"Potwierdź rejestrację","Confirm SMS Code":"Potwierdź kod SMS","Confirm TOTP Code":"Potwierdź hasło jednorazowe",Confirm:"Potwierdź","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create Account":"Utwórz konto","Creating Account":"Tworzenie konta",Email:"E-mail","Enter your code":"Wprowadź swój kod","Enter your username":"Wprowadź swoją nazwę użytkownika","Family Name":"Nazwisko","Given Name":"Pierwsze imię","Forgot your password?":"Zapomniałeś hasła? ","Hide password":"Ukryj hasło",Loading:"Ładowanie",Username:"Nazwa użytkownika","Middle Name":"Drugie imię",Name:"Imię i nazwisko",Nickname:"Pseudonim","New password":"Nowe hasło",Password:"Hasło","Phone Number":"Numer telefonu","Preferred Username":"Preferowana nazwa użytkownika",Profile:"Profil","Resend Code":"Wyślij kod ponownie","Reset your password":"Zresetuj swoje hasło","Send Code":"Zresetuj hasło","Send code":"Wyślij kod",Sending:"Wysyłanie","Setup TOTP":"Konfiguruj TOTP","Show password":"Pokaż hasło","Sign in":"Zaloguj","Sign In":"Logowanie","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 to your account":"Zaloguj się na swoje konto","Create a new account":"Utwórz nowe konto","Signing in":"Logowanie",Skip:"Pomiń",Submit:"Wyślij",Submitting:"Wysyłanie","Verify Contact":"Weryfikacja danych kontaktowych","Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych",Verify:"Zweryfikuj",Website:"Strona internetowa"}),X=P({},{"Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"Código","Confirm Password":"Confirme a Senha","Reset your Password":"Redefina sua senha","Confirm Sign Up":"Confirmar inscrição","Confirm SMS Code":"Confirme o código SMS","Confirm TOTP Code":"Confirme o código TOTP",Confirm:"confirme","Confirmation Code":"Código de confirmação",Confirming:"Confirmando","Create Account":"Criar Conta","Creating Account":"Criando conta",Email:"O email","Enter your code":"Insira seu código","Enter your username":"entre com seu nome de usuário","Enter your phone number":"Digite seu número de telefone","Enter your email":"Digite seu e-mail","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha",Loading:"Carregando",Username:"Nome do usuário","New password":"Nova Senha",Password:"Senha","Phone Number":"Número de telefone","Resend Code":"Reenviar código","Reset your password":"Redefina sua senha","Send Code":"Enviar código","Send code":"Enviar código",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign In":"Entrar","Sign in":"Entrar","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Faça login no Google","Sign in to your account":"Faça login em sua conta","Create a new account":"Criar uma nova conta","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando","Verify Contact":"Verificar contato","Account recovery requires verified contact information":"A recuperação da conta requer informações de contato verificadas",Verify:"Verificar"}),Z=P({},{"Account recovery requires verified contact information":"账户恢复需要验证过的联系方式","Back to Sign In":"回到登录","Change Password":"更改密码",Code:"确认码",Confirm:"确认","Confirm a Code":"确认码","Confirm Password":"确认密码","Confirm Sign In":"确认登录","Confirm Sign Up":"确认注册",Email:"邮箱","Forgot Password":"忘记密码","Incorrect username or password":"用户名或密码错误","Invalid password format":"密码格式错误","Invalid phone number format":"电话格式错误,请使用格式 +12345678900","New Password":"新密码",or:"或者",Password:"密码","Phone Number":"电话","Resend a Code":"重发确认码","Send Code":"发送确认码","Sign In":"登录","Sign Out":"退出","Sign Up":"注册",Skip:"跳过",Submit:"提交","User already exists":"用户已经存在","User does not exist":"用户不存在",Username:"用户名",Verify:"验证","Verify Contact":"验证联系方式"}),Q=P({},{"Account recovery requires verified contact information":"För att återställa kontot behöver du ett verifierat konto","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt lösenord","Confirm Password":"Bekräfta lösenord",Code:"Kod",Confirm:"Bekräfta","Confirm a Code":"Bekräfta koden","Confirm Sign In":"Bekräfta inloggning","Confirm Sign Up":"Bekräfta registrering","Confirmation Code":"Verifikationskod","Create a new account":"Skapa ett nytt konto","Create account":"Skapa konto","Create Account":"Skapa konto",Email:"E-post","Enter your password":"Ange ditt lösenord","Enter your username":"Ange ditt användarnamn","Forgot Password":"Glömt lösenordet","Forgot your password?":"Glömt ditt lösenord? ","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt användarnamn eller lösenord","Invalid password format":"Ogiltigt lösenordsformat","Invalid phone number format":"Ogiltigt format för telefonnummer","Lost your code? ":"Förlorat koden? ","New Password":"Nytt lösenord","No account? ":"Inget konto? ",or:"eller",Password:"Lösenord","Password attempts exceeded":"Maximalt antal felaktiga inloggningsförsök har uppnåtts","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset password":"Återställ lösenord","Reset your password":"Återställ ditt lösenord","Send code":"Skicka kod","Sign in":"Logga in","Sign In":"Logga in","Sign in to your account":"Logga in till ditt konto","Sign Out":"Logga ut","Sign Up":"Registrering","We Emailed You":"Vi har skickat e-post till dig","Enter your code":"Skriv din kod",Skip:"Hoppa över",Submit:"Skicka","User already exists":"Användaren finns redan","User does not exist":"Användaren finns inte",Username:"Användarnamn","Username cannot be empty":"Användarnamnet kan inte vara tomt",Verify:"Verifiera","Verify Contact":"Verifiera kontakt"}),$=P({},{"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","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.","Back to Sign In":"Kembali ke Masuk","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","Change Password":"Ubah kata sandi",Code:"Kode",Confirm:"Konfirmasi","Confirm a Code":"Konfirmasi kode","Confirm Password":"Konfirmasi kata sandi","Confirmation Code":"Kode Konfirmasi","Create a new account":"Buat akun baru","Create account":"Buat akun","Create Account":"Buat Akun","Creating Account":"Membuat Akun",Confirming:"Mengkonfirmasi",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your password":"Masukkan kata sandi anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot Password":"Lupa kata sandi","Forgot your 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","New password":"Kata sandi baru","No account? ":"Tidak ada akun?",or:"atau",Password:"Kata sandi","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Phone Number":"Nomor telepon","Resend a Code":"Renvoyer un code","Resend Code":"Kirim ulang kodenya","Reset password":"Ubah kata sandi anda","Reset your password":"Ubah kata sandi anda",Send:"Kirim","Send Code":"Kirim Kode","Send code":"Kirim kode",Sending:"Mengirim","Sign in":"Masuk","Sign In":"Masuk","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with AWS":"Masuk dengan AWS","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","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","Signing in":"Memasuki",Skip:"Lewati",SMS:"SMS",Submit:"Ajukan",Submitting:"Mengajukan","User is disabled.":"Akun dinonaktifkan.","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.",Username:"Nama akun","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.",Verify:"Verifikasi","Verify Contact":"Verifikasi Kontak","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"}),J=P({},{"Account recovery requires verified contact information":"Hesap kurtarma, doğrulanmış iletişim bilgilerini gerektirir","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Back to Sign In":"Oturum Açmaya Geri Dön","Change Password":"Şifreyi Değiştir",Changing:"Değiştiriliyor",Code:"Kod",Confirm:"Doğrula","Confirm Password":"Şifreyi Doğrula","Confirm Sign In":"Oturum Açmayı Doğrula","Confirm Sign Up":"Kayıt İşlemini Doğrula","Confirm SMS Code":"SMS Kodunu Doğrula","Confirm TOTP Code":"Tek Kullanımlık Şifreyi Doğrula","Confirmation Code":"Doğrulama Kodu",Confirming:"Doğrulanıyor","Create Account":"Hesap Oluştur","Creating Account":"Hesap Oluşturuluyor",Email:"E-posta","Enter your code":"Kodu girin","Enter your username":"Kullanıcı adınızı girin","Enter your phone number":"Telefon numaranızı girin","Enter your email":"E-posta adresinizi girin","Forgot your password?":"Şifrenizi mi unuttunuz?","Hide password":"Şifreyi gizle","Have an account? ":"Hesabınız var mı? ","Incorrect username or password":"Yanlış kullanıcı adı ya da şifre","Invalid password format":"Geçersiz parola formatı","Invalid phone number format":"Geçersiz telefon numarası formatı","Lost your code? ":"Kodu mu kaybettiniz? ",Loading:"Yükleniyor","New password":"Yeni şifre","No account? ":"Hesabınız yok mu? ",or:"veya",Password:"Şifre","Password attempts exceeded":"Maksimum oturum açma girişimi aşıldı","Phone Number":"Telefon Numarası","Resend Code":"Kodu Yeniden Gönder","Reset your password":"Şifrenizi sıfırlayın","Reset your Password":"Şifrenizi Sıfırlayın","Send Code":"Kod Gönder","Send code":"Kod gönder",Sending:"Gönderiliyor","Setup TOTP":"Tek kullanımlık şifre kurulumu yap","Show password":"Şifreyi göster","Sign in":"Oturum aç","Sign In":"Oturum Aç","Sign In with Amazon":"Amazon ile Oturum Aç","Sign In with Apple":"Apple ile Oturum Aç","Sign In with Facebook":"Facebook ile Oturum Aç","Sign In with Google":"Google ile Oturum Aç","Sign in to your account":"Hesabınızda oturum açın","Create a new account":"Yeni bir hesap oluştur","Signing in":"Oturum açılıyor","Sign Out":"Çıkış yap","Sign Up":"Kayıt Ol",Skip:"Atla",Submit:"Gönder",Submitting:"Gönderiliyor","User already exists":"Bu kullanıcı zaten var","User does not exist":"Böyle bir kullanıcı mevcut değil",Username:"Kullanıcı adı","Username cannot be empty":"Kullanıcı adı boş olamaz","Verify Contact":"Kişiyi Doğrula",Verify:"Doğrula"}),ee=P({},{BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",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_YOUR_PASSWORD:"Forgot your password?",FORGOT_YOUR_PASSWORD_LEGACY:"Forgot your password? ",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WEBSITE:"Website"}),oe=P({},ee);function re(e){return o.I18n.get(e)}var ae={de:M,en:B,es:G,fr:H,id:$,it:j,ja:L,kr:q,nl:K,pl:Y,pt:X,zh:Z,sv:Q,tr:J},ne={birthdate:{label:"Birthdate",labelHidden:!0,placeholder:"Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",labelHidden:!0,placeholder:"Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",labelHidden:!0,placeholder:"Confirm Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",labelHidden:!0,placeholder:"Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",labelHidden:!0,placeholder:"Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",labelHidden:!0,placeholder:"Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",labelHidden:!0,placeholder:"Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",labelHidden:!0,placeholder:"Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",labelHidden:!0,placeholder:"Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",labelHidden:!0,placeholder:"Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",labelHidden:!0,placeholder:"Phone",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:V,isRequired:!0},preferred_username:{label:"Preferred Username",labelHidden:!0,placeholder:"Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",labelHidden:!0,placeholder:"Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",labelHidden:!0,placeholder:"Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",labelHidden:!0,placeholder:"Username",type:"text",autocomplete:"username",isRequired:!0}},te=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],le=function(e){return O.includes(e)},ie=function(e,o){var r=o.send,a=o.getSnapshot();switch(e.payload.event){case"tokenRefresh":a.matches("authenticated.idle")&&r("TOKEN_REFRESH");break;case"signOut":case"tokenRefresh_failure":a.matches("authenticated.idle")&&r("SIGN_OUT")}},se=function(e){return te.some((function(o){return e.includes(o)}))},ue=function(e,o){var r=x(e).country_code,a=ne[o];return"tel"===a.type&&(a=P(P({},a),{dialCode:r})),a},de=function(e){var o=F(e);return P(P({},ue(e,o)),{autocomplete:"username"})},ce=function(e){return{confirmation_code:P(P({},ue(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},ve={signIn:function(e){return{username:P({},de(e)),password:P(P({},ue(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var o=e.context.config,r=o.loginMechanisms,a=o.signUpAttributes,n=F(e),t={},l=0,i=Array.from(new Set(N(N(N([],r,!0),["password","confirm_password"],!1),a,!0)));l<i.length;l++){var s=i[l];if(le(s)){var u=s===n?de(e):ue(e,s);t[s]=P({},u)}else console.debug("Authenticator does not have a default implementation for ".concat(s,". Customize SignUp FormFields to add your own."))}return t},confirmSignUp:function(e){return{confirmation_code:P(P({},ue(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:ce,forceNewPassword:function(e){for(var o=E(e).context.requiredAttributes,r={},a=0,n=Array.from(new Set(N(["password","confirm_password"],o,!0)));a<n.length;a++){var t=n[a];le(t)?r[t]=P({},ue(e,t)):console.debug("Authenticator does not have a default implementation for ".concat(t,". Customize ForceNewPassword FormFields to add your own."))}return r},resetPassword:function(e){var o=F(e),r=ne[o].label;return{username:P(P({},de(e)),{label:"Enter your ".concat(r.toLowerCase()),placeholder:"Enter your ".concat(r.toLowerCase())})}},confirmResetPassword:function(e){return P(P({},ce(e)),{password:P(P({},ue(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:P(P({},ue(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:ce,setupTOTP:ce},me=function(e){for(var o=P({},e),r=0,a=Object.entries(e);r<a.length;r++){var n=a[r],t=n[0],l=n[1],i=l.label,s=l.placeholder;o[t]=P(P({},l),{label:i?re(i):void 0,placeholder:s?re(s):void 0})}return o},ge=function(e){return Object.entries(e).sort((function(e,o){return(e[1].order||Number.MAX_VALUE)-(o[1].order||Number.MAX_VALUE)})).filter((function(e){return void 0!==e[1]}))},fe=function(e,o){void 0===o&&(o={});var r=h.default(e);return Object.keys(o).forEach((function(e){r[e]=P(P({},r[e]),o[e])})),r},pe=function(e,o){var r=(0,ve[e])(o);return me(r)},he=function(e,o){var r,a,n=pe(e,o),t=(null===(a=null===(r=E(o).context)||void 0===r?void 0:r.formFields)||void 0===a?void 0:a[e])||{},l=fe(n,t);return delete l.QR,l},be=function(e){return n.stop(e)},Se=n.assign({attributeToVerify:function(e){}}),Ce=n.assign({challengeName:function(e){}}),we=n.assign({requiredAttributes:function(e){}}),ye=n.assign({remoteError:function(e){return""}}),ke=n.assign({formValues:function(e){return{}}}),Ae=n.assign({touched:function(e){return{}}}),Ie=n.assign({unverifiedAttributes:function(e){}}),Ee=n.assign({username:function(e){}}),xe=n.assign({validationError:function(e){return{}}}),Pe=n.assign({challengeName:function(e,o){var r;return null===(r=o.data)||void 0===r?void 0:r.challengeName}}),_e=n.assign({requiredAttributes:function(e,o){var r,a;return null===(a=null===(r=o.data)||void 0===r?void 0:r.challengeParam)||void 0===a?void 0:a.requiredAttributes}}),Ue=n.assign({redirectIntent:function(e){return"confirmPasswordReset"}}),Re=n.assign({redirectIntent:function(e){return"confirmSignUp"}}),Ne=n.assign({authAttributes:function(e,o){var r,a,n=e.loginMechanisms[0];return{username:null!==(r=e.formValues[n])&&void 0!==r?r:e.formValues.username,password:null===(a=e.formValues)||void 0===a?void 0:a.password}}}),Te=n.assign({validationError:function(e,o){return o.data}}),ze=n.assign({remoteError:function(e,o){var r;return"NoUserPoolError"===o.data.name?"Configuration error (see console) – please contact the administrator":(null===(r=o.data)||void 0===r?void 0:r.message)||o.data}}),Oe=n.assign({unverifiedAttributes:function(e,o){return o.data.unverified}}),Fe=n.assign({user:function(e,o){return o.data.user||o.data}}),De=n.assign({username:function(e,o){var r=e.formValues,a=r.username,n=r.country_code;return n&&(a="".concat(n).concat(a)),a}}),We=n.assign({codeDeliveryDetails:function(e,o){return o.data.codeDeliveryDetails}}),Ve=n.assign({authAttributes:function(e,o){return{username:e.formValues.username}}}),Me=n.assign({formValues:function(e,o){var r,a=o.data,n=a.name,t=a.value;return P(P({},e.formValues),((r={})[n]=t,r))}}),Be=n.assign({formValues:function(e,o){return P(P({},e.formValues),o.data)}}),Ge=n.assign({touched:function(e,o){var r,a=o.data.name;return P(P({},e.touched),((r={})["".concat(a)]=!0,r))}}),He=n.assign({formValues:function(e,o){var r,a,n=e.loginMechanisms[0],t=void 0===n?"username":n;if(!e.formValues.phone_number&&"phone_number"!==t)return e.formValues;var l=e.formValues,i=e.country_code,s=l.phone_number?"phone_number":"username",u="".concat(null!==(a=l.country_code)&&void 0!==a?a:i).concat(l[s]).replace(/[^A-Z0-9+]/gi,""),d=P(P({},l),((r={})[s]=u,r));return delete d.country_code,d}}),je=function(e,o,r,a){return U(void 0,void 0,void 0,(function(){var n,t;return R(this,(function(l){switch(l.label){case 0:return[4,Promise.all(a.map((function(a){return a(e,o,r)})))];case 1:return n=l.sent(),t=C.default.apply(void 0,N([{}],n,!1)),S.default(t)?[2,Promise.resolve()]:[2,Promise.reject(t)]}}))}))},Le={getAmplifyConfig:function(){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Amplify.configure()]}))}))},getCurrentUser:function(){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.currentAuthenticatedUser()]}))}))},handleSignUp:function(e){return U(this,void 0,void 0,(function(){return R(this,(function(r){return[2,o.Auth.signUp(e)]}))}))},handleSignIn:function(e){var r=e.username,a=e.password;return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.signIn(r,a)]}))}))},handleConfirmSignIn:function(e){var r=e.user,a=e.code,n=e.mfaType;return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.confirmSignIn(r,a,n)]}))}))},handleConfirmSignUp:function(e){var r=e.username,a=e.code;return U(this,void 0,void 0,(function(){return R(this,(function(e){switch(e.label){case 0:return[4,o.Auth.confirmSignUp(r,a)];case 1:return[2,e.sent()]}}))}))},handleForgotPasswordSubmit:function(e){var r=e.username,a=e.code,n=e.password;return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2,o.Auth.forgotPasswordSubmit(r,a,n)]}))}))},handleForgotPassword:function(e){return U(this,void 0,void 0,(function(){return R(this,(function(r){return[2,o.Auth.forgotPassword(e)]}))}))},validateCustomSignUp:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2]}))}))},validateFormPassword:function(e,o,r){return U(this,void 0,void 0,(function(){var a,n,t,l;return R(this,(function(i){return a=e.password,o.password&&r?(n=[],t=+(null==r?void 0:r.passwordPolicyMinLength),a.length<t&&n.push("Password must have at least ".concat(t," characters")),null==(l=null==r?void 0:r.passwordPolicyCharacters)||l.forEach((function(e){switch(e){case"REQUIRES_LOWERCASE":/[a-z]/.test(a)||n.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(a)||n.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(a)||n.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":se(a)||n.push("Password must have special characters")}})),[2,0!==n.length?{password:n}:null]):[2,null]}))}))},validateConfirmPassword:function(e,o){return U(this,void 0,void 0,(function(){var r,a,n,t;return R(this,(function(l){return r=e.password,a=e.confirm_password,n=o.confirm_password,t=o.password,r||a?(r||a)&&r!==a&&(n&&t||(null==r?void 0:r.length)>=6&&(null==a?void 0:a.length)>=6)?[2,{confirm_password:"Your passwords must match"}]:[2]:[2,null]}))}))},validatePreferredUsername:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(e){return[2]}))}))}};var qe=a.createMachine({initial:"pending",id:"signOutActor",states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:function(){return o.Auth.signOut()}}});function Ke(e){return e&&Object.keys(e).forEach((function(o){Object.keys(e[o]).forEach((function(r){var a=e[o][r];a.required=a.isRequired}))})),e}var Ye={components:{alert:{alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}},authenticator:{maxWidth:{value:"60rem"},modal:{width:{value:"{space.relative.full}"},height:{value:"{space.relative.full}"},backgroundColor:{value:"{colors.overlay.50.value}"},top:{value:"{space.zero}"},left:{value:"{space.zero}"}},container:{widthMax:{value:"30rem"}},router:{borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"}},footer:{paddingBottom:{value:"{space.medium.value}"}},form:{padding:{value:"{space.xl.value}"}},state:{inactive:{backgroundColor:{value:"{colors.background.secondary.value}"}}},orContainer:{color:{value:"{colors.neutral.80.value}"},orLine:{backgroundColor:{value:"{colors.background.primary.value}"}}}},badge:{color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}},button:{fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:"{space.zero.value}"},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{backgroundColor:{value:"transparent"},borderColor:{value:"transparent"},borderWidth:{value:"{space.zero.value}"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}},loaderWrapper:{alignItems:{value:"center"},gap:{value:"{space.xs.value}"}}},card:{backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}},checkbox:{cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}},checkboxfield:{alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}},collection:{pagination:{current:{color:{value:"{components.pagination.current.color}"},backgroundColor:{value:"{components.pagination.current.backgroundColor}"}},button:{color:{value:"{components.pagination.button.color}"},_hover:{backgroundColor:{value:"{components.pagination.button.hover.backgroundColor}"},color:{value:"{components.pagination.button.hover.color}"}},_disabled:{color:{value:"{components.pagination.button.disabled.color}"}}}},search:{input:{color:{value:"{components.searchfield.color}"}},button:{color:{value:"{components.searchfield.button.color}"},_active:{backgroundColor:{value:"{components.searchfield.button._active.backgroundColor}"},borderColor:{value:"{components.searchfield.button._active.borderColor}"},color:{value:"{components.searchfield.button._active.color}"}},_disabled:{backgroundColor:{value:"{components.searchfield.button._disabled.backgroundColor}"},borderColor:{value:"{components.searchfield.button._disabled.borderColor}"},color:{value:"{components.searchfield.button._disabled.color}"}},_focus:{backgroundColor:{value:"{components.searchfield.button._focus.backgroundColor}"},borderColor:{value:"{components.searchfield.button._focus.borderColor}"},color:{value:"{components.searchfield.button._focus.color}"}},_hover:{backgroundColor:{value:"{components.searchfield.button._hover.backgroundColor}"},borderColor:{value:"{components.searchfield.button._hover.borderColor}"},color:{value:"{components.searchfield.button._hover.color}"}}}}},copy:{fontSize:{value:"{fontSizes.xs}"},gap:{value:"{space.relative.medium}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{fontSizes.xxs}"}}},countrycodeselect:{height:{value:"{space.relative.full.value}"}},divider:{borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}},expander:{display:{value:"block"},backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},field:{gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}},fieldcontrol:{borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderBlockEnd:{value:"{borderWidths.small.value} solid {colors.border.primary.value}"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}",blurRadius:"0px"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}",blurRadius:"0px"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}},fieldgroup:{gap:{value:"{space.zero.value}"},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}},fieldmessages:{error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}},flex:{gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}},heading:{color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}},icon:{lineHeight:{value:1},height:{value:"1em"}},image:{maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}},link:{active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}},loader:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},fontSize:{value:"{fontSizes.xs.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.xxs.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.small.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},fontSize:{value:"{fontSizes.medium.value}"},strokeWidth:{value:"{fontSizes.medium.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{strokeWidth:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{strokeWidth:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.large.value}"}}},text:{fill:{value:"{colors.font.primary.value}"}}},menu:{backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:"{space.zero.value}"},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}},pagination:{current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}},passwordfield:{color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},placeholder:{borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}},radio:{alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.background.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}},rating:{large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}},searchfield:{color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},select:{paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},option:{backgroundColor:{value:"{colors.background.primary.value}"}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}},selectfield:{flexDirection:{value:"column"}},sliderfield:{paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.medium.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}},stepperfield:{flexDirection:{value:"column"},input:{textAlign:{value:"center"}}},switchfield:{_disabled:{opacity:{value:"{opacities.60.value}"}},_focused:{shadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.80.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"}}},table:{borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}},tabs:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}},text:{color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}},textareafield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},textfield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},togglebutton:{borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.font.primary.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.font.primary.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{borderColor:{value:"{colors.border.pressed.value}"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.font.primary.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.background.primary.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.background.primary.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"},boxShadow:{value:"{colors.brand.primary.60.value}"},color:{value:"{colors.background.primary.value}"}}}},link:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"}},_hover:{color:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.transparent.value}"}}}}},togglebuttongroup:{alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}},borderWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},colors:{red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 8%, 55%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.neutral.60.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},quaternary:{value:"{colors.neutral.60.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},pressed:{value:"{colors.brand.primary.100.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}},fonts:{default:{variable:{value:"'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,\n 'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',\n sans-serif"},static:{value:"'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',\n 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif"}}},fontSizes:{xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"2.5rem"},xxxxl:{value:"3rem"}},fontWeights:{hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}},lineHeights:{small:{value:"1.25"},medium:{value:"1.5"},large:{value:"2"}},opacities:{0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}},outlineOffsets:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},outlineWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},radii:{xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}},shadows:{small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}},space:{zero:{value:"0"},xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375em"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"},full:{value:"100%"}}},time:{short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}},transforms:{slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}}},Xe={tokens:Ye,breakpoints:{values:{base:0,small:480,medium:768,large:992,xl:1280,xxl:1536},defaultBreakpoint:"base"},name:"default-theme"};function Ze(e){if(I.default(e)){var o=e.replace(/\{|\}/g,"").replace(".value","").split(".");return"var(--".concat($e({path:o}),")")}return e}function Qe(e){var o=e.value;if("string"==typeof o)return Ze(o);if("object"==typeof o&&"offsetX"in o){var r=o.offsetX,a=void 0===r?"":r,n=o.offsetY,t=void 0===n?"":n,l=o.blurRadius,i=void 0===l?"":l,s=o.spreadRadius,u=void 0===s?"":s,d=o.color,c=void 0===d?"":d;return[Ze(a),Ze(t),Ze(i),Ze(u),Ze(c)].join(" ")}return o}function $e(e){var o=e.path,r=void 0===o?[]:o;return"".concat(A.default(N(["amplify"],r,!0).join(" ")))}function Je(e,o){void 0===o&&(o=[]);var r={};if(e.hasOwnProperty("value"))return function(e,o){var r="--".concat($e({path:o})),a=e.value;return{name:r,path:o,value:Qe(e),original:a,toString:function(){return"var(".concat(r,")")}}}(e,o);if("object"==typeof e)for(var a in e)e.hasOwnProperty(a)&&("object"!=typeof e[a]?(console.warn("Non-design token found when creating the theme at path: ".concat(o.join("."),".").concat(a,"\nDid you forget to add '{value:\"").concat(e[a],"\"}'?")),r[a]=e[a]):r[a]=Je(e[a],o.concat(a)));return r}var eo={colorMode:"dark",tokens:{colors:{red:{10:{value:Ye.colors.red[100].value},20:{value:Ye.colors.red[90].value},40:{value:Ye.colors.red[80].value},80:{value:Ye.colors.red[40].value},90:{value:Ye.colors.red[20].value},100:{value:Ye.colors.red[10].value}},orange:{10:{value:Ye.colors.orange[100].value},20:{value:Ye.colors.orange[90].value},40:{value:Ye.colors.orange[80].value},80:{value:Ye.colors.orange[40].value},90:{value:Ye.colors.orange[20].value},100:{value:Ye.colors.orange[10].value}},yellow:{10:{value:Ye.colors.yellow[100].value},20:{value:Ye.colors.yellow[90].value},40:{value:Ye.colors.yellow[80].value},80:{value:Ye.colors.yellow[40].value},90:{value:Ye.colors.yellow[20].value},100:{value:Ye.colors.yellow[10].value}},green:{10:{value:Ye.colors.green[100].value},20:{value:Ye.colors.green[90].value},40:{value:Ye.colors.green[80].value},80:{value:Ye.colors.green[40].value},90:{value:Ye.colors.green[20].value},100:{value:Ye.colors.green[10].value}},teal:{10:{value:Ye.colors.teal[100].value},20:{value:Ye.colors.teal[90].value},40:{value:Ye.colors.teal[80].value},80:{value:Ye.colors.teal[40].value},90:{value:Ye.colors.teal[20].value},100:{value:Ye.colors.teal[10].value}},blue:{10:{value:Ye.colors.blue[100].value},20:{value:Ye.colors.blue[90].value},40:{value:Ye.colors.blue[80].value},80:{value:Ye.colors.blue[40].value},90:{value:Ye.colors.blue[20].value},100:{value:Ye.colors.blue[10].value}},purple:{10:{value:Ye.colors.purple[100].value},20:{value:Ye.colors.purple[90].value},40:{value:Ye.colors.purple[80].value},80:{value:Ye.colors.purple[40].value},90:{value:Ye.colors.purple[20].value},100:{value:Ye.colors.purple[10].value}},pink:{10:{value:Ye.colors.pink[100].value},20:{value:Ye.colors.pink[90].value},40:{value:Ye.colors.pink[80].value},80:{value:Ye.colors.pink[40].value},90:{value:Ye.colors.pink[20].value},100:{value:Ye.colors.pink[10].value}},neutral:{10:{value:Ye.colors.neutral[100].value},20:{value:Ye.colors.neutral[90].value},40:{value:Ye.colors.neutral[80].value},80:{value:Ye.colors.neutral[40].value},90:{value:Ye.colors.neutral[20].value},100:{value:Ye.colors.neutral[10].value}},font:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.100.value}"},tertiary:{value:"{colors.neutral.90.value}"},inverse:{value:"{colors.neutral.10.value}"}},background:{primary:{value:"{colors.neutral.10.value}"},secondary:{value:"{colors.neutral.20.value}"},tertiary:{value:"{colors.neutral.40.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"}},overlay:{10:{value:"hsla(0, 0%, 100%, 0.1)"},20:{value:"hsla(0, 0%, 100%, 0.2)"},30:{value:"hsla(0, 0%, 100%, 0.3)"},40:{value:"hsla(0, 0%, 100%, 0.4)"},50:{value:"hsla(0, 0%, 100%, 0.5)"},60:{value:"hsla(0, 0%, 100%, 0.6)"},70:{value:"hsla(0, 0%, 100%, 0.7)"},80:{value:"hsla(0, 0%, 100%, 0.8)"},90:{value:"hsla(0, 0%, 100%, 0.9)"}}}}};exports.ALLOWED_SPECIAL_CHARACTERS=te,exports.DefaultTexts=oe,exports.LoginMechanismArray=z,exports.applyDefaults=fe,exports.applyTranslation=me,exports.authFieldsWithDefaults=O,exports.censorAllButFirstAndLast=function(e){for(var o=e.trim().split(""),r=0;r<o.length;r++)r>0&&r<o.length-1&&(o[r]="*");return o.join("")},exports.censorPhoneNumber=function(e){if(e.length<4)return e;for(var o=e.split(""),r=0;r<o.length-4;r++)o[r]="*";return o.join("")},exports.countryDialCodes=V,exports.createAuthenticatorMachine=function(){return a.createMachine({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Le,actorRef:void 0,hasSetup:!1},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"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:n.choose([{cond:"hasActor",actions:a.forwardTo((function(e){return e.actorRef}))}]),setUser:a.assign({user:function(e,o){return o.data}}),setActorDoneData:a.assign({actorDoneData:function(e,o){var r,a;return{authAttributes:P({},null===(r=o.data)||void 0===r?void 0:r.authAttributes),intent:null===(a=o.data)||void 0===a?void 0:a.intent}},user:function(e,o){var r;return null===(r=o.data)||void 0===r?void 0:r.user}}),clearUser:a.assign({user:void 0}),clearActorDoneData:a.assign({actorDoneData:void 0}),applyAmplifyConfig:a.assign({config:function(e,o){var r,a,n,t,l,i,s,u,d,c=null!==(a=null===(r=o.data.aws_cognito_username_attributes)||void 0===r?void 0:r.map((function(e){return e.toLowerCase()})))&&void 0!==a?a:[],v=null!==(t=null===(n=o.data.aws_cognito_verification_mechanisms)||void 0===n?void 0:n.map((function(e){return e.toLowerCase()})))&&void 0!==t?t:[],m=null!==(i=null===(l=o.data.aws_cognito_signup_attributes)||void 0===l?void 0:l.map((function(e){return e.toLowerCase()})))&&void 0!==i?i:[],g=null!==(u=null===(s=o.data.aws_cognito_social_providers)||void 0===s?void 0:s.map((function(e){return e.toLowerCase()})))&&void 0!==u?u:[],f=o.data.aws_cognito_password_protection_settings||{};0===c.length&&c.push("username");var p=e.config,h=p.loginMechanisms,b=p.signUpAttributes,S=p.socialProviders,C=p.initialState;return{loginMechanisms:null!=h?h:c,formFields:null!==(d=Ke(p.formFields))&&void 0!==d?d:{},passwordSettings:f,signUpAttributes:null!=b?b:Array.from(new Set(N(N([],v,!0),m,!0))),socialProviders:null!=S?S:g.sort(),initialState:C}}}),spawnSignInActor:a.assign({actorRef:function(e,r){var n,t,l,i,s,u,d=function(e){var r=e.services;return a.createMachine({initial:"init",id:"signInActor",states:{init:{always:[{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:"setUnverifiedAttributes"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"submit",states:{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:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"#signInActor.rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"#signInActor.rejected"},{actions:"setRemoteError",target:"#signInActor.signIn"}]}}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["setUser","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","clearUnverifiedAttributes","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(e){return{user:e.user}}},rejected:{type:"final",data:function(e,o){return{intent:e.redirectIntent,authAttributes:e.authAttributes}}}}},{actions:{clearAttributeToVerify:Se,clearChallengeName:Ce,clearRequiredAttributes:we,clearError:ye,clearFormValues:ke,clearTouched:Ae,clearUnverifiedAttributes:Ie,clearValidationError:xe,handleInput:Me,handleSubmit:Be,handleBlur:Ge,parsePhoneNumber:He,setChallengeName:Pe,setConfirmResetPasswordIntent:Ue,setConfirmSignUpIntent:Re,setRequiredAttributes:_e,setCredentials:Ne,setFieldErrors:Te,setRemoteError:ze,setUnverifiedAttributes:Oe,setUser:Fe,setUsernameAuthAttributes:Ve,sendUpdate:a.sendUpdate()},guards:{shouldConfirmSignIn:function(e,o){var r=b.default(o,"data.challengeName");return[exports.AuthChallengeNames.SMS_MFA,exports.AuthChallengeNames.SOFTWARE_TOKEN_MFA].includes(r)},shouldAutoSignIn:function(e){return"autoSignIn"===(null==e?void 0:e.intent)},shouldRedirectToConfirmSignUp:function(e,o){return"UserNotConfirmedException"===o.data.code},shouldRedirectToConfirmResetPassword:function(e,o){return"PasswordResetRequiredException"===o.data.code},shouldSetupTOTP:function(e,o){return b.default(o,"data.challengeName")===exports.AuthChallengeNames.MFA_SETUP},shouldForceChangePassword:function(e,o){return b.default(o,"data.challengeName")===exports.AuthChallengeNames.NEW_PASSWORD_REQUIRED},shouldRequestVerification:function(e,o){var r=o.data,a=r.unverified,n=r.verified;return S.default(n)&&!S.default(a)}},services:{signIn:function(e){return U(this,void 0,void 0,(function(){var o,a,n,t,l,i,s;return R(this,(function(u){switch(u.label){case 0:return o=e.authAttributes,a=void 0===o?{}:o,n=e.formValues,t=void 0===n?{}:n,l=P(P({},a),t),i=l.username,s=l.password,[4,r.handleSignIn({username:i,password:s})];case 1:return[2,u.sent()]}}))}))},confirmSignIn:function(e,a){return U(this,void 0,void 0,(function(){var a,n,t,l;return R(this,(function(i){switch(i.label){case 0:return a=e.challengeName,n=e.user,t=e.formValues.confirmation_code,a!==exports.AuthChallengeNames.SMS_MFA&&a!==exports.AuthChallengeNames.SOFTWARE_TOKEN_MFA||(l=a),[4,r.handleConfirmSignIn({user:n,code:t,mfaType:l})];case 1:return i.sent(),[4,o.Auth.currentAuthenticatedUser()];case 2:return[2,i.sent()]}}))}))},forceNewPassword:function(e,r){return U(this,void 0,void 0,(function(){var r,a,n,t,l,i,s,u,d;return R(this,(function(c){switch(c.label){case 0:r=e.user,a=e.formValues,n=a.password,t=a.phone_number,l=a.country_code,i=_(a,["password","confirm_password","phone_number","country_code"]),t&&(s="".concat(l).concat(t).replace(/[^A-Z0-9+]/gi,""),i=P(P({},i),{phone_number:s})),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,o.Auth.completeNewPassword(r,n,i)];case 2:return(u=c.sent()).challengeName?[2,u]:[2,o.Auth.currentAuthenticatedUser()];case 3:return d=c.sent(),[2,Promise.reject(d)];case 4:return[2]}}))}))},verifyTotpToken:function(e,r){return U(this,void 0,void 0,(function(){var r,a;return R(this,(function(n){return r=e.user,a=e.formValues.confirmation_code,[2,o.Auth.verifyTotpToken(r,a)]}))}))},federatedSignIn:function(e,r){return U(this,void 0,void 0,(function(){var e;return R(this,(function(a){switch(a.label){case 0:return e=r.data.provider,[4,o.Auth.federatedSignIn({provider:e})];case 1:return[2,a.sent()]}}))}))},checkVerifiedContact:function(e,r){return U(this,void 0,void 0,(function(){var r;return R(this,(function(a){switch(a.label){case 0:return r=e.user,[4,o.Auth.verifiedContact(r)];case 1:return[2,a.sent()]}}))}))},verifyUser:function(e,r){return U(this,void 0,void 0,(function(){var r,a;return R(this,(function(n){switch(n.label){case 0:return r=e.formValues.unverifiedAttr,[4,o.Auth.verifyCurrentUserAttribute(r)];case 1:return a=n.sent(),e.attributeToVerify=r,[2,a]}}))}))},confirmVerifyUser:function(e,r){return U(this,void 0,void 0,(function(){var r,a;return R(this,(function(n){switch(n.label){case 0:return r=e.attributeToVerify,a=e.formValues.confirmation_code,[4,o.Auth.verifyCurrentUserAttributeSubmit(r,a)];case 1:return[2,n.sent()]}}))}))},validateFields:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(o){return[2,je(e.formValues,e.touched,e.passwordSettings,[Le.validateConfirmPassword])]}))}))}}})}({services:e.services}).withContext({authAttributes:null!==(t=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==t?t:{},user:e.user,intent:null===(l=e.actorDoneData)||void 0===l?void 0:l.intent,country_code:"+1",formValues:{},touched:{},validationError:{},loginMechanisms:null===(i=e.config)||void 0===i?void 0:i.loginMechanisms,socialProviders:null===(s=e.config)||void 0===s?void 0:s.socialProviders,formFields:null===(u=e.config)||void 0===u?void 0:u.formFields});return a.spawn(d,{name:"signInActor"})}}),spawnSignUpActor:a.assign({actorRef:function(e,r){var n,t,l,i,s,u,d,c=function(e){var r=e.services;return a.createMachine({id:"signUpActor",initial:"init",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"]},{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(e,o){var r=e.authAttributes,a=r.username,n=r.password;return{user:b.default(o,"data.user")||e.user,authAttributes:{username:a,password:n},intent:e.intent}}}}},{guards:{isUserAlreadyConfirmed:function(e,o){return"User is already confirmed."===o.data.message},shouldInitConfirmSignUp:function(e){return e.intent&&"confirmSignUp"===e.intent},shouldSkipConfirm:function(e,o){return o.data.userConfirmed}},actions:{clearError:ye,clearFormValues:ke,clearTouched:Ae,clearValidationError:xe,handleInput:Me,handleSubmit:Be,handleBlur:Ge,parsePhoneNumber:He,setCredentials:Ne,setFieldErrors:Te,setRemoteError:ze,setCodeDeliveryDetails:We,setUser:Fe,sendUpdate:a.sendUpdate(),setAutoSignInIntent:a.assign({intent:function(e){return"autoSignIn"}})},services:{confirmSignUp:function(e,o){return U(this,void 0,void 0,(function(){var o,a,n,t,l;return R(this,(function(i){switch(i.label){case 0:return o=e.user,a=e.authAttributes,n=e.formValues,t=n.confirmation_code,l=b.default(o,"username")||b.default(a,"username"),[4,r.handleConfirmSignUp({username:l,code:t})];case 1:return[2,i.sent()]}}))}))},resendConfirmationCode:function(e,r){return U(this,void 0,void 0,(function(){var r,a,n;return R(this,(function(t){return r=e.user,a=e.authAttributes,n=b.default(r,"username")||b.default(a,"username"),[2,o.Auth.resendSignUp(n)]}))}))},federatedSignIn:function(e,r){return U(this,void 0,void 0,(function(){var e;return R(this,(function(a){switch(a.label){case 0:return e=r.data.provider,[4,o.Auth.federatedSignIn({provider:e})];case 1:return[2,a.sent()]}}))}))},signUp:function(e,o){return U(this,void 0,void 0,(function(){var o,a,n,t,l,i,s;return R(this,(function(u){switch(u.label){case 0:return o=e.formValues,a=e.loginMechanisms,n=a[0],l=(t=o)[void 0===n?"username":n],i=t.password,s=w.default(o,(function(e,o){switch(o){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 o.startsWith("custom:")}})),[4,r.handleSignUp({username:l,password:i,attributes:s})];case 1:return[2,u.sent()]}}))}))},validateSignUp:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(o){return[2,je(e.formValues,e.touched,e.passwordSettings,[r.validateFormPassword,r.validateConfirmPassword,r.validatePreferredUsername,r.validateCustomSignUp])]}))}))}}})}({services:e.services}).withContext({authAttributes:null!==(t=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)&&void 0!==t?t:{},country_code:"+1",intent:null===(l=e.actorDoneData)||void 0===l?void 0:l.intent,formValues:{},touched:{},validationError:{},loginMechanisms:null===(i=e.config)||void 0===i?void 0:i.loginMechanisms,socialProviders:null===(s=e.config)||void 0===s?void 0:s.socialProviders,formFields:null===(u=e.config)||void 0===u?void 0:u.formFields,passwordSettings:null===(d=e.config)||void 0===d?void 0:d.passwordSettings});return a.spawn(c,{name:"signUpActor"})}}),spawnResetPasswordActor:a.assign({actorRef:function(e,o){var r,n,t,l,i=function(e){var o=e.services;return a.createMachine({id:"resetPasswordActor",initial:"init",states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset"},{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:ye,clearFormValues:ke,clearTouched:Ae,clearUsername:Ee,clearValidationError:xe,handleInput:Me,handleSubmit:Be,handleBlur:Ge,setFieldErrors:Te,setRemoteError:ze,setUsername:De,sendUpdate:a.sendUpdate()},guards:{shouldAutoConfirmReset:function(e,o){return!(!e.intent||"confirmPasswordReset"!==e.intent)}},services:{resetPassword:function(e){return U(this,void 0,void 0,(function(){var r;return R(this,(function(a){return r=e.username,[2,o.handleForgotPassword(r)]}))}))},confirmResetPassword:function(e){return U(this,void 0,void 0,(function(){var r,a,n,t;return R(this,(function(l){return r=e.username,a=e.formValues,n=a.confirmation_code,t=a.password,[2,o.handleForgotPasswordSubmit({username:r,code:n,password:t})]}))}))},validateFields:function(e,o){return U(this,void 0,void 0,(function(){return R(this,(function(o){return[2,je(e.formValues,e.touched,e.passwordSettings,[Le.validateConfirmPassword])]}))}))}}})}({services:e.services}).withContext({formValues:{},touched:{},intent:null===(r=e.actorDoneData)||void 0===r?void 0:r.intent,username:null===(t=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)||void 0===t?void 0:t.username,formFields:null===(l=e.config)||void 0===l?void 0:l.formFields,validationError:{}});return a.spawn(i,{name:"resetPasswordActor"})}}),spawnSignOutActor:a.assign({actorRef:function(e){var o=qe.withContext({user:e.user});return a.spawn(o,{name:"signOutActor"})}}),stopSignInActor:be("signInActor"),stopSignUpActor:be("signUpActor"),stopResetPasswordActor:be("resetPasswordActor"),stopSignOutActor:be("signOutActor"),configure:a.assign((function(e,o){var r=o.data,a=r.services,n=_(r,["services"]);return{services:P(P({},Le),a),config:n}})),setHasSetup:a.assign({hasSetup:!0})},guards:{isInitialStateSignUp:function(e){return"signUp"===e.config.initialState},isInitialStateResetPassword:function(e){return"resetPassword"===e.config.initialState},shouldRedirectToSignUp:function(e,o){var r;return"confirmSignUp"===(null===(r=o.data)||void 0===r?void 0:r.intent)},shouldRedirectToResetPassword:function(e,o){var r;return"confirmPasswordReset"===(null===(r=o.data)||void 0===r?void 0:r.intent)},shouldAutoSignIn:function(e,o){var r;return"autoSignIn"===(null===(r=o.data)||void 0===r?void 0:r.intent)},shouldSetup:function(e){return!1===e.hasSetup},hasActor:function(e){return!!e.actorRef}},services:{getCurrentUser:function(e,o){return e.services.getCurrentUser()},getAmplifyConfig:function(e,o){return e.services.getAmplifyConfig()}}})},exports.createTheme=function(e,o){void 0===o&&(o=Xe);var r=y.default([{},o,e]),a=Je(r.tokens),n=r.breakpoints,t=r.name,l='[data-amplify-theme="'.concat(t,'"] {\n')+k.default(a).map((function(e){return"".concat(e.name,": ").concat(e.value,";")})).join("\n")+"\n}\n",i=[];return r.overrides&&(i=r.overrides.map((function(e){var o=Je(e.tokens),a=k.default(o).map((function(e){return"".concat(e.name,": ").concat(e.value,";")})).join("\n");if("selector"in e&&(l+="\n".concat(e.selector," {\n").concat(a,"\n}\n")),"mediaQuery"in e&&(l+="\n@media (".concat(e.mediaQuery,') {\n [data-amplify-theme="').concat(t,'"] {\n ').concat(a,"\n }\n}\n")),"breakpoint"in e){var n=r.breakpoints.values[e.breakpoint];l+="\n@media (min-width: ".concat(n,'px) {\n [data-amplify-theme="').concat(t,'"] {\n ').concat(a,"\n }\n}\n")}return"colorMode"in e&&(l+="\n@media (prefers-color-scheme: ".concat(e.colorMode,') {\n [data-amplify-theme="').concat(t,'"][data-amplify-color-mode="system"] {\n').concat(a,"\n}\n }\n"),l+='\n[data-amplify-theme="'.concat(t,'"][data-amplify-color-mode="').concat(e.colorMode,'"] {\n').concat(a,"\n}\n")),P(P({},e),{tokens:o})}))),{tokens:a,breakpoints:n,name:t,cssText:l,overrides:i}},exports.cssNameTransform=$e,exports.defaultAuthHubHandler=ie,exports.defaultDarkModeOverride=eo,exports.defaultFormFieldOptions=ne,exports.defaultFormFieldsGetters=ve,exports.defaultTheme=Xe,exports.getActorContext=x,exports.getActorState=E,exports.getConfiguredAliases=function(e){var o,r=(null===(o=e.config)||void 0===o?void 0:o.loginMechanisms).filter((function(e){return p.default(z,e)}));return{primaryAlias:r[0],secondaryAliases:r.slice(1)}},exports.getDefaultFormFields=pe,exports.getErrors=function(e){return e?(o=e,Array.isArray(o)?e:[e]):null;var o},exports.getFormDataFromEvent=function(e){var o=new FormData(e.target);return Object.fromEntries(o)},exports.getFormFields=he,exports.getPrimaryAlias=F,exports.getSendEventAliases=D,exports.getServiceContextFacade=W,exports.getServiceFacade=function(e){var o=e.send,r=e.state,a=D(o),n=W(r);return P(P({},a),n)},exports.getSortedFormFields=function(e,o){var r=he(e,o);return ge(r)},exports.hasSpecialChars=se,exports.hasTranslation=function(e){return o.I18n.get(e)!==e},exports.isAuthFieldWithDefaults=le,exports.isDesignToken=function(e){return"object"==typeof e&&e.hasOwnProperty("value")},exports.listenToAuthHub=function(e,r){return void 0===r&&(r=ie),o.Hub.listen("auth",(function(o){r(o,e)}))},exports.setFormOrder=function(e,o){var r=[];return e&&(r=Object.keys(e).reduce((function(o,r){var a;return o.push([r,null===(a=e[r])||void 0===a?void 0:a.order]),o}),[]).sort((function(e,o){return e[1]-o[1]})).filter((function(e){return void 0!==e[1]})).map((function(e){return e[0]}))),Array.from(new Set(N(N([],r,!0),o,!0)))},exports.signUpFieldsWithDefault=T,exports.signUpFieldsWithoutDefault=["address","gender","locale","picture","updated_at","zoneinfo"],exports.sortFormFields=ge,exports.translate=re,exports.translations=ae;
package/dist/styles.css CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /**
5
5
  * Do not edit directly
6
- * Generated on Fri, 17 Jun 2022 21:04:04 GMT
6
+ * Generated on Tue, 21 Jun 2022 22:00:04 GMT
7
7
  */
8
8
  :root, [data-amplify-theme] {
9
9
  --amplify-transforms-slide-x-large: translateX(2em);
package/dist/theme.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 17 Jun 2022 21:04:04 GMT
3
+ * Generated on Tue, 21 Jun 2022 22:00:04 GMT
4
4
  */
5
5
 
6
6
  :root, [data-amplify-theme] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {