@everymatrix/player-account-controller 1.74.7 → 1.74.10
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-COm1JcKW.cjs +21 -0
- package/components/{GeneralLogout-DIRnj10H.js → GeneralLogout-CiyGpZGU.js} +1284 -1298
- package/components/{GeneralLogout-Dd4n6Kp2.js → GeneralLogout-Vg76ri4V.js} +1308 -1322
- package/components/PlayerAccountBettingHistory-Bv1Qcp8m.js +311 -0
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +1 -0
- package/components/PlayerAccountBettingHistory-Dn9IsrIP.js +310 -0
- package/components/{PlayerAccountBiometrics-D8lv7JzY.js → PlayerAccountBiometrics-C2wumiJ3.js} +5 -5
- package/components/{PlayerAccountBiometrics-DzUvqvfR.js → PlayerAccountBiometrics-CH9MN1vT.js} +5 -5
- package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
- package/components/{PlayerAccountClosure-B7LJRfF_.js → PlayerAccountClosure-BqrCJaGp.js} +6 -6
- package/components/{PlayerAccountClosure-ByNnHtUf.cjs → PlayerAccountClosure-DG5NrDqY.cjs} +1 -1
- package/components/{PlayerAccountClosure-VNjXTTeE.js → PlayerAccountClosure-Dda9CHdX.js} +6 -6
- package/components/{PlayerAccountController-b7ocDQ8i.js → PlayerAccountController-BeY5S0EH.js} +209 -209
- package/components/{PlayerAccountController-Cm-pb2sx.js → PlayerAccountController-Cu59Kubb.js} +209 -209
- package/components/{PlayerAccountController-BY35CZFy.cjs → PlayerAccountController-MSqVuCPp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BPAFyYb5.js → PlayerAccountGamingLimits-CJksEBIA.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CSFkUiYY.js → PlayerAccountGamingLimits-CqPkjNdS.js} +124 -124
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js → PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js → PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js → PlayerAccountGamingLimitsGroupEdit-Ageqronh.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js → PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs → PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs → PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-RFRr_X30.js → PlayerAccountGamingLimitsHistory2-BusoJL-w.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BRgxAXo_.js → PlayerAccountGamingLimitsHistory2-kH5zBkQX.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js → PlayerAccountGamingLimitsInfoCard-BHAREEgX.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js → PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CwwjENW0.js → PlayerAccountGamingLimitsPage2Gm16-CAVf4Y-G.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BWA71CAl.js → PlayerAccountGamingLimitsPage2Gm16-DJHbna0W.js} +39 -39
- package/components/{PlayerAccountGamingLimitsPage2Gm16--rQhVE1q.cjs → PlayerAccountGamingLimitsPage2Gm16-ryQx6oP1.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPopup-Biyoz4lK.js → PlayerAccountGamingLimitsPopup-Bl1xoGPY.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-cBscDgFe.js → PlayerAccountGamingLimitsPopup-D0ltWJSo.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BIcWUcMl.cjs → PlayerAccountGamingLimitsWrapper2-BSqP4Sd8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-D0KtfHqJ.js → PlayerAccountGamingLimitsWrapper2-nO_niNOc.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-BsvByvpk.js → PlayerAccountGamingLimitsWrapper2-vu5v2bbv.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BNoE_P3G.js → PlayerAccountGeneralConfirmationModal-JvzRw4bx.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-q4Du5zdg.js → PlayerAccountGeneralConfirmationModal-T_JYxL62.js} +53 -53
- package/components/{PlayerAccountMenu-BicTGCSZ.js → PlayerAccountMenu-C4sG1dhf.js} +7 -7
- package/components/{PlayerAccountMenu-BbdWpRLe.js → PlayerAccountMenu-DPpd0Onj.js} +7 -7
- package/components/{PlayerAccountMenu-CVBew6Nf.cjs → PlayerAccountMenu-JDfi5y52.cjs} +1 -1
- package/components/{PlayerAccountModal-Day4vMPZ.js → PlayerAccountModal-BGCTA59j.js} +10 -10
- package/components/{PlayerAccountModal-J-6B3L2x.js → PlayerAccountModal-DkyQ5JIi.js} +10 -10
- package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
- package/components/{PlayerAccountNotifications-wc_EBqY2.js → PlayerAccountNotifications-DTtMvV8M.js} +6 -6
- package/components/{PlayerAccountNotifications-PuDZBFQ4.js → PlayerAccountNotifications-OJnPC108.js} +6 -6
- package/components/{PlayerAccountProductRestriction-nQ_8_MV1.cjs → PlayerAccountProductRestriction-BJ0LFpLp.cjs} +693 -271
- package/components/{PlayerAccountProductRestriction-CLG0mXNs.js → PlayerAccountProductRestriction-BtXJwF14.js} +3540 -2936
- package/components/{PlayerAccountProductRestriction-BrbHcAfU.js → PlayerAccountProductRestriction-DSjfzN0L.js} +3513 -2909
- package/components/{PlayerAccountSelfExclusion-SOUjqfHu.js → PlayerAccountSelfExclusion-BFhhj0lU.js} +829 -830
- package/components/{PlayerAccountSelfExclusion-j0N6OBN9.js → PlayerAccountSelfExclusion-CLHfQEii.js} +846 -847
- package/components/{PlayerAccountSelfExclusion-BknkeC0Z.cjs → PlayerAccountSelfExclusion-CdvQXAjK.cjs} +152 -152
- package/components/{PlayerAccountTimeout-B3SJfPA3.js → PlayerAccountTimeout-Dfa2jJXc.js} +43 -43
- package/components/{PlayerAccountTimeout-CESsEjza.cjs → PlayerAccountTimeout-Dhey1QrR.cjs} +1 -1
- package/components/{PlayerAccountTimeout-KHzNTbup.js → PlayerAccountTimeout-lsP1D_FM.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-Dy5htSFg.js → PlayerAccountTransactionsHistory-BumeG74E.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-D6tHrBC_.js → PlayerAccountTransactionsHistory-e7LnmN2n.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-30x4yifP.cjs → PlayerAccountTransactionsHistory-x6Mj8Vqc.cjs} +1 -1
- package/components/{PlayerActiveBonuses-lflDqCU8.js → PlayerActiveBonuses-BWfdGowJ.js} +6 -6
- package/components/{PlayerActiveBonuses-DBGj3lj2.js → PlayerActiveBonuses-DcuRFKFP.js} +6 -6
- package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
- package/components/{PlayerBonusCard-D68dTYiw.js → PlayerBonusCard-CkEs_ikq.js} +7 -7
- package/components/{PlayerBonusCard-B58kMR83.js → PlayerBonusCard-D8XTVs99.js} +7 -7
- package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
- package/components/{PlayerBonusHistory-l9JKc1SI.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
- package/components/{PlayerBonusHistory-BtsC9ZN8.js → PlayerBonusHistory-CTKJuEJG.js} +7 -7
- package/components/{PlayerBonusHistory-DdcyUG-1.js → PlayerBonusHistory-DmYF8qYy.js} +7 -7
- package/components/{PlayerChangePassword-VQJYG-HQ.js → PlayerChangePassword-Cc15tSRv.js} +4 -4
- package/components/{PlayerChangePassword-DYpl0DV7.cjs → PlayerChangePassword-CfCN79eP.cjs} +1 -1
- package/components/{PlayerChangePassword-CQqQIyDU.js → PlayerChangePassword-Hj0mD9xL.js} +4 -4
- package/components/{PlayerDeposit-R4oRYCP7.js → PlayerDeposit-Bm1DOHlW.js} +73 -73
- package/components/{PlayerDeposit-nin4U--Y.js → PlayerDeposit-BpS3fS46.js} +73 -73
- package/components/PlayerDeposit-CmBFg6tX.cjs +1 -0
- package/components/{PlayerGamingHistory-GxtuAObW.js → PlayerGamingHistory-B9lwGb0Z.js} +60 -60
- package/components/{PlayerGamingHistory-CgSvSixH.js → PlayerGamingHistory-Bew4OVxF.js} +53 -53
- package/components/{PlayerGamingHistory-DrygiT7t.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-adHFXpiC.js → PlayerPendingWithdrawals-pfC5sUpM.js} +6 -6
- package/components/{PlayerPendingWithdrawals-C1tt1OJl.js → PlayerPendingWithdrawals-scSFcYAA.js} +6 -6
- package/components/{PlayerProfileInfo-DpEH00v-.js → PlayerProfileInfo-1ELKHIQs.js} +108 -108
- package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
- package/components/{PlayerProfileInfo-CrGJ1yEi.js → PlayerProfileInfo-DYvdUkJZ.js} +95 -95
- package/components/{PlayerRealityCheck-CTGhzTwa.js → PlayerRealityCheck-DLPtMaP7.js} +6 -6
- package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
- package/components/{PlayerRealityCheck-JkP_hy_p.js → PlayerRealityCheck-pQWsLK1G.js} +6 -6
- package/components/{PlayerTransactionHistory-CQPQw37D.js → PlayerTransactionHistory-B7ts1zGr.js} +6 -6
- package/components/{PlayerTransactionHistory-DQfalEXN.js → PlayerTransactionHistory-CUa0IaZD.js} +6 -6
- package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
- package/components/{PlayerWithdrawal-11j92uAk.js → PlayerWithdrawal-BTfz-sCc.js} +6 -6
- package/components/{PlayerWithdrawal-yB5c-nTz.js → PlayerWithdrawal-DYVDpOnE.js} +6 -6
- package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-Cps4LOfl.js → checkbox-group-input_15-7ljokaYC.js} +4108 -3506
- package/stencil/{checkbox-group-input_15-Dz8Enjzg.js → checkbox-group-input_15-BzU_0jJ_.js} +4104 -3502
- package/stencil/{checkbox-group-input_15-DWi9V8tw.cjs → checkbox-group-input_15-Fs7-YN7u.cjs} +692 -270
- package/stencil/{index-13661b98-CpXzOrnx.js → index-13661b98-BJM2hHx6.js} +124 -124
- package/stencil/{index-13661b98-ufIIKmVK.js → index-13661b98-Cty_Ct2m.js} +245 -245
- package/stencil/index-13661b98-DuhNdmHd.cjs +1 -0
- 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-7c5e707a-BZ26MA7_.js → index-7c5e707a-B54Yjxc3.js} +135 -135
- package/stencil/{index-7c5e707a-CVVnpkZ1.js → index-7c5e707a-BHFN5Fx4.js} +145 -145
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +1 -0
- 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/{pam-change-password-pNFi_nib.js → pam-change-password-Bdu7Bk_h.js} +1 -1
- package/stencil/{pam-change-password-CWwKWuSv.js → pam-change-password-DSAfkY23.js} +1 -1
- package/stencil/{pam-change-password-0b043d09-D9qr1QZW.js → pam-change-password-af5033a0-BfWHc1Rw.js} +168 -95
- package/stencil/pam-change-password-af5033a0-C18GwNdS.cjs +125 -0
- package/stencil/{pam-change-password-0b043d09-BhckrWb7.js → pam-change-password-af5033a0-DYGjeRTR.js} +168 -95
- package/stencil/{pam-change-password-BbSKndri.cjs → pam-change-password-mcRyjsPo.cjs} +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-Bl0_r9TX.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-CXRVKjq-.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-o1zvVNkt.js → user-transaction-history-BrBScppC.js} +600 -600
- package/stencil/{user-transaction-history-D86WcqZY.js → user-transaction-history-D0jBcRwe.js} +588 -588
- package/stencil/user-transaction-history-HA_tfHfo.cjs +1 -0
- package/components/GeneralLogout-TofSUXEw.cjs +0 -21
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
- package/components/PlayerAccountBettingHistory-CuMJRUaH.js +0 -310
- package/components/PlayerAccountBettingHistory-ZZH1M51O.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-13661b98-o8vCngwM.cjs +0 -1
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +0 -1
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
- package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
- package/stencil/pam-change-password-0b043d09-CIyrSOWr.cjs +0 -125
- package/stencil/user-transaction-history-xgpDQYWU.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ue, $ as me, S as ge, i as de, f as F, c as fe, s as ye, b as pe, e as b, k as C, o as O, p as L, q as he, u as G, v as be,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as ue, $ as me, S as ge, i as de, f as F, c as fe, s as ye, b as pe, e as b, k as C, o as O, p as L, q as he, u as G, v as be, x as Ae, y as Me, z as Pe, A as we, O as T, d as I, t as H, g, l as a, n as S, P as $, h as m, w as W, m as z, r as ve, a2 as V, B as _e } from "./GeneralLogout-CiyGpZGU.js";
|
|
2
|
+
import "../stencil/ui-skeleton-LneRlsD3.js";
|
|
3
3
|
function X(n, e) {
|
|
4
4
|
ue(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-CiyGpZGU.js").then((e) => e.a9).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -550,7 +550,7 @@ function Te(n, e, t) {
|
|
|
550
550
|
}));
|
|
551
551
|
const ce = (o) => q(o);
|
|
552
552
|
function se(o) {
|
|
553
|
-
|
|
553
|
+
Ae[o ? "unshift" : "push"](() => {
|
|
554
554
|
_ = o, t(5, _);
|
|
555
555
|
});
|
|
556
556
|
}
|
|
@@ -563,9 +563,9 @@ function Te(n, e, t) {
|
|
|
563
563
|
393219 && i && p && A && v && re(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
564
564
|
360448 && s && v && d && le(), n.$$.dirty[0] & /*activemenuitem*/
|
|
565
565
|
2097152 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
566
|
-
36 && h && _ &&
|
|
567
|
-
40 && P && _ &&
|
|
568
|
-
48 && f && _ &&
|
|
566
|
+
36 && h && _ && Me(_, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
567
|
+
40 && P && _ && Pe(_, P), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
568
|
+
48 && f && _ && we(_, `${f}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
569
569
|
1048576 && u && te();
|
|
570
570
|
}, [
|
|
571
571
|
p,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ue, $ as me, S as ge, i as de, f as F, c as fe, s as ye, b as pe, e as b, k as C, o as O, p as L, q as he, u as G, v as be,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as ue, $ as me, S as ge, i as de, f as F, c as fe, s as ye, b as pe, e as b, k as C, o as O, p as L, q as he, u as G, v as be, x as Ae, y as Me, z as Pe, A as we, O as T, d as I, t as H, g, l as a, n as S, P as $, h as m, w as W, m as z, r as ve, a2 as V, B as _e } from "./GeneralLogout-Vg76ri4V.js";
|
|
2
|
+
import "../stencil/ui-skeleton-2XsWxl4S.js";
|
|
3
3
|
function X(n, e) {
|
|
4
4
|
ue(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-Vg76ri4V.js").then((e) => e.a9).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -551,7 +551,7 @@ function Te(n, e, t) {
|
|
|
551
551
|
}));
|
|
552
552
|
const ce = (o) => q(o);
|
|
553
553
|
function se(o) {
|
|
554
|
-
|
|
554
|
+
Ae[o ? "unshift" : "push"](() => {
|
|
555
555
|
_ = o, t(5, _);
|
|
556
556
|
});
|
|
557
557
|
}
|
|
@@ -564,9 +564,9 @@ function Te(n, e, t) {
|
|
|
564
564
|
393219 && i && p && A && v && re(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
565
565
|
360448 && s && v && d && le(), n.$$.dirty[0] & /*activemenuitem*/
|
|
566
566
|
2097152 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
567
|
-
36 && h && _ &&
|
|
568
|
-
40 && P && _ &&
|
|
569
|
-
48 && f && _ &&
|
|
567
|
+
36 && h && _ && Me(_, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
568
|
+
40 && P && _ && Pe(_, P), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
569
|
+
48 && f && _ && we(_, `${f}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
570
570
|
1048576 && u && te();
|
|
571
571
|
}, [
|
|
572
572
|
p,
|
|
@@ -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 B(l,t){e.addMessages(l,t)}function J(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 K(l){e.append_styles(l,"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}}")}function H(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Q(l){let t,n,a,r,s,m,g,_,A,y,f,h,u=l[12]&&$(l),c=l[12]&&ee(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(H(l,d,p));let v=!l[12]&&te(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),_=e.text(l[10]),A=e.space(),c&&c.c(),y=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,M){e.insert(p,t,M),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,_),e.append(n,A),c&&c.m(n,null),e.append(t,y),e.append(t,f);for(let b=0;b<i.length;b+=1)i[b]&&i[b].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,M){if(p[12]&&u.p(p,M),M[0]&512&&e.set_data(s,p[9]),M[0]&1024&&e.set_data(_,p[10]),p[12]&&c.p(p,M),M[0]&12672){d=e.ensure_array_like(p[7]);let b;for(b=0;b<d.length;b+=1){const k=H(p,d,b);i[b]?i[b].p(k,M):(i[b]=S(k),i[b].c(),i[b].m(f,null))}for(;b<i.length;b+=1)i[b].d(1);i.length=d.length}p[12]||v.p(p,M)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function Y(l){let t,n,a,r,s,m,g,_,A,y,f=l[12]&&ne(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=O(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].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(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,A),e.append(t,y)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=O(v),u[i].c(),u[i].m(_,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function $(l){let t,n,a,r,s,m,g,_,A,y,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),h=e.text(f),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(g,"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,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,_),e.append(t,A),e.append(t,y),e.append(y,h),u||(c=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ee(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,g=l[40].label+"",_,A,y,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),_=e.text(g),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,_),e.append(t,A),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(_,g),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(c){c&&e.detach(t),f=!1,h()}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function ne(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function le(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,r,s=!l[12]&&le();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function ae(l){let t;function n(s,m){return s[6]?Y:Q}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{userroles:y=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,M,b=[],k,x=window.navigator.userAgent,z=e.getDevice(x)!=="PC",I="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{B(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(W).forEach(o=>{B(o,W[o])});const C=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},D=()=>{let o=e.getDevice(x);if(o)return o==="PC"?"dk":"mtWeb"},q=()=>{const o=new URL(`${s}/${A}/profile-menu?env=${m}`);o.searchParams.append("device",D()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,b=P),E()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},R=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",y);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,F=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,k=o.id)},E=()=>{var o;n(8,k=(o=b.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{J(A)},N=()=>{R()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{M=o,n(5,M)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,_=o.playerid),"lang"in o&&n(18,A=o.lang),"userroles"in o&&n(19,y=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&A&&G(),l.$$.dirty[0]&393219&&r&&g&&_&&A&&N(),l.$$.dirty[0]&360448&&s&&A&&m&&q(),l.$$.dirty[0]&2097152&&c&&E(),l.$$.dirty[0]&36&&f&&M&&e.setClientStyling(M,f),l.$$.dirty[0]&40&&h&&M&&e.setClientStylingURL(M,h),l.$$.dirty[0]&48&&d&&M&&e.setStreamStyling(M,`${d}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[g,r,f,h,d,M,p,b,k,I,F,a,z,L,V,s,m,_,A,y,u,c,i,v,X,Z]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ae,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[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 userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!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 B(l,t){e.addMessages(l,t)}function J(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 K(l){e.append_styles(l,"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}}")}function H(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Q(l){let t,n,a,r,s,m,g,_,A,y,f,h,u=l[12]&&$(l),c=l[12]&&ee(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(H(l,d,p));let v=!l[12]&&te(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),_=e.text(l[10]),A=e.space(),c&&c.c(),y=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,M){e.insert(p,t,M),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,_),e.append(n,A),c&&c.m(n,null),e.append(t,y),e.append(t,f);for(let b=0;b<i.length;b+=1)i[b]&&i[b].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,M){if(p[12]&&u.p(p,M),M[0]&512&&e.set_data(s,p[9]),M[0]&1024&&e.set_data(_,p[10]),p[12]&&c.p(p,M),M[0]&12672){d=e.ensure_array_like(p[7]);let b;for(b=0;b<d.length;b+=1){const k=H(p,d,b);i[b]?i[b].p(k,M):(i[b]=S(k),i[b].c(),i[b].m(f,null))}for(;b<i.length;b+=1)i[b].d(1);i.length=d.length}p[12]||v.p(p,M)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function Y(l){let t,n,a,r,s,m,g,_,A,y,f=l[12]&&ne(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=O(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].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(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,A),e.append(t,y)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=O(v),u[i].c(),u[i].m(_,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function $(l){let t,n,a,r,s,m,g,_,A,y,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),h=e.text(f),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(g,"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,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,_),e.append(t,A),e.append(t,y),e.append(y,h),u||(c=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ee(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,g=l[40].label+"",_,A,y,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),_=e.text(g),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,_),e.append(t,A),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(_,g),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(c){c&&e.detach(t),f=!1,h()}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function ne(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function le(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,r,s=!l[12]&&le();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function ae(l){let t;function n(s,m){return s[6]?Y:Q}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{userroles:y=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,M,b=[],k,x=window.navigator.userAgent,z=e.getDevice(x)!=="PC",I="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{B(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(W).forEach(o=>{B(o,W[o])});const C=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},D=()=>{let o=e.getDevice(x);if(o)return o==="PC"?"dk":"mtWeb"},q=()=>{const o=new URL(`${s}/${A}/profile-menu?env=${m}`);o.searchParams.append("device",D()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,b=P),E()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},R=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",y);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,F=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,k=o.id)},E=()=>{var o;n(8,k=(o=b.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{J(A)},N=()=>{R()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{M=o,n(5,M)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,_=o.playerid),"lang"in o&&n(18,A=o.lang),"userroles"in o&&n(19,y=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&A&&G(),l.$$.dirty[0]&393219&&r&&g&&_&&A&&N(),l.$$.dirty[0]&360448&&s&&A&&m&&q(),l.$$.dirty[0]&2097152&&c&&E(),l.$$.dirty[0]&36&&f&&M&&e.setClientStyling(M,f),l.$$.dirty[0]&40&&h&&M&&e.setClientStylingURL(M,h),l.$$.dirty[0]&48&&d&&M&&e.setStreamStyling(M,`${d}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[g,r,f,h,d,M,p,b,k,I,F,a,z,L,V,s,m,_,A,y,u,c,i,v,X,Z]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ae,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[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 userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=j;
|
|
@@ -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-Vg76ri4V.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-CiyGpZGU.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-COm1JcKW.cjs");require("../stencil/ui-skeleton-Cbqo0oYF.cjs");function H(a){e.append_styles(a,"svelte-1b8j2p",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function x(a,t,o){const n=a.slice();return n[24]=t[o],n}function v(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=w(x(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=x(i,o,r);n[r]?n[r].p(c,l):(n[r]=w(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function W(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=P(v(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const f=v(l,n,c);i[c]?i[c].p(f,r):(i[c]=P(f),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function w(a){let t,o,n,i,l,r,c,f=a[24].title+"",g,p,u,h=a[24].description+"",y;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(f),p=e.space(),u=e.element("p"),y=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(m,d){e.insert(m,t,d),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,y)},p(m,d){d&2&&!e.src_url_equal(n.src,i=m[24].icon)&&e.attr(n,"src",i),d&2&&l!==(l=m[24].title)&&e.attr(n,"alt",l),d&2&&f!==(f=m[24].title+"")&&e.set_data(g,f),d&2&&h!==(h=m[24].description+"")&&(u.innerHTML=h),d&2&&e.set_style(t,"background",m[24].backgroundColor)},d(m){m&&e.detach(t)}}}function z(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function P(a){let t,o;function n(r,c){return r[3]?z:F}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function I(a){let t;function o(l,r){var c;if(l[2])return W;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function q(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h=!0,y=window.navigator.userAgent,m=e.getDevice(y)!=="PC",d=[],k=[],A=M();const C=window.matchMedia("(min-width: 768px)");function M(){const s=e.getDevice(y);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",A),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,d=_[0].children),d==null||d.forEach(B=>{k.length&&(B.backgroundColor=k[0],k.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},b=()=>{c.replace(" ",""),k=c.split(",")};e.onMount(()=>()=>{});function S(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,f=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&b(),a.$$.dirty&2&&d&&b(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&f&&u&&e.setClientStyling(u,f),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`)},[u,d,h,m,C,n,i,l,r,c,f,g,p,S]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,I,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},H)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=N;
|
package/components/{PlayerAccountNotifications-wc_EBqY2.js → PlayerAccountNotifications-DTtMvV8M.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as O, i as Q, f as y, c as V, s as Z, b as G, e as g, k as b, o as C, p as x, u as S, v as J,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { S as O, i as Q, f as y, c as V, s as Z, b as G, e as g, k as b, o as C, p as x, u as S, v as J, x as K, y as X, z as Y, A as $, O as M, g as s, P as I, l as h, d as A, t as tt, a2 as B, Z as H, n as et, h as v } from "./GeneralLogout-CiyGpZGU.js";
|
|
2
|
+
import "../stencil/ui-skeleton-LneRlsD3.js";
|
|
3
3
|
function it(a) {
|
|
4
4
|
G(a, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
5
5
|
}
|
|
@@ -255,7 +255,7 @@ function rt(a, t, n) {
|
|
|
255
255
|
J(() => () => {
|
|
256
256
|
});
|
|
257
257
|
function U(r) {
|
|
258
|
-
|
|
258
|
+
K[r ? "unshift" : "push"](() => {
|
|
259
259
|
u = r, n(0, u);
|
|
260
260
|
});
|
|
261
261
|
}
|
|
@@ -266,9 +266,9 @@ function rt(a, t, n) {
|
|
|
266
266
|
512 && c && T(), a.$$.dirty & /*notificationsData*/
|
|
267
267
|
2 && d && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
268
268
|
480 && l && i && o && e && q(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
269
|
-
1025 && f && u &&
|
|
270
|
-
2049 && p && u &&
|
|
271
|
-
4097 && _ && u &&
|
|
269
|
+
1025 && f && u && X(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
|
+
2049 && p && u && Y(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
|
+
4097 && _ && u && $(u, `${_}.Style`);
|
|
272
272
|
}, [
|
|
273
273
|
u,
|
|
274
274
|
d,
|
package/components/{PlayerAccountNotifications-PuDZBFQ4.js → PlayerAccountNotifications-OJnPC108.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as O, i as Q, f as y, c as V, s as Z, b as G, e as g, k as b, o as C, p as x, u as S, v as J,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { S as O, i as Q, f as y, c as V, s as Z, b as G, e as g, k as b, o as C, p as x, u as S, v as J, x as K, y as X, z as Y, A as $, O as M, g as s, P as I, l as h, d as A, t as tt, a2 as B, Z as H, n as et, h as v } from "./GeneralLogout-Vg76ri4V.js";
|
|
2
|
+
import "../stencil/ui-skeleton-2XsWxl4S.js";
|
|
3
3
|
function it(a) {
|
|
4
4
|
G(a, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
5
5
|
}
|
|
@@ -256,7 +256,7 @@ function ct(a, t, n) {
|
|
|
256
256
|
J(() => () => {
|
|
257
257
|
});
|
|
258
258
|
function U(c) {
|
|
259
|
-
|
|
259
|
+
K[c ? "unshift" : "push"](() => {
|
|
260
260
|
u = c, n(0, u);
|
|
261
261
|
});
|
|
262
262
|
}
|
|
@@ -267,9 +267,9 @@ function ct(a, t, n) {
|
|
|
267
267
|
512 && r && T(), a.$$.dirty & /*notificationsData*/
|
|
268
268
|
2 && f && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
269
269
|
480 && l && i && o && e && D(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
270
|
-
1025 && d && u &&
|
|
271
|
-
2049 && p && u &&
|
|
272
|
-
4097 && _ && u &&
|
|
270
|
+
1025 && d && u && X(u, d), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
271
|
+
2049 && p && u && Y(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
272
|
+
4097 && _ && u && $(u, `${_}.Style`);
|
|
273
273
|
}, [
|
|
274
274
|
u,
|
|
275
275
|
f,
|