@everymatrix/player-account-controller 1.86.2 → 1.86.4

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.
Files changed (164) hide show
  1. package/components/{GeneralLogout-BtP2SNPX.js → GeneralLogout-BOnb2iBt.js} +835 -856
  2. package/components/GeneralLogout-DDP4rL2J.cjs +21 -0
  3. package/components/{GeneralLogout-hWNQ3J3o.js → GeneralLogout-DjIbOrTj.js} +805 -826
  4. package/components/PlayerAccountBettingHistory-B89zDM2m.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-D0Jedf4O.js +310 -0
  6. package/components/PlayerAccountBettingHistory-DSuwi17X.js +311 -0
  7. package/components/{PlayerAccountBiometrics-BIYcG8cX.js → PlayerAccountBiometrics-QVmfbZzG.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-Dp3Y8HTH.js → PlayerAccountBiometrics-YU3I-IHb.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-S9tvxAFz.cjs → PlayerAccountBiometrics-ynUd1qQ9.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-BbW4iG-i.js → PlayerAccountClosure-Bj4jXSc4.js} +45 -45
  11. package/components/{PlayerAccountClosure-D7pmJiXo.js → PlayerAccountClosure-CMLtteuy.js} +45 -45
  12. package/components/{PlayerAccountClosure-jnEN5Fk4.cjs → PlayerAccountClosure-D45H4qp6.cjs} +1 -1
  13. package/components/{PlayerAccountController-CVnttCYd.js → PlayerAccountController-D3Cks26j.js} +321 -321
  14. package/components/{PlayerAccountController-BrPMvdjL.js → PlayerAccountController-D9L8iTP5.js} +323 -323
  15. package/components/{PlayerAccountController-BKxpSznw.cjs → PlayerAccountController-DAsgXdng.cjs} +1 -1
  16. package/components/{PlayerAccountGamingLimits-BHtPyrhy.js → PlayerAccountGamingLimits-28tjnuGZ.js} +127 -127
  17. package/components/{PlayerAccountGamingLimits-BrXUGipz.js → PlayerAccountGamingLimits-BKWM3ydF.js} +127 -127
  18. package/components/{PlayerAccountGamingLimits-BwYoIU8M.cjs → PlayerAccountGamingLimits-DSnskFV1.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js → PlayerAccountGamingLimitsConfirmationModal-278XFqj4.js} +33 -33
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js → PlayerAccountGamingLimitsConfirmationModal-BOGS6zWj.js} +33 -33
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs → PlayerAccountGamingLimitsConfirmationModal-Y0WlAWLt.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js → PlayerAccountGamingLimitsGroupEdit-CCSs2ZZl.js} +227 -225
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js → PlayerAccountGamingLimitsGroupEdit-CTPRr65m.js} +227 -225
  24. package/components/PlayerAccountGamingLimitsGroupEdit-CvTM9Url.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-BWbMKCJM.js → PlayerAccountGamingLimitsHistory2-B4RJQdmm.js} +37 -37
  26. package/components/{PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs → PlayerAccountGamingLimitsHistory2-BK4iv-bI.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-CxA06bC4.js → PlayerAccountGamingLimitsHistory2-BaAKbqeZ.js} +39 -39
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs → PlayerAccountGamingLimitsInfoCard-BDk7ivhc.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js → PlayerAccountGamingLimitsInfoCard-BNWgZuBf.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js → PlayerAccountGamingLimitsInfoCard-CkWQ4EZm.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js → PlayerAccountGamingLimitsPage2Gm16-BqWqb_Sl.js} +103 -103
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs → PlayerAccountGamingLimitsPage2Gm16-BtbMBUsn.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js → PlayerAccountGamingLimitsPage2Gm16-DgnhVkqB.js} +153 -153
  34. package/components/{PlayerAccountGamingLimitsPopup-1UbtHpM4.js → PlayerAccountGamingLimitsPopup-Dnb4sqOe.js} +26 -26
  35. package/components/{PlayerAccountGamingLimitsPopup-6hO_YTRk.js → PlayerAccountGamingLimitsPopup-QsGFiUFM.js} +26 -26
  36. package/components/{PlayerAccountGamingLimitsPopup-D5nYGWok.cjs → PlayerAccountGamingLimitsPopup-zCNpZt4B.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-H5X72FGo.js → PlayerAccountGamingLimitsWrapper2-BVmH_JL_.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs → PlayerAccountGamingLimitsWrapper2-Bj2uNFuV.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js → PlayerAccountGamingLimitsWrapper2-CNeKBKiF.js} +37 -37
  40. package/components/{PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs → PlayerAccountGeneralConfirmationModal-BHzKxY1M.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-48XuglXa.js → PlayerAccountGeneralConfirmationModal-D8zWkoMs.js} +32 -32
  42. package/components/{PlayerAccountGeneralConfirmationModal-mKvnC-aM.js → PlayerAccountGeneralConfirmationModal-O_Thi6bs.js} +32 -32
  43. package/components/{PlayerAccountMenu-DZYiL86p.js → PlayerAccountMenu-BzSTtrmv.js} +36 -36
  44. package/components/{PlayerAccountMenu-D-3XXdrS.cjs → PlayerAccountMenu-CgsII09V.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-DYFceiv-.js → PlayerAccountMenu-ectFLNth.js} +34 -34
  46. package/components/{PlayerAccountModal-BuDt5h1l.cjs → PlayerAccountModal-CY8gRMWy.cjs} +1 -1
  47. package/components/{PlayerAccountModal-DuBxYfB-.js → PlayerAccountModal-DaOLv-NY.js} +24 -24
  48. package/components/{PlayerAccountModal-vXNHQMMx.js → PlayerAccountModal-SvxOIw-1.js} +24 -24
  49. package/components/{PlayerAccountNotifications-D2sFlbP7.cjs → PlayerAccountNotifications-CIW_UfiN.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-BaVSuY0V.js → PlayerAccountNotifications-Df1nYl5z.js} +31 -31
  51. package/components/{PlayerAccountNotifications-eimwb2B_.js → PlayerAccountNotifications-lUtQW0cy.js} +30 -30
  52. package/components/{PlayerAccountProductRestriction-i5lUVlsQ.cjs → PlayerAccountProductRestriction-Bk8I1Rqd.cjs} +269 -269
  53. package/components/{PlayerAccountProductRestriction-Cbwqgb-P.js → PlayerAccountProductRestriction-DgJUoyYB.js} +1736 -1736
  54. package/components/{PlayerAccountProductRestriction-HYm0eIXb.js → PlayerAccountProductRestriction-EHl8M1GB.js} +1721 -1721
  55. package/components/{PlayerAccountReviewFrequency-B55vgMkU.js → PlayerAccountReviewFrequency-BBLUZ6ex.js} +27 -27
  56. package/components/{PlayerAccountReviewFrequency-oyuyzboO.cjs → PlayerAccountReviewFrequency-CBjQjnfc.cjs} +1 -1
  57. package/components/{PlayerAccountReviewFrequency-D39G6M8w.js → PlayerAccountReviewFrequency-P7uk_Ztp.js} +27 -27
  58. package/components/{PlayerAccountSelfExclusion-Btcxzmyl.js → PlayerAccountSelfExclusion-DfsaDGPw.js} +114 -113
  59. package/components/{PlayerAccountSelfExclusion-CCMP12tO.cjs → PlayerAccountSelfExclusion-DztxNwlD.cjs} +86 -86
  60. package/components/{PlayerAccountSelfExclusion-CY5wEDf5.js → PlayerAccountSelfExclusion-ovuuzWXL.js} +564 -563
  61. package/components/{PlayerAccountTimeout-Cl5M8UZM.js → PlayerAccountTimeout-B5IP0PdK.js} +59 -59
  62. package/components/{PlayerAccountTimeout-CBYSh_gx.cjs → PlayerAccountTimeout-BRXoWqhe.cjs} +1 -1
  63. package/components/{PlayerAccountTimeout-CnmuzL1o.js → PlayerAccountTimeout-DzQi6yWM.js} +59 -59
  64. package/components/{PlayerAccountTransactionsHistory-B89UQBgK.js → PlayerAccountTransactionsHistory-B3fkTCCB.js} +74 -74
  65. package/components/{PlayerAccountTransactionsHistory-DborEyiw.cjs → PlayerAccountTransactionsHistory-DyJM2Ruh.cjs} +1 -1
  66. package/components/{PlayerAccountTransactionsHistory-CuLSo_WG.js → PlayerAccountTransactionsHistory-dE8niHZ5.js} +74 -74
  67. package/components/{PlayerActiveBonuses-Rb7CqkQm.js → PlayerActiveBonuses-BRHjOIvu.js} +59 -59
  68. package/components/{PlayerActiveBonuses-Cv7645BT.js → PlayerActiveBonuses-CbX5Pr0C.js} +55 -55
  69. package/components/{PlayerActiveBonuses-rgpIrlXZ.cjs → PlayerActiveBonuses-DUjeakxU.cjs} +1 -1
  70. package/components/{PlayerBonusCard-D3S1mqXd.js → PlayerBonusCard-BjQyqGUx.js} +64 -64
  71. package/components/{PlayerBonusCard-DDnmH7Q3.cjs → PlayerBonusCard-L76jqlzO.cjs} +1 -1
  72. package/components/{PlayerBonusCard-Byfk3zTj.js → PlayerBonusCard-VRSzYcHq.js} +64 -64
  73. package/components/{PlayerBonusHistory-CjQW7Bz0.js → PlayerBonusHistory-C36LLD9L.js} +35 -35
  74. package/components/{PlayerBonusHistory-KRE5nRLu.cjs → PlayerBonusHistory-CaZuwvZh.cjs} +1 -1
  75. package/components/{PlayerBonusHistory-BKquFnB_.js → PlayerBonusHistory-zDuqv2Xe.js} +35 -35
  76. package/components/{PlayerChangePassword-Dse_H2fj.cjs → PlayerChangePassword-AMc1FhMX.cjs} +1 -1
  77. package/components/{PlayerChangePassword-CrimbboS.js → PlayerChangePassword-Df1yWLGd.js} +64 -64
  78. package/components/{PlayerChangePassword-DjvBDg3y.js → PlayerChangePassword-DvLZa59W.js} +64 -64
  79. package/components/{PlayerDeposit-BBN4CKJK.js → PlayerDeposit-BfA8FXpl.js} +80 -80
  80. package/components/{PlayerDeposit-BZ6g3CTd.js → PlayerDeposit-CaljSGlo.js} +80 -80
  81. package/components/PlayerDeposit-CiYmhvoJ.cjs +1 -0
  82. package/components/{PlayerGamingHistory-00NQrAip.js → PlayerGamingHistory-CAFJZ3_B.js} +61 -61
  83. package/components/{PlayerGamingHistory-S-SzMIdL.cjs → PlayerGamingHistory-CwViv4Q1.cjs} +1 -1
  84. package/components/{PlayerGamingHistory-DzArsva8.js → PlayerGamingHistory-DY_zyXD6.js} +69 -69
  85. package/components/{PlayerPendingWithdrawals-BFjzJT3E.js → PlayerPendingWithdrawals-B1VPUcDU.js} +26 -26
  86. package/components/{PlayerPendingWithdrawals-DjrsUKIF.cjs → PlayerPendingWithdrawals-Clnbqpbc.cjs} +1 -1
  87. package/components/{PlayerPendingWithdrawals-D97Q7Wwu.js → PlayerPendingWithdrawals-Cm0fwSwi.js} +26 -26
  88. package/components/{PlayerProfileInfo-glh0-LDE.cjs → PlayerProfileInfo-C679iFSl.cjs} +1 -1
  89. package/components/{PlayerProfileInfo-jmdB-wXa.js → PlayerProfileInfo-DPdHOj2U.js} +64 -64
  90. package/components/{PlayerProfileInfo-i9uFoUBd.js → PlayerProfileInfo-MihJad1H.js} +64 -64
  91. package/components/{PlayerRealityCheck-CYmf-RVV.cjs → PlayerRealityCheck-C4mPQixI.cjs} +1 -1
  92. package/components/{PlayerRealityCheck-C9r4TGt5.js → PlayerRealityCheck-CFudx21y.js} +45 -45
  93. package/components/{PlayerRealityCheck-pY-GH7Tx.js → PlayerRealityCheck-DTYvcrjT.js} +44 -44
  94. package/components/{PlayerTransactionHistory-DlY_0H_I.cjs → PlayerTransactionHistory-DPxtzy-C.cjs} +1 -1
  95. package/components/{PlayerTransactionHistory-CAA600Et.js → PlayerTransactionHistory-DiLrJt2G.js} +19 -19
  96. package/components/{PlayerTransactionHistory-DY9X6YZW.js → PlayerTransactionHistory-rDPZht6D.js} +19 -19
  97. package/components/{PlayerWithdrawal-BIFTys53.js → PlayerWithdrawal--Aa-nhcx.js} +19 -19
  98. package/components/{PlayerWithdrawal-Dt-iI81t.cjs → PlayerWithdrawal-CBCp9PZ6.cjs} +1 -1
  99. package/components/{PlayerWithdrawal-BcnzA5BS.js → PlayerWithdrawal-CXT9imAf.js} +19 -19
  100. package/es2015/player-account-controller.cjs +1 -1
  101. package/es2015/player-account-controller.js +1 -1
  102. package/esnext/player-account-controller.js +1 -1
  103. package/package.json +1 -1
  104. package/stencil/{checkbox-group-input_16-BC4v8R1S.js → checkbox-group-input_16-BFzhy5Ds.js} +2730 -2726
  105. package/stencil/{checkbox-group-input_16-JIjNKsjV.cjs → checkbox-group-input_16-D97ZQUQc.cjs} +241 -241
  106. package/stencil/{checkbox-group-input_16-RYO1eLMo.js → checkbox-group-input_16-DWlrP0bl.js} +2731 -2727
  107. package/stencil/index-1ef3a64c-7FrzWBo0.js +572 -0
  108. package/stencil/index-1ef3a64c-CiqxxPPf.js +556 -0
  109. package/stencil/index-1ef3a64c-DYVBCVnw.cjs +1 -0
  110. package/stencil/{index-6e523641-BB_MNuoS.js → index-6e523641-B3-KBTxo.js} +215 -215
  111. package/stencil/index-6e523641-BidoKGkF.js +654 -0
  112. package/stencil/index-6e523641-YrOpGARh.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-CeqaT62D.js} +197 -197
  114. package/stencil/index-9c0f6c58-DU0KIZIN.cjs +1 -0
  115. package/stencil/index-9c0f6c58-qzbktWKM.js +576 -0
  116. package/stencil/index-b2193545-BDXOeFnW.js +519 -0
  117. package/stencil/index-b2193545-Cspmk58C.js +503 -0
  118. package/stencil/index-b2193545-Dd6Y7OR7.cjs +1 -0
  119. package/stencil/index-c666b6e6-Al15kG4D.js +611 -0
  120. package/stencil/index-c666b6e6-B6H6r-L0.cjs +1 -0
  121. package/stencil/index-c666b6e6-DaWXT_VY.js +595 -0
  122. package/stencil/{pam-change-password-6b535bd5-CeXNndIG.cjs → pam-change-password-6b535bd5-BiGQ8KVX.cjs} +1 -1
  123. package/stencil/{pam-change-password-6b535bd5-CRmngfXe.js → pam-change-password-6b535bd5-CwKI0Z0X.js} +1 -1
  124. package/stencil/{pam-change-password-6b535bd5-BQRVBjrK.js → pam-change-password-6b535bd5-IDEQf7lQ.js} +1 -1
  125. package/stencil/{pam-change-password-D00SLeAW.js → pam-change-password-ZcgLi1FB.js} +1 -1
  126. package/stencil/{pam-change-password-DYLwctX0.cjs → pam-change-password-okTOstph.cjs} +1 -1
  127. package/stencil/{pam-change-password-DjJxocc2.js → pam-change-password-uAFIJHlm.js} +1 -1
  128. package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-B92GKGxG.js} +1 -1
  129. package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-BgWMJYb9.js} +1 -1
  130. package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CswmhI0w.cjs} +1 -1
  131. package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-8FQE3dtj.cjs} +1 -1
  132. package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-D72p-Fr7.js} +2 -2
  133. package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-Xqkce5rC.js} +2 -2
  134. package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BseCcEeK.js} +1 -1
  135. package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-DOY6gII1.js} +1 -1
  136. package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-Dby1l0Am.cjs} +1 -1
  137. package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-Bl8GtEeG.js} +135 -135
  138. package/stencil/{user-deposit-withdrawal-DfWpITDc.cjs → user-deposit-withdrawal-DSds1LFu.cjs} +2 -2
  139. package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-DcXo00rH.js} +147 -147
  140. package/stencil/{user-transaction-history-BOayQu-b.cjs → user-transaction-history-BOyTKs-L.cjs} +1 -1
  141. package/stencil/{user-transaction-history-Bd1eC2iV.js → user-transaction-history-DQGnZaCf.js} +1 -1
  142. package/stencil/{user-transaction-history-BkmoDFTs.js → user-transaction-history-DsrE-ay4.js} +1 -1
  143. package/stencil/{user-transaction-history_2-CI6uuSIf.cjs → user-transaction-history_2-2E4LODiP.cjs} +279 -279
  144. package/stencil/{user-transaction-history_2-BSVh_kdE.js → user-transaction-history_2-Bd2twNve.js} +4071 -4067
  145. package/stencil/{user-transaction-history_2-PSCBkBVb.js → user-transaction-history_2-DSqMAOln.js} +4057 -4053
  146. package/components/GeneralLogout-CK8tLROK.cjs +0 -21
  147. package/components/PlayerAccountBettingHistory-CSaFsnwC.cjs +0 -1
  148. package/components/PlayerAccountBettingHistory-D3xhBTAE.js +0 -311
  149. package/components/PlayerAccountBettingHistory-RBEtFHjB.js +0 -310
  150. package/components/PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs +0 -2
  151. package/components/PlayerDeposit-rfdArTZi.cjs +0 -1
  152. package/stencil/index-1ef3a64c-BzR_jMKw.cjs +0 -1
  153. package/stencil/index-1ef3a64c-CEngIsyB.js +0 -556
  154. package/stencil/index-1ef3a64c-D5p-wZAC.js +0 -572
  155. package/stencil/index-6e523641-C2D7V1Bj.js +0 -654
  156. package/stencil/index-6e523641-CKmTS6uC.cjs +0 -1
  157. package/stencil/index-9c0f6c58-DEQL19Io.js +0 -576
  158. package/stencil/index-9c0f6c58-XIZolvs1.cjs +0 -1
  159. package/stencil/index-b2193545-0zWC7J3V.js +0 -519
  160. package/stencil/index-b2193545-BDUg7na_.js +0 -503
  161. package/stencil/index-b2193545-C-iFa_cO.cjs +0 -1
  162. package/stencil/index-c666b6e6-Byhd6hcm.js +0 -595
  163. package/stencil/index-c666b6e6-CF6tkxHf.cjs +0 -1
  164. package/stencil/index-c666b6e6-Do6y6LKI.js +0 -611
@@ -1,4 +1,4 @@
1
- import { a as J, $ as K, S as F, i as Q, s as V, f as x, b as X, J as Y, d as S, r as Z, K as $, L as ee, M as te, N as ne, O as oe, c as O, h as L, j as m, l as j, k as _, m as B, t as T, e as l, p as re, q as ie, u as ae, n as le, v as W, w as se, x as ce, y as fe, z as me, A as de, B as ue } from "./GeneralLogout-hWNQ3J3o.js";
1
+ import { a as J, $ as K, S as F, i as Q, f as x, c as V, s as X, b as Y, J as Z, e as _, d as B, t as O, g as l, k as S, l as m, m as j, K as $, L as ee, M as te, n as T, N as ne, O as oe, p as L, r as re, q as ie, u as ae, v as le, w as se, y as ce, z as fe, A as me, x as W, o as de, B as ue } from "./GeneralLogout-DjIbOrTj.js";
2
2
  function P(n, e) {
3
3
  J(n, e);
4
4
  }
@@ -52,7 +52,7 @@ const q = {
52
52
  }
53
53
  };
54
54
  function be(n) {
55
- X(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
55
+ Y(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
56
56
  }
57
57
  const he = (n) => ({}), E = (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(i, c) {
65
- L(i, e, c), m(e, t);
65
+ S(i, e, c), m(e, t);
66
66
  },
67
- p: le,
67
+ p: de,
68
68
  d(i) {
69
- i && S(e);
69
+ i && L(e);
70
70
  }
71
71
  };
72
72
  }
@@ -74,24 +74,24 @@ function H(n) {
74
74
  let e, t, i;
75
75
  return {
76
76
  c() {
77
- e = _("div"), t = _("h2"), i = T(
77
+ e = _("div"), t = _("h2"), i = O(
78
78
  /*modaltitle*/
79
79
  n[1]
80
80
  ), l(e, "class", "GeneralConfirmationTitle");
81
81
  },
82
82
  m(c, d) {
83
- L(c, e, d), m(e, t), m(t, i);
83
+ S(c, e, d), m(e, t), m(t, i);
84
84
  },
85
85
  p(c, d) {
86
86
  d & /*modaltitle*/
87
- 2 && O(
87
+ 2 && T(
88
88
  i,
89
89
  /*modaltitle*/
90
90
  c[1]
91
91
  );
92
92
  },
93
93
  d(c) {
94
- c && S(e);
94
+ c && L(e);
95
95
  }
96
96
  };
97
97
  }
@@ -102,10 +102,10 @@ function R(n) {
102
102
  ), i, c, d;
103
103
  return {
104
104
  c() {
105
- e = _("button"), i = T(t), l(e, "class", "GeneralCancelButton");
105
+ e = _("button"), i = O(t), l(e, "class", "GeneralCancelButton");
106
106
  },
107
107
  m(f, w) {
108
- L(f, e, w), m(e, i), c || (d = j(
108
+ S(f, e, w), m(e, i), c || (d = j(
109
109
  e,
110
110
  "click",
111
111
  /*click_handler*/
@@ -115,10 +115,10 @@ function R(n) {
115
115
  p(f, w) {
116
116
  w & /*$_*/
117
117
  16 && t !== (t = /*$_*/
118
- f[4]("cancel") + "") && O(i, t);
118
+ f[4]("cancel") + "") && T(i, t);
119
119
  },
120
120
  d(f) {
121
- f && S(e), c = !1, d();
121
+ f && L(e), c = !1, d();
122
122
  }
123
123
  };
124
124
  }
@@ -130,7 +130,7 @@ function pe(n) {
130
130
  const g = (
131
131
  /*#slots*/
132
132
  n[16].close
133
- ), A = Y(
133
+ ), A = Z(
134
134
  g,
135
135
  n,
136
136
  /*$$scope*/
@@ -146,13 +146,13 @@ function pe(n) {
146
146
  );
147
147
  return {
148
148
  c() {
149
- e = _("div"), t = _("div"), i = _("span"), C && C.c(), c = B(), s && s.c(), d = B(), f = _("div"), w = B(), b = _("div"), a && a.c(), y = B(), h = _("button"), k = T(v), l(i, "class", "ModalCloseBtn"), l(i, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(h, "class", "GeneralConfirmButton"), l(b, "class", "GeneralConfirmationControlArea " + /*isMobile*/
149
+ e = _("div"), t = _("div"), i = _("span"), C && C.c(), c = B(), s && s.c(), d = B(), f = _("div"), w = B(), b = _("div"), a && a.c(), y = B(), h = _("button"), k = O(v), l(i, "class", "ModalCloseBtn"), l(i, "role", "button"), l(f, "class", "GeneralConfirmationContent"), l(h, "class", "GeneralConfirmButton"), l(b, "class", "GeneralConfirmationControlArea " + /*isMobile*/
150
150
  (n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
151
151
  (n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
152
152
  (n[5] ? "GeneralConfirmationMobileWrapper" : ""));
153
153
  },
154
154
  m(r, p) {
155
- L(r, e, p), m(e, t), m(t, i), C && C.m(i, null), m(t, c), s && s.m(t, null), m(t, d), m(t, f), f.innerHTML = /*modaltext*/
155
+ S(r, e, p), m(e, t), m(t, i), C && C.m(i, null), m(t, c), s && s.m(t, null), m(t, d), m(t, f), f.innerHTML = /*modaltext*/
156
156
  n[0], m(t, w), m(t, b), a && a.m(b, null), m(b, y), m(b, h), m(h, k), n[19](e), u = !0, G || (M = [
157
157
  j(
158
158
  i,
@@ -170,19 +170,19 @@ function pe(n) {
170
170
  },
171
171
  p(r, [p]) {
172
172
  A && A.p && (!u || p & /*$$scope*/
173
- 32768) && te(
173
+ 32768) && $(
174
174
  A,
175
175
  g,
176
176
  r,
177
177
  /*$$scope*/
178
178
  r[15],
179
- u ? oe(
179
+ u ? te(
180
180
  g,
181
181
  /*$$scope*/
182
182
  r[15],
183
183
  p,
184
184
  he
185
- ) : ne(
185
+ ) : ee(
186
186
  /*$$scope*/
187
187
  r[15]
188
188
  ),
@@ -193,23 +193,23 @@ function pe(n) {
193
193
  r[0]), /*hascancelbutton*/
194
194
  r[2] ? a ? a.p(r, p) : (a = R(r), a.c(), a.m(b, y)) : a && (a.d(1), a = null), (!u || p & /*$_*/
195
195
  16) && v !== (v = /*$_*/
196
- r[4]("confirm") + "") && O(k, v);
196
+ r[4]("confirm") + "") && T(k, v);
197
197
  },
198
198
  i(r) {
199
- u || (ee(C, r), u = !0);
199
+ u || (ne(C, r), u = !0);
200
200
  },
201
201
  o(r) {
202
- $(C, r), u = !1;
202
+ oe(C, r), u = !1;
203
203
  },
204
204
  d(r) {
205
- r && S(e), C && C.d(r), s && s.d(), a && a.d(), n[19](null), G = !1, Z(M);
205
+ r && L(e), C && C.d(r), s && s.d(), a && a.d(), n[19](null), G = !1, re(M);
206
206
  }
207
207
  };
208
208
  }
209
209
  function xe(n, e, t) {
210
210
  let i;
211
- re(n, ue, (o) => t(4, i = o));
212
- let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: w = "" } = e, { hascancelbutton: b = !1 } = e, { modalconfirmevent: y = {} } = e, { modalcancelevent: h = {} } = e, { lang: v = "en" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: G = "" } = e, { mbsource: M } = e, g, A = window.navigator.userAgent, C = ie(A) !== "PC";
211
+ ie(n, ue, (o) => t(4, i = o));
212
+ let { $$slots: c = {}, $$scope: d } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: w = "" } = e, { hascancelbutton: b = !1 } = e, { modalconfirmevent: y = {} } = e, { modalcancelevent: h = {} } = e, { lang: v = "en" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: G = "" } = e, { mbsource: M } = e, g, A = window.navigator.userAgent, C = ae(A) !== "PC";
213
213
  const s = () => {
214
214
  window.postMessage({ type: "ModalClosed" }, window.location.href);
215
215
  }, a = (o) => {
@@ -229,11 +229,11 @@ function xe(n, e, t) {
229
229
  const p = () => {
230
230
  ge(v);
231
231
  };
232
- ae(() => () => {
232
+ le(() => () => {
233
233
  });
234
234
  const U = () => a("cancel"), D = () => a("confirm");
235
235
  function I(o) {
236
- se[o ? "unshift" : "push"](() => {
236
+ ce[o ? "unshift" : "push"](() => {
237
237
  g = o, t(3, g);
238
238
  });
239
239
  }
@@ -242,9 +242,9 @@ function xe(n, e, t) {
242
242
  }, n.$$.update = () => {
243
243
  n.$$.dirty & /*modaltext, lang*/
244
244
  1025 && f && v && p(), n.$$.dirty & /*clientstyling, customStylingContainer*/
245
- 2056 && k && g && ce(g, k), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
246
- 4104 && u && g && fe(g, u), n.$$.dirty & /*mbsource, customStylingContainer*/
247
- 16392 && M && g && me(g, `${M}.Style`), n.$$.dirty & /*translationurl*/
245
+ 2056 && k && g && fe(g, k), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
246
+ 4104 && u && g && me(g, u), n.$$.dirty & /*mbsource, customStylingContainer*/
247
+ 16392 && M && g && se(g, `${M}.Style`), n.$$.dirty & /*translationurl*/
248
248
  8192 && G && r();
249
249
  }, [
250
250
  f,
@@ -276,7 +276,7 @@ class we extends F {
276
276
  e,
277
277
  xe,
278
278
  pe,
279
- V,
279
+ X,
280
280
  {
281
281
  modaltext: 0,
282
282
  modaltitle: 1,
@@ -353,7 +353,7 @@ class we extends F {
353
353
  this.$$set({ mbsource: e }), x();
354
354
  }
355
355
  }
356
- de(we, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
356
+ V(we, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
357
357
  export {
358
358
  we as default
359
359
  };
@@ -1,5 +1,5 @@
1
- import { a as ue, $ as me, S as ge, i as de, s as fe, f as F, b as ye, n as O, d as C, h as L, k as b, p as pe, q as G, u as he, w as be, C as T, D as $, j as a, m as I, g as m, e as g, c as S, t as H, r as Ae, l as j, v as W, a2 as V, x as Me, y as Pe, z as we, A as ve, B as _e } from "./GeneralLogout-hWNQ3J3o.js";
2
- import "../stencil/ui-skeleton-CTFP1U_H.js";
1
+ import { a as ue, $ as me, S as ge, i as de, f as F, c as fe, s as ye, b as pe, e as b, k as C, o as O, p as L, q as he, u as G, v as be, w as Ae, y as Me, z as Pe, A as we, C as T, d as I, t as H, g, l as a, n as S, D as $, h as m, x as W, m as z, r as ve, a2 as V, B as _e } from "./GeneralLogout-DjIbOrTj.js";
2
+ import "../stencil/ui-skeleton-Xqkce5rC.js";
3
3
  function X(n, e) {
4
4
  ue(n, e);
5
5
  }
@@ -53,12 +53,12 @@ if (typeof window != "undefined") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = n(customElements.define), import("./GeneralLogout-hWNQ3J3o.js").then((e) => e.a9).then(({ default: e }) => {
56
+ customElements.define = n(customElements.define), import("./GeneralLogout-DjIbOrTj.js").then((e) => e.a9).then(({ default: e }) => {
57
57
  !customElements.get("general-logout") && customElements.define("general-logout", e.element);
58
58
  });
59
59
  }
60
60
  function xe(n) {
61
- ye(n, "svelte-5g0xrl", ".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
61
+ pe(n, "svelte-5g0xrl", ".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
62
62
  }
63
63
  function J(n, e, t) {
64
64
  const l = n.slice();
@@ -99,7 +99,7 @@ function Ie(n) {
99
99
  (n[12] ? "PlayerAccountMobileContainer" : ""));
100
100
  },
101
101
  m(y, _) {
102
- L(y, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, d), a(t, p), a(p, A), a(t, v), c && c.m(t, null), a(e, M), a(e, h);
102
+ C(y, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, d), a(t, p), a(p, A), a(t, v), c && c.m(t, null), a(e, M), a(e, h);
103
103
  for (let w = 0; w < r.length; w += 1)
104
104
  r[w] && r[w].m(h, null);
105
105
  a(e, P), x && x.m(e, null);
@@ -138,7 +138,7 @@ function Ie(n) {
138
138
  y[12] || x.p(y, _);
139
139
  },
140
140
  d(y) {
141
- y && C(e), u && u.d(), c && c.d(), $(r, y), x && x.d();
141
+ y && L(e), u && u.d(), c && c.d(), $(r, y), x && x.d();
142
142
  }
143
143
  };
144
144
  }
@@ -159,7 +159,7 @@ function Fe(n) {
159
159
  (n[12] ? "PlayerAccountMobileContainer" : ""));
160
160
  },
161
161
  m(c, f) {
162
- L(c, e, f), a(e, t), h && h.m(t, null), a(t, l), a(t, i), a(t, s), a(t, d), a(e, p), a(e, A);
162
+ C(c, e, f), a(e, t), h && h.m(t, null), a(t, l), a(t, i), a(t, s), a(t, d), a(e, p), a(e, A);
163
163
  for (let r = 0; r < u.length; r += 1)
164
164
  u[r] && u[r].m(A, null);
165
165
  a(e, v), a(e, M);
@@ -179,7 +179,7 @@ function Fe(n) {
179
179
  }
180
180
  },
181
181
  d(c) {
182
- c && C(e), h && h.d(), $(u, c);
182
+ c && L(e), h && h.d(), $(u, c);
183
183
  }
184
184
  };
185
185
  }
@@ -193,14 +193,14 @@ function Ce(n) {
193
193
  e = b("div"), t = W("svg"), l = W("defs"), i = W("style"), s = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), d = W("g"), p = W("g"), A = W("path"), v = I(), M = b("h3"), P = H(h), g(A, "class", "aaa"), g(A, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(A, "transform", "translate(15 15) rotate(180)"), g(p, "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(M, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
194
194
  },
195
195
  m(f, r) {
196
- L(f, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, p), a(p, A), a(e, v), a(e, M), a(M, P), u || (c = [
197
- j(
196
+ C(f, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, p), a(p, A), a(e, v), a(e, M), a(M, P), u || (c = [
197
+ z(
198
198
  t,
199
199
  "click",
200
200
  /*goToHome*/
201
201
  n[14]
202
202
  ),
203
- j(
203
+ z(
204
204
  M,
205
205
  "click",
206
206
  /*goToHome*/
@@ -214,7 +214,7 @@ function Ce(n) {
214
214
  f[11]("title") + "") && S(P, h);
215
215
  },
216
216
  d(f) {
217
- f && C(e), u = !1, Ae(c);
217
+ f && L(e), u = !1, ve(c);
218
218
  }
219
219
  };
220
220
  }
@@ -250,7 +250,7 @@ function Le(n) {
250
250
  ), g(e, "class", "PlayerAccountLogOutArea");
251
251
  },
252
252
  m(l, i) {
253
- L(l, e, i), a(e, t);
253
+ C(l, e, i), a(e, t);
254
254
  },
255
255
  p(l, i) {
256
256
  i[0] & /*endpoint*/
@@ -286,7 +286,7 @@ function Le(n) {
286
286
  );
287
287
  },
288
288
  d(l) {
289
- l && C(e);
289
+ l && L(e);
290
290
  }
291
291
  };
292
292
  }
@@ -314,7 +314,7 @@ function Q(n) {
314
314
  n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
315
315
  },
316
316
  m(c, f) {
317
- L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, v), h || (P = j(e, "click", u), h = !0);
317
+ C(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, v), h || (P = z(e, "click", u), h = !0);
318
318
  },
319
319
  p(c, f) {
320
320
  n = c, f[0] & /*menuItems*/
@@ -328,7 +328,7 @@ function Q(n) {
328
328
  n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", M);
329
329
  },
330
330
  d(c) {
331
- c && C(e), h = !1, P();
331
+ c && L(e), h = !1, P();
332
332
  }
333
333
  };
334
334
  }
@@ -364,7 +364,7 @@ function Ee(n) {
364
364
  ), g(e, "class", "PlayerAccountLogOutArea");
365
365
  },
366
366
  m(l, i) {
367
- L(l, e, i), a(e, t);
367
+ C(l, e, i), a(e, t);
368
368
  },
369
369
  p(l, i) {
370
370
  i[0] & /*endpoint*/
@@ -400,7 +400,7 @@ function Ee(n) {
400
400
  );
401
401
  },
402
402
  d(l) {
403
- l && C(e);
403
+ l && L(e);
404
404
  }
405
405
  };
406
406
  }
@@ -411,10 +411,10 @@ function Be(n) {
411
411
  e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
412
412
  },
413
413
  m(t, l) {
414
- L(t, e, l);
414
+ C(t, e, l);
415
415
  },
416
416
  d(t) {
417
- t && C(e);
417
+ t && L(e);
418
418
  }
419
419
  };
420
420
  }
@@ -425,10 +425,10 @@ function We(n) {
425
425
  e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
426
426
  },
427
427
  m(t, l) {
428
- L(t, e, l);
428
+ C(t, e, l);
429
429
  },
430
430
  d(t) {
431
- t && C(e);
431
+ t && L(e);
432
432
  }
433
433
  };
434
434
  }
@@ -446,11 +446,11 @@ function Y(n) {
446
446
  (n[12] ? "PlayerAccountItemWrapMobile" : ""));
447
447
  },
448
448
  m(d, p) {
449
- L(d, e, p), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
449
+ C(d, e, p), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
450
450
  },
451
451
  p: O,
452
452
  d(d) {
453
- d && C(e), s && s.d();
453
+ d && L(e), s && s.d();
454
454
  }
455
455
  };
456
456
  }
@@ -468,7 +468,7 @@ function He(n) {
468
468
  e = b("div"), i.c();
469
469
  },
470
470
  m(s, d) {
471
- L(s, e, d), i.m(e, null), n[25](e);
471
+ C(s, e, d), i.m(e, null), n[25](e);
472
472
  },
473
473
  p(s, d) {
474
474
  l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
@@ -476,14 +476,14 @@ function He(n) {
476
476
  i: O,
477
477
  o: O,
478
478
  d(s) {
479
- s && C(e), i.d(), n[25](null);
479
+ s && L(e), i.d(), n[25](null);
480
480
  }
481
481
  };
482
482
  }
483
483
  function Te(n, e, t) {
484
484
  let l;
485
- pe(n, _e, (o) => t(11, l = o));
486
- let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: v = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, x = !1, y = !0, _, w = [], B, z = window.navigator.userAgent, ee = G(z) !== "PC", U = "", D = "";
485
+ he(n, _e, (o) => t(11, l = o));
486
+ let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: v = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, x = !1, y = !0, _, w = [], B, j = window.navigator.userAgent, ee = G(j) !== "PC", U = "", D = "";
487
487
  window.matchMedia("(min-width: 768px)");
488
488
  const te = () => {
489
489
  fetch(u).then((k) => k.json()).then((k) => {
@@ -505,7 +505,7 @@ function Te(n, e, t) {
505
505
  break;
506
506
  }
507
507
  }, ne = () => {
508
- let o = G(z);
508
+ let o = G(j);
509
509
  if (o)
510
510
  return o === "PC" ? "dk" : "mtWeb";
511
511
  }, le = () => {
@@ -546,12 +546,12 @@ function Te(n, e, t) {
546
546
  }, ae = () => {
547
547
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
548
548
  };
549
- he(() => (window.addEventListener("message", R, !1), () => {
549
+ be(() => (window.addEventListener("message", R, !1), () => {
550
550
  window.removeEventListener("message", R);
551
551
  }));
552
552
  const ce = (o) => q(o);
553
553
  function se(o) {
554
- be[o ? "unshift" : "push"](() => {
554
+ Me[o ? "unshift" : "push"](() => {
555
555
  _ = o, t(5, _);
556
556
  });
557
557
  }
@@ -564,9 +564,9 @@ function Te(n, e, t) {
564
564
  393219 && i && p && A && v && re(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
565
565
  360448 && s && v && d && le(), n.$$.dirty[0] & /*activemenuitem*/
566
566
  2097152 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
567
- 36 && h && _ && Me(_, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
568
- 40 && P && _ && Pe(_, P), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
569
- 48 && f && _ && we(_, `${f}.Style`), n.$$.dirty[0] & /*translationurl*/
567
+ 36 && h && _ && Pe(_, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
568
+ 40 && P && _ && we(_, P), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
569
+ 48 && f && _ && Ae(_, `${f}.Style`), n.$$.dirty[0] & /*translationurl*/
570
570
  1048576 && u && te();
571
571
  }, [
572
572
  p,
@@ -604,7 +604,7 @@ class Se extends ge {
604
604
  e,
605
605
  Te,
606
606
  He,
607
- fe,
607
+ ye,
608
608
  {
609
609
  endpoint: 1,
610
610
  cmsendpoint: 15,
@@ -696,7 +696,7 @@ class Se extends ge {
696
696
  this.$$set({ mbsource: e }), F();
697
697
  }
698
698
  }
699
- ve(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
699
+ fe(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
700
700
  export {
701
701
  Se as default
702
702
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CK8tLROK.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");function B(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CK8tLROK.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-5g0xrl",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function H(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Q(l){let t,n,a,r,s,m,g,_,A,y,f,h,u=l[12]&&$(l),c=l[12]&&ee(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(H(l,d,p));let v=!l[12]&&te(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),_=e.text(l[10]),A=e.space(),c&&c.c(),y=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,M){e.insert(p,t,M),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,_),e.append(n,A),c&&c.m(n,null),e.append(t,y),e.append(t,f);for(let b=0;b<i.length;b+=1)i[b]&&i[b].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,M){if(p[12]&&u.p(p,M),M[0]&512&&e.set_data(s,p[9]),M[0]&1024&&e.set_data(_,p[10]),p[12]&&c.p(p,M),M[0]&12672){d=e.ensure_array_like(p[7]);let b;for(b=0;b<d.length;b+=1){const k=H(p,d,b);i[b]?i[b].p(k,M):(i[b]=S(k),i[b].c(),i[b].m(f,null))}for(;b<i.length;b+=1)i[b].d(1);i.length=d.length}p[12]||v.p(p,M)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function Y(l){let t,n,a,r,s,m,g,_,A,y,f=l[12]&&ne(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=O(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,A),e.append(t,y)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=O(v),u[i].c(),u[i].m(_,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function $(l){let t,n,a,r,s,m,g,_,A,y,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),h=e.text(f),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(g,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,_),e.append(t,A),e.append(t,y),e.append(y,h),u||(c=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ee(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,g=l[40].label+"",_,A,y,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),_=e.text(g),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,_),e.append(t,A),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(_,g),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(c){c&&e.detach(t),f=!1,h()}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function ne(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,r,s=!l[12]&&le();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function ae(l){let t;function n(s,m){return s[6]?Y:Q}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{userroles:y=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,M,b=[],k,x=window.navigator.userAgent,z=e.getDevice(x)!=="PC",I="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{B(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(W).forEach(o=>{B(o,W[o])});const C=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},D=()=>{let o=e.getDevice(x);if(o)return o==="PC"?"dk":"mtWeb"},q=()=>{const o=new URL(`${s}/${A}/profile-menu?env=${m}`);o.searchParams.append("device",D()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,b=P),E()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},R=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",y);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,F=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,k=o.id)},E=()=>{var o;n(8,k=(o=b.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{J(A)},N=()=>{R()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{M=o,n(5,M)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,_=o.playerid),"lang"in o&&n(18,A=o.lang),"userroles"in o&&n(19,y=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&A&&G(),l.$$.dirty[0]&393219&&r&&g&&_&&A&&N(),l.$$.dirty[0]&360448&&s&&A&&m&&q(),l.$$.dirty[0]&2097152&&c&&E(),l.$$.dirty[0]&36&&f&&M&&e.setClientStyling(M,f),l.$$.dirty[0]&40&&h&&M&&e.setClientStylingURL(M,h),l.$$.dirty[0]&48&&d&&M&&e.setStreamStyling(M,`${d}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[g,r,f,h,d,M,p,b,k,I,F,a,z,L,V,s,m,_,A,y,u,c,i,v,X,Z]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ae,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DDP4rL2J.cjs");require("../stencil/ui-skeleton-8FQE3dtj.cjs");function B(l,t){e.addMessages(l,t)}function J(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-DDP4rL2J.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function K(l){e.append_styles(l,"svelte-5g0xrl",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function H(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Q(l){let t,n,a,r,s,m,g,_,A,y,f,h,u=l[12]&&$(l),c=l[12]&&ee(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=S(H(l,d,p));let v=!l[12]&&te(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),_=e.text(l[10]),A=e.space(),c&&c.c(),y=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,M){e.insert(p,t,M),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,_),e.append(n,A),c&&c.m(n,null),e.append(t,y),e.append(t,f);for(let b=0;b<i.length;b+=1)i[b]&&i[b].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,M){if(p[12]&&u.p(p,M),M[0]&512&&e.set_data(s,p[9]),M[0]&1024&&e.set_data(_,p[10]),p[12]&&c.p(p,M),M[0]&12672){d=e.ensure_array_like(p[7]);let b;for(b=0;b<d.length;b+=1){const k=H(p,d,b);i[b]?i[b].p(k,M):(i[b]=S(k),i[b].c(),i[b].m(f,null))}for(;b<i.length;b+=1)i[b].d(1);i.length=d.length}p[12]||v.p(p,M)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function Y(l){let t,n,a,r,s,m,g,_,A,y,f=l[12]&&ne(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=O(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),_=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,_);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(_,null);e.append(t,A),e.append(t,y)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=O(v),u[i].c(),u[i].m(_,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function $(l){let t,n,a,r,s,m,g,_,A,y,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),h=e.text(f),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(g,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,_),e.append(t,A),e.append(t,y),e.append(y,h),u||(c=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function ee(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,r,s,m,g=l[40].label+"",_,A,y,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),_=e.text(g),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,_),e.append(t,A),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(_,g),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(c){c&&e.detach(t),f=!1,h()}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function ne(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,r,s=!l[12]&&le();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function ae(l){let t;function n(s,m){return s[6]?Y:Q}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function re(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{userroles:y=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,M,b=[],k,x=window.navigator.userAgent,z=e.getDevice(x)!=="PC",I="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{B(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(W).forEach(o=>{B(o,W[o])});const C=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},D=()=>{let o=e.getDevice(x);if(o)return o==="PC"?"dk":"mtWeb"},q=()=>{const o=new URL(`${s}/${A}/profile-menu?env=${m}`);o.searchParams.append("device",D()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,b=P),E()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},R=()=>{let o=new URL(`${r}/v1/player/${_}/profile`);o.searchParams.append("userRoles",y);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,I=w.username),n(10,F=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},L=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,k=o.id)},E=()=>{var o;n(8,k=(o=b.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{J(A)},N=()=>{R()},V=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const X=o=>L(o);function Z(o){e.binding_callbacks[o?"unshift":"push"](()=>{M=o,n(5,M)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,_=o.playerid),"lang"in o&&n(18,A=o.lang),"userroles"in o&&n(19,y=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&A&&G(),l.$$.dirty[0]&393219&&r&&g&&_&&A&&N(),l.$$.dirty[0]&360448&&s&&A&&m&&q(),l.$$.dirty[0]&2097152&&c&&E(),l.$$.dirty[0]&36&&f&&M&&e.setClientStyling(M,f),l.$$.dirty[0]&40&&h&&M&&e.setClientStylingURL(M,h),l.$$.dirty[0]&48&&d&&M&&e.setStreamStyling(M,`${d}.Style`),l.$$.dirty[0]&1048576&&u&&U()},[g,r,f,h,d,M,p,b,k,I,F,a,z,L,V,s,m,_,A,y,u,c,i,v,X,Z]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,ae,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},K,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=j;