@everymatrix/player-account-controller-nd 1.54.0 → 1.54.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-BtWyed39.js → GeneralLogout-3tCkYOBy.js} +1094 -1131
- package/components/{PlayerAccountBettingHistory-jlr-NObV.js → PlayerAccountBettingHistory-DAOgOPGf.js} +34 -35
- package/components/{PlayerAccountBiometrics-C54a7r-9.js → PlayerAccountBiometrics-sCg1trpD.js} +1 -1
- package/components/{PlayerAccountClosureNd-BDFuLumd.js → PlayerAccountClosureNd-De5JqWgf.js} +1 -1
- package/components/{PlayerAccountControllerNd-C-2tav1W.js → PlayerAccountControllerNd-COEYGY9w.js} +400 -417
- package/components/{PlayerAccountGamingLimits-11hMW47h.js → PlayerAccountGamingLimits-CqTz7Ici.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D-CsaFkg.js → PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CGnoaPKg.js → PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BEobV_rb.js → PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js} +122 -133
- package/components/{PlayerAccountGamingLimitsInfoCard-BKjqkeZR.js → PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-S0iDe8or.js → PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js} +843 -874
- package/components/{PlayerAccountGamingLimitsPopup-gmuszZSb.js → PlayerAccountGamingLimitsPopup-Df_x-yrG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DLlx2k_P.js → PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js} +111 -117
- package/components/{PlayerAccountGeneralConfirmationModal-B_nnNCCl.js → PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js} +1 -1
- package/components/{PlayerAccountMenuNd-t6hDlobb.js → PlayerAccountMenuNd-z4P33Khe.js} +68 -69
- package/components/{PlayerAccountModal-0zGW_PaL.js → PlayerAccountModal-BvKEdvD_.js} +1 -1
- package/components/{PlayerAccountNotifications-CnakmgwG.js → PlayerAccountNotifications-BFv2Nw_e.js} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D1bSwsQ2.js → PlayerAccountSelfExclusionNd-D0XYPrl9.js} +1488 -1572
- package/components/{PlayerAccountTimeout-BrmadDVi.js → PlayerAccountTimeout-rttX6IYz.js} +4 -4
- package/components/{PlayerActiveBonuses-DuRJuBww.js → PlayerActiveBonuses-LfCU2WnE.js} +119 -120
- package/components/{PlayerBonusCard-Cs7krVbC.js → PlayerBonusCard-CbzYE1Iz.js} +2 -2
- package/components/{PlayerBonusHistory-Dw5CWQDm.js → PlayerBonusHistory-D61Y7LPQ.js} +53 -53
- package/components/{PlayerChangePassword-BkjAcj4x.js → PlayerChangePassword-CtlTmVcf.js} +1 -1
- package/components/{PlayerDeposit-D5fEWazq.js → PlayerDeposit-_rTfbSEr.js} +1 -1
- package/components/{PlayerGamingHistory-DaDCBXVi.js → PlayerGamingHistory-szc4XDy6.js} +375 -388
- package/components/{PlayerPendingWithdrawals--vyYysmT.js → PlayerPendingWithdrawals-BhEz708_.js} +1 -1
- package/components/{PlayerProfileInfo-CjhfS-zh.js → PlayerProfileInfo-BbyV3TvC.js} +532 -549
- package/components/{PlayerRealityCheck-BVS-ZwGk.js → PlayerRealityCheck-DMRjX5t_.js} +175 -191
- package/components/{PlayerTransactionHistory-Dd5Xk8dK.js → PlayerTransactionHistory-C4ne-FLe.js} +1 -1
- package/components/{PlayerWithdrawal-ZUk_jlsP.js → PlayerWithdrawal-Bn5jvB2N.js} +1 -1
- package/esnext/player-account-controller-nd.js +14 -0
- package/package.json +11 -31
- package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
- package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
- package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
- package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
- package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
- package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
- package/stencil/player-change-password-gm2-sVfmFhoT.js +7 -0
- package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
- package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
- package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
- package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
- package/components/PlayerAccountClosureNd-BOdzF3ZS.cjs +0 -1
- package/components/PlayerAccountControllerNd-BZinIfCX.cjs +0 -1
- package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2Nd-ieMEHssX.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C_v3NfIe.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-_Ze6bW4r.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
- package/components/PlayerAccountMenuNd-B8H3so10.cjs +0 -1
- package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
- package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-B5wR57a_.cjs +0 -3828
- package/components/PlayerAccountTimeout-E-jDJfAE.cjs +0 -1
- package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
- package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
- package/components/PlayerBonusHistory-DDWO5PPl.cjs +0 -1
- package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
- package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
- package/components/PlayerGamingHistory-CJOG_M6n.cjs +0 -1
- package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
- package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
- package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
- package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
- package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
- package/es2015/player-account-controller-nd.cjs +0 -1
- package/es2015/player-account-controller-nd.js +0 -16
- package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
- package/stencil/general-input-fzGwoSoE.cjs +0 -1
- package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
- package/stencil/index-Dyvby5gX.cjs +0 -1
- package/stencil/locale-B5abSHU_.cjs +0 -1
- package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
- package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
- package/stencil/player-change-password-gm2-Cer2RaBb.cjs +0 -1
- package/stencil/player-change-password-gm2-Do4_2F3u.js +0 -25
- package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ie, $ as ce, S as se, i as ue, f as I, c as me, s as de, b as ge, e as v, k as L, o as O, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as N, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as Me, j as
|
|
1
|
+
import { a as ie, $ as ce, S as se, i as ue, f as I, c as me, s as de, b as ge, e as v, k as L, o as O, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as N, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as Me, j as M, X as q } from "./GeneralLogout-3tCkYOBy.js";
|
|
2
2
|
function X(n, e) {
|
|
3
3
|
ie(n, e);
|
|
4
4
|
}
|
|
@@ -40,7 +40,7 @@ const G = {
|
|
|
40
40
|
title: "My Account"
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
if (typeof window
|
|
43
|
+
if (typeof window < "u") {
|
|
44
44
|
let n = function(e) {
|
|
45
45
|
return function(...t) {
|
|
46
46
|
try {
|
|
@@ -52,7 +52,7 @@ if (typeof window != "undefined") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
55
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-3tCkYOBy.js").then((e) => e.a4).then(({ default: e }) => {
|
|
56
56
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@ function V(n, e, t) {
|
|
|
64
64
|
return l[37] = e[t], l;
|
|
65
65
|
}
|
|
66
66
|
function we(n) {
|
|
67
|
-
let e, t, l, a, d, m, y,
|
|
67
|
+
let e, t, l, a, d, m, y, f, P, w, h, x, A = (
|
|
68
68
|
/*isMobile*/
|
|
69
69
|
n[10] && ve(n)
|
|
70
70
|
), g = (
|
|
@@ -80,38 +80,38 @@ function we(n) {
|
|
|
80
80
|
n[10] && _e(n);
|
|
81
81
|
return {
|
|
82
82
|
c() {
|
|
83
|
-
e = v("div"), t = v("div"),
|
|
83
|
+
e = v("div"), t = v("div"), A && A.c(), l = k(), a = v("p"), d = H(
|
|
84
84
|
/*profileUsername*/
|
|
85
85
|
n[7]
|
|
86
|
-
), m = k(), y = v("p"),
|
|
86
|
+
), m = k(), y = v("p"), f = H(
|
|
87
87
|
/*profileEmail*/
|
|
88
88
|
n[8]
|
|
89
|
-
), P = k(), g && g.c(), w = k(),
|
|
89
|
+
), P = k(), g && g.c(), w = k(), h = v("div");
|
|
90
90
|
for (let i = 0; i < c.length; i += 1)
|
|
91
91
|
c[i].c();
|
|
92
92
|
x = k(), F && F.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
93
|
-
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(
|
|
93
|
+
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(h, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
94
94
|
(n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
95
95
|
(n[11].matches && /*isMobile*/
|
|
96
96
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(i, C) {
|
|
99
|
-
L(i, e, C), o(e, t),
|
|
99
|
+
L(i, e, C), o(e, t), A && A.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, f), o(t, P), g && g.m(t, null), o(e, w), o(e, h);
|
|
100
100
|
for (let p = 0; p < c.length; p += 1)
|
|
101
|
-
c[p] && c[p].m(
|
|
101
|
+
c[p] && c[p].m(h, null);
|
|
102
102
|
o(e, x), F && F.m(e, null);
|
|
103
103
|
},
|
|
104
104
|
p(i, C) {
|
|
105
105
|
if (
|
|
106
106
|
/*isMobile*/
|
|
107
|
-
i[10] &&
|
|
107
|
+
i[10] && A.p(i, C), C[0] & /*profileUsername*/
|
|
108
108
|
128 && z(
|
|
109
109
|
d,
|
|
110
110
|
/*profileUsername*/
|
|
111
111
|
i[7]
|
|
112
112
|
), C[0] & /*profileEmail*/
|
|
113
113
|
256 && z(
|
|
114
|
-
|
|
114
|
+
f,
|
|
115
115
|
/*profileEmail*/
|
|
116
116
|
i[8]
|
|
117
117
|
), /*isMobile*/
|
|
@@ -125,7 +125,7 @@ function we(n) {
|
|
|
125
125
|
let p;
|
|
126
126
|
for (p = 0; p < u.length; p += 1) {
|
|
127
127
|
const T = V(i, u, p);
|
|
128
|
-
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(
|
|
128
|
+
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(h, null));
|
|
129
129
|
}
|
|
130
130
|
for (; p < c.length; p += 1)
|
|
131
131
|
c[p].d(1);
|
|
@@ -135,21 +135,21 @@ function we(n) {
|
|
|
135
135
|
i[10] || F.p(i, C);
|
|
136
136
|
},
|
|
137
137
|
d(i) {
|
|
138
|
-
i && B(e),
|
|
138
|
+
i && B(e), A && A.d(), g && g.d(), Ae(c, i), F && F.d();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function ve(n) {
|
|
143
|
-
let e, t, l, a, d, m, y,
|
|
143
|
+
let e, t, l, a, d, m, y, f, P, w, h = (
|
|
144
144
|
/*$_*/
|
|
145
145
|
n[9]("title") + ""
|
|
146
|
-
), x,
|
|
146
|
+
), x, A, g;
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"),
|
|
149
|
+
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"), f = E("path"), P = k(), w = v("h3"), x = H(h), s(f, "class", "aaa"), s(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(f, "transform", "translate(15 15) rotate(180)"), s(y, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(w, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
150
150
|
},
|
|
151
151
|
m(u, c) {
|
|
152
|
-
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y,
|
|
152
|
+
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, f), o(e, P), o(e, w), o(w, x), A || (g = [
|
|
153
153
|
W(
|
|
154
154
|
t,
|
|
155
155
|
"click",
|
|
@@ -162,15 +162,15 @@ function ve(n) {
|
|
|
162
162
|
/*goToHome*/
|
|
163
163
|
n[13]
|
|
164
164
|
)
|
|
165
|
-
],
|
|
165
|
+
], A = !0);
|
|
166
166
|
},
|
|
167
167
|
p(u, c) {
|
|
168
168
|
c[0] & /*$_*/
|
|
169
|
-
512 &&
|
|
170
|
-
u[9]("title") + "") && z(x,
|
|
169
|
+
512 && h !== (h = /*$_*/
|
|
170
|
+
u[9]("title") + "") && z(x, h);
|
|
171
171
|
},
|
|
172
172
|
d(u) {
|
|
173
|
-
u && B(e),
|
|
173
|
+
u && B(e), A = !1, Me(g);
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
}
|
|
@@ -178,22 +178,22 @@ function xe(n) {
|
|
|
178
178
|
let e, t;
|
|
179
179
|
return {
|
|
180
180
|
c() {
|
|
181
|
-
e = v("div"), t = v("general-logout"),
|
|
181
|
+
e = v("div"), t = v("general-logout"), M(
|
|
182
182
|
t,
|
|
183
183
|
"endpoint",
|
|
184
184
|
/*endpoint*/
|
|
185
185
|
n[1]
|
|
186
|
-
),
|
|
186
|
+
), M(
|
|
187
187
|
t,
|
|
188
188
|
"session",
|
|
189
189
|
/*session*/
|
|
190
190
|
n[0]
|
|
191
|
-
),
|
|
191
|
+
), M(t, "buttonlocation", "PlayerAccountMenu"), M(
|
|
192
192
|
t,
|
|
193
193
|
"clientstyling",
|
|
194
194
|
/*clientstyling*/
|
|
195
195
|
n[2]
|
|
196
|
-
),
|
|
196
|
+
), M(
|
|
197
197
|
t,
|
|
198
198
|
"clientstylingurl",
|
|
199
199
|
/*clientstylingurl*/
|
|
@@ -205,25 +205,25 @@ function xe(n) {
|
|
|
205
205
|
},
|
|
206
206
|
p(l, a) {
|
|
207
207
|
a[0] & /*endpoint*/
|
|
208
|
-
2 &&
|
|
208
|
+
2 && M(
|
|
209
209
|
t,
|
|
210
210
|
"endpoint",
|
|
211
211
|
/*endpoint*/
|
|
212
212
|
l[1]
|
|
213
213
|
), a[0] & /*session*/
|
|
214
|
-
1 &&
|
|
214
|
+
1 && M(
|
|
215
215
|
t,
|
|
216
216
|
"session",
|
|
217
217
|
/*session*/
|
|
218
218
|
l[0]
|
|
219
219
|
), a[0] & /*clientstyling*/
|
|
220
|
-
4 &&
|
|
220
|
+
4 && M(
|
|
221
221
|
t,
|
|
222
222
|
"clientstyling",
|
|
223
223
|
/*clientstyling*/
|
|
224
224
|
l[2]
|
|
225
225
|
), a[0] & /*clientstylingurl*/
|
|
226
|
-
8 &&
|
|
226
|
+
8 && M(
|
|
227
227
|
t,
|
|
228
228
|
"clientstylingurl",
|
|
229
229
|
/*clientstylingurl*/
|
|
@@ -239,8 +239,8 @@ function Z(n) {
|
|
|
239
239
|
let e, t, l, a, d, m, y = (
|
|
240
240
|
/*menuItem*/
|
|
241
241
|
n[37].label + ""
|
|
242
|
-
),
|
|
243
|
-
function
|
|
242
|
+
), f, P, w, h, x;
|
|
243
|
+
function A() {
|
|
244
244
|
return (
|
|
245
245
|
/*click_handler*/
|
|
246
246
|
n[22](
|
|
@@ -251,7 +251,7 @@ function Z(n) {
|
|
|
251
251
|
}
|
|
252
252
|
return {
|
|
253
253
|
c() {
|
|
254
|
-
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"),
|
|
254
|
+
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), f = H(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
255
255
|
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(l.src, a = /*menuItem*/
|
|
256
256
|
n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
257
257
|
(n[6] === /*menuItem*/
|
|
@@ -259,21 +259,21 @@ function Z(n) {
|
|
|
259
259
|
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, u) {
|
|
262
|
-
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m,
|
|
262
|
+
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, f), o(e, P), h || (x = W(e, "click", A), h = !0);
|
|
263
263
|
},
|
|
264
264
|
p(g, u) {
|
|
265
265
|
n = g, u[0] & /*menuItems*/
|
|
266
266
|
32 && !q(l.src, a = /*menuItem*/
|
|
267
267
|
n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
|
|
268
268
|
32 && y !== (y = /*menuItem*/
|
|
269
|
-
n[37].label + "") && z(
|
|
269
|
+
n[37].label + "") && z(f, y), u[0] & /*selectedItem, menuItems*/
|
|
270
270
|
96 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
271
271
|
(n[6] === /*menuItem*/
|
|
272
272
|
n[37].id && !/*isMobile*/
|
|
273
273
|
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", w);
|
|
274
274
|
},
|
|
275
275
|
d(g) {
|
|
276
|
-
g && B(e),
|
|
276
|
+
g && B(e), h = !1, x();
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
}
|
|
@@ -281,22 +281,22 @@ function _e(n) {
|
|
|
281
281
|
let e, t;
|
|
282
282
|
return {
|
|
283
283
|
c() {
|
|
284
|
-
e = v("div"), t = v("general-logout"),
|
|
284
|
+
e = v("div"), t = v("general-logout"), M(
|
|
285
285
|
t,
|
|
286
286
|
"endpoint",
|
|
287
287
|
/*endpoint*/
|
|
288
288
|
n[1]
|
|
289
|
-
),
|
|
289
|
+
), M(
|
|
290
290
|
t,
|
|
291
291
|
"session",
|
|
292
292
|
/*session*/
|
|
293
293
|
n[0]
|
|
294
|
-
),
|
|
294
|
+
), M(t, "buttonlocation", "PlayerAccountMenu"), M(
|
|
295
295
|
t,
|
|
296
296
|
"clientstyling",
|
|
297
297
|
/*clientstyling*/
|
|
298
298
|
n[2]
|
|
299
|
-
),
|
|
299
|
+
), M(
|
|
300
300
|
t,
|
|
301
301
|
"clientstylingurl",
|
|
302
302
|
/*clientstylingurl*/
|
|
@@ -308,25 +308,25 @@ function _e(n) {
|
|
|
308
308
|
},
|
|
309
309
|
p(l, a) {
|
|
310
310
|
a[0] & /*endpoint*/
|
|
311
|
-
2 &&
|
|
311
|
+
2 && M(
|
|
312
312
|
t,
|
|
313
313
|
"endpoint",
|
|
314
314
|
/*endpoint*/
|
|
315
315
|
l[1]
|
|
316
316
|
), a[0] & /*session*/
|
|
317
|
-
1 &&
|
|
317
|
+
1 && M(
|
|
318
318
|
t,
|
|
319
319
|
"session",
|
|
320
320
|
/*session*/
|
|
321
321
|
l[0]
|
|
322
322
|
), a[0] & /*clientstyling*/
|
|
323
|
-
4 &&
|
|
323
|
+
4 && M(
|
|
324
324
|
t,
|
|
325
325
|
"clientstyling",
|
|
326
326
|
/*clientstyling*/
|
|
327
327
|
l[2]
|
|
328
328
|
), a[0] & /*clientstylingurl*/
|
|
329
|
-
8 &&
|
|
329
|
+
8 && M(
|
|
330
330
|
t,
|
|
331
331
|
"clientstylingurl",
|
|
332
332
|
/*clientstylingurl*/
|
|
@@ -364,14 +364,14 @@ function Ce(n) {
|
|
|
364
364
|
function Ie(n, e, t) {
|
|
365
365
|
let l;
|
|
366
366
|
ye(n, he, (r) => t(9, l = r));
|
|
367
|
-
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid:
|
|
367
|
+
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: f = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: h = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: A = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, F = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
|
|
368
368
|
const K = window.matchMedia("(min-width: 768px)"), Q = () => {
|
|
369
|
-
fetch(g).then((
|
|
370
|
-
Object.keys(
|
|
371
|
-
X(_,
|
|
369
|
+
fetch(g).then((b) => b.json()).then((b) => {
|
|
370
|
+
Object.keys(b).forEach((_) => {
|
|
371
|
+
X(_, b[_]);
|
|
372
372
|
});
|
|
373
|
-
}).catch((
|
|
374
|
-
console.error(
|
|
373
|
+
}).catch((b) => {
|
|
374
|
+
console.error(b);
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
377
|
Object.keys(G).forEach((r) => {
|
|
@@ -393,19 +393,19 @@ function Ie(n, e, t) {
|
|
|
393
393
|
return r === "PC" ? "dk" : "mtWeb";
|
|
394
394
|
}, Y = () => {
|
|
395
395
|
const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
|
|
396
|
-
r.searchParams.append("device", J()), fetch(r.href).then((
|
|
397
|
-
t(5, F =
|
|
398
|
-
}).catch((
|
|
399
|
-
console.error("Error getting menu items",
|
|
396
|
+
r.searchParams.append("device", J()), fetch(r.href).then((b) => b.json()).then((b) => {
|
|
397
|
+
t(5, F = b), D();
|
|
398
|
+
}).catch((b) => {
|
|
399
|
+
console.error("Error getting menu items", b);
|
|
400
400
|
});
|
|
401
401
|
}, $ = () => {
|
|
402
|
-
let r = new URL(`${a}/v1/player/${
|
|
403
|
-
r.searchParams.append("userRoles",
|
|
404
|
-
let
|
|
402
|
+
let r = new URL(`${a}/v1/player/${f}/profile`);
|
|
403
|
+
r.searchParams.append("userRoles", h);
|
|
404
|
+
let b = {
|
|
405
405
|
method: "GET",
|
|
406
406
|
headers: { "X-SessionID": y }
|
|
407
407
|
};
|
|
408
|
-
fetch(r.href,
|
|
408
|
+
fetch(r.href, b).then((_) => _.json()).then(
|
|
409
409
|
(_) => {
|
|
410
410
|
t(7, T = _.username), t(8, S = _.email);
|
|
411
411
|
},
|
|
@@ -416,8 +416,7 @@ function Ie(n, e, t) {
|
|
|
416
416
|
}, j = (r) => {
|
|
417
417
|
window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
|
|
418
418
|
}, D = () => {
|
|
419
|
-
|
|
420
|
-
t(6, i = (r = F.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
|
|
419
|
+
t(6, i = F.find((r) => r.path.includes(u))?.id);
|
|
421
420
|
}, ee = () => {
|
|
422
421
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
423
422
|
}, te = () => {
|
|
@@ -428,11 +427,11 @@ function Ie(n, e, t) {
|
|
|
428
427
|
let r = document.createElement("style");
|
|
429
428
|
r.innerHTML = x, c.appendChild(r);
|
|
430
429
|
}, le = () => {
|
|
431
|
-
let r = new URL(
|
|
430
|
+
let r = new URL(A), b = document.createElement("style");
|
|
432
431
|
fetch(r.href).then((_) => _.text()).then((_) => {
|
|
433
|
-
|
|
432
|
+
b.innerHTML = _, setTimeout(
|
|
434
433
|
() => {
|
|
435
|
-
c.appendChild(
|
|
434
|
+
c.appendChild(b);
|
|
436
435
|
},
|
|
437
436
|
1
|
|
438
437
|
);
|
|
@@ -448,21 +447,21 @@ function Ie(n, e, t) {
|
|
|
448
447
|
});
|
|
449
448
|
}
|
|
450
449
|
return n.$$set = (r) => {
|
|
451
|
-
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16,
|
|
450
|
+
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, f = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, h = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, A = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
|
|
452
451
|
}, n.$$.update = () => {
|
|
453
452
|
n.$$.dirty[0] & /*lang*/
|
|
454
453
|
131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
455
|
-
196611 && a && y &&
|
|
454
|
+
196611 && a && y && f && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
456
455
|
180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
|
|
457
456
|
2097152 && u && D(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
458
|
-
24 &&
|
|
457
|
+
24 && A && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
459
458
|
20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
|
|
460
459
|
1048576 && g && Q();
|
|
461
460
|
}, [
|
|
462
461
|
y,
|
|
463
462
|
a,
|
|
464
463
|
x,
|
|
465
|
-
|
|
464
|
+
A,
|
|
466
465
|
c,
|
|
467
466
|
F,
|
|
468
467
|
i,
|
|
@@ -475,10 +474,10 @@ function Ie(n, e, t) {
|
|
|
475
474
|
ee,
|
|
476
475
|
d,
|
|
477
476
|
m,
|
|
478
|
-
|
|
477
|
+
f,
|
|
479
478
|
P,
|
|
480
479
|
w,
|
|
481
|
-
|
|
480
|
+
h,
|
|
482
481
|
g,
|
|
483
482
|
u,
|
|
484
483
|
ae,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-
|
|
1
|
+
import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-3tCkYOBy.js";
|
|
2
2
|
function p(t, { delay: e = 0, duration: i = 400, easing: n = B } = {}) {
|
|
3
3
|
const s = +getComputedStyle(t).opacity;
|
|
4
4
|
return {
|
package/components/{PlayerAccountNotifications-CnakmgwG.js → PlayerAccountNotifications-BFv2Nw_e.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as E, i as j, f as x, c as q, s as W, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, U as B, l as p, n as G } from "./GeneralLogout-
|
|
1
|
+
import { S as E, i as j, f as x, c as q, s as W, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, U as B, l as p, n as G } from "./GeneralLogout-3tCkYOBy.js";
|
|
2
2
|
function J(n) {
|
|
3
3
|
K(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
|
|
4
4
|
}
|