@everymatrix/player-profile-info 1.80.2 → 1.80.4
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
|
@@ -705,40 +705,40 @@ var O;
|
|
|
705
705
|
(function(e) {
|
|
706
706
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
707
707
|
})(O || (O = {}));
|
|
708
|
-
var
|
|
708
|
+
var R;
|
|
709
709
|
(function(e) {
|
|
710
710
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
711
|
-
})(
|
|
711
|
+
})(R || (R = {}));
|
|
712
712
|
var Ut;
|
|
713
713
|
(function(e) {
|
|
714
714
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
715
715
|
})(Ut || (Ut = {}));
|
|
716
716
|
function $i(e) {
|
|
717
|
-
return e.type ===
|
|
717
|
+
return e.type === R.literal;
|
|
718
718
|
}
|
|
719
719
|
function cs(e) {
|
|
720
|
-
return e.type ===
|
|
720
|
+
return e.type === R.argument;
|
|
721
721
|
}
|
|
722
722
|
function Go(e) {
|
|
723
|
-
return e.type ===
|
|
723
|
+
return e.type === R.number;
|
|
724
724
|
}
|
|
725
725
|
function $o(e) {
|
|
726
|
-
return e.type ===
|
|
726
|
+
return e.type === R.date;
|
|
727
727
|
}
|
|
728
728
|
function Vo(e) {
|
|
729
|
-
return e.type ===
|
|
729
|
+
return e.type === R.time;
|
|
730
730
|
}
|
|
731
731
|
function Qo(e) {
|
|
732
|
-
return e.type ===
|
|
732
|
+
return e.type === R.select;
|
|
733
733
|
}
|
|
734
734
|
function Wo(e) {
|
|
735
|
-
return e.type ===
|
|
735
|
+
return e.type === R.plural;
|
|
736
736
|
}
|
|
737
737
|
function fs(e) {
|
|
738
|
-
return e.type ===
|
|
738
|
+
return e.type === R.pound;
|
|
739
739
|
}
|
|
740
740
|
function Xo(e) {
|
|
741
|
-
return e.type ===
|
|
741
|
+
return e.type === R.tag;
|
|
742
742
|
}
|
|
743
743
|
function qo(e) {
|
|
744
744
|
return !!(e && typeof e == "object" && e.type === Ut.number);
|
|
@@ -2640,7 +2640,7 @@ var Ns = (
|
|
|
2640
2640
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2641
2641
|
var u = this.clonePosition();
|
|
2642
2642
|
this.bump(), i.push({
|
|
2643
|
-
type:
|
|
2643
|
+
type: R.pound,
|
|
2644
2644
|
location: B(u, this.clonePosition())
|
|
2645
2645
|
});
|
|
2646
2646
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2668,7 +2668,7 @@ var Ns = (
|
|
|
2668
2668
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2669
2669
|
return {
|
|
2670
2670
|
val: {
|
|
2671
|
-
type:
|
|
2671
|
+
type: R.literal,
|
|
2672
2672
|
value: "<".concat(i, "/>"),
|
|
2673
2673
|
location: B(n, this.clonePosition())
|
|
2674
2674
|
},
|
|
@@ -2685,7 +2685,7 @@ var Ns = (
|
|
|
2685
2685
|
var c = this.clonePosition(), f = this.parseTagName();
|
|
2686
2686
|
return i !== f ? this.error(O.UNMATCHED_CLOSING_TAG, B(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2687
2687
|
val: {
|
|
2688
|
-
type:
|
|
2688
|
+
type: R.tag,
|
|
2689
2689
|
value: i,
|
|
2690
2690
|
children: a,
|
|
2691
2691
|
location: B(n, this.clonePosition())
|
|
@@ -2722,7 +2722,7 @@ var Ns = (
|
|
|
2722
2722
|
}
|
|
2723
2723
|
var c = B(n, this.clonePosition());
|
|
2724
2724
|
return {
|
|
2725
|
-
val: { type:
|
|
2725
|
+
val: { type: R.literal, value: i, location: c },
|
|
2726
2726
|
err: null
|
|
2727
2727
|
};
|
|
2728
2728
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2782,7 +2782,7 @@ var Ns = (
|
|
|
2782
2782
|
case 125:
|
|
2783
2783
|
return this.bump(), {
|
|
2784
2784
|
val: {
|
|
2785
|
-
type:
|
|
2785
|
+
type: R.argument,
|
|
2786
2786
|
// value does not include the opening and closing braces.
|
|
2787
2787
|
value: i,
|
|
2788
2788
|
location: B(n, this.clonePosition())
|
|
@@ -2829,7 +2829,7 @@ var Ns = (
|
|
|
2829
2829
|
if (u === "number") {
|
|
2830
2830
|
var h = this.parseNumberSkeletonFromString(A, f.styleLocation);
|
|
2831
2831
|
return h.err ? h : {
|
|
2832
|
-
val: { type:
|
|
2832
|
+
val: { type: R.number, value: n, location: E, style: h.val },
|
|
2833
2833
|
err: null
|
|
2834
2834
|
};
|
|
2835
2835
|
} else {
|
|
@@ -2842,7 +2842,7 @@ var Ns = (
|
|
|
2842
2842
|
pattern: D,
|
|
2843
2843
|
location: f.styleLocation,
|
|
2844
2844
|
parsedOptions: this.shouldParseSkeletons ? hs(D) : {}
|
|
2845
|
-
}, k = u === "date" ?
|
|
2845
|
+
}, k = u === "date" ? R.date : R.time;
|
|
2846
2846
|
return {
|
|
2847
2847
|
val: { type: k, value: n, location: E, style: y },
|
|
2848
2848
|
err: null
|
|
@@ -2851,7 +2851,7 @@ var Ns = (
|
|
|
2851
2851
|
}
|
|
2852
2852
|
return {
|
|
2853
2853
|
val: {
|
|
2854
|
-
type: u === "number" ?
|
|
2854
|
+
type: u === "number" ? R.number : u === "date" ? R.date : R.time,
|
|
2855
2855
|
value: n,
|
|
2856
2856
|
location: E,
|
|
2857
2857
|
style: (o = f?.style) !== null && o !== void 0 ? o : null
|
|
@@ -2885,7 +2885,7 @@ var Ns = (
|
|
|
2885
2885
|
var Se = B(i, this.clonePosition());
|
|
2886
2886
|
return u === "select" ? {
|
|
2887
2887
|
val: {
|
|
2888
|
-
type:
|
|
2888
|
+
type: R.select,
|
|
2889
2889
|
value: n,
|
|
2890
2890
|
options: qi($.val),
|
|
2891
2891
|
location: Se
|
|
@@ -2893,7 +2893,7 @@ var Ns = (
|
|
|
2893
2893
|
err: null
|
|
2894
2894
|
} : {
|
|
2895
2895
|
val: {
|
|
2896
|
-
type:
|
|
2896
|
+
type: R.plural,
|
|
2897
2897
|
value: n,
|
|
2898
2898
|
options: qi($.val),
|
|
2899
2899
|
offset: W,
|
|
@@ -3588,7 +3588,7 @@ function Pn(e, t = zt().fallbackLocale) {
|
|
|
3588
3588
|
const r = eo(e);
|
|
3589
3589
|
return t ? [.../* @__PURE__ */ new Set([...r, ...eo(t)])] : r;
|
|
3590
3590
|
}
|
|
3591
|
-
function
|
|
3591
|
+
function pt() {
|
|
3592
3592
|
return ii ?? void 0;
|
|
3593
3593
|
}
|
|
3594
3594
|
gn.subscribe((e) => {
|
|
@@ -3598,7 +3598,7 @@ const pl = (e) => {
|
|
|
3598
3598
|
if (e && Ys(e) && ni(e)) {
|
|
3599
3599
|
const { loadingDelay: t } = zt();
|
|
3600
3600
|
let r;
|
|
3601
|
-
return typeof window < "u" &&
|
|
3601
|
+
return typeof window < "u" && pt() != null && t ? r = window.setTimeout(
|
|
3602
3602
|
() => Wn.set(!0),
|
|
3603
3603
|
t
|
|
3604
3604
|
) : Wn.set(!0), sa(e).then(() => {
|
|
@@ -3663,28 +3663,28 @@ const sr = (e, t) => {
|
|
|
3663
3663
|
}
|
|
3664
3664
|
), vl = (e = {}) => {
|
|
3665
3665
|
var t = e, {
|
|
3666
|
-
locale: r =
|
|
3666
|
+
locale: r = pt()
|
|
3667
3667
|
} = t, n = Qt(t, [
|
|
3668
3668
|
"locale"
|
|
3669
3669
|
]);
|
|
3670
3670
|
return dl(pi({ locale: r }, n));
|
|
3671
3671
|
}, yl = (e = {}) => {
|
|
3672
3672
|
var t = e, {
|
|
3673
|
-
locale: r =
|
|
3673
|
+
locale: r = pt()
|
|
3674
3674
|
} = t, n = Qt(t, [
|
|
3675
3675
|
"locale"
|
|
3676
3676
|
]);
|
|
3677
3677
|
return ml(pi({ locale: r }, n));
|
|
3678
3678
|
}, gl = (e = {}) => {
|
|
3679
3679
|
var t = e, {
|
|
3680
|
-
locale: r =
|
|
3680
|
+
locale: r = pt()
|
|
3681
3681
|
} = t, n = Qt(t, [
|
|
3682
3682
|
"locale"
|
|
3683
3683
|
]);
|
|
3684
3684
|
return bl(pi({ locale: r }, n));
|
|
3685
3685
|
}, Cl = An(
|
|
3686
3686
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3687
|
-
(e, t =
|
|
3687
|
+
(e, t = pt()) => new Ws(e, t, zt().formats, {
|
|
3688
3688
|
ignoreTag: zt().ignoreTag
|
|
3689
3689
|
})
|
|
3690
3690
|
), _l = (e, t = {}) => {
|
|
@@ -3693,7 +3693,7 @@ const sr = (e, t) => {
|
|
|
3693
3693
|
typeof e == "object" && (a = e, e = a.id);
|
|
3694
3694
|
const {
|
|
3695
3695
|
values: u,
|
|
3696
|
-
locale: c =
|
|
3696
|
+
locale: c = pt(),
|
|
3697
3697
|
default: f
|
|
3698
3698
|
} = a;
|
|
3699
3699
|
if (c == null)
|
|
@@ -3719,7 +3719,7 @@ const sr = (e, t) => {
|
|
|
3719
3719
|
);
|
|
3720
3720
|
}
|
|
3721
3721
|
return h;
|
|
3722
|
-
}, Sl = (e, t) => gl(t).format(e), El = (e, t) => yl(t).format(e), Pl = (e, t) => vl(t).format(e), Al = (e, t =
|
|
3722
|
+
}, Sl = (e, t) => gl(t).format(e), El = (e, t) => yl(t).format(e), Pl = (e, t) => vl(t).format(e), Al = (e, t = pt()) => na(e, t), wl = $t([Vt, lr], () => _l);
|
|
3723
3723
|
$t([Vt], () => Sl);
|
|
3724
3724
|
$t([Vt], () => El);
|
|
3725
3725
|
$t([Vt], () => Pl);
|
|
@@ -5106,7 +5106,7 @@ function mo(e) {
|
|
|
5106
5106
|
), k, T, M, W, $, Se, xe, V, Ee, b = (
|
|
5107
5107
|
/*$_*/
|
|
5108
5108
|
e[19]("userPhone") + ""
|
|
5109
|
-
), S, Ie,
|
|
5109
|
+
), S, Ie, U, J, Je, Te, st, Q, Ve, Qe, lt, Ye, je, Ke, K, Re, et = (
|
|
5110
5110
|
/*custominputtextswitch*/
|
|
5111
5111
|
(e[0] == "true" ? (
|
|
5112
5112
|
/*$_*/
|
|
@@ -5115,7 +5115,7 @@ function mo(e) {
|
|
|
5115
5115
|
/*$_*/
|
|
5116
5116
|
e[19]("profileSecurityQuestion")
|
|
5117
5117
|
)) + ""
|
|
5118
|
-
),
|
|
5118
|
+
), ht, We, Oe, cr, Y, dt, mt, fr, bt, pr, Be, tt, vt = (
|
|
5119
5119
|
/*custominputtextswitch*/
|
|
5120
5120
|
(e[0] == "true" ? (
|
|
5121
5121
|
/*$_*/
|
|
@@ -5124,13 +5124,13 @@ function mo(e) {
|
|
|
5124
5124
|
/*$_*/
|
|
5125
5125
|
e[19]("profileSecurityAnswer")
|
|
5126
5126
|
)) + ""
|
|
5127
|
-
), rt, Wt, ut, hr, q,
|
|
5127
|
+
), rt, Wt, ut, hr, q, ct, yt, dr, gt, mr, nt, Ct, Xe = (
|
|
5128
5128
|
/*$_*/
|
|
5129
5129
|
e[19]("userEmail") + ""
|
|
5130
|
-
), Xt, br, Pe, _t,
|
|
5130
|
+
), Xt, br, Pe, _t, ft, St, vr, it, Et, Pt = (
|
|
5131
5131
|
/*$_*/
|
|
5132
5132
|
e[19]("dateOfBirth") + ""
|
|
5133
|
-
), qt, yr, v, g, N,
|
|
5133
|
+
), qt, yr, v, g, N, F, Ae, L, j, At = (
|
|
5134
5134
|
/*$_*/
|
|
5135
5135
|
e[19]("firstName") + ""
|
|
5136
5136
|
), He, wt, Me, gr, Zt, Cr, hi, kt, _r, Sr = (
|
|
@@ -5195,10 +5195,10 @@ function mo(e) {
|
|
|
5195
5195
|
);
|
|
5196
5196
|
return {
|
|
5197
5197
|
c() {
|
|
5198
|
-
t = d("form"), r = d("div"), le && le.c(), n = _(), i = d("h2"), a = w(o), c = _(), f = d("div"), p = d("h3"), y = w(h), P = _(), C = d("section"), E = d("div"), A = d("label"), k = w(D), T = _(), M = d("input"), xe = _(), V = d("div"), Ee = d("label"), S = w(b), Ie = _(),
|
|
5198
|
+
t = d("form"), r = d("div"), le && le.c(), n = _(), i = d("h2"), a = w(o), c = _(), f = d("div"), p = d("h3"), y = w(h), P = _(), C = d("section"), E = d("div"), A = d("label"), k = w(D), T = _(), M = d("input"), xe = _(), V = d("div"), Ee = d("label"), S = w(b), Ie = _(), U = d("div"), J = d("select");
|
|
5199
5199
|
for (let re = 0; re < te.length; re += 1)
|
|
5200
5200
|
te[re].c();
|
|
5201
|
-
st = _(), Q = d("input"), lt = _(), ue && ue.c(), Ye = _(), ce && ce.c(), Ke = _(), K = d("div"), Re = d("label"),
|
|
5201
|
+
st = _(), Q = d("input"), lt = _(), ue && ue.c(), Ye = _(), ce && ce.c(), Ke = _(), K = d("div"), Re = d("label"), ht = w(et), We = w(":"), Oe = d("span"), Oe.textContent = "*", cr = _(), Y = d("input"), fr = _(), fe && fe.c(), pr = _(), Be = d("div"), tt = d("label"), rt = w(vt), Wt = w(":"), ut = d("span"), ut.textContent = "*", hr = _(), q = d("input"), dr = _(), pe && pe.c(), mr = _(), nt = d("div"), Ct = d("label"), Xt = w(Xe), br = _(), Pe = d("input"), vr = _(), it = d("div"), Et = d("label"), qt = w(Pt), yr = _(), v = d("input"), Ae = _(), L = d("div"), j = d("label"), He = w(At), wt = _(), Me = d("input"), hi = _(), kt = d("div"), _r = d("label"), kn = w(Sr), di = _(), Ne = d("input"), mi = _(), xt = d("div"), Ar = d("label"), xn = w(wr), bi = _(), De = d("input"), vi = _(), Ot = d("div"), Or = d("label"), On = w(Br), yi = _(), Le = d("input"), gi = _(), he && he.c(), Ci = _(), Tr = d("div"), Bn = d("h3"), Hn = w(Mr), _i = _(), ee = d("section"), Bt = d("div"), Nr = d("label"), In = w(Dr), Si = _(), we = d("input"), Ei = _(), Ue = d("div"), Ur = d("label"), Tn = w(Fr), Pi = _(), ie = d("input"), Ai = _(), de && de.c(), wi = _(), Fe = d("div"), Vr = d("label"), Mn = w(Qr), ki = _(), oe = d("input"), xi = _(), me && me.c(), Oi = _(), ze = d("div"), Zr = d("label"), Nn = w(Jr), Bi = _(), ae = d("input"), Hi = _(), be && be.c(), Ii = _(), Ge = d("div"), tn = d("label"), Dn = w(rn), Ti = _(), se = d("input"), Mi = _(), ve && ve.c(), Ni = _(), ye && ye.c(), Di = _(), ge && ge.c(), jn = _(), tr = d("section"), Ht = d("button"), Rn = w(sn), Li = _(), Ce && Ce.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5202
5202
|
(e[7] ? "MyAccountCategoryTitleNone" : "")), l(f, "class", "PlayerNotificationsHeader"), l(M, "type", "text"), l(M, "class", W = `${/*profileValues*/
|
|
5203
5203
|
e[4].username?.readOnly ? "FieldDisabled" : ""}`), M.value = $ = /*profileValues*/
|
|
5204
5204
|
e[4].username?.value ?? "", M.readOnly = Se = /*profileValues*/
|
|
@@ -5215,17 +5215,17 @@ function mo(e) {
|
|
|
5215
5215
|
/*defaultValues*/
|
|
5216
5216
|
e[20].mobile.number
|
|
5217
5217
|
), Q.readOnly = Qe = /*profileValues*/
|
|
5218
|
-
e[4].mobile?.readOnly, l(
|
|
5218
|
+
e[4].mobile?.readOnly, l(U, "class", "PlayerPhoneNumber"), l(V, "class", je = "PlayerInfoBox " + /*isMobileValid*/
|
|
5219
5219
|
(e[16] ? "" : "InvalidField") + " " + /*isPrefixValid*/
|
|
5220
|
-
(e[17] ? "" : "InvalidPrefix")), l(Oe, "class", "FormRequired"), l(Re, "for", "SecurityQuestion"), l(Y, "id", "SecurityQuestion"), l(Y, "type", "text"), l(Y, "class",
|
|
5220
|
+
(e[17] ? "" : "InvalidPrefix")), l(Oe, "class", "FormRequired"), l(Re, "for", "SecurityQuestion"), l(Y, "id", "SecurityQuestion"), l(Y, "type", "text"), l(Y, "class", dt = `${/*profileValues*/
|
|
5221
5221
|
e[4].securityQuestion?.readOnly ? "FieldDisabled" : ""}`), l(
|
|
5222
5222
|
Y,
|
|
5223
5223
|
"placeholder",
|
|
5224
5224
|
/*defaultValues*/
|
|
5225
5225
|
e[20].securityQuestion
|
|
5226
|
-
), Y.readOnly =
|
|
5227
|
-
e[4].securityQuestion?.readOnly, l(K, "class",
|
|
5228
|
-
(e[14] ? "" : "InvalidField")), l(ut, "class", "FormRequired"), l(tt, "for", "SecurityAnswer"), l(q, "id", "SecurityAnswer"), l(q, "type", "text"), l(q, "class",
|
|
5226
|
+
), Y.readOnly = mt = /*profileValues*/
|
|
5227
|
+
e[4].securityQuestion?.readOnly, l(K, "class", bt = "PlayerInfoBox " + /*isSecurityQuestionValid*/
|
|
5228
|
+
(e[14] ? "" : "InvalidField")), l(ut, "class", "FormRequired"), l(tt, "for", "SecurityAnswer"), l(q, "id", "SecurityAnswer"), l(q, "type", "text"), l(q, "class", ct = `${/*profileValues*/
|
|
5229
5229
|
e[4].securityAnswer?.readOnly ? "FieldDisabled" : ""}`), l(
|
|
5230
5230
|
q,
|
|
5231
5231
|
"placeholder",
|
|
@@ -5234,15 +5234,15 @@ function mo(e) {
|
|
|
5234
5234
|
), q.readOnly = yt = /*profileValues*/
|
|
5235
5235
|
e[4].securityAnswer?.readOnly, l(Be, "class", gt = "PlayerInfoBox " + /*isSecurityAnswerValid*/
|
|
5236
5236
|
(e[15] ? "" : "InvalidField")), l(Ct, "for", "UserEmail"), l(Pe, "id", "UserEmail"), l(Pe, "type", "email"), l(Pe, "class", _t = `${/*profileValues*/
|
|
5237
|
-
e[4].email?.readOnly ? "FieldDisabled" : ""}`), Pe.value =
|
|
5237
|
+
e[4].email?.readOnly ? "FieldDisabled" : ""}`), Pe.value = ft = /*profileValues*/
|
|
5238
5238
|
e[4].email.value, Pe.readOnly = St = /*profileValues*/
|
|
5239
5239
|
e[4].email?.readOnly, l(nt, "class", "PlayerInfoBox"), l(Et, "for", "DateOfBirth"), l(v, "id", "DateOfBirth"), l(v, "type", "text"), l(v, "class", g = `${/*profileValues*/
|
|
5240
5240
|
e[4].birth?.readOnly ? "FieldDisabled" : ""}`), v.value = N = /*profileValues*/
|
|
5241
|
-
e[4].birth.value, v.readOnly =
|
|
5242
|
-
e[4].birth?.readOnly, l(it, "class", "PlayerInfoBox"), l(
|
|
5241
|
+
e[4].birth.value, v.readOnly = F = /*profileValues*/
|
|
5242
|
+
e[4].birth?.readOnly, l(it, "class", "PlayerInfoBox"), l(j, "for", "FirstName"), l(Me, "id", "FirstName"), l(Me, "type", "text"), l(Me, "class", gr = `${/*profileValues*/
|
|
5243
5243
|
e[4].firstname?.readOnly ? "FieldDisabled" : ""}`), Me.value = Zt = /*profileValues*/
|
|
5244
5244
|
e[4].firstname.value, Me.readOnly = Cr = /*profileValues*/
|
|
5245
|
-
e[4].firstname?.readOnly, l(
|
|
5245
|
+
e[4].firstname?.readOnly, l(L, "class", "PlayerInfoBox"), l(_r, "for", "LastName"), l(Ne, "id", "LastName"), l(Ne, "type", "text"), l(Ne, "class", Er = `${/*profileValues*/
|
|
5246
5246
|
e[4].lastname?.readOnly ? "FieldDisabled" : ""}`), Ne.value = Jt = /*profileValues*/
|
|
5247
5247
|
e[4].lastname.value, Ne.readOnly = Pr = /*profileValues*/
|
|
5248
5248
|
e[4].lastname?.readOnly, l(kt, "class", "PlayerInfoBox"), l(Ar, "for", "UserTitle"), l(De, "id", "UserTitle"), l(De, "type", "text"), l(De, "class", kr = `${/*profileValues*/
|
|
@@ -5294,7 +5294,7 @@ function mo(e) {
|
|
|
5294
5294
|
(e[7] ? "PlayerInfoWrapperMobile" : ""));
|
|
5295
5295
|
},
|
|
5296
5296
|
m(re, m) {
|
|
5297
|
-
I(re, t, m), s(t, r), le && le.m(r, null), s(r, n), s(r, i), s(i, a), s(r, c), s(r, f), s(f, p), s(p, y), s(r, P), s(r, C), s(C, E), s(E, A), s(A, k), s(E, T), s(E, M), s(C, xe), s(C, V), s(V, Ee), s(Ee, S), s(V, Ie), s(V,
|
|
5297
|
+
I(re, t, m), s(t, r), le && le.m(r, null), s(r, n), s(r, i), s(i, a), s(r, c), s(r, f), s(f, p), s(p, y), s(r, P), s(r, C), s(C, E), s(E, A), s(A, k), s(E, T), s(E, M), s(C, xe), s(C, V), s(V, Ee), s(Ee, S), s(V, Ie), s(V, U), s(U, J);
|
|
5298
5298
|
for (let Z = 0; Z < te.length; Z += 1)
|
|
5299
5299
|
te[Z] && te[Z].m(J, null);
|
|
5300
5300
|
Fi(
|
|
@@ -5302,11 +5302,11 @@ function mo(e) {
|
|
|
5302
5302
|
/*profileValues*/
|
|
5303
5303
|
e[4].mobile.prefix,
|
|
5304
5304
|
!0
|
|
5305
|
-
), s(
|
|
5305
|
+
), s(U, st), s(U, Q), X(
|
|
5306
5306
|
Q,
|
|
5307
5307
|
/*profileValues*/
|
|
5308
5308
|
e[4].mobile.number
|
|
5309
|
-
), s(V, lt), ue && ue.m(V, null), s(V, Ye), ce && ce.m(V, null), s(C, Ke), s(C, K), s(K, Re), s(Re,
|
|
5309
|
+
), s(V, lt), ue && ue.m(V, null), s(V, Ye), ce && ce.m(V, null), s(C, Ke), s(C, K), s(K, Re), s(Re, ht), s(Re, We), s(Re, Oe), s(K, cr), s(K, Y), X(
|
|
5310
5310
|
Y,
|
|
5311
5311
|
/*profileValues*/
|
|
5312
5312
|
e[4].securityQuestion.value
|
|
@@ -5314,7 +5314,7 @@ function mo(e) {
|
|
|
5314
5314
|
q,
|
|
5315
5315
|
/*profileValues*/
|
|
5316
5316
|
e[4].securityAnswer.value
|
|
5317
|
-
), s(Be, dr), pe && pe.m(Be, null), s(C, mr), s(C, nt), s(nt, Ct), s(Ct, Xt), s(nt, br), s(nt, Pe), s(C, vr), s(C, it), s(it, Et), s(Et, qt), s(it, yr), s(it, v), s(C, Ae), s(C,
|
|
5317
|
+
), s(Be, dr), pe && pe.m(Be, null), s(C, mr), s(C, nt), s(nt, Ct), s(Ct, Xt), s(nt, br), s(nt, Pe), s(C, vr), s(C, it), s(it, Et), s(Et, qt), s(it, yr), s(it, v), s(C, Ae), s(C, L), s(L, j), s(j, He), s(L, wt), s(L, Me), s(C, hi), s(C, kt), s(kt, _r), s(_r, kn), s(kt, di), s(kt, Ne), s(C, mi), s(C, xt), s(xt, Ar), s(Ar, xn), s(xt, bi), s(xt, De), s(C, vi), s(C, Ot), s(Ot, Or), s(Or, On), s(Ot, yi), s(Ot, Le), s(C, gi), he && he.m(C, null), s(r, Ci), s(r, Tr), s(Tr, Bn), s(Bn, Hn), s(r, _i), s(r, ee), s(ee, Bt), s(Bt, Nr), s(Nr, In), s(Bt, Si), s(Bt, we), s(ee, Ei), s(ee, Ue), s(Ue, Ur), s(Ur, Tn), s(Ue, Pi), s(Ue, ie), X(
|
|
5318
5318
|
ie,
|
|
5319
5319
|
/*profileValues*/
|
|
5320
5320
|
e[4].city.value
|
|
@@ -5509,11 +5509,11 @@ function mo(e) {
|
|
|
5509
5509
|
) : (
|
|
5510
5510
|
/*$_*/
|
|
5511
5511
|
e[19]("profileSecurityQuestion")
|
|
5512
|
-
)) + "") && x(
|
|
5513
|
-
24 &&
|
|
5514
|
-
e[4].securityQuestion?.readOnly ? "FieldDisabled" : ""}`) && l(Y, "class",
|
|
5515
|
-
24 &&
|
|
5516
|
-
e[4].securityQuestion?.readOnly) && (Y.readOnly =
|
|
5512
|
+
)) + "") && x(ht, et), m[0] & /*profileValues, prefixesArray*/
|
|
5513
|
+
24 && dt !== (dt = `${/*profileValues*/
|
|
5514
|
+
e[4].securityQuestion?.readOnly ? "FieldDisabled" : ""}`) && l(Y, "class", dt), m[0] & /*profileValues, prefixesArray*/
|
|
5515
|
+
24 && mt !== (mt = /*profileValues*/
|
|
5516
|
+
e[4].securityQuestion?.readOnly) && (Y.readOnly = mt), m[0] & /*profileValues, prefixesArray*/
|
|
5517
5517
|
24 && Y.value !== /*profileValues*/
|
|
5518
5518
|
e[4].securityQuestion.value && X(
|
|
5519
5519
|
Y,
|
|
@@ -5521,18 +5521,18 @@ function mo(e) {
|
|
|
5521
5521
|
e[4].securityQuestion.value
|
|
5522
5522
|
), /*isSecurityQuestionValid*/
|
|
5523
5523
|
e[14] ? fe && (fe.d(1), fe = null) : fe ? fe.p(e, m) : (fe = Co(e), fe.c(), fe.m(K, null)), m[0] & /*isSecurityQuestionValid*/
|
|
5524
|
-
16384 &&
|
|
5525
|
-
(e[14] ? "" : "InvalidField")) && l(K, "class",
|
|
5526
|
-
524289 &&
|
|
5524
|
+
16384 && bt !== (bt = "PlayerInfoBox " + /*isSecurityQuestionValid*/
|
|
5525
|
+
(e[14] ? "" : "InvalidField")) && l(K, "class", bt), m[0] & /*custominputtextswitch, $_*/
|
|
5526
|
+
524289 && vt !== (vt = /*custominputtextswitch*/
|
|
5527
5527
|
(e[0] == "true" ? (
|
|
5528
5528
|
/*$_*/
|
|
5529
5529
|
e[19]("profileSecurityAnswer2")
|
|
5530
5530
|
) : (
|
|
5531
5531
|
/*$_*/
|
|
5532
5532
|
e[19]("profileSecurityAnswer")
|
|
5533
|
-
)) + "") && x(rt,
|
|
5534
|
-
24 &&
|
|
5535
|
-
e[4].securityAnswer?.readOnly ? "FieldDisabled" : ""}`) && l(q, "class",
|
|
5533
|
+
)) + "") && x(rt, vt), m[0] & /*profileValues, prefixesArray*/
|
|
5534
|
+
24 && ct !== (ct = `${/*profileValues*/
|
|
5535
|
+
e[4].securityAnswer?.readOnly ? "FieldDisabled" : ""}`) && l(q, "class", ct), m[0] & /*profileValues, prefixesArray*/
|
|
5536
5536
|
24 && yt !== (yt = /*profileValues*/
|
|
5537
5537
|
e[4].securityAnswer?.readOnly) && (q.readOnly = yt), m[0] & /*profileValues, prefixesArray*/
|
|
5538
5538
|
24 && q.value !== /*profileValues*/
|
|
@@ -5548,8 +5548,8 @@ function mo(e) {
|
|
|
5548
5548
|
e[19]("userEmail") + "") && x(Xt, Xe), m[0] & /*profileValues, prefixesArray*/
|
|
5549
5549
|
24 && _t !== (_t = `${/*profileValues*/
|
|
5550
5550
|
e[4].email?.readOnly ? "FieldDisabled" : ""}`) && l(Pe, "class", _t), m[0] & /*profileValues, prefixesArray*/
|
|
5551
|
-
24 &&
|
|
5552
|
-
e[4].email.value) && Pe.value !==
|
|
5551
|
+
24 && ft !== (ft = /*profileValues*/
|
|
5552
|
+
e[4].email.value) && Pe.value !== ft && (Pe.value = ft), m[0] & /*profileValues, prefixesArray*/
|
|
5553
5553
|
24 && St !== (St = /*profileValues*/
|
|
5554
5554
|
e[4].email?.readOnly) && (Pe.readOnly = St), m[0] & /*$_*/
|
|
5555
5555
|
524288 && Pt !== (Pt = /*$_*/
|
|
@@ -5558,8 +5558,8 @@ function mo(e) {
|
|
|
5558
5558
|
e[4].birth?.readOnly ? "FieldDisabled" : ""}`) && l(v, "class", g), m[0] & /*profileValues, prefixesArray*/
|
|
5559
5559
|
24 && N !== (N = /*profileValues*/
|
|
5560
5560
|
e[4].birth.value) && v.value !== N && (v.value = N), m[0] & /*profileValues, prefixesArray*/
|
|
5561
|
-
24 &&
|
|
5562
|
-
e[4].birth?.readOnly) && (v.readOnly =
|
|
5561
|
+
24 && F !== (F = /*profileValues*/
|
|
5562
|
+
e[4].birth?.readOnly) && (v.readOnly = F), m[0] & /*$_*/
|
|
5563
5563
|
524288 && At !== (At = /*$_*/
|
|
5564
5564
|
e[19]("firstName") + "") && x(He, At), m[0] & /*profileValues, prefixesArray*/
|
|
5565
5565
|
24 && gr !== (gr = `${/*profileValues*/
|
|
@@ -6361,14 +6361,14 @@ function tu(e) {
|
|
|
6361
6361
|
},
|
|
6362
6362
|
m(S, Ie) {
|
|
6363
6363
|
I(S, t, Ie), s(t, r), s(r, n), s(r, i), s(r, o), s(r, a), s(r, u);
|
|
6364
|
-
for (let
|
|
6365
|
-
$[
|
|
6364
|
+
for (let U = 0; U < $.length; U += 1)
|
|
6365
|
+
$[U] && $[U].m(u, null);
|
|
6366
6366
|
s(r, c), s(r, f), s(r, p), s(r, h);
|
|
6367
|
-
for (let
|
|
6368
|
-
xe[
|
|
6367
|
+
for (let U = 0; U < xe.length; U += 1)
|
|
6368
|
+
xe[U] && xe[U].m(h, null);
|
|
6369
6369
|
s(r, y), s(r, P), s(r, C), s(r, E);
|
|
6370
|
-
for (let
|
|
6371
|
-
Ee[
|
|
6370
|
+
for (let U = 0; U < Ee.length; U += 1)
|
|
6371
|
+
Ee[U] && Ee[U].m(E, null);
|
|
6372
6372
|
s(r, A), s(r, D), I(S, T, Ie), I(S, M, Ie), b && b.m(M, null), e[51](M);
|
|
6373
6373
|
},
|
|
6374
6374
|
p(S, Ie) {
|
|
@@ -6406,9 +6406,9 @@ function ru(e, t, r) {
|
|
|
6406
6406
|
securityQuestion: "i.e.: Pet name?",
|
|
6407
6407
|
title: "",
|
|
6408
6408
|
username: "Username"
|
|
6409
|
-
}, b = {}, S = {}, Ie = ["Marketing", "Casino", "Sports", "Bingo", "VirtualSports"],
|
|
6409
|
+
}, b = {}, S = {}, Ie = ["Marketing", "Casino", "Sports", "Bingo", "VirtualSports"], U = ["Casino", "Sports", "Bingo", "VirtualSports"];
|
|
6410
6410
|
let J = !0, Je = !1, Te = !1, st = !1, Q = !0, Ve = !0, Qe = !0, lt = !0, Ye = !0, je = !0, Ke = !0, K = !0, Re = !0, et = !1;
|
|
6411
|
-
const
|
|
6411
|
+
const ht = {
|
|
6412
6412
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
6413
6413
|
};
|
|
6414
6414
|
window.matchMedia("(min-width: 768px)");
|
|
@@ -6420,7 +6420,7 @@ function ru(e, t, r) {
|
|
|
6420
6420
|
}
|
|
6421
6421
|
}, Oe = async (v) => {
|
|
6422
6422
|
try {
|
|
6423
|
-
const g = new URL(`${a}${v}`),
|
|
6423
|
+
const g = new URL(`${a}${v}`), F = { method: "GET", headers: new Headers({ "X-SessionID": o }) }, Ae = await fetch(g.href, F);
|
|
6424
6424
|
if (!Ae.ok)
|
|
6425
6425
|
throw new Error(`HTTP error! Status: ${Ae.status}`);
|
|
6426
6426
|
return await Ae.json();
|
|
@@ -6434,21 +6434,21 @@ function ru(e, t, r) {
|
|
|
6434
6434
|
async function Y() {
|
|
6435
6435
|
r(38, T = (await Oe(`/v1/player/${i}/consent`)).items);
|
|
6436
6436
|
}
|
|
6437
|
-
async function
|
|
6437
|
+
async function dt() {
|
|
6438
6438
|
r(39, M = (await Oe("/v1/player/consentRequirements")).items);
|
|
6439
6439
|
}
|
|
6440
|
-
async function
|
|
6440
|
+
async function mt() {
|
|
6441
6441
|
r(36, D = (await Oe("/v1/player/countries")).countries);
|
|
6442
6442
|
}
|
|
6443
6443
|
const fr = () => {
|
|
6444
6444
|
Object.keys(k).forEach((g) => {
|
|
6445
6445
|
switch (r(4, b[g] = {}, b), g) {
|
|
6446
6446
|
case "birth":
|
|
6447
|
-
const N = k[g]?.day || "",
|
|
6448
|
-
r(4, b[g].value = `${N}/${
|
|
6447
|
+
const N = k[g]?.day || "", F = k[g]?.month || "", Ae = k[g]?.year || "";
|
|
6448
|
+
r(4, b[g].value = `${N}/${F}/${Ae}`, b);
|
|
6449
6449
|
break;
|
|
6450
6450
|
case "country":
|
|
6451
|
-
r(4, b[g].countryName = D.find((
|
|
6451
|
+
r(4, b[g].countryName = D.find((L) => L.Alpha2Code === k.country)?.Name || "I.E. Ireland", b), r(4, b[g].countryCode = k.country || "", b);
|
|
6452
6452
|
break;
|
|
6453
6453
|
case "mobile":
|
|
6454
6454
|
r(4, b[g].prefix = k.mobile?.prefix, b), r(4, b[g].number = k.mobile?.number, b);
|
|
@@ -6459,7 +6459,7 @@ function ru(e, t, r) {
|
|
|
6459
6459
|
r(4, b[g].readOnly = W.includes(g), b);
|
|
6460
6460
|
}), r(4, b.consents = {}, b), M.forEach((g) => {
|
|
6461
6461
|
if (Ie.includes(g.category) && !g.mustAccept) {
|
|
6462
|
-
const N = T.find((
|
|
6462
|
+
const N = T.find((F) => F.tagCode === g.tagCode);
|
|
6463
6463
|
r(4, b.consents[g.category] = b.consents[g.category] || [], b), N ? b.consents[g.category].push({
|
|
6464
6464
|
tagCode: N.tagCode,
|
|
6465
6465
|
status: N.status === "Accepted"
|
|
@@ -6468,16 +6468,16 @@ function ru(e, t, r) {
|
|
|
6468
6468
|
});
|
|
6469
6469
|
const v = b.consents;
|
|
6470
6470
|
for (const [g, N] of Object.entries(v))
|
|
6471
|
-
S[g] || (r(5, S[g] = {}, S), r(5, S[g].parent = null, S), N.forEach((
|
|
6471
|
+
S[g] || (r(5, S[g] = {}, S), r(5, S[g].parent = null, S), N.forEach((F) => r(5, S[g][F.tagCode] = null, S)));
|
|
6472
6472
|
Se = We(b), $ = We(b.consents), r(6, J = !1);
|
|
6473
|
-
},
|
|
6473
|
+
}, bt = (v) => v.split(","), pr = () => {
|
|
6474
6474
|
const v = new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);
|
|
6475
6475
|
fetch(v.href).then((g) => g.json()).then((g) => r(3, A = g.phoneCodes)).catch((g) => console.log("Failed to fetch phone codes:", g));
|
|
6476
6476
|
}, Be = () => {
|
|
6477
6477
|
r(9, Q = !1), je && Ke && Ve && lt && Ye && Qe && K && Re && r(9, Q = !0);
|
|
6478
6478
|
}, tt = () => {
|
|
6479
6479
|
r(8, Te = We(b) !== Se);
|
|
6480
|
-
},
|
|
6480
|
+
}, vt = () => {
|
|
6481
6481
|
st = We(b.consents) !== $;
|
|
6482
6482
|
}, rt = (v) => () => {
|
|
6483
6483
|
switch (v) {
|
|
@@ -6503,7 +6503,7 @@ function ru(e, t, r) {
|
|
|
6503
6503
|
if (r(14, je = !1), b.securityQuestion.value)
|
|
6504
6504
|
switch (y) {
|
|
6505
6505
|
case "true":
|
|
6506
|
-
|
|
6506
|
+
ht.document.test(b.securityQuestion.value) && b.securityQuestion.value.length <= 50 && r(14, je = !0);
|
|
6507
6507
|
break;
|
|
6508
6508
|
case "false":
|
|
6509
6509
|
b.securityQuestion.value && b.securityQuestion.value.length <= 120 && r(14, je = !0);
|
|
@@ -6514,7 +6514,7 @@ function ru(e, t, r) {
|
|
|
6514
6514
|
if (r(15, Ke = !1), b.securityAnswer.value)
|
|
6515
6515
|
switch (y) {
|
|
6516
6516
|
case "true":
|
|
6517
|
-
|
|
6517
|
+
ht.document.test(b.securityAnswer.value) && b.securityAnswer.value.length <= 50 && r(15, Ke = !0);
|
|
6518
6518
|
break;
|
|
6519
6519
|
case "false":
|
|
6520
6520
|
b.securityAnswer.value && b.securityAnswer.value.length <= 120 && r(15, Ke = !0);
|
|
@@ -6522,7 +6522,7 @@ function ru(e, t, r) {
|
|
|
6522
6522
|
}
|
|
6523
6523
|
break;
|
|
6524
6524
|
case "consents":
|
|
6525
|
-
|
|
6525
|
+
vt();
|
|
6526
6526
|
break;
|
|
6527
6527
|
}
|
|
6528
6528
|
tt(), Be();
|
|
@@ -6567,57 +6567,57 @@ function ru(e, t, r) {
|
|
|
6567
6567
|
const v = new URL(`${a}/v1/player/${i}/profile`), g = new Headers();
|
|
6568
6568
|
g.append("X-SessionID", o), g.append("Content-Type", "application/json"), g.append("Accept", "application/json");
|
|
6569
6569
|
const N = Object.entries(b).reduce(
|
|
6570
|
-
(
|
|
6570
|
+
(L, [j, At]) => {
|
|
6571
6571
|
const He = At;
|
|
6572
6572
|
if (!He.readOnly)
|
|
6573
|
-
if (
|
|
6574
|
-
|
|
6575
|
-
else if (
|
|
6576
|
-
|
|
6577
|
-
else if (
|
|
6578
|
-
|
|
6579
|
-
else if (
|
|
6573
|
+
if (j === "mobile" || j === "phone")
|
|
6574
|
+
L[j] = { prefix: He.prefix, number: He.number };
|
|
6575
|
+
else if (j === "consents")
|
|
6576
|
+
L[j] = He;
|
|
6577
|
+
else if (j === "country")
|
|
6578
|
+
L[j] = He.countryCode;
|
|
6579
|
+
else if (j === "birth" && typeof He.value == "string") {
|
|
6580
6580
|
const wt = He.value.split("/");
|
|
6581
|
-
|
|
6581
|
+
L[j] = {
|
|
6582
6582
|
year: wt[2],
|
|
6583
6583
|
month: wt[1],
|
|
6584
6584
|
day: wt[0]
|
|
6585
6585
|
};
|
|
6586
6586
|
} else
|
|
6587
|
-
|
|
6588
|
-
return
|
|
6587
|
+
L[j] = He.value ?? null;
|
|
6588
|
+
return L;
|
|
6589
6589
|
},
|
|
6590
6590
|
{}
|
|
6591
|
-
),
|
|
6592
|
-
if (
|
|
6591
|
+
), F = We(N);
|
|
6592
|
+
if (F === null)
|
|
6593
6593
|
return !1;
|
|
6594
|
-
const Ae = { method: "POST", headers: g, body:
|
|
6594
|
+
const Ae = { method: "POST", headers: g, body: F };
|
|
6595
6595
|
try {
|
|
6596
|
-
const
|
|
6597
|
-
if (
|
|
6596
|
+
const L = await fetch(v.href, Ae);
|
|
6597
|
+
if (L.status === 200)
|
|
6598
6598
|
return !0;
|
|
6599
|
-
const
|
|
6600
|
-
return
|
|
6601
|
-
} catch (
|
|
6602
|
-
return console.error(
|
|
6599
|
+
const j = await L.json();
|
|
6600
|
+
return ct(j), !1;
|
|
6601
|
+
} catch (L) {
|
|
6602
|
+
return console.error(L), ct(L), !1;
|
|
6603
6603
|
}
|
|
6604
|
-
},
|
|
6604
|
+
}, ct = (v) => {
|
|
6605
6605
|
const g = v.thirdPartyResponse?.message;
|
|
6606
6606
|
g && g.includes("Mandatory input parameter is missing: mobilePrefix") ? (V = n("userPrefixError"), rt("mobilePrefix")()) : V = n("userProfileUpdateError");
|
|
6607
6607
|
}, yt = async () => {
|
|
6608
6608
|
const v = [], g = b.consents;
|
|
6609
|
-
for (let
|
|
6609
|
+
for (let j of Object.values(g).flat())
|
|
6610
6610
|
v.push({
|
|
6611
|
-
tagCode:
|
|
6612
|
-
status:
|
|
6611
|
+
tagCode: j.tagCode,
|
|
6612
|
+
status: j.status ? "Accepted" : "Denied"
|
|
6613
6613
|
});
|
|
6614
|
-
const N = new URL(`${a}/v1/player/${i}/consent`),
|
|
6615
|
-
|
|
6614
|
+
const N = new URL(`${a}/v1/player/${i}/consent`), F = new Headers();
|
|
6615
|
+
F.append("X-SessionID", o), F.append("Content-Type", "application/json"), F.append("Accept", "application/json");
|
|
6616
6616
|
const Ae = We({ items: v });
|
|
6617
6617
|
if (Ae === null)
|
|
6618
6618
|
return !1;
|
|
6619
|
-
const
|
|
6620
|
-
return await fetch(N.href,
|
|
6619
|
+
const L = { method: "POST", headers: F, body: Ae };
|
|
6620
|
+
return await fetch(N.href, L).then((j) => j.status == 200, (j) => (console.error(j), !1));
|
|
6621
6621
|
}, dr = () => {
|
|
6622
6622
|
window.postMessage(
|
|
6623
6623
|
{
|
|
@@ -6642,8 +6642,8 @@ function ru(e, t, r) {
|
|
|
6642
6642
|
});
|
|
6643
6643
|
const nt = (v) => (g) => {
|
|
6644
6644
|
b.consents[v].forEach((N) => {
|
|
6645
|
-
N.status = g.target.checked, Object.values(S[v]).forEach((
|
|
6646
|
-
|
|
6645
|
+
N.status = g.target.checked, Object.values(S[v]).forEach((F) => {
|
|
6646
|
+
F && (F.checked = N.status);
|
|
6647
6647
|
});
|
|
6648
6648
|
}), rt("consents")();
|
|
6649
6649
|
}, Ct = (v) => (g) => {
|
|
@@ -6663,7 +6663,7 @@ function ru(e, t, r) {
|
|
|
6663
6663
|
function _t() {
|
|
6664
6664
|
b.securityAnswer.value = this.value, r(4, b), r(3, A);
|
|
6665
6665
|
}
|
|
6666
|
-
function
|
|
6666
|
+
function ft() {
|
|
6667
6667
|
b.city.value = this.value, r(4, b), r(3, A);
|
|
6668
6668
|
}
|
|
6669
6669
|
function St() {
|
|
@@ -6697,11 +6697,11 @@ function ru(e, t, r) {
|
|
|
6697
6697
|
"userid" in v && r(27, i = v.userid), "sessionid" in v && r(28, o = v.sessionid), "endpoint" in v && r(29, a = v.endpoint), "lang" in v && r(30, u = v.lang), "clientstyling" in v && r(31, c = v.clientstyling), "clientstylingurl" in v && r(32, f = v.clientstylingurl), "mbsource" in v && r(33, p = v.mbsource), "translationurl" in v && r(34, h = v.translationurl), "custominputtextswitch" in v && r(0, y = v.custominputtextswitch), "showlocationdetailsdescription" in v && r(1, P = v.showlocationdetailsdescription), "disabledfields" in v && r(35, C = v.disabledfields);
|
|
6698
6698
|
}, e.$$.update = () => {
|
|
6699
6699
|
e.$$.dirty[0] & /*endpoint, userid, sessionid*/
|
|
6700
|
-
939524096 && a && i && o && cr() && Y() &&
|
|
6701
|
-
536870912 && a &&
|
|
6700
|
+
939524096 && a && i && o && cr() && Y() && dt(), e.$$.dirty[0] & /*endpoint*/
|
|
6701
|
+
536870912 && a && mt() && pr(), e.$$.dirty[1] & /*profileInfo, profileConsents, profileConsentRequirements, countriesArray*/
|
|
6702
6702
|
480 && Xe(k) && Xe(T) && Xe(M) && Xe(D) && fr(), e.$$.dirty[0] & /*lang*/
|
|
6703
6703
|
1073741824 && u && gt(), e.$$.dirty[1] & /*disabledfields*/
|
|
6704
|
-
16 && C && (W =
|
|
6704
|
+
16 && C && (W = bt(C)), e.$$.dirty[0] & /*customStylingContainer*/
|
|
6705
6705
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
6706
6706
|
1 && c && E && xl(E, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
6707
6707
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
@@ -6731,7 +6731,7 @@ function ru(e, t, r) {
|
|
|
6731
6731
|
et,
|
|
6732
6732
|
n,
|
|
6733
6733
|
Ee,
|
|
6734
|
-
|
|
6734
|
+
U,
|
|
6735
6735
|
rt,
|
|
6736
6736
|
hr,
|
|
6737
6737
|
dr,
|
|
@@ -6754,7 +6754,7 @@ function ru(e, t, r) {
|
|
|
6754
6754
|
br,
|
|
6755
6755
|
Pe,
|
|
6756
6756
|
_t,
|
|
6757
|
-
|
|
6757
|
+
ft,
|
|
6758
6758
|
St,
|
|
6759
6759
|
vr,
|
|
6760
6760
|
it,
|