@everymatrix/player-account-controller-nd 1.70.0 → 1.71.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 (160) hide show
  1. package/components/{GeneralLogout-D_LZ6noj.js → GeneralLogout-C6SVgUtg.js} +853 -874
  2. package/components/GeneralLogout-CwfC_imT.cjs +21 -0
  3. package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DfKsCxwv.js} +913 -934
  4. package/components/PlayerAccountBettingHistory-BLjgCtrb.js +329 -0
  5. package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-CnZ39Cya.js +328 -0
  7. package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-DkdsS2L0.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Kq_RsCQX.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-7SyXUtdN.js → PlayerAccountClosureNd-BGyveR6u.js} +17 -17
  11. package/components/{PlayerAccountClosureNd-WqmFJkpU.cjs → PlayerAccountClosureNd-BVMVyN-i.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-Byw-X8Sr.js → PlayerAccountClosureNd-DgRwmKhw.js} +17 -17
  13. package/components/{PlayerAccountControllerNd-DiYk8bzy.js → PlayerAccountControllerNd-AmwhyuAJ.js} +324 -324
  14. package/components/{PlayerAccountControllerNd-CwaeOSde.cjs → PlayerAccountControllerNd-B3hwM3tO.cjs} +1 -1
  15. package/components/{PlayerAccountControllerNd-CdfGI1SH.js → PlayerAccountControllerNd-DrZIwrcP.js} +322 -322
  16. package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-Bj6iDB2S.js → PlayerAccountGamingLimits-DGBdF8wr.js} +127 -127
  18. package/components/{PlayerAccountGamingLimits-DxoR6Rl0.js → PlayerAccountGamingLimits-wCgrJnLI.js} +127 -127
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js → PlayerAccountGamingLimitsGroupEdit-B2r6jahF.js} +57 -55
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CYeY3dwe.js → PlayerAccountGamingLimitsGroupEdit-B5K6NQck.js} +57 -55
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js} +199 -199
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js} +192 -192
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-B-8AhoxC.js → PlayerAccountGamingLimitsInfoCard-Du4leiEi.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DSLO6bv_.js → PlayerAccountGamingLimitsInfoCard-_4DnaPCJ.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CNEarh24.js → PlayerAccountGamingLimitsPage2Gm16Nd-CUb4P6CK.js} +206 -206
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bcf8Z04l.js → PlayerAccountGamingLimitsPage2Gm16Nd-D93kFTBu.js} +187 -187
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CEeTJ8Id.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-gKuQQbeq.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-CBf5w2kb.js} +42 -42
  35. package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-DS9FtNcO.js} +42 -42
  36. package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-OZ4__LSM.js → PlayerAccountGamingLimitsWrapper2Nd-BVEh3MOb.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BA9kwsSe.cjs → PlayerAccountGamingLimitsWrapper2Nd-BydDxiYB.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-4Y2uzCxt.js → PlayerAccountGamingLimitsWrapper2Nd-DexMABpv.js} +36 -36
  40. package/components/{PlayerAccountGeneralConfirmationModal-BBveBuYk.js → PlayerAccountGeneralConfirmationModal-CVJBEg6r.js} +32 -32
  41. package/components/{PlayerAccountGeneralConfirmationModal-DFj-HuBM.js → PlayerAccountGeneralConfirmationModal-C_vpaSjC.js} +32 -32
  42. package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
  43. package/components/{PlayerAccountMenuNd-DxU1mHZX.js → PlayerAccountMenuNd-BbFwjvUZ.js} +32 -32
  44. package/components/{PlayerAccountMenuNd-A0VS-bqc.js → PlayerAccountMenuNd-VfTLDcJ7.js} +29 -29
  45. package/components/{PlayerAccountMenuNd-DUUt9VRH.cjs → PlayerAccountMenuNd-ldM69TpJ.cjs} +1 -1
  46. package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
  47. package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CGYPes0F.js} +42 -42
  48. package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-VzSk1pK3.js} +42 -42
  49. package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-DlfjoTaZ.js → PlayerAccountNotifications-DouFF_cH.js} +120 -120
  51. package/components/{PlayerAccountNotifications-DfxnKiF_.js → PlayerAccountNotifications-pfmvSgjr.js} +35 -35
  52. package/components/{PlayerAccountProductRestriction-Bo8RstAq.js → PlayerAccountProductRestriction-B1kRUzkM.js} +2314 -2312
  53. package/components/{PlayerAccountProductRestriction-hEkChQnB.js → PlayerAccountProductRestriction-BvJ92iNo.js} +2328 -2326
  54. package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
  55. package/components/{PlayerAccountSelfExclusionNd-BM0uuQ_R.js → PlayerAccountSelfExclusionNd-BDyJ-i_j.js} +991 -911
  56. package/components/{PlayerAccountSelfExclusionNd-DIZ9IAuu.js → PlayerAccountSelfExclusionNd-C8-416-Q.js} +654 -574
  57. package/components/{PlayerAccountSelfExclusionNd-exVecYLr.cjs → PlayerAccountSelfExclusionNd-Exo6wC1W.cjs} +81 -81
  58. package/components/{PlayerAccountTimeout-BG_XwF9S.cjs → PlayerAccountTimeout-DBhk18ig.cjs} +1 -1
  59. package/components/{PlayerAccountTimeout-CbCgtPFQ.js → PlayerAccountTimeout-IFDsWgbD.js} +75 -75
  60. package/components/{PlayerAccountTimeout-X15-Nspy.js → PlayerAccountTimeout-kNUGg8Ce.js} +75 -75
  61. package/components/{PlayerAccountTransactionsHistory-D9VuHD09.js → PlayerAccountTransactionsHistory-BxpJPf7w.js} +59 -59
  62. package/components/{PlayerAccountTransactionsHistory-CgiiI8DD.cjs → PlayerAccountTransactionsHistory-C-FsvVmp.cjs} +1 -1
  63. package/components/{PlayerAccountTransactionsHistory-B7pz2TCR.js → PlayerAccountTransactionsHistory-CVPkK1ej.js} +59 -59
  64. package/components/{PlayerActiveBonuses-sQ7BsovQ.js → PlayerActiveBonuses-BH94Auve.js} +55 -55
  65. package/components/{PlayerActiveBonuses-DIapJ49L.js → PlayerActiveBonuses-D5dvyrmb.js} +48 -48
  66. package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
  67. package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
  68. package/components/{PlayerBonusCard-BAMVrPsC.js → PlayerBonusCard-BtDUZxTL.js} +81 -81
  69. package/components/{PlayerBonusCard-faBE6xxD.js → PlayerBonusCard-UJVwReBr.js} +81 -81
  70. package/components/{PlayerBonusHistory-BUDZiu-P.js → PlayerBonusHistory-C6KCSJx8.js} +33 -33
  71. package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
  72. package/components/{PlayerBonusHistory-DqRPaMr-.js → PlayerBonusHistory-DSfHVxbN.js} +33 -33
  73. package/components/{PlayerChangePasswordNd-B0yPdyGM.js → PlayerChangePasswordNd-CiPj5e6I.js} +71 -71
  74. package/components/{PlayerChangePasswordNd-B0W5bdN2.js → PlayerChangePasswordNd-DgBk0TZ3.js} +71 -71
  75. package/components/{PlayerChangePasswordNd-DEzeq-CF.cjs → PlayerChangePasswordNd-JxsnlpId.cjs} +1 -1
  76. package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-BMWzlG2-.js} +80 -80
  77. package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
  78. package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-yFis4xl0.js} +80 -80
  79. package/components/{PlayerGamingHistory-Bm1BREq3.js → PlayerGamingHistory-BaPQwYES.js} +97 -97
  80. package/components/{PlayerGamingHistory-DXsCLoa_.js → PlayerGamingHistory-CmTDguMl.js} +88 -88
  81. package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
  83. package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DXDpNvc0.js} +26 -26
  84. package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-bL-txpqs.js} +26 -26
  85. package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-Cxaujp_D.js → PlayerProfileInfo-Co9ZbzUD.js} +66 -66
  87. package/components/{PlayerProfileInfo-DuQngBLo.js → PlayerProfileInfo-DoeTXAq7.js} +66 -66
  88. package/components/{PlayerRealityCheck-Bfazo0qy.js → PlayerRealityCheck-BJLzlVUt.js} +44 -44
  89. package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
  90. package/components/{PlayerRealityCheck-BMeUmSDr.js → PlayerRealityCheck-DbAjDSQR.js} +43 -43
  91. package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-BwMVf693.js} +19 -19
  92. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
  93. package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-CjiTH9aE.js} +19 -19
  94. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
  95. package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-BE8JBn_B.js} +19 -19
  96. package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-JE73Z0UZ.js} +19 -19
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-DV3L45BU.js → checkbox-group-input_15-COX7DlDn.js} +2292 -2286
  102. package/stencil/{checkbox-group-input_15-CfJ8hwGl.cjs → checkbox-group-input_15-CfJS-1ti.cjs} +239 -239
  103. package/stencil/{checkbox-group-input_15-Nrj9GHCK.js → checkbox-group-input_15-DpaVaugQ.js} +2289 -2283
  104. package/stencil/index-13661b98-BDzather.js +611 -0
  105. package/stencil/index-13661b98-ChlFIQCB.cjs +1 -0
  106. package/stencil/index-13661b98-xRNcnGsM.js +595 -0
  107. package/stencil/index-1ef3a64c-B56pWkNP.js +572 -0
  108. package/stencil/index-1ef3a64c-drXhqjaW.cjs +1 -0
  109. package/stencil/index-1ef3a64c-fwHj5L8t.js +556 -0
  110. package/stencil/index-7c5e707a-CU3H8HVf.js +616 -0
  111. package/stencil/index-7c5e707a-DIWlFBom.js +643 -0
  112. package/stencil/index-7c5e707a-DS22ns-5.cjs +1 -0
  113. package/stencil/index-9c0f6c58-B8OJoZ2G.js +576 -0
  114. package/stencil/index-9c0f6c58-CEOt4FET.cjs +1 -0
  115. package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-z4XuR4dm.js} +197 -197
  116. package/stencil/index-b2193545-BekNYO1T.js +519 -0
  117. package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
  118. package/stencil/index-b2193545-DfDFpDFs.js +503 -0
  119. package/stencil/{pam-change-password-B5GD5Hl4.js → pam-change-password-CY5-Aktx.js} +1 -1
  120. package/stencil/{pam-change-password-ubzmglA0.cjs → pam-change-password-CgkH4Jiz.cjs} +1 -1
  121. package/stencil/{pam-change-password-DMG1L_LG.js → pam-change-password-DjPvltNj.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-CHySnF1q.cjs → pam-change-password-f4a1e7e7-BqDw0WzC.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-DCoikg7H.js → pam-change-password-f4a1e7e7-CfFEjP0U.js} +1 -1
  124. package/stencil/{pam-change-password-f4a1e7e7-C1ItXOg5.js → pam-change-password-f4a1e7e7-G-vVNocT.js} +1 -1
  125. package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BEPum-yT.cjs} +1 -1
  126. package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BbcCYuiR.js} +1 -1
  127. package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-Ca4iu4IA.js} +1 -1
  128. package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
  129. package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-CScGJdv_.js} +2 -2
  130. package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-CnxOhYAT.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-B8kjiJ18.js} +1 -1
  135. package/stencil/{user-deposit-withdrawal-Du59X_-y.cjs → user-deposit-withdrawal-D2eMp5tL.cjs} +1 -1
  136. package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-DZhlyIWQ.js} +1 -1
  137. package/stencil/user-transaction-history-3DGGL9dd.cjs +1 -0
  138. package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-B1ZWITFg.js} +3 -1
  139. package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-lKr2wNoI.js} +3 -1
  140. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  141. package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
  142. package/components/PlayerAccountBettingHistory-BzAXq1xX.js +0 -329
  143. package/components/PlayerAccountBettingHistory-CwTEYOIN.js +0 -328
  144. package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +0 -2
  145. package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
  146. package/stencil/index-13661b98-BCPnsSSE.js +0 -611
  147. package/stencil/index-13661b98-BUI3AeLv.cjs +0 -1
  148. package/stencil/index-13661b98-DffousLf.js +0 -595
  149. package/stencil/index-1ef3a64c-B5I86vac.js +0 -572
  150. package/stencil/index-1ef3a64c-DqUPq8OL.js +0 -556
  151. package/stencil/index-1ef3a64c-uiTzpR-U.cjs +0 -1
  152. package/stencil/index-7c5e707a-2AC9SnQ7.js +0 -616
  153. package/stencil/index-7c5e707a-BM4sfR0h.js +0 -643
  154. package/stencil/index-7c5e707a-Cw-c3Bke.cjs +0 -1
  155. package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
  156. package/stencil/index-9c0f6c58-bxjYqwOi.js +0 -576
  157. package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
  158. package/stencil/index-b2193545-DoYU_tL8.js +0 -503
  159. package/stencil/index-b2193545-_I2wisuY.js +0 -519
  160. package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
@@ -1,22 +1,22 @@
1
- import { a2 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, g as z, F as I, u as J, H as K, a3 as S, W as N, K as P, L as R, M as U, h as M, j as _, o as y, w as v, x as G, y as O, z as Q, A as T } from "./GeneralLogout-D_LZ6noj.js";
2
- function k(e, { delay: t = 0, duration: n = 400, easing: i = W } = {}) {
1
+ import { a2 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, w as J, x as K, H as N, e as _, g as y, l as S, I as P, J as R, K as G, U as O, a3 as v, a0 as Q, z as M, A as T } from "./GeneralLogout-DfKsCxwv.js";
2
+ function k(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
6
6
  duration: n,
7
7
  easing: i,
8
- css: (o) => `opacity: ${o * s}`
8
+ css: (a) => `opacity: ${a * s}`
9
9
  };
10
10
  }
11
11
  function V(e) {
12
12
  q(e, "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
13
  }
14
14
  function C(e) {
15
- let t, n, i, s, o;
15
+ let t, n, i, s, a;
16
16
  const d = (
17
17
  /*#slots*/
18
18
  e[9].default
19
- ), r = K(
19
+ ), r = N(
20
20
  d,
21
21
  e,
22
22
  /*$$scope*/
@@ -27,18 +27,18 @@ function C(e) {
27
27
  c() {
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
- m(a, u) {
31
- z(a, t, u), M(t, n), M(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
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;
32
32
  },
33
- p(a, u) {
34
- e = a, r && r.p && (!o || u & /*$$scope*/
33
+ p(o, u) {
34
+ e = o, r && r.p && (!a || u & /*$$scope*/
35
35
  256) && P(
36
36
  r,
37
37
  d,
38
38
  e,
39
39
  /*$$scope*/
40
40
  e[8],
41
- o ? U(
41
+ a ? G(
42
42
  d,
43
43
  /*$$scope*/
44
44
  e[8],
@@ -51,22 +51,22 @@ function C(e) {
51
51
  null
52
52
  );
53
53
  },
54
- i(a) {
55
- o || (m(r, a), a && N(() => {
56
- o && (s || (s = S(n, k, { transitionDuration: (
54
+ i(o) {
55
+ a || (m(r, o), o && O(() => {
56
+ a && (s || (s = v(n, k, { transitionDuration: (
57
57
  /*duration*/
58
58
  e[1]
59
59
  ) }, !0)), s.run(1));
60
- }), o = !0);
60
+ }), a = !0);
61
61
  },
62
- o(a) {
63
- w(r, a), a && (s || (s = S(n, k, { transitionDuration: (
62
+ o(o) {
63
+ w(r, o), o && (s || (s = v(n, k, { transitionDuration: (
64
64
  /*duration*/
65
65
  e[1]
66
- ) }, !1)), s.run(0)), o = !1;
66
+ ) }, !1)), s.run(0)), a = !1;
67
67
  },
68
- d(a) {
69
- a && L(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
68
+ d(o) {
69
+ o && z(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 = I();
80
+ i && i.c(), t = B();
81
81
  },
82
- m(s, o) {
83
- i && i.m(s, o), z(s, t, o), n = !0;
82
+ m(s, a) {
83
+ i && i.m(s, a), L(s, t, a), n = !0;
84
84
  },
85
- p(s, [o]) {
85
+ p(s, [a]) {
86
86
  /*show*/
87
- s[0] ? i ? (i.p(s, o), o & /*show*/
88
- 1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (B(), w(i, 1, 1, () => {
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 && (Q(), w(i, 1, 1, () => {
89
89
  i = null;
90
90
  }), F());
91
91
  },
@@ -96,49 +96,49 @@ function X(e) {
96
96
  w(i), n = !1;
97
97
  },
98
98
  d(s) {
99
- s && L(t), i && i.d(s);
99
+ s && z(t), i && i.d(s);
100
100
  }
101
101
  };
102
102
  }
103
103
  function Y(e, t, n) {
104
- let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
104
+ let { $$slots: i = {}, $$scope: s } = t, { show: a = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
105
105
  const b = (l) => {
106
106
  switch (l.data.type) {
107
107
  case "ModalClosed":
108
- n(0, o = !1);
108
+ n(0, a = !1);
109
109
  break;
110
110
  case g:
111
- n(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
111
+ n(0, a = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
112
  break;
113
113
  }
114
114
  };
115
- J(() => (window.addEventListener("message", b, !1), () => {
115
+ I(() => (window.addEventListener("message", b, !1), () => {
116
116
  window.removeEventListener("message", b);
117
117
  }));
118
118
  function D(l) {
119
- v[l ? "unshift" : "push"](() => {
119
+ M[l ? "unshift" : "push"](() => {
120
120
  h = l, n(3, h);
121
121
  });
122
122
  }
123
123
  function E(l) {
124
- v[l ? "unshift" : "push"](() => {
124
+ M[l ? "unshift" : "push"](() => {
125
125
  c = l, n(2, c);
126
126
  });
127
127
  }
128
128
  return e.$$set = (l) => {
129
- "show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = 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);
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 && G(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
- 36 && a && c && O(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
134
- 68 && u && c && Q(c, `${u}.Style`);
132
+ 20 && r && c && T(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
133
+ 36 && o && c && J(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
134
+ 68 && u && c && K(c, `${u}.Style`);
135
135
  }, [
136
- o,
136
+ a,
137
137
  d,
138
138
  c,
139
139
  h,
140
140
  r,
141
- a,
141
+ o,
142
142
  u,
143
143
  g,
144
144
  s,
@@ -147,14 +147,14 @@ function Y(e, t, n) {
147
147
  E
148
148
  ];
149
149
  }
150
- class Z extends j {
150
+ class Z extends H {
151
151
  constructor(t) {
152
- super(), A(
152
+ super(), U(
153
153
  this,
154
154
  t,
155
155
  Y,
156
156
  X,
157
- H,
157
+ j,
158
158
  {
159
159
  show: 0,
160
160
  duration: 1,
@@ -203,7 +203,7 @@ class Z extends j {
203
203
  this.$$set({ showmodaleventname: t }), f();
204
204
  }
205
205
  }
206
- T(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
206
+ W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
207
207
  export {
208
208
  Z as default
209
209
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");function H(a){e.append_styles(a,"svelte-1yq4evv",':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}.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 q(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]?q: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 z(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,z,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-CwfC_imT.cjs");require("../stencil/ui-skeleton-Bez-iF-R.cjs");function H(a){e.append_styles(a,"svelte-1yq4evv",':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}.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 q(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]?q: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 z(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,z,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;