@everymatrix/general-player-login-form 1.54.8 → 1.54.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/{GeneralPlayerLoginForm-Co2gKUgp.cjs → GeneralPlayerLoginForm-BSYjhcAL.cjs} +3 -3
- package/components/{GeneralPlayerLoginForm-CrntUfLK.js → GeneralPlayerLoginForm-CWtUjEfm.js} +95 -95
- package/components/{GeneralPlayerLoginForm-02QMdS8-.js → GeneralPlayerLoginForm-CvvPuW0t.js} +96 -96
- package/components/{GeneralPlayerSmsVerificationForm-DxeI1pC9.js → GeneralPlayerSmsVerificationForm-CmqTxkUU.js} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-BTKpLiv4.js → GeneralPlayerSmsVerificationForm-H1CjJeVy.js} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-jXfj0mWn.cjs → GeneralPlayerSmsVerificationForm-LRjnASc6.cjs} +1 -1
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/esnext/general-player-login-form.js +1 -1
- package/package.json +2 -2
package/components/{GeneralPlayerLoginForm-CrntUfLK.js → GeneralPlayerLoginForm-CWtUjEfm.js}
RENAMED
|
@@ -168,13 +168,13 @@ function bn(e) {
|
|
|
168
168
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function vn(e) {
|
|
172
172
|
const t = [], r = [];
|
|
173
173
|
Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
|
|
174
174
|
}
|
|
175
|
-
const
|
|
175
|
+
const yn = /* @__PURE__ */ new Set();
|
|
176
176
|
function _n(e, t) {
|
|
177
|
-
e && e.i && (
|
|
177
|
+
e && e.i && (yn.delete(e), e.i(t));
|
|
178
178
|
}
|
|
179
179
|
function En(e, t, r) {
|
|
180
180
|
const { fragment: n, after_update: i } = e.$$;
|
|
@@ -185,7 +185,7 @@ function En(e, t, r) {
|
|
|
185
185
|
}
|
|
186
186
|
function wn(e, t) {
|
|
187
187
|
const r = e.$$;
|
|
188
|
-
r.fragment !== null && (
|
|
188
|
+
r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
189
|
}
|
|
190
190
|
function xn(e, t) {
|
|
191
191
|
e.$$.dirty[0] === -1 && (Pe.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
@@ -217,8 +217,8 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
s && s(l.root);
|
|
218
218
|
let u = !1;
|
|
219
219
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
220
|
-
const
|
|
221
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] =
|
|
220
|
+
const y = b.length ? b[0] : d;
|
|
221
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && xn(e, f)), d;
|
|
222
222
|
}) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
223
223
|
if (t.hydrate) {
|
|
224
224
|
const f = hn(t.target);
|
|
@@ -525,7 +525,7 @@ function Sr(e) {
|
|
|
525
525
|
}, r = e(t);
|
|
526
526
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
527
527
|
}
|
|
528
|
-
var
|
|
528
|
+
var vt = Sr(function(e) {
|
|
529
529
|
return function(r) {
|
|
530
530
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
531
531
|
` + r.map(function(n, i) {
|
|
@@ -572,18 +572,18 @@ var ft = function() {
|
|
|
572
572
|
try {
|
|
573
573
|
u();
|
|
574
574
|
} catch (g) {
|
|
575
|
-
o = g instanceof
|
|
575
|
+
o = g instanceof vt ? g.errors : [g];
|
|
576
576
|
}
|
|
577
577
|
var f = this._finalizers;
|
|
578
578
|
if (f) {
|
|
579
579
|
this._finalizers = null;
|
|
580
580
|
try {
|
|
581
581
|
for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
|
|
582
|
-
var
|
|
582
|
+
var y = b.value;
|
|
583
583
|
try {
|
|
584
|
-
Xt(
|
|
584
|
+
Xt(y);
|
|
585
585
|
} catch (g) {
|
|
586
|
-
o = o ?? [], g instanceof
|
|
586
|
+
o = o ?? [], g instanceof vt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
} catch (g) {
|
|
@@ -597,7 +597,7 @@ var ft = function() {
|
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
if (o)
|
|
600
|
-
throw new
|
|
600
|
+
throw new vt(o);
|
|
601
601
|
}
|
|
602
602
|
}, e.prototype.add = function(t) {
|
|
603
603
|
var r;
|
|
@@ -1008,11 +1008,11 @@ function Le(e, t, r) {
|
|
|
1008
1008
|
if (u)
|
|
1009
1009
|
return;
|
|
1010
1010
|
f();
|
|
1011
|
-
const
|
|
1012
|
-
o ? s(
|
|
1011
|
+
const y = t(n ? l[0] : l, s, a);
|
|
1012
|
+
o ? s(y) : f = Dt(y) ? y : Z;
|
|
1013
1013
|
}, b = i.map(
|
|
1014
|
-
(
|
|
1015
|
-
|
|
1014
|
+
(y, g) => wr(
|
|
1015
|
+
y,
|
|
1016
1016
|
(x) => {
|
|
1017
1017
|
l[g] = x, u &= ~(1 << g), c && d();
|
|
1018
1018
|
},
|
|
@@ -1100,7 +1100,7 @@ Be.all = function(t, r) {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
var ni = Be, ii = ni;
|
|
1102
1102
|
const oi = /* @__PURE__ */ Vn(ii);
|
|
1103
|
-
function
|
|
1103
|
+
function yt(e, t) {
|
|
1104
1104
|
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
|
|
1105
1105
|
return i(e, {
|
|
1106
1106
|
cache: r,
|
|
@@ -1286,7 +1286,7 @@ function gi(e) {
|
|
|
1286
1286
|
}), t;
|
|
1287
1287
|
}
|
|
1288
1288
|
var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1289
|
-
function
|
|
1289
|
+
function vi(e) {
|
|
1290
1290
|
if (e.length === 0)
|
|
1291
1291
|
throw new Error("Number skeleton cannot be empty");
|
|
1292
1292
|
for (var t = e.split(bi).filter(function(d) {
|
|
@@ -1304,7 +1304,7 @@ function yi(e) {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
return r;
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function yi(e) {
|
|
1308
1308
|
return e.replace(/^(.*?)-/, "");
|
|
1309
1309
|
}
|
|
1310
1310
|
var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
|
|
@@ -1396,7 +1396,7 @@ function wi(e) {
|
|
|
1396
1396
|
continue;
|
|
1397
1397
|
case "measure-unit":
|
|
1398
1398
|
case "unit":
|
|
1399
|
-
t.style = "unit", t.unit =
|
|
1399
|
+
t.style = "unit", t.unit = yi(i.options[0]);
|
|
1400
1400
|
continue;
|
|
1401
1401
|
case "compact-short":
|
|
1402
1402
|
case "K":
|
|
@@ -3256,9 +3256,9 @@ var Fi = (
|
|
|
3256
3256
|
var b = E(u, this.clonePosition());
|
|
3257
3257
|
l = { style: d, styleLocation: b };
|
|
3258
3258
|
}
|
|
3259
|
-
var
|
|
3260
|
-
if (
|
|
3261
|
-
return
|
|
3259
|
+
var y = this.tryParseArgumentClose(i);
|
|
3260
|
+
if (y.err)
|
|
3261
|
+
return y;
|
|
3262
3262
|
var g = E(i, this.clonePosition());
|
|
3263
3263
|
if (l && ir(l?.style, "::", 0)) {
|
|
3264
3264
|
var x = Ri(l.style.slice(2));
|
|
@@ -3315,9 +3315,9 @@ var Fi = (
|
|
|
3315
3315
|
var J = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3316
3316
|
if (J.err)
|
|
3317
3317
|
return J;
|
|
3318
|
-
var
|
|
3319
|
-
if (
|
|
3320
|
-
return
|
|
3318
|
+
var y = this.tryParseArgumentClose(i);
|
|
3319
|
+
if (y.err)
|
|
3320
|
+
return y;
|
|
3321
3321
|
var B = E(i, this.clonePosition());
|
|
3322
3322
|
return a === "select" ? {
|
|
3323
3323
|
val: {
|
|
@@ -3382,7 +3382,7 @@ var Fi = (
|
|
|
3382
3382
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3383
3383
|
var n = [];
|
|
3384
3384
|
try {
|
|
3385
|
-
n =
|
|
3385
|
+
n = vi(t);
|
|
3386
3386
|
} catch {
|
|
3387
3387
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3388
3388
|
}
|
|
@@ -3413,16 +3413,16 @@ var Fi = (
|
|
|
3413
3413
|
var b = this.clonePosition();
|
|
3414
3414
|
if (!this.bumpIf("{"))
|
|
3415
3415
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3416
|
-
var
|
|
3417
|
-
if (
|
|
3418
|
-
return
|
|
3416
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3417
|
+
if (y.err)
|
|
3418
|
+
return y;
|
|
3419
3419
|
var g = this.tryParseArgumentClose(b);
|
|
3420
3420
|
if (g.err)
|
|
3421
3421
|
return g;
|
|
3422
3422
|
a.push([
|
|
3423
3423
|
l,
|
|
3424
3424
|
{
|
|
3425
|
-
value:
|
|
3425
|
+
value: y.val,
|
|
3426
3426
|
location: E(b, this.clonePosition())
|
|
3427
3427
|
}
|
|
3428
3428
|
]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
@@ -3653,10 +3653,10 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3653
3653
|
continue;
|
|
3654
3654
|
}
|
|
3655
3655
|
if (Fr(u)) {
|
|
3656
|
-
var
|
|
3656
|
+
var y = u.children, g = u.value, x = i[g];
|
|
3657
3657
|
if (!Xi(x))
|
|
3658
3658
|
throw new ji(g, "function", s);
|
|
3659
|
-
var M = at(
|
|
3659
|
+
var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
|
|
3660
3660
|
return G.value;
|
|
3661
3661
|
}));
|
|
3662
3662
|
Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(G) {
|
|
@@ -3721,7 +3721,7 @@ function qi(e) {
|
|
|
3721
3721
|
dateTime: {},
|
|
3722
3722
|
pluralRules: {}
|
|
3723
3723
|
}), {
|
|
3724
|
-
getNumberFormat:
|
|
3724
|
+
getNumberFormat: yt(function() {
|
|
3725
3725
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3726
3726
|
r[n] = arguments[n];
|
|
3727
3727
|
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
@@ -3729,7 +3729,7 @@ function qi(e) {
|
|
|
3729
3729
|
cache: wt(e.number),
|
|
3730
3730
|
strategy: _t.variadic
|
|
3731
3731
|
}),
|
|
3732
|
-
getDateTimeFormat:
|
|
3732
|
+
getDateTimeFormat: yt(function() {
|
|
3733
3733
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3734
3734
|
r[n] = arguments[n];
|
|
3735
3735
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
@@ -3737,7 +3737,7 @@ function qi(e) {
|
|
|
3737
3737
|
cache: wt(e.dateTime),
|
|
3738
3738
|
strategy: _t.variadic
|
|
3739
3739
|
}),
|
|
3740
|
-
getPluralRules:
|
|
3740
|
+
getPluralRules: yt(function() {
|
|
3741
3741
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3742
3742
|
r[n] = arguments[n];
|
|
3743
3743
|
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
@@ -4073,14 +4073,14 @@ const Ze = (e, t) => {
|
|
|
4073
4073
|
if (e in r && t in r[e])
|
|
4074
4074
|
return r[e][t];
|
|
4075
4075
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4076
|
-
},
|
|
4076
|
+
}, vo = gt(
|
|
4077
4077
|
(e) => {
|
|
4078
4078
|
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4079
4079
|
if (r == null)
|
|
4080
4080
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4081
4081
|
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4082
4082
|
}
|
|
4083
|
-
),
|
|
4083
|
+
), yo = gt(
|
|
4084
4084
|
(e) => {
|
|
4085
4085
|
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4086
4086
|
if (r == null)
|
|
@@ -4102,14 +4102,14 @@ const Ze = (e, t) => {
|
|
|
4102
4102
|
} = t, n = Ne(t, [
|
|
4103
4103
|
"locale"
|
|
4104
4104
|
]);
|
|
4105
|
-
return
|
|
4105
|
+
return vo($t({ locale: r }, n));
|
|
4106
4106
|
}, wo = (e = {}) => {
|
|
4107
4107
|
var t = e, {
|
|
4108
4108
|
locale: r = ge()
|
|
4109
4109
|
} = t, n = Ne(t, [
|
|
4110
4110
|
"locale"
|
|
4111
4111
|
]);
|
|
4112
|
-
return
|
|
4112
|
+
return yo($t({ locale: r }, n));
|
|
4113
4113
|
}, xo = (e = {}) => {
|
|
4114
4114
|
var t = e, {
|
|
4115
4115
|
locale: r = ge()
|
|
@@ -4173,7 +4173,7 @@ if (typeof window < "u") {
|
|
|
4173
4173
|
}
|
|
4174
4174
|
};
|
|
4175
4175
|
};
|
|
4176
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4176
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-H1CjJeVy.js").then(({ default: t }) => {
|
|
4177
4177
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4178
4178
|
});
|
|
4179
4179
|
}
|
|
@@ -4408,13 +4408,13 @@ function Uo(e) {
|
|
|
4408
4408
|
), c, l, u, f = (
|
|
4409
4409
|
/*$_*/
|
|
4410
4410
|
e[21]("loginSubtitleRegister") + ""
|
|
4411
|
-
), d, b,
|
|
4411
|
+
), d, b, y, g, x, M, q = (
|
|
4412
4412
|
/*$_*/
|
|
4413
4413
|
e[21]("loginUsername") + ""
|
|
4414
4414
|
), H, R, G, J, B, ie, re, ne, fe, A, W, be = (
|
|
4415
4415
|
/*$_*/
|
|
4416
4416
|
e[21]("loginPassword") + ""
|
|
4417
|
-
), Re, Ue, oe, qe, C,
|
|
4417
|
+
), Re, Ue, oe, qe, C, ve, Fe, ye, _e, de, De, me, K, pe = (
|
|
4418
4418
|
/*$_*/
|
|
4419
4419
|
e[21]("loginButton") + ""
|
|
4420
4420
|
), ke, Je, ue, Ee = (
|
|
@@ -4424,10 +4424,10 @@ function Uo(e) {
|
|
|
4424
4424
|
/*invalidName*/
|
|
4425
4425
|
e[13] && gr(e)
|
|
4426
4426
|
);
|
|
4427
|
-
function Ye(
|
|
4427
|
+
function Ye(v, P) {
|
|
4428
4428
|
return (
|
|
4429
4429
|
/*isPasswordVisible*/
|
|
4430
|
-
|
|
4430
|
+
v[18] ? ko : Do
|
|
4431
4431
|
);
|
|
4432
4432
|
}
|
|
4433
4433
|
let we = Ye(e), Q = we(e), F = (
|
|
@@ -4437,22 +4437,22 @@ function Uo(e) {
|
|
|
4437
4437
|
), D = (
|
|
4438
4438
|
/*invalidPassword*/
|
|
4439
4439
|
e[14] && /*simplepasswordvalidation*/
|
|
4440
|
-
e[2] === "true" &&
|
|
4440
|
+
e[2] === "true" && vr(e)
|
|
4441
4441
|
), k = (
|
|
4442
4442
|
/*errorMessage*/
|
|
4443
|
-
e[15] &&
|
|
4443
|
+
e[15] && yr(e)
|
|
4444
4444
|
);
|
|
4445
4445
|
return {
|
|
4446
4446
|
c() {
|
|
4447
|
-
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(),
|
|
4447
|
+
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(), y = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), re = z(), U && U.c(), fe = z(), A = S("div"), W = S("label"), Re = N(be), Ue = N(":"), oe = S("span"), oe.textContent = "*", qe = z(), C = S("input"), Fe = z(), Q.c(), ye = z(), F && F.c(), _e = z(), D && D.c(), De = z(), k && k.c(), me = z(), K = S("button"), ke = N(pe), Je = z(), ue = S("button"), $e = N(Ee), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", ie = /*savecredentials*/
|
|
4448
4448
|
e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ne = "UserContainer " + /*invalidName*/
|
|
4449
|
-
(e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete",
|
|
4449
|
+
(e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ve = /*savecredentials*/
|
|
4450
4450
|
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", de = "PasswordContainer " + /*invalidPassword*/
|
|
4451
4451
|
(e[14] ? "InvalidField" : "")), h(K, "class", "SignInButton"), K.disabled = /*isFormDataInvalid*/
|
|
4452
|
-
e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(
|
|
4452
|
+
e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4453
4453
|
},
|
|
4454
|
-
m(
|
|
4455
|
-
L(
|
|
4454
|
+
m(v, P) {
|
|
4455
|
+
L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, P), L(v, y, P), m(y, g), m(g, x), m(x, M), m(M, H), m(M, R), m(M, G), m(x, J), m(x, B), rt(
|
|
4456
4456
|
B,
|
|
4457
4457
|
/*userValue*/
|
|
4458
4458
|
e[11]
|
|
@@ -4460,7 +4460,7 @@ function Uo(e) {
|
|
|
4460
4460
|
C,
|
|
4461
4461
|
/*userPassword*/
|
|
4462
4462
|
e[12]
|
|
4463
|
-
), e[35](C), m(A, Fe), Q.m(A, null), m(A,
|
|
4463
|
+
), e[35](C), m(A, Fe), Q.m(A, null), m(A, ye), F && F.m(A, null), m(A, _e), D && D.m(A, null), m(g, De), k && k.m(g, null), m(g, me), m(g, K), m(K, ke), m(g, Je), m(g, ue), m(ue, $e), Ge || (Qe = [
|
|
4464
4464
|
se(
|
|
4465
4465
|
u,
|
|
4466
4466
|
"click",
|
|
@@ -4505,53 +4505,53 @@ function Uo(e) {
|
|
|
4505
4505
|
)
|
|
4506
4506
|
], Ge = !0);
|
|
4507
4507
|
},
|
|
4508
|
-
p(
|
|
4508
|
+
p(v, P) {
|
|
4509
4509
|
P[0] & /*$_*/
|
|
4510
4510
|
2097152 && n !== (n = /*$_*/
|
|
4511
|
-
|
|
4511
|
+
v[21]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
|
|
4512
4512
|
2097152 && a !== (a = /*$_*/
|
|
4513
|
-
|
|
4513
|
+
v[21]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
|
|
4514
4514
|
2097152 && f !== (f = /*$_*/
|
|
4515
|
-
|
|
4515
|
+
v[21]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
|
|
4516
4516
|
2097152 && q !== (q = /*$_*/
|
|
4517
|
-
|
|
4517
|
+
v[21]("loginUsername") + "") && te(H, q), P[0] & /*savecredentials*/
|
|
4518
4518
|
32 && ie !== (ie = /*savecredentials*/
|
|
4519
|
-
|
|
4519
|
+
v[5] ? "username email" : "off") && h(B, "autocomplete", ie), P[0] & /*userValue*/
|
|
4520
4520
|
2048 && B.value !== /*userValue*/
|
|
4521
|
-
|
|
4521
|
+
v[11] && rt(
|
|
4522
4522
|
B,
|
|
4523
4523
|
/*userValue*/
|
|
4524
|
-
|
|
4524
|
+
v[11]
|
|
4525
4525
|
), /*invalidName*/
|
|
4526
|
-
|
|
4526
|
+
v[13] ? U ? U.p(v, P) : (U = gr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
|
|
4527
4527
|
8192 && ne !== (ne = "UserContainer " + /*invalidName*/
|
|
4528
|
-
(
|
|
4528
|
+
(v[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
|
|
4529
4529
|
2097152 && be !== (be = /*$_*/
|
|
4530
|
-
|
|
4531
|
-
32 &&
|
|
4532
|
-
|
|
4530
|
+
v[21]("loginPassword") + "") && te(Re, be), P[0] & /*savecredentials*/
|
|
4531
|
+
32 && ve !== (ve = /*savecredentials*/
|
|
4532
|
+
v[5] ? "current-password" : "off") && h(C, "autocomplete", ve), P[0] & /*userPassword*/
|
|
4533
4533
|
4096 && C.value !== /*userPassword*/
|
|
4534
|
-
|
|
4534
|
+
v[12] && rt(
|
|
4535
4535
|
C,
|
|
4536
4536
|
/*userPassword*/
|
|
4537
|
-
|
|
4538
|
-
), we === (we = Ye(
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4537
|
+
v[12]
|
|
4538
|
+
), we === (we = Ye(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = we(v), Q && (Q.c(), Q.m(A, ye))), /*invalidPassword*/
|
|
4539
|
+
v[14] && /*simplepasswordvalidation*/
|
|
4540
|
+
v[2] !== "true" ? F ? F.p(v, P) : (F = br(v), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
|
|
4541
|
+
v[14] && /*simplepasswordvalidation*/
|
|
4542
|
+
v[2] === "true" ? D ? D.p(v, P) : (D = vr(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
|
|
4543
4543
|
16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
|
|
4544
|
-
(
|
|
4545
|
-
|
|
4544
|
+
(v[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
|
|
4545
|
+
v[15] ? k ? k.p(v, P) : (k = yr(v), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
|
|
4546
4546
|
2097152 && pe !== (pe = /*$_*/
|
|
4547
|
-
|
|
4547
|
+
v[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
|
|
4548
4548
|
524288 && (K.disabled = /*isFormDataInvalid*/
|
|
4549
|
-
|
|
4549
|
+
v[19]), P[0] & /*$_*/
|
|
4550
4550
|
2097152 && Ee !== (Ee = /*$_*/
|
|
4551
|
-
|
|
4551
|
+
v[21]("loginForgotPassword") + "") && te($e, Ee);
|
|
4552
4552
|
},
|
|
4553
|
-
d(
|
|
4554
|
-
|
|
4553
|
+
d(v) {
|
|
4554
|
+
v && (I(t), I(b), I(y)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), Ge = !1, Oe(Qe);
|
|
4555
4555
|
}
|
|
4556
4556
|
};
|
|
4557
4557
|
}
|
|
@@ -4681,22 +4681,22 @@ function Do(e) {
|
|
|
4681
4681
|
};
|
|
4682
4682
|
}
|
|
4683
4683
|
function ko(e) {
|
|
4684
|
-
let t, r, n, i, o, s, a, c, l, u, f, d, b,
|
|
4684
|
+
let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
|
|
4685
4685
|
return {
|
|
4686
4686
|
c() {
|
|
4687
4687
|
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4688
4688
|
},
|
|
4689
4689
|
m(x, M) {
|
|
4690
|
-
L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b),
|
|
4690
|
+
L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = se(
|
|
4691
4691
|
t,
|
|
4692
4692
|
"click",
|
|
4693
4693
|
/*click_handler_1*/
|
|
4694
4694
|
e[36]
|
|
4695
|
-
),
|
|
4695
|
+
), y = !0);
|
|
4696
4696
|
},
|
|
4697
4697
|
p: Z,
|
|
4698
4698
|
d(x) {
|
|
4699
|
-
x && I(t),
|
|
4699
|
+
x && I(t), y = !1, g();
|
|
4700
4700
|
}
|
|
4701
4701
|
};
|
|
4702
4702
|
}
|
|
@@ -4722,7 +4722,7 @@ function br(e) {
|
|
|
4722
4722
|
}
|
|
4723
4723
|
};
|
|
4724
4724
|
}
|
|
4725
|
-
function
|
|
4725
|
+
function vr(e) {
|
|
4726
4726
|
let t, r = (
|
|
4727
4727
|
/*$_*/
|
|
4728
4728
|
e[21]("loginSimplePasswordError") + ""
|
|
@@ -4744,7 +4744,7 @@ function yr(e) {
|
|
|
4744
4744
|
}
|
|
4745
4745
|
};
|
|
4746
4746
|
}
|
|
4747
|
-
function
|
|
4747
|
+
function yr(e) {
|
|
4748
4748
|
let t, r;
|
|
4749
4749
|
return {
|
|
4750
4750
|
c() {
|
|
@@ -4814,7 +4814,7 @@ let Go = "Please use this code {0} to activate your account";
|
|
|
4814
4814
|
function jo(e, t, r) {
|
|
4815
4815
|
let n;
|
|
4816
4816
|
on(e, Io, (p) => r(21, n = p));
|
|
4817
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b,
|
|
4817
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
|
|
4818
4818
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4819
4819
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4820
4820
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
@@ -4838,11 +4838,11 @@ function jo(e, t, r) {
|
|
|
4838
4838
|
p(j);
|
|
4839
4839
|
});
|
|
4840
4840
|
});
|
|
4841
|
-
}),
|
|
4841
|
+
}), ve = () => {
|
|
4842
4842
|
c == "true" && (oe.password = /^(?!.* ).{8,20}$/);
|
|
4843
4843
|
}, Fe = () => {
|
|
4844
4844
|
r(18, fe = !0), _e();
|
|
4845
|
-
},
|
|
4845
|
+
}, ye = () => {
|
|
4846
4846
|
r(18, fe = !1), _e();
|
|
4847
4847
|
}, _e = () => {
|
|
4848
4848
|
r(17, ne.type = fe ? "text" : "password", ne);
|
|
@@ -4960,7 +4960,7 @@ function jo(e, t, r) {
|
|
|
4960
4960
|
})
|
|
4961
4961
|
}), Ke = await j.json();
|
|
4962
4962
|
if (j.ok) {
|
|
4963
|
-
r(8,
|
|
4963
|
+
r(8, y = Ke.id);
|
|
4964
4964
|
let et = Ke.maxValidationAttempts;
|
|
4965
4965
|
g = !1;
|
|
4966
4966
|
} else
|
|
@@ -5003,7 +5003,7 @@ function jo(e, t, r) {
|
|
|
5003
5003
|
ne = p, r(17, ne);
|
|
5004
5004
|
});
|
|
5005
5005
|
}
|
|
5006
|
-
const k = () =>
|
|
5006
|
+
const k = () => ye(), v = () => Fe(), P = (p) => me(p), en = (p) => De(p);
|
|
5007
5007
|
function tn(p) {
|
|
5008
5008
|
ut[p ? "unshift" : "push"](() => {
|
|
5009
5009
|
W = p, r(6, W);
|
|
@@ -5014,7 +5014,7 @@ function jo(e, t, r) {
|
|
|
5014
5014
|
}, e.$$.update = () => {
|
|
5015
5015
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5016
5016
|
536870913 && i && s && Qe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5017
|
-
4 && c &&
|
|
5017
|
+
4 && c && ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5018
5018
|
72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5019
5019
|
80 && u && W && Ye(), e.$$.dirty[1] & /*translationurl*/
|
|
5020
5020
|
1 && f && qe();
|
|
@@ -5027,7 +5027,7 @@ function jo(e, t, r) {
|
|
|
5027
5027
|
d,
|
|
5028
5028
|
W,
|
|
5029
5029
|
b,
|
|
5030
|
-
|
|
5030
|
+
y,
|
|
5031
5031
|
x,
|
|
5032
5032
|
M,
|
|
5033
5033
|
H,
|
|
@@ -5042,7 +5042,7 @@ function jo(e, t, r) {
|
|
|
5042
5042
|
Ue,
|
|
5043
5043
|
n,
|
|
5044
5044
|
Fe,
|
|
5045
|
-
|
|
5045
|
+
ye,
|
|
5046
5046
|
de,
|
|
5047
5047
|
De,
|
|
5048
5048
|
me,
|
|
@@ -5056,7 +5056,7 @@ function jo(e, t, r) {
|
|
|
5056
5056
|
F,
|
|
5057
5057
|
D,
|
|
5058
5058
|
k,
|
|
5059
|
-
|
|
5059
|
+
v,
|
|
5060
5060
|
P,
|
|
5061
5061
|
en,
|
|
5062
5062
|
tn
|