@aws-amplify/ui-vue 2.3.13 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -189,12 +189,12 @@ function createSharedComposable(composable) {
189
189
  return state;
190
190
  };
191
191
  }
192
- var t$6 = function(t2) {
192
+ var t$5 = function(t2) {
193
193
  var n2;
194
194
  return (n2 = t2.context.actorRef) === null || n2 === void 0 ? void 0 : n2.getSnapshot();
195
- }, n$6 = function(n2) {
195
+ }, n$7 = function(n2) {
196
196
  var o2;
197
- return (o2 = t$6(n2)) === null || o2 === void 0 ? void 0 : o2.context;
197
+ return (o2 = t$5(n2)) === null || o2 === void 0 ? void 0 : o2.context;
198
198
  };
199
199
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
200
200
  var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
@@ -445,13 +445,13 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
445
445
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
446
446
  PERFORMANCE OF THIS SOFTWARE.
447
447
  ***************************************************************************** */
448
- var t$5 = function() {
449
- return t$5 = Object.assign || function(t2) {
448
+ var t$4 = function() {
449
+ return t$4 = Object.assign || function(t2) {
450
450
  for (var e2, n2 = 1, r2 = arguments.length; n2 < r2; n2++)
451
451
  for (var o2 in e2 = arguments[n2])
452
452
  Object.prototype.hasOwnProperty.call(e2, o2) && (t2[o2] = e2[o2]);
453
453
  return t2;
454
- }, t$5.apply(this, arguments);
454
+ }, t$4.apply(this, arguments);
455
455
  };
456
456
  function e$7(t2, e2) {
457
457
  var n2 = {};
@@ -464,7 +464,7 @@ function e$7(t2, e2) {
464
464
  }
465
465
  return n2;
466
466
  }
467
- function n$5(t2, e2, n2, r2) {
467
+ function n$6(t2, e2, n2, r2) {
468
468
  return new (n2 || (n2 = Promise))(function(o2, a2) {
469
469
  function l2(t3) {
470
470
  try {
@@ -559,57 +559,67 @@ function o$8(t2, e2, n2) {
559
559
  !r2 && o2 in e2 || (r2 || (r2 = Array.prototype.slice.call(e2, 0, o2)), r2[o2] = e2[o2]);
560
560
  return t2.concat(r2 || Array.prototype.slice.call(e2));
561
561
  }
562
- var n$4 = ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"], a$2 = ["username", "email", "phone_number"], m$2 = o$8(o$8(o$8([], a$2, true), n$4, true), ["confirmation_code", "password", "confirm_password"], false);
562
+ var n$5 = ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"], a$2 = ["username", "email", "phone_number"], m$2 = o$8(o$8(o$8([], a$2, true), n$5, true), ["confirmation_code", "password", "confirm_password"], false);
563
563
  var r$2 = function(i2) {
564
564
  var n2, r2 = (n2 = i2 == null ? void 0 : i2.context.config) === null || n2 === void 0 ? void 0 : n2.loginMechanisms;
565
565
  return (r2 != null ? r2 : ["username"])[0];
566
566
  };
567
- var t$4 = function(e2) {
568
- var r2 = function(r3) {
569
- return function(n2) {
570
- return e2({ type: r3, data: n2 });
567
+ var n$4 = function(e2) {
568
+ var t2 = function(t3) {
569
+ return function(r2) {
570
+ return e2({ type: t3, data: r2 });
571
571
  };
572
572
  };
573
- return { resendCode: r2("RESEND"), signOut: r2("SIGN_OUT"), submitForm: r2("SUBMIT"), updateForm: r2("CHANGE"), updateBlur: r2("BLUR"), toFederatedSignIn: r2("FEDERATED_SIGN_IN"), toResetPassword: r2("RESET_PASSWORD"), toSignIn: r2("SIGN_IN"), toSignUp: r2("SIGN_UP"), skipVerification: r2("SKIP") };
574
- }, s$2 = function(t2) {
575
- var s2, i2, o2 = (s2 = t2.context) === null || s2 === void 0 ? void 0 : s2.user, a2 = t$6(t2), u2 = n$6(t2), c2 = u2 == null ? void 0 : u2.remoteError, l2 = t$5({}, u2 == null ? void 0 : u2.validationError), d2 = u2 == null ? void 0 : u2.codeDeliveryDetails;
576
- return { error: c2, hasValidationErrors: Object.keys(l2).length > 0, isPending: t2.hasTag("pending") || ((i2 = t$6(t2)) === null || i2 === void 0 ? void 0 : i2.hasTag("pending")), route: function() {
573
+ 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") };
574
+ }, s$2 = function(n2) {
575
+ var s2, i2, a2 = (s2 = n2.context) === null || s2 === void 0 ? void 0 : s2.user, o2 = t$5(n2), u2 = n$7(n2), c2 = u2 == null ? void 0 : u2.remoteError, d2 = t$4({}, u2 == null ? void 0 : u2.validationError), l2 = u2 == null ? void 0 : u2.codeDeliveryDetails, m2 = Object.keys(d2).length > 0, f2 = n2.hasTag("pending") || ((i2 = t$5(n2)) === null || i2 === void 0 ? void 0 : i2.hasTag("pending")), v2 = function() {
577
576
  switch (true) {
578
- case t2.matches("idle"):
577
+ case n2.matches("idle"):
579
578
  return "idle";
580
- case t2.matches("setup"):
579
+ case n2.matches("setup"):
581
580
  return "setup";
582
- case t2.matches("signOut"):
581
+ case n2.matches("signOut"):
583
582
  return "signOut";
584
- case t2.matches("authenticated"):
583
+ case n2.matches("authenticated"):
585
584
  return "authenticated";
586
- case (a2 == null ? void 0 : a2.matches("confirmSignUp")):
585
+ case (o2 == null ? void 0 : o2.matches("confirmSignUp")):
587
586
  return "confirmSignUp";
588
- case (a2 == null ? void 0 : a2.matches("confirmSignIn")):
587
+ case (o2 == null ? void 0 : o2.matches("confirmSignIn")):
589
588
  return "confirmSignIn";
590
- case (a2 == null ? void 0 : a2.matches("setupTOTP")):
589
+ case (o2 == null ? void 0 : o2.matches("setupTOTP")):
591
590
  return "setupTOTP";
592
- case (a2 == null ? void 0 : a2.matches("signIn")):
591
+ case (o2 == null ? void 0 : o2.matches("signIn")):
593
592
  return "signIn";
594
- case (a2 == null ? void 0 : a2.matches("signUp")):
593
+ case (o2 == null ? void 0 : o2.matches("signUp")):
595
594
  return "signUp";
596
- case (a2 == null ? void 0 : a2.matches("forceNewPassword")):
595
+ case (o2 == null ? void 0 : o2.matches("forceNewPassword")):
597
596
  return "forceNewPassword";
598
- case (a2 == null ? void 0 : a2.matches("resetPassword")):
597
+ case (o2 == null ? void 0 : o2.matches("resetPassword")):
599
598
  return "resetPassword";
600
- case (a2 == null ? void 0 : a2.matches("confirmResetPassword")):
599
+ case (o2 == null ? void 0 : o2.matches("confirmResetPassword")):
601
600
  return "confirmResetPassword";
602
- case (a2 == null ? void 0 : a2.matches("verifyUser")):
601
+ case (o2 == null ? void 0 : o2.matches("verifyUser")):
603
602
  return "verifyUser";
604
- case (a2 == null ? void 0 : a2.matches("confirmVerifyUser")):
603
+ case (o2 == null ? void 0 : o2.matches("confirmVerifyUser")):
605
604
  return "confirmVerifyUser";
606
605
  default:
607
- return console.debug("Cannot infer `route` from Authenticator state:", t2.value), null;
606
+ return console.debug("Cannot infer `route` from Authenticator state:", n2.value), null;
607
+ }
608
+ }(), h2 = function(e2) {
609
+ switch (e2) {
610
+ case "idle":
611
+ case "setup":
612
+ return "configuring";
613
+ case "authenticated":
614
+ return "authenticated";
615
+ default:
616
+ return "unauthenticated";
608
617
  }
609
- }(), user: o2, validationErrors: l2, codeDeliveryDetails: d2 };
610
- }, i$4 = function(r2) {
611
- var n2 = r2.send, i2 = r2.state, o2 = t$4(n2), a2 = s$2(i2);
612
- return t$5(t$5({}, o2), a2);
618
+ }(v2);
619
+ return { error: c2, hasValidationErrors: m2, isPending: f2, route: v2, authStatus: h2, user: a2, validationErrors: d2, codeDeliveryDetails: l2 };
620
+ }, i$4 = function(t2) {
621
+ var r2 = t2.send, i2 = t2.state, a2 = n$4(r2), o2 = s$2(i2);
622
+ return t$4(t$4({}, a2), o2);
613
623
  };
614
624
  var r$1 = ["+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"];
615
625
  var e$6 = { "Account recovery requires verified contact information": "Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account", "An account with the given email already exists.": "Ein Account mit dieser Email existiert bereits.", "Back to Sign In": "Zur\xFCck zur Anmeldung", "Change Password": "Passwort \xE4ndern", Code: "Code", Confirm: "Best\xE4tigen", "Confirm Password": "Passwort best\xE4tigen", "Confirm a Code": "Code best\xE4tigen", "Confirm Sign In": "Anmeldung best\xE4tigen", "Confirm Sign Up": "Registrierung best\xE4tigen", "Confirm SMS Code": "SMS-Code best\xE4tigen", "Confirm TOTP Code": "TOTP-Code best\xE4tigen", "Confirmation Code": "Best\xE4tigungs-Code", "Create a new account": "Einen neuen Account erstellen", "Create account": "Hier registrieren", "Create Account": "Account erstellen", "Creating Account": "Account wird erstellt", Email: "Email", "Enter your code": "Geben Sie Ihren Code ein", "Enter your password": "Geben Sie Ihr Passwort ein", "Enter your username": "Geben Sie Ihren Benutzernamen ein", "Enter your phone number": "Geben Sie Ihre Telefonnummer ein", "Enter your email": "Geben Sie ihre Email ein", "Forgot your password?": "Passwort vergessen? ", "Forgot Password": "Passwort vergessen", "Hide password": "Passwort verbergen", "Have an account? ": "Schon registriert? ", "Incorrect username or password": "Falscher Benutzername oder falsches Passwort", "Invalid password format": "Ung\xFCltiges Passwort-Format", "Invalid phone number format": "Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900", "Lost your code? ": "Code verloren? ", "New Password": "Neues Passwort", "No account? ": "Kein Account? ", or: "oder", Password: "Passwort", "Password attempts exceeded": "Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht", "Phone Number": "Telefonnummer", "Resend Code": "Code erneut senden", "Reset password": "Passwort zur\xFCcksetzen", "Reset your password": "Zur\xFCcksetzen des Passworts", "Send Code": "Code senden", "Sign in": "Anmelden", "Sign In": "Anmelden", "Sign in to your account": "Melden Sie sich mit Ihrem Account an", "Sign Out": "Abmelden", "Sign Up": "Registrieren", Skip: "\xDCberspringen", Submit: "Abschicken", "User already exists": "Dieser Benutzer existiert bereits", "User does not exist": "Dieser Benutzer existiert nicht", Username: "Benutzername", "Username cannot be empty": "Benutzername darf nicht leer sein", Verify: "Verifizieren", "Verify Contact": "Kontakt verifizieren" };
@@ -627,8 +637,8 @@ var e$2 = { "Account recovery requires verified contact information": "F\xF6r at
627
637
  var a$1 = { "Account recovery requires verified contact information": "Pemulihan akun memerlukan informasi kontak terverifikasi", "An account with the given email already exists.": "Akun dengan email tersebut sudah terdaftar.", "Attempt limit exceeded, please try after some time.": "Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.", "Back to Sign In": "Kembali ke Masuk", "Cannot reset password for the user as there is no registered/verified email or phone_number": "Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon", Change: "Ubah", "Change Password": "Ubah kata sandi", Code: "Kode", Confirm: "Konfirmasi", "Confirm a Code": "Konfirmasi kode", "Confirm Password": "Konfirmasi kata sandi", "Confirmation Code": "Kode Konfirmasi", "Create a new account": "Buat akun baru", "Create account": "Buat akun", "Create Account": "Buat Akun", "Creating Account": "Membuat Akun", Confirming: "Mengkonfirmasi", Email: "Email", "Enter your code": "Masukkan kode anda", "Enter your email": "Masukkan email anda", "Enter your password": "Masukkan kata sandi anda", "Enter your phone number": "Masukkan nomor telepon anda", "Enter your username": "Masukkan nama akun anda", "Forgot Password": "Lupa kata sandi", "Forgot your password?": "Lupa kata sandi? ", "Have an account? ": "Sudah punya akun? ", Hello: "Halo", "Incorrect username or password.": "Nama akun atau kata sandi salah.", "Invalid phone number format": "Nomor telepon tidak sesuai dengan format.", "Invalid verification code provided, please try again.": "Kode verifikasi tidak sesuai, mohon coba lagi.", "It may take a minute to arrive.": "Mungkin perlu beberapa waktu untuk tiba.", "Lost your code? ": "Kode anda hilang?", Name: "Nama", "Network error": "Galat jaringan", "New password": "Kata sandi baru", "No account? ": "Tidak ada akun?", or: "atau", Password: "Kata sandi", "Password did not conform with policy: Password not long enough": "Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang", "Phone Number": "Nomor telepon", "Resend a Code": "Renvoyer un code", "Resend Code": "Kirim ulang kodenya", "Reset password": "Ubah kata sandi anda", "Reset your password": "Ubah kata sandi anda", Send: "Kirim", "Send Code": "Kirim Kode", "Send code": "Kirim kode", Sending: "Mengirim", "Sign in": "Masuk", "Sign In": "Masuk", "Sign in to your account": "Masuk akun anda", "Sign In with Amazon": "Masuk dengan Amazon", "Sign In with AWS": "Masuk dengan AWS", "Sign In with Facebook": "Masuk dengan Facebook", "Sign In with Google": "Masuk dengan Google", "Sign Up with Amazon": "Daftar dengan Amazon", "Sign Up with AWS": "Daftar dengan AWS", "Sign Up with Facebook": "Daftar dengan Facebook", "Sign Up with Google": "Daftar dengan Google", "Signing in": "Memasuki", Skip: "Lewati", SMS: "SMS", Submit: "Ajukan", Submitting: "Mengajukan", "User is disabled.": "Akun dinonaktifkan.", "User already exists": "Akun sudah terdaftar", "User does not exist.": "Akun tidak terdaftar.", Username: "Nama akun", "Username cannot be empty": "Nama akun tidak boleh kosong", "Username/client id combination not found.": "Nama akun atau id tidak ditemukan.", Verify: "Verifikasi", "Verify Contact": "Verifikasi Kontak", "We Emailed You": "Kami mengirimkanmu email", "Your code is on the way. To log in, enter the code we emailed to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke", "Your code is on the way. To log in, enter the code we texted to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke", "Your passwords must match": "Kata sandi harus sama" };
628
638
  var e$1 = { "Account recovery requires verified contact information": "Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir", "An account with the given email already exists.": "Bu e-postaya ait zaten bir hesap var.", "Back to Sign In": "Oturum A\xE7maya Geri D\xF6n", "Change Password": "\u015Eifreyi De\u011Fi\u015Ftir", Changing: "De\u011Fi\u015Ftiriliyor", Code: "Kod", Confirm: "Do\u011Frula", "Confirm Password": "\u015Eifreyi Do\u011Frula", "Confirm Sign In": "Oturum A\xE7may\u0131 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", "Confirmation Code": "Do\u011Frulama Kodu", Confirming: "Do\u011Frulan\u0131yor", "Create Account": "Hesap Olu\u015Ftur", "Creating Account": "Hesap Olu\u015Fturuluyor", Email: "E-posta", "Enter your code": "Kodu girin", "Enter your username": "Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin", "Enter your phone number": "Telefon numaran\u0131z\u0131 girin", "Enter your email": "E-posta adresinizi girin", "Forgot your password?": "\u015Eifrenizi mi unuttunuz?", "Hide password": "\u015Eifreyi gizle", "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? ", Loading: "Y\xFCkleniyor", "New password": "Yeni \u015Fifre", "No account? ": "Hesab\u0131n\u0131z yok mu? ", or: "veya", Password: "\u015Eifre", "Password attempts exceeded": "Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131", "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": "Oturum a\xE7", "Sign In": "Oturum A\xE7", "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 to your account": "Hesab\u0131n\u0131zda oturum a\xE7\u0131n", "Create a new account": "Yeni bir hesap olu\u015Ftur", "Signing in": "Oturum a\xE7\u0131l\u0131yor", "Sign Out": "\xC7\u0131k\u0131\u015F yap", "Sign Up": "Kay\u0131t Ol", Skip: "Atla", Submit: "G\xF6nder", Submitting: "G\xF6nderiliyor", "User already exists": "Bu kullan\u0131c\u0131 zaten var", "User does not exist": "B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil", Username: "Kullan\u0131c\u0131 ad\u0131", "Username cannot be empty": "Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz", "Verify Contact": "Ki\u015Fiyi Do\u011Frula", Verify: "Do\u011Frula" };
629
639
  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" };
630
- var l$2 = t$5({}, e$6), d$2 = t$5({}, n$3), v$2 = t$5({}, n$2), x$1 = t$5({}, e$5), b$2 = t$5({}, o$7), k$1 = t$5({}, o$6), z = t$5({}, e$4), T = t$5({}, e$3), _$1 = t$5({}, o$5), g$2 = t$5({}, o$4), q$1 = t$5({}, r), w$1 = t$5({}, e$2), y$1 = t$5({}, a$1), A$1 = t$5({}, e$1), B = t$5({}, N$1);
631
- t$5({}, B);
640
+ var l$2 = t$4({}, e$6), d$2 = t$4({}, n$3), v$2 = t$4({}, n$2), x$1 = t$4({}, e$5), b$2 = t$4({}, o$7), k$1 = t$4({}, o$6), z = t$4({}, e$4), T = t$4({}, e$3), _$1 = t$4({}, o$5), g$2 = t$4({}, o$4), q$1 = t$4({}, r), w$1 = t$4({}, e$2), y$1 = t$4({}, a$1), A$1 = t$4({}, e$1), B = t$4({}, N$1);
641
+ t$4({}, B);
632
642
  function g$1(r2) {
633
643
  return I18n.get(r2);
634
644
  }
@@ -1402,43 +1412,43 @@ function cloneDeep(value) {
1402
1412
  }
1403
1413
  var cloneDeep_1 = cloneDeep;
1404
1414
  var i$2 = function(r2, e2) {
1405
- var t2 = n$6(r2).country_code, a2 = l$1[e2];
1406
- return a2.type === "tel" && (a2 = t$5(t$5({}, a2), { dialCode: t2 })), a2;
1415
+ var t2 = n$7(r2).country_code, a2 = l$1[e2];
1416
+ return a2.type === "tel" && (a2 = t$4(t$4({}, a2), { dialCode: t2 })), a2;
1407
1417
  }, c$1 = function(r2) {
1408
1418
  var e2 = r$2(r2);
1409
- return t$5(t$5({}, i$2(r2, e2)), { autocomplete: "username" });
1419
+ return t$4(t$4({}, i$2(r2, e2)), { autocomplete: "username" });
1410
1420
  }, d$1 = function(r2) {
1411
- return { confirmation_code: t$5(t$5({}, i$2(r2, "confirmation_code")), { label: "Code *", placeholder: "Code" }) };
1421
+ return { confirmation_code: t$4(t$4({}, i$2(r2, "confirmation_code")), { label: "Code *", placeholder: "Code" }) };
1412
1422
  }, m$1 = { signIn: function(r2) {
1413
- return { username: t$5({}, c$1(r2)), password: t$5(t$5({}, i$2(r2, "password")), { autocomplete: "current-password" }) };
1423
+ return { username: t$4({}, c$1(r2)), password: t$4(t$4({}, i$2(r2, "password")), { autocomplete: "current-password" }) };
1414
1424
  }, signUp: function(e2) {
1415
1425
  for (var n2 = e2.context.config, s2 = n2.loginMechanisms, d2 = n2.signUpAttributes, m2 = r$2(e2), l2 = {}, u2 = 0, f2 = Array.from(new Set(o$8(o$8(o$8([], s2, true), ["password", "confirm_password"], false), d2, true))); u2 < f2.length; u2++) {
1416
1426
  var p2 = f2[u2];
1417
1427
  if (o$3(p2)) {
1418
1428
  var w2 = p2 === m2 ? c$1(e2) : i$2(e2, p2);
1419
- l2[p2] = t$5({}, w2);
1429
+ l2[p2] = t$4({}, w2);
1420
1430
  } else
1421
1431
  console.debug("Authenticator does not have a default implementation for ".concat(p2, ". Customize SignUp FormFields to add your own."));
1422
1432
  }
1423
1433
  return l2;
1424
1434
  }, confirmSignUp: function(r2) {
1425
- return { confirmation_code: t$5(t$5({}, i$2(r2, "confirmation_code")), { placeholder: "Enter your code" }) };
1435
+ return { confirmation_code: t$4(t$4({}, i$2(r2, "confirmation_code")), { placeholder: "Enter your code" }) };
1426
1436
  }, confirmSignIn: d$1, forceNewPassword: function(n2) {
1427
- for (var t2 = t$6(n2).context.requiredAttributes, s2 = {}, c2 = 0, d2 = Array.from(new Set(o$8(["password", "confirm_password"], t2, true))); c2 < d2.length; c2++) {
1437
+ for (var t2 = t$5(n2).context.requiredAttributes, s2 = {}, c2 = 0, d2 = Array.from(new Set(o$8(["password", "confirm_password"], t2, true))); c2 < d2.length; c2++) {
1428
1438
  var m2 = d2[c2];
1429
- o$3(m2) ? s2[m2] = t$5({}, i$2(n2, m2)) : console.debug("Authenticator does not have a default implementation for ".concat(m2, ". Customize ForceNewPassword FormFields to add your own."));
1439
+ o$3(m2) ? s2[m2] = t$4({}, i$2(n2, m2)) : console.debug("Authenticator does not have a default implementation for ".concat(m2, ". Customize ForceNewPassword FormFields to add your own."));
1430
1440
  }
1431
1441
  return s2;
1432
1442
  }, resetPassword: function(r2) {
1433
1443
  var e2 = r$2(r2), n2 = l$1[e2].label;
1434
- return { username: t$5(t$5({}, c$1(r2)), { label: "Enter your ".concat(n2.toLowerCase()), placeholder: "Enter your ".concat(n2.toLowerCase()) }) };
1444
+ return { username: t$4(t$4({}, c$1(r2)), { label: "Enter your ".concat(n2.toLowerCase()), placeholder: "Enter your ".concat(n2.toLowerCase()) }) };
1435
1445
  }, confirmResetPassword: function(r2) {
1436
- return t$5(t$5({}, d$1(r2)), { password: t$5(t$5({}, i$2(r2, "password")), { label: "New Password", placeholder: "New Password" }), confirm_password: t$5(t$5({}, i$2(r2, "confirm_password")), { label: "Confirm Password", placeholder: "Confirm Password" }) });
1446
+ return t$4(t$4({}, d$1(r2)), { password: t$4(t$4({}, i$2(r2, "password")), { label: "New Password", placeholder: "New Password" }), confirm_password: t$4(t$4({}, i$2(r2, "confirm_password")), { label: "Confirm Password", placeholder: "Confirm Password" }) });
1437
1447
  }, confirmVerifyUser: d$1, setupTOTP: d$1 };
1438
1448
  var t$3 = function(e2) {
1439
- for (var t2 = t$5({}, e2), n2 = 0, i2 = Object.entries(e2); n2 < i2.length; n2++) {
1449
+ for (var t2 = t$4({}, e2), n2 = 0, i2 = Object.entries(e2); n2 < i2.length; n2++) {
1440
1450
  var l2 = i2[n2], u2 = l2[0], c2 = l2[1], s2 = c2.label, a2 = c2.placeholder;
1441
- t2[u2] = t$5(t$5({}, c2), { label: s2 ? g$1(s2) : void 0, placeholder: a2 ? g$1(a2) : void 0 });
1451
+ t2[u2] = t$4(t$4({}, c2), { label: s2 ? g$1(s2) : void 0, placeholder: a2 ? g$1(a2) : void 0 });
1442
1452
  }
1443
1453
  return t2;
1444
1454
  }, n = function(r2) {
@@ -1451,14 +1461,14 @@ var t$3 = function(e2) {
1451
1461
  t2 === void 0 && (t2 = {});
1452
1462
  var n2 = cloneDeep_1(o2);
1453
1463
  return Object.keys(t2).forEach(function(e2) {
1454
- n2[e2] = t$5(t$5({}, n2[e2]), t2[e2]);
1464
+ n2[e2] = t$4(t$4({}, n2[e2]), t2[e2]);
1455
1465
  }), n2;
1456
1466
  };
1457
1467
  var e = function(r2, i2) {
1458
1468
  var n2 = (0, m$1[r2])(i2);
1459
1469
  return t$3(n2);
1460
1470
  }, u$1 = function(o2, t2) {
1461
- var n2, u2, f2 = e(o2, t2), l2 = ((u2 = (n2 = t$6(t2).context) === null || n2 === void 0 ? void 0 : n2.formFields) === null || u2 === void 0 ? void 0 : u2[o2]) || {}, v2 = i$1(f2, l2);
1471
+ var n2, u2, f2 = e(o2, t2), l2 = ((u2 = (n2 = t$5(t2).context) === null || n2 === void 0 ? void 0 : n2.formFields) === null || u2 === void 0 ? void 0 : u2[o2]) || {}, v2 = i$1(f2, l2);
1462
1472
  return delete v2.QR, v2;
1463
1473
  }, f$2 = function(r2, o2) {
1464
1474
  var t2 = u$1(r2, o2);
@@ -6344,17 +6354,17 @@ var t$2 = function(e2) {
6344
6354
  return { username: e2.formValues.username };
6345
6355
  } }), N = assign_1({ formValues: function(r2, n2) {
6346
6356
  var t2, u2 = n2.data, o2 = u2.name, a2 = u2.value;
6347
- return t$5(t$5({}, r2.formValues), ((t2 = {})[o2] = a2, t2));
6357
+ return t$4(t$4({}, r2.formValues), ((t2 = {})[o2] = a2, t2));
6348
6358
  } }), q = assign_1({ formValues: function(r2, n2) {
6349
- return t$5(t$5({}, r2.formValues), n2.data);
6359
+ return t$4(t$4({}, r2.formValues), n2.data);
6350
6360
  } }), w = assign_1({ touched: function(r2, n2) {
6351
6361
  var t2, u2 = n2.data.name;
6352
- return t$5(t$5({}, r2.touched), ((t2 = {})["".concat(u2)] = true, t2));
6362
+ return t$4(t$4({}, r2.touched), ((t2 = {})["".concat(u2)] = true, t2));
6353
6363
  } }), P = assign_1({ formValues: function(r2, n2) {
6354
6364
  var t2, u2, o2 = r2.loginMechanisms[0], a2 = o2 === void 0 ? "username" : o2;
6355
6365
  if (!r2.formValues.phone_number && a2 !== "phone_number")
6356
6366
  return r2.formValues;
6357
- var i2 = r2.formValues, s2 = r2.country_code, c2 = i2.phone_number ? "phone_number" : "username", l2 = "".concat((u2 = i2.country_code) !== null && u2 !== void 0 ? u2 : s2).concat(i2[c2]).replace(/[^A-Z0-9+]/gi, ""), d2 = t$5(t$5({}, i2), ((t2 = {})[c2] = l2, t2));
6367
+ var i2 = r2.formValues, s2 = r2.country_code, c2 = i2.phone_number ? "phone_number" : "username", l2 = "".concat((u2 = i2.country_code) !== null && u2 !== void 0 ? u2 : s2).concat(i2[c2]).replace(/[^A-Z0-9+]/gi, ""), d2 = t$4(t$4({}, i2), ((t2 = {})[c2] = l2, t2));
6358
6368
  return delete d2.country_code, d2;
6359
6369
  } });
6360
6370
  var isArray$7 = isArray_1, isSymbol$2 = isSymbol_1;
@@ -6743,7 +6753,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
6743
6753
  });
6744
6754
  var merge_1 = merge;
6745
6755
  var s = function(s2, n2, m2, l2) {
6746
- return n$5(void 0, void 0, void 0, function() {
6756
+ return n$6(void 0, void 0, void 0, function() {
6747
6757
  var r2, a2;
6748
6758
  return r$3(this, function(o2) {
6749
6759
  switch (o2.label) {
@@ -6758,40 +6768,40 @@ var s = function(s2, n2, m2, l2) {
6758
6768
  });
6759
6769
  };
6760
6770
  var o = { getAmplifyConfig: function() {
6761
- return n$5(this, void 0, void 0, function() {
6771
+ return n$6(this, void 0, void 0, function() {
6762
6772
  return r$3(this, function(n2) {
6763
6773
  return [2, Amplify.configure()];
6764
6774
  });
6765
6775
  });
6766
6776
  }, getCurrentUser: function() {
6767
- return n$5(this, void 0, void 0, function() {
6777
+ return n$6(this, void 0, void 0, function() {
6768
6778
  return r$3(this, function(n2) {
6769
6779
  return [2, Auth.currentAuthenticatedUser()];
6770
6780
  });
6771
6781
  });
6772
6782
  }, handleSignUp: function(t2) {
6773
- return n$5(this, void 0, void 0, function() {
6783
+ return n$6(this, void 0, void 0, function() {
6774
6784
  return r$3(this, function(n2) {
6775
6785
  return [2, Auth.signUp(t2)];
6776
6786
  });
6777
6787
  });
6778
6788
  }, handleSignIn: function(t2) {
6779
6789
  var o2 = t2.username, s2 = t2.password;
6780
- return n$5(this, void 0, void 0, function() {
6790
+ return n$6(this, void 0, void 0, function() {
6781
6791
  return r$3(this, function(n2) {
6782
6792
  return [2, Auth.signIn(o2, s2)];
6783
6793
  });
6784
6794
  });
6785
6795
  }, handleConfirmSignIn: function(t2) {
6786
6796
  var o2 = t2.user, s2 = t2.code, e2 = t2.mfaType;
6787
- return n$5(this, void 0, void 0, function() {
6797
+ return n$6(this, void 0, void 0, function() {
6788
6798
  return r$3(this, function(n2) {
6789
6799
  return [2, Auth.confirmSignIn(o2, s2, e2)];
6790
6800
  });
6791
6801
  });
6792
6802
  }, handleConfirmSignUp: function(t2) {
6793
6803
  var o2 = t2.username, s2 = t2.code;
6794
- return n$5(this, void 0, void 0, function() {
6804
+ return n$6(this, void 0, void 0, function() {
6795
6805
  return r$3(this, function(n2) {
6796
6806
  switch (n2.label) {
6797
6807
  case 0:
@@ -6803,25 +6813,25 @@ var o = { getAmplifyConfig: function() {
6803
6813
  });
6804
6814
  }, handleForgotPasswordSubmit: function(t2) {
6805
6815
  var o2 = t2.username, s2 = t2.code, e2 = t2.password;
6806
- return n$5(this, void 0, void 0, function() {
6816
+ return n$6(this, void 0, void 0, function() {
6807
6817
  return r$3(this, function(n2) {
6808
6818
  return [2, Auth.forgotPasswordSubmit(o2, s2, e2)];
6809
6819
  });
6810
6820
  });
6811
6821
  }, handleForgotPassword: function(t2) {
6812
- return n$5(this, void 0, void 0, function() {
6822
+ return n$6(this, void 0, void 0, function() {
6813
6823
  return r$3(this, function(n2) {
6814
6824
  return [2, Auth.forgotPassword(t2)];
6815
6825
  });
6816
6826
  });
6817
6827
  }, validateCustomSignUp: function(t2, i2) {
6818
- return n$5(this, void 0, void 0, function() {
6828
+ return n$6(this, void 0, void 0, function() {
6819
6829
  return r$3(this, function(n2) {
6820
6830
  return [2];
6821
6831
  });
6822
6832
  });
6823
6833
  }, validateFormPassword: function(t2, i2, o2) {
6824
- return n$5(this, void 0, void 0, function() {
6834
+ return n$6(this, void 0, void 0, function() {
6825
6835
  var n2, s2, e2, u2;
6826
6836
  return r$3(this, function(r2) {
6827
6837
  return n2 = t2.password, i2.password && o2 ? (s2 = [], e2 = +(o2 == null ? void 0 : o2.passwordPolicyMinLength), n2.length < e2 && s2.push("Password must have at least ".concat(e2, " characters")), (u2 = o2 == null ? void 0 : o2.passwordPolicyCharacters) == null || u2.forEach(function(r3) {
@@ -6842,14 +6852,14 @@ var o = { getAmplifyConfig: function() {
6842
6852
  });
6843
6853
  });
6844
6854
  }, validateConfirmPassword: function(t2, i2) {
6845
- return n$5(this, void 0, void 0, function() {
6855
+ return n$6(this, void 0, void 0, function() {
6846
6856
  var n2, o2, s2, e2;
6847
6857
  return r$3(this, function(r2) {
6848
6858
  return n2 = t2.password, o2 = t2.confirm_password, s2 = i2.confirm_password, e2 = i2.password, n2 || o2 ? (n2 || o2) && n2 !== o2 && (s2 && e2 || (n2 == null ? void 0 : n2.length) >= 6 && (o2 == null ? void 0 : o2.length) >= 6) ? [2, { confirm_password: "Your passwords must match" }] : [2] : [2, null];
6849
6859
  });
6850
6860
  });
6851
6861
  }, validatePreferredUsername: function(t2, i2) {
6852
- return n$5(this, void 0, void 0, function() {
6862
+ return n$6(this, void 0, void 0, function() {
6853
6863
  return r$3(this, function(n2) {
6854
6864
  return [2];
6855
6865
  });
@@ -6876,7 +6886,7 @@ function k(k2) {
6876
6886
  var r2 = t2.data, n2 = r2.unverified, i2 = r2.verified;
6877
6887
  return o$1(i2) && !o$1(n2);
6878
6888
  } }, services: { signIn: function(r2) {
6879
- return n$5(this, void 0, void 0, function() {
6889
+ return n$6(this, void 0, void 0, function() {
6880
6890
  var e2, n2, i2;
6881
6891
  return r$3(this, function(t2) {
6882
6892
  switch (t2.label) {
@@ -6888,7 +6898,7 @@ function k(k2) {
6888
6898
  });
6889
6899
  });
6890
6900
  }, confirmSignIn: function(r2, n2) {
6891
- return n$5(this, void 0, void 0, function() {
6901
+ return n$6(this, void 0, void 0, function() {
6892
6902
  var e2, n3, s2, o2;
6893
6903
  return r$3(this, function(t2) {
6894
6904
  switch (t2.label) {
@@ -6902,12 +6912,12 @@ function k(k2) {
6902
6912
  });
6903
6913
  });
6904
6914
  }, forceNewPassword: function(s2, o2) {
6905
- return n$5(this, void 0, void 0, function() {
6915
+ return n$6(this, void 0, void 0, function() {
6906
6916
  var e2, o3, a2, c2, d2, u2, l2, f2, g2;
6907
6917
  return r$3(this, function(t2) {
6908
6918
  switch (t2.label) {
6909
6919
  case 0:
6910
- e2 = s2.user, o3 = s2.formValues, a2 = o3.password, c2 = o3.phone_number, d2 = o3.country_code, u2 = e$7(o3, ["password", "confirm_password", "phone_number", "country_code"]), c2 && (l2 = "".concat(d2).concat(c2).replace(/[^A-Z0-9+]/gi, ""), u2 = t$5(t$5({}, u2), { phone_number: l2 })), t2.label = 1;
6920
+ e2 = s2.user, o3 = s2.formValues, a2 = o3.password, c2 = o3.phone_number, d2 = o3.country_code, u2 = e$7(o3, ["password", "confirm_password", "phone_number", "country_code"]), c2 && (l2 = "".concat(d2).concat(c2).replace(/[^A-Z0-9+]/gi, ""), u2 = t$4(t$4({}, u2), { phone_number: l2 })), t2.label = 1;
6911
6921
  case 1:
6912
6922
  return t2.trys.push([1, 3, , 4]), [4, Auth.completeNewPassword(e2, a2, u2)];
6913
6923
  case 2:
@@ -6920,14 +6930,14 @@ function k(k2) {
6920
6930
  });
6921
6931
  });
6922
6932
  }, verifyTotpToken: function(r2, n2) {
6923
- return n$5(this, void 0, void 0, function() {
6933
+ return n$6(this, void 0, void 0, function() {
6924
6934
  var e2, n3;
6925
6935
  return r$3(this, function(t2) {
6926
6936
  return e2 = r2.user, n3 = r2.formValues.confirmation_code, [2, Auth.verifyTotpToken(e2, n3)];
6927
6937
  });
6928
6938
  });
6929
6939
  }, federatedSignIn: function(r2, n2) {
6930
- return n$5(this, void 0, void 0, function() {
6940
+ return n$6(this, void 0, void 0, function() {
6931
6941
  var e2;
6932
6942
  return r$3(this, function(t2) {
6933
6943
  switch (t2.label) {
@@ -6939,7 +6949,7 @@ function k(k2) {
6939
6949
  });
6940
6950
  });
6941
6951
  }, checkVerifiedContact: function(r2, n2) {
6942
- return n$5(this, void 0, void 0, function() {
6952
+ return n$6(this, void 0, void 0, function() {
6943
6953
  var e2;
6944
6954
  return r$3(this, function(t2) {
6945
6955
  switch (t2.label) {
@@ -6951,7 +6961,7 @@ function k(k2) {
6951
6961
  });
6952
6962
  });
6953
6963
  }, verifyUser: function(r2, n2) {
6954
- return n$5(this, void 0, void 0, function() {
6964
+ return n$6(this, void 0, void 0, function() {
6955
6965
  var e2, n3;
6956
6966
  return r$3(this, function(t2) {
6957
6967
  switch (t2.label) {
@@ -6963,7 +6973,7 @@ function k(k2) {
6963
6973
  });
6964
6974
  });
6965
6975
  }, confirmVerifyUser: function(r2, n2) {
6966
- return n$5(this, void 0, void 0, function() {
6976
+ return n$6(this, void 0, void 0, function() {
6967
6977
  var e2, n3;
6968
6978
  return r$3(this, function(t2) {
6969
6979
  switch (t2.label) {
@@ -6975,7 +6985,7 @@ function k(k2) {
6975
6985
  });
6976
6986
  });
6977
6987
  }, validateFields: function(r2, n2) {
6978
- return n$5(this, void 0, void 0, function() {
6988
+ return n$6(this, void 0, void 0, function() {
6979
6989
  return r$3(this, function(e2) {
6980
6990
  return [2, s(r2.formValues, r2.touched, r2.passwordSettings, [o.validateConfirmPassword])];
6981
6991
  });
@@ -6991,21 +7001,21 @@ function E(E2) {
6991
7001
  return !(!e2.intent || e2.intent !== "confirmPasswordReset");
6992
7002
  } }, services: { resetPassword: function(t2) {
6993
7003
  var n2, s2;
6994
- return n$5(this, void 0, void 0, function() {
7004
+ return n$6(this, void 0, void 0, function() {
6995
7005
  var e2;
6996
7006
  return r$3(this, function(r2) {
6997
7007
  return e2 = (s2 = (n2 = t2.formValues) === null || n2 === void 0 ? void 0 : n2.username) !== null && s2 !== void 0 ? s2 : t2.username, [2, h2.handleForgotPassword(e2)];
6998
7008
  });
6999
7009
  });
7000
7010
  }, confirmResetPassword: function(t2) {
7001
- return n$5(this, void 0, void 0, function() {
7011
+ return n$6(this, void 0, void 0, function() {
7002
7012
  var e2, n2, s2, o2;
7003
7013
  return r$3(this, function(r2) {
7004
7014
  return e2 = t2.username, n2 = t2.formValues, s2 = n2.confirmation_code, o2 = n2.password, [2, h2.handleForgotPasswordSubmit({ username: e2, code: s2, password: o2 })];
7005
7015
  });
7006
7016
  });
7007
7017
  }, validateFields: function(t2, n2) {
7008
- return n$5(this, void 0, void 0, function() {
7018
+ return n$6(this, void 0, void 0, function() {
7009
7019
  return r$3(this, function(e2) {
7010
7020
  return [2, s(t2.formValues, t2.touched, t2.passwordSettings, [o.validateConfirmPassword])];
7011
7021
  });
@@ -7459,7 +7469,7 @@ function b(b2) {
7459
7469
  }, shouldSkipConfirm: function(e2, r2) {
7460
7470
  return r2.data.userConfirmed;
7461
7471
  } }, actions: { clearError: i, clearFormValues: s$1, clearTouched: c, clearValidationError: f$1, handleInput: N, handleSubmit: q, handleBlur: w, parsePhoneNumber: P, setCredentials: V, setFieldErrors: p, setRemoteError: g, setCodeDeliveryDetails: E$1, setUser: _, sendUpdate: sendUpdate$1() }, services: { signIn: function(i2, s2) {
7462
- return n$5(this, void 0, void 0, function() {
7472
+ return n$6(this, void 0, void 0, function() {
7463
7473
  var e2, s3, a2, o2, d2;
7464
7474
  return r$3(this, function(r2) {
7465
7475
  switch (r2.label) {
@@ -7471,7 +7481,7 @@ function b(b2) {
7471
7481
  });
7472
7482
  });
7473
7483
  }, confirmSignUp: function(i2, s2) {
7474
- return n$5(this, void 0, void 0, function() {
7484
+ return n$6(this, void 0, void 0, function() {
7475
7485
  var e2, s3, a2, o2, d2, c2;
7476
7486
  return r$3(this, function(r2) {
7477
7487
  switch (r2.label) {
@@ -7485,14 +7495,14 @@ function b(b2) {
7485
7495
  });
7486
7496
  });
7487
7497
  }, resendConfirmationCode: function(i2, s2) {
7488
- return n$5(this, void 0, void 0, function() {
7498
+ return n$6(this, void 0, void 0, function() {
7489
7499
  var e2, s3, a2;
7490
7500
  return r$3(this, function(r2) {
7491
7501
  return e2 = i2.user, s3 = i2.authAttributes, a2 = t$1(e2, "username") || t$1(s3, "username"), [2, Auth.resendSignUp(a2)];
7492
7502
  });
7493
7503
  });
7494
7504
  }, federatedSignIn: function(t2, i2) {
7495
- return n$5(this, void 0, void 0, function() {
7505
+ return n$6(this, void 0, void 0, function() {
7496
7506
  var e2;
7497
7507
  return r$3(this, function(r2) {
7498
7508
  switch (r2.label) {
@@ -7504,7 +7514,7 @@ function b(b2) {
7504
7514
  });
7505
7515
  });
7506
7516
  }, signUp: function(n2, t2) {
7507
- return n$5(this, void 0, void 0, function() {
7517
+ return n$6(this, void 0, void 0, function() {
7508
7518
  var e2, t3, s2, a2, o2, d2, c2;
7509
7519
  return r$3(this, function(r2) {
7510
7520
  switch (r2.label) {
@@ -7539,7 +7549,7 @@ function b(b2) {
7539
7549
  });
7540
7550
  });
7541
7551
  }, validateSignUp: function(n2, t2) {
7542
- return n$5(this, void 0, void 0, function() {
7552
+ return n$6(this, void 0, void 0, function() {
7543
7553
  return r$3(this, function(e2) {
7544
7554
  return [2, s(n2.formValues, n2.touched, n2.passwordSettings, [y2.validateFormPassword, y2.validateConfirmPassword, y2.validatePreferredUsername, y2.validateCustomSignUp])];
7545
7555
  });
@@ -7553,7 +7563,7 @@ function v() {
7553
7563
  return o2.data;
7554
7564
  } }), setActorDoneData: assign$2({ actorDoneData: function(o2, n2) {
7555
7565
  var r2, i2;
7556
- return { authAttributes: t$5({}, (r2 = n2.data) === null || r2 === void 0 ? void 0 : r2.authAttributes), intent: (i2 = n2.data) === null || i2 === void 0 ? void 0 : i2.intent };
7566
+ return { authAttributes: t$4({}, (r2 = n2.data) === null || r2 === void 0 ? void 0 : r2.authAttributes), intent: (i2 = n2.data) === null || i2 === void 0 ? void 0 : i2.intent };
7557
7567
  }, user: function(t2, o2) {
7558
7568
  var n2;
7559
7569
  return (n2 = o2.data) === null || n2 === void 0 ? void 0 : n2.user;
@@ -7584,7 +7594,7 @@ function v() {
7584
7594
  return spawn(o2, { name: "signOutActor" });
7585
7595
  } }), stopSignInActor: t$2("signInActor"), stopSignUpActor: t$2("signUpActor"), stopResetPasswordActor: t$2("resetPasswordActor"), stopSignOutActor: t$2("signOutActor"), configure: assign$2(function(o$12, r2) {
7586
7596
  var i2 = r2.data, e2 = i2.services, a2 = e$7(i2, ["services"]);
7587
- return { services: t$5(t$5({}, o), e2), config: a2 };
7597
+ return { services: t$4(t$4({}, o), e2), config: a2 };
7588
7598
  }), setHasSetup: assign$2({ hasSetup: true }) }, guards: { isInitialStateSignUp: function(t2) {
7589
7599
  return t2.config.initialState === "signUp";
7590
7600
  }, isInitialStateResetPassword: function(t2) {
@@ -7717,6 +7727,7 @@ const facade = {
7717
7727
  hasValidationErrors: false,
7718
7728
  isPending: false,
7719
7729
  route: "",
7730
+ authStatus: "",
7720
7731
  user: "",
7721
7732
  validationErrors: {
7722
7733
  val: ""
@@ -8339,7 +8350,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
8339
8350
  const signInButtonText = computed(() => g$1("Sign in"));
8340
8351
  const signIngButtonText = computed(() => g$1("Signing in"));
8341
8352
  const { state, send: send2 } = useAuth();
8342
- const actorState = computed(() => t$6(state.value));
8353
+ const actorState = computed(() => t$5(state.value));
8343
8354
  const onInput = (e2) => {
8344
8355
  const { name, value } = e2.target;
8345
8356
  send2({
@@ -8824,7 +8835,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
8824
8835
  const { state, send: send2 } = useAuth();
8825
8836
  const useAuthShared = createSharedComposable(useAuthenticator);
8826
8837
  const props = useAuthShared();
8827
- const actorState = computed(() => t$6(state.value));
8838
+ const actorState = computed(() => t$5(state.value));
8828
8839
  const challengeName = actorState.value.context.challengeName;
8829
8840
  let mfaType = "SMS";
8830
8841
  if (challengeName === E$2.SOFTWARE_TOKEN_MFA) {
@@ -10980,7 +10991,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
10980
10991
  const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.setupTOTP;
10981
10992
  const QROR = formOverrides == null ? void 0 : formOverrides["QR"];
10982
10993
  const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
10983
- const actorState = computed(() => t$6(state.value));
10994
+ const actorState = computed(() => t$5(state.value));
10984
10995
  let qrCode = reactive({
10985
10996
  qrCodeImageSource: "",
10986
10997
  isLoading: true
@@ -11196,7 +11207,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11196
11207
  const { state, send: send2 } = useAuth();
11197
11208
  const useAuthShared = createSharedComposable(useAuthenticator);
11198
11209
  const props = useAuthShared();
11199
- const actorState = computed(() => t$6(state.value));
11210
+ const actorState = computed(() => t$5(state.value));
11200
11211
  const changePasswordLabel = computed(() => g$1("Change Password"));
11201
11212
  const changingPasswordLabel = computed(() => g$1("Changing"));
11202
11213
  const backSignInText = computed(() => g$1("Back to Sign In"));
@@ -11476,8 +11487,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
11476
11487
  const useAuthShared = createSharedComposable(useAuthenticator);
11477
11488
  const props = useAuthShared();
11478
11489
  const attrs = useAttrs();
11479
- const actorState = computed(() => t$6(state.value));
11480
- computed(() => n$6(state.value));
11490
+ const actorState = computed(() => t$5(state.value));
11491
+ computed(() => n$7(state.value));
11481
11492
  const resendCodeText = computed(() => g$1("Resend Code"));
11482
11493
  const confirmResetPasswordHeading = computed(() => g$1("Reset your Password"));
11483
11494
  const confirmResetPasswordText = computed(() => g$1("Submit"));
@@ -11622,7 +11633,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11622
11633
  const props = useAuthShared();
11623
11634
  const attrs = useAttrs();
11624
11635
  const { state, send: send2 } = useAuth();
11625
- const actorState = computed(() => t$6(state.value));
11636
+ const actorState = computed(() => t$5(state.value));
11626
11637
  const unverifiedAttributes = actorState.value.context.unverifiedAttributes;
11627
11638
  const verifyHeading = computed(() => g$1("Account recovery requires verified contact information"));
11628
11639
  const skipText = computed(() => g$1("Skip"));
@@ -11816,7 +11827,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
11816
11827
  const props = useAuthShared();
11817
11828
  const attrs = useAttrs();
11818
11829
  const { state, send: send2 } = useAuth();
11819
- const actorState = computed(() => t$6(state.value));
11830
+ const actorState = computed(() => t$5(state.value));
11820
11831
  const verifyHeading = computed(() => g$1("Account recovery requires verified contact information"));
11821
11832
  const skipText = computed(() => g$1("Skip"));
11822
11833
  const submitText = computed(() => g$1("Submit"));
@@ -12016,7 +12027,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12016
12027
  if (unsubscribeMachine)
12017
12028
  unsubscribeMachine();
12018
12029
  });
12019
- const actorState = computed(() => t$6(state.value));
12030
+ const actorState = computed(() => t$5(state.value));
12020
12031
  const signInComponent = ref();
12021
12032
  const signUpComponent = ref();
12022
12033
  const confirmSignUpComponent = ref();