@everymatrix/player-account-controller 1.54.12 → 1.56.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-CMYMtWfC.cjs → GeneralLogout-9pZTJKCj.cjs} +4 -4
- package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-DH2dZPHM.js} +744 -729
- package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DKa2JUny.js} +617 -602
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-CxIU3NjD.js} +127 -131
- package/components/PlayerAccountBettingHistory-DcspNMNL.js +329 -0
- package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-BBYUw87N.js} +126 -127
- package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-D3fKLHtV.js} +126 -127
- package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-CtTfS7wl.js} +121 -122
- package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-DJv7cY7T.js} +121 -122
- package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-Z7IuAXPP.cjs} +1 -1
- package/components/PlayerAccountController-BfaTH0AY.cjs +1 -0
- package/components/{PlayerAccountController-Nco62fa4.js → PlayerAccountController-BqEnzpc6.js} +2707 -2169
- package/components/{PlayerAccountController-B99YscRG.js → PlayerAccountController-Djsrrn-h.js} +2713 -2175
- package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-Bd5ti2Yy.js} +296 -245
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-cnXxBvfZ.js} +296 -245
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js} +123 -127
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js} +123 -127
- package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js} +1086 -1090
- package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js} +1086 -1090
- package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-VyLPwXZu.js} +219 -227
- package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js} +212 -220
- package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js} +644 -593
- package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-C7pCh3__.js} +644 -593
- package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js} +1058 -1034
- package/components/PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js} +1157 -1133
- package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BzEwvjUN.js} +113 -117
- package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-D3UUO_Eq.js} +113 -117
- package/components/PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js +1017 -0
- package/components/PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js +1011 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-CXql07aQ.js} +145 -146
- package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-D8JPZNbs.js} +145 -146
- package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
- package/components/PlayerAccountMenu-5EvNrc-W.cjs +1 -0
- package/components/PlayerAccountMenu-BHWtSf34.js +684 -0
- package/components/PlayerAccountMenu-CKSsdVD4.js +683 -0
- package/components/PlayerAccountModal-CAL-lChv.js +209 -0
- package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
- package/components/PlayerAccountModal-c01xdqmW.js +209 -0
- package/components/PlayerAccountNotifications-B-haSjPr.cjs +1 -0
- package/components/PlayerAccountNotifications-Bvoot0Jw.js +368 -0
- package/components/PlayerAccountNotifications-CitVsKYm.js +369 -0
- package/components/{PlayerAccountSelfExclusion-Dlkeebgy.cjs → PlayerAccountSelfExclusion-CW1t2BNm.cjs} +92 -92
- package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-Cz0rML3Z.js} +1756 -1618
- package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-DzxXZ0NG.js} +1743 -1605
- package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-9wxsYv0_.js} +496 -365
- package/components/PlayerAccountTimeout-CAWJeQ3d.cjs +1 -0
- package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-gWHY_22Q.js} +496 -365
- package/components/PlayerActiveBonuses-D0jBzeb4.js +1055 -0
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
- package/components/PlayerActiveBonuses-qHNn2eq8.js +1056 -0
- package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
- package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-CGoRkCFh.js} +149 -151
- package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-CaQEQ2Fx.js} +149 -151
- package/components/PlayerBonusHistory-C6p_5FRc.cjs +1 -0
- package/components/PlayerBonusHistory-DBCc2ItI.js +937 -0
- package/components/PlayerBonusHistory-DfQd--j_.js +938 -0
- package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-6dHXMBQg.js} +388 -392
- package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
- package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-COdBpupf.js} +388 -392
- package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
- package/components/PlayerDeposit-CTXnx-k2.js +391 -0
- package/components/PlayerDeposit-DwxXelMX.js +391 -0
- package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-4f_MiXvH.js} +337 -341
- package/components/PlayerGamingHistory-DAfDiFej.cjs +1 -0
- package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-dDHtahYn.js} +363 -367
- package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BFrv_-ow.js} +113 -114
- package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-CHHH7JPW.js} +113 -114
- package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
- package/components/PlayerProfileInfo-DDHAv267.cjs +1 -0
- package/components/PlayerProfileInfo-DlA-e6OI.js +1821 -0
- package/components/PlayerProfileInfo-Yky_xo7E.js +1804 -0
- package/components/PlayerRealityCheck-BLlc8RGo.cjs +1 -0
- package/components/PlayerRealityCheck-Bn_ov_Ie.js +652 -0
- package/components/PlayerRealityCheck-JOxPFKqm.js +668 -0
- package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
- package/components/PlayerTransactionHistory-CxRrWzgQ.js +314 -0
- package/components/PlayerTransactionHistory-CzOvo_E3.js +314 -0
- package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
- package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-BlhHRFmC.js} +136 -140
- package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-CnoGAUmo.js} +136 -140
- 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/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-C0vi_PY4.js → app-globals-0f993ce5-DzSE6TtH.js} +4 -2
- package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-B_RfUM6E.js} +86 -83
- package/stencil/{checkbox-group-input_9-B0JD93gn.cjs → checkbox-group-input_9-C2IUNSpC.cjs} +26 -26
- package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-C98yT4vw.js} +90 -87
- package/stencil/{general-input-BXIgsD0E.js → general-input-CqTf7ErJ.js} +1 -1
- package/stencil/{general-input-CwyM4h8z.js → general-input-DTHw5Z1Q.js} +1 -1
- package/stencil/{general-input-BL1L8PI-.cjs → general-input-wM2i7b57.cjs} +1 -1
- package/stencil/{index-0a27499c-BaAMIKJI.js → index-12dd2b03-B2coll71.js} +143 -142
- package/stencil/index-12dd2b03-Dd1hsUZX.cjs +1 -0
- package/stencil/{index-0a27499c-DaAhyku1.js → index-12dd2b03-YP3skHrn.js} +133 -132
- package/stencil/{index-92b64862-CK1ANWGa.cjs → index-92b64862-BRYoLHww.cjs} +1 -1
- package/stencil/{index-92b64862-Bnmv00O2.js → index-92b64862-C_69cKxK.js} +4 -4
- package/stencil/{index-92b64862-CO3_TP5h.js → index-92b64862-w9a1l35N.js} +4 -4
- package/stencil/{index-1d58b17d-CY3tvLdR.js → index-b1bdf3f6-0mlbFiN3.js} +121 -120
- package/stencil/{index-1d58b17d-BREebYgt.js → index-b1bdf3f6-DBuAhDH-.js} +128 -127
- package/stencil/index-b1bdf3f6-DdF5azN0.cjs +1 -0
- package/stencil/{index-45f4006f-D9GyS-vs.js → index-c7e52808-7ohcD8fQ.js} +44 -44
- package/stencil/index-c7e52808-DYutdKGj.cjs +1 -0
- package/stencil/{index-45f4006f-DKAxZFDZ.js → index-c7e52808-WCb5gCA6.js} +46 -46
- package/stencil/index-db5752f9-B4MZ13Fz.js +610 -0
- package/stencil/index-db5752f9-C_VcDZns.js +594 -0
- package/stencil/index-db5752f9-DSHLGBj_.cjs +1 -0
- package/stencil/{password-input_2-D3ziy4Iu.cjs → password-input_2-B2qvf6ku.cjs} +1 -1
- package/stencil/{password-input_2-ZN0C3aqj.js → password-input_2-CdHS5fmR.js} +3 -3
- package/stencil/{password-input_2-B5ePukhS.js → password-input_2-DdQvCp3o.js} +3 -3
- package/stencil/player-change-password-gm2-1hTMqepH.js +7 -0
- package/stencil/player-change-password-gm2-2YEpyazj.js +25 -0
- package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +84 -65
- package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +84 -65
- package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
- package/stencil/player-change-password-gm2-CDxgB3eD.cjs +1 -0
- package/stencil/player-kyc-verification-5V24oWMX.cjs +180 -0
- package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-BPrVDLfj.js} +79 -59
- package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CRwnm961.js} +84 -64
- package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-B4OOk9wz.js} +1 -1
- package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-Cwo_Ny77.js} +1 -1
- package/stencil/{toggle-checkbox-input-n5b3s-CU.cjs → toggle-checkbox-input-tQDhlcag.cjs} +1 -1
- package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-CXoVwMz-.js +122 -0
- package/stencil/ui-skeleton-982450d2-DgSl7oS5.js +122 -0
- package/stencil/ui-skeleton-BjdFVTvB.cjs +1 -0
- package/stencil/ui-skeleton-BkychLQM.js +29 -0
- package/stencil/ui-skeleton-Bw-C78oa.js +11 -0
- package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-51pO8ttC.js} +181 -164
- package/stencil/user-deposit-withdrawal-Bn1WPRou.cjs +59 -0
- package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-C0SOQks0.js} +257 -240
- package/stencil/user-transaction-history-8EskARbv.cjs +1 -0
- package/stencil/user-transaction-history-BsTUJ4on.js +350 -0
- package/stencil/user-transaction-history-LRgu-JMX.js +374 -0
- package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +1 -1
- package/stencil/{vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs → vaadin-button-mixin-ef61174c-DuDVejN4.cjs} +1 -1
- package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +1 -1
- package/components/PlayerAccountBettingHistory-C6G8D9gE.js +0 -333
- package/components/PlayerAccountBettingHistory-Cb8OMNy9.cjs +0 -1
- package/components/PlayerAccountController-C2q8ibgU.cjs +0 -1
- package/components/PlayerAccountGamingLimits-DbX9_Kpb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js +0 -866
- package/components/PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js +0 -860
- package/components/PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs +0 -1
- package/components/PlayerAccountMenu-Bnj75Pyr.js +0 -578
- package/components/PlayerAccountMenu-VCDFEkVV.js +0 -579
- package/components/PlayerAccountMenu-kULPvwXH.cjs +0 -1
- package/components/PlayerAccountModal-BGNjm-FU.js +0 -213
- package/components/PlayerAccountModal-DLxnK5Aq.cjs +0 -1
- package/components/PlayerAccountModal-d2eY7pgp.js +0 -213
- package/components/PlayerAccountNotifications-BkPn9o0x.js +0 -261
- package/components/PlayerAccountNotifications-DLpnh54-.cjs +0 -1
- package/components/PlayerAccountNotifications-DwHaboef.js +0 -261
- package/components/PlayerAccountTimeout-DX8TE-kL.cjs +0 -1
- package/components/PlayerActiveBonuses-DZ1TuekM.js +0 -1088
- package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
- package/components/PlayerActiveBonuses-WBu-rYFj.js +0 -1089
- package/components/PlayerBonusHistory-C7m0o7Yl.js +0 -919
- package/components/PlayerBonusHistory-D-qDx10G.cjs +0 -1
- package/components/PlayerBonusHistory-DDNLaEBO.js +0 -920
- package/components/PlayerDeposit-B04mpHHT.js +0 -395
- package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
- package/components/PlayerDeposit-DJXOEJyq.js +0 -395
- package/components/PlayerGamingHistory-CcFH-mIk.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BvhoX5n1.cjs +0 -1
- package/components/PlayerProfileInfo-AEY5xCAX.js +0 -1740
- package/components/PlayerProfileInfo-D7thO7JS.js +0 -1757
- package/components/PlayerProfileInfo-DQflJzdX.cjs +0 -1
- package/components/PlayerRealityCheck-6ZyJUl5U.js +0 -598
- package/components/PlayerRealityCheck-CzPyJQgR.js +0 -582
- package/components/PlayerRealityCheck-DMI_8YfG.cjs +0 -1
- package/components/PlayerTransactionHistory-CSK3J3Na.js +0 -315
- package/components/PlayerTransactionHistory-Dj8ABxFp.cjs +0 -1
- package/components/PlayerTransactionHistory-DmTfwUdw.js +0 -315
- package/components/PlayerWithdrawal-BwymNFiL.cjs +0 -1
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
- package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
- package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
- package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
- package/stencil/player-change-password-gm2-2de114b8-j-W8UbVm.cjs +0 -1
- package/stencil/player-change-password-gm2-BDCYchnQ.js +0 -25
- package/stencil/player-change-password-gm2-CQtvRl58.js +0 -7
- package/stencil/player-change-password-gm2-DLw7pfT_.cjs +0 -1
- package/stencil/player-kyc-verification-CnOn9bB_.cjs +0 -180
- package/stencil/user-deposit-withdrawal-BZXlCCQr.cjs +0 -59
- package/stencil/user-transaction-history-CLdEzp7O.cjs +0 -1
- package/stencil/user-transaction-history-CtDvqHoF.js +0 -329
- package/stencil/user-transaction-history-DW482EoT.js +0 -355
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
import { a as me, $ as ye, S as ge, i as pe, s as de, f as C, b as fe, n as S, d as F, g as L, j as h, p as he, q as G, u as Ae, w as Pe, N as H, O as $, h as a, k as I, e as g, o as y, c as z, m as W, r as be, l as O, v as B, a0 as Q, x as Me, y as we, z as ve, A as _e, B as xe } from "./GeneralLogout-DKa2JUny.js";
|
|
2
|
+
import "../stencil/ui-skeleton-BkychLQM.js";
|
|
3
|
+
function V(n, e) {
|
|
4
|
+
me(n, e);
|
|
5
|
+
}
|
|
6
|
+
function ke(n) {
|
|
7
|
+
ye.set(n);
|
|
8
|
+
}
|
|
9
|
+
const X = {
|
|
10
|
+
en: {
|
|
11
|
+
title: "My Account"
|
|
12
|
+
},
|
|
13
|
+
"zh-hk": {
|
|
14
|
+
title: "我的帳戶"
|
|
15
|
+
},
|
|
16
|
+
fr: {
|
|
17
|
+
title: "Mon compte"
|
|
18
|
+
},
|
|
19
|
+
tr: {
|
|
20
|
+
title: "Hesabım"
|
|
21
|
+
},
|
|
22
|
+
ro: {
|
|
23
|
+
title: "Contul meu"
|
|
24
|
+
},
|
|
25
|
+
es: {
|
|
26
|
+
title: "Mi Cuenta"
|
|
27
|
+
},
|
|
28
|
+
pt: {
|
|
29
|
+
title: "Minha Conta"
|
|
30
|
+
},
|
|
31
|
+
hr: {
|
|
32
|
+
title: "Moj račun"
|
|
33
|
+
},
|
|
34
|
+
"pt-br": {
|
|
35
|
+
title: "Minha conta"
|
|
36
|
+
},
|
|
37
|
+
"es-mx": {
|
|
38
|
+
title: "Mi cuenta"
|
|
39
|
+
},
|
|
40
|
+
"en-us": {
|
|
41
|
+
title: "My Account"
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
if (typeof window != "undefined") {
|
|
45
|
+
let n = function(e) {
|
|
46
|
+
return function(...t) {
|
|
47
|
+
try {
|
|
48
|
+
return e.apply(this, t);
|
|
49
|
+
} catch (l) {
|
|
50
|
+
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
51
|
+
return !1;
|
|
52
|
+
throw l;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-DKa2JUny.js").then((e) => e.a6).then(({ default: e }) => {
|
|
57
|
+
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function Ie(n) {
|
|
61
|
+
fe(n, "svelte-io9slc", ".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, #D0046C));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, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
|
|
62
|
+
}
|
|
63
|
+
function Z(n, e, t) {
|
|
64
|
+
const l = n.slice();
|
|
65
|
+
return l[40] = e[t], l;
|
|
66
|
+
}
|
|
67
|
+
function J(n, e, t) {
|
|
68
|
+
const l = n.slice();
|
|
69
|
+
return l[37] = e[t], l;
|
|
70
|
+
}
|
|
71
|
+
function Ce(n) {
|
|
72
|
+
let e, t, l, i, s, m, A, P, v, b, f, M, u = (
|
|
73
|
+
/*isMobile*/
|
|
74
|
+
n[11] && Le(n)
|
|
75
|
+
), c = (
|
|
76
|
+
/*isMobile*/
|
|
77
|
+
n[11] && Te(n)
|
|
78
|
+
), p = H(
|
|
79
|
+
/*menuItems*/
|
|
80
|
+
n[6]
|
|
81
|
+
), r = [];
|
|
82
|
+
for (let d = 0; d < p.length; d += 1)
|
|
83
|
+
r[d] = K(Z(n, p, d));
|
|
84
|
+
let k = !/*isMobile*/
|
|
85
|
+
n[11] && Ee(n);
|
|
86
|
+
return {
|
|
87
|
+
c() {
|
|
88
|
+
e = h("div"), t = h("div"), u && u.c(), l = I(), i = h("p"), s = W(
|
|
89
|
+
/*profileUsername*/
|
|
90
|
+
n[8]
|
|
91
|
+
), m = I(), A = h("p"), P = W(
|
|
92
|
+
/*profileEmail*/
|
|
93
|
+
n[9]
|
|
94
|
+
), v = I(), c && c.c(), b = I(), f = h("div");
|
|
95
|
+
for (let d = 0; d < r.length; d += 1)
|
|
96
|
+
r[d].c();
|
|
97
|
+
M = I(), k && k.c(), y(i, "class", "PlayerAccountMenuUser"), y(A, "class", "PlayerAccountMenuEmail"), y(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
98
|
+
(n[11] ? "PlayerAccountMenuHeaderMobile" : "")), y(f, "class", "PlayerAccountMenuList"), y(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
99
|
+
(n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
100
|
+
(n[12].matches && /*isMobile*/
|
|
101
|
+
n[11] ? "PlayerAccountTabletContainer" : ""));
|
|
102
|
+
},
|
|
103
|
+
m(d, _) {
|
|
104
|
+
L(d, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, m), a(t, A), a(A, P), a(t, v), c && c.m(t, null), a(e, b), a(e, f);
|
|
105
|
+
for (let w = 0; w < r.length; w += 1)
|
|
106
|
+
r[w] && r[w].m(f, null);
|
|
107
|
+
a(e, M), k && k.m(e, null);
|
|
108
|
+
},
|
|
109
|
+
p(d, _) {
|
|
110
|
+
if (
|
|
111
|
+
/*isMobile*/
|
|
112
|
+
d[11] && u.p(d, _), _[0] & /*profileUsername*/
|
|
113
|
+
256 && z(
|
|
114
|
+
s,
|
|
115
|
+
/*profileUsername*/
|
|
116
|
+
d[8]
|
|
117
|
+
), _[0] & /*profileEmail*/
|
|
118
|
+
512 && z(
|
|
119
|
+
P,
|
|
120
|
+
/*profileEmail*/
|
|
121
|
+
d[9]
|
|
122
|
+
), /*isMobile*/
|
|
123
|
+
d[11] && c.p(d, _), _[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
124
|
+
10432
|
|
125
|
+
) {
|
|
126
|
+
p = H(
|
|
127
|
+
/*menuItems*/
|
|
128
|
+
d[6]
|
|
129
|
+
);
|
|
130
|
+
let w;
|
|
131
|
+
for (w = 0; w < p.length; w += 1) {
|
|
132
|
+
const E = Z(d, p, w);
|
|
133
|
+
r[w] ? r[w].p(E, _) : (r[w] = K(E), r[w].c(), r[w].m(f, null));
|
|
134
|
+
}
|
|
135
|
+
for (; w < r.length; w += 1)
|
|
136
|
+
r[w].d(1);
|
|
137
|
+
r.length = p.length;
|
|
138
|
+
}
|
|
139
|
+
/*isMobile*/
|
|
140
|
+
d[11] || k.p(d, _);
|
|
141
|
+
},
|
|
142
|
+
d(d) {
|
|
143
|
+
d && F(e), u && u.d(), c && c.d(), $(r, d), k && k.d();
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function Fe(n) {
|
|
148
|
+
let e, t, l, i, s, m, A, P, v, b, f = (
|
|
149
|
+
/*isMobile*/
|
|
150
|
+
n[11] && Be()
|
|
151
|
+
), M = H(Array(18)), u = [];
|
|
152
|
+
for (let c = 0; c < M.length; c += 1)
|
|
153
|
+
u[c] = Y(J(n, M, c));
|
|
154
|
+
return {
|
|
155
|
+
c() {
|
|
156
|
+
e = h("div"), t = h("div"), f && f.c(), l = I(), i = h("ui-skeleton"), s = I(), m = h("ui-skeleton"), A = I(), P = h("div");
|
|
157
|
+
for (let c = 0; c < u.length; c += 1)
|
|
158
|
+
u[c].c();
|
|
159
|
+
v = I(), b = h("div"), b.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', g(i, "structure", "title"), g(i, "width", "100px"), g(i, "height", "20px"), g(i, "margin-top", "10px"), g(m, "structure", "text"), g(m, "width", "200px"), g(m, "height", "20px"), y(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
160
|
+
(n[11] ? "PlayerAccountMenuHeaderMobile" : "")), y(P, "class", "PlayerAccountMenuList"), y(b, "class", "skeletonLogOut"), y(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
161
|
+
(n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
162
|
+
(n[12].matches && /*isMobile*/
|
|
163
|
+
n[11] ? "PlayerAccountTabletContainer" : ""));
|
|
164
|
+
},
|
|
165
|
+
m(c, p) {
|
|
166
|
+
L(c, e, p), a(e, t), f && f.m(t, null), a(t, l), a(t, i), a(t, s), a(t, m), a(e, A), a(e, P);
|
|
167
|
+
for (let r = 0; r < u.length; r += 1)
|
|
168
|
+
u[r] && u[r].m(P, null);
|
|
169
|
+
a(e, v), a(e, b);
|
|
170
|
+
},
|
|
171
|
+
p(c, p) {
|
|
172
|
+
if (p[0] & /*isMobile*/
|
|
173
|
+
2048) {
|
|
174
|
+
M = H(Array(18));
|
|
175
|
+
let r;
|
|
176
|
+
for (r = 0; r < M.length; r += 1) {
|
|
177
|
+
const k = J(c, M, r);
|
|
178
|
+
u[r] ? u[r].p(k, p) : (u[r] = Y(k), u[r].c(), u[r].m(P, null));
|
|
179
|
+
}
|
|
180
|
+
for (; r < u.length; r += 1)
|
|
181
|
+
u[r].d(1);
|
|
182
|
+
u.length = M.length;
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
d(c) {
|
|
186
|
+
c && F(e), f && f.d(), $(u, c);
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function Le(n) {
|
|
191
|
+
let e, t, l, i, s, m, A, P, v, b, f = (
|
|
192
|
+
/*$_*/
|
|
193
|
+
n[10]("title") + ""
|
|
194
|
+
), M, u, c;
|
|
195
|
+
return {
|
|
196
|
+
c() {
|
|
197
|
+
e = h("div"), t = B("svg"), l = B("defs"), i = B("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = B("g"), A = B("g"), P = B("path"), v = I(), b = h("h3"), M = W(f), y(P, "class", "aaa"), y(P, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), y(P, "transform", "translate(15 15) rotate(180)"), y(A, "transform", "translate(20 158)"), y(m, "transform", "translate(-20 -158)"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "15"), y(t, "height", "15"), y(t, "viewBox", "0 0 15 15"), y(b, "class", "PlayerAccountMenuCategoryTitle"), y(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
198
|
+
},
|
|
199
|
+
m(p, r) {
|
|
200
|
+
L(p, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, m), a(m, A), a(A, P), a(e, v), a(e, b), a(b, M), u || (c = [
|
|
201
|
+
O(
|
|
202
|
+
t,
|
|
203
|
+
"click",
|
|
204
|
+
/*goToHome*/
|
|
205
|
+
n[14]
|
|
206
|
+
),
|
|
207
|
+
O(
|
|
208
|
+
b,
|
|
209
|
+
"click",
|
|
210
|
+
/*goToHome*/
|
|
211
|
+
n[14]
|
|
212
|
+
)
|
|
213
|
+
], u = !0);
|
|
214
|
+
},
|
|
215
|
+
p(p, r) {
|
|
216
|
+
r[0] & /*$_*/
|
|
217
|
+
1024 && f !== (f = /*$_*/
|
|
218
|
+
p[10]("title") + "") && z(M, f);
|
|
219
|
+
},
|
|
220
|
+
d(p) {
|
|
221
|
+
p && F(e), u = !1, be(c);
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
function Te(n) {
|
|
226
|
+
let e, t;
|
|
227
|
+
return {
|
|
228
|
+
c() {
|
|
229
|
+
e = h("div"), t = h("general-logout"), g(
|
|
230
|
+
t,
|
|
231
|
+
"endpoint",
|
|
232
|
+
/*endpoint*/
|
|
233
|
+
n[1]
|
|
234
|
+
), g(
|
|
235
|
+
t,
|
|
236
|
+
"session",
|
|
237
|
+
/*session*/
|
|
238
|
+
n[0]
|
|
239
|
+
), g(t, "buttonlocation", "PlayerAccountMenu"), g(
|
|
240
|
+
t,
|
|
241
|
+
"clientstyling",
|
|
242
|
+
/*clientstyling*/
|
|
243
|
+
n[2]
|
|
244
|
+
), g(
|
|
245
|
+
t,
|
|
246
|
+
"clientstylingurl",
|
|
247
|
+
/*clientstylingurl*/
|
|
248
|
+
n[3]
|
|
249
|
+
), y(e, "class", "PlayerAccountLogOutArea");
|
|
250
|
+
},
|
|
251
|
+
m(l, i) {
|
|
252
|
+
L(l, e, i), a(e, t);
|
|
253
|
+
},
|
|
254
|
+
p(l, i) {
|
|
255
|
+
i[0] & /*endpoint*/
|
|
256
|
+
2 && g(
|
|
257
|
+
t,
|
|
258
|
+
"endpoint",
|
|
259
|
+
/*endpoint*/
|
|
260
|
+
l[1]
|
|
261
|
+
), i[0] & /*session*/
|
|
262
|
+
1 && g(
|
|
263
|
+
t,
|
|
264
|
+
"session",
|
|
265
|
+
/*session*/
|
|
266
|
+
l[0]
|
|
267
|
+
), i[0] & /*clientstyling*/
|
|
268
|
+
4 && g(
|
|
269
|
+
t,
|
|
270
|
+
"clientstyling",
|
|
271
|
+
/*clientstyling*/
|
|
272
|
+
l[2]
|
|
273
|
+
), i[0] & /*clientstylingurl*/
|
|
274
|
+
8 && g(
|
|
275
|
+
t,
|
|
276
|
+
"clientstylingurl",
|
|
277
|
+
/*clientstylingurl*/
|
|
278
|
+
l[3]
|
|
279
|
+
);
|
|
280
|
+
},
|
|
281
|
+
d(l) {
|
|
282
|
+
l && F(e);
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
function K(n) {
|
|
287
|
+
let e, t, l, i, s, m, A = (
|
|
288
|
+
/*menuItem*/
|
|
289
|
+
n[40].label + ""
|
|
290
|
+
), P, v, b, f, M;
|
|
291
|
+
function u() {
|
|
292
|
+
return (
|
|
293
|
+
/*click_handler*/
|
|
294
|
+
n[25](
|
|
295
|
+
/*menuItem*/
|
|
296
|
+
n[40]
|
|
297
|
+
)
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
return {
|
|
301
|
+
c() {
|
|
302
|
+
e = h("div"), t = h("p"), l = h("img"), s = I(), m = h("span"), P = W(A), v = I(), y(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
303
|
+
(n[11] ? "PlayerAccountMenuItemIconMobile" : "")), Q(l.src, i = /*menuItem*/
|
|
304
|
+
n[40].img) || y(l, "src", i), y(m, "class", "PlayerAccountMenuItemTitle"), y(t, "class", "PlayerAccountMenuItemWrapper"), y(e, "class", b = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
305
|
+
(n[7] === /*menuItem*/
|
|
306
|
+
n[40].id && !/*isMobile*/
|
|
307
|
+
n[11] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
308
|
+
},
|
|
309
|
+
m(c, p) {
|
|
310
|
+
L(c, e, p), a(e, t), a(t, l), a(t, s), a(t, m), a(m, P), a(e, v), f || (M = O(e, "click", u), f = !0);
|
|
311
|
+
},
|
|
312
|
+
p(c, p) {
|
|
313
|
+
n = c, p[0] & /*menuItems*/
|
|
314
|
+
64 && !Q(l.src, i = /*menuItem*/
|
|
315
|
+
n[40].img) && y(l, "src", i), p[0] & /*menuItems*/
|
|
316
|
+
64 && A !== (A = /*menuItem*/
|
|
317
|
+
n[40].label + "") && z(P, A), p[0] & /*selectedItem, menuItems*/
|
|
318
|
+
192 && b !== (b = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
319
|
+
(n[7] === /*menuItem*/
|
|
320
|
+
n[40].id && !/*isMobile*/
|
|
321
|
+
n[11] ? "PlayerAccountMenuActiveItemBox" : "")) && y(e, "class", b);
|
|
322
|
+
},
|
|
323
|
+
d(c) {
|
|
324
|
+
c && F(e), f = !1, M();
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
function Ee(n) {
|
|
329
|
+
let e, t;
|
|
330
|
+
return {
|
|
331
|
+
c() {
|
|
332
|
+
e = h("div"), t = h("general-logout"), g(
|
|
333
|
+
t,
|
|
334
|
+
"endpoint",
|
|
335
|
+
/*endpoint*/
|
|
336
|
+
n[1]
|
|
337
|
+
), g(
|
|
338
|
+
t,
|
|
339
|
+
"session",
|
|
340
|
+
/*session*/
|
|
341
|
+
n[0]
|
|
342
|
+
), g(t, "buttonlocation", "PlayerAccountMenu"), g(
|
|
343
|
+
t,
|
|
344
|
+
"clientstyling",
|
|
345
|
+
/*clientstyling*/
|
|
346
|
+
n[2]
|
|
347
|
+
), g(
|
|
348
|
+
t,
|
|
349
|
+
"clientstylingurl",
|
|
350
|
+
/*clientstylingurl*/
|
|
351
|
+
n[3]
|
|
352
|
+
), y(e, "class", "PlayerAccountLogOutArea");
|
|
353
|
+
},
|
|
354
|
+
m(l, i) {
|
|
355
|
+
L(l, e, i), a(e, t);
|
|
356
|
+
},
|
|
357
|
+
p(l, i) {
|
|
358
|
+
i[0] & /*endpoint*/
|
|
359
|
+
2 && g(
|
|
360
|
+
t,
|
|
361
|
+
"endpoint",
|
|
362
|
+
/*endpoint*/
|
|
363
|
+
l[1]
|
|
364
|
+
), i[0] & /*session*/
|
|
365
|
+
1 && g(
|
|
366
|
+
t,
|
|
367
|
+
"session",
|
|
368
|
+
/*session*/
|
|
369
|
+
l[0]
|
|
370
|
+
), i[0] & /*clientstyling*/
|
|
371
|
+
4 && g(
|
|
372
|
+
t,
|
|
373
|
+
"clientstyling",
|
|
374
|
+
/*clientstyling*/
|
|
375
|
+
l[2]
|
|
376
|
+
), i[0] & /*clientstylingurl*/
|
|
377
|
+
8 && g(
|
|
378
|
+
t,
|
|
379
|
+
"clientstylingurl",
|
|
380
|
+
/*clientstylingurl*/
|
|
381
|
+
l[3]
|
|
382
|
+
);
|
|
383
|
+
},
|
|
384
|
+
d(l) {
|
|
385
|
+
l && F(e);
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
function Be(n) {
|
|
390
|
+
let e;
|
|
391
|
+
return {
|
|
392
|
+
c() {
|
|
393
|
+
e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', y(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
394
|
+
},
|
|
395
|
+
m(t, l) {
|
|
396
|
+
L(t, e, l);
|
|
397
|
+
},
|
|
398
|
+
d(t) {
|
|
399
|
+
t && F(e);
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
function We(n) {
|
|
404
|
+
let e;
|
|
405
|
+
return {
|
|
406
|
+
c() {
|
|
407
|
+
e = h("ui-skeleton"), g(e, "structure", "circle"), g(e, "size", "20px");
|
|
408
|
+
},
|
|
409
|
+
m(t, l) {
|
|
410
|
+
L(t, e, l);
|
|
411
|
+
},
|
|
412
|
+
d(t) {
|
|
413
|
+
t && F(e);
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
}
|
|
417
|
+
function Y(n) {
|
|
418
|
+
let e, t, l, i, s = !/*isMobile*/
|
|
419
|
+
n[11] && We();
|
|
420
|
+
return {
|
|
421
|
+
c() {
|
|
422
|
+
e = h("div"), s && s.c(), t = I(), l = h("ui-skeleton"), i = I(), g(l, "structure", "rectangle"), g(l, "width", "100%"), g(
|
|
423
|
+
l,
|
|
424
|
+
"height",
|
|
425
|
+
/*isMobile*/
|
|
426
|
+
n[11] ? "120px" : "20px"
|
|
427
|
+
), y(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
|
|
428
|
+
(n[11] ? "PlayerAccountItemWrapMobile" : ""));
|
|
429
|
+
},
|
|
430
|
+
m(m, A) {
|
|
431
|
+
L(m, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
432
|
+
},
|
|
433
|
+
p: S,
|
|
434
|
+
d(m) {
|
|
435
|
+
m && F(e), s && s.d();
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
function He(n) {
|
|
440
|
+
let e;
|
|
441
|
+
function t(s, m) {
|
|
442
|
+
return (
|
|
443
|
+
/*skeletonLoading*/
|
|
444
|
+
s[5] ? Fe : Ce
|
|
445
|
+
);
|
|
446
|
+
}
|
|
447
|
+
let l = t(n), i = l(n);
|
|
448
|
+
return {
|
|
449
|
+
c() {
|
|
450
|
+
e = h("div"), i.c();
|
|
451
|
+
},
|
|
452
|
+
m(s, m) {
|
|
453
|
+
L(s, e, m), i.m(e, null), n[26](e);
|
|
454
|
+
},
|
|
455
|
+
p(s, m) {
|
|
456
|
+
l === (l = t(s)) && i ? i.p(s, m) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
|
|
457
|
+
},
|
|
458
|
+
i: S,
|
|
459
|
+
o: S,
|
|
460
|
+
d(s) {
|
|
461
|
+
s && F(e), i.d(), n[26](null);
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
function ze(n, e, t) {
|
|
466
|
+
let l;
|
|
467
|
+
he(n, xe, (o) => t(10, l = o));
|
|
468
|
+
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: m = "" } = e, { session: A = "" } = e, { playerid: P = "" } = e, { lang: v = "en" } = e, { userroles: b = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: p } = e, r = !1, k = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
|
|
469
|
+
const te = window.matchMedia("(min-width: 768px)"), ne = () => {
|
|
470
|
+
fetch(u).then((x) => x.json()).then((x) => {
|
|
471
|
+
Object.keys(x).forEach((T) => {
|
|
472
|
+
V(T, x[T]);
|
|
473
|
+
});
|
|
474
|
+
}).catch((x) => {
|
|
475
|
+
console.error(x);
|
|
476
|
+
});
|
|
477
|
+
};
|
|
478
|
+
Object.keys(X).forEach((o) => {
|
|
479
|
+
V(o, X[o]);
|
|
480
|
+
});
|
|
481
|
+
const R = (o) => {
|
|
482
|
+
if (o.data)
|
|
483
|
+
switch (o.data.type) {
|
|
484
|
+
case "UserSessionID":
|
|
485
|
+
t(0, A = o.data.session);
|
|
486
|
+
break;
|
|
487
|
+
}
|
|
488
|
+
}, le = () => {
|
|
489
|
+
let o = G(j);
|
|
490
|
+
if (o)
|
|
491
|
+
return o === "PC" ? "dk" : "mtWeb";
|
|
492
|
+
}, oe = () => {
|
|
493
|
+
const o = new URL(`${s}/${v}/profile-menu?env=${m}`);
|
|
494
|
+
o.searchParams.append("device", le()), fetch(o.href).then((x) => x.json()).then((x) => {
|
|
495
|
+
t(6, w = x), q();
|
|
496
|
+
}).catch((x) => {
|
|
497
|
+
console.error("Error getting menu items", x);
|
|
498
|
+
}).finally(() => {
|
|
499
|
+
t(23, r = !0);
|
|
500
|
+
});
|
|
501
|
+
}, ie = () => {
|
|
502
|
+
let o = new URL(`${i}/v1/player/${P}/profile`);
|
|
503
|
+
o.searchParams.append("userRoles", b);
|
|
504
|
+
let x = {
|
|
505
|
+
method: "GET",
|
|
506
|
+
headers: { "X-SessionID": A }
|
|
507
|
+
};
|
|
508
|
+
fetch(o.href, x).then((T) => T.json()).then(
|
|
509
|
+
(T) => {
|
|
510
|
+
t(8, D = T.username), t(9, U = T.email);
|
|
511
|
+
},
|
|
512
|
+
(T) => {
|
|
513
|
+
console.error(T);
|
|
514
|
+
}
|
|
515
|
+
).finally(() => {
|
|
516
|
+
t(24, k = !0);
|
|
517
|
+
});
|
|
518
|
+
}, N = (o) => {
|
|
519
|
+
window.postMessage({ type: "ChangeAccountPage", page: o }, window.location.href), t(7, E = o.id);
|
|
520
|
+
}, q = () => {
|
|
521
|
+
var o;
|
|
522
|
+
t(7, E = (o = w.find((x) => x.path.includes(c))) == null ? void 0 : o.id);
|
|
523
|
+
}, re = () => {
|
|
524
|
+
ke(v);
|
|
525
|
+
}, ae = () => {
|
|
526
|
+
ie();
|
|
527
|
+
}, ce = () => {
|
|
528
|
+
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
529
|
+
};
|
|
530
|
+
Ae(() => (window.addEventListener("message", R, !1), () => {
|
|
531
|
+
window.removeEventListener("message", R);
|
|
532
|
+
}));
|
|
533
|
+
const se = (o) => N(o);
|
|
534
|
+
function ue(o) {
|
|
535
|
+
Pe[o ? "unshift" : "push"](() => {
|
|
536
|
+
_ = o, t(4, _);
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
return n.$$set = (o) => {
|
|
540
|
+
"endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(15, s = o.cmsendpoint), "env" in o && t(16, m = o.env), "session" in o && t(0, A = o.session), "playerid" in o && t(17, P = o.playerid), "lang" in o && t(18, v = o.lang), "userroles" in o && t(19, b = o.userroles), "clientstyling" in o && t(2, f = o.clientstyling), "clientstylingurl" in o && t(3, M = o.clientstylingurl), "translationurl" in o && t(20, u = o.translationurl), "activemenuitem" in o && t(21, c = o.activemenuitem), "mbsource" in o && t(22, p = o.mbsource);
|
|
541
|
+
}, n.$$.update = () => {
|
|
542
|
+
n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
|
|
543
|
+
25165824 && t(5, d = !r || !k), n.$$.dirty[0] & /*lang*/
|
|
544
|
+
262144 && v && re(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
545
|
+
393219 && i && A && P && v && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
546
|
+
360448 && s && v && m && oe(), n.$$.dirty[0] & /*activemenuitem*/
|
|
547
|
+
2097152 && c && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
548
|
+
20 && f && _ && Me(_, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
549
|
+
24 && M && _ && we(_, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
550
|
+
4194320 && p && _ && ve(_, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
551
|
+
1048576 && u && ne();
|
|
552
|
+
}, [
|
|
553
|
+
A,
|
|
554
|
+
i,
|
|
555
|
+
f,
|
|
556
|
+
M,
|
|
557
|
+
_,
|
|
558
|
+
d,
|
|
559
|
+
w,
|
|
560
|
+
E,
|
|
561
|
+
D,
|
|
562
|
+
U,
|
|
563
|
+
l,
|
|
564
|
+
ee,
|
|
565
|
+
te,
|
|
566
|
+
N,
|
|
567
|
+
ce,
|
|
568
|
+
s,
|
|
569
|
+
m,
|
|
570
|
+
P,
|
|
571
|
+
v,
|
|
572
|
+
b,
|
|
573
|
+
u,
|
|
574
|
+
c,
|
|
575
|
+
p,
|
|
576
|
+
r,
|
|
577
|
+
k,
|
|
578
|
+
se,
|
|
579
|
+
ue
|
|
580
|
+
];
|
|
581
|
+
}
|
|
582
|
+
class Se extends ge {
|
|
583
|
+
constructor(e) {
|
|
584
|
+
super(), pe(
|
|
585
|
+
this,
|
|
586
|
+
e,
|
|
587
|
+
ze,
|
|
588
|
+
He,
|
|
589
|
+
de,
|
|
590
|
+
{
|
|
591
|
+
endpoint: 1,
|
|
592
|
+
cmsendpoint: 15,
|
|
593
|
+
env: 16,
|
|
594
|
+
session: 0,
|
|
595
|
+
playerid: 17,
|
|
596
|
+
lang: 18,
|
|
597
|
+
userroles: 19,
|
|
598
|
+
clientstyling: 2,
|
|
599
|
+
clientstylingurl: 3,
|
|
600
|
+
translationurl: 20,
|
|
601
|
+
activemenuitem: 21,
|
|
602
|
+
mbsource: 22
|
|
603
|
+
},
|
|
604
|
+
Ie,
|
|
605
|
+
[-1, -1]
|
|
606
|
+
);
|
|
607
|
+
}
|
|
608
|
+
get endpoint() {
|
|
609
|
+
return this.$$.ctx[1];
|
|
610
|
+
}
|
|
611
|
+
set endpoint(e) {
|
|
612
|
+
this.$$set({ endpoint: e }), C();
|
|
613
|
+
}
|
|
614
|
+
get cmsendpoint() {
|
|
615
|
+
return this.$$.ctx[15];
|
|
616
|
+
}
|
|
617
|
+
set cmsendpoint(e) {
|
|
618
|
+
this.$$set({ cmsendpoint: e }), C();
|
|
619
|
+
}
|
|
620
|
+
get env() {
|
|
621
|
+
return this.$$.ctx[16];
|
|
622
|
+
}
|
|
623
|
+
set env(e) {
|
|
624
|
+
this.$$set({ env: e }), C();
|
|
625
|
+
}
|
|
626
|
+
get session() {
|
|
627
|
+
return this.$$.ctx[0];
|
|
628
|
+
}
|
|
629
|
+
set session(e) {
|
|
630
|
+
this.$$set({ session: e }), C();
|
|
631
|
+
}
|
|
632
|
+
get playerid() {
|
|
633
|
+
return this.$$.ctx[17];
|
|
634
|
+
}
|
|
635
|
+
set playerid(e) {
|
|
636
|
+
this.$$set({ playerid: e }), C();
|
|
637
|
+
}
|
|
638
|
+
get lang() {
|
|
639
|
+
return this.$$.ctx[18];
|
|
640
|
+
}
|
|
641
|
+
set lang(e) {
|
|
642
|
+
this.$$set({ lang: e }), C();
|
|
643
|
+
}
|
|
644
|
+
get userroles() {
|
|
645
|
+
return this.$$.ctx[19];
|
|
646
|
+
}
|
|
647
|
+
set userroles(e) {
|
|
648
|
+
this.$$set({ userroles: e }), C();
|
|
649
|
+
}
|
|
650
|
+
get clientstyling() {
|
|
651
|
+
return this.$$.ctx[2];
|
|
652
|
+
}
|
|
653
|
+
set clientstyling(e) {
|
|
654
|
+
this.$$set({ clientstyling: e }), C();
|
|
655
|
+
}
|
|
656
|
+
get clientstylingurl() {
|
|
657
|
+
return this.$$.ctx[3];
|
|
658
|
+
}
|
|
659
|
+
set clientstylingurl(e) {
|
|
660
|
+
this.$$set({ clientstylingurl: e }), C();
|
|
661
|
+
}
|
|
662
|
+
get translationurl() {
|
|
663
|
+
return this.$$.ctx[20];
|
|
664
|
+
}
|
|
665
|
+
set translationurl(e) {
|
|
666
|
+
this.$$set({ translationurl: e }), C();
|
|
667
|
+
}
|
|
668
|
+
get activemenuitem() {
|
|
669
|
+
return this.$$.ctx[21];
|
|
670
|
+
}
|
|
671
|
+
set activemenuitem(e) {
|
|
672
|
+
this.$$set({ activemenuitem: e }), C();
|
|
673
|
+
}
|
|
674
|
+
get mbsource() {
|
|
675
|
+
return this.$$.ctx[22];
|
|
676
|
+
}
|
|
677
|
+
set mbsource(e) {
|
|
678
|
+
this.$$set({ mbsource: e }), C();
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
_e(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
|
|
682
|
+
export {
|
|
683
|
+
Se as default
|
|
684
|
+
};
|