@everymatrix/player-account-controller 1.87.25 → 1.87.27

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 (198) hide show
  1. package/components/GeneralLogout-B5j_vW4P.js +300 -0
  2. package/components/GeneralLogout-CjFz6GhW.cjs +1 -0
  3. package/components/GeneralLogout-fKTKcCGJ.js +300 -0
  4. package/components/PlayerAccountBettingHistory-CIzi9adW.js +311 -0
  5. package/components/PlayerAccountBettingHistory-CPnTOt06.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-QM3zfoYn.js +310 -0
  7. package/components/{PlayerAccountBiometrics-Cu1scn1a.js → PlayerAccountBiometrics-CsgBvnb7.js} +94 -94
  8. package/components/{PlayerAccountBiometrics-kmv4HqQ_.js → PlayerAccountBiometrics-DG4UZ7gJ.js} +94 -94
  9. package/components/PlayerAccountBiometrics-DemarL8b.cjs +1 -0
  10. package/components/PlayerAccountBiometricsAction-BsW0OHhf.cjs +1 -0
  11. package/components/{PlayerAccountBiometricsAction-BcR2gS30.js → PlayerAccountBiometricsAction-D0v5Q9lm.js} +48 -48
  12. package/components/{PlayerAccountBiometricsAction-BJrkhDoI.js → PlayerAccountBiometricsAction-SyauJZ2U.js} +53 -53
  13. package/components/{PlayerAccountClosure-B7lWhxS5.js → PlayerAccountClosure-B-dMr1Jn.js} +90 -90
  14. package/components/PlayerAccountClosure-BWvJR3TO.cjs +1 -0
  15. package/components/{PlayerAccountClosure-DWX0cAW_.js → PlayerAccountClosure-CVfc0dYJ.js} +92 -92
  16. package/components/PlayerAccountController-BAQQQd6f.js +13466 -0
  17. package/components/PlayerAccountController-BLw_7Wxf.js +13423 -0
  18. package/components/PlayerAccountController-En_hyyNC.cjs +21 -0
  19. package/components/{PlayerAccountGamingLimits-DuDCpH1C.js → PlayerAccountGamingLimits-Cow9pdbW.js} +101 -101
  20. package/components/{PlayerAccountGamingLimits-DNqahHsA.js → PlayerAccountGamingLimits-CyI_jaC4.js} +97 -97
  21. package/components/PlayerAccountGamingLimits-OyM5Opvb.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js → PlayerAccountGamingLimitsConfirmationModal-BaHYtGpR.js} +88 -88
  23. package/components/PlayerAccountGamingLimitsConfirmationModal-BrOtl3Gh.cjs +1 -0
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js → PlayerAccountGamingLimitsConfirmationModal-Dyp4qeUR.js} +77 -77
  25. package/components/PlayerAccountGamingLimitsGroupEdit-B-jxQbpZ.js +1555 -0
  26. package/components/PlayerAccountGamingLimitsGroupEdit-CtjRT5jg.js +1555 -0
  27. package/components/PlayerAccountGamingLimitsGroupEdit-Dq7oKBvT.cjs +1 -0
  28. package/components/{PlayerAccountGamingLimitsHistory2-D1N2rg25.js → PlayerAccountGamingLimitsHistory2-B39ZuccZ.js} +111 -111
  29. package/components/{PlayerAccountGamingLimitsHistory2-BN0w14Hg.js → PlayerAccountGamingLimitsHistory2-Bjh88L-r.js} +100 -100
  30. package/components/PlayerAccountGamingLimitsHistory2-D2Pv9fHy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsInfoCard-C2iKiolC.cjs +1 -0
  32. package/components/{PlayerAccountGamingLimitsInfoCard-D_ro79gB.js → PlayerAccountGamingLimitsInfoCard-DX-5uUnY.js} +415 -399
  33. package/components/{PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js → PlayerAccountGamingLimitsInfoCard-D_Hn3lLp.js} +415 -399
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-EA4I02NQ.js → PlayerAccountGamingLimitsPage2Gm16-BXIgZHBA.js} +702 -702
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-o_0DfyBW.js → PlayerAccountGamingLimitsPage2Gm16-Crtu_pde.js} +699 -699
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-CMxzI07w.cjs → PlayerAccountGamingLimitsPage2Gm16-De419B1o.cjs} +6 -6
  37. package/components/{PlayerAccountGamingLimitsPopup-DhlQaawG.js → PlayerAccountGamingLimitsPopup-BLbMRSf_.js} +38 -38
  38. package/components/{PlayerAccountGamingLimitsPopup-9casCGHJ.js → PlayerAccountGamingLimitsPopup-Be_S9ZcF.js} +34 -34
  39. package/components/PlayerAccountGamingLimitsPopup-CNvTB9c2.cjs +1 -0
  40. package/components/PlayerAccountGamingLimitsWrapper2-D1UYcvKH.cjs +4 -0
  41. package/components/{PlayerAccountGamingLimitsWrapper2-B_pUqlM0.js → PlayerAccountGamingLimitsWrapper2-De2EL3tm.js} +75 -75
  42. package/components/{PlayerAccountGamingLimitsWrapper2-DG5pRuF1.js → PlayerAccountGamingLimitsWrapper2-Dzf9XPuV.js} +81 -81
  43. package/components/{PlayerAccountGeneralConfirmationModal-BIStQzTL.js → PlayerAccountGeneralConfirmationModal-C-pUW7UE.js} +103 -103
  44. package/components/{PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js → PlayerAccountGeneralConfirmationModal-D0gnNBxN.js} +106 -106
  45. package/components/PlayerAccountGeneralConfirmationModal-sBWJGJ3j.cjs +1 -0
  46. package/components/PlayerAccountMenu-5RiJxzF8.cjs +1 -0
  47. package/components/{PlayerAccountMenu-OqVmttiI.js → PlayerAccountMenu-88qusOe1.js} +129 -129
  48. package/components/{PlayerAccountMenu-khqZEoBc.js → PlayerAccountMenu-DNy_Hk32.js} +129 -129
  49. package/components/{PlayerAccountModal-NUSkSmow.js → PlayerAccountModal-B6JKobGH.js} +58 -58
  50. package/components/PlayerAccountModal-BdVMgMM0.cjs +1 -0
  51. package/components/{PlayerAccountModal-BXez3U77.js → PlayerAccountModal-DacnysL5.js} +54 -54
  52. package/components/PlayerAccountNotifications-B8QW73lK.cjs +1 -0
  53. package/components/{PlayerAccountNotifications-XjCLekPR.js → PlayerAccountNotifications-C30B-b67.js} +126 -126
  54. package/components/{PlayerAccountNotifications-0v1ghF-m.js → PlayerAccountNotifications-Ca-yj1FW.js} +87 -87
  55. package/components/PlayerAccountProductRestriction-DMMlQ5x4.js +1493 -0
  56. package/components/PlayerAccountProductRestriction-DQaf3YS6.js +1458 -0
  57. package/components/PlayerAccountProductRestriction-TK3PdIUq.cjs +4 -0
  58. package/components/{PlayerAccountReviewFrequency-yLwAfHZd.js → PlayerAccountReviewFrequency-BX3lMYXn.js} +235 -235
  59. package/components/PlayerAccountReviewFrequency-DVU5nmS6.cjs +4 -0
  60. package/components/{PlayerAccountReviewFrequency-ByPlOg40.js → PlayerAccountReviewFrequency-nChzMifu.js} +245 -245
  61. package/components/PlayerAccountSelfExclusion-Bcr8vJib.js +1523 -0
  62. package/components/PlayerAccountSelfExclusion-CsZr8Rp-.js +1551 -0
  63. package/components/PlayerAccountSelfExclusion-D1g-5SMn.cjs +1 -0
  64. package/components/{PlayerAccountSelfExclusion-CP3lzn6g.cjs → PlayerAccountTimeout-DUK2ndeT.cjs} +161 -161
  65. package/components/{PlayerAccountSelfExclusion-0IraJUCF.js → PlayerAccountTimeout-Dm6G5s24.js} +2363 -2581
  66. package/components/{PlayerAccountSelfExclusion-B9QFixvG.js → PlayerAccountTimeout-Hzpth7m_.js} +2327 -2545
  67. package/components/{PlayerAccountTransactionsHistory-CAFUIFUl.js → PlayerAccountTransactionsHistory-DbcrevKR.js} +304 -303
  68. package/components/{PlayerAccountTransactionsHistory-C4dSIP6l.js → PlayerAccountTransactionsHistory-TpzDg4nW.js} +293 -292
  69. package/components/PlayerAccountTransactionsHistory-aY0Baw7m.cjs +4 -0
  70. package/components/PlayerActiveBonuses-8Opx6dzV.cjs +4 -0
  71. package/components/{PlayerActiveBonuses-BQSKxH9G.js → PlayerActiveBonuses-BDw7e79b.js} +222 -221
  72. package/components/{PlayerActiveBonuses-DSpez0EN.js → PlayerActiveBonuses-HVGiWNOd.js} +192 -193
  73. package/components/PlayerBonusCard-DC_pKqNw.cjs +1 -0
  74. package/components/{PlayerBonusCard-D4jw0D02.js → PlayerBonusCard-thh4vUMx.js} +53 -53
  75. package/components/{PlayerBonusCard--2t2lX4X.js → PlayerBonusCard-zjN36qJb.js} +53 -53
  76. package/components/PlayerBonusHistory-BcN0Ya_g.js +20037 -0
  77. package/components/{PlayerAccountProductRestriction-Drc1Iu2o.cjs → PlayerBonusHistory-Dkrv14z8.cjs} +295 -294
  78. package/components/PlayerBonusHistory-vs9jxJhQ.js +20048 -0
  79. package/components/PlayerChangePassword-BuJNikhz.cjs +3 -0
  80. package/components/{PlayerChangePassword-CK9EmNEl.js → PlayerChangePassword-C6mFUw5u.js} +257 -257
  81. package/components/{PlayerChangePassword-DDqLNG5r.js → PlayerChangePassword-C8qYkJCx.js} +257 -257
  82. package/components/{PlayerDeposit-B0xGf2EY.js → PlayerDeposit-BJrNyzPW.js} +51 -51
  83. package/components/{PlayerDeposit-BiOuprGV.js → PlayerDeposit-DadV3-2W.js} +53 -53
  84. package/components/PlayerDeposit-DemYa-nv.cjs +1 -0
  85. package/components/{PlayerGamingHistory-CJn-wybc.js → PlayerGamingHistory-BMEQFFwn.js} +404 -405
  86. package/components/PlayerGamingHistory-D2s0Otth.cjs +1 -0
  87. package/components/{PlayerGamingHistory-CDPSEyVI.js → PlayerGamingHistory-D3WjUHop.js} +372 -373
  88. package/components/{PlayerPendingWithdrawals-DKIV0VFt.js → PlayerPendingWithdrawals-B7PgOP7F.js} +54 -54
  89. package/components/PlayerPendingWithdrawals-CY3g0w83.cjs +1 -0
  90. package/components/{PlayerPendingWithdrawals-Cw2CONsa.js → PlayerPendingWithdrawals-CiS2VIJm.js} +54 -54
  91. package/components/PlayerProfileInfo-B6L0INWX.cjs +4 -0
  92. package/components/{PlayerProfileInfo-B2PmsKAI.js → PlayerProfileInfo-COpic9Sl.js} +781 -781
  93. package/components/{PlayerProfileInfo-YrTsyEfP.js → PlayerProfileInfo-DGwH1Xbb.js} +645 -645
  94. package/components/{PlayerRealityCheck-BdFZDJFk.js → PlayerRealityCheck-CRqlzifK.js} +217 -217
  95. package/components/PlayerRealityCheck-CXPnhtbt.cjs +1 -0
  96. package/components/{PlayerRealityCheck-CEToSHcC.js → PlayerRealityCheck-DPhiL4g2.js} +202 -202
  97. package/components/{PlayerTransactionHistory-C8uedDZz.js → PlayerTransactionHistory-CJVcCHMB.js} +68 -68
  98. package/components/{PlayerTransactionHistory-BWwWT8z7.js → PlayerTransactionHistory-CblCTe3C.js} +64 -64
  99. package/components/PlayerTransactionHistory-k-3KbRna.cjs +1 -0
  100. package/components/{PlayerWithdrawal-BXYWP9OV.js → PlayerWithdrawal-DDhF1YFQ.js} +65 -65
  101. package/components/{PlayerWithdrawal-DuhBS0tB.js → PlayerWithdrawal-gngFCPKe.js} +65 -65
  102. package/components/PlayerWithdrawal-pcXdzQpS.cjs +1 -0
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +7 -7
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/stencil/app-globals-0f993ce5-BjWsvLzr.cjs +1 -0
  108. package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-XUXOuUQl.js} +4 -4
  109. package/stencil/{checkbox-group-input_16-CFtp0f8h.js → checkbox-group-input_16-Bn7_E98r.js} +2 -2
  110. package/stencil/{checkbox-group-input_16-DuSVlPzJ.cjs → checkbox-group-input_16-C6_jN3p0.cjs} +1 -1
  111. package/stencil/{checkbox-group-input_16-ywIYg4ns.js → checkbox-group-input_16-D9ML4j06.js} +2 -2
  112. package/stencil/{index-1ef3a64c-CEngIsyB.js → index-1ef3a64c-BvSXLnmQ.js} +1 -1
  113. package/stencil/{index-1ef3a64c-BzR_jMKw.cjs → index-1ef3a64c-DK-TGomt.cjs} +1 -1
  114. package/stencil/{index-1ef3a64c-D5p-wZAC.js → index-1ef3a64c-Dwdxxwjy.js} +1 -1
  115. package/stencil/{index-6e523641-D2onrjgE.cjs → index-6e523641-DOnePbtQ.cjs} +1 -1
  116. package/stencil/{index-6e523641-B9tbNrXZ.js → index-6e523641-DpGJosc3.js} +1 -1
  117. package/stencil/{index-6e523641-DH0Ezdpy.js → index-6e523641-pWMNWAtQ.js} +1 -1
  118. package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-BN39eMNX.js} +1 -1
  119. package/stencil/{index-9c0f6c58-XIZolvs1.cjs → index-9c0f6c58-DK260bKj.cjs} +1 -1
  120. package/stencil/{index-9c0f6c58-DEQL19Io.js → index-9c0f6c58-_RRbHDNl.js} +1 -1
  121. package/stencil/{index-b2193545-0zWC7J3V.js → index-b2193545-CubpYFkO.js} +1 -1
  122. package/stencil/{index-b2193545-BDUg7na_.js → index-b2193545-D3SG_Z28.js} +1 -1
  123. package/stencil/{index-b2193545-C-iFa_cO.cjs → index-b2193545-DM_LjYJq.cjs} +1 -1
  124. package/stencil/{index-c666b6e6-GVnzND9A.cjs → index-c666b6e6-2zPWxCxt.cjs} +1 -1
  125. package/stencil/{index-c666b6e6-C3HFUtzN.js → index-c666b6e6-C0YjtgbT.js} +1 -1
  126. package/stencil/{index-c666b6e6-C5SvvcXp.js → index-c666b6e6-DO3NG0d_.js} +1 -1
  127. package/stencil/{pam-change-password-6b535bd5-BM0i-nkQ.js → pam-change-password-25b46f90--RvqyvAS.js} +122 -93
  128. package/stencil/{pam-change-password-6b535bd5-CwazAyPT.cjs → pam-change-password-25b46f90-CILEgZdb.cjs} +2 -2
  129. package/stencil/{pam-change-password-6b535bd5-BMlVfXop.js → pam-change-password-25b46f90-DBsCYhoF.js} +121 -93
  130. package/stencil/pam-change-password-BaP9RQnm.cjs +1 -0
  131. package/stencil/{pam-change-password-vIDF9oZ0.js → pam-change-password-CfJwcRNG.js} +2 -2
  132. package/stencil/{pam-change-password-YY_WAq3p.js → pam-change-password-a_MEmefG.js} +2 -2
  133. package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CR-8JjQM.cjs} +2 -2
  134. package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-DQBYB3LU.js} +90 -62
  135. package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-TCKpEp1x.js} +120 -93
  136. package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-BKpwkQ2A.js} +3 -3
  137. package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-CS05SPLQ.cjs} +1 -1
  138. package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-DNuG5l9W.js} +3 -3
  139. package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BI8lGn4f.js} +1 -1
  140. package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-CKUfafNC.cjs} +1 -1
  141. package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-CLfa7nfh.js} +1 -1
  142. package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-BXuiRURM.js} +366 -338
  143. package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-CL7rhukA.js} +321 -294
  144. package/stencil/user-deposit-withdrawal-gb0EFmeV.cjs +72 -0
  145. package/stencil/{user-transaction-history-BdbQJzhb.js → user-transaction-history-DCZDdxLh.js} +2 -2
  146. package/stencil/{user-transaction-history-CcfxBfFN.js → user-transaction-history-E1bvLWYx.js} +2 -2
  147. package/stencil/{user-transaction-history-CucZiFYD.cjs → user-transaction-history-_0g5E0XE.cjs} +1 -1
  148. package/stencil/{user-transaction-history_2-B2XvgToy.cjs → user-transaction-history_2-BsrwI7Ib.cjs} +275 -275
  149. package/stencil/{user-transaction-history_2-Ds0pNCu8.js → user-transaction-history_2-C5uqpRMQ.js} +1701 -1651
  150. package/stencil/{user-transaction-history_2-B9fxyLUj.js → user-transaction-history_2-DXX9cR5-.js} +916 -911
  151. package/components/GeneralLogout-0J1RtGyR.js +0 -5018
  152. package/components/GeneralLogout-CmR1r8PX.cjs +0 -21
  153. package/components/GeneralLogout-CwcvAxfM.js +0 -4981
  154. package/components/PlayerAccountBettingHistory-Bf-VPJhk.cjs +0 -1
  155. package/components/PlayerAccountBettingHistory-CiMelnLz.js +0 -311
  156. package/components/PlayerAccountBettingHistory-Cr9hPDou.js +0 -310
  157. package/components/PlayerAccountBiometrics-j15j-n3y.cjs +0 -1
  158. package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +0 -1
  159. package/components/PlayerAccountClosure-CxxMCXDa.cjs +0 -1
  160. package/components/PlayerAccountController-0zwzJJ4s.js +0 -8738
  161. package/components/PlayerAccountController-Cg3bzQs5.js +0 -8721
  162. package/components/PlayerAccountController-J-78lsk8.cjs +0 -1
  163. package/components/PlayerAccountGamingLimits-DdwsiJT8.cjs +0 -1
  164. package/components/PlayerAccountGamingLimitsConfirmationModal-BiEiNlIc.cjs +0 -1
  165. package/components/PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js +0 -4781
  166. package/components/PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js +0 -4781
  167. package/components/PlayerAccountGamingLimitsGroupEdit-gLF0R4uM.cjs +0 -2
  168. package/components/PlayerAccountGamingLimitsHistory2-D3h2vvVL.cjs +0 -1
  169. package/components/PlayerAccountGamingLimitsInfoCard-CUhqA1Ww.cjs +0 -1
  170. package/components/PlayerAccountGamingLimitsPopup-DJbPWFdb.cjs +0 -1
  171. package/components/PlayerAccountGamingLimitsWrapper2-1lOfUhUT.cjs +0 -4
  172. package/components/PlayerAccountGeneralConfirmationModal-BCMD8hM8.cjs +0 -1
  173. package/components/PlayerAccountMenu-DXhrPxvF.cjs +0 -1
  174. package/components/PlayerAccountModal-BpTtaUfX.cjs +0 -1
  175. package/components/PlayerAccountNotifications-CMZltoyc.cjs +0 -1
  176. package/components/PlayerAccountProductRestriction-Dl552qim.js +0 -17524
  177. package/components/PlayerAccountProductRestriction-THYKSRMa.js +0 -17559
  178. package/components/PlayerAccountReviewFrequency-BeI7-JB-.cjs +0 -4
  179. package/components/PlayerAccountTimeout-BRlyos9t.cjs +0 -1
  180. package/components/PlayerAccountTimeout-BVyjYoqw.js +0 -975
  181. package/components/PlayerAccountTimeout-CkMUko7-.js +0 -975
  182. package/components/PlayerAccountTransactionsHistory-DlCJ6V4t.cjs +0 -4
  183. package/components/PlayerActiveBonuses-CQXEEx6M.cjs +0 -4
  184. package/components/PlayerBonusCard-DqB-YOwa.cjs +0 -1
  185. package/components/PlayerBonusHistory-BbO5bAQY.js +0 -1106
  186. package/components/PlayerBonusHistory-C6ZPMR2L.js +0 -1095
  187. package/components/PlayerBonusHistory-DtiQesaY.cjs +0 -4
  188. package/components/PlayerChangePassword-IADHpyQs.cjs +0 -3
  189. package/components/PlayerDeposit-CN2QU967.cjs +0 -1
  190. package/components/PlayerGamingHistory-2XEKCfky.cjs +0 -1
  191. package/components/PlayerPendingWithdrawals-HXAehYWA.cjs +0 -1
  192. package/components/PlayerProfileInfo-wZEXXCWQ.cjs +0 -4
  193. package/components/PlayerRealityCheck-DWoQCHkQ.cjs +0 -1
  194. package/components/PlayerTransactionHistory-CHKGqwam.cjs +0 -1
  195. package/components/PlayerWithdrawal-DhfwYn8c.cjs +0 -1
  196. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
  197. package/stencil/pam-change-password-zaJZcylb.cjs +0 -1
  198. package/stencil/user-deposit-withdrawal-DfWpITDc.cjs +0 -72
@@ -0,0 +1,300 @@
1
+ import { a as q, $ as z, S as V, i as Z, s as Q, f as p, b as X, n as F, d as w, e as B, g as x, h as Y, j as J, o as K, k as W, p as f, x as E, y as v, v as k, q as $, t as b, E as tt, u as I, B as L, C as et, D as nt, c as ot, A as st } from "./PlayerAccountController-BLw_7Wxf.js";
2
+ const it = (e, t = {}) => {
3
+ const o = new CustomEvent("track-custom-event", {
4
+ detail: {
5
+ type: e,
6
+ data: t
7
+ },
8
+ bubbles: !0,
9
+ composed: !0
10
+ });
11
+ document.dispatchEvent(o);
12
+ };
13
+ function P(e, t) {
14
+ q(e, t);
15
+ }
16
+ function lt(e) {
17
+ z.set(e);
18
+ }
19
+ const S = {
20
+ en: {
21
+ logoutButton: "Logout"
22
+ },
23
+ "zh-hk": {
24
+ logoutButton: "登出"
25
+ },
26
+ fr: {
27
+ logoutButton: "Déconnexion"
28
+ },
29
+ tr: {
30
+ logoutButton: "Çıkış Yap"
31
+ },
32
+ ro: {
33
+ logoutButton: "Iesire"
34
+ },
35
+ es: {
36
+ logoutButton: "Cerrar sesión"
37
+ },
38
+ pt: {
39
+ logoutButton: "Sair"
40
+ },
41
+ hr: {
42
+ logoutButton: "Odjava"
43
+ },
44
+ "pt-br": {
45
+ logoutButton: "Fechar Sessão"
46
+ },
47
+ "es-mx": {
48
+ logoutButton: "Cerrar sesión"
49
+ },
50
+ "en-us": {
51
+ logoutButton: "Logout"
52
+ }
53
+ };
54
+ function at(e) {
55
+ X(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
56
+ }
57
+ function rt(e) {
58
+ let t, o, l, n = (
59
+ /*$_*/
60
+ e[2]("logoutButton") + ""
61
+ ), i, a, c;
62
+ return {
63
+ c() {
64
+ t = x("div"), o = x("button"), l = x("span"), i = k(n), b(t, "class", "GeneralLogout");
65
+ },
66
+ m(r, d) {
67
+ B(r, t, d), f(t, o), f(o, l), f(l, i), a || (c = E(
68
+ o,
69
+ "click",
70
+ /*click_handler_1*/
71
+ e[14]
72
+ ), a = !0);
73
+ },
74
+ p(r, d) {
75
+ d & /*$_*/
76
+ 4 && n !== (n = /*$_*/
77
+ r[2]("logoutButton") + "") && I(i, n);
78
+ },
79
+ d(r) {
80
+ r && w(t), a = !1, c();
81
+ }
82
+ };
83
+ }
84
+ function ut(e) {
85
+ let t, o, l, n, i, a, c, r, d, h, _, g = !/*isMobile*/
86
+ e[3] && ct(e);
87
+ return {
88
+ c() {
89
+ t = x("p"), o = x("span"), l = v("svg"), n = v("defs"), i = v("style"), a = k(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), c = v("path"), r = v("path"), d = $(), g && g.c(), b(c, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(c, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), b(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), b(l, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), b(l, "data-name", "Layer 1"), b(l, "xmlns", "http://www.w3.org/2000/svg"), b(l, "viewBox", "0 0 150 150"), tt(o, "width", /*isMobile*/
90
+ e[3] ? (
91
+ /*mediaQuery*/
92
+ e[4].matches ? "20px" : "24px"
93
+ ) : "20px"), b(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
94
+ (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
95
+ (e[4].matches && /*isMobile*/
96
+ e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
97
+ },
98
+ m(y, u) {
99
+ B(y, t, u), f(t, o), f(o, l), f(l, n), f(n, i), f(i, a), f(l, c), f(l, r), f(t, d), g && g.m(t, null), h || (_ = E(
100
+ t,
101
+ "click",
102
+ /*click_handler*/
103
+ e[13]
104
+ ), h = !0);
105
+ },
106
+ p(y, u) {
107
+ /*isMobile*/
108
+ y[3] || g.p(y, u);
109
+ },
110
+ d(y) {
111
+ y && w(t), g && g.d(), h = !1, _();
112
+ }
113
+ };
114
+ }
115
+ function ct(e) {
116
+ let t, o = (
117
+ /*$_*/
118
+ e[2]("logoutButton") + ""
119
+ ), l;
120
+ return {
121
+ c() {
122
+ t = x("span"), l = k(o), b(t, "class", "PlayerLogoutText");
123
+ },
124
+ m(n, i) {
125
+ B(n, t, i), f(t, l);
126
+ },
127
+ p(n, i) {
128
+ i & /*$_*/
129
+ 4 && o !== (o = /*$_*/
130
+ n[2]("logoutButton") + "") && I(l, o);
131
+ },
132
+ d(n) {
133
+ n && w(t);
134
+ }
135
+ };
136
+ }
137
+ function dt(e) {
138
+ let t;
139
+ function o(i, a) {
140
+ return (
141
+ /*buttonlocation*/
142
+ i[0] === "PlayerAccountMenu" ? ut : rt
143
+ );
144
+ }
145
+ let l = o(e), n = l(e);
146
+ return {
147
+ c() {
148
+ t = x("div"), n.c();
149
+ },
150
+ m(i, a) {
151
+ B(i, t, a), n.m(t, null), e[15](t);
152
+ },
153
+ p(i, [a]) {
154
+ l === (l = o(i)) && n ? n.p(i, a) : (n.d(1), n = l(i), n && (n.c(), n.m(t, null)));
155
+ },
156
+ i: F,
157
+ o: F,
158
+ d(i) {
159
+ i && w(t), n.d(), e[15](null);
160
+ }
161
+ };
162
+ }
163
+ function gt(e, t, o) {
164
+ let l;
165
+ Y(e, st, (s) => o(2, l = s));
166
+ let { endpoint: n = "" } = t, { session: i = "" } = t, { buttonlocation: a = "" } = t, { lang: c = "" } = t, { mbsource: r } = t, { clientstyling: d = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: _ = "" } = t, g = "", y = !1, u, C, T = window.navigator.userAgent, O = J(T) !== "PC";
167
+ const j = window.matchMedia("(min-width: 768px)"), H = () => {
168
+ fetch(_).then((m) => m.json()).then((m) => {
169
+ Object.keys(m).forEach((A) => {
170
+ P(A, m[A]);
171
+ });
172
+ }).catch((m) => {
173
+ console.log(m);
174
+ });
175
+ };
176
+ Object.keys(S).forEach((s) => {
177
+ P(s, S[s]);
178
+ });
179
+ const M = () => {
180
+ let s = new Headers();
181
+ s.append("Content-type", "application/json"), s.append("X-SessionID", i);
182
+ let m = { method: "DELETE", headers: s };
183
+ fetch(`${n}/v1/player/session/player`, m).then((A) => {
184
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), it("logged_out", {});
185
+ });
186
+ }, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", y = !0, console.error(g)), i || (g = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", y = !0, console.error(g)), y), D = () => {
187
+ lt(c);
188
+ };
189
+ K(() => () => {
190
+ });
191
+ const N = () => M(), R = () => M();
192
+ function U(s) {
193
+ W[s ? "unshift" : "push"](() => {
194
+ u = s, o(1, u);
195
+ });
196
+ }
197
+ return e.$$set = (s) => {
198
+ "endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7, i = s.session), "buttonlocation" in s && o(0, a = s.buttonlocation), "lang" in s && o(8, c = s.lang), "mbsource" in s && o(9, r = s.mbsource), "clientstyling" in s && o(10, d = s.clientstyling), "clientstylingurl" in s && o(11, h = s.clientstylingurl), "translationurl" in s && o(12, _ = s.translationurl);
199
+ }, e.$$.update = () => {
200
+ e.$$.dirty & /*endpoint, session, buttonlocation*/
201
+ 193 && n && i && a && G(), e.$$.dirty & /*lang*/
202
+ 256 && c && D(), e.$$.dirty & /*clientstyling, customStylingContainer*/
203
+ 1026 && d && u && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
204
+ 1026 && d && u && L(u, d), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
205
+ 2050 && h && u && et(u, h), e.$$.dirty & /*mbsource, customStylingContainer*/
206
+ 514 && r && u && nt(u, `${r}.Style`, C), e.$$.dirty & /*translationurl*/
207
+ 4096 && _ && H();
208
+ }, [
209
+ a,
210
+ u,
211
+ l,
212
+ O,
213
+ j,
214
+ M,
215
+ n,
216
+ i,
217
+ c,
218
+ r,
219
+ d,
220
+ h,
221
+ _,
222
+ N,
223
+ R,
224
+ U
225
+ ];
226
+ }
227
+ class ft extends V {
228
+ constructor(t) {
229
+ super(), Z(
230
+ this,
231
+ t,
232
+ gt,
233
+ dt,
234
+ Q,
235
+ {
236
+ endpoint: 6,
237
+ session: 7,
238
+ buttonlocation: 0,
239
+ lang: 8,
240
+ mbsource: 9,
241
+ clientstyling: 10,
242
+ clientstylingurl: 11,
243
+ translationurl: 12
244
+ },
245
+ at
246
+ );
247
+ }
248
+ get endpoint() {
249
+ return this.$$.ctx[6];
250
+ }
251
+ set endpoint(t) {
252
+ this.$$set({ endpoint: t }), p();
253
+ }
254
+ get session() {
255
+ return this.$$.ctx[7];
256
+ }
257
+ set session(t) {
258
+ this.$$set({ session: t }), p();
259
+ }
260
+ get buttonlocation() {
261
+ return this.$$.ctx[0];
262
+ }
263
+ set buttonlocation(t) {
264
+ this.$$set({ buttonlocation: t }), p();
265
+ }
266
+ get lang() {
267
+ return this.$$.ctx[8];
268
+ }
269
+ set lang(t) {
270
+ this.$$set({ lang: t }), p();
271
+ }
272
+ get mbsource() {
273
+ return this.$$.ctx[9];
274
+ }
275
+ set mbsource(t) {
276
+ this.$$set({ mbsource: t }), p();
277
+ }
278
+ get clientstyling() {
279
+ return this.$$.ctx[10];
280
+ }
281
+ set clientstyling(t) {
282
+ this.$$set({ clientstyling: t }), p();
283
+ }
284
+ get clientstylingurl() {
285
+ return this.$$.ctx[11];
286
+ }
287
+ set clientstylingurl(t) {
288
+ this.$$set({ clientstylingurl: t }), p();
289
+ }
290
+ get translationurl() {
291
+ return this.$$.ctx[12];
292
+ }
293
+ set translationurl(t) {
294
+ this.$$set({ translationurl: t }), p();
295
+ }
296
+ }
297
+ ot(ft, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
298
+ export {
299
+ ft as default
300
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-En_hyyNC.cjs"),C=(n,e={})=>{const l=new CustomEvent("track-custom-event",{detail:{type:n,data:e},bubbles:!0,composed:!0});document.dispatchEvent(l)};function v(n,e){t.addMessages(n,e)}function T(n){t.$locale.set(n)}const x={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"},"en-us":{logoutButton:"Logout"}};function O(n){t.append_styles(n,"svelte-xtnqa3","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}")}function j(n){let e,l,a,o=n[2]("logoutButton")+"",s,r,d;return{c(){e=t.element("div"),l=t.element("button"),a=t.element("span"),s=t.text(o),t.attr(e,"class","GeneralLogout")},m(u,g){t.insert(u,e,g),t.append(e,l),t.append(l,a),t.append(a,s),r||(d=t.listen(l,"click",n[14]),r=!0)},p(u,g){g&4&&o!==(o=u[2]("logoutButton")+"")&&t.set_data(s,o)},d(u){u&&t.detach(e),r=!1,d()}}}function H(n){let e,l,a,o,s,r,d,u,g,m,y,f=!n[3]&&G(n);return{c(){e=t.element("p"),l=t.element("span"),a=t.svg_element("svg"),o=t.svg_element("defs"),s=t.svg_element("style"),r=t.text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"),d=t.svg_element("path"),u=t.svg_element("path"),g=t.space(),f&&f.c(),t.attr(d,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(d,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),t.attr(u,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(u,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),t.attr(a,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),t.attr(a,"data-name","Layer 1"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(a,"viewBox","0 0 150 150"),t.set_style(l,"width",n[3]?n[4].matches?"20px":"24px":"20px"),t.attr(e,"class","PlayerAccountMenuItemBox "+(n[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[4].matches&&n[3]?"PlayerAccountMenuItemBoxTablet":""))},m(h,c){t.insert(h,e,c),t.append(e,l),t.append(l,a),t.append(a,o),t.append(o,s),t.append(s,r),t.append(a,d),t.append(a,u),t.append(e,g),f&&f.m(e,null),m||(y=t.listen(e,"click",n[13]),m=!0)},p(h,c){h[3]||f.p(h,c)},d(h){h&&t.detach(e),f&&f.d(),m=!1,y()}}}function G(n){let e,l=n[2]("logoutButton")+"",a;return{c(){e=t.element("span"),a=t.text(l),t.attr(e,"class","PlayerLogoutText")},m(o,s){t.insert(o,e,s),t.append(e,a)},p(o,s){s&4&&l!==(l=o[2]("logoutButton")+"")&&t.set_data(a,l)},d(o){o&&t.detach(e)}}}function N(n){let e;function l(s,r){return s[0]==="PlayerAccountMenu"?H:j}let a=l(n),o=a(n);return{c(){e=t.element("div"),o.c()},m(s,r){t.insert(s,e,r),o.m(e,null),n[15](e)},p(s,[r]){a===(a=l(s))&&o?o.p(s,r):(o.d(1),o=a(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),o.d(),n[15](null)}}}function R(n,e,l){let a;t.component_subscribe(n,t.$format,i=>l(2,a=i));let{endpoint:o=""}=e,{session:s=""}=e,{buttonlocation:r=""}=e,{lang:d=""}=e,{mbsource:u}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{translationurl:y=""}=e,f="",h=!1,c,B,M=window.navigator.userAgent,A=t.getDevice(M)!=="PC";const F=window.matchMedia("(min-width: 768px)"),L=()=>{fetch(y).then(b=>b.json()).then(b=>{Object.keys(b).forEach(_=>{v(_,b[_])})}).catch(b=>{console.log(b)})};Object.keys(x).forEach(i=>{v(i,x[i])});const p=()=>{let i=new Headers;i.append("Content-type","application/json"),i.append("X-SessionID",s);let b={method:"DELETE",headers:i};fetch(`${o}/v1/player/session/player`,b).then(_=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href),C("logged_out",{})})},k=()=>(o||(f="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",h=!0,console.error(f)),s||(f="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",h=!0,console.error(f)),h),P=()=>{T(d)};t.onMount(()=>()=>{});const S=()=>p(),E=()=>p();function I(i){t.binding_callbacks[i?"unshift":"push"](()=>{c=i,l(1,c)})}return n.$$set=i=>{"endpoint"in i&&l(6,o=i.endpoint),"session"in i&&l(7,s=i.session),"buttonlocation"in i&&l(0,r=i.buttonlocation),"lang"in i&&l(8,d=i.lang),"mbsource"in i&&l(9,u=i.mbsource),"clientstyling"in i&&l(10,g=i.clientstyling),"clientstylingurl"in i&&l(11,m=i.clientstylingurl),"translationurl"in i&&l(12,y=i.translationurl)},n.$$.update=()=>{n.$$.dirty&193&&o&&s&&r&&k(),n.$$.dirty&256&&d&&P(),n.$$.dirty&1026&&g&&c&&t.setClientStyling(),n.$$.dirty&1026&&g&&c&&t.setClientStyling(c,g),n.$$.dirty&2050&&m&&c&&t.setClientStylingURL(c,m),n.$$.dirty&514&&u&&c&&t.setStreamStyling(c,`${u}.Style`,B),n.$$.dirty&4096&&y&&L()},[r,c,a,A,F,p,o,s,d,u,g,m,y,S,E,I]}class w extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,N,t.safe_not_equal,{endpoint:6,session:7,buttonlocation:0,lang:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12},O)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(w,{endpoint:{},session:{},buttonlocation:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=w;
@@ -0,0 +1,300 @@
1
+ import { a as U, $ as q, S as V, i as Z, s as Q, f as p, b as X, n as L, d as v, c as B, e as w, g as Y, h as J, o as K, j as W, m as f, w as E, x, u as F, p as $, r as b, E as tt, t as I, z as k, A as et, B as nt, C as ot, D as st } from "./PlayerAccountController-BAQQQd6f.js";
2
+ const it = (e, t = {}) => {
3
+ const o = new CustomEvent("track-custom-event", {
4
+ detail: {
5
+ type: e,
6
+ data: t
7
+ },
8
+ bubbles: !0,
9
+ composed: !0
10
+ });
11
+ document.dispatchEvent(o);
12
+ };
13
+ function P(e, t) {
14
+ U(e, t);
15
+ }
16
+ function lt(e) {
17
+ q.set(e);
18
+ }
19
+ const S = {
20
+ en: {
21
+ logoutButton: "Logout"
22
+ },
23
+ "zh-hk": {
24
+ logoutButton: "登出"
25
+ },
26
+ fr: {
27
+ logoutButton: "Déconnexion"
28
+ },
29
+ tr: {
30
+ logoutButton: "Çıkış Yap"
31
+ },
32
+ ro: {
33
+ logoutButton: "Iesire"
34
+ },
35
+ es: {
36
+ logoutButton: "Cerrar sesión"
37
+ },
38
+ pt: {
39
+ logoutButton: "Sair"
40
+ },
41
+ hr: {
42
+ logoutButton: "Odjava"
43
+ },
44
+ "pt-br": {
45
+ logoutButton: "Fechar Sessão"
46
+ },
47
+ "es-mx": {
48
+ logoutButton: "Cerrar sesión"
49
+ },
50
+ "en-us": {
51
+ logoutButton: "Logout"
52
+ }
53
+ };
54
+ function at(e) {
55
+ X(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
56
+ }
57
+ function rt(e) {
58
+ let t, o, l, n = (
59
+ /*$_*/
60
+ e[2]("logoutButton") + ""
61
+ ), i, a, c;
62
+ return {
63
+ c() {
64
+ t = w("div"), o = w("button"), l = w("span"), i = F(n), b(t, "class", "GeneralLogout");
65
+ },
66
+ m(r, d) {
67
+ B(r, t, d), f(t, o), f(o, l), f(l, i), a || (c = E(
68
+ o,
69
+ "click",
70
+ /*click_handler_1*/
71
+ e[14]
72
+ ), a = !0);
73
+ },
74
+ p(r, d) {
75
+ d & /*$_*/
76
+ 4 && n !== (n = /*$_*/
77
+ r[2]("logoutButton") + "") && I(i, n);
78
+ },
79
+ d(r) {
80
+ r && v(t), a = !1, c();
81
+ }
82
+ };
83
+ }
84
+ function ut(e) {
85
+ let t, o, l, n, i, a, c, r, d, m, _, g = !/*isMobile*/
86
+ e[3] && ct(e);
87
+ return {
88
+ c() {
89
+ t = w("p"), o = w("span"), l = x("svg"), n = x("defs"), i = x("style"), a = F(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), c = x("path"), r = x("path"), d = $(), g && g.c(), b(c, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(c, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), b(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), b(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), b(l, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), b(l, "data-name", "Layer 1"), b(l, "xmlns", "http://www.w3.org/2000/svg"), b(l, "viewBox", "0 0 150 150"), tt(o, "width", /*isMobile*/
90
+ e[3] ? (
91
+ /*mediaQuery*/
92
+ e[4].matches ? "20px" : "24px"
93
+ ) : "20px"), b(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
94
+ (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
95
+ (e[4].matches && /*isMobile*/
96
+ e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
97
+ },
98
+ m(h, u) {
99
+ B(h, t, u), f(t, o), f(o, l), f(l, n), f(n, i), f(i, a), f(l, c), f(l, r), f(t, d), g && g.m(t, null), m || (_ = E(
100
+ t,
101
+ "click",
102
+ /*click_handler*/
103
+ e[13]
104
+ ), m = !0);
105
+ },
106
+ p(h, u) {
107
+ /*isMobile*/
108
+ h[3] || g.p(h, u);
109
+ },
110
+ d(h) {
111
+ h && v(t), g && g.d(), m = !1, _();
112
+ }
113
+ };
114
+ }
115
+ function ct(e) {
116
+ let t, o = (
117
+ /*$_*/
118
+ e[2]("logoutButton") + ""
119
+ ), l;
120
+ return {
121
+ c() {
122
+ t = w("span"), l = F(o), b(t, "class", "PlayerLogoutText");
123
+ },
124
+ m(n, i) {
125
+ B(n, t, i), f(t, l);
126
+ },
127
+ p(n, i) {
128
+ i & /*$_*/
129
+ 4 && o !== (o = /*$_*/
130
+ n[2]("logoutButton") + "") && I(l, o);
131
+ },
132
+ d(n) {
133
+ n && v(t);
134
+ }
135
+ };
136
+ }
137
+ function dt(e) {
138
+ let t;
139
+ function o(i, a) {
140
+ return (
141
+ /*buttonlocation*/
142
+ i[0] === "PlayerAccountMenu" ? ut : rt
143
+ );
144
+ }
145
+ let l = o(e), n = l(e);
146
+ return {
147
+ c() {
148
+ t = w("div"), n.c();
149
+ },
150
+ m(i, a) {
151
+ B(i, t, a), n.m(t, null), e[15](t);
152
+ },
153
+ p(i, [a]) {
154
+ l === (l = o(i)) && n ? n.p(i, a) : (n.d(1), n = l(i), n && (n.c(), n.m(t, null)));
155
+ },
156
+ i: L,
157
+ o: L,
158
+ d(i) {
159
+ i && v(t), n.d(), e[15](null);
160
+ }
161
+ };
162
+ }
163
+ function gt(e, t, o) {
164
+ let l;
165
+ Y(e, st, (s) => o(2, l = s));
166
+ let { endpoint: n = "" } = t, { session: i = "" } = t, { buttonlocation: a = "" } = t, { lang: c = "" } = t, { mbsource: r } = t, { clientstyling: d = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: _ = "" } = t, g = "", h = !1, u, C, T = window.navigator.userAgent, O = J(T) !== "PC";
167
+ const j = window.matchMedia("(min-width: 768px)"), H = () => {
168
+ fetch(_).then((y) => y.json()).then((y) => {
169
+ Object.keys(y).forEach((A) => {
170
+ P(A, y[A]);
171
+ });
172
+ }).catch((y) => {
173
+ console.log(y);
174
+ });
175
+ };
176
+ Object.keys(S).forEach((s) => {
177
+ P(s, S[s]);
178
+ });
179
+ const M = () => {
180
+ let s = new Headers();
181
+ s.append("Content-type", "application/json"), s.append("X-SessionID", i);
182
+ let y = { method: "DELETE", headers: s };
183
+ fetch(`${n}/v1/player/session/player`, y).then((A) => {
184
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), it("logged_out", {});
185
+ });
186
+ }, G = () => (n || (g = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", h = !0, console.error(g)), i || (g = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", h = !0, console.error(g)), h), z = () => {
187
+ lt(c);
188
+ };
189
+ K(() => () => {
190
+ });
191
+ const D = () => M(), N = () => M();
192
+ function R(s) {
193
+ W[s ? "unshift" : "push"](() => {
194
+ u = s, o(1, u);
195
+ });
196
+ }
197
+ return e.$$set = (s) => {
198
+ "endpoint" in s && o(6, n = s.endpoint), "session" in s && o(7, i = s.session), "buttonlocation" in s && o(0, a = s.buttonlocation), "lang" in s && o(8, c = s.lang), "mbsource" in s && o(9, r = s.mbsource), "clientstyling" in s && o(10, d = s.clientstyling), "clientstylingurl" in s && o(11, m = s.clientstylingurl), "translationurl" in s && o(12, _ = s.translationurl);
199
+ }, e.$$.update = () => {
200
+ e.$$.dirty & /*endpoint, session, buttonlocation*/
201
+ 193 && n && i && a && G(), e.$$.dirty & /*lang*/
202
+ 256 && c && z(), e.$$.dirty & /*clientstyling, customStylingContainer*/
203
+ 1026 && d && u && k(), e.$$.dirty & /*clientstyling, customStylingContainer*/
204
+ 1026 && d && u && k(u, d), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
205
+ 2050 && m && u && et(u, m), e.$$.dirty & /*mbsource, customStylingContainer*/
206
+ 514 && r && u && nt(u, `${r}.Style`, C), e.$$.dirty & /*translationurl*/
207
+ 4096 && _ && H();
208
+ }, [
209
+ a,
210
+ u,
211
+ l,
212
+ O,
213
+ j,
214
+ M,
215
+ n,
216
+ i,
217
+ c,
218
+ r,
219
+ d,
220
+ m,
221
+ _,
222
+ D,
223
+ N,
224
+ R
225
+ ];
226
+ }
227
+ class ft extends V {
228
+ constructor(t) {
229
+ super(), Z(
230
+ this,
231
+ t,
232
+ gt,
233
+ dt,
234
+ Q,
235
+ {
236
+ endpoint: 6,
237
+ session: 7,
238
+ buttonlocation: 0,
239
+ lang: 8,
240
+ mbsource: 9,
241
+ clientstyling: 10,
242
+ clientstylingurl: 11,
243
+ translationurl: 12
244
+ },
245
+ at
246
+ );
247
+ }
248
+ get endpoint() {
249
+ return this.$$.ctx[6];
250
+ }
251
+ set endpoint(t) {
252
+ this.$$set({ endpoint: t }), p();
253
+ }
254
+ get session() {
255
+ return this.$$.ctx[7];
256
+ }
257
+ set session(t) {
258
+ this.$$set({ session: t }), p();
259
+ }
260
+ get buttonlocation() {
261
+ return this.$$.ctx[0];
262
+ }
263
+ set buttonlocation(t) {
264
+ this.$$set({ buttonlocation: t }), p();
265
+ }
266
+ get lang() {
267
+ return this.$$.ctx[8];
268
+ }
269
+ set lang(t) {
270
+ this.$$set({ lang: t }), p();
271
+ }
272
+ get mbsource() {
273
+ return this.$$.ctx[9];
274
+ }
275
+ set mbsource(t) {
276
+ this.$$set({ mbsource: t }), p();
277
+ }
278
+ get clientstyling() {
279
+ return this.$$.ctx[10];
280
+ }
281
+ set clientstyling(t) {
282
+ this.$$set({ clientstyling: t }), p();
283
+ }
284
+ get clientstylingurl() {
285
+ return this.$$.ctx[11];
286
+ }
287
+ set clientstylingurl(t) {
288
+ this.$$set({ clientstylingurl: t }), p();
289
+ }
290
+ get translationurl() {
291
+ return this.$$.ctx[12];
292
+ }
293
+ set translationurl(t) {
294
+ this.$$set({ translationurl: t }), p();
295
+ }
296
+ }
297
+ ot(ft, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
298
+ export {
299
+ ft as default
300
+ };