@everymatrix/general-player-register-form 1.94.4 → 1.94.6
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/components/{GeneralPlayerRegisterForm-BnRgZ7r2.js → GeneralPlayerRegisterForm-B_X7fQIv.js} +39 -39
- package/components/{GeneralPlayerRegisterForm-DkUp5-ze.js → GeneralPlayerRegisterForm-CSiLhECi.js} +39 -39
- package/components/{GeneralPlayerRegisterFormStep1-CcUG3PlY.js → GeneralPlayerRegisterFormStep1-BMHYgnfZ.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep1-DdQw5Sxj.js → GeneralPlayerRegisterFormStep1-CMPZi1JN.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep2-ibhZJuL5.js → GeneralPlayerRegisterFormStep2-B3140fSG.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-DCtPCA-O.js → GeneralPlayerRegisterFormStep2-Cqgu7ded.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-kxkTfs8b.js → GeneralPlayerRegisterFormStep3-BZ6euAod.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep3-_1IX6ALN.js → GeneralPlayerRegisterFormStep3-CV_cw6BQ.js} +36 -36
- package/components/{GeneralPlayerSmsVerificationForm-DuuVAS6L.js → GeneralPlayerSmsVerificationForm-XmiF1wtU.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-DjreDXrK.js → GeneralPlayerSmsVerificationForm-dT_9ATK_.js} +25 -25
- package/es2015/general-player-register-form.js +1 -1
- package/esnext/general-player-register-form.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as Zr, b as Br, S as Mr, q as qr, w as Gr, p as we, f as Kr, t as Ge, l as ie, v as Yr, C as z, D as Y, g as r, r as ae, e as s, s as p, m as d, I as b, E, i as Jr, u as Wr, h as Ar, H as g, z as Xr, A as xr, B as $r, j as et, a as rt } from "./GeneralPlayerRegisterForm-CSiLhECi.js";
|
|
2
2
|
function Ur(e, t) {
|
|
3
3
|
Zr(e, t);
|
|
4
4
|
}
|
|
@@ -534,10 +534,10 @@ function lt(e) {
|
|
|
534
534
|
), v, N, h, _, Q, $ = (
|
|
535
535
|
/*$_*/
|
|
536
536
|
e[30]("registerEmail") + ""
|
|
537
|
-
), Pe,
|
|
537
|
+
), Pe, Ie, ye, Fe, L, Te, be, ze, I, R, ee = (
|
|
538
538
|
/*$_*/
|
|
539
539
|
e[30]("registerUsername") + ""
|
|
540
|
-
), oe, J, O, he,
|
|
540
|
+
), oe, J, O, he, F, ge, Se, le, ne, w, ue, H = (
|
|
541
541
|
/*$_*/
|
|
542
542
|
e[30]("registerPassword") + ""
|
|
543
543
|
), Ke, fe, Ue, Ye, T, V, Je, Ne, We, ve, _e, Xe, U, pe, ke = (
|
|
@@ -574,13 +574,13 @@ function lt(e) {
|
|
|
574
574
|
/*invalidName*/
|
|
575
575
|
e[5] && Or(e)
|
|
576
576
|
);
|
|
577
|
-
function
|
|
577
|
+
function Ir(a, c) {
|
|
578
578
|
return (
|
|
579
579
|
/*isPasswordVisible*/
|
|
580
580
|
a[25] ? at : it
|
|
581
581
|
);
|
|
582
582
|
}
|
|
583
|
-
let vr =
|
|
583
|
+
let vr = Ir(e), de = vr(e), B = (
|
|
584
584
|
/*invalidPassword*/
|
|
585
585
|
e[6] && /*simplepasswordvalidation*/
|
|
586
586
|
e[0] !== "true" && Vr(e)
|
|
@@ -589,13 +589,13 @@ function lt(e) {
|
|
|
589
589
|
e[6] && /*simplepasswordvalidation*/
|
|
590
590
|
e[0] === "true" && jr(e)
|
|
591
591
|
);
|
|
592
|
-
function
|
|
592
|
+
function Fr(a, c) {
|
|
593
593
|
return (
|
|
594
594
|
/*isConfirmPasswordVisible*/
|
|
595
595
|
a[26] ? nt : ot
|
|
596
596
|
);
|
|
597
597
|
}
|
|
598
|
-
let _r =
|
|
598
|
+
let _r = Fr(e), me = _r(e), q = (
|
|
599
599
|
/*invalidConfirmPassword*/
|
|
600
600
|
e[7] && Rr(e)
|
|
601
601
|
), G = (
|
|
@@ -608,11 +608,11 @@ function lt(e) {
|
|
|
608
608
|
return {
|
|
609
609
|
c() {
|
|
610
610
|
var a, c, ar, or, nr, lr, ur, cr;
|
|
611
|
-
t = d("div"), i = d("div"), u = d("h2"), n = b(o), f = E(), m = d("p"), C = b(y), S = E(), P = d("span"), v = b(A), N = E(), h = d("form"), _ = d("div"), Q = d("label"), Pe = b($),
|
|
611
|
+
t = d("div"), i = d("div"), u = d("h2"), n = b(o), f = E(), m = d("p"), C = b(y), S = E(), P = d("span"), v = b(A), N = E(), h = d("form"), _ = d("div"), Q = d("label"), Pe = b($), Ie = b(":"), ye = d("span"), ye.textContent = "*", Fe = E(), L = d("input"), Te = E(), D && D.c(), ze = E(), I = d("div"), R = d("label"), oe = b(ee), J = b(":"), O = d("span"), O.textContent = "*", he = E(), F = d("input"), Se = E(), Z && Z.c(), ne = E(), w = d("div"), ue = d("label"), Ke = b(H), fe = b(":"), Ue = d("span"), Ue.textContent = "*", Ye = E(), T = d("input"), Je = E(), de.c(), Ne = E(), B && B.c(), We = E(), M && M.c(), Xe = E(), U = d("div"), pe = d("label"), xe = b(ke), $e = b(":"), Le = d("span"), Le.textContent = "*", Oe = E(), j = d("input"), er = E(), me.c(), Ve = E(), q && q.c(), rr = E(), ce = d("div"), Qe = d("label"), tr = b(je), dr = b(":"), mr = E(), W = d("input"), gr = E(), fr = E(), re = d("div"), Ee = d("label"), sr = b(He), pr = b(":"), De = d("span"), De.textContent = "*", wr = E(), X = d("input"), yr = E(), G && G.c(), br = E(), te = d("div"), Ce = d("label"), ir = b(Be), hr = b(":"), Me = d("span"), Me.textContent = "*", Sr = E(), x = d("input"), Er = E(), K && K.c(), Cr = E(), l = d("button"), se = b(k), r(u, "class", "RegisterFormTitle"), r(P, "class", "FormLoginCallToAction"), r(m, "class", "RegisterFormSubtitle"), r(i, "class", "RegisterFormHeader"), r(ye, "class", "FormRequired"), r(Q, "for", "Email"), r(L, "type", "text"), r(L, "id", "Email"), r(_, "class", be = "EmailContainer " + /*invalidEmail*/
|
|
612
612
|
(e[4] && !/*emailFocus*/
|
|
613
613
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
614
|
-
(((a = e[17]) == null ? void 0 : a.indexOf("email")) >= 0 ? "Hidden" : "")), r(O, "class", "FormRequired"), r(R, "for", "UserName"), r(
|
|
615
|
-
e[1] ? "username" : "off"), r(
|
|
614
|
+
(((a = e[17]) == null ? void 0 : a.indexOf("email")) >= 0 ? "Hidden" : "")), r(O, "class", "FormRequired"), r(R, "for", "UserName"), r(F, "type", "text"), r(F, "id", "UserName"), r(F, "autocomplete", ge = /*savecredentials*/
|
|
615
|
+
e[1] ? "username" : "off"), r(I, "class", le = "UserContainer " + /*invalidName*/
|
|
616
616
|
(e[5] && !/*usernameFocus*/
|
|
617
617
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
618
618
|
(((c = e[17]) == null ? void 0 : c.indexOf("username")) >= 0 ? "Hidden" : "")), r(Ue, "class", "FormRequired"), r(ue, "for", "Password"), r(T, "name", "new-password"), r(T, "type", "password"), r(T, "id", "new-password"), r(T, "autocomplete", V = /*savecredentials*/
|
|
@@ -634,15 +634,15 @@ function lt(e) {
|
|
|
634
634
|
e[29], r(h, "class", "RegisterFormContent");
|
|
635
635
|
},
|
|
636
636
|
m(a, c) {
|
|
637
|
-
ae(a, t, c), s(t, i), s(i, u), s(u, n), s(i, f), s(i, m), s(m, C), s(m, S), s(m, P), s(P, v), s(t, N), s(t, h), s(h, _), s(_, Q), s(Q, Pe), s(Q,
|
|
637
|
+
ae(a, t, c), s(t, i), s(i, u), s(u, n), s(i, f), s(i, m), s(m, C), s(m, S), s(m, P), s(P, v), s(t, N), s(t, h), s(h, _), s(_, Q), s(Q, Pe), s(Q, Ie), s(Q, ye), s(_, Fe), s(_, L), Y(
|
|
638
638
|
L,
|
|
639
639
|
/*userEmail*/
|
|
640
640
|
e[19]
|
|
641
|
-
), s(_, Te), D && D.m(_, null), s(h, ze), s(h,
|
|
642
|
-
|
|
641
|
+
), s(_, Te), D && D.m(_, null), s(h, ze), s(h, I), s(I, R), s(R, oe), s(R, J), s(R, O), s(I, he), s(I, F), Y(
|
|
642
|
+
F,
|
|
643
643
|
/*userValue*/
|
|
644
644
|
e[18]
|
|
645
|
-
), s(
|
|
645
|
+
), s(I, Se), Z && Z.m(I, null), s(h, ne), s(h, w), s(w, ue), s(ue, Ke), s(ue, fe), s(ue, Ue), s(w, Ye), s(w, T), Y(
|
|
646
646
|
T,
|
|
647
647
|
/*userPassword*/
|
|
648
648
|
e[20]
|
|
@@ -694,25 +694,25 @@ function lt(e) {
|
|
|
694
694
|
e[53]
|
|
695
695
|
),
|
|
696
696
|
p(
|
|
697
|
-
|
|
697
|
+
F,
|
|
698
698
|
"input",
|
|
699
699
|
/*input1_input_handler*/
|
|
700
700
|
e[54]
|
|
701
701
|
),
|
|
702
702
|
p(
|
|
703
|
-
|
|
703
|
+
F,
|
|
704
704
|
"keyup",
|
|
705
705
|
/*checkUserIdentifier*/
|
|
706
706
|
e[33]
|
|
707
707
|
),
|
|
708
708
|
p(
|
|
709
|
-
|
|
709
|
+
F,
|
|
710
710
|
"focus",
|
|
711
711
|
/*focus_handler_1*/
|
|
712
712
|
e[55]
|
|
713
713
|
),
|
|
714
714
|
p(
|
|
715
|
-
|
|
715
|
+
F,
|
|
716
716
|
"blur",
|
|
717
717
|
/*blur_handler_1*/
|
|
718
718
|
e[56]
|
|
@@ -870,18 +870,18 @@ function lt(e) {
|
|
|
870
870
|
1073741824 && ee !== (ee = /*$_*/
|
|
871
871
|
a[30]("registerUsername") + "") && z(oe, ee), c[0] & /*savecredentials*/
|
|
872
872
|
2 && ge !== (ge = /*savecredentials*/
|
|
873
|
-
a[1] ? "username" : "off") && r(
|
|
874
|
-
262144 &&
|
|
873
|
+
a[1] ? "username" : "off") && r(F, "autocomplete", ge), c[0] & /*userValue*/
|
|
874
|
+
262144 && F.value !== /*userValue*/
|
|
875
875
|
a[18] && Y(
|
|
876
|
-
|
|
876
|
+
F,
|
|
877
877
|
/*userValue*/
|
|
878
878
|
a[18]
|
|
879
879
|
), /*invalidName*/
|
|
880
|
-
a[5] ? Z ? Z.p(a, c) : (Z = Or(a), Z.c(), Z.m(
|
|
880
|
+
a[5] ? Z ? Z.p(a, c) : (Z = Or(a), Z.c(), Z.m(I, null)) : Z && (Z.d(1), Z = null), c[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
881
881
|
133152 && le !== (le = "UserContainer " + /*invalidName*/
|
|
882
882
|
(a[5] && !/*usernameFocus*/
|
|
883
883
|
a[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
884
|
-
(((or = a[17]) == null ? void 0 : or.indexOf("username")) >= 0 ? "Hidden" : "")) && r(
|
|
884
|
+
(((or = a[17]) == null ? void 0 : or.indexOf("username")) >= 0 ? "Hidden" : "")) && r(I, "class", le), c[0] & /*$_*/
|
|
885
885
|
1073741824 && H !== (H = /*$_*/
|
|
886
886
|
a[30]("registerPassword") + "") && z(Ke, H), c[0] & /*savecredentials*/
|
|
887
887
|
2 && V !== (V = /*savecredentials*/
|
|
@@ -891,7 +891,7 @@ function lt(e) {
|
|
|
891
891
|
T,
|
|
892
892
|
/*userPassword*/
|
|
893
893
|
a[20]
|
|
894
|
-
), vr === (vr =
|
|
894
|
+
), vr === (vr = Ir(a)) && de ? de.p(a, c) : (de.d(1), de = vr(a), de && (de.c(), de.m(w, Ne))), /*invalidPassword*/
|
|
895
895
|
a[6] && /*simplepasswordvalidation*/
|
|
896
896
|
a[0] !== "true" ? B ? B.p(a, c) : (B = Vr(a), B.c(), B.m(w, We)) : B && (B.d(1), B = null), /*invalidPassword*/
|
|
897
897
|
a[6] && /*simplepasswordvalidation*/
|
|
@@ -909,7 +909,7 @@ function lt(e) {
|
|
|
909
909
|
j,
|
|
910
910
|
/*confirmUserPassword*/
|
|
911
911
|
a[21]
|
|
912
|
-
), _r === (_r =
|
|
912
|
+
), _r === (_r = Fr(a)) && me ? me.p(a, c) : (me.d(1), me = _r(a), me && (me.c(), me.m(U, Ve))), /*invalidConfirmPassword*/
|
|
913
913
|
a[7] ? q ? q.p(a, c) : (q = Rr(a), q.c(), q.m(U, null)) : q && (q.d(1), q = null), c[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
914
914
|
139392 && Ae !== (Ae = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
915
915
|
(a[7] && !/*confirmPasswordFocus*/
|
|
@@ -978,7 +978,7 @@ function lt(e) {
|
|
|
978
978
|
function ut(e, t, i) {
|
|
979
979
|
let u;
|
|
980
980
|
Jr(e, rt, (l) => i(30, u = l));
|
|
981
|
-
let { lang: o = "" } = t, { disabledfields: n = "" } = t, { simplepasswordvalidation: f = "false" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: S = "" } = t, { savecredentials: P = "" } = t, { custominputtextswitch: A = "false" } = t, v = !1, N = !1, h = !1, _ = !1, Q = !1, $ = !1, Pe = !1,
|
|
981
|
+
let { lang: o = "" } = t, { disabledfields: n = "" } = t, { simplepasswordvalidation: f = "false" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: S = "" } = t, { savecredentials: P = "" } = t, { custominputtextswitch: A = "false" } = t, v = !1, N = !1, h = !1, _ = !1, Q = !1, $ = !1, Pe = !1, Ie = !1, ye = !1, Fe = !1, L = !1, Te = !1, be = !1, ze, I = "", R = "", ee = "", oe = "", J = "", O = "", he = "", F = !1, ge = !1, Se, le, ne = {}, w = {
|
|
982
982
|
username: !1,
|
|
983
983
|
email: !1,
|
|
984
984
|
password: !1,
|
|
@@ -1010,7 +1010,7 @@ function ut(e, t, i) {
|
|
|
1010
1010
|
if (!(ze.indexOf(l) >= 0))
|
|
1011
1011
|
switch (l) {
|
|
1012
1012
|
case "username":
|
|
1013
|
-
i(18,
|
|
1013
|
+
i(18, I = k), Ne();
|
|
1014
1014
|
break;
|
|
1015
1015
|
case "email":
|
|
1016
1016
|
i(19, R = k), Je();
|
|
@@ -1036,19 +1036,19 @@ function ut(e, t, i) {
|
|
|
1036
1036
|
}, Je = () => {
|
|
1037
1037
|
ne.email = R, fe.email.test(R) && R.length <= 100 ? i(4, v = !1) : i(4, v = !0), w.email = !v, V();
|
|
1038
1038
|
}, Ne = () => {
|
|
1039
|
-
ne.username =
|
|
1039
|
+
ne.username = I, fe.user.test(I) && I.length <= 20 ? i(5, N = !1) : i(5, N = !0), w.username = !N, V();
|
|
1040
1040
|
}, We = () => {
|
|
1041
1041
|
f == "true" && (fe.password = /^(?!.* ).{8,20}$/);
|
|
1042
1042
|
}, ve = () => {
|
|
1043
|
-
i(25,
|
|
1043
|
+
i(25, F = !0), pe();
|
|
1044
1044
|
}, _e = () => {
|
|
1045
1045
|
i(26, ge = !0), ke();
|
|
1046
1046
|
}, Xe = () => {
|
|
1047
|
-
i(25,
|
|
1047
|
+
i(25, F = !1), pe();
|
|
1048
1048
|
}, U = () => {
|
|
1049
1049
|
i(26, ge = !1), ke();
|
|
1050
1050
|
}, pe = () => {
|
|
1051
|
-
i(27, Se.type =
|
|
1051
|
+
i(27, Se.type = F ? "text" : "password", Se);
|
|
1052
1052
|
}, ke = () => {
|
|
1053
1053
|
i(28, le.type = ge ? "text" : "password", le);
|
|
1054
1054
|
}, xe = () => !!fe.password.test(ee), $e = () => {
|
|
@@ -1123,9 +1123,9 @@ function ut(e, t, i) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
const dr = () => i(10, Pe = !0), mr = () => i(10, Pe = !1);
|
|
1125
1125
|
function W() {
|
|
1126
|
-
|
|
1126
|
+
I = this.value, i(18, I);
|
|
1127
1127
|
}
|
|
1128
|
-
const gr = () => i(11,
|
|
1128
|
+
const gr = () => i(11, Ie = !0), Re = () => i(11, Ie = !1);
|
|
1129
1129
|
function fr() {
|
|
1130
1130
|
ee = this.value, i(20, ee);
|
|
1131
1131
|
}
|
|
@@ -1139,7 +1139,7 @@ function ut(e, t, i) {
|
|
|
1139
1139
|
function De() {
|
|
1140
1140
|
oe = this.value, i(21, oe);
|
|
1141
1141
|
}
|
|
1142
|
-
const wr = () => i(13,
|
|
1142
|
+
const wr = () => i(13, Fe = !0), X = () => i(13, Fe = !1);
|
|
1143
1143
|
function yr(l) {
|
|
1144
1144
|
Ar[l ? "unshift" : "push"](() => {
|
|
1145
1145
|
le = l, i(28, le);
|
|
@@ -1189,21 +1189,21 @@ function ut(e, t, i) {
|
|
|
1189
1189
|
Q,
|
|
1190
1190
|
$,
|
|
1191
1191
|
Pe,
|
|
1192
|
-
Fe,
|
|
1193
|
-
ye,
|
|
1194
1192
|
Ie,
|
|
1193
|
+
ye,
|
|
1194
|
+
Fe,
|
|
1195
1195
|
L,
|
|
1196
1196
|
Te,
|
|
1197
1197
|
be,
|
|
1198
1198
|
ze,
|
|
1199
|
-
|
|
1199
|
+
I,
|
|
1200
1200
|
R,
|
|
1201
1201
|
ee,
|
|
1202
1202
|
oe,
|
|
1203
1203
|
J,
|
|
1204
1204
|
O,
|
|
1205
1205
|
he,
|
|
1206
|
-
|
|
1206
|
+
F,
|
|
1207
1207
|
ge,
|
|
1208
1208
|
Se,
|
|
1209
1209
|
le,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as Mt, b as Bt, S as Ot, q as Ut, w as Nt, p as be, f as Et, t as We, l as de, v as Be, C as ee, r as fe, e as f, s as G, m as P, H as He, I, E as $, g as C, i as It, u as xt, x as pe, D as ce, d as Ye, o as De, k as qe, y as Fe, h as Ft, n as Wr, z as Lt, A as St, B as Yt, j as Wt, a as At } from "./GeneralPlayerRegisterForm-B_X7fQIv.js";
|
|
2
2
|
function Te(i) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as Mt, b as Bt, S as Ot, q as Ut, w as Nt, p as Pe, f as Et, t as ze, l as he, v as xe, C as re, r as me, e as f, s as X, m as C, H as Ve, I as x, E as ee, g as _, i as It, u as xt, x as be, D as fe, d as je, o as Ue, k as Ke, y as qe, h as Ft, n as qr, z as Lt, A as St, B as Yt, j as Wt, a as At } from "./GeneralPlayerRegisterForm-CSiLhECi.js";
|
|
2
2
|
function De(i) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -10,7 +10,7 @@ var Or = (t, r, e) => r in t ? et(t, r, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
it.call(r, e) && Or(t, e, r[e]);
|
|
11
11
|
return t;
|
|
12
12
|
}, Br = (t, r) => rt(t, tt(r));
|
|
13
|
-
import {
|
|
13
|
+
import { b as wr, $ as ot, c as nt, S as at, q as lt, w as ct, p as ne, f as dt, o as Qe, t as Fr, l as S, k as yr, v as ut, g as c, C as U, D as te, x as Je, e as s, r as B, s as P, n as Mr, E as h, m as d, H as _r, I as M, d as vr, i as ft, u as mt, F as Nr, y as Er, h as gt, z as pt, A as Ct, B as ht, j as bt, a as kt } from "./GeneralPlayerRegisterForm-CSiLhECi.js";
|
|
14
14
|
function _t({ withLocale: t, translations: r }) {
|
|
15
15
|
wr.subscribe((e) => {
|
|
16
16
|
e == null && (ot.set(r), wr.set(t));
|
|
@@ -365,7 +365,7 @@ function Wr(t) {
|
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Vr(t) {
|
|
369
369
|
let r, e = (
|
|
370
370
|
/*mobilePrefix*/
|
|
371
371
|
t[87].Prefix + ""
|
|
@@ -390,7 +390,7 @@ function Gr(t) {
|
|
|
390
390
|
}
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Gr(t) {
|
|
394
394
|
let r, e = (
|
|
395
395
|
/*$_*/
|
|
396
396
|
t[31]("registerMobileError") + ""
|
|
@@ -616,10 +616,10 @@ function Et(t) {
|
|
|
616
616
|
let r, e, o, a, i, f, O, y, T, v, b, w, A, p = (
|
|
617
617
|
/*$_*/
|
|
618
618
|
t[31]("registerBackButton") + ""
|
|
619
|
-
), _, F, E, me,
|
|
619
|
+
), _, F, E, me, V, ge, ye = (
|
|
620
620
|
/*$_*/
|
|
621
621
|
t[31]("registerAddress") + ""
|
|
622
|
-
), Se, Fe, ve, Ze, x, Xe, Oe, pe, I,
|
|
622
|
+
), Se, Fe, ve, Ze, x, Xe, Oe, pe, I, G, he = (
|
|
623
623
|
/*$_*/
|
|
624
624
|
t[31]("registerPostalCode") + ""
|
|
625
625
|
), ae, Te, se, ce, H, ie, q, Ne, N, Ee, u = (
|
|
@@ -649,27 +649,27 @@ function Et(t) {
|
|
|
649
649
|
), X = (
|
|
650
650
|
/*invalidCity*/
|
|
651
651
|
t[9] && Lr(t)
|
|
652
|
-
),
|
|
652
|
+
), Ve = Qe(
|
|
653
653
|
/*countries*/
|
|
654
654
|
t[20]
|
|
655
655
|
), L = [];
|
|
656
|
-
for (let n = 0; n <
|
|
657
|
-
L[n] = Dr(xr(t,
|
|
658
|
-
let
|
|
656
|
+
for (let n = 0; n < Ve.length; n += 1)
|
|
657
|
+
L[n] = Dr(xr(t, Ve, n));
|
|
658
|
+
let Ge = Qe(
|
|
659
659
|
/*nationalities*/
|
|
660
660
|
t[22]
|
|
661
661
|
), D = [];
|
|
662
|
-
for (let n = 0; n <
|
|
663
|
-
D[n] = Wr(Ir(t,
|
|
662
|
+
for (let n = 0; n < Ge.length; n += 1)
|
|
663
|
+
D[n] = Wr(Ir(t, Ge, n));
|
|
664
664
|
let Ke = Qe(
|
|
665
665
|
/*mobilePrefixes*/
|
|
666
666
|
t[25]
|
|
667
667
|
), W = [];
|
|
668
668
|
for (let n = 0; n < Ke.length; n += 1)
|
|
669
|
-
W[n] =
|
|
669
|
+
W[n] = Vr(Ur(t, Ke, n));
|
|
670
670
|
let Y = (
|
|
671
671
|
/*invalidMobile*/
|
|
672
|
-
t[8] &&
|
|
672
|
+
t[8] && Gr(t)
|
|
673
673
|
), $ = (
|
|
674
674
|
/*userconsentsexist*/
|
|
675
675
|
t[0] === "true" && Kr(t)
|
|
@@ -680,7 +680,7 @@ function Et(t) {
|
|
|
680
680
|
return {
|
|
681
681
|
c() {
|
|
682
682
|
var n, m, j, or, nr, ar;
|
|
683
|
-
Q && Q.c(), r = Mr(), e = h(), o = d("div"), a = h(), i = d("div"), f = d("div"), O = d("button"), y = _r("svg"), T = _r("defs"), v = _r("style"), b = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = _r("path"), A = h(), _ = M(p), F = h(), E = d("form"), me = d("div"),
|
|
683
|
+
Q && Q.c(), r = Mr(), e = h(), o = d("div"), a = h(), i = d("div"), f = d("div"), O = d("button"), y = _r("svg"), T = _r("defs"), v = _r("style"), b = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = _r("path"), A = h(), _ = M(p), F = h(), E = d("form"), me = d("div"), V = d("div"), ge = d("label"), Se = M(ye), Fe = M(":"), ve = d("span"), ve.textContent = "*", Ze = h(), x = d("input"), Xe = h(), J && J.c(), pe = h(), I = d("div"), G = d("label"), ae = M(he), Te = M(":"), se = d("span"), se.textContent = "*", ce = h(), H = d("input"), ie = h(), Z && Z.c(), Ne = h(), N = d("div"), Ee = d("label"), k = M(u), lr = M(":"), ze = d("span"), ze.textContent = "*", cr = h(), oe = d("input"), dr = h(), X && X.c(), ur = h(), Ce = d("div"), we = d("label"), Ye = M(Be), $e = M(":"), je = d("span"), je.textContent = "*", er = h(), K = d("select");
|
|
684
684
|
for (let re = 0; re < L.length; re += 1)
|
|
685
685
|
L[re].c();
|
|
686
686
|
rr = h(), be = d("div"), ke = d("label"), xe = M(Ie), fr = M(":"), He = d("span"), He.textContent = "*", mr = h(), ue = d("select");
|
|
@@ -694,10 +694,10 @@ function Et(t) {
|
|
|
694
694
|
"data-sitekey",
|
|
695
695
|
/*captchakey*/
|
|
696
696
|
t[4]
|
|
697
|
-
), c(w, "class", "a"), c(w, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), c(w, "transform", "translate(24 24) rotate(180)"), c(y, "xmlns", "http://www.w3.org/2000/svg"), c(y, "viewBox", "0 0 24 24"), c(O, "class", "BackButton"), c(f, "class", "RegisterFormHeader"), c(ve, "class", "FormRequired"), c(ge, "for", "Address"), c(x, "type", "text"), c(x, "id", "Address"), c(
|
|
697
|
+
), c(w, "class", "a"), c(w, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), c(w, "transform", "translate(24 24) rotate(180)"), c(y, "xmlns", "http://www.w3.org/2000/svg"), c(y, "viewBox", "0 0 24 24"), c(O, "class", "BackButton"), c(f, "class", "RegisterFormHeader"), c(ve, "class", "FormRequired"), c(ge, "for", "Address"), c(x, "type", "text"), c(x, "id", "Address"), c(V, "class", Oe = "AddressContainer " + /*invalidAddress*/
|
|
698
698
|
(t[6] && !/*addressFocus*/
|
|
699
699
|
t[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
700
|
-
(((n = t[14]) == null ? void 0 : n.indexOf("address")) >= 0 ? "Hidden" : "")), c(se, "class", "FormRequired"), c(
|
|
700
|
+
(((n = t[14]) == null ? void 0 : n.indexOf("address")) >= 0 ? "Hidden" : "")), c(se, "class", "FormRequired"), c(G, "for", "PostalCode"), c(H, "type", "text"), c(H, "id", "PostalCode"), c(I, "class", q = "PostalCodeContainer " + /*invalidPostalCode*/
|
|
701
701
|
(t[7] && !/*postalCodeFocus*/
|
|
702
702
|
t[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
703
703
|
(((m = t[14]) == null ? void 0 : m.indexOf("postalCode")) >= 0 ? "Hidden" : "")), c(me, "class", "AddressPostalCodeContainer"), c(ze, "class", "FormRequired"), c(Ee, "for", "City"), c(oe, "type", "text"), c(oe, "id", "City"), c(N, "class", de = "CityContainer " + /*invalidCity*/
|
|
@@ -724,11 +724,11 @@ function Et(t) {
|
|
|
724
724
|
t[28], c(E, "class", "RegisterFormContent");
|
|
725
725
|
},
|
|
726
726
|
m(n, m) {
|
|
727
|
-
Q && Q.m(document.head, null), s(document.head, r), B(n, e, m), B(n, o, m), B(n, a, m), B(n, i, m), s(i, f), s(f, O), s(O, y), s(y, T), s(T, v), s(v, b), s(y, w), s(O, A), s(O, _), s(i, F), s(i, E), s(E, me), s(me,
|
|
727
|
+
Q && Q.m(document.head, null), s(document.head, r), B(n, e, m), B(n, o, m), B(n, a, m), B(n, i, m), s(i, f), s(f, O), s(O, y), s(y, T), s(T, v), s(v, b), s(y, w), s(O, A), s(O, _), s(i, F), s(i, E), s(E, me), s(me, V), s(V, ge), s(ge, Se), s(ge, Fe), s(ge, ve), s(V, Ze), s(V, x), te(
|
|
728
728
|
x,
|
|
729
729
|
/*address*/
|
|
730
730
|
t[17]
|
|
731
|
-
), s(
|
|
731
|
+
), s(V, Xe), J && J.m(V, null), s(me, pe), s(me, I), s(I, G), s(G, ae), s(G, Te), s(G, se), s(I, ce), s(I, H), te(
|
|
732
732
|
H,
|
|
733
733
|
/*postalCode*/
|
|
734
734
|
t[18]
|
|
@@ -913,11 +913,11 @@ function Et(t) {
|
|
|
913
913
|
/*address*/
|
|
914
914
|
n[17]
|
|
915
915
|
), /*invalidAddress*/
|
|
916
|
-
n[6] ? J ? J.p(n, m) : (J = qr(n), J.c(), J.m(
|
|
916
|
+
n[6] ? J ? J.p(n, m) : (J = qr(n), J.c(), J.m(V, null)) : J && (J.d(1), J = null), m[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
|
|
917
917
|
17472 && Oe !== (Oe = "AddressContainer " + /*invalidAddress*/
|
|
918
918
|
(n[6] && !/*addressFocus*/
|
|
919
919
|
n[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
920
|
-
(((j = n[14]) == null ? void 0 : j.indexOf("address")) >= 0 ? "Hidden" : "")) && c(
|
|
920
|
+
(((j = n[14]) == null ? void 0 : j.indexOf("address")) >= 0 ? "Hidden" : "")) && c(V, "class", Oe), m[1] & /*$_*/
|
|
921
921
|
1 && he !== (he = /*$_*/
|
|
922
922
|
n[31]("registerPostalCode") + "") && U(ae, he), m[0] & /*postalCode*/
|
|
923
923
|
262144 && H.value !== /*postalCode*/
|
|
@@ -947,18 +947,18 @@ function Et(t) {
|
|
|
947
947
|
1 && Be !== (Be = /*$_*/
|
|
948
948
|
n[31]("registerCountry") + "") && U(Ye, Be), m[0] & /*countries*/
|
|
949
949
|
1048576) {
|
|
950
|
-
|
|
950
|
+
Ve = Qe(
|
|
951
951
|
/*countries*/
|
|
952
952
|
n[20]
|
|
953
953
|
);
|
|
954
954
|
let g;
|
|
955
|
-
for (g = 0; g <
|
|
956
|
-
const Pe = xr(n,
|
|
955
|
+
for (g = 0; g < Ve.length; g += 1) {
|
|
956
|
+
const Pe = xr(n, Ve, g);
|
|
957
957
|
L[g] ? L[g].p(Pe, m) : (L[g] = Dr(Pe), L[g].c(), L[g].m(K, null));
|
|
958
958
|
}
|
|
959
959
|
for (; g < L.length; g += 1)
|
|
960
960
|
L[g].d(1);
|
|
961
|
-
L.length =
|
|
961
|
+
L.length = Ve.length;
|
|
962
962
|
}
|
|
963
963
|
if (m[0] & /*countrySelected, countries*/
|
|
964
964
|
3145728 && Je(
|
|
@@ -971,18 +971,18 @@ function Et(t) {
|
|
|
971
971
|
1 && Ie !== (Ie = /*$_*/
|
|
972
972
|
n[31]("registerNationality") + "") && U(xe, Ie), m[0] & /*nationalities*/
|
|
973
973
|
4194304) {
|
|
974
|
-
|
|
974
|
+
Ge = Qe(
|
|
975
975
|
/*nationalities*/
|
|
976
976
|
n[22]
|
|
977
977
|
);
|
|
978
978
|
let g;
|
|
979
|
-
for (g = 0; g <
|
|
980
|
-
const Pe = Ir(n,
|
|
979
|
+
for (g = 0; g < Ge.length; g += 1) {
|
|
980
|
+
const Pe = Ir(n, Ge, g);
|
|
981
981
|
D[g] ? D[g].p(Pe, m) : (D[g] = Wr(Pe), D[g].c(), D[g].m(ue, null));
|
|
982
982
|
}
|
|
983
983
|
for (; g < D.length; g += 1)
|
|
984
984
|
D[g].d(1);
|
|
985
|
-
D.length =
|
|
985
|
+
D.length = Ge.length;
|
|
986
986
|
}
|
|
987
987
|
if (m[0] & /*nationalitySelected, nationalities*/
|
|
988
988
|
12582912 && Je(
|
|
@@ -1002,7 +1002,7 @@ function Et(t) {
|
|
|
1002
1002
|
let g;
|
|
1003
1003
|
for (g = 0; g < Ke.length; g += 1) {
|
|
1004
1004
|
const Pe = Ur(n, Ke, g);
|
|
1005
|
-
W[g] ? W[g].p(Pe, m) : (W[g] =
|
|
1005
|
+
W[g] ? W[g].p(Pe, m) : (W[g] = Vr(Pe), W[g].c(), W[g].m(fe, null));
|
|
1006
1006
|
}
|
|
1007
1007
|
for (; g < W.length; g += 1)
|
|
1008
1008
|
W[g].d(1);
|
|
@@ -1020,7 +1020,7 @@ function Et(t) {
|
|
|
1020
1020
|
/*mobile*/
|
|
1021
1021
|
n[24]
|
|
1022
1022
|
), /*invalidMobile*/
|
|
1023
|
-
n[8] ? Y ? Y.p(n, m) : (Y =
|
|
1023
|
+
n[8] ? Y ? Y.p(n, m) : (Y = Gr(n), Y.c(), Y.m(le, null)) : Y && (Y.d(1), Y = null), m[0] & /*invalidMobile, mobileFocus, disabledFieldsList*/
|
|
1024
1024
|
20736 && De !== (De = "MobileContainer " + /*invalidMobile*/
|
|
1025
1025
|
(n[8] && !/*mobileFocus*/
|
|
1026
1026
|
n[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -1042,7 +1042,7 @@ function Et(t) {
|
|
|
1042
1042
|
function wt(t, r, e) {
|
|
1043
1043
|
let o;
|
|
1044
1044
|
ft(t, kt, (l) => e(31, o = l));
|
|
1045
|
-
let { userconsentsexist: a = "false" } = r, { termsconditions: i = "false" } = r, { smsoffers: f = "false" } = r, { emailmarketing: O = "false" } = r, { endpoint: y = "" } = r, { captchakey: T = "" } = r, { lang: v = "" } = r, { disabledfields: b = "" } = r, { defaultoptions: w = "" } = r, { mbsource: A } = r, { clientstyling: p = "" } = r, { clientstylingurl: _ = "" } = r, { translationurl: F = "" } = r, E, me,
|
|
1045
|
+
let { userconsentsexist: a = "false" } = r, { termsconditions: i = "false" } = r, { smsoffers: f = "false" } = r, { emailmarketing: O = "false" } = r, { endpoint: y = "" } = r, { captchakey: T = "" } = r, { lang: v = "" } = r, { disabledfields: b = "" } = r, { defaultoptions: w = "" } = r, { mbsource: A } = r, { clientstyling: p = "" } = r, { clientstylingurl: _ = "" } = r, { translationurl: F = "" } = r, E, me, V, ge, ye = !1, Se = !1, Fe = !1, ve = !1, Ze, x, Xe = !1, Oe = "", pe = "", I = "", G = "", he = [], ae = "", Te = [], se = "", ce = "", H = [], ie = "", q = !1, Ne = !1, N, Ee, u = { mobile: {}, userConsents: {} }, k = {
|
|
1046
1046
|
address1: !1,
|
|
1047
1047
|
postalCode: !1,
|
|
1048
1048
|
city: !1,
|
|
@@ -1085,7 +1085,7 @@ function wt(t, r, e) {
|
|
|
1085
1085
|
e(18, I = C), Be();
|
|
1086
1086
|
break;
|
|
1087
1087
|
case "city":
|
|
1088
|
-
e(19,
|
|
1088
|
+
e(19, G = C), $e();
|
|
1089
1089
|
break;
|
|
1090
1090
|
case "country":
|
|
1091
1091
|
e(21, ae = C), e(30, k.country = !0, k);
|
|
@@ -1106,10 +1106,10 @@ function wt(t, r, e) {
|
|
|
1106
1106
|
e(29, u.address1 = pe, u), e(6, E = !ur()), e(30, k.address1 = !E, k), de();
|
|
1107
1107
|
}, we = () => !!(I && I.length <= 20), Be = () => {
|
|
1108
1108
|
e(29, u.postalCode = I, u), e(7, me = !we()), e(30, k.postalCode = !me, k), de();
|
|
1109
|
-
}, Ye = () => !!(
|
|
1110
|
-
e(29, u.city =
|
|
1109
|
+
}, Ye = () => !!(G && G.length <= 50), $e = () => {
|
|
1110
|
+
e(29, u.city = G, u), e(9, ge = !Ye()), e(30, k.city = !ge, k), de();
|
|
1111
1111
|
}, je = () => !!(ce && ce.length >= 5 && ce.length <= 12), er = () => {
|
|
1112
|
-
e(29, u.mobile.number = ce, u), e(8,
|
|
1112
|
+
e(29, u.mobile.number = ce, u), e(8, V = !je()), e(30, k.mobile = !V, k), de();
|
|
1113
1113
|
}, K = (l) => {
|
|
1114
1114
|
l === "GeneralOffers" ? (e(27, q = !q), e(29, u.userConsents.sms = q, u), e(29, u.userConsents.emailmarketing = q, u)) : l === "SmsOffers" ? (e(29, u.userConsents.sms = !u.userConsents.sms, u), u.userConsents.sms && e(27, q = !0)) : l === "EmailOffers" && (e(29, u.userConsents.emailmarketing = !u.userConsents.emailmarketing, u), u.userConsents.emailmarketing && e(27, q = !0)), Ue();
|
|
1115
1115
|
}, Ue = () => {
|
|
@@ -1175,7 +1175,7 @@ function wt(t, r, e) {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
const Me = () => e(11, Se = !0), Re = () => e(11, Se = !1);
|
|
1177
1177
|
function tr() {
|
|
1178
|
-
|
|
1178
|
+
G = this.value, e(19, G);
|
|
1179
1179
|
}
|
|
1180
1180
|
const pr = () => e(13, ve = !0), Le = () => e(13, ve = !1);
|
|
1181
1181
|
function Cr() {
|
|
@@ -1222,7 +1222,7 @@ function wt(t, r, e) {
|
|
|
1222
1222
|
N,
|
|
1223
1223
|
E,
|
|
1224
1224
|
me,
|
|
1225
|
-
|
|
1225
|
+
V,
|
|
1226
1226
|
ge,
|
|
1227
1227
|
ye,
|
|
1228
1228
|
Se,
|
|
@@ -1233,7 +1233,7 @@ function wt(t, r, e) {
|
|
|
1233
1233
|
Oe,
|
|
1234
1234
|
pe,
|
|
1235
1235
|
I,
|
|
1236
|
-
|
|
1236
|
+
G,
|
|
1237
1237
|
he,
|
|
1238
1238
|
ae,
|
|
1239
1239
|
Te,
|