@everymatrix/player-account-controller 1.60.2 → 1.61.0
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/{PlayerAccountController-1pHrtkdF.js → PlayerAccountController-CFveIiLH.js} +14 -14
- package/components/{PlayerAccountController-BgblJNy4.js → PlayerAccountController-CP2uODru.js} +14 -14
- package/components/{PlayerAccountController-BhhrsiNx.cjs → PlayerAccountController-DsIsI9ww.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BjlDW58o.cjs → PlayerAccountGamingLimitsPage2Gm16-BEYO8tnS.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DeJCm4u2.js → PlayerAccountGamingLimitsPage2Gm16-CAfx0SZl.js} +386 -380
- package/components/{PlayerAccountGamingLimitsPage2Gm16-r8hmIPcw.js → PlayerAccountGamingLimitsPage2Gm16-djQdW8L6.js} +660 -654
- package/components/{PlayerAccountGamingLimitsWrapper2-BcKG_TxP.js → PlayerAccountGamingLimitsWrapper2-BKVQxFca.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-C8_zv-Gl.cjs → PlayerAccountGamingLimitsWrapper2-Coq_1wOX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CrOkdCAL.js → PlayerAccountGamingLimitsWrapper2-DY7OziU-.js} +1 -1
- package/components/{PlayerAccountMenu-0dwfNXzd.js → PlayerAccountMenu-CARKaeb_.js} +111 -110
- package/components/{PlayerAccountMenu-CIexYUdx.js → PlayerAccountMenu-CSjfFSiS.js} +111 -110
- package/components/PlayerAccountMenu-DbPwX5s7.cjs +1 -0
- package/components/PlayerAccountNotifications-C1NLTeZY.js +372 -0
- package/components/{PlayerAccountNotifications-C69KyNWq.js → PlayerAccountNotifications-DFauPmd4.js} +62 -61
- package/components/PlayerAccountNotifications-VnrN4aPw.cjs +1 -0
- package/components/{PlayerAccountSelfExclusion-BK4Qt06B.js → PlayerAccountSelfExclusion-BKNMjGeJ.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-C3aFEBGZ.js → PlayerAccountSelfExclusion-BYJ28ASb.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-EEwqevwK.cjs → PlayerAccountSelfExclusion-CcBtRscg.cjs} +2 -2
- package/components/{PlayerAccountTimeout-Dt4WJonL.js → PlayerAccountTimeout-B3AH6XOt.js} +2 -2
- package/components/{PlayerAccountTimeout-C5AtNWo7.js → PlayerAccountTimeout-Bkmp3-eA.js} +2 -2
- package/components/{PlayerAccountTimeout-gK_YDrBY.cjs → PlayerAccountTimeout-CLi5If_j.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CLoyGNwd.js → PlayerActiveBonuses-BRNrSu8p.js} +1 -1
- package/components/{PlayerActiveBonuses-BVXu2xEB.js → PlayerActiveBonuses-C2N9z4Wk.js} +1 -1
- package/components/{PlayerActiveBonuses-B3sDjZPu.cjs → PlayerActiveBonuses-NHzgl6B8.cjs} +1 -1
- package/components/PlayerBonusCard-B1SyuM2F.cjs +1 -0
- package/components/{PlayerBonusCard-B6SaZ0cC.js → PlayerBonusCard-BnXPy7Pl.js} +144 -143
- package/components/{PlayerBonusCard-DMwbLjEW.js → PlayerBonusCard-ys8sEqaW.js} +144 -143
- package/components/{PlayerBonusHistory-D3v1Hfnf.js → PlayerBonusHistory-DMarejVg.js} +2 -2
- package/components/{PlayerBonusHistory-DLUJJGqO.js → PlayerBonusHistory-DSTP6ZoH.js} +2 -2
- package/components/{PlayerBonusHistory-BmOgSTUS.cjs → PlayerBonusHistory-Dg5LjtIZ.cjs} +1 -1
- package/components/{PlayerGamingHistory-CNBltDve.cjs → PlayerGamingHistory-Bz-tWEB-.cjs} +1 -1
- package/components/{PlayerGamingHistory-BYvXvoys.js → PlayerGamingHistory-C-a7eWUa.js} +1 -1
- package/components/{PlayerGamingHistory-C5cNuG6o.js → PlayerGamingHistory-CUv-flEN.js} +1 -1
- package/components/{PlayerProfileInfo-4pEf39os.cjs → PlayerProfileInfo-B2B_yWpR.cjs} +1 -1
- package/components/{PlayerProfileInfo-DKjkFgUz.js → PlayerProfileInfo-DCG1m8s7.js} +1 -1
- package/components/{PlayerProfileInfo-CpFhQZ8r.js → PlayerProfileInfo-TSYhIxp0.js} +1 -1
- package/components/{PlayerRealityCheck-CEu6HPSc.js → PlayerRealityCheck-BCc9e1-4.js} +1 -1
- package/components/{PlayerRealityCheck-DiJJz_Fj.cjs → PlayerRealityCheck-Bs__HuR3.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYMfPzuq.js → PlayerRealityCheck-YPtJgHZo.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-CQ9uDp49.js} +4 -2
- package/stencil/app-globals-0f993ce5-zj2RKZu-.cjs +1 -0
- package/stencil/{checkbox-group-input_9-DEGGgpku.js → checkbox-group-input_9-BRv_piPJ.js} +102 -99
- package/stencil/{checkbox-group-input_9-DDKGgkML.cjs → checkbox-group-input_9-DCA5sbPo.cjs} +2 -2
- package/stencil/{checkbox-group-input_9-Cge1uYJD.js → checkbox-group-input_9-bIi7h3_V.js} +102 -99
- package/stencil/{general-input-D6ZzAION.js → general-input-CQs-v3_Y.js} +2 -2
- package/stencil/{general-input-CbzyUMpM.cjs → general-input-DgKQ0KIf.cjs} +2 -2
- package/stencil/{general-input-DGX9cnfM.js → general-input-OUKrtuTp.js} +2 -2
- package/stencil/{index-1ef3a64c-Cb8qLHe4.js → index-1ef3a64c-BQUwxiUT.js} +1 -1
- package/stencil/{index-1ef3a64c-CzlpRJE7.cjs → index-1ef3a64c-Btq5IvMJ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-C4-h3nXC.js → index-1ef3a64c-Kn7ohe2t.js} +1 -1
- package/stencil/{index-7c5e707a-B9tD4t-g.js → index-21ba09dd-C-HsjTUn.js} +4 -4
- package/stencil/{index-7c5e707a-40SRy2Ab.js → index-21ba09dd-DNkmY6MF.js} +4 -4
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +1 -0
- package/stencil/index-34008883-B7S8keyz.js +577 -0
- package/stencil/index-34008883-CX1Vpol5.cjs +1 -0
- package/stencil/{index-9c0f6c58-DeLVbTUg.js → index-34008883-DRJSKOUl.js} +228 -200
- package/stencil/{index-9cd44522-DNHOiqex.js → index-9cd44522-C566YWys.js} +4 -4
- package/stencil/{index-9cd44522-bcseM6Tc.js → index-9cd44522-Crt8CtBe.js} +4 -4
- package/stencil/{index-9cd44522-BZa-k0xO.cjs → index-9cd44522-jv76DI6J.cjs} +1 -1
- package/stencil/{index-b2193545-DRVj_AmB.js → index-b2193545-BTiWOlSy.js} +1 -1
- package/stencil/{index-b2193545-lh5NrH1l.cjs → index-b2193545-CZLTKj69.cjs} +1 -1
- package/stencil/{index-b2193545-C2qi7zn0.js → index-b2193545-DXYxg-Ur.js} +1 -1
- package/stencil/index-b7bbd57e-98ddCQYl.js +534 -0
- package/stencil/index-b7bbd57e-BTUOk4HF.js +550 -0
- package/stencil/index-b7bbd57e-CCr8MvU_.cjs +1 -0
- package/stencil/{password-input_2-DfibVL8H.js → password-input_2-C84wWI7v.js} +2 -2
- package/stencil/{password-input_2-ChFdsN2L.cjs → password-input_2-Cb1ahifk.cjs} +1 -1
- package/stencil/{password-input_2-IaELIWPu.js → password-input_2-DQO_Gwqq.js} +2 -2
- package/stencil/{player-change-password-gm2-039e300e-h73P3BnO.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-DQu1Qy42.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-Cbvlv_Cc.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-Ddu97gwX.cjs → player-change-password-gm2-ADkIHrgJ.cjs} +1 -1
- package/stencil/{player-change-password-gm2-o8J_07IZ.js → player-change-password-gm2-CfP6Qbnu.js} +3 -3
- package/stencil/{player-change-password-gm2-CZ4CLVdX.js → player-change-password-gm2-imi6O1-U.js} +3 -3
- package/stencil/player-kyc-verification-CJSQoIZp.js +25 -0
- package/stencil/player-kyc-verification-ChHU4NZP.js +7 -0
- package/stencil/player-kyc-verification-YKqDy8y5.cjs +1 -0
- package/stencil/{player-kyc-verification-dmJNIHni.js → player-kyc-verification_2-EJZCFPKM.js} +67 -39
- package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +180 -0
- package/stencil/{player-kyc-verification-z8R7nMzo.js → player-kyc-verification_2-w8_XwPSF.js} +58 -28
- package/stencil/{toggle-checkbox-input-BJReK7u2.js → toggle-checkbox-input-Bh9dCfaE.js} +1 -1
- package/stencil/{toggle-checkbox-input-DPSvf8jJ.cjs → toggle-checkbox-input-CDg0DAAQ.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-CphJPGIs.js → toggle-checkbox-input-CFvMg26A.js} +1 -1
- package/stencil/ui-image-38c3c15f-B5VYjuwc.cjs +1 -0
- package/stencil/ui-image-38c3c15f-GCugIif_.js +39 -0
- package/stencil/ui-image-38c3c15f-jIUUUHF_.js +39 -0
- package/stencil/ui-image-C3z33p-I.js +29 -0
- package/stencil/ui-image-DZDIlV4g.js +11 -0
- package/stencil/ui-image-Doro4rUa.cjs +1 -0
- package/stencil/{user-transaction-history-BO92Qvk4.js → ui-image_2-CYG1_Yew.js} +111 -81
- package/stencil/ui-image_2-Cyb78tZB.cjs +1 -0
- package/stencil/{user-transaction-history-Bg6onQ-I.js → ui-image_2-nVKXie9g.js} +121 -93
- package/stencil/{ui-skeleton-BCpuJt-t.js → ui-skeleton-1aZpiK3a.js} +5 -5
- package/stencil/{ui-skeleton-ea659b95-79vEjTsx.js → ui-skeleton-6d1c12ae-C3kv5BUk.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BrjFstai.js → ui-skeleton-6d1c12ae-CaaJODhZ.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-DuSAPIG5.cjs → ui-skeleton-6d1c12ae-DJPgMPrF.cjs} +2 -2
- package/stencil/{ui-skeleton-BAxmxOly.cjs → ui-skeleton-84ZRJzrd.cjs} +1 -1
- package/stencil/{ui-skeleton-BnjJK_-z.js → ui-skeleton-DX9fcIIz.js} +3 -3
- package/stencil/{user-deposit-withdrawal-CBWlU3d2.cjs → user-deposit-withdrawal-BC5Vpfet.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Dnqg2IvK.js → user-deposit-withdrawal-DHbTwAxF.js} +2 -2
- package/stencil/{user-deposit-withdrawal-CE9oDw4W.js → user-deposit-withdrawal-IExj2XcB.js} +2 -2
- package/stencil/user-transaction-history-BQjF7asc.cjs +1 -0
- package/stencil/user-transaction-history-BhqF7ecn.js +7 -0
- package/stencil/user-transaction-history-GwpbhIB0.js +25 -0
- package/components/PlayerAccountMenu-Bra1jlKa.cjs +0 -1
- package/components/PlayerAccountNotifications-BJWMhwFJ.js +0 -371
- package/components/PlayerAccountNotifications-BgE2Nu5e.cjs +0 -1
- package/components/PlayerBonusCard-4A6XzJO6.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
- package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
- package/stencil/index-9c0f6c58-D5txcAjr.js +0 -549
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +0 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +0 -180
- package/stencil/user-transaction-history-COJbthDt.cjs +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as me, $ as
|
|
2
|
-
import "../stencil/ui-
|
|
1
|
+
import { a as me, $ as ge, S as ye, i as pe, s as de, f as C, b as fe, n as S, d as F, g as L, j as h, p as he, q as G, u as Ae, w as be, O as H, P as $, h as a, k as I, e as s, o as p, c as z, m as W, r as Pe, l as O, v as B, a1 as Q, x as Me, y as we, z as ve, A as _e, B as xe } from "./GeneralLogout-C38FmUFl.js";
|
|
2
|
+
import "../stencil/ui-image-C3z33p-I.js";
|
|
3
|
+
import "../stencil/ui-skeleton-1aZpiK3a.js";
|
|
3
4
|
function V(n, e) {
|
|
4
5
|
me(n, e);
|
|
5
6
|
}
|
|
6
7
|
function ke(n) {
|
|
7
|
-
|
|
8
|
+
ge.set(n);
|
|
8
9
|
}
|
|
9
10
|
const X = {
|
|
10
11
|
en: {
|
|
@@ -69,39 +70,39 @@ function J(n, e, t) {
|
|
|
69
70
|
return l[37] = e[t], l;
|
|
70
71
|
}
|
|
71
72
|
function Ce(n) {
|
|
72
|
-
let e, t, l, i,
|
|
73
|
+
let e, t, l, i, u, g, A, b, v, P, f, M, m = (
|
|
73
74
|
/*isMobile*/
|
|
74
75
|
n[12] && Le(n)
|
|
75
76
|
), c = (
|
|
76
77
|
/*isMobile*/
|
|
77
78
|
n[12] && Te(n)
|
|
78
|
-
),
|
|
79
|
+
), y = H(
|
|
79
80
|
/*menuItems*/
|
|
80
81
|
n[7]
|
|
81
82
|
), r = [];
|
|
82
|
-
for (let d = 0; d <
|
|
83
|
-
r[d] = K(Z(n,
|
|
83
|
+
for (let d = 0; d < y.length; d += 1)
|
|
84
|
+
r[d] = K(Z(n, y, d));
|
|
84
85
|
let k = !/*isMobile*/
|
|
85
86
|
n[12] && Ee(n);
|
|
86
87
|
return {
|
|
87
88
|
c() {
|
|
88
|
-
e = h("div"), t = h("div"),
|
|
89
|
+
e = h("div"), t = h("div"), m && m.c(), l = I(), i = h("p"), u = W(
|
|
89
90
|
/*profileUsername*/
|
|
90
91
|
n[9]
|
|
91
|
-
),
|
|
92
|
+
), g = I(), A = h("p"), b = W(
|
|
92
93
|
/*profileEmail*/
|
|
93
94
|
n[10]
|
|
94
95
|
), v = I(), c && c.c(), P = I(), f = h("div");
|
|
95
96
|
for (let d = 0; d < r.length; d += 1)
|
|
96
97
|
r[d].c();
|
|
97
|
-
M = I(), k && k.c(),
|
|
98
|
-
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
98
|
+
M = I(), k && k.c(), p(i, "class", "PlayerAccountMenuUser"), p(A, "class", "PlayerAccountMenuEmail"), p(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
99
|
+
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")), p(f, "class", "PlayerAccountMenuList"), p(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
99
100
|
(n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
100
101
|
(n[13].matches && /*isMobile*/
|
|
101
102
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
102
103
|
},
|
|
103
104
|
m(d, _) {
|
|
104
|
-
L(d, e, _), a(e, t),
|
|
105
|
+
L(d, e, _), a(e, t), m && m.m(t, null), a(t, l), a(t, i), a(i, u), a(t, g), a(t, A), a(A, b), a(t, v), c && c.m(t, null), a(e, P), a(e, f);
|
|
105
106
|
for (let w = 0; w < r.length; w += 1)
|
|
106
107
|
r[w] && r[w].m(f, null);
|
|
107
108
|
a(e, M), k && k.m(e, null);
|
|
@@ -109,9 +110,9 @@ function Ce(n) {
|
|
|
109
110
|
p(d, _) {
|
|
110
111
|
if (
|
|
111
112
|
/*isMobile*/
|
|
112
|
-
d[12] &&
|
|
113
|
+
d[12] && m.p(d, _), _[0] & /*profileUsername*/
|
|
113
114
|
512 && z(
|
|
114
|
-
|
|
115
|
+
u,
|
|
115
116
|
/*profileUsername*/
|
|
116
117
|
d[9]
|
|
117
118
|
), _[0] & /*profileEmail*/
|
|
@@ -123,81 +124,81 @@ function Ce(n) {
|
|
|
123
124
|
d[12] && c.p(d, _), _[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
124
125
|
20864
|
|
125
126
|
) {
|
|
126
|
-
|
|
127
|
+
y = H(
|
|
127
128
|
/*menuItems*/
|
|
128
129
|
d[7]
|
|
129
130
|
);
|
|
130
131
|
let w;
|
|
131
|
-
for (w = 0; w <
|
|
132
|
-
const E = Z(d,
|
|
132
|
+
for (w = 0; w < y.length; w += 1) {
|
|
133
|
+
const E = Z(d, y, w);
|
|
133
134
|
r[w] ? r[w].p(E, _) : (r[w] = K(E), r[w].c(), r[w].m(f, null));
|
|
134
135
|
}
|
|
135
136
|
for (; w < r.length; w += 1)
|
|
136
137
|
r[w].d(1);
|
|
137
|
-
r.length =
|
|
138
|
+
r.length = y.length;
|
|
138
139
|
}
|
|
139
140
|
/*isMobile*/
|
|
140
141
|
d[12] || k.p(d, _);
|
|
141
142
|
},
|
|
142
143
|
d(d) {
|
|
143
|
-
d && F(e),
|
|
144
|
+
d && F(e), m && m.d(), c && c.d(), $(r, d), k && k.d();
|
|
144
145
|
}
|
|
145
146
|
};
|
|
146
147
|
}
|
|
147
148
|
function Fe(n) {
|
|
148
|
-
let e, t, l, i,
|
|
149
|
+
let e, t, l, i, u, g, A, b, v, P, f = (
|
|
149
150
|
/*isMobile*/
|
|
150
151
|
n[12] && Be()
|
|
151
|
-
), M = H(Array(18)),
|
|
152
|
+
), M = H(Array(18)), m = [];
|
|
152
153
|
for (let c = 0; c < M.length; c += 1)
|
|
153
|
-
|
|
154
|
+
m[c] = Y(J(n, M, c));
|
|
154
155
|
return {
|
|
155
156
|
c() {
|
|
156
|
-
e = h("div"), t = h("div"), f && f.c(), l = I(), i = h("ui-skeleton"),
|
|
157
|
-
for (let c = 0; c <
|
|
158
|
-
|
|
159
|
-
v = I(), P = h("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',
|
|
160
|
-
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
157
|
+
e = h("div"), t = h("div"), f && f.c(), l = I(), i = h("ui-skeleton"), u = I(), g = h("ui-skeleton"), A = I(), b = h("div");
|
|
158
|
+
for (let c = 0; c < m.length; c += 1)
|
|
159
|
+
m[c].c();
|
|
160
|
+
v = I(), P = h("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', s(i, "structure", "title"), s(i, "width", "100px"), s(i, "height", "20px"), s(i, "margin-top", "10px"), s(g, "structure", "text"), s(g, "width", "200px"), s(g, "height", "20px"), p(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
161
|
+
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")), p(b, "class", "PlayerAccountMenuList"), p(P, "class", "skeletonLogOut"), p(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
161
162
|
(n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
162
163
|
(n[13].matches && /*isMobile*/
|
|
163
164
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
164
165
|
},
|
|
165
|
-
m(c,
|
|
166
|
-
L(c, e,
|
|
167
|
-
for (let r = 0; r <
|
|
168
|
-
|
|
166
|
+
m(c, y) {
|
|
167
|
+
L(c, e, y), a(e, t), f && f.m(t, null), a(t, l), a(t, i), a(t, u), a(t, g), a(e, A), a(e, b);
|
|
168
|
+
for (let r = 0; r < m.length; r += 1)
|
|
169
|
+
m[r] && m[r].m(b, null);
|
|
169
170
|
a(e, v), a(e, P);
|
|
170
171
|
},
|
|
171
|
-
p(c,
|
|
172
|
-
if (
|
|
172
|
+
p(c, y) {
|
|
173
|
+
if (y[0] & /*isMobile*/
|
|
173
174
|
4096) {
|
|
174
175
|
M = H(Array(18));
|
|
175
176
|
let r;
|
|
176
177
|
for (r = 0; r < M.length; r += 1) {
|
|
177
178
|
const k = J(c, M, r);
|
|
178
|
-
|
|
179
|
+
m[r] ? m[r].p(k, y) : (m[r] = Y(k), m[r].c(), m[r].m(b, null));
|
|
179
180
|
}
|
|
180
|
-
for (; r <
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
for (; r < m.length; r += 1)
|
|
182
|
+
m[r].d(1);
|
|
183
|
+
m.length = M.length;
|
|
183
184
|
}
|
|
184
185
|
},
|
|
185
186
|
d(c) {
|
|
186
|
-
c && F(e), f && f.d(), $(
|
|
187
|
+
c && F(e), f && f.d(), $(m, c);
|
|
187
188
|
}
|
|
188
189
|
};
|
|
189
190
|
}
|
|
190
191
|
function Le(n) {
|
|
191
|
-
let e, t, l, i,
|
|
192
|
+
let e, t, l, i, u, g, A, b, v, P, f = (
|
|
192
193
|
/*$_*/
|
|
193
194
|
n[11]("title") + ""
|
|
194
|
-
), M,
|
|
195
|
+
), M, m, c;
|
|
195
196
|
return {
|
|
196
197
|
c() {
|
|
197
|
-
e = h("div"), t = B("svg"), l = B("defs"), i = B("style"),
|
|
198
|
+
e = h("div"), t = B("svg"), l = B("defs"), i = B("style"), u = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = B("g"), A = B("g"), b = B("path"), v = I(), P = h("h3"), M = W(f), p(b, "class", "aaa"), p(b, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(b, "transform", "translate(15 15) rotate(180)"), p(A, "transform", "translate(20 158)"), p(g, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(P, "class", "PlayerAccountMenuCategoryTitle"), p(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
198
199
|
},
|
|
199
|
-
m(
|
|
200
|
-
L(
|
|
200
|
+
m(y, r) {
|
|
201
|
+
L(y, e, r), a(e, t), a(t, l), a(l, i), a(i, u), a(t, g), a(g, A), a(A, b), a(e, v), a(e, P), a(P, M), m || (c = [
|
|
201
202
|
O(
|
|
202
203
|
t,
|
|
203
204
|
"click",
|
|
@@ -210,15 +211,15 @@ function Le(n) {
|
|
|
210
211
|
/*goToHome*/
|
|
211
212
|
n[15]
|
|
212
213
|
)
|
|
213
|
-
],
|
|
214
|
+
], m = !0);
|
|
214
215
|
},
|
|
215
|
-
p(
|
|
216
|
+
p(y, r) {
|
|
216
217
|
r[0] & /*$_*/
|
|
217
218
|
2048 && f !== (f = /*$_*/
|
|
218
|
-
|
|
219
|
+
y[11]("title") + "") && z(M, f);
|
|
219
220
|
},
|
|
220
|
-
d(
|
|
221
|
-
|
|
221
|
+
d(y) {
|
|
222
|
+
y && F(e), m = !1, Pe(c);
|
|
222
223
|
}
|
|
223
224
|
};
|
|
224
225
|
}
|
|
@@ -226,63 +227,63 @@ function Te(n) {
|
|
|
226
227
|
let e, t;
|
|
227
228
|
return {
|
|
228
229
|
c() {
|
|
229
|
-
e = h("div"), t = h("general-logout"),
|
|
230
|
+
e = h("div"), t = h("general-logout"), s(
|
|
230
231
|
t,
|
|
231
232
|
"endpoint",
|
|
232
233
|
/*endpoint*/
|
|
233
234
|
n[1]
|
|
234
|
-
),
|
|
235
|
+
), s(
|
|
235
236
|
t,
|
|
236
237
|
"session",
|
|
237
238
|
/*session*/
|
|
238
239
|
n[0]
|
|
239
|
-
),
|
|
240
|
+
), s(t, "buttonlocation", "PlayerAccountMenu"), s(
|
|
240
241
|
t,
|
|
241
242
|
"clientstyling",
|
|
242
243
|
/*clientstyling*/
|
|
243
244
|
n[2]
|
|
244
|
-
),
|
|
245
|
+
), s(
|
|
245
246
|
t,
|
|
246
247
|
"clientstylingurl",
|
|
247
248
|
/*clientstylingurl*/
|
|
248
249
|
n[3]
|
|
249
|
-
),
|
|
250
|
+
), s(
|
|
250
251
|
t,
|
|
251
252
|
"mbsource",
|
|
252
253
|
/*mbsource*/
|
|
253
254
|
n[4]
|
|
254
|
-
),
|
|
255
|
+
), p(e, "class", "PlayerAccountLogOutArea");
|
|
255
256
|
},
|
|
256
257
|
m(l, i) {
|
|
257
258
|
L(l, e, i), a(e, t);
|
|
258
259
|
},
|
|
259
260
|
p(l, i) {
|
|
260
261
|
i[0] & /*endpoint*/
|
|
261
|
-
2 &&
|
|
262
|
+
2 && s(
|
|
262
263
|
t,
|
|
263
264
|
"endpoint",
|
|
264
265
|
/*endpoint*/
|
|
265
266
|
l[1]
|
|
266
267
|
), i[0] & /*session*/
|
|
267
|
-
1 &&
|
|
268
|
+
1 && s(
|
|
268
269
|
t,
|
|
269
270
|
"session",
|
|
270
271
|
/*session*/
|
|
271
272
|
l[0]
|
|
272
273
|
), i[0] & /*clientstyling*/
|
|
273
|
-
4 &&
|
|
274
|
+
4 && s(
|
|
274
275
|
t,
|
|
275
276
|
"clientstyling",
|
|
276
277
|
/*clientstyling*/
|
|
277
278
|
l[2]
|
|
278
279
|
), i[0] & /*clientstylingurl*/
|
|
279
|
-
8 &&
|
|
280
|
+
8 && s(
|
|
280
281
|
t,
|
|
281
282
|
"clientstylingurl",
|
|
282
283
|
/*clientstylingurl*/
|
|
283
284
|
l[3]
|
|
284
285
|
), i[0] & /*mbsource*/
|
|
285
|
-
16 &&
|
|
286
|
+
16 && s(
|
|
286
287
|
t,
|
|
287
288
|
"mbsource",
|
|
288
289
|
/*mbsource*/
|
|
@@ -295,11 +296,11 @@ function Te(n) {
|
|
|
295
296
|
};
|
|
296
297
|
}
|
|
297
298
|
function K(n) {
|
|
298
|
-
let e, t, l, i,
|
|
299
|
+
let e, t, l, i, u, g, A = (
|
|
299
300
|
/*menuItem*/
|
|
300
301
|
n[40].label + ""
|
|
301
302
|
), b, v, P, f, M;
|
|
302
|
-
function
|
|
303
|
+
function m() {
|
|
303
304
|
return (
|
|
304
305
|
/*click_handler*/
|
|
305
306
|
n[25](
|
|
@@ -310,26 +311,26 @@ function K(n) {
|
|
|
310
311
|
}
|
|
311
312
|
return {
|
|
312
313
|
c() {
|
|
313
|
-
e = h("div"), t = h("p"), l = h("
|
|
314
|
+
e = h("div"), t = h("p"), l = h("ui-image"), u = I(), g = h("span"), b = W(A), v = I(), s(l, "imgClass", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
314
315
|
(n[12] ? "PlayerAccountMenuItemIconMobile" : "")), Q(l.src, i = /*menuItem*/
|
|
315
|
-
n[40].img) ||
|
|
316
|
+
n[40].img) || s(l, "src", i), p(g, "class", "PlayerAccountMenuItemTitle"), p(t, "class", "PlayerAccountMenuItemWrapper"), p(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
316
317
|
(n[8] === /*menuItem*/
|
|
317
318
|
n[40].id && !/*isMobile*/
|
|
318
319
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
319
320
|
},
|
|
320
|
-
m(c,
|
|
321
|
-
L(c, e,
|
|
321
|
+
m(c, y) {
|
|
322
|
+
L(c, e, y), a(e, t), a(t, l), a(t, u), a(t, g), a(g, b), a(e, v), f || (M = O(e, "click", m), f = !0);
|
|
322
323
|
},
|
|
323
|
-
p(c,
|
|
324
|
-
n = c,
|
|
324
|
+
p(c, y) {
|
|
325
|
+
n = c, y[0] & /*menuItems*/
|
|
325
326
|
128 && !Q(l.src, i = /*menuItem*/
|
|
326
|
-
n[40].img) &&
|
|
327
|
+
n[40].img) && s(l, "src", i), y[0] & /*menuItems*/
|
|
327
328
|
128 && A !== (A = /*menuItem*/
|
|
328
|
-
n[40].label + "") && z(b, A),
|
|
329
|
+
n[40].label + "") && z(b, A), y[0] & /*selectedItem, menuItems*/
|
|
329
330
|
384 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
330
331
|
(n[8] === /*menuItem*/
|
|
331
332
|
n[40].id && !/*isMobile*/
|
|
332
|
-
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) &&
|
|
333
|
+
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && p(e, "class", P);
|
|
333
334
|
},
|
|
334
335
|
d(c) {
|
|
335
336
|
c && F(e), f = !1, M();
|
|
@@ -340,63 +341,63 @@ function Ee(n) {
|
|
|
340
341
|
let e, t;
|
|
341
342
|
return {
|
|
342
343
|
c() {
|
|
343
|
-
e = h("div"), t = h("general-logout"),
|
|
344
|
+
e = h("div"), t = h("general-logout"), s(
|
|
344
345
|
t,
|
|
345
346
|
"endpoint",
|
|
346
347
|
/*endpoint*/
|
|
347
348
|
n[1]
|
|
348
|
-
),
|
|
349
|
+
), s(
|
|
349
350
|
t,
|
|
350
351
|
"session",
|
|
351
352
|
/*session*/
|
|
352
353
|
n[0]
|
|
353
|
-
),
|
|
354
|
+
), s(t, "buttonlocation", "PlayerAccountMenu"), s(
|
|
354
355
|
t,
|
|
355
356
|
"clientstyling",
|
|
356
357
|
/*clientstyling*/
|
|
357
358
|
n[2]
|
|
358
|
-
),
|
|
359
|
+
), s(
|
|
359
360
|
t,
|
|
360
361
|
"clientstylingurl",
|
|
361
362
|
/*clientstylingurl*/
|
|
362
363
|
n[3]
|
|
363
|
-
),
|
|
364
|
+
), s(
|
|
364
365
|
t,
|
|
365
366
|
"mbsource",
|
|
366
367
|
/*mbsource*/
|
|
367
368
|
n[4]
|
|
368
|
-
),
|
|
369
|
+
), p(e, "class", "PlayerAccountLogOutArea");
|
|
369
370
|
},
|
|
370
371
|
m(l, i) {
|
|
371
372
|
L(l, e, i), a(e, t);
|
|
372
373
|
},
|
|
373
374
|
p(l, i) {
|
|
374
375
|
i[0] & /*endpoint*/
|
|
375
|
-
2 &&
|
|
376
|
+
2 && s(
|
|
376
377
|
t,
|
|
377
378
|
"endpoint",
|
|
378
379
|
/*endpoint*/
|
|
379
380
|
l[1]
|
|
380
381
|
), i[0] & /*session*/
|
|
381
|
-
1 &&
|
|
382
|
+
1 && s(
|
|
382
383
|
t,
|
|
383
384
|
"session",
|
|
384
385
|
/*session*/
|
|
385
386
|
l[0]
|
|
386
387
|
), i[0] & /*clientstyling*/
|
|
387
|
-
4 &&
|
|
388
|
+
4 && s(
|
|
388
389
|
t,
|
|
389
390
|
"clientstyling",
|
|
390
391
|
/*clientstyling*/
|
|
391
392
|
l[2]
|
|
392
393
|
), i[0] & /*clientstylingurl*/
|
|
393
|
-
8 &&
|
|
394
|
+
8 && s(
|
|
394
395
|
t,
|
|
395
396
|
"clientstylingurl",
|
|
396
397
|
/*clientstylingurl*/
|
|
397
398
|
l[3]
|
|
398
399
|
), i[0] & /*mbsource*/
|
|
399
|
-
16 &&
|
|
400
|
+
16 && s(
|
|
400
401
|
t,
|
|
401
402
|
"mbsource",
|
|
402
403
|
/*mbsource*/
|
|
@@ -412,7 +413,7 @@ function Be(n) {
|
|
|
412
413
|
let e;
|
|
413
414
|
return {
|
|
414
415
|
c() {
|
|
415
|
-
e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',
|
|
416
|
+
e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', p(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
416
417
|
},
|
|
417
418
|
m(t, l) {
|
|
418
419
|
L(t, e, l);
|
|
@@ -426,7 +427,7 @@ function We(n) {
|
|
|
426
427
|
let e;
|
|
427
428
|
return {
|
|
428
429
|
c() {
|
|
429
|
-
e = h("ui-skeleton"),
|
|
430
|
+
e = h("ui-skeleton"), s(e, "structure", "circle"), s(e, "size", "20px");
|
|
430
431
|
},
|
|
431
432
|
m(t, l) {
|
|
432
433
|
L(t, e, l);
|
|
@@ -437,33 +438,33 @@ function We(n) {
|
|
|
437
438
|
};
|
|
438
439
|
}
|
|
439
440
|
function Y(n) {
|
|
440
|
-
let e, t, l, i,
|
|
441
|
+
let e, t, l, i, u = !/*isMobile*/
|
|
441
442
|
n[12] && We();
|
|
442
443
|
return {
|
|
443
444
|
c() {
|
|
444
|
-
e = h("div"),
|
|
445
|
+
e = h("div"), u && u.c(), t = I(), l = h("ui-skeleton"), i = I(), s(l, "structure", "rectangle"), s(l, "width", "100%"), s(
|
|
445
446
|
l,
|
|
446
447
|
"height",
|
|
447
448
|
/*isMobile*/
|
|
448
449
|
n[12] ? "120px" : "20px"
|
|
449
|
-
),
|
|
450
|
+
), p(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
450
451
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
451
452
|
},
|
|
452
|
-
m(
|
|
453
|
-
L(
|
|
453
|
+
m(g, A) {
|
|
454
|
+
L(g, e, A), u && u.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
454
455
|
},
|
|
455
456
|
p: S,
|
|
456
|
-
d(
|
|
457
|
-
|
|
457
|
+
d(g) {
|
|
458
|
+
g && F(e), u && u.d();
|
|
458
459
|
}
|
|
459
460
|
};
|
|
460
461
|
}
|
|
461
462
|
function He(n) {
|
|
462
463
|
let e;
|
|
463
|
-
function t(
|
|
464
|
+
function t(u, g) {
|
|
464
465
|
return (
|
|
465
466
|
/*skeletonLoading*/
|
|
466
|
-
|
|
467
|
+
u[6] ? Fe : Ce
|
|
467
468
|
);
|
|
468
469
|
}
|
|
469
470
|
let l = t(n), i = l(n);
|
|
@@ -471,25 +472,25 @@ function He(n) {
|
|
|
471
472
|
c() {
|
|
472
473
|
e = h("div"), i.c();
|
|
473
474
|
},
|
|
474
|
-
m(
|
|
475
|
-
L(
|
|
475
|
+
m(u, g) {
|
|
476
|
+
L(u, e, g), i.m(e, null), n[26](e);
|
|
476
477
|
},
|
|
477
|
-
p(
|
|
478
|
-
l === (l = t(
|
|
478
|
+
p(u, g) {
|
|
479
|
+
l === (l = t(u)) && i ? i.p(u, g) : (i.d(1), i = l(u), i && (i.c(), i.m(e, null)));
|
|
479
480
|
},
|
|
480
481
|
i: S,
|
|
481
482
|
o: S,
|
|
482
|
-
d(
|
|
483
|
-
|
|
483
|
+
d(u) {
|
|
484
|
+
u && F(e), i.d(), n[26](null);
|
|
484
485
|
}
|
|
485
486
|
};
|
|
486
487
|
}
|
|
487
488
|
function ze(n, e, t) {
|
|
488
489
|
let l;
|
|
489
490
|
he(n, xe, (o) => t(11, l = o));
|
|
490
|
-
let { endpoint: i = "" } = e, { cmsendpoint:
|
|
491
|
+
let { endpoint: i = "" } = e, { cmsendpoint: u = "" } = e, { env: g = "" } = e, { session: A = "" } = e, { playerid: b = "" } = e, { lang: v = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: m = "" } = e, { activemenuitem: c = "" } = e, { mbsource: y } = e, r = !1, k = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
|
|
491
492
|
const te = window.matchMedia("(min-width: 768px)"), ne = () => {
|
|
492
|
-
fetch(
|
|
493
|
+
fetch(m).then((x) => x.json()).then((x) => {
|
|
493
494
|
Object.keys(x).forEach((T) => {
|
|
494
495
|
V(T, x[T]);
|
|
495
496
|
});
|
|
@@ -512,7 +513,7 @@ function ze(n, e, t) {
|
|
|
512
513
|
if (o)
|
|
513
514
|
return o === "PC" ? "dk" : "mtWeb";
|
|
514
515
|
}, oe = () => {
|
|
515
|
-
const o = new URL(`${
|
|
516
|
+
const o = new URL(`${u}/${v}/profile-menu?env=${g}`);
|
|
516
517
|
o.searchParams.append("device", le()), fetch(o.href).then((x) => x.json()).then((x) => {
|
|
517
518
|
t(7, w = x), N();
|
|
518
519
|
}).catch((x) => {
|
|
@@ -559,24 +560,24 @@ function ze(n, e, t) {
|
|
|
559
560
|
});
|
|
560
561
|
}
|
|
561
562
|
return n.$$set = (o) => {
|
|
562
|
-
"endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(16,
|
|
563
|
+
"endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(16, u = o.cmsendpoint), "env" in o && t(17, g = o.env), "session" in o && t(0, A = o.session), "playerid" in o && t(18, b = o.playerid), "lang" in o && t(19, v = o.lang), "userroles" in o && t(20, P = o.userroles), "clientstyling" in o && t(2, f = o.clientstyling), "clientstylingurl" in o && t(3, M = o.clientstylingurl), "translationurl" in o && t(21, m = o.translationurl), "activemenuitem" in o && t(22, c = o.activemenuitem), "mbsource" in o && t(4, y = o.mbsource);
|
|
563
564
|
}, n.$$.update = () => {
|
|
564
565
|
n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
565
566
|
25165824 && t(6, d = !r || !k), n.$$.dirty[0] & /*lang*/
|
|
566
567
|
524288 && v && re(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
567
568
|
786435 && i && A && b && v && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
568
|
-
720896 &&
|
|
569
|
+
720896 && u && v && g && oe(), n.$$.dirty[0] & /*activemenuitem*/
|
|
569
570
|
4194304 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
570
571
|
36 && f && _ && Me(_, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
571
572
|
40 && M && _ && we(_, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
572
|
-
48 &&
|
|
573
|
-
2097152 &&
|
|
573
|
+
48 && y && _ && ve(_, `${y}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
574
|
+
2097152 && m && ne();
|
|
574
575
|
}, [
|
|
575
576
|
A,
|
|
576
577
|
i,
|
|
577
578
|
f,
|
|
578
579
|
M,
|
|
579
|
-
|
|
580
|
+
y,
|
|
580
581
|
_,
|
|
581
582
|
d,
|
|
582
583
|
w,
|
|
@@ -588,12 +589,12 @@ function ze(n, e, t) {
|
|
|
588
589
|
te,
|
|
589
590
|
q,
|
|
590
591
|
ce,
|
|
591
|
-
|
|
592
|
-
|
|
592
|
+
u,
|
|
593
|
+
g,
|
|
593
594
|
b,
|
|
594
595
|
v,
|
|
595
596
|
P,
|
|
596
|
-
|
|
597
|
+
m,
|
|
597
598
|
c,
|
|
598
599
|
r,
|
|
599
600
|
k,
|
|
@@ -601,7 +602,7 @@ function ze(n, e, t) {
|
|
|
601
602
|
ue
|
|
602
603
|
];
|
|
603
604
|
}
|
|
604
|
-
class Se extends
|
|
605
|
+
class Se extends ye {
|
|
605
606
|
constructor(e) {
|
|
606
607
|
super(), pe(
|
|
607
608
|
this,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CneHnHyh.cjs");require("../stencil/ui-image-Doro4rUa.cjs");require("../stencil/ui-skeleton-84ZRJzrd.cjs");function E(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const B={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CneHnHyh.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-io9slc",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function W(l,t,n){const a=l.slice();return a[40]=t[n],a}function H(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,y,_,b,f,g,h,u=l[12]&&ee(l),c=l[12]&&te(l),p=e.ensure_array_like(l[7]),i=[];for(let d=0;d<p.length;d+=1)i[d]=S(W(l,p,d));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),y=e.element("p"),_=e.text(l[10]),b=e.space(),c&&c.c(),f=e.space(),g=e.element("div");for(let d=0;d<i.length;d+=1)i[d].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(g,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(d,P){e.insert(d,t,P),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,y),e.append(y,_),e.append(n,b),c&&c.m(n,null),e.append(t,f),e.append(t,g);for(let A=0;A<i.length;A+=1)i[A]&&i[A].m(g,null);e.append(t,h),v&&v.m(t,null)},p(d,P){if(d[12]&&u.p(d,P),P[0]&512&&e.set_data(s,d[9]),P[0]&1024&&e.set_data(_,d[10]),d[12]&&c.p(d,P),P[0]&20864){p=e.ensure_array_like(d[7]);let A;for(A=0;A<p.length;A+=1){const x=W(d,p,A);i[A]?i[A].p(x,P):(i[A]=S(x),i[A].c(),i[A].m(g,null))}for(;A<i.length;A+=1)i[A].d(1);i.length=p.length}d[12]||v.p(d,P)},d(d){d&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,d),v&&v.d()}}}function $(l){let t,n,a,r,s,m,y,_,b,f,g=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=z(H(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),f=e.element("div"),f.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(f,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":"")+" "+(l[13].matches&&l[12]?"PlayerAccountTabletContainer":""))},m(c,p){e.insert(c,t,p),e.append(t,n),g&&g.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,b),e.append(t,f)},p(c,p){if(p[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=H(c,h,i);u[i]?u[i].p(v,p):(u[i]=z(v),u[i].c(),u[i].m(_,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),g&&g.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,y,_,b,f,g=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),_=e.svg_element("path"),b=e.space(),f=e.element("h3"),h=e.text(g),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(y,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,y),e.append(y,_),e.append(t,b),e.append(t,f),e.append(f,h),u||(c=[e.listen(n,"click",l[15]),e.listen(f,"click",l[15])],u=!0)},p(p,i){i[0]&2048&&g!==(g=p[11]("title")+"")&&e.set_data(h,g)},d(p){p&&e.detach(t),u=!1,e.run_all(c)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,y=l[40].label+"",_,b,f,g,h;function u(){return l[25](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("ui-image"),s=e.space(),m=e.element("span"),_=e.text(y),b=e.space(),e.set_custom_element_data(a,"imgClass","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.set_custom_element_data(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",f="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,p){e.insert(c,t,p),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,_),e.append(t,b),g||(h=e.listen(t,"click",u),g=!0)},p(c,p){l=c,p[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.set_custom_element_data(a,"src",r),p[0]&128&&y!==(y=l[40].label+"")&&e.set_data(_,y),p[0]&384&&f!==(f="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",f)},d(c){c&&e.detach(t),g=!1,h()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function z(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[26](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[26](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:_=""}=t,{lang:b="en"}=t,{userroles:f=""}=t,{clientstyling:g=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:p}=t,i=!1,v=!1,d=!0,P,A=[],x,k=window.navigator.userAgent,D=e.getDevice(k)!=="PC",I="",C="";const j=window.matchMedia("(min-width: 768px)"),U=()=>{fetch(u).then(M=>M.json()).then(M=>{Object.keys(M).forEach(w=>{E(w,M[w])})}).catch(M=>{console.error(M)})};Object.keys(B).forEach(o=>{E(o,B[o])});const F=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,y=o.data.session);break}},q=()=>{let o=e.getDevice(k);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(M=>M.json()).then(M=>{n(7,A=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,i=!0)})},G=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",f);let M={method:"GET",headers:{"X-SessionID":y}};fetch(o.href,M).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(24,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},T=()=>{var o;n(8,x=(o=A.find(M=>M.path.includes(c)))==null?void 0:o.id)},N=()=>{J(b)},Q=()=>{G()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{P=o,n(5,P)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(16,s=o.cmsendpoint),"env"in o&&n(17,m=o.env),"session"in o&&n(0,y=o.session),"playerid"in o&&n(18,_=o.playerid),"lang"in o&&n(19,b=o.lang),"userroles"in o&&n(20,f=o.userroles),"clientstyling"in o&&n(2,g=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(21,u=o.translationurl),"activemenuitem"in o&&n(22,c=o.activemenuitem),"mbsource"in o&&n(4,p=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,d=!i||!v),l.$$.dirty[0]&524288&&b&&N(),l.$$.dirty[0]&786435&&r&&y&&_&&b&&Q(),l.$$.dirty[0]&720896&&s&&b&&m&&R(),l.$$.dirty[0]&4194304&&c&&T(),l.$$.dirty[0]&36&&g&&P&&e.setClientStyling(P,g),l.$$.dirty[0]&40&&h&&P&&e.setClientStylingURL(P,h),l.$$.dirty[0]&48&&p&&P&&e.setStreamStyling(P,`${p}.Style`),l.$$.dirty[0]&2097152&&u&&U()},[y,r,g,h,p,P,d,A,x,I,C,a,D,j,L,V,s,m,_,b,f,u,c,i,v,X,Z]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,userroles:20,clientstyling:2,clientstylingurl:3,translationurl:21,activemenuitem:22,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(O,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=O;
|