@everymatrix/player-account-controller-nd 1.65.7 → 1.66.1
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-BqarYaGX.js → GeneralLogout-D_LZ6noj.js} +1474 -1439
- package/components/GeneralLogout-Dzu2Sl-x.cjs +21 -0
- package/components/{GeneralLogout-DpRb1GKt.js → GeneralLogout-PryurO1h.js} +1493 -1458
- package/components/{PlayerAccountBettingHistory-DgHU9Jz9.cjs → PlayerAccountBettingHistory-BtDZukYI.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CZ-2Eo65.js → PlayerAccountBettingHistory-BzAXq1xX.js} +27 -27
- package/components/{PlayerAccountBettingHistory-DRNj2_nh.js → PlayerAccountBettingHistory-CwTEYOIN.js} +27 -27
- package/components/{PlayerAccountBiometrics-DXk7ouzk.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CS2Ou41a.js → PlayerAccountBiometrics-CtLvJg_Q.js} +22 -22
- package/components/{PlayerAccountBiometrics-Cp02JZ-p.js → PlayerAccountBiometrics-DIkqSnzX.js} +22 -22
- package/components/{PlayerAccountClosureNd-BDf6ZV_O.js → PlayerAccountClosureNd-7SyXUtdN.js} +17 -17
- package/components/{PlayerAccountClosureNd-DTSPR235.js → PlayerAccountClosureNd-Byw-X8Sr.js} +17 -17
- package/components/{PlayerAccountClosureNd-CEw0GMdr.cjs → PlayerAccountClosureNd-WqmFJkpU.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-SIT2pYHr.cjs → PlayerAccountControllerNd-DR6ofLiD.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DK9Fb1b9.js → PlayerAccountControllerNd-gtGxOlzr.js} +138 -138
- package/components/{PlayerAccountControllerNd-BuPVz7gD.js → PlayerAccountControllerNd-kA_PT5aP.js} +136 -136
- package/components/{PlayerAccountGamingLimits-DYeE-UoB.js → PlayerAccountGamingLimits-BwempsG_.js} +19 -19
- package/components/{PlayerAccountGamingLimits-Dj1vdgsP.js → PlayerAccountGamingLimits-C5fcaaR5.js} +19 -19
- package/components/{PlayerAccountGamingLimits-C5-wP3x8.cjs → PlayerAccountGamingLimits-DZBzKFyv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-9Smxn0Eo.js → PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js} +53 -53
- package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BKE3chFw.js → PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js} +53 -53
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-IS7pwiyD.js → PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js} +413 -415
- package/components/{PlayerAccountGamingLimitsGroupEdit-CmrrVg_q.js → PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js} +413 -415
- package/components/{PlayerAccountGamingLimitsHistory2Nd-B1bxRx8n.js → PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CyUmcHfd.cjs → PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BWUzYYof.js → PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js} +199 -199
- package/components/{PlayerAccountGamingLimitsInfoCard-n38U4Bet.js → PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js} +80 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs → PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-Cu4_dbfd.js → PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BPmAMSJz.js → PlayerAccountGamingLimitsPage2Gm16Nd-B3S3aE0o.js} +91 -91
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BUYiE8KZ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CWcAVks7.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BYYk6WIK.js → PlayerAccountGamingLimitsPage2Gm16Nd-HpGAoH_E.js} +91 -91
- package/components/{PlayerAccountGamingLimitsPopup-Chfup4AC.js → PlayerAccountGamingLimitsPopup-B5CoTG_T.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-D3tfs8br.js → PlayerAccountGamingLimitsPopup-CzDFUbRs.js} +28 -28
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-B2-GgwO6.js → PlayerAccountGamingLimitsWrapper2Nd-4ZYALP2a.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BYj7hpNE.cjs → PlayerAccountGamingLimitsWrapper2Nd-CErgPgvk.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CBjFWU6Y.js → PlayerAccountGamingLimitsWrapper2Nd-fpNsXAyX.js} +36 -36
- package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-C9sZnKk-.js → PlayerAccountGeneralConfirmationModal-Byd2u6b9.js} +95 -95
- package/components/{PlayerAccountGeneralConfirmationModal-CzWW7TO1.js → PlayerAccountGeneralConfirmationModal-C4zwKDdb.js} +95 -95
- package/components/{PlayerAccountMenuNd-BMezijtf.cjs → PlayerAccountMenuNd-BFdU3ZXb.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-B14HHDMC.js → PlayerAccountMenuNd-Cs9UjL2S.js} +29 -29
- package/components/{PlayerAccountMenuNd-CGHNQ9Ia.js → PlayerAccountMenuNd-Cx7Fxjin.js} +29 -29
- package/components/{PlayerAccountModal-CNPgYrpB.js → PlayerAccountModal-DHs1T-B4.js} +44 -44
- package/components/{PlayerAccountModal-lwDOdDa4.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
- package/components/{PlayerAccountModal-NKWbQg0Z.js → PlayerAccountModal-iZqtQZF3.js} +44 -44
- package/components/{PlayerAccountNotifications-Um7wlaR9.js → PlayerAccountNotifications-BjAtYQls.js} +120 -120
- package/components/{PlayerAccountNotifications-BciDzDyI.js → PlayerAccountNotifications-bjLmyXO3.js} +35 -35
- package/components/{PlayerAccountNotifications-CzMMRPni.cjs → PlayerAccountNotifications-ejASOsrU.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-Byg_2z0c.js → PlayerAccountSelfExclusionNd-C6g9CN37.js} +1300 -1302
- package/components/{PlayerAccountSelfExclusionNd-B_nRc8Sa.js → PlayerAccountSelfExclusionNd-CIP0pLzc.js} +1040 -1042
- package/components/{PlayerAccountSelfExclusionNd-CpT_ZFMN.cjs → PlayerAccountSelfExclusionNd-t6Q0Nexu.cjs} +155 -155
- package/components/{PlayerAccountTimeout-B4NvwUZo.js → PlayerAccountTimeout-CLxGgNmd.js} +150 -150
- package/components/{PlayerAccountTimeout-N0vyYDyZ.cjs → PlayerAccountTimeout-D-cCHJBm.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CmRl0tEc.js → PlayerAccountTimeout-XhHX4kXc.js} +150 -150
- package/components/{PlayerAccountTransactionsHistory-DgRAaof5.js → PlayerAccountTransactionsHistory-YbNAPwhH.js} +1944 -1922
- package/components/{PlayerAccountTransactionsHistory-CLtNxF1E.cjs → PlayerAccountTransactionsHistory-_Sm0nfWr.cjs} +253 -253
- package/components/{PlayerAccountTransactionsHistory-J86WA-wq.js → PlayerAccountTransactionsHistory-jkghMl1H.js} +1515 -1533
- package/components/{PlayerActiveBonuses-C7G2b4x9.cjs → PlayerActiveBonuses-CVhSMdRf.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BKHuSXjW.js → PlayerActiveBonuses-DbYy8R7L.js} +54 -54
- package/components/{PlayerActiveBonuses-ClF-vZCZ.js → PlayerActiveBonuses-ednos3wt.js} +52 -52
- package/components/{PlayerBonusCard-nwlvuWsq.cjs → PlayerBonusCard-BNNcjGWn.cjs} +1 -1
- package/components/{PlayerBonusCard-DIuiutMI.js → PlayerBonusCard-C0Z6YeQL.js} +54 -54
- package/components/{PlayerBonusCard-O-ukO4ru.js → PlayerBonusCard-CYnvLBMF.js} +54 -54
- package/components/{PlayerBonusHistory-TfBysWlo.js → PlayerBonusHistory-BXx0_fP4.js} +30 -30
- package/components/{PlayerBonusHistory-CxcDHDex.cjs → PlayerBonusHistory-D8cY-irD.cjs} +1 -1
- package/components/{PlayerBonusHistory-C_nm1a_F.js → PlayerBonusHistory-DJTWzw3S.js} +30 -30
- package/components/{PlayerChangePasswordNd-1bGRcLqZ.js → PlayerChangePasswordNd-B0W5bdN2.js} +71 -71
- package/components/{PlayerChangePasswordNd-DCg61OgS.js → PlayerChangePasswordNd-B0yPdyGM.js} +71 -71
- package/components/{PlayerChangePasswordNd-CjKqxbi8.cjs → PlayerChangePasswordNd-DEzeq-CF.cjs} +1 -1
- package/components/{PlayerDeposit-odz0L-Xa.js → PlayerDeposit-CHnzNVZy.js} +29 -29
- package/components/{PlayerDeposit-DAFmH9HW.cjs → PlayerDeposit-Dzg8Ltb1.cjs} +1 -1
- package/components/{PlayerDeposit-CwClAkf8.js → PlayerDeposit-N7o3ip4d.js} +29 -29
- package/components/{PlayerGamingHistory-D4ub-eTs.js → PlayerGamingHistory-2WbuH8Jo.js} +63 -63
- package/components/{PlayerGamingHistory-CCuaz9_n.js → PlayerGamingHistory-BHH-2mBi.js} +63 -63
- package/components/{PlayerGamingHistory-BO-_vwOQ.cjs → PlayerGamingHistory-DV45eT8w.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-WueprUX6.js → PlayerPendingWithdrawals-B2WyLuNV.js} +26 -26
- package/components/{PlayerPendingWithdrawals-DbuXpIXl.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DSZjjRc5.js → PlayerPendingWithdrawals-CRRuYNXr.js} +26 -26
- package/components/{PlayerProfileInfo-CwNz-ALx.cjs → PlayerProfileInfo-DjZCa7C6.cjs} +2 -2
- package/components/{PlayerProfileInfo-BfTLCm7Z.js → PlayerProfileInfo-s0_tCjMW.js} +131 -131
- package/components/{PlayerProfileInfo-Cpz6YQzb.js → PlayerProfileInfo-vWgBHXoY.js} +127 -127
- package/components/{PlayerRealityCheck-CFJVJn17.cjs → PlayerRealityCheck-BrVF76qp.cjs} +1 -1
- package/components/{PlayerRealityCheck-Cvp1LCTw.js → PlayerRealityCheck-C7EUl18t.js} +44 -44
- package/components/{PlayerRealityCheck-BB6ql_la.js → PlayerRealityCheck-RsT9a67Q.js} +45 -45
- package/components/{PlayerTransactionHistory-BOtRm_b6.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
- package/components/{PlayerTransactionHistory-B-WizKVy.js → PlayerTransactionHistory-BQlWb-B9.js} +19 -19
- package/components/{PlayerTransactionHistory-OP187htZ.js → PlayerTransactionHistory-DyBRNwAw.js} +19 -19
- package/components/{PlayerWithdrawal-OBRjEIH9.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
- package/components/{PlayerWithdrawal-5dv65FN3.js → PlayerWithdrawal-C6_CSTeL.js} +19 -19
- package/components/{PlayerWithdrawal-Cmns8eAn.js → PlayerWithdrawal-CgR0BwqA.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-DdpCHvWb.js → checkbox-group-input_9-BVBeSmHl.js} +749 -742
- package/stencil/checkbox-group-input_9-CixpoaRc.cjs +2 -0
- package/stencil/{checkbox-group-input_9-BwrWZeLB.js → checkbox-group-input_9-Ckf5IThK.js} +749 -742
- package/stencil/{general-input-BDPI_fW2.js → general-input-6HMiojaV.js} +1592 -1590
- package/stencil/{general-input-y1CIV_-r.cjs → general-input-C54NeVAb.cjs} +254 -254
- package/stencil/{general-input-DpokfhP6.js → general-input-DGu8X142.js} +1594 -1592
- package/stencil/{index-1ef3a64c-Dd-0nq4l.js → index-1ef3a64c-BNosNJnU.js} +192 -192
- package/stencil/index-1ef3a64c-CFvPR_NP.cjs +1 -0
- package/stencil/{index-1ef3a64c-B1Hda3TY.js → index-1ef3a64c-DsTe-fF4.js} +185 -185
- package/stencil/{index-7c5e707a-CuTkyLaW.js → index-7c5e707a-C9R6jYpt.js} +209 -209
- package/stencil/index-7c5e707a-DvxqcEpc.js +643 -0
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/{index-9c0f6c58-RPoO1End.js → index-9c0f6c58-BB5opCt9.js} +176 -176
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +1 -0
- package/stencil/{index-9c0f6c58-NlVKpLut.js → index-9c0f6c58-bxjYqwOi.js} +180 -180
- package/stencil/{index-9cd44522-DrlRFYrB.js → index-9cd44522--OAp7ePk.js} +196 -196
- package/stencil/{index-9cd44522-Cto_o6sQ.js → index-9cd44522-C0ycW8_E.js} +202 -202
- package/stencil/index-9cd44522-CqgRbQOU.cjs +1 -0
- package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
- package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
- package/stencil/index-b2193545-DePry399.js +503 -0
- package/stencil/{password-input_2-DQst8UHp.js → password-input_2-BWxS0D5h.js} +19 -19
- package/stencil/{password-input_2-BFXxkcXV.cjs → password-input_2-Bz7EgS5w.cjs} +2 -2
- package/stencil/{password-input_2-CqbOPSSZ.js → password-input_2-KI96oR82.js} +19 -19
- package/stencil/{player-change-password-gm2-5cb5c6c1-n4BjzEVs.cjs → player-change-password-gm2-5cb5c6c1-B561Hszb.cjs} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-BhDKCfuN.js → player-change-password-gm2-5cb5c6c1-Bi9IbxQV.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-Ch9RyZ2b.js → player-change-password-gm2-5cb5c6c1-Bu5Dac83.js} +1 -1
- package/stencil/{player-change-password-gm2-Bg9HNK0A.js → player-change-password-gm2-BRh6ZaCn.js} +1 -1
- package/stencil/{player-change-password-gm2-COsfG6W5.cjs → player-change-password-gm2-COxZYE4t.cjs} +1 -1
- package/stencil/{player-change-password-gm2-CNOsEIfo.js → player-change-password-gm2-tu3usKOk.js} +1 -1
- package/stencil/{player-kyc-verification-Cxnz1raa.js → player-kyc-verification-CMAkNiAB.js} +9 -9
- package/stencil/{player-kyc-verification-qKWuqiUm.cjs → player-kyc-verification-DYcPWwfi.cjs} +2 -2
- package/stencil/{player-kyc-verification-DA_O1Dqu.js → player-kyc-verification-p2WFnKBp.js} +12 -12
- package/stencil/{toggle-checkbox-input-BhQAILyC.cjs → toggle-checkbox-input-BQz8G4GG.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-rocW3Yvz.js → toggle-checkbox-input-Bhz93bXQ.js} +2 -2
- package/stencil/{toggle-checkbox-input-B4lb8oMh.js → toggle-checkbox-input-lRQooUAB.js} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-CZJ4UoDJ.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-dFWe5qbW.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-D5Bub0nv.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +1 -1
- package/stencil/{ui-skeleton-CZ5yC1WO.js → ui-skeleton-C974aG7g.js} +2 -2
- package/stencil/{ui-skeleton-vLKdvRqw.js → ui-skeleton-DoX-UmRU.js} +2 -2
- package/stencil/{ui-skeleton-BH5oLkn9.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-ByE9O4TW.js → user-deposit-withdrawal-C7W58646.js} +45 -45
- package/stencil/{user-deposit-withdrawal-DGTrOlxS.cjs → user-deposit-withdrawal-Dfu_1g2v.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-BMWb-WJE.js → user-deposit-withdrawal-Dzz_fEvK.js} +45 -45
- package/stencil/{user-transaction-history-CXBKXul8.js → user-transaction-history-BAK7MHHa.js} +14 -14
- package/stencil/{user-transaction-history-BU4-cXt6.js → user-transaction-history-DhQ6RqNc.js} +11 -11
- package/stencil/{user-transaction-history-DLLIZ5Ck.cjs → user-transaction-history-DiRXpfbN.cjs} +1 -1
- package/components/GeneralLogout-DweBl3EQ.cjs +0 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +0 -1
- package/stencil/checkbox-group-input_9-CImFZbCv.cjs +0 -2
- package/stencil/index-1ef3a64c-CCWt3IAA.cjs +0 -1
- package/stencil/index-7c5e707a-8-4_dLFT.js +0 -643
- package/stencil/index-7c5e707a-nBsW029h.cjs +0 -1
- package/stencil/index-9c0f6c58-DbSOntvG.cjs +0 -1
- package/stencil/index-9cd44522-lYql7AfG.cjs +0 -1
- package/stencil/index-b2193545-BXNomIzV.js +0 -519
- package/stencil/index-b2193545-CYe2oVMy.js +0 -503
- package/stencil/index-b2193545-DxRobzZI.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as J, S as K, i as Q,
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, s as V, f as v, b as X, H as Y, d as j, r as Z, I as $, J as ee, K as te, L as ne, M as oe, c as S, g as L, h as m, l as O, j as _, k as z, m as E, o as l, p as ie, q as re, u as ae, n as le, v as W, w as se, x as ce, y as me, z as fe, A as de, B as ue } from "./GeneralLogout-D_LZ6noj.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
H(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ const P = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function be(n) {
|
|
55
|
-
|
|
55
|
+
X(n, "svelte-s0xip8", '*,*::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) {
|
|
@@ -61,37 +61,37 @@ function Ce(n) {
|
|
|
61
61
|
c() {
|
|
62
62
|
e = W("svg"), t = W("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
|
-
m(
|
|
65
|
-
|
|
64
|
+
m(r, s) {
|
|
65
|
+
L(r, e, s), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
68
|
-
d(
|
|
69
|
-
|
|
67
|
+
p: le,
|
|
68
|
+
d(r) {
|
|
69
|
+
r && j(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
function I(n) {
|
|
74
|
-
let e, t,
|
|
74
|
+
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e =
|
|
77
|
+
e = _("div"), t = _("h2"), r = E(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
|
-
m(s,
|
|
83
|
-
|
|
82
|
+
m(s, d) {
|
|
83
|
+
L(s, e, d), m(e, t), m(t, r);
|
|
84
84
|
},
|
|
85
|
-
p(s,
|
|
86
|
-
|
|
87
|
-
2 &&
|
|
88
|
-
|
|
85
|
+
p(s, d) {
|
|
86
|
+
d & /*modaltitle*/
|
|
87
|
+
2 && S(
|
|
88
|
+
r,
|
|
89
89
|
/*modaltitle*/
|
|
90
90
|
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
93
|
d(s) {
|
|
94
|
-
s &&
|
|
94
|
+
s && j(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -99,44 +99,44 @@ function R(n) {
|
|
|
99
99
|
let e, t = (
|
|
100
100
|
/*$_*/
|
|
101
101
|
n[4]("cancel") + ""
|
|
102
|
-
),
|
|
102
|
+
), r, s, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e =
|
|
105
|
+
e = _("button"), r = E(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(
|
|
108
|
-
|
|
107
|
+
m(f, C) {
|
|
108
|
+
L(f, e, C), m(e, r), s || (d = O(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
112
112
|
n[17]
|
|
113
113
|
), s = !0);
|
|
114
114
|
},
|
|
115
|
-
p(
|
|
116
|
-
|
|
115
|
+
p(f, C) {
|
|
116
|
+
C & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
|
|
118
|
+
f[4]("cancel") + "") && S(r, t);
|
|
119
119
|
},
|
|
120
|
-
d(
|
|
121
|
-
|
|
120
|
+
d(f) {
|
|
121
|
+
f && j(e), s = !1, d();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function pe(n) {
|
|
126
|
-
let e, t,
|
|
126
|
+
let e, t, r, s, d, f, C, A, g, y, p, w = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
),
|
|
129
|
+
), k, u, G, b;
|
|
130
130
|
const F = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
133
|
-
), M =
|
|
133
|
+
), M = Y(
|
|
134
134
|
F,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
n[15],
|
|
138
138
|
q
|
|
139
|
-
),
|
|
139
|
+
), h = M || Ce();
|
|
140
140
|
let a = (
|
|
141
141
|
/*modaltitle*/
|
|
142
142
|
n[1] && I(n)
|
|
@@ -146,79 +146,79 @@ function pe(n) {
|
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e =
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C = E(
|
|
150
150
|
/*modaltext*/
|
|
151
151
|
n[0]
|
|
152
|
-
), A = z(), g =
|
|
152
|
+
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k = E(w), l(r, "class", "ModalCloseBtn"), l(r, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(p, "class", "GeneralConfirmButton"), l(g, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
153
153
|
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
154
154
|
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
155
155
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
156
156
|
},
|
|
157
|
-
m(
|
|
158
|
-
|
|
157
|
+
m(i, x) {
|
|
158
|
+
L(i, e, x), m(e, t), m(t, r), h && h.m(r, null), m(t, s), a && a.m(t, null), m(t, d), m(t, f), m(f, C), m(t, A), m(t, g), c && c.m(g, null), m(g, y), m(g, p), m(p, k), n[19](e), u = !0, G || (b = [
|
|
159
159
|
O(
|
|
160
|
-
|
|
160
|
+
r,
|
|
161
161
|
"click",
|
|
162
162
|
/*close*/
|
|
163
163
|
n[6]
|
|
164
164
|
),
|
|
165
165
|
O(
|
|
166
|
-
|
|
166
|
+
p,
|
|
167
167
|
"click",
|
|
168
168
|
/*click_handler_1*/
|
|
169
169
|
n[18]
|
|
170
170
|
)
|
|
171
|
-
],
|
|
171
|
+
], G = !0);
|
|
172
172
|
},
|
|
173
|
-
p(
|
|
174
|
-
M && M.p && (!u ||
|
|
175
|
-
32768) &&
|
|
173
|
+
p(i, [x]) {
|
|
174
|
+
M && M.p && (!u || x & /*$$scope*/
|
|
175
|
+
32768) && te(
|
|
176
176
|
M,
|
|
177
177
|
F,
|
|
178
|
-
|
|
178
|
+
i,
|
|
179
179
|
/*$$scope*/
|
|
180
|
-
|
|
181
|
-
u ?
|
|
180
|
+
i[15],
|
|
181
|
+
u ? oe(
|
|
182
182
|
F,
|
|
183
183
|
/*$$scope*/
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
i[15],
|
|
185
|
+
x,
|
|
186
186
|
he
|
|
187
|
-
) :
|
|
187
|
+
) : ne(
|
|
188
188
|
/*$$scope*/
|
|
189
|
-
|
|
189
|
+
i[15]
|
|
190
190
|
),
|
|
191
191
|
q
|
|
192
192
|
), /*modaltitle*/
|
|
193
|
-
|
|
194
|
-
1) &&
|
|
195
|
-
|
|
193
|
+
i[1] ? a ? a.p(i, x) : (a = I(i), a.c(), a.m(t, d)) : a && (a.d(1), a = null), (!u || x & /*modaltext*/
|
|
194
|
+
1) && S(
|
|
195
|
+
C,
|
|
196
196
|
/*modaltext*/
|
|
197
|
-
|
|
197
|
+
i[0]
|
|
198
198
|
), /*hascancelbutton*/
|
|
199
|
-
|
|
200
|
-
16) &&
|
|
201
|
-
|
|
199
|
+
i[2] ? c ? c.p(i, x) : (c = R(i), c.c(), c.m(g, y)) : c && (c.d(1), c = null), (!u || x & /*$_*/
|
|
200
|
+
16) && w !== (w = /*$_*/
|
|
201
|
+
i[4]("confirm") + "") && S(k, w);
|
|
202
202
|
},
|
|
203
|
-
i(
|
|
204
|
-
u || (
|
|
203
|
+
i(i) {
|
|
204
|
+
u || (ee(h, i), u = !0);
|
|
205
205
|
},
|
|
206
|
-
o(
|
|
207
|
-
|
|
206
|
+
o(i) {
|
|
207
|
+
$(h, i), u = !1;
|
|
208
208
|
},
|
|
209
|
-
d(
|
|
210
|
-
|
|
209
|
+
d(i) {
|
|
210
|
+
i && j(e), h && h.d(i), a && a.d(), c && c.d(), n[19](null), G = !1, Z(b);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
function xe(n, e, t) {
|
|
215
|
-
let
|
|
216
|
-
ie(n, ue, (o) => t(4,
|
|
217
|
-
let { $$slots: s = {}, $$scope:
|
|
218
|
-
const
|
|
215
|
+
let r;
|
|
216
|
+
ie(n, ue, (o) => t(4, r = o));
|
|
217
|
+
let { $$slots: s = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: C = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: y = {} } = e, { lang: p = "en" } = e, { clientstyling: w = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: u = "" } = e, { mbsource: G } = e, b, F = window.navigator.userAgent, M = re(F) !== "PC";
|
|
218
|
+
const h = () => {
|
|
219
219
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
220
|
}, a = (o) => {
|
|
221
|
-
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" &&
|
|
221
|
+
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" && y && window.postMessage(y, window.location.href), h();
|
|
222
222
|
}, c = () => {
|
|
223
223
|
fetch(u).then((B) => B.json()).then((B) => {
|
|
224
224
|
Object.keys(B).forEach((T) => {
|
|
@@ -231,45 +231,45 @@ function xe(n, e, t) {
|
|
|
231
231
|
Object.keys(P).forEach((o) => {
|
|
232
232
|
N(o, P[o]);
|
|
233
233
|
});
|
|
234
|
-
const
|
|
235
|
-
ge(
|
|
234
|
+
const i = () => {
|
|
235
|
+
ge(p);
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
ae(() => () => {
|
|
238
238
|
});
|
|
239
|
-
const
|
|
239
|
+
const x = () => a("cancel"), U = () => a("confirm");
|
|
240
240
|
function D(o) {
|
|
241
241
|
se[o ? "unshift" : "push"](() => {
|
|
242
242
|
b = o, t(3, b);
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
return n.$$set = (o) => {
|
|
246
|
-
"modaltext" in o && t(0,
|
|
246
|
+
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, C = o.modaltitle), "hascancelbutton" in o && t(2, A = o.hascancelbutton), "modalconfirmevent" in o && t(8, g = o.modalconfirmevent), "modalcancelevent" in o && t(9, y = o.modalcancelevent), "lang" in o && t(10, p = o.lang), "clientstyling" in o && t(11, w = o.clientstyling), "clientstylingurl" in o && t(12, k = o.clientstylingurl), "translationurl" in o && t(13, u = o.translationurl), "mbsource" in o && t(14, G = o.mbsource), "$$scope" in o && t(15, d = o.$$scope);
|
|
247
247
|
}, n.$$.update = () => {
|
|
248
248
|
n.$$.dirty & /*modaltext, lang*/
|
|
249
|
-
1025 &&
|
|
250
|
-
2056 &&
|
|
251
|
-
4104 &&
|
|
252
|
-
16392 &&
|
|
249
|
+
1025 && f && p && i(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
250
|
+
2056 && w && b && ce(b, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
251
|
+
4104 && k && b && me(b, k), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
252
|
+
16392 && G && b && fe(b, `${G}.Style`), n.$$.dirty & /*translationurl*/
|
|
253
253
|
8192 && u && c();
|
|
254
254
|
}, [
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
f,
|
|
256
|
+
C,
|
|
257
257
|
A,
|
|
258
258
|
b,
|
|
259
|
-
|
|
259
|
+
r,
|
|
260
260
|
M,
|
|
261
|
-
|
|
261
|
+
h,
|
|
262
262
|
a,
|
|
263
263
|
g,
|
|
264
|
-
_,
|
|
265
|
-
C,
|
|
266
|
-
v,
|
|
267
264
|
y,
|
|
268
|
-
|
|
265
|
+
p,
|
|
266
|
+
w,
|
|
269
267
|
k,
|
|
270
|
-
|
|
268
|
+
u,
|
|
269
|
+
G,
|
|
270
|
+
d,
|
|
271
271
|
s,
|
|
272
|
-
|
|
272
|
+
x,
|
|
273
273
|
U,
|
|
274
274
|
D
|
|
275
275
|
];
|
|
@@ -281,7 +281,7 @@ class ve extends K {
|
|
|
281
281
|
e,
|
|
282
282
|
xe,
|
|
283
283
|
pe,
|
|
284
|
-
|
|
284
|
+
V,
|
|
285
285
|
{
|
|
286
286
|
modaltext: 0,
|
|
287
287
|
modaltitle: 1,
|
|
@@ -301,64 +301,64 @@ class ve extends K {
|
|
|
301
301
|
return this.$$.ctx[0];
|
|
302
302
|
}
|
|
303
303
|
set modaltext(e) {
|
|
304
|
-
this.$$set({ modaltext: e }),
|
|
304
|
+
this.$$set({ modaltext: e }), v();
|
|
305
305
|
}
|
|
306
306
|
get modaltitle() {
|
|
307
307
|
return this.$$.ctx[1];
|
|
308
308
|
}
|
|
309
309
|
set modaltitle(e) {
|
|
310
|
-
this.$$set({ modaltitle: e }),
|
|
310
|
+
this.$$set({ modaltitle: e }), v();
|
|
311
311
|
}
|
|
312
312
|
get hascancelbutton() {
|
|
313
313
|
return this.$$.ctx[2];
|
|
314
314
|
}
|
|
315
315
|
set hascancelbutton(e) {
|
|
316
|
-
this.$$set({ hascancelbutton: e }),
|
|
316
|
+
this.$$set({ hascancelbutton: e }), v();
|
|
317
317
|
}
|
|
318
318
|
get modalconfirmevent() {
|
|
319
319
|
return this.$$.ctx[8];
|
|
320
320
|
}
|
|
321
321
|
set modalconfirmevent(e) {
|
|
322
|
-
this.$$set({ modalconfirmevent: e }),
|
|
322
|
+
this.$$set({ modalconfirmevent: e }), v();
|
|
323
323
|
}
|
|
324
324
|
get modalcancelevent() {
|
|
325
325
|
return this.$$.ctx[9];
|
|
326
326
|
}
|
|
327
327
|
set modalcancelevent(e) {
|
|
328
|
-
this.$$set({ modalcancelevent: e }),
|
|
328
|
+
this.$$set({ modalcancelevent: e }), v();
|
|
329
329
|
}
|
|
330
330
|
get lang() {
|
|
331
331
|
return this.$$.ctx[10];
|
|
332
332
|
}
|
|
333
333
|
set lang(e) {
|
|
334
|
-
this.$$set({ lang: e }),
|
|
334
|
+
this.$$set({ lang: e }), v();
|
|
335
335
|
}
|
|
336
336
|
get clientstyling() {
|
|
337
337
|
return this.$$.ctx[11];
|
|
338
338
|
}
|
|
339
339
|
set clientstyling(e) {
|
|
340
|
-
this.$$set({ clientstyling: e }),
|
|
340
|
+
this.$$set({ clientstyling: e }), v();
|
|
341
341
|
}
|
|
342
342
|
get clientstylingurl() {
|
|
343
343
|
return this.$$.ctx[12];
|
|
344
344
|
}
|
|
345
345
|
set clientstylingurl(e) {
|
|
346
|
-
this.$$set({ clientstylingurl: e }),
|
|
346
|
+
this.$$set({ clientstylingurl: e }), v();
|
|
347
347
|
}
|
|
348
348
|
get translationurl() {
|
|
349
349
|
return this.$$.ctx[13];
|
|
350
350
|
}
|
|
351
351
|
set translationurl(e) {
|
|
352
|
-
this.$$set({ translationurl: e }),
|
|
352
|
+
this.$$set({ translationurl: e }), v();
|
|
353
353
|
}
|
|
354
354
|
get mbsource() {
|
|
355
355
|
return this.$$.ctx[14];
|
|
356
356
|
}
|
|
357
357
|
set mbsource(e) {
|
|
358
|
-
this.$$set({ mbsource: e }),
|
|
358
|
+
this.$$set({ mbsource: e }), v();
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
de(ve, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
362
362
|
export {
|
|
363
363
|
ve as default
|
|
364
364
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DweBl3EQ.cjs");require("../stencil/ui-skeleton-BH5oLkn9.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-DweBl3EQ.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-Dzu2Sl-x.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|