@everymatrix/player-profile-info-cu 1.85.17 → 1.85.18
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/{PlayerProfileInfoCu-DQqlLigh.js → PlayerProfileInfoCu-9DMfc2Fu.js} +96 -93
- package/components/{PlayerProfileInfoCu-BhM5cGsn.cjs → PlayerProfileInfoCu-CAWCklGm.cjs} +4 -4
- package/components/{PlayerProfileInfoCu-rPvVJMel.js → PlayerProfileInfoCu-DliW_CKN.js} +97 -94
- package/es2015/player-profile-info-cu.cjs +1 -1
- package/es2015/player-profile-info-cu.js +1 -1
- package/esnext/player-profile-info-cu.js +1 -1
- package/package.json +1 -1
|
@@ -170,7 +170,7 @@ let Pn = !1;
|
|
|
170
170
|
function ss() {
|
|
171
171
|
Pn || (Pn = !0, as.then(Ce));
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Fi(e) {
|
|
174
174
|
xt.push(e);
|
|
175
175
|
}
|
|
176
176
|
const dn = /* @__PURE__ */ new Set();
|
|
@@ -204,7 +204,7 @@ function ls(e) {
|
|
|
204
204
|
if (e.fragment !== null) {
|
|
205
205
|
e.update(), nt(e.before_update);
|
|
206
206
|
const t = e.dirty;
|
|
207
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
207
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fi);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
function us(e) {
|
|
@@ -215,15 +215,15 @@ const cs = /* @__PURE__ */ new Set();
|
|
|
215
215
|
function fs(e, t) {
|
|
216
216
|
e && e.i && (cs.delete(e), e.i(t));
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Ui(e) {
|
|
219
219
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
220
220
|
}
|
|
221
221
|
function ps(e, t, r) {
|
|
222
222
|
const { fragment: i, after_update: n } = e.$$;
|
|
223
|
-
i && i.m(t, r),
|
|
223
|
+
i && i.m(t, r), Fi(() => {
|
|
224
224
|
const o = e.$$.on_mount.map(ca).filter(Vi);
|
|
225
225
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : nt(o), e.$$.on_mount = [];
|
|
226
|
-
}), n.forEach(
|
|
226
|
+
}), n.forEach(Fi);
|
|
227
227
|
}
|
|
228
228
|
function hs(e, t) {
|
|
229
229
|
const r = e.$$;
|
|
@@ -508,6 +508,8 @@ function gs(e, t) {
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
function _s(e, t) {
|
|
511
|
+
if (!e || !t)
|
|
512
|
+
return;
|
|
511
513
|
const r = new URL(t);
|
|
512
514
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
513
515
|
const n = document.createElement("style");
|
|
@@ -710,11 +712,11 @@ function bn(e, t) {
|
|
|
710
712
|
serializer: i
|
|
711
713
|
});
|
|
712
714
|
}
|
|
713
|
-
function
|
|
715
|
+
function Fs(e) {
|
|
714
716
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
715
717
|
}
|
|
716
|
-
function
|
|
717
|
-
var n =
|
|
718
|
+
function Us(e, t, r, i) {
|
|
719
|
+
var n = Fs(i) ? i : r(i), o = t.get(n);
|
|
718
720
|
return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
|
|
719
721
|
}
|
|
720
722
|
function ma(e, t, r) {
|
|
@@ -725,7 +727,7 @@ function ba(e, t, r, i, n) {
|
|
|
725
727
|
return r.bind(t, e, i, n);
|
|
726
728
|
}
|
|
727
729
|
function zs(e, t) {
|
|
728
|
-
var r = e.length === 1 ?
|
|
730
|
+
var r = e.length === 1 ? Us : ma;
|
|
729
731
|
return ba(e, this, r, t.cache.create(), t.serializer);
|
|
730
732
|
}
|
|
731
733
|
function Gs(e, t) {
|
|
@@ -2922,11 +2924,11 @@ var vl = (
|
|
|
2922
2924
|
case "plural":
|
|
2923
2925
|
case "selectordinal":
|
|
2924
2926
|
case "select": {
|
|
2925
|
-
var
|
|
2927
|
+
var F = this.clonePosition();
|
|
2926
2928
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2927
|
-
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A(
|
|
2929
|
+
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, A(F, zi({}, F)));
|
|
2928
2930
|
this.bumpSpace();
|
|
2929
|
-
var I = this.parseIdentifierIfPossible(),
|
|
2931
|
+
var I = this.parseIdentifierIfPossible(), U = 0;
|
|
2930
2932
|
if (u !== "select" && I.value === "offset") {
|
|
2931
2933
|
if (!this.bumpIf(":"))
|
|
2932
2934
|
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
@@ -2934,7 +2936,7 @@ var vl = (
|
|
|
2934
2936
|
var b = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2935
2937
|
if (b.err)
|
|
2936
2938
|
return b;
|
|
2937
|
-
this.bumpSpace(), I = this.parseIdentifierIfPossible(),
|
|
2939
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), U = b.val;
|
|
2938
2940
|
}
|
|
2939
2941
|
var O = this.tryParsePluralOrSelectOptions(t, u, r, I);
|
|
2940
2942
|
if (O.err)
|
|
@@ -2956,7 +2958,7 @@ var vl = (
|
|
|
2956
2958
|
type: k.plural,
|
|
2957
2959
|
value: i,
|
|
2958
2960
|
options: ko(O.val),
|
|
2959
|
-
offset:
|
|
2961
|
+
offset: U,
|
|
2960
2962
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2961
2963
|
location: T
|
|
2962
2964
|
},
|
|
@@ -3281,36 +3283,36 @@ function Li(e, t, r, i, n, o, a) {
|
|
|
3281
3283
|
var g = p.children, _ = p.value, H = n[_];
|
|
3282
3284
|
if (!Al(H))
|
|
3283
3285
|
throw new El(_, "function", a);
|
|
3284
|
-
var B = Li(g, t, r, i, n, o), R = H(B.map(function(
|
|
3285
|
-
return
|
|
3286
|
+
var B = Li(g, t, r, i, n, o), R = H(B.map(function(U) {
|
|
3287
|
+
return U.value;
|
|
3286
3288
|
}));
|
|
3287
|
-
Array.isArray(R) || (R = [R]), u.push.apply(u, R.map(function(
|
|
3289
|
+
Array.isArray(R) || (R = [R]), u.push.apply(u, R.map(function(U) {
|
|
3288
3290
|
return {
|
|
3289
|
-
type: typeof
|
|
3290
|
-
value:
|
|
3291
|
+
type: typeof U == "string" ? ee.literal : ee.object,
|
|
3292
|
+
value: U
|
|
3291
3293
|
};
|
|
3292
3294
|
}));
|
|
3293
3295
|
}
|
|
3294
3296
|
if (_a(p)) {
|
|
3295
|
-
var
|
|
3296
|
-
if (!
|
|
3297
|
+
var F = p.options[y] || p.options.other;
|
|
3298
|
+
if (!F)
|
|
3297
3299
|
throw new No(p.value, y, Object.keys(p.options), a);
|
|
3298
|
-
u.push.apply(u, Li(
|
|
3300
|
+
u.push.apply(u, Li(F.value, t, r, i, n));
|
|
3299
3301
|
continue;
|
|
3300
3302
|
}
|
|
3301
3303
|
if (Ca(p)) {
|
|
3302
|
-
var
|
|
3303
|
-
if (!
|
|
3304
|
+
var F = p.options["=".concat(y)];
|
|
3305
|
+
if (!F) {
|
|
3304
3306
|
if (!Intl.PluralRules)
|
|
3305
3307
|
throw new Xi(`Intl.PluralRules is not available in this environment.
|
|
3306
3308
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3307
3309
|
`, Ht.MISSING_INTL_API, a);
|
|
3308
3310
|
var I = r.getPluralRules(t, { type: p.pluralType }).select(y - (p.offset || 0));
|
|
3309
|
-
|
|
3311
|
+
F = p.options[I] || p.options.other;
|
|
3310
3312
|
}
|
|
3311
|
-
if (!
|
|
3313
|
+
if (!F)
|
|
3312
3314
|
throw new No(p.value, y, Object.keys(p.options), a);
|
|
3313
|
-
u.push.apply(u, Li(
|
|
3315
|
+
u.push.apply(u, Li(F.value, t, r, i, n, y - (p.offset || 0)));
|
|
3314
3316
|
continue;
|
|
3315
3317
|
}
|
|
3316
3318
|
}
|
|
@@ -3517,13 +3519,13 @@ const et = {}, Tl = (e, t, r) => r && (t in et || (et[t] = {}), e in et[t] || (e
|
|
|
3517
3519
|
return Tl(e, t, o);
|
|
3518
3520
|
}
|
|
3519
3521
|
};
|
|
3520
|
-
let
|
|
3522
|
+
let Fn;
|
|
3521
3523
|
const xr = Qi({});
|
|
3522
3524
|
function kl(e) {
|
|
3523
|
-
return
|
|
3525
|
+
return Fn[e] || null;
|
|
3524
3526
|
}
|
|
3525
3527
|
function Ta(e) {
|
|
3526
|
-
return e in
|
|
3528
|
+
return e in Fn;
|
|
3527
3529
|
}
|
|
3528
3530
|
function Ml(e, t) {
|
|
3529
3531
|
if (!Ta(e))
|
|
@@ -3548,7 +3550,7 @@ Tt(
|
|
|
3548
3550
|
[xr],
|
|
3549
3551
|
([e]) => Object.keys(e)
|
|
3550
3552
|
);
|
|
3551
|
-
xr.subscribe((e) =>
|
|
3553
|
+
xr.subscribe((e) => Fn = e);
|
|
3552
3554
|
const Ri = {};
|
|
3553
3555
|
function Dl(e, t) {
|
|
3554
3556
|
Ri[e].delete(t), Ri[e].size === 0 && delete Ri[e];
|
|
@@ -3619,16 +3621,16 @@ const jl = {
|
|
|
3619
3621
|
timeZoneName: "short"
|
|
3620
3622
|
}
|
|
3621
3623
|
}
|
|
3622
|
-
},
|
|
3624
|
+
}, Fl = {
|
|
3623
3625
|
fallbackLocale: null,
|
|
3624
3626
|
loadingDelay: 200,
|
|
3625
3627
|
formats: jl,
|
|
3626
3628
|
warnOnMissingMessages: !0,
|
|
3627
3629
|
handleMissingMessage: void 0,
|
|
3628
3630
|
ignoreTag: !0
|
|
3629
|
-
},
|
|
3631
|
+
}, Ul = Fl;
|
|
3630
3632
|
function It() {
|
|
3631
|
-
return
|
|
3633
|
+
return Ul;
|
|
3632
3634
|
}
|
|
3633
3635
|
const _n = Qi(!1);
|
|
3634
3636
|
var zl = Object.defineProperty, Gl = Object.defineProperties, $l = Object.getOwnPropertyDescriptors, Do = Object.getOwnPropertySymbols, Vl = Object.prototype.hasOwnProperty, Ql = Object.prototype.propertyIsEnumerable, Lo = (e, t, r) => t in e ? zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wl = (e, t) => {
|
|
@@ -3677,7 +3679,7 @@ const ql = (e) => {
|
|
|
3677
3679
|
return n in t ? t[n] : t[n] = e(i);
|
|
3678
3680
|
};
|
|
3679
3681
|
};
|
|
3680
|
-
var Zl = Object.defineProperty, $i = Object.getOwnPropertySymbols, Da = Object.prototype.hasOwnProperty, La = Object.prototype.propertyIsEnumerable, jo = (e, t, r) => t in e ? Zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
3682
|
+
var Zl = Object.defineProperty, $i = Object.getOwnPropertySymbols, Da = Object.prototype.hasOwnProperty, La = Object.prototype.propertyIsEnumerable, jo = (e, t, r) => t in e ? Zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
|
|
3681
3683
|
for (var r in t || (t = {}))
|
|
3682
3684
|
Da.call(t, r) && jo(e, r, t[r]);
|
|
3683
3685
|
if ($i)
|
|
@@ -3727,21 +3729,21 @@ const Ar = (e, t) => {
|
|
|
3727
3729
|
} = t, i = Mt(t, [
|
|
3728
3730
|
"locale"
|
|
3729
3731
|
]);
|
|
3730
|
-
return Jl(
|
|
3732
|
+
return Jl(Un({ locale: r }, i));
|
|
3731
3733
|
}, tu = (e = {}) => {
|
|
3732
3734
|
var t = e, {
|
|
3733
3735
|
locale: r = ot()
|
|
3734
3736
|
} = t, i = Mt(t, [
|
|
3735
3737
|
"locale"
|
|
3736
3738
|
]);
|
|
3737
|
-
return Yl(
|
|
3739
|
+
return Yl(Un({ locale: r }, i));
|
|
3738
3740
|
}, ru = (e = {}) => {
|
|
3739
3741
|
var t = e, {
|
|
3740
3742
|
locale: r = ot()
|
|
3741
3743
|
} = t, i = Mt(t, [
|
|
3742
3744
|
"locale"
|
|
3743
3745
|
]);
|
|
3744
|
-
return Kl(
|
|
3746
|
+
return Kl(Un({ locale: r }, i));
|
|
3745
3747
|
}, iu = Zi(
|
|
3746
3748
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3747
3749
|
(e, t = ot()) => new Hl(e, t, It().formats, {
|
|
@@ -3784,13 +3786,13 @@ Tt([kt], () => ou);
|
|
|
3784
3786
|
Tt([kt], () => au);
|
|
3785
3787
|
Tt([kt], () => su);
|
|
3786
3788
|
Tt([kt, xr], () => lu);
|
|
3787
|
-
function
|
|
3789
|
+
function Fo(e, t) {
|
|
3788
3790
|
ka(e, t);
|
|
3789
3791
|
}
|
|
3790
3792
|
function cu(e) {
|
|
3791
3793
|
kt.set(e);
|
|
3792
3794
|
}
|
|
3793
|
-
const
|
|
3795
|
+
const Uo = {
|
|
3794
3796
|
en: {
|
|
3795
3797
|
titleProfileInfo: "Profile Info",
|
|
3796
3798
|
personalDetails: "Personal Details",
|
|
@@ -4640,7 +4642,7 @@ var Ji = function() {
|
|
|
4640
4642
|
return t.closed = !0, t;
|
|
4641
4643
|
}(), e;
|
|
4642
4644
|
}(), ja = Ji.EMPTY;
|
|
4643
|
-
function
|
|
4645
|
+
function Fa(e) {
|
|
4644
4646
|
return e instanceof Ji || e && "closed" in e && Qe(e.remove) && Qe(e.add) && Qe(e.unsubscribe);
|
|
4645
4647
|
}
|
|
4646
4648
|
function zo(e) {
|
|
@@ -4669,11 +4671,11 @@ function Go() {
|
|
|
4669
4671
|
function ji(e) {
|
|
4670
4672
|
e();
|
|
4671
4673
|
}
|
|
4672
|
-
var
|
|
4674
|
+
var Ua = function(e) {
|
|
4673
4675
|
Br(t, e);
|
|
4674
4676
|
function t(r) {
|
|
4675
4677
|
var i = e.call(this) || this;
|
|
4676
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
4678
|
+
return i.isStopped = !1, r ? (i.destination = r, Fa(r) && r.add(i)) : i.destination = bu, i;
|
|
4677
4679
|
}
|
|
4678
4680
|
return t.create = function(r, i, n) {
|
|
4679
4681
|
return new jn(r, i, n);
|
|
@@ -4742,7 +4744,7 @@ var Fa = function(e) {
|
|
|
4742
4744
|
} : a = r, o.destination = new du(a), o;
|
|
4743
4745
|
}
|
|
4744
4746
|
return t;
|
|
4745
|
-
}(
|
|
4747
|
+
}(Ua);
|
|
4746
4748
|
function Ni(e) {
|
|
4747
4749
|
hu(e);
|
|
4748
4750
|
}
|
|
@@ -4835,7 +4837,7 @@ function _u(e) {
|
|
|
4835
4837
|
return e && Qe(e.next) && Qe(e.error) && Qe(e.complete);
|
|
4836
4838
|
}
|
|
4837
4839
|
function Cu(e) {
|
|
4838
|
-
return e && e instanceof
|
|
4840
|
+
return e && e instanceof Ua || _u(e) && Fa(e);
|
|
4839
4841
|
}
|
|
4840
4842
|
var Su = Ra(function(e) {
|
|
4841
4843
|
return function() {
|
|
@@ -4978,6 +4980,7 @@ const Wo = [], Xo = {}, Pu = (e, t = 0) => {
|
|
|
4978
4980
|
};
|
|
4979
4981
|
window.emWidgets = { topic: Pu };
|
|
4980
4982
|
const wu = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4983
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4981
4984
|
function Au(e) {
|
|
4982
4985
|
Ja(e, "svelte-1v8yh7z", `*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586b);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:10px;line-height:16px;background:var(--emw--color-white, #ffffff);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px)}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox.InvalidField input,.PlayerInfoBox.InvalidPrefix select{border:1px solid var(--emw--color-error, var(--emw--color-red, #fd2839));background:var(--emw--color-pale, #fbecf4);color:var(--emw--color-error, var(--emw--color-red, #fd2839))}.PlayerInfoBox .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #fd2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));border:1px solid var(--emw--color-gray-100, #353535);border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #ffffff);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.LocationDetailsDescription{grid-column:span 2}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw--color-gray-100, #e6e6e6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw--color-white, #ffffff);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{display:flex;gap:50px;padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw--color-gray-50, #f9f8f8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw--color-gray-300, #58586b);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw--button-typography, var(--emw--color-white, #ffffff))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586b)}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:var(--emw--color-gray-300, #58586b)}.PlayerDetailsConfirmSave{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}.skeletonContainer{max-width:unset;container-type:inline-size}.skeletonContainer .skeletonWrapper{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonContainer .skeletonWrapper .skeletonHeaderText{width:200px;margin:25px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{width:150px;margin:16px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{display:grid;grid-column-gap:50px;grid-row-gap:23px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:25px;margin-top:15px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer{display:flex;flex-direction:column}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skletonInputText{width:70px;margin:0px 0px 11px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skeletonInputField{border-radius:var(--emw--border-radius-medium, 10px);overflow:hidden}.skeletonContainer .skeletonWrapper .skeletonButton{width:400px;border-radius:var(--emw--button-border-radius, 10px);overflow:hidden;margin-top:10px}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{padding:20px 15px;width:auto;max-width:unset;border-radius:0px}.skeletonContainer .skeletonWrapper .skeletonHeaderText{margin:10px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{margin-top:31px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{grid-template-columns:1fr;margin-top:13px;grid-row-gap:18px}.skeletonContainer .skeletonWrapper .skeletonButton{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
4983
4986
|
}
|
|
@@ -5033,7 +5036,7 @@ function Zo(e) {
|
|
|
5033
5036
|
), y, S, g, _, H, B = (
|
|
5034
5037
|
/*$_*/
|
|
5035
5038
|
e[18]("userName") + ""
|
|
5036
|
-
), R,
|
|
5039
|
+
), R, F, I, U, O, T, d, M, W, Ge = (
|
|
5037
5040
|
/*$_*/
|
|
5038
5041
|
e[18]("userPhone") + ""
|
|
5039
5042
|
), We, tt, Be, G, $e, Me, Xe, z, qe, Ze, Nt, rt, Je, Or, Ee, Ye, at = (
|
|
@@ -5060,16 +5063,16 @@ function Zo(e) {
|
|
|
5060
5063
|
), V, Z, J, te, Ne, De, zn, dt, Lr, Rr = (
|
|
5061
5064
|
/*$_*/
|
|
5062
5065
|
e[18]("dateOfBirth") + ""
|
|
5063
|
-
), Yi, Gn, Oe, jr, Rt,
|
|
5066
|
+
), Yi, Gn, Oe, jr, Rt, Fr, $n, mt, Ur, zr = (
|
|
5064
5067
|
/*$_*/
|
|
5065
5068
|
e[18]("firstName") + ""
|
|
5066
5069
|
), Ki, Vn, He, Gr, jt, $r, Qn, bt, Vr, Qr = (
|
|
5067
5070
|
/*$_*/
|
|
5068
5071
|
e[18]("lastName") + ""
|
|
5069
|
-
), en, Wn, Ie, Wr,
|
|
5072
|
+
), en, Wn, Ie, Wr, Ft, Xr, Xn, yt, qr, Zr = (
|
|
5070
5073
|
/*$_*/
|
|
5071
5074
|
e[18]("userTitle") + ""
|
|
5072
|
-
), tn, qn, Te, Jr,
|
|
5075
|
+
), tn, qn, Te, Jr, Ut, Yr, Zn, vt, Kr, ei = (
|
|
5073
5076
|
/*$_*/
|
|
5074
5077
|
e[18]("currency") + ""
|
|
5075
5078
|
), rn, Jn, ke, ti, zt, ri, Yn, Kn, ii, nn, ni = (
|
|
@@ -5087,7 +5090,7 @@ function Zo(e) {
|
|
|
5087
5090
|
), ln, ao, ie, yi, vi, so, gi, lo, je, _i, Ci = (
|
|
5088
5091
|
/*$_*/
|
|
5089
5092
|
e[18]("userAddress2") + ""
|
|
5090
|
-
), un, uo, ne, Si, Ei, co, Pi, fo,
|
|
5093
|
+
), un, uo, ne, Si, Ei, co, Pi, fo, Fe, wi, Ai = (
|
|
5091
5094
|
/*$_*/
|
|
5092
5095
|
e[18]("userPostalCode") + ""
|
|
5093
5096
|
), cn, po, oe, xi, Bi, ho, Oi, mo, bo, $t, _t, Hi = (
|
|
@@ -5096,7 +5099,7 @@ function Zo(e) {
|
|
|
5096
5099
|
), fn, Ii, Ti, yo, ki, pn, vo, ae = (
|
|
5097
5100
|
/*isMobileView*/
|
|
5098
5101
|
e[6] && Jo(e)
|
|
5099
|
-
), Ct =
|
|
5102
|
+
), Ct = Ui(
|
|
5100
5103
|
/*prefixesArray*/
|
|
5101
5104
|
e[3]
|
|
5102
5105
|
), K = [];
|
|
@@ -5122,18 +5125,18 @@ function Zo(e) {
|
|
|
5122
5125
|
);
|
|
5123
5126
|
return {
|
|
5124
5127
|
c() {
|
|
5125
|
-
var ve, h,
|
|
5126
|
-
t = m("form"), r = m("div"), ae && ae.c(), i = C(), n = m("h2"), a = E(o), f = C(), c = m("div"), p = m("h3"), y = E(b), S = C(), g = m("section"), _ = m("div"), H = m("label"), R = E(B),
|
|
5128
|
+
var ve, h, Ue, Vt, Qt, Wt, Xt, qt, Zt, Jt, Yt, Kt, er, tr, rr, ir, nr, or, ar, sr, lr, ur, cr, fr, pr, hr, dr, mr, br, yr, vr, gr, _r, Cr;
|
|
5129
|
+
t = m("form"), r = m("div"), ae && ae.c(), i = C(), n = m("h2"), a = E(o), f = C(), c = m("div"), p = m("h3"), y = E(b), S = C(), g = m("section"), _ = m("div"), H = m("label"), R = E(B), F = C(), I = m("input"), d = C(), M = m("div"), W = m("label"), We = E(Ge), tt = C(), Be = m("div"), G = m("select");
|
|
5127
5130
|
for (let St = 0; St < K.length; St += 1)
|
|
5128
5131
|
K[St].c();
|
|
5129
|
-
Xe = C(), z = m("input"), Nt = C(), se && se.c(), rt = C(), le && le.c(), Or = C(), Ee = m("div"), Ye = m("label"), Dt = E(at), Hr = E(":"), it = m("span"), it.textContent = "*", Ir = C(), X = m("input"), Tr = C(), ue && ue.c(), kr = C(), Pe = m("div"), Ve = m("label"), Lt = E(ct), Mr = E(":"), ft = m("span"), ft.textContent = "*", Nr = C(), q = m("input"), Dr = C(), ce && ce.c(), w = C(), $ = m("div"), we = m("label"), V = E(ge), Z = C(), J = m("input"), zn = C(), dt = m("div"), Lr = m("label"), Yi = E(Rr), Gn = C(), Oe = m("input"), $n = C(), mt = m("div"),
|
|
5130
|
-
(e[6] ? "MyAccountCategoryTitleNone" : "")), l(c, "class", "PlayerNotificationsHeader"), l(I, "type", "text"), l(I, "class",
|
|
5132
|
+
Xe = C(), z = m("input"), Nt = C(), se && se.c(), rt = C(), le && le.c(), Or = C(), Ee = m("div"), Ye = m("label"), Dt = E(at), Hr = E(":"), it = m("span"), it.textContent = "*", Ir = C(), X = m("input"), Tr = C(), ue && ue.c(), kr = C(), Pe = m("div"), Ve = m("label"), Lt = E(ct), Mr = E(":"), ft = m("span"), ft.textContent = "*", Nr = C(), q = m("input"), Dr = C(), ce && ce.c(), w = C(), $ = m("div"), we = m("label"), V = E(ge), Z = C(), J = m("input"), zn = C(), dt = m("div"), Lr = m("label"), Yi = E(Rr), Gn = C(), Oe = m("input"), $n = C(), mt = m("div"), Ur = m("label"), Ki = E(zr), Vn = C(), He = m("input"), Qn = C(), bt = m("div"), Vr = m("label"), en = E(Qr), Wn = C(), Ie = m("input"), Xn = C(), yt = m("div"), qr = m("label"), tn = E(Zr), qn = C(), Te = m("input"), Zn = C(), vt = m("div"), Kr = m("label"), rn = E(ei), Jn = C(), ke = m("input"), Yn = C(), fe && fe.c(), Kn = C(), ii = m("div"), nn = m("h3"), on = E(ni), eo = C(), Y = m("section"), gt = m("div"), oi = m("label"), an = E(ai), to = C(), _e = m("input"), ro = C(), Le = m("div"), ci = m("label"), sn = E(fi), io = C(), re = m("input"), no = C(), pe && pe.c(), oo = C(), Re = m("div"), mi = m("label"), ln = E(bi), ao = C(), ie = m("input"), so = C(), he && he.c(), lo = C(), je = m("div"), _i = m("label"), un = E(Ci), uo = C(), ne = m("input"), co = C(), de && de.c(), fo = C(), Fe = m("div"), wi = m("label"), cn = E(Ai), po = C(), oe = m("input"), ho = C(), me && me.c(), mo = C(), be && be.c(), bo = C(), $t = m("section"), _t = m("button"), fn = E(Hi), yo = C(), ye && ye.c(), l(n, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5133
|
+
(e[6] ? "MyAccountCategoryTitleNone" : "")), l(c, "class", "PlayerNotificationsHeader"), l(I, "type", "text"), l(I, "class", U = `${/*profileValues*/
|
|
5131
5134
|
(ve = e[4].username) != null && ve.readOnly ? "FieldDisabled" : ""}`), I.value = O = /*profileValues*/
|
|
5132
|
-
(
|
|
5135
|
+
(Ue = (h = e[4].username) == null ? void 0 : h.value) != null ? Ue : "", I.readOnly = T = /*profileValues*/
|
|
5133
5136
|
(Vt = e[4].username) == null ? void 0 : Vt.readOnly, l(_, "class", "PlayerInfoBox"), l(G, "class", $e = `${/*profileValues*/
|
|
5134
5137
|
(Qt = e[4].mobile) != null && Qt.readOnly ? "FieldDisabled" : ""}`), G.disabled = Me = /*profileValues*/
|
|
5135
5138
|
(Wt = e[4].mobile) == null ? void 0 : Wt.readOnly, /*profileValues*/
|
|
5136
|
-
e[4].mobile.prefix === void 0 &&
|
|
5139
|
+
e[4].mobile.prefix === void 0 && Fi(() => (
|
|
5137
5140
|
/*select_change_handler*/
|
|
5138
5141
|
e[34].call(G)
|
|
5139
5142
|
)), l(z, "type", "text"), l(z, "class", qe = `${/*profileValues*/
|
|
@@ -5166,15 +5169,15 @@ function Zo(e) {
|
|
|
5166
5169
|
e[4].email.value, J.readOnly = De = /*profileValues*/
|
|
5167
5170
|
(tr = e[4].email) == null ? void 0 : tr.readOnly, l($, "class", "PlayerInfoBox"), l(Lr, "for", "DateOfBirth"), l(Oe, "id", "DateOfBirth"), l(Oe, "type", "text"), l(Oe, "class", jr = `${/*profileValues*/
|
|
5168
5171
|
(rr = e[4].birth) != null && rr.readOnly ? "FieldDisabled" : ""}`), Oe.value = Rt = /*profileValues*/
|
|
5169
|
-
e[4].birth.value, Oe.readOnly =
|
|
5170
|
-
(ir = e[4].birth) == null ? void 0 : ir.readOnly, l(dt, "class", "PlayerInfoBox"), l(
|
|
5172
|
+
e[4].birth.value, Oe.readOnly = Fr = /*profileValues*/
|
|
5173
|
+
(ir = e[4].birth) == null ? void 0 : ir.readOnly, l(dt, "class", "PlayerInfoBox"), l(Ur, "for", "FirstName"), l(He, "id", "FirstName"), l(He, "type", "text"), l(He, "class", Gr = `${/*profileValues*/
|
|
5171
5174
|
(nr = e[4].firstname) != null && nr.readOnly ? "FieldDisabled" : ""}`), He.value = jt = /*profileValues*/
|
|
5172
5175
|
e[4].firstname.value, He.readOnly = $r = /*profileValues*/
|
|
5173
5176
|
(or = e[4].firstname) == null ? void 0 : or.readOnly, l(mt, "class", "PlayerInfoBox"), l(Vr, "for", "LastName"), l(Ie, "id", "LastName"), l(Ie, "type", "text"), l(Ie, "class", Wr = `${/*profileValues*/
|
|
5174
|
-
(ar = e[4].lastname) != null && ar.readOnly ? "FieldDisabled" : ""}`), Ie.value =
|
|
5177
|
+
(ar = e[4].lastname) != null && ar.readOnly ? "FieldDisabled" : ""}`), Ie.value = Ft = /*profileValues*/
|
|
5175
5178
|
e[4].lastname.value, Ie.readOnly = Xr = /*profileValues*/
|
|
5176
5179
|
(sr = e[4].lastname) == null ? void 0 : sr.readOnly, l(bt, "class", "PlayerInfoBox"), l(qr, "for", "UserTitle"), l(Te, "id", "UserTitle"), l(Te, "type", "text"), l(Te, "class", Jr = `${/*profileValues*/
|
|
5177
|
-
(lr = e[4].title) != null && lr.readOnly ? "FieldDisabled" : ""}`), Te.value =
|
|
5180
|
+
(lr = e[4].title) != null && lr.readOnly ? "FieldDisabled" : ""}`), Te.value = Ut = /*profileValues*/
|
|
5178
5181
|
e[4].title.value, Te.readOnly = Yr = /*profileValues*/
|
|
5179
5182
|
(ur = e[4].title) == null ? void 0 : ur.readOnly, l(yt, "class", "PlayerInfoBox"), l(Kr, "for", "Currrency"), l(ke, "id", "Currency"), l(ke, "type", "text"), l(ke, "class", ti = `${/*profileValues*/
|
|
5180
5183
|
(cr = e[4].currency) != null && cr.readOnly ? "FieldDisabled" : ""}`), ke.value = zt = /*profileValues*/
|
|
@@ -5214,7 +5217,7 @@ function Zo(e) {
|
|
|
5214
5217
|
/*defaultValues*/
|
|
5215
5218
|
e[19].postalCode
|
|
5216
5219
|
), oe.readOnly = Bi = /*profileValues*/
|
|
5217
|
-
(Cr = e[4].postalCode) == null ? void 0 : Cr.readOnly, l(
|
|
5220
|
+
(Cr = e[4].postalCode) == null ? void 0 : Cr.readOnly, l(Fe, "class", Oi = "PlayerInfoBox " + /*isPostalCodeValid*/
|
|
5218
5221
|
(e[10] ? "" : "InvalidField")), l(Y, "class", "PlayerLocationContent"), l(_t, "class", Ii = "PlayerDetailsSaveButton " + /*hasProfileInfoChanged*/
|
|
5219
5222
|
(e[7] && /*isValid*/
|
|
5220
5223
|
e[8] ? "" : "PlayerButtonDisabled")), l($t, "class", Ti = "PlayerDetailsButtonsArea " + /*isMobileView*/
|
|
@@ -5222,9 +5225,9 @@ function Zo(e) {
|
|
|
5222
5225
|
(e[6] ? "PlayerInfoWrapperMobile" : ""));
|
|
5223
5226
|
},
|
|
5224
5227
|
m(ve, h) {
|
|
5225
|
-
L(ve, t, h), s(t, r), ae && ae.m(r, null), s(r, i), s(r, n), s(n, a), s(r, f), s(r, c), s(c, p), s(p, y), s(r, S), s(r, g), s(g, _), s(_, H), s(H, R), s(_,
|
|
5226
|
-
for (let
|
|
5227
|
-
K[
|
|
5228
|
+
L(ve, t, h), s(t, r), ae && ae.m(r, null), s(r, i), s(r, n), s(n, a), s(r, f), s(r, c), s(c, p), s(p, y), s(r, S), s(r, g), s(g, _), s(_, H), s(H, R), s(_, F), s(_, I), s(g, d), s(g, M), s(M, W), s(W, We), s(M, tt), s(M, Be), s(Be, G);
|
|
5229
|
+
for (let Ue = 0; Ue < K.length; Ue += 1)
|
|
5230
|
+
K[Ue] && K[Ue].m(G, null);
|
|
5228
5231
|
wo(
|
|
5229
5232
|
G,
|
|
5230
5233
|
/*profileValues*/
|
|
@@ -5242,7 +5245,7 @@ function Zo(e) {
|
|
|
5242
5245
|
q,
|
|
5243
5246
|
/*profileValues*/
|
|
5244
5247
|
e[4].securityAnswer.value
|
|
5245
|
-
), s(Pe, Dr), ce && ce.m(Pe, null), s(g, w), s(g, $), s($, we), s(we, V), s($, Z), s($, J), s(g, zn), s(g, dt), s(dt, Lr), s(Lr, Yi), s(dt, Gn), s(dt, Oe), s(g, $n), s(g, mt), s(mt,
|
|
5248
|
+
), s(Pe, Dr), ce && ce.m(Pe, null), s(g, w), s(g, $), s($, we), s(we, V), s($, Z), s($, J), s(g, zn), s(g, dt), s(dt, Lr), s(Lr, Yi), s(dt, Gn), s(dt, Oe), s(g, $n), s(g, mt), s(mt, Ur), s(Ur, Ki), s(mt, Vn), s(mt, He), s(g, Qn), s(g, bt), s(bt, Vr), s(Vr, en), s(bt, Wn), s(bt, Ie), s(g, Xn), s(g, yt), s(yt, qr), s(qr, tn), s(yt, qn), s(yt, Te), s(g, Zn), s(g, vt), s(vt, Kr), s(Kr, rn), s(vt, Jn), s(vt, ke), s(g, Yn), fe && fe.m(g, null), s(r, Kn), s(r, ii), s(ii, nn), s(nn, on), s(r, eo), s(r, Y), s(Y, gt), s(gt, oi), s(oi, an), s(gt, to), s(gt, _e), s(Y, ro), s(Y, Le), s(Le, ci), s(ci, sn), s(Le, io), s(Le, re), Q(
|
|
5246
5249
|
re,
|
|
5247
5250
|
/*profileValues*/
|
|
5248
5251
|
e[4].city.value
|
|
@@ -5254,11 +5257,11 @@ function Zo(e) {
|
|
|
5254
5257
|
ne,
|
|
5255
5258
|
/*profileValues*/
|
|
5256
5259
|
e[4].address2.value
|
|
5257
|
-
), s(je, co), de && de.m(je, null), s(Y, fo), s(Y,
|
|
5260
|
+
), s(je, co), de && de.m(je, null), s(Y, fo), s(Y, Fe), s(Fe, wi), s(wi, cn), s(Fe, po), s(Fe, oe), Q(
|
|
5258
5261
|
oe,
|
|
5259
5262
|
/*profileValues*/
|
|
5260
5263
|
e[4].postalCode.value
|
|
5261
|
-
), s(
|
|
5264
|
+
), s(Fe, ho), me && me.m(Fe, null), s(Y, mo), be && be.m(Y, null), s(r, bo), s(r, $t), s($t, _t), s(_t, fn), s(r, yo), ye && ye.m(r, null), pn || (vo = [
|
|
5262
5265
|
j(
|
|
5263
5266
|
G,
|
|
5264
5267
|
"change",
|
|
@@ -5373,7 +5376,7 @@ function Zo(e) {
|
|
|
5373
5376
|
], pn = !0);
|
|
5374
5377
|
},
|
|
5375
5378
|
p(ve, h) {
|
|
5376
|
-
var
|
|
5379
|
+
var Ue, Vt, Qt, Wt, Xt, qt, Zt, Jt, Yt, Kt, er, tr, rr, ir, nr, or, ar, sr, lr, ur, cr, fr, pr, hr, dr, mr, br, yr, vr, gr, _r, Cr, St, go;
|
|
5377
5380
|
if (e = ve, /*isMobileView*/
|
|
5378
5381
|
e[6] ? ae ? ae.p(e, h) : (ae = Jo(e), ae.c(), ae.m(r, i)) : ae && (ae.d(1), ae = null), h[0] & /*$_*/
|
|
5379
5382
|
262144 && o !== (o = /*$_*/
|
|
@@ -5384,8 +5387,8 @@ function Zo(e) {
|
|
|
5384
5387
|
e[18]("personalDetails") + "") && x(y, b), h[0] & /*$_*/
|
|
5385
5388
|
262144 && B !== (B = /*$_*/
|
|
5386
5389
|
e[18]("userName") + "") && x(R, B), h[0] & /*profileValues, prefixesArray*/
|
|
5387
|
-
24 &&
|
|
5388
|
-
(
|
|
5390
|
+
24 && U !== (U = `${/*profileValues*/
|
|
5391
|
+
(Ue = e[4].username) != null && Ue.readOnly ? "FieldDisabled" : ""}`) && l(I, "class", U), h[0] & /*profileValues, prefixesArray*/
|
|
5389
5392
|
24 && O !== (O = /*profileValues*/
|
|
5390
5393
|
(Qt = (Vt = e[4].username) == null ? void 0 : Vt.value) != null ? Qt : "") && I.value !== O && (I.value = O), h[0] & /*profileValues, prefixesArray*/
|
|
5391
5394
|
24 && T !== (T = /*profileValues*/
|
|
@@ -5393,7 +5396,7 @@ function Zo(e) {
|
|
|
5393
5396
|
262144 && Ge !== (Ge = /*$_*/
|
|
5394
5397
|
e[18]("userPhone") + "") && x(We, Ge), h[0] & /*prefixesArray, profileValues*/
|
|
5395
5398
|
24) {
|
|
5396
|
-
Ct =
|
|
5399
|
+
Ct = Ui(
|
|
5397
5400
|
/*prefixesArray*/
|
|
5398
5401
|
e[3]
|
|
5399
5402
|
);
|
|
@@ -5487,8 +5490,8 @@ function Zo(e) {
|
|
|
5487
5490
|
(nr = e[4].birth) != null && nr.readOnly ? "FieldDisabled" : ""}`) && l(Oe, "class", jr), h[0] & /*profileValues, prefixesArray*/
|
|
5488
5491
|
24 && Rt !== (Rt = /*profileValues*/
|
|
5489
5492
|
e[4].birth.value) && Oe.value !== Rt && (Oe.value = Rt), h[0] & /*profileValues, prefixesArray*/
|
|
5490
|
-
24 &&
|
|
5491
|
-
(or = e[4].birth) == null ? void 0 : or.readOnly) && (Oe.readOnly =
|
|
5493
|
+
24 && Fr !== (Fr = /*profileValues*/
|
|
5494
|
+
(or = e[4].birth) == null ? void 0 : or.readOnly) && (Oe.readOnly = Fr), h[0] & /*$_*/
|
|
5492
5495
|
262144 && zr !== (zr = /*$_*/
|
|
5493
5496
|
e[18]("firstName") + "") && x(Ki, zr), h[0] & /*profileValues, prefixesArray*/
|
|
5494
5497
|
24 && Gr !== (Gr = `${/*profileValues*/
|
|
@@ -5501,16 +5504,16 @@ function Zo(e) {
|
|
|
5501
5504
|
e[18]("lastName") + "") && x(en, Qr), h[0] & /*profileValues, prefixesArray*/
|
|
5502
5505
|
24 && Wr !== (Wr = `${/*profileValues*/
|
|
5503
5506
|
(lr = e[4].lastname) != null && lr.readOnly ? "FieldDisabled" : ""}`) && l(Ie, "class", Wr), h[0] & /*profileValues, prefixesArray*/
|
|
5504
|
-
24 &&
|
|
5505
|
-
e[4].lastname.value) && Ie.value !==
|
|
5507
|
+
24 && Ft !== (Ft = /*profileValues*/
|
|
5508
|
+
e[4].lastname.value) && Ie.value !== Ft && (Ie.value = Ft), h[0] & /*profileValues, prefixesArray*/
|
|
5506
5509
|
24 && Xr !== (Xr = /*profileValues*/
|
|
5507
5510
|
(ur = e[4].lastname) == null ? void 0 : ur.readOnly) && (Ie.readOnly = Xr), h[0] & /*$_*/
|
|
5508
5511
|
262144 && Zr !== (Zr = /*$_*/
|
|
5509
5512
|
e[18]("userTitle") + "") && x(tn, Zr), h[0] & /*profileValues, prefixesArray*/
|
|
5510
5513
|
24 && Jr !== (Jr = `${/*profileValues*/
|
|
5511
5514
|
(cr = e[4].title) != null && cr.readOnly ? "FieldDisabled" : ""}`) && l(Te, "class", Jr), h[0] & /*profileValues, prefixesArray*/
|
|
5512
|
-
24 &&
|
|
5513
|
-
e[4].title.value) && Te.value !==
|
|
5515
|
+
24 && Ut !== (Ut = /*profileValues*/
|
|
5516
|
+
e[4].title.value) && Te.value !== Ut && (Te.value = Ut), h[0] & /*profileValues, prefixesArray*/
|
|
5514
5517
|
24 && Yr !== (Yr = /*profileValues*/
|
|
5515
5518
|
(fr = e[4].title) == null ? void 0 : fr.readOnly) && (Te.readOnly = Yr), h[0] & /*$_*/
|
|
5516
5519
|
262144 && ei !== (ei = /*$_*/
|
|
@@ -5591,9 +5594,9 @@ function Zo(e) {
|
|
|
5591
5594
|
/*profileValues*/
|
|
5592
5595
|
e[4].postalCode.value
|
|
5593
5596
|
), /*isPostalCodeValid*/
|
|
5594
|
-
e[10] ? me && (me.d(1), me = null) : me ? me.p(e, h) : (me = sa(e), me.c(), me.m(
|
|
5597
|
+
e[10] ? me && (me.d(1), me = null) : me ? me.p(e, h) : (me = sa(e), me.c(), me.m(Fe, null)), h[0] & /*isPostalCodeValid*/
|
|
5595
5598
|
1024 && Oi !== (Oi = "PlayerInfoBox " + /*isPostalCodeValid*/
|
|
5596
|
-
(e[10] ? "" : "InvalidField")) && l(
|
|
5599
|
+
(e[10] ? "" : "InvalidField")) && l(Fe, "class", Oi), /*showlocationdetailsdescription*/
|
|
5597
5600
|
e[1] === "true" ? be ? be.p(e, h) : (be = la(e), be.c(), be.m(Y, null)) : be && (be.d(1), be = null), h[0] & /*$_*/
|
|
5598
5601
|
262144 && Hi !== (Hi = /*$_*/
|
|
5599
5602
|
e[18]("userProfileSaveChanges") + "") && x(fn, Hi), h[0] & /*hasProfileInfoChanged, isValid*/
|
|
@@ -5997,12 +6000,12 @@ function ua(e) {
|
|
|
5997
6000
|
};
|
|
5998
6001
|
}
|
|
5999
6002
|
function ku(e) {
|
|
6000
|
-
let t, r, i, n, o, a, u, f, c, p, b, y, S, g, _, H, B, R,
|
|
6001
|
-
for (let d = 0; d < U.length; d += 1)
|
|
6002
|
-
I[d] = Ou(Bu(e, U, d));
|
|
6003
|
-
let F = Fi({ length: 4 }), O = [];
|
|
6003
|
+
let t, r, i, n, o, a, u, f, c, p, b, y, S, g, _, H, B, R, F = Ui({ length: 10 }), I = [];
|
|
6004
6004
|
for (let d = 0; d < F.length; d += 1)
|
|
6005
|
-
|
|
6005
|
+
I[d] = Ou(Bu(e, F, d));
|
|
6006
|
+
let U = Ui({ length: 4 }), O = [];
|
|
6007
|
+
for (let d = 0; d < U.length; d += 1)
|
|
6008
|
+
O[d] = Hu(xu(e, U, d));
|
|
6006
6009
|
let T = !/*isLoading*/
|
|
6007
6010
|
e[5] && Zo(e);
|
|
6008
6011
|
return {
|
|
@@ -6041,7 +6044,7 @@ function ku(e) {
|
|
|
6041
6044
|
function Mu(e, t, r) {
|
|
6042
6045
|
let i;
|
|
6043
6046
|
Za(e, uu, (v) => r(18, i = v));
|
|
6044
|
-
let { userid: n } = t, { sessionid: o } = t, { endpoint: a } = t, { lang: u = "en" } = t, { translationurl: f } = t, { custominputtextswitch: c = "false" } = t, { showlocationdetailsdescription: p = "false" } = t, { disabledfields: b = "username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName" } = t, { clientstyling: y = "" } = t, { clientstylingurl: S = "" } = t, { mbsource: g } = t, _ = [], H = [], B = {}, R = [],
|
|
6047
|
+
let { userid: n } = t, { sessionid: o } = t, { endpoint: a } = t, { lang: u = "en" } = t, { translationurl: f } = t, { custominputtextswitch: c = "false" } = t, { showlocationdetailsdescription: p = "false" } = t, { disabledfields: b = "username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName" } = t, { clientstyling: y = "" } = t, { clientstylingurl: S = "" } = t, { mbsource: g } = t, _ = [], H = [], B = {}, R = [], F, I = window.navigator.userAgent, U = "", O;
|
|
6045
6048
|
const T = {
|
|
6046
6049
|
address1: "i.e.: Glanmire Rd.",
|
|
6047
6050
|
address2: "i.e.: Glanmire Rd.",
|
|
@@ -6107,14 +6110,14 @@ function Mu(e, t, r) {
|
|
|
6107
6110
|
r(4, d[v].value = B[v], d);
|
|
6108
6111
|
}
|
|
6109
6112
|
r(4, d[v].readOnly = R.includes(v), d);
|
|
6110
|
-
}),
|
|
6113
|
+
}), F = rt(d), r(5, M = !1);
|
|
6111
6114
|
}, at = () => {
|
|
6112
6115
|
const v = new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);
|
|
6113
6116
|
fetch(v.href).then((w) => w.json()).then((w) => r(3, _ = w.phoneCodes)).catch((w) => console.log("Failed to fetch phone codes:", w));
|
|
6114
6117
|
}, Dt = () => {
|
|
6115
6118
|
r(8, We = !1), Me && Xe && tt && G && $e && Be && z && qe && r(8, We = !0);
|
|
6116
6119
|
}, Hr = () => {
|
|
6117
|
-
r(7, Ge = rt(d) !==
|
|
6120
|
+
r(7, Ge = rt(d) !== F);
|
|
6118
6121
|
}, it = (v) => () => {
|
|
6119
6122
|
switch (v) {
|
|
6120
6123
|
case "mobilePrefix":
|
|
@@ -6179,7 +6182,7 @@ function Mu(e, t, r) {
|
|
|
6179
6182
|
window.postMessage(
|
|
6180
6183
|
{
|
|
6181
6184
|
type: "WidgetNotification",
|
|
6182
|
-
data: { type: "error", message:
|
|
6185
|
+
data: { type: "error", message: U }
|
|
6183
6186
|
},
|
|
6184
6187
|
window.location.href
|
|
6185
6188
|
);
|
|
@@ -6227,7 +6230,7 @@ function Mu(e, t, r) {
|
|
|
6227
6230
|
}), Tr = (v) => {
|
|
6228
6231
|
var $;
|
|
6229
6232
|
const w = ($ = v.thirdPartyResponse) == null ? void 0 : $.message;
|
|
6230
|
-
w && w.includes("Mandatory input parameter is missing: mobilePrefix") ? (
|
|
6233
|
+
w && w.includes("Mandatory input parameter is missing: mobilePrefix") ? (U = i("userPrefixError"), it("mobilePrefix")()) : U = i("userProfileUpdateError");
|
|
6231
6234
|
}, ut = () => {
|
|
6232
6235
|
window.postMessage(
|
|
6233
6236
|
{
|
|
@@ -6241,14 +6244,14 @@ function Mu(e, t, r) {
|
|
|
6241
6244
|
}, Pe = () => {
|
|
6242
6245
|
fetch(f).then((w) => w.json()).then((w) => {
|
|
6243
6246
|
Object.keys(w).forEach(($) => {
|
|
6244
|
-
|
|
6247
|
+
Fo($, w[$]);
|
|
6245
6248
|
});
|
|
6246
6249
|
}).catch((w) => {
|
|
6247
6250
|
console.log(w);
|
|
6248
6251
|
});
|
|
6249
6252
|
};
|
|
6250
|
-
Object.keys(
|
|
6251
|
-
|
|
6253
|
+
Object.keys(Uo).forEach((v) => {
|
|
6254
|
+
Fo(v, Uo[v]);
|
|
6252
6255
|
});
|
|
6253
6256
|
const Ve = (v) => Array.isArray(v) ? v.length > 0 : Object.keys(v).length > 0;
|
|
6254
6257
|
os(() => (wu(I) && r(6, W = !0), () => {
|