@everymatrix/player-account-controller 1.64.4 → 1.64.6
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-B5B3mUfv.js → GeneralLogout-CYE3twI-.js} +1 -1
- package/components/{GeneralLogout-r9dFykD6.js → GeneralLogout-CgxHUYZx.js} +1 -1
- package/components/{GeneralLogout-CG738i36.cjs → GeneralLogout-Dzu2Sl-x.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-ClkfQNJv.js → PlayerAccountBettingHistory-B0IsJ01N.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BxRRiwpL.js → PlayerAccountBettingHistory-BXBMy618.js} +1 -1
- package/components/{PlayerAccountBettingHistory-B9b7N4rK.cjs → PlayerAccountBettingHistory-BtDZukYI.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CXxoE3xR.js → PlayerAccountBiometrics-CCk_4MyI.js} +1 -1
- package/components/{PlayerAccountBiometrics--jNdHq_x.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-B20VU-lf.js → PlayerAccountBiometrics-DrmVF6dX.js} +1 -1
- package/components/{PlayerAccountClosure-kB_XbZr0.js → PlayerAccountClosure-B_xwOPds.js} +1 -1
- package/components/{PlayerAccountClosure-CqoqzuI1.cjs → PlayerAccountClosure-DoZ91aH2.cjs} +1 -1
- package/components/{PlayerAccountClosure-vBb0buSf.js → PlayerAccountClosure-UwL_V2IO.js} +1 -1
- package/components/PlayerAccountController-2YSuQTHz.cjs +1 -0
- package/components/{PlayerAccountController-BUrcFu9n.js → PlayerAccountController-Cc4EqKHk.js} +133 -45
- package/components/{PlayerAccountController-DeZ4tBNI.js → PlayerAccountController-IrHGMtXL.js} +133 -45
- package/components/{PlayerAccountGamingLimits-COHvVmfz.js → PlayerAccountGamingLimits-AnMeb_za.js} +120 -122
- package/components/{PlayerAccountGamingLimits-D49iFtHC.js → PlayerAccountGamingLimits-BQpQpOUK.js} +120 -122
- package/components/PlayerAccountGamingLimits-CECZHZhj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DidMr0rR.js → PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-d82kkCRB.cjs → PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CzZmLOEg.js → PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-BKzixLuo.js → PlayerAccountGamingLimitsGroupEdit-D9wXM6XQ.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit---hht9tC.cjs → PlayerAccountGamingLimitsGroupEdit-DEf_qyUJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DfIVa88G.js → PlayerAccountGamingLimitsGroupEdit-DL2QWrsv.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-CJGqCDFL.js → PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-uDPEWTzm.js → PlayerAccountGamingLimitsHistory2-Br4h7_eS.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BMAe0pe6.cjs → PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CDIlzmJc.cjs → PlayerAccountGamingLimitsInfoCard-BU4O8oYP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DRcFna0f.js → PlayerAccountGamingLimitsInfoCard-CQ1M9gFg.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-BP5euXH9.js → PlayerAccountGamingLimitsInfoCard-DUJdJfgA.js} +3 -3
- package/components/PlayerAccountGamingLimitsPage2Gm16-1MHXK8_z.cjs +24 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-XxyZ9_Ag.js → PlayerAccountGamingLimitsPage2Gm16-BjfK_iDR.js} +493 -470
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C7c5d1aD.js → PlayerAccountGamingLimitsPage2Gm16-C-Nmj0Ga.js} +286 -263
- package/components/{PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B4IR8T1h.js → PlayerAccountGamingLimitsPopup-DTb6cpuT.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CyDdC98K.js → PlayerAccountGamingLimitsPopup-Dz9ROowj.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-6DvWdMaR.js → PlayerAccountGamingLimitsWrapper2-C-QNq3OK.js} +196 -170
- package/components/{PlayerAccountGamingLimitsWrapper2-CsWVj_tw.js → PlayerAccountGamingLimitsWrapper2-DGZxZGtI.js} +199 -173
- package/components/PlayerAccountGamingLimitsWrapper2-DhBkO3QY.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CZkaGeVc.cjs → PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BxjoWG2M.js → PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CW_W1pe4.js → PlayerAccountGeneralConfirmationModal-lHX_vmhB.js} +1 -1
- package/components/PlayerAccountMenu-BZnkRiU-.cjs +1 -0
- package/components/{PlayerAccountMenu-Q9TA1YuM.js → PlayerAccountMenu-D4d9TQsD.js} +253 -258
- package/components/{PlayerAccountMenu-mgJz03gX.js → PlayerAccountMenu-j3TA2Osb.js} +254 -257
- package/components/{PlayerAccountModal-BVOMSchH.js → PlayerAccountModal-Cbpkb5P6.js} +1 -1
- package/components/{PlayerAccountModal-DOARFyxN.js → PlayerAccountModal-Co5a_OZZ.js} +1 -1
- package/components/{PlayerAccountModal-DISAz4QD.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
- package/components/{PlayerAccountNotifications-IxjSAXFH.js → PlayerAccountNotifications-CkbUxjuk.js} +63 -71
- package/components/PlayerAccountNotifications-ejASOsrU.cjs +1 -0
- package/components/PlayerAccountNotifications-f0A-2obd.js +363 -0
- package/components/{PlayerAccountSelfExclusion-ZPrLTTIE.js → PlayerAccountSelfExclusion-B30asKGL.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Do4DebUu.cjs → PlayerAccountSelfExclusion-Bes4cKP4.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DlYHEzCp.js → PlayerAccountSelfExclusion-CIIQB9SA.js} +1 -1
- package/components/{PlayerAccountTimeout-2Yyx53wc.js → PlayerAccountTimeout-CGxx9ugx.js} +3 -3
- package/components/{PlayerAccountTimeout-BPJMj8oi.js → PlayerAccountTimeout-DHW7o1Ku.js} +3 -3
- package/components/{PlayerAccountTimeout-B09Tevgw.cjs → PlayerAccountTimeout-DSHSPHID.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-zmSP1ZKW.js → PlayerAccountTransactionsHistory-BkD7oheQ.js} +1526 -1491
- package/components/{PlayerAccountTransactionsHistory-P3vGWL_D.cjs → PlayerAccountTransactionsHistory-DV6Lliwo.cjs} +181 -181
- package/components/{PlayerAccountTransactionsHistory-Dba-1fZy.js → PlayerAccountTransactionsHistory-iW7mxyG2.js} +1529 -1494
- package/components/{PlayerActiveBonuses-Cnf-c88r.js → PlayerActiveBonuses-BkPKWz44.js} +2 -2
- package/components/{PlayerActiveBonuses-Bj5sHOFf.js → PlayerActiveBonuses-BoBuEiVq.js} +2 -2
- package/components/{PlayerActiveBonuses-CB4JoF7y.cjs → PlayerActiveBonuses-CUk_4d3L.cjs} +1 -1
- package/components/{PlayerBonusCard-DMvtaR-V.js → PlayerBonusCard-BSqijMx_.js} +2 -2
- package/components/{PlayerBonusCard-eqIrxB9j.cjs → PlayerBonusCard-Dtncif7M.cjs} +1 -1
- package/components/{PlayerBonusCard-CuF29mGk.js → PlayerBonusCard-iIM90Mie.js} +2 -2
- package/components/{PlayerBonusHistory-B7tMKaEc.js → PlayerBonusHistory-BE8tXKlu.js} +4 -4
- package/components/{PlayerBonusHistory-BfvcYocH.cjs → PlayerBonusHistory-BVlVMBRb.cjs} +1 -1
- package/components/{PlayerBonusHistory-ke-7rwfJ.js → PlayerBonusHistory-DzHpQcXW.js} +4 -4
- package/components/{PlayerChangePassword-B9C99DR9.js → PlayerChangePassword-C2ZoKuCq.js} +480 -482
- package/components/{PlayerChangePassword-C9U6ApPn.js → PlayerChangePassword-ChwKfBC6.js} +480 -482
- package/components/{PlayerChangePassword-CsxcNZiB.cjs → PlayerChangePassword-LgjKzYU1.cjs} +2 -2
- package/components/{PlayerDeposit-6Abphyko.js → PlayerDeposit-BPZ5wCAZ.js} +1 -1
- package/components/{PlayerDeposit-CjdOaig0.cjs → PlayerDeposit-Dzg8Ltb1.cjs} +1 -1
- package/components/{PlayerDeposit-BuA6tlyq.js → PlayerDeposit-VLcz0tQH.js} +1 -1
- package/components/{PlayerGamingHistory-DXXD8epD.js → PlayerGamingHistory-7-nlWdAn.js} +399 -402
- package/components/{PlayerGamingHistory-CPeYEJZ4.js → PlayerGamingHistory-BgXf3USX.js} +372 -375
- package/components/PlayerGamingHistory-Dp_pFQIN.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-B9YXwRUU.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DZS_YLjN.js → PlayerPendingWithdrawals-DeNKdUgJ.js} +1 -1
- package/components/{PlayerPendingWithdrawals-FZpSPcJv.js → PlayerPendingWithdrawals-go7okUzL.js} +1 -1
- package/components/{PlayerProfileInfo-C4O0IVWb.js → PlayerProfileInfo-B6mAu_YA.js} +623 -624
- package/components/{PlayerProfileInfo-BmVESplJ.js → PlayerProfileInfo-C5-4-WGv.js} +628 -629
- package/components/PlayerProfileInfo-Cc6HVNlU.cjs +1 -0
- package/components/PlayerRealityCheck-BrVF76qp.cjs +1 -0
- package/components/{PlayerRealityCheck-DiUi9mKo.js → PlayerRealityCheck-C2TUMl9-.js} +176 -176
- package/components/{PlayerRealityCheck-mv6Q6O_O.js → PlayerRealityCheck-DMNAglZN.js} +180 -180
- package/components/{PlayerTransactionHistory-Bh5t7Moq.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BA_pB3TF.js → PlayerTransactionHistory-A-aVfyoc.js} +1 -1
- package/components/{PlayerTransactionHistory-DcLM7g7T.js → PlayerTransactionHistory-BFV_XJw9.js} +1 -1
- package/components/{PlayerWithdrawal-DXWxKqhW.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
- package/components/{PlayerWithdrawal-DQtXexHO.js → PlayerWithdrawal-B_wQZI_t.js} +1 -1
- package/components/{PlayerWithdrawal-DfvIhSRo.js → PlayerWithdrawal-CTttZqLr.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/components/PlayerAccountController-DoD4S-nh.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BeNIpTyB.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-B7J_kBhp.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2-Nsp8qnBy.cjs +0 -1
- package/components/PlayerAccountMenu-CF9cNbUq.cjs +0 -1
- package/components/PlayerAccountNotifications-0OisRcYn.cjs +0 -1
- package/components/PlayerAccountNotifications-CwmrLgbX.js +0 -371
- package/components/PlayerGamingHistory-WUVBC7Zm.cjs +0 -1
- package/components/PlayerProfileInfo-BqzfGqWe.cjs +0 -1
- package/components/PlayerRealityCheck-CHhkuZko.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as ue, $ as me, S as ge, i as de, f as F, s as fe, A as ye, b as pe, n as O, d as C, g as L, j as b, p as he, q as G, u as be, w as Ae, O as T, P as $, h as a, k as I, e as m, o as g, c as S, m as H, r as Me, l as j, v as W, a1 as V, B as Pe, x as we, y as ve, z as _e } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
|
+
import "../stencil/ui-skeleton-C974aG7g.js";
|
|
3
|
+
function X(n, e) {
|
|
4
|
+
ue(n, e);
|
|
5
5
|
}
|
|
6
6
|
function ke(n) {
|
|
7
|
-
|
|
7
|
+
me.set(n);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Z = {
|
|
10
10
|
en: {
|
|
11
11
|
title: "My Account"
|
|
12
12
|
},
|
|
@@ -41,7 +41,7 @@ const X = {
|
|
|
41
41
|
title: "My Account"
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
if (typeof window
|
|
44
|
+
if (typeof window < "u") {
|
|
45
45
|
let n = function(e) {
|
|
46
46
|
return function(...t) {
|
|
47
47
|
try {
|
|
@@ -53,180 +53,176 @@ if (typeof window != "undefined") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-CgxHUYZx.js").then((e) => e.a7).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
60
|
+
function xe(n) {
|
|
61
|
+
pe(n, "svelte-5g0xrl", ".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, #22B04E));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, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function J(n, e, t) {
|
|
64
64
|
const l = n.slice();
|
|
65
65
|
return l[40] = e[t], l;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function K(n, e, t) {
|
|
68
68
|
const l = n.slice();
|
|
69
69
|
return l[37] = e[t], l;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
let e, t, l,
|
|
71
|
+
function Ie(n) {
|
|
72
|
+
let e, t, l, i, s, d, p, A, v, M, h, P, u = (
|
|
73
73
|
/*isMobile*/
|
|
74
|
-
n[12] &&
|
|
74
|
+
n[12] && Ce(n)
|
|
75
75
|
), c = (
|
|
76
76
|
/*isMobile*/
|
|
77
|
-
n[12] &&
|
|
78
|
-
),
|
|
77
|
+
n[12] && Le(n)
|
|
78
|
+
), f = T(
|
|
79
79
|
/*menuItems*/
|
|
80
80
|
n[7]
|
|
81
|
-
),
|
|
82
|
-
for (let
|
|
83
|
-
|
|
81
|
+
), r = [];
|
|
82
|
+
for (let y = 0; y < f.length; y += 1)
|
|
83
|
+
r[y] = Q(J(n, f, y));
|
|
84
84
|
let k = !/*isMobile*/
|
|
85
85
|
n[12] && Ee(n);
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
e =
|
|
88
|
+
e = b("div"), t = b("div"), u && u.c(), l = I(), i = b("p"), s = H(
|
|
89
89
|
/*profileUsername*/
|
|
90
90
|
n[9]
|
|
91
|
-
),
|
|
91
|
+
), d = I(), p = b("p"), A = H(
|
|
92
92
|
/*profileEmail*/
|
|
93
93
|
n[10]
|
|
94
|
-
), v = I(), c && c.c(),
|
|
95
|
-
for (let
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
99
|
-
(n[12] ? "PlayerAccountMobileContainer" : "")
|
|
100
|
-
(n[13].matches && /*isMobile*/
|
|
101
|
-
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
94
|
+
), v = I(), c && c.c(), M = I(), h = b("div");
|
|
95
|
+
for (let y = 0; y < r.length; y += 1)
|
|
96
|
+
r[y].c();
|
|
97
|
+
P = I(), k && k.c(), g(i, "class", "PlayerAccountMenuUser"), g(i, "translate", "no"), g(p, "class", "PlayerAccountMenuEmail"), g(p, "translate", "no"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
98
|
+
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(h, "class", "PlayerAccountMenuList"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
99
|
+
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
102
100
|
},
|
|
103
|
-
m(
|
|
104
|
-
L(
|
|
105
|
-
for (let w = 0; w <
|
|
106
|
-
|
|
107
|
-
a(e,
|
|
101
|
+
m(y, _) {
|
|
102
|
+
L(y, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, d), a(t, p), a(p, A), a(t, v), c && c.m(t, null), a(e, M), a(e, h);
|
|
103
|
+
for (let w = 0; w < r.length; w += 1)
|
|
104
|
+
r[w] && r[w].m(h, null);
|
|
105
|
+
a(e, P), k && k.m(e, null);
|
|
108
106
|
},
|
|
109
|
-
p(
|
|
107
|
+
p(y, _) {
|
|
110
108
|
if (
|
|
111
109
|
/*isMobile*/
|
|
112
|
-
|
|
113
|
-
512 &&
|
|
110
|
+
y[12] && u.p(y, _), _[0] & /*profileUsername*/
|
|
111
|
+
512 && S(
|
|
114
112
|
s,
|
|
115
113
|
/*profileUsername*/
|
|
116
|
-
|
|
114
|
+
y[9]
|
|
117
115
|
), _[0] & /*profileEmail*/
|
|
118
|
-
1024 &&
|
|
119
|
-
|
|
116
|
+
1024 && S(
|
|
117
|
+
A,
|
|
120
118
|
/*profileEmail*/
|
|
121
|
-
|
|
119
|
+
y[10]
|
|
122
120
|
), /*isMobile*/
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
y[12] && c.p(y, _), _[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
122
|
+
12672
|
|
125
123
|
) {
|
|
126
|
-
|
|
124
|
+
f = T(
|
|
127
125
|
/*menuItems*/
|
|
128
|
-
|
|
126
|
+
y[7]
|
|
129
127
|
);
|
|
130
128
|
let w;
|
|
131
|
-
for (w = 0; w <
|
|
132
|
-
const
|
|
133
|
-
|
|
129
|
+
for (w = 0; w < f.length; w += 1) {
|
|
130
|
+
const B = J(y, f, w);
|
|
131
|
+
r[w] ? r[w].p(B, _) : (r[w] = Q(B), r[w].c(), r[w].m(h, null));
|
|
134
132
|
}
|
|
135
|
-
for (; w <
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
for (; w < r.length; w += 1)
|
|
134
|
+
r[w].d(1);
|
|
135
|
+
r.length = f.length;
|
|
138
136
|
}
|
|
139
137
|
/*isMobile*/
|
|
140
|
-
|
|
138
|
+
y[12] || k.p(y, _);
|
|
141
139
|
},
|
|
142
|
-
d(
|
|
143
|
-
|
|
140
|
+
d(y) {
|
|
141
|
+
y && C(e), u && u.d(), c && c.d(), $(r, y), k && k.d();
|
|
144
142
|
}
|
|
145
143
|
};
|
|
146
144
|
}
|
|
147
145
|
function Fe(n) {
|
|
148
|
-
let e, t, l,
|
|
146
|
+
let e, t, l, i, s, d, p, A, v, M, h = (
|
|
149
147
|
/*isMobile*/
|
|
150
148
|
n[12] && Be()
|
|
151
|
-
),
|
|
152
|
-
for (let c = 0; c <
|
|
153
|
-
u[c] = Y(
|
|
149
|
+
), P = T(Array(18)), u = [];
|
|
150
|
+
for (let c = 0; c < P.length; c += 1)
|
|
151
|
+
u[c] = Y(K(n, P, c));
|
|
154
152
|
return {
|
|
155
153
|
c() {
|
|
156
|
-
e =
|
|
154
|
+
e = b("div"), t = b("div"), h && h.c(), l = I(), i = b("ui-skeleton"), s = I(), d = b("ui-skeleton"), p = I(), A = b("div");
|
|
157
155
|
for (let c = 0; c < u.length; c += 1)
|
|
158
156
|
u[c].c();
|
|
159
|
-
v = I(),
|
|
160
|
-
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")),
|
|
161
|
-
(n[12] ? "PlayerAccountMobileContainer" : "")
|
|
162
|
-
(n[13].matches && /*isMobile*/
|
|
163
|
-
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
157
|
+
v = I(), M = b("div"), M.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', m(i, "structure", "title"), m(i, "width", "100px"), m(i, "height", "20px"), m(i, "margin-top", "10px"), m(d, "structure", "text"), m(d, "width", "200px"), m(d, "height", "20px"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
158
|
+
(n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(A, "class", "PlayerAccountMenuList"), g(M, "class", "skeletonLogOut"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
159
|
+
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
164
160
|
},
|
|
165
|
-
m(c,
|
|
166
|
-
L(c, e,
|
|
167
|
-
for (let
|
|
168
|
-
u[
|
|
169
|
-
a(e, v), a(e,
|
|
161
|
+
m(c, f) {
|
|
162
|
+
L(c, e, f), a(e, t), h && h.m(t, null), a(t, l), a(t, i), a(t, s), a(t, d), a(e, p), a(e, A);
|
|
163
|
+
for (let r = 0; r < u.length; r += 1)
|
|
164
|
+
u[r] && u[r].m(A, null);
|
|
165
|
+
a(e, v), a(e, M);
|
|
170
166
|
},
|
|
171
|
-
p(c,
|
|
172
|
-
if (
|
|
167
|
+
p(c, f) {
|
|
168
|
+
if (f[0] & /*isMobile*/
|
|
173
169
|
4096) {
|
|
174
|
-
|
|
175
|
-
let
|
|
176
|
-
for (
|
|
177
|
-
const k =
|
|
178
|
-
u[
|
|
170
|
+
P = T(Array(18));
|
|
171
|
+
let r;
|
|
172
|
+
for (r = 0; r < P.length; r += 1) {
|
|
173
|
+
const k = K(c, P, r);
|
|
174
|
+
u[r] ? u[r].p(k, f) : (u[r] = Y(k), u[r].c(), u[r].m(A, null));
|
|
179
175
|
}
|
|
180
|
-
for (;
|
|
181
|
-
u[
|
|
182
|
-
u.length =
|
|
176
|
+
for (; r < u.length; r += 1)
|
|
177
|
+
u[r].d(1);
|
|
178
|
+
u.length = P.length;
|
|
183
179
|
}
|
|
184
180
|
},
|
|
185
181
|
d(c) {
|
|
186
|
-
c &&
|
|
182
|
+
c && C(e), h && h.d(), $(u, c);
|
|
187
183
|
}
|
|
188
184
|
};
|
|
189
185
|
}
|
|
190
|
-
function
|
|
191
|
-
let e, t, l,
|
|
186
|
+
function Ce(n) {
|
|
187
|
+
let e, t, l, i, s, d, p, A, v, M, h = (
|
|
192
188
|
/*$_*/
|
|
193
189
|
n[11]("title") + ""
|
|
194
|
-
),
|
|
190
|
+
), P, u, c;
|
|
195
191
|
return {
|
|
196
192
|
c() {
|
|
197
|
-
e =
|
|
193
|
+
e = b("div"), t = W("svg"), l = W("defs"), i = W("style"), s = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), d = W("g"), p = W("g"), A = W("path"), v = I(), M = b("h3"), P = H(h), g(A, "class", "aaa"), g(A, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(A, "transform", "translate(15 15) rotate(180)"), g(p, "transform", "translate(20 158)"), g(d, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(M, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
198
194
|
},
|
|
199
|
-
m(
|
|
200
|
-
L(
|
|
201
|
-
|
|
195
|
+
m(f, r) {
|
|
196
|
+
L(f, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, p), a(p, A), a(e, v), a(e, M), a(M, P), u || (c = [
|
|
197
|
+
j(
|
|
202
198
|
t,
|
|
203
199
|
"click",
|
|
204
200
|
/*goToHome*/
|
|
205
|
-
n[
|
|
201
|
+
n[14]
|
|
206
202
|
),
|
|
207
|
-
|
|
208
|
-
|
|
203
|
+
j(
|
|
204
|
+
M,
|
|
209
205
|
"click",
|
|
210
206
|
/*goToHome*/
|
|
211
|
-
n[
|
|
207
|
+
n[14]
|
|
212
208
|
)
|
|
213
209
|
], u = !0);
|
|
214
210
|
},
|
|
215
|
-
p(
|
|
216
|
-
|
|
211
|
+
p(f, r) {
|
|
212
|
+
r[0] & /*$_*/
|
|
217
213
|
2048 && h !== (h = /*$_*/
|
|
218
|
-
|
|
214
|
+
f[11]("title") + "") && S(P, h);
|
|
219
215
|
},
|
|
220
|
-
d(
|
|
221
|
-
|
|
216
|
+
d(f) {
|
|
217
|
+
f && C(e), u = !1, Me(c);
|
|
222
218
|
}
|
|
223
219
|
};
|
|
224
220
|
}
|
|
225
|
-
function
|
|
221
|
+
function Le(n) {
|
|
226
222
|
let e, t;
|
|
227
223
|
return {
|
|
228
224
|
c() {
|
|
229
|
-
e =
|
|
225
|
+
e = b("div"), t = b("general-logout"), m(
|
|
230
226
|
t,
|
|
231
227
|
"endpoint",
|
|
232
228
|
/*endpoint*/
|
|
@@ -251,37 +247,37 @@ function Te(n) {
|
|
|
251
247
|
"mbsource",
|
|
252
248
|
/*mbsource*/
|
|
253
249
|
n[4]
|
|
254
|
-
),
|
|
250
|
+
), g(e, "class", "PlayerAccountLogOutArea");
|
|
255
251
|
},
|
|
256
|
-
m(l,
|
|
257
|
-
L(l, e,
|
|
252
|
+
m(l, i) {
|
|
253
|
+
L(l, e, i), a(e, t);
|
|
258
254
|
},
|
|
259
|
-
p(l,
|
|
260
|
-
|
|
255
|
+
p(l, i) {
|
|
256
|
+
i[0] & /*endpoint*/
|
|
261
257
|
2 && m(
|
|
262
258
|
t,
|
|
263
259
|
"endpoint",
|
|
264
260
|
/*endpoint*/
|
|
265
261
|
l[1]
|
|
266
|
-
),
|
|
262
|
+
), i[0] & /*session*/
|
|
267
263
|
1 && m(
|
|
268
264
|
t,
|
|
269
265
|
"session",
|
|
270
266
|
/*session*/
|
|
271
267
|
l[0]
|
|
272
|
-
),
|
|
268
|
+
), i[0] & /*clientstyling*/
|
|
273
269
|
4 && m(
|
|
274
270
|
t,
|
|
275
271
|
"clientstyling",
|
|
276
272
|
/*clientstyling*/
|
|
277
273
|
l[2]
|
|
278
|
-
),
|
|
274
|
+
), i[0] & /*clientstylingurl*/
|
|
279
275
|
8 && m(
|
|
280
276
|
t,
|
|
281
277
|
"clientstylingurl",
|
|
282
278
|
/*clientstylingurl*/
|
|
283
279
|
l[3]
|
|
284
|
-
),
|
|
280
|
+
), i[0] & /*mbsource*/
|
|
285
281
|
16 && m(
|
|
286
282
|
t,
|
|
287
283
|
"mbsource",
|
|
@@ -290,19 +286,19 @@ function Te(n) {
|
|
|
290
286
|
);
|
|
291
287
|
},
|
|
292
288
|
d(l) {
|
|
293
|
-
l &&
|
|
289
|
+
l && C(e);
|
|
294
290
|
}
|
|
295
291
|
};
|
|
296
292
|
}
|
|
297
|
-
function
|
|
298
|
-
let e, t, l,
|
|
293
|
+
function Q(n) {
|
|
294
|
+
let e, t, l, i, s, d, p = (
|
|
299
295
|
/*menuItem*/
|
|
300
296
|
n[40].label + ""
|
|
301
|
-
),
|
|
297
|
+
), A, v, M, h, P;
|
|
302
298
|
function u() {
|
|
303
299
|
return (
|
|
304
300
|
/*click_handler*/
|
|
305
|
-
n[
|
|
301
|
+
n[24](
|
|
306
302
|
/*menuItem*/
|
|
307
303
|
n[40]
|
|
308
304
|
)
|
|
@@ -310,29 +306,29 @@ function K(n) {
|
|
|
310
306
|
}
|
|
311
307
|
return {
|
|
312
308
|
c() {
|
|
313
|
-
e =
|
|
314
|
-
(n[12] ? "PlayerAccountMenuItemIconMobile" : "")),
|
|
315
|
-
n[40].img) ||
|
|
309
|
+
e = b("div"), t = b("p"), l = b("img"), s = I(), d = b("span"), A = H(p), v = I(), g(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
310
|
+
(n[12] ? "PlayerAccountMenuItemIconMobile" : "")), V(l.src, i = /*menuItem*/
|
|
311
|
+
n[40].img) || g(l, "src", i), g(d, "class", "PlayerAccountMenuItemTitle"), g(t, "class", "PlayerAccountMenuItemWrapper"), g(e, "class", M = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
316
312
|
(n[8] === /*menuItem*/
|
|
317
313
|
n[40].id && !/*isMobile*/
|
|
318
314
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
319
315
|
},
|
|
320
|
-
m(c,
|
|
321
|
-
L(c, e,
|
|
316
|
+
m(c, f) {
|
|
317
|
+
L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, v), h || (P = j(e, "click", u), h = !0);
|
|
322
318
|
},
|
|
323
|
-
p(c,
|
|
324
|
-
n = c,
|
|
325
|
-
128 && !
|
|
326
|
-
n[40].img) &&
|
|
327
|
-
128 &&
|
|
328
|
-
n[40].label + "") &&
|
|
329
|
-
384 &&
|
|
319
|
+
p(c, f) {
|
|
320
|
+
n = c, f[0] & /*menuItems*/
|
|
321
|
+
128 && !V(l.src, i = /*menuItem*/
|
|
322
|
+
n[40].img) && g(l, "src", i), f[0] & /*menuItems*/
|
|
323
|
+
128 && p !== (p = /*menuItem*/
|
|
324
|
+
n[40].label + "") && S(A, p), f[0] & /*selectedItem, menuItems*/
|
|
325
|
+
384 && M !== (M = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
330
326
|
(n[8] === /*menuItem*/
|
|
331
327
|
n[40].id && !/*isMobile*/
|
|
332
|
-
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) &&
|
|
328
|
+
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", M);
|
|
333
329
|
},
|
|
334
330
|
d(c) {
|
|
335
|
-
c &&
|
|
331
|
+
c && C(e), h = !1, P();
|
|
336
332
|
}
|
|
337
333
|
};
|
|
338
334
|
}
|
|
@@ -340,7 +336,7 @@ function Ee(n) {
|
|
|
340
336
|
let e, t;
|
|
341
337
|
return {
|
|
342
338
|
c() {
|
|
343
|
-
e =
|
|
339
|
+
e = b("div"), t = b("general-logout"), m(
|
|
344
340
|
t,
|
|
345
341
|
"endpoint",
|
|
346
342
|
/*endpoint*/
|
|
@@ -365,37 +361,37 @@ function Ee(n) {
|
|
|
365
361
|
"mbsource",
|
|
366
362
|
/*mbsource*/
|
|
367
363
|
n[4]
|
|
368
|
-
),
|
|
364
|
+
), g(e, "class", "PlayerAccountLogOutArea");
|
|
369
365
|
},
|
|
370
|
-
m(l,
|
|
371
|
-
L(l, e,
|
|
366
|
+
m(l, i) {
|
|
367
|
+
L(l, e, i), a(e, t);
|
|
372
368
|
},
|
|
373
|
-
p(l,
|
|
374
|
-
|
|
369
|
+
p(l, i) {
|
|
370
|
+
i[0] & /*endpoint*/
|
|
375
371
|
2 && m(
|
|
376
372
|
t,
|
|
377
373
|
"endpoint",
|
|
378
374
|
/*endpoint*/
|
|
379
375
|
l[1]
|
|
380
|
-
),
|
|
376
|
+
), i[0] & /*session*/
|
|
381
377
|
1 && m(
|
|
382
378
|
t,
|
|
383
379
|
"session",
|
|
384
380
|
/*session*/
|
|
385
381
|
l[0]
|
|
386
|
-
),
|
|
382
|
+
), i[0] & /*clientstyling*/
|
|
387
383
|
4 && m(
|
|
388
384
|
t,
|
|
389
385
|
"clientstyling",
|
|
390
386
|
/*clientstyling*/
|
|
391
387
|
l[2]
|
|
392
|
-
),
|
|
388
|
+
), i[0] & /*clientstylingurl*/
|
|
393
389
|
8 && m(
|
|
394
390
|
t,
|
|
395
391
|
"clientstylingurl",
|
|
396
392
|
/*clientstylingurl*/
|
|
397
393
|
l[3]
|
|
398
|
-
),
|
|
394
|
+
), i[0] & /*mbsource*/
|
|
399
395
|
16 && m(
|
|
400
396
|
t,
|
|
401
397
|
"mbsource",
|
|
@@ -404,7 +400,7 @@ function Ee(n) {
|
|
|
404
400
|
);
|
|
405
401
|
},
|
|
406
402
|
d(l) {
|
|
407
|
-
l &&
|
|
403
|
+
l && C(e);
|
|
408
404
|
}
|
|
409
405
|
};
|
|
410
406
|
}
|
|
@@ -412,13 +408,13 @@ function Be(n) {
|
|
|
412
408
|
let e;
|
|
413
409
|
return {
|
|
414
410
|
c() {
|
|
415
|
-
e =
|
|
411
|
+
e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
416
412
|
},
|
|
417
413
|
m(t, l) {
|
|
418
414
|
L(t, e, l);
|
|
419
415
|
},
|
|
420
416
|
d(t) {
|
|
421
|
-
t &&
|
|
417
|
+
t && C(e);
|
|
422
418
|
}
|
|
423
419
|
};
|
|
424
420
|
}
|
|
@@ -426,204 +422,203 @@ function We(n) {
|
|
|
426
422
|
let e;
|
|
427
423
|
return {
|
|
428
424
|
c() {
|
|
429
|
-
e =
|
|
425
|
+
e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
430
426
|
},
|
|
431
427
|
m(t, l) {
|
|
432
428
|
L(t, e, l);
|
|
433
429
|
},
|
|
434
430
|
d(t) {
|
|
435
|
-
t &&
|
|
431
|
+
t && C(e);
|
|
436
432
|
}
|
|
437
433
|
};
|
|
438
434
|
}
|
|
439
435
|
function Y(n) {
|
|
440
|
-
let e, t, l,
|
|
436
|
+
let e, t, l, i, s = !/*isMobile*/
|
|
441
437
|
n[12] && We();
|
|
442
438
|
return {
|
|
443
439
|
c() {
|
|
444
|
-
e =
|
|
440
|
+
e = b("div"), s && s.c(), t = I(), l = b("ui-skeleton"), i = I(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
|
|
445
441
|
l,
|
|
446
442
|
"height",
|
|
447
443
|
/*isMobile*/
|
|
448
444
|
n[12] ? "120px" : "20px"
|
|
449
|
-
),
|
|
445
|
+
), g(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
450
446
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
451
447
|
},
|
|
452
|
-
m(
|
|
453
|
-
L(
|
|
448
|
+
m(d, p) {
|
|
449
|
+
L(d, e, p), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
454
450
|
},
|
|
455
|
-
p:
|
|
456
|
-
d(
|
|
457
|
-
|
|
451
|
+
p: O,
|
|
452
|
+
d(d) {
|
|
453
|
+
d && C(e), s && s.d();
|
|
458
454
|
}
|
|
459
455
|
};
|
|
460
456
|
}
|
|
461
457
|
function He(n) {
|
|
462
458
|
let e;
|
|
463
|
-
function t(s,
|
|
459
|
+
function t(s, d) {
|
|
464
460
|
return (
|
|
465
461
|
/*skeletonLoading*/
|
|
466
|
-
s[6] ? Fe :
|
|
462
|
+
s[6] ? Fe : Ie
|
|
467
463
|
);
|
|
468
464
|
}
|
|
469
|
-
let l = t(n),
|
|
465
|
+
let l = t(n), i = l(n);
|
|
470
466
|
return {
|
|
471
467
|
c() {
|
|
472
|
-
e =
|
|
468
|
+
e = b("div"), i.c();
|
|
473
469
|
},
|
|
474
|
-
m(s,
|
|
475
|
-
L(s, e,
|
|
470
|
+
m(s, d) {
|
|
471
|
+
L(s, e, d), i.m(e, null), n[25](e);
|
|
476
472
|
},
|
|
477
|
-
p(s,
|
|
478
|
-
l === (l = t(s)) &&
|
|
473
|
+
p(s, d) {
|
|
474
|
+
l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
|
|
479
475
|
},
|
|
480
|
-
i:
|
|
481
|
-
o:
|
|
476
|
+
i: O,
|
|
477
|
+
o: O,
|
|
482
478
|
d(s) {
|
|
483
|
-
s &&
|
|
479
|
+
s && C(e), i.d(), n[25](null);
|
|
484
480
|
}
|
|
485
481
|
};
|
|
486
482
|
}
|
|
487
|
-
function
|
|
483
|
+
function Te(n, e, t) {
|
|
488
484
|
let l;
|
|
489
|
-
he(n,
|
|
490
|
-
let { endpoint:
|
|
491
|
-
|
|
485
|
+
he(n, Pe, (o) => t(11, l = o));
|
|
486
|
+
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: v = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, k = !1, y = !0, _, w = [], B, z = window.navigator.userAgent, ee = G(z) !== "PC", U = "", D = "";
|
|
487
|
+
window.matchMedia("(min-width: 768px)");
|
|
488
|
+
const te = () => {
|
|
492
489
|
fetch(u).then((x) => x.json()).then((x) => {
|
|
493
|
-
Object.keys(x).forEach((
|
|
494
|
-
|
|
490
|
+
Object.keys(x).forEach((E) => {
|
|
491
|
+
X(E, x[E]);
|
|
495
492
|
});
|
|
496
493
|
}).catch((x) => {
|
|
497
494
|
console.error(x);
|
|
498
495
|
});
|
|
499
496
|
};
|
|
500
|
-
Object.keys(
|
|
501
|
-
|
|
497
|
+
Object.keys(Z).forEach((o) => {
|
|
498
|
+
X(o, Z[o]);
|
|
502
499
|
});
|
|
503
|
-
const R = (
|
|
504
|
-
if (
|
|
505
|
-
switch (
|
|
500
|
+
const R = (o) => {
|
|
501
|
+
if (o.data)
|
|
502
|
+
switch (o.data.type) {
|
|
506
503
|
case "UserSessionID":
|
|
507
|
-
t(0,
|
|
504
|
+
t(0, p = o.data.session);
|
|
508
505
|
break;
|
|
509
506
|
}
|
|
507
|
+
}, ne = () => {
|
|
508
|
+
let o = G(z);
|
|
509
|
+
if (o)
|
|
510
|
+
return o === "PC" ? "dk" : "mtWeb";
|
|
510
511
|
}, le = () => {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
return r === "PC" ? "dk" : "mtWeb";
|
|
514
|
-
}, oe = () => {
|
|
515
|
-
const r = new URL(`${s}/${v}/profile-menu?env=${g}`);
|
|
516
|
-
r.searchParams.append("device", le()), fetch(r.href).then((x) => x.json()).then((x) => {
|
|
512
|
+
const o = new URL(`${s}/${v}/profile-menu?env=${d}`);
|
|
513
|
+
o.searchParams.append("device", ne()), fetch(o.href).then((x) => x.json()).then((x) => {
|
|
517
514
|
t(7, w = x), N();
|
|
518
515
|
}).catch((x) => {
|
|
519
516
|
console.error("Error getting menu items", x);
|
|
520
517
|
}).finally(() => {
|
|
521
|
-
t(
|
|
518
|
+
t(22, r = !0);
|
|
522
519
|
});
|
|
523
|
-
},
|
|
524
|
-
let
|
|
525
|
-
|
|
520
|
+
}, ie = () => {
|
|
521
|
+
let o = new URL(`${i}/v1/player/${A}/profile`);
|
|
522
|
+
o.searchParams.append("userRoles", M);
|
|
526
523
|
let x = {
|
|
527
524
|
method: "GET",
|
|
528
|
-
headers: { "X-SessionID":
|
|
525
|
+
headers: { "X-SessionID": p }
|
|
529
526
|
};
|
|
530
|
-
fetch(
|
|
531
|
-
(
|
|
532
|
-
t(9, U =
|
|
527
|
+
fetch(o.href, x).then((E) => E.json()).then(
|
|
528
|
+
(E) => {
|
|
529
|
+
t(9, U = E.username), t(10, D = E.email);
|
|
533
530
|
},
|
|
534
|
-
(
|
|
535
|
-
console.error(
|
|
531
|
+
(E) => {
|
|
532
|
+
console.error(E);
|
|
536
533
|
}
|
|
537
534
|
).finally(() => {
|
|
538
|
-
t(
|
|
535
|
+
t(23, k = !0);
|
|
539
536
|
});
|
|
540
|
-
}, q = (
|
|
541
|
-
window.postMessage({ type: "ChangeAccountPage", page:
|
|
537
|
+
}, q = (o) => {
|
|
538
|
+
window.postMessage({ type: "ChangeAccountPage", page: o }, window.location.href), t(8, B = o.id);
|
|
542
539
|
}, N = () => {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}, ie = () => {
|
|
540
|
+
t(8, B = w.find((o) => o.path.includes(c))?.id);
|
|
541
|
+
}, oe = () => {
|
|
546
542
|
ke(v);
|
|
543
|
+
}, re = () => {
|
|
544
|
+
ie();
|
|
547
545
|
}, ae = () => {
|
|
548
|
-
re();
|
|
549
|
-
}, ce = () => {
|
|
550
546
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
551
547
|
};
|
|
552
|
-
|
|
548
|
+
be(() => (window.addEventListener("message", R, !1), () => {
|
|
553
549
|
window.removeEventListener("message", R);
|
|
554
550
|
}));
|
|
555
|
-
const
|
|
556
|
-
function
|
|
557
|
-
|
|
558
|
-
_ =
|
|
551
|
+
const ce = (o) => q(o);
|
|
552
|
+
function se(o) {
|
|
553
|
+
Ae[o ? "unshift" : "push"](() => {
|
|
554
|
+
_ = o, t(5, _);
|
|
559
555
|
});
|
|
560
556
|
}
|
|
561
|
-
return n.$$set = (
|
|
562
|
-
"endpoint" in
|
|
557
|
+
return n.$$set = (o) => {
|
|
558
|
+
"endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(15, s = o.cmsendpoint), "env" in o && t(16, d = o.env), "session" in o && t(0, p = o.session), "playerid" in o && t(17, A = o.playerid), "lang" in o && t(18, v = o.lang), "userroles" in o && t(19, M = o.userroles), "clientstyling" in o && t(2, h = o.clientstyling), "clientstylingurl" in o && t(3, P = o.clientstylingurl), "translationurl" in o && t(20, u = o.translationurl), "activemenuitem" in o && t(21, c = o.activemenuitem), "mbsource" in o && t(4, f = o.mbsource);
|
|
563
559
|
}, n.$$.update = () => {
|
|
564
560
|
n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
36 && h && _ &&
|
|
571
|
-
40 &&
|
|
572
|
-
48 &&
|
|
573
|
-
|
|
561
|
+
12582912 && t(6, y = !r || !k), n.$$.dirty[0] & /*lang*/
|
|
562
|
+
262144 && v && oe(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
563
|
+
393219 && i && p && A && v && re(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
564
|
+
360448 && s && v && d && le(), n.$$.dirty[0] & /*activemenuitem*/
|
|
565
|
+
2097152 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
566
|
+
36 && h && _ && we(_, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
567
|
+
40 && P && _ && ve(_, P), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
568
|
+
48 && f && _ && _e(_, `${f}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
569
|
+
1048576 && u && te();
|
|
574
570
|
}, [
|
|
575
|
-
f,
|
|
576
|
-
o,
|
|
577
|
-
h,
|
|
578
|
-
M,
|
|
579
571
|
p,
|
|
572
|
+
i,
|
|
573
|
+
h,
|
|
574
|
+
P,
|
|
575
|
+
f,
|
|
580
576
|
_,
|
|
581
|
-
|
|
577
|
+
y,
|
|
582
578
|
w,
|
|
583
|
-
|
|
579
|
+
B,
|
|
584
580
|
U,
|
|
585
581
|
D,
|
|
586
582
|
l,
|
|
587
583
|
ee,
|
|
588
|
-
te,
|
|
589
584
|
q,
|
|
590
|
-
|
|
585
|
+
ae,
|
|
591
586
|
s,
|
|
592
|
-
|
|
593
|
-
|
|
587
|
+
d,
|
|
588
|
+
A,
|
|
594
589
|
v,
|
|
595
|
-
|
|
590
|
+
M,
|
|
596
591
|
u,
|
|
597
592
|
c,
|
|
598
|
-
|
|
593
|
+
r,
|
|
599
594
|
k,
|
|
600
|
-
|
|
601
|
-
|
|
595
|
+
ce,
|
|
596
|
+
se
|
|
602
597
|
];
|
|
603
598
|
}
|
|
604
599
|
class Se extends ge {
|
|
605
600
|
constructor(e) {
|
|
606
|
-
super(),
|
|
601
|
+
super(), de(
|
|
607
602
|
this,
|
|
608
603
|
e,
|
|
609
|
-
|
|
604
|
+
Te,
|
|
610
605
|
He,
|
|
611
|
-
|
|
606
|
+
fe,
|
|
612
607
|
{
|
|
613
608
|
endpoint: 1,
|
|
614
|
-
cmsendpoint:
|
|
615
|
-
env:
|
|
609
|
+
cmsendpoint: 15,
|
|
610
|
+
env: 16,
|
|
616
611
|
session: 0,
|
|
617
|
-
playerid:
|
|
618
|
-
lang:
|
|
619
|
-
userroles:
|
|
612
|
+
playerid: 17,
|
|
613
|
+
lang: 18,
|
|
614
|
+
userroles: 19,
|
|
620
615
|
clientstyling: 2,
|
|
621
616
|
clientstylingurl: 3,
|
|
622
|
-
translationurl:
|
|
623
|
-
activemenuitem:
|
|
617
|
+
translationurl: 20,
|
|
618
|
+
activemenuitem: 21,
|
|
624
619
|
mbsource: 4
|
|
625
620
|
},
|
|
626
|
-
|
|
621
|
+
xe,
|
|
627
622
|
[-1, -1]
|
|
628
623
|
);
|
|
629
624
|
}
|
|
@@ -631,76 +626,76 @@ class Se extends ge {
|
|
|
631
626
|
return this.$$.ctx[1];
|
|
632
627
|
}
|
|
633
628
|
set endpoint(e) {
|
|
634
|
-
this.$$set({ endpoint: e }),
|
|
629
|
+
this.$$set({ endpoint: e }), F();
|
|
635
630
|
}
|
|
636
631
|
get cmsendpoint() {
|
|
637
|
-
return this.$$.ctx[
|
|
632
|
+
return this.$$.ctx[15];
|
|
638
633
|
}
|
|
639
634
|
set cmsendpoint(e) {
|
|
640
|
-
this.$$set({ cmsendpoint: e }),
|
|
635
|
+
this.$$set({ cmsendpoint: e }), F();
|
|
641
636
|
}
|
|
642
637
|
get env() {
|
|
643
|
-
return this.$$.ctx[
|
|
638
|
+
return this.$$.ctx[16];
|
|
644
639
|
}
|
|
645
640
|
set env(e) {
|
|
646
|
-
this.$$set({ env: e }),
|
|
641
|
+
this.$$set({ env: e }), F();
|
|
647
642
|
}
|
|
648
643
|
get session() {
|
|
649
644
|
return this.$$.ctx[0];
|
|
650
645
|
}
|
|
651
646
|
set session(e) {
|
|
652
|
-
this.$$set({ session: e }),
|
|
647
|
+
this.$$set({ session: e }), F();
|
|
653
648
|
}
|
|
654
649
|
get playerid() {
|
|
655
|
-
return this.$$.ctx[
|
|
650
|
+
return this.$$.ctx[17];
|
|
656
651
|
}
|
|
657
652
|
set playerid(e) {
|
|
658
|
-
this.$$set({ playerid: e }),
|
|
653
|
+
this.$$set({ playerid: e }), F();
|
|
659
654
|
}
|
|
660
655
|
get lang() {
|
|
661
|
-
return this.$$.ctx[
|
|
656
|
+
return this.$$.ctx[18];
|
|
662
657
|
}
|
|
663
658
|
set lang(e) {
|
|
664
|
-
this.$$set({ lang: e }),
|
|
659
|
+
this.$$set({ lang: e }), F();
|
|
665
660
|
}
|
|
666
661
|
get userroles() {
|
|
667
|
-
return this.$$.ctx[
|
|
662
|
+
return this.$$.ctx[19];
|
|
668
663
|
}
|
|
669
664
|
set userroles(e) {
|
|
670
|
-
this.$$set({ userroles: e }),
|
|
665
|
+
this.$$set({ userroles: e }), F();
|
|
671
666
|
}
|
|
672
667
|
get clientstyling() {
|
|
673
668
|
return this.$$.ctx[2];
|
|
674
669
|
}
|
|
675
670
|
set clientstyling(e) {
|
|
676
|
-
this.$$set({ clientstyling: e }),
|
|
671
|
+
this.$$set({ clientstyling: e }), F();
|
|
677
672
|
}
|
|
678
673
|
get clientstylingurl() {
|
|
679
674
|
return this.$$.ctx[3];
|
|
680
675
|
}
|
|
681
676
|
set clientstylingurl(e) {
|
|
682
|
-
this.$$set({ clientstylingurl: e }),
|
|
677
|
+
this.$$set({ clientstylingurl: e }), F();
|
|
683
678
|
}
|
|
684
679
|
get translationurl() {
|
|
685
|
-
return this.$$.ctx[
|
|
680
|
+
return this.$$.ctx[20];
|
|
686
681
|
}
|
|
687
682
|
set translationurl(e) {
|
|
688
|
-
this.$$set({ translationurl: e }),
|
|
683
|
+
this.$$set({ translationurl: e }), F();
|
|
689
684
|
}
|
|
690
685
|
get activemenuitem() {
|
|
691
|
-
return this.$$.ctx[
|
|
686
|
+
return this.$$.ctx[21];
|
|
692
687
|
}
|
|
693
688
|
set activemenuitem(e) {
|
|
694
|
-
this.$$set({ activemenuitem: e }),
|
|
689
|
+
this.$$set({ activemenuitem: e }), F();
|
|
695
690
|
}
|
|
696
691
|
get mbsource() {
|
|
697
692
|
return this.$$.ctx[4];
|
|
698
693
|
}
|
|
699
694
|
set mbsource(e) {
|
|
700
|
-
this.$$set({ mbsource: e }),
|
|
695
|
+
this.$$set({ mbsource: e }), F();
|
|
701
696
|
}
|
|
702
697
|
}
|
|
703
|
-
|
|
698
|
+
ye(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
|
|
704
699
|
export {
|
|
705
700
|
Se as default
|
|
706
701
|
};
|