@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/components/GeneralLogout-9pZTJKCj.cjs +8 -0
  2. package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
  3. package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
  6. package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
  7. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
  9. package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
  10. package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
  11. package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
  13. package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
  14. package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
  15. package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
  28. package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
  34. package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
  35. package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
  36. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  37. package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
  41. package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
  44. package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
  45. package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
  46. package/components/PlayerAccountModal-C7aE-f75.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
  49. package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
  50. package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
  51. package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
  52. package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
  53. package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
  54. package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
  55. package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
  57. package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
  58. package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
  59. package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
  60. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
  63. package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
  64. package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
  65. package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
  66. package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
  67. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  68. package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
  69. package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
  72. package/components/PlayerDeposit-IS6_f845.js +391 -0
  73. package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
  74. package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
  75. package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
  76. package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
  77. package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
  80. package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
  81. package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
  82. package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
  83. package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
  84. package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
  85. package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
  86. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  87. package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
  90. package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  97. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
  98. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
  100. package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
  101. package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
  102. package/stencil/general-input-wM2i7b57.cjs +1 -0
  103. package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
  104. package/stencil/index-92b64862-C_69cKxK.js +708 -0
  105. package/stencil/index-92b64862-w9a1l35N.js +692 -0
  106. package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
  107. package/stencil/index-db5752f9-DrdunCay.js +610 -0
  108. package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
  109. package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
  110. package/stencil/password-input_2-CdHS5fmR.js +569 -0
  111. package/stencil/password-input_2-DdQvCp3o.js +569 -0
  112. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
  113. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
  114. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  115. package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
  116. package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
  117. package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
  118. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
  119. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
  120. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
  121. package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
  122. package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
  123. package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
  124. package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
  125. package/stencil/ui-skeleton-CGldUjn2.js +29 -0
  126. package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
  127. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
  128. package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
  129. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
  130. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  131. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  132. package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
  133. package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
  134. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  135. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  136. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  137. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
  138. package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
  139. package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
  140. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
  141. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  142. package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
  143. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
  144. package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
  145. package/components/PlayerAccountModal-BK81ZotM.js +0 -213
  146. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  147. package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
  148. package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
  149. package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
  150. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  151. package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
  152. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
  153. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  154. package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
  155. package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
  156. package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
  157. package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
  158. package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
  159. package/components/PlayerDeposit-BIBRCGiC.js +0 -414
  160. package/components/PlayerDeposit-B_7saxic.js +0 -414
  161. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  162. package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
  163. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  164. package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
  165. package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
  166. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  167. package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
  168. package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
  169. package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
  170. package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
  171. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  172. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  173. package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
  174. package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
  175. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  176. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  177. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  178. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  179. package/stencil/general-input-igTYIJ6W.cjs +0 -1
  180. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  181. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  182. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  183. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  184. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  185. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  186. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  187. package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
  188. package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
  189. package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
  190. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  191. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -0,0 +1,694 @@
1
+ import { a as de, $ as ge, S as ye, i as pe, f as C, s as fe, A as he, b as Ae, n as O, d as F, g as L, j as h, p as be, q as V, u as Me, w as Pe, N as H, O as ee, h as a, k, e as g, o as d, c as W, m as z, r as we, l as D, v as T, a0 as X, B as ve, x as xe, y as _e, z as ke } from "./GeneralLogout-CqNn1bEG.js";
2
+ import "../stencil/ui-skeleton-BL5JJXyn.js";
3
+ function Z(n, e) {
4
+ de(n, e);
5
+ }
6
+ function Ce(n) {
7
+ ge.set(n);
8
+ }
9
+ const Q = {
10
+ en: {
11
+ title: "My Account"
12
+ },
13
+ "zh-hk": {
14
+ title: "我的帳戶"
15
+ },
16
+ fr: {
17
+ title: "Mon compte"
18
+ },
19
+ tr: {
20
+ title: "Hesabım"
21
+ },
22
+ ro: {
23
+ title: "Contul meu"
24
+ },
25
+ es: {
26
+ title: "Mi Cuenta"
27
+ },
28
+ pt: {
29
+ title: "Minha Conta"
30
+ },
31
+ hr: {
32
+ title: "Moj račun"
33
+ },
34
+ "pt-br": {
35
+ title: "Minha conta"
36
+ },
37
+ "es-mx": {
38
+ title: "Mi cuenta"
39
+ },
40
+ "en-us": {
41
+ title: "My Account"
42
+ }
43
+ };
44
+ if (typeof window < "u") {
45
+ let n = function(e) {
46
+ return function(...t) {
47
+ try {
48
+ return e.apply(this, t);
49
+ } catch (l) {
50
+ if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
51
+ return !1;
52
+ throw l;
53
+ }
54
+ };
55
+ };
56
+ customElements.define = n(customElements.define), import("./GeneralLogout-CqNn1bEG.js").then((e) => e.a6).then(({ default: e }) => {
57
+ !customElements.get("general-logout") && customElements.define("general-logout", e.element);
58
+ });
59
+ }
60
+ function Ie(n) {
61
+ Ae(n, "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}}');
62
+ }
63
+ function J(n, e, t) {
64
+ const l = n.slice();
65
+ return l[41] = e[t], l;
66
+ }
67
+ function K(n, e, t) {
68
+ const l = n.slice();
69
+ return l[38] = e[t], l;
70
+ }
71
+ function Fe(n) {
72
+ let e, t, l, i, s, m, A, M, v, P, b, w, u = (
73
+ /*isMobile*/
74
+ n[11] && Ee(n)
75
+ ), c = (
76
+ /*isMobile*/
77
+ n[11] && Be(n)
78
+ ), y = H(
79
+ /*menuItems*/
80
+ n[6]
81
+ ), o = [];
82
+ for (let p = 0; p < y.length; p += 1)
83
+ o[p] = Y(J(n, y, p));
84
+ let x = !/*isMobile*/
85
+ n[11] && Te(n);
86
+ return {
87
+ c() {
88
+ e = h("div"), t = h("div"), u && u.c(), l = k(), i = h("p"), s = z(
89
+ /*profileUsername*/
90
+ n[8]
91
+ ), m = k(), A = h("p"), M = z(
92
+ /*profileEmail*/
93
+ n[9]
94
+ ), v = k(), c && c.c(), P = k(), b = h("div");
95
+ for (let p = 0; p < o.length; p += 1)
96
+ o[p].c();
97
+ w = k(), x && x.c(), d(i, "class", "PlayerAccountMenuUser"), d(A, "class", "PlayerAccountMenuEmail"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
+ (n[11] ? "PlayerAccountMenuHeaderMobile" : "")), d(b, "class", "PlayerAccountMenuList"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
+ (n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
100
+ (n[12].matches && /*isMobile*/
101
+ n[11] ? "PlayerAccountTabletContainer" : ""));
102
+ },
103
+ m(p, I) {
104
+ L(p, e, I), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, m), a(t, A), a(A, M), a(t, v), c && c.m(t, null), a(e, P), a(e, b);
105
+ for (let f = 0; f < o.length; f += 1)
106
+ o[f] && o[f].m(b, null);
107
+ a(e, w), x && x.m(e, null);
108
+ },
109
+ p(p, I) {
110
+ if (
111
+ /*isMobile*/
112
+ p[11] && u.p(p, I), I[0] & /*profileUsername*/
113
+ 256 && W(
114
+ s,
115
+ /*profileUsername*/
116
+ p[8]
117
+ ), I[0] & /*profileEmail*/
118
+ 512 && W(
119
+ M,
120
+ /*profileEmail*/
121
+ p[9]
122
+ ), /*isMobile*/
123
+ p[11] && c.p(p, I), I[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
124
+ 10432
125
+ ) {
126
+ y = H(
127
+ /*menuItems*/
128
+ p[6]
129
+ );
130
+ let f;
131
+ for (f = 0; f < y.length; f += 1) {
132
+ const B = J(p, y, f);
133
+ o[f] ? o[f].p(B, I) : (o[f] = Y(B), o[f].c(), o[f].m(b, null));
134
+ }
135
+ for (; f < o.length; f += 1)
136
+ o[f].d(1);
137
+ o.length = y.length;
138
+ }
139
+ /*isMobile*/
140
+ p[11] || x.p(p, I);
141
+ },
142
+ d(p) {
143
+ p && F(e), u && u.d(), c && c.d(), ee(o, p), x && x.d();
144
+ }
145
+ };
146
+ }
147
+ function Le(n) {
148
+ let e, t, l, i, s, m, A, M, v, P, b = (
149
+ /*isMobile*/
150
+ n[11] && ze()
151
+ ), w = H(Array(18)), u = [];
152
+ for (let c = 0; c < w.length; c += 1)
153
+ u[c] = $(K(n, w, c));
154
+ return {
155
+ c() {
156
+ e = h("div"), t = h("div"), b && b.c(), l = k(), i = h("ui-skeleton"), s = k(), m = h("ui-skeleton"), A = k(), M = h("div");
157
+ for (let c = 0; c < u.length; c += 1)
158
+ u[c].c();
159
+ v = k(), P = h("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', g(i, "structure", "title"), g(i, "width", "100px"), g(i, "height", "20px"), g(i, "margin-top", "20px"), g(m, "structure", "text"), g(m, "width", "200px"), g(m, "height", "20px"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
+ (n[11] ? "PlayerAccountMenuHeaderMobile" : "")), d(M, "class", "PlayerAccountMenuList"), d(P, "class", "skeletonLogOut"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
161
+ (n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
162
+ (n[12].matches && /*isMobile*/
163
+ n[11] ? "PlayerAccountTabletContainer" : ""));
164
+ },
165
+ m(c, y) {
166
+ L(c, e, y), a(e, t), b && b.m(t, null), a(t, l), a(t, i), a(t, s), a(t, m), a(e, A), a(e, M);
167
+ for (let o = 0; o < u.length; o += 1)
168
+ u[o] && u[o].m(M, null);
169
+ a(e, v), a(e, P);
170
+ },
171
+ p(c, y) {
172
+ if (y[0] & /*isMobile*/
173
+ 2048) {
174
+ w = H(Array(18));
175
+ let o;
176
+ for (o = 0; o < w.length; o += 1) {
177
+ const x = K(c, w, o);
178
+ u[o] ? u[o].p(x, y) : (u[o] = $(x), u[o].c(), u[o].m(M, null));
179
+ }
180
+ for (; o < u.length; o += 1)
181
+ u[o].d(1);
182
+ u.length = w.length;
183
+ }
184
+ },
185
+ d(c) {
186
+ c && F(e), b && b.d(), ee(u, c);
187
+ }
188
+ };
189
+ }
190
+ function Ee(n) {
191
+ let e, t, l, i, s, m, A, M, v, P, b = (
192
+ /*$_*/
193
+ n[10]("title") + ""
194
+ ), w, u, c;
195
+ return {
196
+ c() {
197
+ e = h("div"), t = T("svg"), l = T("defs"), i = T("style"), s = z(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = T("g"), A = T("g"), M = T("path"), v = k(), P = h("h3"), w = z(b), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(A, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(P, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
198
+ },
199
+ m(y, o) {
200
+ L(y, e, o), a(e, t), a(t, l), a(l, i), a(i, s), a(t, m), a(m, A), a(A, M), a(e, v), a(e, P), a(P, w), u || (c = [
201
+ D(
202
+ t,
203
+ "click",
204
+ /*goToHome*/
205
+ n[14]
206
+ ),
207
+ D(
208
+ P,
209
+ "click",
210
+ /*goToHome*/
211
+ n[14]
212
+ )
213
+ ], u = !0);
214
+ },
215
+ p(y, o) {
216
+ o[0] & /*$_*/
217
+ 1024 && b !== (b = /*$_*/
218
+ y[10]("title") + "") && W(w, b);
219
+ },
220
+ d(y) {
221
+ y && F(e), u = !1, we(c);
222
+ }
223
+ };
224
+ }
225
+ function Be(n) {
226
+ let e, t;
227
+ return {
228
+ c() {
229
+ e = h("div"), t = h("general-logout"), g(
230
+ t,
231
+ "endpoint",
232
+ /*endpoint*/
233
+ n[1]
234
+ ), g(
235
+ t,
236
+ "session",
237
+ /*session*/
238
+ n[0]
239
+ ), g(t, "buttonlocation", "PlayerAccountMenu"), g(
240
+ t,
241
+ "clientstyling",
242
+ /*clientstyling*/
243
+ n[2]
244
+ ), g(
245
+ t,
246
+ "clientstylingurl",
247
+ /*clientstylingurl*/
248
+ n[3]
249
+ ), d(e, "class", "PlayerAccountLogOutArea");
250
+ },
251
+ m(l, i) {
252
+ L(l, e, i), a(e, t);
253
+ },
254
+ p(l, i) {
255
+ i[0] & /*endpoint*/
256
+ 2 && g(
257
+ t,
258
+ "endpoint",
259
+ /*endpoint*/
260
+ l[1]
261
+ ), i[0] & /*session*/
262
+ 1 && g(
263
+ t,
264
+ "session",
265
+ /*session*/
266
+ l[0]
267
+ ), i[0] & /*clientstyling*/
268
+ 4 && g(
269
+ t,
270
+ "clientstyling",
271
+ /*clientstyling*/
272
+ l[2]
273
+ ), i[0] & /*clientstylingurl*/
274
+ 8 && g(
275
+ t,
276
+ "clientstylingurl",
277
+ /*clientstylingurl*/
278
+ l[3]
279
+ );
280
+ },
281
+ d(l) {
282
+ l && F(e);
283
+ }
284
+ };
285
+ }
286
+ function Y(n) {
287
+ let e, t, l, i, s, m, A = (
288
+ /*menuItem*/
289
+ n[41].label + ""
290
+ ), M, v, P, b, w;
291
+ function u() {
292
+ return (
293
+ /*click_handler*/
294
+ n[26](
295
+ /*menuItem*/
296
+ n[41]
297
+ )
298
+ );
299
+ }
300
+ return {
301
+ c() {
302
+ e = h("div"), t = h("p"), l = h("img"), s = k(), m = h("span"), M = z(A), v = k(), d(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
303
+ (n[11] ? "PlayerAccountMenuItemIconMobile" : "")), X(l.src, i = /*menuItem*/
304
+ n[41].img) || d(l, "src", i), d(m, "class", "PlayerAccountMenuItemTitle"), d(t, "class", "PlayerAccountMenuItemWrapper"), d(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
305
+ (n[7] === /*menuItem*/
306
+ n[41].id && !/*isMobile*/
307
+ n[11] ? "PlayerAccountMenuActiveItemBox" : ""));
308
+ },
309
+ m(c, y) {
310
+ L(c, e, y), a(e, t), a(t, l), a(t, s), a(t, m), a(m, M), a(e, v), b || (w = D(e, "click", u), b = !0);
311
+ },
312
+ p(c, y) {
313
+ n = c, y[0] & /*menuItems*/
314
+ 64 && !X(l.src, i = /*menuItem*/
315
+ n[41].img) && d(l, "src", i), y[0] & /*menuItems*/
316
+ 64 && A !== (A = /*menuItem*/
317
+ n[41].label + "") && W(M, A), y[0] & /*selectedItem, menuItems*/
318
+ 192 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
319
+ (n[7] === /*menuItem*/
320
+ n[41].id && !/*isMobile*/
321
+ n[11] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", P);
322
+ },
323
+ d(c) {
324
+ c && F(e), b = !1, w();
325
+ }
326
+ };
327
+ }
328
+ function Te(n) {
329
+ let e, t;
330
+ return {
331
+ c() {
332
+ e = h("div"), t = h("general-logout"), g(
333
+ t,
334
+ "endpoint",
335
+ /*endpoint*/
336
+ n[1]
337
+ ), g(
338
+ t,
339
+ "session",
340
+ /*session*/
341
+ n[0]
342
+ ), g(t, "buttonlocation", "PlayerAccountMenu"), g(
343
+ t,
344
+ "clientstyling",
345
+ /*clientstyling*/
346
+ n[2]
347
+ ), g(
348
+ t,
349
+ "clientstylingurl",
350
+ /*clientstylingurl*/
351
+ n[3]
352
+ ), d(e, "class", "PlayerAccountLogOutArea");
353
+ },
354
+ m(l, i) {
355
+ L(l, e, i), a(e, t);
356
+ },
357
+ p(l, i) {
358
+ i[0] & /*endpoint*/
359
+ 2 && g(
360
+ t,
361
+ "endpoint",
362
+ /*endpoint*/
363
+ l[1]
364
+ ), i[0] & /*session*/
365
+ 1 && g(
366
+ t,
367
+ "session",
368
+ /*session*/
369
+ l[0]
370
+ ), i[0] & /*clientstyling*/
371
+ 4 && g(
372
+ t,
373
+ "clientstyling",
374
+ /*clientstyling*/
375
+ l[2]
376
+ ), i[0] & /*clientstylingurl*/
377
+ 8 && g(
378
+ t,
379
+ "clientstylingurl",
380
+ /*clientstylingurl*/
381
+ l[3]
382
+ );
383
+ },
384
+ d(l) {
385
+ l && F(e);
386
+ }
387
+ };
388
+ }
389
+ function ze(n) {
390
+ let e;
391
+ return {
392
+ c() {
393
+ 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>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
394
+ },
395
+ m(t, l) {
396
+ L(t, e, l);
397
+ },
398
+ d(t) {
399
+ t && F(e);
400
+ }
401
+ };
402
+ }
403
+ function He(n) {
404
+ let e;
405
+ return {
406
+ c() {
407
+ e = h("ui-skeleton"), g(e, "structure", "circle"), g(e, "size", "20px");
408
+ },
409
+ m(t, l) {
410
+ L(t, e, l);
411
+ },
412
+ d(t) {
413
+ t && F(e);
414
+ }
415
+ };
416
+ }
417
+ function $(n) {
418
+ let e, t, l, i, s = !/*isMobile*/
419
+ n[11] && He();
420
+ return {
421
+ c() {
422
+ e = h("div"), s && s.c(), t = k(), l = h("ui-skeleton"), i = k(), g(l, "structure", "rectangle"), g(l, "width", "100%"), g(
423
+ l,
424
+ "height",
425
+ /*isMobile*/
426
+ n[11] ? "60px" : "20px"
427
+ ), d(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
428
+ (n[11] ? "PlayerAccountItemWrapMobile" : ""));
429
+ },
430
+ m(m, A) {
431
+ L(m, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
432
+ },
433
+ p: O,
434
+ d(m) {
435
+ m && F(e), s && s.d();
436
+ }
437
+ };
438
+ }
439
+ function We(n) {
440
+ let e;
441
+ function t(s, m) {
442
+ return (
443
+ /*skeletonLoading*/
444
+ s[5] ? Le : Fe
445
+ );
446
+ }
447
+ let l = t(n), i = l(n);
448
+ return {
449
+ c() {
450
+ e = h("div"), i.c();
451
+ },
452
+ m(s, m) {
453
+ L(s, e, m), i.m(e, null), n[27](e);
454
+ },
455
+ p(s, m) {
456
+ l === (l = t(s)) && i ? i.p(s, m) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
457
+ },
458
+ i: O,
459
+ o: O,
460
+ d(s) {
461
+ s && F(e), i.d(), n[27](null);
462
+ }
463
+ };
464
+ }
465
+ function Se(n, e, t) {
466
+ let l;
467
+ be(n, ve, (r) => t(10, l = r));
468
+ let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: m = "" } = 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 = "", N = "";
469
+ const ne = window.matchMedia("(min-width: 768px)"), le = () => {
470
+ fetch(y).then((_) => _.json()).then((_) => {
471
+ Object.keys(_).forEach((E) => {
472
+ Z(E, _[E]);
473
+ });
474
+ }).catch((_) => {
475
+ console.error(_);
476
+ });
477
+ };
478
+ Object.keys(Q).forEach((r) => {
479
+ Z(r, Q[r]);
480
+ });
481
+ const R = (r) => {
482
+ if (r.data)
483
+ switch (r.data.type) {
484
+ case "AccountMenuDetails":
485
+ availableMenuItemsArray = r.data.accountMenuInfo;
486
+ break;
487
+ case "UserSessionID":
488
+ t(0, A = r.data.session);
489
+ break;
490
+ }
491
+ }, re = () => {
492
+ let r = V(U);
493
+ if (r)
494
+ return r === "PC" ? "dk" : "mtWeb";
495
+ }, ie = () => {
496
+ const r = new URL(`${s}/${v}/profile-menu?env=${m}`);
497
+ r.searchParams.append("device", re()), fetch(r.href).then((_) => _.json()).then((_) => {
498
+ t(6, B = _), G();
499
+ }).catch((_) => {
500
+ console.error("Error getting menu items", _);
501
+ }).finally(() => {
502
+ t(24, x = !0);
503
+ });
504
+ }, oe = () => {
505
+ let r = new URL(`${i}/v1/player/${M}/profile`);
506
+ r.searchParams.append("userRoles", b);
507
+ let _ = {
508
+ method: "GET",
509
+ headers: { "X-SessionID": A }
510
+ };
511
+ fetch(r.href, _).then((E) => E.json()).then(
512
+ (E) => {
513
+ t(8, j = E.username), t(9, N = E.email);
514
+ },
515
+ (E) => {
516
+ console.error(E);
517
+ }
518
+ ).finally(() => {
519
+ t(25, p = !0);
520
+ });
521
+ }, q = (r) => {
522
+ window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(7, S = r.id);
523
+ }, G = () => {
524
+ t(7, S = B.find((r) => r.path.includes(o))?.id);
525
+ }, ae = () => {
526
+ window.postMessage({ type: "GoToHomepage" }, window.location.href);
527
+ }, ce = () => {
528
+ Ce(v);
529
+ }, se = () => {
530
+ oe();
531
+ };
532
+ Me(() => (window.addEventListener("message", R, !1), () => {
533
+ window.removeEventListener("message", R);
534
+ }));
535
+ const ue = (r) => q(r);
536
+ function me(r) {
537
+ Pe[r ? "unshift" : "push"](() => {
538
+ f = r, t(4, f);
539
+ });
540
+ }
541
+ return n.$$set = (r) => {
542
+ "endpoint" in r && t(1, i = r.endpoint), "cmsendpoint" in r && t(15, s = r.cmsendpoint), "env" in r && t(16, m = r.env), "session" in r && t(0, A = r.session), "playerid" in r && t(17, M = r.playerid), "lang" in r && t(18, v = r.lang), "selecteditem" in r && t(19, P = r.selecteditem), "userroles" in r && t(20, b = r.userroles), "clientstyling" in r && t(2, w = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "mbsource" in r && t(21, c = r.mbsource), "translationurl" in r && t(22, y = r.translationurl), "activemenuitem" in r && t(23, o = r.activemenuitem);
543
+ }, n.$$.update = () => {
544
+ n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
545
+ 50331648 && t(5, I = !x || !p), n.$$.dirty[0] & /*lang*/
546
+ 262144 && v && ce(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
547
+ 393219 && i && A && M && v && se(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
548
+ 360448 && s && v && m && ie(), n.$$.dirty[0] & /*activemenuitem*/
549
+ 8388608 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
550
+ 20 && w && f && xe(f, w), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
551
+ 24 && u && f && _e(f, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
552
+ 2097168 && c && f && ke(f, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
553
+ 4194304 && y && le();
554
+ }, [
555
+ A,
556
+ i,
557
+ w,
558
+ u,
559
+ f,
560
+ I,
561
+ B,
562
+ S,
563
+ j,
564
+ N,
565
+ l,
566
+ te,
567
+ ne,
568
+ q,
569
+ ae,
570
+ s,
571
+ m,
572
+ M,
573
+ v,
574
+ P,
575
+ b,
576
+ c,
577
+ y,
578
+ o,
579
+ x,
580
+ p,
581
+ ue,
582
+ me
583
+ ];
584
+ }
585
+ class Oe extends ye {
586
+ constructor(e) {
587
+ super(), pe(
588
+ this,
589
+ e,
590
+ Se,
591
+ We,
592
+ fe,
593
+ {
594
+ endpoint: 1,
595
+ cmsendpoint: 15,
596
+ env: 16,
597
+ session: 0,
598
+ playerid: 17,
599
+ lang: 18,
600
+ selecteditem: 19,
601
+ userroles: 20,
602
+ clientstyling: 2,
603
+ clientstylingurl: 3,
604
+ mbsource: 21,
605
+ translationurl: 22,
606
+ activemenuitem: 23
607
+ },
608
+ Ie,
609
+ [-1, -1]
610
+ );
611
+ }
612
+ get endpoint() {
613
+ return this.$$.ctx[1];
614
+ }
615
+ set endpoint(e) {
616
+ this.$$set({ endpoint: e }), C();
617
+ }
618
+ get cmsendpoint() {
619
+ return this.$$.ctx[15];
620
+ }
621
+ set cmsendpoint(e) {
622
+ this.$$set({ cmsendpoint: e }), C();
623
+ }
624
+ get env() {
625
+ return this.$$.ctx[16];
626
+ }
627
+ set env(e) {
628
+ this.$$set({ env: e }), C();
629
+ }
630
+ get session() {
631
+ return this.$$.ctx[0];
632
+ }
633
+ set session(e) {
634
+ this.$$set({ session: e }), C();
635
+ }
636
+ get playerid() {
637
+ return this.$$.ctx[17];
638
+ }
639
+ set playerid(e) {
640
+ this.$$set({ playerid: e }), C();
641
+ }
642
+ get lang() {
643
+ return this.$$.ctx[18];
644
+ }
645
+ set lang(e) {
646
+ this.$$set({ lang: e }), C();
647
+ }
648
+ get selecteditem() {
649
+ return this.$$.ctx[19];
650
+ }
651
+ set selecteditem(e) {
652
+ this.$$set({ selecteditem: e }), C();
653
+ }
654
+ get userroles() {
655
+ return this.$$.ctx[20];
656
+ }
657
+ set userroles(e) {
658
+ this.$$set({ userroles: e }), C();
659
+ }
660
+ get clientstyling() {
661
+ return this.$$.ctx[2];
662
+ }
663
+ set clientstyling(e) {
664
+ this.$$set({ clientstyling: e }), C();
665
+ }
666
+ get clientstylingurl() {
667
+ return this.$$.ctx[3];
668
+ }
669
+ set clientstylingurl(e) {
670
+ this.$$set({ clientstylingurl: e }), C();
671
+ }
672
+ get mbsource() {
673
+ return this.$$.ctx[21];
674
+ }
675
+ set mbsource(e) {
676
+ this.$$set({ mbsource: e }), C();
677
+ }
678
+ get translationurl() {
679
+ return this.$$.ctx[22];
680
+ }
681
+ set translationurl(e) {
682
+ this.$$set({ translationurl: e }), C();
683
+ }
684
+ get activemenuitem() {
685
+ return this.$$.ctx[23];
686
+ }
687
+ set activemenuitem(e) {
688
+ this.$$set({ activemenuitem: e }), C();
689
+ }
690
+ }
691
+ he(Oe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
692
+ export {
693
+ Oe as default
694
+ };