@everymatrix/player-account-controller-nd 1.59.3 → 1.60.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-BjsDUNrm.cjs +21 -0
- package/components/{GeneralLogout-BF_qMI31.js → GeneralLogout-D-SNAWMX.js} +659 -626
- package/components/{GeneralLogout-B2sqctHY.js → GeneralLogout-mKknRJlq.js} +762 -729
- package/components/PlayerAccountBettingHistory-B65ODj4i.js +329 -0
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-Cmz4RfLW.js → PlayerAccountBettingHistory-D5R8TtVb.js} +126 -127
- package/components/{PlayerAccountBiometrics-B_cneHiM.js → PlayerAccountBiometrics-1g9245j6.js} +22 -22
- package/components/{PlayerAccountBiometrics-CSZ-wg_P.js → PlayerAccountBiometrics-Dke9scx2.js} +22 -22
- package/components/{PlayerAccountBiometrics-DTFbvNhj.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DAi3Ugwi.cjs → PlayerAccountClosureNd-B4GnQQHa.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-BLvElGRY.js → PlayerAccountClosureNd-CH8UCD0A.js} +17 -17
- package/components/{PlayerAccountClosureNd-CZZ5MDeE.js → PlayerAccountClosureNd-DtDZNFDs.js} +17 -17
- package/components/{PlayerAccountControllerNd-D0IWDPQ5.js → PlayerAccountControllerNd-Bku9IsLI.js} +2338 -2274
- package/components/PlayerAccountControllerNd-CIwcomfF.cjs +1 -0
- package/components/{PlayerAccountControllerNd-C_PfvGyf.js → PlayerAccountControllerNd-s0y2OXeS.js} +2310 -2246
- package/components/{PlayerAccountGamingLimits-D7T6wHfx.js → PlayerAccountGamingLimits-CPx-vfQw.js} +81 -81
- package/components/{PlayerAccountGamingLimits-BrtFDG1O.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DjoHuP0Q.js → PlayerAccountGamingLimits-geiSuCGE.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D9jDt0ZJ.js → PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-neTmroA2.js → PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DQNY-DOL.js → PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-8vNGzj66.js → PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BRET7bjw.cjs → PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DozHpGB2.js → PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js} +80 -80
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DvgLaDwG.js → PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js} +82 -82
- package/components/{PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CrTFZqJb.js → PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DgCYVXLF.js → PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BVp4NsaB.js → PlayerAccountGamingLimitsPage2Gm16Nd-BNmsoB4j.js} +76 -76
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C6CQlXH2.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Bgo5f8-B.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CJ9cwQ2F.js → PlayerAccountGamingLimitsPage2Gm16Nd-iPFNNUak.js} +76 -76
- package/components/{PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BrdTQumv.js → PlayerAccountGamingLimitsPopup-CLyTPF2L.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-QgEEQjVV.js → PlayerAccountGamingLimitsPopup-DycV-u3W.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DWakc7KL.js → PlayerAccountGamingLimitsWrapper2Nd-CecSwQk4.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CCCAcJEC.cjs → PlayerAccountGamingLimitsWrapper2Nd-D5Ull9qd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-kvFh4Lz5.js → PlayerAccountGamingLimitsWrapper2Nd-UWlehs4p.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-DdP7HdbF.js → PlayerAccountGeneralConfirmationModal-4w5ypHAs.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Do1EWaXq.js → PlayerAccountGeneralConfirmationModal-u_yQVW36.js} +34 -34
- package/components/{PlayerAccountMenuNd-haA2NUoR.js → PlayerAccountMenuNd-BOMUFQMa.js} +29 -29
- package/components/{PlayerAccountMenuNd-9bhW14nE.cjs → PlayerAccountMenuNd-Bi_WbYQ5.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-CeYSn5aI.js → PlayerAccountMenuNd-PNL5XtT2.js} +32 -32
- package/components/{PlayerAccountModal-BRuOa9Ak.js → PlayerAccountModal-CJAW5eai.js} +42 -42
- package/components/{PlayerAccountModal-MCiQ8X7e.js → PlayerAccountModal-DzIuV3KN.js} +42 -42
- package/components/{PlayerAccountModal-BC3FTDl6.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CcTMD34l.cjs → PlayerAccountNotifications-B-wkpb9J.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DVFpWv3_.js → PlayerAccountNotifications-Bdi0rToV.js} +31 -31
- package/components/{PlayerAccountNotifications-CvWZQ69F.js → PlayerAccountNotifications-CEKEWwIe.js} +32 -32
- package/components/{PlayerAccountSelfExclusionNd-B4c5HwJ2.cjs → PlayerAccountSelfExclusionNd-BzUY8CNq.cjs} +153 -153
- package/components/{PlayerAccountSelfExclusionNd-CBtX8shk.js → PlayerAccountSelfExclusionNd-CNZbD5VV.js} +1694 -1689
- package/components/{PlayerAccountSelfExclusionNd-COgEf3y3.js → PlayerAccountSelfExclusionNd-CekrD8Lm.js} +788 -783
- package/components/{PlayerAccountTimeout-CJzvKCG2.js → PlayerAccountTimeout-Btv_TKzl.js} +58 -58
- package/components/{PlayerAccountTimeout-gHjCFhAK.js → PlayerAccountTimeout-DWvsv0YB.js} +58 -58
- package/components/{PlayerAccountTimeout-C5EjWisK.cjs → PlayerAccountTimeout-absGWI_O.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Qu1RO5nJ.js → PlayerActiveBonuses-2M__yMJf.js} +73 -73
- package/components/{PlayerActiveBonuses-BG53SuBu.js → PlayerActiveBonuses-BXlIZiVB.js} +74 -74
- package/components/{PlayerActiveBonuses-8_q2D0Pm.cjs → PlayerActiveBonuses-CBqsWQfE.cjs} +1 -1
- package/components/{PlayerBonusCard-Q-nM2Ss4.cjs → PlayerBonusCard-CJXjuXsU.cjs} +1 -1
- package/components/{PlayerBonusCard-BtEfVZsy.js → PlayerBonusCard-CtXP9UPy.js} +54 -54
- package/components/{PlayerBonusCard-CXcQF0sO.js → PlayerBonusCard-sfjhWo7d.js} +54 -54
- package/components/{PlayerBonusHistory-Cs1dH25K.js → PlayerBonusHistory-RSQRrnT5.js} +33 -33
- package/components/{PlayerBonusHistory-DpJBNzM3.cjs → PlayerBonusHistory-bZRbhFOt.cjs} +1 -1
- package/components/{PlayerBonusHistory-B58fHG_8.js → PlayerBonusHistory-d-g9E0hQ.js} +33 -33
- package/components/{PlayerChangePassword-B1LU_lkb.js → PlayerChangePassword-Ddfah5-0.js} +82 -82
- package/components/{PlayerChangePassword-D9FaQrxz.js → PlayerChangePassword-Dtr2n1Et.js} +82 -82
- package/components/{PlayerChangePassword-CbBHjN4s.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
- package/components/{PlayerDeposit-Bcd3K3Je.js → PlayerDeposit-CqqQuB6-.js} +75 -75
- package/components/{PlayerDeposit-DxwEbqV9.js → PlayerDeposit-DzJLjkJJ.js} +75 -75
- package/components/PlayerDeposit-_oIOMh8l.cjs +1 -0
- package/components/{PlayerGamingHistory-CYcGkpHB.js → PlayerGamingHistory-B4qvlsqx.js} +74 -74
- package/components/{PlayerGamingHistory-DGuLW7ym.cjs → PlayerGamingHistory-Dm6tqFeQ.cjs} +1 -1
- package/components/{PlayerGamingHistory-ScSE3zbv.js → PlayerGamingHistory-pdMVPt_d.js} +84 -84
- package/components/{PlayerPendingWithdrawals-BFSLYrrk.js → PlayerPendingWithdrawals-B5LftQI0.js} +26 -26
- package/components/{PlayerPendingWithdrawals-m1esYleC.js → PlayerPendingWithdrawals-BXngse4L.js} +26 -26
- package/components/{PlayerPendingWithdrawals-D3hbZ7iV.cjs → PlayerPendingWithdrawals-aaHugNLD.cjs} +1 -1
- package/components/PlayerProfileInfo-BZeTIS-X.js +2059 -0
- package/components/PlayerProfileInfo-DzywLcOK.js +2087 -0
- package/components/PlayerProfileInfo-tYfJSyL9.cjs +1 -0
- package/components/{PlayerRealityCheck-rpgp0y6e.js → PlayerRealityCheck-BDutFT4T.js} +33 -33
- package/components/{PlayerRealityCheck-DTbqf0Qh.cjs → PlayerRealityCheck-BobhhM62.cjs} +1 -1
- package/components/{PlayerRealityCheck-D26GIMk0.js → PlayerRealityCheck-DIZrg6M4.js} +33 -33
- package/components/{PlayerTransactionHistory-DCZM4mF9.js → PlayerTransactionHistory-BdX1ph_m.js} +24 -24
- package/components/{PlayerTransactionHistory-tCmygdCD.js → PlayerTransactionHistory-CQ3fEpfj.js} +24 -24
- package/components/{PlayerTransactionHistory-Cp--JykS.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
- package/components/{PlayerWithdrawal-Cv5nFxNg.js → PlayerWithdrawal-8DAmymCW.js} +19 -19
- package/components/{PlayerWithdrawal-BocnE727.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
- package/components/{PlayerWithdrawal-DmYqViyy.js → PlayerWithdrawal-DvDjalE_.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-CinfKCss.js → checkbox-group-input_9-C7zEH4Cn.js} +13 -11
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +2 -0
- package/stencil/{checkbox-group-input_9-C_Jto8Jt.js → checkbox-group-input_9-OVj7AW5S.js} +13 -11
- package/stencil/{general-input-n2Odu7ir.cjs → general-input-BlFYbInU.cjs} +199 -199
- package/stencil/{general-input-bu08V52z.js → general-input-C7B1PVb4.js} +1249 -1243
- package/stencil/{general-input-DJk-3Amp.js → general-input-DoSeJn3k.js} +1247 -1241
- package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
- package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
- package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
- package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
- package/stencil/{index-9c0f6c58-DRP3WpwA.js → index-9c0f6c58-CqoLeK5G.js} +197 -197
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
- package/stencil/index-9cd44522-BOHK5Ehb.js +626 -0
- package/stencil/index-9cd44522-C8s3TvoU.js +610 -0
- package/stencil/index-9cd44522-D9raG3xx.cjs +1 -0
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
- package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
- package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
- package/stencil/{password-input_2-BEm5miI-.js → password-input_2-5nC89CMj.js} +3 -3
- package/stencil/{password-input_2-BQFmAJZH.js → password-input_2-DJSgcWve.js} +3 -3
- package/stencil/password-input_2-ZOEOuaOe.cjs +193 -0
- package/stencil/{player-change-password-gm2-039e300e-WQ9F_3S-.cjs → player-change-password-gm2-039e300e-C-kbOfS1.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-CAqacRz5.js → player-change-password-gm2-039e300e-C_f58yBE.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-DsF_swLz.js → player-change-password-gm2-039e300e-D4KfL3dW.js} +1 -1
- package/stencil/{player-change-password-gm2-lgbjA5yk.js → player-change-password-gm2-3aRR8E4W.js} +1 -1
- package/stencil/{player-change-password-gm2-2-y7ZnBr.js → player-change-password-gm2-BJ2Ur7Zx.js} +1 -1
- package/stencil/{player-change-password-gm2-21_4LRZA.cjs → player-change-password-gm2-CHK-mhQ9.cjs} +1 -1
- package/stencil/{player-kyc-verification-CK7jvih_.js → player-kyc-verification-B8arDCja.js} +1 -1
- package/stencil/{player-kyc-verification-ClECAHs-.js → player-kyc-verification-Di40xn9z.js} +1 -1
- package/stencil/{player-kyc-verification-CWBei0Yk.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-BETTnM8f.js → toggle-checkbox-input-BRL1Xahc.js} +23 -9
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +1 -0
- package/stencil/{toggle-checkbox-input-D3c8zSJU.js → toggle-checkbox-input-cLWFox9n.js} +23 -9
- package/stencil/{ui-skeleton-r-lLy7GD.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
- package/stencil/{ui-skeleton-CWQGWUte.js → ui-skeleton-DT0OMDC6.js} +2 -2
- package/stencil/{ui-skeleton-DGSaG5JU.js → ui-skeleton-T4HYbNcC.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BXc76uPc.cjs → ui-skeleton-a642cced-B8H73O_q.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-21I14Ylk.js → ui-skeleton-a642cced-Ba-weZ4g.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-C5tlYQb-.js → ui-skeleton-a642cced-DhjmNsN7.js} +1 -1
- package/stencil/{user-deposit-withdrawal-C8N7GB9E.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BISsu0Z-.js → user-deposit-withdrawal-DRe5oBqv.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BmOGfPLJ.js → user-deposit-withdrawal-Dj3Po03r.js} +1 -1
- package/stencil/{user-transaction-history-Bg6onQ-I.js → user-transaction-history-6-z3byrF.js} +1 -1
- package/stencil/{user-transaction-history-BO92Qvk4.js → user-transaction-history-Dca7qx08.js} +1 -1
- package/stencil/{user-transaction-history-COJbthDt.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
- package/components/GeneralLogout-aDlrOvb2.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +0 -1
- package/components/PlayerAccountBettingHistory-WEyQIM51.js +0 -328
- package/components/PlayerAccountControllerNd-CCCEDiSo.cjs +0 -1
- package/components/PlayerDeposit-mr7WW9bf.cjs +0 -1
- package/components/PlayerProfileInfo-BST7W89r.cjs +0 -1
- package/components/PlayerProfileInfo-Cpl9q5N3.js +0 -1823
- package/components/PlayerProfileInfo-F2MwpT-I.js +0 -1806
- package/stencil/checkbox-group-input_9-Dc49Q3Vp.cjs +0 -2
- package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +0 -1
- package/stencil/index-1ef3a64c-gNJv-qax.js +0 -572
- package/stencil/index-1ef3a64c-jZYsp9Sk.js +0 -556
- package/stencil/index-7c5e707a-40SRy2Ab.js +0 -616
- package/stencil/index-7c5e707a-B9tD4t-g.js +0 -643
- package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
- package/stencil/index-9c0f6c58-CiH_jMvd.cjs +0 -1
- package/stencil/index-9c0f6c58-jtioo3_h.js +0 -576
- package/stencil/index-9cd44522-CFA-2f9u.cjs +0 -1
- package/stencil/index-9cd44522-COdVO-ko.js +0 -610
- package/stencil/index-9cd44522-IsBDbKDl.js +0 -626
- package/stencil/index-ae04a8b1-BIDvdZJs.js +0 -532
- package/stencil/index-ae04a8b1-BUa25EUq.cjs +0 -1
- package/stencil/index-ae04a8b1-BYWsXc_G.js +0 -516
- package/stencil/password-input_2-BvQKzYdi.cjs +0 -193
- package/stencil/toggle-checkbox-input-owvrKS5Z.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BjsDUNrm.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"svelte-1o81iqe",'*,*::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, 20px);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, 20px)}.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}')}const W=o=>({}),z=o=>({});function q(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,c){e.insert(i,t,c),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
|
|
@@ -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, f as v, c as V, s as X, b as Y, H as Z, e as _, d as z, t as S, g as l, k as j, l as m, m as O, I as $, J as ee, K as te, n as E, L as ne, M as oe, p as L, r as ie, q as re, u as ae, v as le, w as se, x as ce, z as me, A as fe, y as W, o as de, B as ue } from "./GeneralLogout-mKknRJlq.js";
|
|
2
2
|
function q(n, e) {
|
|
3
3
|
H(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ const N = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function be(n) {
|
|
55
|
-
|
|
55
|
+
Y(n, "svelte-1o81iqe", '*,*::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, 20px);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, 20px)}.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) => ({}), P = (n) => ({});
|
|
58
58
|
function Ce(n) {
|
|
@@ -62,11 +62,11 @@ function Ce(n) {
|
|
|
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
64
|
m(r, s) {
|
|
65
|
-
|
|
65
|
+
j(r, e, s), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
67
|
+
p: de,
|
|
68
68
|
d(r) {
|
|
69
|
-
r &&
|
|
69
|
+
r && L(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -74,24 +74,24 @@ function I(n) {
|
|
|
74
74
|
let e, t, r;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e = _("div"), t = _("h2"), r =
|
|
77
|
+
e = _("div"), t = _("h2"), r = S(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
82
|
m(s, d) {
|
|
83
|
-
|
|
83
|
+
j(s, e, d), m(e, t), m(t, r);
|
|
84
84
|
},
|
|
85
85
|
p(s, d) {
|
|
86
86
|
d & /*modaltitle*/
|
|
87
|
-
2 &&
|
|
87
|
+
2 && E(
|
|
88
88
|
r,
|
|
89
89
|
/*modaltitle*/
|
|
90
90
|
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
93
|
d(s) {
|
|
94
|
-
s &&
|
|
94
|
+
s && L(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -102,10 +102,10 @@ function R(n) {
|
|
|
102
102
|
), r, s, d;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e = _("button"), r =
|
|
105
|
+
e = _("button"), r = S(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
107
|
m(f, C) {
|
|
108
|
-
|
|
108
|
+
j(f, e, C), m(e, r), s || (d = O(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
@@ -115,10 +115,10 @@ function R(n) {
|
|
|
115
115
|
p(f, C) {
|
|
116
116
|
C & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
f[4]("cancel") + "") &&
|
|
118
|
+
f[4]("cancel") + "") && E(r, t);
|
|
119
119
|
},
|
|
120
120
|
d(f) {
|
|
121
|
-
f &&
|
|
121
|
+
f && L(e), s = !1, d();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
@@ -130,7 +130,7 @@ function pe(n) {
|
|
|
130
130
|
const F = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
133
|
-
), M =
|
|
133
|
+
), M = Z(
|
|
134
134
|
F,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
@@ -146,16 +146,16 @@ function pe(n) {
|
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C =
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), h && h.c(), s = z(), a && a.c(), d = z(), f = _("div"), C = S(
|
|
150
150
|
/*modaltext*/
|
|
151
151
|
n[0]
|
|
152
|
-
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k =
|
|
152
|
+
), A = z(), g = _("div"), c && c.c(), y = z(), p = _("button"), k = S(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
157
|
m(i, x) {
|
|
158
|
-
|
|
158
|
+
j(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",
|
|
@@ -172,49 +172,49 @@ function pe(n) {
|
|
|
172
172
|
},
|
|
173
173
|
p(i, [x]) {
|
|
174
174
|
M && M.p && (!u || x & /*$$scope*/
|
|
175
|
-
32768) &&
|
|
175
|
+
32768) && $(
|
|
176
176
|
M,
|
|
177
177
|
F,
|
|
178
178
|
i,
|
|
179
179
|
/*$$scope*/
|
|
180
180
|
i[15],
|
|
181
|
-
u ?
|
|
181
|
+
u ? te(
|
|
182
182
|
F,
|
|
183
183
|
/*$$scope*/
|
|
184
184
|
i[15],
|
|
185
185
|
x,
|
|
186
186
|
he
|
|
187
|
-
) :
|
|
187
|
+
) : ee(
|
|
188
188
|
/*$$scope*/
|
|
189
189
|
i[15]
|
|
190
190
|
),
|
|
191
191
|
P
|
|
192
192
|
), /*modaltitle*/
|
|
193
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) &&
|
|
194
|
+
1) && E(
|
|
195
195
|
C,
|
|
196
196
|
/*modaltext*/
|
|
197
197
|
i[0]
|
|
198
198
|
), /*hascancelbutton*/
|
|
199
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
200
|
16) && w !== (w = /*$_*/
|
|
201
|
-
i[4]("confirm") + "") &&
|
|
201
|
+
i[4]("confirm") + "") && E(k, w);
|
|
202
202
|
},
|
|
203
203
|
i(i) {
|
|
204
|
-
u || (
|
|
204
|
+
u || (ne(h, i), u = !0);
|
|
205
205
|
},
|
|
206
206
|
o(i) {
|
|
207
|
-
|
|
207
|
+
oe(h, i), u = !1;
|
|
208
208
|
},
|
|
209
209
|
d(i) {
|
|
210
|
-
i &&
|
|
210
|
+
i && L(e), h && h.d(i), a && a.d(), c && c.d(), n[19](null), G = !1, ie(b);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
function xe(n, e, t) {
|
|
215
215
|
let r;
|
|
216
|
-
|
|
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 =
|
|
216
|
+
re(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 = ae(F) !== "PC";
|
|
218
218
|
const h = () => {
|
|
219
219
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
220
|
}, a = (o) => {
|
|
@@ -234,11 +234,11 @@ function xe(n, e, t) {
|
|
|
234
234
|
const i = () => {
|
|
235
235
|
ge(p);
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
le(() => () => {
|
|
238
238
|
});
|
|
239
239
|
const x = () => a("cancel"), U = () => a("confirm");
|
|
240
240
|
function D(o) {
|
|
241
|
-
|
|
241
|
+
me[o ? "unshift" : "push"](() => {
|
|
242
242
|
b = o, t(3, b);
|
|
243
243
|
});
|
|
244
244
|
}
|
|
@@ -247,9 +247,9 @@ function xe(n, e, t) {
|
|
|
247
247
|
}, n.$$.update = () => {
|
|
248
248
|
n.$$.dirty & /*modaltext, lang*/
|
|
249
249
|
1025 && f && p && i(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
250
|
-
2056 && w && b &&
|
|
251
|
-
4104 && k && b &&
|
|
252
|
-
16392 && G && b &&
|
|
250
|
+
2056 && w && b && fe(b, w), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
251
|
+
4104 && k && b && se(b, k), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
252
|
+
16392 && G && b && ce(b, `${G}.Style`), n.$$.dirty & /*translationurl*/
|
|
253
253
|
8192 && u && c();
|
|
254
254
|
}, [
|
|
255
255
|
f,
|
|
@@ -281,7 +281,7 @@ class ve extends K {
|
|
|
281
281
|
e,
|
|
282
282
|
xe,
|
|
283
283
|
pe,
|
|
284
|
-
|
|
284
|
+
X,
|
|
285
285
|
{
|
|
286
286
|
modaltext: 0,
|
|
287
287
|
modaltitle: 1,
|
|
@@ -358,7 +358,7 @@ class ve extends K {
|
|
|
358
358
|
this.$$set({ mbsource: e }), v();
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
V(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,5 +1,5 @@
|
|
|
1
|
-
import { a as de, $ as ge, S as ye, i as pe, f as C,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as de, $ as ge, S as ye, i as pe, f as C, c as fe, s as he, b as Ae, e as h, k as F, o as O, p as L, q as be, u as V, v as Me, w as Pe, x as we, z as ve, A as xe, O as H, d as k, t as z, g, l as a, n as W, P as ee, j as m, y as T, m as D, r as _e, a1 as X, B as ke } from "./GeneralLogout-mKknRJlq.js";
|
|
2
|
+
import "../stencil/ui-skeleton-DT0OMDC6.js";
|
|
3
3
|
function Z(n, e) {
|
|
4
4
|
de(n, e);
|
|
5
5
|
}
|
|
@@ -53,7 +53,7 @@ if (typeof window < "u") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-mKknRJlq.js").then((e) => e.a7).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -101,7 +101,7 @@ function Fe(n) {
|
|
|
101
101
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
102
102
|
},
|
|
103
103
|
m(p, I) {
|
|
104
|
-
|
|
104
|
+
F(p, e, I), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, d), a(t, A), a(A, M), a(t, v), c && c.m(t, null), a(e, P), a(e, b);
|
|
105
105
|
for (let f = 0; f < o.length; f += 1)
|
|
106
106
|
o[f] && o[f].m(b, null);
|
|
107
107
|
a(e, w), x && x.m(e, null);
|
|
@@ -140,7 +140,7 @@ function Fe(n) {
|
|
|
140
140
|
p[12] || x.p(p, I);
|
|
141
141
|
},
|
|
142
142
|
d(p) {
|
|
143
|
-
p &&
|
|
143
|
+
p && L(e), u && u.d(), c && c.d(), ee(o, p), x && x.d();
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
@@ -163,7 +163,7 @@ function Le(n) {
|
|
|
163
163
|
n[12] ? "PlayerAccountTabletContainer" : ""));
|
|
164
164
|
},
|
|
165
165
|
m(c, y) {
|
|
166
|
-
|
|
166
|
+
F(c, e, y), a(e, t), b && b.m(t, null), a(t, l), a(t, i), a(t, s), a(t, d), a(e, A), a(e, M);
|
|
167
167
|
for (let o = 0; o < u.length; o += 1)
|
|
168
168
|
u[o] && u[o].m(M, null);
|
|
169
169
|
a(e, v), a(e, P);
|
|
@@ -183,7 +183,7 @@ function Le(n) {
|
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
d(c) {
|
|
186
|
-
c &&
|
|
186
|
+
c && L(e), b && b.d(), ee(u, c);
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -197,7 +197,7 @@ function Ee(n) {
|
|
|
197
197
|
e = h("div"), t = T("svg"), l = T("defs"), i = T("style"), s = z(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), d = T("g"), A = T("g"), M = T("path"), v = k(), P = h("h3"), w = z(b), g(M, "class", "aaa"), g(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(M, "transform", "translate(15 15) rotate(180)"), g(A, "transform", "translate(20 158)"), g(d, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(P, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
198
198
|
},
|
|
199
199
|
m(y, o) {
|
|
200
|
-
|
|
200
|
+
F(y, e, o), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, A), a(A, M), a(e, v), a(e, P), a(P, w), u || (c = [
|
|
201
201
|
D(
|
|
202
202
|
t,
|
|
203
203
|
"click",
|
|
@@ -218,7 +218,7 @@ function Ee(n) {
|
|
|
218
218
|
y[11]("title") + "") && W(w, b);
|
|
219
219
|
},
|
|
220
220
|
d(y) {
|
|
221
|
-
y &&
|
|
221
|
+
y && L(e), u = !1, _e(c);
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
}
|
|
@@ -254,7 +254,7 @@ function Be(n) {
|
|
|
254
254
|
), g(e, "class", "PlayerAccountLogOutArea");
|
|
255
255
|
},
|
|
256
256
|
m(l, i) {
|
|
257
|
-
|
|
257
|
+
F(l, e, i), a(e, t);
|
|
258
258
|
},
|
|
259
259
|
p(l, i) {
|
|
260
260
|
i[0] & /*endpoint*/
|
|
@@ -290,7 +290,7 @@ function Be(n) {
|
|
|
290
290
|
);
|
|
291
291
|
},
|
|
292
292
|
d(l) {
|
|
293
|
-
l &&
|
|
293
|
+
l && L(e);
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -318,7 +318,7 @@ function Y(n) {
|
|
|
318
318
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
319
319
|
},
|
|
320
320
|
m(c, y) {
|
|
321
|
-
|
|
321
|
+
F(c, e, y), a(e, t), a(t, l), a(t, s), a(t, d), a(d, M), a(e, v), b || (w = D(e, "click", u), b = !0);
|
|
322
322
|
},
|
|
323
323
|
p(c, y) {
|
|
324
324
|
n = c, y[0] & /*menuItems*/
|
|
@@ -332,7 +332,7 @@ function Y(n) {
|
|
|
332
332
|
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", P);
|
|
333
333
|
},
|
|
334
334
|
d(c) {
|
|
335
|
-
c &&
|
|
335
|
+
c && L(e), b = !1, w();
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
@@ -368,7 +368,7 @@ function Te(n) {
|
|
|
368
368
|
), g(e, "class", "PlayerAccountLogOutArea");
|
|
369
369
|
},
|
|
370
370
|
m(l, i) {
|
|
371
|
-
|
|
371
|
+
F(l, e, i), a(e, t);
|
|
372
372
|
},
|
|
373
373
|
p(l, i) {
|
|
374
374
|
i[0] & /*endpoint*/
|
|
@@ -404,7 +404,7 @@ function Te(n) {
|
|
|
404
404
|
);
|
|
405
405
|
},
|
|
406
406
|
d(l) {
|
|
407
|
-
l &&
|
|
407
|
+
l && L(e);
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
@@ -415,10 +415,10 @@ function ze(n) {
|
|
|
415
415
|
e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
416
416
|
},
|
|
417
417
|
m(t, l) {
|
|
418
|
-
|
|
418
|
+
F(t, e, l);
|
|
419
419
|
},
|
|
420
420
|
d(t) {
|
|
421
|
-
t &&
|
|
421
|
+
t && L(e);
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
}
|
|
@@ -429,10 +429,10 @@ function He(n) {
|
|
|
429
429
|
e = h("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
430
430
|
},
|
|
431
431
|
m(t, l) {
|
|
432
|
-
|
|
432
|
+
F(t, e, l);
|
|
433
433
|
},
|
|
434
434
|
d(t) {
|
|
435
|
-
t &&
|
|
435
|
+
t && L(e);
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
438
|
}
|
|
@@ -450,11 +450,11 @@ function $(n) {
|
|
|
450
450
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
451
451
|
},
|
|
452
452
|
m(d, A) {
|
|
453
|
-
|
|
453
|
+
F(d, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
|
|
454
454
|
},
|
|
455
455
|
p: O,
|
|
456
456
|
d(d) {
|
|
457
|
-
d &&
|
|
457
|
+
d && L(e), s && s.d();
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
}
|
|
@@ -472,7 +472,7 @@ function We(n) {
|
|
|
472
472
|
e = h("div"), i.c();
|
|
473
473
|
},
|
|
474
474
|
m(s, d) {
|
|
475
|
-
|
|
475
|
+
F(s, e, d), i.m(e, null), n[27](e);
|
|
476
476
|
},
|
|
477
477
|
p(s, d) {
|
|
478
478
|
l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
|
|
@@ -480,13 +480,13 @@ function We(n) {
|
|
|
480
480
|
i: O,
|
|
481
481
|
o: O,
|
|
482
482
|
d(s) {
|
|
483
|
-
s &&
|
|
483
|
+
s && L(e), i.d(), n[27](null);
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
487
|
function Se(n, e, t) {
|
|
488
488
|
let l;
|
|
489
|
-
be(n,
|
|
489
|
+
be(n, ke, (r) => t(11, l = r));
|
|
490
490
|
let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: A = "" } = e, { playerid: M = "" } = e, { lang: v = "en" } = e, { selecteditem: P = "" } = e, { userroles: b = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: y = "" } = e, { activemenuitem: o = "" } = e, x = !1, p = !1, I = !0, f, B = [], S, U = window.navigator.userAgent, te = V(U) !== "PC", j = "", R = "";
|
|
491
491
|
const ne = window.matchMedia("(min-width: 768px)"), le = () => {
|
|
492
492
|
fetch(y).then((_) => _.json()).then((_) => {
|
|
@@ -556,7 +556,7 @@ function Se(n, e, t) {
|
|
|
556
556
|
}));
|
|
557
557
|
const ue = (r) => q(r);
|
|
558
558
|
function me(r) {
|
|
559
|
-
|
|
559
|
+
ve[r ? "unshift" : "push"](() => {
|
|
560
560
|
f = r, t(5, f);
|
|
561
561
|
});
|
|
562
562
|
}
|
|
@@ -570,8 +570,8 @@ function Se(n, e, t) {
|
|
|
570
570
|
720896 && s && v && d && ie(), n.$$.dirty[0] & /*activemenuitem*/
|
|
571
571
|
8388608 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
572
572
|
36 && w && f && xe(f, w), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
573
|
-
40 && u && f &&
|
|
574
|
-
48 && c && f &&
|
|
573
|
+
40 && u && f && Pe(f, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
574
|
+
48 && c && f && we(f, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
575
575
|
4194304 && y && le();
|
|
576
576
|
}, [
|
|
577
577
|
A,
|
|
@@ -611,7 +611,7 @@ class Oe extends ye {
|
|
|
611
611
|
e,
|
|
612
612
|
Se,
|
|
613
613
|
We,
|
|
614
|
-
|
|
614
|
+
he,
|
|
615
615
|
{
|
|
616
616
|
endpoint: 1,
|
|
617
617
|
cmsendpoint: 16,
|
|
@@ -710,7 +710,7 @@ class Oe extends ye {
|
|
|
710
710
|
this.$$set({ activemenuitem: e }), C();
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
|
|
713
|
+
fe(Oe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
714
714
|
export {
|
|
715
715
|
Oe as default
|
|
716
716
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-aDlrOvb2.cjs");require("../stencil/ui-skeleton-r-lLy7GD.cjs");function B(a,t){e.addMessages(a,t)}function K(a){e.$locale.set(a)}const H={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 a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){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"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-aDlrOvb2.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Y(a){e.append_styles(a,"svelte-7x6kyy",'.PlayerAccountMenuContainer{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:20px;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:16px 20px;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, 20px);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, 20px);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, 20px);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, 20px);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, 20px);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, #D0046C))}.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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.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,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function z(a,t,n){const l=a.slice();return l[41]=t[n],l}function W(a,t,n){const l=a.slice();return l[38]=t[n],l}function $(a){let t,n,l,o,s,m,y,h,A,_,f,b,u=a[12]&&te(a),c=a[12]&&ne(a),d=e.ensure_array_like(a[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(z(a,d,p));let P=!a[12]&&ae(a);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),l=e.space(),o=e.element("p"),s=e.text(a[9]),m=e.space(),y=e.element("p"),h=e.text(a[10]),A=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();b=e.space(),P&&P.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,l),e.append(n,o),e.append(o,s),e.append(n,m),e.append(n,y),e.append(y,h),e.append(n,A),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let g=0;g<i.length;g+=1)i[g]&&i[g].m(f,null);e.append(t,b),P&&P.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(h,p[10]),p[12]&&c.p(p,w),w[0]&20864){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=z(p,d,g);i[g]?i[g].p(x,w):(i[g]=S(x),i[g].c(),i[g].m(f,null))}for(;g<i.length;g+=1)i[g].d(1);i.length=d.length}p[12]||P.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),P&&P.d()}}}function ee(a){let t,n,l,o,s,m,y,h,A,_,f=a[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=O(W(a,b,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),l=e.space(),o=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),h=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(o,"structure","title"),e.set_custom_element_data(o,"width","100px"),e.set_custom_element_data(o,"height","20px"),e.set_custom_element_data(o,"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 "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,l),e.append(n,o),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,h);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(h,null);e.append(t,A),e.append(t,_)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let i;for(i=0;i<b.length;i+=1){const P=W(c,b,i);u[i]?u[i].p(P,d):(u[i]=O(P),u[i].c(),u[i].m(h,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=b.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function te(a){let t,n,l,o,s,m,y,h,A,_,f=a[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),o=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),h=e.svg_element("path"),A=e.space(),_=e.element("h3"),b=e.text(f),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(y,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,l),e.append(l,o),e.append(o,s),e.append(n,m),e.append(m,y),e.append(y,h),e.append(t,A),e.append(t,_),e.append(_,b),u||(c=[e.listen(n,"click",a[15]),e.listen(_,"click",a[15])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(b,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ne(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function S(a){let t,n,l,o,s,m,y=a[41].label+"",h,A,_,f,b;function u(){return a[26](a[41])}return{c(){t=e.element("div"),n=e.element("p"),l=e.element("img"),s=e.space(),m=e.element("span"),h=e.text(y),A=e.space(),e.attr(l,"class","PlayerAccountMenuItemIcon "+(a[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(l.src,o=a[41].img)||e.attr(l,"src",o),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,l),e.append(n,s),e.append(n,m),e.append(m,h),e.append(t,A),f||(b=e.listen(t,"click",u),f=!0)},p(c,d){a=c,d[0]&128&&!e.src_url_equal(l.src,o=a[41].img)&&e.attr(l,"src",o),d[0]&128&&y!==(y=a[41].label+"")&&e.set_data(h,y),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,b()}}}function ae(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function le(a){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,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function re(a){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,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function O(a){let t,n,l,o,s=!a[12]&&re();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),l=e.element("ui-skeleton"),o=e.space(),e.set_custom_element_data(l,"structure","rectangle"),e.set_custom_element_data(l,"width","100%"),e.set_custom_element_data(l,"height",a[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,l),e.append(t,o)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(a){let t;function n(s,m){return s[6]?ee:$}let l=n(a),o=l(a);return{c(){t=e.element("div"),o.c()},m(s,m){e.insert(s,t,m),o.m(t,null),a[27](t)},p(s,m){l===(l=n(s))&&o?o.p(s,m):(o.d(1),o=l(s),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o.d(),a[27](null)}}}function ie(a,t,n){let l;e.component_subscribe(a,e.$format,r=>n(11,l=r));let{endpoint:o=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:h=""}=t,{lang:A="en"}=t,{selecteditem:_=""}=t,{userroles:f=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:i=""}=t,P=!1,p=!1,w=!0,g,x=[],k,C=window.navigator.userAgent,U=e.getDevice(C)!=="PC",I="",F="";const j=window.matchMedia("(min-width: 768px)"),q=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(v=>{B(v,M[v])})}).catch(M=>{console.error(M)})};Object.keys(H).forEach(r=>{B(r,H[r])});const L=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,y=r.data.session);break}},R=()=>{let r=e.getDevice(C);if(r)return r==="PC"?"dk":"mtWeb"},G=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",R()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(24,P=!0)})},N=()=>{let r=new URL(`${o}/v1/player/${h}/profile`);r.searchParams.append("userRoles",f);let M={method:"GET",headers:{"X-SessionID":y}};fetch(r.href,M).then(v=>v.json()).then(v=>{n(9,I=v.username),n(10,F=v.email)},v=>{console.error(v)}).finally(()=>{n(25,p=!0)})},E=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},T=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(i)))==null?void 0:r.id)},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},X=()=>{K(A)},Z=()=>{N()};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Q=r=>E(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return a.$$set=r=>{"endpoint"in r&&n(1,o=r.endpoint),"cmsendpoint"in r&&n(16,s=r.cmsendpoint),"env"in r&&n(17,m=r.env),"session"in r&&n(0,y=r.session),"playerid"in r&&n(18,h=r.playerid),"lang"in r&&n(19,A=r.lang),"selecteditem"in r&&n(20,_=r.selecteditem),"userroles"in r&&n(21,f=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(22,d=r.translationurl),"activemenuitem"in r&&n(23,i=r.activemenuitem)},a.$$.update=()=>{a.$$.dirty[0]&50331648&&n(6,w=!P||!p),a.$$.dirty[0]&524288&&A&&X(),a.$$.dirty[0]&786435&&o&&y&&h&&A&&Z(),a.$$.dirty[0]&720896&&s&&A&&m&&G(),a.$$.dirty[0]&8388608&&i&&T(),a.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),a.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),a.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`),a.$$.dirty[0]&4194304&&d&&q()},[y,o,b,u,c,g,w,x,k,I,F,l,U,j,E,V,s,m,h,A,_,f,d,i,P,p,Q,J]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,selecteditem:20,userroles:21,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:22,activemenuitem:23},Y,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}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[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[20]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[21]}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[22]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[23]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=D;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BjsDUNrm.cjs");require("../stencil/ui-skeleton-BC4mw1ae.cjs");function B(a,t){e.addMessages(a,t)}function K(a){e.$locale.set(a)}const H={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 a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){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"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BjsDUNrm.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Y(a){e.append_styles(a,"svelte-7x6kyy",'.PlayerAccountMenuContainer{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:20px;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:16px 20px;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, 20px);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, 20px);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, 20px);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, 20px);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, 20px);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, #D0046C))}.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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.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,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function z(a,t,n){const l=a.slice();return l[41]=t[n],l}function W(a,t,n){const l=a.slice();return l[38]=t[n],l}function $(a){let t,n,l,o,s,m,y,h,A,_,f,b,u=a[12]&&te(a),c=a[12]&&ne(a),d=e.ensure_array_like(a[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(z(a,d,p));let P=!a[12]&&ae(a);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),l=e.space(),o=e.element("p"),s=e.text(a[9]),m=e.space(),y=e.element("p"),h=e.text(a[10]),A=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();b=e.space(),P&&P.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(y,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,l),e.append(n,o),e.append(o,s),e.append(n,m),e.append(n,y),e.append(y,h),e.append(n,A),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let g=0;g<i.length;g+=1)i[g]&&i[g].m(f,null);e.append(t,b),P&&P.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(s,p[9]),w[0]&1024&&e.set_data(h,p[10]),p[12]&&c.p(p,w),w[0]&20864){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=z(p,d,g);i[g]?i[g].p(x,w):(i[g]=S(x),i[g].c(),i[g].m(f,null))}for(;g<i.length;g+=1)i[g].d(1);i.length=d.length}p[12]||P.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),P&&P.d()}}}function ee(a){let t,n,l,o,s,m,y,h,A,_,f=a[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<b.length;c+=1)u[c]=O(W(a,b,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),l=e.space(),o=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),y=e.space(),h=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(o,"structure","title"),e.set_custom_element_data(o,"width","100px"),e.set_custom_element_data(o,"height","20px"),e.set_custom_element_data(o,"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 "+(a[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[12]?"PlayerAccountMobileContainer":"")+" "+(a[13].matches&&a[12]?"PlayerAccountTabletContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,l),e.append(n,o),e.append(n,s),e.append(n,m),e.append(t,y),e.append(t,h);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(h,null);e.append(t,A),e.append(t,_)},p(c,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let i;for(i=0;i<b.length;i+=1){const P=W(c,b,i);u[i]?u[i].p(P,d):(u[i]=O(P),u[i].c(),u[i].m(h,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=b.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function te(a){let t,n,l,o,s,m,y,h,A,_,f=a[11]("title")+"",b,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),l=e.svg_element("defs"),o=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),y=e.svg_element("g"),h=e.svg_element("path"),A=e.space(),_=e.element("h3"),b=e.text(f),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(y,"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(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,l),e.append(l,o),e.append(o,s),e.append(n,m),e.append(m,y),e.append(y,h),e.append(t,A),e.append(t,_),e.append(_,b),u||(c=[e.listen(n,"click",a[15]),e.listen(_,"click",a[15])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(b,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ne(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function S(a){let t,n,l,o,s,m,y=a[41].label+"",h,A,_,f,b;function u(){return a[26](a[41])}return{c(){t=e.element("div"),n=e.element("p"),l=e.element("img"),s=e.space(),m=e.element("span"),h=e.text(y),A=e.space(),e.attr(l,"class","PlayerAccountMenuItemIcon "+(a[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(l.src,o=a[41].img)||e.attr(l,"src",o),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,l),e.append(n,s),e.append(n,m),e.append(m,h),e.append(t,A),f||(b=e.listen(t,"click",u),f=!0)},p(c,d){a=c,d[0]&128&&!e.src_url_equal(l.src,o=a[41].img)&&e.attr(l,"src",o),d[0]&128&&y!==(y=a[41].label+"")&&e.set_data(h,y),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(a[8]===a[41].id&&!a[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,b()}}}function ae(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.set_custom_element_data(n,"mbsource",a[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(l,o){e.insert(l,t,o),e.append(t,n)},p(l,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",l[1]),o[0]&1&&e.set_custom_element_data(n,"session",l[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",l[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",l[3]),o[0]&16&&e.set_custom_element_data(n,"mbsource",l[4])},d(l){l&&e.detach(t)}}}function le(a){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,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function re(a){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,l){e.insert(n,t,l)},d(n){n&&e.detach(t)}}}function O(a){let t,n,l,o,s=!a[12]&&re();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),l=e.element("ui-skeleton"),o=e.space(),e.set_custom_element_data(l,"structure","rectangle"),e.set_custom_element_data(l,"width","100%"),e.set_custom_element_data(l,"height",a[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(a[12]?"PlayerAccountItemWrapMobile":""))},m(m,y){e.insert(m,t,y),s&&s.m(t,null),e.append(t,n),e.append(t,l),e.append(t,o)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function oe(a){let t;function n(s,m){return s[6]?ee:$}let l=n(a),o=l(a);return{c(){t=e.element("div"),o.c()},m(s,m){e.insert(s,t,m),o.m(t,null),a[27](t)},p(s,m){l===(l=n(s))&&o?o.p(s,m):(o.d(1),o=l(s),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o.d(),a[27](null)}}}function ie(a,t,n){let l;e.component_subscribe(a,e.$format,r=>n(11,l=r));let{endpoint:o=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:y=""}=t,{playerid:h=""}=t,{lang:A="en"}=t,{selecteditem:_=""}=t,{userroles:f=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:c}=t,{translationurl:d=""}=t,{activemenuitem:i=""}=t,P=!1,p=!1,w=!0,g,x=[],k,C=window.navigator.userAgent,U=e.getDevice(C)!=="PC",I="",F="";const j=window.matchMedia("(min-width: 768px)"),q=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(v=>{B(v,M[v])})}).catch(M=>{console.error(M)})};Object.keys(H).forEach(r=>{B(r,H[r])});const L=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,y=r.data.session);break}},R=()=>{let r=e.getDevice(C);if(r)return r==="PC"?"dk":"mtWeb"},G=()=>{const r=new URL(`${s}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",R()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),T()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(24,P=!0)})},N=()=>{let r=new URL(`${o}/v1/player/${h}/profile`);r.searchParams.append("userRoles",f);let M={method:"GET",headers:{"X-SessionID":y}};fetch(r.href,M).then(v=>v.json()).then(v=>{n(9,I=v.username),n(10,F=v.email)},v=>{console.error(v)}).finally(()=>{n(25,p=!0)})},E=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},T=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(i)))==null?void 0:r.id)},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},X=()=>{K(A)},Z=()=>{N()};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Q=r=>E(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return a.$$set=r=>{"endpoint"in r&&n(1,o=r.endpoint),"cmsendpoint"in r&&n(16,s=r.cmsendpoint),"env"in r&&n(17,m=r.env),"session"in r&&n(0,y=r.session),"playerid"in r&&n(18,h=r.playerid),"lang"in r&&n(19,A=r.lang),"selecteditem"in r&&n(20,_=r.selecteditem),"userroles"in r&&n(21,f=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,c=r.mbsource),"translationurl"in r&&n(22,d=r.translationurl),"activemenuitem"in r&&n(23,i=r.activemenuitem)},a.$$.update=()=>{a.$$.dirty[0]&50331648&&n(6,w=!P||!p),a.$$.dirty[0]&524288&&A&&X(),a.$$.dirty[0]&786435&&o&&y&&h&&A&&Z(),a.$$.dirty[0]&720896&&s&&A&&m&&G(),a.$$.dirty[0]&8388608&&i&&T(),a.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),a.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),a.$$.dirty[0]&48&&c&&g&&e.setStreamStyling(g,`${c}.Style`),a.$$.dirty[0]&4194304&&d&&q()},[y,o,b,u,c,g,w,x,k,I,F,l,U,j,E,V,s,m,h,A,_,f,d,i,P,p,Q,J]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{endpoint:1,cmsendpoint:16,env:17,session:0,playerid:18,lang:19,selecteditem:20,userroles:21,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:22,activemenuitem:23},Y,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[16]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[17]}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[18]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[20]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[21]}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[22]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[23]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=D;
|