@everymatrix/player-profile-info 1.80.2 → 1.80.3
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/{PlayerProfileInfo-XuJ_I4KK.js → PlayerProfileInfo-BXgVbJo4.js} +121 -121
- package/components/{PlayerProfileInfo-DM8lnuXb.js → PlayerProfileInfo-CH-E60T0.js} +82 -82
- package/components/{PlayerProfileInfo-L-tyq7HH.cjs → PlayerProfileInfo-DrISBY-b.cjs} +3 -3
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
|
@@ -3625,7 +3625,7 @@ function oi(e, t = Wt().fallbackLocale) {
|
|
|
3625
3625
|
const r = Fo(e);
|
|
3626
3626
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Fo(t)])] : r;
|
|
3627
3627
|
}
|
|
3628
|
-
function
|
|
3628
|
+
function vt() {
|
|
3629
3629
|
return Ui != null ? Ui : void 0;
|
|
3630
3630
|
}
|
|
3631
3631
|
ei.subscribe((e) => {
|
|
@@ -3635,7 +3635,7 @@ const nu = (e) => {
|
|
|
3635
3635
|
if (e && Gl(e) && Ri(e)) {
|
|
3636
3636
|
const { loadingDelay: t } = Wt();
|
|
3637
3637
|
let r;
|
|
3638
|
-
return typeof window != "undefined" &&
|
|
3638
|
+
return typeof window != "undefined" && vt() != null && t ? r = window.setTimeout(
|
|
3639
3639
|
() => Oi.set(!0),
|
|
3640
3640
|
t
|
|
3641
3641
|
) : Oi.set(!0), Wa(e).then(() => {
|
|
@@ -3700,28 +3700,28 @@ const Gr = (e, t) => {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
), lu = (e = {}) => {
|
|
3702
3702
|
var t = e, {
|
|
3703
|
-
locale: r =
|
|
3703
|
+
locale: r = vt()
|
|
3704
3704
|
} = t, n = Jt(t, [
|
|
3705
3705
|
"locale"
|
|
3706
3706
|
]);
|
|
3707
3707
|
return ou(Xi({ locale: r }, n));
|
|
3708
3708
|
}, uu = (e = {}) => {
|
|
3709
3709
|
var t = e, {
|
|
3710
|
-
locale: r =
|
|
3710
|
+
locale: r = vt()
|
|
3711
3711
|
} = t, n = Jt(t, [
|
|
3712
3712
|
"locale"
|
|
3713
3713
|
]);
|
|
3714
3714
|
return au(Xi({ locale: r }, n));
|
|
3715
3715
|
}, cu = (e = {}) => {
|
|
3716
3716
|
var t = e, {
|
|
3717
|
-
locale: r =
|
|
3717
|
+
locale: r = vt()
|
|
3718
3718
|
} = t, n = Jt(t, [
|
|
3719
3719
|
"locale"
|
|
3720
3720
|
]);
|
|
3721
3721
|
return su(Xi({ locale: r }, n));
|
|
3722
3722
|
}, fu = ai(
|
|
3723
3723
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3724
|
-
(e, t =
|
|
3724
|
+
(e, t = vt()) => new jl(e, t, Wt().formats, {
|
|
3725
3725
|
ignoreTag: Wt().ignoreTag
|
|
3726
3726
|
})
|
|
3727
3727
|
), pu = (e, t = {}) => {
|
|
@@ -3730,7 +3730,7 @@ const Gr = (e, t) => {
|
|
|
3730
3730
|
typeof e == "object" && (a = e, e = a.id);
|
|
3731
3731
|
const {
|
|
3732
3732
|
values: u,
|
|
3733
|
-
locale: c =
|
|
3733
|
+
locale: c = vt(),
|
|
3734
3734
|
default: p
|
|
3735
3735
|
} = a;
|
|
3736
3736
|
if (c == null)
|
|
@@ -3756,7 +3756,7 @@ const Gr = (e, t) => {
|
|
|
3756
3756
|
);
|
|
3757
3757
|
}
|
|
3758
3758
|
return d;
|
|
3759
|
-
}, hu = (e, t) => cu(t).format(e), du = (e, t) => uu(t).format(e), mu = (e, t) => lu(t).format(e), bu = (e, t =
|
|
3759
|
+
}, hu = (e, t) => cu(t).format(e), du = (e, t) => uu(t).format(e), mu = (e, t) => lu(t).format(e), bu = (e, t = vt()) => Ga(e, t), vu = qt([Zt, $r], () => pu);
|
|
3760
3760
|
qt([Zt], () => hu);
|
|
3761
3761
|
qt([Zt], () => du);
|
|
3762
3762
|
qt([Zt], () => mu);
|
|
@@ -5152,7 +5152,7 @@ function ta(e) {
|
|
|
5152
5152
|
/*$_*/
|
|
5153
5153
|
e[19]("profileSecurityQuestion")
|
|
5154
5154
|
)) + ""
|
|
5155
|
-
),
|
|
5155
|
+
), yt, Ze, Be, Qr, Y, gt, Ct, Wr, _t, Xr, He, ot, St = (
|
|
5156
5156
|
/*custominputtextswitch*/
|
|
5157
5157
|
(e[0] == "true" ? (
|
|
5158
5158
|
/*$_*/
|
|
@@ -5161,16 +5161,16 @@ function ta(e) {
|
|
|
5161
5161
|
/*$_*/
|
|
5162
5162
|
e[19]("profileSecurityAnswer")
|
|
5163
5163
|
)) + ""
|
|
5164
|
-
), at, Yt, ht, qr, q,
|
|
5164
|
+
), at, Yt, ht, qr, q, dt, Et, Zr, Pt, Jr, st, At, Je = (
|
|
5165
5165
|
/*$_*/
|
|
5166
5166
|
e[19]("userEmail") + ""
|
|
5167
|
-
), Kt, Yr, we, wt,
|
|
5167
|
+
), Kt, Yr, we, wt, mt, kt, Kr, lt, xt, Ot = (
|
|
5168
5168
|
/*$_*/
|
|
5169
5169
|
e[19]("dateOfBirth") + ""
|
|
5170
|
-
), er, en, y, g, H,
|
|
5170
|
+
), er, en, y, g, H, R, ne, j, L, Ye = (
|
|
5171
5171
|
/*$_*/
|
|
5172
5172
|
e[19]("firstName") + ""
|
|
5173
|
-
), ie,
|
|
5173
|
+
), ie, bt, Z, Bt, tr, tn, qi, Ht, rn, nn = (
|
|
5174
5174
|
/*$_*/
|
|
5175
5175
|
e[19]("lastName") + ""
|
|
5176
5176
|
), li, Zi, Le, on, rr, an, Ji, It, sn, ln = (
|
|
@@ -5236,7 +5236,7 @@ function ta(e) {
|
|
|
5236
5236
|
t = h("form"), r = h("div"), ue && ue.c(), n = S(), i = h("h2"), a = w(o), c = S(), p = h("div"), f = h("h3"), v = w(d), _ = S(), C = h("section"), P = h("div"), A = h("label"), k = w(D), M = S(), N = h("input"), Oe = S(), V = h("div"), Ae = h("label"), E = w(b), Ne = S(), F = h("div"), J = h("select");
|
|
5237
5237
|
for (let Lt = 0; Lt < te.length; Lt += 1)
|
|
5238
5238
|
te[Lt].c();
|
|
5239
|
-
ft = S(), Q = h("input"), pt = S(), ce && ce.c(), rt = S(), fe && fe.c(), nt = S(), K = h("div"), Fe = h("label"),
|
|
5239
|
+
ft = S(), Q = h("input"), pt = S(), ce && ce.c(), rt = S(), fe && fe.c(), nt = S(), K = h("div"), Fe = h("label"), yt = w(it), Ze = w(":"), Be = h("span"), Be.textContent = "*", Qr = S(), Y = h("input"), Wr = S(), pe && pe.c(), Xr = S(), He = h("div"), ot = h("label"), at = w(St), Yt = w(":"), ht = h("span"), ht.textContent = "*", qr = S(), q = h("input"), Zr = S(), he && he.c(), Jr = S(), st = h("div"), At = h("label"), Kt = w(Je), Yr = S(), we = h("input"), Kr = S(), lt = h("div"), xt = h("label"), er = w(Ot), en = S(), y = h("input"), ne = S(), j = h("div"), L = h("label"), ie = w(Ye), bt = S(), Z = h("input"), qi = S(), Ht = h("div"), rn = h("label"), li = w(nn), Zi = S(), Le = h("input"), Ji = S(), It = h("div"), sn = h("label"), ui = w(ln), Yi = S(), je = h("input"), Ki = S(), Tt = h("div"), fn = h("label"), ci = w(pn), eo = S(), Re = h("input"), to = S(), de && de.c(), ro = S(), mn = h("div"), fi = h("h3"), pi = w(bn), no = S(), ee = h("section"), Mt = h("div"), vn = h("label"), hi = w(yn), io = S(), ke = h("input"), oo = S(), ze = h("div"), Sn = h("label"), di = w(En), ao = S(), oe = h("input"), so = S(), me && me.c(), lo = S(), Ge = h("div"), kn = h("label"), mi = w(xn), uo = S(), ae = h("input"), co = S(), be && be.c(), fo = S(), $e = h("div"), In = h("label"), bi = w(Tn), po = S(), se = h("input"), ho = S(), ve && ve.c(), mo = S(), Ve = h("div"), Ln = h("label"), vi = w(jn), bo = S(), le = h("input"), vo = S(), ye && ye.c(), yo = S(), ge && ge.c(), go = S(), Ce && Ce.c(), gi = S(), ar = h("section"), Nt = h("button"), Ci = w(zn), Co = S(), _e && _e.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5240
5240
|
(e[7] ? "MyAccountCategoryTitleNone" : "")), l(p, "class", "PlayerNotificationsHeader"), l(N, "type", "text"), l(N, "class", W = `${/*profileValues*/
|
|
5241
5241
|
(Se = e[4].username) != null && Se.readOnly ? "FieldDisabled" : ""}`), N.value = $ = /*profileValues*/
|
|
5242
5242
|
(Qe = (m = e[4].username) == null ? void 0 : m.value) != null ? Qe : "", N.readOnly = Pe = /*profileValues*/
|
|
@@ -5255,15 +5255,15 @@ function ta(e) {
|
|
|
5255
5255
|
), Q.readOnly = qe = /*profileValues*/
|
|
5256
5256
|
(fr = e[4].mobile) == null ? void 0 : fr.readOnly, l(F, "class", "PlayerPhoneNumber"), l(V, "class", Ue = "PlayerInfoBox " + /*isMobileValid*/
|
|
5257
5257
|
(e[16] ? "" : "InvalidField") + " " + /*isPrefixValid*/
|
|
5258
|
-
(e[17] ? "" : "InvalidPrefix")), l(Be, "class", "FormRequired"), l(Fe, "for", "SecurityQuestion"), l(Y, "id", "SecurityQuestion"), l(Y, "type", "text"), l(Y, "class",
|
|
5258
|
+
(e[17] ? "" : "InvalidPrefix")), l(Be, "class", "FormRequired"), l(Fe, "for", "SecurityQuestion"), l(Y, "id", "SecurityQuestion"), l(Y, "type", "text"), l(Y, "class", gt = `${/*profileValues*/
|
|
5259
5259
|
(pr = e[4].securityQuestion) != null && pr.readOnly ? "FieldDisabled" : ""}`), l(
|
|
5260
5260
|
Y,
|
|
5261
5261
|
"placeholder",
|
|
5262
5262
|
/*defaultValues*/
|
|
5263
5263
|
e[20].securityQuestion
|
|
5264
|
-
), Y.readOnly =
|
|
5265
|
-
(hr = e[4].securityQuestion) == null ? void 0 : hr.readOnly, l(K, "class",
|
|
5266
|
-
(e[14] ? "" : "InvalidField")), l(ht, "class", "FormRequired"), l(ot, "for", "SecurityAnswer"), l(q, "id", "SecurityAnswer"), l(q, "type", "text"), l(q, "class",
|
|
5264
|
+
), Y.readOnly = Ct = /*profileValues*/
|
|
5265
|
+
(hr = e[4].securityQuestion) == null ? void 0 : hr.readOnly, l(K, "class", _t = "PlayerInfoBox " + /*isSecurityQuestionValid*/
|
|
5266
|
+
(e[14] ? "" : "InvalidField")), l(ht, "class", "FormRequired"), l(ot, "for", "SecurityAnswer"), l(q, "id", "SecurityAnswer"), l(q, "type", "text"), l(q, "class", dt = `${/*profileValues*/
|
|
5267
5267
|
(dr = e[4].securityAnswer) != null && dr.readOnly ? "FieldDisabled" : ""}`), l(
|
|
5268
5268
|
q,
|
|
5269
5269
|
"placeholder",
|
|
@@ -5272,15 +5272,15 @@ function ta(e) {
|
|
|
5272
5272
|
), q.readOnly = Et = /*profileValues*/
|
|
5273
5273
|
(mr = e[4].securityAnswer) == null ? void 0 : mr.readOnly, l(He, "class", Pt = "PlayerInfoBox " + /*isSecurityAnswerValid*/
|
|
5274
5274
|
(e[15] ? "" : "InvalidField")), l(At, "for", "UserEmail"), l(we, "id", "UserEmail"), l(we, "type", "email"), l(we, "class", wt = `${/*profileValues*/
|
|
5275
|
-
(br = e[4].email) != null && br.readOnly ? "FieldDisabled" : ""}`), we.value =
|
|
5275
|
+
(br = e[4].email) != null && br.readOnly ? "FieldDisabled" : ""}`), we.value = mt = /*profileValues*/
|
|
5276
5276
|
e[4].email.value, we.readOnly = kt = /*profileValues*/
|
|
5277
5277
|
(vr = e[4].email) == null ? void 0 : vr.readOnly, l(st, "class", "PlayerInfoBox"), l(xt, "for", "DateOfBirth"), l(y, "id", "DateOfBirth"), l(y, "type", "text"), l(y, "class", g = `${/*profileValues*/
|
|
5278
5278
|
(yr = e[4].birth) != null && yr.readOnly ? "FieldDisabled" : ""}`), y.value = H = /*profileValues*/
|
|
5279
|
-
e[4].birth.value, y.readOnly =
|
|
5279
|
+
e[4].birth.value, y.readOnly = R = /*profileValues*/
|
|
5280
5280
|
(gr = e[4].birth) == null ? void 0 : gr.readOnly, l(lt, "class", "PlayerInfoBox"), l(L, "for", "FirstName"), l(Z, "id", "FirstName"), l(Z, "type", "text"), l(Z, "class", Bt = `${/*profileValues*/
|
|
5281
5281
|
(Cr = e[4].firstname) != null && Cr.readOnly ? "FieldDisabled" : ""}`), Z.value = tr = /*profileValues*/
|
|
5282
5282
|
e[4].firstname.value, Z.readOnly = tn = /*profileValues*/
|
|
5283
|
-
(_r = e[4].firstname) == null ? void 0 : _r.readOnly, l(
|
|
5283
|
+
(_r = e[4].firstname) == null ? void 0 : _r.readOnly, l(j, "class", "PlayerInfoBox"), l(rn, "for", "LastName"), l(Le, "id", "LastName"), l(Le, "type", "text"), l(Le, "class", on = `${/*profileValues*/
|
|
5284
5284
|
(Sr = e[4].lastname) != null && Sr.readOnly ? "FieldDisabled" : ""}`), Le.value = rr = /*profileValues*/
|
|
5285
5285
|
e[4].lastname.value, Le.readOnly = an = /*profileValues*/
|
|
5286
5286
|
(Er = e[4].lastname) == null ? void 0 : Er.readOnly, l(Ht, "class", "PlayerInfoBox"), l(sn, "for", "UserTitle"), l(je, "id", "UserTitle"), l(je, "type", "text"), l(je, "class", un = `${/*profileValues*/
|
|
@@ -5344,7 +5344,7 @@ function ta(e) {
|
|
|
5344
5344
|
Q,
|
|
5345
5345
|
/*profileValues*/
|
|
5346
5346
|
e[4].mobile.number
|
|
5347
|
-
), s(V, pt), ce && ce.m(V, null), s(V, rt), fe && fe.m(V, null), s(C, nt), s(C, K), s(K, Fe), s(Fe,
|
|
5347
|
+
), s(V, pt), ce && ce.m(V, null), s(V, rt), fe && fe.m(V, null), s(C, nt), s(C, K), s(K, Fe), s(Fe, yt), s(Fe, Ze), s(Fe, Be), s(K, Qr), s(K, Y), X(
|
|
5348
5348
|
Y,
|
|
5349
5349
|
/*profileValues*/
|
|
5350
5350
|
e[4].securityQuestion.value
|
|
@@ -5352,7 +5352,7 @@ function ta(e) {
|
|
|
5352
5352
|
q,
|
|
5353
5353
|
/*profileValues*/
|
|
5354
5354
|
e[4].securityAnswer.value
|
|
5355
|
-
), s(He, Zr), he && he.m(He, null), s(C, Jr), s(C, st), s(st, At), s(At, Kt), s(st, Yr), s(st, we), s(C, Kr), s(C, lt), s(lt, xt), s(xt, er), s(lt, en), s(lt, y), s(C, ne), s(C,
|
|
5355
|
+
), s(He, Zr), he && he.m(He, null), s(C, Jr), s(C, st), s(st, At), s(At, Kt), s(st, Yr), s(st, we), s(C, Kr), s(C, lt), s(lt, xt), s(xt, er), s(lt, en), s(lt, y), s(C, ne), s(C, j), s(j, L), s(L, ie), s(j, bt), s(j, Z), s(C, qi), s(C, Ht), s(Ht, rn), s(rn, li), s(Ht, Zi), s(Ht, Le), s(C, Ji), s(C, It), s(It, sn), s(sn, ui), s(It, Yi), s(It, je), s(C, Ki), s(C, Tt), s(Tt, fn), s(fn, ci), s(Tt, eo), s(Tt, Re), s(C, to), de && de.m(C, null), s(r, ro), s(r, mn), s(mn, fi), s(fi, pi), s(r, no), s(r, ee), s(ee, Mt), s(Mt, vn), s(vn, hi), s(Mt, io), s(Mt, ke), s(ee, oo), s(ee, ze), s(ze, Sn), s(Sn, di), s(ze, ao), s(ze, oe), X(
|
|
5356
5356
|
oe,
|
|
5357
5357
|
/*profileValues*/
|
|
5358
5358
|
e[4].city.value
|
|
@@ -5548,11 +5548,11 @@ function ta(e) {
|
|
|
5548
5548
|
) : (
|
|
5549
5549
|
/*$_*/
|
|
5550
5550
|
e[19]("profileSecurityQuestion")
|
|
5551
|
-
)) + "") && x(
|
|
5552
|
-
24 &&
|
|
5553
|
-
(dr = e[4].securityQuestion) != null && dr.readOnly ? "FieldDisabled" : ""}`) && l(Y, "class",
|
|
5554
|
-
24 &&
|
|
5555
|
-
(mr = e[4].securityQuestion) == null ? void 0 : mr.readOnly) && (Y.readOnly =
|
|
5551
|
+
)) + "") && x(yt, it), m[0] & /*profileValues, prefixesArray*/
|
|
5552
|
+
24 && gt !== (gt = `${/*profileValues*/
|
|
5553
|
+
(dr = e[4].securityQuestion) != null && dr.readOnly ? "FieldDisabled" : ""}`) && l(Y, "class", gt), m[0] & /*profileValues, prefixesArray*/
|
|
5554
|
+
24 && Ct !== (Ct = /*profileValues*/
|
|
5555
|
+
(mr = e[4].securityQuestion) == null ? void 0 : mr.readOnly) && (Y.readOnly = Ct), m[0] & /*profileValues, prefixesArray*/
|
|
5556
5556
|
24 && Y.value !== /*profileValues*/
|
|
5557
5557
|
e[4].securityQuestion.value && X(
|
|
5558
5558
|
Y,
|
|
@@ -5560,18 +5560,18 @@ function ta(e) {
|
|
|
5560
5560
|
e[4].securityQuestion.value
|
|
5561
5561
|
), /*isSecurityQuestionValid*/
|
|
5562
5562
|
e[14] ? pe && (pe.d(1), pe = null) : pe ? pe.p(e, m) : (pe = aa(e), pe.c(), pe.m(K, null)), m[0] & /*isSecurityQuestionValid*/
|
|
5563
|
-
16384 &&
|
|
5564
|
-
(e[14] ? "" : "InvalidField")) && l(K, "class",
|
|
5565
|
-
524289 &&
|
|
5563
|
+
16384 && _t !== (_t = "PlayerInfoBox " + /*isSecurityQuestionValid*/
|
|
5564
|
+
(e[14] ? "" : "InvalidField")) && l(K, "class", _t), m[0] & /*custominputtextswitch, $_*/
|
|
5565
|
+
524289 && St !== (St = /*custominputtextswitch*/
|
|
5566
5566
|
(e[0] == "true" ? (
|
|
5567
5567
|
/*$_*/
|
|
5568
5568
|
e[19]("profileSecurityAnswer2")
|
|
5569
5569
|
) : (
|
|
5570
5570
|
/*$_*/
|
|
5571
5571
|
e[19]("profileSecurityAnswer")
|
|
5572
|
-
)) + "") && x(at,
|
|
5573
|
-
24 &&
|
|
5574
|
-
(br = e[4].securityAnswer) != null && br.readOnly ? "FieldDisabled" : ""}`) && l(q, "class",
|
|
5572
|
+
)) + "") && x(at, St), m[0] & /*profileValues, prefixesArray*/
|
|
5573
|
+
24 && dt !== (dt = `${/*profileValues*/
|
|
5574
|
+
(br = e[4].securityAnswer) != null && br.readOnly ? "FieldDisabled" : ""}`) && l(q, "class", dt), m[0] & /*profileValues, prefixesArray*/
|
|
5575
5575
|
24 && Et !== (Et = /*profileValues*/
|
|
5576
5576
|
(vr = e[4].securityAnswer) == null ? void 0 : vr.readOnly) && (q.readOnly = Et), m[0] & /*profileValues, prefixesArray*/
|
|
5577
5577
|
24 && q.value !== /*profileValues*/
|
|
@@ -5587,8 +5587,8 @@ function ta(e) {
|
|
|
5587
5587
|
e[19]("userEmail") + "") && x(Kt, Je), m[0] & /*profileValues, prefixesArray*/
|
|
5588
5588
|
24 && wt !== (wt = `${/*profileValues*/
|
|
5589
5589
|
(yr = e[4].email) != null && yr.readOnly ? "FieldDisabled" : ""}`) && l(we, "class", wt), m[0] & /*profileValues, prefixesArray*/
|
|
5590
|
-
24 &&
|
|
5591
|
-
e[4].email.value) && we.value !==
|
|
5590
|
+
24 && mt !== (mt = /*profileValues*/
|
|
5591
|
+
e[4].email.value) && we.value !== mt && (we.value = mt), m[0] & /*profileValues, prefixesArray*/
|
|
5592
5592
|
24 && kt !== (kt = /*profileValues*/
|
|
5593
5593
|
(gr = e[4].email) == null ? void 0 : gr.readOnly) && (we.readOnly = kt), m[0] & /*$_*/
|
|
5594
5594
|
524288 && Ot !== (Ot = /*$_*/
|
|
@@ -5597,8 +5597,8 @@ function ta(e) {
|
|
|
5597
5597
|
(Cr = e[4].birth) != null && Cr.readOnly ? "FieldDisabled" : ""}`) && l(y, "class", g), m[0] & /*profileValues, prefixesArray*/
|
|
5598
5598
|
24 && H !== (H = /*profileValues*/
|
|
5599
5599
|
e[4].birth.value) && y.value !== H && (y.value = H), m[0] & /*profileValues, prefixesArray*/
|
|
5600
|
-
24 &&
|
|
5601
|
-
(_r = e[4].birth) == null ? void 0 : _r.readOnly) && (y.readOnly =
|
|
5600
|
+
24 && R !== (R = /*profileValues*/
|
|
5601
|
+
(_r = e[4].birth) == null ? void 0 : _r.readOnly) && (y.readOnly = R), m[0] & /*$_*/
|
|
5602
5602
|
524288 && Ye !== (Ye = /*$_*/
|
|
5603
5603
|
e[19]("firstName") + "") && x(ie, Ye), m[0] & /*profileValues, prefixesArray*/
|
|
5604
5604
|
24 && Bt !== (Bt = `${/*profileValues*/
|
|
@@ -6453,7 +6453,7 @@ function Wu(e, t, r) {
|
|
|
6453
6453
|
username: "Username"
|
|
6454
6454
|
}, b = {}, E = {}, Ne = ["Marketing", "Casino", "Sports", "Bingo", "VirtualSports"], F = ["Casino", "Sports", "Bingo", "VirtualSports"];
|
|
6455
6455
|
let J = !0, tt = !1, De = !1, ft = !1, Q = !0, Xe = !0, qe = !0, pt = !0, rt = !0, Ue = !0, nt = !0, K = !0, Fe = !0, it = !1;
|
|
6456
|
-
const
|
|
6456
|
+
const yt = {
|
|
6457
6457
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
6458
6458
|
};
|
|
6459
6459
|
window.matchMedia("(min-width: 768px)");
|
|
@@ -6465,7 +6465,7 @@ function Wu(e, t, r) {
|
|
|
6465
6465
|
}
|
|
6466
6466
|
}, Be = (y) => Me(this, null, function* () {
|
|
6467
6467
|
try {
|
|
6468
|
-
const g = new URL(`${a}${y}`),
|
|
6468
|
+
const g = new URL(`${a}${y}`), R = { method: "GET", headers: new Headers({ "X-SessionID": o }) }, ne = yield fetch(g.href, R);
|
|
6469
6469
|
if (!ne.ok)
|
|
6470
6470
|
throw new Error(`HTTP error! Status: ${ne.status}`);
|
|
6471
6471
|
return yield ne.json();
|
|
@@ -6483,26 +6483,26 @@ function Wu(e, t, r) {
|
|
|
6483
6483
|
r(38, M = (yield Be(`/v1/player/${i}/consent`)).items);
|
|
6484
6484
|
});
|
|
6485
6485
|
}
|
|
6486
|
-
function
|
|
6486
|
+
function gt() {
|
|
6487
6487
|
return Me(this, null, function* () {
|
|
6488
6488
|
r(39, N = (yield Be("/v1/player/consentRequirements")).items);
|
|
6489
6489
|
});
|
|
6490
6490
|
}
|
|
6491
|
-
function
|
|
6491
|
+
function Ct() {
|
|
6492
6492
|
return Me(this, null, function* () {
|
|
6493
6493
|
r(36, D = (yield Be("/v1/player/countries")).countries);
|
|
6494
6494
|
});
|
|
6495
6495
|
}
|
|
6496
6496
|
const Wr = () => {
|
|
6497
6497
|
Object.keys(k).forEach((g) => {
|
|
6498
|
-
var H,
|
|
6498
|
+
var H, R, ne, j, L, Ye;
|
|
6499
6499
|
switch (r(4, b[g] = {}, b), g) {
|
|
6500
6500
|
case "birth":
|
|
6501
|
-
const ie = ((H = k[g]) == null ? void 0 : H.day) || "",
|
|
6502
|
-
r(4, b[g].value = `${ie}/${
|
|
6501
|
+
const ie = ((H = k[g]) == null ? void 0 : H.day) || "", bt = ((R = k[g]) == null ? void 0 : R.month) || "", Z = ((ne = k[g]) == null ? void 0 : ne.year) || "";
|
|
6502
|
+
r(4, b[g].value = `${ie}/${bt}/${Z}`, b);
|
|
6503
6503
|
break;
|
|
6504
6504
|
case "country":
|
|
6505
|
-
r(4, b[g].countryName = ((
|
|
6505
|
+
r(4, b[g].countryName = ((j = D.find((Bt) => Bt.Alpha2Code === k.country)) == null ? void 0 : j.Name) || "I.E. Ireland", b), r(4, b[g].countryCode = k.country || "", b);
|
|
6506
6506
|
break;
|
|
6507
6507
|
case "mobile":
|
|
6508
6508
|
r(4, b[g].prefix = (L = k.mobile) == null ? void 0 : L.prefix, b), r(4, b[g].number = (Ye = k.mobile) == null ? void 0 : Ye.number, b);
|
|
@@ -6513,7 +6513,7 @@ function Wu(e, t, r) {
|
|
|
6513
6513
|
r(4, b[g].readOnly = W.includes(g), b);
|
|
6514
6514
|
}), r(4, b.consents = {}, b), N.forEach((g) => {
|
|
6515
6515
|
if (Ne.includes(g.category) && !g.mustAccept) {
|
|
6516
|
-
const H = M.find((
|
|
6516
|
+
const H = M.find((R) => R.tagCode === g.tagCode);
|
|
6517
6517
|
r(4, b.consents[g.category] = b.consents[g.category] || [], b), H ? b.consents[g.category].push({
|
|
6518
6518
|
tagCode: H.tagCode,
|
|
6519
6519
|
status: H.status === "Accepted"
|
|
@@ -6522,16 +6522,16 @@ function Wu(e, t, r) {
|
|
|
6522
6522
|
});
|
|
6523
6523
|
const y = b.consents;
|
|
6524
6524
|
for (const [g, H] of Object.entries(y))
|
|
6525
|
-
E[g] || (r(5, E[g] = {}, E), r(5, E[g].parent = null, E), H.forEach((
|
|
6525
|
+
E[g] || (r(5, E[g] = {}, E), r(5, E[g].parent = null, E), H.forEach((R) => r(5, E[g][R.tagCode] = null, E)));
|
|
6526
6526
|
Pe = Ze(b), $ = Ze(b.consents), r(6, J = !1);
|
|
6527
|
-
},
|
|
6527
|
+
}, _t = (y) => y.split(","), Xr = () => {
|
|
6528
6528
|
const y = new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);
|
|
6529
6529
|
fetch(y.href).then((g) => g.json()).then((g) => r(3, A = g.phoneCodes)).catch((g) => console.log("Failed to fetch phone codes:", g));
|
|
6530
6530
|
}, He = () => {
|
|
6531
6531
|
r(9, Q = !1), Ue && nt && Xe && pt && rt && qe && K && Fe && r(9, Q = !0);
|
|
6532
6532
|
}, ot = () => {
|
|
6533
6533
|
r(8, De = Ze(b) !== Pe);
|
|
6534
|
-
},
|
|
6534
|
+
}, St = () => {
|
|
6535
6535
|
ft = Ze(b.consents) !== $;
|
|
6536
6536
|
}, at = (y) => () => {
|
|
6537
6537
|
switch (y) {
|
|
@@ -6557,7 +6557,7 @@ function Wu(e, t, r) {
|
|
|
6557
6557
|
if (r(14, Ue = !1), b.securityQuestion.value)
|
|
6558
6558
|
switch (v) {
|
|
6559
6559
|
case "true":
|
|
6560
|
-
|
|
6560
|
+
yt.document.test(b.securityQuestion.value) && b.securityQuestion.value.length <= 50 && r(14, Ue = !0);
|
|
6561
6561
|
break;
|
|
6562
6562
|
case "false":
|
|
6563
6563
|
b.securityQuestion.value && b.securityQuestion.value.length <= 120 && r(14, Ue = !0);
|
|
@@ -6568,7 +6568,7 @@ function Wu(e, t, r) {
|
|
|
6568
6568
|
if (r(15, nt = !1), b.securityAnswer.value)
|
|
6569
6569
|
switch (v) {
|
|
6570
6570
|
case "true":
|
|
6571
|
-
|
|
6571
|
+
yt.document.test(b.securityAnswer.value) && b.securityAnswer.value.length <= 50 && r(15, nt = !0);
|
|
6572
6572
|
break;
|
|
6573
6573
|
case "false":
|
|
6574
6574
|
b.securityAnswer.value && b.securityAnswer.value.length <= 120 && r(15, nt = !0);
|
|
@@ -6576,7 +6576,7 @@ function Wu(e, t, r) {
|
|
|
6576
6576
|
}
|
|
6577
6577
|
break;
|
|
6578
6578
|
case "consents":
|
|
6579
|
-
|
|
6579
|
+
St();
|
|
6580
6580
|
break;
|
|
6581
6581
|
}
|
|
6582
6582
|
ot(), He();
|
|
@@ -6621,42 +6621,42 @@ function Wu(e, t, r) {
|
|
|
6621
6621
|
const y = new URL(`${a}/v1/player/${i}/profile`), g = new Headers();
|
|
6622
6622
|
g.append("X-SessionID", o), g.append("Content-Type", "application/json"), g.append("Accept", "application/json");
|
|
6623
6623
|
const H = Object.entries(b).reduce(
|
|
6624
|
-
(
|
|
6625
|
-
var
|
|
6624
|
+
(j, [L, Ye]) => {
|
|
6625
|
+
var bt;
|
|
6626
6626
|
const ie = Ye;
|
|
6627
6627
|
if (!ie.readOnly)
|
|
6628
6628
|
if (L === "mobile" || L === "phone")
|
|
6629
|
-
|
|
6629
|
+
j[L] = { prefix: ie.prefix, number: ie.number };
|
|
6630
6630
|
else if (L === "consents")
|
|
6631
|
-
|
|
6631
|
+
j[L] = ie;
|
|
6632
6632
|
else if (L === "country")
|
|
6633
|
-
|
|
6633
|
+
j[L] = ie.countryCode;
|
|
6634
6634
|
else if (L === "birth" && typeof ie.value == "string") {
|
|
6635
6635
|
const Z = ie.value.split("/");
|
|
6636
|
-
|
|
6636
|
+
j[L] = {
|
|
6637
6637
|
year: Z[2],
|
|
6638
6638
|
month: Z[1],
|
|
6639
6639
|
day: Z[0]
|
|
6640
6640
|
};
|
|
6641
6641
|
} else
|
|
6642
|
-
|
|
6643
|
-
return
|
|
6642
|
+
j[L] = (bt = ie.value) != null ? bt : null;
|
|
6643
|
+
return j;
|
|
6644
6644
|
},
|
|
6645
6645
|
{}
|
|
6646
|
-
),
|
|
6647
|
-
if (
|
|
6646
|
+
), R = Ze(H);
|
|
6647
|
+
if (R === null)
|
|
6648
6648
|
return !1;
|
|
6649
|
-
const ne = { method: "POST", headers: g, body:
|
|
6649
|
+
const ne = { method: "POST", headers: g, body: R };
|
|
6650
6650
|
try {
|
|
6651
|
-
const
|
|
6652
|
-
if (
|
|
6651
|
+
const j = yield fetch(y.href, ne);
|
|
6652
|
+
if (j.status === 200)
|
|
6653
6653
|
return !0;
|
|
6654
|
-
const L = yield
|
|
6655
|
-
return
|
|
6656
|
-
} catch (
|
|
6657
|
-
return console.error(
|
|
6654
|
+
const L = yield j.json();
|
|
6655
|
+
return dt(L), !1;
|
|
6656
|
+
} catch (j) {
|
|
6657
|
+
return console.error(j), dt(j), !1;
|
|
6658
6658
|
}
|
|
6659
|
-
}),
|
|
6659
|
+
}), dt = (y) => {
|
|
6660
6660
|
var H;
|
|
6661
6661
|
const g = (H = y.thirdPartyResponse) == null ? void 0 : H.message;
|
|
6662
6662
|
g && g.includes("Mandatory input parameter is missing: mobilePrefix") ? (V = n("userPrefixError"), at("mobilePrefix")()) : V = n("userProfileUpdateError");
|
|
@@ -6667,13 +6667,13 @@ function Wu(e, t, r) {
|
|
|
6667
6667
|
tagCode: L.tagCode,
|
|
6668
6668
|
status: L.status ? "Accepted" : "Denied"
|
|
6669
6669
|
});
|
|
6670
|
-
const H = new URL(`${a}/v1/player/${i}/consent`),
|
|
6671
|
-
|
|
6670
|
+
const H = new URL(`${a}/v1/player/${i}/consent`), R = new Headers();
|
|
6671
|
+
R.append("X-SessionID", o), R.append("Content-Type", "application/json"), R.append("Accept", "application/json");
|
|
6672
6672
|
const ne = Ze({ items: y });
|
|
6673
6673
|
if (ne === null)
|
|
6674
6674
|
return !1;
|
|
6675
|
-
const
|
|
6676
|
-
return yield fetch(H.href,
|
|
6675
|
+
const j = { method: "POST", headers: R, body: ne };
|
|
6676
|
+
return yield fetch(H.href, j).then((L) => L.status == 200, (L) => (console.error(L), !1));
|
|
6677
6677
|
}), Zr = () => {
|
|
6678
6678
|
window.postMessage(
|
|
6679
6679
|
{
|
|
@@ -6698,8 +6698,8 @@ function Wu(e, t, r) {
|
|
|
6698
6698
|
});
|
|
6699
6699
|
const st = (y) => (g) => {
|
|
6700
6700
|
b.consents[y].forEach((H) => {
|
|
6701
|
-
H.status = g.target.checked, Object.values(E[y]).forEach((
|
|
6702
|
-
|
|
6701
|
+
H.status = g.target.checked, Object.values(E[y]).forEach((R) => {
|
|
6702
|
+
R && (R.checked = H.status);
|
|
6703
6703
|
});
|
|
6704
6704
|
}), at("consents")();
|
|
6705
6705
|
}, At = (y) => (g) => {
|
|
@@ -6719,7 +6719,7 @@ function Wu(e, t, r) {
|
|
|
6719
6719
|
function wt() {
|
|
6720
6720
|
b.securityAnswer.value = this.value, r(4, b), r(3, A);
|
|
6721
6721
|
}
|
|
6722
|
-
function
|
|
6722
|
+
function mt() {
|
|
6723
6723
|
b.city.value = this.value, r(4, b), r(3, A);
|
|
6724
6724
|
}
|
|
6725
6725
|
function kt() {
|
|
@@ -6753,11 +6753,11 @@ function Wu(e, t, r) {
|
|
|
6753
6753
|
"userid" in y && r(27, i = y.userid), "sessionid" in y && r(28, o = y.sessionid), "endpoint" in y && r(29, a = y.endpoint), "lang" in y && r(30, u = y.lang), "clientstyling" in y && r(31, c = y.clientstyling), "clientstylingurl" in y && r(32, p = y.clientstylingurl), "mbsource" in y && r(33, f = y.mbsource), "translationurl" in y && r(34, d = y.translationurl), "custominputtextswitch" in y && r(0, v = y.custominputtextswitch), "showlocationdetailsdescription" in y && r(1, _ = y.showlocationdetailsdescription), "disabledfields" in y && r(35, C = y.disabledfields);
|
|
6754
6754
|
}, e.$$.update = () => {
|
|
6755
6755
|
e.$$.dirty[0] & /*endpoint, userid, sessionid*/
|
|
6756
|
-
939524096 && a && i && o && Qr() && Y() &&
|
|
6757
|
-
536870912 && a &&
|
|
6756
|
+
939524096 && a && i && o && Qr() && Y() && gt(), e.$$.dirty[0] & /*endpoint*/
|
|
6757
|
+
536870912 && a && Ct() && Xr(), e.$$.dirty[1] & /*profileInfo, profileConsents, profileConsentRequirements, countriesArray*/
|
|
6758
6758
|
480 && Je(k) && Je(M) && Je(N) && Je(D) && Wr(), e.$$.dirty[0] & /*lang*/
|
|
6759
6759
|
1073741824 && u && Pt(), e.$$.dirty[1] & /*disabledfields*/
|
|
6760
|
-
16 && C && (W =
|
|
6760
|
+
16 && C && (W = _t(C)), e.$$.dirty[0] & /*customStylingContainer*/
|
|
6761
6761
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
6762
6762
|
1 && c && P && gu(P, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
6763
6763
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
@@ -6810,7 +6810,7 @@ function Wu(e, t, r) {
|
|
|
6810
6810
|
Yr,
|
|
6811
6811
|
we,
|
|
6812
6812
|
wt,
|
|
6813
|
-
|
|
6813
|
+
mt,
|
|
6814
6814
|
kt,
|
|
6815
6815
|
Kr,
|
|
6816
6816
|
lt,
|