@everymatrix/player-account-controller-nd 1.76.1 → 1.76.3
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-DqIgt_tx.js → GeneralLogout-C-KQBmk3.js} +1308 -1322
- package/components/{GeneralLogout-D030tuMl.js → GeneralLogout-C52-PhwD.js} +1284 -1298
- package/components/GeneralLogout-COm1JcKW.cjs +21 -0
- package/components/PlayerAccountBettingHistory-5QM3bGgT.js +310 -0
- package/components/PlayerAccountBettingHistory-B91V20F2.js +311 -0
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +1 -0
- package/components/{PlayerAccountBiometrics-DsYJOGIk.js → PlayerAccountBiometrics-C5FFOJ5V.js} +5 -5
- package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-YcohloWe.js → PlayerAccountBiometrics-DuvDCmjx.js} +5 -5
- package/components/{PlayerAccountClosureNd-B9z8p3ie.js → PlayerAccountClosureNd-BEMKT7IM.js} +6 -6
- package/components/{PlayerAccountClosureNd-DFWHunWk.cjs → PlayerAccountClosureNd-CMzRAP8U.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-C5CrElCk.js → PlayerAccountClosureNd-CYHq0859.js} +6 -6
- package/components/{PlayerAccountControllerNd-CfcDfLOF.cjs → PlayerAccountControllerNd-5P_qraz8.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-BVcSUC86.js → PlayerAccountControllerNd-C2xNfItK.js} +211 -211
- package/components/{PlayerAccountControllerNd-Dlx4or6e.js → PlayerAccountControllerNd-D_dltJgG.js} +215 -215
- package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CUtQADXZ.js → PlayerAccountGamingLimits-B7ppWJQ6.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CsAmDJwA.js → PlayerAccountGamingLimits-DMS9a3TN.js} +124 -124
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js → PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js → PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js → PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js → PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs → PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js → PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js → PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs → PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js → PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js → PlayerAccountGamingLimitsInfoCard-DjnVkaho.js} +7 -7
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-AHp_6LYD.js → PlayerAccountGamingLimitsPage2Gm16Nd-B6s5JpNY.js} +23 -23
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bleqn2Tm.js → PlayerAccountGamingLimitsPage2Gm16Nd-nx7oRLey.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D0i2RHzl.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-q7UT5qmk.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPopup-B04Er6pi.js → PlayerAccountGamingLimitsPopup-1ObhRFHn.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-oQNgmn2e.js → PlayerAccountGamingLimitsPopup-lZ7y_RVP.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BH96qAIg.js → PlayerAccountGamingLimitsWrapper2Nd-Bgr6DeY3.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DPJcBncF.js → PlayerAccountGamingLimitsWrapper2Nd-Blbz-UsS.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CmEWPqYD.cjs → PlayerAccountGamingLimitsWrapper2Nd-D97T9bNZ.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-CukB9VCO.js → PlayerAccountGeneralConfirmationModal-Bgat7eVE.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-ESnfg5wk.js → PlayerAccountGeneralConfirmationModal-DrgjMSLh.js} +53 -53
- package/components/{PlayerAccountMenuNd-BIxULyK_.js → PlayerAccountMenuNd-V9EOIgPS.js} +7 -7
- package/components/{PlayerAccountMenuNd-y2DyyHIy.cjs → PlayerAccountMenuNd-Yk5u12tl.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Dz2t35yx.js → PlayerAccountMenuNd-alDPH0d2.js} +7 -7
- package/components/{PlayerAccountModal-BUf_-0GM.js → PlayerAccountModal-9FK6eAt0.js} +10 -10
- package/components/{PlayerAccountModal-BZ_7luqG.js → PlayerAccountModal-DCsw7iyn.js} +10 -10
- package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CNm0Cac9.js → PlayerAccountNotifications-BVfKQdMA.js} +6 -6
- package/components/{PlayerAccountNotifications-qzx6Peu-.js → PlayerAccountNotifications-BzEDVvTZ.js} +6 -6
- package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-DJUublp5.cjs → PlayerAccountProductRestriction-BJ0LFpLp.cjs} +268 -268
- package/components/{PlayerAccountProductRestriction-Dj-GoA-Y.js → PlayerAccountProductRestriction-DmWDaeEI.js} +2494 -2498
- package/components/{PlayerAccountProductRestriction-k26MhfnT.js → PlayerAccountProductRestriction-EAWMHqK4.js} +2517 -2521
- package/components/{PlayerAccountSelfExclusionNd-CNzMQ7eW.js → PlayerAccountSelfExclusionNd-BI74DoLY.js} +843 -844
- package/components/{PlayerAccountSelfExclusionNd-AgJSFDnT.cjs → PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs} +152 -152
- package/components/{PlayerAccountSelfExclusionNd-BQtNrIGS.js → PlayerAccountSelfExclusionNd-CiB251y6.js} +824 -825
- package/components/{PlayerAccountTimeout-CYyxjqJQ.js → PlayerAccountTimeout-BlJS9laL.js} +43 -43
- package/components/{PlayerAccountTimeout-DTzfXl3o.js → PlayerAccountTimeout-GP0WHuhG.js} +43 -43
- package/components/{PlayerAccountTimeout-BSSbDBi8.cjs → PlayerAccountTimeout-U0kgxhKU.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-Bcxv7da3.cjs → PlayerAccountTransactionsHistory-CNgQQxdT.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory--RNTGYbI.js → PlayerAccountTransactionsHistory-D5K0uJEO.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-CLGGAntq.js → PlayerAccountTransactionsHistory-Lh_TpwTB.js} +7 -7
- package/components/{PlayerActiveBonuses-_5tMeqW1.js → PlayerActiveBonuses-D4OBnwNa.js} +6 -6
- package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CG3MShje.js → PlayerActiveBonuses-zLuqH4eW.js} +6 -6
- package/components/{PlayerBonusCard-PjFBuYOQ.js → PlayerBonusCard-BbRQx8Gg.js} +7 -7
- package/components/{PlayerBonusCard-JxCswDEv.js → PlayerBonusCard-BhW_g3sH.js} +7 -7
- package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
- package/components/{PlayerBonusHistory-WEjZxD6T.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
- package/components/{PlayerBonusHistory-BJxVpVed.js → PlayerBonusHistory-BxbtWY0l.js} +7 -7
- package/components/{PlayerBonusHistory-D4fHekky.js → PlayerBonusHistory-C_uP6nBB.js} +7 -7
- package/components/{PlayerChangePasswordNd-DcgU3jc2.cjs → PlayerChangePasswordNd-DSIi_04v.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-BNKqXdus.js → PlayerChangePasswordNd-DUzbCK4p.js} +4 -4
- package/components/{PlayerChangePasswordNd-DeLVgl-F.js → PlayerChangePasswordNd-DWsHRVAH.js} +4 -4
- package/components/{PlayerDeposit-CNQfct0C.js → PlayerDeposit-BeGgsgNu.js} +73 -73
- package/components/{PlayerDeposit-DGv0xh8z.js → PlayerDeposit-CI5GIyAe.js} +73 -73
- package/components/PlayerDeposit-CmBFg6tX.cjs +1 -0
- package/components/{PlayerGamingHistory-wT_xKClx.js → PlayerGamingHistory-BJQKapHg.js} +53 -53
- package/components/{PlayerGamingHistory-BGfVusNu.js → PlayerGamingHistory-DEgVt4st.js} +60 -60
- package/components/{PlayerGamingHistory-BxN4Cjj3.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BizDJ0F9.js → PlayerPendingWithdrawals-BL4JTLkC.js} +6 -6
- package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BB2HoABl.js → PlayerPendingWithdrawals-o6_OjL5C.js} +6 -6
- package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cnl1XufF.js → PlayerProfileInfo-D0A3aRV_.js} +108 -108
- package/components/{PlayerProfileInfo-C-g4XepU.js → PlayerProfileInfo-xRMbiw1T.js} +95 -95
- package/components/{PlayerRealityCheck-BBmsx1va.js → PlayerRealityCheck-BEiZhn6p.js} +6 -6
- package/components/{PlayerRealityCheck-P7wFyweE.js → PlayerRealityCheck-CYU_NrFB.js} +6 -6
- package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CqY9DKiK.js → PlayerTransactionHistory-BS1LjP09.js} +6 -6
- package/components/{PlayerTransactionHistory-DN6FJ2lh.js → PlayerTransactionHistory-DdbQZ6mw.js} +6 -6
- package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
- package/components/{PlayerWithdrawal-lAVd0flG.js → PlayerWithdrawal-DGN4Y9QP.js} +6 -6
- package/components/{PlayerWithdrawal-oEAQeQgU.js → PlayerWithdrawal-DOec04Iq.js} +6 -6
- package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-HwHjvct_.js → checkbox-group-input_15-Cm-Io-xD.js} +3216 -3222
- package/stencil/{checkbox-group-input_15-BYhnrwip.js → checkbox-group-input_15-DuNUJJTh.js} +3212 -3218
- package/stencil/{checkbox-group-input_15-Mcop3LHQ.cjs → checkbox-group-input_15-_nxwaXJG.cjs} +271 -271
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
- package/stencil/index-1ef3a64c-DQk1yZfC.js +556 -0
- package/stencil/{index-1ef3a64c-BJwg6KZV.js → index-1ef3a64c-DuKSFSN8.js} +201 -201
- package/stencil/{index-6e523641-Q8F9VHK2.js → index-6e523641-BMbc57IV.js} +152 -152
- package/stencil/index-6e523641-BZDelC3M.cjs +1 -0
- package/stencil/{index-6e523641-078VKWzv.js → index-6e523641-D97cqlCQ.js} +142 -142
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +1 -0
- package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-GCIFeGLp.js} +118 -118
- package/stencil/{index-9c0f6c58-8sXzcKbt.js → index-9c0f6c58-Ucwc3Jk1.js} +223 -223
- package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
- package/stencil/{index-b2193545-DfDFpDFs.js → index-b2193545-DPKCFIaU.js} +169 -169
- package/stencil/{index-b2193545-BekNYO1T.js → index-b2193545-LzjWxki5.js} +176 -176
- package/stencil/index-c666b6e6-boVOGpc7.cjs +1 -0
- package/stencil/{index-c666b6e6-BVlUm5XF.js → index-c666b6e6-c0hf32cu.js} +124 -124
- package/stencil/{index-c666b6e6-Dg6tFb_k.js → index-c666b6e6-eYzoO3Jn.js} +245 -245
- package/stencil/{pam-change-password-9aef79f2-D_ez_GX8.js → pam-change-password-9aef79f2-CavSOe-m.js} +59 -59
- package/stencil/{pam-change-password-9aef79f2-C-qbI9bv.cjs → pam-change-password-9aef79f2-ONc9NBqY.cjs} +2 -2
- package/stencil/{pam-change-password-9aef79f2-DiWK4wfJ.js → pam-change-password-9aef79f2-mdiqi4BL.js} +59 -59
- package/stencil/{pam-change-password-DpPAvGik.cjs → pam-change-password-BKya2rzZ.cjs} +1 -1
- package/stencil/{pam-change-password-GW3U-yIN.js → pam-change-password-CZxcB-oo.js} +1 -1
- package/stencil/{pam-change-password-CzOysbF5.js → pam-change-password-CurSbN32.js} +1 -1
- package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-B9ZaCq1K.js} +1 -1
- package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-D10m225z.cjs} +1 -1
- package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-Wsswi9br.js} +1 -1
- package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-2XsWxl4S.js} +2 -2
- package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
- package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-LneRlsD3.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
- package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
- package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
- package/stencil/{user-transaction-history-Ch7DwPng.cjs → user-transaction-history-DLnBnc9G.cjs} +1 -1
- package/stencil/{user-transaction-history-DeLTrl8E.js → user-transaction-history-DgJplHTM.js} +1 -1
- package/stencil/{user-transaction-history-8J3-J0I0.js → user-transaction-history-DmJRwGhM.js} +1 -1
- package/stencil/{user-transaction-history_2-MG1TmhMo.js → user-transaction-history_2-B2zGklPY.js} +848 -848
- package/stencil/{user-transaction-history_2-B4YDWP13.js → user-transaction-history_2-C4mIlMIA.js} +842 -842
- package/stencil/user-transaction-history_2-hm8W11mj.cjs +2 -0
- package/components/GeneralLogout-TofSUXEw.cjs +0 -21
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
- package/components/PlayerAccountBettingHistory-BspqrGzf.js +0 -310
- package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +0 -311
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +0 -1
- package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
- package/stencil/index-6e523641-BzXfsijo.cjs +0 -1
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
- package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
- package/stencil/index-c666b6e6-rZoDoKh2.cjs +0 -1
- package/stencil/user-transaction-history_2-BxjAG99A.cjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as J, $ as K, S as F, i as Q, f as
|
|
1
|
+
import { a as J, $ as K, S as F, i as Q, f as p, c as V, s as X, b as Y, H as Z, e as v, d as B, t as T, g as l, k as S, l as m, m as j, I as $, J as ee, K as te, n as O, L as ne, M as oe, p as L, r as re, q as ie, u as ae, v as le, x as se, y as ce, z as fe, A as me, w as H, o as de, B as ue } from "./GeneralLogout-C-KQBmk3.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
J(n, e);
|
|
4
4
|
}
|
|
@@ -74,7 +74,7 @@ function E(n) {
|
|
|
74
74
|
let e, t, i;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e =
|
|
77
|
+
e = v("div"), t = v("h2"), i = T(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
@@ -102,18 +102,18 @@ function I(n) {
|
|
|
102
102
|
), i, c, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e =
|
|
105
|
+
e = v("button"), i = T(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(f,
|
|
108
|
-
S(f, e,
|
|
107
|
+
m(f, x) {
|
|
108
|
+
S(f, e, x), m(e, i), c || (d = j(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
112
112
|
n[17]
|
|
113
113
|
), c = !0);
|
|
114
114
|
},
|
|
115
|
-
p(f,
|
|
116
|
-
|
|
115
|
+
p(f, x) {
|
|
116
|
+
x & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
118
|
f[4]("cancel") + "") && O(i, t);
|
|
119
119
|
},
|
|
@@ -123,10 +123,10 @@ function I(n) {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function pe(n) {
|
|
126
|
-
let e, t, i, c, d, f,
|
|
126
|
+
let e, t, i, c, d, f, x, b, _, h, w = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
),
|
|
129
|
+
), y, u, k, G;
|
|
130
130
|
const g = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
@@ -136,7 +136,7 @@ function pe(n) {
|
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
n[15],
|
|
138
138
|
q
|
|
139
|
-
),
|
|
139
|
+
), M = A || Ce();
|
|
140
140
|
let s = (
|
|
141
141
|
/*modaltitle*/
|
|
142
142
|
n[1] && E(n)
|
|
@@ -146,14 +146,14 @@ function pe(n) {
|
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e =
|
|
149
|
+
e = v("div"), t = v("div"), i = v("span"), M.c(), c = B(), s && s.c(), d = B(), f = v("div"), x = B(), b = v("div"), a && a.c(), _ = B(), h = v("button"), y = T(w), l(i, "class", "ModalCloseBtn"), l(i, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(h, "class", "GeneralConfirmButton"), l(b, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
150
150
|
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
151
151
|
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
152
152
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
153
153
|
},
|
|
154
|
-
m(r,
|
|
155
|
-
S(r, e,
|
|
156
|
-
n[0], m(t,
|
|
154
|
+
m(r, C) {
|
|
155
|
+
S(r, e, C), m(e, t), m(t, i), M.m(i, null), m(t, c), s && s.m(t, null), m(t, d), m(t, f), f.innerHTML = /*modaltext*/
|
|
156
|
+
n[0], m(t, x), m(t, b), a && a.m(b, null), m(b, _), m(b, h), m(h, y), n[19](e), u = !0, k || (G = [
|
|
157
157
|
j(
|
|
158
158
|
i,
|
|
159
159
|
"click",
|
|
@@ -166,10 +166,10 @@ function pe(n) {
|
|
|
166
166
|
/*click_handler_1*/
|
|
167
167
|
n[18]
|
|
168
168
|
)
|
|
169
|
-
],
|
|
169
|
+
], k = !0);
|
|
170
170
|
},
|
|
171
|
-
p(r, [
|
|
172
|
-
A && A.p && (!u ||
|
|
171
|
+
p(r, [C]) {
|
|
172
|
+
A && A.p && (!u || C & /*$$scope*/
|
|
173
173
|
32768) && $(
|
|
174
174
|
A,
|
|
175
175
|
g,
|
|
@@ -180,7 +180,7 @@ function pe(n) {
|
|
|
180
180
|
g,
|
|
181
181
|
/*$$scope*/
|
|
182
182
|
r[15],
|
|
183
|
-
|
|
183
|
+
C,
|
|
184
184
|
he
|
|
185
185
|
) : ee(
|
|
186
186
|
/*$$scope*/
|
|
@@ -188,34 +188,34 @@ function pe(n) {
|
|
|
188
188
|
),
|
|
189
189
|
q
|
|
190
190
|
), /*modaltitle*/
|
|
191
|
-
r[1] ? s ? s.p(r,
|
|
191
|
+
r[1] ? s ? s.p(r, C) : (s = E(r), s.c(), s.m(t, d)) : s && (s.d(1), s = null), (!u || C & /*modaltext*/
|
|
192
192
|
1) && (f.innerHTML = /*modaltext*/
|
|
193
193
|
r[0]), /*hascancelbutton*/
|
|
194
|
-
r[2] ? a ? a.p(r,
|
|
195
|
-
16) &&
|
|
196
|
-
r[4]("confirm") + "") && O(
|
|
194
|
+
r[2] ? a ? a.p(r, C) : (a = I(r), a.c(), a.m(b, _)) : a && (a.d(1), a = null), (!u || C & /*$_*/
|
|
195
|
+
16) && w !== (w = /*$_*/
|
|
196
|
+
r[4]("confirm") + "") && O(y, w);
|
|
197
197
|
},
|
|
198
198
|
i(r) {
|
|
199
|
-
u || (ne(
|
|
199
|
+
u || (ne(M, r), u = !0);
|
|
200
200
|
},
|
|
201
201
|
o(r) {
|
|
202
|
-
oe(
|
|
202
|
+
oe(M, r), u = !1;
|
|
203
203
|
},
|
|
204
204
|
d(r) {
|
|
205
|
-
r && L(e),
|
|
205
|
+
r && L(e), M.d(r), s && s.d(), a && a.d(), n[19](null), k = !1, re(G);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
function xe(n, e, t) {
|
|
210
210
|
let i;
|
|
211
211
|
ie(n, ue, (o) => t(4, i = o));
|
|
212
|
-
let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle:
|
|
212
|
+
let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: x = "" } = e, { hascancelbutton: b = !1 } = e, { modalconfirmevent: _ = {} } = e, { modalcancelevent: h = {} } = e, { lang: w = "en" } = e, { clientstyling: y = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: k = "" } = e, { mbsource: G } = e, g, A = window.navigator.userAgent, M = ae(A) !== "PC";
|
|
213
213
|
const s = () => {
|
|
214
214
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
215
215
|
}, a = (o) => {
|
|
216
|
-
o === "confirm" &&
|
|
216
|
+
o === "confirm" && _ && window.postMessage(_, window.location.href), o === "cancel" && h && window.postMessage(h, window.location.href), s();
|
|
217
217
|
}, r = () => {
|
|
218
|
-
fetch(
|
|
218
|
+
fetch(k).then((z) => z.json()).then((z) => {
|
|
219
219
|
Object.keys(z).forEach((W) => {
|
|
220
220
|
N(W, z[W]);
|
|
221
221
|
});
|
|
@@ -226,42 +226,42 @@ function xe(n, e, t) {
|
|
|
226
226
|
Object.keys(P).forEach((o) => {
|
|
227
227
|
N(o, P[o]);
|
|
228
228
|
});
|
|
229
|
-
const
|
|
230
|
-
ge(
|
|
229
|
+
const C = () => {
|
|
230
|
+
ge(w);
|
|
231
231
|
};
|
|
232
232
|
le(() => () => {
|
|
233
233
|
});
|
|
234
234
|
const R = () => a("cancel"), U = () => a("confirm");
|
|
235
235
|
function D(o) {
|
|
236
|
-
|
|
236
|
+
se[o ? "unshift" : "push"](() => {
|
|
237
237
|
g = o, t(3, g);
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
240
|
return n.$$set = (o) => {
|
|
241
|
-
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1,
|
|
241
|
+
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, x = o.modaltitle), "hascancelbutton" in o && t(2, b = o.hascancelbutton), "modalconfirmevent" in o && t(8, _ = o.modalconfirmevent), "modalcancelevent" in o && t(9, h = o.modalcancelevent), "lang" in o && t(10, w = o.lang), "clientstyling" in o && t(11, y = o.clientstyling), "clientstylingurl" in o && t(12, u = o.clientstylingurl), "translationurl" in o && t(13, k = o.translationurl), "mbsource" in o && t(14, G = o.mbsource), "$$scope" in o && t(15, d = o.$$scope);
|
|
242
242
|
}, n.$$.update = () => {
|
|
243
243
|
n.$$.dirty & /*modaltext, lang*/
|
|
244
|
-
1025 && f &&
|
|
245
|
-
2056 &&
|
|
246
|
-
4104 && u && g &&
|
|
247
|
-
16392 &&
|
|
248
|
-
8192 &&
|
|
244
|
+
1025 && f && w && C(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
245
|
+
2056 && y && g && ce(g, y), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
246
|
+
4104 && u && g && fe(g, u), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
247
|
+
16392 && G && g && me(g, `${G}.Style`), n.$$.dirty & /*translationurl*/
|
|
248
|
+
8192 && k && r();
|
|
249
249
|
}, [
|
|
250
250
|
f,
|
|
251
|
-
|
|
251
|
+
x,
|
|
252
252
|
b,
|
|
253
253
|
g,
|
|
254
254
|
i,
|
|
255
|
-
|
|
255
|
+
M,
|
|
256
256
|
s,
|
|
257
257
|
a,
|
|
258
|
-
|
|
258
|
+
_,
|
|
259
259
|
h,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
w,
|
|
261
|
+
y,
|
|
262
262
|
u,
|
|
263
|
+
k,
|
|
263
264
|
G,
|
|
264
|
-
M,
|
|
265
265
|
d,
|
|
266
266
|
c,
|
|
267
267
|
R,
|
|
@@ -296,61 +296,61 @@ class we extends F {
|
|
|
296
296
|
return this.$$.ctx[0];
|
|
297
297
|
}
|
|
298
298
|
set modaltext(e) {
|
|
299
|
-
this.$$set({ modaltext: e }),
|
|
299
|
+
this.$$set({ modaltext: e }), p();
|
|
300
300
|
}
|
|
301
301
|
get modaltitle() {
|
|
302
302
|
return this.$$.ctx[1];
|
|
303
303
|
}
|
|
304
304
|
set modaltitle(e) {
|
|
305
|
-
this.$$set({ modaltitle: e }),
|
|
305
|
+
this.$$set({ modaltitle: e }), p();
|
|
306
306
|
}
|
|
307
307
|
get hascancelbutton() {
|
|
308
308
|
return this.$$.ctx[2];
|
|
309
309
|
}
|
|
310
310
|
set hascancelbutton(e) {
|
|
311
|
-
this.$$set({ hascancelbutton: e }),
|
|
311
|
+
this.$$set({ hascancelbutton: e }), p();
|
|
312
312
|
}
|
|
313
313
|
get modalconfirmevent() {
|
|
314
314
|
return this.$$.ctx[8];
|
|
315
315
|
}
|
|
316
316
|
set modalconfirmevent(e) {
|
|
317
|
-
this.$$set({ modalconfirmevent: e }),
|
|
317
|
+
this.$$set({ modalconfirmevent: e }), p();
|
|
318
318
|
}
|
|
319
319
|
get modalcancelevent() {
|
|
320
320
|
return this.$$.ctx[9];
|
|
321
321
|
}
|
|
322
322
|
set modalcancelevent(e) {
|
|
323
|
-
this.$$set({ modalcancelevent: e }),
|
|
323
|
+
this.$$set({ modalcancelevent: e }), p();
|
|
324
324
|
}
|
|
325
325
|
get lang() {
|
|
326
326
|
return this.$$.ctx[10];
|
|
327
327
|
}
|
|
328
328
|
set lang(e) {
|
|
329
|
-
this.$$set({ lang: e }),
|
|
329
|
+
this.$$set({ lang: e }), p();
|
|
330
330
|
}
|
|
331
331
|
get clientstyling() {
|
|
332
332
|
return this.$$.ctx[11];
|
|
333
333
|
}
|
|
334
334
|
set clientstyling(e) {
|
|
335
|
-
this.$$set({ clientstyling: e }),
|
|
335
|
+
this.$$set({ clientstyling: e }), p();
|
|
336
336
|
}
|
|
337
337
|
get clientstylingurl() {
|
|
338
338
|
return this.$$.ctx[12];
|
|
339
339
|
}
|
|
340
340
|
set clientstylingurl(e) {
|
|
341
|
-
this.$$set({ clientstylingurl: e }),
|
|
341
|
+
this.$$set({ clientstylingurl: e }), p();
|
|
342
342
|
}
|
|
343
343
|
get translationurl() {
|
|
344
344
|
return this.$$.ctx[13];
|
|
345
345
|
}
|
|
346
346
|
set translationurl(e) {
|
|
347
|
-
this.$$set({ translationurl: e }),
|
|
347
|
+
this.$$set({ translationurl: e }), p();
|
|
348
348
|
}
|
|
349
349
|
get mbsource() {
|
|
350
350
|
return this.$$.ctx[14];
|
|
351
351
|
}
|
|
352
352
|
set mbsource(e) {
|
|
353
|
-
this.$$set({ mbsource: e }),
|
|
353
|
+
this.$$set({ mbsource: e }), p();
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
V(we, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ge, i as fe, f as I, c as ye, s as pe, b as he, e as b, k as F, o as O, p as E, q as be, u as V, v as Ae,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as me, $ as de, S as ge, i as fe, f as I, c as ye, s as pe, b as he, e as b, k as F, o as O, p as E, q as be, u as V, v as Ae, x as Me, y as we, z as ve, A as Pe, O as z, d as k, t as W, g as d, l as a, n as T, P as ee, h as m, w as H, m as j, r as _e, a2 as X, B as xe } from "./GeneralLogout-C-KQBmk3.js";
|
|
2
|
+
import "../stencil/ui-skeleton-2XsWxl4S.js";
|
|
3
3
|
function Z(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
@@ -53,7 +53,7 @@ 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-C-KQBmk3.js").then((e) => e.a9).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -554,7 +554,7 @@ function Te(n, e, t) {
|
|
|
554
554
|
}));
|
|
555
555
|
const se = (i) => q(i);
|
|
556
556
|
function ue(i) {
|
|
557
|
-
|
|
557
|
+
Me[i ? "unshift" : "push"](() => {
|
|
558
558
|
p = i, t(5, p);
|
|
559
559
|
});
|
|
560
560
|
}
|
|
@@ -567,9 +567,9 @@ function Te(n, e, t) {
|
|
|
567
567
|
393219 && r && h && M && P && ce(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
568
568
|
360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
|
|
569
569
|
4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
570
|
-
36 && v && p &&
|
|
571
|
-
40 && u && p &&
|
|
572
|
-
48 && c && p &&
|
|
570
|
+
36 && v && p && we(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
571
|
+
40 && u && p && ve(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
572
|
+
48 && c && p && Pe(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
573
573
|
2097152 && f && ne();
|
|
574
574
|
}, [
|
|
575
575
|
h,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-TofSUXEw.cjs");require("../stencil/ui-skeleton-Bez-iF-R.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={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-TofSUXEw.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;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%;border-radius:10px;overflow:hidden}.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:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 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:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.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{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.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:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;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}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),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(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),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(f,"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(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}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,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}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,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[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="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></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 O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=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]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}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[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem: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 mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource: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()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-COm1JcKW.cjs");require("../stencil/ui-skeleton-Cbqo0oYF.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={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-COm1JcKW.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;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%;border-radius:10px;overflow:hidden}.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:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 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:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.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{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.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:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;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}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),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(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),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(f,"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(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}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,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}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,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[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="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></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 O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=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]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}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[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem: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 mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource: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()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ge, i as fe, f as I, c as ye, s as pe, b as he, e as b, k as F, o as O, p as E, q as be, u as V, v as Ae,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as me, $ as de, S as ge, i as fe, f as I, c as ye, s as pe, b as he, e as b, k as F, o as O, p as E, q as be, u as V, v as Ae, x as Me, y as we, z as ve, A as Pe, O as z, d as k, t as W, g as d, l as a, n as T, P as ee, h as m, w as H, m as j, r as _e, a2 as X, B as xe } from "./GeneralLogout-C52-PhwD.js";
|
|
2
|
+
import "../stencil/ui-skeleton-LneRlsD3.js";
|
|
3
3
|
function Z(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
@@ -53,7 +53,7 @@ if (typeof window < "u") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-C52-PhwD.js").then((e) => e.a9).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -553,7 +553,7 @@ function Te(n, e, t) {
|
|
|
553
553
|
}));
|
|
554
554
|
const se = (i) => q(i);
|
|
555
555
|
function ue(i) {
|
|
556
|
-
|
|
556
|
+
Me[i ? "unshift" : "push"](() => {
|
|
557
557
|
p = i, t(5, p);
|
|
558
558
|
});
|
|
559
559
|
}
|
|
@@ -566,9 +566,9 @@ function Te(n, e, t) {
|
|
|
566
566
|
393219 && r && h && M && P && ce(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
567
567
|
360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
|
|
568
568
|
4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
569
|
-
36 && v && p &&
|
|
570
|
-
40 && u && p &&
|
|
571
|
-
48 && c && p &&
|
|
569
|
+
36 && v && p && we(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
570
|
+
40 && u && p && ve(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
571
|
+
48 && c && p && Pe(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
572
572
|
2097152 && f && ne();
|
|
573
573
|
}, [
|
|
574
574
|
h,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as A, S as H, i as U, f, c as W, s as j, b as q, F as B, k as L, L as m, M as w, _ as F, p as z, v as I,
|
|
1
|
+
import { a3 as A, S as H, i as U, f, c as W, s as j, b as q, F as B, k as L, L as m, M as w, _ as F, p as z, v as I, H as J, e as _, g as y, l as S, I as K, J as N, K as P, U as R, a4 as v, a0 as G, x as M, y as O, z as Q, A as T } from "./GeneralLogout-C52-PhwD.js";
|
|
2
2
|
function k(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -16,7 +16,7 @@ function C(e) {
|
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = J(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -32,19 +32,19 @@ function C(e) {
|
|
|
32
32
|
},
|
|
33
33
|
p(o, u) {
|
|
34
34
|
e = o, r && r.p && (!a || u & /*$$scope*/
|
|
35
|
-
256) &&
|
|
35
|
+
256) && K(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[8],
|
|
41
|
-
a ?
|
|
41
|
+
a ? P(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[8],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : N(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[8]
|
|
50
50
|
),
|
|
@@ -52,7 +52,7 @@ function C(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(o) {
|
|
55
|
-
a || (m(r, o), o &&
|
|
55
|
+
a || (m(r, o), o && R(() => {
|
|
56
56
|
a && (s || (s = v(n, k, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -85,7 +85,7 @@ function X(e) {
|
|
|
85
85
|
p(s, [a]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, a), a & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (G(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
90
|
}), F());
|
|
91
91
|
},
|
|
@@ -129,9 +129,9 @@ function Y(e, t, n) {
|
|
|
129
129
|
"show" in l && n(0, a = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, o = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
130
|
}, e.$$.update = () => {
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
-
20 && r && c &&
|
|
133
|
-
36 && o && c &&
|
|
134
|
-
68 && u && c &&
|
|
132
|
+
20 && r && c && O(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && o && c && Q(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && T(c, `${u}.Style`);
|
|
135
135
|
}, [
|
|
136
136
|
a,
|
|
137
137
|
d,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as A, S as H, i as U, f, c as W, s as j, b as q, F as B, k as L, L as m, M as w, _ as F, p as z, v as I,
|
|
1
|
+
import { a3 as A, S as H, i as U, f, c as W, s as j, b as q, F as B, k as L, L as m, M as w, _ as F, p as z, v as I, H as J, e as _, g as y, l as S, I as K, J as N, K as P, U as R, a4 as v, a0 as G, x as M, y as O, z as Q, A as T } from "./GeneralLogout-C-KQBmk3.js";
|
|
2
2
|
function k(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -16,7 +16,7 @@ function C(e) {
|
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = J(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -32,19 +32,19 @@ function C(e) {
|
|
|
32
32
|
},
|
|
33
33
|
p(o, u) {
|
|
34
34
|
e = o, r && r.p && (!a || u & /*$$scope*/
|
|
35
|
-
256) &&
|
|
35
|
+
256) && K(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[8],
|
|
41
|
-
a ?
|
|
41
|
+
a ? P(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[8],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : N(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[8]
|
|
50
50
|
),
|
|
@@ -52,7 +52,7 @@ function C(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(o) {
|
|
55
|
-
a || (m(r, o), o &&
|
|
55
|
+
a || (m(r, o), o && R(() => {
|
|
56
56
|
a && (s || (s = v(n, k, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -85,7 +85,7 @@ function X(e) {
|
|
|
85
85
|
p(s, [a]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, a), a & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (G(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
90
|
}), F());
|
|
91
91
|
},
|
|
@@ -129,9 +129,9 @@ function Y(e, t, n) {
|
|
|
129
129
|
"show" in l && n(0, a = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, o = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
130
|
}, e.$$.update = () => {
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
-
20 && r && c &&
|
|
133
|
-
36 && o && c &&
|
|
134
|
-
68 && u && c &&
|
|
132
|
+
20 && r && c && O(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && o && c && Q(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && T(c, `${u}.Style`);
|
|
135
135
|
}, [
|
|
136
136
|
a,
|
|
137
137
|
d,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-COm1JcKW.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function M(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|