@everymatrix/general-player-register-form 1.94.19 → 1.94.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterForm-B_X7fQIv.js → GeneralPlayerRegisterForm-BnRgZ7r2.js} +39 -39
- package/components/{GeneralPlayerRegisterForm-CSiLhECi.js → GeneralPlayerRegisterForm-DkUp5-ze.js} +39 -39
- package/components/{GeneralPlayerRegisterFormStep1-BMHYgnfZ.js → GeneralPlayerRegisterFormStep1-CcUG3PlY.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep1-CMPZi1JN.js → GeneralPlayerRegisterFormStep1-DdQw5Sxj.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep2-Cqgu7ded.js → GeneralPlayerRegisterFormStep2-DCtPCA-O.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-B3140fSG.js → GeneralPlayerRegisterFormStep2-ibhZJuL5.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-CV_cw6BQ.js → GeneralPlayerRegisterFormStep3-_1IX6ALN.js} +36 -36
- package/components/{GeneralPlayerRegisterFormStep3-BZ6euAod.js → GeneralPlayerRegisterFormStep3-kxkTfs8b.js} +38 -38
- package/components/{GeneralPlayerSmsVerificationForm-dT_9ATK_.js → GeneralPlayerSmsVerificationForm-DjreDXrK.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-XmiF1wtU.js → GeneralPlayerSmsVerificationForm-DuuVAS6L.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 { a as Zr, $ as Br, S as Mr, i as qr, s as Gr, f as we, b as Kr, n as Ge, d as ie, r as Yr, c as z, e as Y, g as r, h as ae, j as s, l as p, k as d, t as b, m as E, o as Jr, p as Wr, q as Ar, u as g, v as Xr, w as xr, x as $r, y as et, z as rt } from "./GeneralPlayerRegisterForm-DkUp5-ze.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, Fe, ye, Ie, L, Te, be, ze, F, R, ee = (
|
|
538
538
|
/*$_*/
|
|
539
539
|
e[30]("registerUsername") + ""
|
|
540
|
-
), oe, J, O, he,
|
|
540
|
+
), oe, J, O, he, I, 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 Fr(a, c) {
|
|
578
578
|
return (
|
|
579
579
|
/*isPasswordVisible*/
|
|
580
580
|
a[25] ? at : it
|
|
581
581
|
);
|
|
582
582
|
}
|
|
583
|
-
let vr =
|
|
583
|
+
let vr = Fr(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 Ir(a, c) {
|
|
593
593
|
return (
|
|
594
594
|
/*isConfirmPasswordVisible*/
|
|
595
595
|
a[26] ? nt : ot
|
|
596
596
|
);
|
|
597
597
|
}
|
|
598
|
-
let _r =
|
|
598
|
+
let _r = Ir(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($), Fe = b(":"), ye = d("span"), ye.textContent = "*", Ie = E(), L = d("input"), Te = E(), D && D.c(), ze = E(), F = d("div"), R = d("label"), oe = b(ee), J = b(":"), O = d("span"), O.textContent = "*", he = E(), I = 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(I, "type", "text"), r(I, "id", "UserName"), r(I, "autocomplete", ge = /*savecredentials*/
|
|
615
|
+
e[1] ? "username" : "off"), r(F, "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, Fe), s(Q, ye), s(_, Ie), 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, F), s(F, R), s(R, oe), s(R, J), s(R, O), s(F, he), s(F, I), Y(
|
|
642
|
+
I,
|
|
643
643
|
/*userValue*/
|
|
644
644
|
e[18]
|
|
645
|
-
), s(
|
|
645
|
+
), s(F, Se), Z && Z.m(F, 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
|
+
I,
|
|
698
698
|
"input",
|
|
699
699
|
/*input1_input_handler*/
|
|
700
700
|
e[54]
|
|
701
701
|
),
|
|
702
702
|
p(
|
|
703
|
-
|
|
703
|
+
I,
|
|
704
704
|
"keyup",
|
|
705
705
|
/*checkUserIdentifier*/
|
|
706
706
|
e[33]
|
|
707
707
|
),
|
|
708
708
|
p(
|
|
709
|
-
|
|
709
|
+
I,
|
|
710
710
|
"focus",
|
|
711
711
|
/*focus_handler_1*/
|
|
712
712
|
e[55]
|
|
713
713
|
),
|
|
714
714
|
p(
|
|
715
|
-
|
|
715
|
+
I,
|
|
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(I, "autocomplete", ge), c[0] & /*userValue*/
|
|
874
|
+
262144 && I.value !== /*userValue*/
|
|
875
875
|
a[18] && Y(
|
|
876
|
-
|
|
876
|
+
I,
|
|
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(F, 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(F, "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 = Fr(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 = Ir(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, Fe = !1, ye = !1, Ie = !1, L = !1, Te = !1, be = !1, ze, F = "", R = "", ee = "", oe = "", J = "", O = "", he = "", I = !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, F = 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 = F, fe.user.test(F) && F.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, I = !0), pe();
|
|
1044
1044
|
}, _e = () => {
|
|
1045
1045
|
i(26, ge = !0), ke();
|
|
1046
1046
|
}, Xe = () => {
|
|
1047
|
-
i(25,
|
|
1047
|
+
i(25, I = !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 = I ? "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
|
+
F = this.value, i(18, F);
|
|
1127
1127
|
}
|
|
1128
|
-
const gr = () => i(11,
|
|
1128
|
+
const gr = () => i(11, Fe = !0), Re = () => i(11, Fe = !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, Ie = !0), X = () => i(13, Ie = !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
|
-
Ie,
|
|
1193
|
-
ye,
|
|
1194
1192
|
Fe,
|
|
1193
|
+
ye,
|
|
1194
|
+
Ie,
|
|
1195
1195
|
L,
|
|
1196
1196
|
Te,
|
|
1197
1197
|
be,
|
|
1198
1198
|
ze,
|
|
1199
|
-
|
|
1199
|
+
F,
|
|
1200
1200
|
R,
|
|
1201
1201
|
ee,
|
|
1202
1202
|
oe,
|
|
1203
1203
|
J,
|
|
1204
1204
|
O,
|
|
1205
1205
|
he,
|
|
1206
|
-
|
|
1206
|
+
I,
|
|
1207
1207
|
ge,
|
|
1208
1208
|
Se,
|
|
1209
1209
|
le,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as Mt, $ as Bt, S as Ot, i as Ut, s as Nt, f as Pe, b as Et, n as ze, d as he, r as xe, c as re, h as me, j as f, l as X, k as C, u as Ve, t as x, m as ee, g as _, o as It, p as xt, A as be, e as fe, B as je, C as Ue, D as Ke, E as qe, q as Ft, F as qr, v as Lt, w as St, x as Yt, y as Wt, z as At } from "./GeneralPlayerRegisterForm-DkUp5-ze.js";
|
|
2
2
|
function De(i) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as Mt, $ as Bt, S as Ot, i as Ut, s as Nt, f as be, b as Et, n as We, d as de, r as Be, e as ee, j as fe, k as f, l as G, m as P, v as He, t as I, o as $, h as C, p as It, q as xt, A as pe, g as ce, B as Ye, C as De, D as qe, E as Fe, u as Ft, F as Wr, x as Lt, y as St, z as Yt, c as Wt, w as At } from "./GeneralPlayerRegisterForm-BnRgZ7r2.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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as kr, G as Wr, a as Gr, S as Vr, i as Kr, s as Qr, f as ie, b as Jr, C as Ve, n as vr, d as S, D as Cr, r as Zr, h as c, e as j, g as ee, A as Ke, k as s, j as B, l as P, F as _r, o as h, m as d, v as pr, t as M, B as hr, p as Xr, q as Yr, H as Er, E as br, u as $r, x as et, y as rt, z as tt, c as st, w as it } from "./GeneralPlayerRegisterForm-BnRgZ7r2.js";
|
|
2
2
|
function ot({ withLocale: t, translations: r }) {
|
|
3
3
|
kr.subscribe((e) => {
|
|
4
4
|
e == null && (Wr.set(r), kr.set(t));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function wr(t, r) {
|
|
8
|
-
|
|
8
|
+
Gr(t, r);
|
|
9
9
|
}
|
|
10
10
|
function nt(t) {
|
|
11
11
|
kr.set(t);
|
|
@@ -607,7 +607,7 @@ function lt(t) {
|
|
|
607
607
|
), _, F, E, ue, W, fe, ke = (
|
|
608
608
|
/*$_*/
|
|
609
609
|
t[31]("registerAddress") + ""
|
|
610
|
-
), Ae, Te, _e, Qe, I, Je, Pe, me, U,
|
|
610
|
+
), Ae, Te, _e, Qe, I, Je, Pe, me, U, G, pe = (
|
|
611
611
|
/*$_*/
|
|
612
612
|
t[31]("registerPostalCode") + ""
|
|
613
613
|
), oe, Se, re, ae, x, te, H, Be, N, ye, u = (
|
|
@@ -616,7 +616,7 @@ function lt(t) {
|
|
|
616
616
|
), k, sr, Fe, ir, se, or, le, nr, ge, ve, Oe = (
|
|
617
617
|
/*$_*/
|
|
618
618
|
t[31]("registerCountry") + ""
|
|
619
|
-
), Ze, Xe, Ne, Ye,
|
|
619
|
+
), Ze, Xe, Ne, Ye, V, ze, $e, Ce, he, je = (
|
|
620
620
|
/*$_*/
|
|
621
621
|
t[31]("registerNationality") + ""
|
|
622
622
|
), Ue, ar, Ie, lr, ce, xe, cr, ne, Ee, He = (
|
|
@@ -637,24 +637,24 @@ function lt(t) {
|
|
|
637
637
|
), Z = (
|
|
638
638
|
/*invalidCity*/
|
|
639
639
|
t[9] && Fr(t)
|
|
640
|
-
), De =
|
|
640
|
+
), De = Ve(
|
|
641
641
|
/*countries*/
|
|
642
642
|
t[20]
|
|
643
643
|
), R = [];
|
|
644
644
|
for (let o = 0; o < De.length; o += 1)
|
|
645
645
|
R[o] = Nr(Sr(t, De, o));
|
|
646
|
-
let We =
|
|
646
|
+
let We = Ve(
|
|
647
647
|
/*nationalities*/
|
|
648
648
|
t[22]
|
|
649
649
|
), L = [];
|
|
650
650
|
for (let o = 0; o < We.length; o += 1)
|
|
651
651
|
L[o] = zr(Pr(t, We, o));
|
|
652
|
-
let
|
|
652
|
+
let Ge = Ve(
|
|
653
653
|
/*mobilePrefixes*/
|
|
654
654
|
t[25]
|
|
655
655
|
), D = [];
|
|
656
|
-
for (let o = 0; o <
|
|
657
|
-
D[o] = jr(Ar(t,
|
|
656
|
+
for (let o = 0; o < Ge.length; o += 1)
|
|
657
|
+
D[o] = jr(Ar(t, Ge, o));
|
|
658
658
|
let X = (
|
|
659
659
|
/*invalidMobile*/
|
|
660
660
|
t[8] && Ur(t)
|
|
@@ -667,7 +667,7 @@ function lt(t) {
|
|
|
667
667
|
);
|
|
668
668
|
return {
|
|
669
669
|
c() {
|
|
670
|
-
K && K.c(), r = _r(), e = h(), n = d("div"), a = h(), i = d("div"), f = d("div"), O = d("button"), y = pr("svg"), T = pr("defs"), v = pr("style"), b = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = pr("path"), A = h(), _ = M(p), F = h(), E = d("form"), ue = d("div"), W = d("div"), fe = d("label"), Ae = M(ke), Te = M(":"), _e = d("span"), _e.textContent = "*", Qe = h(), I = d("input"), Je = h(), Q && Q.c(), me = h(), U = d("div"),
|
|
670
|
+
K && K.c(), r = _r(), e = h(), n = d("div"), a = h(), i = d("div"), f = d("div"), O = d("button"), y = pr("svg"), T = pr("defs"), v = pr("style"), b = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = pr("path"), A = h(), _ = M(p), F = h(), E = d("form"), ue = d("div"), W = d("div"), fe = d("label"), Ae = M(ke), Te = M(":"), _e = d("span"), _e.textContent = "*", Qe = h(), I = d("input"), Je = h(), Q && Q.c(), me = h(), U = d("div"), G = d("label"), oe = M(pe), Se = M(":"), re = d("span"), re.textContent = "*", ae = h(), x = d("input"), te = h(), J && J.c(), Be = h(), N = d("div"), ye = d("label"), k = M(u), sr = M(":"), Fe = d("span"), Fe.textContent = "*", ir = h(), se = d("input"), or = h(), Z && Z.c(), nr = h(), ge = d("div"), ve = d("label"), Ze = M(Oe), Xe = M(":"), Ne = d("span"), Ne.textContent = "*", Ye = h(), V = d("select");
|
|
671
671
|
for (let o = 0; o < R.length; o += 1)
|
|
672
672
|
R[o].c();
|
|
673
673
|
$e = h(), Ce = d("div"), he = d("label"), Ue = M(je), ar = M(":"), Ie = d("span"), Ie.textContent = "*", lr = h(), ce = d("select");
|
|
@@ -684,16 +684,16 @@ function lt(t) {
|
|
|
684
684
|
), 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(_e, "class", "FormRequired"), c(fe, "for", "Address"), c(I, "type", "text"), c(I, "id", "Address"), c(W, "class", Pe = "AddressContainer " + /*invalidAddress*/
|
|
685
685
|
(t[6] && !/*addressFocus*/
|
|
686
686
|
t[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
687
|
-
(t[14]?.indexOf("address") >= 0 ? "Hidden" : "")), c(re, "class", "FormRequired"), c(
|
|
687
|
+
(t[14]?.indexOf("address") >= 0 ? "Hidden" : "")), c(re, "class", "FormRequired"), c(G, "for", "PostalCode"), c(x, "type", "text"), c(x, "id", "PostalCode"), c(U, "class", H = "PostalCodeContainer " + /*invalidPostalCode*/
|
|
688
688
|
(t[7] && !/*postalCodeFocus*/
|
|
689
689
|
t[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
690
690
|
(t[14]?.indexOf("postalCode") >= 0 ? "Hidden" : "")), c(ue, "class", "AddressPostalCodeContainer"), c(Fe, "class", "FormRequired"), c(ye, "for", "City"), c(se, "type", "text"), c(se, "id", "City"), c(N, "class", le = "CityContainer " + /*invalidCity*/
|
|
691
691
|
(t[9] && /*cityFocus*/
|
|
692
692
|
t[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
693
|
-
(t[14]?.indexOf("city") >= 0 ? "Hidden" : "")), c(Ne, "class", "FormRequired"), c(ve, "for", "Country"), c(
|
|
693
|
+
(t[14]?.indexOf("city") >= 0 ? "Hidden" : "")), c(Ne, "class", "FormRequired"), c(ve, "for", "Country"), c(V, "id", "Country"), /*countrySelected*/
|
|
694
694
|
t[21] === void 0 && hr(() => (
|
|
695
695
|
/*select0_change_handler*/
|
|
696
|
-
t[58].call(
|
|
696
|
+
t[58].call(V)
|
|
697
697
|
)), c(ge, "class", ze = "CountryContainer " + /*disabledFieldsList*/
|
|
698
698
|
(t[14]?.indexOf("country") >= 0 ? "Hidden" : "")), c(Ie, "class", "FormRequired"), c(he, "for", "Nationality"), c(ce, "id", "Nationality"), /*nationalitySelected*/
|
|
699
699
|
t[23] === void 0 && hr(() => (
|
|
@@ -715,7 +715,7 @@ function lt(t) {
|
|
|
715
715
|
I,
|
|
716
716
|
/*address*/
|
|
717
717
|
t[17]
|
|
718
|
-
), s(W, Je), Q && Q.m(W, null), s(ue, me), s(ue, U), s(U,
|
|
718
|
+
), s(W, Je), Q && Q.m(W, null), s(ue, me), s(ue, U), s(U, G), s(G, oe), s(G, Se), s(G, re), s(U, ae), s(U, x), ee(
|
|
719
719
|
x,
|
|
720
720
|
/*postalCode*/
|
|
721
721
|
t[18]
|
|
@@ -723,11 +723,11 @@ function lt(t) {
|
|
|
723
723
|
se,
|
|
724
724
|
/*city*/
|
|
725
725
|
t[19]
|
|
726
|
-
), s(N, or), Z && Z.m(N, null), s(E, nr), s(E, ge), s(ge, ve), s(ve, Ze), s(ve, Xe), s(ve, Ne), s(ge, Ye), s(ge,
|
|
726
|
+
), s(N, or), Z && Z.m(N, null), s(E, nr), s(E, ge), s(ge, ve), s(ve, Ze), s(ve, Xe), s(ve, Ne), s(ge, Ye), s(ge, V);
|
|
727
727
|
for (let m = 0; m < R.length; m += 1)
|
|
728
|
-
R[m] && R[m].m(
|
|
728
|
+
R[m] && R[m].m(V, null);
|
|
729
729
|
Ke(
|
|
730
|
-
|
|
730
|
+
V,
|
|
731
731
|
/*countrySelected*/
|
|
732
732
|
t[21],
|
|
733
733
|
!0
|
|
@@ -831,7 +831,7 @@ function lt(t) {
|
|
|
831
831
|
t[57]
|
|
832
832
|
),
|
|
833
833
|
P(
|
|
834
|
-
|
|
834
|
+
V,
|
|
835
835
|
"change",
|
|
836
836
|
/*select0_change_handler*/
|
|
837
837
|
t[58]
|
|
@@ -933,14 +933,14 @@ function lt(t) {
|
|
|
933
933
|
1 && Oe !== (Oe = /*$_*/
|
|
934
934
|
o[31]("registerCountry") + "") && j(Ze, Oe), g[0] & /*countries*/
|
|
935
935
|
1048576) {
|
|
936
|
-
De =
|
|
936
|
+
De = Ve(
|
|
937
937
|
/*countries*/
|
|
938
938
|
o[20]
|
|
939
939
|
);
|
|
940
940
|
let m;
|
|
941
941
|
for (m = 0; m < De.length; m += 1) {
|
|
942
942
|
const Me = Sr(o, De, m);
|
|
943
|
-
R[m] ? R[m].p(Me, g) : (R[m] = Nr(Me), R[m].c(), R[m].m(
|
|
943
|
+
R[m] ? R[m].p(Me, g) : (R[m] = Nr(Me), R[m].c(), R[m].m(V, null));
|
|
944
944
|
}
|
|
945
945
|
for (; m < R.length; m += 1)
|
|
946
946
|
R[m].d(1);
|
|
@@ -948,7 +948,7 @@ function lt(t) {
|
|
|
948
948
|
}
|
|
949
949
|
if (g[0] & /*countrySelected, countries*/
|
|
950
950
|
3145728 && Ke(
|
|
951
|
-
|
|
951
|
+
V,
|
|
952
952
|
/*countrySelected*/
|
|
953
953
|
o[21]
|
|
954
954
|
), g[0] & /*disabledFieldsList*/
|
|
@@ -957,7 +957,7 @@ function lt(t) {
|
|
|
957
957
|
1 && je !== (je = /*$_*/
|
|
958
958
|
o[31]("registerNationality") + "") && j(Ue, je), g[0] & /*nationalities*/
|
|
959
959
|
4194304) {
|
|
960
|
-
We =
|
|
960
|
+
We = Ve(
|
|
961
961
|
/*nationalities*/
|
|
962
962
|
o[22]
|
|
963
963
|
);
|
|
@@ -981,18 +981,18 @@ function lt(t) {
|
|
|
981
981
|
1 && He !== (He = /*$_*/
|
|
982
982
|
o[31]("registerMobile") + "") && j(er, He), g[0] & /*mobilePrefixes*/
|
|
983
983
|
33554432) {
|
|
984
|
-
|
|
984
|
+
Ge = Ve(
|
|
985
985
|
/*mobilePrefixes*/
|
|
986
986
|
o[25]
|
|
987
987
|
);
|
|
988
988
|
let m;
|
|
989
|
-
for (m = 0; m <
|
|
990
|
-
const Me = Ar(o,
|
|
989
|
+
for (m = 0; m < Ge.length; m += 1) {
|
|
990
|
+
const Me = Ar(o, Ge, m);
|
|
991
991
|
D[m] ? D[m].p(Me, g) : (D[m] = jr(Me), D[m].c(), D[m].m(de, null));
|
|
992
992
|
}
|
|
993
993
|
for (; m < D.length; m += 1)
|
|
994
994
|
D[m].d(1);
|
|
995
|
-
D.length =
|
|
995
|
+
D.length = Ge.length;
|
|
996
996
|
}
|
|
997
997
|
g[0] & /*mobilePrefixSelected, mobilePrefixes*/
|
|
998
998
|
100663296 && Ke(
|
|
@@ -1028,7 +1028,7 @@ function lt(t) {
|
|
|
1028
1028
|
function ct(t, r, e) {
|
|
1029
1029
|
let n;
|
|
1030
1030
|
Xr(t, it, (l) => e(31, n = l));
|
|
1031
|
-
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, ue, W, fe, ke = !1, Ae = !1, Te = !1, _e = !1, Qe, I, Je = !1, Pe = "", me = "", U = "",
|
|
1031
|
+
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, ue, W, fe, ke = !1, Ae = !1, Te = !1, _e = !1, Qe, I, Je = !1, Pe = "", me = "", U = "", G = "", pe = [], oe = "", Se = [], re = "", ae = "", x = [], te = "", H = !1, Be = !1, N, ye, u = { mobile: {}, userConsents: {} }, k = {
|
|
1032
1032
|
address1: !1,
|
|
1033
1033
|
postalCode: !1,
|
|
1034
1034
|
city: !1,
|
|
@@ -1071,7 +1071,7 @@ function ct(t, r, e) {
|
|
|
1071
1071
|
e(18, U = C), Oe();
|
|
1072
1072
|
break;
|
|
1073
1073
|
case "city":
|
|
1074
|
-
e(19,
|
|
1074
|
+
e(19, G = C), Xe();
|
|
1075
1075
|
break;
|
|
1076
1076
|
case "country":
|
|
1077
1077
|
e(21, oe = C), e(30, k.country = !0, k);
|
|
@@ -1092,11 +1092,11 @@ function ct(t, r, e) {
|
|
|
1092
1092
|
e(29, u.address1 = me, u), e(6, E = !nr()), e(30, k.address1 = !E, k), le();
|
|
1093
1093
|
}, ve = () => !!(U && U.length <= 20), Oe = () => {
|
|
1094
1094
|
e(29, u.postalCode = U, u), e(7, ue = !ve()), e(30, k.postalCode = !ue, k), le();
|
|
1095
|
-
}, Ze = () => !!(
|
|
1096
|
-
e(29, u.city =
|
|
1095
|
+
}, Ze = () => !!(G && G.length <= 50), Xe = () => {
|
|
1096
|
+
e(29, u.city = G, u), e(9, fe = !Ze()), e(30, k.city = !fe, k), le();
|
|
1097
1097
|
}, Ne = () => !!(ae && ae.length >= 5 && ae.length <= 12), Ye = () => {
|
|
1098
1098
|
e(29, u.mobile.number = ae, u), e(8, W = !Ne()), e(30, k.mobile = !W, k), le();
|
|
1099
|
-
},
|
|
1099
|
+
}, V = (l) => {
|
|
1100
1100
|
l === "GeneralOffers" ? (e(27, H = !H), e(29, u.userConsents.sms = H, u), e(29, u.userConsents.emailmarketing = H, u)) : l === "SmsOffers" ? (e(29, u.userConsents.sms = !u.userConsents.sms, u), u.userConsents.sms && e(27, H = !0)) : l === "EmailOffers" && (e(29, u.userConsents.emailmarketing = !u.userConsents.emailmarketing, u), u.userConsents.emailmarketing && e(27, H = !0)), ze();
|
|
1101
1101
|
}, ze = () => {
|
|
1102
1102
|
!u.userConsents.sms && !u.userConsents.emailmarketing && e(27, H = !1);
|
|
@@ -1161,7 +1161,7 @@ function ct(t, r, e) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
const Ee = () => e(11, Ae = !0), He = () => e(11, Ae = !1);
|
|
1163
1163
|
function er() {
|
|
1164
|
-
|
|
1164
|
+
G = this.value, e(19, G);
|
|
1165
1165
|
}
|
|
1166
1166
|
const dr = () => e(13, _e = !0), qe = () => e(13, _e = !1);
|
|
1167
1167
|
function ur() {
|
|
@@ -1176,7 +1176,7 @@ function ct(t, r, e) {
|
|
|
1176
1176
|
function fr() {
|
|
1177
1177
|
ae = this.value, e(24, ae);
|
|
1178
1178
|
}
|
|
1179
|
-
const q = () => e(12, Te = !0), mr = () => e(12, Te = !1), Re = () =>
|
|
1179
|
+
const q = () => e(12, Te = !0), mr = () => e(12, Te = !1), Re = () => V("GeneralOffers"), gr = () => V("SmsOffers"), rr = () => V("EmailOffers"), be = () => $e(), Le = (l) => he(l);
|
|
1180
1180
|
function tr(l) {
|
|
1181
1181
|
$r[l ? "unshift" : "push"](() => {
|
|
1182
1182
|
N = l, e(5, N);
|
|
@@ -1219,7 +1219,7 @@ function ct(t, r, e) {
|
|
|
1219
1219
|
Pe,
|
|
1220
1220
|
me,
|
|
1221
1221
|
U,
|
|
1222
|
-
|
|
1222
|
+
G,
|
|
1223
1223
|
pe,
|
|
1224
1224
|
oe,
|
|
1225
1225
|
Se,
|
|
@@ -1237,7 +1237,7 @@ function ct(t, r, e) {
|
|
|
1237
1237
|
Oe,
|
|
1238
1238
|
Xe,
|
|
1239
1239
|
Ye,
|
|
1240
|
-
|
|
1240
|
+
V,
|
|
1241
1241
|
$e,
|
|
1242
1242
|
he,
|
|
1243
1243
|
je,
|
|
@@ -1272,7 +1272,7 @@ function ct(t, r, e) {
|
|
|
1272
1272
|
tr
|
|
1273
1273
|
];
|
|
1274
1274
|
}
|
|
1275
|
-
class dt extends
|
|
1275
|
+
class dt extends Vr {
|
|
1276
1276
|
constructor(r) {
|
|
1277
1277
|
super(), Kr(
|
|
1278
1278
|
this,
|