@aws-amplify/ui-vue 4.2.29 → 4.2.30

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
@@ -1,6 +1,6 @@
1
- import { defineComponent as q, useSlots as Tr, renderSlot as E, mergeProps as Ie, unref as d, createElementVNode as x, normalizeProps as oe, guardReactiveProps as ie, openBlock as U, createElementBlock as X, toRefs as re, ref as le, createVNode as C, withCtx as _, createCommentVNode as j, effectScope as us, getCurrentScope as ds, onScopeDispose as di, isRef as fs, shallowRef as co, watch as ps, reactive as fi, watchEffect as ms, createBlock as W, normalizeClass as Ae, createTextVNode as M, toDisplayString as R, Fragment as qe, renderList as En, computed as D, onBeforeMount as gs, withModifiers as ue, h as Zt, onMounted as pi, onUnmounted as hs } from "vue";
2
- import { Hub as ys, I18n as vs, ConsoleLogger as _s } from "aws-amplify/utils";
3
- import { getCurrentUser as mi, signIn as ws, signUp as Ss, confirmSignIn as gi, confirmSignUp as bs, confirmResetPassword as Cs, resetPassword as hi, fetchUserAttributes as yi, resendSignUpCode as vi, signInWithRedirect as _i, autoSignIn as As, signOut as Is, sendUserAttributeVerificationCode as Es, confirmUserAttribute as Ts } from "aws-amplify/auth";
1
+ import { defineComponent as q, useSlots as Tr, renderSlot as E, mergeProps as Ie, unref as d, createElementVNode as x, normalizeProps as oe, guardReactiveProps as ie, openBlock as U, createElementBlock as X, toRefs as re, ref as le, createVNode as C, withCtx as _, createCommentVNode as j, effectScope as cs, getCurrentScope as us, onScopeDispose as di, isRef as ds, shallowRef as co, watch as fs, reactive as fi, watchEffect as ps, createBlock as W, normalizeClass as Ae, createTextVNode as M, toDisplayString as R, Fragment as qe, renderList as En, computed as D, onBeforeMount as ms, withModifiers as ue, h as Zt, onMounted as pi, onUnmounted as gs } from "vue";
2
+ import { Hub as hs, I18n as ys, ConsoleLogger as vs } from "aws-amplify/utils";
3
+ import { getCurrentUser as mi, signIn as _s, signUp as ws, confirmSignIn as gi, confirmSignUp as Ss, confirmResetPassword as bs, resetPassword as hi, resendSignUpCode as Cs, fetchUserAttributes as yi, signInWithRedirect as vi, autoSignIn as As, signOut as Is, sendUserAttributeVerificationCode as Es, confirmUserAttribute as Ts } from "aws-amplify/auth";
4
4
  import { Category as We, AiAction as tt, AuthAction as Ce, StorageAction as Le, InAppMessagingAction as Ps, GeoAction as er, AmplifyErrorCode as ks, setCustomUserAgent as De } from "@aws-amplify/core/internals/utils";
5
5
  import { Amplify as Ns } from "aws-amplify";
6
6
  const Ne = /* @__PURE__ */ q({
@@ -142,7 +142,7 @@ const me = /* @__PURE__ */ Tn(Us, [["render", $s]]), Os = ["type", "data-fullwid
142
142
  function Lt(e) {
143
143
  return e != null && !Array.isArray(e) && typeof e == "object";
144
144
  }
145
- function wi(e) {
145
+ function _i(e) {
146
146
  return typeof e == "string" || typeof e == "object" && Object.prototype.toString.call(e) === "[object String]";
147
147
  }
148
148
  function Ws(e) {
@@ -151,12 +151,12 @@ function Ws(e) {
151
151
  function Vs(e) {
152
152
  return Lt(e) && Object.prototype.toString.call(e) === "[object Set]";
153
153
  }
154
- function Si(e) {
154
+ function wi(e) {
155
155
  if (e == null)
156
156
  return !0;
157
157
  if (Lt(e) && (Ws(e) || Vs(e)))
158
158
  return !e.size;
159
- if (Lt(e) && (wi(e) || Array.isArray(e)))
159
+ if (Lt(e) && (_i(e) || Array.isArray(e)))
160
160
  return !e.length;
161
161
  for (const t in e)
162
162
  if (Hs(e, t))
@@ -164,7 +164,7 @@ function Si(e) {
164
164
  return !0;
165
165
  }
166
166
  function js(e) {
167
- return Lt(e) && Si(e);
167
+ return Lt(e) && wi(e);
168
168
  }
169
169
  function Hs(e, t) {
170
170
  return e != null && Object.prototype.hasOwnProperty.call(e, t);
@@ -174,7 +174,7 @@ function uo(e) {
174
174
  }
175
175
  function Ys(...e) {
176
176
  }
177
- const bi = ({ payload: e }, t, n) => {
177
+ const Si = ({ payload: e }, t, n) => {
178
178
  var l;
179
179
  const { data: r, event: o } = e, { send: i } = t, { onSignIn: a, onSignOut: s } = n ?? {};
180
180
  switch (o) {
@@ -197,9 +197,9 @@ const bi = ({ payload: e }, t, n) => {
197
197
  break;
198
198
  }
199
199
  }
200
- }, Ks = (e, t = bi) => {
200
+ }, Ks = (e, t = Si) => {
201
201
  const n = (r) => t(r, e);
202
- return ys.listen("auth", n, "authenticator-hub-handler");
202
+ return hs.listen("auth", n, "authenticator-hub-handler");
203
203
  }, qs = [
204
204
  "+1",
205
205
  "+7",
@@ -676,16 +676,16 @@ const tl = [
676
676
  "username",
677
677
  "email",
678
678
  "phone_number"
679
- ], Ci = [
679
+ ], bi = [
680
680
  ...nl,
681
681
  ...tl,
682
682
  "confirmation_code",
683
683
  "password",
684
684
  "confirm_password"
685
- ], rl = (e) => Ci.includes(e), $e = (e) => {
685
+ ], rl = (e) => bi.includes(e), $e = (e) => {
686
686
  const t = new FormData(e.target);
687
687
  return Object.fromEntries(t);
688
- }, Ai = (e) => Ci.includes(e), ol = (e) => Array.isArray(e), il = (e) => e ? ol(e) ? e : [e] : null, al = (e) => {
688
+ }, Ci = (e) => bi.includes(e), ol = (e) => Array.isArray(e), il = (e) => e ? ol(e) ? e : [e] : null, al = (e) => {
689
689
  const t = e.trim().split("");
690
690
  for (let n = 0; n < t.length; n++)
691
691
  n > 0 && n < t.length - 1 && (t[n] = "*");
@@ -2368,7 +2368,7 @@ const pl = {
2368
2368
  // new module related default texts goes here
2369
2369
  }, z = { ...Zl };
2370
2370
  function N(e) {
2371
- return vs.get(e);
2371
+ return ys.get(e);
2372
2372
  }
2373
2373
  const YC = {
2374
2374
  de: Ol,
@@ -2440,7 +2440,7 @@ const YC = {
2440
2440
  ...n
2441
2441
  ])), i = {};
2442
2442
  for (const a of o)
2443
- if (Ai(a)) {
2443
+ if (Ci(a)) {
2444
2444
  const s = a === r ? Pn(e) : Je(a);
2445
2445
  i[a] = { ...s };
2446
2446
  } else
@@ -2479,7 +2479,7 @@ const YC = {
2479
2479
  ...n ?? []
2480
2480
  ])), o = {};
2481
2481
  for (const i of r)
2482
- Ai(i) ? o[i] = { ...Je(i) } : console.debug(`Authenticator does not have a default implementation for ${i}. Customize ForceNewPassword FormFields to add your own.`);
2482
+ Ci(i) ? o[i] = { ...Je(i) } : console.debug(`Authenticator does not have a default implementation for ${i}. Customize ForceNewPassword FormFields to add your own.`);
2483
2483
  return o;
2484
2484
  }, sc = {
2485
2485
  signIn: tc,
@@ -2660,37 +2660,37 @@ var Ze;
2660
2660
  (function(e) {
2661
2661
  e.Parent = "#_parent", e.Internal = "#_internal";
2662
2662
  })(Ze || (Ze = {}));
2663
- var pn = Z.Start, kn = Z.Stop, vt = Z.Raise, jt = Z.Send, $r = Z.Cancel, Ii = Z.NullEvent, Nn = Z.Assign, vc = Z.After, _c = Z.DoneState, Un = Z.Log, Ei = Z.Init, mn = Z.Invoke, wc = Z.ErrorExecution, dr = Z.ErrorPlatform, Or = Z.ErrorCustom, $n = Z.Update, Ti = Z.Choose, Pi = Z.Pure;
2663
+ var pn = Z.Start, kn = Z.Stop, vt = Z.Raise, jt = Z.Send, $r = Z.Cancel, Ai = Z.NullEvent, Nn = Z.Assign, vc = Z.After, _c = Z.DoneState, Un = Z.Log, Ii = Z.Init, mn = Z.Invoke, wc = Z.ErrorExecution, dr = Z.ErrorPlatform, Or = Z.ErrorCustom, $n = Z.Update, Ei = Z.Choose, Ti = Z.Pure;
2664
2664
  const Sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2665
2665
  __proto__: null,
2666
2666
  after: vc,
2667
2667
  assign: Nn,
2668
2668
  cancel: $r,
2669
- choose: Ti,
2669
+ choose: Ei,
2670
2670
  doneState: _c,
2671
2671
  error: Or,
2672
2672
  errorExecution: wc,
2673
2673
  errorPlatform: dr,
2674
- init: Ei,
2674
+ init: Ii,
2675
2675
  invoke: mn,
2676
2676
  log: Un,
2677
- nullEvent: Ii,
2678
- pure: Pi,
2677
+ nullEvent: Ai,
2678
+ pure: Ti,
2679
2679
  raise: vt,
2680
2680
  send: jt,
2681
2681
  start: pn,
2682
2682
  stop: kn,
2683
2683
  update: $n
2684
2684
  }, Symbol.toStringTag, { value: "Module" }));
2685
- var ki = ".", mo = {}, fr = "xstate.guard", bc = "", ne = process.env.NODE_ENV === "production", Qt;
2685
+ var Pi = ".", mo = {}, fr = "xstate.guard", bc = "", ne = process.env.NODE_ENV === "production", Qt;
2686
2686
  function Fr(e, t, n) {
2687
- n === void 0 && (n = ki);
2687
+ n === void 0 && (n = Pi);
2688
2688
  var r = Mt(e, n), o = Mt(t, n);
2689
2689
  return Y(o) ? Y(r) ? o === r : !1 : Y(r) ? r in o : Object.keys(r).every(function(i) {
2690
2690
  return i in o ? Fr(r[i], o[i]) : !1;
2691
2691
  });
2692
2692
  }
2693
- function Ni(e) {
2693
+ function ki(e) {
2694
2694
  try {
2695
2695
  return Y(e) || typeof e == "number" ? "".concat(e) : e.type;
2696
2696
  } catch {
@@ -2812,11 +2812,11 @@ function te(e) {
2812
2812
  var t;
2813
2813
  return (t = []).concat.apply(t, Q([], H(e), !1));
2814
2814
  }
2815
- function Ui(e) {
2815
+ function Ni(e) {
2816
2816
  return _t(e) ? e : [e];
2817
2817
  }
2818
2818
  function Pe(e) {
2819
- return e === void 0 ? [] : Ui(e);
2819
+ return e === void 0 ? [] : Ni(e);
2820
2820
  }
2821
2821
  function hn(e, t, n) {
2822
2822
  var r, o;
@@ -2870,14 +2870,14 @@ function Pc(e, t) {
2870
2870
  }
2871
2871
  return [i, a];
2872
2872
  }
2873
- function $i(e, t) {
2873
+ function Ui(e, t) {
2874
2874
  return Ot(e.states, function(n, r) {
2875
2875
  if (n) {
2876
2876
  var o = (Y(t) ? void 0 : t[r]) || (n ? n.current : void 0);
2877
2877
  if (o)
2878
2878
  return {
2879
2879
  current: o,
2880
- states: $i(n, o)
2880
+ states: Ui(n, o)
2881
2881
  };
2882
2882
  }
2883
2883
  });
@@ -2885,7 +2885,7 @@ function $i(e, t) {
2885
2885
  function kc(e, t) {
2886
2886
  return {
2887
2887
  current: t,
2888
- states: $i(e, t)
2888
+ states: Ui(e, t)
2889
2889
  };
2890
2890
  }
2891
2891
  function yo(e, t, n, r) {
@@ -2937,7 +2937,7 @@ function K(e) {
2937
2937
  function Y(e) {
2938
2938
  return typeof e == "string";
2939
2939
  }
2940
- function Oi(e, t) {
2940
+ function $i(e, t) {
2941
2941
  if (e)
2942
2942
  return Y(e) ? {
2943
2943
  type: fr,
@@ -2993,7 +2993,7 @@ function de(e, t) {
2993
2993
  }, t);
2994
2994
  }
2995
2995
  function st(e, t) {
2996
- var n = Ui(t).map(function(r) {
2996
+ var n = Ni(t).map(function(r) {
2997
2997
  return typeof r > "u" || typeof r == "string" || ze(r) ? {
2998
2998
  target: r,
2999
2999
  event: e
@@ -3018,7 +3018,7 @@ function Fc(e, t, n) {
3018
3018
  }
3019
3019
  }
3020
3020
  }
3021
- function Fi(e, t, n, r, o) {
3021
+ function Oi(e, t, n, r, o) {
3022
3022
  var i = e.options.guards, a = {
3023
3023
  state: o,
3024
3024
  cond: t,
@@ -3031,7 +3031,7 @@ function Fi(e, t, n, r, o) {
3031
3031
  throw new Error("Guard '".concat(t.type, "' is not implemented on machine '").concat(e.id, "'."));
3032
3032
  return s(n, r.data, a);
3033
3033
  }
3034
- function Ri(e) {
3034
+ function Fi(e) {
3035
3035
  return typeof e == "string" ? {
3036
3036
  type: e
3037
3037
  } : e;
@@ -3052,7 +3052,7 @@ function mr(e) {
3052
3052
  return (e.type === vt || e.type === jt && e.to === Ze.Internal) && typeof e.delay != "number";
3053
3053
  }
3054
3054
  var rt = /* @__PURE__ */ de({
3055
- type: Ei
3055
+ type: Ii
3056
3056
  });
3057
3057
  function yn(e, t) {
3058
3058
  return t && t[e] || void 0;
@@ -3106,7 +3106,7 @@ function Fn(e) {
3106
3106
  type: t.type
3107
3107
  });
3108
3108
  }
3109
- function xi(e, t) {
3109
+ function Ri(e, t) {
3110
3110
  return {
3111
3111
  type: vt,
3112
3112
  event: typeof e == "function" ? e : On(e),
@@ -3114,7 +3114,7 @@ function xi(e, t) {
3114
3114
  id: t == null ? void 0 : t.id
3115
3115
  };
3116
3116
  }
3117
- function Mi(e, t, n, r) {
3117
+ function xi(e, t, n, r) {
3118
3118
  var o = {
3119
3119
  _event: n
3120
3120
  }, i = de(K(e.event) ? e.event(t, n.data, o) : e.event), a;
@@ -3137,10 +3137,10 @@ function wt(e, t) {
3137
3137
  delay: t ? t.delay : void 0,
3138
3138
  // TODO: don't auto-generate IDs here like that
3139
3139
  // there is too big chance of the ID collision
3140
- id: t && t.id !== void 0 ? t.id : K(e) ? e.name : Ni(e)
3140
+ id: t && t.id !== void 0 ? t.id : K(e) ? e.name : ki(e)
3141
3141
  };
3142
3142
  }
3143
- function Di(e, t, n, r) {
3143
+ function Mi(e, t, n, r) {
3144
3144
  var o = {
3145
3145
  _event: n
3146
3146
  }, i = de(K(e.event) ? e.event(t, n.data, o) : e.event), a;
@@ -3167,7 +3167,7 @@ function Rc(e, t, n) {
3167
3167
  to: e
3168
3168
  }));
3169
3169
  }
3170
- function Bi() {
3170
+ function Di() {
3171
3171
  return Rr($n);
3172
3172
  }
3173
3173
  function xc(e, t) {
@@ -3191,19 +3191,19 @@ function Dc(e, t) {
3191
3191
  expr: e
3192
3192
  };
3193
3193
  }
3194
- var Li = function(e, t, n) {
3194
+ var Bi = function(e, t, n) {
3195
3195
  return A(A({}, e), {
3196
3196
  value: Y(e.expr) ? e.expr : e.expr(t, n.data, {
3197
3197
  _event: n
3198
3198
  })
3199
3199
  });
3200
- }, Gi = function(e) {
3200
+ }, Li = function(e) {
3201
3201
  return {
3202
3202
  type: $r,
3203
3203
  sendId: e
3204
3204
  };
3205
3205
  };
3206
- function zi(e) {
3206
+ function Gi(e) {
3207
3207
  var t = Fn(e);
3208
3208
  return {
3209
3209
  type: Z.Start,
@@ -3211,7 +3211,7 @@ function zi(e) {
3211
3211
  exec: void 0
3212
3212
  };
3213
3213
  }
3214
- function Wi(e) {
3214
+ function zi(e) {
3215
3215
  var t = K(e) ? e : Fn(e);
3216
3216
  return {
3217
3217
  type: Z.Stop,
@@ -3219,7 +3219,7 @@ function Wi(e) {
3219
3219
  exec: void 0
3220
3220
  };
3221
3221
  }
3222
- function Vi(e, t, n) {
3222
+ function Wi(e, t, n) {
3223
3223
  var r = K(e.activity) ? e.activity(t, n.data) : e.activity, o = typeof r == "string" ? {
3224
3224
  id: r
3225
3225
  } : r, i = {
@@ -3228,7 +3228,7 @@ function Vi(e, t, n) {
3228
3228
  };
3229
3229
  return i;
3230
3230
  }
3231
- var ji = function(e) {
3231
+ var Vi = function(e) {
3232
3232
  return {
3233
3233
  type: Nn,
3234
3234
  assignment: e
@@ -3237,7 +3237,7 @@ var ji = function(e) {
3237
3237
  function Bc(e) {
3238
3238
  return typeof e == "object" && "type" in e;
3239
3239
  }
3240
- function Hi(e, t) {
3240
+ function ji(e, t) {
3241
3241
  var n = t ? "#".concat(t) : "";
3242
3242
  return "".concat(Z.After, "(").concat(e, ")").concat(n);
3243
3243
  }
@@ -3274,7 +3274,7 @@ function Lc(e) {
3274
3274
  get: e
3275
3275
  };
3276
3276
  }
3277
- function Yi(e, t) {
3277
+ function Hi(e, t) {
3278
3278
  if (!ne && (!e || typeof e == "function")) {
3279
3279
  var n = e;
3280
3280
  e = function() {
@@ -3339,11 +3339,11 @@ function zt(e, t, n, r, o, i, a) {
3339
3339
  var b;
3340
3340
  switch (v.type) {
3341
3341
  case vt: {
3342
- var g = Mi(v, l, r, e.options.delays);
3342
+ var g = xi(v, l, r, e.options.delays);
3343
3343
  return i && typeof g.delay == "number" && i(g, l, r), g;
3344
3344
  }
3345
3345
  case jt:
3346
- var w = Di(v, l, r, e.options.delays);
3346
+ var w = Mi(v, l, r, e.options.delays);
3347
3347
  if (!ne) {
3348
3348
  var y = v.delay;
3349
3349
  ce(
@@ -3354,13 +3354,13 @@ function zt(e, t, n, r, o, i, a) {
3354
3354
  }
3355
3355
  return i && w.to !== Ze.Internal && (h === "entry" ? u.push(w) : i(w, l, r)), w;
3356
3356
  case Un: {
3357
- var S = Li(v, l, r);
3357
+ var S = Bi(v, l, r);
3358
3358
  return i == null || i(S, l, r), S;
3359
3359
  }
3360
- case Ti: {
3360
+ case Ei: {
3361
3361
  var I = v, T = (b = I.conds.find(function(fe) {
3362
- var ge = Oi(fe.cond, e.options.guards);
3363
- return !ge || Fi(e, ge, l, r, i ? void 0 : t);
3362
+ var ge = $i(fe.cond, e.options.guards);
3363
+ return !ge || Oi(e, ge, l, r, i ? void 0 : t);
3364
3364
  })) === null || b === void 0 ? void 0 : b.actions;
3365
3365
  if (!T)
3366
3366
  return [];
@@ -3370,7 +3370,7 @@ function zt(e, t, n, r, o, i, a) {
3370
3370
  }], i, a), 2), k = P[0], $ = P[1];
3371
3371
  return l = $, c == null || c.push(l), k;
3372
3372
  }
3373
- case Pi: {
3373
+ case Ti: {
3374
3374
  var T = v.get(l, r.data);
3375
3375
  if (!T)
3376
3376
  return [];
@@ -3381,7 +3381,7 @@ function zt(e, t, n, r, o, i, a) {
3381
3381
  return l = B, c == null || c.push(l), F;
3382
3382
  }
3383
3383
  case kn: {
3384
- var S = Vi(v, l, r);
3384
+ var S = Wi(v, l, r);
3385
3385
  return i == null || i(S, n, r), S;
3386
3386
  }
3387
3387
  case Nn: {
@@ -3430,36 +3430,36 @@ function zt(e, t, n, r, o, i, a) {
3430
3430
  var p = te(o.map(f));
3431
3431
  return [p, l];
3432
3432
  }
3433
- const Ki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3433
+ const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3434
3434
  __proto__: null,
3435
3435
  actionTypes: Sc,
3436
- after: Hi,
3437
- assign: ji,
3438
- cancel: Gi,
3436
+ after: ji,
3437
+ assign: Vi,
3438
+ cancel: Li,
3439
3439
  choose: zc,
3440
3440
  done: Ft,
3441
3441
  doneInvoke: Dt,
3442
3442
  error: ft,
3443
3443
  escalate: Gc,
3444
- forwardTo: Yi,
3444
+ forwardTo: Hi,
3445
3445
  getActionFunction: yn,
3446
3446
  initEvent: rt,
3447
3447
  isActionObject: Bc,
3448
3448
  log: Dc,
3449
3449
  pure: Lc,
3450
- raise: xi,
3450
+ raise: Ri,
3451
3451
  resolveActions: zt,
3452
- resolveLog: Li,
3453
- resolveRaise: Mi,
3454
- resolveSend: Di,
3455
- resolveStop: Vi,
3452
+ resolveLog: Bi,
3453
+ resolveRaise: xi,
3454
+ resolveSend: Mi,
3455
+ resolveStop: Wi,
3456
3456
  respond: xc,
3457
3457
  send: wt,
3458
3458
  sendParent: Rr,
3459
3459
  sendTo: Rc,
3460
- sendUpdate: Bi,
3461
- start: zi,
3462
- stop: Wi,
3460
+ sendUpdate: Di,
3461
+ start: Gi,
3462
+ stop: zi,
3463
3463
  toActionObject: pt,
3464
3464
  toActionObjects: Ge,
3465
3465
  toActivityDefinition: Fn
@@ -3471,7 +3471,7 @@ var vn = [], ut = function(e, t) {
3471
3471
  }, Vc = function(e) {
3472
3472
  return e(vn[vn.length - 1]);
3473
3473
  };
3474
- function qi(e) {
3474
+ function Ki(e) {
3475
3475
  var t;
3476
3476
  return t = {
3477
3477
  id: e,
@@ -3495,11 +3495,11 @@ function qi(e) {
3495
3495
  }, t;
3496
3496
  }
3497
3497
  function jc(e, t, n, r) {
3498
- var o, i = Ri(e.src), a = (o = t == null ? void 0 : t.options.services) === null || o === void 0 ? void 0 : o[i.type], s = e.data ? hn(e.data, n, r) : void 0, l = a ? xr(a, e.id, s) : qi(e.id);
3498
+ var o, i = Fi(e.src), a = (o = t == null ? void 0 : t.options.services) === null || o === void 0 ? void 0 : o[i.type], s = e.data ? hn(e.data, n, r) : void 0, l = a ? xr(a, e.id, s) : Ki(e.id);
3499
3499
  return l.meta = e, l;
3500
3500
  }
3501
3501
  function xr(e, t, n) {
3502
- var r = qi(t);
3502
+ var r = Ki(t);
3503
3503
  if (r.deferred = !0, ze(e)) {
3504
3504
  var o = r.state = ut(void 0, function() {
3505
3505
  return (n ? e.withContext(n) : e).initialState;
@@ -3539,19 +3539,19 @@ function Kc(e) {
3539
3539
  var _n = function(e) {
3540
3540
  return e.type === "atomic" || e.type === "final";
3541
3541
  };
3542
- function Ji(e) {
3542
+ function qi(e) {
3543
3543
  return Object.keys(e.states).map(function(t) {
3544
3544
  return e.states[t];
3545
3545
  });
3546
3546
  }
3547
3547
  function Wt(e) {
3548
- return Ji(e).filter(function(t) {
3548
+ return qi(e).filter(function(t) {
3549
3549
  return t.type !== "history";
3550
3550
  });
3551
3551
  }
3552
- function Zi(e) {
3552
+ function Ji(e) {
3553
3553
  var t = [e];
3554
- return _n(e) ? t : t.concat(te(Wt(e).map(Zi)));
3554
+ return _n(e) ? t : t.concat(te(Wt(e).map(Ji)));
3555
3555
  }
3556
3556
  function Rt(e, t) {
3557
3557
  var n, r, o, i, a, s, l, c, u = new Set(e), m = gr(u), f = new Set(t);
@@ -3630,7 +3630,7 @@ function Rt(e, t) {
3630
3630
  }
3631
3631
  return f;
3632
3632
  }
3633
- function Qi(e, t) {
3633
+ function Zi(e, t) {
3634
3634
  var n = t.get(e);
3635
3635
  if (!n)
3636
3636
  return {};
@@ -3644,7 +3644,7 @@ function Qi(e, t) {
3644
3644
  }
3645
3645
  var o = {};
3646
3646
  return n.forEach(function(i) {
3647
- o[i.key] = Qi(i, t);
3647
+ o[i.key] = Zi(i, t);
3648
3648
  }), o;
3649
3649
  }
3650
3650
  function gr(e) {
@@ -3669,7 +3669,7 @@ function gr(e) {
3669
3669
  }
3670
3670
  function qc(e, t) {
3671
3671
  var n = Rt([e], t);
3672
- return Qi(e, gr(n));
3672
+ return Zi(e, gr(n));
3673
3673
  }
3674
3674
  function xt(e, t) {
3675
3675
  return Array.isArray(e) ? e.some(function(n) {
@@ -3698,7 +3698,7 @@ function vo(e) {
3698
3698
  return t.tags;
3699
3699
  })));
3700
3700
  }
3701
- function Xi(e, t) {
3701
+ function Qi(e, t) {
3702
3702
  if (e === t)
3703
3703
  return !0;
3704
3704
  if (e === void 0 || t === void 0)
@@ -3707,7 +3707,7 @@ function Xi(e, t) {
3707
3707
  return e === t;
3708
3708
  var n = Object.keys(e), r = Object.keys(t);
3709
3709
  return n.length === r.length && n.every(function(o) {
3710
- return Xi(e[o], t[o]);
3710
+ return Qi(e[o], t[o]);
3711
3711
  });
3712
3712
  }
3713
3713
  function Qc(e) {
@@ -4032,7 +4032,7 @@ Event: `
4032
4032
  )
4033
4033
  break;
4034
4034
  if (w.type === Z.Invoke) {
4035
- var y = Ri(w.src), S = r.machine.options.services ? r.machine.options.services[y.type] : void 0, I = w.id, T = w.data;
4035
+ var y = Fi(w.src), S = r.machine.options.services ? r.machine.options.services[y.type] : void 0, I = w.id, T = w.data;
4036
4036
  ne || ce(
4037
4037
  !("forward" in w),
4038
4038
  // tslint:disable-next-line:max-line-length
@@ -4706,7 +4706,7 @@ Event: `).concat(JSON.stringify(event)));
4706
4706
  },
4707
4707
  logger: /* @__PURE__ */ console.log.bind(console),
4708
4708
  devTools: !1
4709
- }, e.interpret = ea, e;
4709
+ }, e.interpret = Xi, e;
4710
4710
  }()
4711
4711
  ), au = function(e) {
4712
4712
  return Y(e) ? A(A({}, hr), {
@@ -4725,7 +4725,7 @@ function kt(e, t) {
4725
4725
  return r ? r.spawn(e, n.name, n) : xr(e, n.name);
4726
4726
  });
4727
4727
  }
4728
- function ea(e, t) {
4728
+ function Xi(e, t) {
4729
4729
  var n = new iu(e, t);
4730
4730
  return n;
4731
4731
  }
@@ -4784,7 +4784,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
4784
4784
  transitions: void 0,
4785
4785
  candidates: {},
4786
4786
  delayedTransitions: void 0
4787
- }, this.idMap = {}, this.tags = [], this.options = Object.assign(lu(), n), this.parent = o == null ? void 0 : o.parent, this.key = this.config.key || (o == null ? void 0 : o.key) || this.config.id || "(machine)", this.machine = this.parent ? this.parent.machine : this, this.path = this.parent ? this.parent.path.concat(this.key) : [], this.delimiter = this.config.delimiter || (this.parent ? this.parent.delimiter : ki), this.id = this.config.id || Q([this.machine.key], H(this.path), !1).join(this.delimiter), this.version = this.parent ? this.parent.version : this.config.version, this.type = this.config.type || (this.config.parallel ? "parallel" : this.config.states && Object.keys(this.config.states).length ? "compound" : this.config.history ? "history" : "atomic"), this.schema = this.parent ? this.machine.schema : (a = this.config.schema) !== null && a !== void 0 ? a : {}, this.description = this.config.description, ne || ce(!("parallel" in this.config), 'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel ? "Replace with `type: 'parallel'`" : "Use `type: '".concat(this.type, "'`"), " in the config for state node '").concat(this.id, "' instead.")), this.initial = this.config.initial, this.states = this.config.states ? Ot(this.config.states, function(c, u) {
4787
+ }, this.idMap = {}, this.tags = [], this.options = Object.assign(lu(), n), this.parent = o == null ? void 0 : o.parent, this.key = this.config.key || (o == null ? void 0 : o.key) || this.config.id || "(machine)", this.machine = this.parent ? this.parent.machine : this, this.path = this.parent ? this.parent.path.concat(this.key) : [], this.delimiter = this.config.delimiter || (this.parent ? this.parent.delimiter : Pi), this.id = this.config.id || Q([this.machine.key], H(this.path), !1).join(this.delimiter), this.version = this.parent ? this.parent.version : this.config.version, this.type = this.config.type || (this.config.parallel ? "parallel" : this.config.states && Object.keys(this.config.states).length ? "compound" : this.config.history ? "history" : "atomic"), this.schema = this.parent ? this.machine.schema : (a = this.config.schema) !== null && a !== void 0 ? a : {}, this.description = this.config.description, ne || ce(!("parallel" in this.config), 'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel ? "Replace with `type: 'parallel'`" : "Use `type: '".concat(this.type, "'`"), " in the config for state node '").concat(this.id, "' instead.")), this.initial = this.config.initial, this.states = this.config.states ? Ot(this.config.states, function(c, u) {
4788
4788
  var m, f = new e(c, {}, void 0, {
4789
4789
  parent: i,
4790
4790
  key: u
@@ -4796,7 +4796,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
4796
4796
  var u, m;
4797
4797
  c.order = s++;
4798
4798
  try {
4799
- for (var f = V(Ji(c)), p = f.next(); !p.done; p = f.next()) {
4799
+ for (var f = V(qi(c)), p = f.next(); !p.done; p = f.next()) {
4800
4800
  var h = p.value;
4801
4801
  l(h);
4802
4802
  }
@@ -4853,7 +4853,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
4853
4853
  }), this.transition = this.transition.bind(this), this.tags = Pe(this.config.tags);
4854
4854
  }
4855
4855
  return e.prototype._init = function() {
4856
- this.__cache.transitions || Zi(this).forEach(function(t) {
4856
+ this.__cache.transitions || Ji(this).forEach(function(t) {
4857
4857
  return t.on;
4858
4858
  });
4859
4859
  }, e.prototype.withConfig = function(t, n) {
@@ -4948,10 +4948,10 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
4948
4948
  if (!n)
4949
4949
  return [];
4950
4950
  var r = function(i, a) {
4951
- var s = K(i) ? "".concat(t.id, ":delay[").concat(a, "]") : i, l = Hi(s, t.id);
4951
+ var s = K(i) ? "".concat(t.id, ":delay[").concat(a, "]") : i, l = ji(s, t.id);
4952
4952
  return t.onEntry.push(wt(l, {
4953
4953
  delay: i
4954
- })), t.onExit.push(Gi(l)), l;
4954
+ })), t.onExit.push(Li(l)), l;
4955
4955
  }, o = _t(n) ? n.map(function(i, a) {
4956
4956
  var s = r(i.delay, a);
4957
4957
  return A(A({}, i), {
@@ -4988,7 +4988,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
4988
4988
  return r.getStateNode(l).getStateNodes(o[l]);
4989
4989
  }))), !1)), s;
4990
4990
  }, e.prototype.handles = function(t) {
4991
- var n = Ni(t);
4991
+ var n = ki(t);
4992
4992
  return this.events.includes(n);
4993
4993
  }, e.prototype.resolveState = function(t) {
4994
4994
  var n = t instanceof ke ? t : ke.create(t), r = Array.from(Rt([], this.getStateNodes(n.value)));
@@ -5065,7 +5065,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
5065
5065
  Fr(Mt(h, this.delimiter), Ac(this.path.slice(0, -2))(t.value))
5066
5066
  ) : !0, g = !1;
5067
5067
  try {
5068
- g = !p || Fi(this.machine, p, v, n, t);
5068
+ g = !p || Oi(this.machine, p, v, n, t);
5069
5069
  } catch (S) {
5070
5070
  throw new Error("Unable to evaluate guard '".concat(p.name || p.type, "' in transition for event '").concat(a, "' in state node '").concat(this.id, `':
5071
5071
  `).concat(S.message));
@@ -5173,7 +5173,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
5173
5173
  }) && B.push(Ft(ae.id)), B;
5174
5174
  })), P = S.map(function(F) {
5175
5175
  var B = F.onEntry, G = F.activities.map(function(ae) {
5176
- return zi(ae);
5176
+ return Gi(ae);
5177
5177
  });
5178
5178
  return {
5179
5179
  type: "entry",
@@ -5182,13 +5182,13 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
5182
5182
  }).concat({
5183
5183
  type: "state_done",
5184
5184
  actions: T.map(function(F) {
5185
- return xi(F);
5185
+ return Ri(F);
5186
5186
  })
5187
5187
  }), k = Array.from(I).map(function(F) {
5188
5188
  return {
5189
5189
  type: "exit",
5190
5190
  actions: Ge(Q(Q([], H(F.onExit), !1), H(F.activities.map(function(B) {
5191
- return Wi(B);
5191
+ return zi(B);
5192
5192
  })), !1), f.machine.options.actions)
5193
5193
  };
5194
5194
  }), $ = k.concat({
@@ -5302,12 +5302,12 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
5302
5302
  var _e = fe;
5303
5303
  if (!h)
5304
5304
  for (at && (_e = this.resolveRaisedTransition(_e, {
5305
- type: Ii
5305
+ type: Ai
5306
5306
  }, i, o)); G.length; ) {
5307
5307
  var L = G.shift();
5308
5308
  _e = this.resolveRaisedTransition(_e, L._event, i, o);
5309
5309
  }
5310
- var lo = _e.changed || (ve ? !!_e.actions.length || ge || typeof ve.value != typeof _e.value || !Xi(_e.value, ve.value) : void 0);
5310
+ var lo = _e.changed || (ve ? !!_e.actions.length || ge || typeof ve.value != typeof _e.value || !Qi(_e.value, ve.value) : void 0);
5311
5311
  return _e.changed = lo, _e.history = ve, _e;
5312
5312
  }, e.prototype.getStateNode = function(t) {
5313
5313
  if (ct(t))
@@ -5583,7 +5583,7 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
5583
5583
  return Y(l) && l[0] === n.delimiter;
5584
5584
  }) : !0, i = this.machine.options.guards, a = this.resolveTarget(r), s = A(A({}, t), {
5585
5585
  actions: Ge(Pe(t.actions)),
5586
- cond: Oi(t.cond, i),
5586
+ cond: $i(t.cond, i),
5587
5587
  target: a,
5588
5588
  source: this,
5589
5589
  internal: o,
@@ -5645,8 +5645,8 @@ var dt = "", yr = "#", Nt = "*", lt = {}, ct = function(e) {
5645
5645
  function St(e, t) {
5646
5646
  return !ne && !("predictableActionArguments" in e) && !wo && (wo = !0, console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")), new uu(e, t);
5647
5647
  }
5648
- var Be = ji, Rn = Bi, du = Yi, tn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5649
- function ta(e) {
5648
+ var Be = Vi, Rn = Di, du = Hi, tn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5649
+ function ea(e) {
5650
5650
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5651
5651
  }
5652
5652
  function fu(e, t) {
@@ -5654,7 +5654,7 @@ function fu(e, t) {
5654
5654
  o[n] = t(e[n], n, e);
5655
5655
  return o;
5656
5656
  }
5657
- var na = fu;
5657
+ var ta = fu;
5658
5658
  function pu() {
5659
5659
  this.__data__ = [], this.size = 0;
5660
5660
  }
@@ -5721,7 +5721,7 @@ var Wu = zu;
5721
5721
  function Vu(e) {
5722
5722
  return this.__data__.has(e);
5723
5723
  }
5724
- var ju = Vu, Hu = typeof tn == "object" && tn && tn.Object === Object && tn, ra = Hu, Yu = ra, Ku = typeof self == "object" && self && self.Object === Object && self, qu = Yu || Ku || Function("return this")(), Oe = qu, Ju = Oe, Zu = Ju.Symbol, Dn = Zu, So = Dn, oa = Object.prototype, Qu = oa.hasOwnProperty, Xu = oa.toString, Ut = So ? So.toStringTag : void 0;
5724
+ var ju = Vu, Hu = typeof tn == "object" && tn && tn.Object === Object && tn, na = Hu, Yu = na, Ku = typeof self == "object" && self && self.Object === Object && self, qu = Yu || Ku || Function("return this")(), Oe = qu, Ju = Oe, Zu = Ju.Symbol, Dn = Zu, So = Dn, ra = Object.prototype, Qu = ra.hasOwnProperty, Xu = ra.toString, Ut = So ? So.toStringTag : void 0;
5725
5725
  function ed(e) {
5726
5726
  var t = Qu.call(e, Ut), n = e[Ut];
5727
5727
  try {
@@ -5773,7 +5773,7 @@ function Ed(e) {
5773
5773
  }
5774
5774
  return "";
5775
5775
  }
5776
- var ia = Ed, Td = Dr, Pd = Cd, kd = Ve, Nd = ia, Ud = /[\\^$.*+?()[\]{}|]/g, $d = /^\[object .+?Constructor\]$/, Od = Function.prototype, Fd = Object.prototype, Rd = Od.toString, xd = Fd.hasOwnProperty, Md = RegExp(
5776
+ var oa = Ed, Td = Dr, Pd = Cd, kd = Ve, Nd = oa, Ud = /[\\^$.*+?()[\]{}|]/g, $d = /^\[object .+?Constructor\]$/, Od = Function.prototype, Fd = Object.prototype, Rd = Od.toString, xd = Fd.hasOwnProperty, Md = RegExp(
5777
5777
  "^" + Rd.call(xd).replace(Ud, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
5778
5778
  );
5779
5779
  function Dd(e) {
@@ -5963,7 +5963,7 @@ function Cp(e, t, n, r, o, i) {
5963
5963
  }
5964
5964
  return i.delete(e), i.delete(t), f;
5965
5965
  }
5966
- var aa = Cp, Ap = Oe, Ip = Ap.Uint8Array, sa = Ip;
5966
+ var ia = Cp, Ap = Oe, Ip = Ap.Uint8Array, aa = Ip;
5967
5967
  function Ep(e) {
5968
5968
  var t = -1, n = Array(e.size);
5969
5969
  return e.forEach(function(r, o) {
@@ -5977,7 +5977,7 @@ function Pp(e) {
5977
5977
  n[++t] = r;
5978
5978
  }), n;
5979
5979
  }
5980
- var kp = Pp, To = Dn, Po = sa, Np = Ht, Up = aa, $p = Tp, Op = kp, Fp = 1, Rp = 2, xp = "[object Boolean]", Mp = "[object Date]", Dp = "[object Error]", Bp = "[object Map]", Lp = "[object Number]", Gp = "[object RegExp]", zp = "[object Set]", Wp = "[object String]", Vp = "[object Symbol]", jp = "[object ArrayBuffer]", Hp = "[object DataView]", ko = To ? To.prototype : void 0, rr = ko ? ko.valueOf : void 0;
5980
+ var kp = Pp, To = Dn, Po = aa, Np = Ht, Up = ia, $p = Tp, Op = kp, Fp = 1, Rp = 2, xp = "[object Boolean]", Mp = "[object Date]", Dp = "[object Error]", Bp = "[object Map]", Lp = "[object Number]", Gp = "[object RegExp]", zp = "[object Set]", Wp = "[object String]", Vp = "[object Symbol]", jp = "[object ArrayBuffer]", Hp = "[object DataView]", ko = To ? To.prototype : void 0, rr = ko ? ko.valueOf : void 0;
5981
5981
  function Yp(e, t, n, r, o, i, a) {
5982
5982
  switch (n) {
5983
5983
  case Hp:
@@ -6019,12 +6019,12 @@ function qp(e, t) {
6019
6019
  e[o + n] = t[n];
6020
6020
  return e;
6021
6021
  }
6022
- var la = qp, Jp = Array.isArray, je = Jp, Zp = la, Qp = je;
6022
+ var sa = qp, Jp = Array.isArray, je = Jp, Zp = sa, Qp = je;
6023
6023
  function Xp(e, t, n) {
6024
6024
  var r = t(e);
6025
6025
  return Qp(e) ? r : Zp(r, n(e));
6026
6026
  }
6027
- var ca = Xp;
6027
+ var la = Xp;
6028
6028
  function em(e, t) {
6029
6029
  for (var n = -1, r = e == null ? 0 : e.length, o = 0, i = []; ++n < r; ) {
6030
6030
  var a = e[n];
@@ -6036,11 +6036,11 @@ var tm = em;
6036
6036
  function nm() {
6037
6037
  return [];
6038
6038
  }
6039
- var ua = nm, rm = tm, om = ua, im = Object.prototype, am = im.propertyIsEnumerable, No = Object.getOwnPropertySymbols, sm = No ? function(e) {
6039
+ var ca = nm, rm = tm, om = ca, im = Object.prototype, am = im.propertyIsEnumerable, No = Object.getOwnPropertySymbols, sm = No ? function(e) {
6040
6040
  return e == null ? [] : (e = Object(e), rm(No(e), function(t) {
6041
6041
  return am.call(e, t);
6042
6042
  }));
6043
- } : om, da = sm;
6043
+ } : om, ua = sm;
6044
6044
  function lm(e, t) {
6045
6045
  for (var n = -1, r = Array(e); ++n < e; )
6046
6046
  r[n] = t(n);
@@ -6054,7 +6054,7 @@ var it = um, dm = Ct, fm = it, pm = "[object Arguments]";
6054
6054
  function mm(e) {
6055
6055
  return fm(e) && dm(e) == pm;
6056
6056
  }
6057
- var gm = mm, Uo = gm, hm = it, fa = Object.prototype, ym = fa.hasOwnProperty, vm = fa.propertyIsEnumerable, _m = Uo(/* @__PURE__ */ function() {
6057
+ var gm = mm, Uo = gm, hm = it, da = Object.prototype, ym = da.hasOwnProperty, vm = da.propertyIsEnumerable, _m = Uo(/* @__PURE__ */ function() {
6058
6058
  return arguments;
6059
6059
  }()) ? Uo : function(e) {
6060
6060
  return hm(e) && ym.call(e, "callee") && !vm.call(e, "callee");
@@ -6092,7 +6092,7 @@ function ng(e) {
6092
6092
  var rg = ng, bn = { exports: {} };
6093
6093
  bn.exports;
6094
6094
  (function(e, t) {
6095
- var n = ra, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, a = i && n.process, s = function() {
6095
+ var n = na, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, a = i && n.process, s = function() {
6096
6096
  try {
6097
6097
  var l = o && o.require && o.require("util").types;
6098
6098
  return l || a && a.binding && a.binding("util");
@@ -6112,7 +6112,7 @@ function hg(e, t) {
6112
6112
  fg(c, l))) && s.push(c);
6113
6113
  return s;
6114
6114
  }
6115
- var pa = hg, yg = Object.prototype;
6115
+ var fa = hg, yg = Object.prototype;
6116
6116
  function vg(e) {
6117
6117
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || yg;
6118
6118
  return e === n;
@@ -6123,7 +6123,7 @@ function _g(e, t) {
6123
6123
  return e(t(n));
6124
6124
  };
6125
6125
  }
6126
- var ma = _g, wg = ma, Sg = wg(Object.keys, Object), bg = Sg, Cg = Hr, Ag = bg, Ig = Object.prototype, Eg = Ig.hasOwnProperty;
6126
+ var pa = _g, wg = pa, Sg = wg(Object.keys, Object), bg = Sg, Cg = Hr, Ag = bg, Ig = Object.prototype, Eg = Ig.hasOwnProperty;
6127
6127
  function Tg(e) {
6128
6128
  if (!Cg(e))
6129
6129
  return Ag(e);
@@ -6136,11 +6136,11 @@ var Pg = Tg, kg = Dr, Ng = Vr;
6136
6136
  function Ug(e) {
6137
6137
  return e != null && Ng(e.length) && !kg(e);
6138
6138
  }
6139
- var zn = Ug, $g = pa, Og = Pg, Fg = zn;
6139
+ var zn = Ug, $g = fa, Og = Pg, Fg = zn;
6140
6140
  function Rg(e) {
6141
6141
  return Fg(e) ? $g(e) : Og(e);
6142
6142
  }
6143
- var ga = Rg, xg = ca, Mg = da, Dg = ga;
6143
+ var ma = Rg, xg = la, Mg = ua, Dg = ma;
6144
6144
  function Bg(e) {
6145
6145
  return xg(e, Dg, Mg);
6146
6146
  }
@@ -6176,9 +6176,9 @@ function Vg(e, t, n, r, o, i) {
6176
6176
  }
6177
6177
  return i.delete(e), i.delete(t), v;
6178
6178
  }
6179
- var jg = Vg, Hg = ot, Yg = Oe, Kg = Hg(Yg, "DataView"), qg = Kg, Jg = ot, Zg = Oe, Qg = Jg(Zg, "Promise"), Xg = Qg, eh = ot, th = Oe, nh = eh(th, "Set"), rh = nh, oh = ot, ih = Oe, ah = oh(ih, "WeakMap"), sh = ah, vr = qg, _r = Br, wr = Xg, Sr = rh, br = sh, ha = Ct, Tt = ia, Ro = "[object Map]", lh = "[object Object]", xo = "[object Promise]", Mo = "[object Set]", Do = "[object WeakMap]", Bo = "[object DataView]", ch = Tt(vr), uh = Tt(_r), dh = Tt(wr), fh = Tt(Sr), ph = Tt(br), nt = ha;
6179
+ var jg = Vg, Hg = ot, Yg = Oe, Kg = Hg(Yg, "DataView"), qg = Kg, Jg = ot, Zg = Oe, Qg = Jg(Zg, "Promise"), Xg = Qg, eh = ot, th = Oe, nh = eh(th, "Set"), rh = nh, oh = ot, ih = Oe, ah = oh(ih, "WeakMap"), sh = ah, vr = qg, _r = Br, wr = Xg, Sr = rh, br = sh, ga = Ct, Tt = oa, Ro = "[object Map]", lh = "[object Object]", xo = "[object Promise]", Mo = "[object Set]", Do = "[object WeakMap]", Bo = "[object DataView]", ch = Tt(vr), uh = Tt(_r), dh = Tt(wr), fh = Tt(Sr), ph = Tt(br), nt = ga;
6180
6180
  (vr && nt(new vr(new ArrayBuffer(1))) != Bo || _r && nt(new _r()) != Ro || wr && nt(wr.resolve()) != xo || Sr && nt(new Sr()) != Mo || br && nt(new br()) != Do) && (nt = function(e) {
6181
- var t = ha(e), n = t == lh ? e.constructor : void 0, r = n ? Tt(n) : "";
6181
+ var t = ga(e), n = t == lh ? e.constructor : void 0, r = n ? Tt(n) : "";
6182
6182
  if (r)
6183
6183
  switch (r) {
6184
6184
  case ch:
@@ -6194,7 +6194,7 @@ var jg = Vg, Hg = ot, Yg = Oe, Kg = Hg(Yg, "DataView"), qg = Kg, Jg = ot, Zg = O
6194
6194
  }
6195
6195
  return t;
6196
6196
  });
6197
- var mh = nt, or = Gr, gh = aa, hh = Kp, yh = jg, Lo = mh, Go = je, zo = Wr, vh = jr, _h = 1, Wo = "[object Arguments]", Vo = "[object Array]", nn = "[object Object]", wh = Object.prototype, jo = wh.hasOwnProperty;
6197
+ var mh = nt, or = Gr, gh = ia, hh = Kp, yh = jg, Lo = mh, Go = je, zo = Wr, vh = jr, _h = 1, Wo = "[object Arguments]", Vo = "[object Array]", nn = "[object Object]", wh = Object.prototype, jo = wh.hasOwnProperty;
6198
6198
  function Sh(e, t, n, r, o, i) {
6199
6199
  var a = Go(e), s = Go(t), l = a ? Vo : Lo(e), c = s ? Vo : Lo(t);
6200
6200
  l = l == Wo ? nn : l, c = c == Wo ? nn : c;
@@ -6216,10 +6216,10 @@ function Sh(e, t, n, r, o, i) {
6216
6216
  return f ? (i || (i = new or()), yh(e, t, n, r, o, i)) : !1;
6217
6217
  }
6218
6218
  var bh = Sh, Ch = bh, Ho = it;
6219
- function ya(e, t, n, r, o) {
6220
- return e === t ? !0 : e == null || t == null || !Ho(e) && !Ho(t) ? e !== e && t !== t : Ch(e, t, n, r, ya, o);
6219
+ function ha(e, t, n, r, o) {
6220
+ return e === t ? !0 : e == null || t == null || !Ho(e) && !Ho(t) ? e !== e && t !== t : Ch(e, t, n, r, ha, o);
6221
6221
  }
6222
- var va = ya, Ah = Gr, Ih = va, Eh = 1, Th = 2;
6222
+ var ya = ha, Ah = Gr, Ih = ya, Eh = 1, Th = 2;
6223
6223
  function Ph(e, t, n, r) {
6224
6224
  var o = n.length, i = o, a = !r;
6225
6225
  if (e == null)
@@ -6249,7 +6249,7 @@ var kh = Ph, Nh = Ve;
6249
6249
  function Uh(e) {
6250
6250
  return e === e && !Nh(e);
6251
6251
  }
6252
- var _a = Uh, $h = _a, Oh = ga;
6252
+ var va = Uh, $h = va, Oh = ma;
6253
6253
  function Fh(e) {
6254
6254
  for (var t = Oh(e), n = t.length; n--; ) {
6255
6255
  var r = t[n], o = e[r];
@@ -6263,7 +6263,7 @@ function xh(e, t) {
6263
6263
  return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
6264
6264
  };
6265
6265
  }
6266
- var wa = xh, Mh = kh, Dh = Rh, Bh = wa;
6266
+ var _a = xh, Mh = kh, Dh = Rh, Bh = _a;
6267
6267
  function Lh(e) {
6268
6268
  var t = Dh(e);
6269
6269
  return t.length == 1 && t[0][2] ? Bh(t[0][0], t[0][1]) : function(n) {
@@ -6281,7 +6281,7 @@ function Jh(e, t) {
6281
6281
  var n = typeof e;
6282
6282
  return n == "number" || n == "symbol" || n == "boolean" || e == null || Yh(e) ? !0 : qh.test(e) || !Kh.test(e) || t != null && e in Object(t);
6283
6283
  }
6284
- var Kr = Jh, Sa = Lr, Zh = "Expected a function";
6284
+ var Kr = Jh, wa = Lr, Zh = "Expected a function";
6285
6285
  function qr(e, t) {
6286
6286
  if (typeof e != "function" || t != null && typeof t != "function")
6287
6287
  throw new TypeError(Zh);
@@ -6292,9 +6292,9 @@ function qr(e, t) {
6292
6292
  var a = e.apply(this, r);
6293
6293
  return n.cache = i.set(o, a) || i, a;
6294
6294
  };
6295
- return n.cache = new (qr.Cache || Sa)(), n;
6295
+ return n.cache = new (qr.Cache || wa)(), n;
6296
6296
  }
6297
- qr.Cache = Sa;
6297
+ qr.Cache = wa;
6298
6298
  var Qh = qr, Xh = Qh, ey = 500;
6299
6299
  function ty(e) {
6300
6300
  var t = Xh(e, function(r) {
@@ -6307,18 +6307,18 @@ var ny = ty, ry = ny, oy = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\
6307
6307
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(oy, function(n, r, o, i) {
6308
6308
  t.push(o ? i.replace(iy, "$1") : r || n);
6309
6309
  }), t;
6310
- }), sy = ay, Yo = Dn, ly = na, cy = je, uy = Yr, dy = 1 / 0, Ko = Yo ? Yo.prototype : void 0, qo = Ko ? Ko.toString : void 0;
6311
- function ba(e) {
6310
+ }), sy = ay, Yo = Dn, ly = ta, cy = je, uy = Yr, dy = 1 / 0, Ko = Yo ? Yo.prototype : void 0, qo = Ko ? Ko.toString : void 0;
6311
+ function Sa(e) {
6312
6312
  if (typeof e == "string")
6313
6313
  return e;
6314
6314
  if (cy(e))
6315
- return ly(e, ba) + "";
6315
+ return ly(e, Sa) + "";
6316
6316
  if (uy(e))
6317
6317
  return qo ? qo.call(e) : "";
6318
6318
  var t = e + "";
6319
6319
  return t == "0" && 1 / e == -dy ? "-0" : t;
6320
6320
  }
6321
- var fy = ba, py = fy;
6321
+ var fy = Sa, py = fy;
6322
6322
  function my(e) {
6323
6323
  return e == null ? "" : py(e);
6324
6324
  }
@@ -6364,7 +6364,7 @@ var By = Dy, Ly = Uy, Gy = By;
6364
6364
  function zy(e, t) {
6365
6365
  return e != null && Gy(e, t, Ly);
6366
6366
  }
6367
- var Wy = zy, Vy = va, jy = ky, Hy = Wy, Yy = Kr, Ky = _a, qy = wa, Jy = Yt, Zy = 1, Qy = 2;
6367
+ var Wy = zy, Vy = ya, jy = ky, Hy = Wy, Yy = Kr, Ky = va, qy = _a, Jy = Yt, Zy = 1, Qy = 2;
6368
6368
  function Xy(e, t) {
6369
6369
  return Yy(e) && Ky(t) ? qy(Jy(e), t) : function(n) {
6370
6370
  var r = jy(n, e);
@@ -6401,7 +6401,7 @@ var _v = vv, wv = ot, Sv = function() {
6401
6401
  return e({}, "", {}), e;
6402
6402
  } catch {
6403
6403
  }
6404
- }(), Ca = Sv, Jo = Ca;
6404
+ }(), ba = Sv, Jo = ba;
6405
6405
  function bv(e, t, n) {
6406
6406
  t == "__proto__" && Jo ? Jo(e, t, {
6407
6407
  configurable: !0,
@@ -6415,7 +6415,7 @@ function Tv(e, t, n) {
6415
6415
  var r = e[t];
6416
6416
  (!(Ev.call(e, t) && Av(r, n)) || n === void 0 && !(t in e)) && Cv(e, t, n);
6417
6417
  }
6418
- var Aa = Tv, Pv = Aa, kv = Wn, Nv = Gn, Zo = Ve, Uv = Yt;
6418
+ var Ca = Tv, Pv = Ca, kv = Wn, Nv = Gn, Zo = Ve, Uv = Yt;
6419
6419
  function $v(e, t, n, r) {
6420
6420
  if (!Zo(e))
6421
6421
  return e;
@@ -6440,7 +6440,7 @@ function Mv(e, t, n) {
6440
6440
  }
6441
6441
  return i;
6442
6442
  }
6443
- var Dv = Mv, Bv = ma, Lv = Bv(Object.getPrototypeOf, Object), Xr = Lv, Gv = la, zv = Xr, Wv = da, Vv = ua, jv = Object.getOwnPropertySymbols, Hv = jv ? function(e) {
6443
+ var Dv = Mv, Bv = pa, Lv = Bv(Object.getPrototypeOf, Object), Xr = Lv, Gv = sa, zv = Xr, Wv = ua, Vv = ca, jv = Object.getOwnPropertySymbols, Hv = jv ? function(e) {
6444
6444
  for (var t = []; e; )
6445
6445
  Gv(t, Wv(e)), e = zv(e);
6446
6446
  return t;
@@ -6461,15 +6461,15 @@ function t_(e) {
6461
6461
  r == "constructor" && (t || !e_.call(e, r)) || n.push(r);
6462
6462
  return n;
6463
6463
  }
6464
- var n_ = t_, r_ = pa, o_ = n_, i_ = zn;
6464
+ var n_ = t_, r_ = fa, o_ = n_, i_ = zn;
6465
6465
  function a_(e) {
6466
6466
  return i_(e) ? r_(e, !0) : o_(e);
6467
6467
  }
6468
- var eo = a_, s_ = ca, l_ = Yv, c_ = eo;
6468
+ var eo = a_, s_ = la, l_ = Yv, c_ = eo;
6469
6469
  function u_(e) {
6470
6470
  return s_(e, c_, l_);
6471
6471
  }
6472
- var d_ = u_, f_ = na, p_ = _v, m_ = Dv, g_ = d_;
6472
+ var d_ = u_, f_ = ta, p_ = _v, m_ = Dv, g_ = d_;
6473
6473
  function h_(e, t) {
6474
6474
  if (e == null)
6475
6475
  return {};
@@ -6481,7 +6481,7 @@ function h_(e, t) {
6481
6481
  });
6482
6482
  }
6483
6483
  var y_ = h_;
6484
- const v_ = /* @__PURE__ */ ta(y_), __ = !0, w_ = "", Vn = (e, t) => `${e}${t}`.replace(/[^A-Z0-9+]/gi, ""), S_ = (e, t) => {
6484
+ const v_ = /* @__PURE__ */ ea(y_), __ = !0, w_ = "", Vn = (e, t) => `${e}${t}`.replace(/[^A-Z0-9+]/gi, ""), S_ = (e, t) => {
6485
6485
  switch (t) {
6486
6486
  case "address":
6487
6487
  case "birthdate":
@@ -6507,7 +6507,7 @@ const v_ = /* @__PURE__ */ ta(y_), __ = !0, w_ = "", Vn = (e, t) => `${e}${t}`.r
6507
6507
  }
6508
6508
  }, b_ = (e) => {
6509
6509
  const { phone_number: t, ...n } = v_(e, S_);
6510
- if (wi(t) && t !== w_) {
6510
+ if (_i(t) && t !== w_) {
6511
6511
  const { country_code: r } = e;
6512
6512
  return {
6513
6513
  ...n,
@@ -6531,7 +6531,7 @@ const v_ = /* @__PURE__ */ ta(y_), __ = !0, w_ = "", Vn = (e, t) => `${e}${t}`.r
6531
6531
  return Vn(r, o);
6532
6532
  }
6533
6533
  return e[n];
6534
- }, { assign: J } = Ki, I_ = J({ actorDoneData: void 0 }), E_ = J({ challengeName: void 0 }), T_ = J({ missingAttributes: void 0 }), P_ = J({ remoteError: void 0 }), k_ = J({ formValues: {} }), N_ = J({ touched: {} }), U_ = J({ user: void 0 }), $_ = J({ validationError: {} }), O_ = J({
6534
+ }, { assign: J } = Yi, I_ = J({ actorDoneData: void 0 }), E_ = J({ challengeName: void 0 }), T_ = J({ missingAttributes: void 0 }), P_ = J({ remoteError: void 0 }), k_ = J({ formValues: {} }), N_ = J({ touched: {} }), U_ = J({ user: void 0 }), $_ = J({ validationError: {} }), O_ = J({
6535
6535
  totpSecretCode: (e, { data: t }) => {
6536
6536
  var r;
6537
6537
  const { sharedSecret: n } = ((r = t.nextStep) == null ? void 0 : r.totpSetupDetails) ?? {};
@@ -6674,7 +6674,7 @@ var bw = Qr, Cw = Ht;
6674
6674
  function Aw(e, t, n) {
6675
6675
  (n !== void 0 && !Cw(e[t], n) || n === void 0 && !(t in e)) && bw(e, t, n);
6676
6676
  }
6677
- var Ia = Aw;
6677
+ var Aa = Aw;
6678
6678
  function Iw(e) {
6679
6679
  return function(t, n, r) {
6680
6680
  for (var o = -1, i = Object(t), a = r(t), s = a.length; s--; ) {
@@ -6697,7 +6697,7 @@ Cn.exports;
6697
6697
  }
6698
6698
  e.exports = l;
6699
6699
  })(Cn, Cn.exports);
6700
- var Nw = Cn.exports, Xo = sa;
6700
+ var Nw = Cn.exports, Xo = aa;
6701
6701
  function Uw(e) {
6702
6702
  var t = new e.constructor(e.byteLength);
6703
6703
  return new Xo(t).set(new Xo(e)), t;
@@ -6734,7 +6734,7 @@ var jw = Vw, Hw = zn, Yw = it;
6734
6734
  function Kw(e) {
6735
6735
  return Yw(e) && Hw(e);
6736
6736
  }
6737
- var qw = Kw, Jw = Ct, Zw = Xr, Qw = it, Xw = "[object Object]", eS = Function.prototype, tS = Object.prototype, Ea = eS.toString, nS = tS.hasOwnProperty, rS = Ea.call(Object);
6737
+ var qw = Kw, Jw = Ct, Zw = Xr, Qw = it, Xw = "[object Object]", eS = Function.prototype, tS = Object.prototype, Ia = eS.toString, nS = tS.hasOwnProperty, rS = Ia.call(Object);
6738
6738
  function oS(e) {
6739
6739
  if (!Qw(e) || Jw(e) != Xw)
6740
6740
  return !1;
@@ -6742,14 +6742,14 @@ function oS(e) {
6742
6742
  if (t === null)
6743
6743
  return !0;
6744
6744
  var n = nS.call(t, "constructor") && t.constructor;
6745
- return typeof n == "function" && n instanceof n && Ea.call(n) == rS;
6745
+ return typeof n == "function" && n instanceof n && Ia.call(n) == rS;
6746
6746
  }
6747
6747
  var iS = oS;
6748
6748
  function aS(e, t) {
6749
6749
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
6750
6750
  return e[t];
6751
6751
  }
6752
- var Ta = aS, sS = Aa, lS = Qr;
6752
+ var Ea = aS, sS = Ca, lS = Qr;
6753
6753
  function cS(e, t, n, r) {
6754
6754
  var o = !n;
6755
6755
  n || (n = {});
@@ -6763,7 +6763,7 @@ var uS = cS, dS = uS, fS = eo;
6763
6763
  function pS(e) {
6764
6764
  return dS(e, fS(e));
6765
6765
  }
6766
- var mS = pS, ti = Ia, gS = Nw, hS = Rw, yS = Mw, vS = jw, ni = zr, ri = je, _S = qw, wS = Wr, SS = Dr, bS = Ve, CS = iS, AS = jr, oi = Ta, IS = mS;
6766
+ var mS = pS, ti = Aa, gS = Nw, hS = Rw, yS = Mw, vS = jw, ni = zr, ri = je, _S = qw, wS = Wr, SS = Dr, bS = Ve, CS = iS, AS = jr, oi = Ea, IS = mS;
6767
6767
  function ES(e, t, n, r, o, i, a) {
6768
6768
  var s = oi(e, n), l = oi(t, n), c = a.get(l);
6769
6769
  if (c) {
@@ -6777,18 +6777,18 @@ function ES(e, t, n, r, o, i, a) {
6777
6777
  }
6778
6778
  m && (a.set(l, u), o(u, l, r, i, a), a.delete(l)), ti(e, n, u);
6779
6779
  }
6780
- var TS = ES, PS = Gr, kS = Ia, NS = kw, US = TS, $S = Ve, OS = eo, FS = Ta;
6781
- function Pa(e, t, n, r, o) {
6780
+ var TS = ES, PS = Gr, kS = Aa, NS = kw, US = TS, $S = Ve, OS = eo, FS = Ea;
6781
+ function Ta(e, t, n, r, o) {
6782
6782
  e !== t && NS(t, function(i, a) {
6783
6783
  if (o || (o = new PS()), $S(i))
6784
- US(e, t, a, n, Pa, r, o);
6784
+ US(e, t, a, n, Ta, r, o);
6785
6785
  else {
6786
6786
  var s = r ? r(FS(e, a), i, a + "", e, t, o) : void 0;
6787
6787
  s === void 0 && (s = i), kS(e, a, s);
6788
6788
  }
6789
6789
  }, OS);
6790
6790
  }
6791
- var RS = Pa;
6791
+ var RS = Ta;
6792
6792
  function xS(e, t, n) {
6793
6793
  switch (n.length) {
6794
6794
  case 0:
@@ -6819,7 +6819,7 @@ function GS(e) {
6819
6819
  return e;
6820
6820
  };
6821
6821
  }
6822
- var zS = GS, WS = zS, ai = Ca, VS = Zr, jS = ai ? function(e, t) {
6822
+ var zS = GS, WS = zS, ai = ba, VS = Zr, jS = ai ? function(e, t) {
6823
6823
  return ai(e, "toString", {
6824
6824
  configurable: !0,
6825
6825
  enumerable: !1,
@@ -6864,9 +6864,9 @@ function gb(e) {
6864
6864
  var hb = gb, yb = RS, vb = hb, _b = vb(function(e, t, n) {
6865
6865
  yb(e, t, n);
6866
6866
  }), wb = _b;
6867
- const Sb = /* @__PURE__ */ ta(wb), Hn = async (e, t, n, r) => {
6867
+ const Sb = /* @__PURE__ */ ea(wb), Hn = async (e, t, n, r) => {
6868
6868
  const o = await Promise.all(r.map((a) => a(e, t, n))), i = Sb({}, ...o);
6869
- return Si(i) ? Promise.resolve() : Promise.reject(i);
6869
+ return wi(i) ? Promise.resolve() : Promise.reject(i);
6870
6870
  }, bb = 8, Cb = (e) => Array.isArray(e), Ab = (e) => {
6871
6871
  if (e)
6872
6872
  return Cb(e) ? Object.entries(e).map(([t, n]) => Object.keys(n)[0]) : Object.keys(e);
@@ -6882,12 +6882,13 @@ const Sb = /* @__PURE__ */ ta(wb), Hn = async (e, t, n, r) => {
6882
6882
  };
6883
6883
  },
6884
6884
  getCurrentUser: mi,
6885
- handleSignIn: ws,
6886
- handleSignUp: Ss,
6885
+ handleSignIn: _s,
6886
+ handleSignUp: ws,
6887
6887
  handleConfirmSignIn: gi,
6888
- handleConfirmSignUp: bs,
6889
- handleForgotPasswordSubmit: Cs,
6888
+ handleConfirmSignUp: Ss,
6889
+ handleForgotPasswordSubmit: bs,
6890
6890
  handleForgotPassword: hi,
6891
+ handleResendSignUpCode: Cs,
6891
6892
  // Validation hooks for overriding
6892
6893
  async validateCustomSignUp(e, t) {
6893
6894
  },
@@ -7086,7 +7087,7 @@ function Ib({ services: e }) {
7086
7087
  }
7087
7088
  });
7088
7089
  }
7089
- const ka = (e) => ({
7090
+ const Pa = (e) => ({
7090
7091
  entry: ["sendUpdate", "clearError"],
7091
7092
  invoke: {
7092
7093
  src: "signInWithRedirect",
@@ -7170,7 +7171,7 @@ function Tb({ services: e }) {
7170
7171
  { target: "signIn" }
7171
7172
  ]
7172
7173
  },
7173
- federatedSignIn: ka("signIn"),
7174
+ federatedSignIn: Pa("signIn"),
7174
7175
  fetchUserAttributes: {
7175
7176
  invoke: {
7176
7177
  src: "fetchUserAttributes",
@@ -7363,7 +7364,7 @@ function Tb({ services: e }) {
7363
7364
  return hi({ username: t });
7364
7365
  },
7365
7366
  handleResendSignUpCode({ username: t }) {
7366
- return vi({ username: t });
7367
+ return e.handleResendSignUpCode({ username: t });
7367
7368
  },
7368
7369
  handleSignIn({ formValues: t, username: n }) {
7369
7370
  const { password: r } = t;
@@ -7392,7 +7393,7 @@ function Tb({ services: e }) {
7392
7393
  });
7393
7394
  },
7394
7395
  signInWithRedirect(t, { data: n }) {
7395
- return _i(n);
7396
+ return vi(n);
7396
7397
  },
7397
7398
  async validateFields(t) {
7398
7399
  return Hn(t.formValues, t.touched, t.passwordSettings, [
@@ -7486,7 +7487,7 @@ function Ub({ services: e }) {
7486
7487
  ...Nb
7487
7488
  }
7488
7489
  },
7489
- federatedSignIn: ka("signUp"),
7490
+ federatedSignIn: Pa("signUp"),
7490
7491
  resetPassword: {
7491
7492
  invoke: { src: "resetPassword", ...Pb }
7492
7493
  },
@@ -7657,10 +7658,10 @@ function Ub({ services: e }) {
7657
7658
  return e.handleConfirmSignUp(o);
7658
7659
  },
7659
7660
  resendSignUpCode({ username: t }) {
7660
- return vi({ username: t });
7661
+ return e.handleResendSignUpCode({ username: t });
7661
7662
  },
7662
7663
  signInWithRedirect(t, { data: n }) {
7663
- return _i(n);
7664
+ return vi(n);
7664
7665
  },
7665
7666
  handleSignUp(t) {
7666
7667
  const { formValues: n, loginMechanisms: r, username: o } = t, i = r[0], a = C_(o, n, i);
@@ -7813,7 +7814,7 @@ const on = (e, t) => {
7813
7814
  signUpAttributes: (a = e.config) == null ? void 0 : a.signUpAttributes,
7814
7815
  socialProviders: (s = e.config) == null ? void 0 : s.socialProviders
7815
7816
  };
7816
- }, { choose: Fb, stop: Rb } = Ki, $t = (e) => Rb(e), xb = {
7817
+ }, { choose: Fb, stop: Rb } = Yi, $t = (e) => Rb(e), xb = {
7817
7818
  on: {
7818
7819
  INIT: {
7819
7820
  actions: "configure",
@@ -8485,14 +8486,14 @@ const pe = {
8485
8486
  }
8486
8487
  });
8487
8488
  function jb(e) {
8488
- return ds() ? (di(e), !0) : !1;
8489
+ return us() ? (di(e), !0) : !1;
8489
8490
  }
8490
- function Na(e) {
8491
+ function ka(e) {
8491
8492
  let t = 0, n, r;
8492
8493
  const o = () => {
8493
8494
  t -= 1, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
8494
8495
  };
8495
- return (...i) => (t += 1, n || (r = us(!0), n = r.run(() => e(...i))), jb(o), n);
8496
+ return (...i) => (t += 1, n || (r = cs(!0), n = r.run(() => e(...i))), jb(o), n);
8496
8497
  }
8497
8498
  function Hb(e) {
8498
8499
  return "state" in e;
@@ -8504,10 +8505,10 @@ function Yb(e) {
8504
8505
  }
8505
8506
  function Kb(e, t) {
8506
8507
  t === void 0 && (t = Yb);
8507
- var n = fs(e) ? e : co(e), r = co(t(n.value)), o = function(i) {
8508
+ var n = ds(e) ? e : co(e), r = co(t(n.value)), o = function(i) {
8508
8509
  n.value.send(i);
8509
8510
  };
8510
- return ps(n, function(i, a, s) {
8511
+ return fs(n, function(i, a, s) {
8511
8512
  r.value = t(i);
8512
8513
  var l = i.subscribe({
8513
8514
  next: function(c) {
@@ -8528,14 +8529,14 @@ const qb = (e) => {
8528
8529
  return {
8529
8530
  ...(r = (n = (t = kr(e)) == null ? void 0 : t.formFields) == null ? void 0 : n.setupTotp) == null ? void 0 : r.QR
8530
8531
  };
8531
- }, to = Na(() => {
8532
- const e = Db(), t = ea(e).start(), n = le("configuring"), { state: r, send: o } = Kb(t), i = () => {
8532
+ }, to = ka(() => {
8533
+ const e = Db(), t = Xi(e).start(), n = le("configuring"), { state: r, send: o } = Kb(t), i = () => {
8533
8534
  n.value = "authenticated";
8534
8535
  }, a = () => {
8535
8536
  n.value = "unauthenticated";
8536
8537
  }, s = Ks(
8537
8538
  t,
8538
- (l, c) => bi(l, c, { onSignIn: i, onSignOut: a })
8539
+ (l, c) => Si(l, c, { onSignIn: i, onSignOut: a })
8539
8540
  );
8540
8541
  return mi().then(() => {
8541
8542
  n.value = "authenticated";
@@ -8544,9 +8545,9 @@ const qb = (e) => {
8544
8545
  }), di(() => {
8545
8546
  s();
8546
8547
  }), { authStatus: n, service: t, send: o, state: r };
8547
- }), ye = Na(() => {
8548
+ }), ye = ka(() => {
8548
8549
  const { authStatus: e, state: t, send: n } = to(), r = fi({});
8549
- return ms(() => {
8550
+ return ps(() => {
8550
8551
  const o = el({ send: n, state: t.value });
8551
8552
  for (const a of Object.keys(o))
8552
8553
  r[a] = o[a];
@@ -8583,7 +8584,7 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
8583
8584
  o1
8584
8585
  ], a1 = {
8585
8586
  inheritAttrs: !1
8586
- }, Ua = /* @__PURE__ */ q({
8587
+ }, Na = /* @__PURE__ */ q({
8587
8588
  ...a1,
8588
8589
  __name: "password-control",
8589
8590
  props: {
@@ -8820,7 +8821,7 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
8820
8821
  });
8821
8822
  };
8822
8823
  }
8823
- }), d1 = ["id"], $a = /* @__PURE__ */ q({
8824
+ }), d1 = ["id"], Ua = /* @__PURE__ */ q({
8824
8825
  __name: "base-form-field",
8825
8826
  props: {
8826
8827
  name: { default: "" },
@@ -8832,7 +8833,7 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
8832
8833
  return ((m = l.value) == null ? void 0 : m.length) > 0;
8833
8834
  }), u = D(() => c.value ? s : void 0);
8834
8835
  return (m, f) => (U(), X(qe, null, [
8835
- a ? (U(), W(Ua, {
8836
+ a ? (U(), W(Na, {
8836
8837
  key: 0,
8837
8838
  name: d(n),
8838
8839
  label: d(r).label,
@@ -8877,9 +8878,9 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
8877
8878
  setup(e) {
8878
8879
  const t = e, { route: n } = re(t), { state: r } = to();
8879
8880
  let o = [];
8880
- return gs(() => {
8881
+ return ms(() => {
8881
8882
  o = fc(n.value, r.value);
8882
- }), (i, a) => (U(!0), X(qe, null, En(d(o), ([s, l]) => (U(), W($a, {
8883
+ }), (i, a) => (U(!0), X(qe, null, En(d(o), ([s, l]) => (U(), W(Ua, {
8883
8884
  name: s,
8884
8885
  key: s,
8885
8886
  formField: l
@@ -9021,7 +9022,7 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
9021
9022
  })) : j("", !0);
9022
9023
  };
9023
9024
  }
9024
- }), S1 = /* @__PURE__ */ x("legend", { class: "amplify-visually-hidden" }, "Sign in", -1), b1 = { "data-amplify-footer": "" }, Oa = /* @__PURE__ */ q({
9025
+ }), S1 = /* @__PURE__ */ x("legend", { class: "amplify-visually-hidden" }, "Sign in", -1), b1 = { "data-amplify-footer": "" }, $a = /* @__PURE__ */ q({
9025
9026
  __name: "sign-in",
9026
9027
  setup(e) {
9027
9028
  const t = ye(), { submitForm: n, updateForm: r, toForgotPassword: o } = t, { error: i, isPending: a } = re(t), { getForgotPasswordText: s, getSignInText: l, getSigningInText: c } = Ee, u = D(() => s()), m = D(() => l()), f = D(() => c()), p = (b) => {
@@ -9122,12 +9123,12 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
9122
9123
  ]);
9123
9124
  };
9124
9125
  }
9125
- }), Fa = /* @__PURE__ */ q({
9126
+ }), Oa = /* @__PURE__ */ q({
9126
9127
  __name: "authenticator-sign-up-form-fields",
9127
9128
  setup(e) {
9128
9129
  return (t, n) => (U(), W(xe, { route: "signUp" }));
9129
9130
  }
9130
- }), Ra = /* @__PURE__ */ q({
9131
+ }), Fa = /* @__PURE__ */ q({
9131
9132
  __name: "sign-up",
9132
9133
  setup(e) {
9133
9134
  const t = ye(), { submitForm: n, updateBlur: r, updateForm: o } = t, { error: i, hasValidationErrors: a, isPending: s } = re(t), { getCreateAccountText: l } = Ee, c = D(() => l()), u = (p) => {
@@ -9167,7 +9168,7 @@ const Kn = /* @__PURE__ */ Tn(Zb, [["render", Xb]]), e1 = ["aria-label", "aria-c
9167
9168
  E(p.$slots, "signup-fields", { info: I })
9168
9169
  ]),
9169
9170
  default: _(() => [
9170
- C(Fa)
9171
+ C(Oa)
9171
9172
  ]),
9172
9173
  _: 3
9173
9174
  }, 8, ["disabled"]),
@@ -9249,7 +9250,7 @@ const I1 = /* @__PURE__ */ Tn(C1, [["render", A1]]), E1 = ["tabindex", "aria-sel
9249
9250
  role: "tab"
9250
9251
  }, R(d(o)), 11, E1));
9251
9252
  }
9252
- }), P1 = "4.2.29", k1 = {};
9253
+ }), P1 = "4.2.30", k1 = {};
9253
9254
  function N1(e, t) {
9254
9255
  return E(e.$slots, "textI", oe(ie(e.$attrs)), () => [
9255
9256
  x("span", Ie(e.$attrs, { "data-amplify-text": "" }), [
@@ -9257,7 +9258,7 @@ function N1(e, t) {
9257
9258
  ], 16)
9258
9259
  ]);
9259
9260
  }
9260
- const xa = /* @__PURE__ */ Tn(k1, [["render", N1]]), Xe = q({
9261
+ const Ra = /* @__PURE__ */ Tn(k1, [["render", N1]]), Xe = q({
9261
9262
  props: {
9262
9263
  level: {
9263
9264
  type: Number,
@@ -9279,7 +9280,7 @@ const xa = /* @__PURE__ */ Tn(k1, [["render", N1]]), Xe = q({
9279
9280
  ]);
9280
9281
  return () => o;
9281
9282
  }
9282
- }), Ma = /* @__PURE__ */ q({
9283
+ }), xa = /* @__PURE__ */ q({
9283
9284
  __name: "confirm-sign-up",
9284
9285
  setup(e) {
9285
9286
  const t = ye(), { codeDeliveryDetails: n, error: r, isPending: o } = re(t), { resendCode: i, submitForm: a, updateForm: s } = t, { getDeliveryMethodText: l, getDeliveryMessageText: c, getResendCodeText: u, getConfirmText: m } = Ee, f = D(() => l(n.value)), p = D(() => u()), h = D(() => m()), v = D(() => c(n.value)), b = (S) => {
@@ -9293,7 +9294,7 @@ const xa = /* @__PURE__ */ Tn(k1, [["render", N1]]), Xe = q({
9293
9294
  i();
9294
9295
  };
9295
9296
  return (S, I) => {
9296
- const T = Xe, P = xa, k = Re, $ = Fe, O = we, F = Ne, B = me, G = Ue;
9297
+ const T = Xe, P = Ra, k = Re, $ = Fe, O = we, F = Ne, B = me, G = Ue;
9297
9298
  return E(S.$slots, "confirmSignUpSlotI", oe(ie(S.$attrs)), () => [
9298
9299
  C(B, oe(ie(S.$attrs)), {
9299
9300
  default: _(() => [
@@ -9380,7 +9381,7 @@ const xa = /* @__PURE__ */ Tn(k1, [["render", N1]]), Xe = q({
9380
9381
  ]);
9381
9382
  };
9382
9383
  }
9383
- }), Da = /* @__PURE__ */ q({
9384
+ }), Ma = /* @__PURE__ */ q({
9384
9385
  __name: "confirm-sign-in",
9385
9386
  setup(e) {
9386
9387
  const t = ye(), { submitForm: n, toSignIn: r, updateForm: o } = t, { error: i, isPending: a, challengeName: s } = re(t), l = D(() => s.value), { getBackToSignInText: c, getConfirmText: u, getChallengeText: m } = Ee, f = D(() => m(l.value)), p = D(() => c()), h = D(() => u()), v = (w) => {
@@ -9478,7 +9479,7 @@ const xa = /* @__PURE__ */ Tn(k1, [["render", N1]]), Xe = q({
9478
9479
  });
9479
9480
  var qt = {}, U1 = function() {
9480
9481
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
9481
- }, Ba = {}, Se = {};
9482
+ }, Da = {}, Se = {};
9482
9483
  let ro;
9483
9484
  const $1 = [
9484
9485
  0,
@@ -9584,10 +9585,10 @@ var qn = {};
9584
9585
  }
9585
9586
  };
9586
9587
  })(qn);
9587
- function La() {
9588
+ function Ba() {
9588
9589
  this.buffer = [], this.length = 0;
9589
9590
  }
9590
- La.prototype = {
9591
+ Ba.prototype = {
9591
9592
  get: function(e) {
9592
9593
  const t = Math.floor(e / 8);
9593
9594
  return (this.buffer[t] >>> 7 - e % 8 & 1) === 1;
@@ -9604,7 +9605,7 @@ La.prototype = {
9604
9605
  this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
9605
9606
  }
9606
9607
  };
9607
- var O1 = La;
9608
+ var O1 = Ba;
9608
9609
  function Jt(e) {
9609
9610
  if (!e || e < 1)
9610
9611
  throw new Error("BitMatrix size must be defined and greater than 0");
@@ -9623,7 +9624,7 @@ Jt.prototype.xor = function(e, t, n) {
9623
9624
  Jt.prototype.isReserved = function(e, t) {
9624
9625
  return this.reservedBit[e * this.size + t];
9625
9626
  };
9626
- var F1 = Jt, Ga = {};
9627
+ var F1 = Jt, La = {};
9627
9628
  (function(e) {
9628
9629
  const t = Se.getSymbolSize;
9629
9630
  e.getRowColCoords = function(r) {
@@ -9641,10 +9642,10 @@ var F1 = Jt, Ga = {};
9641
9642
  s === a - 1 && l === 0 || o.push([i[s], i[l]]);
9642
9643
  return o;
9643
9644
  };
9644
- })(Ga);
9645
- var za = {};
9645
+ })(La);
9646
+ var Ga = {};
9646
9647
  const R1 = Se.getSymbolSize, li = 7;
9647
- za.getPositions = function(t) {
9648
+ Ga.getPositions = function(t) {
9648
9649
  const n = R1(t);
9649
9650
  return [
9650
9651
  // top-left
@@ -9655,7 +9656,7 @@ za.getPositions = function(t) {
9655
9656
  [0, n - li]
9656
9657
  ];
9657
9658
  };
9658
- var Wa = {};
9659
+ var za = {};
9659
9660
  (function(e) {
9660
9661
  e.Patterns = {
9661
9662
  PATTERN000: 0,
@@ -9750,7 +9751,7 @@ var Wa = {};
9750
9751
  }
9751
9752
  return s;
9752
9753
  };
9753
- })(Wa);
9754
+ })(za);
9754
9755
  var Jn = {};
9755
9756
  const Ke = qn, sn = [
9756
9757
  // L M Q H
@@ -10105,7 +10106,7 @@ Jn.getTotalCodewordsCount = function(t, n) {
10105
10106
  return;
10106
10107
  }
10107
10108
  };
10108
- var Va = {}, Zn = {};
10109
+ var Wa = {}, Zn = {};
10109
10110
  const Bt = new Uint8Array(512), An = new Uint8Array(256);
10110
10111
  (function() {
10111
10112
  let t = 1;
@@ -10149,32 +10150,32 @@ Zn.mul = function(t, n) {
10149
10150
  o = e.mul(o, new Uint8Array([1, t.exp(i)]));
10150
10151
  return o;
10151
10152
  };
10152
- })(Va);
10153
- const ja = Va;
10153
+ })(Wa);
10154
+ const Va = Wa;
10154
10155
  function oo(e) {
10155
10156
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
10156
10157
  }
10157
10158
  oo.prototype.initialize = function(t) {
10158
- this.degree = t, this.genPoly = ja.generateECPolynomial(this.degree);
10159
+ this.degree = t, this.genPoly = Va.generateECPolynomial(this.degree);
10159
10160
  };
10160
10161
  oo.prototype.encode = function(t) {
10161
10162
  if (!this.genPoly)
10162
10163
  throw new Error("Encoder not initialized");
10163
10164
  const n = new Uint8Array(t.length + this.degree);
10164
10165
  n.set(t);
10165
- const r = ja.mod(n, this.genPoly), o = this.degree - r.length;
10166
+ const r = Va.mod(n, this.genPoly), o = this.degree - r.length;
10166
10167
  if (o > 0) {
10167
10168
  const i = new Uint8Array(this.degree);
10168
10169
  return i.set(r, o), i;
10169
10170
  }
10170
10171
  return r;
10171
10172
  };
10172
- var x1 = oo, Ha = {}, et = {}, io = {};
10173
+ var x1 = oo, ja = {}, et = {}, io = {};
10173
10174
  io.isValid = function(t) {
10174
10175
  return !isNaN(t) && t >= 1 && t <= 40;
10175
10176
  };
10176
10177
  var Me = {};
10177
- const Ya = "[0-9]+", M1 = "[A-Z $%*+\\-./:]+";
10178
+ const Ha = "[0-9]+", M1 = "[A-Z $%*+\\-./:]+";
10178
10179
  let Vt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
10179
10180
  Vt = Vt.replace(/u/g, "\\u");
10180
10181
  const D1 = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Vt + `)(?:.|[\r
@@ -10182,9 +10183,9 @@ const D1 = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Vt + `)(?:.|[\r
10182
10183
  Me.KANJI = new RegExp(Vt, "g");
10183
10184
  Me.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
10184
10185
  Me.BYTE = new RegExp(D1, "g");
10185
- Me.NUMERIC = new RegExp(Ya, "g");
10186
+ Me.NUMERIC = new RegExp(Ha, "g");
10186
10187
  Me.ALPHANUMERIC = new RegExp(M1, "g");
10187
- const B1 = new RegExp("^" + Vt + "$"), L1 = new RegExp("^" + Ya + "$"), G1 = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
10188
+ const B1 = new RegExp("^" + Vt + "$"), L1 = new RegExp("^" + Ha + "$"), G1 = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
10188
10189
  Me.testKanji = function(t) {
10189
10190
  return B1.test(t);
10190
10191
  };
@@ -10315,17 +10316,17 @@ Me.testAlphanumeric = function(t) {
10315
10316
  h ^= a << t.getBCHDigit(h) - s;
10316
10317
  return p << 12 | h;
10317
10318
  };
10318
- })(Ha);
10319
- var Ka = {};
10320
- const Cr = Se, qa = 1335, z1 = 21522, ci = Cr.getBCHDigit(qa);
10321
- Ka.getEncodedBits = function(t, n) {
10319
+ })(ja);
10320
+ var Ya = {};
10321
+ const Cr = Se, Ka = 1335, z1 = 21522, ci = Cr.getBCHDigit(Ka);
10322
+ Ya.getEncodedBits = function(t, n) {
10322
10323
  const r = t.bit << 3 | n;
10323
10324
  let o = r << 10;
10324
10325
  for (; Cr.getBCHDigit(o) - ci >= 0; )
10325
- o ^= qa << Cr.getBCHDigit(o) - ci;
10326
+ o ^= Ka << Cr.getBCHDigit(o) - ci;
10326
10327
  return (r << 10 | o) ^ z1;
10327
10328
  };
10328
- var Ja = {};
10329
+ var qa = {};
10329
10330
  const W1 = et;
10330
10331
  function mt(e) {
10331
10332
  this.mode = W1.NUMERIC, this.data = e.toString();
@@ -10488,7 +10489,7 @@ Make sure your charset is UTF-8`
10488
10489
  n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
10489
10490
  }
10490
10491
  };
10491
- var X1 = yt, Za = { exports: {} };
10492
+ var X1 = yt, Ja = { exports: {} };
10492
10493
  (function(e) {
10493
10494
  var t = {
10494
10495
  single_source_shortest_paths: function(n, r, o) {
@@ -10553,8 +10554,8 @@ var X1 = yt, Za = { exports: {} };
10553
10554
  }
10554
10555
  };
10555
10556
  e.exports = t;
10556
- })(Za);
10557
- var eC = Za.exports;
10557
+ })(Ja);
10558
+ var eC = Ja.exports;
10558
10559
  (function(e) {
10559
10560
  const t = et, n = V1, r = H1, o = J1, i = X1, a = Me, s = Se, l = eC;
10560
10561
  function c(g) {
@@ -10685,8 +10686,8 @@ var eC = Za.exports;
10685
10686
  m(w, s.isKanjiModeEnabled())
10686
10687
  );
10687
10688
  };
10688
- })(Ja);
10689
- const Qn = Se, ar = qn, tC = O1, nC = F1, rC = Ga, oC = za, Ar = Wa, Ir = Jn, iC = x1, In = Ha, aC = Ka, sC = et, sr = Ja;
10689
+ })(qa);
10690
+ const Qn = Se, ar = qn, tC = O1, nC = F1, rC = La, oC = Ga, Ar = za, Ir = Jn, iC = x1, In = ja, aC = Ya, sC = et, sr = qa;
10690
10691
  function lC(e, t) {
10691
10692
  const n = e.size, r = oC.getPositions(t);
10692
10693
  for (let o = 0; o < r.length; o++) {
@@ -10812,13 +10813,13 @@ Minimum version required to store current data is: ` + i + `.
10812
10813
  segments: o
10813
10814
  };
10814
10815
  }
10815
- Ba.create = function(t, n) {
10816
+ Da.create = function(t, n) {
10816
10817
  if (typeof t > "u" || t === "")
10817
10818
  throw new Error("No input text");
10818
10819
  let r = ar.M, o, i;
10819
10820
  return typeof n < "u" && (r = ar.from(n.errorCorrectionLevel, ar.M), o = In.from(n.version), i = Ar.from(n.maskPattern), n.toSJISFunc && Qn.setToSJISFunction(n.toSJISFunc)), gC(t, o, r, i);
10820
10821
  };
10821
- var Qa = {}, ao = {};
10822
+ var Za = {}, ao = {};
10822
10823
  (function(e) {
10823
10824
  function t(n) {
10824
10825
  if (typeof n == "number" && (n = n.toString()), typeof n != "string")
@@ -10893,8 +10894,8 @@ var Qa = {}, ao = {};
10893
10894
  const c = e.render(i, a, l), u = l.type || "image/png", m = l.rendererOpts || {};
10894
10895
  return c.toDataURL(u, m.quality);
10895
10896
  };
10896
- })(Qa);
10897
- var Xa = {};
10897
+ })(Za);
10898
+ var Qa = {};
10898
10899
  const hC = ao;
10899
10900
  function ui(e, t) {
10900
10901
  const n = e.a / 255, r = t + '="' + e.hex + '"';
@@ -10912,12 +10913,12 @@ function yC(e, t, n) {
10912
10913
  }
10913
10914
  return r;
10914
10915
  }
10915
- Xa.render = function(t, n, r) {
10916
+ Qa.render = function(t, n, r) {
10916
10917
  const o = hC.getOptions(n), i = t.modules.size, a = t.modules.data, s = i + o.margin * 2, l = o.color.light.a ? "<path " + ui(o.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", c = "<path " + ui(o.color.dark, "stroke") + ' d="' + yC(a, i, o.margin) + '"/>', u = 'viewBox="0 0 ' + s + " " + s + '"', f = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + u + ' shape-rendering="crispEdges">' + l + c + `</svg>
10917
10918
  `;
10918
10919
  return typeof r == "function" && r(null, f), f;
10919
10920
  };
10920
- const vC = U1, Er = Ba, es = Qa, _C = Xa;
10921
+ const vC = U1, Er = Da, Xa = Za, _C = Qa;
10921
10922
  function so(e, t, n, r, o) {
10922
10923
  const i = [].slice.call(arguments, 1), a = i.length, s = typeof i[a - 1] == "function";
10923
10924
  if (!s && !vC())
@@ -10946,8 +10947,8 @@ function so(e, t, n, r, o) {
10946
10947
  }
10947
10948
  }
10948
10949
  qt.create = Er.create;
10949
- qt.toCanvas = so.bind(null, es.render);
10950
- qt.toDataURL = so.bind(null, es.renderToDataURL);
10950
+ qt.toCanvas = so.bind(null, Xa.render);
10951
+ qt.toDataURL = so.bind(null, Xa.renderToDataURL);
10951
10952
  qt.toString = so.bind(null, function(e, t, n) {
10952
10953
  return _C.render(e, n);
10953
10954
  });
@@ -10961,7 +10962,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
10961
10962
  ], -1), AC = /* @__PURE__ */ q({
10962
10963
  __name: "setup-totp",
10963
10964
  setup(e) {
10964
- const t = new _s("SetupTotp-logger"), n = ye(), { updateForm: r, submitForm: o, toSignIn: i, totpSecretCode: a, username: s, QRFields: l } = n, { error: c, isPending: u } = re(n), { totpIssuer: m = "AWSCognito", totpUsername: f = s } = l ?? {}, p = dl(m, f, a), h = fi({
10965
+ const t = new vs("SetupTotp-logger"), n = ye(), { updateForm: r, submitForm: o, toSignIn: i, totpSecretCode: a, username: s, QRFields: l } = n, { error: c, isPending: u } = re(n), { totpIssuer: m = "AWSCognito", totpUsername: f = s } = l ?? {}, p = dl(m, f, a), h = fi({
10965
10966
  qrCodeImageSource: "",
10966
10967
  isLoading: !0
10967
10968
  }), { getCopyText: v, getCopiedText: b, getBackToSignInText: g, getConfirmText: w } = Ee, y = le(v());
@@ -11102,12 +11103,12 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11102
11103
  ]);
11103
11104
  };
11104
11105
  }
11105
- }), ts = /* @__PURE__ */ q({
11106
+ }), es = /* @__PURE__ */ q({
11106
11107
  __name: "authenticator-force-new-password-form-fields",
11107
11108
  setup(e) {
11108
11109
  return (t, n) => (U(), W(xe, { route: "forceNewPassword" }));
11109
11110
  }
11110
- }), ns = /* @__PURE__ */ q({
11111
+ }), ts = /* @__PURE__ */ q({
11111
11112
  __name: "force-new-password",
11112
11113
  setup(e) {
11113
11114
  const t = ye(), { submitForm: n, toSignIn: r, updateBlur: o, updateForm: i } = t, { error: a, isPending: s } = re(t), { getChangePasswordText: l, getChangingText: c, getBackToSignInText: u } = Ee, m = D(() => l()), f = D(() => c()), p = D(() => u()), h = () => {
@@ -11155,7 +11156,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11155
11156
  C(T, { class: "amplify-flex amplify-authenticator__column" }, {
11156
11157
  default: _(() => [
11157
11158
  E(y.$slots, "force-new-password-form-fields", {}, () => [
11158
- C(ts)
11159
+ C(es)
11159
11160
  ])
11160
11161
  ]),
11161
11162
  _: 3
@@ -11217,7 +11218,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11217
11218
  ]);
11218
11219
  };
11219
11220
  }
11220
- }), rs = /* @__PURE__ */ q({
11221
+ }), ns = /* @__PURE__ */ q({
11221
11222
  __name: "forgot-password",
11222
11223
  setup(e) {
11223
11224
  const t = ye(), { submitForm: n, toSignIn: r, updateForm: o } = t, { error: i, isPending: a } = re(t), { getBackToSignInText: s, getResetYourPasswordText: l, getSendCodeText: c } = Ee, u = D(() => s()), m = D(() => l()), f = D(() => c()), p = (b) => {
@@ -11309,7 +11310,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11309
11310
  ]);
11310
11311
  };
11311
11312
  }
11312
- }), os = /* @__PURE__ */ q({
11313
+ }), rs = /* @__PURE__ */ q({
11313
11314
  __name: "confirm-reset-password",
11314
11315
  setup(e) {
11315
11316
  const t = ye(), { resendCode: n, submitForm: r, updateBlur: o, updateForm: i } = t, { error: a, isPending: s } = re(t), { getResendCodeText: l, getResetYourPasswordText: c, getSubmitText: u } = Ee, m = D(() => l()), f = D(() => c()), p = D(() => u()), h = (y) => {
@@ -11409,7 +11410,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11409
11410
  ]);
11410
11411
  };
11411
11412
  }
11412
- }), is = /* @__PURE__ */ q({
11413
+ }), os = /* @__PURE__ */ q({
11413
11414
  __name: "verify-user",
11414
11415
  setup(e) {
11415
11416
  const t = ye(), { isPending: n, unverifiedUserAttributes: r, error: o } = re(t), { skipVerification: i, submitForm: a, updateForm: s } = t, { getAccountRecoveryInfoText: l, getSkipText: c, getVerifyText: u, getVerifyContactText: m } = Ee, f = D(() => l()), p = D(() => c()), h = D(() => u()), v = D(() => m()), b = (S) => {
@@ -11423,7 +11424,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11423
11424
  i();
11424
11425
  };
11425
11426
  return (S, I) => {
11426
- const T = Xe, P = Kn, k = xa, $ = Yn, O = me, F = Fe, B = we, G = Ne, ae = Re, be = Ue;
11427
+ const T = Xe, P = Kn, k = Ra, $ = Yn, O = me, F = Fe, B = we, G = Ne, ae = Re, be = Ue;
11427
11428
  return E(S.$slots, "verifyUserSlotI", {}, () => [
11428
11429
  C(O, null, {
11429
11430
  default: _(() => [
@@ -11550,7 +11551,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11550
11551
  ]);
11551
11552
  };
11552
11553
  }
11553
- }), as = /* @__PURE__ */ q({
11554
+ }), is = /* @__PURE__ */ q({
11554
11555
  __name: "confirm-verify-user",
11555
11556
  setup(e) {
11556
11557
  const t = ye(), { error: n, isPending: r } = re(t), { skipVerification: o, submitForm: i, updateForm: a } = t, { getAccountRecoveryInfoText: s, getSkipText: l, getSubmitText: c } = Ee, u = D(() => s()), m = D(() => l()), f = D(() => c()), p = (g) => {
@@ -11688,7 +11689,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11688
11689
  packageName: "vue",
11689
11690
  version: P1
11690
11691
  });
11691
- }), hs(() => {
11692
+ }), gs(() => {
11692
11693
  u(), v();
11693
11694
  });
11694
11695
  const T = le(), P = le(), k = le(), $ = le(), O = le(), F = le(), B = le(), G = le(), ae = le(), be = le(), { getSignInTabText: Te, getSignUpTabText: fe } = Ee, ge = D(() => Te()), ve = D(() => fe()), at = D(() => g.value === "signIn" || g.value === "signUp"), _e = D(() => [
@@ -11734,7 +11735,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11734
11735
  _: 1
11735
11736
  })) : j("", !0),
11736
11737
  d(at) ? (U(), X("div", PC, [
11737
- d(g) === "signIn" ? (U(), W(Oa, {
11738
+ d(g) === "signIn" ? (U(), W($a, {
11738
11739
  key: 0,
11739
11740
  id: "signIn-panel",
11740
11741
  role: "tabpanel",
@@ -11746,12 +11747,12 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11746
11747
  signInSlotI: _(() => [
11747
11748
  E(L.$slots, "sign-in")
11748
11749
  ]),
11749
- form: _(({ info: Xn, onSignInSubmit: ss, onForgotPasswordClicked: ls, onInput: cs }) => [
11750
+ form: _(({ info: Xn, onSignInSubmit: as, onForgotPasswordClicked: ss, onInput: ls }) => [
11750
11751
  E(L.$slots, "sign-in-form", {
11751
11752
  info: Xn,
11752
- onInput: cs,
11753
- onSignInSubmit: ss,
11754
- onForgotPasswordClicked: ls
11753
+ onInput: ls,
11754
+ onSignInSubmit: as,
11755
+ onForgotPasswordClicked: ss
11755
11756
  })
11756
11757
  ]),
11757
11758
  header: _(() => [
@@ -11762,7 +11763,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11762
11763
  ]),
11763
11764
  _: 3
11764
11765
  }, 512)) : j("", !0),
11765
- d(g) === "signUp" && !d(l) ? (U(), W(Ra, {
11766
+ d(g) === "signUp" && !d(l) ? (U(), W(Fa, {
11766
11767
  key: 1,
11767
11768
  id: "signUp-panel",
11768
11769
  class: "amplify-tabs__panel amplify-tabs__panel--active",
@@ -11786,7 +11787,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11786
11787
  _: 3
11787
11788
  }, 512)) : j("", !0)
11788
11789
  ])) : j("", !0),
11789
- d(g) === "confirmSignUp" ? (U(), W(Ma, {
11790
+ d(g) === "confirmSignUp" ? (U(), W(xa, {
11790
11791
  key: 2,
11791
11792
  ref_key: "confirmSignUpComponent",
11792
11793
  ref: k
@@ -11802,7 +11803,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11802
11803
  ]),
11803
11804
  _: 3
11804
11805
  }, 512)) : j("", !0),
11805
- d(g) === "forgotPassword" ? (U(), W(rs, {
11806
+ d(g) === "forgotPassword" ? (U(), W(ns, {
11806
11807
  key: 3,
11807
11808
  ref_key: "ForgotPasswordComponent",
11808
11809
  ref: B
@@ -11818,7 +11819,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11818
11819
  ]),
11819
11820
  _: 3
11820
11821
  }, 512)) : j("", !0),
11821
- d(g) === "confirmResetPassword" ? (U(), W(os, {
11822
+ d(g) === "confirmResetPassword" ? (U(), W(rs, {
11822
11823
  key: 4,
11823
11824
  ref_key: "confirmResetPasswordComponent",
11824
11825
  ref: G
@@ -11834,7 +11835,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11834
11835
  ]),
11835
11836
  _: 3
11836
11837
  }, 512)) : j("", !0),
11837
- d(g) === "confirmSignIn" ? (U(), W(Da, {
11838
+ d(g) === "confirmSignIn" ? (U(), W(Ma, {
11838
11839
  key: 5,
11839
11840
  ref_key: "confirmSignInComponent",
11840
11841
  ref: $
@@ -11866,7 +11867,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11866
11867
  ]),
11867
11868
  _: 3
11868
11869
  }, 512)) : j("", !0),
11869
- d(g) === "forceNewPassword" ? (U(), W(ns, {
11870
+ d(g) === "forceNewPassword" ? (U(), W(ts, {
11870
11871
  key: 7,
11871
11872
  ref_key: "forceNewPasswordComponent",
11872
11873
  ref: F
@@ -11885,7 +11886,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11885
11886
  ]),
11886
11887
  _: 3
11887
11888
  }, 512)) : j("", !0),
11888
- d(g) === "verifyUser" ? (U(), W(is, {
11889
+ d(g) === "verifyUser" ? (U(), W(os, {
11889
11890
  key: 8,
11890
11891
  ref_key: "verifyUserComponent",
11891
11892
  ref: ae
@@ -11901,7 +11902,7 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
11901
11902
  ]),
11902
11903
  _: 3
11903
11904
  }, 512)) : j("", !0),
11904
- d(g) === "confirmVerifyUser" ? (U(), W(as, {
11905
+ d(g) === "confirmVerifyUser" ? (U(), W(is, {
11905
11906
  key: 9,
11906
11907
  ref_key: "confirmVerifyUserComponent",
11907
11908
  ref: be
@@ -12036,12 +12037,12 @@ const wC = { key: 0 }, SC = ["src"], bC = { "data-amplify-copy-tooltip": "" }, C
12036
12037
  }
12037
12038
  }), KC = {
12038
12039
  install: (e) => {
12039
- e.component("SignIn", Oa), e.component("SignUp", Ra), e.component("FederatedSignIn", no), e.component("Authenticator", kC), e.component("RenderInfo", NC), e.component("PasswordControl", Ua), e.component("ForceNewPassword", ns), e.component("ForgotPassword", rs), e.component("ConfirmResetPassword", os), e.component("ConfirmSignUp", Ma), e.component("ConfirmSignIn", Da), e.component("VerifyUser", is), e.component("ConfirmVerifyUser", as), e.component("AmplifyTextField", UC), e.component("AmplifyCheckBox", GC), e.component("AmplifyButton", we), e.component("BaseFormField", $a), e.component("BaseFormFields", xe), e.component(
12040
+ e.component("SignIn", $a), e.component("SignUp", Fa), e.component("FederatedSignIn", no), e.component("Authenticator", kC), e.component("RenderInfo", NC), e.component("PasswordControl", Na), e.component("ForceNewPassword", ts), e.component("ForgotPassword", ns), e.component("ConfirmResetPassword", rs), e.component("ConfirmSignUp", xa), e.component("ConfirmSignIn", Ma), e.component("VerifyUser", os), e.component("ConfirmVerifyUser", is), e.component("AmplifyTextField", UC), e.component("AmplifyCheckBox", GC), e.component("AmplifyButton", we), e.component("BaseFormField", Ua), e.component("BaseFormFields", xe), e.component(
12040
12041
  "AuthenticatorSignUpFormFields",
12041
- Fa
12042
+ Oa
12042
12043
  ), e.component(
12043
12044
  "AuthenticatorForceNewPasswordFormFields",
12044
- ts
12045
+ es
12045
12046
  );
12046
12047
  }
12047
12048
  };
@@ -12050,20 +12051,20 @@ export {
12050
12051
  GC as AmplifyCheckBox,
12051
12052
  UC as AmplifyTextField,
12052
12053
  kC as Authenticator,
12053
- ts as AuthenticatorForceNewPasswordFormFields,
12054
- Fa as AuthenticatorSignUpFormFields,
12055
- os as ConfirmResetPassword,
12056
- Da as ConfirmSignIn,
12057
- Ma as ConfirmSignUp,
12058
- as as ConfirmVerifyUser,
12054
+ es as AuthenticatorForceNewPasswordFormFields,
12055
+ Oa as AuthenticatorSignUpFormFields,
12056
+ rs as ConfirmResetPassword,
12057
+ Ma as ConfirmSignIn,
12058
+ xa as ConfirmSignUp,
12059
+ is as ConfirmVerifyUser,
12059
12060
  no as FederatedSignIn,
12060
- ns as ForceNewPassword,
12061
- rs as ForgotPassword,
12062
- Ua as PasswordControl,
12061
+ ts as ForceNewPassword,
12062
+ ns as ForgotPassword,
12063
+ Na as PasswordControl,
12063
12064
  NC as RenderInfo,
12064
- Oa as SignIn,
12065
- Ra as SignUp,
12066
- is as VerifyUser,
12065
+ $a as SignIn,
12066
+ Fa as SignUp,
12067
+ os as VerifyUser,
12067
12068
  KC as default,
12068
12069
  YC as translations,
12069
12070
  ye as useAuthenticator