@aws-amplify/ui-vue 2.4.19 → 2.4.21

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.
Files changed (27) hide show
  1. package/dist/index.cjs +12 -12
  2. package/dist/index.js +394 -228
  3. package/dist/src/components/alias-control.vue.d.ts +1 -1
  4. package/dist/src/components/authenticator-force-new-password-form-fields.vue.d.ts +1 -1
  5. package/dist/src/components/authenticator-force-new-password-form-fields.vue.d.ts.map +1 -1
  6. package/dist/src/components/authenticator-sign-up-form-fields.vue.d.ts +1 -1
  7. package/dist/src/components/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
  8. package/dist/src/components/confirm-sign-in.vue.d.ts.map +1 -1
  9. package/dist/src/components/federated-sign-in-button.vue.d.ts +1 -1
  10. package/dist/src/components/federated-sign-in.vue.d.ts +1 -1
  11. package/dist/src/components/federated-sign-in.vue.d.ts.map +1 -1
  12. package/dist/src/components/password-control.vue.d.ts +1 -1
  13. package/dist/src/components/primitives/amplify-button.vue.d.ts +1 -1
  14. package/dist/src/components/primitives/amplify-check-box.vue.d.ts +1 -1
  15. package/dist/src/components/primitives/amplify-text-field.vue.d.ts +1 -1
  16. package/dist/src/components/primitives/base-field-set.vue.d.ts +1 -1
  17. package/dist/src/components/primitives/base-field-set.vue.d.ts.map +1 -1
  18. package/dist/src/components/primitives/base-footer.vue.d.ts +1 -1
  19. package/dist/src/components/primitives/base-footer.vue.d.ts.map +1 -1
  20. package/dist/src/components/primitives/base-form-field.vue.d.ts +1 -1
  21. package/dist/src/components/primitives/base-form-fields.vue.d.ts +1 -1
  22. package/dist/src/components/primitives/base-form.vue.d.ts +1 -1
  23. package/dist/src/components/primitives/base-form.vue.d.ts.map +1 -1
  24. package/dist/src/components/primitives/base-heading.vue.d.ts +1 -1
  25. package/dist/src/components/primitives/base-two-tab-item.vue.d.ts +1 -1
  26. package/dist/src/components/primitives/render-info.vue.d.ts +1 -1
  27. package/package.json +3 -4
package/dist/index.js CHANGED
@@ -56,12 +56,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
56
56
  };
57
57
  }
58
58
  });
59
- var t$3 = function(t2) {
59
+ var t$2 = function(t2) {
60
60
  var n2;
61
61
  return null === (n2 = t2.context.actorRef) || void 0 === n2 ? void 0 : n2.getSnapshot();
62
- }, n$7 = function(n2) {
62
+ }, n$8 = function(n2) {
63
63
  var o2;
64
- return null === (o2 = t$3(n2)) || void 0 === o2 ? void 0 : o2.context;
64
+ return null === (o2 = t$2(n2)) || void 0 === o2 ? void 0 : o2.context;
65
65
  };
66
66
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
67
67
  var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
@@ -292,12 +292,10 @@ function keys$4(object) {
292
292
  return isArrayLike$4(object) ? arrayLikeKeys$1(object) : baseKeys$1(object);
293
293
  }
294
294
  var keys_1 = keys$4;
295
- var E$3, S;
296
- !function(E2) {
297
- E2.SMS_MFA = "SMS_MFA", E2.SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA", E2.NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED", E2.RESET_REQUIRED = "RESET_REQUIRED", E2.MFA_SETUP = "MFA_SETUP";
298
- }(E$3 || (E$3 = {})), function(E2) {
299
- E2.Apple = "SignInWithApple", E2.Amazon = "LoginWithAmazon", E2.Facebook = "Facebook", E2.Google = "Google";
300
- }(S || (S = {}));
295
+ var o$8;
296
+ !function(o2) {
297
+ o2.Apple = "SignInWithApple", o2.Amazon = "LoginWithAmazon", o2.Facebook = "Facebook", o2.Google = "Google";
298
+ }(o$8 || (o$8 = {}));
301
299
  var __assign$2 = function() {
302
300
  __assign$2 = Object.assign || function __assign2(t2) {
303
301
  for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
@@ -436,56 +434,56 @@ function __spreadArray$1(to, from, pack) {
436
434
  }
437
435
  return to.concat(ar || Array.prototype.slice.call(from));
438
436
  }
439
- var r$2 = ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"], n$6 = ["username", "email", "phone_number"], m$1 = __spreadArray$1(__spreadArray$1(__spreadArray$1([], n$6, true), r$2, true), ["confirmation_code", "password", "confirm_password"], false);
437
+ var r$2 = ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"], n$7 = ["username", "email", "phone_number"], m$1 = __spreadArray$1(__spreadArray$1(__spreadArray$1([], n$7, true), r$2, true), ["confirmation_code", "password", "confirm_password"], false);
440
438
  var r$1 = function(i2) {
441
439
  var n2, r2 = null === (n2 = null == i2 ? void 0 : i2.context.config) || void 0 === n2 ? void 0 : n2.loginMechanisms;
442
440
  return (null != r2 ? r2 : ["username"])[0];
443
441
  };
444
- var n$5 = function(e2) {
442
+ var n$6 = function(e2) {
445
443
  var t2 = function(t3) {
446
444
  return function(r2) {
447
445
  return e2({ type: t3, data: r2 });
448
446
  };
449
447
  };
450
448
  return { resendCode: t2("RESEND"), signOut: t2("SIGN_OUT"), submitForm: t2("SUBMIT"), updateForm: t2("CHANGE"), updateBlur: t2("BLUR"), toFederatedSignIn: t2("FEDERATED_SIGN_IN"), toResetPassword: t2("RESET_PASSWORD"), toSignIn: t2("SIGN_IN"), toSignUp: t2("SIGN_UP"), skipVerification: t2("SKIP") };
451
- }, s$2 = function(n2) {
452
- var s2, i2, a2 = null === (s2 = n2.context) || void 0 === s2 ? void 0 : s2.user, u2 = t$3(n2), o2 = n$7(n2), c2 = null == o2 ? void 0 : o2.remoteError, d2 = __assign$2({}, null == o2 ? void 0 : o2.validationError), l2 = null == o2 ? void 0 : o2.codeDeliveryDetails, m2 = Object.keys(d2).length > 0, f2 = n2.hasTag("pending") || (null === (i2 = t$3(n2)) || void 0 === i2 ? void 0 : i2.hasTag("pending")), v2 = function() {
449
+ }, s$2 = function(e2) {
450
+ var n2, s2, i2, a2 = t$2(e2), u2 = null !== (n2 = n$8(e2)) && void 0 !== n2 ? n2 : {}, o2 = u2.codeDeliveryDetails, c2 = u2.remoteError, d2 = u2.validationError, l2 = null !== (s2 = null == u2 ? void 0 : u2.user) && void 0 !== s2 ? s2 : null === (i2 = e2.context) || void 0 === i2 ? void 0 : i2.user, m2 = d2 && Object.keys(d2).length > 0, f2 = e2.hasTag("pending") || (null == a2 ? void 0 : a2.hasTag("pending")), h2 = function() {
453
451
  switch (true) {
454
- case n2.matches("idle"):
452
+ case e2.matches("idle"):
455
453
  return "idle";
456
- case n2.matches("setup"):
454
+ case e2.matches("setup"):
457
455
  return "setup";
458
- case n2.matches("signOut"):
456
+ case e2.matches("signOut"):
459
457
  return "signOut";
460
- case n2.matches("authenticated"):
458
+ case e2.matches("authenticated"):
461
459
  return "authenticated";
462
- case (null == u2 ? void 0 : u2.matches("autoSignIn")):
460
+ case (null == a2 ? void 0 : a2.matches("autoSignIn")):
463
461
  return "autoSignIn";
464
- case (null == u2 ? void 0 : u2.matches("confirmSignUp")):
462
+ case (null == a2 ? void 0 : a2.matches("confirmSignUp")):
465
463
  return "confirmSignUp";
466
- case (null == u2 ? void 0 : u2.matches("confirmSignIn")):
464
+ case (null == a2 ? void 0 : a2.matches("confirmSignIn")):
467
465
  return "confirmSignIn";
468
- case (null == u2 ? void 0 : u2.matches("setupTOTP")):
466
+ case (null == a2 ? void 0 : a2.matches("setupTOTP")):
469
467
  return "setupTOTP";
470
- case (null == u2 ? void 0 : u2.matches("signIn")):
468
+ case (null == a2 ? void 0 : a2.matches("signIn")):
471
469
  return "signIn";
472
- case (null == u2 ? void 0 : u2.matches("signUp")):
470
+ case (null == a2 ? void 0 : a2.matches("signUp")):
473
471
  return "signUp";
474
- case (null == u2 ? void 0 : u2.matches("forceNewPassword")):
472
+ case (null == a2 ? void 0 : a2.matches("forceNewPassword")):
475
473
  return "forceNewPassword";
476
- case (null == u2 ? void 0 : u2.matches("resetPassword")):
474
+ case (null == a2 ? void 0 : a2.matches("resetPassword")):
477
475
  return "resetPassword";
478
- case (null == u2 ? void 0 : u2.matches("confirmResetPassword")):
476
+ case (null == a2 ? void 0 : a2.matches("confirmResetPassword")):
479
477
  return "confirmResetPassword";
480
- case (null == u2 ? void 0 : u2.matches("verifyUser")):
478
+ case (null == a2 ? void 0 : a2.matches("verifyUser")):
481
479
  return "verifyUser";
482
- case (null == u2 ? void 0 : u2.matches("confirmVerifyUser")):
480
+ case (null == a2 ? void 0 : a2.matches("confirmVerifyUser")):
483
481
  return "confirmVerifyUser";
484
482
  default:
485
- return console.debug("Cannot infer `route` from Authenticator state:", n2.value), null;
483
+ return console.debug("Cannot infer `route` from Authenticator state:", e2.value), null;
486
484
  }
487
- }(), h2 = function(e2) {
488
- switch (e2) {
485
+ }(), v2 = function(e3) {
486
+ switch (e3) {
489
487
  case "idle":
490
488
  case "setup":
491
489
  return "configuring";
@@ -494,15 +492,15 @@ var n$5 = function(e2) {
494
492
  default:
495
493
  return "unauthenticated";
496
494
  }
497
- }(v2);
498
- return { error: c2, hasValidationErrors: m2, isPending: f2, route: v2, authStatus: h2, user: a2, validationErrors: d2, codeDeliveryDetails: l2 };
499
- }, i$4 = function(t2) {
500
- var r2 = t2.send, i2 = t2.state, a2 = n$5(r2), u2 = s$2(i2);
495
+ }(h2);
496
+ return { authStatus: v2, codeDeliveryDetails: o2, error: c2, hasValidationErrors: m2, isPending: f2, route: h2, user: l2, validationErrors: d2 };
497
+ }, i$3 = function(t2) {
498
+ var r2 = t2.send, i2 = t2.state, a2 = n$6(r2), u2 = s$2(i2);
501
499
  return __assign$2(__assign$2({}, a2), u2);
502
500
  };
503
501
  var r = ["+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"];
504
502
  var e$7 = { "Account recovery requires verified contact information": "Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account", "Back to Sign In": "Zur\xFCck zur Anmeldung", "Change Password": "Passwort \xE4ndern", Changing: "\xC4ndern von", Code: "Code", "Confirm Password": "Passwort best\xE4tigen", "Confirm Sign Up": "Registrierung best\xE4tigen", "Confirm SMS Code": "SMS-Code best\xE4tigen", "Confirm TOTP Code": "TOTP-Code best\xE4tigen", Confirm: "Best\xE4tigen", "Confirmation Code": "Best\xE4tigungs-Code", Confirming: "Wird best\xE4tigt", "Create a new account": "Einen neuen Account erstellen", "Create Account": "Account erstellen", "Creating Account": "Account wird erstellt", "Dismiss alert": "Warnung verwerfen", Email: "Email", "Enter your code": "Geben Sie Ihren Code ein", "Enter your email": "Geben Sie Ihre Email ein", "Enter your phone number": "Geben Sie Ihre Telefonnummer ein", "Enter your username": "Geben Sie Ihren Benutzernamen ein", "Forgot your password?": "Passwort vergessen? ", "Hide password": "Passwort verbergen", Loading: "Wird geladen", "New password": "Neues Passwort", Password: "Passwort", "Phone Number": "Telefonnummer", "Resend Code": "Code erneut senden", "Reset your Password": "Zur\xFCcksetzen des Passwort", "Reset your password": "Zur\xFCcksetzen des passwort", "Send code": "Code senden", "Send Code": "Code senden", Sending: "Wird gesendet", "Setup TOTP": "TOTP einrichten", "Show password": "Passwort anzeigen", "Sign in to your account": "Melden Sie sich mit Ihrem Account an", "Sign In with Amazon": "Mit Amazon anmelden", "Sign In with Apple": "Mit Apple anmelden", "Sign In with Facebook": "Mit Facebook anmelden", "Sign In with Google": "Mit Google anmelden", "Sign in": "Anmelden", "Sign In": "Anmelden", "Signing in": "Wird angemeldet", Skip: "\xDCberspringen", Submit: "Abschicken", Submitting: "Wird gesendet", Username: "Benutzername", "Verify Contact": "Kontakt verifizieren", Verify: "Verifizieren", "An account with the given email already exists.": "Ein Account mit dieser Email existiert bereits.", "Confirm a Code": "Code best\xE4tigen", "Confirm Sign In": "Anmeldung best\xE4tigen", "Create account": "Hier registrieren", "Enter your password": "Geben Sie Ihr Passwort ein", "Forgot Password": "Passwort vergessen", "Have an account? ": "Schon registriert? ", "Incorrect username or password": "Falscher Benutzername oder falsches Passwort", "Invalid password format": "Ung\xFCltiges Passwort-Format", "Invalid phone number format": "Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900", "It may take a minute to arrive.": "Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.", "Lost your code? ": "Code verloren? ", "New Password": "Neues Passwort", "No account? ": "Kein Account? ", or: "oder", "Password attempts exceeded": "Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht", "Reset password": "Passwort zur\xFCcksetzen", "Sign Out": "Abmelden", "Sign Up": "Registrieren", "User already exists": "Dieser Benutzer existiert bereits", "User does not exist": "Dieser Benutzer existiert nicht", "Username cannot be empty": "Benutzername darf nicht leer sein", "We Emailed You": "Email wurde versendet", "Your code is on the way. To log in, enter the code we emailed to": "Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an", "Your code is on the way. To log in, enter the code we texted to": "Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an" };
505
- var n$4 = { "Account recovery requires verified contact information": "Account recovery requires verified contact information", "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", "Confirm Password": "Confirm Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", Confirm: "Confirm", "Confirmation Code": "Confirmation Code", Confirming: "Confirming", "Create a new account": "Create a new account", "Create Account": "Create Account", "Creating Account": "Creating Account", "Dismiss alert": "Dismiss alert", Email: "Email", "Enter your code": "Enter your code", "Enter your email": "Enter your email", "Enter your phone number": "Enter your phone number", "Enter your username": "Enter your username", "Forgot your password?": "Forgot your password?", "Hide password": "Hide password", Loading: "Loading", "New password": "New password", Password: "Password", "Phone Number": "Phone Number", "Resend Code": "Resend Code", "Reset your password": "Reset your password", "Reset your Password": "Reset your Password", "Send code": "Send code", "Send Code": "Send Code", Sending: "Sending", "Setup TOTP": "Setup TOTP", "Show password": "Show password", "Sign in to your account": "Sign in to your account", "Sign In with Amazon": "Sign In with Amazon", "Sign In with Apple": "Sign In with Apple", "Sign In with Facebook": "Sign In with Facebook", "Sign In with Google": "Sign In with Google", "Sign in": "Sign in", "Sign In": "Sign In", "Signing in": "Signing in", Skip: "Skip", Submit: "Submit", Submitting: "Submitting", Username: "Username", "Verify Contact": "Verify Contact", Verify: "Verify" };
503
+ var n$5 = { "Account recovery requires verified contact information": "Account recovery requires verified contact information", "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", "Confirm Password": "Confirm Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", Confirm: "Confirm", "Confirmation Code": "Confirmation Code", Confirming: "Confirming", "Create a new account": "Create a new account", "Create Account": "Create Account", "Creating Account": "Creating Account", "Dismiss alert": "Dismiss alert", Email: "Email", "Enter your code": "Enter your code", "Enter your email": "Enter your email", "Enter your phone number": "Enter your phone number", "Enter your username": "Enter your username", "Forgot your password?": "Forgot your password?", "Hide password": "Hide password", Loading: "Loading", "New password": "New password", Password: "Password", "Phone Number": "Phone Number", "Resend Code": "Resend Code", "Reset your password": "Reset your password", "Reset your Password": "Reset your Password", "Send code": "Send code", "Send Code": "Send Code", Sending: "Sending", "Setup TOTP": "Setup TOTP", "Show password": "Show password", "Sign in to your account": "Sign in to your account", "Sign In with Amazon": "Sign In with Amazon", "Sign In with Apple": "Sign In with Apple", "Sign In with Facebook": "Sign In with Facebook", "Sign In with Google": "Sign In with Google", "Sign in": "Sign in", "Sign In": "Sign In", "Signing in": "Signing in", Skip: "Skip", Submit: "Submit", Submitting: "Submitting", Username: "Username", "Verify Contact": "Verify Contact", Verify: "Verify" };
506
504
  var e$6 = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Volver a inicio de sesi\xF3n", "Change Password": "Cambiar contrase\xF1a", Changing: "Cambiando", Code: "C\xF3digo", "Confirm Password": "Confirmar contrase\xF1a", "Confirm Sign Up": "Confirmar registro", "Confirm SMS Code": "Confirmar el c\xF3digo de SMS", "Confirm TOTP Code": "Confirmar c\xF3digo TOTP", Confirm: "Confirmar", "Confirmation Code": "C\xF3digo de confirmaci\xF3n", Confirming: "Confirmando", "Create a new account": "Crear una cuenta nueva", "Create Account": "Crear cuenta", "Creating Account": "Creando cuenta", "Dismiss alert": "Descartar alerta", Email: "Email", "Enter your code": "Ingrese el c\xF3digo", "Enter your email": "Escriba su Email", "Enter your phone number": "Ingrese el n\xFAmero de tel\xE9fono", "Enter your username": "Ingrese el nombre de usuario", "Forgot your password?": "\xBFOlvid\xF3 su contrase\xF1a?", "Hide password": "Ocultar contrase\xF1a", Loading: "Cargando", "New password": "Nueva contrase\xF1a", Password: "Contrase\xF1a", "Phone Number": "N\xFAmero de tel\xE9fono", "Resend Code": "Reenviar c\xF3digo", "Reset your password": "Restablecer su contrase\xF1a", "Reset your Password": "Restablecer su Contrase\xF1a", "Send code": "Enviar c\xF3digo", "Send Code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar contrase\xF1a", "Sign in to your account": "Iniciar sesi\xF3n en tu cuenta", "Sign In with Amazon": "Iniciar Sesi\xF3n con Amazon", "Sign In with Apple": "Iniciar Sesi\xF3n con Apple", "Sign In with Facebook": "Iniciar Sesi\xF3n con Facebook", "Sign In with Google": "Iniciar Sesi\xF3n con Google", "Sign in": "Iniciar sesi\xF3n", "Sign In": "Iniciar Sesi\xF3n", "Signing in": "Iniciando sesi\xF3n", Skip: "Omitir", Submit: "Enviar", Submitting: "Enviando", Username: "Nombre de usuario", "Verify Contact": "Verificar contacto", Verify: "Verificar", "An account with the given email already exists.": "Ya existe una cuenta con el correo ingresado.", "Confirm a Code": "Confirmar un c\xF3digo", "Confirm Sign In": "Confirmar inicio de sesi\xF3n", "Forgot Password": "Olvid\xE9 mi contrase\xF1a", "Incorrect username or password.": "Nombre de usuario o contrase\xF1a incorrecta", "Invalid password format": "Formato de contrase\xF1a inv\xE1lido", "Invalid phone number format": "Formato de n\xFAmero de tel\xE9fono inv\xE1lido", "Loading...": "Cargando...", "New Password": "Nueva contrase\xF1a", or: "o", "Resend a Code": "Reenviar un c\xF3digo", "Sign Out": "Cerrar sesi\xF3n", "Sign Up with Amazon": "Crear cuenta con Amazon", "Sign Up with Apple": "Crear cuenta con Apple", "Sign Up with Facebook": "Crear cuenta con Facebook", "Sign Up with Google": "Crear cuenta con Google", "Sign Up": "Crear cuenta", "User already exists": "El usuario ya existe", "User does not exist": "El usuario no existe", "Username cannot be empty": "El nombre de usuario no puede estar vac\xEDo", "Your passwords must match": "Las contrase\xF1as deben coincidir" };
507
505
  var e$5 = { "Account recovery requires verified contact information": "La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es", "Back to Sign In": "Retour \xE0 la connexion", "Change Password": "Modifier le mot de passe", Changing: "Modification en cours", Code: "Code", "Confirm Password": "Confirmez le mot de passe", "Confirm Sign Up": "Confirmer l'inscription", "Confirm SMS Code": "Confirmer le code SMS", "Confirm TOTP Code": "Confirmer le code TOTP", Confirm: "Confirmer", "Confirmation Code": "Code de confirmation", Confirming: "Confirmation", "Create a new account": "Cr\xE9er un nouveau compte", "Create Account": "Cr\xE9er un compte", "Creating Account": "Cr\xE9ation d'un compte", "Dismiss alert": "Supprimer l'alerte", Email: "Email", "Enter your code": "Saisissez cotre code de confirmation", "Enter your email": "Saisissez votre adresse email", "Enter your phone number": "Saisissez votre num\xE9ro de t\xE9l\xE9phone", "Enter your username": "Saisissez votre nom d'utilisateur", "Forgot your password?": "Mot de passe oubli\xE9 ? ", "Hide password": "Masquer le mot de passe", Loading: "Chargement en cours", "New password": "Nouveau mot de passe", Password: "Mot de passe", "Phone Number": "Num\xE9ro de t\xE9l\xE9phone", "Resend Code": "Renvoyer le code", "Reset your Password": "R\xE9initialiser votre mot de passe", "Reset your password": "R\xE9initialisez votre mot de passe", "Send code": "Envoyer le code", "Send Code": "M'envoyer un code", Sending: "Envoi en cours", "Setup TOTP": "Configuration de TOTP", "Show password": "Afficher le mot de passe", "Sign in to your account": "Connexion \xE0 votre compte", "Sign In with Amazon": "Se connecter avec Amazon", "Sign In with Apple": "Se connecter avec Apple", "Sign In with Facebook": "Se connecter avec Facebook", "Sign In with Google": "Se connecter avec Google", "Sign in": "Se connecter", "Sign In": "Se connecter", "Signing in": "Connexion en cours", Skip: "Passer", Submit: "Soumettre", Submitting: "Envoi en cours", Username: "Nom d'utilisateur", "Verify Contact": "V\xE9rifier le contact", Verify: "V\xE9rifier", "An account with the given email already exists.": "Un utilisateur avec cette adresse email existe d\xE9j\xE0.", Change: "Modifier", "Confirm a Code": "Confirmer un code", "Confirm Sign In": "Confirmer la connexion", "Create account": "Cr\xE9er un compte", "Enter your password": "Saisissez votre mot de passe", "Forgot Password": "Mot de passe oubli\xE9", "Have an account? ": "D\xE9j\xE0 un compte ? ", Hello: "Bonjour", "Incorrect username or password": "Identifiant ou mot de passe incorrect", "Invalid password format": "Format de mot de passe invalide", "Invalid phone number format": "Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900", "Loading...": "Chargement...", "Lost your code? ": "Vous avez perdu votre code ? ", "Network error": "Erreur r\xE9seau", "New Password": "Nouveau mot de passe", "No account? ": "Pas de compte ? ", or: "ou", "Resend a Code": "Renvoyer un code", "Reset password": "R\xE9initialisez votre mot de passe", Send: "Envoyer", "Sign In with AWS": "Se connecter avec AWS", "Sign Out": "D\xE9connexion", "Sign Up": "S'inscrire", SMS: "SMS", "User already exists": "L'utilisateur existe d\xE9j\xE0", "User does not exist": "L'utilisateur n'existe pas", "Username cannot be empty": "Le nom d'utilisateur doit \xEAtre renseign\xE9", "Username/client id combination not found.": "L'utilisateur n'existe pas" };
508
506
  var o$7 = { "Account recovery requires verified contact information": "Il ripristino dell'account richiede informazioni di contatto verificate", "Back to Sign In": "Torna alla schermata di accesso", "Change Password": "Cambia la password", Changing: "Modifica in corso", Code: "Codice", "Confirm Password": "Conferma la password", "Confirm Sign Up": "Conferma registrazione", "Confirm SMS Code": "Conferma codice SMS", "Confirm TOTP Code": "Conferma codice TOTP", Confirm: "Conferma", "Confirmation Code": "Codice di verifica", Confirming: "Conferma in corso", "Create a new account": "Crea un nuovo account", "Create Account": "Crea Account", "Creating Account": "Creazione account in corso", "Dismiss alert": "Licenziare l'allerta", Email: "Email", "Enter your code": "Inserisci il tuo codice", "Enter your email": "Inserisci la tua e-mail", "Enter your phone number": 'Inserisci il tuo numero di telefono"', "Enter your username": "Inserisci il tuo nome utente", "Forgot your password?": "Password dimenticata?", "Hide password": "Nascondi password", Loading: "Caricamento in corso", "New password": "Nuova password", Password: "Password", "Phone Number": "Numero di telefono", "Resend Code": "Rispedisci codice", "Reset your Password": "Reimposta la tua Password", "Reset your password": "Reimposta la tua password", "Send code": "Invia codice", "Send Code": "Invia codice", Sending: "Invio in corso", "Setup TOTP": "Configura TOTP", "Show password": "Mostra password", "Sign in to your account": "Accedi al tuo account", "Sign In with Amazon": "Accedi con Amazon", "Sign In with Apple": "Accedi con Apple", "Sign In with Facebook": "Accedi con Facebook", "Sign In with Google": "Accedi con Google", "Sign in": "Accesso", "Sign In": "Accesso", "Signing in": "Accesso in corso", Skip: "Salta", Submit: "Invia", Submitting: "Invio in corso", Username: "Nome utente", "Verify Contact": "Verifica contatto", Verify: "Verifica", "An account with the given email already exists.": "Questa email \xE8 gi\xE0 utilizzata da un'altro account.", "Confirm a Code": "Conferma un codice", "Confirm Sign In": "Conferma l'accesso", "Create account": "Crea account", "Enter your password": "Inserisci la tua password", "Forgot Password": "Password dimenticata", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Formato del numero di telefono non valido", "Lost your code?": "Codice smarrito?", "New Password": "Nuova password", "No account? ": "Non hai un account?", or: "o", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Reset password": "Reimposta password", "Sign Out": "Esci", "Sign Up": "Registrati", "User already exists": "Utente gi\xE0 esistente", "User does not exist": "Utente inesistente", "Username cannot be empty": "Il nome utente non pu\xF2 essere vuoto" };
@@ -512,12 +510,12 @@ var e$2 = { "Account recovery requires verified contact information": "Accounthe
512
510
  var o$6 = { "Account recovery requires verified contact information": "Odzyskanie konta wymaga zweryfikowanych danych kontaktowych", "Back to Sign In": "Powr\xF3t do logowania", "Change Password": "Zmie\u0144 has\u0142o", Changing: "Zmienianie", Code: "Kod", "Confirm Password": "Potwierd\u017A Has\u0142o", "Confirm Sign Up": "Potwierd\u017A rejestracj\u0119", "Confirm SMS Code": "Potwierd\u017A kod SMS", "Confirm TOTP Code": "Potwierd\u017A has\u0142o jednorazowe", Confirm: "Potwierd\u017A", "Confirmation Code": "Kod potwierdzenia", Confirming: "Potwierdzanie", "Create a new account": "Utw\xF3rz nowe konto", "Create Account": "Utw\xF3rz konto", "Creating Account": "Tworzenie konta", "Dismiss alert": "Odrzu\u0107 alert", Email: "E-mail", "Enter your code": "Wprowad\u017A sw\xF3j kod", "Enter your email": "Wpisz sw\xF3j adres e-mail", "Enter your phone number": "Wpisz sw\xF3j numer telefonu", "Enter your username": "Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika", "Forgot your password?": "Zapomnia\u0142e\u015B has\u0142a? ", "Hide password": "Ukryj has\u0142o", Loading: "\u0141adowanie", "New password": "Nowe has\u0142o", Password: "Has\u0142o", "Phone Number": "Numer telefonu", "Resend Code": "Wy\u015Blij kod ponownie", "Reset your password": "Zresetuj swoje has\u0142o", "Reset your Password": "Zresetuj swoje has\u0142o", "Send code": "Wy\u015Blij kod", "Send Code": "Zresetuj has\u0142o", Sending: "Wysy\u0142anie", "Setup TOTP": "Konfiguruj TOTP", "Show password": "Poka\u017C has\u0142o", "Sign in to your account": "Zaloguj si\u0119 na swoje konto", "Sign In with Amazon": "Zaloguj z Amazon", "Sign In with Apple": "Zaloguj z Apple", "Sign In with Facebook": "Zaloguj z Facebook", "Sign In with Google": "Zaloguj z Google", "Sign In": "Logowanie", "Sign in": "Zaloguj", "Signing in": "Logowanie", Skip: "Pomi\u0144", Submit: "Wy\u015Blij", Submitting: "Wysy\u0142anie", Username: "Nazwa u\u017Cytkownika", "Verify Contact": "Weryfikacja danych kontaktowych", Verify: "Zweryfikuj", Birthdate: "Data urodzenia", "Family Name": "Nazwisko", "Given Name": "Pierwsze imi\u0119", "Middle Name": "Drugie imi\u0119", Name: "Imi\u0119 i nazwisko", Nickname: "Pseudonim", "Preferred Username": "Preferowana nazwa u\u017Cytkownika", Profile: "Profil", Website: "Strona internetowa" };
513
511
  var o$5 = { "Account recovery requires verified contact information": "A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas", "Back to Sign In": "Voltar para Entrar", "Change Password": "Mudar senha", Changing: "Mudando", Code: "C\xF3digo", "Confirm Password": "Confirme a Senha", "Confirm Sign Up": "Confirmar inscri\xE7\xE3o", "Confirm SMS Code": "Confirme o c\xF3digo SMS", "Confirm TOTP Code": "Confirme o c\xF3digo TOTP", Confirm: "confirme", "Confirmation Code": "C\xF3digo de confirma\xE7\xE3o", Confirming: "Confirmando", "Create a new account": "Criar uma nova conta", "Create Account": "Criar Conta", "Creating Account": "Criando conta", "Dismiss alert": "Descartar alerta", Email: "O email", "Enter your code": "Insira seu c\xF3digo", "Enter your email": "Digite seu e-mail", "Enter your phone number": "Digite seu n\xFAmero de telefone", "Enter your username": "entre com seu nome de usu\xE1rio", "Forgot your password?": "Esqueceu sua senha? ", "Hide password": "Esconder a senha", Loading: "Carregando", "New password": "Nova Senha", Password: "Senha", "Phone Number": "N\xFAmero de telefone", "Resend Code": "Reenviar c\xF3digo", "Reset your password": "Redefina sua senha", "Reset your Password": "Redefina sua senha", "Send code": "Enviar c\xF3digo", "Send Code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar senha", "Sign in to your account": "Fa\xE7a login em sua conta", "Sign In with Amazon": "Entrar com a Amazon", "Sign In with Apple": "Entrar com a Apple", "Sign In with Facebook": "Entrar com o Facebook", "Sign In with Google": "Fa\xE7a login no Google", "Sign in": "Entrar", "Sign In": "Entrar", "Signing in": "Entrando", Skip: "Pular", Submit: "Enviar", Submitting: "Enviando", Username: "Nome do usu\xE1rio", "Verify Contact": "Verificar contato", Verify: "Verificar" };
514
512
  var o$4 = { "Account recovery requires verified contact information": "\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F", "Back to Sign In": "\u56DE\u5230\u767B\u5F55", "Change Password": "\u66F4\u6539\u5BC6\u7801", Changing: "\u6B63\u5728\u4FEE\u6539", Code: "\u786E\u8BA4\u7801", "Confirm Password": "\u786E\u8BA4\u5BC6\u7801", "Confirm Sign Up": "\u786E\u8BA4\u6CE8\u518C", "Confirm SMS Code": "\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801", "Confirm TOTP Code": "\u786E\u8BA4 TOTP \u4EE3\u7801", Confirm: "\u786E\u8BA4", "Confirmation Code": "\u786E\u8BA4\u7801", Confirming: "\u6B63\u5728\u786E\u8BA4", "Create a new account": "\u521B\u5EFA\u65B0\u8D26\u6237", "Create Account": "\u521B\u5EFA\u8D26\u6237", "Creating Account": "\u6B63\u5728\u521B\u5EFA\u8D26\u6237", "Dismiss alert": "\u5173\u95ED\u8B66\u62A5", Email: "\u90AE\u7BB1", "Enter your code": "\u8F93\u5165\u9A8C\u8BC1\u7801", "Enter your email": "\u8F93\u5165\u7535\u5B50\u90AE\u4EF6", "Enter your phone number": "\u8F93\u5165\u7535\u8BDD\u53F7\u7801", "Enter your username": "\u8F93\u5165\u7528\u6237\u540D", "Forgot your password?": "\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F", "Hide password": "\u9690\u85CF\u5BC6\u7801", Loading: "\u6B63\u5728\u52A0\u8F7D", "New password": "\u65B0\u5BC6\u7801", Password: "\u5BC6\u7801", "Phone Number": "\u7535\u8BDD", "Resend Code": "\u91CD\u53D1\u9A8C\u8BC1\u7801", "Reset your password": "\u91CD\u7F6E\u5BC6\u7801", "Reset your Password": "\u91CD\u7F6E\u5BC6\u7801", "Send Code": "\u53D1\u9001\u786E\u8BA4\u7801", "Send code": "\u53D1\u9001\u9A8C\u8BC1\u7801", Sending: "\u6B63\u5728\u53D1\u9001", "Setup TOTP": "\u8BBE\u7F6E TOTP", "Show password": "\u663E\u793A\u5BC6\u7801", "Sign in to your account": "\u767B\u5F55\u8D26\u6237", "Sign In with Amazon": "\u901A\u8FC7 Amazon \u767B\u5F55", "Sign In with Apple": "\u901A\u8FC7 Apple \u767B\u5F55", "Sign In with Facebook": "\u901A\u8FC7 Facebook \u767B\u5F55", "Sign In with Google": "\u901A\u8FC7 Google \u767B\u5F55", "Sign in": "\u767B\u5F55", "Sign In": "\u767B\u5F55", "Signing in": "\u6B63\u5728\u767B\u5F55", Skip: "\u8DF3\u8FC7", Submit: "\u63D0\u4EA4", Submitting: "\u6B63\u5728\u63D0\u4EA4", Username: "\u7528\u6237\u540D", "Verify Contact": "\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F", Verify: "\u9A8C\u8BC1", "Confirm a Code": "\u786E\u8BA4\u7801", "Confirm Sign In": "\u786E\u8BA4\u767B\u5F55", "Forgot Password": "\u5FD8\u8BB0\u5BC6\u7801", "Incorrect username or password": "\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF", "Invalid password format": "\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF", "Invalid phone number format": "\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900", "New Password": "\u65B0\u5BC6\u7801", or: "\u6216\u8005", "Resend a Code": "\u91CD\u53D1\u786E\u8BA4\u7801", "Sign Out": "\u9000\u51FA", "Sign Up": "\u6CE8\u518C", "User already exists": "\u7528\u6237\u5DF2\u7ECF\u5B58\u5728", "User does not exist": "\u7528\u6237\u4E0D\u5B58\u5728" };
515
- var n$3 = { "Account recovery requires verified contact information": "F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto", "Back to Sign In": "Tillbaka till inloggningen", "Change Password": "Byt l\xF6senord", Changing: "\xC4ndra", Code: "Kod", "Confirm Password": "Bekr\xE4fta l\xF6senord", "Confirm Sign Up": "Bekr\xE4fta registrering", "Confirm SMS Code": "Bekr\xE4fta SMS-kod", "Confirm TOTP Code": "Bekr\xE4fta TOTP-kod", Confirm: "Bekr\xE4fta", "Confirmation Code": "Verifikationskod", Confirming: "Bekr\xE4ftar", "Create a new account": "Skapa ett nytt konto", "Create Account": "Skapa konto", "Creating Account": "Skapar konto", "Dismiss alert": "Avvisa varning", Email: "E-post", "Enter your code": "Skriv din kod", "Enter your email": "Fyll i din e-post", "Enter your phone number": "Ange ditt telefonnummer", "Enter your username": "Ange ditt anv\xE4ndarnamn", "Forgot your password?": "Gl\xF6mt ditt l\xF6senord? ", "Hide password": "D\xF6lj l\xF6senord", Loading: "Laddar", "New password": "Nytt l\xF6senord", Password: "L\xF6senord", "Phone Number": "Telefonnummer", "Resend Code": "Skicka koden igen", "Reset your password": "\xC5terst\xE4ll ditt l\xF6senord", "Reset your Password": "\xC5terst\xE4ll ditt l\xF6senord", "Send code": "Skicka kod", "Send Code": "Skicka kod", Sending: "Skickar", "Setup TOTP": "Konfigurera TOTP", "Show password": "Visa l\xF6senord", "Sign in to your account": "Logga in till ditt konto", "Sign In with Amazon": "Logga in med Amazon", "Sign In with Apple": "Logga in med Apple", "Sign In with Facebook": "Logga in med Facebook", "Sign In with Google": "Logga in med Google", "Sign in": "Logga in", "Sign In": "Logga in", "Signing in": "Loggar in", Skip: "Hoppa \xF6ver", Submit: "Skicka", Submitting: "Skickar in", Username: "Anv\xE4ndarnamn", "Verify Contact": "Verifiera kontakt", Verify: "Verifiera", "An account with the given email already exists.": "Det finns redan ett konto med denna e-postadress", "Confirm a Code": "Bekr\xE4fta koden", "Confirm Sign In": "Bekr\xE4fta inloggning", "Create account": "Skapa konto", "Enter your password": "Ange ditt l\xF6senord", "Forgot Password": "Gl\xF6mt l\xF6senordet", "Have an account? ": "Redan registrerad? ", "Incorrect username or password": "Felaktigt anv\xE4ndarnamn eller l\xF6senord", "Invalid password format": "Ogiltigt l\xF6senordsformat", "Invalid phone number format": "Ogiltigt format f\xF6r telefonnummer", "Lost your code? ": "F\xF6rlorat koden? ", "New Password": "Nytt l\xF6senord", "No account? ": "Inget konto? ", or: "eller", "Password attempts exceeded": "Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts", "Reset password": "\xC5terst\xE4ll l\xF6senord", "Sign Out": "Logga ut", "Sign Up": "Registrering", "User already exists": "Anv\xE4ndaren finns redan", "User does not exist": "Anv\xE4ndaren finns inte", "Username cannot be empty": "Anv\xE4ndarnamnet kan inte vara tomt", "We Emailed You": "Vi har skickat e-post till dig" };
513
+ var n$4 = { "Account recovery requires verified contact information": "F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto", "Back to Sign In": "Tillbaka till inloggningen", "Change Password": "Byt l\xF6senord", Changing: "\xC4ndra", Code: "Kod", "Confirm Password": "Bekr\xE4fta l\xF6senord", "Confirm Sign Up": "Bekr\xE4fta registrering", "Confirm SMS Code": "Bekr\xE4fta SMS-kod", "Confirm TOTP Code": "Bekr\xE4fta TOTP-kod", Confirm: "Bekr\xE4fta", "Confirmation Code": "Verifikationskod", Confirming: "Bekr\xE4ftar", "Create a new account": "Skapa ett nytt konto", "Create Account": "Skapa konto", "Creating Account": "Skapar konto", "Dismiss alert": "Avvisa varning", Email: "E-post", "Enter your code": "Skriv din kod", "Enter your email": "Fyll i din e-post", "Enter your phone number": "Ange ditt telefonnummer", "Enter your username": "Ange ditt anv\xE4ndarnamn", "Forgot your password?": "Gl\xF6mt ditt l\xF6senord? ", "Hide password": "D\xF6lj l\xF6senord", Loading: "Laddar", "New password": "Nytt l\xF6senord", Password: "L\xF6senord", "Phone Number": "Telefonnummer", "Resend Code": "Skicka koden igen", "Reset your password": "\xC5terst\xE4ll ditt l\xF6senord", "Reset your Password": "\xC5terst\xE4ll ditt l\xF6senord", "Send code": "Skicka kod", "Send Code": "Skicka kod", Sending: "Skickar", "Setup TOTP": "Konfigurera TOTP", "Show password": "Visa l\xF6senord", "Sign in to your account": "Logga in till ditt konto", "Sign In with Amazon": "Logga in med Amazon", "Sign In with Apple": "Logga in med Apple", "Sign In with Facebook": "Logga in med Facebook", "Sign In with Google": "Logga in med Google", "Sign in": "Logga in", "Sign In": "Logga in", "Signing in": "Loggar in", Skip: "Hoppa \xF6ver", Submit: "Skicka", Submitting: "Skickar in", Username: "Anv\xE4ndarnamn", "Verify Contact": "Verifiera kontakt", Verify: "Verifiera", "An account with the given email already exists.": "Det finns redan ett konto med denna e-postadress", "Confirm a Code": "Bekr\xE4fta koden", "Confirm Sign In": "Bekr\xE4fta inloggning", "Create account": "Skapa konto", "Enter your password": "Ange ditt l\xF6senord", "Forgot Password": "Gl\xF6mt l\xF6senordet", "Have an account? ": "Redan registrerad? ", "Incorrect username or password": "Felaktigt anv\xE4ndarnamn eller l\xF6senord", "Invalid password format": "Ogiltigt l\xF6senordsformat", "Invalid phone number format": "Ogiltigt format f\xF6r telefonnummer", "Lost your code? ": "F\xF6rlorat koden? ", "New Password": "Nytt l\xF6senord", "No account? ": "Inget konto? ", or: "eller", "Password attempts exceeded": "Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts", "Reset password": "\xC5terst\xE4ll l\xF6senord", "Sign Out": "Logga ut", "Sign Up": "Registrering", "User already exists": "Anv\xE4ndaren finns redan", "User does not exist": "Anv\xE4ndaren finns inte", "Username cannot be empty": "Anv\xE4ndarnamnet kan inte vara tomt", "We Emailed You": "Vi har skickat e-post till dig" };
516
514
  var a$3 = { "Account recovery requires verified contact information": "Pemulihan akun memerlukan informasi kontak terverifikasi", "Back to Sign In": "Kembali ke Masuk", "Change Password": "Ubah kata sandi", Changing: "Mengubah", Code: "Kode", "Confirm Password": "Konfirmasi kata sandi", "Confirm Sign Up": "Konfirmasi Pendaftaran", "Confirm SMS Code": "Konfirmasi Kode SMS", "Confirm TOTP Code": "Konfirmasi Kode TOTP", Confirm: "Konfirmasi", "Confirmation Code": "Kode Konfirmasi", Confirming: "Mengkonfirmasi", "Create a new account": "Buat akun baru", "Create Account": "Buat Akun", "Creating Account": "Membuat Akun", "Dismiss alert": "Hentikan pemberitahuan", Email: "Email", "Enter your code": "Masukkan kode anda", "Enter your email": "Masukkan email anda", "Enter your phone number": "Masukkan nomor telepon anda", "Enter your username": "Masukkan nama akun anda", "Forgot your password?": "Lupa kata sandi? ", "Hide password": "Sembunyikan kata sandi", Loading: "Memuat", "New password": "Kata sandi baru", Password: "Kata sandi", "Phone Number": "Nomor telepon", "Resend Code": "Kirim ulang kodenya", "Reset your Password": "Reset Kata Sandi", "Reset your password": "Ubah kata sandi anda", "Send code": "Kirim kode", "Send Code": "Kirim Kode", Sending: "Mengirim", "Setup TOTP": "Siapkan TOTP", "Show password": "Tampilkan kata sandi", "Sign in to your account": "Masuk akun anda", "Sign In with Amazon": "Masuk dengan Amazon", "Sign In with Apple": "Masuk dengan Apple", "Sign In with Facebook": "Masuk dengan Facebook", "Sign In with Google": "Masuk dengan Google", "Sign in": "Masuk", "Sign In": "Masuk", "Signing in": "Memasuki", Skip: "Lewati", Submit: "Ajukan", Submitting: "Mengajukan", Username: "Nama akun", "Verify Contact": "Verifikasi Kontak", Verify: "Verifikasi", "An account with the given email already exists.": "Akun dengan email tersebut sudah terdaftar.", "Attempt limit exceeded, please try after some time.": "Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.", "Cannot reset password for the user as there is no registered/verified email or phone_number": "Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon", Change: "Ubah", "Confirm a Code": "Konfirmasi kode", "Create account": "Buat akun", "Enter your password": "Masukkan kata sandi anda", "Forgot Password": "Lupa kata sandi", "Have an account? ": "Sudah punya akun? ", Hello: "Halo", "Incorrect username or password.": "Nama akun atau kata sandi salah.", "Invalid phone number format": "Nomor telepon tidak sesuai dengan format.", "Invalid verification code provided, please try again.": "Kode verifikasi tidak sesuai, mohon coba lagi.", "It may take a minute to arrive.": "Mungkin perlu beberapa waktu untuk tiba.", "Lost your code? ": "Kode anda hilang?", Name: "Nama", "Network error": "Galat jaringan", "No account? ": "Tidak ada akun?", or: "atau", "Password did not conform with policy: Password not long enough": "Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang", "Resend a Code": "Renvoyer un code", "Reset password": "Ubah kata sandi anda", Send: "Kirim", "Sign In with AWS": "Masuk dengan AWS", "Sign Up with Amazon": "Daftar dengan Amazon", "Sign Up with AWS": "Daftar dengan AWS", "Sign Up with Facebook": "Daftar dengan Facebook", "Sign Up with Google": "Daftar dengan Google", SMS: "SMS", "User already exists": "Akun sudah terdaftar", "User does not exist.": "Akun tidak terdaftar.", "User is disabled.": "Akun dinonaktifkan.", "Username cannot be empty": "Nama akun tidak boleh kosong", "Username/client id combination not found.": "Nama akun atau id tidak ditemukan.", "We Emailed You": "Kami mengirimkanmu email", "Your code is on the way. To log in, enter the code we emailed to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke", "Your code is on the way. To log in, enter the code we texted to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke", "Your passwords must match": "Kata sandi harus sama" };
517
515
  var e$1 = { "Account recovery requires verified contact information": "Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir", "Back to Sign In": "Oturum A\xE7maya Geri D\xF6n", "Change Password": "\u015Eifreyi De\u011Fi\u015Ftir", Changing: "De\u011Fi\u015Ftiriliyor", Code: "Kod", "Confirm Password": "\u015Eifreyi Do\u011Frula", "Confirm Sign Up": "Kay\u0131t \u0130\u015Flemini Do\u011Frula", "Confirm SMS Code": "SMS Kodunu Do\u011Frula", "Confirm TOTP Code": "Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula", Confirm: "Do\u011Frula", "Confirmation Code": "Do\u011Frulama Kodu", Confirming: "Do\u011Frulan\u0131yor", "Create a new account": "Yeni bir hesap olu\u015Ftur", "Create Account": "Hesap Olu\u015Ftur", "Creating Account": "Hesap Olu\u015Fturuluyor", "Dismiss alert": "Uyar\u0131y\u0131 reddet", Email: "E-posta", "Enter your code": "Kodu girin", "Enter your email": "E-posta adresinizi girin", "Enter your phone number": "Telefon numaran\u0131z\u0131 girin", "Enter your username": "Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin", "Forgot your password?": "\u015Eifrenizi mi unuttunuz?", "Hide password": "\u015Eifreyi gizle", Loading: "Y\xFCkleniyor", "New password": "Yeni \u015Fifre", Password: "\u015Eifre", "Phone Number": "Telefon Numaras\u0131", "Resend Code": "Kodu Yeniden G\xF6nder", "Reset your password": "\u015Eifrenizi s\u0131f\u0131rlay\u0131n", "Reset your Password": "\u015Eifrenizi S\u0131f\u0131rlay\u0131n", "Send code": "Kod g\xF6nder", "Send Code": "Kod G\xF6nder", Sending: "G\xF6nderiliyor", "Setup TOTP": "Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap", "Show password": "\u015Eifreyi g\xF6ster", "Sign in to your account": "Hesab\u0131n\u0131zda oturum a\xE7\u0131n", "Sign In with Amazon": "Amazon ile Oturum A\xE7", "Sign In with Apple": "Apple ile Oturum A\xE7", "Sign In with Facebook": "Facebook ile Oturum A\xE7", "Sign In with Google": "Google ile Oturum A\xE7", "Sign in": "Oturum a\xE7", "Sign In": "Oturum A\xE7", "Signing in": "Oturum a\xE7\u0131l\u0131yor", Skip: "Atla", Submit: "G\xF6nder", Submitting: "G\xF6nderiliyor", Username: "Kullan\u0131c\u0131 ad\u0131", "Verify Contact": "Ki\u015Fiyi Do\u011Frula", Verify: "Do\u011Frula", "An account with the given email already exists.": "Bu e-postaya ait zaten bir hesap var.", "Confirm Sign In": "Oturum A\xE7may\u0131 Do\u011Frula", "Have an account? ": "Hesab\u0131n\u0131z var m\u0131? ", "Incorrect username or password": "Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre", "Invalid password format": "Ge\xE7ersiz parola format\u0131", "Invalid phone number format": "Ge\xE7ersiz telefon numaras\u0131 format\u0131", "Lost your code? ": "Kodu mu kaybettiniz? ", "No account? ": "Hesab\u0131n\u0131z yok mu? ", or: "veya", "Password attempts exceeded": "Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131", "Sign Out": "\xC7\u0131k\u0131\u015F yap", "Sign Up": "Kay\u0131t Ol", "User already exists": "Bu kullan\u0131c\u0131 zaten var", "User does not exist": "B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil", "Username cannot be empty": "Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz" };
518
516
  var o$3 = { "Account recovery requires verified contact information": "\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438", "Back to Sign In": "\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438", "Change Password": "\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C", Changing: "\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435", Code: "\u041A\u043E\u0434", "Confirm Password": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F", "Confirm Sign Up": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F", "Confirm SMS Code": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434", "Confirm TOTP Code": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434", Confirm: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C", "Confirmation Code": "\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F", Confirming: "\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435", "Create a new account": "\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C", "Create Account": "\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C", "Creating Account": "\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C", "Dismiss alert": "\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435", Email: "\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", "Enter your code": "\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434", "Enter your email": "\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", "Enter your phone number": "\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", "Enter your username": "\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F", "Forgot your password?": "\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?", "Hide password": "\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C", Loading: "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430", "New password": "\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C", Password: "\u041F\u0430\u0440\u043E\u043B\u044C", "Phone Number": "\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", "Resend Code": "\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434", "Reset your password": "\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C", "Reset your Password": "\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C", "Send code": "\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434", "Send Code": "\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434", Sending: "\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430", "Setup TOTP": "\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP", "Show password": "\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C", "Sign in to your account": "\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442", "Sign In with Amazon": "\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon", "Sign In with Apple": "\u0437\u043D\u0430\u043A \u0432 \u0441 Apple", "Sign In with Facebook": "\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook", "Sign In with Google": "\u0437\u043D\u0430\u043A \u0432 \u0441 Google", "Sign in": "\u0437\u043D\u0430\u043A \u0432", "Sign In": "\u0437\u043D\u0430\u043A \u0432", "Signing in": "\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432", Skip: "\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C", Submit: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435", Submitting: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432", Username: "\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F", "Verify Contact": "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442", Verify: "\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C" };
519
517
  var N$1 = { 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" };
520
- var d$2 = __assign$2({}, e$7), v$1 = __assign$2({}, n$4), x = __assign$2({}, e$6), k$2 = __assign$2({}, e$5), z = __assign$2({}, o$7), T = __assign$2({}, e$4), b$2 = __assign$2({}, e$3), g$1 = __assign$2({}, e$2), q$1 = __assign$2({}, o$6), w$1 = __assign$2({}, o$5), y$1 = __assign$2({}, o$4), A$1 = __assign$2({}, n$3), B = __assign$2({}, a$3), C$1 = __assign$2({}, e$1), E$2 = __assign$2({}, o$3), F = __assign$2({}, N$1);
518
+ var d$2 = __assign$2({}, e$7), v$1 = __assign$2({}, n$5), x$1 = __assign$2({}, e$6), k$2 = __assign$2({}, e$5), z = __assign$2({}, o$7), T = __assign$2({}, e$4), b$2 = __assign$2({}, e$3), g$1 = __assign$2({}, e$2), q$1 = __assign$2({}, o$6), w$1 = __assign$2({}, o$5), y$1 = __assign$2({}, o$4), A$1 = __assign$2({}, n$4), B = __assign$2({}, a$3), C$1 = __assign$2({}, e$1), E$2 = __assign$2({}, o$3), F = __assign$2({}, N$1);
521
519
  __assign$2({}, F);
522
520
  function b$1(r2) {
523
521
  return I18n.get(r2);
@@ -525,9 +523,9 @@ function b$1(r2) {
525
523
  function h$1(r2) {
526
524
  return I18n.get(r2) !== r2;
527
525
  }
528
- var k$1 = { de: d$2, en: v$1, es: x, fr: k$2, id: B, it: z, ja: T, kr: b$2, nl: g$1, pl: q$1, pt: w$1, zh: y$1, sv: A$1, tr: C$1, ru: E$2 };
526
+ var k$1 = { de: d$2, en: v$1, es: x$1, fr: k$2, id: B, it: z, ja: T, kr: b$2, nl: g$1, pl: q$1, pt: w$1, zh: y$1, sv: A$1, tr: C$1, ru: E$2 };
529
527
  var l$1 = { birthdate: { label: "Birthdate", labelHidden: true, placeholder: "Birthdate", type: "date", autocomplete: "bday", isRequired: true }, confirmation_code: { label: "Confirmation Code", labelHidden: true, placeholder: "Code", type: "number", autocomplete: "one-time-code", isRequired: true }, confirm_password: { label: "Confirm Password", labelHidden: true, placeholder: "Confirm Password", type: "password", autocomplete: "new-password", isRequired: true }, email: { label: "Email", labelHidden: true, placeholder: "Email", type: "email", autocomplete: "username", isRequired: true }, family_name: { label: "Family Name", labelHidden: true, placeholder: "Family Name", type: "text", autocomplete: "family-name", isRequired: true }, given_name: { label: "Given Name", labelHidden: true, placeholder: "Given Name", type: "text", autocomplete: "given-name", isRequired: true }, middle_name: { label: "Middle Name", labelHidden: true, placeholder: "Middle Name", type: "text", autocomplete: "additional-name", isRequired: true }, name: { label: "Name", labelHidden: true, placeholder: "Name", type: "text", autocomplete: "name", isRequired: true }, nickname: { label: "Nickname", labelHidden: true, placeholder: "Nickname", type: "text", autocomplete: "tel", isRequired: true }, password: { label: "Password", labelHidden: true, placeholder: "Password", type: "password", autocomplete: "new-password", isRequired: true }, phone_number: { label: "Phone Number", labelHidden: true, placeholder: "Phone", type: "tel", autocomplete: "tel", dialCode: "+1", dialCodeList: r, isRequired: true }, preferred_username: { label: "Preferred Username", labelHidden: true, placeholder: "Preferred Username", type: "text", isRequired: true }, profile: { label: "Profile", labelHidden: true, placeholder: "Profile", type: "url", autocomplete: "url", isRequired: true }, website: { label: "Website", labelHidden: true, placeholder: "Website", type: "url", autocomplete: "url", isRequired: true }, username: { label: "Username", labelHidden: true, placeholder: "Username", type: "text", autocomplete: "username", isRequired: true } }, a$2 = ["^", "$", "*", ".", "[", "]", "{", "}", "(", ")", "?", '"', "!", "@", "#", "%", "&", "/", "\\", ",", ">", "<", "'", ":", ";", "|", "_", "~", "`", "=", "+", "-", " "];
530
- var n$2 = function(r2) {
528
+ var n$3 = function(r2) {
531
529
  var t2 = new FormData(r2.target);
532
530
  return Object.fromEntries(t2);
533
531
  }, u$3 = function(r2) {
@@ -536,7 +534,7 @@ var n$2 = function(r2) {
536
534
  return r2 ? (t2 = r2, Array.isArray(t2) ? r2 : [r2]) : null;
537
535
  var t2;
538
536
  };
539
- var i$3 = function(t2, n2) {
537
+ var o$1 = function(t2, n2) {
540
538
  var e2 = n2.send, r2 = n2.getSnapshot();
541
539
  switch (t2.payload.event) {
542
540
  case "tokenRefresh":
@@ -547,16 +545,16 @@ var i$3 = function(t2, n2) {
547
545
  r2.matches("authenticated.idle") && e2("SIGN_OUT");
548
546
  }
549
547
  }, a$1 = function(n2, e2) {
550
- return void 0 === e2 && (e2 = i$3), Hub.listen("auth", function(t2) {
548
+ return void 0 === e2 && (e2 = o$1), Hub.listen("auth", function(t2) {
551
549
  e2(t2, n2);
552
550
  }, "authenticator-hub-handler");
553
- }, o$1 = function(t2) {
551
+ }, c$2 = function(t2) {
554
552
  return a$2.some(function(n2) {
555
553
  return t2.includes(n2);
556
554
  });
557
555
  };
558
556
  var i$2 = function(r2, e2) {
559
- var a2 = n$7(r2).country_code, s2 = l$1[e2];
557
+ var a2 = n$8(r2).country_code, s2 = l$1[e2];
560
558
  return "tel" === s2.type && (s2 = __assign$2(__assign$2({}, s2), { dialCode: a2 })), s2;
561
559
  }, c$1 = function(r2) {
562
560
  var e2 = r$1(r2);
@@ -578,7 +576,7 @@ var i$2 = function(r2, e2) {
578
576
  }, confirmSignUp: function(r2) {
579
577
  return { confirmation_code: __assign$2(__assign$2({}, i$2(r2, "confirmation_code")), { placeholder: "Enter your code" }) };
580
578
  }, confirmSignIn: d$1, forceNewPassword: function(n2) {
581
- for (var t2 = t$3(n2).context.requiredAttributes, a2 = {}, c2 = 0, d2 = Array.from(new Set(__spreadArray$1(["password", "confirm_password"], t2, true))); c2 < d2.length; c2++) {
579
+ for (var t2 = t$2(n2).context.requiredAttributes, a2 = {}, c2 = 0, d2 = Array.from(new Set(__spreadArray$1(["password", "confirm_password"], t2, true))); c2 < d2.length; c2++) {
582
580
  var u2 = d2[c2];
583
581
  u$3(u2) ? a2[u2] = __assign$2({}, i$2(n2, u2)) : console.debug("Authenticator does not have a default implementation for ".concat(u2, ". Customize ForceNewPassword FormFields to add your own."));
584
582
  }
@@ -1340,13 +1338,13 @@ function cloneDeep(value) {
1340
1338
  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
1341
1339
  }
1342
1340
  var cloneDeep_1 = cloneDeep;
1343
- var t$2 = function(e2) {
1341
+ var t$1 = function(e2) {
1344
1342
  for (var t2 = __assign$2({}, e2), n2 = 0, i2 = Object.entries(e2); n2 < i2.length; n2++) {
1345
1343
  var l2 = i2[n2], c2 = l2[0], u2 = l2[1], a2 = u2.label, f2 = u2.placeholder;
1346
1344
  t2[c2] = __assign$2(__assign$2({}, u2), { label: a2 ? b$1(a2) : void 0, placeholder: f2 ? b$1(f2) : void 0 });
1347
1345
  }
1348
1346
  return t2;
1349
- }, n$1 = function(r2) {
1347
+ }, n$2 = function(r2) {
1350
1348
  return Object.entries(r2).sort(function(r3, e2) {
1351
1349
  return (r3[1].order || Number.MAX_VALUE) - (e2[1].order || Number.MAX_VALUE);
1352
1350
  }).filter(function(r3) {
@@ -1361,13 +1359,13 @@ var t$2 = function(e2) {
1361
1359
  };
1362
1360
  var e = function(r2, i2) {
1363
1361
  var n2 = (0, u$2[r2])(i2);
1364
- return t$2(n2);
1362
+ return t$1(n2);
1365
1363
  }, u$1 = function(o2, t2) {
1366
- var n2, u2, f2 = e(o2, t2), l2 = (null === (u2 = null === (n2 = t$3(t2).context) || void 0 === n2 ? void 0 : n2.formFields) || void 0 === u2 ? void 0 : u2[o2]) || {}, v2 = i$1(f2, l2);
1364
+ var n2, u2, f2 = e(o2, t2), l2 = (null === (u2 = null === (n2 = t$2(t2).context) || void 0 === n2 ? void 0 : n2.formFields) || void 0 === u2 ? void 0 : u2[o2]) || {}, v2 = i$1(f2, l2);
1367
1365
  return delete v2.QR, v2;
1368
1366
  }, f$2 = function(r2, o2) {
1369
1367
  var t2 = u$1(r2, o2);
1370
- return n$1(t2);
1368
+ return n$2(t2);
1371
1369
  };
1372
1370
  /*! *****************************************************************************
1373
1371
  Copyright (c) Microsoft Corporation.
@@ -2170,25 +2168,55 @@ function forwardTo$2(target, options) {
2170
2168
  to: target
2171
2169
  }));
2172
2170
  }
2173
- function resolveActions$1(machine, currentState, currentContext, _event, actions2, predictableExec, preserveActionOrder) {
2171
+ var pluckAssigns$1 = function(actionBlocks) {
2172
+ var e_1, _a2;
2173
+ var assignActions = [];
2174
+ try {
2175
+ for (var actionBlocks_1 = __values(actionBlocks), actionBlocks_1_1 = actionBlocks_1.next(); !actionBlocks_1_1.done; actionBlocks_1_1 = actionBlocks_1.next()) {
2176
+ var block = actionBlocks_1_1.value;
2177
+ var i2 = 0;
2178
+ while (i2 < block.length) {
2179
+ if (block[i2].type === assign$4) {
2180
+ assignActions.push(block[i2]);
2181
+ block.splice(i2, 1);
2182
+ continue;
2183
+ }
2184
+ i2++;
2185
+ }
2186
+ }
2187
+ } catch (e_1_1) {
2188
+ e_1 = {
2189
+ error: e_1_1
2190
+ };
2191
+ } finally {
2192
+ try {
2193
+ if (actionBlocks_1_1 && !actionBlocks_1_1.done && (_a2 = actionBlocks_1.return))
2194
+ _a2.call(actionBlocks_1);
2195
+ } finally {
2196
+ if (e_1)
2197
+ throw e_1.error;
2198
+ }
2199
+ }
2200
+ return assignActions;
2201
+ };
2202
+ function resolveActions$1(machine, currentState, currentContext, _event, actionBlocks, predictableExec, preserveActionOrder) {
2174
2203
  if (preserveActionOrder === void 0) {
2175
2204
  preserveActionOrder = false;
2176
2205
  }
2177
- var _a2 = __read(preserveActionOrder ? [[], actions2] : partition(actions2, function(action) {
2178
- return action.type === assign$4;
2179
- }), 2), assignActions = _a2[0], otherActions = _a2[1];
2206
+ var assignActions = preserveActionOrder ? [] : pluckAssigns$1(actionBlocks);
2180
2207
  var updatedContext = assignActions.length ? updateContext(currentContext, _event, assignActions, currentState) : currentContext;
2181
2208
  var preservedContexts = preserveActionOrder ? [currentContext] : void 0;
2182
- var resolvedActions = flatten(otherActions.map(function(actionObject) {
2183
- var _a3;
2209
+ var deferredToBlockEnd = [];
2210
+ function handleAction(actionObject) {
2211
+ var _a2;
2184
2212
  switch (actionObject.type) {
2185
2213
  case raise$3: {
2186
2214
  return resolveRaise$1(actionObject);
2187
2215
  }
2188
2216
  case send$3:
2189
2217
  var sendAction = resolveSend$1(actionObject, updatedContext, _event, machine.options.delays);
2190
- if (sendAction.to !== SpecialTargets.Internal) {
2191
- predictableExec === null || predictableExec === void 0 ? void 0 : predictableExec(sendAction, updatedContext, _event);
2218
+ if (predictableExec && sendAction.to !== SpecialTargets.Internal) {
2219
+ deferredToBlockEnd.push(sendAction);
2192
2220
  }
2193
2221
  return sendAction;
2194
2222
  case log$2: {
@@ -2198,14 +2226,14 @@ function resolveActions$1(machine, currentState, currentContext, _event, actions
2198
2226
  }
2199
2227
  case choose$2: {
2200
2228
  var chooseAction = actionObject;
2201
- var matchedActions = (_a3 = chooseAction.conds.find(function(condition) {
2229
+ var matchedActions = (_a2 = chooseAction.conds.find(function(condition) {
2202
2230
  var guard = toGuard(condition.cond, machine.options.guards);
2203
2231
  return !guard || evaluateGuard(machine, guard, updatedContext, _event, !predictableExec ? currentState : void 0);
2204
- })) === null || _a3 === void 0 ? void 0 : _a3.actions;
2232
+ })) === null || _a2 === void 0 ? void 0 : _a2.actions;
2205
2233
  if (!matchedActions) {
2206
2234
  return [];
2207
2235
  }
2208
- var _b = __read(resolveActions$1(machine, currentState, updatedContext, _event, toActionObjects$1(toArray(matchedActions), machine.options.actions), predictableExec, preserveActionOrder), 2), resolvedActionsFromChoose = _b[0], resolvedContextFromChoose = _b[1];
2236
+ var _b = __read(resolveActions$1(machine, currentState, updatedContext, _event, [toActionObjects$1(toArray(matchedActions), machine.options.actions)], predictableExec, preserveActionOrder), 2), resolvedActionsFromChoose = _b[0], resolvedContextFromChoose = _b[1];
2209
2237
  updatedContext = resolvedContextFromChoose;
2210
2238
  preservedContexts === null || preservedContexts === void 0 ? void 0 : preservedContexts.push(updatedContext);
2211
2239
  return resolvedActionsFromChoose;
@@ -2215,14 +2243,14 @@ function resolveActions$1(machine, currentState, currentContext, _event, actions
2215
2243
  if (!matchedActions) {
2216
2244
  return [];
2217
2245
  }
2218
- var _c = __read(resolveActions$1(machine, currentState, updatedContext, _event, toActionObjects$1(toArray(matchedActions), machine.options.actions), predictableExec, preserveActionOrder), 2), resolvedActionsFromPure = _c[0], resolvedContext = _c[1];
2246
+ var _c = __read(resolveActions$1(machine, currentState, updatedContext, _event, [toActionObjects$1(toArray(matchedActions), machine.options.actions)], predictableExec, preserveActionOrder), 2), resolvedActionsFromPure = _c[0], resolvedContext = _c[1];
2219
2247
  updatedContext = resolvedContext;
2220
2248
  preservedContexts === null || preservedContexts === void 0 ? void 0 : preservedContexts.push(updatedContext);
2221
2249
  return resolvedActionsFromPure;
2222
2250
  }
2223
2251
  case stop$3: {
2224
2252
  var resolved = resolveStop$1(actionObject, updatedContext, _event);
2225
- predictableExec === null || predictableExec === void 0 ? void 0 : predictableExec(resolved, updatedContext, _event);
2253
+ predictableExec === null || predictableExec === void 0 ? void 0 : predictableExec(resolved, currentContext, _event);
2226
2254
  return resolved;
2227
2255
  }
2228
2256
  case assign$4: {
@@ -2249,9 +2277,38 @@ function resolveActions$1(machine, currentState, currentContext, _event, actions
2249
2277
  }
2250
2278
  return resolvedActionObject;
2251
2279
  }
2252
- }).filter(function(a2) {
2253
- return !!a2;
2254
- }));
2280
+ }
2281
+ function processBlock(block) {
2282
+ var e_2, _a2;
2283
+ var resolvedActions2 = [];
2284
+ try {
2285
+ for (var block_1 = __values(block), block_1_1 = block_1.next(); !block_1_1.done; block_1_1 = block_1.next()) {
2286
+ var action = block_1_1.value;
2287
+ var resolved = handleAction(action);
2288
+ if (resolved) {
2289
+ resolvedActions2 = resolvedActions2.concat(resolved);
2290
+ }
2291
+ }
2292
+ } catch (e_2_1) {
2293
+ e_2 = {
2294
+ error: e_2_1
2295
+ };
2296
+ } finally {
2297
+ try {
2298
+ if (block_1_1 && !block_1_1.done && (_a2 = block_1.return))
2299
+ _a2.call(block_1);
2300
+ } finally {
2301
+ if (e_2)
2302
+ throw e_2.error;
2303
+ }
2304
+ }
2305
+ deferredToBlockEnd.forEach(function(action2) {
2306
+ predictableExec(action2, updatedContext, _event);
2307
+ });
2308
+ deferredToBlockEnd.length = 0;
2309
+ return resolvedActions2;
2310
+ }
2311
+ var resolvedActions = flatten(actionBlocks.map(processBlock));
2255
2312
  return [resolvedActions, updatedContext];
2256
2313
  }
2257
2314
  var serviceStack = [];
@@ -2915,10 +2972,10 @@ var InterpreterStatus;
2915
2972
  })(InterpreterStatus || (InterpreterStatus = {}));
2916
2973
  var Interpreter = /* @__PURE__ */ function() {
2917
2974
  function Interpreter2(machine, options) {
2918
- var _this = this;
2919
2975
  if (options === void 0) {
2920
2976
  options = Interpreter2.defaultOptions;
2921
2977
  }
2978
+ var _this = this;
2922
2979
  this.machine = machine;
2923
2980
  this.delayedEventsMap = {};
2924
2981
  this.listeners = /* @__PURE__ */ new Set();
@@ -2931,6 +2988,7 @@ var Interpreter = /* @__PURE__ */ function() {
2931
2988
  this.status = InterpreterStatus.NotStarted;
2932
2989
  this.children = /* @__PURE__ */ new Map();
2933
2990
  this.forwardTo = /* @__PURE__ */ new Set();
2991
+ this._outgoingQueue = [];
2934
2992
  this.init = this.start;
2935
2993
  this.send = function(event, payload) {
2936
2994
  if (isArray$8(event)) {
@@ -2954,7 +3012,7 @@ var Interpreter = /* @__PURE__ */ function() {
2954
3012
  });
2955
3013
  return _this._state;
2956
3014
  };
2957
- this.sendTo = function(event, to) {
3015
+ this.sendTo = function(event, to, immediate) {
2958
3016
  var isParent = _this.parent && (to === SpecialTargets.Parent || _this.parent.id === to);
2959
3017
  var target = isParent ? _this.parent : isString(to) ? _this.children.get(to) || registry.get(to) : isActor$1(to) ? to : void 0;
2960
3018
  if (!target) {
@@ -2965,13 +3023,22 @@ var Interpreter = /* @__PURE__ */ function() {
2965
3023
  }
2966
3024
  if ("machine" in target) {
2967
3025
  if (_this.status !== InterpreterStatus.Stopped || _this.parent !== target || _this.state.done) {
2968
- target.send(__assign$1(__assign$1({}, event), {
3026
+ var scxmlEvent = __assign$1(__assign$1({}, event), {
2969
3027
  name: event.name === error$3 ? "".concat(error$2(_this.id)) : event.name,
2970
3028
  origin: _this.sessionId
2971
- }));
3029
+ });
3030
+ if (!immediate && _this.machine.config.predictableActionArguments) {
3031
+ _this._outgoingQueue.push([target, scxmlEvent]);
3032
+ } else {
3033
+ target.send(scxmlEvent);
3034
+ }
2972
3035
  }
2973
3036
  } else {
2974
- target.send(event.data);
3037
+ if (!immediate && _this.machine.config.predictableActionArguments) {
3038
+ _this._outgoingQueue.push([target, event.data]);
3039
+ } else {
3040
+ target.send(event.data);
3041
+ }
2975
3042
  }
2976
3043
  };
2977
3044
  this._exec = function(action, context, _event, actionFunctionMap) {
@@ -3008,7 +3075,7 @@ var Interpreter = /* @__PURE__ */ function() {
3008
3075
  return;
3009
3076
  } else {
3010
3077
  if (sendAction.to) {
3011
- _this.sendTo(sendAction._event, sendAction.to);
3078
+ _this.sendTo(sendAction._event, sendAction.to, _event === initEvent$1);
3012
3079
  } else {
3013
3080
  _this.send(sendAction._event);
3014
3081
  }
@@ -3134,6 +3201,11 @@ var Interpreter = /* @__PURE__ */ function() {
3134
3201
  this._state = state;
3135
3202
  if ((!this.machine.config.predictableActionArguments || _event === initEvent$1) && this.options.execute) {
3136
3203
  this.execute(this.state);
3204
+ } else {
3205
+ var item = void 0;
3206
+ while (item = this._outgoingQueue.shift()) {
3207
+ item[0].send(item[1]);
3208
+ }
3137
3209
  }
3138
3210
  this.children.forEach(function(child) {
3139
3211
  _this.state.children[child.id] = child;
@@ -3221,6 +3293,7 @@ var Interpreter = /* @__PURE__ */ function() {
3221
3293
  }
3222
3294
  }
3223
3295
  this._stop();
3296
+ this._stopChildren();
3224
3297
  }
3225
3298
  };
3226
3299
  Interpreter2.prototype.onTransition = function(listener) {
@@ -3305,6 +3378,14 @@ var Interpreter = /* @__PURE__ */ function() {
3305
3378
  });
3306
3379
  return this;
3307
3380
  };
3381
+ Interpreter2.prototype._stopChildren = function() {
3382
+ this.children.forEach(function(child) {
3383
+ if (isFunction$1(child.stop)) {
3384
+ child.stop();
3385
+ }
3386
+ });
3387
+ this.children.clear();
3388
+ };
3308
3389
  Interpreter2.prototype._stop = function() {
3309
3390
  var e_6, _a2, e_7, _b, e_8, _c, e_9, _d, e_10, _e;
3310
3391
  try {
@@ -3423,7 +3504,7 @@ var Interpreter = /* @__PURE__ */ function() {
3423
3504
  }).map(function(stateNode) {
3424
3505
  return toActionObjects$1(stateNode.onExit, _this.machine.options.actions);
3425
3506
  }));
3426
- var _a2 = __read(resolveActions$1(_this.machine, _this.state, _this.state.context, _event, exitActions, _this.machine.config.predictableActionArguments ? _this._exec : void 0, _this.machine.config.predictableActionArguments || _this.machine.config.preserveActionOrder), 2), resolvedActions = _a2[0], updatedContext = _a2[1];
3507
+ var _a2 = __read(resolveActions$1(_this.machine, _this.state, _this.state.context, _event, [exitActions], _this.machine.config.predictableActionArguments ? _this._exec : void 0, _this.machine.config.predictableActionArguments || _this.machine.config.preserveActionOrder), 2), resolvedActions = _a2[0], updatedContext = _a2[1];
3427
3508
  var newState = new State({
3428
3509
  value: _this.state.value,
3429
3510
  context: updatedContext,
@@ -3447,12 +3528,7 @@ var Interpreter = /* @__PURE__ */ function() {
3447
3528
  return newState;
3448
3529
  });
3449
3530
  _this.update(nextState, _event);
3450
- _this.children.forEach(function(child) {
3451
- if (isFunction$1(child.stop)) {
3452
- child.stop();
3453
- }
3454
- });
3455
- _this.children.clear();
3531
+ _this._stopChildren();
3456
3532
  registry.free(_this.sessionId);
3457
3533
  });
3458
3534
  return this;
@@ -3466,6 +3542,10 @@ var Interpreter = /* @__PURE__ */ function() {
3466
3542
  "".concat(events.length, ' event(s) were sent to uninitialized service "').concat(this.machine.id, '". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.')
3467
3543
  );
3468
3544
  }
3545
+ if (!events.length) {
3546
+ return;
3547
+ }
3548
+ var exec = !!this.machine.config.predictableActionArguments && this._exec;
3469
3549
  this.scheduler.schedule(function() {
3470
3550
  var e_11, _a2;
3471
3551
  var nextState = _this.state;
@@ -3475,9 +3555,9 @@ var Interpreter = /* @__PURE__ */ function() {
3475
3555
  var _event = toSCXMLEvent(event_12);
3476
3556
  _this.forward(_event);
3477
3557
  nextState = provide(_this, function() {
3478
- return _this.machine.transition(nextState, _event);
3558
+ return _this.machine.transition(nextState, _event, void 0, exec || void 0);
3479
3559
  });
3480
- batchedActions.push.apply(batchedActions, __spreadArray([], __read(nextState.actions.map(function(a2) {
3560
+ batchedActions.push.apply(batchedActions, __spreadArray([], __read(_this.machine.config.predictableActionArguments ? nextState.actions : nextState.actions.map(function(a2) {
3481
3561
  return bindActionToState(a2, nextState);
3482
3562
  })), false));
3483
3563
  batchChanged = batchChanged || !!nextState.changed;
@@ -3556,7 +3636,7 @@ var Interpreter = /* @__PURE__ */ function() {
3556
3636
  var _this = this;
3557
3637
  this.delayedEventsMap[sendAction.id] = this.clock.setTimeout(function() {
3558
3638
  if (sendAction.to) {
3559
- _this.sendTo(sendAction._event, sendAction.to);
3639
+ _this.sendTo(sendAction._event, sendAction.to, true);
3560
3640
  } else {
3561
3641
  _this.send(sendAction._event);
3562
3642
  }
@@ -4002,10 +4082,10 @@ var createDefaultOptions = function() {
4002
4082
  };
4003
4083
  var StateNode = /* @__PURE__ */ function() {
4004
4084
  function StateNode2(config, options, _context, _stateInfo) {
4005
- var _this = this;
4006
4085
  if (_context === void 0) {
4007
4086
  _context = "context" in config ? config.context : void 0;
4008
4087
  }
4088
+ var _this = this;
4009
4089
  var _a2;
4010
4090
  this.config = config;
4011
4091
  this._context = _context;
@@ -4470,8 +4550,9 @@ var StateNode = /* @__PURE__ */ function() {
4470
4550
  nodes.push(possibleAncestor);
4471
4551
  return nodes;
4472
4552
  };
4473
- StateNode2.prototype.getActions = function(resolvedConfig, isDone, transition, currentContext, _event, prevState) {
4553
+ StateNode2.prototype.getActions = function(resolvedConfig, isDone, transition, currentContext, _event, prevState, predictableExec) {
4474
4554
  var e_4, _a2, e_5, _b;
4555
+ var _this = this;
4475
4556
  var prevConfig = getConfiguration([], prevState ? this.getStateNodes(prevState.value) : [this]);
4476
4557
  try {
4477
4558
  for (var resolvedConfig_1 = __values(resolvedConfig), resolvedConfig_1_1 = resolvedConfig_1.next(); !resolvedConfig_1_1.done; resolvedConfig_1_1 = resolvedConfig_1.next()) {
@@ -4544,16 +4625,19 @@ var StateNode = /* @__PURE__ */ function() {
4544
4625
  });
4545
4626
  var entryStates = new Set(transition.entrySet);
4546
4627
  var exitStates = new Set(transition.exitSet);
4547
- var _c = __read([flatten(Array.from(entryStates).map(function(stateNode) {
4548
- return __spreadArray(__spreadArray([], __read(stateNode.activities.map(function(activity) {
4628
+ var entryActions = Array.from(entryStates).map(function(stateNode) {
4629
+ var entryActions2 = stateNode.onEntry;
4630
+ var invokeActions = stateNode.activities.map(function(activity) {
4549
4631
  return start$2(activity);
4550
- })), false), __read(stateNode.onEntry), false);
4551
- })).concat(doneEvents.map(raise$2)), flatten(Array.from(exitStates).map(function(stateNode) {
4552
- return __spreadArray(__spreadArray([], __read(stateNode.onExit), false), __read(stateNode.activities.map(function(activity) {
4632
+ });
4633
+ return toActionObjects$1(predictableExec ? __spreadArray(__spreadArray([], __read(entryActions2), false), __read(invokeActions), false) : __spreadArray(__spreadArray([], __read(invokeActions), false), __read(entryActions2), false), _this.machine.options.actions);
4634
+ }).concat([doneEvents.map(raise$2)]);
4635
+ var exitActions = Array.from(exitStates).map(function(stateNode) {
4636
+ return toActionObjects$1(__spreadArray(__spreadArray([], __read(stateNode.onExit), false), __read(stateNode.activities.map(function(activity) {
4553
4637
  return stop$2(activity);
4554
- })), false);
4555
- }))], 2), entryActions = _c[0], exitActions = _c[1];
4556
- var actions2 = toActionObjects$1(exitActions.concat(transition.actions).concat(entryActions), this.machine.options.actions);
4638
+ })), false), _this.machine.options.actions);
4639
+ });
4640
+ var actions2 = exitActions.concat([toActionObjects$1(transition.actions, this.machine.options.actions)]).concat(entryActions);
4557
4641
  if (isDone) {
4558
4642
  var stopActions = toActionObjects$1(flatten(__spreadArray([], __read(resolvedConfig), false).sort(function(a2, b2) {
4559
4643
  return b2.order - a2.order;
@@ -4562,7 +4646,7 @@ var StateNode = /* @__PURE__ */ function() {
4562
4646
  })), this.machine.options.actions).filter(function(action) {
4563
4647
  return action.type !== raise$3 && (action.type !== send$3 || !!action.to && action.to !== SpecialTargets.Internal);
4564
4648
  });
4565
- return actions2.concat(stopActions);
4649
+ return actions2.concat([stopActions]);
4566
4650
  }
4567
4651
  return actions2;
4568
4652
  };
@@ -4607,7 +4691,7 @@ var StateNode = /* @__PURE__ */ function() {
4607
4691
  return state;
4608
4692
  };
4609
4693
  StateNode2.prototype.resolveTransition = function(stateTransition, currentState, context, predictableExec, _event) {
4610
- var e_6, _a2;
4694
+ var e_6, _a2, e_7, _b;
4611
4695
  var _this = this;
4612
4696
  if (_event === void 0) {
4613
4697
  _event = initEvent$1;
@@ -4618,15 +4702,32 @@ var StateNode = /* @__PURE__ */ function() {
4618
4702
  var isDone = isInFinalState(resolvedConfiguration, this);
4619
4703
  var resolvedStateValue = willTransition ? getValue(this.machine, configuration) : void 0;
4620
4704
  var historyValue = currentState ? currentState.historyValue ? currentState.historyValue : stateTransition.source ? this.machine.historyValue(currentState.value) : void 0 : void 0;
4621
- var actions2 = this.getActions(new Set(resolvedConfiguration), isDone, stateTransition, context, _event, currentState);
4705
+ var actionBlocks = this.getActions(new Set(resolvedConfiguration), isDone, stateTransition, context, _event, currentState, predictableExec);
4622
4706
  var activities = currentState ? __assign$1({}, currentState.activities) : {};
4623
4707
  try {
4624
- for (var actions_1 = __values(actions2), actions_1_1 = actions_1.next(); !actions_1_1.done; actions_1_1 = actions_1.next()) {
4625
- var action = actions_1_1.value;
4626
- if (action.type === start$3) {
4627
- activities[action.activity.id || action.activity.type] = action;
4628
- } else if (action.type === stop$3) {
4629
- activities[action.activity.id || action.activity.type] = false;
4708
+ for (var actionBlocks_1 = __values(actionBlocks), actionBlocks_1_1 = actionBlocks_1.next(); !actionBlocks_1_1.done; actionBlocks_1_1 = actionBlocks_1.next()) {
4709
+ var block = actionBlocks_1_1.value;
4710
+ try {
4711
+ for (var block_1 = (e_7 = void 0, __values(block)), block_1_1 = block_1.next(); !block_1_1.done; block_1_1 = block_1.next()) {
4712
+ var action = block_1_1.value;
4713
+ if (action.type === start$3) {
4714
+ activities[action.activity.id || action.activity.type] = action;
4715
+ } else if (action.type === stop$3) {
4716
+ activities[action.activity.id || action.activity.type] = false;
4717
+ }
4718
+ }
4719
+ } catch (e_7_1) {
4720
+ e_7 = {
4721
+ error: e_7_1
4722
+ };
4723
+ } finally {
4724
+ try {
4725
+ if (block_1_1 && !block_1_1.done && (_b = block_1.return))
4726
+ _b.call(block_1);
4727
+ } finally {
4728
+ if (e_7)
4729
+ throw e_7.error;
4730
+ }
4630
4731
  }
4631
4732
  }
4632
4733
  } catch (e_6_1) {
@@ -4635,17 +4736,17 @@ var StateNode = /* @__PURE__ */ function() {
4635
4736
  };
4636
4737
  } finally {
4637
4738
  try {
4638
- if (actions_1_1 && !actions_1_1.done && (_a2 = actions_1.return))
4639
- _a2.call(actions_1);
4739
+ if (actionBlocks_1_1 && !actionBlocks_1_1.done && (_a2 = actionBlocks_1.return))
4740
+ _a2.call(actionBlocks_1);
4640
4741
  } finally {
4641
4742
  if (e_6)
4642
4743
  throw e_6.error;
4643
4744
  }
4644
4745
  }
4645
- var _b = __read(resolveActions$1(this, currentState, context, _event, actions2, predictableExec, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), resolvedActions = _b[0], updatedContext = _b[1];
4646
- var _c = __read(partition(resolvedActions, function(action2) {
4746
+ var _c = __read(resolveActions$1(this, currentState, context, _event, actionBlocks, predictableExec, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), resolvedActions = _c[0], updatedContext = _c[1];
4747
+ var _d = __read(partition(resolvedActions, function(action2) {
4647
4748
  return action2.type === raise$3 || action2.type === send$3 && action2.to === SpecialTargets.Internal;
4648
- }), 2), raisedEvents = _c[0], nonRaisedActions = _c[1];
4749
+ }), 2), raisedEvents = _d[0], nonRaisedActions = _d[1];
4649
4750
  var invokeActions = resolvedActions.filter(function(action2) {
4650
4751
  var _a3;
4651
4752
  return action2.type === start$3 && ((_a3 = action2.activity) === null || _a3 === void 0 ? void 0 : _a3.type) === invoke$1;
@@ -4937,7 +5038,7 @@ var StateNode = /* @__PURE__ */ function() {
4937
5038
  });
4938
5039
  Object.defineProperty(StateNode2.prototype, "events", {
4939
5040
  get: function() {
4940
- var e_7, _a2, e_8, _b;
5041
+ var e_8, _a2, e_9, _b;
4941
5042
  if (this.__cache.events) {
4942
5043
  return this.__cache.events;
4943
5044
  }
@@ -4950,36 +5051,36 @@ var StateNode = /* @__PURE__ */ function() {
4950
5051
  var state = states[stateId];
4951
5052
  if (state.states) {
4952
5053
  try {
4953
- for (var _e = (e_8 = void 0, __values(state.events)), _f = _e.next(); !_f.done; _f = _e.next()) {
5054
+ for (var _e = (e_9 = void 0, __values(state.events)), _f = _e.next(); !_f.done; _f = _e.next()) {
4954
5055
  var event_1 = _f.value;
4955
5056
  events.add("".concat(event_1));
4956
5057
  }
4957
- } catch (e_8_1) {
4958
- e_8 = {
4959
- error: e_8_1
5058
+ } catch (e_9_1) {
5059
+ e_9 = {
5060
+ error: e_9_1
4960
5061
  };
4961
5062
  } finally {
4962
5063
  try {
4963
5064
  if (_f && !_f.done && (_b = _e.return))
4964
5065
  _b.call(_e);
4965
5066
  } finally {
4966
- if (e_8)
4967
- throw e_8.error;
5067
+ if (e_9)
5068
+ throw e_9.error;
4968
5069
  }
4969
5070
  }
4970
5071
  }
4971
5072
  }
4972
- } catch (e_7_1) {
4973
- e_7 = {
4974
- error: e_7_1
5073
+ } catch (e_8_1) {
5074
+ e_8 = {
5075
+ error: e_8_1
4975
5076
  };
4976
5077
  } finally {
4977
5078
  try {
4978
5079
  if (_d && !_d.done && (_a2 = _c.return))
4979
5080
  _a2.call(_c);
4980
5081
  } finally {
4981
- if (e_7)
4982
- throw e_7.error;
5082
+ if (e_8)
5083
+ throw e_8.error;
4983
5084
  }
4984
5085
  }
4985
5086
  }
@@ -5053,7 +5154,7 @@ var StateNode = /* @__PURE__ */ function() {
5053
5154
  return transition;
5054
5155
  };
5055
5156
  StateNode2.prototype.formatTransitions = function() {
5056
- var e_9, _a2;
5157
+ var e_10, _a2;
5057
5158
  var _this = this;
5058
5159
  var onConfig;
5059
5160
  if (!this.config.on) {
@@ -5090,17 +5191,17 @@ var StateNode = /* @__PURE__ */ function() {
5090
5191
  var delayedTransition = delayedTransitions_1_1.value;
5091
5192
  formattedTransitions.push(delayedTransition);
5092
5193
  }
5093
- } catch (e_9_1) {
5094
- e_9 = {
5095
- error: e_9_1
5194
+ } catch (e_10_1) {
5195
+ e_10 = {
5196
+ error: e_10_1
5096
5197
  };
5097
5198
  } finally {
5098
5199
  try {
5099
5200
  if (delayedTransitions_1_1 && !delayedTransitions_1_1.done && (_a2 = delayedTransitions_1.return))
5100
5201
  _a2.call(delayedTransitions_1);
5101
5202
  } finally {
5102
- if (e_9)
5103
- throw e_9.error;
5203
+ if (e_10)
5204
+ throw e_10.error;
5104
5205
  }
5105
5206
  }
5106
5207
  return formattedTransitions;
@@ -6159,17 +6260,47 @@ function choose(conds) {
6159
6260
  conds
6160
6261
  };
6161
6262
  }
6162
- function resolveActions(machine, currentState, currentContext, _event, actions2, predictableExec, preserveActionOrder) {
6263
+ var pluckAssigns = function(actionBlocks) {
6264
+ var e_1, _a2;
6265
+ var assignActions = [];
6266
+ try {
6267
+ for (var actionBlocks_1 = _tslib.__values(actionBlocks), actionBlocks_1_1 = actionBlocks_1.next(); !actionBlocks_1_1.done; actionBlocks_1_1 = actionBlocks_1.next()) {
6268
+ var block = actionBlocks_1_1.value;
6269
+ var i2 = 0;
6270
+ while (i2 < block.length) {
6271
+ if (block[i2].type === actionTypes.assign) {
6272
+ assignActions.push(block[i2]);
6273
+ block.splice(i2, 1);
6274
+ continue;
6275
+ }
6276
+ i2++;
6277
+ }
6278
+ }
6279
+ } catch (e_1_1) {
6280
+ e_1 = {
6281
+ error: e_1_1
6282
+ };
6283
+ } finally {
6284
+ try {
6285
+ if (actionBlocks_1_1 && !actionBlocks_1_1.done && (_a2 = actionBlocks_1.return))
6286
+ _a2.call(actionBlocks_1);
6287
+ } finally {
6288
+ if (e_1)
6289
+ throw e_1.error;
6290
+ }
6291
+ }
6292
+ return assignActions;
6293
+ };
6294
+ function resolveActions(machine, currentState, currentContext, _event, actionBlocks, predictableExec, preserveActionOrder) {
6163
6295
  if (preserveActionOrder === void 0) {
6164
6296
  preserveActionOrder = false;
6165
6297
  }
6166
- var _a2 = _tslib.__read(preserveActionOrder ? [[], actions2] : utils$2.partition(actions2, function(action) {
6167
- return action.type === actionTypes.assign;
6168
- }), 2), assignActions = _a2[0], otherActions = _a2[1];
6298
+ var assignActions = preserveActionOrder ? [] : pluckAssigns(actionBlocks);
6169
6299
  var updatedContext = assignActions.length ? utils$2.updateContext(currentContext, _event, assignActions, currentState) : currentContext;
6170
6300
  var preservedContexts = preserveActionOrder ? [currentContext] : void 0;
6171
- var resolvedActions = utils$2.flatten(otherActions.map(function(actionObject) {
6172
- var _a3;
6301
+ var deferredToBlockEnd = [];
6302
+ function handleAction(actionObject) {
6303
+ var _a2;
6173
6304
  switch (actionObject.type) {
6174
6305
  case actionTypes.raise: {
6175
6306
  return resolveRaise(actionObject);
@@ -6182,8 +6313,8 @@ function resolveActions(machine, currentState, currentContext, _event, actions2,
6182
6313
  "No delay reference for delay expression '".concat(actionObject.delay, "' was found on machine '").concat(machine.id, "'")
6183
6314
  );
6184
6315
  }
6185
- if (sendAction.to !== types.SpecialTargets.Internal) {
6186
- predictableExec === null || predictableExec === void 0 ? void 0 : predictableExec(sendAction, updatedContext, _event);
6316
+ if (predictableExec && sendAction.to !== types.SpecialTargets.Internal) {
6317
+ deferredToBlockEnd.push(sendAction);
6187
6318
  }
6188
6319
  return sendAction;
6189
6320
  case actionTypes.log: {
@@ -6193,14 +6324,14 @@ function resolveActions(machine, currentState, currentContext, _event, actions2,
6193
6324
  }
6194
6325
  case actionTypes.choose: {
6195
6326
  var chooseAction = actionObject;
6196
- var matchedActions = (_a3 = chooseAction.conds.find(function(condition) {
6327
+ var matchedActions = (_a2 = chooseAction.conds.find(function(condition) {
6197
6328
  var guard = utils$2.toGuard(condition.cond, machine.options.guards);
6198
6329
  return !guard || utils$2.evaluateGuard(machine, guard, updatedContext, _event, !predictableExec ? currentState : void 0);
6199
- })) === null || _a3 === void 0 ? void 0 : _a3.actions;
6330
+ })) === null || _a2 === void 0 ? void 0 : _a2.actions;
6200
6331
  if (!matchedActions) {
6201
6332
  return [];
6202
6333
  }
6203
- var _b = _tslib.__read(resolveActions(machine, currentState, updatedContext, _event, toActionObjects(utils$2.toArray(matchedActions), machine.options.actions), predictableExec, preserveActionOrder), 2), resolvedActionsFromChoose = _b[0], resolvedContextFromChoose = _b[1];
6334
+ var _b = _tslib.__read(resolveActions(machine, currentState, updatedContext, _event, [toActionObjects(utils$2.toArray(matchedActions), machine.options.actions)], predictableExec, preserveActionOrder), 2), resolvedActionsFromChoose = _b[0], resolvedContextFromChoose = _b[1];
6204
6335
  updatedContext = resolvedContextFromChoose;
6205
6336
  preservedContexts === null || preservedContexts === void 0 ? void 0 : preservedContexts.push(updatedContext);
6206
6337
  return resolvedActionsFromChoose;
@@ -6210,14 +6341,14 @@ function resolveActions(machine, currentState, currentContext, _event, actions2,
6210
6341
  if (!matchedActions) {
6211
6342
  return [];
6212
6343
  }
6213
- var _c = _tslib.__read(resolveActions(machine, currentState, updatedContext, _event, toActionObjects(utils$2.toArray(matchedActions), machine.options.actions), predictableExec, preserveActionOrder), 2), resolvedActionsFromPure = _c[0], resolvedContext = _c[1];
6344
+ var _c = _tslib.__read(resolveActions(machine, currentState, updatedContext, _event, [toActionObjects(utils$2.toArray(matchedActions), machine.options.actions)], predictableExec, preserveActionOrder), 2), resolvedActionsFromPure = _c[0], resolvedContext = _c[1];
6214
6345
  updatedContext = resolvedContext;
6215
6346
  preservedContexts === null || preservedContexts === void 0 ? void 0 : preservedContexts.push(updatedContext);
6216
6347
  return resolvedActionsFromPure;
6217
6348
  }
6218
6349
  case actionTypes.stop: {
6219
6350
  var resolved = resolveStop(actionObject, updatedContext, _event);
6220
- predictableExec === null || predictableExec === void 0 ? void 0 : predictableExec(resolved, updatedContext, _event);
6351
+ predictableExec === null || predictableExec === void 0 ? void 0 : predictableExec(resolved, currentContext, _event);
6221
6352
  return resolved;
6222
6353
  }
6223
6354
  case actionTypes.assign: {
@@ -6244,9 +6375,38 @@ function resolveActions(machine, currentState, currentContext, _event, actions2,
6244
6375
  }
6245
6376
  return resolvedActionObject;
6246
6377
  }
6247
- }).filter(function(a2) {
6248
- return !!a2;
6249
- }));
6378
+ }
6379
+ function processBlock(block) {
6380
+ var e_2, _a2;
6381
+ var resolvedActions2 = [];
6382
+ try {
6383
+ for (var block_1 = _tslib.__values(block), block_1_1 = block_1.next(); !block_1_1.done; block_1_1 = block_1.next()) {
6384
+ var action = block_1_1.value;
6385
+ var resolved = handleAction(action);
6386
+ if (resolved) {
6387
+ resolvedActions2 = resolvedActions2.concat(resolved);
6388
+ }
6389
+ }
6390
+ } catch (e_2_1) {
6391
+ e_2 = {
6392
+ error: e_2_1
6393
+ };
6394
+ } finally {
6395
+ try {
6396
+ if (block_1_1 && !block_1_1.done && (_a2 = block_1.return))
6397
+ _a2.call(block_1);
6398
+ } finally {
6399
+ if (e_2)
6400
+ throw e_2.error;
6401
+ }
6402
+ }
6403
+ deferredToBlockEnd.forEach(function(action2) {
6404
+ predictableExec(action2, updatedContext, _event);
6405
+ });
6406
+ deferredToBlockEnd.length = 0;
6407
+ return resolvedActions2;
6408
+ }
6409
+ var resolvedActions = utils$2.flatten(actionBlocks.map(processBlock));
6250
6410
  return [resolvedActions, updatedContext];
6251
6411
  }
6252
6412
  actions.actionTypes = actionTypes;
@@ -6280,7 +6440,7 @@ var stop_1 = actions.stop = stop;
6280
6440
  actions.toActionObject = toActionObject;
6281
6441
  actions.toActionObjects = toActionObjects;
6282
6442
  actions.toActivityDefinition = toActivityDefinition;
6283
- var t$1 = function(r2) {
6443
+ var t = function(r2) {
6284
6444
  return stop_1(r2);
6285
6445
  }, u = assign_1({ attributeToVerify: function(r2) {
6286
6446
  } }), o = assign_1({ challengeName: function(r2) {
@@ -6315,14 +6475,14 @@ var t$1 = function(r2) {
6315
6475
  return "NoUserPoolError" === e2.data.name ? "Configuration error (see console) \u2013 please contact the administrator" : (null === (n2 = e2.data) || void 0 === n2 ? void 0 : n2.message) || e2.data;
6316
6476
  } }), A = assign_1({ unverifiedAttributes: function(r2, e2) {
6317
6477
  return e2.data.unverified;
6318
- } }), _ = assign_1({ user: function(r2, e2) {
6478
+ } }), _$1 = assign_1({ user: function(r2, e2) {
6319
6479
  return e2.data.user || e2.data;
6320
6480
  } }), y = assign_1({ username: function(r2, e2) {
6321
6481
  var n2 = r2.formValues, t2 = n2.username, u2 = n2.country_code;
6322
6482
  return u2 && (t2 = "".concat(u2).concat(t2)), t2;
6323
6483
  } }), E$1 = assign_1({ codeDeliveryDetails: function(r2, e2) {
6324
6484
  return e2.data.codeDeliveryDetails;
6325
- } }), D = assign_1({ authAttributes: function(r2, e2) {
6485
+ } }), D$1 = assign_1({ authAttributes: function(r2, e2) {
6326
6486
  return { username: r2.formValues.username };
6327
6487
  } }), N = assign_1({ formValues: function(e2, n2) {
6328
6488
  var t2, u2 = n2.data, o2 = u2.name, a2 = u2.value;
@@ -6722,7 +6882,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
6722
6882
  baseMerge(object, source, srcIndex);
6723
6883
  });
6724
6884
  var merge_1 = merge;
6725
- var n = function(n2, s2, m2, a2) {
6885
+ var n$1 = function(n2, s2, m2, a2) {
6726
6886
  return __awaiter(void 0, void 0, void 0, function() {
6727
6887
  var r2, l2;
6728
6888
  return __generator(this, function(o2) {
@@ -6816,7 +6976,7 @@ var s = { getAmplifyConfig: function() {
6816
6976
  /[0-9]/.test(t2) || e2.push("Password must have numbers");
6817
6977
  break;
6818
6978
  case "REQUIRES_SYMBOLS":
6819
- o$1(t2) || e2.push("Password must have special characters");
6979
+ c$2(t2) || e2.push("Password must have special characters");
6820
6980
  }
6821
6981
  }), [2, 0 !== e2.length ? { password: e2 } : null]) : [2, null];
6822
6982
  });
@@ -6835,15 +6995,21 @@ var s = { getAmplifyConfig: function() {
6835
6995
  });
6836
6996
  });
6837
6997
  } };
6838
- function k(k2) {
6839
- var D$1 = k2.services;
6840
- return 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: ["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(e2) {
6998
+ var _ = ["SMS_MFA", "SOFTWARE_TOKEN_MFA"], k = function(e2) {
6999
+ return get_1(e2, "data.challengeName");
7000
+ }, D = function(e2, t2) {
7001
+ return e2 === t2;
7002
+ }, j = function(e2) {
7003
+ return _.includes(e2);
7004
+ };
7005
+ function x(s$22) {
7006
+ var _2 = s$22.services;
7007
+ return createMachine({ initial: "init", id: "signInActor", predictableActionArguments: true, 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: ["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(e2) {
6841
7008
  return { user: e2.user };
6842
7009
  } }, rejected: { type: "final", data: function(e2, t2) {
6843
7010
  return { intent: e2.redirectIntent, authAttributes: e2.authAttributes };
6844
- } } } }, { actions: { clearAttributeToVerify: u, clearChallengeName: o, clearRequiredAttributes: a, clearError: i, clearFormValues: c, clearTouched: s$1, clearUnverifiedAttributes: l, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, parsePhoneNumber: P, setChallengeName: m, setConfirmResetPasswordIntent: h, setConfirmSignUpIntent: V, setRequiredAttributes: v, setCredentials: b, setFieldErrors: p$1, setRemoteError: g, setUnverifiedAttributes: A, setUser: _, setUsernameAuthAttributes: D, sendUpdate: sendUpdate$1() }, guards: { shouldConfirmSignIn: function(e2, t2) {
6845
- var r2 = get_1(t2, "data.challengeName");
6846
- return [E$3.SMS_MFA, E$3.SOFTWARE_TOKEN_MFA].includes(r2);
7011
+ } } } }, { actions: { clearAttributeToVerify: u, clearChallengeName: o, clearRequiredAttributes: a, clearError: i, clearFormValues: c, clearTouched: s$1, clearUnverifiedAttributes: l, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, parsePhoneNumber: P, setChallengeName: m, setConfirmResetPasswordIntent: h, setConfirmSignUpIntent: V, setRequiredAttributes: v, setCredentials: b, setFieldErrors: p$1, setRemoteError: g, setUnverifiedAttributes: A, setUser: _$1, setUsernameAuthAttributes: D$1, sendUpdate: sendUpdate$1() }, guards: { shouldConfirmSignIn: function(e2, t2) {
7012
+ return j(k(t2));
6847
7013
  }, shouldAutoSignIn: function(e2) {
6848
7014
  return "autoSignIn" === (null == e2 ? void 0 : e2.intent);
6849
7015
  }, shouldRedirectToConfirmSignUp: function(e2, t2) {
@@ -6851,9 +7017,9 @@ function k(k2) {
6851
7017
  }, shouldRedirectToConfirmResetPassword: function(e2, t2) {
6852
7018
  return "PasswordResetRequiredException" === t2.data.code;
6853
7019
  }, shouldSetupTOTP: function(e2, t2) {
6854
- return get_1(t2, "data.challengeName") === E$3.MFA_SETUP;
7020
+ return D(k(t2), "MFA_SETUP");
6855
7021
  }, shouldForceChangePassword: function(e2, t2) {
6856
- return get_1(t2, "data.challengeName") === E$3.NEW_PASSWORD_REQUIRED;
7022
+ return D(k(t2), "NEW_PASSWORD_REQUIRED");
6857
7023
  }, shouldRequestVerification: function(e2, t2) {
6858
7024
  var r2 = t2.data, n2 = r2.unverified, i2 = r2.verified;
6859
7025
  return isEmpty_1(i2) && !isEmpty_1(n2);
@@ -6863,19 +7029,19 @@ function k(k2) {
6863
7029
  return __generator(this, function(t2) {
6864
7030
  switch (t2.label) {
6865
7031
  case 0:
6866
- return e2 = n2.authAttributes, i2 = void 0 === e2 ? {} : e2, s2 = n2.formValues, o2 = void 0 === s2 ? {} : s2, a2 = __assign$2(__assign$2({}, i2), o2), c2 = a2.username, d2 = a2.password, [4, D$1.handleSignIn({ username: c2, password: d2 })];
7032
+ return e2 = n2.authAttributes, i2 = void 0 === e2 ? {} : e2, s2 = n2.formValues, o2 = void 0 === s2 ? {} : s2, a2 = __assign$2(__assign$2({}, i2), o2), c2 = a2.username, d2 = a2.password, [4, _2.handleSignIn({ username: c2, password: d2 })];
6867
7033
  case 1:
6868
7034
  return [2, t2.sent()];
6869
7035
  }
6870
7036
  });
6871
7037
  });
6872
- }, confirmSignIn: function(r2, n2) {
7038
+ }, confirmSignIn: function(r2) {
6873
7039
  return __awaiter(this, void 0, void 0, function() {
6874
- var e2, n3, s2, o2;
7040
+ var e2, n2, s2, o2;
6875
7041
  return __generator(this, function(t2) {
6876
7042
  switch (t2.label) {
6877
7043
  case 0:
6878
- return e2 = r2.challengeName, n3 = r2.user, s2 = r2.formValues.confirmation_code, e2 !== E$3.SMS_MFA && e2 !== E$3.SOFTWARE_TOKEN_MFA || (o2 = e2), [4, D$1.handleConfirmSignIn({ user: n3, code: s2, mfaType: o2 })];
7044
+ return e2 = r2.challengeName, n2 = r2.user, s2 = r2.formValues.confirmation_code, o2 = j(e2) ? e2 : void 0, [4, _2.handleConfirmSignIn({ user: n2, code: s2, mfaType: o2 })];
6879
7045
  case 1:
6880
7046
  return t2.sent(), [4, Auth.currentAuthenticatedUser()];
6881
7047
  case 2:
@@ -6883,13 +7049,13 @@ function k(k2) {
6883
7049
  }
6884
7050
  });
6885
7051
  });
6886
- }, forceNewPassword: function(s2, o2) {
7052
+ }, forceNewPassword: function(s2) {
6887
7053
  return __awaiter(this, void 0, void 0, function() {
6888
- var e2, o3, a2, c2, d2, u2, l2, g2, f2;
7054
+ var e2, o2, a2, c2, d2, u2, l2, g2, f2;
6889
7055
  return __generator(this, function(t2) {
6890
7056
  switch (t2.label) {
6891
7057
  case 0:
6892
- e2 = s2.user, o3 = s2.formValues, a2 = o3.password, o3.confirm_password, c2 = o3.phone_number, d2 = o3.country_code, u2 = __rest$2(o3, ["password", "confirm_password", "phone_number", "country_code"]), c2 && (l2 = "".concat(d2).concat(c2).replace(/[^A-Z0-9+]/gi, ""), u2 = __assign$2(__assign$2({}, u2), { phone_number: l2 })), t2.label = 1;
7058
+ e2 = s2.user, o2 = s2.formValues, a2 = o2.password, o2.confirm_password, c2 = o2.phone_number, d2 = o2.country_code, u2 = __rest$2(o2, ["password", "confirm_password", "phone_number", "country_code"]), c2 && (l2 = "".concat(d2).concat(c2).replace(/[^A-Z0-9+]/gi, ""), u2 = __assign$2(__assign$2({}, u2), { phone_number: l2 })), t2.label = 1;
6893
7059
  case 1:
6894
7060
  return t2.trys.push([1, 3, , 4]), [4, Auth.completeNewPassword(e2, a2, u2)];
6895
7061
  case 2:
@@ -6901,11 +7067,11 @@ function k(k2) {
6901
7067
  }
6902
7068
  });
6903
7069
  });
6904
- }, verifyTotpToken: function(r2, n2) {
7070
+ }, verifyTotpToken: function(r2) {
6905
7071
  return __awaiter(this, void 0, void 0, function() {
6906
- var e2, n3;
7072
+ var e2, n2, s2;
6907
7073
  return __generator(this, function(t2) {
6908
- return e2 = r2.user, n3 = r2.formValues.confirmation_code, [2, Auth.verifyTotpToken(e2, n3)];
7074
+ return e2 = r2.formValues, n2 = r2.user, s2 = e2.confirmation_code, [2, Auth.verifyTotpToken(n2, s2)];
6909
7075
  });
6910
7076
  });
6911
7077
  }, federatedSignIn: function(r2, n2) {
@@ -6920,7 +7086,7 @@ function k(k2) {
6920
7086
  }
6921
7087
  });
6922
7088
  });
6923
- }, checkVerifiedContact: function(r2, n2) {
7089
+ }, checkVerifiedContact: function(r2) {
6924
7090
  return __awaiter(this, void 0, void 0, function() {
6925
7091
  var e2;
6926
7092
  return __generator(this, function(t2) {
@@ -6932,44 +7098,44 @@ function k(k2) {
6932
7098
  }
6933
7099
  });
6934
7100
  });
6935
- }, verifyUser: function(r2, n2) {
7101
+ }, verifyUser: function(r2) {
6936
7102
  return __awaiter(this, void 0, void 0, function() {
6937
- var e2, n3;
7103
+ var e2, n2;
6938
7104
  return __generator(this, function(t2) {
6939
7105
  switch (t2.label) {
6940
7106
  case 0:
6941
7107
  return e2 = r2.formValues.unverifiedAttr, [4, Auth.verifyCurrentUserAttribute(e2)];
6942
7108
  case 1:
6943
- return n3 = t2.sent(), r2.attributeToVerify = e2, [2, n3];
7109
+ return n2 = t2.sent(), r2.attributeToVerify = e2, [2, n2];
6944
7110
  }
6945
7111
  });
6946
7112
  });
6947
- }, confirmVerifyUser: function(r2, n2) {
7113
+ }, confirmVerifyUser: function(r2) {
6948
7114
  return __awaiter(this, void 0, void 0, function() {
6949
- var e2, n3;
7115
+ var e2, n2;
6950
7116
  return __generator(this, function(t2) {
6951
7117
  switch (t2.label) {
6952
7118
  case 0:
6953
- return e2 = r2.attributeToVerify, n3 = r2.formValues.confirmation_code, [4, Auth.verifyCurrentUserAttributeSubmit(e2, n3)];
7119
+ return e2 = r2.attributeToVerify, n2 = r2.formValues.confirmation_code, [4, Auth.verifyCurrentUserAttributeSubmit(e2, n2)];
6954
7120
  case 1:
6955
7121
  return [2, t2.sent()];
6956
7122
  }
6957
7123
  });
6958
7124
  });
6959
- }, validateFields: function(r2, n$12) {
7125
+ }, validateFields: function(r2) {
6960
7126
  return __awaiter(this, void 0, void 0, function() {
6961
7127
  return __generator(this, function(e2) {
6962
- return [2, n(r2.formValues, r2.touched, r2.passwordSettings, [s.validateConfirmPassword])];
7128
+ return [2, n$1(r2.formValues, r2.touched, r2.passwordSettings, [s.validateConfirmPassword])];
6963
7129
  });
6964
7130
  });
6965
7131
  } } });
6966
7132
  }
6967
- var t = 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() {
7133
+ var n = createMachine({ initial: "pending", id: "signOutActor", predictableActionArguments: true, states: { pending: { tags: ["pending"], invoke: { src: "signOut", onDone: "resolved", onError: "rejected" } }, resolved: { type: "final" }, rejected: { type: "final" } } }, { services: { signOut: function() {
6968
7134
  return Auth.signOut();
6969
7135
  } } });
6970
7136
  function E(E2) {
6971
7137
  var h2 = E2.services;
6972
- return 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: i, clearFormValues: c, clearTouched: s$1, clearUsername: d, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, setFieldErrors: p$1, setRemoteError: g, setUsername: y, sendUpdate: sendUpdate$1() }, guards: { shouldAutoConfirmReset: function(e2, r2) {
7138
+ return createMachine({ id: "resetPasswordActor", initial: "init", predictableActionArguments: true, 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: i, clearFormValues: c, clearTouched: s$1, clearUsername: d, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, setFieldErrors: p$1, setRemoteError: g, setUsername: y, sendUpdate: sendUpdate$1() }, guards: { shouldAutoConfirmReset: function(e2, r2) {
6973
7139
  return !(!e2.intent || "confirmPasswordReset" !== e2.intent);
6974
7140
  } }, services: { resetPassword: function(t2) {
6975
7141
  return __awaiter(this, void 0, void 0, function() {
@@ -6985,10 +7151,10 @@ function E(E2) {
6985
7151
  return e2 = t2.username, n2 = t2.formValues, s2 = n2.confirmation_code, o2 = n2.password, [2, h2.handleForgotPasswordSubmit({ username: e2, code: s2, password: o2 })];
6986
7152
  });
6987
7153
  });
6988
- }, validateFields: function(t2, n$12) {
7154
+ }, validateFields: function(t2, n2) {
6989
7155
  return __awaiter(this, void 0, void 0, function() {
6990
7156
  return __generator(this, function(e2) {
6991
- return [2, n(t2.formValues, t2.touched, t2.passwordSettings, [s.validateConfirmPassword])];
7157
+ return [2, n$1(t2.formValues, t2.touched, t2.passwordSettings, [s.validateConfirmPassword])];
6992
7158
  });
6993
7159
  });
6994
7160
  } } });
@@ -7430,7 +7596,7 @@ function pickBy(object, predicate) {
7430
7596
  var pickBy_1 = pickBy;
7431
7597
  function C(C2) {
7432
7598
  var I = C2.services;
7433
- return 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", "setCredentials"] }, { target: "resolved", actions: ["setUser", "setCredentials", "setCodeDeliveryDetails"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { always: { target: "#signUpActor.resolved", actions: "setAutoSignInIntent" } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: "sendUpdate", on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: "sendUpdate", invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setAutoSignInIntent", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: ["sendUpdate", "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: "setAutoSignInIntent" }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: function(e2, n2) {
7599
+ return createMachine({ id: "signUpActor", initial: "init", predictableActionArguments: true, states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateSignUp", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: "sendUpdate" }, invalid: { entry: "sendUpdate" } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: "sendUpdate", on: { SUBMIT: { actions: "handleSubmit", target: "validate" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: ["sendUpdate", "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: "sendUpdate", invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: ["parsePhoneNumber", "sendUpdate", "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser", "setCredentials"] }, { target: "resolved", actions: ["setUser", "setCredentials", "setCodeDeliveryDetails"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { always: { target: "#signUpActor.resolved", actions: "setAutoSignInIntent" } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: "sendUpdate", on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: "sendUpdate", invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setAutoSignInIntent", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: ["sendUpdate", "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: "setAutoSignInIntent" }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: function(e2, n2) {
7434
7600
  var t2 = e2.authAttributes, i2 = t2.username, a2 = t2.password;
7435
7601
  return { user: get_1(n2, "data.user") || e2.user, authAttributes: { username: i2, password: a2 }, intent: e2.intent };
7436
7602
  } } } }, { guards: { isUserAlreadyConfirmed: function(e2, n2) {
@@ -7439,7 +7605,7 @@ function C(C2) {
7439
7605
  return e2.intent && "confirmSignUp" === e2.intent;
7440
7606
  }, shouldSkipConfirm: function(e2, n2) {
7441
7607
  return n2.data.userConfirmed;
7442
- } }, actions: { clearError: i, clearFormValues: c, clearTouched: s$1, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, parsePhoneNumber: P, setCredentials: b, setFieldErrors: p$1, setRemoteError: g, setCodeDeliveryDetails: E$1, setUser: _, sendUpdate: sendUpdate$1(), setAutoSignInIntent: assign$2({ intent: function(e2) {
7608
+ } }, actions: { clearError: i, clearFormValues: c, clearTouched: s$1, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, parsePhoneNumber: P, setCredentials: b, setFieldErrors: p$1, setRemoteError: g, setCodeDeliveryDetails: E$1, setUser: _$1, sendUpdate: sendUpdate$1(), setAutoSignInIntent: assign$2({ intent: function(e2) {
7443
7609
  return "autoSignIn";
7444
7610
  } }) }, services: { confirmSignUp: function(t2, i2) {
7445
7611
  return __awaiter(this, void 0, void 0, function() {
@@ -7510,13 +7676,13 @@ function C(C2) {
7510
7676
  }, validateSignUp: function(t2, r2) {
7511
7677
  return __awaiter(this, void 0, void 0, function() {
7512
7678
  return __generator(this, function(e2) {
7513
- return [2, n(t2.formValues, t2.touched, t2.passwordSettings, [I.validateFormPassword, I.validateConfirmPassword, I.validatePreferredUsername, I.validateCustomSignUp])];
7679
+ return [2, n$1(t2.formValues, t2.touched, t2.passwordSettings, [I.validateFormPassword, I.validateConfirmPassword, I.validatePreferredUsername, I.validateCustomSignUp])];
7514
7680
  });
7515
7681
  });
7516
7682
  } } });
7517
7683
  }
7518
7684
  function f() {
7519
- return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: {}, services: s, actorRef: void 0, hasSetup: false }, 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: choose_1([{ cond: "hasActor", actions: forwardTo$1(function(t2) {
7685
+ return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: {}, services: s, actorRef: void 0, hasSetup: false }, predictableActionArguments: true, 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: choose_1([{ cond: "hasActor", actions: forwardTo$1(function(t2) {
7520
7686
  return t2.actorRef;
7521
7687
  }) }]), setUser: assign$2({ user: function(t2, o2) {
7522
7688
  return o2.data;
@@ -7537,10 +7703,10 @@ function f() {
7537
7703
  return t3.toLowerCase();
7538
7704
  })) && void 0 !== d2 ? d2 : [], w2 = n2.data.aws_cognito_password_protection_settings || {};
7539
7705
  0 === g2.length && g2.push("username");
7540
- var S2 = t2.config, m2 = S2.loginMechanisms, h2 = S2.signUpAttributes, D2 = S2.socialProviders, I = S2.initialState;
7541
- return { loginMechanisms: null != m2 ? m2 : g2, formFields: null !== (l2 = p(S2.formFields)) && void 0 !== l2 ? l2 : {}, passwordSettings: w2, signUpAttributes: null != h2 ? h2 : Array.from(new Set(__spreadArray$1(__spreadArray$1([], v2, true), f2, true))), socialProviders: null != D2 ? D2 : A2.sort(), initialState: I };
7706
+ var m2 = t2.config, S = m2.loginMechanisms, h2 = m2.signUpAttributes, D2 = m2.socialProviders, I = m2.initialState;
7707
+ return { loginMechanisms: null != S ? S : g2, formFields: null !== (l2 = p(m2.formFields)) && void 0 !== l2 ? l2 : {}, passwordSettings: w2, signUpAttributes: null != h2 ? h2 : Array.from(new Set(__spreadArray$1(__spreadArray$1([], v2, true), f2, true))), socialProviders: null != D2 ? D2 : A2.sort(), initialState: I };
7542
7708
  } }), spawnSignInActor: assign$2({ actorRef: function(t2, o2) {
7543
- var n2, r2, i2, e2, s2, c2, d2 = t2.services, l2 = k({ services: d2 }).withContext({ authAttributes: null !== (r2 = null === (n2 = t2.actorDoneData) || void 0 === n2 ? void 0 : n2.authAttributes) && void 0 !== r2 ? r2 : {}, user: t2.user, intent: null === (i2 = t2.actorDoneData) || void 0 === i2 ? void 0 : i2.intent, country_code: "+1", formValues: {}, touched: {}, validationError: {}, loginMechanisms: null === (e2 = t2.config) || void 0 === e2 ? void 0 : e2.loginMechanisms, socialProviders: null === (s2 = t2.config) || void 0 === s2 ? void 0 : s2.socialProviders, formFields: null === (c2 = t2.config) || void 0 === c2 ? void 0 : c2.formFields });
7709
+ var n2, r2, i2, e2, s2, c2, d2 = t2.services, l2 = x({ services: d2 }).withContext({ authAttributes: null !== (r2 = null === (n2 = t2.actorDoneData) || void 0 === n2 ? void 0 : n2.authAttributes) && void 0 !== r2 ? r2 : {}, user: t2.user, intent: null === (i2 = t2.actorDoneData) || void 0 === i2 ? void 0 : i2.intent, country_code: "+1", formValues: {}, touched: {}, validationError: {}, loginMechanisms: null === (e2 = t2.config) || void 0 === e2 ? void 0 : e2.loginMechanisms, socialProviders: null === (s2 = t2.config) || void 0 === s2 ? void 0 : s2.socialProviders, formFields: null === (c2 = t2.config) || void 0 === c2 ? void 0 : c2.formFields });
7544
7710
  return spawn(l2, { name: "signInActor" });
7545
7711
  } }), spawnSignUpActor: assign$2({ actorRef: function(t2, o2) {
7546
7712
  var n2, r2, i2, e2, s2, c2, u2, d2 = t2.services, l2 = C({ services: d2 }).withContext({ authAttributes: null !== (r2 = null === (n2 = t2.actorDoneData) || void 0 === n2 ? void 0 : n2.authAttributes) && void 0 !== r2 ? r2 : {}, country_code: "+1", intent: null === (i2 = t2.actorDoneData) || void 0 === i2 ? void 0 : i2.intent, formValues: {}, touched: {}, validationError: {}, loginMechanisms: null === (e2 = t2.config) || void 0 === e2 ? void 0 : e2.loginMechanisms, socialProviders: null === (s2 = t2.config) || void 0 === s2 ? void 0 : s2.socialProviders, formFields: null === (c2 = t2.config) || void 0 === c2 ? void 0 : c2.formFields, passwordSettings: null === (u2 = t2.config) || void 0 === u2 ? void 0 : u2.passwordSettings });
@@ -7548,10 +7714,10 @@ function f() {
7548
7714
  } }), spawnResetPasswordActor: assign$2({ actorRef: function(t2, o2) {
7549
7715
  var n2, r2, i2, e2, s2 = t2.services, c2 = E({ services: s2 }).withContext({ formValues: {}, touched: {}, intent: null === (n2 = t2.actorDoneData) || void 0 === n2 ? void 0 : n2.intent, username: null === (i2 = null === (r2 = t2.actorDoneData) || void 0 === r2 ? void 0 : r2.authAttributes) || void 0 === i2 ? void 0 : i2.username, formFields: null === (e2 = t2.config) || void 0 === e2 ? void 0 : e2.formFields, validationError: {} });
7550
7716
  return spawn(c2, { name: "resetPasswordActor" });
7551
- } }), spawnSignOutActor: assign$2({ actorRef: function(t$12) {
7552
- var o2 = t.withContext({ user: t$12.user });
7717
+ } }), spawnSignOutActor: assign$2({ actorRef: function(t2) {
7718
+ var o2 = n.withContext({ user: t2.user });
7553
7719
  return spawn(o2, { name: "signOutActor" });
7554
- } }), stopSignInActor: t$1("signInActor"), stopSignUpActor: t$1("signUpActor"), stopResetPasswordActor: t$1("resetPasswordActor"), stopSignOutActor: t$1("signOutActor"), configure: assign$2(function(o2, r2) {
7720
+ } }), stopSignInActor: t("signInActor"), stopSignUpActor: t("signUpActor"), stopResetPasswordActor: t("resetPasswordActor"), stopSignOutActor: t("signOutActor"), configure: assign$2(function(o2, r2) {
7555
7721
  var i2 = r2.data, e2 = i2.services, a2 = __rest$2(i2, ["services"]);
7556
7722
  return { services: __assign$2(__assign$2({}, s), e2), config: a2 };
7557
7723
  }), setHasSetup: assign$2({ hasSetup: true }) }, guards: { isInitialStateSignUp: function(t2) {
@@ -7873,7 +8039,7 @@ function createValues() {
7873
8039
  if (!service.value)
7874
8040
  return;
7875
8041
  const { state, send: send2 } = useAuth();
7876
- const facadeValues = i$4({ send: send2, state: state.value });
8042
+ const facadeValues = i$3({ send: send2, state: state.value });
7877
8043
  for (const key of Object.keys(facade)) {
7878
8044
  useAuthenticatorValue[key] = facadeValues[key];
7879
8045
  }
@@ -8001,7 +8167,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
8001
8167
  const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
8002
8168
  const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
8003
8169
  const federatedText = route === "signUp" ? "Up" : "In";
8004
- const fp = computed(() => S);
8170
+ const fp = computed(() => o$8);
8005
8171
  const signInWithAmazon = computed(() => b$1(`Sign ${federatedText} with Amazon`));
8006
8172
  const signInWithApple = computed(() => b$1(`Sign ${federatedText} with Apple`));
8007
8173
  const signInWithFacebook = computed(() => b$1(`Sign ${federatedText} with Facebook`));
@@ -8472,7 +8638,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
8472
8638
  const signInButtonText = computed(() => b$1("Sign in"));
8473
8639
  const signIngButtonText = computed(() => b$1("Signing in"));
8474
8640
  const { state, send: send2 } = useAuth();
8475
- const actorState = computed(() => t$3(state.value));
8641
+ const actorState = computed(() => t$2(state.value));
8476
8642
  const onInput = (e2) => {
8477
8643
  const { name, value } = e2.target;
8478
8644
  send2({
@@ -8488,7 +8654,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
8488
8654
  }
8489
8655
  };
8490
8656
  const submit = (e2) => {
8491
- props.submitForm(n$2(e2));
8657
+ props.submitForm(n$3(e2));
8492
8658
  };
8493
8659
  const onForgotPasswordClicked = () => {
8494
8660
  if (attrs == null ? void 0 : attrs.onForgotPasswordClicked) {
@@ -8629,7 +8795,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8629
8795
  }
8630
8796
  };
8631
8797
  const submit = (e2) => {
8632
- props.submitForm(n$2(e2));
8798
+ props.submitForm(n$3(e2));
8633
8799
  };
8634
8800
  return (_ctx, _cache) => {
8635
8801
  const _component_base_field_set = _sfc_main$y;
@@ -8826,7 +8992,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
8826
8992
  }
8827
8993
  };
8828
8994
  const submit = (e2) => {
8829
- submitForm(n$2(e2));
8995
+ submitForm(n$3(e2));
8830
8996
  };
8831
8997
  const onLostCodeClicked = () => {
8832
8998
  if (attrs == null ? void 0 : attrs.onLostCodeClicked) {
@@ -8942,10 +9108,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
8942
9108
  const { state, send: send2 } = useAuth();
8943
9109
  const useAuthShared = createSharedComposable(useAuthenticator);
8944
9110
  const props = useAuthShared();
8945
- const actorState = computed(() => t$3(state.value));
9111
+ const actorState = computed(() => t$2(state.value));
8946
9112
  const challengeName = actorState.value.context.challengeName;
8947
9113
  let mfaType = "SMS";
8948
- if (challengeName === E$3.SOFTWARE_TOKEN_MFA) {
9114
+ if (challengeName === "SOFTWARE_TOKEN_MFA") {
8949
9115
  mfaType = "TOTP";
8950
9116
  }
8951
9117
  const confirmSignInHeading = `Confirm ${mfaType} Code`;
@@ -8966,7 +9132,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
8966
9132
  }
8967
9133
  };
8968
9134
  const submit = (e2) => {
8969
- props.submitForm(n$2(e2));
9135
+ props.submitForm(n$3(e2));
8970
9136
  };
8971
9137
  const onBackToSignInClicked = () => {
8972
9138
  if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
@@ -9273,11 +9439,11 @@ var alignmentPattern = {};
9273
9439
  const pos = exports.getRowColCoords(version2);
9274
9440
  const posLength = pos.length;
9275
9441
  for (let i2 = 0; i2 < posLength; i2++) {
9276
- for (let j = 0; j < posLength; j++) {
9277
- if (i2 === 0 && j === 0 || i2 === 0 && j === posLength - 1 || i2 === posLength - 1 && j === 0) {
9442
+ for (let j2 = 0; j2 < posLength; j2++) {
9443
+ if (i2 === 0 && j2 === 0 || i2 === 0 && j2 === posLength - 1 || i2 === posLength - 1 && j2 === 0) {
9278
9444
  continue;
9279
9445
  }
9280
- coords.push([pos[i2], pos[j]]);
9446
+ coords.push([pos[i2], pos[j2]]);
9281
9447
  }
9282
9448
  }
9283
9449
  return coords;
@@ -9393,24 +9559,24 @@ var maskPattern = {};
9393
9559
  const k2 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
9394
9560
  return k2 * PenaltyScores.N4;
9395
9561
  };
9396
- function getMaskAt(maskPattern2, i2, j) {
9562
+ function getMaskAt(maskPattern2, i2, j2) {
9397
9563
  switch (maskPattern2) {
9398
9564
  case exports.Patterns.PATTERN000:
9399
- return (i2 + j) % 2 === 0;
9565
+ return (i2 + j2) % 2 === 0;
9400
9566
  case exports.Patterns.PATTERN001:
9401
9567
  return i2 % 2 === 0;
9402
9568
  case exports.Patterns.PATTERN010:
9403
- return j % 3 === 0;
9569
+ return j2 % 3 === 0;
9404
9570
  case exports.Patterns.PATTERN011:
9405
- return (i2 + j) % 3 === 0;
9571
+ return (i2 + j2) % 3 === 0;
9406
9572
  case exports.Patterns.PATTERN100:
9407
- return (Math.floor(i2 / 2) + Math.floor(j / 3)) % 2 === 0;
9573
+ return (Math.floor(i2 / 2) + Math.floor(j2 / 3)) % 2 === 0;
9408
9574
  case exports.Patterns.PATTERN101:
9409
- return i2 * j % 2 + i2 * j % 3 === 0;
9575
+ return i2 * j2 % 2 + i2 * j2 % 3 === 0;
9410
9576
  case exports.Patterns.PATTERN110:
9411
- return (i2 * j % 2 + i2 * j % 3) % 2 === 0;
9577
+ return (i2 * j2 % 2 + i2 * j2 % 3) % 2 === 0;
9412
9578
  case exports.Patterns.PATTERN111:
9413
- return (i2 * j % 3 + (i2 + j) % 2) % 2 === 0;
9579
+ return (i2 * j2 % 3 + (i2 + j2) % 2) % 2 === 0;
9414
9580
  default:
9415
9581
  throw new Error("bad maskPattern:" + maskPattern2);
9416
9582
  }
@@ -9832,8 +9998,8 @@ galoisField.mul = function mul(x2, y2) {
9832
9998
  exports.mul = function mul2(p1, p2) {
9833
9999
  const coeff = new Uint8Array(p1.length + p2.length - 1);
9834
10000
  for (let i2 = 0; i2 < p1.length; i2++) {
9835
- for (let j = 0; j < p2.length; j++) {
9836
- coeff[i2 + j] ^= GF.mul(p1[i2], p2[j]);
10001
+ for (let j2 = 0; j2 < p2.length; j2++) {
10002
+ coeff[i2 + j2] ^= GF.mul(p1[i2], p2[j2]);
9837
10003
  }
9838
10004
  }
9839
10005
  return coeff;
@@ -10498,9 +10664,9 @@ var dijkstra = { exports: {} };
10498
10664
  for (let i2 = 0; i2 < nodes.length; i2++) {
10499
10665
  const nodeGroup = nodes[i2];
10500
10666
  const currentNodeIds = [];
10501
- for (let j = 0; j < nodeGroup.length; j++) {
10502
- const node = nodeGroup[j];
10503
- const key = "" + i2 + j;
10667
+ for (let j2 = 0; j2 < nodeGroup.length; j2++) {
10668
+ const node = nodeGroup[j2];
10669
+ const key = "" + i2 + j2;
10504
10670
  currentNodeIds.push(key);
10505
10671
  table[key] = { node, lastCount: 0 };
10506
10672
  graph[key] = {};
@@ -10894,12 +11060,12 @@ var utils = {};
10894
11060
  const scaledMargin = opts.margin * scale;
10895
11061
  const palette = [opts.color.light, opts.color.dark];
10896
11062
  for (let i2 = 0; i2 < symbolSize; i2++) {
10897
- for (let j = 0; j < symbolSize; j++) {
10898
- let posDst = (i2 * symbolSize + j) * 4;
11063
+ for (let j2 = 0; j2 < symbolSize; j2++) {
11064
+ let posDst = (i2 * symbolSize + j2) * 4;
10899
11065
  let pxColor = opts.color.light;
10900
- if (i2 >= scaledMargin && j >= scaledMargin && i2 < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {
11066
+ if (i2 >= scaledMargin && j2 >= scaledMargin && i2 < symbolSize - scaledMargin && j2 < symbolSize - scaledMargin) {
10901
11067
  const iSrc = Math.floor((i2 - scaledMargin) / scale);
10902
- const jSrc = Math.floor((j - scaledMargin) / scale);
11068
+ const jSrc = Math.floor((j2 - scaledMargin) / scale);
10903
11069
  pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0];
10904
11070
  }
10905
11071
  imgData[posDst++] = pxColor.r;
@@ -11104,7 +11270,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
11104
11270
  const { value: { context } } = state;
11105
11271
  const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.setupTOTP;
11106
11272
  const QROR = formOverrides == null ? void 0 : formOverrides["QR"];
11107
- const actorState = computed(() => t$3(state.value));
11273
+ const actorState = computed(() => t$2(state.value));
11108
11274
  let qrCode = reactive({
11109
11275
  qrCodeImageSource: "",
11110
11276
  isLoading: true
@@ -11151,7 +11317,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
11151
11317
  }
11152
11318
  };
11153
11319
  const submit = (e2) => {
11154
- props.submitForm(n$2(e2));
11320
+ props.submitForm(n$3(e2));
11155
11321
  };
11156
11322
  const onBackToSignInClicked = () => {
11157
11323
  if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
@@ -11310,7 +11476,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11310
11476
  const { state, send: send2 } = useAuth();
11311
11477
  const useAuthShared = createSharedComposable(useAuthenticator);
11312
11478
  const props = useAuthShared();
11313
- const actorState = computed(() => t$3(state.value));
11479
+ const actorState = computed(() => t$2(state.value));
11314
11480
  const changePasswordLabel = computed(() => b$1("Change Password"));
11315
11481
  const changingPasswordLabel = computed(() => b$1("Changing"));
11316
11482
  const backSignInText = computed(() => b$1("Back to Sign In"));
@@ -11331,7 +11497,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11331
11497
  }
11332
11498
  };
11333
11499
  const submit = (e2) => {
11334
- props.submitForm(n$2(e2));
11500
+ props.submitForm(n$3(e2));
11335
11501
  };
11336
11502
  const onInput = (e2) => {
11337
11503
  const { name, value } = e2.target;
@@ -11463,7 +11629,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
11463
11629
  }
11464
11630
  };
11465
11631
  const submit = (e2) => {
11466
- submitForm(n$2(e2));
11632
+ submitForm(n$3(e2));
11467
11633
  };
11468
11634
  const onInput = (e2) => {
11469
11635
  const { name, value } = e2.target;
@@ -11577,7 +11743,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
11577
11743
  const useAuthShared = createSharedComposable(useAuthenticator);
11578
11744
  const props = useAuthShared();
11579
11745
  const attrs = useAttrs();
11580
- const actorState = computed(() => t$3(state.value));
11746
+ const actorState = computed(() => t$2(state.value));
11581
11747
  const resendCodeText = computed(() => b$1("Resend Code"));
11582
11748
  const confirmResetPasswordHeading = computed(() => b$1("Reset your Password"));
11583
11749
  const confirmResetPasswordText = computed(() => b$1("Submit"));
@@ -11589,7 +11755,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
11589
11755
  }
11590
11756
  };
11591
11757
  const submit = (e2) => {
11592
- props.submitForm(n$2(e2));
11758
+ props.submitForm(n$3(e2));
11593
11759
  };
11594
11760
  const onLostYourCodeClicked = () => {
11595
11761
  send2({
@@ -11714,7 +11880,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11714
11880
  const props = useAuthShared();
11715
11881
  const attrs = useAttrs();
11716
11882
  const { state, send: send2 } = useAuth();
11717
- const actorState = computed(() => t$3(state.value));
11883
+ const actorState = computed(() => t$2(state.value));
11718
11884
  const unverifiedAttributes = actorState.value.context.unverifiedAttributes;
11719
11885
  const verifyHeading = computed(() => b$1("Account recovery requires verified contact information"));
11720
11886
  const skipText = computed(() => b$1("Skip"));
@@ -11735,7 +11901,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11735
11901
  }
11736
11902
  };
11737
11903
  const submit = (e2) => {
11738
- props.submitForm(n$2(e2));
11904
+ props.submitForm(n$3(e2));
11739
11905
  };
11740
11906
  const onSkipClicked = () => {
11741
11907
  if (attrs == null ? void 0 : attrs.onSkipClicked) {
@@ -11900,7 +12066,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
11900
12066
  const props = useAuthShared();
11901
12067
  const attrs = useAttrs();
11902
12068
  const { state, send: send2 } = useAuth();
11903
- const actorState = computed(() => t$3(state.value));
12069
+ const actorState = computed(() => t$2(state.value));
11904
12070
  const verifyHeading = computed(() => b$1("Account recovery requires verified contact information"));
11905
12071
  const skipText = computed(() => b$1("Skip"));
11906
12072
  const submitText = computed(() => b$1("Submit"));
@@ -11919,7 +12085,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
11919
12085
  }
11920
12086
  };
11921
12087
  const submit = (e2) => {
11922
- props.submitForm(n$2(e2));
12088
+ props.submitForm(n$3(e2));
11923
12089
  };
11924
12090
  const onSkipClicked = () => {
11925
12091
  if (attrs == null ? void 0 : attrs.onSkipClicked) {
@@ -12095,7 +12261,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12095
12261
  if (unsubscribeMachine)
12096
12262
  unsubscribeMachine();
12097
12263
  });
12098
- const actorState = computed(() => t$3(state.value));
12264
+ const actorState = computed(() => t$2(state.value));
12099
12265
  const signInComponent = ref();
12100
12266
  const signUpComponent = ref();
12101
12267
  const confirmSignUpComponent = ref();
@@ -12182,7 +12348,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12182
12348
  const user = ref(null);
12183
12349
  const signOut = ref();
12184
12350
  watch(() => state.value.context, () => {
12185
- const { user: u2, signOut: s2 } = i$4({
12351
+ const { user: u2, signOut: s2 } = i$3({
12186
12352
  send: send2,
12187
12353
  state: state.value
12188
12354
  });