@aws-amplify/ui-vue 4.2.16 → 4.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +12 -12
- package/dist/index.js +232 -204
- package/dist/style.css +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -83,7 +83,7 @@ const me = /* @__PURE__ */ In(ks, [["render", Ns]]), Us = ["type", "data-fullwid
|
|
|
83
83
|
}, $s = {
|
|
84
84
|
apis: [Ce.DeleteUser, Ce.UpdatePassword],
|
|
85
85
|
category: tt.Auth
|
|
86
|
-
},
|
|
86
|
+
}, Fs = {
|
|
87
87
|
apis: [
|
|
88
88
|
Ce.SignUp,
|
|
89
89
|
Ce.ConfirmSignUp,
|
|
@@ -97,7 +97,7 @@ const me = /* @__PURE__ */ In(ks, [["render", Ns]]), Us = ["type", "data-fullwid
|
|
|
97
97
|
Ce.SignInWithRedirect
|
|
98
98
|
],
|
|
99
99
|
category: tt.Auth
|
|
100
|
-
},
|
|
100
|
+
}, Os = {
|
|
101
101
|
apis: [vi.UploadData],
|
|
102
102
|
category: tt.Storage
|
|
103
103
|
}, Rs = {
|
|
@@ -854,6 +854,7 @@ const cl = {
|
|
|
854
854
|
"Change Password": "Cambiar contraseña",
|
|
855
855
|
Changing: "Cambiando",
|
|
856
856
|
Code: "Código",
|
|
857
|
+
"Code *": "Código *",
|
|
857
858
|
"Confirm Password": "Confirmar contraseña",
|
|
858
859
|
"Confirm Sign Up": "Confirmar registro",
|
|
859
860
|
"Confirm SMS Code": "Confirmar el código de SMS",
|
|
@@ -868,6 +869,7 @@ const cl = {
|
|
|
868
869
|
Email: "Email",
|
|
869
870
|
"Enter your code": "Ingrese el código",
|
|
870
871
|
"Enter your Email": "Escriba su Email",
|
|
872
|
+
"Enter your email": "Escriba su email",
|
|
871
873
|
"Enter your Password": "Escriba su Contraseña",
|
|
872
874
|
"Enter your phone number": "Ingrese el número de teléfono",
|
|
873
875
|
"Enter your username": "Ingrese el nombre de usuario",
|
|
@@ -913,6 +915,12 @@ const cl = {
|
|
|
913
915
|
"Confirm Sign In": "Confirmar inicio de sesión",
|
|
914
916
|
"Forgot Password": "Olvidé mi contraseña",
|
|
915
917
|
"Incorrect username or password.": "Nombre de usuario o contraseña incorrecta",
|
|
918
|
+
"Enter your Family Name": "Escriba su apellido",
|
|
919
|
+
"Enter your Given Name": "Escriba su nombre",
|
|
920
|
+
"Given Name": "Nombre",
|
|
921
|
+
"Family Name": "Apellido",
|
|
922
|
+
"Reset Password": "Restablecer contraseña",
|
|
923
|
+
"Please confirm your Password": "Confirme su contraseña",
|
|
916
924
|
"Invalid password format": "Formato de contraseña inválido",
|
|
917
925
|
"Invalid phone number format": "Formato de número de teléfono inválido",
|
|
918
926
|
"Loading...": "Cargando...",
|
|
@@ -926,8 +934,17 @@ const cl = {
|
|
|
926
934
|
"Sign Up": "Crear cuenta",
|
|
927
935
|
"User already exists": "El usuario ya existe",
|
|
928
936
|
"User does not exist": "El usuario no existe",
|
|
937
|
+
"Username/client id combination not found.": "El usuario no existe",
|
|
929
938
|
"Username cannot be empty": "El nombre de usuario no puede estar vacío",
|
|
930
|
-
"Your passwords must match": "Las contraseñas deben coincidir"
|
|
939
|
+
"Your passwords must match": "Las contraseñas deben coincidir",
|
|
940
|
+
"Password must have at least 8 characters": "La contraseña debe tener al menos 8 caracteres",
|
|
941
|
+
"Password did not conform with policy: Password must have uppercase characters": "La contraseña debe tener al menos un carácter en mayúscula",
|
|
942
|
+
"Password did not conform with policy: Password must have numeric characters": "La contraseña debe tener al menos un carácter numérico",
|
|
943
|
+
"Password did not conform with policy: Password must have symbol characters": "La contraseña debe tener al menos un símbolo",
|
|
944
|
+
"Password did not conform with policy: Password must have lowercase characters": "La contraseña debe tener al menos un carácter en minúsculas",
|
|
945
|
+
"Invalid verification code provided, please try again.": "Código de verificación no válido, inténtelo de nuevo.",
|
|
946
|
+
"Attempt limit exceeded, please try after some time.": "Número máximo de intentos excedido, por favor inténtelo de nuevo más tarde.",
|
|
947
|
+
"A network error has occurred.": "Se ha producido un error de red."
|
|
931
948
|
}, fl = {
|
|
932
949
|
"Account recovery requires verified contact information": "La récupération du compte nécessite des informations de contact vérifiées",
|
|
933
950
|
"Back to Sign In": "Retour à la connexion",
|
|
@@ -947,7 +964,8 @@ const cl = {
|
|
|
947
964
|
"Dismiss alert": "Supprimer l'alerte",
|
|
948
965
|
Email: "Email",
|
|
949
966
|
"Enter your code": "Saisissez cotre code de confirmation",
|
|
950
|
-
"Enter your Email": "Saisissez votre adresse
|
|
967
|
+
"Enter your Email": "Saisissez votre adresse e-mail",
|
|
968
|
+
"Enter your email": "Saisissez votre adresse e-mail",
|
|
951
969
|
"Enter your phone number": "Saisissez votre numéro de téléphone",
|
|
952
970
|
"Enter your username": "Saisissez votre nom d'utilisateur",
|
|
953
971
|
"Forgot your password?": "Mot de passe oublié ? ",
|
|
@@ -1003,9 +1021,11 @@ const cl = {
|
|
|
1003
1021
|
"Enter your Phone Number": "Saisissez votre numéro de téléphone",
|
|
1004
1022
|
"Enter your Preferred Username": "Saisissez votre nom d'utilisateur",
|
|
1005
1023
|
"Enter your password": "Saisissez votre mot de passe",
|
|
1024
|
+
"Given Name": "Prénom",
|
|
1006
1025
|
"Family Name": "Nom de famille",
|
|
1007
1026
|
"Forgot Password": "Mot de passe oublié",
|
|
1008
1027
|
"Forgot Password?": "Mot de passe oublié ?",
|
|
1028
|
+
"Incorrect username or password.": "Identifiant ou mot de passe incorrect.",
|
|
1009
1029
|
"Have an account? ": "Déjà un compte ? ",
|
|
1010
1030
|
Hello: "Bonjour",
|
|
1011
1031
|
"Incorrect username or password": "Identifiant ou mot de passe incorrect",
|
|
@@ -1021,8 +1041,8 @@ const cl = {
|
|
|
1021
1041
|
"Preferred Username": "Nom d'utilisateur préféré",
|
|
1022
1042
|
Profile: "Profil",
|
|
1023
1043
|
"Resend a Code": "Renvoyer un code",
|
|
1024
|
-
"Reset password": "
|
|
1025
|
-
"Reset Password": "
|
|
1044
|
+
"Reset password": "Réinitialiser le mot de passe",
|
|
1045
|
+
"Reset Password": "Réinitialiser le mot de passe",
|
|
1026
1046
|
Send: "Envoyer",
|
|
1027
1047
|
"Sign In with AWS": "Se connecter avec AWS",
|
|
1028
1048
|
"Sign Out": "Déconnexion",
|
|
@@ -1037,7 +1057,15 @@ const cl = {
|
|
|
1037
1057
|
"Your code is on the way. To log in, enter the code we texted to": "Votre code est en route. Pour vous connecter entrez le code reçu sur ce numéro de téléphone",
|
|
1038
1058
|
"Your passwords must match": "Vos mots de passe doivent être identiques",
|
|
1039
1059
|
"It may take a minute to arrive.": "Cela peut prendre quelques minutes.",
|
|
1040
|
-
Website: "Site web"
|
|
1060
|
+
Website: "Site web",
|
|
1061
|
+
"Password must have at least 8 characters": "Le mot de passe doit comporter au moins 8 caractères",
|
|
1062
|
+
"Password did not conform with policy: Password must have uppercase characters": "Le mot de passe doit comporter des caractères majuscules",
|
|
1063
|
+
"Password did not conform with policy: Password must have numeric characters": "Le mot de passe doit comporter des caractères numériques",
|
|
1064
|
+
"Password did not conform with policy: Password must have symbol characters": "Le mot de passe doit comporter des symboles",
|
|
1065
|
+
"Password did not conform with policy: Password must have lowercase characters": "Le mot de passe doit comporter des caractères minuscules",
|
|
1066
|
+
"Invalid verification code provided, please try again.": "Code de vérification invalide, veuillez réessayer.",
|
|
1067
|
+
"Attempt limit exceeded, please try after some time.": "Nombre maximum de tentatives dépassé, veuillez réessayer plus tard.",
|
|
1068
|
+
"A network error has occurred.": "Une erreur de réseau s'est produite."
|
|
1041
1069
|
}, pl = {
|
|
1042
1070
|
"Account recovery requires verified contact information": "Il ripristino dell'account richiede informazioni di contatto verificate",
|
|
1043
1071
|
"Back to Sign In": "Torna alla schermata di accesso",
|
|
@@ -2304,7 +2332,7 @@ const cl = {
|
|
|
2304
2332
|
WEBSITE: "Website"
|
|
2305
2333
|
}, kl = { ...cl }, Nl = {
|
|
2306
2334
|
...ul
|
|
2307
|
-
}, Ul = { ...dl }, $l = { ...fl },
|
|
2335
|
+
}, Ul = { ...dl }, $l = { ...fl }, Fl = { ...pl }, Ol = { ...ml }, uo = { ...gl }, Rl = { ...hl }, xl = { ...yl }, Ml = { ...vl }, Dl = { ..._l }, Bl = { ...wl }, Ll = { ...Sl }, Gl = { ...bl }, zl = { ...Cl }, Wl = { ...Al }, Vl = { ...Il }, jl = { ...El }, Hl = { ...Tl }, Yl = {
|
|
2308
2336
|
...Pl
|
|
2309
2337
|
// new module related default texts goes here
|
|
2310
2338
|
}, z = { ...Yl };
|
|
@@ -2317,8 +2345,8 @@ const WC = {
|
|
|
2317
2345
|
es: Ul,
|
|
2318
2346
|
fr: $l,
|
|
2319
2347
|
id: Gl,
|
|
2320
|
-
it:
|
|
2321
|
-
ja:
|
|
2348
|
+
it: Fl,
|
|
2349
|
+
ja: Ol,
|
|
2322
2350
|
// TODO: remove kr in next major release
|
|
2323
2351
|
kr: uo,
|
|
2324
2352
|
ko: uo,
|
|
@@ -2973,7 +3001,7 @@ function Nc(e, t, n) {
|
|
|
2973
3001
|
}
|
|
2974
3002
|
}
|
|
2975
3003
|
}
|
|
2976
|
-
function
|
|
3004
|
+
function Fi(e, t, n, r, o) {
|
|
2977
3005
|
var i = e.options.guards, a = {
|
|
2978
3006
|
state: o,
|
|
2979
3007
|
cond: t,
|
|
@@ -2986,7 +3014,7 @@ function Oi(e, t, n, r, o) {
|
|
|
2986
3014
|
throw new Error("Guard '".concat(t.type, "' is not implemented on machine '").concat(e.id, "'."));
|
|
2987
3015
|
return s(n, r.data, a);
|
|
2988
3016
|
}
|
|
2989
|
-
function
|
|
3017
|
+
function Oi(e) {
|
|
2990
3018
|
return typeof e == "string" ? {
|
|
2991
3019
|
type: e
|
|
2992
3020
|
} : e;
|
|
@@ -3112,7 +3140,7 @@ function Mi(e, t, n, r) {
|
|
|
3112
3140
|
delay: a
|
|
3113
3141
|
});
|
|
3114
3142
|
}
|
|
3115
|
-
function
|
|
3143
|
+
function Fr(e, t) {
|
|
3116
3144
|
return vt(e, A(A({}, t), {
|
|
3117
3145
|
to: Ke.Parent
|
|
3118
3146
|
}));
|
|
@@ -3123,7 +3151,7 @@ function Uc(e, t, n) {
|
|
|
3123
3151
|
}));
|
|
3124
3152
|
}
|
|
3125
3153
|
function Di() {
|
|
3126
|
-
return
|
|
3154
|
+
return Fr(Nn);
|
|
3127
3155
|
}
|
|
3128
3156
|
function $c(e, t) {
|
|
3129
3157
|
return vt(e, A(A({}, t), {
|
|
@@ -3133,14 +3161,14 @@ function $c(e, t) {
|
|
|
3133
3161
|
}
|
|
3134
3162
|
}));
|
|
3135
3163
|
}
|
|
3136
|
-
var
|
|
3164
|
+
var Fc = function(e, t) {
|
|
3137
3165
|
return {
|
|
3138
3166
|
context: e,
|
|
3139
3167
|
event: t
|
|
3140
3168
|
};
|
|
3141
3169
|
};
|
|
3142
|
-
function
|
|
3143
|
-
return e === void 0 && (e =
|
|
3170
|
+
function Oc(e, t) {
|
|
3171
|
+
return e === void 0 && (e = Fc), {
|
|
3144
3172
|
type: kn,
|
|
3145
3173
|
label: t,
|
|
3146
3174
|
expr: e
|
|
@@ -3248,7 +3276,7 @@ function Hi(e, t) {
|
|
|
3248
3276
|
}));
|
|
3249
3277
|
}
|
|
3250
3278
|
function Mc(e, t) {
|
|
3251
|
-
return
|
|
3279
|
+
return Fr(function(n, r, o) {
|
|
3252
3280
|
return {
|
|
3253
3281
|
type: Ur,
|
|
3254
3282
|
data: K(e) ? e(n, r, o) : e
|
|
@@ -3316,7 +3344,7 @@ function Lt(e, t, n, r, o, i, a) {
|
|
|
3316
3344
|
case Ei: {
|
|
3317
3345
|
var I = v, T = (b = I.conds.find(function(fe) {
|
|
3318
3346
|
var ge = $i(fe.cond, e.options.guards);
|
|
3319
|
-
return !ge ||
|
|
3347
|
+
return !ge || Fi(e, ge, l, r, i ? void 0 : t);
|
|
3320
3348
|
})) === null || b === void 0 ? void 0 : b.actions;
|
|
3321
3349
|
if (!T)
|
|
3322
3350
|
return [];
|
|
@@ -3330,11 +3358,11 @@ function Lt(e, t, n, r, o, i, a) {
|
|
|
3330
3358
|
var T = v.get(l, r.data);
|
|
3331
3359
|
if (!T)
|
|
3332
3360
|
return [];
|
|
3333
|
-
var
|
|
3361
|
+
var F = H(Lt(e, t, l, r, [{
|
|
3334
3362
|
type: h,
|
|
3335
3363
|
actions: Be(Pe(T), e.options.actions)
|
|
3336
|
-
}], i, a), 2),
|
|
3337
|
-
return l = B, c == null || c.push(l),
|
|
3364
|
+
}], i, a), 2), O = F[0], B = F[1];
|
|
3365
|
+
return l = B, c == null || c.push(l), O;
|
|
3338
3366
|
}
|
|
3339
3367
|
case Tn: {
|
|
3340
3368
|
var S = Wi(v, l, r);
|
|
@@ -3402,7 +3430,7 @@ const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3402
3430
|
getActionFunction: gn,
|
|
3403
3431
|
initEvent: et,
|
|
3404
3432
|
isActionObject: Rc,
|
|
3405
|
-
log:
|
|
3433
|
+
log: Oc,
|
|
3406
3434
|
pure: xc,
|
|
3407
3435
|
raise: Ri,
|
|
3408
3436
|
resolveActions: Lt,
|
|
@@ -3412,7 +3440,7 @@ const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3412
3440
|
resolveStop: Wi,
|
|
3413
3441
|
respond: $c,
|
|
3414
3442
|
send: vt,
|
|
3415
|
-
sendParent:
|
|
3443
|
+
sendParent: Fr,
|
|
3416
3444
|
sendTo: Uc,
|
|
3417
3445
|
sendUpdate: Di,
|
|
3418
3446
|
start: Gi,
|
|
@@ -3452,10 +3480,10 @@ function Ki(e) {
|
|
|
3452
3480
|
}, t;
|
|
3453
3481
|
}
|
|
3454
3482
|
function Gc(e, t, n, r) {
|
|
3455
|
-
var o, i =
|
|
3483
|
+
var o, i = Oi(e.src), a = (o = t == null ? void 0 : t.options.services) === null || o === void 0 ? void 0 : o[i.type], s = e.data ? mn(e.data, n, r) : void 0, l = a ? Or(a, e.id, s) : Ki(e.id);
|
|
3456
3484
|
return l.meta = e, l;
|
|
3457
3485
|
}
|
|
3458
|
-
function
|
|
3486
|
+
function Or(e, t, n) {
|
|
3459
3487
|
var r = Ki(t);
|
|
3460
3488
|
if (r.deferred = !0, Le(e)) {
|
|
3461
3489
|
var o = r.state = lt(void 0, function() {
|
|
@@ -3510,7 +3538,7 @@ function Ji(e) {
|
|
|
3510
3538
|
var t = [e];
|
|
3511
3539
|
return yn(e) ? t : t.concat(te(Gt(e).map(Ji)));
|
|
3512
3540
|
}
|
|
3513
|
-
function
|
|
3541
|
+
function Ft(e, t) {
|
|
3514
3542
|
var n, r, o, i, a, s, l, c, u = new Set(e), m = pr(u), f = new Set(t);
|
|
3515
3543
|
try {
|
|
3516
3544
|
for (var p = V(f), h = p.next(); !h.done; h = p.next())
|
|
@@ -3533,24 +3561,24 @@ function Ot(e, t) {
|
|
|
3533
3561
|
for (var w = V(f), y = w.next(); !y.done; y = w.next()) {
|
|
3534
3562
|
var v = y.value;
|
|
3535
3563
|
if (v.type === "compound" && (!g.get(v) || !g.get(v).length))
|
|
3536
|
-
m.get(v) ? m.get(v).forEach(function(
|
|
3537
|
-
return f.add(
|
|
3538
|
-
}) : v.initialStateNodes.forEach(function(
|
|
3539
|
-
return f.add(
|
|
3564
|
+
m.get(v) ? m.get(v).forEach(function(F) {
|
|
3565
|
+
return f.add(F);
|
|
3566
|
+
}) : v.initialStateNodes.forEach(function(F) {
|
|
3567
|
+
return f.add(F);
|
|
3540
3568
|
});
|
|
3541
3569
|
else if (v.type === "parallel")
|
|
3542
3570
|
try {
|
|
3543
3571
|
for (var S = (a = void 0, V(Gt(v))), I = S.next(); !I.done; I = S.next()) {
|
|
3544
3572
|
var T = I.value;
|
|
3545
|
-
f.has(T) || (f.add(T), m.get(T) ? m.get(T).forEach(function(
|
|
3546
|
-
return f.add(
|
|
3547
|
-
}) : T.initialStateNodes.forEach(function(
|
|
3548
|
-
return f.add(
|
|
3573
|
+
f.has(T) || (f.add(T), m.get(T) ? m.get(T).forEach(function(F) {
|
|
3574
|
+
return f.add(F);
|
|
3575
|
+
}) : T.initialStateNodes.forEach(function(F) {
|
|
3576
|
+
return f.add(F);
|
|
3549
3577
|
}));
|
|
3550
3578
|
}
|
|
3551
|
-
} catch (
|
|
3579
|
+
} catch (F) {
|
|
3552
3580
|
a = {
|
|
3553
|
-
error:
|
|
3581
|
+
error: F
|
|
3554
3582
|
};
|
|
3555
3583
|
} finally {
|
|
3556
3584
|
try {
|
|
@@ -3630,10 +3658,10 @@ function pr(e) {
|
|
|
3630
3658
|
return r;
|
|
3631
3659
|
}
|
|
3632
3660
|
function jc(e, t) {
|
|
3633
|
-
var n =
|
|
3661
|
+
var n = Ft([e], t);
|
|
3634
3662
|
return Zi(e, pr(n));
|
|
3635
3663
|
}
|
|
3636
|
-
function
|
|
3664
|
+
function Ot(e, t) {
|
|
3637
3665
|
return Array.isArray(e) ? e.some(function(n) {
|
|
3638
3666
|
return n === t;
|
|
3639
3667
|
}) : e instanceof Set ? e.has(t) : !1;
|
|
@@ -3645,7 +3673,7 @@ function Hc(e) {
|
|
|
3645
3673
|
}
|
|
3646
3674
|
function un(e, t) {
|
|
3647
3675
|
return t.type === "compound" ? Gt(t).some(function(n) {
|
|
3648
|
-
return n.type === "final" &&
|
|
3676
|
+
return n.type === "final" && Ot(e, n);
|
|
3649
3677
|
}) : t.type === "parallel" ? Gt(t).every(function(n) {
|
|
3650
3678
|
return un(e, n);
|
|
3651
3679
|
}) : !1;
|
|
@@ -3994,7 +4022,7 @@ Event: `
|
|
|
3994
4022
|
)
|
|
3995
4023
|
break;
|
|
3996
4024
|
if (w.type === Z.Invoke) {
|
|
3997
|
-
var y =
|
|
4025
|
+
var y = Oi(w.src), S = r.machine.options.services ? r.machine.options.services[y.type] : void 0, I = w.id, T = w.data;
|
|
3998
4026
|
ne || ce(
|
|
3999
4027
|
!("forward" in w),
|
|
4000
4028
|
// tslint:disable-next-line:max-line-length
|
|
@@ -4015,10 +4043,10 @@ Event: `
|
|
|
4015
4043
|
}) : S;
|
|
4016
4044
|
if (!$)
|
|
4017
4045
|
return;
|
|
4018
|
-
var
|
|
4019
|
-
Le($) && ($ = k ? $.withContext(k) : $,
|
|
4046
|
+
var F = void 0;
|
|
4047
|
+
Le($) && ($ = k ? $.withContext(k) : $, F = {
|
|
4020
4048
|
autoForward: P
|
|
4021
|
-
}), r.spawn($, I,
|
|
4049
|
+
}), r.spawn($, I, F);
|
|
4022
4050
|
} else
|
|
4023
4051
|
r.spawnActivity(w);
|
|
4024
4052
|
break;
|
|
@@ -4028,7 +4056,7 @@ Event: `
|
|
|
4028
4056
|
break;
|
|
4029
4057
|
}
|
|
4030
4058
|
case kn:
|
|
4031
|
-
var
|
|
4059
|
+
var O = u, B = O.label, G = O.value;
|
|
4032
4060
|
B ? r.logger(B, G) : r.logger(G);
|
|
4033
4061
|
break;
|
|
4034
4062
|
default:
|
|
@@ -4429,7 +4457,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
|
4429
4457
|
n && (this.removeChild(t), K(n.stop) && n.stop());
|
|
4430
4458
|
}, e.prototype.spawn = function(t, n, r) {
|
|
4431
4459
|
if (this.status !== se.Running)
|
|
4432
|
-
return
|
|
4460
|
+
return Or(t, n);
|
|
4433
4461
|
if (mo(t))
|
|
4434
4462
|
return this.spawnPromise(Promise.resolve(t), n);
|
|
4435
4463
|
if (K(t))
|
|
@@ -4696,7 +4724,7 @@ function Tt(e, t) {
|
|
|
4696
4724
|
var o = Le(e) || K(e);
|
|
4697
4725
|
ce(!!r || o, 'Attempted to spawn an Actor (ID: "'.concat(Le(e) ? e.id : "undefined", '") outside of a service. This will have no effect.'));
|
|
4698
4726
|
}
|
|
4699
|
-
return r ? r.spawn(e, n.name, n) :
|
|
4727
|
+
return r ? r.spawn(e, n.name, n) : Or(e, n.name);
|
|
4700
4728
|
});
|
|
4701
4729
|
}
|
|
4702
4730
|
function Xi(e, t) {
|
|
@@ -4966,7 +4994,7 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
4966
4994
|
var n = ki(t);
|
|
4967
4995
|
return this.events.includes(n);
|
|
4968
4996
|
}, e.prototype.resolveState = function(t) {
|
|
4969
|
-
var n = t instanceof ke ? t : ke.create(t), r = Array.from(
|
|
4997
|
+
var n = t instanceof ke ? t : ke.create(t), r = Array.from(Ft([], this.getStateNodes(n.value)));
|
|
4970
4998
|
return new ke(A(A({}, n), {
|
|
4971
4999
|
value: this.resolve(n.value),
|
|
4972
5000
|
configuration: r,
|
|
@@ -5041,7 +5069,7 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5041
5069
|
$r(Rt(h, this.delimiter), wc(this.path.slice(0, -2))(t.value))
|
|
5042
5070
|
) : !0, g = !1;
|
|
5043
5071
|
try {
|
|
5044
|
-
g = !p ||
|
|
5072
|
+
g = !p || Fi(this.machine, p, v, n, t);
|
|
5045
5073
|
} catch (S) {
|
|
5046
5074
|
throw new Error("Unable to evaluate guard '".concat(p.name || p.type, "' in transition for event '").concat(a, "' in state node '").concat(this.id, `':
|
|
5047
5075
|
`).concat(S.message));
|
|
@@ -5092,17 +5120,17 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5092
5120
|
n.push(r), r = r.parent;
|
|
5093
5121
|
return r !== o ? [] : (n.push(o), n);
|
|
5094
5122
|
}, e.prototype.getActions = function(t, n, r, o, i, a, s) {
|
|
5095
|
-
var l, c, u, m, f = this, p = a ?
|
|
5123
|
+
var l, c, u, m, f = this, p = a ? Ft([], this.getStateNodes(a.value)) : [], h = /* @__PURE__ */ new Set();
|
|
5096
5124
|
try {
|
|
5097
|
-
for (var v = V(Array.from(t).sort(function(
|
|
5098
|
-
return
|
|
5125
|
+
for (var v = V(Array.from(t).sort(function(O, B) {
|
|
5126
|
+
return O.order - B.order;
|
|
5099
5127
|
})), b = v.next(); !b.done; b = v.next()) {
|
|
5100
5128
|
var g = b.value;
|
|
5101
|
-
(!
|
|
5129
|
+
(!Ot(p, g) || Ot(r.exitSet, g) || g.parent && h.has(g.parent)) && h.add(g);
|
|
5102
5130
|
}
|
|
5103
|
-
} catch (
|
|
5131
|
+
} catch (O) {
|
|
5104
5132
|
l = {
|
|
5105
|
-
error:
|
|
5133
|
+
error: O
|
|
5106
5134
|
};
|
|
5107
5135
|
} finally {
|
|
5108
5136
|
try {
|
|
@@ -5115,11 +5143,11 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5115
5143
|
try {
|
|
5116
5144
|
for (var w = V(p), y = w.next(); !y.done; y = w.next()) {
|
|
5117
5145
|
var g = y.value;
|
|
5118
|
-
(!
|
|
5146
|
+
(!Ot(t, g) || Ot(r.exitSet, g.parent)) && r.exitSet.push(g);
|
|
5119
5147
|
}
|
|
5120
|
-
} catch (
|
|
5148
|
+
} catch (O) {
|
|
5121
5149
|
u = {
|
|
5122
|
-
error:
|
|
5150
|
+
error: O
|
|
5123
5151
|
};
|
|
5124
5152
|
} finally {
|
|
5125
5153
|
try {
|
|
@@ -5129,29 +5157,29 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5129
5157
|
throw u.error;
|
|
5130
5158
|
}
|
|
5131
5159
|
}
|
|
5132
|
-
r.exitSet.sort(function(
|
|
5133
|
-
return B.order -
|
|
5160
|
+
r.exitSet.sort(function(O, B) {
|
|
5161
|
+
return B.order - O.order;
|
|
5134
5162
|
});
|
|
5135
|
-
var S = Array.from(h).sort(function(
|
|
5136
|
-
return
|
|
5137
|
-
}), I = new Set(r.exitSet), T = te(S.map(function(
|
|
5163
|
+
var S = Array.from(h).sort(function(O, B) {
|
|
5164
|
+
return O.order - B.order;
|
|
5165
|
+
}), I = new Set(r.exitSet), T = te(S.map(function(O) {
|
|
5138
5166
|
var B = [];
|
|
5139
|
-
if (
|
|
5167
|
+
if (O.type !== "final")
|
|
5140
5168
|
return B;
|
|
5141
|
-
var G =
|
|
5169
|
+
var G = O.parent;
|
|
5142
5170
|
if (!G.parent)
|
|
5143
5171
|
return B;
|
|
5144
5172
|
B.push(
|
|
5145
|
-
$t(
|
|
5173
|
+
$t(O.id, O.doneData),
|
|
5146
5174
|
// TODO: deprecate - final states should not emit done events for their own state.
|
|
5147
|
-
$t(G.id,
|
|
5175
|
+
$t(G.id, O.doneData ? mn(O.doneData, o, i) : void 0)
|
|
5148
5176
|
);
|
|
5149
5177
|
var ae = G.parent;
|
|
5150
5178
|
return ae.type === "parallel" && Gt(ae).every(function(be) {
|
|
5151
5179
|
return un(r.configuration, be);
|
|
5152
5180
|
}) && B.push($t(ae.id)), B;
|
|
5153
|
-
})), P = S.map(function(
|
|
5154
|
-
var B =
|
|
5181
|
+
})), P = S.map(function(O) {
|
|
5182
|
+
var B = O.onEntry, G = O.activities.map(function(ae) {
|
|
5155
5183
|
return Gi(ae);
|
|
5156
5184
|
});
|
|
5157
5185
|
return {
|
|
@@ -5160,13 +5188,13 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5160
5188
|
};
|
|
5161
5189
|
}).concat({
|
|
5162
5190
|
type: "state_done",
|
|
5163
|
-
actions: T.map(function(
|
|
5164
|
-
return Ri(
|
|
5191
|
+
actions: T.map(function(O) {
|
|
5192
|
+
return Ri(O);
|
|
5165
5193
|
})
|
|
5166
|
-
}), k = Array.from(I).map(function(
|
|
5194
|
+
}), k = Array.from(I).map(function(O) {
|
|
5167
5195
|
return {
|
|
5168
5196
|
type: "exit",
|
|
5169
|
-
actions: Be(Q(Q([], H(
|
|
5197
|
+
actions: Be(Q(Q([], H(O.onExit), !1), H(O.activities.map(function(B) {
|
|
5170
5198
|
return zi(B);
|
|
5171
5199
|
})), !1), f.machine.options.actions)
|
|
5172
5200
|
};
|
|
@@ -5175,16 +5203,16 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5175
5203
|
actions: Be(r.actions, this.machine.options.actions)
|
|
5176
5204
|
}).concat(P);
|
|
5177
5205
|
if (n) {
|
|
5178
|
-
var
|
|
5179
|
-
return B.order -
|
|
5180
|
-
}).map(function(
|
|
5181
|
-
return
|
|
5182
|
-
})), this.machine.options.actions).filter(function(
|
|
5183
|
-
return !fr(
|
|
5206
|
+
var F = Be(te(Q([], H(t), !1).sort(function(O, B) {
|
|
5207
|
+
return B.order - O.order;
|
|
5208
|
+
}).map(function(O) {
|
|
5209
|
+
return O.onExit;
|
|
5210
|
+
})), this.machine.options.actions).filter(function(O) {
|
|
5211
|
+
return !fr(O);
|
|
5184
5212
|
});
|
|
5185
5213
|
return $.concat({
|
|
5186
5214
|
type: "stop",
|
|
5187
|
-
actions:
|
|
5215
|
+
actions: F
|
|
5188
5216
|
});
|
|
5189
5217
|
}
|
|
5190
5218
|
return $;
|
|
@@ -5207,7 +5235,7 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5207
5235
|
exitSet: [],
|
|
5208
5236
|
source: a,
|
|
5209
5237
|
actions: []
|
|
5210
|
-
}, u =
|
|
5238
|
+
}, u = Ft([], this.getStateNodes(a.value)), m = c.configuration.length ? Ft(u, c.configuration) : u;
|
|
5211
5239
|
return c.configuration = Q([], H(m), !1), this.resolveTransition(c, a, a.context, o, i);
|
|
5212
5240
|
}, e.prototype.resolveRaisedTransition = function(t, n, r, o) {
|
|
5213
5241
|
var i, a = t.actions;
|
|
@@ -5249,14 +5277,14 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5249
5277
|
throw a.error;
|
|
5250
5278
|
}
|
|
5251
5279
|
}
|
|
5252
|
-
var $ = H(Lt(this, n, r, i, g, o, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2),
|
|
5280
|
+
var $ = H(Lt(this, n, r, i, g, o, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), F = $[0], O = $[1], B = H(Ac(F, fr), 2), G = B[0], ae = B[1], be = F.filter(function(he) {
|
|
5253
5281
|
var We;
|
|
5254
5282
|
return he.type === dn && ((We = he.activity) === null || We === void 0 ? void 0 : We.type) === fn;
|
|
5255
5283
|
}), Te = be.reduce(function(he, We) {
|
|
5256
|
-
return he[We.activity.id] = Gc(We.activity, u.machine,
|
|
5284
|
+
return he[We.activity.id] = Gc(We.activity, u.machine, O, i), he;
|
|
5257
5285
|
}, n ? A({}, n.children) : {}), fe = new ke({
|
|
5258
5286
|
value: v || n.value,
|
|
5259
|
-
context:
|
|
5287
|
+
context: O,
|
|
5260
5288
|
_event: i,
|
|
5261
5289
|
// Persist _sessionid between states
|
|
5262
5290
|
_sessionid: n ? n._sessionid : null,
|
|
@@ -5271,7 +5299,7 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5271
5299
|
done: h,
|
|
5272
5300
|
tags: ho(p),
|
|
5273
5301
|
machine: this
|
|
5274
|
-
}), ge = r !==
|
|
5302
|
+
}), ge = r !== O;
|
|
5275
5303
|
fe.changed = i.name === Nn || ge;
|
|
5276
5304
|
var ve = fe.history;
|
|
5277
5305
|
ve && delete ve.history;
|
|
@@ -5629,7 +5657,7 @@ var ct = "", gr = "#", Pt = "*", at = {}, st = function(e) {
|
|
|
5629
5657
|
function _t(e, t) {
|
|
5630
5658
|
return !ne && !("predictableActionArguments" in e) && !vo && (vo = !0, console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")), new au(e, t);
|
|
5631
5659
|
}
|
|
5632
|
-
var De = Vi,
|
|
5660
|
+
var De = Vi, Fn = Di, su = Hi, Xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5633
5661
|
function ea(e) {
|
|
5634
5662
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5635
5663
|
}
|
|
@@ -5653,7 +5681,7 @@ function pu(e, t) {
|
|
|
5653
5681
|
return n;
|
|
5654
5682
|
return -1;
|
|
5655
5683
|
}
|
|
5656
|
-
var
|
|
5684
|
+
var On = pu, mu = On, gu = Array.prototype, hu = gu.splice;
|
|
5657
5685
|
function yu(e) {
|
|
5658
5686
|
var t = this.__data__, n = mu(t, e);
|
|
5659
5687
|
if (n < 0)
|
|
@@ -5661,16 +5689,16 @@ function yu(e) {
|
|
|
5661
5689
|
var r = t.length - 1;
|
|
5662
5690
|
return n == r ? t.pop() : hu.call(t, n, 1), --this.size, !0;
|
|
5663
5691
|
}
|
|
5664
|
-
var vu = yu, _u =
|
|
5692
|
+
var vu = yu, _u = On;
|
|
5665
5693
|
function wu(e) {
|
|
5666
5694
|
var t = this.__data__, n = _u(t, e);
|
|
5667
5695
|
return n < 0 ? void 0 : t[n][1];
|
|
5668
5696
|
}
|
|
5669
|
-
var Su = wu, bu =
|
|
5697
|
+
var Su = wu, bu = On;
|
|
5670
5698
|
function Cu(e) {
|
|
5671
5699
|
return bu(this.__data__, e) > -1;
|
|
5672
5700
|
}
|
|
5673
|
-
var Au = Cu, Iu =
|
|
5701
|
+
var Au = Cu, Iu = On;
|
|
5674
5702
|
function Eu(e, t) {
|
|
5675
5703
|
var n = this.__data__, r = Iu(n, e);
|
|
5676
5704
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
@@ -5688,11 +5716,11 @@ wt.prototype.delete = ku;
|
|
|
5688
5716
|
wt.prototype.get = Nu;
|
|
5689
5717
|
wt.prototype.has = Uu;
|
|
5690
5718
|
wt.prototype.set = $u;
|
|
5691
|
-
var Rn = wt,
|
|
5692
|
-
function
|
|
5693
|
-
this.__data__ = new
|
|
5719
|
+
var Rn = wt, Fu = Rn;
|
|
5720
|
+
function Ou() {
|
|
5721
|
+
this.__data__ = new Fu(), this.size = 0;
|
|
5694
5722
|
}
|
|
5695
|
-
var Ru =
|
|
5723
|
+
var Ru = Ou;
|
|
5696
5724
|
function xu(e) {
|
|
5697
5725
|
var t = this.__data__, n = t.delete(e);
|
|
5698
5726
|
return this.size = t.size, n;
|
|
@@ -5705,7 +5733,7 @@ var Bu = Du;
|
|
|
5705
5733
|
function Lu(e) {
|
|
5706
5734
|
return this.__data__.has(e);
|
|
5707
5735
|
}
|
|
5708
|
-
var Gu = Lu, zu = typeof Xt == "object" && Xt && Xt.Object === Object && Xt, na = zu, Wu = na, Vu = typeof self == "object" && self && self.Object === Object && self, ju = Wu || Vu || Function("return this")(),
|
|
5736
|
+
var Gu = Lu, zu = typeof Xt == "object" && Xt && Xt.Object === Object && Xt, na = zu, Wu = na, Vu = typeof self == "object" && self && self.Object === Object && self, ju = Wu || Vu || Function("return this")(), Fe = ju, Hu = Fe, Yu = Hu.Symbol, xn = Yu, _o = xn, ra = Object.prototype, Ku = ra.hasOwnProperty, qu = ra.toString, kt = _o ? _o.toStringTag : void 0;
|
|
5709
5737
|
function Ju(e) {
|
|
5710
5738
|
var t = Ku.call(e, kt), n = e[kt];
|
|
5711
5739
|
try {
|
|
@@ -5736,7 +5764,7 @@ function md(e) {
|
|
|
5736
5764
|
var t = ld(e);
|
|
5737
5765
|
return t == dd || t == fd || t == ud || t == pd;
|
|
5738
5766
|
}
|
|
5739
|
-
var xr = md, gd =
|
|
5767
|
+
var xr = md, gd = Fe, hd = gd["__core-js_shared__"], yd = hd, er = yd, bo = function() {
|
|
5740
5768
|
var e = /[^.]+$/.exec(er && er.keys && er.keys.IE_PROTO || "");
|
|
5741
5769
|
return e ? "Symbol(src)_1." + e : "";
|
|
5742
5770
|
}();
|
|
@@ -5757,16 +5785,16 @@ function bd(e) {
|
|
|
5757
5785
|
}
|
|
5758
5786
|
return "";
|
|
5759
5787
|
}
|
|
5760
|
-
var oa = bd, Cd = xr, Ad = _d, Id = Ge, Ed = oa, Td = /[\\^$.*+?()[\]{}|]/g, Pd = /^\[object .+?Constructor\]$/, kd = Function.prototype, Nd = Object.prototype, Ud = kd.toString, $d = Nd.hasOwnProperty,
|
|
5788
|
+
var oa = bd, Cd = xr, Ad = _d, Id = Ge, Ed = oa, Td = /[\\^$.*+?()[\]{}|]/g, Pd = /^\[object .+?Constructor\]$/, kd = Function.prototype, Nd = Object.prototype, Ud = kd.toString, $d = Nd.hasOwnProperty, Fd = RegExp(
|
|
5761
5789
|
"^" + Ud.call($d).replace(Td, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5762
5790
|
);
|
|
5763
|
-
function
|
|
5791
|
+
function Od(e) {
|
|
5764
5792
|
if (!Id(e) || Ad(e))
|
|
5765
5793
|
return !1;
|
|
5766
|
-
var t = Cd(e) ?
|
|
5794
|
+
var t = Cd(e) ? Fd : Pd;
|
|
5767
5795
|
return t.test(Ed(e));
|
|
5768
5796
|
}
|
|
5769
|
-
var Rd =
|
|
5797
|
+
var Rd = Od;
|
|
5770
5798
|
function xd(e, t) {
|
|
5771
5799
|
return e == null ? void 0 : e[t];
|
|
5772
5800
|
}
|
|
@@ -5775,7 +5803,7 @@ function Ld(e, t) {
|
|
|
5775
5803
|
var n = Bd(e, t);
|
|
5776
5804
|
return Dd(n) ? n : void 0;
|
|
5777
5805
|
}
|
|
5778
|
-
var nt = Ld, Gd = nt, zd =
|
|
5806
|
+
var nt = Ld, Gd = nt, zd = Fe, Wd = Gd(zd, "Map"), Mr = Wd, Vd = nt, jd = Vd(Object, "create"), Mn = jd, Co = Mn;
|
|
5779
5807
|
function Hd() {
|
|
5780
5808
|
this.__data__ = Co ? Co(null) : {}, this.size = 0;
|
|
5781
5809
|
}
|
|
@@ -5844,15 +5872,15 @@ function Nf(e) {
|
|
|
5844
5872
|
return kf(this, e).get(e);
|
|
5845
5873
|
}
|
|
5846
5874
|
var Uf = Nf, $f = Dn;
|
|
5847
|
-
function
|
|
5875
|
+
function Ff(e) {
|
|
5848
5876
|
return $f(this, e).has(e);
|
|
5849
5877
|
}
|
|
5850
|
-
var
|
|
5878
|
+
var Of = Ff, Rf = Dn;
|
|
5851
5879
|
function xf(e, t) {
|
|
5852
5880
|
var n = Rf(this, e), r = n.size;
|
|
5853
5881
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
5854
5882
|
}
|
|
5855
|
-
var Mf = xf, Df = Sf, Bf = Pf, Lf = Uf, Gf =
|
|
5883
|
+
var Mf = xf, Df = Sf, Bf = Pf, Lf = Uf, Gf = Of, zf = Mf;
|
|
5856
5884
|
function Ct(e) {
|
|
5857
5885
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5858
5886
|
for (this.clear(); ++t < n; ) {
|
|
@@ -5947,7 +5975,7 @@ function _p(e, t, n, r, o, i) {
|
|
|
5947
5975
|
}
|
|
5948
5976
|
return i.delete(e), i.delete(t), f;
|
|
5949
5977
|
}
|
|
5950
|
-
var ia = _p, wp =
|
|
5978
|
+
var ia = _p, wp = Fe, Sp = wp.Uint8Array, aa = Sp;
|
|
5951
5979
|
function bp(e) {
|
|
5952
5980
|
var t = -1, n = Array(e.size);
|
|
5953
5981
|
return e.forEach(function(r, o) {
|
|
@@ -5961,7 +5989,7 @@ function Ap(e) {
|
|
|
5961
5989
|
n[++t] = r;
|
|
5962
5990
|
}), n;
|
|
5963
5991
|
}
|
|
5964
|
-
var Ip = Ap, Io = xn, Eo = aa, Ep = Vt, Tp = ia, Pp = Cp, kp = Ip, Np = 1, Up = 2, $p = "[object Boolean]",
|
|
5992
|
+
var Ip = Ap, Io = xn, Eo = aa, Ep = Vt, Tp = ia, Pp = Cp, kp = Ip, Np = 1, Up = 2, $p = "[object Boolean]", Fp = "[object Date]", Op = "[object Error]", Rp = "[object Map]", xp = "[object Number]", Mp = "[object RegExp]", Dp = "[object Set]", Bp = "[object String]", Lp = "[object Symbol]", Gp = "[object ArrayBuffer]", zp = "[object DataView]", To = Io ? Io.prototype : void 0, tr = To ? To.valueOf : void 0;
|
|
5965
5993
|
function Wp(e, t, n, r, o, i, a) {
|
|
5966
5994
|
switch (n) {
|
|
5967
5995
|
case zp:
|
|
@@ -5971,10 +5999,10 @@ function Wp(e, t, n, r, o, i, a) {
|
|
|
5971
5999
|
case Gp:
|
|
5972
6000
|
return !(e.byteLength != t.byteLength || !i(new Eo(e), new Eo(t)));
|
|
5973
6001
|
case $p:
|
|
5974
|
-
case
|
|
6002
|
+
case Fp:
|
|
5975
6003
|
case xp:
|
|
5976
6004
|
return Ep(+e, +t);
|
|
5977
|
-
case
|
|
6005
|
+
case Op:
|
|
5978
6006
|
return e.name == t.name && e.message == t.message;
|
|
5979
6007
|
case Mp:
|
|
5980
6008
|
case Bp:
|
|
@@ -6049,7 +6077,7 @@ function hm() {
|
|
|
6049
6077
|
var ym = hm;
|
|
6050
6078
|
_n.exports;
|
|
6051
6079
|
(function(e, t) {
|
|
6052
|
-
var n =
|
|
6080
|
+
var n = Fe, r = ym, o = t && !t.nodeType && t, i = o && !0 && e && !e.nodeType && e, a = i && i.exports === o, s = a ? n.Buffer : void 0, l = s ? s.isBuffer : void 0, c = l || r;
|
|
6053
6081
|
e.exports = c;
|
|
6054
6082
|
})(_n, _n.exports);
|
|
6055
6083
|
var Gr = _n.exports, vm = 9007199254740991, _m = /^(?:0|[1-9]\d*)$/;
|
|
@@ -6061,9 +6089,9 @@ var Bn = wm, Sm = 9007199254740991;
|
|
|
6061
6089
|
function bm(e) {
|
|
6062
6090
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Sm;
|
|
6063
6091
|
}
|
|
6064
|
-
var zr = bm, Cm = St, Am = zr, Im = rt, Em = "[object Arguments]", Tm = "[object Array]", Pm = "[object Boolean]", km = "[object Date]", Nm = "[object Error]", Um = "[object Function]", $m = "[object Map]",
|
|
6092
|
+
var zr = bm, Cm = St, Am = zr, Im = rt, Em = "[object Arguments]", Tm = "[object Array]", Pm = "[object Boolean]", km = "[object Date]", Nm = "[object Error]", Um = "[object Function]", $m = "[object Map]", Fm = "[object Number]", Om = "[object Object]", Rm = "[object RegExp]", xm = "[object Set]", Mm = "[object String]", Dm = "[object WeakMap]", Bm = "[object ArrayBuffer]", Lm = "[object DataView]", Gm = "[object Float32Array]", zm = "[object Float64Array]", Wm = "[object Int8Array]", Vm = "[object Int16Array]", jm = "[object Int32Array]", Hm = "[object Uint8Array]", Ym = "[object Uint8ClampedArray]", Km = "[object Uint16Array]", qm = "[object Uint32Array]", ee = {};
|
|
6065
6093
|
ee[Gm] = ee[zm] = ee[Wm] = ee[Vm] = ee[jm] = ee[Hm] = ee[Ym] = ee[Km] = ee[qm] = !0;
|
|
6066
|
-
ee[Em] = ee[Tm] = ee[Bm] = ee[Pm] = ee[Lm] = ee[km] = ee[Nm] = ee[Um] = ee[$m] = ee[
|
|
6094
|
+
ee[Em] = ee[Tm] = ee[Bm] = ee[Pm] = ee[Lm] = ee[km] = ee[Nm] = ee[Um] = ee[$m] = ee[Fm] = ee[Om] = ee[Rm] = ee[xm] = ee[Mm] = ee[Dm] = !1;
|
|
6067
6095
|
function Jm(e) {
|
|
6068
6096
|
return Im(e) && Am(e.length) && !!ee[Cm(e)];
|
|
6069
6097
|
}
|
|
@@ -6124,9 +6152,9 @@ var Ln = Tg, Pg = fa, kg = Ag, Ng = Ln;
|
|
|
6124
6152
|
function Ug(e) {
|
|
6125
6153
|
return Ng(e) ? Pg(e) : kg(e);
|
|
6126
6154
|
}
|
|
6127
|
-
var ma = Ug, $g = la,
|
|
6155
|
+
var ma = Ug, $g = la, Fg = ua, Og = ma;
|
|
6128
6156
|
function Rg(e) {
|
|
6129
|
-
return $g(e,
|
|
6157
|
+
return $g(e, Og, Fg);
|
|
6130
6158
|
}
|
|
6131
6159
|
var xg = Rg, $o = xg, Mg = 1, Dg = Object.prototype, Bg = Dg.hasOwnProperty;
|
|
6132
6160
|
function Lg(e, t, n, r, o, i) {
|
|
@@ -6160,17 +6188,17 @@ function Lg(e, t, n, r, o, i) {
|
|
|
6160
6188
|
}
|
|
6161
6189
|
return i.delete(e), i.delete(t), v;
|
|
6162
6190
|
}
|
|
6163
|
-
var Gg = Lg, zg = nt, Wg =
|
|
6164
|
-
(hr && Xe(new hr(new ArrayBuffer(1))) != Mo || yr && Xe(new yr()) !=
|
|
6191
|
+
var Gg = Lg, zg = nt, Wg = Fe, Vg = zg(Wg, "DataView"), jg = Vg, Hg = nt, Yg = Fe, Kg = Hg(Yg, "Promise"), qg = Kg, Jg = nt, Zg = Fe, Qg = Jg(Zg, "Set"), Xg = Qg, eh = nt, th = Fe, nh = eh(th, "WeakMap"), rh = nh, hr = jg, yr = Mr, vr = qg, _r = Xg, wr = rh, ga = St, It = oa, Fo = "[object Map]", oh = "[object Object]", Oo = "[object Promise]", Ro = "[object Set]", xo = "[object WeakMap]", Mo = "[object DataView]", ih = It(hr), ah = It(yr), sh = It(vr), lh = It(_r), ch = It(wr), Xe = ga;
|
|
6192
|
+
(hr && Xe(new hr(new ArrayBuffer(1))) != Mo || yr && Xe(new yr()) != Fo || vr && Xe(vr.resolve()) != Oo || _r && Xe(new _r()) != Ro || wr && Xe(new wr()) != xo) && (Xe = function(e) {
|
|
6165
6193
|
var t = ga(e), n = t == oh ? e.constructor : void 0, r = n ? It(n) : "";
|
|
6166
6194
|
if (r)
|
|
6167
6195
|
switch (r) {
|
|
6168
6196
|
case ih:
|
|
6169
6197
|
return Mo;
|
|
6170
6198
|
case ah:
|
|
6171
|
-
return Oo;
|
|
6172
|
-
case sh:
|
|
6173
6199
|
return Fo;
|
|
6200
|
+
case sh:
|
|
6201
|
+
return Oo;
|
|
6174
6202
|
case lh:
|
|
6175
6203
|
return Ro;
|
|
6176
6204
|
case ch:
|
|
@@ -6247,11 +6275,11 @@ function $h(e, t) {
|
|
|
6247
6275
|
return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
|
|
6248
6276
|
};
|
|
6249
6277
|
}
|
|
6250
|
-
var _a = $h,
|
|
6278
|
+
var _a = $h, Fh = Ih, Oh = Uh, Rh = _a;
|
|
6251
6279
|
function xh(e) {
|
|
6252
|
-
var t =
|
|
6280
|
+
var t = Oh(e);
|
|
6253
6281
|
return t.length == 1 && t[0][2] ? Rh(t[0][0], t[0][1]) : function(n) {
|
|
6254
|
-
return n === e ||
|
|
6282
|
+
return n === e || Fh(n, e, t);
|
|
6255
6283
|
};
|
|
6256
6284
|
}
|
|
6257
6285
|
var Mh = xh, Dh = St, Bh = rt, Lh = "[object Symbol]";
|
|
@@ -6333,18 +6361,18 @@ var Iy = Ay;
|
|
|
6333
6361
|
function Ey(e, t) {
|
|
6334
6362
|
return e != null && t in Object(e);
|
|
6335
6363
|
}
|
|
6336
|
-
var Ty = Ey, Py = Gn, ky = Lr, Ny = ze, Uy = Bn, $y = zr,
|
|
6337
|
-
function
|
|
6364
|
+
var Ty = Ey, Py = Gn, ky = Lr, Ny = ze, Uy = Bn, $y = zr, Fy = jt;
|
|
6365
|
+
function Oy(e, t, n) {
|
|
6338
6366
|
t = Py(t, e);
|
|
6339
6367
|
for (var r = -1, o = t.length, i = !1; ++r < o; ) {
|
|
6340
|
-
var a =
|
|
6368
|
+
var a = Fy(t[r]);
|
|
6341
6369
|
if (!(i = e != null && n(e, a)))
|
|
6342
6370
|
break;
|
|
6343
6371
|
e = e[a];
|
|
6344
6372
|
}
|
|
6345
6373
|
return i || ++r != o ? i : (o = e == null ? 0 : e.length, !!o && $y(o) && Uy(a, o) && (Ny(e) || ky(e)));
|
|
6346
6374
|
}
|
|
6347
|
-
var Ry =
|
|
6375
|
+
var Ry = Oy, xy = Ty, My = Ry;
|
|
6348
6376
|
function Dy(e, t) {
|
|
6349
6377
|
return e != null && My(e, t, xy);
|
|
6350
6378
|
}
|
|
@@ -6417,14 +6445,14 @@ function Pv(e, t, n, r) {
|
|
|
6417
6445
|
return e;
|
|
6418
6446
|
}
|
|
6419
6447
|
var kv = Pv, Nv = Kr, Uv = kv, $v = Gn;
|
|
6420
|
-
function
|
|
6448
|
+
function Fv(e, t, n) {
|
|
6421
6449
|
for (var r = -1, o = t.length, i = {}; ++r < o; ) {
|
|
6422
6450
|
var a = t[r], s = Nv(e, a);
|
|
6423
6451
|
n(s, a) && Uv(i, $v(a, e), s);
|
|
6424
6452
|
}
|
|
6425
6453
|
return i;
|
|
6426
6454
|
}
|
|
6427
|
-
var
|
|
6455
|
+
var Ov = Fv, Rv = pa, xv = Rv(Object.getPrototypeOf, Object), Zr = xv, Mv = sa, Dv = Zr, Bv = ua, Lv = ca, Gv = Object.getOwnPropertySymbols, zv = Gv ? function(e) {
|
|
6428
6456
|
for (var t = []; e; )
|
|
6429
6457
|
Mv(t, Bv(e)), e = Dv(e);
|
|
6430
6458
|
return t;
|
|
@@ -6453,7 +6481,7 @@ var Qr = n_, r_ = la, o_ = Wv, i_ = Qr;
|
|
|
6453
6481
|
function a_(e) {
|
|
6454
6482
|
return r_(e, i_, o_);
|
|
6455
6483
|
}
|
|
6456
|
-
var s_ = a_, l_ = ta, c_ = gv, u_ =
|
|
6484
|
+
var s_ = a_, l_ = ta, c_ = gv, u_ = Ov, d_ = s_;
|
|
6457
6485
|
function f_(e, t) {
|
|
6458
6486
|
if (e == null)
|
|
6459
6487
|
return {};
|
|
@@ -6524,12 +6552,12 @@ const m_ = /* @__PURE__ */ ea(p_), g_ = !0, h_ = "", zn = (e, t) => `${e}${t}`.r
|
|
|
6524
6552
|
step: "SHOULD_CONFIRM_USER_ATTRIBUTE"
|
|
6525
6553
|
}), $_ = J({
|
|
6526
6554
|
step: "CONFIRM_ATTRIBUTE_COMPLETE"
|
|
6527
|
-
}),
|
|
6555
|
+
}), F_ = J({
|
|
6528
6556
|
challengeName: (e, { data: t }) => {
|
|
6529
6557
|
const { signInStep: n } = t.nextStep;
|
|
6530
6558
|
return n === "CONFIRM_SIGN_IN_WITH_SMS_CODE" ? "SMS_MFA" : n === "CONFIRM_SIGN_IN_WITH_TOTP_CODE" ? "SOFTWARE_TOKEN_MFA" : void 0;
|
|
6531
6559
|
}
|
|
6532
|
-
}),
|
|
6560
|
+
}), O_ = J({
|
|
6533
6561
|
username: ({ formValues: e, loginMechanisms: t }) => {
|
|
6534
6562
|
const n = t[0], { username: r, country_code: o } = e;
|
|
6535
6563
|
return n === "phone_number" ? zn(o, r) : r;
|
|
@@ -6604,7 +6632,7 @@ const m_ = /* @__PURE__ */ ea(p_), g_ = !0, h_ = "", zn = (e, t) => `${e}${t}`.r
|
|
|
6604
6632
|
handleBlur: Y_,
|
|
6605
6633
|
handleInput: j_,
|
|
6606
6634
|
handleSubmit: H_,
|
|
6607
|
-
setChallengeName:
|
|
6635
|
+
setChallengeName: F_,
|
|
6608
6636
|
setCodeDeliveryDetails: V_,
|
|
6609
6637
|
setFieldErrors: G_,
|
|
6610
6638
|
setMissingAttributes: L_,
|
|
@@ -6620,7 +6648,7 @@ const m_ = /* @__PURE__ */ ea(p_), g_ = !0, h_ = "", zn = (e, t) => `${e}${t}`.r
|
|
|
6620
6648
|
setTotpSecretCode: k_,
|
|
6621
6649
|
setUser: W_,
|
|
6622
6650
|
setUnverifiedUserAttributes: K_,
|
|
6623
|
-
setUsernameForgotPassword:
|
|
6651
|
+
setUsernameForgotPassword: O_,
|
|
6624
6652
|
setUsernameSignIn: x_,
|
|
6625
6653
|
setUsernameSignUp: R_
|
|
6626
6654
|
}, Q_ = [
|
|
@@ -6671,7 +6699,7 @@ function Sw(e) {
|
|
|
6671
6699
|
var bw = Sw, Cw = bw, Aw = Cw(), Iw = Aw, Sn = { exports: {} };
|
|
6672
6700
|
Sn.exports;
|
|
6673
6701
|
(function(e, t) {
|
|
6674
|
-
var n =
|
|
6702
|
+
var n = Fe, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, a = i ? n.Buffer : void 0, s = a ? a.allocUnsafe : void 0;
|
|
6675
6703
|
function l(c, u) {
|
|
6676
6704
|
if (u)
|
|
6677
6705
|
return c.slice();
|
|
@@ -6697,11 +6725,11 @@ function $w(e, t) {
|
|
|
6697
6725
|
t[n] = e[n];
|
|
6698
6726
|
return t;
|
|
6699
6727
|
}
|
|
6700
|
-
var
|
|
6728
|
+
var Fw = $w, Ow = Ge, Qo = Object.create, Rw = /* @__PURE__ */ function() {
|
|
6701
6729
|
function e() {
|
|
6702
6730
|
}
|
|
6703
6731
|
return function(t) {
|
|
6704
|
-
if (!
|
|
6732
|
+
if (!Ow(t))
|
|
6705
6733
|
return {};
|
|
6706
6734
|
if (Qo)
|
|
6707
6735
|
return Qo(t);
|
|
@@ -6746,7 +6774,7 @@ var aS = iS, sS = aS, lS = Qr;
|
|
|
6746
6774
|
function cS(e) {
|
|
6747
6775
|
return sS(e, lS(e));
|
|
6748
6776
|
}
|
|
6749
|
-
var uS = cS, Xo = Aa, dS = Ew, fS = Uw, pS =
|
|
6777
|
+
var uS = cS, Xo = Aa, dS = Ew, fS = Uw, pS = Fw, mS = Gw, ei = Lr, ti = ze, gS = jw, hS = Gr, yS = xr, vS = Ge, _S = tS, wS = Wr, ni = Ea, SS = uS;
|
|
6750
6778
|
function bS(e, t, n, r, o, i, a) {
|
|
6751
6779
|
var s = ni(e, n), l = ni(t, n), c = a.get(l);
|
|
6752
6780
|
if (c) {
|
|
@@ -6785,7 +6813,7 @@ function $S(e, t, n) {
|
|
|
6785
6813
|
}
|
|
6786
6814
|
return e.apply(t, n);
|
|
6787
6815
|
}
|
|
6788
|
-
var
|
|
6816
|
+
var FS = $S, OS = FS, ri = Math.max;
|
|
6789
6817
|
function RS(e, t, n) {
|
|
6790
6818
|
return t = ri(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
6791
6819
|
for (var r = arguments, o = -1, i = ri(r.length - t, 0), a = Array(i); ++o < i; )
|
|
@@ -6793,7 +6821,7 @@ function RS(e, t, n) {
|
|
|
6793
6821
|
o = -1;
|
|
6794
6822
|
for (var s = Array(t + 1); ++o < t; )
|
|
6795
6823
|
s[o] = r[o];
|
|
6796
|
-
return s[t] = n(a),
|
|
6824
|
+
return s[t] = n(a), OS(e, this, s);
|
|
6797
6825
|
};
|
|
6798
6826
|
}
|
|
6799
6827
|
var xS = RS;
|
|
@@ -7046,7 +7074,7 @@ function Sb({ services: e }) {
|
|
|
7046
7074
|
}
|
|
7047
7075
|
}, {
|
|
7048
7076
|
// sendUpdate is a HOC
|
|
7049
|
-
actions: { ...Ht, sendUpdate:
|
|
7077
|
+
actions: { ...Ht, sendUpdate: Fn() },
|
|
7050
7078
|
guards: Wn,
|
|
7051
7079
|
services: {
|
|
7052
7080
|
handleResetPassword({ username: t }) {
|
|
@@ -7336,7 +7364,7 @@ function Cb({ services: e }) {
|
|
|
7336
7364
|
}
|
|
7337
7365
|
}, {
|
|
7338
7366
|
// sendUpdate is a HOC
|
|
7339
|
-
actions: { ...Ht, sendUpdate:
|
|
7367
|
+
actions: { ...Ht, sendUpdate: Fn() },
|
|
7340
7368
|
guards: Wn,
|
|
7341
7369
|
services: {
|
|
7342
7370
|
async fetchUserAttributes() {
|
|
@@ -7626,7 +7654,7 @@ function Tb({ services: e }) {
|
|
|
7626
7654
|
}
|
|
7627
7655
|
}, {
|
|
7628
7656
|
// sendUpdate is a HOC
|
|
7629
|
-
actions: { ...Ht, sendUpdate:
|
|
7657
|
+
actions: { ...Ht, sendUpdate: Fn() },
|
|
7630
7658
|
guards: Wn,
|
|
7631
7659
|
services: {
|
|
7632
7660
|
autoSignIn() {
|
|
@@ -7758,7 +7786,7 @@ function kb() {
|
|
|
7758
7786
|
}
|
|
7759
7787
|
}, {
|
|
7760
7788
|
// sendUpdate is a HOC
|
|
7761
|
-
actions: { ...Ht, sendUpdate:
|
|
7789
|
+
actions: { ...Ht, sendUpdate: Fn() },
|
|
7762
7790
|
services: {
|
|
7763
7791
|
sendUserAttributeVerificationCode({ formValues: { unverifiedAttr: e } }) {
|
|
7764
7792
|
return Is({
|
|
@@ -7804,10 +7832,10 @@ const nn = (e, t) => {
|
|
|
7804
7832
|
},
|
|
7805
7833
|
SIGN_OUT: "#authenticator.signOut"
|
|
7806
7834
|
}
|
|
7807
|
-
},
|
|
7835
|
+
}, Fb = {
|
|
7808
7836
|
always: { actions: "configure", target: "getConfig" }
|
|
7809
7837
|
};
|
|
7810
|
-
function
|
|
7838
|
+
function Ob(e) {
|
|
7811
7839
|
const { useNextWaitConfig: t, ...n } = e ?? {};
|
|
7812
7840
|
return _t({
|
|
7813
7841
|
id: "authenticator",
|
|
@@ -7832,7 +7860,7 @@ function Fb(e) {
|
|
|
7832
7860
|
setup: {
|
|
7833
7861
|
initial: "initConfig",
|
|
7834
7862
|
states: {
|
|
7835
|
-
initConfig: t ?
|
|
7863
|
+
initConfig: t ? Fb : $b,
|
|
7836
7864
|
getConfig: {
|
|
7837
7865
|
invoke: {
|
|
7838
7866
|
src: "getAmplifyConfig",
|
|
@@ -8336,7 +8364,7 @@ const pe = {
|
|
|
8336
8364
|
switch (e) {
|
|
8337
8365
|
case "Authenticator": {
|
|
8338
8366
|
Qe({
|
|
8339
|
-
...
|
|
8367
|
+
...Fs,
|
|
8340
8368
|
additionalDetails: [[e], r]
|
|
8341
8369
|
});
|
|
8342
8370
|
break;
|
|
@@ -8351,7 +8379,7 @@ const pe = {
|
|
|
8351
8379
|
}
|
|
8352
8380
|
case "FileUploader": {
|
|
8353
8381
|
Qe({
|
|
8354
|
-
...
|
|
8382
|
+
...Os,
|
|
8355
8383
|
additionalDetails: [[e], r]
|
|
8356
8384
|
});
|
|
8357
8385
|
break;
|
|
@@ -8407,7 +8435,7 @@ const pe = {
|
|
|
8407
8435
|
fill: "currentColor"
|
|
8408
8436
|
}, [
|
|
8409
8437
|
/* @__PURE__ */ x("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
|
|
8410
|
-
], -1),
|
|
8438
|
+
], -1), Oe = /* @__PURE__ */ q({
|
|
8411
8439
|
__name: "base-alert",
|
|
8412
8440
|
setup(e) {
|
|
8413
8441
|
const t = le(!0), n = N("Dismiss alert");
|
|
@@ -8497,7 +8525,7 @@ const jb = (e) => {
|
|
|
8497
8525
|
...(r = (n = (t = Tr(e)) == null ? void 0 : t.formFields) == null ? void 0 : n.setupTotp) == null ? void 0 : r.QR
|
|
8498
8526
|
};
|
|
8499
8527
|
}, Xr = ka(() => {
|
|
8500
|
-
const e =
|
|
8528
|
+
const e = Ob(), t = Xi(e).start(), n = le("configuring"), { state: r, send: o } = Vb(t), i = () => {
|
|
8501
8529
|
n.value = "authenticated";
|
|
8502
8530
|
}, a = () => {
|
|
8503
8531
|
n.value = "unauthenticated";
|
|
@@ -9008,7 +9036,7 @@ const Hn = /* @__PURE__ */ In(Yb, [["render", qb]]), Jb = ["aria-label", "aria-c
|
|
|
9008
9036
|
o();
|
|
9009
9037
|
};
|
|
9010
9038
|
return (b, g) => {
|
|
9011
|
-
const w = Re, y =
|
|
9039
|
+
const w = Re, y = Oe, S = we, I = me, T = Ue, P = Ne;
|
|
9012
9040
|
return E(b.$slots, "signInSlotI", oe(ie(b.$attrs)), () => [
|
|
9013
9041
|
E(b.$slots, "header"),
|
|
9014
9042
|
C(I, oe(ie(b.$attrs)), {
|
|
@@ -9097,12 +9125,12 @@ const Hn = /* @__PURE__ */ In(Yb, [["render", qb]]), Jb = ["aria-label", "aria-c
|
|
|
9097
9125
|
]);
|
|
9098
9126
|
};
|
|
9099
9127
|
}
|
|
9100
|
-
}),
|
|
9128
|
+
}), Fa = /* @__PURE__ */ q({
|
|
9101
9129
|
__name: "authenticator-sign-up-form-fields",
|
|
9102
9130
|
setup(e) {
|
|
9103
9131
|
return (t, n) => (U(), W(xe, { route: "signUp" }));
|
|
9104
9132
|
}
|
|
9105
|
-
}),
|
|
9133
|
+
}), Oa = /* @__PURE__ */ q({
|
|
9106
9134
|
__name: "sign-up",
|
|
9107
9135
|
setup(e) {
|
|
9108
9136
|
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) => {
|
|
@@ -9120,7 +9148,7 @@ const Hn = /* @__PURE__ */ In(Yb, [["render", qb]]), Jb = ["aria-label", "aria-c
|
|
|
9120
9148
|
n($e(p));
|
|
9121
9149
|
};
|
|
9122
9150
|
return (p, h) => {
|
|
9123
|
-
const v = Re, b =
|
|
9151
|
+
const v = Re, b = Oe, g = we, w = me, y = Ue, S = Ne;
|
|
9124
9152
|
return E(p.$slots, "signUpSlotI", oe(ie(p.$attrs)), () => [
|
|
9125
9153
|
E(p.$slots, "header"),
|
|
9126
9154
|
C(w, oe(ie(p.$attrs)), {
|
|
@@ -9142,7 +9170,7 @@ const Hn = /* @__PURE__ */ In(Yb, [["render", qb]]), Jb = ["aria-label", "aria-c
|
|
|
9142
9170
|
E(p.$slots, "signup-fields", { info: I })
|
|
9143
9171
|
]),
|
|
9144
9172
|
default: _(() => [
|
|
9145
|
-
C(
|
|
9173
|
+
C(Fa)
|
|
9146
9174
|
]),
|
|
9147
9175
|
_: 3
|
|
9148
9176
|
}, 8, ["disabled"]),
|
|
@@ -9224,7 +9252,7 @@ const S1 = /* @__PURE__ */ In(_1, [["render", w1]]), b1 = ["tabindex", "aria-sel
|
|
|
9224
9252
|
role: "tab"
|
|
9225
9253
|
}, R(d(o)), 11, b1));
|
|
9226
9254
|
}
|
|
9227
|
-
}), A1 = "4.2.
|
|
9255
|
+
}), A1 = "4.2.18", I1 = {};
|
|
9228
9256
|
function E1(e, t) {
|
|
9229
9257
|
return E(e.$slots, "textI", oe(ie(e.$attrs)), () => [
|
|
9230
9258
|
x("span", Ie(e.$attrs, { "data-amplify-text": "" }), [
|
|
@@ -9268,7 +9296,7 @@ const Ra = /* @__PURE__ */ In(I1, [["render", E1]]), Je = q({
|
|
|
9268
9296
|
i();
|
|
9269
9297
|
};
|
|
9270
9298
|
return (S, I) => {
|
|
9271
|
-
const T = Je, P = Ra, k = Re, $ =
|
|
9299
|
+
const T = Je, P = Ra, k = Re, $ = Oe, F = we, O = Ne, B = me, G = Ue;
|
|
9272
9300
|
return E(S.$slots, "confirmSignUpSlotI", oe(ie(S.$attrs)), () => [
|
|
9273
9301
|
C(B, oe(ie(S.$attrs)), {
|
|
9274
9302
|
default: _(() => [
|
|
@@ -9305,7 +9333,7 @@ const Ra = /* @__PURE__ */ In(I1, [["render", E1]]), Je = q({
|
|
|
9305
9333
|
]),
|
|
9306
9334
|
_: 1
|
|
9307
9335
|
}, 8, ["disabled"]),
|
|
9308
|
-
C(
|
|
9336
|
+
C(O, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
9309
9337
|
default: _(() => [
|
|
9310
9338
|
d(r) ? (U(), W($, { key: 0 }, {
|
|
9311
9339
|
default: _(() => [
|
|
@@ -9313,7 +9341,7 @@ const Ra = /* @__PURE__ */ In(I1, [["render", E1]]), Je = q({
|
|
|
9313
9341
|
]),
|
|
9314
9342
|
_: 1
|
|
9315
9343
|
})) : j("", !0),
|
|
9316
|
-
C(
|
|
9344
|
+
C(F, {
|
|
9317
9345
|
class: "amplify-field-group__control amplify-authenticator__font",
|
|
9318
9346
|
fullwidth: !1,
|
|
9319
9347
|
loading: !1,
|
|
@@ -9326,7 +9354,7 @@ const Ra = /* @__PURE__ */ In(I1, [["render", E1]]), Je = q({
|
|
|
9326
9354
|
]),
|
|
9327
9355
|
_: 1
|
|
9328
9356
|
}, 8, ["disabled"]),
|
|
9329
|
-
C(
|
|
9357
|
+
C(F, {
|
|
9330
9358
|
class: "amplify-field-group__control amplify-authenticator__font",
|
|
9331
9359
|
fullwidth: !1,
|
|
9332
9360
|
variation: "default",
|
|
@@ -9367,11 +9395,11 @@ const Ra = /* @__PURE__ */ In(I1, [["render", E1]]), Je = q({
|
|
|
9367
9395
|
r();
|
|
9368
9396
|
};
|
|
9369
9397
|
return (w, y) => {
|
|
9370
|
-
const S = Je, I = me, T =
|
|
9398
|
+
const S = Je, I = me, T = Oe, P = we, k = Ne, $ = Re, F = Ue;
|
|
9371
9399
|
return E(w.$slots, "confirmSignInSlotI", oe(ie(w.$attrs)), () => [
|
|
9372
9400
|
C(I, oe(ie(w.$attrs)), {
|
|
9373
9401
|
default: _(() => [
|
|
9374
|
-
C(
|
|
9402
|
+
C(F, {
|
|
9375
9403
|
"data-amplify-authenticator-confirmsignin": "",
|
|
9376
9404
|
onInput: v,
|
|
9377
9405
|
onSubmit: ue(b, ["prevent"])
|
|
@@ -10155,16 +10183,16 @@ ro.isValid = function(t) {
|
|
|
10155
10183
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
10156
10184
|
};
|
|
10157
10185
|
var Me = {};
|
|
10158
|
-
const Ha = "[0-9]+",
|
|
10186
|
+
const Ha = "[0-9]+", F1 = "[A-Z $%*+\\-./:]+";
|
|
10159
10187
|
let zt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
10160
10188
|
zt = zt.replace(/u/g, "\\u");
|
|
10161
|
-
const
|
|
10189
|
+
const O1 = "(?:(?![A-Z0-9 $%*+\\-./:]|" + zt + `)(?:.|[\r
|
|
10162
10190
|
]))+`;
|
|
10163
10191
|
Me.KANJI = new RegExp(zt, "g");
|
|
10164
10192
|
Me.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
10165
|
-
Me.BYTE = new RegExp(
|
|
10193
|
+
Me.BYTE = new RegExp(O1, "g");
|
|
10166
10194
|
Me.NUMERIC = new RegExp(Ha, "g");
|
|
10167
|
-
Me.ALPHANUMERIC = new RegExp(
|
|
10195
|
+
Me.ALPHANUMERIC = new RegExp(F1, "g");
|
|
10168
10196
|
const R1 = new RegExp("^" + zt + "$"), x1 = new RegExp("^" + Ha + "$"), M1 = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
10169
10197
|
Me.testKanji = function(t) {
|
|
10170
10198
|
return R1.test(t);
|
|
@@ -10625,11 +10653,11 @@ var J1 = Ja.exports;
|
|
|
10625
10653
|
for (let T = 0; T < g.length; T++) {
|
|
10626
10654
|
const P = g[T], k = [];
|
|
10627
10655
|
for (let $ = 0; $ < P.length; $++) {
|
|
10628
|
-
const
|
|
10629
|
-
k.push(
|
|
10656
|
+
const F = P[$], O = "" + T + $;
|
|
10657
|
+
k.push(O), y[O] = { node: F, lastCount: 0 }, S[O] = {};
|
|
10630
10658
|
for (let B = 0; B < I.length; B++) {
|
|
10631
10659
|
const G = I[B];
|
|
10632
|
-
y[G] && y[G].node.mode ===
|
|
10660
|
+
y[G] && y[G].node.mode === F.mode ? (S[G][O] = f(y[G].lastCount + F.length, F.mode) - f(y[G].lastCount, F.mode), y[G].lastCount += F.length) : (y[G] && (y[G].lastCount = F.length), S[G][O] = f(F.length, F.mode) + 4 + t.getCharCountIndicator(F.mode, w));
|
|
10633
10661
|
}
|
|
10634
10662
|
}
|
|
10635
10663
|
I = k;
|
|
@@ -10955,24 +10983,24 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
10955
10983
|
di(async () => {
|
|
10956
10984
|
try {
|
|
10957
10985
|
h.qrCodeImageSource = await Yt.toDataURL(p);
|
|
10958
|
-
} catch (
|
|
10959
|
-
t.error(
|
|
10986
|
+
} catch (F) {
|
|
10987
|
+
t.error(F);
|
|
10960
10988
|
} finally {
|
|
10961
10989
|
h.isLoading = !1;
|
|
10962
10990
|
}
|
|
10963
10991
|
});
|
|
10964
|
-
const I = D(() => g()), T = D(() => w()), P = (
|
|
10965
|
-
const { name:
|
|
10966
|
-
r({ name:
|
|
10967
|
-
}, k = (
|
|
10968
|
-
o($e(
|
|
10992
|
+
const I = D(() => g()), T = D(() => w()), P = (F) => {
|
|
10993
|
+
const { name: O, value: B } = F.target;
|
|
10994
|
+
r({ name: O, value: B });
|
|
10995
|
+
}, k = (F) => {
|
|
10996
|
+
o($e(F));
|
|
10969
10997
|
}, $ = () => {
|
|
10970
10998
|
i();
|
|
10971
10999
|
};
|
|
10972
|
-
return (
|
|
10973
|
-
const B = Je, G = me, ae =
|
|
10974
|
-
return E(
|
|
10975
|
-
C(G, oe(ie(
|
|
11000
|
+
return (F, O) => {
|
|
11001
|
+
const B = Je, G = me, ae = Oe, be = we, Te = Ne, fe = Re, ge = Ue;
|
|
11002
|
+
return E(F.$slots, "confirmSetupTotpI", oe(ie(F.$attrs)), () => [
|
|
11003
|
+
C(G, oe(ie(F.$attrs)), {
|
|
10976
11004
|
default: _(() => [
|
|
10977
11005
|
C(ge, {
|
|
10978
11006
|
"data-amplify-authenticator-setup-totp": "",
|
|
@@ -10987,7 +11015,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
10987
11015
|
default: _(() => [
|
|
10988
11016
|
C(G, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
10989
11017
|
default: _(() => [
|
|
10990
|
-
E(
|
|
11018
|
+
E(F.$slots, "header", {}, () => [
|
|
10991
11019
|
C(B, {
|
|
10992
11020
|
class: "amplify-heading",
|
|
10993
11021
|
level: 3
|
|
@@ -11067,7 +11095,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11067
11095
|
]),
|
|
11068
11096
|
_: 1
|
|
11069
11097
|
}, 8, ["onClick"]),
|
|
11070
|
-
E(
|
|
11098
|
+
E(F.$slots, "footer")
|
|
11071
11099
|
]),
|
|
11072
11100
|
_: 3
|
|
11073
11101
|
})
|
|
@@ -11109,18 +11137,18 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11109
11137
|
o({ name: S });
|
|
11110
11138
|
}
|
|
11111
11139
|
return (y, S) => {
|
|
11112
|
-
const I = Je, T = me, P =
|
|
11140
|
+
const I = Je, T = me, P = Oe, k = we, $ = Ne, F = Re, O = Ue;
|
|
11113
11141
|
return E(y.$slots, "forceNewPasswordI", oe(ie(y.$attrs)), () => [
|
|
11114
11142
|
C(T, oe(ie(y.$attrs)), {
|
|
11115
11143
|
default: _(() => [
|
|
11116
|
-
C(
|
|
11144
|
+
C(O, {
|
|
11117
11145
|
"data-amplify-authenticator-forcenewpassword": "",
|
|
11118
11146
|
onInput: g,
|
|
11119
11147
|
onBlurCapture: w,
|
|
11120
11148
|
onSubmit: ue(v, ["prevent"])
|
|
11121
11149
|
}, {
|
|
11122
11150
|
default: _(() => [
|
|
11123
|
-
C(
|
|
11151
|
+
C(F, {
|
|
11124
11152
|
class: "amplify-flex amplify-authenticator__column",
|
|
11125
11153
|
disabled: d(s)
|
|
11126
11154
|
}, {
|
|
@@ -11213,7 +11241,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11213
11241
|
r();
|
|
11214
11242
|
};
|
|
11215
11243
|
return (b, g) => {
|
|
11216
|
-
const w = Je, y = Re, S =
|
|
11244
|
+
const w = Je, y = Re, S = Oe, I = we, T = Ne, P = me, k = Ue;
|
|
11217
11245
|
return E(b.$slots, "forgotPasswordSlotI", oe(ie(b.$attrs)), () => [
|
|
11218
11246
|
C(k, Ie(b.$attrs, {
|
|
11219
11247
|
"data-amplify-authenticator-forgotpassword": "",
|
|
@@ -11311,18 +11339,18 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11311
11339
|
o({ name: S });
|
|
11312
11340
|
}
|
|
11313
11341
|
return (y, S) => {
|
|
11314
|
-
const I = Je, T = me, P =
|
|
11342
|
+
const I = Je, T = me, P = Oe, k = we, $ = Ne, F = Re, O = Ue;
|
|
11315
11343
|
return E(y.$slots, "confirmResetPasswordSlotI", oe(ie(y.$attrs)), () => [
|
|
11316
11344
|
C(T, oe(ie(y.$attrs)), {
|
|
11317
11345
|
default: _(() => [
|
|
11318
|
-
C(
|
|
11346
|
+
C(O, {
|
|
11319
11347
|
"data-amplify-authenticator-confirmResetpassword": "",
|
|
11320
11348
|
onInput: g,
|
|
11321
11349
|
onBlurCapture: w,
|
|
11322
11350
|
onSubmit: ue(h, ["prevent"])
|
|
11323
11351
|
}, {
|
|
11324
11352
|
default: _(() => [
|
|
11325
|
-
C(
|
|
11353
|
+
C(F, {
|
|
11326
11354
|
class: "amplify-flex amplify-authenticator__column",
|
|
11327
11355
|
disabled: d(s)
|
|
11328
11356
|
}, {
|
|
@@ -11407,9 +11435,9 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11407
11435
|
i();
|
|
11408
11436
|
};
|
|
11409
11437
|
return (S, I) => {
|
|
11410
|
-
const T = Je, P = Hn, k = Ra, $ = jn,
|
|
11438
|
+
const T = Je, P = Hn, k = Ra, $ = jn, F = me, O = Oe, B = we, G = Ne, ae = Re, be = Ue;
|
|
11411
11439
|
return E(S.$slots, "verifyUserSlotI", {}, () => [
|
|
11412
|
-
C(
|
|
11440
|
+
C(F, null, {
|
|
11413
11441
|
default: _(() => [
|
|
11414
11442
|
C(be, {
|
|
11415
11443
|
onInput: b,
|
|
@@ -11432,7 +11460,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11432
11460
|
_: 1
|
|
11433
11461
|
})
|
|
11434
11462
|
]),
|
|
11435
|
-
C(
|
|
11463
|
+
C(F, { class: "amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column" }, {
|
|
11436
11464
|
default: _(() => [
|
|
11437
11465
|
C(P, {
|
|
11438
11466
|
class: "amplify-visually-hidden amplify-label",
|
|
@@ -11443,7 +11471,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11443
11471
|
]),
|
|
11444
11472
|
_: 1
|
|
11445
11473
|
}),
|
|
11446
|
-
C(
|
|
11474
|
+
C(F, {
|
|
11447
11475
|
class: "amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column",
|
|
11448
11476
|
"aria-labelledby": "amplify-field-493c"
|
|
11449
11477
|
}, {
|
|
@@ -11486,7 +11514,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11486
11514
|
}),
|
|
11487
11515
|
C(G, { class: "amplify-flex amplify-authenticator__column" }, {
|
|
11488
11516
|
default: _(() => [
|
|
11489
|
-
d(o) ? (U(), W(
|
|
11517
|
+
d(o) ? (U(), W(O, { key: 0 }, {
|
|
11490
11518
|
default: _(() => [
|
|
11491
11519
|
M(R(d(N)(d(o))), 1)
|
|
11492
11520
|
]),
|
|
@@ -11548,7 +11576,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11548
11576
|
o();
|
|
11549
11577
|
};
|
|
11550
11578
|
return (g, w) => {
|
|
11551
|
-
const y = Je, S = me, I =
|
|
11579
|
+
const y = Je, S = me, I = Oe, T = we, P = Ne, k = Re, $ = Ue;
|
|
11552
11580
|
return E(g.$slots, "confirmVerifyUserSlotI", oe(ie(g.$attrs)), () => [
|
|
11553
11581
|
C(S, oe(ie(g.$attrs)), {
|
|
11554
11582
|
default: _(() => [
|
|
@@ -11675,7 +11703,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11675
11703
|
}), gs(() => {
|
|
11676
11704
|
u(), v();
|
|
11677
11705
|
});
|
|
11678
|
-
const T = le(), P = le(), k = le(), $ = le(),
|
|
11706
|
+
const T = le(), P = le(), k = le(), $ = le(), F = le(), O = le(), B = le(), G = le(), ae = le(), be = le(), { getSignInTabText: Te, getSignUpTabText: fe } = Ee, ge = D(() => Te()), ve = D(() => fe()), ot = D(() => g.value === "signIn" || g.value === "signUp"), _e = D(() => [
|
|
11679
11707
|
"confirmResetPassword",
|
|
11680
11708
|
"confirmSignIn",
|
|
11681
11709
|
"confirmSignUp",
|
|
@@ -11746,7 +11774,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11746
11774
|
]),
|
|
11747
11775
|
_: 3
|
|
11748
11776
|
}, 512)) : j("", !0),
|
|
11749
|
-
d(g) === "signUp" && !d(l) ? (U(), W(
|
|
11777
|
+
d(g) === "signUp" && !d(l) ? (U(), W(Oa, {
|
|
11750
11778
|
key: 1,
|
|
11751
11779
|
id: "signUp-panel",
|
|
11752
11780
|
class: "amplify-tabs__panel amplify-tabs__panel--active",
|
|
@@ -11837,7 +11865,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11837
11865
|
d(g) === "setupTotp" ? (U(), W(wC, {
|
|
11838
11866
|
key: 6,
|
|
11839
11867
|
ref_key: "confirmSetupTotpComponent",
|
|
11840
|
-
ref:
|
|
11868
|
+
ref: F
|
|
11841
11869
|
}, {
|
|
11842
11870
|
confirmSetupTotpI: _(() => [
|
|
11843
11871
|
E(L.$slots, "setup-totp")
|
|
@@ -11853,7 +11881,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11853
11881
|
d(g) === "forceNewPassword" ? (U(), W(ts, {
|
|
11854
11882
|
key: 7,
|
|
11855
11883
|
ref_key: "forceNewPasswordComponent",
|
|
11856
|
-
ref:
|
|
11884
|
+
ref: O
|
|
11857
11885
|
}, {
|
|
11858
11886
|
forceNewPasswordI: _(() => [
|
|
11859
11887
|
E(L.$slots, "force-new-password")
|
|
@@ -11970,8 +11998,8 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
11970
11998
|
], 64);
|
|
11971
11999
|
};
|
|
11972
12000
|
}
|
|
11973
|
-
}), PC = { class: "amplify-flex amplify-field amplify-checkboxfield" }, kC = { class: "amplify-flex amplify-checkbox" }, NC = { class: "amplify-visually-hidden" }, UC = ["data-error", "data-checked"], $C = ["data-checked"],
|
|
11974
|
-
|
|
12001
|
+
}), PC = { class: "amplify-flex amplify-field amplify-checkboxfield" }, kC = { class: "amplify-flex amplify-checkbox" }, NC = { class: "amplify-visually-hidden" }, UC = ["data-error", "data-checked"], $C = ["data-checked"], FC = /* @__PURE__ */ x("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1), OC = [
|
|
12002
|
+
FC
|
|
11975
12003
|
], RC = { class: "amplify-text amplify-checkbox__label" }, xC = {
|
|
11976
12004
|
key: 0,
|
|
11977
12005
|
class: "amplify-text amplify-field__error-message"
|
|
@@ -12011,7 +12039,7 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
12011
12039
|
viewBox: "0 0 24 24",
|
|
12012
12040
|
fill: "currentColor",
|
|
12013
12041
|
"data-checked": n.value
|
|
12014
|
-
},
|
|
12042
|
+
}, OC, 10, $C))
|
|
12015
12043
|
], 10, UC),
|
|
12016
12044
|
x("span", RC, R(r.value), 1)
|
|
12017
12045
|
]),
|
|
@@ -12020,9 +12048,9 @@ const hC = { key: 0 }, yC = ["src"], vC = { "data-amplify-copy-tooltip": "" }, _
|
|
|
12020
12048
|
}
|
|
12021
12049
|
}), VC = {
|
|
12022
12050
|
install: (e) => {
|
|
12023
|
-
e.component("SignIn", $a), e.component("SignUp",
|
|
12051
|
+
e.component("SignIn", $a), e.component("SignUp", Oa), e.component("FederatedSignIn", eo), e.component("Authenticator", IC), e.component("RenderInfo", EC), 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", TC), e.component("AmplifyCheckBox", MC), e.component("AmplifyButton", we), e.component("BaseFormField", Ua), e.component("BaseFormFields", xe), e.component(
|
|
12024
12052
|
"AuthenticatorSignUpFormFields",
|
|
12025
|
-
|
|
12053
|
+
Fa
|
|
12026
12054
|
), e.component(
|
|
12027
12055
|
"AuthenticatorForceNewPasswordFormFields",
|
|
12028
12056
|
es
|
|
@@ -12035,7 +12063,7 @@ export {
|
|
|
12035
12063
|
TC as AmplifyTextField,
|
|
12036
12064
|
IC as Authenticator,
|
|
12037
12065
|
es as AuthenticatorForceNewPasswordFormFields,
|
|
12038
|
-
|
|
12066
|
+
Fa as AuthenticatorSignUpFormFields,
|
|
12039
12067
|
rs as ConfirmResetPassword,
|
|
12040
12068
|
Ma as ConfirmSignIn,
|
|
12041
12069
|
xa as ConfirmSignUp,
|
|
@@ -12046,7 +12074,7 @@ export {
|
|
|
12046
12074
|
Na as PasswordControl,
|
|
12047
12075
|
EC as RenderInfo,
|
|
12048
12076
|
$a as SignIn,
|
|
12049
|
-
|
|
12077
|
+
Oa as SignUp,
|
|
12050
12078
|
os as VerifyUser,
|
|
12051
12079
|
VC as default,
|
|
12052
12080
|
WC as translations,
|