@everymatrix/player-profile-info 1.64.8 → 1.65.1
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-LmyiqBue.js → PlayerProfileInfo-CNs1caqF.js} +12 -12
- package/components/{PlayerProfileInfo-D2hc1abj.js → PlayerProfileInfo-CUTQL525.js} +12 -12
- package/components/{PlayerProfileInfo-CVQFgTJC.cjs → PlayerProfileInfo-DqNgpVdu.cjs} +1 -1
- 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
|
@@ -4997,7 +4997,7 @@ function ho(e) {
|
|
|
4997
4997
|
/*$_*/
|
|
4998
4998
|
e[18]("userProfileSaveChanges") + ""
|
|
4999
4999
|
), Dn, nn, on, Ni, an, Ln, Di, ue = (
|
|
5000
|
-
/*
|
|
5000
|
+
/*isMobileView*/
|
|
5001
5001
|
e[5] && po(e)
|
|
5002
5002
|
), xt = qe(
|
|
5003
5003
|
/*prefixesArray*/
|
|
@@ -5027,7 +5027,7 @@ function ho(e) {
|
|
|
5027
5027
|
t = p("form"), r = p("div"), ue && ue.c(), n = C(), i = p("h2"), a = w(o), c = C(), f = p("div"), h = p("h3"), b = w(d), P = C(), g = p("section"), S = p("div"), I = p("label"), L = w(B), A = C(), M = p("input"), ke = C(), q = p("div"), Se = p("label"), E = w(y), Oe = C(), D = p("div"), W = p("select");
|
|
5028
5028
|
for (let ne = 0; ne < re.length; ne += 1)
|
|
5029
5029
|
re[ne].c();
|
|
5030
|
-
nt = C(), V = p("input"), Je = C(), ce && ce.c(), ut = C(), Pe = p("div"), Xe = p("label"), He = w(Ie), or = w(":"), ct = p("span"), ct.textContent = "*", ar = C(), J = p("input"), sr = C(), fe && fe.c(), Gt = C(), Be = p("div"), je = p("label"), zt = w(it), lr = w(":"), ot = p("span"), ot.textContent = "*", ur = C(), Y = p("input"), cr = C(), he && he.c(), at = C(), Ye = p("div"), bt = p("label"), $t = w(vt), fr = C(), we = p("input"), hr = C(), Ke = p("div"), Ct = p("label"), _ = w(v), R = C(), H = p("input"), dr = C(), ee = p("div"), et = p("label"), Sn = w(pr), ci = C(), Te = p("input"), fi = C(), Et = p("div"), br = p("label"), Pn = w(vr), hi = C(), Me = p("input"), di = C(), St = p("div"), Cr = p("label"), wn = w(Er), pi = C(), Ne = p("input"), mi = C(), Pt = p("div"), wr = p("label"), An = w(Ar), yi = C(), De = p("input"), bi = C(), de && de.c(), vi = C(), Br = p("div"), xn = p("h3"), kn = w(Or), gi = C(), te = p("section"), wt = p("div"), Ir = p("label"), Bn = w(Hr), _i = C(), Ae = p("input"), Ci = C(), Ue = p("div"), Dr = p("label"), On = w(Lr), Ei = C(), oe = p("input"), Si = C(), pe && pe.c(), Pi = C(), Fe = p("div"), Fr = p("label"), In = w(Gr), wi = C(), ae = p("input"), Ai = C(), me && me.c(), xi = C(), Ge = p("div"), Vr = p("label"), Hn = w(Wr), ki = C(), se = p("input"), Bi = C(), ye && ye.c(), Oi = C(), ze = p("div"), Jr = p("label"), Tn = w(Yr), Ii = C(), le = p("input"), Hi = C(), be && be.c(), Ti = C(), ve && ve.c(), Mi = C(), ge && ge.c(), Nn = C(), Zt = p("section"), At = p("button"), Dn = w(rn), Ni = C(), _e && _e.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*
|
|
5030
|
+
nt = C(), V = p("input"), Je = C(), ce && ce.c(), ut = C(), Pe = p("div"), Xe = p("label"), He = w(Ie), or = w(":"), ct = p("span"), ct.textContent = "*", ar = C(), J = p("input"), sr = C(), fe && fe.c(), Gt = C(), Be = p("div"), je = p("label"), zt = w(it), lr = w(":"), ot = p("span"), ot.textContent = "*", ur = C(), Y = p("input"), cr = C(), he && he.c(), at = C(), Ye = p("div"), bt = p("label"), $t = w(vt), fr = C(), we = p("input"), hr = C(), Ke = p("div"), Ct = p("label"), _ = w(v), R = C(), H = p("input"), dr = C(), ee = p("div"), et = p("label"), Sn = w(pr), ci = C(), Te = p("input"), fi = C(), Et = p("div"), br = p("label"), Pn = w(vr), hi = C(), Me = p("input"), di = C(), St = p("div"), Cr = p("label"), wn = w(Er), pi = C(), Ne = p("input"), mi = C(), Pt = p("div"), wr = p("label"), An = w(Ar), yi = C(), De = p("input"), bi = C(), de && de.c(), vi = C(), Br = p("div"), xn = p("h3"), kn = w(Or), gi = C(), te = p("section"), wt = p("div"), Ir = p("label"), Bn = w(Hr), _i = C(), Ae = p("input"), Ci = C(), Ue = p("div"), Dr = p("label"), On = w(Lr), Ei = C(), oe = p("input"), Si = C(), pe && pe.c(), Pi = C(), Fe = p("div"), Fr = p("label"), In = w(Gr), wi = C(), ae = p("input"), Ai = C(), me && me.c(), xi = C(), Ge = p("div"), Vr = p("label"), Hn = w(Wr), ki = C(), se = p("input"), Bi = C(), ye && ye.c(), Oi = C(), ze = p("div"), Jr = p("label"), Tn = w(Yr), Ii = C(), le = p("input"), Hi = C(), be && be.c(), Ti = C(), ve && ve.c(), Mi = C(), ge && ge.c(), Nn = C(), Zt = p("section"), At = p("button"), Dn = w(rn), Ni = C(), _e && _e.c(), l(i, "class", u = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5031
5031
|
(e[5] ? "MyAccountCategoryTitleNone" : "")), l(f, "class", "PlayerNotificationsHeader"), l(M, "type", "text"), l(M, "class", $ = `${/*profileValues*/
|
|
5032
5032
|
e[6].username?.readOnly ? "FieldDisabled" : ""}`), M.value = z = /*profileValues*/
|
|
5033
5033
|
e[6].username?.value ?? "", M.readOnly = Ee = /*profileValues*/
|
|
@@ -5117,8 +5117,8 @@ function ho(e) {
|
|
|
5117
5117
|
e[6].postalCode?.readOnly, l(ze, "class", tn = "PlayerInfoBox " + /*isPostalCodeValid*/
|
|
5118
5118
|
(e[11] ? "" : "InvalidField")), l(te, "class", "PlayerLocationContent"), l(At, "class", nn = "PlayerDetailsSaveButton " + /*hasProfileInfoChanged*/
|
|
5119
5119
|
(e[8] && /*isValid*/
|
|
5120
|
-
e[9] ? "" : "PlayerButtonDisabled")), l(Zt, "class", on = "PlayerDetailsButtonsArea " + /*
|
|
5121
|
-
(e[5] ? "PlayerDetailsButtonsAreaMobile" : "")), l(r, "class", "PlayerFadeInWarapper"), l(t, "class", an = "PlayerInfoWrapper " + /*
|
|
5120
|
+
e[9] ? "" : "PlayerButtonDisabled")), l(Zt, "class", on = "PlayerDetailsButtonsArea " + /*isMobileView*/
|
|
5121
|
+
(e[5] ? "PlayerDetailsButtonsAreaMobile" : "")), l(r, "class", "PlayerFadeInWarapper"), l(t, "class", an = "PlayerInfoWrapper " + /*isMobileView*/
|
|
5122
5122
|
(e[5] ? "PlayerInfoWrapperMobile" : ""));
|
|
5123
5123
|
},
|
|
5124
5124
|
m(ne, m) {
|
|
@@ -5273,11 +5273,11 @@ function ho(e) {
|
|
|
5273
5273
|
], Ln = !0);
|
|
5274
5274
|
},
|
|
5275
5275
|
p(ne, m) {
|
|
5276
|
-
if (e = ne, /*
|
|
5276
|
+
if (e = ne, /*isMobileView*/
|
|
5277
5277
|
e[5] ? ue ? ue.p(e, m) : (ue = po(e), ue.c(), ue.m(r, n)) : ue && (ue.d(1), ue = null), m[0] & /*$_*/
|
|
5278
5278
|
262144 && o !== (o = /*$_*/
|
|
5279
|
-
e[18]("titleProfileInfo") + "") && k(a, o), m[0] & /*
|
|
5280
|
-
32 && u !== (u = "MyAccountCategoryTitle " + /*
|
|
5279
|
+
e[18]("titleProfileInfo") + "") && k(a, o), m[0] & /*isMobileView*/
|
|
5280
|
+
32 && u !== (u = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5281
5281
|
(e[5] ? "MyAccountCategoryTitleNone" : "")) && l(i, "class", u), m[0] & /*$_*/
|
|
5282
5282
|
262144 && d !== (d = /*$_*/
|
|
5283
5283
|
e[18]("personalDetails") + "") && k(b, d), m[0] & /*$_*/
|
|
@@ -5500,11 +5500,11 @@ function ho(e) {
|
|
|
5500
5500
|
e[18]("userProfileSaveChanges") + "") && k(Dn, rn), m[0] & /*hasProfileInfoChanged, isValid*/
|
|
5501
5501
|
768 && nn !== (nn = "PlayerDetailsSaveButton " + /*hasProfileInfoChanged*/
|
|
5502
5502
|
(e[8] && /*isValid*/
|
|
5503
|
-
e[9] ? "" : "PlayerButtonDisabled")) && l(At, "class", nn), m[0] & /*
|
|
5504
|
-
32 && on !== (on = "PlayerDetailsButtonsArea " + /*
|
|
5503
|
+
e[9] ? "" : "PlayerButtonDisabled")) && l(At, "class", nn), m[0] & /*isMobileView*/
|
|
5504
|
+
32 && on !== (on = "PlayerDetailsButtonsArea " + /*isMobileView*/
|
|
5505
5505
|
(e[5] ? "PlayerDetailsButtonsAreaMobile" : "")) && l(Zt, "class", on), /*showConfirmSave*/
|
|
5506
|
-
e[17] ? _e ? _e.p(e, m) : (_e = Oo(e), _e.c(), _e.m(r, null)) : _e && (_e.d(1), _e = null), m[0] & /*
|
|
5507
|
-
32 && an !== (an = "PlayerInfoWrapper " + /*
|
|
5506
|
+
e[17] ? _e ? _e.p(e, m) : (_e = Oo(e), _e.c(), _e.m(r, null)) : _e && (_e.d(1), _e = null), m[0] & /*isMobileView*/
|
|
5507
|
+
32 && an !== (an = "PlayerInfoWrapper " + /*isMobileView*/
|
|
5508
5508
|
(e[5] ? "PlayerInfoWrapperMobile" : "")) && l(t, "class", an);
|
|
5509
5509
|
},
|
|
5510
5510
|
d(ne) {
|
|
@@ -6414,7 +6414,7 @@ function Kl(e, t, r) {
|
|
|
6414
6414
|
window.postMessage(
|
|
6415
6415
|
{
|
|
6416
6416
|
type: "PlayerAccountMenuActive",
|
|
6417
|
-
|
|
6417
|
+
isMobile: q
|
|
6418
6418
|
},
|
|
6419
6419
|
window.location.href
|
|
6420
6420
|
);
|
|
@@ -5034,7 +5034,7 @@ function Ko(e) {
|
|
|
5034
5034
|
/*$_*/
|
|
5035
5035
|
e[18]("userProfileSaveChanges") + ""
|
|
5036
5036
|
), bi, Un, Fn, vo, Gn, vi, go, se = (
|
|
5037
|
-
/*
|
|
5037
|
+
/*isMobileView*/
|
|
5038
5038
|
e[5] && ea(e)
|
|
5039
5039
|
), Ht = et(
|
|
5040
5040
|
/*prefixesArray*/
|
|
@@ -5065,7 +5065,7 @@ function Ko(e) {
|
|
|
5065
5065
|
t = p("form"), r = p("div"), se && se.c(), n = E(), i = p("h2"), a = w(o), h = E(), c = p("div"), f = p("h3"), m = w(d), g = E(), _ = p("section"), P = p("div"), I = p("label"), L = w(k), A = E(), M = p("input"), xe = E(), q = p("div"), Ee = p("label"), S = w(b), He = E(), D = p("div"), W = p("select");
|
|
5066
5066
|
for (let Tt = 0; Tt < te.length; Tt += 1)
|
|
5067
5067
|
te[Tt].c();
|
|
5068
|
-
st = E(), V = p("input"), rt = E(), le && le.c(), pt = E(), Se = p("div"), Ye = p("label"), Me = w(Te), zr = w(":"), mt = p("span"), mt.textContent = "*", $r = E(), J = p("input"), Qr = E(), ue && ue.c(), Xt = E(), Be = p("div"), Fe = p("label"), qt = w(lt), Vr = w(":"), ut = p("span"), ut.textContent = "*", Wr = E(), Y = p("input"), Xr = E(), ce && ce.c(), ct = E(), nt = p("div"), Et = p("label"), Zt = w(St), qr = E(), Pe = p("input"), Zr = E(), it = p("div"), At = p("label"), C = w(v), R = E(), H = p("input"), ht = E(), Z = p("div"), Ke = p("label"), Jt = w(Ge), Vi = E(), Ne = p("input"), Wi = E(), xt = p("div"), Kr = p("label"), oi = w(en), Xi = E(), De = p("input"), qi = E(), Bt = p("div"), nn = p("label"), ai = w(on), Zi = E(), Le = p("input"), Ji = E(), kt = p("div"), ln = p("label"), si = w(un), Yi = E(), Re = p("input"), Ki = E(), fe && fe.c(), eo = E(), hn = p("div"), li = p("h3"), ui = w(dn), to = E(), ee = p("section"), Ot = p("div"), pn = p("label"), ci = w(mn), ro = E(), we = p("input"), no = E(), ze = p("div"), gn = p("label"), fi = w(_n), io = E(), ne = p("input"), oo = E(), he && he.c(), ao = E(), $e = p("div"), Pn = p("label"), hi = w(wn), so = E(), ie = p("input"), lo = E(), de && de.c(), uo = E(), Qe = p("div"), kn = p("label"), di = w(On), co = E(), oe = p("input"), fo = E(), pe && pe.c(), ho = E(), Ve = p("div"), Mn = p("label"), pi = w(Nn), po = E(), ae = p("input"), mo = E(), me && me.c(), yo = E(), ye && ye.c(), bo = E(), be && be.c(), yi = E(), nr = p("section"), It = p("button"), bi = w(jn), vo = E(), ve && ve.c(), u(i, "class", l = "MyAccountCategoryTitle " + /*
|
|
5068
|
+
st = E(), V = p("input"), rt = E(), le && le.c(), pt = E(), Se = p("div"), Ye = p("label"), Me = w(Te), zr = w(":"), mt = p("span"), mt.textContent = "*", $r = E(), J = p("input"), Qr = E(), ue && ue.c(), Xt = E(), Be = p("div"), Fe = p("label"), qt = w(lt), Vr = w(":"), ut = p("span"), ut.textContent = "*", Wr = E(), Y = p("input"), Xr = E(), ce && ce.c(), ct = E(), nt = p("div"), Et = p("label"), Zt = w(St), qr = E(), Pe = p("input"), Zr = E(), it = p("div"), At = p("label"), C = w(v), R = E(), H = p("input"), ht = E(), Z = p("div"), Ke = p("label"), Jt = w(Ge), Vi = E(), Ne = p("input"), Wi = E(), xt = p("div"), Kr = p("label"), oi = w(en), Xi = E(), De = p("input"), qi = E(), Bt = p("div"), nn = p("label"), ai = w(on), Zi = E(), Le = p("input"), Ji = E(), kt = p("div"), ln = p("label"), si = w(un), Yi = E(), Re = p("input"), Ki = E(), fe && fe.c(), eo = E(), hn = p("div"), li = p("h3"), ui = w(dn), to = E(), ee = p("section"), Ot = p("div"), pn = p("label"), ci = w(mn), ro = E(), we = p("input"), no = E(), ze = p("div"), gn = p("label"), fi = w(_n), io = E(), ne = p("input"), oo = E(), he && he.c(), ao = E(), $e = p("div"), Pn = p("label"), hi = w(wn), so = E(), ie = p("input"), lo = E(), de && de.c(), uo = E(), Qe = p("div"), kn = p("label"), di = w(On), co = E(), oe = p("input"), fo = E(), pe && pe.c(), ho = E(), Ve = p("div"), Mn = p("label"), pi = w(Nn), po = E(), ae = p("input"), mo = E(), me && me.c(), yo = E(), ye && ye.c(), bo = E(), be && be.c(), yi = E(), nr = p("section"), It = p("button"), bi = w(jn), vo = E(), ve && ve.c(), u(i, "class", l = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5069
5069
|
(e[5] ? "MyAccountCategoryTitleNone" : "")), u(c, "class", "PlayerNotificationsHeader"), u(M, "type", "text"), u(M, "class", Q = `${/*profileValues*/
|
|
5070
5070
|
(ge = e[6].username) != null && ge.readOnly ? "FieldDisabled" : ""}`), M.value = z = /*profileValues*/
|
|
5071
5071
|
(We = (y = e[6].username) == null ? void 0 : y.value) != null ? We : "", M.readOnly = Ce = /*profileValues*/
|
|
@@ -5155,8 +5155,8 @@ function Ko(e) {
|
|
|
5155
5155
|
(Mr = e[6].postalCode) == null ? void 0 : Mr.readOnly, u(Ve, "class", Rn = "PlayerInfoBox " + /*isPostalCodeValid*/
|
|
5156
5156
|
(e[11] ? "" : "InvalidField")), u(ee, "class", "PlayerLocationContent"), u(It, "class", Un = "PlayerDetailsSaveButton " + /*hasProfileInfoChanged*/
|
|
5157
5157
|
(e[8] && /*isValid*/
|
|
5158
|
-
e[9] ? "" : "PlayerButtonDisabled")), u(nr, "class", Fn = "PlayerDetailsButtonsArea " + /*
|
|
5159
|
-
(e[5] ? "PlayerDetailsButtonsAreaMobile" : "")), u(r, "class", "PlayerFadeInWarapper"), u(t, "class", Gn = "PlayerInfoWrapper " + /*
|
|
5158
|
+
e[9] ? "" : "PlayerButtonDisabled")), u(nr, "class", Fn = "PlayerDetailsButtonsArea " + /*isMobileView*/
|
|
5159
|
+
(e[5] ? "PlayerDetailsButtonsAreaMobile" : "")), u(r, "class", "PlayerFadeInWarapper"), u(t, "class", Gn = "PlayerInfoWrapper " + /*isMobileView*/
|
|
5160
5160
|
(e[5] ? "PlayerInfoWrapperMobile" : ""));
|
|
5161
5161
|
},
|
|
5162
5162
|
m(ge, y) {
|
|
@@ -5312,11 +5312,11 @@ function Ko(e) {
|
|
|
5312
5312
|
},
|
|
5313
5313
|
p(ge, y) {
|
|
5314
5314
|
var We, ir, or, ar, sr, lr, ur, cr, fr, hr, dr, pr, mr, yr, br, vr, gr, _r, Cr, Er, Sr, Pr, wr, Ar, xr, Br, kr, Or, Ir, Hr, Tr, Mr, Tt, _o;
|
|
5315
|
-
if (e = ge, /*
|
|
5315
|
+
if (e = ge, /*isMobileView*/
|
|
5316
5316
|
e[5] ? se ? se.p(e, y) : (se = ea(e), se.c(), se.m(r, n)) : se && (se.d(1), se = null), y[0] & /*$_*/
|
|
5317
5317
|
262144 && o !== (o = /*$_*/
|
|
5318
|
-
e[18]("titleProfileInfo") + "") && B(a, o), y[0] & /*
|
|
5319
|
-
32 && l !== (l = "MyAccountCategoryTitle " + /*
|
|
5318
|
+
e[18]("titleProfileInfo") + "") && B(a, o), y[0] & /*isMobileView*/
|
|
5319
|
+
32 && l !== (l = "MyAccountCategoryTitle " + /*isMobileView*/
|
|
5320
5320
|
(e[5] ? "MyAccountCategoryTitleNone" : "")) && u(i, "class", l), y[0] & /*$_*/
|
|
5321
5321
|
262144 && d !== (d = /*$_*/
|
|
5322
5322
|
e[18]("personalDetails") + "") && B(m, d), y[0] & /*$_*/
|
|
@@ -5539,11 +5539,11 @@ function Ko(e) {
|
|
|
5539
5539
|
e[18]("userProfileSaveChanges") + "") && B(bi, jn), y[0] & /*hasProfileInfoChanged, isValid*/
|
|
5540
5540
|
768 && Un !== (Un = "PlayerDetailsSaveButton " + /*hasProfileInfoChanged*/
|
|
5541
5541
|
(e[8] && /*isValid*/
|
|
5542
|
-
e[9] ? "" : "PlayerButtonDisabled")) && u(It, "class", Un), y[0] & /*
|
|
5543
|
-
32 && Fn !== (Fn = "PlayerDetailsButtonsArea " + /*
|
|
5542
|
+
e[9] ? "" : "PlayerButtonDisabled")) && u(It, "class", Un), y[0] & /*isMobileView*/
|
|
5543
|
+
32 && Fn !== (Fn = "PlayerDetailsButtonsArea " + /*isMobileView*/
|
|
5544
5544
|
(e[5] ? "PlayerDetailsButtonsAreaMobile" : "")) && u(nr, "class", Fn), /*showConfirmSave*/
|
|
5545
|
-
e[17] ? ve ? ve.p(e, y) : (ve = ya(e), ve.c(), ve.m(r, null)) : ve && (ve.d(1), ve = null), y[0] & /*
|
|
5546
|
-
32 && Gn !== (Gn = "PlayerInfoWrapper " + /*
|
|
5545
|
+
e[17] ? ve ? ve.p(e, y) : (ve = ya(e), ve.c(), ve.m(r, null)) : ve && (ve.d(1), ve = null), y[0] & /*isMobileView*/
|
|
5546
|
+
32 && Gn !== (Gn = "PlayerInfoWrapper " + /*isMobileView*/
|
|
5547
5547
|
(e[5] ? "PlayerInfoWrapperMobile" : "")) && u(t, "class", Gn);
|
|
5548
5548
|
},
|
|
5549
5549
|
d(ge) {
|
|
@@ -6471,7 +6471,7 @@ function $u(e, t, r) {
|
|
|
6471
6471
|
window.postMessage(
|
|
6472
6472
|
{
|
|
6473
6473
|
type: "PlayerAccountMenuActive",
|
|
6474
|
-
|
|
6474
|
+
isMobile: q
|
|
6475
6475
|
},
|
|
6476
6476
|
window.location.href
|
|
6477
6477
|
);
|
|
@@ -18,4 +18,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
18
18
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function Gi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ii=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=ji(a),h=l.next();!h.done;h=l.next()){var c=h.value;c.remove(this)}}catch(P){t={error:P}}finally{try{h&&!h.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(tt(f))try{f()}catch(P){o=P instanceof xi?P.errors:[P]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var m=ji(d),g=m.next();!g.done;g=m.next()){var _=g.value;try{zo(_)}catch(P){o=o!=null?o:[],P instanceof xi?o=Fi(Fi([],Ui(o)),Ui(P.errors)):o.push(P)}}}catch(P){n={error:P}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}if(o)throw new xi(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)zo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Gi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Gi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Xa=ii.EMPTY;function qa(e){return e instanceof ii||e&&"closed"in e&&tt(e.remove)&&tt(e.add)&&tt(e.unsubscribe)}function zo(e){tt(e)?e():e.unsubscribe()}var _u={Promise:void 0},Cu={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Fi([e,t],Ui(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Eu(e){Cu.setTimeout(function(){throw e})}function $o(){}function Xn(e){e()}var Za=function(e){Gr(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,qa(r)&&r.add(n)):n.destination=wu,n}return t.create=function(r,n,i){return new zi(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ii),Su=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){$n(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){$n(n)}else $n(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){$n(r)}},e}(),zi=function(e){Gr(t,e);function t(r,n,i){var o=e.call(this)||this,a;return tt(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new Su(a),o}return t}(Za);function $n(e){Eu(e)}function Pu(e){throw e}var wu={closed:!0,next:$o,error:Pu,complete:$o},Au=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function xu(e){return e}function Bu(e){return e.length===0?xu:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Qo=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Ou(t)?t:new zi(t,r,n);return Xn(function(){var a=i,l=a.operator,h=a.source;o.add(l?l.call(o,h):h?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Vo(r),new r(function(i,o){var a=new zi({next:function(l){try{t(l)}catch(h){o(h),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Au]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Bu(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Vo(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Vo(e){var t;return(t=e!=null?e:_u.Promise)!==null&&t!==void 0?t:Promise}function ku(e){return e&&tt(e.next)&&tt(e.error)&&tt(e.complete)}function Ou(e){return e&&e instanceof Za||ku(e)&&qa(e)}var Iu=Wa(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ja=function(e){Gr(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Wo(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Iu},t.prototype.next=function(r){var n=this;Xn(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=ji(n.currentObservers),l=a.next();!l.done;l=a.next()){var h=l.value;h.next(r)}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Xn(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Xn(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,l=i.observers;return o||a?Xa:(this.currentObservers=null,l.push(r),new ii(function(){n.currentObservers=null,Gi(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new Qo;return r.source=this,r},t.create=function(r,n){return new Wo(r,n)},t}(Qo),Wo=function(e){Gr(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Xa},t}(Ja),Ya={now:function(){return(Ya.delegate||Date).now()},delegate:void 0},Hu=function(e){Gr(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ya);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,l=n._timestampProvider,h=n._windowTime;i||(o.push(r),!a&&o.push(l.now()+h)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,l=a.slice(),h=0;h<l.length&&!r.closed;h+=o?1:2)r.next(l[h]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,l=(a?1:2)*n;if(n<1/0&&l<o.length&&o.splice(0,o.length-l),!a){for(var h=i.now(),c=0,f=1;f<o.length&&o[f]<=h;f+=2)c=f;c&&o.splice(0,c+1)}},t}(Ja);const Xo=[],qo={},Tu=(e,t=0)=>{if(Xo.indexOf(e)==-1){const r=new Hu(t);qo[e]=r,Xo.push(e)}return qo[e]};window.emWidgets={topic:Tu};const Mu=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));function Nu(e){ss(e,"svelte-pom20c",`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{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 .skeletonConsentsContainer{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:30px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputCircle{margin:5px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputText{width:150px}.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}}`)}function Zo(e,t,r){const n=e.slice();return n[78]=t[r],n[79]=t,n[80]=r,n}function Jo(e,t,r){const n=e.slice();return n[81]=t[r],n[82]=t,n[83]=r,n}function Yo(e,t,r){const n=e.slice();return n[84]=t[r],n}function Du(e,t,r){const n=e.slice();return n[87]=t[r],n[89]=r,n}function Lu(e,t,r){const n=e.slice();return n[87]=t[r],n[89]=r,n}function Ru(e,t,r){const n=e.slice();return n[87]=t[r],n[89]=r,n}function ju(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',u(t,"class","skeletonInputContainer")},m(r,n){N(r,t,n)},p:_e,d(r){r&&T(t)}}}function Uu(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',u(t,"class","skeletonInputContainer")},m(r,n){N(r,t,n)},p:_e,d(r){r&&T(t)}}}function Fu(e){let t;return{c(){t=p("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',u(t,"class","skeletonInputContainer")},m(r,n){N(r,t,n)},p:_e,d(r){r&&T(t)}}}function Ko(e){let t,r,n,i,o=e[18]("titleProfileInfo")+"",a,l,h,c,f,d=e[18]("personalDetails")+"",m,g,_,P,I,k=e[18]("userName")+"",L,A,M,Q,z,Ce,xe,q,Ee,b=e[18]("userPhone")+"",S,He,D,W,je,qe,st,V,Ze,Ue,rt,Je,pt,Se,Ye,Te=(e[0]=="true"?e[18]("profileSecurityQuestion2"):e[18]("profileSecurityQuestion"))+"",Me,zr,mt,$r,J,yt,bt,Qr,vt,Xt,Be,Fe,lt=(e[0]=="true"?e[18]("profileSecurityAnswer2"):e[18]("profileSecurityAnswer"))+"",qt,Vr,ut,Wr,Y,gt,_t,Xr,Ct,ct,nt,Et,St=e[18]("userEmail")+"",Zt,qr,Pe,Pt,ft,wt,Zr,it,At,v=e[18]("dateOfBirth")+"",C,R,H,K,$,j,ht,Z,Ke,Ge=e[18]("firstName")+"",Jt,Vi,Ne,Jr,Yt,Yr,Wi,xt,Kr,en=e[18]("lastName")+"",oi,Xi,De,tn,Kt,rn,qi,Bt,nn,on=e[18]("userTitle")+"",ai,Zi,Le,an,er,sn,Ji,kt,ln,un=e[18]("currency")+"",si,Yi,Re,cn,tr,fn,Ki,eo,hn,li,dn=e[18]("locationDetails")+"",ui,to,ee,Ot,pn,mn=e[18]("userCountry")+"",ci,ro,we,yn,rr,bn,vn,no,ze,gn,_n=e[18]("userCity")+"",fi,io,ne,Cn,En,oo,Sn,ao,$e,Pn,wn=e[18]("userAddress")+"",hi,so,ie,An,xn,lo,Bn,uo,Qe,kn,On=e[18]("userAddress2")+"",di,co,oe,In,Hn,fo,Tn,ho,Ve,Mn,Nn=e[18]("userPostalCode")+"",pi,po,ae,Dn,Ln,mo,Rn,yo,bo,mi=Object.keys(e[6].consents).length>0,yi,nr,It,jn=e[18]("userProfileSaveChanges")+"",bi,Un,Fn,vo,Gn,vi,go,se=e[5]&&ea(e),Ht=et(e[4]),te=[];for(let ge=0;ge<Ht.length;ge+=1)te[ge]=ta(Yo(e,Ht,ge));let le=!e[16]&&ra(e),ue=!e[14]&&na(e),ce=!e[15]&&ia(e),fe=e[6].iban.value&&oa(e),he=!e[10]&&aa(e),de=!e[12]&&sa(e),pe=!e[13]&&la(e),me=!e[11]&&ua(e),ye=e[1]==="true"&&ca(e),be=mi&&fa(e),ve=e[17]&&ya(e);return{c(){var ge,y,We,ir,or,ar,sr,lr,ur,cr,fr,hr,dr,pr,mr,yr,br,vr,gr,_r,Cr,Er,Sr,Pr,wr,Ar,xr,Br,kr,Or,Ir,Hr,Tr,Mr;t=p("form"),r=p("div"),se&&se.c(),n=E(),i=p("h2"),a=w(o),h=E(),c=p("div"),f=p("h3"),m=w(d),g=E(),_=p("section"),P=p("div"),I=p("label"),L=w(k),A=E(),M=p("input"),xe=E(),q=p("div"),Ee=p("label"),S=w(b),He=E(),D=p("div"),W=p("select");for(let Tt=0;Tt<te.length;Tt+=1)te[Tt].c();st=E(),V=p("input"),rt=E(),le&&le.c(),pt=E(),Se=p("div"),Ye=p("label"),Me=w(Te),zr=w(":"),mt=p("span"),mt.textContent="*",$r=E(),J=p("input"),Qr=E(),ue&&ue.c(),Xt=E(),Be=p("div"),Fe=p("label"),qt=w(lt),Vr=w(":"),ut=p("span"),ut.textContent="*",Wr=E(),Y=p("input"),Xr=E(),ce&&ce.c(),ct=E(),nt=p("div"),Et=p("label"),Zt=w(St),qr=E(),Pe=p("input"),Zr=E(),it=p("div"),At=p("label"),C=w(v),R=E(),H=p("input"),ht=E(),Z=p("div"),Ke=p("label"),Jt=w(Ge),Vi=E(),Ne=p("input"),Wi=E(),xt=p("div"),Kr=p("label"),oi=w(en),Xi=E(),De=p("input"),qi=E(),Bt=p("div"),nn=p("label"),ai=w(on),Zi=E(),Le=p("input"),Ji=E(),kt=p("div"),ln=p("label"),si=w(un),Yi=E(),Re=p("input"),Ki=E(),fe&&fe.c(),eo=E(),hn=p("div"),li=p("h3"),ui=w(dn),to=E(),ee=p("section"),Ot=p("div"),pn=p("label"),ci=w(mn),ro=E(),we=p("input"),no=E(),ze=p("div"),gn=p("label"),fi=w(_n),io=E(),ne=p("input"),oo=E(),he&&he.c(),ao=E(),$e=p("div"),Pn=p("label"),hi=w(wn),so=E(),ie=p("input"),lo=E(),de&&de.c(),uo=E(),Qe=p("div"),kn=p("label"),di=w(On),co=E(),oe=p("input"),fo=E(),pe&&pe.c(),ho=E(),Ve=p("div"),Mn=p("label"),pi=w(Nn),po=E(),ae=p("input"),mo=E(),me&&me.c(),yo=E(),ye&&ye.c(),bo=E(),be&&be.c(),yi=E(),nr=p("section"),It=p("button"),bi=w(jn),vo=E(),ve&&ve.c(),u(i,"class",l="MyAccountCategoryTitle "+(e[5]?"MyAccountCategoryTitleNone":"")),u(c,"class","PlayerNotificationsHeader"),u(M,"type","text"),u(M,"class",Q=`${(ge=e[6].username)!=null&&ge.readOnly?"FieldDisabled":""}`),M.value=z=(We=(y=e[6].username)==null?void 0:y.value)!=null?We:"",M.readOnly=Ce=(ir=e[6].username)==null?void 0:ir.readOnly,u(P,"class","PlayerInfoBox"),u(W,"class",je=`${(or=e[6].mobile)!=null&&or.readOnly?"FieldDisabled":""}`),W.disabled=qe=(ar=e[6].mobile)==null?void 0:ar.readOnly,e[6].mobile.prefix===void 0&&qn(()=>e[39].call(W)),u(V,"type","text"),u(V,"class",Ze=`${(sr=e[6].mobile)!=null&&sr.readOnly?"FieldDisabled":""}`),u(V,"placeholder",e[19].mobile.number),V.readOnly=Ue=(lr=e[6].mobile)==null?void 0:lr.readOnly,u(D,"class","PlayerPhoneNumber"),u(q,"class",Je="PlayerInfoBox "+(e[16]?"":"InvalidField")),u(mt,"class","FormRequired"),u(Ye,"for","SecurityQuestion"),u(J,"id","SecurityQuestion"),u(J,"type","text"),u(J,"class",yt=`${(ur=e[6].securityQuestion)!=null&&ur.readOnly?"FieldDisabled":""}`),u(J,"placeholder",e[19].securityQuestion),J.readOnly=bt=(cr=e[6].securityQuestion)==null?void 0:cr.readOnly,u(Se,"class",vt="PlayerInfoBox "+(e[14]?"":"InvalidField")),u(ut,"class","FormRequired"),u(Fe,"for","SecurityAnswer"),u(Y,"id","SecurityAnswer"),u(Y,"type","text"),u(Y,"class",gt=`${(fr=e[6].securityAnswer)!=null&&fr.readOnly?"FieldDisabled":""}`),u(Y,"placeholder",e[19].securityAnswer),Y.readOnly=_t=(hr=e[6].securityAnswer)==null?void 0:hr.readOnly,u(Be,"class",Ct="PlayerInfoBox "+(e[15]?"":"InvalidField")),u(Et,"for","UserEmail"),u(Pe,"id","UserEmail"),u(Pe,"type","email"),u(Pe,"class",Pt=`${(dr=e[6].email)!=null&&dr.readOnly?"FieldDisabled":""}`),Pe.value=ft=e[6].email.value,Pe.readOnly=wt=(pr=e[6].email)==null?void 0:pr.readOnly,u(nt,"class","PlayerInfoBox"),u(At,"for","DateOfBirth"),u(H,"id","DateOfBirth"),u(H,"type","text"),u(H,"class",K=`${(mr=e[6].birth)!=null&&mr.readOnly?"FieldDisabled":""}`),H.value=$=e[6].birth.value,H.readOnly=j=(yr=e[6].birth)==null?void 0:yr.readOnly,u(it,"class","PlayerInfoBox"),u(Ke,"for","FirstName"),u(Ne,"id","FirstName"),u(Ne,"type","text"),u(Ne,"class",Jr=`${(br=e[6].firstname)!=null&&br.readOnly?"FieldDisabled":""}`),Ne.value=Yt=e[6].firstname.value,Ne.readOnly=Yr=(vr=e[6].firstname)==null?void 0:vr.readOnly,u(Z,"class","PlayerInfoBox"),u(Kr,"for","LastName"),u(De,"id","LastName"),u(De,"type","text"),u(De,"class",tn=`${(gr=e[6].lastname)!=null&&gr.readOnly?"FieldDisabled":""}`),De.value=Kt=e[6].lastname.value,De.readOnly=rn=(_r=e[6].lastname)==null?void 0:_r.readOnly,u(xt,"class","PlayerInfoBox"),u(nn,"for","UserTitle"),u(Le,"id","UserTitle"),u(Le,"type","text"),u(Le,"class",an=`${(Cr=e[6].title)!=null&&Cr.readOnly?"FieldDisabled":""}`),Le.value=er=e[6].title.value,Le.readOnly=sn=(Er=e[6].title)==null?void 0:Er.readOnly,u(Bt,"class","PlayerInfoBox"),u(ln,"for","Currrency"),u(Re,"id","Currency"),u(Re,"type","text"),u(Re,"class",cn=`${(Sr=e[6].currency)!=null&&Sr.readOnly?"FieldDisabled":""}`),Re.value=tr=e[6].currency.value,Re.readOnly=fn=(Pr=e[6].currency)==null?void 0:Pr.readOnly,u(kt,"class","PlayerInfoBox"),u(_,"class","PlayerDetailsContent"),u(hn,"class","PlayerLocationHeader"),u(pn,"for","UserCountry"),u(we,"id","UserCountry"),u(we,"type","text"),u(we,"class",yn=`PlayerCountry ${(wr=e[6].country)!=null&&wr.readOnly?"FieldDisabled":""}`),we.value=rr=e[6].country.countryName,u(we,"placeholder",bn=e[6].country.countryCode),we.readOnly=vn=(Ar=e[6].country)==null?void 0:Ar.readOnly,u(Ot,"class","PlayerInfoBox"),u(gn,"for","UserCity"),u(ne,"id","UserCity"),u(ne,"type","text"),u(ne,"class",Cn=`${(xr=e[6].city)!=null&&xr.readOnly?"FieldDisabled":""}`),u(ne,"placeholder",e[19].city),ne.readOnly=En=(Br=e[6].city)==null?void 0:Br.readOnly,u(ze,"class",Sn="PlayerInfoBox "+(e[10]?"":"InvalidField")),u(Pn,"for","UserAddress"),u(ie,"id","UserAddress"),u(ie,"type","text"),u(ie,"class",An=`${(kr=e[6].address1)!=null&&kr.readOnly?"FieldDisabled":""}`),u(ie,"placeholder",e[19].address1),ie.readOnly=xn=(Or=e[6].address1)==null?void 0:Or.readOnly,u($e,"class",Bn="PlayerInfoBox "+(e[12]?"":"InvalidField")),u(kn,"for","UserAddress"),u(oe,"id","UserAddress2"),u(oe,"type","text"),u(oe,"class",In=`${(Ir=e[6].address2)!=null&&Ir.readOnly?"FieldDisabled":""}`),u(oe,"placeholder",e[19].address2),oe.readOnly=Hn=(Hr=e[6].address2)==null?void 0:Hr.readOnly,u(Qe,"class",Tn="PlayerInfoBox "+(e[13]?"":"InvalidField")),u(Mn,"for","UserPostalCode"),u(ae,"id","UserPostalCode"),u(ae,"type","text"),u(ae,"class",Dn=`${(Tr=e[6].postalCode)!=null&&Tr.readOnly?"FieldDisabled":""}`),u(ae,"placeholder",e[19].postalCode),ae.readOnly=Ln=(Mr=e[6].postalCode)==null?void 0:Mr.readOnly,u(Ve,"class",Rn="PlayerInfoBox "+(e[11]?"":"InvalidField")),u(ee,"class","PlayerLocationContent"),u(It,"class",Un="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled")),u(nr,"class",Fn="PlayerDetailsButtonsArea "+(e[5]?"PlayerDetailsButtonsAreaMobile":"")),u(r,"class","PlayerFadeInWarapper"),u(t,"class",Gn="PlayerInfoWrapper "+(e[5]?"PlayerInfoWrapperMobile":""))},m(ge,y){N(ge,t,y),s(t,r),se&&se.m(r,null),s(r,n),s(r,i),s(i,a),s(r,h),s(r,c),s(c,f),s(f,m),s(r,g),s(r,_),s(_,P),s(P,I),s(I,L),s(P,A),s(P,M),s(_,xe),s(_,q),s(q,Ee),s(Ee,S),s(q,He),s(q,D),s(D,W);for(let We=0;We<te.length;We+=1)te[We]&&te[We].m(W,null);Ao(W,e[6].mobile.prefix,!0),s(D,st),s(D,V),X(V,e[6].mobile.number),s(q,rt),le&&le.m(q,null),s(_,pt),s(_,Se),s(Se,Ye),s(Ye,Me),s(Ye,zr),s(Ye,mt),s(Se,$r),s(Se,J),X(J,e[6].securityQuestion.value),s(Se,Qr),ue&&ue.m(Se,null),s(_,Xt),s(_,Be),s(Be,Fe),s(Fe,qt),s(Fe,Vr),s(Fe,ut),s(Be,Wr),s(Be,Y),X(Y,e[6].securityAnswer.value),s(Be,Xr),ce&&ce.m(Be,null),s(_,ct),s(_,nt),s(nt,Et),s(Et,Zt),s(nt,qr),s(nt,Pe),s(_,Zr),s(_,it),s(it,At),s(At,C),s(it,R),s(it,H),s(_,ht),s(_,Z),s(Z,Ke),s(Ke,Jt),s(Z,Vi),s(Z,Ne),s(_,Wi),s(_,xt),s(xt,Kr),s(Kr,oi),s(xt,Xi),s(xt,De),s(_,qi),s(_,Bt),s(Bt,nn),s(nn,ai),s(Bt,Zi),s(Bt,Le),s(_,Ji),s(_,kt),s(kt,ln),s(ln,si),s(kt,Yi),s(kt,Re),s(_,Ki),fe&&fe.m(_,null),s(r,eo),s(r,hn),s(hn,li),s(li,ui),s(r,to),s(r,ee),s(ee,Ot),s(Ot,pn),s(pn,ci),s(Ot,ro),s(Ot,we),s(ee,no),s(ee,ze),s(ze,gn),s(gn,fi),s(ze,io),s(ze,ne),X(ne,e[6].city.value),s(ze,oo),he&&he.m(ze,null),s(ee,ao),s(ee,$e),s($e,Pn),s(Pn,hi),s($e,so),s($e,ie),X(ie,e[6].address1.value),s($e,lo),de&&de.m($e,null),s(ee,uo),s(ee,Qe),s(Qe,kn),s(kn,di),s(Qe,co),s(Qe,oe),X(oe,e[6].address2.value),s(Qe,fo),pe&&pe.m(Qe,null),s(ee,ho),s(ee,Ve),s(Ve,Mn),s(Mn,pi),s(Ve,po),s(Ve,ae),X(ae,e[6].postalCode.value),s(Ve,mo),me&&me.m(Ve,null),s(ee,yo),ye&&ye.m(ee,null),s(r,bo),be&&be.m(r,null),s(r,yi),s(r,nr),s(nr,It),s(It,bi),s(r,vo),ve&&ve.m(r,null),vi||(go=[F(W,"change",e[39]),F(W,"change",e[20]),F(V,"input",e[40]),F(V,"keyup",e[21]("mobileNumber")),F(V,"input",function(){$t(e[6].mobile.number=e[6].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[6].mobile.number=e[6].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),F(J,"input",e[41]),F(J,"keyup",e[21]("securityQuestion")),F(Y,"input",e[42]),F(Y,"keyup",e[21]("securityAnswer")),F(ne,"input",e[43]),F(ne,"keyup",e[21]("city")),F(ie,"input",e[44]),F(ie,"keyup",e[21]("address")),F(oe,"input",e[45]),F(oe,"keyup",e[21]("address")),F(ae,"input",e[46]),F(ae,"keyup",e[21]("postalCode")),F(It,"click",e[22])],vi=!0)},p(ge,y){var We,ir,or,ar,sr,lr,ur,cr,fr,hr,dr,pr,mr,yr,br,vr,gr,_r,Cr,Er,Sr,Pr,wr,Ar,xr,Br,kr,Or,Ir,Hr,Tr,Mr,Tt,_o;if(e=ge,e[5]?se?se.p(e,y):(se=ea(e),se.c(),se.m(r,n)):se&&(se.d(1),se=null),y[0]&262144&&o!==(o=e[18]("titleProfileInfo")+"")&&B(a,o),y[0]&32&&l!==(l="MyAccountCategoryTitle "+(e[5]?"MyAccountCategoryTitleNone":""))&&u(i,"class",l),y[0]&262144&&d!==(d=e[18]("personalDetails")+"")&&B(m,d),y[0]&262144&&k!==(k=e[18]("userName")+"")&&B(L,k),y[0]&80&&Q!==(Q=`${(We=e[6].username)!=null&&We.readOnly?"FieldDisabled":""}`)&&u(M,"class",Q),y[0]&80&&z!==(z=(or=(ir=e[6].username)==null?void 0:ir.value)!=null?or:"")&&M.value!==z&&(M.value=z),y[0]&80&&Ce!==(Ce=(ar=e[6].username)==null?void 0:ar.readOnly)&&(M.readOnly=Ce),y[0]&262144&&b!==(b=e[18]("userPhone")+"")&&B(S,b),y[0]&80){Ht=et(e[4]);let ke;for(ke=0;ke<Ht.length;ke+=1){const Co=Yo(e,Ht,ke);te[ke]?te[ke].p(Co,y):(te[ke]=ta(Co),te[ke].c(),te[ke].m(W,null))}for(;ke<te.length;ke+=1)te[ke].d(1);te.length=Ht.length}y[0]&80&&je!==(je=`${(sr=e[6].mobile)!=null&&sr.readOnly?"FieldDisabled":""}`)&&u(W,"class",je),y[0]&80&&qe!==(qe=(lr=e[6].mobile)==null?void 0:lr.readOnly)&&(W.disabled=qe),y[0]&80&&Ao(W,e[6].mobile.prefix),y[0]&80&&Ze!==(Ze=`${(ur=e[6].mobile)!=null&&ur.readOnly?"FieldDisabled":""}`)&&u(V,"class",Ze),y[0]&80&&Ue!==(Ue=(cr=e[6].mobile)==null?void 0:cr.readOnly)&&(V.readOnly=Ue),y[0]&80&&V.value!==e[6].mobile.number&&X(V,e[6].mobile.number),e[16]?le&&(le.d(1),le=null):le?le.p(e,y):(le=ra(e),le.c(),le.m(q,null)),y[0]&65536&&Je!==(Je="PlayerInfoBox "+(e[16]?"":"InvalidField"))&&u(q,"class",Je),y[0]&262145&&Te!==(Te=(e[0]=="true"?e[18]("profileSecurityQuestion2"):e[18]("profileSecurityQuestion"))+"")&&B(Me,Te),y[0]&80&&yt!==(yt=`${(fr=e[6].securityQuestion)!=null&&fr.readOnly?"FieldDisabled":""}`)&&u(J,"class",yt),y[0]&80&&bt!==(bt=(hr=e[6].securityQuestion)==null?void 0:hr.readOnly)&&(J.readOnly=bt),y[0]&80&&J.value!==e[6].securityQuestion.value&&X(J,e[6].securityQuestion.value),e[14]?ue&&(ue.d(1),ue=null):ue?ue.p(e,y):(ue=na(e),ue.c(),ue.m(Se,null)),y[0]&16384&&vt!==(vt="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&u(Se,"class",vt),y[0]&262145&<!==(lt=(e[0]=="true"?e[18]("profileSecurityAnswer2"):e[18]("profileSecurityAnswer"))+"")&&B(qt,lt),y[0]&80&>!==(gt=`${(dr=e[6].securityAnswer)!=null&&dr.readOnly?"FieldDisabled":""}`)&&u(Y,"class",gt),y[0]&80&&_t!==(_t=(pr=e[6].securityAnswer)==null?void 0:pr.readOnly)&&(Y.readOnly=_t),y[0]&80&&Y.value!==e[6].securityAnswer.value&&X(Y,e[6].securityAnswer.value),e[15]?ce&&(ce.d(1),ce=null):ce?ce.p(e,y):(ce=ia(e),ce.c(),ce.m(Be,null)),y[0]&32768&&Ct!==(Ct="PlayerInfoBox "+(e[15]?"":"InvalidField"))&&u(Be,"class",Ct),y[0]&262144&&St!==(St=e[18]("userEmail")+"")&&B(Zt,St),y[0]&80&&Pt!==(Pt=`${(mr=e[6].email)!=null&&mr.readOnly?"FieldDisabled":""}`)&&u(Pe,"class",Pt),y[0]&80&&ft!==(ft=e[6].email.value)&&Pe.value!==ft&&(Pe.value=ft),y[0]&80&&wt!==(wt=(yr=e[6].email)==null?void 0:yr.readOnly)&&(Pe.readOnly=wt),y[0]&262144&&v!==(v=e[18]("dateOfBirth")+"")&&B(C,v),y[0]&80&&K!==(K=`${(br=e[6].birth)!=null&&br.readOnly?"FieldDisabled":""}`)&&u(H,"class",K),y[0]&80&&$!==($=e[6].birth.value)&&H.value!==$&&(H.value=$),y[0]&80&&j!==(j=(vr=e[6].birth)==null?void 0:vr.readOnly)&&(H.readOnly=j),y[0]&262144&&Ge!==(Ge=e[18]("firstName")+"")&&B(Jt,Ge),y[0]&80&&Jr!==(Jr=`${(gr=e[6].firstname)!=null&&gr.readOnly?"FieldDisabled":""}`)&&u(Ne,"class",Jr),y[0]&80&&Yt!==(Yt=e[6].firstname.value)&&Ne.value!==Yt&&(Ne.value=Yt),y[0]&80&&Yr!==(Yr=(_r=e[6].firstname)==null?void 0:_r.readOnly)&&(Ne.readOnly=Yr),y[0]&262144&&en!==(en=e[18]("lastName")+"")&&B(oi,en),y[0]&80&&tn!==(tn=`${(Cr=e[6].lastname)!=null&&Cr.readOnly?"FieldDisabled":""}`)&&u(De,"class",tn),y[0]&80&&Kt!==(Kt=e[6].lastname.value)&&De.value!==Kt&&(De.value=Kt),y[0]&80&&rn!==(rn=(Er=e[6].lastname)==null?void 0:Er.readOnly)&&(De.readOnly=rn),y[0]&262144&&on!==(on=e[18]("userTitle")+"")&&B(ai,on),y[0]&80&&an!==(an=`${(Sr=e[6].title)!=null&&Sr.readOnly?"FieldDisabled":""}`)&&u(Le,"class",an),y[0]&80&&er!==(er=e[6].title.value)&&Le.value!==er&&(Le.value=er),y[0]&80&&sn!==(sn=(Pr=e[6].title)==null?void 0:Pr.readOnly)&&(Le.readOnly=sn),y[0]&262144&&un!==(un=e[18]("currency")+"")&&B(si,un),y[0]&80&&cn!==(cn=`${(wr=e[6].currency)!=null&&wr.readOnly?"FieldDisabled":""}`)&&u(Re,"class",cn),y[0]&80&&tr!==(tr=e[6].currency.value)&&Re.value!==tr&&(Re.value=tr),y[0]&80&&fn!==(fn=(Ar=e[6].currency)==null?void 0:Ar.readOnly)&&(Re.readOnly=fn),e[6].iban.value?fe?fe.p(e,y):(fe=oa(e),fe.c(),fe.m(_,null)):fe&&(fe.d(1),fe=null),y[0]&262144&&dn!==(dn=e[18]("locationDetails")+"")&&B(ui,dn),y[0]&262144&&mn!==(mn=e[18]("userCountry")+"")&&B(ci,mn),y[0]&80&&yn!==(yn=`PlayerCountry ${(xr=e[6].country)!=null&&xr.readOnly?"FieldDisabled":""}`)&&u(we,"class",yn),y[0]&80&&rr!==(rr=e[6].country.countryName)&&we.value!==rr&&(we.value=rr),y[0]&80&&bn!==(bn=e[6].country.countryCode)&&u(we,"placeholder",bn),y[0]&80&&vn!==(vn=(Br=e[6].country)==null?void 0:Br.readOnly)&&(we.readOnly=vn),y[0]&262144&&_n!==(_n=e[18]("userCity")+"")&&B(fi,_n),y[0]&80&&Cn!==(Cn=`${(kr=e[6].city)!=null&&kr.readOnly?"FieldDisabled":""}`)&&u(ne,"class",Cn),y[0]&80&&En!==(En=(Or=e[6].city)==null?void 0:Or.readOnly)&&(ne.readOnly=En),y[0]&80&&ne.value!==e[6].city.value&&X(ne,e[6].city.value),e[10]?he&&(he.d(1),he=null):he?he.p(e,y):(he=aa(e),he.c(),he.m(ze,null)),y[0]&1024&&Sn!==(Sn="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&u(ze,"class",Sn),y[0]&262144&&wn!==(wn=e[18]("userAddress")+"")&&B(hi,wn),y[0]&80&&An!==(An=`${(Ir=e[6].address1)!=null&&Ir.readOnly?"FieldDisabled":""}`)&&u(ie,"class",An),y[0]&80&&xn!==(xn=(Hr=e[6].address1)==null?void 0:Hr.readOnly)&&(ie.readOnly=xn),y[0]&80&&ie.value!==e[6].address1.value&&X(ie,e[6].address1.value),e[12]?de&&(de.d(1),de=null):de?de.p(e,y):(de=sa(e),de.c(),de.m($e,null)),y[0]&4096&&Bn!==(Bn="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&u($e,"class",Bn),y[0]&262144&&On!==(On=e[18]("userAddress2")+"")&&B(di,On),y[0]&80&&In!==(In=`${(Tr=e[6].address2)!=null&&Tr.readOnly?"FieldDisabled":""}`)&&u(oe,"class",In),y[0]&80&&Hn!==(Hn=(Mr=e[6].address2)==null?void 0:Mr.readOnly)&&(oe.readOnly=Hn),y[0]&80&&oe.value!==e[6].address2.value&&X(oe,e[6].address2.value),e[13]?pe&&(pe.d(1),pe=null):pe?pe.p(e,y):(pe=la(e),pe.c(),pe.m(Qe,null)),y[0]&8192&&Tn!==(Tn="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&u(Qe,"class",Tn),y[0]&262144&&Nn!==(Nn=e[18]("userPostalCode")+"")&&B(pi,Nn),y[0]&80&&Dn!==(Dn=`${(Tt=e[6].postalCode)!=null&&Tt.readOnly?"FieldDisabled":""}`)&&u(ae,"class",Dn),y[0]&80&&Ln!==(Ln=(_o=e[6].postalCode)==null?void 0:_o.readOnly)&&(ae.readOnly=Ln),y[0]&80&&ae.value!==e[6].postalCode.value&&X(ae,e[6].postalCode.value),e[11]?me&&(me.d(1),me=null):me?me.p(e,y):(me=ua(e),me.c(),me.m(Ve,null)),y[0]&2048&&Rn!==(Rn="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&u(Ve,"class",Rn),e[1]==="true"?ye?ye.p(e,y):(ye=ca(e),ye.c(),ye.m(ee,null)):ye&&(ye.d(1),ye=null),y[0]&64&&(mi=Object.keys(e[6].consents).length>0),mi?be?be.p(e,y):(be=fa(e),be.c(),be.m(r,yi)):be&&(be.d(1),be=null),y[0]&262144&&jn!==(jn=e[18]("userProfileSaveChanges")+"")&&B(bi,jn),y[0]&768&&Un!==(Un="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled"))&&u(It,"class",Un),y[0]&32&&Fn!==(Fn="PlayerDetailsButtonsArea "+(e[5]?"PlayerDetailsButtonsAreaMobile":""))&&u(nr,"class",Fn),e[17]?ve?ve.p(e,y):(ve=ya(e),ve.c(),ve.m(r,null)):ve&&(ve.d(1),ve=null),y[0]&32&&Gn!==(Gn="PlayerInfoWrapper "+(e[5]?"PlayerInfoWrapperMobile":""))&&u(t,"class",Gn)},d(ge){ge&&T(t),se&&se.d(),Rt(te,ge),le&&le.d(),ue&&ue.d(),ce&&ce.d(),fe&&fe.d(),he&&he.d(),de&&de.d(),pe&&pe.d(),me&&me.d(),ye&&ye.d(),be&&be.d(),ve&&ve.d(),vi=!1,at(go)}}}function ea(e){let t,r,n,i,o,a,l,h,c,f,d=e[18]("titleProfileInfo")+"",m,g,_;return{c(){t=p("div"),r=Mt("svg"),n=Mt("defs"),i=Mt("style"),o=w(`.aaa {
|
|
19
19
|
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
20
20
|
}
|
|
21
|
-
`),a=Mt("g"),l=Mt("g"),h=Mt("path"),c=E(),f=p("h2"),m=w(d),u(h,"class","aaa"),u(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),u(h,"transform","translate(15 15) rotate(180)"),u(l,"transform","translate(20 158)"),u(a,"transform","translate(-20 -158)"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(r,"width","15"),u(r,"height","15"),u(r,"viewBox","0 0 15 15"),u(f,"class","MyAccountCategoryTitleMobile"),u(t,"class","MenuReturnButton")},m(P,I){N(P,t,I),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,l),s(l,h),s(t,c),s(t,f),s(f,m),g||(_=[F(t,"click",e[23]),F(t,"keyup",null)],g=!0)},p(P,I){I[0]&262144&&d!==(d=P[18]("titleProfileInfo")+"")&&B(m,d)},d(P){P&&T(t),g=!1,at(_)}}}function Gu(e){let t,r=e[84].Prefix+"",n,i;return{c(){t=p("option"),n=w(r),t.__value=i=e[84].Prefix,X(t,t.__value)},m(o,a){N(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[84].Prefix+"")&&B(n,r),a[0]&16&&i!==(i=o[84].Prefix)&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function zu(e){let t,r=e[84].Prefix+"",n,i;return{c(){t=p("option"),n=w(r),t.selected=!0,t.__value=i=e[84].Prefix,X(t,t.__value)},m(o,a){N(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[84].Prefix+"")&&B(n,r),a[0]&16&&i!==(i=o[84].Prefix)&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function ta(e){let t;function r(o,a){return o[84].Prefix===o[6].mobile.prefix?zu:Gu}let n=r(e),i=n(e);return{c(){i.c(),t=Ca()},m(o,a){i.m(o,a),N(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&T(t),i.d(o)}}}function ra(e){let t,r=e[18]("userPhoneError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userPhoneError")+"")&&B(n,r)},d(i){i&&T(t)}}}function na(e){let t,r=(e[0]=="true"?e[18]("profileSecurityQuestionError2"):e[18]("profileSecurityQuestionError"))+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262145&&r!==(r=(i[0]=="true"?i[18]("profileSecurityQuestionError2"):i[18]("profileSecurityQuestionError"))+"")&&B(n,r)},d(i){i&&T(t)}}}function ia(e){let t,r=(e[0]=="true"?e[18]("profileSecurityAnswerError2"):e[18]("profileSecurityAnswerError"))+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262145&&r!==(r=(i[0]=="true"?i[18]("profileSecurityAnswerError2"):i[18]("profileSecurityAnswerError"))+"")&&B(n,r)},d(i){i&&T(t)}}}function oa(e){let t,r,n=e[18]("iban")+"",i,o,a,l,h,c;return{c(){var f,d;t=p("div"),r=p("label"),i=w(n),o=E(),a=p("input"),u(r,"for","Iban"),u(a,"id","Iban"),u(a,"type","text"),u(a,"class",l=`${(f=e[6].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=h=e[6].iban.value,a.readOnly=c=(d=e[6].iban)==null?void 0:d.readOnly,u(t,"class","PlayerInfoBox")},m(f,d){N(f,t,d),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,d){var m,g;d[0]&262144&&n!==(n=f[18]("iban")+"")&&B(i,n),d[0]&80&&l!==(l=`${(m=f[6].iban)!=null&&m.readOnly?"FieldDisabled":""}`)&&u(a,"class",l),d[0]&80&&h!==(h=f[6].iban.value)&&a.value!==h&&(a.value=h),d[0]&80&&c!==(c=(g=f[6].iban)==null?void 0:g.readOnly)&&(a.readOnly=c)},d(f){f&&T(t)}}}function aa(e){let t,r=e[18]("userCityError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userCityError")+"")&&B(n,r)},d(i){i&&T(t)}}}function sa(e){let t,r=e[18]("userAddressError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userAddressError")+"")&&B(n,r)},d(i){i&&T(t)}}}function la(e){let t,r=e[18]("userAddressError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userAddressError")+"")&&B(n,r)},d(i){i&&T(t)}}}function ua(e){let t,r=e[18]("userPostalCodeError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userPostalCodeError")+"")&&B(n,r)},d(i){i&&T(t)}}}function ca(e){let t,r=e[18]("locationDetailsDescription")+"",n;return{c(){t=p("div"),n=w(r),u(t,"class","LocationDetailsDescription")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("locationDetailsDescription")+"")&&B(n,r)},d(i){i&&T(t)}}}function fa(e){var c;let t,r,n=e[18]("userNotifications")+"",i,o,a,l=et(Object.keys((c=e[6].consents)!=null?c:{})),h=[];for(let f=0;f<l.length;f+=1)h[f]=ma(Zo(e,l,f));return{c(){t=p("div"),r=p("h3"),i=w(n),o=E(),a=p("section");for(let f=0;f<h.length;f+=1)h[f].c();u(t,"class","PlayerNotificationsHeader"),u(a,"class","PlayerNotificationsCheckboxArea")},m(f,d){N(f,t,d),s(t,r),s(r,i),N(f,o,d),N(f,a,d);for(let m=0;m<h.length;m+=1)h[m]&&h[m].m(a,null)},p(f,d){var m;if(d[0]&262144&&n!==(n=f[18]("userNotifications")+"")&&B(i,n),d[0]&50593984){l=et(Object.keys((m=f[6].consents)!=null?m:{}));let g;for(g=0;g<l.length;g+=1){const _=Zo(f,l,g);h[g]?h[g].p(_,d):(h[g]=ma(_),h[g].c(),h[g].m(a,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=l.length}},d(f){f&&(T(t),T(o),T(a)),Rt(h,f)}}}function ha(e){var h;let t,r=Object.keys((h=e[6].consents)!=null?h:{}).length>1,n,i,o=r&&da(e),a=et(e[6].consents[e[78]]),l=[];for(let c=0;c<a.length;c+=1)l[c]=pa(Jo(e,a,c));return{c(){t=p("div"),o&&o.c(),n=E();for(let c=0;c<l.length;c+=1)l[c].c();i=E(),u(t,"class","ConsentGroup")},m(c,f){N(c,t,f),o&&o.m(t,null),s(t,n);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(t,null);s(t,i)},p(c,f){var d;if(f[0]&64&&(r=Object.keys((d=c[6].consents)!=null?d:{}).length>1),r?o?o.p(c,f):(o=da(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),f[0]&33816768){a=et(c[6].consents[c[78]]);let m;for(m=0;m<a.length;m+=1){const g=Jo(c,a,m);l[m]?l[m].p(g,f):(l[m]=pa(g),l[m].c(),l[m].m(t,i))}for(;m<l.length;m+=1)l[m].d(1);l.length=a.length}},d(c){c&&T(t),o&&o.d(),Rt(l,c)}}}function da(e){let t,r,n,i,o=e[78],a,l,h,c,f=e[18](`consentCategoryHeader${e[78]}`)+"",d,m,g;const _=()=>e[47](n,o),P=()=>e[47](null,o);return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),l=p("span"),h=E(),c=p("span"),d=w(f),n.checked=i=e[6].consents[e[78]].every(ba),u(n,"type","checkbox"),u(l,"class","Checkmark"),u(t,"class","PlayerNotificationBox Parent")},m(I,k){N(I,t,k),s(t,r),s(r,n),_(),s(r,a),s(r,l),s(r,h),s(r,c),s(c,d),m||(g=F(n,"change",function(){$t(e[24](e[78]))&&e[24](e[78]).apply(this,arguments)}),m=!0)},p(I,k){e=I,k[0]&80&&i!==(i=e[6].consents[e[78]].every(ba))&&(n.checked=i),o!==e[78]&&(P(),o=e[78],_()),k[0]&262208&&f!==(f=e[18](`consentCategoryHeader${e[78]}`)+"")&&B(d,f)},d(I){I&&T(t),P(),m=!1,g()}}}function pa(e){let t,r,n,i=e[78],o=e[81],a,l,h,c,f=e[18](`${e[81].tagCode}Consent`)+"",d,m,g,_;const P=()=>e[48](n,i,o),I=()=>e[48](null,i,o);function k(){e[49].call(n,e[82],e[83])}return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),l=p("span"),h=E(),c=p("span"),d=w(f),u(n,"type","checkbox"),u(l,"class","Checkmark"),u(t,"class",m="PlayerNotificationBox "+(Object.keys(e[6].consents).length>1?"Child":""))},m(L,A){N(L,t,A),s(t,r),s(r,n),P(),n.checked=e[81].status,s(r,a),s(r,l),s(r,h),s(r,c),s(c,d),g||(_=[F(n,"change",k),F(n,"change",function(){$t(e[25](e[78]))&&e[25](e[78]).apply(this,arguments)})],g=!0)},p(L,A){e=L,(i!==e[78]||o!==e[81])&&(I(),i=e[78],o=e[81],P()),A[0]&80&&(n.checked=e[81].status),A[0]&262208&&f!==(f=e[18](`${e[81].tagCode}Consent`)+"")&&B(d,f),A[0]&80&&m!==(m="PlayerNotificationBox "+(Object.keys(e[6].consents).length>1?"Child":""))&&u(t,"class",m)},d(L){L&&T(t),I(),g=!1,at(_)}}}function ma(e){var n;let t,r=((n=e[6].consents[e[78]])==null?void 0:n.length)>0&&ha(e);return{c(){r&&r.c(),t=Ca()},m(i,o){r&&r.m(i,o),N(i,t,o)},p(i,o){var a;((a=i[6].consents[i[78]])==null?void 0:a.length)>0?r?r.p(i,o):(r=ha(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&T(t),r&&r.d(i)}}}function ya(e){let t,r,n=e[18]("userProfileConfirmationMessage")+"",i;return{c(){t=p("section"),r=p("p"),i=w(n),u(r,"class","PlayerDetailsConfirmSaveText"),u(t,"class","PlayerDetailsConfirmSave")},m(o,a){N(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&262144&&n!==(n=o[18]("userProfileConfirmationMessage")+"")&&B(i,n)},d(o){o&&T(t)}}}function $u(e){let t,r,n,i,o,a,l,h,c,f,d,m,g,_,P,I,k,L,A,M,Q=et({length:10}),z=[];for(let S=0;S<Q.length;S+=1)z[S]=ju(Ru(e,Q,S));let Ce=et({length:4}),xe=[];for(let S=0;S<Ce.length;S+=1)xe[S]=Uu(Lu(e,Ce,S));let q=et({length:4}),Ee=[];for(let S=0;S<q.length;S+=1)Ee[S]=Fu(Du(e,q,S));let b=!e[3]&&Ko(e);return{c(){t=p("div"),r=p("div"),n=p("div"),n.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',i=E(),o=p("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=E(),l=p("div");for(let S=0;S<z.length;S+=1)z[S].c();h=E(),c=p("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=E(),d=p("div");for(let S=0;S<xe.length;S+=1)xe[S].c();m=E(),g=p("div"),g.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',_=E(),P=p("div");for(let S=0;S<Ee.length;S+=1)Ee[S].c();I=E(),k=p("div"),k.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',A=E(),M=p("div"),b&&b.c(),u(n,"class","skeletonHeaderText"),u(o,"class","skeletonSectionText"),u(l,"class","skeletonSectionContainer"),u(c,"class","skeletonSectionText"),u(d,"class","skeletonSectionContainer"),u(g,"class","skeletonSectionText"),u(P,"class","skeletonConsentsContainer"),u(k,"class","skeletonButton"),u(r,"class","skeletonWrapper"),u(t,"class",L="skeletonContainer "+(e[3]?"":"Hidden"))},m(S,He){N(S,t,He),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,l);for(let D=0;D<z.length;D+=1)z[D]&&z[D].m(l,null);s(r,h),s(r,c),s(r,f),s(r,d);for(let D=0;D<xe.length;D+=1)xe[D]&&xe[D].m(d,null);s(r,m),s(r,g),s(r,_),s(r,P);for(let D=0;D<Ee.length;D+=1)Ee[D]&&Ee[D].m(P,null);s(r,I),s(r,k),N(S,A,He),N(S,M,He),b&&b.m(M,null),e[50](M)},p(S,He){He[0]&8&&L!==(L="skeletonContainer "+(S[3]?"":"Hidden"))&&u(t,"class",L),S[3]?b&&(b.d(1),b=null):b?b.p(S,He):(b=Ko(S),b.c(),b.m(M,null))},i:_e,o:_e,d(S){S&&(T(t),T(A),T(M)),Rt(z,S),Rt(xe,S),Rt(Ee,S),b&&b.d(),e[50](null)}}}const ba=e=>e.status;function Qu(e,t,r){let n;as(e,mu,v=>r(18,n=v));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:l="en"}=t,{clientstyling:h}=t,{clientstylingurl:c}=t,{mbsource:f}=t,{translationurl:d}=t,{custominputtextswitch:m="false"}=t,{showlocationdetailsdescription:g="false"}=t,{disabledfields:_="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,P,I=!0,k=[],L=[],A={},M=[],Q=[],z,Ce,xe=window.navigator.userAgent,q=!1;const Ee={address1:"i.e.: Glanmire Rd.",address2:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},b={},S={},He=["Marketing","Casino","Sports","Bingo"];let D=!1,W=!1,je=!0,qe=!0,st=!0,V=!0,Ze=!0,Ue=!0,rt=!0,Je=!0,pt=!1,Se=[];const Ye={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const Te=v=>{try{return JSON.stringify(v)}catch(C){return null}},Me=v=>Ie(this,null,function*(){try{const C=new URL(v),H={method:"GET",headers:new Headers({"X-SessionID":o})},K=yield fetch(C.href,H);if(!K.ok)throw new Error(`HTTP error! Status: ${K.status}`);return yield K.json()}catch(C){throw console.error("Fetch error:",C),C}});function zr(){return Ie(this,null,function*(){r(36,A=yield Me(`${a}/v1/player/${i}/profile`))})}function mt(){return Ie(this,null,function*(){r(37,M=(yield Me(`${a}/v1/player/${i}/consent`)).items)})}function $r(){return Ie(this,null,function*(){r(38,Q=(yield Me(`${a}/v1/player/consentRequirements`)).items)})}function J(){return Ie(this,null,function*(){r(35,L=(yield Me(`${a}/v1/player/countries`)).countries)})}const yt=()=>{Object.keys(A).forEach(C=>{var R,H,K,$,j,ht;switch(r(6,b[C]={},b),C){case"birth":const Z=((R=A[C])==null?void 0:R.day)||"",Ke=((H=A[C])==null?void 0:H.month)||"",Ge=((K=A[C])==null?void 0:K.year)||"";r(6,b[C].value=`${Z}/${Ke}/${Ge}`,b);break;case"country":r(6,b[C].countryName=(($=L.find(Jt=>Jt.Alpha2Code===A.country))==null?void 0:$.Name)||"I.E. Ireland",b),r(6,b[C].countryCode=A.country||"",b);break;case"mobile":r(6,b[C].prefix=(j=A.mobile)==null?void 0:j.prefix,b),r(6,b[C].number=(ht=A.mobile)==null?void 0:ht.number,b);break;default:r(6,b[C].value=A[C],b)}r(6,b[C].readOnly=Se.includes(C),b)}),r(6,b.consents={},b),Q.forEach(C=>{if(He.includes(C.category)&&!C.mustAccept){const R=M.find(H=>H.tagCode===C.tagCode);r(6,b.consents[C.category]=b.consents[C.category]||[],b),R?b.consents[C.category].push({tagCode:R.tagCode,status:R.status==="Accepted"}):b.consents[C.category].push({tagCode:C.tagCode,status:!1})}});const v=b.consents;for(const[C,R]of Object.entries(v))S[C]||(r(7,S[C]={},S),r(7,S[C].parent=null,S),R.forEach(H=>r(7,S[C][H.tagCode]=null,S)));Ce=Te(b),z=Te(b.consents),r(3,I=!1)},bt=v=>v.split(","),Qr=()=>{fetch(`${a}/v1/player/phonecodes`).then(v=>v.json()).then(v=>{r(4,k=v.phoneCodes)})},vt=()=>{r(9,je=!1),Ue&&rt&&qe&&V&&Ze&&st&&Je&&r(9,je=!0)},Xt=()=>{r(8,D=Te(b)!==Ce)},Be=()=>{W=Te(b.consents)!==z},Fe=v=>()=>{switch(v){case"mobileNumber":r(16,Je=!1),b.mobile.number&&b.mobile.number.length>=5&&b.mobile.number.length<=12&&r(16,Je=!0);break;case"city":r(10,qe=!1),b.city.value&&b.city.value.length<=50&&r(10,qe=!0);break;case"postalCode":r(11,st=!1),b.postalCode.value&&b.postalCode.value.length<=20&&r(11,st=!0);break;case"address":r(12,V=!1),b.address1.value&&b.address1.value.length<=100&&r(12,V=!0);break;case"address2":r(13,Ze=!1),b.address2.value&&b.address2.value.length<=100&&r(13,Ze=!0);break;case"securityQuestion":if(r(14,Ue=!1),b.securityQuestion.value)switch(m){case"true":Ye.document.test(b.securityQuestion.value)&&b.securityQuestion.value.length<=50&&r(14,Ue=!0);break;case"false":b.securityQuestion.value&&b.securityQuestion.value.length<=120&&r(14,Ue=!0);break}break;case"securityAnswer":if(r(15,rt=!1),b.securityAnswer.value)switch(m){case"true":Ye.document.test(b.securityAnswer.value)&&b.securityAnswer.value.length<=50&&r(15,rt=!0);break;case"false":b.securityAnswer.value&&b.securityAnswer.value.length<=120&&r(15,rt=!0);break}break;case"consents":Be();break}Xt(),vt()},lt=()=>{r(17,pt=!0),setTimeout(()=>{r(17,pt=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},qt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("userProfileUpdateError")}},window.location.href)},Vr=v=>Ie(this,null,function*(){if(v.preventDefault(),D&&!W&&je){ut().then(C=>Ie(this,null,function*(){C&&(r(36,A=yield Me(`${a}/v1/player/${i}/profile`)),lt())}));return}if(D&&W&&je){Promise.all([ut(),Wr()]).then(C=>Ie(this,null,function*(){C[0]&&C[1]?(r(37,M=(yield Me(`${a}/v1/player/${i}/consent`)).items),r(36,A=yield Me(`${a}/v1/player/${i}/profile`)),r(8,D=!1),W=!1,lt()):qt()}));return}}),ut=()=>Ie(this,null,function*(){const v=new URL(`${a}/v1/player/${i}/profile`),C=new Headers;C.append("X-SessionID",o),C.append("Content-Type","application/json"),C.append("Accept","application/json");const R=Object.entries(b).reduce(($,[j,ht])=>{var Ke;const Z=ht;if(!Z.readOnly)if(j==="mobile"||j==="phone")$[j]={prefix:Z.prefix,number:Z.number};else if(j==="consents")$[j]=Z;else if(j==="country")$[j]=Z.countryCode;else if(j==="birth"&&typeof Z.value=="string"){const Ge=Z.value.split("/");$[j]={year:Ge[2],month:Ge[1],day:Ge[0]}}else $[j]=(Ke=Z.value)!=null?Ke:null;return $},{}),H=Te(R);if(H===null)return!1;const K={method:"POST",headers:C,body:H};try{return(yield fetch(v.href,K)).status===200}catch($){return console.error($),!1}}),Wr=()=>Ie(this,null,function*(){const v=[],C=b.consents;for(let j of Object.values(C).flat())v.push({tagCode:j.tagCode,status:j.status?"Accepted":"Denied"});const R=new URL(`${a}/v1/player/${i}/consent`),H=new Headers;H.append("X-SessionID",o),H.append("Content-Type","application/json"),H.append("Accept","application/json");const K=Te({items:v});if(K===null)return!1;const $={method:"POST",headers:H,body:K};return yield fetch(R.href,$).then(j=>j.status==200,j=>(console.error(j),!1))}),Y=()=>{window.postMessage({type:"PlayerAccountMenuActive",mobileView:q},window.location.href)},gt=()=>{yu(l)},_t=()=>{fetch(d).then(C=>C.json()).then(C=>{Object.keys(C).forEach(R=>{Fo(R,C[R])})}).catch(C=>{console.log(C)})};Object.keys(Go).forEach(v=>{Fo(v,Go[v])});const Xr=v=>C=>{b.consents[v].forEach(R=>{R.status=C.target.checked,Object.values(S[v]).forEach(H=>{H&&(H.checked=R.status)})}),Fe("consents")()},Ct=v=>C=>{S[v].parent&&r(7,S[v].parent.checked=b.consents[v].every(R=>R.status),S),Fe("consents")()},ct=v=>Array.isArray(v)?v.length>0:Object.keys(v).length>0;ps(()=>(Mu(xe)&&r(5,q=!0),()=>{}));function nt(){b.mobile.prefix=fs(this),r(6,b),r(4,k)}function Et(){b.mobile.number=this.value,r(6,b),r(4,k)}function St(){b.securityQuestion.value=this.value,r(6,b),r(4,k)}function Zt(){b.securityAnswer.value=this.value,r(6,b),r(4,k)}function qr(){b.city.value=this.value,r(6,b),r(4,k)}function Pe(){b.address1.value=this.value,r(6,b),r(4,k)}function Pt(){b.address2.value=this.value,r(6,b),r(4,k)}function ft(){b.postalCode.value=this.value,r(6,b),r(4,k)}function wt(v,C){Lr[v?"unshift":"push"](()=>{S[C].parent=v,r(7,S)})}function Zr(v,C,R){Lr[v?"unshift":"push"](()=>{S[C][R.tagCode]=v,r(7,S)})}function it(v,C){v[C].status=this.checked,r(6,b),r(4,k)}function At(v){Lr[v?"unshift":"push"](()=>{P=v,r(2,P)})}return e.$$set=v=>{"userid"in v&&r(26,i=v.userid),"sessionid"in v&&r(27,o=v.sessionid),"endpoint"in v&&r(28,a=v.endpoint),"lang"in v&&r(29,l=v.lang),"clientstyling"in v&&r(30,h=v.clientstyling),"clientstylingurl"in v&&r(31,c=v.clientstylingurl),"mbsource"in v&&r(32,f=v.mbsource),"translationurl"in v&&r(33,d=v.translationurl),"custominputtextswitch"in v&&r(0,m=v.custominputtextswitch),"showlocationdetailsdescription"in v&&r(1,g=v.showlocationdetailsdescription),"disabledfields"in v&&r(34,_=v.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&469762048&&a&&i&&o&&zr()&&mt()&&$r(),e.$$.dirty[0]&268435456&&a&&J()&&Qr(),e.$$.dirty[1]&240&&ct(A)&&ct(M)&&ct(Q)&&ct(L)&&yt(),e.$$.dirty[0]&536870912&&l&>(),e.$$.dirty[1]&8&&_&&(Se=bt(_)),e.$$.dirty[0]&1073741828&&h&&P&&bu(P,h),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&c&&P&&vu(P,c),e.$$.dirty[0]&4|e.$$.dirty[1]&2&&f&&P&&gu(P,`${f}.Style`),e.$$.dirty[1]&4&&d&&_t()},[m,g,P,I,k,q,b,S,D,je,qe,st,V,Ze,Ue,rt,Je,pt,n,Ee,Xt,Fe,Vr,Y,Xr,Ct,i,o,a,l,h,c,f,d,_,L,A,M,Q,nt,Et,St,Zt,qr,Pe,Pt,ft,wt,Zr,it,At]}class Ka extends As{constructor(t){super(),Ps(this,t,Qu,$u,ga,{userid:26,sessionid:27,endpoint:28,lang:29,clientstyling:30,clientstylingurl:31,mbsource:32,translationurl:33,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:34},Nu,[-1,-1,-1])}get userid(){return this.$$.ctx[26]}set userid(t){this.$$set({userid:t}),Ae()}get sessionid(){return this.$$.ctx[27]}set sessionid(t){this.$$set({sessionid:t}),Ae()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),Ae()}get lang(){return this.$$.ctx[29]}set lang(t){this.$$set({lang:t}),Ae()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(t){this.$$set({clientstyling:t}),Ae()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Ae()}get mbsource(){return this.$$.ctx[32]}set mbsource(t){this.$$set({mbsource:t}),Ae()}get translationurl(){return this.$$.ctx[33]}set translationurl(t){this.$$set({translationurl:t}),Ae()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Ae()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Ae()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(t){this.$$set({disabledfields:t}),Ae()}}ws(Ka,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=Ka;
|
|
21
|
+
`),a=Mt("g"),l=Mt("g"),h=Mt("path"),c=E(),f=p("h2"),m=w(d),u(h,"class","aaa"),u(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),u(h,"transform","translate(15 15) rotate(180)"),u(l,"transform","translate(20 158)"),u(a,"transform","translate(-20 -158)"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(r,"width","15"),u(r,"height","15"),u(r,"viewBox","0 0 15 15"),u(f,"class","MyAccountCategoryTitleMobile"),u(t,"class","MenuReturnButton")},m(P,I){N(P,t,I),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,l),s(l,h),s(t,c),s(t,f),s(f,m),g||(_=[F(t,"click",e[23]),F(t,"keyup",null)],g=!0)},p(P,I){I[0]&262144&&d!==(d=P[18]("titleProfileInfo")+"")&&B(m,d)},d(P){P&&T(t),g=!1,at(_)}}}function Gu(e){let t,r=e[84].Prefix+"",n,i;return{c(){t=p("option"),n=w(r),t.__value=i=e[84].Prefix,X(t,t.__value)},m(o,a){N(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[84].Prefix+"")&&B(n,r),a[0]&16&&i!==(i=o[84].Prefix)&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function zu(e){let t,r=e[84].Prefix+"",n,i;return{c(){t=p("option"),n=w(r),t.selected=!0,t.__value=i=e[84].Prefix,X(t,t.__value)},m(o,a){N(o,t,a),s(t,n)},p(o,a){a[0]&16&&r!==(r=o[84].Prefix+"")&&B(n,r),a[0]&16&&i!==(i=o[84].Prefix)&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function ta(e){let t;function r(o,a){return o[84].Prefix===o[6].mobile.prefix?zu:Gu}let n=r(e),i=n(e);return{c(){i.c(),t=Ca()},m(o,a){i.m(o,a),N(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&T(t),i.d(o)}}}function ra(e){let t,r=e[18]("userPhoneError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userPhoneError")+"")&&B(n,r)},d(i){i&&T(t)}}}function na(e){let t,r=(e[0]=="true"?e[18]("profileSecurityQuestionError2"):e[18]("profileSecurityQuestionError"))+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262145&&r!==(r=(i[0]=="true"?i[18]("profileSecurityQuestionError2"):i[18]("profileSecurityQuestionError"))+"")&&B(n,r)},d(i){i&&T(t)}}}function ia(e){let t,r=(e[0]=="true"?e[18]("profileSecurityAnswerError2"):e[18]("profileSecurityAnswerError"))+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262145&&r!==(r=(i[0]=="true"?i[18]("profileSecurityAnswerError2"):i[18]("profileSecurityAnswerError"))+"")&&B(n,r)},d(i){i&&T(t)}}}function oa(e){let t,r,n=e[18]("iban")+"",i,o,a,l,h,c;return{c(){var f,d;t=p("div"),r=p("label"),i=w(n),o=E(),a=p("input"),u(r,"for","Iban"),u(a,"id","Iban"),u(a,"type","text"),u(a,"class",l=`${(f=e[6].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=h=e[6].iban.value,a.readOnly=c=(d=e[6].iban)==null?void 0:d.readOnly,u(t,"class","PlayerInfoBox")},m(f,d){N(f,t,d),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,d){var m,g;d[0]&262144&&n!==(n=f[18]("iban")+"")&&B(i,n),d[0]&80&&l!==(l=`${(m=f[6].iban)!=null&&m.readOnly?"FieldDisabled":""}`)&&u(a,"class",l),d[0]&80&&h!==(h=f[6].iban.value)&&a.value!==h&&(a.value=h),d[0]&80&&c!==(c=(g=f[6].iban)==null?void 0:g.readOnly)&&(a.readOnly=c)},d(f){f&&T(t)}}}function aa(e){let t,r=e[18]("userCityError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userCityError")+"")&&B(n,r)},d(i){i&&T(t)}}}function sa(e){let t,r=e[18]("userAddressError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userAddressError")+"")&&B(n,r)},d(i){i&&T(t)}}}function la(e){let t,r=e[18]("userAddressError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userAddressError")+"")&&B(n,r)},d(i){i&&T(t)}}}function ua(e){let t,r=e[18]("userPostalCodeError")+"",n;return{c(){t=p("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("userPostalCodeError")+"")&&B(n,r)},d(i){i&&T(t)}}}function ca(e){let t,r=e[18]("locationDetailsDescription")+"",n;return{c(){t=p("div"),n=w(r),u(t,"class","LocationDetailsDescription")},m(i,o){N(i,t,o),s(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("locationDetailsDescription")+"")&&B(n,r)},d(i){i&&T(t)}}}function fa(e){var c;let t,r,n=e[18]("userNotifications")+"",i,o,a,l=et(Object.keys((c=e[6].consents)!=null?c:{})),h=[];for(let f=0;f<l.length;f+=1)h[f]=ma(Zo(e,l,f));return{c(){t=p("div"),r=p("h3"),i=w(n),o=E(),a=p("section");for(let f=0;f<h.length;f+=1)h[f].c();u(t,"class","PlayerNotificationsHeader"),u(a,"class","PlayerNotificationsCheckboxArea")},m(f,d){N(f,t,d),s(t,r),s(r,i),N(f,o,d),N(f,a,d);for(let m=0;m<h.length;m+=1)h[m]&&h[m].m(a,null)},p(f,d){var m;if(d[0]&262144&&n!==(n=f[18]("userNotifications")+"")&&B(i,n),d[0]&50593984){l=et(Object.keys((m=f[6].consents)!=null?m:{}));let g;for(g=0;g<l.length;g+=1){const _=Zo(f,l,g);h[g]?h[g].p(_,d):(h[g]=ma(_),h[g].c(),h[g].m(a,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=l.length}},d(f){f&&(T(t),T(o),T(a)),Rt(h,f)}}}function ha(e){var h;let t,r=Object.keys((h=e[6].consents)!=null?h:{}).length>1,n,i,o=r&&da(e),a=et(e[6].consents[e[78]]),l=[];for(let c=0;c<a.length;c+=1)l[c]=pa(Jo(e,a,c));return{c(){t=p("div"),o&&o.c(),n=E();for(let c=0;c<l.length;c+=1)l[c].c();i=E(),u(t,"class","ConsentGroup")},m(c,f){N(c,t,f),o&&o.m(t,null),s(t,n);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(t,null);s(t,i)},p(c,f){var d;if(f[0]&64&&(r=Object.keys((d=c[6].consents)!=null?d:{}).length>1),r?o?o.p(c,f):(o=da(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),f[0]&33816768){a=et(c[6].consents[c[78]]);let m;for(m=0;m<a.length;m+=1){const g=Jo(c,a,m);l[m]?l[m].p(g,f):(l[m]=pa(g),l[m].c(),l[m].m(t,i))}for(;m<l.length;m+=1)l[m].d(1);l.length=a.length}},d(c){c&&T(t),o&&o.d(),Rt(l,c)}}}function da(e){let t,r,n,i,o=e[78],a,l,h,c,f=e[18](`consentCategoryHeader${e[78]}`)+"",d,m,g;const _=()=>e[47](n,o),P=()=>e[47](null,o);return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),l=p("span"),h=E(),c=p("span"),d=w(f),n.checked=i=e[6].consents[e[78]].every(ba),u(n,"type","checkbox"),u(l,"class","Checkmark"),u(t,"class","PlayerNotificationBox Parent")},m(I,k){N(I,t,k),s(t,r),s(r,n),_(),s(r,a),s(r,l),s(r,h),s(r,c),s(c,d),m||(g=F(n,"change",function(){$t(e[24](e[78]))&&e[24](e[78]).apply(this,arguments)}),m=!0)},p(I,k){e=I,k[0]&80&&i!==(i=e[6].consents[e[78]].every(ba))&&(n.checked=i),o!==e[78]&&(P(),o=e[78],_()),k[0]&262208&&f!==(f=e[18](`consentCategoryHeader${e[78]}`)+"")&&B(d,f)},d(I){I&&T(t),P(),m=!1,g()}}}function pa(e){let t,r,n,i=e[78],o=e[81],a,l,h,c,f=e[18](`${e[81].tagCode}Consent`)+"",d,m,g,_;const P=()=>e[48](n,i,o),I=()=>e[48](null,i,o);function k(){e[49].call(n,e[82],e[83])}return{c(){t=p("div"),r=p("label"),n=p("input"),a=E(),l=p("span"),h=E(),c=p("span"),d=w(f),u(n,"type","checkbox"),u(l,"class","Checkmark"),u(t,"class",m="PlayerNotificationBox "+(Object.keys(e[6].consents).length>1?"Child":""))},m(L,A){N(L,t,A),s(t,r),s(r,n),P(),n.checked=e[81].status,s(r,a),s(r,l),s(r,h),s(r,c),s(c,d),g||(_=[F(n,"change",k),F(n,"change",function(){$t(e[25](e[78]))&&e[25](e[78]).apply(this,arguments)})],g=!0)},p(L,A){e=L,(i!==e[78]||o!==e[81])&&(I(),i=e[78],o=e[81],P()),A[0]&80&&(n.checked=e[81].status),A[0]&262208&&f!==(f=e[18](`${e[81].tagCode}Consent`)+"")&&B(d,f),A[0]&80&&m!==(m="PlayerNotificationBox "+(Object.keys(e[6].consents).length>1?"Child":""))&&u(t,"class",m)},d(L){L&&T(t),I(),g=!1,at(_)}}}function ma(e){var n;let t,r=((n=e[6].consents[e[78]])==null?void 0:n.length)>0&&ha(e);return{c(){r&&r.c(),t=Ca()},m(i,o){r&&r.m(i,o),N(i,t,o)},p(i,o){var a;((a=i[6].consents[i[78]])==null?void 0:a.length)>0?r?r.p(i,o):(r=ha(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&T(t),r&&r.d(i)}}}function ya(e){let t,r,n=e[18]("userProfileConfirmationMessage")+"",i;return{c(){t=p("section"),r=p("p"),i=w(n),u(r,"class","PlayerDetailsConfirmSaveText"),u(t,"class","PlayerDetailsConfirmSave")},m(o,a){N(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&262144&&n!==(n=o[18]("userProfileConfirmationMessage")+"")&&B(i,n)},d(o){o&&T(t)}}}function $u(e){let t,r,n,i,o,a,l,h,c,f,d,m,g,_,P,I,k,L,A,M,Q=et({length:10}),z=[];for(let S=0;S<Q.length;S+=1)z[S]=ju(Ru(e,Q,S));let Ce=et({length:4}),xe=[];for(let S=0;S<Ce.length;S+=1)xe[S]=Uu(Lu(e,Ce,S));let q=et({length:4}),Ee=[];for(let S=0;S<q.length;S+=1)Ee[S]=Fu(Du(e,q,S));let b=!e[3]&&Ko(e);return{c(){t=p("div"),r=p("div"),n=p("div"),n.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',i=E(),o=p("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=E(),l=p("div");for(let S=0;S<z.length;S+=1)z[S].c();h=E(),c=p("div"),c.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=E(),d=p("div");for(let S=0;S<xe.length;S+=1)xe[S].c();m=E(),g=p("div"),g.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',_=E(),P=p("div");for(let S=0;S<Ee.length;S+=1)Ee[S].c();I=E(),k=p("div"),k.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',A=E(),M=p("div"),b&&b.c(),u(n,"class","skeletonHeaderText"),u(o,"class","skeletonSectionText"),u(l,"class","skeletonSectionContainer"),u(c,"class","skeletonSectionText"),u(d,"class","skeletonSectionContainer"),u(g,"class","skeletonSectionText"),u(P,"class","skeletonConsentsContainer"),u(k,"class","skeletonButton"),u(r,"class","skeletonWrapper"),u(t,"class",L="skeletonContainer "+(e[3]?"":"Hidden"))},m(S,He){N(S,t,He),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,l);for(let D=0;D<z.length;D+=1)z[D]&&z[D].m(l,null);s(r,h),s(r,c),s(r,f),s(r,d);for(let D=0;D<xe.length;D+=1)xe[D]&&xe[D].m(d,null);s(r,m),s(r,g),s(r,_),s(r,P);for(let D=0;D<Ee.length;D+=1)Ee[D]&&Ee[D].m(P,null);s(r,I),s(r,k),N(S,A,He),N(S,M,He),b&&b.m(M,null),e[50](M)},p(S,He){He[0]&8&&L!==(L="skeletonContainer "+(S[3]?"":"Hidden"))&&u(t,"class",L),S[3]?b&&(b.d(1),b=null):b?b.p(S,He):(b=Ko(S),b.c(),b.m(M,null))},i:_e,o:_e,d(S){S&&(T(t),T(A),T(M)),Rt(z,S),Rt(xe,S),Rt(Ee,S),b&&b.d(),e[50](null)}}}const ba=e=>e.status;function Qu(e,t,r){let n;as(e,mu,v=>r(18,n=v));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:l="en"}=t,{clientstyling:h}=t,{clientstylingurl:c}=t,{mbsource:f}=t,{translationurl:d}=t,{custominputtextswitch:m="false"}=t,{showlocationdetailsdescription:g="false"}=t,{disabledfields:_="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,P,I=!0,k=[],L=[],A={},M=[],Q=[],z,Ce,xe=window.navigator.userAgent,q=!1;const Ee={address1:"i.e.: Glanmire Rd.",address2:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},b={},S={},He=["Marketing","Casino","Sports","Bingo"];let D=!1,W=!1,je=!0,qe=!0,st=!0,V=!0,Ze=!0,Ue=!0,rt=!0,Je=!0,pt=!1,Se=[];const Ye={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const Te=v=>{try{return JSON.stringify(v)}catch(C){return null}},Me=v=>Ie(this,null,function*(){try{const C=new URL(v),H={method:"GET",headers:new Headers({"X-SessionID":o})},K=yield fetch(C.href,H);if(!K.ok)throw new Error(`HTTP error! Status: ${K.status}`);return yield K.json()}catch(C){throw console.error("Fetch error:",C),C}});function zr(){return Ie(this,null,function*(){r(36,A=yield Me(`${a}/v1/player/${i}/profile`))})}function mt(){return Ie(this,null,function*(){r(37,M=(yield Me(`${a}/v1/player/${i}/consent`)).items)})}function $r(){return Ie(this,null,function*(){r(38,Q=(yield Me(`${a}/v1/player/consentRequirements`)).items)})}function J(){return Ie(this,null,function*(){r(35,L=(yield Me(`${a}/v1/player/countries`)).countries)})}const yt=()=>{Object.keys(A).forEach(C=>{var R,H,K,$,j,ht;switch(r(6,b[C]={},b),C){case"birth":const Z=((R=A[C])==null?void 0:R.day)||"",Ke=((H=A[C])==null?void 0:H.month)||"",Ge=((K=A[C])==null?void 0:K.year)||"";r(6,b[C].value=`${Z}/${Ke}/${Ge}`,b);break;case"country":r(6,b[C].countryName=(($=L.find(Jt=>Jt.Alpha2Code===A.country))==null?void 0:$.Name)||"I.E. Ireland",b),r(6,b[C].countryCode=A.country||"",b);break;case"mobile":r(6,b[C].prefix=(j=A.mobile)==null?void 0:j.prefix,b),r(6,b[C].number=(ht=A.mobile)==null?void 0:ht.number,b);break;default:r(6,b[C].value=A[C],b)}r(6,b[C].readOnly=Se.includes(C),b)}),r(6,b.consents={},b),Q.forEach(C=>{if(He.includes(C.category)&&!C.mustAccept){const R=M.find(H=>H.tagCode===C.tagCode);r(6,b.consents[C.category]=b.consents[C.category]||[],b),R?b.consents[C.category].push({tagCode:R.tagCode,status:R.status==="Accepted"}):b.consents[C.category].push({tagCode:C.tagCode,status:!1})}});const v=b.consents;for(const[C,R]of Object.entries(v))S[C]||(r(7,S[C]={},S),r(7,S[C].parent=null,S),R.forEach(H=>r(7,S[C][H.tagCode]=null,S)));Ce=Te(b),z=Te(b.consents),r(3,I=!1)},bt=v=>v.split(","),Qr=()=>{fetch(`${a}/v1/player/phonecodes`).then(v=>v.json()).then(v=>{r(4,k=v.phoneCodes)})},vt=()=>{r(9,je=!1),Ue&&rt&&qe&&V&&Ze&&st&&Je&&r(9,je=!0)},Xt=()=>{r(8,D=Te(b)!==Ce)},Be=()=>{W=Te(b.consents)!==z},Fe=v=>()=>{switch(v){case"mobileNumber":r(16,Je=!1),b.mobile.number&&b.mobile.number.length>=5&&b.mobile.number.length<=12&&r(16,Je=!0);break;case"city":r(10,qe=!1),b.city.value&&b.city.value.length<=50&&r(10,qe=!0);break;case"postalCode":r(11,st=!1),b.postalCode.value&&b.postalCode.value.length<=20&&r(11,st=!0);break;case"address":r(12,V=!1),b.address1.value&&b.address1.value.length<=100&&r(12,V=!0);break;case"address2":r(13,Ze=!1),b.address2.value&&b.address2.value.length<=100&&r(13,Ze=!0);break;case"securityQuestion":if(r(14,Ue=!1),b.securityQuestion.value)switch(m){case"true":Ye.document.test(b.securityQuestion.value)&&b.securityQuestion.value.length<=50&&r(14,Ue=!0);break;case"false":b.securityQuestion.value&&b.securityQuestion.value.length<=120&&r(14,Ue=!0);break}break;case"securityAnswer":if(r(15,rt=!1),b.securityAnswer.value)switch(m){case"true":Ye.document.test(b.securityAnswer.value)&&b.securityAnswer.value.length<=50&&r(15,rt=!0);break;case"false":b.securityAnswer.value&&b.securityAnswer.value.length<=120&&r(15,rt=!0);break}break;case"consents":Be();break}Xt(),vt()},lt=()=>{r(17,pt=!0),setTimeout(()=>{r(17,pt=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},qt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("userProfileUpdateError")}},window.location.href)},Vr=v=>Ie(this,null,function*(){if(v.preventDefault(),D&&!W&&je){ut().then(C=>Ie(this,null,function*(){C&&(r(36,A=yield Me(`${a}/v1/player/${i}/profile`)),lt())}));return}if(D&&W&&je){Promise.all([ut(),Wr()]).then(C=>Ie(this,null,function*(){C[0]&&C[1]?(r(37,M=(yield Me(`${a}/v1/player/${i}/consent`)).items),r(36,A=yield Me(`${a}/v1/player/${i}/profile`)),r(8,D=!1),W=!1,lt()):qt()}));return}}),ut=()=>Ie(this,null,function*(){const v=new URL(`${a}/v1/player/${i}/profile`),C=new Headers;C.append("X-SessionID",o),C.append("Content-Type","application/json"),C.append("Accept","application/json");const R=Object.entries(b).reduce(($,[j,ht])=>{var Ke;const Z=ht;if(!Z.readOnly)if(j==="mobile"||j==="phone")$[j]={prefix:Z.prefix,number:Z.number};else if(j==="consents")$[j]=Z;else if(j==="country")$[j]=Z.countryCode;else if(j==="birth"&&typeof Z.value=="string"){const Ge=Z.value.split("/");$[j]={year:Ge[2],month:Ge[1],day:Ge[0]}}else $[j]=(Ke=Z.value)!=null?Ke:null;return $},{}),H=Te(R);if(H===null)return!1;const K={method:"POST",headers:C,body:H};try{return(yield fetch(v.href,K)).status===200}catch($){return console.error($),!1}}),Wr=()=>Ie(this,null,function*(){const v=[],C=b.consents;for(let j of Object.values(C).flat())v.push({tagCode:j.tagCode,status:j.status?"Accepted":"Denied"});const R=new URL(`${a}/v1/player/${i}/consent`),H=new Headers;H.append("X-SessionID",o),H.append("Content-Type","application/json"),H.append("Accept","application/json");const K=Te({items:v});if(K===null)return!1;const $={method:"POST",headers:H,body:K};return yield fetch(R.href,$).then(j=>j.status==200,j=>(console.error(j),!1))}),Y=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:q},window.location.href)},gt=()=>{yu(l)},_t=()=>{fetch(d).then(C=>C.json()).then(C=>{Object.keys(C).forEach(R=>{Fo(R,C[R])})}).catch(C=>{console.log(C)})};Object.keys(Go).forEach(v=>{Fo(v,Go[v])});const Xr=v=>C=>{b.consents[v].forEach(R=>{R.status=C.target.checked,Object.values(S[v]).forEach(H=>{H&&(H.checked=R.status)})}),Fe("consents")()},Ct=v=>C=>{S[v].parent&&r(7,S[v].parent.checked=b.consents[v].every(R=>R.status),S),Fe("consents")()},ct=v=>Array.isArray(v)?v.length>0:Object.keys(v).length>0;ps(()=>(Mu(xe)&&r(5,q=!0),()=>{}));function nt(){b.mobile.prefix=fs(this),r(6,b),r(4,k)}function Et(){b.mobile.number=this.value,r(6,b),r(4,k)}function St(){b.securityQuestion.value=this.value,r(6,b),r(4,k)}function Zt(){b.securityAnswer.value=this.value,r(6,b),r(4,k)}function qr(){b.city.value=this.value,r(6,b),r(4,k)}function Pe(){b.address1.value=this.value,r(6,b),r(4,k)}function Pt(){b.address2.value=this.value,r(6,b),r(4,k)}function ft(){b.postalCode.value=this.value,r(6,b),r(4,k)}function wt(v,C){Lr[v?"unshift":"push"](()=>{S[C].parent=v,r(7,S)})}function Zr(v,C,R){Lr[v?"unshift":"push"](()=>{S[C][R.tagCode]=v,r(7,S)})}function it(v,C){v[C].status=this.checked,r(6,b),r(4,k)}function At(v){Lr[v?"unshift":"push"](()=>{P=v,r(2,P)})}return e.$$set=v=>{"userid"in v&&r(26,i=v.userid),"sessionid"in v&&r(27,o=v.sessionid),"endpoint"in v&&r(28,a=v.endpoint),"lang"in v&&r(29,l=v.lang),"clientstyling"in v&&r(30,h=v.clientstyling),"clientstylingurl"in v&&r(31,c=v.clientstylingurl),"mbsource"in v&&r(32,f=v.mbsource),"translationurl"in v&&r(33,d=v.translationurl),"custominputtextswitch"in v&&r(0,m=v.custominputtextswitch),"showlocationdetailsdescription"in v&&r(1,g=v.showlocationdetailsdescription),"disabledfields"in v&&r(34,_=v.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&469762048&&a&&i&&o&&zr()&&mt()&&$r(),e.$$.dirty[0]&268435456&&a&&J()&&Qr(),e.$$.dirty[1]&240&&ct(A)&&ct(M)&&ct(Q)&&ct(L)&&yt(),e.$$.dirty[0]&536870912&&l&>(),e.$$.dirty[1]&8&&_&&(Se=bt(_)),e.$$.dirty[0]&1073741828&&h&&P&&bu(P,h),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&c&&P&&vu(P,c),e.$$.dirty[0]&4|e.$$.dirty[1]&2&&f&&P&&gu(P,`${f}.Style`),e.$$.dirty[1]&4&&d&&_t()},[m,g,P,I,k,q,b,S,D,je,qe,st,V,Ze,Ue,rt,Je,pt,n,Ee,Xt,Fe,Vr,Y,Xr,Ct,i,o,a,l,h,c,f,d,_,L,A,M,Q,nt,Et,St,Zt,qr,Pe,Pt,ft,wt,Zr,it,At]}class Ka extends As{constructor(t){super(),Ps(this,t,Qu,$u,ga,{userid:26,sessionid:27,endpoint:28,lang:29,clientstyling:30,clientstylingurl:31,mbsource:32,translationurl:33,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:34},Nu,[-1,-1,-1])}get userid(){return this.$$.ctx[26]}set userid(t){this.$$set({userid:t}),Ae()}get sessionid(){return this.$$.ctx[27]}set sessionid(t){this.$$set({sessionid:t}),Ae()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),Ae()}get lang(){return this.$$.ctx[29]}set lang(t){this.$$set({lang:t}),Ae()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(t){this.$$set({clientstyling:t}),Ae()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Ae()}get mbsource(){return this.$$.ctx[32]}set mbsource(t){this.$$set({mbsource:t}),Ae()}get translationurl(){return this.$$.ctx[33]}set translationurl(t){this.$$set({translationurl:t}),Ae()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Ae()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Ae()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(t){this.$$set({disabledfields:t}),Ae()}}ws(Ka,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=Ka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-DqNgpVdu.cjs")).then(({default:t})=>{!customElements.get("player-profile-info")&&customElements.define("player-profile-info",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-CUTQL525.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-profile-info") && customElements.define("player-profile-info", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|