@everymatrix/player-account-controller 1.74.10 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
- package/components/{GeneralLogout-CiyGpZGU.js → GeneralLogout-DSECYo0-.js} +1427 -1392
- package/components/{GeneralLogout-Vg76ri4V.js → GeneralLogout-DpZ-BcWm.js} +1432 -1397
- package/components/{PlayerAccountBettingHistory-Dn9IsrIP.js → PlayerAccountBettingHistory-BDYeFmkk.js} +27 -27
- package/components/{PlayerAccountBettingHistory-Bv1Qcp8m.js → PlayerAccountBettingHistory-CNH9wk4q.js} +27 -27
- package/components/{PlayerAccountBettingHistory-CE023VGz.cjs → PlayerAccountBettingHistory-Cb9zY2cj.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C2wumiJ3.js → PlayerAccountBiometrics-B9d0_egW.js} +22 -22
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CH9MN1vT.js → PlayerAccountBiometrics-DvAjLCSX.js} +22 -22
- package/components/{PlayerAccountClosure-DG5NrDqY.cjs → PlayerAccountClosure-D2ovK8jC.cjs} +1 -1
- package/components/{PlayerAccountClosure-BqrCJaGp.js → PlayerAccountClosure-DzDcGjw6.js} +17 -17
- package/components/{PlayerAccountClosure-Dda9CHdX.js → PlayerAccountClosure-uGbZZ9An.js} +17 -17
- package/components/{PlayerAccountController-BeY5S0EH.js → PlayerAccountController-BaPQkVoS.js} +143 -143
- package/components/{PlayerAccountController-MSqVuCPp.cjs → PlayerAccountController-CNO7uWc6.cjs} +1 -1
- package/components/{PlayerAccountController-Cu59Kubb.js → PlayerAccountController-DvF_-Gnz.js} +141 -141
- package/components/{PlayerAccountGamingLimits-CqPkjNdS.js → PlayerAccountGamingLimits-B6wKBvsB.js} +19 -19
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-BPVpte4c.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CJksEBIA.js → PlayerAccountGamingLimits-DBraet-_.js} +19 -19
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js → PlayerAccountGamingLimitsConfirmationModal-BKVbjWGo.js} +53 -53
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js → PlayerAccountGamingLimitsConfirmationModal-C7eo4n91.js} +53 -53
- package/components/PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js → PlayerAccountGamingLimitsGroupEdit-CfD-M6Qh.js} +1079 -1081
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ageqronh.js → PlayerAccountGamingLimitsGroupEdit-JjBMtw_4.js} +1079 -1081
- package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2-kH5zBkQX.js → PlayerAccountGamingLimitsHistory2-B41VVq8R.js} +39 -39
- package/components/{PlayerAccountGamingLimitsHistory2-BusoJL-w.js → PlayerAccountGamingLimitsHistory2-BM9UlpyS.js} +41 -41
- package/components/{PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs → PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BHAREEgX.js → PlayerAccountGamingLimitsInfoCard-B9H7I5Gr.js} +80 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js → PlayerAccountGamingLimitsInfoCard-DwX_bkPR.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CAVf4Y-G.js → PlayerAccountGamingLimitsPage2Gm16-Cg-G38ui.js} +594 -597
- package/components/{PlayerAccountGamingLimitsPage2Gm16-ryQx6oP1.cjs → PlayerAccountGamingLimitsPage2Gm16-DtHQGK21.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DJHbna0W.js → PlayerAccountGamingLimitsPage2Gm16-T6Ii0fag.js} +241 -241
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bl1xoGPY.js → PlayerAccountGamingLimitsPopup-BhTuwNDv.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-D0ltWJSo.js → PlayerAccountGamingLimitsPopup-Bm8wJyt7.js} +28 -28
- package/components/{PlayerAccountGamingLimitsWrapper2-nO_niNOc.js → PlayerAccountGamingLimitsWrapper2-Bjsb9I8u.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2-vu5v2bbv.js → PlayerAccountGamingLimitsWrapper2-CbFe0wKm.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2-BSqP4Sd8.cjs → PlayerAccountGamingLimitsWrapper2-CrCkUbSW.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-JvzRw4bx.js → PlayerAccountGeneralConfirmationModal-C2j-cezP.js} +68 -68
- package/components/PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-T_JYxL62.js → PlayerAccountGeneralConfirmationModal-TR0re855.js} +68 -68
- package/components/{PlayerAccountMenu-JDfi5y52.cjs → PlayerAccountMenu-BQu1uMXy.cjs} +1 -1
- package/components/{PlayerAccountMenu-DPpd0Onj.js → PlayerAccountMenu-DDK28uRA.js} +33 -33
- package/components/{PlayerAccountMenu-C4sG1dhf.js → PlayerAccountMenu-DZqChKXK.js} +33 -33
- package/components/{PlayerAccountModal-BGCTA59j.js → PlayerAccountModal-Cw2Mcd-d.js} +25 -25
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
- package/components/{PlayerAccountModal-DkyQ5JIi.js → PlayerAccountModal-DoBwOdNI.js} +25 -25
- package/components/{PlayerAccountNotifications-DTtMvV8M.js → PlayerAccountNotifications-BpsUOj0M.js} +36 -36
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OJnPC108.js → PlayerAccountNotifications-CzhNTTTd.js} +35 -35
- package/components/{PlayerAccountProductRestriction-DSjfzN0L.js → PlayerAccountProductRestriction-ClvW28BI.js} +9467 -4397
- package/components/{PlayerAccountProductRestriction-BtXJwF14.js → PlayerAccountProductRestriction-DEGzc5kz.js} +9491 -4421
- package/components/PlayerAccountProductRestriction-HFCCxFxz.cjs +7968 -0
- package/components/{PlayerAccountSelfExclusion-BFhhj0lU.js → PlayerAccountSelfExclusion-BOViWFS9.js} +899 -901
- package/components/{PlayerAccountSelfExclusion-CdvQXAjK.cjs → PlayerAccountSelfExclusion-BWBLv-18.cjs} +155 -155
- package/components/{PlayerAccountSelfExclusion-CLHfQEii.js → PlayerAccountSelfExclusion-C7Br5VmH.js} +1216 -1218
- package/components/{PlayerAccountTimeout-Dfa2jJXc.js → PlayerAccountTimeout-CIHTd0LQ.js} +103 -103
- package/components/{PlayerAccountTimeout-lsP1D_FM.js → PlayerAccountTimeout-CfEHZ9pc.js} +103 -103
- package/components/{PlayerAccountTimeout-Dhey1QrR.cjs → PlayerAccountTimeout-DtpzMxQd.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-x6Mj8Vqc.cjs → PlayerAccountTransactionsHistory-CDHvYjjJ.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-e7LnmN2n.js → PlayerAccountTransactionsHistory-CnZ9-j-P.js} +84 -84
- package/components/{PlayerAccountTransactionsHistory-BumeG74E.js → PlayerAccountTransactionsHistory-DXz91A1z.js} +84 -84
- package/components/{PlayerActiveBonuses-BWfdGowJ.js → PlayerActiveBonuses-M2nfyZqa.js} +48 -48
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-_NK812L8.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DcuRFKFP.js → PlayerActiveBonuses-vH3WJNi8.js} +54 -54
- package/components/{PlayerBonusCard-CkEs_ikq.js → PlayerBonusCard-BXjt3PQh.js} +81 -81
- package/components/{PlayerBonusCard-D8XTVs99.js → PlayerBonusCard-BYBQy1Si.js} +81 -81
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-C6zYcpN6.cjs} +1 -1
- package/components/{PlayerBonusHistory-DmYF8qYy.js → PlayerBonusHistory-CoCvBZgH.js} +30 -30
- package/components/{PlayerBonusHistory-BmeRyaDK.cjs → PlayerBonusHistory-DLt5HM6L.cjs} +1 -1
- package/components/{PlayerBonusHistory-CTKJuEJG.js → PlayerBonusHistory-DOeREoa9.js} +30 -30
- package/components/{PlayerChangePassword-Hj0mD9xL.js → PlayerChangePassword-B5A-0Obq.js} +66 -66
- package/components/{PlayerChangePassword-CfCN79eP.cjs → PlayerChangePassword-CTNjnq_r.cjs} +1 -1
- package/components/{PlayerChangePassword-Cc15tSRv.js → PlayerChangePassword-DTahlEtx.js} +66 -66
- package/components/{PlayerDeposit-CmBFg6tX.cjs → PlayerDeposit-BsyYS9xx.cjs} +1 -1
- package/components/{PlayerDeposit-Bm1DOHlW.js → PlayerDeposit-DOzGblzs.js} +29 -29
- package/components/{PlayerDeposit-BpS3fS46.js → PlayerDeposit-DqT5-LKW.js} +29 -29
- package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-8Bo-uc3o.cjs} +1 -1
- package/components/{PlayerGamingHistory-Bew4OVxF.js → PlayerGamingHistory-ByLE5wRu.js} +82 -82
- package/components/{PlayerGamingHistory-B9lwGb0Z.js → PlayerGamingHistory-CfvSHYhg.js} +102 -102
- package/components/{PlayerPendingWithdrawals-scSFcYAA.js → PlayerPendingWithdrawals-CGYcCotO.js} +26 -26
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-pfC5sUpM.js → PlayerPendingWithdrawals-iWN6LsIP.js} +26 -26
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CYPlnEWJ.cjs} +1 -1
- package/components/{PlayerProfileInfo-DYvdUkJZ.js → PlayerProfileInfo-kZXtGVGK.js} +146 -146
- package/components/{PlayerProfileInfo-1ELKHIQs.js → PlayerProfileInfo-tCIspsyo.js} +158 -158
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
- package/components/{PlayerRealityCheck-pQWsLK1G.js → PlayerRealityCheck-Dr5lvwHL.js} +45 -45
- package/components/{PlayerRealityCheck-DLPtMaP7.js → PlayerRealityCheck-kgcCV8FV.js} +44 -44
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
- package/components/{PlayerTransactionHistory-B7ts1zGr.js → PlayerTransactionHistory-CEEirGIE.js} +19 -19
- package/components/{PlayerTransactionHistory-CUa0IaZD.js → PlayerTransactionHistory-j-FbnqEI.js} +19 -19
- package/components/{PlayerWithdrawal-BTfz-sCc.js → PlayerWithdrawal-B_nHZSvY.js} +19 -19
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
- package/components/{PlayerWithdrawal-DYVDpOnE.js → PlayerWithdrawal-DjRR7TrQ.js} +19 -19
- 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-4Hs1gM1f.cjs +8212 -0
- package/stencil/{checkbox-group-input_15-7ljokaYC.js → checkbox-group-input_15-C9RSqwNE.js} +9427 -4355
- package/stencil/{checkbox-group-input_15-BzU_0jJ_.js → checkbox-group-input_15-COZrprO3.js} +9424 -4352
- package/stencil/index-13661b98-8hgREsxq.cjs +1 -0
- package/stencil/{index-13661b98-Cty_Ct2m.js → index-13661b98-BGWA5lR-.js} +207 -207
- package/stencil/{index-13661b98-BJM2hHx6.js → index-13661b98-C1LBo8p_.js} +215 -215
- package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-HE2lDlEL.js} +192 -192
- package/stencil/{index-1ef3a64c-DQk1yZfC.js → index-1ef3a64c-zEGNB-u8.js} +185 -185
- package/stencil/index-6e523641-C-aWDr56.js +627 -0
- package/stencil/index-6e523641-CIqESSFm.js +654 -0
- package/stencil/index-6e523641-D-RFKZXR.cjs +1 -0
- package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-CWsaYxOT.js} +176 -176
- package/stencil/index-9c0f6c58-Cv5Mos03.cjs +1 -0
- package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-ntq_iYNK.js} +180 -180
- package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
- package/stencil/index-b2193545-DoYU_tL8.js +503 -0
- package/stencil/index-b2193545-_I2wisuY.js +519 -0
- package/stencil/pam-change-password-CgN62FEK.js +25 -0
- package/stencil/pam-change-password-Ck1Dqung.js +7 -0
- package/stencil/{pam-change-password-af5033a0-BfWHc1Rw.js → pam-change-password-c578e291-ApXrRZhk.js} +59 -59
- package/stencil/{pam-change-password-af5033a0-C18GwNdS.cjs → pam-change-password-c578e291-CObxKeQj.cjs} +2 -2
- package/stencil/{pam-change-password-af5033a0-DYGjeRTR.js → pam-change-password-c578e291-DjiJJQNq.js} +59 -59
- package/stencil/pam-change-password-q-zLWG5h.cjs +1 -0
- package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-BOxNJ6x_.cjs} +1 -1
- package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-jOo_qPpq.js} +1 -1
- package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-sZ9OAQ8Z.js} +1 -1
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-C_FDz0NJ.js} +2 -2
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-mkMdvWYI.js} +2 -2
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-Cr0-V-2c.js} +45 -45
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-DdJYJeX1.js} +45 -45
- package/stencil/user-transaction-history-ChQcZwtX.js +25 -0
- package/stencil/user-transaction-history-D4WBmCh8.cjs +1 -0
- package/stencil/user-transaction-history-Dla0Do5o.js +7 -0
- package/stencil/user-transaction-history_2-B1al0Y-h.js +3533 -0
- package/stencil/user-transaction-history_2-DznYNRIL.js +3555 -0
- package/stencil/user-transaction-history_2-bMxqSwYs.cjs +2 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +0 -2
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerAccountProductRestriction-BJ0LFpLp.cjs +0 -6061
- package/stencil/checkbox-group-input_15-Fs7-YN7u.cjs +0 -6305
- package/stencil/index-13661b98-DuhNdmHd.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-7c5e707a-B54Yjxc3.js +0 -616
- package/stencil/index-7c5e707a-BHFN5Fx4.js +0 -643
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/index-b2193545-DPKCFIaU.js +0 -503
- package/stencil/index-b2193545-LzjWxki5.js +0 -519
- package/stencil/pam-change-password-Bdu7Bk_h.js +0 -25
- package/stencil/pam-change-password-DSAfkY23.js +0 -7
- package/stencil/pam-change-password-mcRyjsPo.cjs +0 -1
- package/stencil/user-transaction-history-BrBScppC.js +0 -1651
- package/stencil/user-transaction-history-D0jBcRwe.js +0 -1627
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as J, $ as K, S as F, i as Q,
|
|
1
|
+
import { a as J, $ as K, S as F, i as Q, s as V, f as x, b as X, H as Y, d as S, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as T, h as L, j as m, l as j, k as _, m as B, t as O, e as l, p as re, q as ie, u as ae, n as le, v as H, w as se, x as ce, y as fe, z as me, A as de, B as ue } from "./GeneralLogout-DSECYo0-.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
J(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ const P = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function be(n) {
|
|
55
|
-
|
|
55
|
+
X(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
57
|
const he = (n) => ({}), q = (n) => ({});
|
|
58
58
|
function Ce(n) {
|
|
@@ -62,11 +62,11 @@ function Ce(n) {
|
|
|
62
62
|
e = H("svg"), t = H("path"), l(t, "stroke-linecap", "round"), l(t, "stroke-linejoin", "round"), l(t, "stroke-width", "2"), l(t, "d", "M6 18L18 6M6 6l12 12"), l(e, "class", "w-6 h-6"), l(e, "fill", "none"), l(e, "stroke", "currentColor"), l(e, "viewBox", "0 0 24 24"), l(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
64
|
m(i, c) {
|
|
65
|
-
|
|
65
|
+
L(i, e, c), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
67
|
+
p: le,
|
|
68
68
|
d(i) {
|
|
69
|
-
i &&
|
|
69
|
+
i && S(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -74,24 +74,24 @@ function E(n) {
|
|
|
74
74
|
let e, t, i;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e =
|
|
77
|
+
e = _("div"), t = _("h2"), i = O(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
82
|
m(c, d) {
|
|
83
|
-
|
|
83
|
+
L(c, e, d), m(e, t), m(t, i);
|
|
84
84
|
},
|
|
85
85
|
p(c, d) {
|
|
86
86
|
d & /*modaltitle*/
|
|
87
|
-
2 &&
|
|
87
|
+
2 && T(
|
|
88
88
|
i,
|
|
89
89
|
/*modaltitle*/
|
|
90
90
|
c[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
93
|
d(c) {
|
|
94
|
-
c &&
|
|
94
|
+
c && S(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -102,41 +102,41 @@ function I(n) {
|
|
|
102
102
|
), i, c, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e =
|
|
105
|
+
e = _("button"), i = O(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(f,
|
|
108
|
-
|
|
107
|
+
m(f, w) {
|
|
108
|
+
L(f, e, w), 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, w) {
|
|
116
|
+
w & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
f[4]("cancel") + "") &&
|
|
118
|
+
f[4]("cancel") + "") && T(i, t);
|
|
119
119
|
},
|
|
120
120
|
d(f) {
|
|
121
|
-
f &&
|
|
121
|
+
f && S(e), c = !1, d();
|
|
122
122
|
}
|
|
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, w, b, y, h, v = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
),
|
|
129
|
+
), k, u, G, M;
|
|
130
130
|
const g = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
133
|
-
), A =
|
|
133
|
+
), A = Y(
|
|
134
134
|
g,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
n[15],
|
|
138
138
|
q
|
|
139
|
-
),
|
|
139
|
+
), C = 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 = _("div"), t = _("div"), i = _("span"), C && C.c(), c = B(), s && s.c(), d = B(), f = _("div"), w = B(), b = _("div"), a && a.c(), y = B(), h = _("button"), k = O(v), 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
|
-
|
|
156
|
-
n[0], m(t,
|
|
154
|
+
m(r, p) {
|
|
155
|
+
L(r, e, p), m(e, t), m(t, i), C && C.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, w), m(t, b), a && a.m(b, null), m(b, y), m(b, h), m(h, k), n[19](e), u = !0, G || (M = [
|
|
157
157
|
j(
|
|
158
158
|
i,
|
|
159
159
|
"click",
|
|
@@ -166,56 +166,56 @@ function pe(n) {
|
|
|
166
166
|
/*click_handler_1*/
|
|
167
167
|
n[18]
|
|
168
168
|
)
|
|
169
|
-
],
|
|
169
|
+
], G = !0);
|
|
170
170
|
},
|
|
171
|
-
p(r, [
|
|
172
|
-
A && A.p && (!u ||
|
|
173
|
-
32768) &&
|
|
171
|
+
p(r, [p]) {
|
|
172
|
+
A && A.p && (!u || p & /*$$scope*/
|
|
173
|
+
32768) && te(
|
|
174
174
|
A,
|
|
175
175
|
g,
|
|
176
176
|
r,
|
|
177
177
|
/*$$scope*/
|
|
178
178
|
r[15],
|
|
179
|
-
u ?
|
|
179
|
+
u ? oe(
|
|
180
180
|
g,
|
|
181
181
|
/*$$scope*/
|
|
182
182
|
r[15],
|
|
183
|
-
|
|
183
|
+
p,
|
|
184
184
|
he
|
|
185
|
-
) :
|
|
185
|
+
) : ne(
|
|
186
186
|
/*$$scope*/
|
|
187
187
|
r[15]
|
|
188
188
|
),
|
|
189
189
|
q
|
|
190
190
|
), /*modaltitle*/
|
|
191
|
-
r[1] ? s ? s.p(r,
|
|
191
|
+
r[1] ? s ? s.p(r, p) : (s = E(r), s.c(), s.m(t, d)) : s && (s.d(1), s = null), (!u || p & /*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") + "") &&
|
|
194
|
+
r[2] ? a ? a.p(r, p) : (a = I(r), a.c(), a.m(b, y)) : a && (a.d(1), a = null), (!u || p & /*$_*/
|
|
195
|
+
16) && v !== (v = /*$_*/
|
|
196
|
+
r[4]("confirm") + "") && T(k, v);
|
|
197
197
|
},
|
|
198
198
|
i(r) {
|
|
199
|
-
u || (
|
|
199
|
+
u || (ee(C, r), u = !0);
|
|
200
200
|
},
|
|
201
201
|
o(r) {
|
|
202
|
-
|
|
202
|
+
$(C, r), u = !1;
|
|
203
203
|
},
|
|
204
204
|
d(r) {
|
|
205
|
-
r &&
|
|
205
|
+
r && S(e), C && C.d(r), s && s.d(), a && a.d(), n[19](null), G = !1, Z(M);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
function xe(n, e, t) {
|
|
210
210
|
let i;
|
|
211
|
-
|
|
212
|
-
let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle:
|
|
211
|
+
re(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: w = "" } = e, { hascancelbutton: b = !1 } = e, { modalconfirmevent: y = {} } = e, { modalcancelevent: h = {} } = e, { lang: v = "en" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: G = "" } = e, { mbsource: M } = e, g, A = window.navigator.userAgent, C = ie(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" && y && window.postMessage(y, window.location.href), o === "cancel" && h && window.postMessage(h, window.location.href), s();
|
|
217
217
|
}, r = () => {
|
|
218
|
-
fetch(
|
|
218
|
+
fetch(G).then((z) => z.json()).then((z) => {
|
|
219
219
|
Object.keys(z).forEach((W) => {
|
|
220
220
|
N(W, z[W]);
|
|
221
221
|
});
|
|
@@ -226,10 +226,10 @@ 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 p = () => {
|
|
230
|
+
ge(v);
|
|
231
231
|
};
|
|
232
|
-
|
|
232
|
+
ae(() => () => {
|
|
233
233
|
});
|
|
234
234
|
const R = () => a("cancel"), U = () => a("confirm");
|
|
235
235
|
function D(o) {
|
|
@@ -238,30 +238,30 @@ function xe(n, e, t) {
|
|
|
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, w = o.modaltitle), "hascancelbutton" in o && t(2, b = o.hascancelbutton), "modalconfirmevent" in o && t(8, y = o.modalconfirmevent), "modalcancelevent" in o && t(9, h = o.modalcancelevent), "lang" in o && t(10, v = o.lang), "clientstyling" in o && t(11, k = o.clientstyling), "clientstylingurl" in o && t(12, u = o.clientstylingurl), "translationurl" in o && t(13, G = o.translationurl), "mbsource" in o && t(14, M = 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 &&
|
|
244
|
+
1025 && f && v && p(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
245
|
+
2056 && k && g && ce(g, k), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
246
246
|
4104 && u && g && fe(g, u), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
247
|
-
16392 &&
|
|
248
|
-
8192 &&
|
|
247
|
+
16392 && M && g && me(g, `${M}.Style`), n.$$.dirty & /*translationurl*/
|
|
248
|
+
8192 && G && r();
|
|
249
249
|
}, [
|
|
250
250
|
f,
|
|
251
|
-
|
|
251
|
+
w,
|
|
252
252
|
b,
|
|
253
253
|
g,
|
|
254
254
|
i,
|
|
255
|
-
|
|
255
|
+
C,
|
|
256
256
|
s,
|
|
257
257
|
a,
|
|
258
|
-
_,
|
|
259
|
-
h,
|
|
260
|
-
w,
|
|
261
258
|
y,
|
|
262
|
-
|
|
259
|
+
h,
|
|
260
|
+
v,
|
|
263
261
|
k,
|
|
262
|
+
u,
|
|
264
263
|
G,
|
|
264
|
+
M,
|
|
265
265
|
d,
|
|
266
266
|
c,
|
|
267
267
|
R,
|
|
@@ -276,7 +276,7 @@ class we extends F {
|
|
|
276
276
|
e,
|
|
277
277
|
xe,
|
|
278
278
|
pe,
|
|
279
|
-
|
|
279
|
+
V,
|
|
280
280
|
{
|
|
281
281
|
modaltext: 0,
|
|
282
282
|
modaltitle: 1,
|
|
@@ -296,64 +296,64 @@ 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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
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 }), x();
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
|
|
356
|
+
de(we, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
357
357
|
export {
|
|
358
358
|
we as default
|
|
359
359
|
};
|
|
@@ -1 +1 @@
|
|
|
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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");require("../stencil/ui-skeleton-GEqIXVxo.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-CuvnoUn1.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;
|