@everymatrix/general-player-register-form 1.52.6 → 1.53.10
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-CCoIeenv.js → GeneralPlayerRegisterForm-DyMX7J-g.js} +1235 -1290
- package/components/{GeneralPlayerRegisterFormStep1-DVIa2rjJ.js → GeneralPlayerRegisterFormStep1-DJDUHSnN.js} +119 -121
- package/components/{GeneralPlayerRegisterFormStep2-Cx3DNcUb.js → GeneralPlayerRegisterFormStep2-CEAKq4Bb.js} +1055 -1059
- package/components/{GeneralPlayerRegisterFormStep3-D1rK9Bf0.js → GeneralPlayerRegisterFormStep3-BixOUGOc.js} +498 -512
- package/components/{GeneralPlayerSmsVerificationForm-CBGEYebq.js → GeneralPlayerSmsVerificationForm-DqsOfPmx.js} +133 -149
- package/esnext/general-player-register-form.js +14 -0
- package/package.json +8 -15
- package/components/GeneralPlayerRegisterForm-t6rLlCV2.cjs +0 -5
- package/components/GeneralPlayerRegisterFormStep1-58R7jgfc.cjs +0 -1
- package/components/GeneralPlayerRegisterFormStep2-C4Uvs4-y.cjs +0 -10
- package/components/GeneralPlayerRegisterFormStep3-B4v67EHk.cjs +0 -1
- package/components/GeneralPlayerSmsVerificationForm-GzoAbila.cjs +0 -1
- package/es2015/general-player-register-form.cjs +0 -1
- package/es2015/general-player-register-form.js +0 -16
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as Lr, $ as Nr, S as Or, i as Vr, f as Se, c as jr, s as Rr, b as Dr, e as d, t as y, d as h, g as e, h as ae, j as s, k as J, l as p, m as U, n as Ke, o as oe, r as Hr, p as Zr, q as Mr, u as Sr, v as g, w as qr } from "./GeneralPlayerRegisterForm-DyMX7J-g.js";
|
|
2
|
+
function _r(r, t) {
|
|
3
|
+
Lr(r, t);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function Br(r) {
|
|
6
|
+
Nr.set(r);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const kr = {
|
|
9
9
|
en: {
|
|
10
10
|
registerTitle: "Create your account",
|
|
11
11
|
registerSubtitle: "Already have an account?",
|
|
@@ -260,10 +260,10 @@ const Lr = {
|
|
|
260
260
|
registerNext: "Next"
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
|
-
function
|
|
264
|
-
|
|
263
|
+
function Gr(r) {
|
|
264
|
+
Dr(r, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Ar(r) {
|
|
267
267
|
let t, i = (
|
|
268
268
|
/*$_*/
|
|
269
269
|
r[30]("registerEmailError") + ""
|
|
@@ -285,7 +285,7 @@ function Nr(r) {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Qr(r) {
|
|
289
289
|
let t, i = (
|
|
290
290
|
/*$_*/
|
|
291
291
|
r[30]("registerUsernameError") + ""
|
|
@@ -307,7 +307,7 @@ function Or(r) {
|
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function Kr(r) {
|
|
311
311
|
let t, i, u, o, n, f, m, w, C;
|
|
312
312
|
return {
|
|
313
313
|
c() {
|
|
@@ -327,7 +327,7 @@ function rt(r) {
|
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Yr(r) {
|
|
331
331
|
let t, i, u, o, n, f, m, w, C, v, S, A, _, j, b;
|
|
332
332
|
return {
|
|
333
333
|
c() {
|
|
@@ -347,7 +347,7 @@ function tt(r) {
|
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Fr(r) {
|
|
351
351
|
let t, i = (
|
|
352
352
|
/*$_*/
|
|
353
353
|
r[30]("registerPasswordError") + ""
|
|
@@ -369,7 +369,7 @@ function Vr(r) {
|
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Ir(r) {
|
|
373
373
|
let t, i = (
|
|
374
374
|
/*$_*/
|
|
375
375
|
r[30]("registerSimplePasswordError") + ""
|
|
@@ -391,7 +391,7 @@ function jr(r) {
|
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Jr(r) {
|
|
395
395
|
let t, i, u, o, n, f, m, w, C;
|
|
396
396
|
return {
|
|
397
397
|
c() {
|
|
@@ -411,7 +411,7 @@ function st(r) {
|
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Wr(r) {
|
|
415
415
|
let t, i, u, o, n, f, m, w, C, v, S, A, _, j, b;
|
|
416
416
|
return {
|
|
417
417
|
c() {
|
|
@@ -431,7 +431,7 @@ function it(r) {
|
|
|
431
431
|
}
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Tr(r) {
|
|
435
435
|
let t, i = (
|
|
436
436
|
/*$_*/
|
|
437
437
|
r[30]("registerConfirmPasswordError") + ""
|
|
@@ -453,7 +453,7 @@ function Rr(r) {
|
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ur(r) {
|
|
457
457
|
let t, i = (
|
|
458
458
|
/*custominputtextswitch*/
|
|
459
459
|
(r[2] == "true" ? (
|
|
@@ -487,7 +487,7 @@ function Dr(r) {
|
|
|
487
487
|
}
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function zr(r) {
|
|
491
491
|
let t, i = (
|
|
492
492
|
/*custominputtextswitch*/
|
|
493
493
|
(r[2] == "true" ? (
|
|
@@ -521,7 +521,7 @@ function Hr(r) {
|
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Xr(r) {
|
|
525
525
|
let t, i, u, o = (
|
|
526
526
|
/*$_*/
|
|
527
527
|
r[30]("registerTitle") + ""
|
|
@@ -540,13 +540,13 @@ function at(r) {
|
|
|
540
540
|
), D, W, ue, ve, T, ce, ye, X, z, k, H, ne = (
|
|
541
541
|
/*$_*/
|
|
542
542
|
r[30]("registerPassword") + ""
|
|
543
|
-
), Ye, Je, ze, x, Q, Pe,
|
|
543
|
+
), Ye, Je, ze, x, Q, Pe, sr, Le, Ne, _e, ke, We, L, be, Ae = (
|
|
544
544
|
/*$_*/
|
|
545
545
|
r[30]("registerConfirmPassword") + ""
|
|
546
|
-
), Xe, Oe, Qe, xe, V, $e, Ve, je,
|
|
546
|
+
), Xe, Oe, Qe, xe, V, $e, Ve, je, ir, de, Fe, Re = (
|
|
547
547
|
/*$_*/
|
|
548
548
|
r[30]("registerPromoCode") + ""
|
|
549
|
-
), er,
|
|
549
|
+
), er, ar, or, $, nr, De, lr, se, he, He = (
|
|
550
550
|
/*custominputtextswitch*/
|
|
551
551
|
(r[2] == "true" ? (
|
|
552
552
|
/*$_*/
|
|
@@ -555,7 +555,7 @@ function at(r) {
|
|
|
555
555
|
/*$_*/
|
|
556
556
|
r[30]("registerSecurityQuestion")
|
|
557
557
|
)) + ""
|
|
558
|
-
), rr,
|
|
558
|
+
), rr, ur, Ze, cr, ee, dr, Me, mr, ie, Ce, qe = (
|
|
559
559
|
/*custominputtextswitch*/
|
|
560
560
|
(r[2] == "true" ? (
|
|
561
561
|
/*$_*/
|
|
@@ -564,73 +564,72 @@ function at(r) {
|
|
|
564
564
|
/*$_*/
|
|
565
565
|
r[30]("registerSecurityAnswer")
|
|
566
566
|
)) + ""
|
|
567
|
-
), tr,
|
|
567
|
+
), tr, gr, Be, fr, re, pr, Ge, wr, l, P = (
|
|
568
568
|
/*$_*/
|
|
569
569
|
r[30]("registerNext") + ""
|
|
570
|
-
), N,
|
|
570
|
+
), N, yr, Cr, Er, Z = (
|
|
571
571
|
/*invalidEmail*/
|
|
572
|
-
r[4] &&
|
|
572
|
+
r[4] && Ar(r)
|
|
573
573
|
), M = (
|
|
574
574
|
/*invalidName*/
|
|
575
|
-
r[5] &&
|
|
575
|
+
r[5] && Qr(r)
|
|
576
576
|
);
|
|
577
|
-
function
|
|
577
|
+
function vr(a, c) {
|
|
578
578
|
return (
|
|
579
579
|
/*isPasswordVisible*/
|
|
580
|
-
a[25] ?
|
|
580
|
+
a[25] ? Yr : Kr
|
|
581
581
|
);
|
|
582
582
|
}
|
|
583
|
-
let
|
|
583
|
+
let br = vr(r), me = br(r), q = (
|
|
584
584
|
/*invalidPassword*/
|
|
585
585
|
r[6] && /*simplepasswordvalidation*/
|
|
586
|
-
r[0] !== "true" &&
|
|
586
|
+
r[0] !== "true" && Fr(r)
|
|
587
587
|
), B = (
|
|
588
588
|
/*invalidPassword*/
|
|
589
589
|
r[6] && /*simplepasswordvalidation*/
|
|
590
|
-
r[0] === "true" &&
|
|
590
|
+
r[0] === "true" && Ir(r)
|
|
591
591
|
);
|
|
592
|
-
function
|
|
592
|
+
function Pr(a, c) {
|
|
593
593
|
return (
|
|
594
594
|
/*isConfirmPasswordVisible*/
|
|
595
|
-
a[26] ?
|
|
595
|
+
a[26] ? Wr : Jr
|
|
596
596
|
);
|
|
597
597
|
}
|
|
598
|
-
let
|
|
598
|
+
let hr = Pr(r), ge = hr(r), G = (
|
|
599
599
|
/*invalidConfirmPassword*/
|
|
600
|
-
r[7] &&
|
|
600
|
+
r[7] && Tr(r)
|
|
601
601
|
), K = (
|
|
602
602
|
/*invalidSecurityQuestion*/
|
|
603
|
-
r[8] &&
|
|
603
|
+
r[8] && Ur(r)
|
|
604
604
|
), Y = (
|
|
605
605
|
/*invalidSecurityAnswer*/
|
|
606
|
-
r[9] &&
|
|
606
|
+
r[9] && zr(r)
|
|
607
607
|
);
|
|
608
608
|
return {
|
|
609
609
|
c() {
|
|
610
|
-
|
|
611
|
-
t = d("div"), i = d("div"), u = d("h2"), n = y(o), f = h(), m = d("p"), C = y(w), v = h(), S = d("span"), _ = y(A), j = h(), b = d("form"), E = d("div"), F = d("label"), Ee = y(fe), Ie = y(":"), pe = d("span"), pe.textContent = "*", Te = h(), O = d("input"), Ue = h(), Z && Z.c(), le = h(), I = d("div"), R = d("label"), D = y(te), W = y(":"), ue = d("span"), ue.textContent = "*", ve = h(), T = d("input"), ye = h(), M && M.c(), z = h(), k = d("div"), H = d("label"), Ye = y(ne), Je = y(":"), ze = d("span"), ze.textContent = "*", x = h(), Q = d("input"), ur = h(), me.c(), Le = h(), q && q.c(), Ne = h(), B && B.c(), We = h(), L = d("div"), be = d("label"), Xe = y(Ae), Oe = y(":"), Qe = d("span"), Qe.textContent = "*", xe = h(), V = d("input"), $e = h(), ge.c(), Ve = h(), G && G.c(), cr = h(), de = d("div"), Fe = d("label"), er = y(Re), dr = y(":"), mr = h(), $ = d("input"), gr = h(), fr = h(), se = d("div"), he = d("label"), rr = y(He), pr = y(":"), Ze = d("span"), Ze.textContent = "*", wr = h(), ee = d("input"), yr = h(), K && K.c(), br = h(), ie = d("div"), Ce = d("label"), tr = y(qe), hr = y(":"), Be = d("span"), Be.textContent = "*", Cr = h(), re = d("input"), Sr = h(), Y && Y.c(), Er = h(), l = d("button"), N = y(P), e(u, "class", "RegisterFormTitle"), e(S, "class", "FormLoginCallToAction"), e(m, "class", "RegisterFormSubtitle"), e(i, "class", "RegisterFormHeader"), e(pe, "class", "FormRequired"), e(F, "for", "Email"), e(O, "type", "text"), e(O, "id", "Email"), e(E, "class", we = "EmailContainer " + /*invalidEmail*/
|
|
610
|
+
t = d("div"), i = d("div"), u = d("h2"), n = y(o), f = h(), m = d("p"), C = y(w), v = h(), S = d("span"), _ = y(A), j = h(), b = d("form"), E = d("div"), F = d("label"), Ee = y(fe), Ie = y(":"), pe = d("span"), pe.textContent = "*", Te = h(), O = d("input"), Ue = h(), Z && Z.c(), le = h(), I = d("div"), R = d("label"), D = y(te), W = y(":"), ue = d("span"), ue.textContent = "*", ve = h(), T = d("input"), ye = h(), M && M.c(), z = h(), k = d("div"), H = d("label"), Ye = y(ne), Je = y(":"), ze = d("span"), ze.textContent = "*", x = h(), Q = d("input"), sr = h(), me.c(), Le = h(), q && q.c(), Ne = h(), B && B.c(), We = h(), L = d("div"), be = d("label"), Xe = y(Ae), Oe = y(":"), Qe = d("span"), Qe.textContent = "*", xe = h(), V = d("input"), $e = h(), ge.c(), Ve = h(), G && G.c(), ir = h(), de = d("div"), Fe = d("label"), er = y(Re), ar = y(":"), or = h(), $ = d("input"), nr = h(), lr = h(), se = d("div"), he = d("label"), rr = y(He), ur = y(":"), Ze = d("span"), Ze.textContent = "*", cr = h(), ee = d("input"), dr = h(), K && K.c(), mr = h(), ie = d("div"), Ce = d("label"), tr = y(qe), gr = y(":"), Be = d("span"), Be.textContent = "*", fr = h(), re = d("input"), pr = h(), Y && Y.c(), wr = h(), l = d("button"), N = y(P), e(u, "class", "RegisterFormTitle"), e(S, "class", "FormLoginCallToAction"), e(m, "class", "RegisterFormSubtitle"), e(i, "class", "RegisterFormHeader"), e(pe, "class", "FormRequired"), e(F, "for", "Email"), e(O, "type", "text"), e(O, "id", "Email"), e(E, "class", we = "EmailContainer " + /*invalidEmail*/
|
|
612
611
|
(r[4] && !/*emailFocus*/
|
|
613
612
|
r[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
614
|
-
(
|
|
613
|
+
(r[17]?.indexOf("email") >= 0 ? "Hidden" : "")), e(ue, "class", "FormRequired"), e(R, "for", "UserName"), e(T, "type", "text"), e(T, "id", "UserName"), e(T, "autocomplete", ce = /*savecredentials*/
|
|
615
614
|
r[1] ? "username" : "off"), e(I, "class", X = "UserContainer " + /*invalidName*/
|
|
616
615
|
(r[5] && !/*usernameFocus*/
|
|
617
616
|
r[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
618
|
-
(
|
|
617
|
+
(r[17]?.indexOf("username") >= 0 ? "Hidden" : "")), e(ze, "class", "FormRequired"), e(H, "for", "Password"), e(Q, "name", "new-password"), e(Q, "type", "password"), e(Q, "id", "new-password"), e(Q, "autocomplete", Pe = /*savecredentials*/
|
|
619
618
|
r[1] ? "new-password" : "off"), e(Q, "aria-describedby", "password-constraints"), e(k, "class", _e = "PasswordContainer " + /*invalidPassword*/
|
|
620
619
|
(r[6] && !/*passwordFocus*/
|
|
621
620
|
r[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
622
|
-
(
|
|
623
|
-
|
|
621
|
+
(r[17]?.indexOf("password") >= 0 ? "Hidden" : "")), k.hidden = ke = /*disabledFieldsList*/
|
|
622
|
+
r[17]?.indexOf("password") >= 0, e(Qe, "class", "FormRequired"), e(be, "for", "ConfirmPassword"), e(V, "type", "password"), e(V, "id", "ConfirmPassword"), e(L, "class", je = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
624
623
|
(r[7] && !/*confirmPasswordFocus*/
|
|
625
624
|
r[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
626
|
-
(
|
|
627
|
-
(
|
|
625
|
+
(r[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), e(Fe, "for", "PromoCode"), e($, "type", "text"), e($, "id", "PromoCode"), e(de, "class", De = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
626
|
+
(r[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), e(Ze, "class", "FormRequired"), e(he, "for", "SecurityQuestion"), e(ee, "type", "text"), e(ee, "id", "SecurityQuestion"), e(se, "class", Me = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
628
627
|
(r[8] && !/*securityQFocus*/
|
|
629
628
|
r[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
630
|
-
(
|
|
629
|
+
(r[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), e(Be, "class", "FormRequired"), e(Ce, "for", "SecurityAnswer"), e(re, "type", "text"), e(re, "id", "SecurityAnswer"), e(ie, "class", Ge = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
631
630
|
(r[9] && !/*securityAFocus*/
|
|
632
631
|
r[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
633
|
-
(
|
|
632
|
+
(r[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), e(l, "class", "RegisterStepNext"), l.disabled = yr = !/*isValid*/
|
|
634
633
|
r[29], e(b, "class", "RegisterFormContent");
|
|
635
634
|
},
|
|
636
635
|
m(a, c) {
|
|
@@ -646,23 +645,23 @@ function at(r) {
|
|
|
646
645
|
Q,
|
|
647
646
|
/*userPassword*/
|
|
648
647
|
r[20]
|
|
649
|
-
), r[59](Q), s(k,
|
|
648
|
+
), r[59](Q), s(k, sr), me.m(k, null), s(k, Le), q && q.m(k, null), s(k, Ne), B && B.m(k, null), s(b, We), s(b, L), s(L, be), s(be, Xe), s(be, Oe), s(be, Qe), s(L, xe), s(L, V), J(
|
|
650
649
|
V,
|
|
651
650
|
/*confirmUserPassword*/
|
|
652
651
|
r[21]
|
|
653
|
-
), r[65](V), s(L, $e), ge.m(L, null), s(L, Ve), G && G.m(L, null), s(b,
|
|
652
|
+
), r[65](V), s(L, $e), ge.m(L, null), s(L, Ve), G && G.m(L, null), s(b, ir), s(b, de), s(de, Fe), s(Fe, er), s(Fe, ar), s(de, or), s(de, $), J(
|
|
654
653
|
$,
|
|
655
654
|
/*promoCode*/
|
|
656
655
|
r[24]
|
|
657
|
-
), s(de,
|
|
656
|
+
), s(de, nr), s(b, lr), s(b, se), s(se, he), s(he, rr), s(he, ur), s(he, Ze), s(se, cr), s(se, ee), J(
|
|
658
657
|
ee,
|
|
659
658
|
/*securityQuestion*/
|
|
660
659
|
r[22]
|
|
661
|
-
), s(se,
|
|
660
|
+
), s(se, dr), K && K.m(se, null), s(b, mr), s(b, ie), s(ie, Ce), s(Ce, tr), s(Ce, gr), s(Ce, Be), s(ie, fr), s(ie, re), J(
|
|
662
661
|
re,
|
|
663
662
|
/*securityAnswer*/
|
|
664
663
|
r[23]
|
|
665
|
-
), s(ie,
|
|
664
|
+
), s(ie, pr), Y && Y.m(ie, null), s(b, wr), s(b, l), s(l, N), r[78](t), Cr || (Er = [
|
|
666
665
|
p(
|
|
667
666
|
S,
|
|
668
667
|
"click",
|
|
@@ -843,10 +842,9 @@ function at(r) {
|
|
|
843
842
|
/*click_handler_5*/
|
|
844
843
|
r[77]
|
|
845
844
|
)
|
|
846
|
-
],
|
|
845
|
+
], Cr = !0);
|
|
847
846
|
},
|
|
848
847
|
p(a, c) {
|
|
849
|
-
var sr, ir, ar, or, nr, lr, Tr, Ur;
|
|
850
848
|
c[0] & /*$_*/
|
|
851
849
|
1073741824 && o !== (o = /*$_*/
|
|
852
850
|
a[30]("registerTitle") + "") && U(n, o), c[0] & /*$_*/
|
|
@@ -862,11 +860,11 @@ function at(r) {
|
|
|
862
860
|
/*userEmail*/
|
|
863
861
|
a[19]
|
|
864
862
|
), /*invalidEmail*/
|
|
865
|
-
a[4] ? Z ? Z.p(a, c) : (Z =
|
|
863
|
+
a[4] ? Z ? Z.p(a, c) : (Z = Ar(a), Z.c(), Z.m(E, null)) : Z && (Z.d(1), Z = null), c[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
866
864
|
132112 && we !== (we = "EmailContainer " + /*invalidEmail*/
|
|
867
865
|
(a[4] && !/*emailFocus*/
|
|
868
866
|
a[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
869
|
-
(
|
|
867
|
+
(a[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && e(E, "class", we), c[0] & /*$_*/
|
|
870
868
|
1073741824 && te !== (te = /*$_*/
|
|
871
869
|
a[30]("registerUsername") + "") && U(D, te), c[0] & /*savecredentials*/
|
|
872
870
|
2 && ce !== (ce = /*savecredentials*/
|
|
@@ -877,11 +875,11 @@ function at(r) {
|
|
|
877
875
|
/*userValue*/
|
|
878
876
|
a[18]
|
|
879
877
|
), /*invalidName*/
|
|
880
|
-
a[5] ? M ? M.p(a, c) : (M =
|
|
878
|
+
a[5] ? M ? M.p(a, c) : (M = Qr(a), M.c(), M.m(I, null)) : M && (M.d(1), M = null), c[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
881
879
|
133152 && X !== (X = "UserContainer " + /*invalidName*/
|
|
882
880
|
(a[5] && !/*usernameFocus*/
|
|
883
881
|
a[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
884
|
-
(
|
|
882
|
+
(a[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && e(I, "class", X), c[0] & /*$_*/
|
|
885
883
|
1073741824 && ne !== (ne = /*$_*/
|
|
886
884
|
a[30]("registerPassword") + "") && U(Ye, ne), c[0] & /*savecredentials*/
|
|
887
885
|
2 && Pe !== (Pe = /*savecredentials*/
|
|
@@ -891,17 +889,17 @@ function at(r) {
|
|
|
891
889
|
Q,
|
|
892
890
|
/*userPassword*/
|
|
893
891
|
a[20]
|
|
894
|
-
),
|
|
892
|
+
), br === (br = vr(a)) && me ? me.p(a, c) : (me.d(1), me = br(a), me && (me.c(), me.m(k, Le))), /*invalidPassword*/
|
|
895
893
|
a[6] && /*simplepasswordvalidation*/
|
|
896
|
-
a[0] !== "true" ? q ? q.p(a, c) : (q =
|
|
894
|
+
a[0] !== "true" ? q ? q.p(a, c) : (q = Fr(a), q.c(), q.m(k, Ne)) : q && (q.d(1), q = null), /*invalidPassword*/
|
|
897
895
|
a[6] && /*simplepasswordvalidation*/
|
|
898
|
-
a[0] === "true" ? B ? B.p(a, c) : (B =
|
|
896
|
+
a[0] === "true" ? B ? B.p(a, c) : (B = Ir(a), B.c(), B.m(k, null)) : B && (B.d(1), B = null), c[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
899
897
|
135232 && _e !== (_e = "PasswordContainer " + /*invalidPassword*/
|
|
900
898
|
(a[6] && !/*passwordFocus*/
|
|
901
899
|
a[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
902
|
-
(
|
|
900
|
+
(a[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && e(k, "class", _e), c[0] & /*disabledFieldsList*/
|
|
903
901
|
131072 && ke !== (ke = /*disabledFieldsList*/
|
|
904
|
-
|
|
902
|
+
a[17]?.indexOf("password") >= 0) && (k.hidden = ke), c[0] & /*$_*/
|
|
905
903
|
1073741824 && Ae !== (Ae = /*$_*/
|
|
906
904
|
a[30]("registerConfirmPassword") + "") && U(Xe, Ae), c[0] & /*confirmUserPassword*/
|
|
907
905
|
2097152 && V.value !== /*confirmUserPassword*/
|
|
@@ -909,12 +907,12 @@ function at(r) {
|
|
|
909
907
|
V,
|
|
910
908
|
/*confirmUserPassword*/
|
|
911
909
|
a[21]
|
|
912
|
-
),
|
|
913
|
-
a[7] ? G ? G.p(a, c) : (G =
|
|
910
|
+
), hr === (hr = Pr(a)) && ge ? ge.p(a, c) : (ge.d(1), ge = hr(a), ge && (ge.c(), ge.m(L, Ve))), /*invalidConfirmPassword*/
|
|
911
|
+
a[7] ? G ? G.p(a, c) : (G = Tr(a), G.c(), G.m(L, null)) : G && (G.d(1), G = null), c[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
914
912
|
139392 && je !== (je = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
915
913
|
(a[7] && !/*confirmPasswordFocus*/
|
|
916
914
|
a[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
917
|
-
(
|
|
915
|
+
(a[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && e(L, "class", je), c[0] & /*$_*/
|
|
918
916
|
1073741824 && Re !== (Re = /*$_*/
|
|
919
917
|
a[30]("registerPromoCode") + "") && U(er, Re), c[0] & /*promoCode*/
|
|
920
918
|
16777216 && $.value !== /*promoCode*/
|
|
@@ -924,7 +922,7 @@ function at(r) {
|
|
|
924
922
|
a[24]
|
|
925
923
|
), c[0] & /*disabledFieldsList*/
|
|
926
924
|
131072 && De !== (De = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
927
|
-
(
|
|
925
|
+
(a[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && e(de, "class", De), c[0] & /*custominputtextswitch, $_*/
|
|
928
926
|
1073741828 && He !== (He = /*custominputtextswitch*/
|
|
929
927
|
(a[2] == "true" ? (
|
|
930
928
|
/*$_*/
|
|
@@ -939,11 +937,11 @@ function at(r) {
|
|
|
939
937
|
/*securityQuestion*/
|
|
940
938
|
a[22]
|
|
941
939
|
), /*invalidSecurityQuestion*/
|
|
942
|
-
a[8] ? K ? K.p(a, c) : (K =
|
|
940
|
+
a[8] ? K ? K.p(a, c) : (K = Ur(a), K.c(), K.m(se, null)) : K && (K.d(1), K = null), c[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
943
941
|
147712 && Me !== (Me = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
944
942
|
(a[8] && !/*securityQFocus*/
|
|
945
943
|
a[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
946
|
-
(
|
|
944
|
+
(a[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && e(se, "class", Me), c[0] & /*custominputtextswitch, $_*/
|
|
947
945
|
1073741828 && qe !== (qe = /*custominputtextswitch*/
|
|
948
946
|
(a[2] == "true" ? (
|
|
949
947
|
/*$_*/
|
|
@@ -958,26 +956,26 @@ function at(r) {
|
|
|
958
956
|
/*securityAnswer*/
|
|
959
957
|
a[23]
|
|
960
958
|
), /*invalidSecurityAnswer*/
|
|
961
|
-
a[9] ? Y ? Y.p(a, c) : (Y =
|
|
959
|
+
a[9] ? Y ? Y.p(a, c) : (Y = zr(a), Y.c(), Y.m(ie, null)) : Y && (Y.d(1), Y = null), c[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
962
960
|
164352 && Ge !== (Ge = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
963
961
|
(a[9] && !/*securityAFocus*/
|
|
964
962
|
a[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
965
|
-
(
|
|
963
|
+
(a[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && e(ie, "class", Ge), c[0] & /*$_*/
|
|
966
964
|
1073741824 && P !== (P = /*$_*/
|
|
967
965
|
a[30]("registerNext") + "") && U(N, P), c[0] & /*isValid*/
|
|
968
|
-
536870912 &&
|
|
969
|
-
a[29]) && (l.disabled =
|
|
966
|
+
536870912 && yr !== (yr = !/*isValid*/
|
|
967
|
+
a[29]) && (l.disabled = yr);
|
|
970
968
|
},
|
|
971
969
|
i: Ke,
|
|
972
970
|
o: Ke,
|
|
973
971
|
d(a) {
|
|
974
|
-
a && oe(t), Z && Z.d(), M && M.d(), r[59](null), me.d(), q && q.d(), B && B.d(), r[65](null), ge.d(), G && G.d(), K && K.d(), Y && Y.d(), r[78](null),
|
|
972
|
+
a && oe(t), Z && Z.d(), M && M.d(), r[59](null), me.d(), q && q.d(), B && B.d(), r[65](null), ge.d(), G && G.d(), K && K.d(), Y && Y.d(), r[78](null), Cr = !1, Hr(Er);
|
|
975
973
|
}
|
|
976
974
|
};
|
|
977
975
|
}
|
|
978
|
-
function
|
|
976
|
+
function xr(r, t, i) {
|
|
979
977
|
let u;
|
|
980
|
-
|
|
978
|
+
Zr(r, qr, (l) => i(30, u = l));
|
|
981
979
|
let { lang: o = "" } = t, { disabledfields: n = "" } = t, { simplepasswordvalidation: f = "false" } = t, { clientstyling: m = "" } = t, { clientstylingurl: w = "" } = t, { translationurl: C = "" } = t, { savecredentials: v = "" } = t, { custominputtextswitch: S = "false" } = t, A = !1, _ = !1, j = !1, b = !1, E = !1, F = !1, fe = !1, Ee = !1, Ie = !1, pe = !1, Te = !1, O = !1, Ue = !1, we, le = "", I = "", R = "", te = "", D = "", W = "", ue = "", ve = !1, T = !1, ce, ye, X = {}, z = {
|
|
982
980
|
username: !1,
|
|
983
981
|
email: !1,
|
|
@@ -995,14 +993,14 @@ function ot(r, t, i) {
|
|
|
995
993
|
const Ye = () => {
|
|
996
994
|
fetch(C).then((P) => P.json()).then((P) => {
|
|
997
995
|
Object.keys(P).forEach((N) => {
|
|
998
|
-
|
|
996
|
+
_r(N, P[N]);
|
|
999
997
|
});
|
|
1000
998
|
}).catch((P) => {
|
|
1001
999
|
console.log(P);
|
|
1002
1000
|
});
|
|
1003
1001
|
};
|
|
1004
|
-
Object.keys(
|
|
1005
|
-
|
|
1002
|
+
Object.keys(kr).forEach((l) => {
|
|
1003
|
+
_r(l, kr[l]);
|
|
1006
1004
|
});
|
|
1007
1005
|
const Je = () => {
|
|
1008
1006
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -1037,7 +1035,7 @@ function ot(r, t, i) {
|
|
|
1037
1035
|
X.email = I, ne.email.test(I) && I.length <= 100 ? i(4, A = !1) : i(4, A = !0), z.email = !A, x();
|
|
1038
1036
|
}, Pe = () => {
|
|
1039
1037
|
X.username = le, ne.user.test(le) && le.length <= 20 ? i(5, _ = !1) : i(5, _ = !0), z.username = !_, x();
|
|
1040
|
-
},
|
|
1038
|
+
}, sr = () => {
|
|
1041
1039
|
f == "true" && (ne.password = /^(?!.* ).{8,20}$/);
|
|
1042
1040
|
}, Le = () => {
|
|
1043
1041
|
i(25, ve = !0), We();
|
|
@@ -1109,8 +1107,8 @@ function ot(r, t, i) {
|
|
|
1109
1107
|
}
|
|
1110
1108
|
}, je = () => {
|
|
1111
1109
|
i(17, we = n.split(","));
|
|
1112
|
-
},
|
|
1113
|
-
|
|
1110
|
+
}, ir = () => {
|
|
1111
|
+
Br(o);
|
|
1114
1112
|
}, de = () => {
|
|
1115
1113
|
let l = document.createElement("style");
|
|
1116
1114
|
l.innerHTML = m, H.appendChild(l);
|
|
@@ -1129,38 +1127,38 @@ function ot(r, t, i) {
|
|
|
1129
1127
|
);
|
|
1130
1128
|
});
|
|
1131
1129
|
};
|
|
1132
|
-
|
|
1130
|
+
Mr(() => (window.addEventListener("message", Ve, !1), () => {
|
|
1133
1131
|
window.removeEventListener("message", Ve);
|
|
1134
1132
|
}));
|
|
1135
1133
|
const Re = () => Je();
|
|
1136
1134
|
function er() {
|
|
1137
1135
|
I = this.value, i(19, I);
|
|
1138
1136
|
}
|
|
1139
|
-
const
|
|
1137
|
+
const ar = () => i(10, fe = !0), or = () => i(10, fe = !1);
|
|
1140
1138
|
function $() {
|
|
1141
1139
|
le = this.value, i(18, le);
|
|
1142
1140
|
}
|
|
1143
|
-
const
|
|
1144
|
-
function
|
|
1141
|
+
const nr = () => i(11, Ee = !0), De = () => i(11, Ee = !1);
|
|
1142
|
+
function lr() {
|
|
1145
1143
|
R = this.value, i(20, R);
|
|
1146
1144
|
}
|
|
1147
1145
|
const se = () => i(12, Ie = !0), he = () => i(12, Ie = !1);
|
|
1148
1146
|
function He(l) {
|
|
1149
|
-
|
|
1147
|
+
Sr[l ? "unshift" : "push"](() => {
|
|
1150
1148
|
ce = l, i(27, ce);
|
|
1151
1149
|
});
|
|
1152
1150
|
}
|
|
1153
|
-
const rr = () => _e(),
|
|
1151
|
+
const rr = () => _e(), ur = () => Le();
|
|
1154
1152
|
function Ze() {
|
|
1155
1153
|
te = this.value, i(21, te);
|
|
1156
1154
|
}
|
|
1157
|
-
const
|
|
1158
|
-
function
|
|
1159
|
-
|
|
1155
|
+
const cr = () => i(13, pe = !0), ee = () => i(13, pe = !1);
|
|
1156
|
+
function dr(l) {
|
|
1157
|
+
Sr[l ? "unshift" : "push"](() => {
|
|
1160
1158
|
ye = l, i(28, ye);
|
|
1161
1159
|
});
|
|
1162
1160
|
}
|
|
1163
|
-
const Me = () => ke(),
|
|
1161
|
+
const Me = () => ke(), mr = () => Ne();
|
|
1164
1162
|
function ie() {
|
|
1165
1163
|
ue = this.value, i(24, ue);
|
|
1166
1164
|
}
|
|
@@ -1168,13 +1166,13 @@ function ot(r, t, i) {
|
|
|
1168
1166
|
function tr() {
|
|
1169
1167
|
D = this.value, i(22, D);
|
|
1170
1168
|
}
|
|
1171
|
-
const
|
|
1172
|
-
function
|
|
1169
|
+
const gr = () => i(14, Te = !0), Be = () => i(14, Te = !1);
|
|
1170
|
+
function fr() {
|
|
1173
1171
|
W = this.value, i(23, W);
|
|
1174
1172
|
}
|
|
1175
|
-
const re = () => i(15, O = !0),
|
|
1176
|
-
function
|
|
1177
|
-
|
|
1173
|
+
const re = () => i(15, O = !0), pr = () => i(15, O = !1), Ge = (l) => $e(l);
|
|
1174
|
+
function wr(l) {
|
|
1175
|
+
Sr[l ? "unshift" : "push"](() => {
|
|
1178
1176
|
H = l, i(3, H);
|
|
1179
1177
|
});
|
|
1180
1178
|
}
|
|
@@ -1182,9 +1180,9 @@ function ot(r, t, i) {
|
|
|
1182
1180
|
"lang" in l && i(44, o = l.lang), "disabledfields" in l && i(45, n = l.disabledfields), "simplepasswordvalidation" in l && i(0, f = l.simplepasswordvalidation), "clientstyling" in l && i(46, m = l.clientstyling), "clientstylingurl" in l && i(47, w = l.clientstylingurl), "translationurl" in l && i(48, C = l.translationurl), "savecredentials" in l && i(1, v = l.savecredentials), "custominputtextswitch" in l && i(2, S = l.custominputtextswitch);
|
|
1183
1181
|
}, r.$$.update = () => {
|
|
1184
1182
|
r.$$.dirty[1] & /*lang*/
|
|
1185
|
-
8192 && o &&
|
|
1183
|
+
8192 && o && ir(), r.$$.dirty[1] & /*disabledfields*/
|
|
1186
1184
|
16384 && n && je(), r.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
1187
|
-
1 && f &&
|
|
1185
|
+
1 && f && sr(), r.$$.dirty[0] & /*customStylingContainer*/
|
|
1188
1186
|
8 | r.$$.dirty[1] & /*clientstyling*/
|
|
1189
1187
|
32768 && m && H && de(), r.$$.dirty[0] & /*customStylingContainer*/
|
|
1190
1188
|
8 | r.$$.dirty[1] & /*clientstylingurl*/
|
|
@@ -1242,44 +1240,44 @@ function ot(r, t, i) {
|
|
|
1242
1240
|
C,
|
|
1243
1241
|
Re,
|
|
1244
1242
|
er,
|
|
1245
|
-
|
|
1246
|
-
|
|
1243
|
+
ar,
|
|
1244
|
+
or,
|
|
1247
1245
|
$,
|
|
1248
|
-
|
|
1246
|
+
nr,
|
|
1249
1247
|
De,
|
|
1250
|
-
|
|
1248
|
+
lr,
|
|
1251
1249
|
se,
|
|
1252
1250
|
he,
|
|
1253
1251
|
He,
|
|
1254
1252
|
rr,
|
|
1255
|
-
|
|
1253
|
+
ur,
|
|
1256
1254
|
Ze,
|
|
1257
|
-
|
|
1255
|
+
cr,
|
|
1258
1256
|
ee,
|
|
1259
|
-
|
|
1257
|
+
dr,
|
|
1260
1258
|
Me,
|
|
1261
|
-
|
|
1259
|
+
mr,
|
|
1262
1260
|
ie,
|
|
1263
1261
|
Ce,
|
|
1264
1262
|
qe,
|
|
1265
1263
|
tr,
|
|
1266
|
-
|
|
1264
|
+
gr,
|
|
1267
1265
|
Be,
|
|
1268
|
-
|
|
1266
|
+
fr,
|
|
1269
1267
|
re,
|
|
1270
|
-
|
|
1268
|
+
pr,
|
|
1271
1269
|
Ge,
|
|
1272
|
-
|
|
1270
|
+
wr
|
|
1273
1271
|
];
|
|
1274
1272
|
}
|
|
1275
|
-
class
|
|
1273
|
+
class $r extends Or {
|
|
1276
1274
|
constructor(t) {
|
|
1277
|
-
super(),
|
|
1275
|
+
super(), Vr(
|
|
1278
1276
|
this,
|
|
1279
1277
|
t,
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1278
|
+
xr,
|
|
1279
|
+
Xr,
|
|
1280
|
+
Rr,
|
|
1283
1281
|
{
|
|
1284
1282
|
lang: 44,
|
|
1285
1283
|
disabledfields: 45,
|
|
@@ -1290,7 +1288,7 @@ class nt extends qr {
|
|
|
1290
1288
|
savecredentials: 1,
|
|
1291
1289
|
custominputtextswitch: 2
|
|
1292
1290
|
},
|
|
1293
|
-
|
|
1291
|
+
Gr,
|
|
1294
1292
|
[-1, -1, -1, -1]
|
|
1295
1293
|
);
|
|
1296
1294
|
}
|
|
@@ -1343,7 +1341,7 @@ class nt extends qr {
|
|
|
1343
1341
|
this.$$set({ custominputtextswitch: t }), Se();
|
|
1344
1342
|
}
|
|
1345
1343
|
}
|
|
1346
|
-
|
|
1344
|
+
jr($r, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
1347
1345
|
export {
|
|
1348
|
-
|
|
1346
|
+
$r as default
|
|
1349
1347
|
};
|