@everymatrix/player-account-controller 1.87.26 → 1.87.28

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 (200) hide show
  1. package/components/GeneralLogout-CEm1d9TV.js +300 -0
  2. package/components/GeneralLogout-Cx-68AU-.cjs +1 -0
  3. package/components/GeneralLogout-P3tigWsE.js +300 -0
  4. package/components/PlayerAccountBettingHistory-BTrKyG5c.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-CumeIegs.js +310 -0
  6. package/components/PlayerAccountBettingHistory-V_ZXgT_m.js +311 -0
  7. package/components/PlayerAccountBiometrics-is5id3Pu.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-kmv4HqQ_.js → PlayerAccountBiometrics-kZejQke-.js} +94 -94
  9. package/components/{PlayerAccountBiometrics-Cu1scn1a.js → PlayerAccountBiometrics-nvw10pCK.js} +94 -94
  10. package/components/PlayerAccountBiometricsAction-CnzIUbKT.js +434 -0
  11. package/components/PlayerAccountBiometricsAction-DgA-1ZVp.js +451 -0
  12. package/components/PlayerAccountBiometricsAction-KVABAIgM.cjs +1 -0
  13. package/components/{PlayerAccountClosure-B7lWhxS5.js → PlayerAccountClosure-BRWbN9CL.js} +90 -90
  14. package/components/{PlayerAccountClosure-DWX0cAW_.js → PlayerAccountClosure-CMHJCKmw.js} +92 -92
  15. package/components/PlayerAccountClosure-eMDaHm0s.cjs +1 -0
  16. package/components/PlayerAccountController-BnmD5Ofx.cjs +21 -0
  17. package/components/PlayerAccountController-DuWNHRdy.js +13466 -0
  18. package/components/PlayerAccountController-j-NYynzq.js +13423 -0
  19. package/components/{PlayerAccountGamingLimits-DuDCpH1C.js → PlayerAccountGamingLimits-B4jiOpbe.js} +101 -101
  20. package/components/{PlayerAccountGamingLimits-DNqahHsA.js → PlayerAccountGamingLimits-CKJ6b9fI.js} +97 -97
  21. package/components/PlayerAccountGamingLimits-CWozJexi.cjs +1 -0
  22. package/components/PlayerAccountGamingLimitsConfirmationModal-D7U-SETU.cjs +1 -0
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js → PlayerAccountGamingLimitsConfirmationModal-DnrFMJHA.js} +88 -88
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js → PlayerAccountGamingLimitsConfirmationModal-kEFYK5ek.js} +77 -77
  25. package/components/PlayerAccountGamingLimitsGroupEdit-Bxzv8N1q.cjs +1 -0
  26. package/components/PlayerAccountGamingLimitsGroupEdit-DE3NQvEw.js +1555 -0
  27. package/components/PlayerAccountGamingLimitsGroupEdit-e5InPcEl.js +1555 -0
  28. package/components/PlayerAccountGamingLimitsHistory2-COzxMqse.cjs +1 -0
  29. package/components/{PlayerAccountGamingLimitsHistory2-D1N2rg25.js → PlayerAccountGamingLimitsHistory2-CjyULSw7.js} +111 -111
  30. package/components/{PlayerAccountGamingLimitsHistory2-BN0w14Hg.js → PlayerAccountGamingLimitsHistory2-D77EY8P-.js} +100 -100
  31. package/components/{PlayerAccountGamingLimitsInfoCard-D_ro79gB.js → PlayerAccountGamingLimitsInfoCard-8dFikYNs.js} +415 -399
  32. package/components/PlayerAccountGamingLimitsInfoCard-BGpnQhkj.cjs +1 -0
  33. package/components/{PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js → PlayerAccountGamingLimitsInfoCard-DOiKdkIk.js} +415 -399
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-CMxzI07w.cjs → PlayerAccountGamingLimitsPage2Gm16-B-ROLFTB.cjs} +6 -6
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-o_0DfyBW.js → PlayerAccountGamingLimitsPage2Gm16-Bs5pGY8V.js} +699 -699
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-EA4I02NQ.js → PlayerAccountGamingLimitsPage2Gm16-CmV0jB0D.js} +702 -702
  37. package/components/{PlayerAccountGamingLimitsPopup-9casCGHJ.js → PlayerAccountGamingLimitsPopup-C9wKY91L.js} +34 -34
  38. package/components/PlayerAccountGamingLimitsPopup-Cpzn3X0n.cjs +1 -0
  39. package/components/{PlayerAccountGamingLimitsPopup-DhlQaawG.js → PlayerAccountGamingLimitsPopup-_AnjYuYf.js} +38 -38
  40. package/components/{PlayerAccountGamingLimitsWrapper2-DG5pRuF1.js → PlayerAccountGamingLimitsWrapper2-DqAnX1Py.js} +81 -81
  41. package/components/{PlayerAccountGamingLimitsWrapper2-B_pUqlM0.js → PlayerAccountGamingLimitsWrapper2-Dwknu3Cb.js} +75 -75
  42. package/components/PlayerAccountGamingLimitsWrapper2-y6bGvy33.cjs +4 -0
  43. package/components/{PlayerAccountGeneralConfirmationModal-BIStQzTL.js → PlayerAccountGeneralConfirmationModal-BiBU4e0n.js} +103 -103
  44. package/components/{PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js → PlayerAccountGeneralConfirmationModal-DA07qkhd.js} +106 -106
  45. package/components/PlayerAccountGeneralConfirmationModal-PNfL91mi.cjs +1 -0
  46. package/components/{PlayerAccountMenu-khqZEoBc.js → PlayerAccountMenu-BW2VbXTx.js} +129 -129
  47. package/components/PlayerAccountMenu-CERrQlC7.cjs +1 -0
  48. package/components/{PlayerAccountMenu-OqVmttiI.js → PlayerAccountMenu-C_OETzKF.js} +129 -129
  49. package/components/{PlayerAccountModal-NUSkSmow.js → PlayerAccountModal-CL2SvpaJ.js} +58 -58
  50. package/components/{PlayerAccountModal-BXez3U77.js → PlayerAccountModal-CRzDk0do.js} +54 -54
  51. package/components/PlayerAccountModal-Dv3Yl1K_.cjs +1 -0
  52. package/components/{PlayerAccountNotifications-0v1ghF-m.js → PlayerAccountNotifications-BSwGy1iD.js} +87 -87
  53. package/components/{PlayerAccountNotifications-XjCLekPR.js → PlayerAccountNotifications-BmE8XpGH.js} +126 -126
  54. package/components/PlayerAccountNotifications-CevM0zeL.cjs +1 -0
  55. package/components/PlayerAccountProductRestriction-Bnwnb-af.js +1458 -0
  56. package/components/PlayerAccountProductRestriction-CLH_YtYd.cjs +4 -0
  57. package/components/PlayerAccountProductRestriction-Cj9ofL_Q.js +1493 -0
  58. package/components/{PlayerAccountReviewFrequency-ByPlOg40.js → PlayerAccountReviewFrequency-C8N1VIV5.js} +245 -245
  59. package/components/{PlayerAccountReviewFrequency-yLwAfHZd.js → PlayerAccountReviewFrequency-Cm4mwygx.js} +235 -235
  60. package/components/PlayerAccountReviewFrequency-D2YmIGdB.cjs +4 -0
  61. package/components/PlayerAccountSelfExclusion-C3XJo3op.js +1523 -0
  62. package/components/PlayerAccountSelfExclusion-CRCAuW_I.js +1551 -0
  63. package/components/PlayerAccountSelfExclusion-DIoBP-zp.cjs +1 -0
  64. package/components/{PlayerAccountSelfExclusion-0IraJUCF.js → PlayerAccountTimeout-Be13_cTt.js} +2363 -2581
  65. package/components/{PlayerAccountSelfExclusion-CP3lzn6g.cjs → PlayerAccountTimeout-DEpNYl-t.cjs} +161 -161
  66. package/components/{PlayerAccountSelfExclusion-B9QFixvG.js → PlayerAccountTimeout-H7G4ySPT.js} +2327 -2545
  67. package/components/{PlayerAccountTransactionsHistory-C4dSIP6l.js → PlayerAccountTransactionsHistory-BHDgStwb.js} +293 -292
  68. package/components/{PlayerAccountTransactionsHistory-CAFUIFUl.js → PlayerAccountTransactionsHistory-CKfnF5YJ.js} +304 -303
  69. package/components/PlayerAccountTransactionsHistory-CgTmptks.cjs +4 -0
  70. package/components/{PlayerActiveBonuses-BQSKxH9G.js → PlayerActiveBonuses-BAevp5YH.js} +222 -221
  71. package/components/{PlayerActiveBonuses-DSpez0EN.js → PlayerActiveBonuses-DRppY1vB.js} +192 -193
  72. package/components/PlayerActiveBonuses-M-vgtJjj.cjs +4 -0
  73. package/components/{PlayerBonusCard-D4jw0D02.js → PlayerBonusCard-BBq4z62c.js} +53 -53
  74. package/components/{PlayerBonusCard--2t2lX4X.js → PlayerBonusCard-BWZ4o6Nm.js} +53 -53
  75. package/components/PlayerBonusCard-BenCFvw0.cjs +1 -0
  76. package/components/{PlayerAccountProductRestriction-Drc1Iu2o.cjs → PlayerBonusHistory-CKhVhlwo.cjs} +295 -294
  77. package/components/PlayerBonusHistory-D1DkiHxv.js +20048 -0
  78. package/components/PlayerBonusHistory-DJdSfH1n.js +20037 -0
  79. package/components/{PlayerChangePassword-CK9EmNEl.js → PlayerChangePassword-DeoUbAd5.js} +257 -257
  80. package/components/{PlayerChangePassword-DDqLNG5r.js → PlayerChangePassword-OSahUgLo.js} +257 -257
  81. package/components/PlayerChangePassword-WUgeBsFa.cjs +3 -0
  82. package/components/{PlayerDeposit-BiOuprGV.js → PlayerDeposit-Du1nnR1u.js} +53 -53
  83. package/components/PlayerDeposit-Yd04zzeQ.cjs +1 -0
  84. package/components/{PlayerDeposit-B0xGf2EY.js → PlayerDeposit-abPtD5hO.js} +51 -51
  85. package/components/PlayerGamingHistory-DyYqzcQv.cjs +1 -0
  86. package/components/{PlayerGamingHistory-CDPSEyVI.js → PlayerGamingHistory-PBFc5gs-.js} +372 -373
  87. package/components/{PlayerGamingHistory-CJn-wybc.js → PlayerGamingHistory-XBIUqV4O.js} +404 -405
  88. package/components/{PlayerPendingWithdrawals-DKIV0VFt.js → PlayerPendingWithdrawals-6W2QUcnc.js} +54 -54
  89. package/components/PlayerPendingWithdrawals-7YfYYSbo.cjs +1 -0
  90. package/components/{PlayerPendingWithdrawals-Cw2CONsa.js → PlayerPendingWithdrawals-Dvufib_U.js} +54 -54
  91. package/components/PlayerProfileInfo-BTa1BRn8.cjs +4 -0
  92. package/components/{PlayerProfileInfo-B2PmsKAI.js → PlayerProfileInfo-BmqBm5DP.js} +782 -782
  93. package/components/{PlayerProfileInfo-YrTsyEfP.js → PlayerProfileInfo-DtV65Pxq.js} +646 -646
  94. package/components/PlayerRealityCheck-CqGAN5_L.cjs +1 -0
  95. package/components/{PlayerRealityCheck-CEToSHcC.js → PlayerRealityCheck-CziErfd6.js} +202 -202
  96. package/components/{PlayerRealityCheck-BdFZDJFk.js → PlayerRealityCheck-lVnY8s1I.js} +217 -217
  97. package/components/PlayerTransactionHistory-D5WIm27W.cjs +1 -0
  98. package/components/{PlayerTransactionHistory-BWwWT8z7.js → PlayerTransactionHistory-DZmR7K3t.js} +64 -64
  99. package/components/{PlayerTransactionHistory-C8uedDZz.js → PlayerTransactionHistory-WpDMStju.js} +68 -68
  100. package/components/{PlayerWithdrawal-BXYWP9OV.js → PlayerWithdrawal-BctNJ79f.js} +65 -65
  101. package/components/{PlayerWithdrawal-DuhBS0tB.js → PlayerWithdrawal-BgFPB_ak.js} +65 -65
  102. package/components/PlayerWithdrawal-rv6DLOa1.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-BJrkhDoI.js +0 -403
  159. package/components/PlayerAccountBiometricsAction-BcR2gS30.js +0 -386
  160. package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +0 -1
  161. package/components/PlayerAccountClosure-CxxMCXDa.cjs +0 -1
  162. package/components/PlayerAccountController-0zwzJJ4s.js +0 -8738
  163. package/components/PlayerAccountController-Cg3bzQs5.js +0 -8721
  164. package/components/PlayerAccountController-J-78lsk8.cjs +0 -1
  165. package/components/PlayerAccountGamingLimits-DdwsiJT8.cjs +0 -1
  166. package/components/PlayerAccountGamingLimitsConfirmationModal-BiEiNlIc.cjs +0 -1
  167. package/components/PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js +0 -4781
  168. package/components/PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js +0 -4781
  169. package/components/PlayerAccountGamingLimitsGroupEdit-gLF0R4uM.cjs +0 -2
  170. package/components/PlayerAccountGamingLimitsHistory2-D3h2vvVL.cjs +0 -1
  171. package/components/PlayerAccountGamingLimitsInfoCard-CUhqA1Ww.cjs +0 -1
  172. package/components/PlayerAccountGamingLimitsPopup-DJbPWFdb.cjs +0 -1
  173. package/components/PlayerAccountGamingLimitsWrapper2-1lOfUhUT.cjs +0 -4
  174. package/components/PlayerAccountGeneralConfirmationModal-BCMD8hM8.cjs +0 -1
  175. package/components/PlayerAccountMenu-DXhrPxvF.cjs +0 -1
  176. package/components/PlayerAccountModal-BpTtaUfX.cjs +0 -1
  177. package/components/PlayerAccountNotifications-CMZltoyc.cjs +0 -1
  178. package/components/PlayerAccountProductRestriction-Dl552qim.js +0 -17524
  179. package/components/PlayerAccountProductRestriction-THYKSRMa.js +0 -17559
  180. package/components/PlayerAccountReviewFrequency-BeI7-JB-.cjs +0 -4
  181. package/components/PlayerAccountTimeout-BRlyos9t.cjs +0 -1
  182. package/components/PlayerAccountTimeout-BVyjYoqw.js +0 -975
  183. package/components/PlayerAccountTimeout-CkMUko7-.js +0 -975
  184. package/components/PlayerAccountTransactionsHistory-DlCJ6V4t.cjs +0 -4
  185. package/components/PlayerActiveBonuses-CQXEEx6M.cjs +0 -4
  186. package/components/PlayerBonusCard-DqB-YOwa.cjs +0 -1
  187. package/components/PlayerBonusHistory-BbO5bAQY.js +0 -1106
  188. package/components/PlayerBonusHistory-C6ZPMR2L.js +0 -1095
  189. package/components/PlayerBonusHistory-DtiQesaY.cjs +0 -4
  190. package/components/PlayerChangePassword-IADHpyQs.cjs +0 -3
  191. package/components/PlayerDeposit-CN2QU967.cjs +0 -1
  192. package/components/PlayerGamingHistory-2XEKCfky.cjs +0 -1
  193. package/components/PlayerPendingWithdrawals-HXAehYWA.cjs +0 -1
  194. package/components/PlayerProfileInfo-wZEXXCWQ.cjs +0 -4
  195. package/components/PlayerRealityCheck-DWoQCHkQ.cjs +0 -1
  196. package/components/PlayerTransactionHistory-CHKGqwam.cjs +0 -1
  197. package/components/PlayerWithdrawal-DhfwYn8c.cjs +0 -1
  198. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
  199. package/stencil/pam-change-password-zaJZcylb.cjs +0 -1
  200. package/stencil/user-deposit-withdrawal-DfWpITDc.cjs +0 -72
@@ -1,48 +1,48 @@
1
- import { S as Q, i as V, s as Z, f as y, b as G, n as C, d as b, h as x, k as g, q as S, u as J, w as K, D as M, E as I, j as h, e as s, m as A, a2 as B, c as O, Z as H, t as X, g as v, x as Y, y as $, z as tt, A as et } from "./GeneralLogout-0J1RtGyR.js";
2
- import "../stencil/ui-skeleton-CTFP1U_H.js";
3
- function it(a) {
4
- G(a, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
1
+ import { S as V, i as G, s as J, f as y, b as K, n as M, d as b, c as k, e as g, h as B, o as O, j as X, k as S, l as j, m, r as s, p as C, y as H, t as Y, E as W, u as Z, q as P, z as $, A as tt, B as et, C as it } from "./PlayerAccountController-DuWNHRdy.js";
2
+ import "../stencil/ui-skeleton-BKpwkQ2A.js";
3
+ function nt(r) {
4
+ K(r, "svelte-1b8j2p", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
5
5
  }
6
- function W(a, t, n) {
7
- const e = a.slice();
6
+ function z(r, t, n) {
7
+ const e = r.slice();
8
8
  return e[24] = t[n], e;
9
9
  }
10
- function z(a, t, n) {
11
- const e = a.slice();
10
+ function L(r, t, n) {
11
+ const e = r.slice();
12
12
  return e[21] = t[n], e;
13
13
  }
14
- function nt(a) {
15
- let t, n = M(
14
+ function ot(r) {
15
+ let t, n = S(
16
16
  /*notificationsData*/
17
- a[1]
17
+ r[1]
18
18
  ), e = [];
19
19
  for (let i = 0; i < n.length; i += 1)
20
- e[i] = L(W(a, n, i));
20
+ e[i] = F(z(r, n, i));
21
21
  return {
22
22
  c() {
23
23
  t = g("div");
24
24
  for (let i = 0; i < e.length; i += 1)
25
25
  e[i].c();
26
26
  s(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
27
- (a[3] ? "PlayerAccountNotificationsMobileContainer" : "")), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
28
- (a[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
27
+ (r[3] ? "PlayerAccountNotificationsMobileContainer" : "")), s(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
28
+ (r[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
29
29
  },
30
30
  m(i, o) {
31
- x(i, t, o);
31
+ k(i, t, o);
32
32
  for (let l = 0; l < e.length; l += 1)
33
33
  e[l] && e[l].m(t, null);
34
34
  },
35
35
  p(i, o) {
36
36
  if (o & /*notificationsData*/
37
37
  2) {
38
- n = M(
38
+ n = S(
39
39
  /*notificationsData*/
40
40
  i[1]
41
41
  );
42
42
  let l;
43
43
  for (l = 0; l < n.length; l += 1) {
44
- const r = W(i, n, l);
45
- e[l] ? e[l].p(r, o) : (e[l] = L(r), e[l].c(), e[l].m(t, null));
44
+ const a = z(i, n, l);
45
+ e[l] ? e[l].p(a, o) : (e[l] = F(a), e[l].c(), e[l].m(t, null));
46
46
  }
47
47
  for (; l < e.length; l += 1)
48
48
  e[l].d(1);
@@ -50,14 +50,14 @@ function nt(a) {
50
50
  }
51
51
  },
52
52
  d(i) {
53
- i && b(t), I(e, i);
53
+ i && b(t), j(e, i);
54
54
  }
55
55
  };
56
56
  }
57
- function ot(a) {
58
- let t, n, e = M({ length: 3 }), i = [];
57
+ function lt(r) {
58
+ let t, n, e = S({ length: 3 }), i = [];
59
59
  for (let o = 0; o < e.length; o += 1)
60
- i[o] = F(z(a, e, o));
60
+ i[o] = I(L(r, e, o));
61
61
  return {
62
62
  c() {
63
63
  t = g("div"), n = g("div");
@@ -66,235 +66,235 @@ function ot(a) {
66
66
  s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
67
67
  },
68
68
  m(o, l) {
69
- x(o, t, l), h(t, n);
70
- for (let r = 0; r < i.length; r += 1)
71
- i[r] && i[r].m(n, null);
69
+ k(o, t, l), m(t, n);
70
+ for (let a = 0; a < i.length; a += 1)
71
+ i[a] && i[a].m(n, null);
72
72
  },
73
73
  p(o, l) {
74
74
  if (l & /*isMobile, mediaQuery*/
75
75
  24) {
76
- e = M({ length: 3 });
77
- let r;
78
- for (r = 0; r < e.length; r += 1) {
79
- const d = z(o, e, r);
80
- i[r] ? i[r].p(d, l) : (i[r] = F(d), i[r].c(), i[r].m(n, null));
76
+ e = S({ length: 3 });
77
+ let a;
78
+ for (a = 0; a < e.length; a += 1) {
79
+ const f = L(o, e, a);
80
+ i[a] ? i[a].p(f, l) : (i[a] = I(f), i[a].c(), i[a].m(n, null));
81
81
  }
82
- for (; r < i.length; r += 1)
83
- i[r].d(1);
82
+ for (; a < i.length; a += 1)
83
+ i[a].d(1);
84
84
  i.length = e.length;
85
85
  }
86
86
  },
87
87
  d(o) {
88
- o && b(t), I(i, o);
88
+ o && b(t), j(i, o);
89
89
  }
90
90
  };
91
91
  }
92
- function L(a) {
93
- let t, n, e, i, o, l, r, d = (
92
+ function F(r) {
93
+ let t, n, e, i, o, l, a, f = (
94
94
  /*notification*/
95
- a[24].title + ""
96
- ), p, _, u, k = (
95
+ r[24].title + ""
96
+ ), p, _, u, x = (
97
97
  /*notification*/
98
- a[24].description + ""
99
- ), P;
98
+ r[24].description + ""
99
+ ), N;
100
100
  return {
101
101
  c() {
102
- t = g("div"), n = g("div"), e = g("img"), l = A(), r = g("p"), p = X(d), _ = A(), u = g("p"), P = A(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
103
- a[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
104
- a[24].title), s(r, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
102
+ t = g("div"), n = g("div"), e = g("img"), l = C(), a = g("p"), p = Z(f), _ = C(), u = g("p"), N = C(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), H(e.src, i = /*notification*/
103
+ r[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
104
+ r[24].title), s(a, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), W(
105
105
  t,
106
106
  "background",
107
107
  /*notification*/
108
- a[24].backgroundColor
108
+ r[24].backgroundColor
109
109
  );
110
110
  },
111
- m(m, f) {
112
- x(m, t, f), h(t, n), h(n, e), h(n, l), h(n, r), h(r, p), h(t, _), h(t, u), u.innerHTML = k, h(t, P);
111
+ m(d, h) {
112
+ k(d, t, h), m(t, n), m(n, e), m(n, l), m(n, a), m(a, p), m(t, _), m(t, u), u.innerHTML = x, m(t, N);
113
113
  },
114
- p(m, f) {
115
- f & /*notificationsData*/
116
- 2 && !B(e.src, i = /*notification*/
117
- m[24].icon) && s(e, "src", i), f & /*notificationsData*/
114
+ p(d, h) {
115
+ h & /*notificationsData*/
116
+ 2 && !H(e.src, i = /*notification*/
117
+ d[24].icon) && s(e, "src", i), h & /*notificationsData*/
118
118
  2 && o !== (o = /*notification*/
119
- m[24].title) && s(e, "alt", o), f & /*notificationsData*/
120
- 2 && d !== (d = /*notification*/
121
- m[24].title + "") && O(p, d), f & /*notificationsData*/
122
- 2 && k !== (k = /*notification*/
123
- m[24].description + "") && (u.innerHTML = k), f & /*notificationsData*/
124
- 2 && H(
119
+ d[24].title) && s(e, "alt", o), h & /*notificationsData*/
120
+ 2 && f !== (f = /*notification*/
121
+ d[24].title + "") && Y(p, f), h & /*notificationsData*/
122
+ 2 && x !== (x = /*notification*/
123
+ d[24].description + "") && (u.innerHTML = x), h & /*notificationsData*/
124
+ 2 && W(
125
125
  t,
126
126
  "background",
127
127
  /*notification*/
128
- m[24].backgroundColor
128
+ d[24].backgroundColor
129
129
  );
130
130
  },
131
- d(m) {
132
- m && b(t);
131
+ d(d) {
132
+ d && b(t);
133
133
  }
134
134
  };
135
135
  }
136
- function lt(a) {
136
+ function rt(r) {
137
137
  let t;
138
138
  return {
139
139
  c() {
140
- t = g("ui-skeleton"), v(t, "structure", "rectangle"), v(t, "width", "auto"), v(
140
+ t = g("ui-skeleton"), P(t, "structure", "rectangle"), P(t, "width", "auto"), P(
141
141
  t,
142
142
  "height",
143
143
  /*isMobile*/
144
- a[3] && /*mediaQuery*/
145
- a[4].matches ? "250px" : "400px"
144
+ r[3] && /*mediaQuery*/
145
+ r[4].matches ? "250px" : "400px"
146
146
  );
147
147
  },
148
148
  m(n, e) {
149
- x(n, t, e);
149
+ k(n, t, e);
150
150
  },
151
- p: C,
151
+ p: M,
152
152
  d(n) {
153
153
  n && b(t);
154
154
  }
155
155
  };
156
156
  }
157
- function at(a) {
157
+ function at(r) {
158
158
  let t;
159
159
  return {
160
160
  c() {
161
- t = g("ui-skeleton"), t.innerHTML = "", v(t, "structure", "rectangle"), v(t, "width", "auto"), v(t, "height", "130px");
161
+ t = g("ui-skeleton"), t.innerHTML = "", P(t, "structure", "rectangle"), P(t, "width", "auto"), P(t, "height", "130px");
162
162
  },
163
163
  m(n, e) {
164
- x(n, t, e);
164
+ k(n, t, e);
165
165
  },
166
- p: C,
166
+ p: M,
167
167
  d(n) {
168
168
  n && b(t);
169
169
  }
170
170
  };
171
171
  }
172
- function F(a) {
172
+ function I(r) {
173
173
  let t, n;
174
- function e(l, r) {
174
+ function e(l, a) {
175
175
  return (
176
176
  /*isMobile*/
177
- l[3] ? lt : at
177
+ l[3] ? rt : at
178
178
  );
179
179
  }
180
- let o = e(a)(a);
180
+ let o = e(r)(r);
181
181
  return {
182
182
  c() {
183
- t = g("div"), o.c(), n = A(), s(t, "class", "skeletonNotification");
183
+ t = g("div"), o.c(), n = C(), s(t, "class", "skeletonNotification");
184
184
  },
185
- m(l, r) {
186
- x(l, t, r), o.m(t, null), h(t, n);
185
+ m(l, a) {
186
+ k(l, t, a), o.m(t, null), m(t, n);
187
187
  },
188
- p(l, r) {
189
- o.p(l, r);
188
+ p(l, a) {
189
+ o.p(l, a);
190
190
  },
191
191
  d(l) {
192
192
  l && b(t), o.d();
193
193
  }
194
194
  };
195
195
  }
196
- function rt(a) {
196
+ function ct(r) {
197
197
  let t;
198
198
  function n(o, l) {
199
- var r;
199
+ var a;
200
200
  if (
201
201
  /*skeletonLoading*/
202
202
  o[2]
203
203
  )
204
- return ot;
204
+ return lt;
205
205
  if (
206
206
  /*notificationsData*/
207
- (r = o[1]) != null && r.length
207
+ (a = o[1]) != null && a.length
208
208
  )
209
- return nt;
209
+ return ot;
210
210
  }
211
- let e = n(a), i = e && e(a);
211
+ let e = n(r), i = e && e(r);
212
212
  return {
213
213
  c() {
214
214
  t = g("div"), i && i.c();
215
215
  },
216
216
  m(o, l) {
217
- x(o, t, l), i && i.m(t, null), a[13](t);
217
+ k(o, t, l), i && i.m(t, null), r[13](t);
218
218
  },
219
219
  p(o, [l]) {
220
220
  e === (e = n(o)) && i ? i.p(o, l) : (i && i.d(1), i = e && e(o), i && (i.c(), i.m(t, null)));
221
221
  },
222
- i: C,
223
- o: C,
222
+ i: M,
223
+ o: M,
224
224
  d(o) {
225
- o && b(t), i && i.d(), a[13](null);
225
+ o && b(t), i && i.d(), r[13](null);
226
226
  }
227
227
  };
228
228
  }
229
- function ct(a, t, n) {
230
- let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: r = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0, P = window.navigator.userAgent, m = S(P) !== "PC", f = [], N = [], j = D();
231
- const q = window.matchMedia("(min-width: 768px)");
229
+ function st(r, t, n) {
230
+ let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: a = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, x, N = !0, d = window.navigator.userAgent, h = B(d) !== "PC", w = [], A = [], q = D();
231
+ const R = window.matchMedia("(min-width: 768px)");
232
232
  function D() {
233
- const c = S(P);
233
+ const c = B(d);
234
234
  if (c)
235
235
  return c === "PC" ? "dk" : "mtWeb";
236
236
  }
237
- const R = () => {
237
+ const E = () => {
238
238
  const c = new URL(`${i}/${e}/support-information`);
239
- c.searchParams.append("env", o), c.searchParams.append("userRoles", l), c.searchParams.append("device", j), fetch(c.href).then((w) => w.json()).then((w) => {
240
- w.length && (n(1, f = w[0].children), f == null || f.forEach((U) => {
241
- N.length && (U.backgroundColor = N[0], N.shift());
239
+ c.searchParams.append("env", o), c.searchParams.append("userRoles", l), c.searchParams.append("device", q), fetch(c.href).then((v) => v.json()).then((v) => {
240
+ v.length && (n(1, w = v[0].children), w == null || w.forEach((Q) => {
241
+ A.length && (Q.backgroundColor = A[0], A.shift());
242
242
  }));
243
- }).catch((w) => {
244
- console.error(w);
243
+ }).catch((v) => {
244
+ console.error(v);
245
245
  }).finally(() => {
246
246
  setTimeout(
247
247
  () => {
248
- n(2, k = !1);
248
+ n(2, N = !1);
249
249
  },
250
250
  1e3
251
251
  );
252
252
  });
253
253
  }, T = () => {
254
- r.replace(" ", ""), N = r.split(",");
254
+ a.replace(" ", ""), A = a.split(",");
255
255
  };
256
- J(() => () => {
256
+ O(() => () => {
257
257
  });
258
- function E(c) {
259
- K[c ? "unshift" : "push"](() => {
258
+ function U(c) {
259
+ X[c ? "unshift" : "push"](() => {
260
260
  u = c, n(0, u);
261
261
  });
262
262
  }
263
- return a.$$set = (c) => {
264
- "lang" in c && n(5, e = c.lang), "cmsendpoint" in c && n(6, i = c.cmsendpoint), "env" in c && n(7, o = c.env), "userroles" in c && n(8, l = c.userroles), "customnotif" in c && n(9, r = c.customnotif), "clientstyling" in c && n(10, d = c.clientstyling), "clientstylingurl" in c && n(11, p = c.clientstylingurl), "mbsource" in c && n(12, _ = c.mbsource);
265
- }, a.$$.update = () => {
266
- a.$$.dirty & /*customnotif*/
267
- 512 && r && T(), a.$$.dirty & /*notificationsData*/
268
- 2 && f && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
269
- 480 && l && i && o && e && R(), a.$$.dirty & /*clientstyling, customStylingContainer*/
270
- 1025 && d && u && Y(u, d), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
271
- 2049 && p && u && $(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
272
- 4097 && _ && u && tt(u, `${_}.Style`);
263
+ return r.$$set = (c) => {
264
+ "lang" in c && n(5, e = c.lang), "cmsendpoint" in c && n(6, i = c.cmsendpoint), "env" in c && n(7, o = c.env), "userroles" in c && n(8, l = c.userroles), "customnotif" in c && n(9, a = c.customnotif), "clientstyling" in c && n(10, f = c.clientstyling), "clientstylingurl" in c && n(11, p = c.clientstylingurl), "mbsource" in c && n(12, _ = c.mbsource);
265
+ }, r.$$.update = () => {
266
+ r.$$.dirty & /*customnotif*/
267
+ 512 && a && T(), r.$$.dirty & /*notificationsData*/
268
+ 2 && w && T(), r.$$.dirty & /*userroles, cmsendpoint, env, lang*/
269
+ 480 && l && i && o && e && E(), r.$$.dirty & /*clientstyling, customStylingContainer*/
270
+ 1025 && f && u && $(u, f), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
271
+ 2049 && p && u && tt(u, p), r.$$.dirty & /*mbsource, customStylingContainer*/
272
+ 4097 && _ && u && et(u, `${_}.Style`, x);
273
273
  }, [
274
274
  u,
275
- f,
276
- k,
277
- m,
278
- q,
275
+ w,
276
+ N,
277
+ h,
278
+ R,
279
279
  e,
280
280
  i,
281
281
  o,
282
282
  l,
283
- r,
284
- d,
283
+ a,
284
+ f,
285
285
  p,
286
286
  _,
287
- E
287
+ U
288
288
  ];
289
289
  }
290
- class st extends Q {
290
+ class ut extends V {
291
291
  constructor(t) {
292
- super(), V(
292
+ super(), G(
293
293
  this,
294
294
  t,
295
+ st,
295
296
  ct,
296
- rt,
297
- Z,
297
+ J,
298
298
  {
299
299
  lang: 5,
300
300
  cmsendpoint: 6,
@@ -305,7 +305,7 @@ class st extends Q {
305
305
  clientstylingurl: 11,
306
306
  mbsource: 12
307
307
  },
308
- it
308
+ nt
309
309
  );
310
310
  }
311
311
  get lang() {
@@ -357,7 +357,7 @@ class st extends Q {
357
357
  this.$$set({ mbsource: t }), y();
358
358
  }
359
359
  }
360
- et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
360
+ it(ut, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
361
361
  export {
362
- st as default
362
+ ut as default
363
363
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-BnmD5Ofx.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(a){e.append_styles(a,"svelte-1b8j2p",':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s;container-type:inline-size;container-name:notifications-container}.PlayerAccountNotificationBox{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));display:block;padding:20px;border-radius:var(--emw--border-radius-medium, 10px);width:100%;color:var(--emw--color-black, #000);box-sizing:border-box;text-decoration:none;word-break:break-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function v(a,t,o){const n=a.slice();return n[24]=t[o],n}function w(a,t,o){const n=a.slice();return n[21]=t[o],n}function L(a){let t,o=e.ensure_array_like(a[1]),n=[];for(let i=0;i<o.length;i+=1)n[i]=P(v(a,o,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":"")),e.attr(t,"part","PlayerAccountNotificationsContainer "+(a[3]?"PlayerAccountNotificationsMobileContainer":""))},m(i,l){e.insert(i,t,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,l){if(l&2){o=e.ensure_array_like(i[1]);let r;for(r=0;r<o.length;r+=1){const c=v(i,o,r);n[r]?n[r].p(c,l):(n[r]=P(c),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=o.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function z(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=N(w(a,n,l));return{c(){t=e.element("div"),o=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainer")},m(l,r){e.insert(l,t,r),e.append(t,o);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,null)},p(l,r){if(r&24){n=e.ensure_array_like({length:3});let c;for(c=0;c<n.length;c+=1){const d=w(l,n,c);i[c]?i[c].p(d,r):(i[c]=N(d),i[c].c(),i[c].m(o,null))}for(;c<i.length;c+=1)i[c].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function P(a){let t,o,n,i,l,r,c,d=a[24].title+"",g,p,u,h=a[24].description+"",k;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(d),p=e.space(),u=e.element("p"),k=e.space(),e.attr(n,"class","PlayerAccountNotificationIcon"),e.attr(n,"width","24px"),e.attr(n,"height","24px"),e.src_url_equal(n.src,i=a[24].icon)||e.attr(n,"src",i),e.attr(n,"alt",l=a[24].title),e.attr(c,"class","PlayerAccountNotificationTitle"),e.attr(o,"class","PlayerAccountNotificationBoxHeader"),e.attr(u,"class","PlayerAccountNotificationText"),e.attr(t,"class","PlayerAccountNotificationBox"),e.set_style(t,"background",a[24].backgroundColor)},m(f,m){e.insert(f,t,m),e.append(t,o),e.append(o,n),e.append(o,r),e.append(o,c),e.append(c,g),e.append(t,p),e.append(t,u),u.innerHTML=h,e.append(t,k)},p(f,m){m&2&&!e.src_url_equal(n.src,i=f[24].icon)&&e.attr(n,"src",i),m&2&&l!==(l=f[24].title)&&e.attr(n,"alt",l),m&2&&d!==(d=f[24].title+"")&&e.set_data(g,d),m&2&&h!==(h=f[24].description+"")&&(u.innerHTML=h),m&2&&e.set_style(t,"background",f[24].backgroundColor)},d(f){f&&e.detach(t)}}}function F(a){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height",a[3]&&a[4].matches?"250px":"400px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function I(a){let t;return{c(){t=e.element("ui-skeleton"),t.innerHTML="",e.set_custom_element_data(t,"structure","rectangle"),e.set_custom_element_data(t,"width","auto"),e.set_custom_element_data(t,"height","130px")},m(o,n){e.insert(o,t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function N(a){let t,o;function n(r,c){return r[3]?F:I}let l=n(a)(a);return{c(){t=e.element("div"),l.c(),o=e.space(),e.attr(t,"class","skeletonNotification")},m(r,c){e.insert(r,t,c),l.m(t,null),e.append(t,o)},p(r,c){l.p(r,c)},d(r){r&&e.detach(t),l.d()}}}function q(a){let t;function o(l,r){var c;if(l[2])return z;if((c=l[1])!=null&&c.length)return L}let n=o(a),i=n&&n(a);return{c(){t=e.element("div"),i&&i.c()},m(l,r){e.insert(l,t,r),i&&i.m(t,null),a[13](t)},p(l,[r]){n===(n=o(l))&&i?i.p(l,r):(i&&i.d(1),i=n&&n(l),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),i&&i.d(),a[13](null)}}}function j(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h,k=!0,f=window.navigator.userAgent,m=e.getDevice(f)!=="PC",_=[],b=[],C=S();const M=window.matchMedia("(min-width: 768px)");function S(){const s=e.getDevice(f);if(s)return s==="PC"?"dk":"mtWeb"}const T=()=>{const s=new URL(`${i}/${n}/support-information`);s.searchParams.append("env",l),s.searchParams.append("userRoles",r),s.searchParams.append("device",C),fetch(s.href).then(y=>y.json()).then(y=>{y.length&&(o(1,_=y[0].children),_==null||_.forEach(H=>{b.length&&(H.backgroundColor=b[0],b.shift())}))}).catch(y=>{console.error(y)}).finally(()=>{setTimeout(()=>{o(2,k=!1)},1e3)})},x=()=>{c.replace(" ",""),b=c.split(",")};e.onMount(()=>()=>{});function B(s){e.binding_callbacks[s?"unshift":"push"](()=>{u=s,o(0,u)})}return a.$$set=s=>{"lang"in s&&o(5,n=s.lang),"cmsendpoint"in s&&o(6,i=s.cmsendpoint),"env"in s&&o(7,l=s.env),"userroles"in s&&o(8,r=s.userroles),"customnotif"in s&&o(9,c=s.customnotif),"clientstyling"in s&&o(10,d=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&x(),a.$$.dirty&2&&_&&x(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&d&&u&&e.setClientStyling(u,d),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`,h)},[u,_,k,m,M,n,i,l,r,c,d,g,p,B]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,j,q,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},W)}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[6]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[7]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get customnotif(){return this.$$.ctx[9]}set customnotif(t){this.$$set({customnotif:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(A,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=A;