@everymatrix/player-account-controller 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/components/GeneralLogout-CuvnoUn1.cjs +21 -0
  2. package/components/{GeneralLogout-CiyGpZGU.js → GeneralLogout-DSECYo0-.js} +1427 -1392
  3. package/components/{GeneralLogout-Vg76ri4V.js → GeneralLogout-DpZ-BcWm.js} +1432 -1397
  4. package/components/{PlayerAccountBettingHistory-Dn9IsrIP.js → PlayerAccountBettingHistory-BDYeFmkk.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-Bv1Qcp8m.js → PlayerAccountBettingHistory-CNH9wk4q.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-CE023VGz.cjs → PlayerAccountBettingHistory-Cb9zY2cj.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-C2wumiJ3.js → PlayerAccountBiometrics-B9d0_egW.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-CSSQNl0K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-CH9MN1vT.js → PlayerAccountBiometrics-DvAjLCSX.js} +22 -22
  10. package/components/{PlayerAccountClosure-DG5NrDqY.cjs → PlayerAccountClosure-D2ovK8jC.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-BqrCJaGp.js → PlayerAccountClosure-DzDcGjw6.js} +17 -17
  12. package/components/{PlayerAccountClosure-Dda9CHdX.js → PlayerAccountClosure-uGbZZ9An.js} +17 -17
  13. package/components/{PlayerAccountController-B4PFrYEI.js → PlayerAccountController-Bh2YqpJa.js} +141 -141
  14. package/components/{PlayerAccountController-COYhGK6M.cjs → PlayerAccountController-COwgIzeU.cjs} +1 -1
  15. package/components/{PlayerAccountController-ByUWaGAx.js → PlayerAccountController-CvNKS6xL.js} +143 -143
  16. package/components/{PlayerAccountGamingLimits-CqPkjNdS.js → PlayerAccountGamingLimits-B6wKBvsB.js} +19 -19
  17. package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-BPVpte4c.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-CJksEBIA.js → PlayerAccountGamingLimits-DBraet-_.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js → PlayerAccountGamingLimitsConfirmationModal-BKVbjWGo.js} +53 -53
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js → PlayerAccountGamingLimitsConfirmationModal-C7eo4n91.js} +53 -53
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js → PlayerAccountGamingLimitsGroupEdit-CfD-M6Qh.js} +1079 -1081
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-Ageqronh.js → PlayerAccountGamingLimitsGroupEdit-JjBMtw_4.js} +1079 -1081
  24. package/components/PlayerAccountGamingLimitsGroupEdit-gUkWnHwu.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-kH5zBkQX.js → PlayerAccountGamingLimitsHistory2-B41VVq8R.js} +39 -39
  26. package/components/{PlayerAccountGamingLimitsHistory2-BusoJL-w.js → PlayerAccountGamingLimitsHistory2-BM9UlpyS.js} +41 -41
  27. package/components/{PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs → PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-B1-rS3C8.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BHAREEgX.js → PlayerAccountGamingLimitsInfoCard-B9H7I5Gr.js} +80 -80
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js → PlayerAccountGamingLimitsInfoCard-DwX_bkPR.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-2oRWSXWO.js → PlayerAccountGamingLimitsPage2Gm16-Brd3m-fP.js} +173 -173
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-CZcdczjv.cjs → PlayerAccountGamingLimitsPage2Gm16-Q5WrBUgy.cjs} +4 -4
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-ojAv_lpK.js → PlayerAccountGamingLimitsPage2Gm16-w3PA_HBR.js} +135 -135
  34. package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-Bl1xoGPY.js → PlayerAccountGamingLimitsPopup-BhTuwNDv.js} +28 -28
  36. package/components/{PlayerAccountGamingLimitsPopup-D0ltWJSo.js → PlayerAccountGamingLimitsPopup-Bm8wJyt7.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BwvNsW4e.js → PlayerAccountGamingLimitsWrapper2-DlnqaCXY.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2-ZXbMFdyJ.js → PlayerAccountGamingLimitsWrapper2-Em5gYydz.js} +37 -37
  39. package/components/{PlayerAccountGamingLimitsWrapper2-BnQ3dx8-.cjs → PlayerAccountGamingLimitsWrapper2-HBygavB0.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-JvzRw4bx.js → PlayerAccountGeneralConfirmationModal-C2j-cezP.js} +68 -68
  41. package/components/PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs +1 -0
  42. package/components/{PlayerAccountGeneralConfirmationModal-T_JYxL62.js → PlayerAccountGeneralConfirmationModal-TR0re855.js} +68 -68
  43. package/components/{PlayerAccountMenu-JDfi5y52.cjs → PlayerAccountMenu-BQu1uMXy.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-DPpd0Onj.js → PlayerAccountMenu-DDK28uRA.js} +33 -33
  45. package/components/{PlayerAccountMenu-C4sG1dhf.js → PlayerAccountMenu-DZqChKXK.js} +33 -33
  46. package/components/{PlayerAccountModal-BGCTA59j.js → PlayerAccountModal-Cw2Mcd-d.js} +25 -25
  47. package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-CzspHDhO.cjs} +1 -1
  48. package/components/{PlayerAccountModal-DkyQ5JIi.js → PlayerAccountModal-DoBwOdNI.js} +25 -25
  49. package/components/{PlayerAccountNotifications-DTtMvV8M.js → PlayerAccountNotifications-BpsUOj0M.js} +36 -36
  50. package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-CGmkTd-y.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-OJnPC108.js → PlayerAccountNotifications-CzhNTTTd.js} +35 -35
  52. package/components/{PlayerAccountProductRestriction-DSjfzN0L.js → PlayerAccountProductRestriction-ClvW28BI.js} +9467 -4397
  53. package/components/{PlayerAccountProductRestriction-BtXJwF14.js → PlayerAccountProductRestriction-DEGzc5kz.js} +9491 -4421
  54. package/components/PlayerAccountProductRestriction-HFCCxFxz.cjs +7968 -0
  55. package/components/{PlayerAccountSelfExclusion-BFhhj0lU.js → PlayerAccountSelfExclusion-BOViWFS9.js} +899 -901
  56. package/components/{PlayerAccountSelfExclusion-CdvQXAjK.cjs → PlayerAccountSelfExclusion-BWBLv-18.cjs} +155 -155
  57. package/components/{PlayerAccountSelfExclusion-CLHfQEii.js → PlayerAccountSelfExclusion-C7Br5VmH.js} +1216 -1218
  58. package/components/{PlayerAccountTimeout-Dfa2jJXc.js → PlayerAccountTimeout-CIHTd0LQ.js} +103 -103
  59. package/components/{PlayerAccountTimeout-lsP1D_FM.js → PlayerAccountTimeout-CfEHZ9pc.js} +103 -103
  60. package/components/{PlayerAccountTimeout-Dhey1QrR.cjs → PlayerAccountTimeout-DtpzMxQd.cjs} +1 -1
  61. package/components/{PlayerAccountTransactionsHistory-DBFq20c2.cjs → PlayerAccountTransactionsHistory-F6GVNqFp.cjs} +1 -1
  62. package/components/{PlayerAccountTransactionsHistory-BX9loazR.js → PlayerAccountTransactionsHistory-Y6ZG0CWS.js} +84 -84
  63. package/components/{PlayerAccountTransactionsHistory-CcbcOFdo.js → PlayerAccountTransactionsHistory-igmI9FwW.js} +84 -84
  64. package/components/PlayerActiveBonuses-BX2RoyE3.js +1169 -0
  65. package/components/PlayerActiveBonuses-CQY1HsqF.js +1170 -0
  66. package/components/PlayerActiveBonuses-DVq9bN8v.cjs +4 -0
  67. package/components/{PlayerBonusCard-CkEs_ikq.js → PlayerBonusCard-BXjt3PQh.js} +81 -81
  68. package/components/{PlayerBonusCard-D8XTVs99.js → PlayerBonusCard-BYBQy1Si.js} +81 -81
  69. package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-C6zYcpN6.cjs} +1 -1
  70. package/components/PlayerBonusHistory-D_dN_hkb.cjs +4 -0
  71. package/components/PlayerBonusHistory-nKCbz6D4.js +1089 -0
  72. package/components/PlayerBonusHistory-qV6ulYRf.js +1100 -0
  73. package/components/{PlayerChangePassword-Hj0mD9xL.js → PlayerChangePassword-B5A-0Obq.js} +66 -66
  74. package/components/{PlayerChangePassword-CfCN79eP.cjs → PlayerChangePassword-CTNjnq_r.cjs} +1 -1
  75. package/components/{PlayerChangePassword-Cc15tSRv.js → PlayerChangePassword-DTahlEtx.js} +66 -66
  76. package/components/{PlayerDeposit-CmBFg6tX.cjs → PlayerDeposit-BsyYS9xx.cjs} +1 -1
  77. package/components/{PlayerDeposit-Bm1DOHlW.js → PlayerDeposit-DOzGblzs.js} +29 -29
  78. package/components/{PlayerDeposit-BpS3fS46.js → PlayerDeposit-DqT5-LKW.js} +29 -29
  79. package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-8Bo-uc3o.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-Bew4OVxF.js → PlayerGamingHistory-ByLE5wRu.js} +82 -82
  81. package/components/{PlayerGamingHistory-B9lwGb0Z.js → PlayerGamingHistory-CfvSHYhg.js} +102 -102
  82. package/components/{PlayerPendingWithdrawals-scSFcYAA.js → PlayerPendingWithdrawals-CGYcCotO.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-Dvq9lK8F.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-pfC5sUpM.js → PlayerPendingWithdrawals-iWN6LsIP.js} +26 -26
  85. package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CImeJryH.cjs} +2 -2
  86. package/components/{PlayerProfileInfo-1ELKHIQs.js → PlayerProfileInfo-CXB2S4G7.js} +162 -162
  87. package/components/{PlayerProfileInfo-DYvdUkJZ.js → PlayerProfileInfo-CkE2sMgx.js} +150 -150
  88. package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-BynMsi1X.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-pQWsLK1G.js → PlayerRealityCheck-Dr5lvwHL.js} +45 -45
  90. package/components/{PlayerRealityCheck-DLPtMaP7.js → PlayerRealityCheck-kgcCV8FV.js} +44 -44
  91. package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-BU4_vLyx.cjs} +1 -1
  92. package/components/{PlayerTransactionHistory-B7ts1zGr.js → PlayerTransactionHistory-CEEirGIE.js} +19 -19
  93. package/components/{PlayerTransactionHistory-CUa0IaZD.js → PlayerTransactionHistory-j-FbnqEI.js} +19 -19
  94. package/components/{PlayerWithdrawal-BTfz-sCc.js → PlayerWithdrawal-B_nHZSvY.js} +19 -19
  95. package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-CkSCfQ4A.cjs} +1 -1
  96. package/components/{PlayerWithdrawal-DYVDpOnE.js → PlayerWithdrawal-DjRR7TrQ.js} +19 -19
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-DuNUJJTh.js → checkbox-group-input_15-BBNhj_Ez.js} +9418 -4350
  102. package/stencil/{checkbox-group-input_15-_nxwaXJG.cjs → checkbox-group-input_15-BUAKCzmY.cjs} +2337 -430
  103. package/stencil/{checkbox-group-input_15-Cm-Io-xD.js → checkbox-group-input_15-DhdZZMQG.js} +9421 -4353
  104. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +1 -0
  105. package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-HE2lDlEL.js} +192 -192
  106. package/stencil/{index-1ef3a64c-DQk1yZfC.js → index-1ef3a64c-zEGNB-u8.js} +185 -185
  107. package/stencil/{index-6e523641-D97cqlCQ.js → index-6e523641-C-aWDr56.js} +185 -185
  108. package/stencil/{index-6e523641-BMbc57IV.js → index-6e523641-CIqESSFm.js} +207 -207
  109. package/stencil/index-6e523641-D-RFKZXR.cjs +1 -0
  110. package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-CWsaYxOT.js} +176 -176
  111. package/stencil/index-9c0f6c58-Cv5Mos03.cjs +1 -0
  112. package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-ntq_iYNK.js} +180 -180
  113. package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
  114. package/stencil/index-b2193545-DoYU_tL8.js +503 -0
  115. package/stencil/index-b2193545-_I2wisuY.js +519 -0
  116. package/stencil/index-c666b6e6-CZr6syf8.cjs +1 -0
  117. package/stencil/{index-c666b6e6-eYzoO3Jn.js → index-c666b6e6-D8xGexCZ.js} +209 -209
  118. package/stencil/{index-c666b6e6-c0hf32cu.js → index-c666b6e6-Vwu9_e2o.js} +217 -217
  119. package/stencil/{pam-change-password-9aef79f2-mdiqi4BL.js → pam-change-password-9aef79f2-JgtKjVdV.js} +59 -59
  120. package/stencil/{pam-change-password-9aef79f2-ONc9NBqY.cjs → pam-change-password-9aef79f2-S57P1f_2.cjs} +2 -2
  121. package/stencil/{pam-change-password-9aef79f2-CavSOe-m.js → pam-change-password-9aef79f2-WHSL8b2R.js} +59 -59
  122. package/stencil/{pam-change-password-CurSbN32.js → pam-change-password-COjXUnoM.js} +1 -1
  123. package/stencil/{pam-change-password-BKya2rzZ.cjs → pam-change-password-DRj4ACYC.cjs} +1 -1
  124. package/stencil/{pam-change-password-CZxcB-oo.js → pam-change-password-mjpt8ZLw.js} +1 -1
  125. package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-BOxNJ6x_.cjs} +1 -1
  126. package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-jOo_qPpq.js} +1 -1
  127. package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-sZ9OAQ8Z.js} +1 -1
  128. package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-C_FDz0NJ.js} +2 -2
  129. package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
  130. package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
  131. package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
  133. package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-mkMdvWYI.js} +2 -2
  134. package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-Cr0-V-2c.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-DdJYJeX1.js} +45 -45
  137. package/stencil/{user-transaction-history-DgJplHTM.js → user-transaction-history-ChQcZwtX.js} +1 -1
  138. package/stencil/{user-transaction-history-DLnBnc9G.cjs → user-transaction-history-D4WBmCh8.cjs} +1 -1
  139. package/stencil/{user-transaction-history-DmJRwGhM.js → user-transaction-history-Dla0Do5o.js} +1 -1
  140. package/stencil/{user-transaction-history_2-C4mIlMIA.js → user-transaction-history_2-B1al0Y-h.js} +841 -843
  141. package/stencil/{user-transaction-history_2-B2zGklPY.js → user-transaction-history_2-DznYNRIL.js} +847 -849
  142. package/stencil/user-transaction-history_2-bMxqSwYs.cjs +2 -0
  143. package/components/GeneralLogout-COm1JcKW.cjs +0 -21
  144. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
  145. package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +0 -2
  146. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
  147. package/components/PlayerAccountProductRestriction-BJ0LFpLp.cjs +0 -6061
  148. package/components/PlayerActiveBonuses-BWfdGowJ.js +0 -1140
  149. package/components/PlayerActiveBonuses-DcuRFKFP.js +0 -1139
  150. package/components/PlayerActiveBonuses-Me5Q3o65.cjs +0 -1
  151. package/components/PlayerBonusHistory-BmeRyaDK.cjs +0 -1
  152. package/components/PlayerBonusHistory-CTKJuEJG.js +0 -1073
  153. package/components/PlayerBonusHistory-DmYF8qYy.js +0 -1062
  154. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
  155. package/stencil/index-6e523641-BZDelC3M.cjs +0 -1
  156. package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
  157. package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
  158. package/stencil/index-b2193545-DPKCFIaU.js +0 -503
  159. package/stencil/index-b2193545-LzjWxki5.js +0 -519
  160. package/stencil/index-c666b6e6-boVOGpc7.cjs +0 -1
  161. package/stencil/user-transaction-history_2-hm8W11mj.cjs +0 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-COm1JcKW.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function M(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CuvnoUn1.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function M(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
@@ -1,5 +1,5 @@
1
- import { a3 as A, S as H, i as U, f, c as W, s as j, b as q, F as B, k as L, L as m, M as w, _ as F, p as z, v as I, H as J, e as _, g as y, l as S, I as K, J as N, K as P, U as R, a4 as v, a0 as G, x as M, y as O, z as Q, A as T } from "./GeneralLogout-CiyGpZGU.js";
2
- function k(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
1
+ import { a3 as W, S as j, i as A, s as H, f, b as q, d as L, I as w, J as m, a0 as B, _ as F, h as z, F as I, u as J, H as K, a4 as S, W as N, K as P, L as R, M as U, j as M, k as _, e as y, w as k, x as G, y as O, z as Q, A as T } from "./GeneralLogout-DpZ-BcWm.js";
2
+ function v(e, { delay: t = 0, duration: n = 400, easing: i = W } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
@@ -16,7 +16,7 @@ function C(e) {
16
16
  const d = (
17
17
  /*#slots*/
18
18
  e[9].default
19
- ), r = J(
19
+ ), r = K(
20
20
  d,
21
21
  e,
22
22
  /*$$scope*/
@@ -28,23 +28,23 @@ function C(e) {
28
28
  t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
29
29
  },
30
30
  m(o, u) {
31
- L(o, t, u), S(t, n), S(n, i), r && r.m(i, null), e[10](n), e[11](t), a = !0;
31
+ z(o, t, u), M(t, n), M(n, i), r && r.m(i, null), e[10](n), e[11](t), a = !0;
32
32
  },
33
33
  p(o, u) {
34
34
  e = o, r && r.p && (!a || u & /*$$scope*/
35
- 256) && K(
35
+ 256) && P(
36
36
  r,
37
37
  d,
38
38
  e,
39
39
  /*$$scope*/
40
40
  e[8],
41
- a ? P(
41
+ a ? U(
42
42
  d,
43
43
  /*$$scope*/
44
44
  e[8],
45
45
  u,
46
46
  null
47
- ) : N(
47
+ ) : R(
48
48
  /*$$scope*/
49
49
  e[8]
50
50
  ),
@@ -52,21 +52,21 @@ function C(e) {
52
52
  );
53
53
  },
54
54
  i(o) {
55
- a || (m(r, o), o && R(() => {
56
- a && (s || (s = v(n, k, { transitionDuration: (
55
+ a || (m(r, o), o && N(() => {
56
+ a && (s || (s = S(n, v, { transitionDuration: (
57
57
  /*duration*/
58
58
  e[1]
59
59
  ) }, !0)), s.run(1));
60
60
  }), a = !0);
61
61
  },
62
62
  o(o) {
63
- w(r, o), o && (s || (s = v(n, k, { transitionDuration: (
63
+ w(r, o), o && (s || (s = S(n, v, { transitionDuration: (
64
64
  /*duration*/
65
65
  e[1]
66
66
  ) }, !1)), s.run(0)), a = !1;
67
67
  },
68
68
  d(o) {
69
- o && z(t), r && r.d(o), e[10](null), o && s && s.end(), e[11](null);
69
+ o && L(t), r && r.d(o), e[10](null), o && s && s.end(), e[11](null);
70
70
  }
71
71
  };
72
72
  }
@@ -77,15 +77,15 @@ function X(e) {
77
77
  );
78
78
  return {
79
79
  c() {
80
- i && i.c(), t = B();
80
+ i && i.c(), t = I();
81
81
  },
82
82
  m(s, a) {
83
- i && i.m(s, a), L(s, t, a), n = !0;
83
+ i && i.m(s, a), z(s, t, a), n = !0;
84
84
  },
85
85
  p(s, [a]) {
86
86
  /*show*/
87
87
  s[0] ? i ? (i.p(s, a), a & /*show*/
88
- 1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (G(), w(i, 1, 1, () => {
88
+ 1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (B(), w(i, 1, 1, () => {
89
89
  i = null;
90
90
  }), F());
91
91
  },
@@ -96,7 +96,7 @@ function X(e) {
96
96
  w(i), n = !1;
97
97
  },
98
98
  d(s) {
99
- s && z(t), i && i.d(s);
99
+ s && L(t), i && i.d(s);
100
100
  }
101
101
  };
102
102
  }
@@ -112,16 +112,16 @@ function Y(e, t, n) {
112
112
  break;
113
113
  }
114
114
  };
115
- I(() => (window.addEventListener("message", b, !1), () => {
115
+ J(() => (window.addEventListener("message", b, !1), () => {
116
116
  window.removeEventListener("message", b);
117
117
  }));
118
118
  function D(l) {
119
- M[l ? "unshift" : "push"](() => {
119
+ k[l ? "unshift" : "push"](() => {
120
120
  h = l, n(3, h);
121
121
  });
122
122
  }
123
123
  function E(l) {
124
- M[l ? "unshift" : "push"](() => {
124
+ k[l ? "unshift" : "push"](() => {
125
125
  c = l, n(2, c);
126
126
  });
127
127
  }
@@ -129,9 +129,9 @@ function Y(e, t, n) {
129
129
  "show" in l && n(0, a = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, o = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
130
130
  }, e.$$.update = () => {
131
131
  e.$$.dirty & /*clientstyling, customStylingContainer*/
132
- 20 && r && c && O(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
- 36 && o && c && Q(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
134
- 68 && u && c && T(c, `${u}.Style`);
132
+ 20 && r && c && G(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
+ 36 && o && c && O(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
134
+ 68 && u && c && Q(c, `${u}.Style`);
135
135
  }, [
136
136
  a,
137
137
  d,
@@ -147,14 +147,14 @@ function Y(e, t, n) {
147
147
  E
148
148
  ];
149
149
  }
150
- class Z extends H {
150
+ class Z extends j {
151
151
  constructor(t) {
152
- super(), U(
152
+ super(), A(
153
153
  this,
154
154
  t,
155
155
  Y,
156
156
  X,
157
- j,
157
+ H,
158
158
  {
159
159
  show: 0,
160
160
  duration: 1,
@@ -203,7 +203,7 @@ class Z extends H {
203
203
  this.$$set({ showmodaleventname: t }), f();
204
204
  }
205
205
  }
206
- W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
206
+ T(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
207
  export {
208
208
  Z as default
209
209
  };
@@ -1,7 +1,7 @@
1
- import { S as O, i as Q, f as y, c as V, s as Z, b as G, e as g, k as b, o as C, p as x, u as S, v as J, x as K, y as X, z as Y, A as $, O as M, g as s, P as I, l as h, d as A, t as tt, a2 as B, Z as H, n as et, h as v } from "./GeneralLogout-CiyGpZGU.js";
2
- import "../stencil/ui-skeleton-LneRlsD3.js";
1
+ import { S as O, i as Q, s as V, f as y, b as Z, n as C, d as b, h as x, k as g, q as S, u as G, w as J, O as M, P as I, j as h, e as s, m as A, a2 as B, c as K, Z as H, t as X, g as P, x as Y, y as $, z as tt, A as et } from "./GeneralLogout-DSECYo0-.js";
2
+ import "../stencil/ui-skeleton-mkMdvWYI.js";
3
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}}');
4
+ Z(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}}');
5
5
  }
6
6
  function W(a, t, n) {
7
7
  const e = a.slice();
@@ -28,7 +28,7 @@ function nt(a) {
28
28
  (a[3] ? "PlayerAccountNotificationsMobileContainer" : ""));
29
29
  },
30
30
  m(i, o) {
31
- b(i, t, o);
31
+ x(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
  },
@@ -50,7 +50,7 @@ function nt(a) {
50
50
  }
51
51
  },
52
52
  d(i) {
53
- i && x(t), I(e, i);
53
+ i && b(t), I(e, i);
54
54
  }
55
55
  };
56
56
  }
@@ -66,7 +66,7 @@ function ot(a) {
66
66
  s(n, "class", "skeletonWrapper"), s(t, "class", "skeletonContainer");
67
67
  },
68
68
  m(o, l) {
69
- b(o, t, l), h(t, n);
69
+ x(o, t, l), h(t, n);
70
70
  for (let c = 0; c < i.length; c += 1)
71
71
  i[c] && i[c].m(n, null);
72
72
  },
@@ -85,7 +85,7 @@ function ot(a) {
85
85
  }
86
86
  },
87
87
  d(o) {
88
- o && x(t), I(i, o);
88
+ o && b(t), I(i, o);
89
89
  }
90
90
  };
91
91
  }
@@ -96,10 +96,10 @@ function L(a) {
96
96
  ), p, _, u, k = (
97
97
  /*notification*/
98
98
  a[24].description + ""
99
- ), P;
99
+ ), v;
100
100
  return {
101
101
  c() {
102
- t = g("div"), n = g("div"), e = g("img"), l = A(), c = g("p"), p = tt(f), _ = A(), u = g("p"), P = A(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
102
+ t = g("div"), n = g("div"), e = g("img"), l = A(), c = g("p"), p = X(f), _ = A(), u = g("p"), v = A(), s(e, "class", "PlayerAccountNotificationIcon"), s(e, "width", "24px"), s(e, "height", "24px"), B(e.src, i = /*notification*/
103
103
  a[24].icon) || s(e, "src", i), s(e, "alt", o = /*notification*/
104
104
  a[24].title), s(c, "class", "PlayerAccountNotificationTitle"), s(n, "class", "PlayerAccountNotificationBoxHeader"), s(u, "class", "PlayerAccountNotificationText"), s(t, "class", "PlayerAccountNotificationBox"), H(
105
105
  t,
@@ -109,7 +109,7 @@ function L(a) {
109
109
  );
110
110
  },
111
111
  m(m, d) {
112
- b(m, t, d), h(t, n), h(n, e), h(n, l), h(n, c), h(c, p), h(t, _), h(t, u), u.innerHTML = k, h(t, P);
112
+ x(m, t, d), h(t, n), h(n, e), h(n, l), h(n, c), h(c, p), h(t, _), h(t, u), u.innerHTML = k, h(t, v);
113
113
  },
114
114
  p(m, d) {
115
115
  d & /*notificationsData*/
@@ -118,7 +118,7 @@ function L(a) {
118
118
  2 && o !== (o = /*notification*/
119
119
  m[24].title) && s(e, "alt", o), d & /*notificationsData*/
120
120
  2 && f !== (f = /*notification*/
121
- m[24].title + "") && et(p, f), d & /*notificationsData*/
121
+ m[24].title + "") && K(p, f), d & /*notificationsData*/
122
122
  2 && k !== (k = /*notification*/
123
123
  m[24].description + "") && (u.innerHTML = k), d & /*notificationsData*/
124
124
  2 && H(
@@ -129,7 +129,7 @@ function L(a) {
129
129
  );
130
130
  },
131
131
  d(m) {
132
- m && x(t);
132
+ m && b(t);
133
133
  }
134
134
  };
135
135
  }
@@ -137,7 +137,7 @@ function lt(a) {
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*/
@@ -146,11 +146,11 @@ function lt(a) {
146
146
  );
147
147
  },
148
148
  m(n, e) {
149
- b(n, t, e);
149
+ x(n, t, e);
150
150
  },
151
151
  p: C,
152
152
  d(n) {
153
- n && x(t);
153
+ n && b(t);
154
154
  }
155
155
  };
156
156
  }
@@ -158,14 +158,14 @@ function at(a) {
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
- b(n, t, e);
164
+ x(n, t, e);
165
165
  },
166
166
  p: C,
167
167
  d(n) {
168
- n && x(t);
168
+ n && b(t);
169
169
  }
170
170
  };
171
171
  }
@@ -183,13 +183,13 @@ function F(a) {
183
183
  t = g("div"), o.c(), n = A(), s(t, "class", "skeletonNotification");
184
184
  },
185
185
  m(l, c) {
186
- b(l, t, c), o.m(t, null), h(t, n);
186
+ x(l, t, c), o.m(t, null), h(t, n);
187
187
  },
188
188
  p(l, c) {
189
189
  o.p(l, c);
190
190
  },
191
191
  d(l) {
192
- l && x(t), o.d();
192
+ l && b(t), o.d();
193
193
  }
194
194
  };
195
195
  }
@@ -213,7 +213,7 @@ function ct(a) {
213
213
  t = g("div"), i && i.c();
214
214
  },
215
215
  m(o, l) {
216
- b(o, t, l), i && i.m(t, null), a[13](t);
216
+ x(o, t, l), i && i.m(t, null), a[13](t);
217
217
  },
218
218
  p(o, [l]) {
219
219
  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,19 +221,19 @@ function ct(a) {
221
221
  i: C,
222
222
  o: C,
223
223
  d(o) {
224
- o && x(t), i && i.d(), a[13](null);
224
+ o && b(t), i && i.d(), a[13](null);
225
225
  }
226
226
  };
227
227
  }
228
228
  function rt(a, t, n) {
229
- let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0, P = window.navigator.userAgent, m = S(P) !== "PC", d = [], N = [], D = j();
230
- const R = window.matchMedia("(min-width: 768px)");
231
- function j() {
232
- const r = S(P);
229
+ let { lang: e = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: l = "" } = t, { customnotif: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { mbsource: _ } = t, u, k = !0, v = window.navigator.userAgent, m = S(v) !== "PC", d = [], N = [], D = q();
230
+ const j = window.matchMedia("(min-width: 768px)");
231
+ function q() {
232
+ const r = S(v);
233
233
  if (r)
234
234
  return r === "PC" ? "dk" : "mtWeb";
235
235
  }
236
- const q = () => {
236
+ const R = () => {
237
237
  const r = new URL(`${i}/${e}/support-information`);
238
238
  r.searchParams.append("env", o), r.searchParams.append("userRoles", l), r.searchParams.append("device", D), fetch(r.href).then((w) => w.json()).then((w) => {
239
239
  w.length && (n(1, d = w[0].children), d?.forEach((E) => {
@@ -252,10 +252,10 @@ function rt(a, t, n) {
252
252
  }, T = () => {
253
253
  c.replace(" ", ""), N = c.split(",");
254
254
  };
255
- J(() => () => {
255
+ G(() => () => {
256
256
  });
257
257
  function U(r) {
258
- K[r ? "unshift" : "push"](() => {
258
+ J[r ? "unshift" : "push"](() => {
259
259
  u = r, n(0, u);
260
260
  });
261
261
  }
@@ -265,16 +265,16 @@ function rt(a, t, n) {
265
265
  a.$$.dirty & /*customnotif*/
266
266
  512 && c && T(), a.$$.dirty & /*notificationsData*/
267
267
  2 && d && T(), a.$$.dirty & /*userroles, cmsendpoint, env, lang*/
268
- 480 && l && i && o && e && q(), a.$$.dirty & /*clientstyling, customStylingContainer*/
269
- 1025 && f && u && X(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
270
- 2049 && p && u && Y(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
271
- 4097 && _ && u && $(u, `${_}.Style`);
268
+ 480 && l && i && o && e && R(), a.$$.dirty & /*clientstyling, customStylingContainer*/
269
+ 1025 && f && u && Y(u, f), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
270
+ 2049 && p && u && $(u, p), a.$$.dirty & /*mbsource, customStylingContainer*/
271
+ 4097 && _ && u && tt(u, `${_}.Style`);
272
272
  }, [
273
273
  u,
274
274
  d,
275
275
  k,
276
276
  m,
277
- R,
277
+ j,
278
278
  e,
279
279
  i,
280
280
  o,
@@ -293,7 +293,7 @@ class st extends O {
293
293
  t,
294
294
  rt,
295
295
  ct,
296
- Z,
296
+ V,
297
297
  {
298
298
  lang: 5,
299
299
  cmsendpoint: 6,
@@ -356,7 +356,7 @@ class st extends O {
356
356
  this.$$set({ mbsource: t }), y();
357
357
  }
358
358
  }
359
- V(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
359
+ et(st, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
360
360
  export {
361
361
  st as default
362
362
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-COm1JcKW.cjs");require("../stencil/ui-skeleton-Cbqo0oYF.cjs");function H(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 x(a,t,o){const n=a.slice();return n[24]=t[o],n}function v(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]=w(x(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=x(i,o,r);n[r]?n[r].p(c,l):(n[r]=w(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 W(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=P(v(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 f=v(l,n,c);i[c]?i[c].p(f,r):(i[c]=P(f),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 w(a){let t,o,n,i,l,r,c,f=a[24].title+"",g,p,u,h=a[24].description+"",y;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(f),p=e.space(),u=e.element("p"),y=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(m,d){e.insert(m,t,d),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,y)},p(m,d){d&2&&!e.src_url_equal(n.src,i=m[24].icon)&&e.attr(n,"src",i),d&2&&l!==(l=m[24].title)&&e.attr(n,"alt",l),d&2&&f!==(f=m[24].title+"")&&e.set_data(g,f),d&2&&h!==(h=m[24].description+"")&&(u.innerHTML=h),d&2&&e.set_style(t,"background",m[24].backgroundColor)},d(m){m&&e.detach(t)}}}function z(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 F(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 P(a){let t,o;function n(r,c){return r[3]?z:F}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 I(a){let t;function o(l,r){var c;if(l[2])return W;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 q(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h=!0,y=window.navigator.userAgent,m=e.getDevice(y)!=="PC",d=[],k=[],A=M();const C=window.matchMedia("(min-width: 768px)");function M(){const s=e.getDevice(y);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",A),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,d=_[0].children),d==null||d.forEach(B=>{k.length&&(B.backgroundColor=k[0],k.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},b=()=>{c.replace(" ",""),k=c.split(",")};e.onMount(()=>()=>{});function S(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,f=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&b(),a.$$.dirty&2&&d&&b(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&f&&u&&e.setClientStyling(u,f),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`)},[u,d,h,m,C,n,i,l,r,c,f,g,p,S]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,I,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},H)}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(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");function H(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 x(a,t,o){const n=a.slice();return n[24]=t[o],n}function v(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]=w(x(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=x(i,o,r);n[r]?n[r].p(c,l):(n[r]=w(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 W(a){let t,o,n=e.ensure_array_like({length:3}),i=[];for(let l=0;l<n.length;l+=1)i[l]=P(v(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 f=v(l,n,c);i[c]?i[c].p(f,r):(i[c]=P(f),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 w(a){let t,o,n,i,l,r,c,f=a[24].title+"",g,p,u,h=a[24].description+"",y;return{c(){t=e.element("div"),o=e.element("div"),n=e.element("img"),r=e.space(),c=e.element("p"),g=e.text(f),p=e.space(),u=e.element("p"),y=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(m,d){e.insert(m,t,d),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,y)},p(m,d){d&2&&!e.src_url_equal(n.src,i=m[24].icon)&&e.attr(n,"src",i),d&2&&l!==(l=m[24].title)&&e.attr(n,"alt",l),d&2&&f!==(f=m[24].title+"")&&e.set_data(g,f),d&2&&h!==(h=m[24].description+"")&&(u.innerHTML=h),d&2&&e.set_style(t,"background",m[24].backgroundColor)},d(m){m&&e.detach(t)}}}function z(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 F(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 P(a){let t,o;function n(r,c){return r[3]?z:F}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 I(a){let t;function o(l,r){var c;if(l[2])return W;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 q(a,t,o){let{lang:n=""}=t,{cmsendpoint:i=""}=t,{env:l=""}=t,{userroles:r=""}=t,{customnotif:c=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,{mbsource:p}=t,u,h=!0,y=window.navigator.userAgent,m=e.getDevice(y)!=="PC",d=[],k=[],A=M();const C=window.matchMedia("(min-width: 768px)");function M(){const s=e.getDevice(y);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",A),fetch(s.href).then(_=>_.json()).then(_=>{_.length&&(o(1,d=_[0].children),d==null||d.forEach(B=>{k.length&&(B.backgroundColor=k[0],k.shift())}))}).catch(_=>{console.error(_)}).finally(()=>{setTimeout(()=>{o(2,h=!1)},1e3)})},b=()=>{c.replace(" ",""),k=c.split(",")};e.onMount(()=>()=>{});function S(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,f=s.clientstyling),"clientstylingurl"in s&&o(11,g=s.clientstylingurl),"mbsource"in s&&o(12,p=s.mbsource)},a.$$.update=()=>{a.$$.dirty&512&&c&&b(),a.$$.dirty&2&&d&&b(),a.$$.dirty&480&&r&&i&&l&&n&&T(),a.$$.dirty&1025&&f&&u&&e.setClientStyling(u,f),a.$$.dirty&2049&&g&&u&&e.setClientStylingURL(u,g),a.$$.dirty&4097&&p&&u&&e.setStreamStyling(u,`${p}.Style`)},[u,d,h,m,C,n,i,l,r,c,f,g,p,S]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,I,e.safe_not_equal,{lang:5,cmsendpoint:6,env:7,userroles:8,customnotif:9,clientstyling:10,clientstylingurl:11,mbsource:12},H)}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(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=N;