@everymatrix/casino-page-nd 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/components/CasinoCalendar-4gqh3tjm.js +544 -0
  2. package/components/CasinoCalendar-D-jt46wW.js +542 -0
  3. package/components/CasinoCalendar-ynlHjTfj.cjs +2 -0
  4. package/components/{CasinoCalendarDailyDetails-B9Svmn08.js → CasinoCalendarDailyDetails-BgcvH9nK.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-BzANjMYK.js → CasinoCalendarDailyDetails-Cbe8pC7J.js} +104 -104
  6. package/components/CasinoCalendarDailyDetails-DuVZISBD.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-Ddwevbwg.js → CasinoCalendarDailyItem-COIhg8yV.js} +118 -118
  8. package/components/CasinoCalendarDailyItem-XIp0Lg7p.cjs +1 -0
  9. package/components/{CasinoCalendarDailyItem-Csh2ZNEb.js → CasinoCalendarDailyItem-fVTVyUL4.js} +115 -115
  10. package/components/{CasinoCollectionsProviders-Bz4Qwgcy.js → CasinoCollectionsProviders-BEPYwCWn.js} +99 -99
  11. package/components/{CasinoCollectionsProviders-B-rxzUHS.js → CasinoCollectionsProviders-DhMmNofL.js} +89 -89
  12. package/components/CasinoCollectionsProviders-re4bKhyh.cjs +1 -0
  13. package/components/CasinoFavoritesSectionNd-BYye_OqX.cjs +1 -0
  14. package/components/{CasinoFavoritesSectionNd-OgOa7MBa.js → CasinoFavoritesSectionNd-DIChCUWH.js} +43 -43
  15. package/components/{CasinoFavoritesSectionNd-Doh425U1.js → CasinoFavoritesSectionNd-DehWpE4C.js} +29 -29
  16. package/components/{CasinoFilter-F9z7t5pe.js → CasinoFilter-BBPXUROy.js} +248 -247
  17. package/components/CasinoFilter-hJQjaIWk.cjs +1 -0
  18. package/components/{CasinoFilter-BOPSPGn4.js → CasinoFilter-vZxw-pSX.js} +226 -227
  19. package/components/CasinoGameThumbnailNd-BrnCxDF0.js +1841 -0
  20. package/components/CasinoGameThumbnailNd-BvM0R6oS.cjs +30 -0
  21. package/components/CasinoGameThumbnailNd-CBW5XULX.js +1825 -0
  22. package/components/CasinoGamesCategorySectionNd-CZEde4tc.js +4569 -0
  23. package/components/CasinoGamesCategorySectionNd-DBlWbwZr.cjs +1 -0
  24. package/components/CasinoGamesCategorySectionNd-Dzj5UiL6.js +4602 -0
  25. package/components/{CasinoJackpotBanner-Djh5d5I0.js → CasinoJackpotBanner-CMoIV2Qg.js} +148 -148
  26. package/components/{CasinoJackpotBanner-D-liS_Me.js → CasinoJackpotBanner-D0X5L0Fz.js} +148 -148
  27. package/components/CasinoJackpotBanner-D48QAlyM.cjs +1 -0
  28. package/components/CasinoLastPlayedSectionNd-Dbai7XXg.cjs +1 -0
  29. package/components/{CasinoLastPlayedSectionNd-CDt_OWWF.js → CasinoLastPlayedSectionNd-Hz1MGr2w.js} +67 -68
  30. package/components/{CasinoLastPlayedSectionNd-DNewZ65k.js → CasinoLastPlayedSectionNd-Nm8QJSvi.js} +68 -69
  31. package/components/{CasinoMostPlayedSectionNd-CqVf2pf-.js → CasinoMostPlayedSectionNd-C2TOAcIX.js} +81 -82
  32. package/components/{CasinoMostPlayedSectionNd-BPJRi-mx.js → CasinoMostPlayedSectionNd-D78ro-LI.js} +90 -91
  33. package/components/CasinoMostPlayedSectionNd-DIPIP9gt.cjs +1 -0
  34. package/components/CasinoMyGamesNd-B1sfMK3_.cjs +1 -0
  35. package/components/{CasinoMyGamesNd-PlQpeD0V.js → CasinoMyGamesNd-Bb9JdqMU.js} +186 -187
  36. package/components/{CasinoMyGamesNd-4iJsQUyK.js → CasinoMyGamesNd-CZlSlxbH.js} +187 -188
  37. package/components/CasinoPageNd-CcSCHl8E.js +8898 -0
  38. package/components/CasinoPageNd-DF8VWpzm.cjs +18 -0
  39. package/components/CasinoPageNd-V8GTyc-d.js +8943 -0
  40. package/components/{CasinoRandomGame-BqY01xC4.js → CasinoRandomGame-Bu7BMO6x.js} +119 -119
  41. package/components/{CasinoRandomGame-OSVl6dyi.js → CasinoRandomGame-DNDiY5mi.js} +118 -118
  42. package/components/CasinoRandomGame-r6IDCjxz.cjs +2 -0
  43. package/components/{CasinoSearchNd-CxPW28Eu.js → CasinoSearchNd--A3r1bol.js} +137 -137
  44. package/components/{CasinoSearchNd-2oH02fm7.js → CasinoSearchNd-C-c2kfaz.js} +116 -116
  45. package/components/CasinoSearchNd-tkeQa-4D.cjs +1 -0
  46. package/components/{CasinoSort-gHx_6Htf.js → CasinoSort-BsnJnnBd.js} +105 -104
  47. package/components/CasinoSort-C5B5VrQK.cjs +1 -0
  48. package/components/{CasinoSort-ChNfSlPO.js → CasinoSort-DTg6GMDm.js} +106 -107
  49. package/components/{CasinoWinners-CQd0AWVY.js → CasinoWinners-9UUZl0zW.js} +88 -89
  50. package/components/{CasinoWinners-CJLTqoB5.js → CasinoWinners-HHekahwS.js} +86 -87
  51. package/components/CasinoWinners-l7SjMLq0.cjs +1 -0
  52. package/components/{GeneralAnimationLoading-khf0HKjf.js → GeneralAnimationLoading-BpIMzIUb.js} +23 -23
  53. package/components/GeneralAnimationLoading-BrpKZCf6.cjs +1 -0
  54. package/components/{GeneralAnimationLoading-DrJIjWen.js → GeneralAnimationLoading-DoHKm0vp.js} +22 -22
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +7 -7
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/casino-calendar-BQRTF7DC.js +16 -0
  59. package/lazy/casino-calendar-DB45ET5Y.js +16 -0
  60. package/lazy/{casino-calendar-daily-details-Bs78gyMV.js → casino-calendar-daily-details-B3jG_5mi.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-DgAlT_Jk.cjs → casino-calendar-daily-details-CKXIPC61.cjs} +1 -1
  62. package/lazy/{casino-calendar-daily-details-DbdU0n9_.js → casino-calendar-daily-details-fOo4pKjF.js} +1 -1
  63. package/lazy/{casino-calendar-daily-item-UAvUvm5x.cjs → casino-calendar-daily-item-B8FmTb3F.cjs} +1 -1
  64. package/lazy/{casino-calendar-daily-item-BZGfz8IW.js → casino-calendar-daily-item-DmJBggBQ.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-BzQVDuqP.js → casino-calendar-daily-item-yhApzywX.js} +1 -1
  66. package/lazy/casino-calendar-rFYhy_Rl.cjs +1 -0
  67. package/lazy/{casino-collections-providers-__jGk8Bi.js → casino-collections-providers-BlhsWNQs.js} +1 -1
  68. package/lazy/{casino-collections-providers-DEpXDWUW.cjs → casino-collections-providers-CQ-LhgQh.cjs} +1 -1
  69. package/lazy/{casino-collections-providers-DHPnDwqI.js → casino-collections-providers-Dzem7JVX.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-DTHR_WoG.js → casino-favorites-section-nd-DDvn91GT.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-C6rFw4hJ.js → casino-favorites-section-nd-DoV8dzTW.js} +1 -1
  72. package/lazy/{casino-favorites-section-nd--WmlZh9C.cjs → casino-favorites-section-nd-HqHu0HXh.cjs} +1 -1
  73. package/lazy/{casino-filter-D_OJZ711.cjs → casino-filter-Bg9zWxnh.cjs} +1 -1
  74. package/lazy/{casino-filter-sujGI1Sw.js → casino-filter-DWdpcqGK.js} +1 -1
  75. package/lazy/{casino-filter-947plBW0.js → casino-filter-DZSIuJ8Z.js} +1 -1
  76. package/lazy/casino-game-thumbnail-nd-B4bWjPVs.js +16 -0
  77. package/lazy/casino-game-thumbnail-nd-BKZQlZH2.cjs +1 -0
  78. package/lazy/casino-game-thumbnail-nd-CLvJa_O7.js +16 -0
  79. package/lazy/{casino-calendar-W25gPujL.js → casino-games-category-section-nd-Chv9dRqL.js} +2 -2
  80. package/lazy/{casino-calendar-BQ3kWu0l.js → casino-games-category-section-nd-DTurm4m5.js} +2 -2
  81. package/lazy/{casino-calendar-C-GiLu3p.cjs → casino-games-category-section-nd-avQYtfSL.cjs} +1 -1
  82. package/lazy/{casino-jackpot-banner-C6PN_r6L.js → casino-jackpot-banner-DK2dZVQ4.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-aWzFMQtT.cjs → casino-jackpot-banner-Dgw_f8Kx.cjs} +1 -1
  84. package/lazy/{casino-jackpot-banner-CUQV4cSc.js → casino-jackpot-banner-sjsSpjbL.js} +1 -1
  85. package/lazy/{casino-last-played-section-nd-BPs_q57i.js → casino-last-played-section-nd-B8RCGi5D.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-Z1Eqkg-W.js → casino-last-played-section-nd-BzPSdKqZ.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-DrB-yi_x.cjs → casino-last-played-section-nd-DMzSMctM.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-vNEsmYNv.js → casino-most-played-section-nd-BW_W-IY8.js} +1 -1
  89. package/lazy/{casino-most-played-section-nd-CsO2-tH-.cjs → casino-most-played-section-nd-DxVaDgWi.cjs} +1 -1
  90. package/lazy/{casino-most-played-section-nd-UW_M18NT.js → casino-most-played-section-nd-MVRS6dcI.js} +1 -1
  91. package/lazy/{casino-my-games-nd-wnfXxA4K.js → casino-my-games-nd-BOMVCSi5.js} +1 -1
  92. package/lazy/{casino-my-games-nd-BgkBJ625.cjs → casino-my-games-nd-G5Q2qOzF.cjs} +1 -1
  93. package/lazy/{casino-my-games-nd-DsN_8Hh5.js → casino-my-games-nd-_lXUBvel.js} +1 -1
  94. package/lazy/{casino-play-random-game-DtfZNoGc.js → casino-play-random-game-BWZurtgT.js} +1 -1
  95. package/lazy/{casino-play-random-game-BwP_PyGn.js → casino-play-random-game-CFCxse5b.js} +1 -1
  96. package/lazy/{casino-play-random-game-B_ZqJC9O.cjs → casino-play-random-game-pwqgQVLV.cjs} +1 -1
  97. package/lazy/{casino-random-game-C8MfHXaa.js → casino-random-game-BEz7yTkT.js} +1 -1
  98. package/lazy/{casino-random-game-DFRc-OVf.js → casino-random-game-BcGWBzT2.js} +1 -1
  99. package/lazy/{casino-random-game-eOSEDGdT.cjs → casino-random-game-hBRg0fFp.cjs} +1 -1
  100. package/lazy/{casino-search-nd-DK7NClj7.js → casino-search-nd-BREKygXT.js} +1 -1
  101. package/lazy/{casino-search-nd-0h3RFpG5.js → casino-search-nd-W95Lk6BP.js} +1 -1
  102. package/lazy/{casino-search-nd-B4IMeGRL.cjs → casino-search-nd-a6cCkhdf.cjs} +1 -1
  103. package/lazy/{casino-sort-DnvZL0xh.cjs → casino-sort-CIdKBJtJ.cjs} +1 -1
  104. package/lazy/{casino-sort-DHWqDjlb.js → casino-sort-Co9nWF48.js} +1 -1
  105. package/lazy/{casino-sort-DCo8rI3E.js → casino-sort-DRc59Y-x.js} +1 -1
  106. package/lazy/{casino-winners-CNIy3lxn.js → casino-winners-Bs8a8MNm.js} +1 -1
  107. package/lazy/{casino-winners-D-kl8Pt9.cjs → casino-winners-DCjacxAF.cjs} +1 -1
  108. package/lazy/{casino-winners-wudr0jE1.js → casino-winners-DuIhnL7J.js} +1 -1
  109. package/lazy/{general-animation-loading-BEnsNW2g.js → general-animation-loading-BCRRr9R1.js} +1 -1
  110. package/lazy/{general-animation-loading-D03DfjDc.cjs → general-animation-loading-BN__VtW2.cjs} +1 -1
  111. package/lazy/{general-animation-loading-B3lvSOkP.js → general-animation-loading-BsaF5Ej3.js} +1 -1
  112. package/package.json +1 -1
  113. package/stencil/{casino-play-random-game-lwEwVdAM.js → casino-play-random-game-BOPRTiwD.js} +2 -2
  114. package/stencil/{casino-play-random-game-DyQoGWi6.cjs → casino-play-random-game-CoPqwq78.cjs} +1 -1
  115. package/stencil/{casino-play-random-game-ViBhO659.js → casino-play-random-game-yO-x2QjR.js} +2 -2
  116. package/stencil/{casino-play-random-game_2-CDiEK5Rt.js → casino-play-random-game_2-BxaCgNIB.js} +92 -64
  117. package/stencil/{casino-play-random-game_2-C4f-74R0.js → casino-play-random-game_2-CIEKYYQF.js} +91 -64
  118. package/stencil/{casino-play-random-game_2-C64foLSL.cjs → casino-play-random-game_2-DXgBuAeq.cjs} +3 -3
  119. package/components/CasinoCalendar-BELrT2lA.js +0 -5071
  120. package/components/CasinoCalendar-BpwU4Nrb.js +0 -5110
  121. package/components/CasinoCalendar-DrrajltR.cjs +0 -19
  122. package/components/CasinoCalendarDailyDetails-lmz3Ug1c.cjs +0 -1
  123. package/components/CasinoCalendarDailyItem-DmRnSMf5.cjs +0 -1
  124. package/components/CasinoCollectionsProviders-C5rH3HrT.cjs +0 -1
  125. package/components/CasinoFavoritesSectionNd-BELSdOTJ.cjs +0 -1
  126. package/components/CasinoFilter-BkWQ4KgW.cjs +0 -1
  127. package/components/CasinoGameThumbnailNd-BR1mn9ZI.js +0 -3121
  128. package/components/CasinoGameThumbnailNd-CuVwgwvD.js +0 -3105
  129. package/components/CasinoGameThumbnailNd-DTU6nSKd.cjs +0 -30
  130. package/components/CasinoGamesCategorySectionNd-BdsjIQ7s.cjs +0 -1
  131. package/components/CasinoGamesCategorySectionNd-K7o3qVk7.js +0 -3292
  132. package/components/CasinoGamesCategorySectionNd-hFAHZgTC.js +0 -3325
  133. package/components/CasinoJackpotBanner-DKGuifD8.cjs +0 -1
  134. package/components/CasinoLastPlayedSectionNd-BnKRy68b.cjs +0 -1
  135. package/components/CasinoMostPlayedSectionNd-6Hm3k1kM.cjs +0 -1
  136. package/components/CasinoMyGamesNd-y1vPuFt-.cjs +0 -1
  137. package/components/CasinoPageNd-BBi0HzpA.js +0 -4364
  138. package/components/CasinoPageNd-D5mGix6W.cjs +0 -1
  139. package/components/CasinoPageNd-DSKsK40E.js +0 -4345
  140. package/components/CasinoRandomGame-BqszKIRI.cjs +0 -2
  141. package/components/CasinoSearchNd-BONwYpjU.cjs +0 -1
  142. package/components/CasinoSort-D9yqS_K_.cjs +0 -1
  143. package/components/CasinoWinners-BNaYIdgc.cjs +0 -1
  144. package/components/GeneralAnimationLoading-dlrAfGeC.cjs +0 -1
  145. package/lazy/casino-game-thumbnail-nd-C6m6nRiR.js +0 -16
  146. package/lazy/casino-game-thumbnail-nd-C_3atSCn.cjs +0 -1
  147. package/lazy/casino-game-thumbnail-nd-TwbY9jp9.js +0 -16
  148. package/lazy/casino-games-category-section-nd-B5EKRtdm.cjs +0 -1
  149. package/lazy/casino-games-category-section-nd-CS53a63I.js +0 -16
  150. package/lazy/casino-games-category-section-nd-Dcf6QgfF.js +0 -16
@@ -1,13 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as r, b as ne, n as H, d as T, h as E, p as K, j as P, r as A, k as ie, o as oe, P as re, C as le, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-BpwU4Nrb.js";
2
- import "../lazy/casino-games-category-section-nd-CS53a63I.js";
3
- import { g as ye } from "./CasinoGameThumbnailNd-BR1mn9ZI.js";
4
- function be(a, e) {
5
- $(a, e);
1
+ import { a as ee, $ as te, S as se, i as ae, s as ne, f as l, b as ie, n as H, d as T, c as F, r as K, e as P, g as A, h as oe, j as le, k as re, l as me, v as ge, m as ce, w as ue, x as de, B as n, H as fe, I as he, J as ye, K as be } from "./CasinoPageNd-CcSCHl8E.js";
2
+ import "../lazy/casino-games-category-section-nd-DTurm4m5.js";
3
+ function ve(a, e) {
4
+ ee(a, e);
6
5
  }
7
- function ve(a) {
8
- ee.set(a);
6
+ function _e(a) {
7
+ te.set(a);
9
8
  }
10
- const _e = {
9
+ const we = {
11
10
  en: {
12
11
  noGames: "No games in most played"
13
12
  },
@@ -63,10 +62,10 @@ const _e = {
63
62
  noGames: "No games in most played"
64
63
  }
65
64
  };
66
- function we(a) {
67
- ne(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
68
- }
69
65
  function Ge(a) {
66
+ ie(a, "svelte-1de9den", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
67
+ }
68
+ function ke(a) {
70
69
  let e;
71
70
  return {
72
71
  c() {
@@ -168,7 +167,7 @@ function Ge(a) {
168
167
  );
169
168
  },
170
169
  m(s, i) {
171
- E(s, e, i);
170
+ F(s, e, i);
172
171
  },
173
172
  p(s, i) {
174
173
  i[0] & /*session*/
@@ -292,61 +291,61 @@ function Ge(a) {
292
291
  }
293
292
  };
294
293
  }
295
- function ke(a) {
294
+ function Ne(a) {
296
295
  let e, s = (
297
296
  /*$_*/
298
297
  a[21]("noGames") + ""
299
298
  ), i;
300
299
  return {
301
300
  c() {
302
- e = P("p"), i = ge(s), A(e, "class", "SearchLoading");
301
+ e = P("p"), i = de(s), A(e, "class", "SearchLoading");
303
302
  },
304
- m(m, l) {
305
- E(m, e, l), K(e, i);
303
+ m(m, r) {
304
+ F(m, e, r), K(e, i);
306
305
  },
307
- p(m, l) {
308
- l[0] & /*$_*/
306
+ p(m, r) {
307
+ r[0] & /*$_*/
309
308
  2097152 && s !== (s = /*$_*/
310
- m[21]("noGames") + "") && me(i, s);
309
+ m[21]("noGames") + "") && ue(i, s);
311
310
  },
312
311
  d(m) {
313
312
  m && T(e);
314
313
  }
315
314
  };
316
315
  }
317
- function Ne(a) {
316
+ function Pe(a) {
318
317
  let e, s;
319
318
  function i(g, c) {
320
319
  return (
321
320
  /*mostPlayedEmpty*/
322
- g[20] ? ke : Ge
321
+ g[20] ? Ne : ke
323
322
  );
324
323
  }
325
- let m = i(a), l = m(a);
324
+ let m = i(a), r = m(a);
326
325
  return {
327
326
  c() {
328
- e = P("div"), s = P("div"), l.c(), A(s, "class", "casino-most-played-section"), A(e, "class", "CasinoGamesCategorySectionContainer");
327
+ e = P("div"), s = P("div"), r.c(), A(s, "class", "casino-most-played-section"), A(e, "class", "CasinoGamesCategorySectionContainer");
329
328
  },
330
329
  m(g, c) {
331
- E(g, e, c), K(e, s), l.m(s, null), a[24](e);
330
+ F(g, e, c), K(e, s), r.m(s, null), a[24](e);
332
331
  },
333
332
  p(g, c) {
334
- m === (m = i(g)) && l ? l.p(g, c) : (l.d(1), l = m(g), l && (l.c(), l.m(s, null)));
333
+ m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
335
334
  },
336
335
  i: H,
337
336
  o: H,
338
337
  d(g) {
339
- g && T(e), l.d(), a[24](null);
338
+ g && T(e), r.d(), a[24](null);
340
339
  }
341
340
  };
342
341
  }
343
- function Pe(a, e, s) {
342
+ function Se(a, e, s) {
344
343
  let i;
345
- ie(a, he, (t) => s(21, i = t));
346
- let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: _ = "" } = e, { mbsource: h } = e, { clientstyling: w = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: D = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: U = "" } = e, { visiblegames: S } = e, { favorites: I = "" } = e, { translationurl: b = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Y = window.navigator.userAgent, Q;
344
+ oe(a, le, (t) => s(21, i = t));
345
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: _ = "" } = e, { mbsource: h } = e, { clientstyling: w = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: U = "" } = e, { visiblegames: S } = e, { favorites: I = "" } = e, { translationurl: b = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Y = window.navigator.userAgent, Q;
347
346
  const M = (t) => {
348
347
  Object.keys(t).forEach((o) => {
349
- be(o, t[o]);
348
+ ve(o, t[o]);
350
349
  });
351
350
  }, V = () => {
352
351
  fetch(b).then((o) => o.json()).then((o) => {
@@ -355,96 +354,96 @@ function Pe(a, e, s) {
355
354
  console.log(o);
356
355
  });
357
356
  };
358
- M(_e);
359
- let N = [], z, J = !1, u;
360
- const W = (t) => {
357
+ M(we);
358
+ let N = [], B, J = !1, u, W;
359
+ const X = (t) => {
361
360
  let o = new URL(`${m}/v1/player/${_}/games/most-played`);
362
- t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
361
+ t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
363
362
  let y = t.device;
364
- return y ? y === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = k ? o : o.href, new Promise((d, v) => {
365
- fetch(z).then((f) => f.json()).then((f) => {
366
- f.items = f.items.filter((x) => {
367
- let B = !0;
368
- return x.gameCode == "OddsMatrix2" && (f.count--, B = !1), B;
363
+ return y ? y === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), B = k ? o : o.href, new Promise((d, v) => {
364
+ fetch(B).then((f) => f.json()).then((f) => {
365
+ f.items = f.items.filter(($) => {
366
+ let q = !0;
367
+ return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
369
368
  }), d(f);
370
369
  }).catch((f) => {
371
370
  console.error(f), v(f);
372
371
  });
373
372
  });
374
- }, X = () => {
375
- W({
373
+ }, Z = () => {
374
+ X({
376
375
  limit: 100,
377
- device: re(Y),
376
+ device: ge(Y),
378
377
  rounds: L
379
378
  }).then((t) => {
380
379
  if (t.count > 0) {
381
380
  let o = [];
382
381
  t.items.forEach((y) => {
383
382
  let d = new URL(`${m}/v1/casino/games/${y.gameId}`);
384
- d.searchParams.append("datasource", l), k ? o.push(fetch(d.href).then((v) => v.json())) : o.push(fetch(d.href).then((v) => v.json()));
383
+ d.searchParams.append("datasource", r), k ? o.push(fetch(d.href).then((v) => v.json())) : o.push(fetch(d.href).then((v) => v.json()));
385
384
  }), Promise.all(o).then((y) => {
386
- N = y.filter((d) => !("error" in d)).map((d) => d[0]), C === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
385
+ N = y.filter((d) => !("error" in d)).map((d) => d[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
387
386
  });
388
387
  } else
389
388
  s(20, J = !0);
390
389
  });
391
- }, Z = () => {
392
- ve(c);
390
+ }, p = () => {
391
+ _e(c);
393
392
  };
394
- oe(() => () => {
393
+ re(() => () => {
395
394
  });
396
- function p(t) {
397
- le[t ? "unshift" : "push"](() => {
395
+ function x(t) {
396
+ ce[t ? "unshift" : "push"](() => {
398
397
  u = t, s(19, u);
399
398
  });
400
399
  }
401
400
  return a.$$set = (t) => {
402
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, _ = t.userid), "mbsource" in t && s(6, h = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, D = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, U = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, I = t.favorites), "translationurl" in t && s(16, b = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, j = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, q = t.fetchviaevent);
401
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, _ = t.userid), "mbsource" in t && s(6, h = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, E = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, U = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, I = t.favorites), "translationurl" in t && s(16, b = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
403
402
  }, a.$$.update = () => {
404
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
405
- 41 && m && _ && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
406
- 524416 && w && u && ce(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
407
- 524544 && G && u && ue(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
408
- 524352 && h && u && de(u, `${h}.Style`), a.$$.dirty[0] & /*mbsource, translationurl*/
409
- 65600 && h && !b && ye(`${h}.Translation`, Q, M), a.$$.dirty[0] & /*translationurl*/
404
+ 41 && m && _ && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
405
+ 524416 && w && u && fe(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
+ 524544 && G && u && he(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && h && u && ye(u, `${h}.Style`, W), a.$$.dirty[0] & /*mbsource, translationurl*/
408
+ 65600 && h && !b && me(`${h}.Translation`, Q, M), a.$$.dirty[0] & /*translationurl*/
410
409
  65536 && b && V(), a.$$.dirty[0] & /*lang*/
411
- 8 && c && Z();
410
+ 8 && c && p();
412
411
  }, [
413
412
  m,
414
- l,
413
+ r,
415
414
  g,
416
415
  c,
417
- F,
416
+ D,
418
417
  _,
419
418
  h,
420
419
  w,
421
420
  G,
422
421
  k,
423
- D,
422
+ E,
424
423
  O,
425
424
  R,
426
425
  U,
427
426
  S,
428
427
  I,
429
428
  b,
430
- C,
431
- q,
429
+ j,
430
+ z,
432
431
  u,
433
432
  J,
434
433
  i,
435
- j,
434
+ C,
436
435
  L,
437
- p
436
+ x
438
437
  ];
439
438
  }
440
- class Se extends te {
439
+ class je extends se {
441
440
  constructor(e) {
442
- super(), se(
441
+ super(), ae(
443
442
  this,
444
443
  e,
444
+ Se,
445
445
  Pe,
446
- Ne,
447
- ae,
446
+ ne,
448
447
  {
449
448
  endpoint: 0,
450
449
  datasource: 1,
@@ -468,7 +467,7 @@ class Se extends te {
468
467
  mostplayedrounds: 23,
469
468
  fetchviaevent: 18
470
469
  },
471
- we,
470
+ Ge,
472
471
  [-1, -1]
473
472
  );
474
473
  }
@@ -476,130 +475,130 @@ class Se extends te {
476
475
  return this.$$.ctx[0];
477
476
  }
478
477
  set endpoint(e) {
479
- this.$$set({ endpoint: e }), r();
478
+ this.$$set({ endpoint: e }), l();
480
479
  }
481
480
  get datasource() {
482
481
  return this.$$.ctx[1];
483
482
  }
484
483
  set datasource(e) {
485
- this.$$set({ datasource: e }), r();
484
+ this.$$set({ datasource: e }), l();
486
485
  }
487
486
  get currency() {
488
487
  return this.$$.ctx[2];
489
488
  }
490
489
  set currency(e) {
491
- this.$$set({ currency: e }), r();
490
+ this.$$set({ currency: e }), l();
492
491
  }
493
492
  get lang() {
494
493
  return this.$$.ctx[3];
495
494
  }
496
495
  set lang(e) {
497
- this.$$set({ lang: e }), r();
496
+ this.$$set({ lang: e }), l();
498
497
  }
499
498
  get session() {
500
499
  return this.$$.ctx[4];
501
500
  }
502
501
  set session(e) {
503
- this.$$set({ session: e }), r();
502
+ this.$$set({ session: e }), l();
504
503
  }
505
504
  get userid() {
506
505
  return this.$$.ctx[5];
507
506
  }
508
507
  set userid(e) {
509
- this.$$set({ userid: e }), r();
508
+ this.$$set({ userid: e }), l();
510
509
  }
511
510
  get mbsource() {
512
511
  return this.$$.ctx[6];
513
512
  }
514
513
  set mbsource(e) {
515
- this.$$set({ mbsource: e }), r();
514
+ this.$$set({ mbsource: e }), l();
516
515
  }
517
516
  get clientstyling() {
518
517
  return this.$$.ctx[7];
519
518
  }
520
519
  set clientstyling(e) {
521
- this.$$set({ clientstyling: e }), r();
520
+ this.$$set({ clientstyling: e }), l();
522
521
  }
523
522
  get clientstylingurl() {
524
523
  return this.$$.ctx[8];
525
524
  }
526
525
  set clientstylingurl(e) {
527
- this.$$set({ clientstylingurl: e }), r();
526
+ this.$$set({ clientstylingurl: e }), l();
528
527
  }
529
528
  get livecasino() {
530
529
  return this.$$.ctx[9];
531
530
  }
532
531
  set livecasino(e) {
533
- this.$$set({ livecasino: e }), r();
532
+ this.$$set({ livecasino: e }), l();
534
533
  }
535
534
  get integratedgameframemobile() {
536
535
  return this.$$.ctx[10];
537
536
  }
538
537
  set integratedgameframemobile(e) {
539
- this.$$set({ integratedgameframemobile: e }), r();
538
+ this.$$set({ integratedgameframemobile: e }), l();
540
539
  }
541
540
  get integratedgameframedesktop() {
542
541
  return this.$$.ctx[11];
543
542
  }
544
543
  set integratedgameframedesktop(e) {
545
- this.$$set({ integratedgameframedesktop: e }), r();
544
+ this.$$set({ integratedgameframedesktop: e }), l();
546
545
  }
547
546
  get gamepagemodalurl() {
548
547
  return this.$$.ctx[12];
549
548
  }
550
549
  set gamepagemodalurl(e) {
551
- this.$$set({ gamepagemodalurl: e }), r();
550
+ this.$$set({ gamepagemodalurl: e }), l();
552
551
  }
553
552
  get showgamename() {
554
553
  return this.$$.ctx[13];
555
554
  }
556
555
  set showgamename(e) {
557
- this.$$set({ showgamename: e }), r();
556
+ this.$$set({ showgamename: e }), l();
558
557
  }
559
558
  get visiblegames() {
560
559
  return this.$$.ctx[14];
561
560
  }
562
561
  set visiblegames(e) {
563
- this.$$set({ visiblegames: e }), r();
562
+ this.$$set({ visiblegames: e }), l();
564
563
  }
565
564
  get favorites() {
566
565
  return this.$$.ctx[15];
567
566
  }
568
567
  set favorites(e) {
569
- this.$$set({ favorites: e }), r();
568
+ this.$$set({ favorites: e }), l();
570
569
  }
571
570
  get translationurl() {
572
571
  return this.$$.ctx[16];
573
572
  }
574
573
  set translationurl(e) {
575
- this.$$set({ translationurl: e }), r();
574
+ this.$$set({ translationurl: e }), l();
576
575
  }
577
576
  get casinomygames() {
578
577
  return this.$$.ctx[17];
579
578
  }
580
579
  set casinomygames(e) {
581
- this.$$set({ casinomygames: e }), r();
580
+ this.$$set({ casinomygames: e }), l();
582
581
  }
583
582
  get mostplayedperiod() {
584
583
  return this.$$.ctx[22];
585
584
  }
586
585
  set mostplayedperiod(e) {
587
- this.$$set({ mostplayedperiod: e }), r();
586
+ this.$$set({ mostplayedperiod: e }), l();
588
587
  }
589
588
  get mostplayedrounds() {
590
589
  return this.$$.ctx[23];
591
590
  }
592
591
  set mostplayedrounds(e) {
593
- this.$$set({ mostplayedrounds: e }), r();
592
+ this.$$set({ mostplayedrounds: e }), l();
594
593
  }
595
594
  get fetchviaevent() {
596
595
  return this.$$.ctx[18];
597
596
  }
598
597
  set fetchviaevent(e) {
599
- this.$$set({ fetchviaevent: e }), r();
598
+ this.$$set({ fetchviaevent: e }), l();
600
599
  }
601
600
  }
602
- fe(Se, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
601
+ be(je, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
603
602
  export {
604
- Se as default
603
+ je as default
605
604
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-DF8VWpzm.cjs");require("../lazy/casino-games-category-section-nd-avQYtfSL.cjs");function W(n,e){t.addMessages(n,e)}function X(n){t.$locale.set(n)}const Z={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function p(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function x(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function $(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function ee(n){let e,a;function i(r,u){return r[20]?$:x}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function te(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:M=""}=e,{userid:b=""}=e,{mbsource:_}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{livecasino:G="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:T="false"}=e,{showgamename:F=""}=e,{visiblegames:k}=e,{favorites:O=""}=e,{translationurl:h=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:D="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(m=>{W(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{j(m)}).catch(m=>{console.log(m)})};j(Z);let N=[],E,R=!1,c,J;const Y=s=>{let m=new URL(`${o}/v1/player/${b}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let f=s.device;return f?f==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),E=G?m:m.href,new Promise((d,y)=>{fetch(E).then(g=>g.json()).then(g=>{g.items=g.items.filter(V=>{let U=!0;return V.gameCode=="OddsMatrix2"&&(g.count--,U=!1),U}),d(g)}).catch(g=>{console.error(g),y(g)})})},H=()=>{Y({limit:100,device:t.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let m=[];s.items.forEach(f=>{let d=new URL(`${o}/v1/casino/games/${f.gameId}`);d.searchParams.append("datasource",l),G?m.push(fetch(d.href).then(y=>y.json())):m.push(fetch(d.href).then(y=>y.json()))}),Promise.all(m).then(f=>{N=f.filter(d=>!("error"in d)).map(d=>d[0]),P==="true"&&(N=N.slice(0,JSON.parse(k))),window.postMessage({type:"MostPlayedData",mostPlayedGames:N},window.location.href)})}else a(20,R=!0)})},K=()=>{X(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,M=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,w=s.clientstylingurl),"livecasino"in s&&a(9,G=s.livecasino),"integratedgameframemobile"in s&&a(10,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,T=s.gamepagemodalurl),"showgamename"in s&&a(13,F=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,h=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&b&&u&&H(),n.$$.dirty[0]&524416&&v&&c&&t.setClientStyling(c,v),n.$$.dirty[0]&524544&&w&&c&&t.setClientStylingURL(c,w),n.$$.dirty[0]&524352&&_&&c&&t.setStreamStyling(c,`${_}.Style`,J),n.$$.dirty[0]&65600&&_&&!h&&t.getStreamTranslations(`${_}.Translation`,I,j),n.$$.dirty[0]&65536&&h&&B(),n.$$.dirty[0]&8&&u&&K()},[o,l,r,u,M,b,_,v,w,G,L,A,T,F,k,O,h,P,D,c,R,i,S,C,Q]}class q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,te,ee,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},p,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(q,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=q;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-DF8VWpzm.cjs");require("../lazy/casino-favorites-section-nd-HqHu0HXh.cjs");require("../lazy/casino-last-played-section-nd-DMzSMctM.cjs");require("../lazy/casino-most-played-section-nd-DxVaDgWi.cjs");function se({withLocale:a,translations:t}){e.$locale.subscribe(m=>{m==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function le(a,t){e.addMessages(a,t)}function ne(a){e.$locale.set(a)}const oe={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function ie(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,m){const c=a.slice();return c[45]=t[m],c}function me(a){let t,m,c,r,_,n,u,l,h,d,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Z(R(a,g,s));return{c(){t=e.element("div"),m=e.element("div"),c=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();r=e.space(),_=e.element("div"),n=e.element("casino-favorites-section-nd"),u=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(c,"class","MyGamesButtonsContainer"),e.attr(m,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,o){e.insert(s,t,o),e.append(t,m),e.append(m,c);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(c,null);e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),e.append(_,h),e.append(_,d)},p(s,o){if(o[0]&1745289216|o[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=R(s,g,y);f[y]?f[y].p(M,o):(f[y]=Z(M),f[y].c(),f[y].m(c,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}o[0]&2&&e.set_custom_element_data(n,"session",s[1]),o[0]&1&&e.set_custom_element_data(n,"userid",s[0]),o[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(n,"lang",s[4]),o[0]&32&&e.set_custom_element_data(n,"currency",s[5]),o[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),o[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(l,"lang",s[4]),o[0]&32&&e.set_custom_element_data(l,"currency",s[5]),o[0]&2&&e.set_custom_element_data(l,"session",s[1]),o[0]&1&&e.set_custom_element_data(l,"userid",s[0]),o[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),o[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),o[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),o[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),o[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),o[0]&1&&e.set_custom_element_data(d,"userid",s[0]),o[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),o[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),o[0]&16&&e.set_custom_element_data(d,"lang",s[4]),o[0]&32&&e.set_custom_element_data(d,"currency",s[5]),o[0]&2&&e.set_custom_element_data(d,"session",s[1]),o[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),o[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),o[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),o[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),o[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),o[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),o[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function D(a){let t,m=a[31]("favorites")+"",c,r,_,n,u,l,h,d,p;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),_=e.element("span"),n=e.text("("),u=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,c),e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(g,f){f[1]&1&&m!==(m=g[31]("favorites")+"")&&e.set_data(c,m),f[0]&1073741824&&e.set_data(u,g[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),d=!1,p()}}}function J(a){let t,m=a[31]("mostPlayed")+"",c,r,_,n;return{c(){t=e.element("button"),c=e.text(m),e.attr(t,"class",r="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(u,l){e.insert(u,t,l),e.append(t,c),_||(n=e.listen(t,"click",a[34]),_=!0)},p(u,l){l[1]&1&&m!==(m=u[31]("mostPlayed")+"")&&e.set_data(c,m),l[0]&134348800&&r!==(r="MyGamesButton "+(u[27]=="MostPlayed"?"Active":"")+" "+(u[17]=="false"?"Off":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),_=!1,n()}}}function V(a){let t,m=a[31]("recentlyPlayed")+"",c,r,_,n,u;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),e.attr(t,"class",_="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,c),e.append(t,r),n||(u=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&m!==(m=l[31]("recentlyPlayed")+"")&&e.set_data(c,m),h[0]&134479872&&_!==(_="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",_)},d(l){l&&e.detach(t),n=!1,u()}}}function Z(a){let t,m,c,r=a[45]=="Favorites"&&D(a),_=a[45]=="MostPlayed"&&J(a),n=a[45]=="LastPlayed"&&V(a);return{c(){r&&r.c(),t=e.space(),_&&_.c(),m=e.space(),n&&n.c(),c=e.empty()},m(u,l){r&&r.m(u,l),e.insert(u,t,l),_&&_.m(u,l),e.insert(u,m,l),n&&n.m(u,l),e.insert(u,c,l)},p(u,l){u[45]=="Favorites"?r?r.p(u,l):(r=D(u),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),u[45]=="MostPlayed"?_?_.p(u,l):(_=J(u),_.c(),_.m(m.parentNode,m)):_&&(_.d(1),_=null),u[45]=="LastPlayed"?n?n.p(u,l):(n=V(u),n.c(),n.m(c.parentNode,c)):n&&(n.d(1),n=null)},d(u){u&&(e.detach(t),e.detach(m),e.detach(c)),r&&r.d(u),_&&_.d(u),n&&n.d(u)}}}function de(a){let t;function m(_,n){if(_[19])return me}let c=m(a),r=c&&c(a);return{c(){t=e.element("div"),r&&r.c()},m(_,n){e.insert(_,t,n),r&&r.m(t,null),a[36](t)},p(_,n){c===(c=m(_))&&r?r.p(_,n):(r&&r.d(1),r=c&&c(_),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),r&&r.d(),a[36](null)}}}function _e(a,t,m){let c;e.component_subscribe(a,e.$format,i=>m(31,c=i));let{userid:r=""}=t,{session:_=""}=t,{endpoint:n=""}=t,{datasource:u=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:o=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:S=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:G="false"}=t,{casinomygames:j="false"}=t,{lastplayedperiod:q="Last30Days"}=t,{mostplayedperiod:O="Last30Days"}=t,{lastplayedorder:E=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:z=""}=t,Q=window.navigator.userAgent,W,b,X,L="",H=!1,P=["","",""],A="0";se({withLocale:"en",translations:{}});const B=i=>{Object.keys(i).forEach(v=>{le(v,i[v])})},Y=()=>{fetch(w).then(v=>v.json()).then(v=>{B(v)}).catch(v=>{console.log(v)})};B(oe);const C=i=>{L!==i&&m(27,L=i)},x=()=>{m(27,L=k==="true"?"Favorites":F==="true"?"MostPlayed":G==="true"?"LastPlayed":""),m(29,P[0]=k==="true"?"Favorites":"",P),m(29,P[1]=F==="true"?"MostPlayed":"",P),m(29,P[2]=G==="true"?"LastPlayed":"",P),ne(l)},U=i=>{var v,I;if(i.data)switch(i.data.type){case"UpdateFavoritesCount":i.data.favoriteGamesLength!==void 0?m(30,A=i.data.favoriteGamesLength):m(30,A=(I=(v=i.data.listOfFavoritesGames)==null?void 0:v.length)!=null?I:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),m(28,H=e.isMobile(Q)),()=>{window.removeEventListener("message",U)}));const $=()=>C("Favorites"),ee=()=>C("MostPlayed"),te=()=>C("LastPlayed");function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,m(26,b)})}return a.$$set=i=>{"userid"in i&&m(0,r=i.userid),"session"in i&&m(1,_=i.session),"endpoint"in i&&m(2,n=i.endpoint),"datasource"in i&&m(3,u=i.datasource),"lang"in i&&m(4,l=i.lang),"currency"in i&&m(5,h=i.currency),"mbsource"in i&&m(6,d=i.mbsource),"clientstyling"in i&&m(7,p=i.clientstyling),"clientstylingurl"in i&&m(8,g=i.clientstylingurl),"livecasino"in i&&m(9,f=i.livecasino),"visiblegames"in i&&m(10,s=i.visiblegames),"gamepagemodalurl"in i&&m(11,o=i.gamepagemodalurl),"showgamename"in i&&m(12,y=i.showgamename),"integratedgameframedesktop"in i&&m(13,M=i.integratedgameframedesktop),"integratedgameframemobile"in i&&m(14,S=i.integratedgameframemobile),"translationurl"in i&&m(15,w=i.translationurl),"favorites"in i&&m(16,k=i.favorites),"mostplayed"in i&&m(17,F=i.mostplayed),"lastplayed"in i&&m(18,G=i.lastplayed),"casinomygames"in i&&m(19,j=i.casinomygames),"lastplayedperiod"in i&&m(20,q=i.lastplayedperiod),"mostplayedperiod"in i&&m(21,O=i.mostplayedperiod),"lastplayedorder"in i&&m(22,E=i.lastplayedorder),"lastplayedlimit"in i&&m(23,N=i.lastplayedlimit),"lastplayedunique"in i&&m(24,T=i.lastplayedunique),"mostplayedrounds"in i&&m(25,z=i.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&u&&l&&k&&F&&G&&x(),a.$$.dirty[0]&32768&&w&&Y(),a.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),a.$$.dirty[0]&67109120&&g&&b&&e.setClientStylingURL(b,g),a.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`,W),a.$$.dirty[0]&32832&&d&&!w&&e.getStreamTranslations(`${d}.Translation`,X,B)},[r,_,n,u,l,h,d,p,g,f,s,o,y,M,S,w,k,F,G,j,q,O,E,N,T,z,b,L,H,P,A,c,C,$,ee,te,ae]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,_e,de,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},ie,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;