@everymatrix/player-account-controller 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/components/{GeneralLogout-CMYMtWfC.cjs → GeneralLogout-9pZTJKCj.cjs} +4 -4
  2. package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-DH2dZPHM.js} +744 -729
  3. package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DKa2JUny.js} +617 -602
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-CxIU3NjD.js} +127 -131
  6. package/components/PlayerAccountBettingHistory-DcspNMNL.js +329 -0
  7. package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-BBYUw87N.js} +126 -127
  9. package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-D3fKLHtV.js} +126 -127
  10. package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-CtTfS7wl.js} +121 -122
  11. package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-DJv7cY7T.js} +121 -122
  12. package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-Z7IuAXPP.cjs} +1 -1
  13. package/components/PlayerAccountController-BfaTH0AY.cjs +1 -0
  14. package/components/{PlayerAccountController-Nco62fa4.js → PlayerAccountController-BqEnzpc6.js} +2707 -2169
  15. package/components/{PlayerAccountController-B99YscRG.js → PlayerAccountController-Djsrrn-h.js} +2713 -2175
  16. package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-Bd5ti2Yy.js} +296 -245
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-cnXxBvfZ.js} +296 -245
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CS4mjsLb.js} +123 -127
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-_MNPhSXy.js} +123 -127
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-45Rp4DP_.js} +1086 -1090
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-C7OBS8be.js} +1086 -1090
  25. package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-VyLPwXZu.js} +219 -227
  26. package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-XZt8OllP.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-mJtlR6Ge.js} +212 -220
  28. package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-BxU5hBOF.js} +644 -593
  29. package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-C7pCh3__.js} +644 -593
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-CNiOjWfB.js} +1058 -1034
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-Cha-RkAd.cjs +21 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-D66arvZd.js} +1157 -1133
  34. package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BzEwvjUN.js} +113 -117
  35. package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-D3UUO_Eq.js} +113 -117
  37. package/components/PlayerAccountGamingLimitsWrapper2-5LQf2KmJ.js +1017 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2-Bodw0FD-.js +1011 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-CFxTXIfS.cjs +1 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-CXql07aQ.js} +145 -146
  41. package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-D8JPZNbs.js} +145 -146
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenu-5EvNrc-W.cjs +1 -0
  44. package/components/PlayerAccountMenu-BHWtSf34.js +684 -0
  45. package/components/PlayerAccountMenu-CKSsdVD4.js +683 -0
  46. package/components/PlayerAccountModal-CAL-lChv.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-c01xdqmW.js +209 -0
  49. package/components/PlayerAccountNotifications-B-haSjPr.cjs +1 -0
  50. package/components/PlayerAccountNotifications-Bvoot0Jw.js +368 -0
  51. package/components/PlayerAccountNotifications-CitVsKYm.js +369 -0
  52. package/components/{PlayerAccountSelfExclusion-Dlkeebgy.cjs → PlayerAccountSelfExclusion-CW1t2BNm.cjs} +92 -92
  53. package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-Cz0rML3Z.js} +1756 -1618
  54. package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-DzxXZ0NG.js} +1743 -1605
  55. package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-9wxsYv0_.js} +496 -365
  56. package/components/PlayerAccountTimeout-CAWJeQ3d.cjs +1 -0
  57. package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-gWHY_22Q.js} +496 -365
  58. package/components/PlayerActiveBonuses-D0jBzeb4.js +1055 -0
  59. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  60. package/components/PlayerActiveBonuses-qHNn2eq8.js +1056 -0
  61. package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-CGoRkCFh.js} +149 -151
  63. package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-CaQEQ2Fx.js} +149 -151
  64. package/components/PlayerBonusHistory-C6p_5FRc.cjs +1 -0
  65. package/components/PlayerBonusHistory-DBCc2ItI.js +937 -0
  66. package/components/PlayerBonusHistory-DfQd--j_.js +938 -0
  67. package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-6dHXMBQg.js} +388 -392
  68. package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  69. package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-COdBpupf.js} +388 -392
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-CTXnx-k2.js +391 -0
  72. package/components/PlayerDeposit-DwxXelMX.js +391 -0
  73. package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-4f_MiXvH.js} +337 -341
  74. package/components/PlayerGamingHistory-DAfDiFej.cjs +1 -0
  75. package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-dDHtahYn.js} +363 -367
  76. package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BFrv_-ow.js} +113 -114
  77. package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-CHHH7JPW.js} +113 -114
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-DDHAv267.cjs +1 -0
  80. package/components/PlayerProfileInfo-DlA-e6OI.js +1821 -0
  81. package/components/PlayerProfileInfo-Yky_xo7E.js +1804 -0
  82. package/components/PlayerRealityCheck-BLlc8RGo.cjs +1 -0
  83. package/components/PlayerRealityCheck-Bn_ov_Ie.js +652 -0
  84. package/components/PlayerRealityCheck-JOxPFKqm.js +668 -0
  85. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  86. package/components/PlayerTransactionHistory-CxRrWzgQ.js +314 -0
  87. package/components/PlayerTransactionHistory-CzOvo_E3.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-BlhHRFmC.js} +136 -140
  90. package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-CnoGAUmo.js} +136 -140
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  96. package/stencil/{app-globals-0f993ce5-C0vi_PY4.js → app-globals-0f993ce5-DzSE6TtH.js} +4 -2
  97. package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-B_RfUM6E.js} +86 -83
  98. package/stencil/{checkbox-group-input_9-B0JD93gn.cjs → checkbox-group-input_9-C2IUNSpC.cjs} +26 -26
  99. package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-C98yT4vw.js} +90 -87
  100. package/stencil/{general-input-BXIgsD0E.js → general-input-CqTf7ErJ.js} +1 -1
  101. package/stencil/{general-input-CwyM4h8z.js → general-input-DTHw5Z1Q.js} +1 -1
  102. package/stencil/{general-input-BL1L8PI-.cjs → general-input-wM2i7b57.cjs} +1 -1
  103. package/stencil/{index-0a27499c-BaAMIKJI.js → index-12dd2b03-B2coll71.js} +143 -142
  104. package/stencil/index-12dd2b03-Dd1hsUZX.cjs +1 -0
  105. package/stencil/{index-0a27499c-DaAhyku1.js → index-12dd2b03-YP3skHrn.js} +133 -132
  106. package/stencil/{index-92b64862-CK1ANWGa.cjs → index-92b64862-BRYoLHww.cjs} +1 -1
  107. package/stencil/{index-92b64862-Bnmv00O2.js → index-92b64862-C_69cKxK.js} +4 -4
  108. package/stencil/{index-92b64862-CO3_TP5h.js → index-92b64862-w9a1l35N.js} +4 -4
  109. package/stencil/{index-1d58b17d-CY3tvLdR.js → index-b1bdf3f6-0mlbFiN3.js} +121 -120
  110. package/stencil/{index-1d58b17d-BREebYgt.js → index-b1bdf3f6-DBuAhDH-.js} +128 -127
  111. package/stencil/index-b1bdf3f6-DdF5azN0.cjs +1 -0
  112. package/stencil/{index-45f4006f-D9GyS-vs.js → index-c7e52808-7ohcD8fQ.js} +44 -44
  113. package/stencil/index-c7e52808-DYutdKGj.cjs +1 -0
  114. package/stencil/{index-45f4006f-DKAxZFDZ.js → index-c7e52808-WCb5gCA6.js} +46 -46
  115. package/stencil/index-db5752f9-B4MZ13Fz.js +610 -0
  116. package/stencil/index-db5752f9-C_VcDZns.js +594 -0
  117. package/stencil/index-db5752f9-DSHLGBj_.cjs +1 -0
  118. package/stencil/{password-input_2-D3ziy4Iu.cjs → password-input_2-B2qvf6ku.cjs} +1 -1
  119. package/stencil/{password-input_2-ZN0C3aqj.js → password-input_2-CdHS5fmR.js} +3 -3
  120. package/stencil/{password-input_2-B5ePukhS.js → password-input_2-DdQvCp3o.js} +3 -3
  121. package/stencil/player-change-password-gm2-1hTMqepH.js +7 -0
  122. package/stencil/player-change-password-gm2-2YEpyazj.js +25 -0
  123. package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +84 -65
  124. package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +84 -65
  125. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  126. package/stencil/player-change-password-gm2-CDxgB3eD.cjs +1 -0
  127. package/stencil/player-kyc-verification-5V24oWMX.cjs +180 -0
  128. package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-BPrVDLfj.js} +79 -59
  129. package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CRwnm961.js} +84 -64
  130. package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-B4OOk9wz.js} +1 -1
  131. package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-Cwo_Ny77.js} +1 -1
  132. package/stencil/{toggle-checkbox-input-n5b3s-CU.cjs → toggle-checkbox-input-tQDhlcag.cjs} +1 -1
  133. package/stencil/ui-skeleton-982450d2-BEC6vjfL.cjs +1 -0
  134. package/stencil/ui-skeleton-982450d2-CXoVwMz-.js +122 -0
  135. package/stencil/ui-skeleton-982450d2-DgSl7oS5.js +122 -0
  136. package/stencil/ui-skeleton-BjdFVTvB.cjs +1 -0
  137. package/stencil/ui-skeleton-BkychLQM.js +29 -0
  138. package/stencil/ui-skeleton-Bw-C78oa.js +11 -0
  139. package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-51pO8ttC.js} +181 -164
  140. package/stencil/user-deposit-withdrawal-Bn1WPRou.cjs +59 -0
  141. package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-C0SOQks0.js} +257 -240
  142. package/stencil/user-transaction-history-8EskARbv.cjs +1 -0
  143. package/stencil/user-transaction-history-BsTUJ4on.js +350 -0
  144. package/stencil/user-transaction-history-LRgu-JMX.js +374 -0
  145. package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +1 -1
  146. package/stencil/{vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs → vaadin-button-mixin-ef61174c-DuDVejN4.cjs} +1 -1
  147. package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +1 -1
  148. package/components/PlayerAccountBettingHistory-C6G8D9gE.js +0 -333
  149. package/components/PlayerAccountBettingHistory-Cb8OMNy9.cjs +0 -1
  150. package/components/PlayerAccountController-C2q8ibgU.cjs +0 -1
  151. package/components/PlayerAccountGamingLimits-DbX9_Kpb.cjs +0 -1
  152. package/components/PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs +0 -1
  153. package/components/PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs +0 -1
  154. package/components/PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs +0 -21
  155. package/components/PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs +0 -1
  156. package/components/PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js +0 -866
  157. package/components/PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js +0 -860
  158. package/components/PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs +0 -1
  159. package/components/PlayerAccountMenu-Bnj75Pyr.js +0 -578
  160. package/components/PlayerAccountMenu-VCDFEkVV.js +0 -579
  161. package/components/PlayerAccountMenu-kULPvwXH.cjs +0 -1
  162. package/components/PlayerAccountModal-BGNjm-FU.js +0 -213
  163. package/components/PlayerAccountModal-DLxnK5Aq.cjs +0 -1
  164. package/components/PlayerAccountModal-d2eY7pgp.js +0 -213
  165. package/components/PlayerAccountNotifications-BkPn9o0x.js +0 -261
  166. package/components/PlayerAccountNotifications-DLpnh54-.cjs +0 -1
  167. package/components/PlayerAccountNotifications-DwHaboef.js +0 -261
  168. package/components/PlayerAccountTimeout-DX8TE-kL.cjs +0 -1
  169. package/components/PlayerActiveBonuses-DZ1TuekM.js +0 -1088
  170. package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
  171. package/components/PlayerActiveBonuses-WBu-rYFj.js +0 -1089
  172. package/components/PlayerBonusHistory-C7m0o7Yl.js +0 -919
  173. package/components/PlayerBonusHistory-D-qDx10G.cjs +0 -1
  174. package/components/PlayerBonusHistory-DDNLaEBO.js +0 -920
  175. package/components/PlayerDeposit-B04mpHHT.js +0 -395
  176. package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
  177. package/components/PlayerDeposit-DJXOEJyq.js +0 -395
  178. package/components/PlayerGamingHistory-CcFH-mIk.cjs +0 -1
  179. package/components/PlayerPendingWithdrawals-BvhoX5n1.cjs +0 -1
  180. package/components/PlayerProfileInfo-AEY5xCAX.js +0 -1740
  181. package/components/PlayerProfileInfo-D7thO7JS.js +0 -1757
  182. package/components/PlayerProfileInfo-DQflJzdX.cjs +0 -1
  183. package/components/PlayerRealityCheck-6ZyJUl5U.js +0 -598
  184. package/components/PlayerRealityCheck-CzPyJQgR.js +0 -582
  185. package/components/PlayerRealityCheck-DMI_8YfG.cjs +0 -1
  186. package/components/PlayerTransactionHistory-CSK3J3Na.js +0 -315
  187. package/components/PlayerTransactionHistory-Dj8ABxFp.cjs +0 -1
  188. package/components/PlayerTransactionHistory-DmTfwUdw.js +0 -315
  189. package/components/PlayerWithdrawal-BwymNFiL.cjs +0 -1
  190. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
  191. package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
  192. package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
  193. package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
  194. package/stencil/player-change-password-gm2-2de114b8-j-W8UbVm.cjs +0 -1
  195. package/stencil/player-change-password-gm2-BDCYchnQ.js +0 -25
  196. package/stencil/player-change-password-gm2-CQtvRl58.js +0 -7
  197. package/stencil/player-change-password-gm2-DLw7pfT_.cjs +0 -1
  198. package/stencil/player-kyc-verification-CnOn9bB_.cjs +0 -180
  199. package/stencil/user-deposit-withdrawal-BZXlCCQr.cjs +0 -59
  200. package/stencil/user-transaction-history-CLdEzp7O.cjs +0 -1
  201. package/stencil/user-transaction-history-CtDvqHoF.js +0 -329
  202. package/stencil/user-transaction-history-DW482EoT.js +0 -355
@@ -1,213 +0,0 @@
1
- import { Y as j, S as z, i as B, s as F, f, b as U, d as L, E as w, F as m, Z as W, _ as q, g as E, B as A, u as G, D as I, a0 as v, R as N, G as P, H as Y, I as Z, h as C, j as _, o as y, w as k, x as J } from "./GeneralLogout-CwSCMNgW.js";
2
- function p(t, { delay: e = 0, duration: i = 400, easing: n = j } = {}) {
3
- const s = +getComputedStyle(t).opacity;
4
- return {
5
- delay: e,
6
- duration: i,
7
- easing: n,
8
- css: (o) => `opacity: ${o * s}`
9
- };
10
- }
11
- function K(t) {
12
- U(t, "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}");
13
- }
14
- function S(t) {
15
- let e, i, n, s, o;
16
- const c = (
17
- /*#slots*/
18
- t[8].default
19
- ), r = I(
20
- c,
21
- t,
22
- /*$$scope*/
23
- t[7],
24
- null
25
- );
26
- return {
27
- c() {
28
- e = _("div"), i = _("div"), n = _("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
29
- },
30
- m(a, u) {
31
- E(a, e, u), C(e, i), C(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
32
- },
33
- p(a, u) {
34
- t = a, r && r.p && (!o || u & /*$$scope*/
35
- 128) && P(
36
- r,
37
- c,
38
- t,
39
- /*$$scope*/
40
- t[7],
41
- o ? Z(
42
- c,
43
- /*$$scope*/
44
- t[7],
45
- u,
46
- null
47
- ) : Y(
48
- /*$$scope*/
49
- t[7]
50
- ),
51
- null
52
- );
53
- },
54
- i(a) {
55
- o || (m(r, a), a && N(() => {
56
- o && (s || (s = v(i, p, { transitionDuration: (
57
- /*duration*/
58
- t[1]
59
- ) }, !0)), s.run(1));
60
- }), o = !0);
61
- },
62
- o(a) {
63
- w(r, a), a && (s || (s = v(i, p, { transitionDuration: (
64
- /*duration*/
65
- t[1]
66
- ) }, !1)), s.run(0)), o = !1;
67
- },
68
- d(a) {
69
- a && L(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
70
- }
71
- };
72
- }
73
- function O(t) {
74
- let e, i, n = (
75
- /*show*/
76
- t[0] && S(t)
77
- );
78
- return {
79
- c() {
80
- n && n.c(), e = A();
81
- },
82
- m(s, o) {
83
- n && n.m(s, o), E(s, e, o), i = !0;
84
- },
85
- p(s, [o]) {
86
- /*show*/
87
- s[0] ? n ? (n.p(s, o), o & /*show*/
88
- 1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (W(), w(n, 1, 1, () => {
89
- n = null;
90
- }), q());
91
- },
92
- i(s) {
93
- i || (m(n), i = !0);
94
- },
95
- o(s) {
96
- w(n), i = !1;
97
- },
98
- d(s) {
99
- s && L(e), n && n.d(s);
100
- }
101
- };
102
- }
103
- function Q(t, e, i) {
104
- let { $$slots: n = {}, $$scope: s } = e, { show: o = !1 } = e, { duration: c = 350 } = e, { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, { showmodaleventname: u = "ShowLimitsConfirmationModal" } = e, d, h;
105
- const b = (l) => {
106
- switch (l.data.type) {
107
- case "ModalClosed":
108
- i(0, o = !1);
109
- break;
110
- case u:
111
- i(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
- break;
113
- }
114
- }, D = () => {
115
- let l = document.createElement("style");
116
- l.innerHTML = r, d.appendChild(l);
117
- }, H = () => {
118
- let l = new URL(a), M = document.createElement("style");
119
- fetch(l.href).then((g) => g.text()).then((g) => {
120
- M.innerHTML = g, setTimeout(
121
- () => {
122
- d.appendChild(M);
123
- },
124
- 1
125
- );
126
- });
127
- };
128
- G(() => (window.addEventListener("message", b, !1), () => {
129
- window.removeEventListener("message", b);
130
- }));
131
- function R(l) {
132
- k[l ? "unshift" : "push"](() => {
133
- h = l, i(3, h);
134
- });
135
- }
136
- function T(l) {
137
- k[l ? "unshift" : "push"](() => {
138
- d = l, i(2, d);
139
- });
140
- }
141
- return t.$$set = (l) => {
142
- "show" in l && i(0, o = l.show), "duration" in l && i(1, c = l.duration), "clientstyling" in l && i(4, r = l.clientstyling), "clientstylingurl" in l && i(5, a = l.clientstylingurl), "showmodaleventname" in l && i(6, u = l.showmodaleventname), "$$scope" in l && i(7, s = l.$$scope);
143
- }, t.$$.update = () => {
144
- t.$$.dirty & /*clientstylingurl, customStylingContainer*/
145
- 36 && a && d && H(), t.$$.dirty & /*clientstyling, customStylingContainer*/
146
- 20 && r && d && D();
147
- }, [
148
- o,
149
- c,
150
- d,
151
- h,
152
- r,
153
- a,
154
- u,
155
- s,
156
- n,
157
- R,
158
- T
159
- ];
160
- }
161
- class V extends z {
162
- constructor(e) {
163
- super(), B(
164
- this,
165
- e,
166
- Q,
167
- O,
168
- F,
169
- {
170
- show: 0,
171
- duration: 1,
172
- clientstyling: 4,
173
- clientstylingurl: 5,
174
- showmodaleventname: 6
175
- },
176
- K
177
- );
178
- }
179
- get show() {
180
- return this.$$.ctx[0];
181
- }
182
- set show(e) {
183
- this.$$set({ show: e }), f();
184
- }
185
- get duration() {
186
- return this.$$.ctx[1];
187
- }
188
- set duration(e) {
189
- this.$$set({ duration: e }), f();
190
- }
191
- get clientstyling() {
192
- return this.$$.ctx[4];
193
- }
194
- set clientstyling(e) {
195
- this.$$set({ clientstyling: e }), f();
196
- }
197
- get clientstylingurl() {
198
- return this.$$.ctx[5];
199
- }
200
- set clientstylingurl(e) {
201
- this.$$set({ clientstylingurl: e }), f();
202
- }
203
- get showmodaleventname() {
204
- return this.$$.ctx[6];
205
- }
206
- set showmodaleventname(e) {
207
- this.$$set({ showmodaleventname: e }), f();
208
- }
209
- }
210
- J(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
211
- export {
212
- V as default
213
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CMYMtWfC.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function k(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 w(n){let e,l,i,s,r;const f=n[8].default,u=t.create_slot(f,n,n[7],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),u&&u.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(a,d){t.insert(a,e,d),t.append(e,l),t.append(l,i),u&&u.m(i,null),n[9](l),n[10](e),r=!0},p(a,d){n=a,u&&u.p&&(!r||d&128)&&t.update_slot_base(u,f,n,n[7],r?t.get_slot_changes(f,n[7],d,null):t.get_all_dirty_from_scope(n[7]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[9](null),a&&s&&s.end(),n[10](null)}}}function S(n){let e,l,i=n[0]&&w(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=w(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function L(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{showmodaleventname:d="ShowLimitsConfirmationModal"}=e,c,h;const _=o=>{switch(o.data.type){case"ModalClosed":l(0,r=!1);break;case d:l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}},M=()=>{let o=document.createElement("style");o.innerHTML=u,c.appendChild(o)},v=()=>{let o=new URL(a),g=document.createElement("style");fetch(o.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{c.appendChild(g)},1)})};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));function p(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,l(3,h)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,f=o.duration),"clientstyling"in o&&l(4,u=o.clientstyling),"clientstylingurl"in o&&l(5,a=o.clientstylingurl),"showmodaleventname"in o&&l(6,d=o.showmodaleventname),"$$scope"in o&&l(7,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&a&&c&&v(),n.$$.dirty&20&&u&&c&&M()},[r,f,c,h,u,a,d,s,i,p,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,S,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,showmodaleventname:6},k)}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 showmodaleventname(){return this.$$.ctx[6]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
@@ -1,213 +0,0 @@
1
- import { Y as j, S as z, i as B, s as F, f, b as U, d as L, E as w, F as m, Z as W, _ as q, g as E, B as A, u as G, D as I, a0 as v, R as N, G as P, H as Y, I as Z, h as C, j as _, o as y, w as k, x as J } from "./GeneralLogout-BO_iHKNr.js";
2
- function p(t, { delay: e = 0, duration: i = 400, easing: n = j } = {}) {
3
- const s = +getComputedStyle(t).opacity;
4
- return {
5
- delay: e,
6
- duration: i,
7
- easing: n,
8
- css: (o) => `opacity: ${o * s}`
9
- };
10
- }
11
- function K(t) {
12
- U(t, "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}");
13
- }
14
- function S(t) {
15
- let e, i, n, s, o;
16
- const c = (
17
- /*#slots*/
18
- t[8].default
19
- ), r = I(
20
- c,
21
- t,
22
- /*$$scope*/
23
- t[7],
24
- null
25
- );
26
- return {
27
- c() {
28
- e = _("div"), i = _("div"), n = _("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
29
- },
30
- m(a, u) {
31
- E(a, e, u), C(e, i), C(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
32
- },
33
- p(a, u) {
34
- t = a, r && r.p && (!o || u & /*$$scope*/
35
- 128) && P(
36
- r,
37
- c,
38
- t,
39
- /*$$scope*/
40
- t[7],
41
- o ? Z(
42
- c,
43
- /*$$scope*/
44
- t[7],
45
- u,
46
- null
47
- ) : Y(
48
- /*$$scope*/
49
- t[7]
50
- ),
51
- null
52
- );
53
- },
54
- i(a) {
55
- o || (m(r, a), a && N(() => {
56
- o && (s || (s = v(i, p, { transitionDuration: (
57
- /*duration*/
58
- t[1]
59
- ) }, !0)), s.run(1));
60
- }), o = !0);
61
- },
62
- o(a) {
63
- w(r, a), a && (s || (s = v(i, p, { transitionDuration: (
64
- /*duration*/
65
- t[1]
66
- ) }, !1)), s.run(0)), o = !1;
67
- },
68
- d(a) {
69
- a && L(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
70
- }
71
- };
72
- }
73
- function O(t) {
74
- let e, i, n = (
75
- /*show*/
76
- t[0] && S(t)
77
- );
78
- return {
79
- c() {
80
- n && n.c(), e = A();
81
- },
82
- m(s, o) {
83
- n && n.m(s, o), E(s, e, o), i = !0;
84
- },
85
- p(s, [o]) {
86
- /*show*/
87
- s[0] ? n ? (n.p(s, o), o & /*show*/
88
- 1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (W(), w(n, 1, 1, () => {
89
- n = null;
90
- }), q());
91
- },
92
- i(s) {
93
- i || (m(n), i = !0);
94
- },
95
- o(s) {
96
- w(n), i = !1;
97
- },
98
- d(s) {
99
- s && L(e), n && n.d(s);
100
- }
101
- };
102
- }
103
- function Q(t, e, i) {
104
- let { $$slots: n = {}, $$scope: s } = e, { show: o = !1 } = e, { duration: c = 350 } = e, { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, { showmodaleventname: u = "ShowLimitsConfirmationModal" } = e, d, h;
105
- const b = (l) => {
106
- switch (l.data.type) {
107
- case "ModalClosed":
108
- i(0, o = !1);
109
- break;
110
- case u:
111
- i(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
- break;
113
- }
114
- }, D = () => {
115
- let l = document.createElement("style");
116
- l.innerHTML = r, d.appendChild(l);
117
- }, H = () => {
118
- let l = new URL(a), M = document.createElement("style");
119
- fetch(l.href).then((g) => g.text()).then((g) => {
120
- M.innerHTML = g, setTimeout(
121
- () => {
122
- d.appendChild(M);
123
- },
124
- 1
125
- );
126
- });
127
- };
128
- G(() => (window.addEventListener("message", b, !1), () => {
129
- window.removeEventListener("message", b);
130
- }));
131
- function R(l) {
132
- k[l ? "unshift" : "push"](() => {
133
- h = l, i(3, h);
134
- });
135
- }
136
- function T(l) {
137
- k[l ? "unshift" : "push"](() => {
138
- d = l, i(2, d);
139
- });
140
- }
141
- return t.$$set = (l) => {
142
- "show" in l && i(0, o = l.show), "duration" in l && i(1, c = l.duration), "clientstyling" in l && i(4, r = l.clientstyling), "clientstylingurl" in l && i(5, a = l.clientstylingurl), "showmodaleventname" in l && i(6, u = l.showmodaleventname), "$$scope" in l && i(7, s = l.$$scope);
143
- }, t.$$.update = () => {
144
- t.$$.dirty & /*clientstylingurl, customStylingContainer*/
145
- 36 && a && d && H(), t.$$.dirty & /*clientstyling, customStylingContainer*/
146
- 20 && r && d && D();
147
- }, [
148
- o,
149
- c,
150
- d,
151
- h,
152
- r,
153
- a,
154
- u,
155
- s,
156
- n,
157
- R,
158
- T
159
- ];
160
- }
161
- class V extends z {
162
- constructor(e) {
163
- super(), B(
164
- this,
165
- e,
166
- Q,
167
- O,
168
- F,
169
- {
170
- show: 0,
171
- duration: 1,
172
- clientstyling: 4,
173
- clientstylingurl: 5,
174
- showmodaleventname: 6
175
- },
176
- K
177
- );
178
- }
179
- get show() {
180
- return this.$$.ctx[0];
181
- }
182
- set show(e) {
183
- this.$$set({ show: e }), f();
184
- }
185
- get duration() {
186
- return this.$$.ctx[1];
187
- }
188
- set duration(e) {
189
- this.$$set({ duration: e }), f();
190
- }
191
- get clientstyling() {
192
- return this.$$.ctx[4];
193
- }
194
- set clientstyling(e) {
195
- this.$$set({ clientstyling: e }), f();
196
- }
197
- get clientstylingurl() {
198
- return this.$$.ctx[5];
199
- }
200
- set clientstylingurl(e) {
201
- this.$$set({ clientstylingurl: e }), f();
202
- }
203
- get showmodaleventname() {
204
- return this.$$.ctx[6];
205
- }
206
- set showmodaleventname(e) {
207
- this.$$set({ showmodaleventname: e }), f();
208
- }
209
- }
210
- J(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
211
- export {
212
- V as default
213
- };
@@ -1,261 +0,0 @@
1
- import { S as q, i as E, s as U, f as x, b as W, n as k, d as C, g as v, j as A, q as T, w as K, K as F, L as Q, o as u, X as M, c as V, W as B, h as p, k as _, m as X, x as G } from "./GeneralLogout-CwSCMNgW.js";
2
- function J(n) {
3
- W(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.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}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4
- }
5
- function H(n, t, a) {
6
- const i = n.slice();
7
- return i[20] = t[a], i;
8
- }
9
- function O(n) {
10
- let t, a = F(
11
- /*notificationsData*/
12
- n[1]
13
- ), i = [];
14
- for (let e = 0; e < a.length; e += 1)
15
- i[e] = L(H(n, a, e));
16
- return {
17
- c() {
18
- t = A("div");
19
- for (let e = 0; e < i.length; e += 1)
20
- i[e].c();
21
- u(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
22
- (n[2] && /*mediaQuery*/
23
- n[3].matches ? "PlayerAccountNotificationsTabletContainer" : (
24
- /*isMobile*/
25
- n[2] ? "PlayerAccountNotificationsMobileContainer" : ""
26
- ))), u(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
27
- (n[2] && /*mediaQuery*/
28
- n[3].matches ? "PlayerAccountNotificationsTabletContainer" : (
29
- /*isMobile*/
30
- n[2] ? "PlayerAccountNotificationsMobileContainer" : ""
31
- )));
32
- },
33
- m(e, l) {
34
- v(e, t, l);
35
- for (let c = 0; c < i.length; c += 1)
36
- i[c] && i[c].m(t, null);
37
- },
38
- p(e, l) {
39
- if (l & /*notificationsData*/
40
- 2) {
41
- a = F(
42
- /*notificationsData*/
43
- e[1]
44
- );
45
- let c;
46
- for (c = 0; c < a.length; c += 1) {
47
- const s = H(e, a, c);
48
- i[c] ? i[c].p(s, l) : (i[c] = L(s), i[c].c(), i[c].m(t, null));
49
- }
50
- for (; c < i.length; c += 1)
51
- i[c].d(1);
52
- i.length = a.length;
53
- }
54
- },
55
- d(e) {
56
- e && C(t), Q(i, e);
57
- }
58
- };
59
- }
60
- function L(n) {
61
- let t, a, i, e, l, c, s, d = (
62
- /*notification*/
63
- n[20].title + ""
64
- ), y, f, h, b = (
65
- /*notification*/
66
- n[20].description + ""
67
- ), P;
68
- return {
69
- c() {
70
- t = A("div"), a = A("div"), i = A("img"), c = _(), s = A("p"), y = X(d), f = _(), h = A("p"), P = _(), u(i, "class", "PlayerAccountNotificationIcon"), M(i.src, e = /*notification*/
71
- n[20].icon) || u(i, "src", e), u(i, "alt", l = /*notification*/
72
- n[20].title), u(s, "class", "PlayerAccountNotificationTitle"), u(a, "class", "PlayerAccountNotificationBoxHeader"), u(h, "class", "PlayerAccountNotificationText"), u(t, "class", "PlayerAccountNotificationBox"), B(
73
- t,
74
- "background",
75
- /*notification*/
76
- n[20].backgroundColor
77
- );
78
- },
79
- m(r, g) {
80
- v(r, t, g), p(t, a), p(a, i), p(a, c), p(a, s), p(s, y), p(t, f), p(t, h), h.innerHTML = b, p(t, P);
81
- },
82
- p(r, g) {
83
- g & /*notificationsData*/
84
- 2 && !M(i.src, e = /*notification*/
85
- r[20].icon) && u(i, "src", e), g & /*notificationsData*/
86
- 2 && l !== (l = /*notification*/
87
- r[20].title) && u(i, "alt", l), g & /*notificationsData*/
88
- 2 && d !== (d = /*notification*/
89
- r[20].title + "") && V(y, d), g & /*notificationsData*/
90
- 2 && b !== (b = /*notification*/
91
- r[20].description + "") && (h.innerHTML = b), g & /*notificationsData*/
92
- 2 && B(
93
- t,
94
- "background",
95
- /*notification*/
96
- r[20].backgroundColor
97
- );
98
- },
99
- d(r) {
100
- r && C(t);
101
- }
102
- };
103
- }
104
- function Y(n) {
105
- let t;
106
- function a(l, c) {
107
- if (
108
- /*notificationsData*/
109
- l[1].length
110
- ) return O;
111
- }
112
- let i = a(n), e = i && i(n);
113
- return {
114
- c() {
115
- t = A("div"), e && e.c();
116
- },
117
- m(l, c) {
118
- v(l, t, c), e && e.m(t, null), n[11](t);
119
- },
120
- p(l, [c]) {
121
- i === (i = a(l)) && e ? e.p(l, c) : (e && e.d(1), e = i && i(l), e && (e.c(), e.m(t, null)));
122
- },
123
- i: k,
124
- o: k,
125
- d(l) {
126
- l && C(t), e && e.d(), n[11](null);
127
- }
128
- };
129
- }
130
- function Z(n, t, a) {
131
- let { lang: i = "" } = t, { cmsendpoint: e = "" } = t, { env: l = "" } = t, { userroles: c = "" } = t, { customnotif: s = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: y = "" } = t, f, h = window.navigator.userAgent, b = T(h) !== "PC", P = [], r = [], g = S();
132
- const z = window.matchMedia("(min-width: 768px)");
133
- function S() {
134
- const o = T(h);
135
- if (o)
136
- return o === "PC" ? "dk" : "mtWeb";
137
- }
138
- const D = () => {
139
- const o = new URL(`${e}/${i}/support-information`);
140
- o.searchParams.append("env", l), o.searchParams.append("userRoles", c), o.searchParams.append("device", g), fetch(o.href).then((m) => m.json()).then(
141
- (m) => {
142
- m.length && (a(1, P = m[0].children), P.forEach((N) => {
143
- r.length && (N.backgroundColor = r[0], r.shift());
144
- }));
145
- },
146
- (m) => {
147
- console.error(m);
148
- }
149
- );
150
- }, w = () => {
151
- s.replace(" ", ""), r = s.split(",");
152
- }, I = () => {
153
- let o = document.createElement("style");
154
- o.innerHTML = d, f.appendChild(o);
155
- }, R = () => {
156
- let o = new URL(y), m = document.createElement("style");
157
- fetch(o.href).then((N) => N.text()).then((N) => {
158
- m.innerHTML = N, setTimeout(
159
- () => {
160
- f.appendChild(m);
161
- },
162
- 1
163
- );
164
- });
165
- };
166
- function j(o) {
167
- K[o ? "unshift" : "push"](() => {
168
- f = o, a(0, f);
169
- });
170
- }
171
- return n.$$set = (o) => {
172
- "lang" in o && a(4, i = o.lang), "cmsendpoint" in o && a(5, e = o.cmsendpoint), "env" in o && a(6, l = o.env), "userroles" in o && a(7, c = o.userroles), "customnotif" in o && a(8, s = o.customnotif), "clientstyling" in o && a(9, d = o.clientstyling), "clientstylingurl" in o && a(10, y = o.clientstylingurl);
173
- }, n.$$.update = () => {
174
- n.$$.dirty & /*customnotif*/
175
- 256 && s && w(), n.$$.dirty & /*notificationsData*/
176
- 2 && P && w(), n.$$.dirty & /*userroles, cmsendpoint, env, lang*/
177
- 240 && c && e && l && i && D(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
178
- 1025 && y && f && R(), n.$$.dirty & /*clientstyling, customStylingContainer*/
179
- 513 && d && f && I();
180
- }, [
181
- f,
182
- P,
183
- b,
184
- z,
185
- i,
186
- e,
187
- l,
188
- c,
189
- s,
190
- d,
191
- y,
192
- j
193
- ];
194
- }
195
- class $ extends q {
196
- constructor(t) {
197
- super(), E(
198
- this,
199
- t,
200
- Z,
201
- Y,
202
- U,
203
- {
204
- lang: 4,
205
- cmsendpoint: 5,
206
- env: 6,
207
- userroles: 7,
208
- customnotif: 8,
209
- clientstyling: 9,
210
- clientstylingurl: 10
211
- },
212
- J
213
- );
214
- }
215
- get lang() {
216
- return this.$$.ctx[4];
217
- }
218
- set lang(t) {
219
- this.$$set({ lang: t }), x();
220
- }
221
- get cmsendpoint() {
222
- return this.$$.ctx[5];
223
- }
224
- set cmsendpoint(t) {
225
- this.$$set({ cmsendpoint: t }), x();
226
- }
227
- get env() {
228
- return this.$$.ctx[6];
229
- }
230
- set env(t) {
231
- this.$$set({ env: t }), x();
232
- }
233
- get userroles() {
234
- return this.$$.ctx[7];
235
- }
236
- set userroles(t) {
237
- this.$$set({ userroles: t }), x();
238
- }
239
- get customnotif() {
240
- return this.$$.ctx[8];
241
- }
242
- set customnotif(t) {
243
- this.$$set({ customnotif: t }), x();
244
- }
245
- get clientstyling() {
246
- return this.$$.ctx[9];
247
- }
248
- set clientstyling(t) {
249
- this.$$set({ clientstyling: t }), x();
250
- }
251
- get clientstylingurl() {
252
- return this.$$.ctx[10];
253
- }
254
- set clientstylingurl(t) {
255
- this.$$set({ clientstylingurl: t }), x();
256
- }
257
- }
258
- G($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
259
- export {
260
- $ as default
261
- };