@everymatrix/casino-page 1.63.3 → 1.64.1

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 (86) hide show
  1. package/components/{CasinoCalendar-nljhPH7y.cjs → CasinoCalendar-B7HDzCMK.cjs} +4 -4
  2. package/components/{CasinoCalendar-BeZncquz.js → CasinoCalendar-Vkb-R-ZX.js} +114 -114
  3. package/components/{CasinoCalendar-CXqShP9K.js → CasinoCalendar-gzR0syWU.js} +200 -200
  4. package/components/CasinoCalendarDailyDetails-BSQbzcGH.js +567 -0
  5. package/components/CasinoCalendarDailyDetails-Bc0r0Ym3.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-Cf_NBcOX.js +567 -0
  7. package/components/{CasinoCalendarDailyItem-CxNvFRRJ.js → CasinoCalendarDailyItem-CQSuNZtl.js} +45 -45
  8. package/components/CasinoCalendarDailyItem-DcM708OO.cjs +1 -0
  9. package/components/{CasinoCalendarDailyItem-1co5UCOc.js → CasinoCalendarDailyItem-Dn5Go7LC.js} +45 -45
  10. package/components/CasinoCollectionsProviders-58EKJRFt.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-Ddznc9st.js → CasinoCollectionsProviders-C2HckLP0.js} +106 -106
  12. package/components/{CasinoCollectionsProviders-DQ-lUWZN.js → CasinoCollectionsProviders-CQOBEpAZ.js} +113 -113
  13. package/components/{CasinoFavoritesSection-BhVw9fTI.js → CasinoFavoritesSection-CcsvkrzG.js} +23 -23
  14. package/components/{CasinoFavoritesSection-BskhwCG2.js → CasinoFavoritesSection-DfGJNbB8.js} +23 -23
  15. package/components/{CasinoFavoritesSection-B5JU_G95.cjs → CasinoFavoritesSection-W3TMRpsu.cjs} +1 -1
  16. package/components/{CasinoFilter-DffsJWQu.js → CasinoFilter-Bgdgnv7e.js} +115 -115
  17. package/components/{CasinoFilter-BZvjOUNz.cjs → CasinoFilter-Bmbi-NIl.cjs} +1 -1
  18. package/components/{CasinoFilter-Bhzt3ud6.js → CasinoFilter-DcGO-ipH.js} +112 -112
  19. package/components/{CasinoGameThumbnail-CETsOO6r.cjs → CasinoGameThumbnail-COIE0fub.cjs} +2 -2
  20. package/components/{CasinoGameThumbnail-CE_8NKFQ.js → CasinoGameThumbnail-DXQLodRv.js} +3 -3
  21. package/components/{CasinoGameThumbnail-nQ4bxAne.js → CasinoGameThumbnail-DiLl5Mrw.js} +3 -3
  22. package/components/CasinoGamesCategorySection-BG3iYeKb.js +3170 -0
  23. package/components/CasinoGamesCategorySection-D-NYfWaO.cjs +1 -0
  24. package/components/CasinoGamesCategorySection-DqEYl0Es.js +3202 -0
  25. package/components/{CasinoJackpotBanner-CqOh2dMq.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-CLIfQAnS.js → CasinoJackpotBanner-CzYBUhxU.js} +91 -91
  27. package/components/{CasinoJackpotBanner-QiQ-hf00.js → CasinoJackpotBanner-emlytO5A.js} +98 -98
  28. package/components/{CasinoLastPlayedSection-DVsj0ERs.js → CasinoLastPlayedSection-DlkamFRO.js} +11 -11
  29. package/components/{CasinoLastPlayedSection-_PDk9mvl.cjs → CasinoLastPlayedSection-ESrwXqVH.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-BGX5xL0g.js → CasinoLastPlayedSection-HNf5v3xk.js} +11 -11
  31. package/components/{CasinoMostPlayedSection-DK66ryn0.js → CasinoMostPlayedSection-Bj52NLlc.js} +19 -19
  32. package/components/{CasinoMostPlayedSection-C4jaxrRR.cjs → CasinoMostPlayedSection-DnCmD7jr.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-_JLs4XMs.js → CasinoMostPlayedSection-ZxeqcEG3.js} +19 -19
  34. package/components/{CasinoMyGames-Bt6ErgXD.js → CasinoMyGames-B3n4oh-A.js} +54 -54
  35. package/components/{CasinoMyGames-Cdc-1_0d.cjs → CasinoMyGames-Ds1zAHP9.cjs} +1 -1
  36. package/components/{CasinoMyGames-CflxhNav.js → CasinoMyGames-vFSJZHR-.js} +50 -50
  37. package/components/{CasinoPage-DuqMGBRI.js → CasinoPage-ClUmsk8r.js} +175 -175
  38. package/components/{CasinoPage-DjqRL5f8.cjs → CasinoPage-Cy-fE9bq.cjs} +1 -1
  39. package/components/{CasinoPage-DAN37M6o.js → CasinoPage-DXlelFXN.js} +181 -181
  40. package/components/{CasinoRandomGame-DmhidQ0r.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BmbrklCB.js → CasinoRandomGame-DCljkb0K.js} +70 -70
  42. package/components/{CasinoRandomGame-Bk1JbUlj.js → CasinoRandomGame-SWOJ-rEc.js} +70 -70
  43. package/components/{CasinoSearch-BKt2MLZ5.js → CasinoSearch-B1cDx372.js} +73 -73
  44. package/components/{CasinoSearch-BUb1cHOF.cjs → CasinoSearch-CPSvAdm9.cjs} +1 -1
  45. package/components/{CasinoSearch-K-yv43no.js → CasinoSearch-JYJ0TOYC.js} +75 -75
  46. package/components/{CasinoSort-JdpRMlFB.js → CasinoSort-CFb0U8jb.js} +32 -32
  47. package/components/{CasinoSort-Dd8ZEIdO.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
  48. package/components/{CasinoSort-BwF_FapK.js → CasinoSort-DfH2maWJ.js} +32 -32
  49. package/components/CasinoWinners-C9tJh4_L.cjs +1 -0
  50. package/components/{CasinoWinners-DndMyplw.js → CasinoWinners-D02DDUiQ.js} +131 -131
  51. package/components/{CasinoWinners-BQNqPkDs.js → CasinoWinners-DB-fwvGm.js} +132 -132
  52. package/components/{GeneralAnimationLoading-C8QANCXC.js → GeneralAnimationLoading-B2emFg0o.js} +6 -6
  53. package/components/{GeneralAnimationLoading-Cw3xHMcW.js → GeneralAnimationLoading-DCyTdaug.js} +6 -6
  54. package/components/{GeneralAnimationLoading-D60kNPCe.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
  60. package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
  61. package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
  62. package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
  63. package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  64. package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
  65. package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
  66. package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
  67. package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
  68. package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
  69. package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
  70. package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  71. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  72. package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  73. package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
  74. package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
  75. package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
  76. package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  77. package/components/CasinoCalendarDailyDetails-D8MUjPhD.js +0 -694
  78. package/components/CasinoCalendarDailyDetails-DciPEtlc.cjs +0 -1
  79. package/components/CasinoCalendarDailyDetails-DjHQLxKC.js +0 -694
  80. package/components/CasinoCalendarDailyItem-8n79Y5xW.cjs +0 -1
  81. package/components/CasinoCollectionsProviders-CwF-EeBd.cjs +0 -1
  82. package/components/CasinoGamesCategorySection-BQ1WL6iu.js +0 -3170
  83. package/components/CasinoGamesCategorySection-CbwlnTaF.js +0 -3139
  84. package/components/CasinoGamesCategorySection-qOt4yV-4.cjs +0 -1
  85. package/components/CasinoWinners-jQ69UTS2.cjs +0 -1
  86. package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { $ as z, Q as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as O, G as Fe, m as q, A as H, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-BeZncquz.js";
2
- function Ae({ withLocale: a, translations: e }) {
3
- z.subscribe((t) => {
4
- t == null && (ce.set(e), z.set(a));
1
+ import { $ as H, O as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as A, T as Fe, m as D, A as z, q as L, E as s, H as Le, I as Ge, J as Ee, K as Ce, L as Be } from "./CasinoCalendar-Vkb-R-ZX.js";
2
+ function Oe({ withLocale: a, translations: e }) {
3
+ H.subscribe((t) => {
4
+ t == null && (ce.set(e), H.set(a));
5
5
  });
6
6
  }
7
7
  function te(a, e) {
8
8
  ge(a, e);
9
9
  }
10
- function Oe(a) {
11
- z.set(a);
10
+ function Ae(a) {
11
+ H.set(a);
12
12
  }
13
13
  const ae = {
14
14
  en: {
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-BhVw9fTI.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-CcsvkrzG.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-BGX5xL0g.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-HNf5v3xk.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
135
135
  });
136
136
  }
@@ -146,18 +146,18 @@ if (typeof window != "undefined") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-DK66ryn0.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-ZxeqcEG3.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
153
153
  function je(a) {
154
- pe(a, "svelte-nbkt6a", ".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}.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, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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}");
154
+ pe(a, "svelte-1d9x86", ".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}.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}");
155
155
  }
156
156
  function se(a, e, t) {
157
157
  const i = a.slice();
158
158
  return i[43] = e[t], i;
159
159
  }
160
- function De(a) {
160
+ function Se(a) {
161
161
  let e, t, i, m, n, d, o = ee(
162
162
  /*tabsArray*/
163
163
  a[28]
@@ -174,12 +174,12 @@ function De(a) {
174
174
  /*gamesType*/
175
175
  f[26] == "MostPlayed"
176
176
  )
177
- return qe;
177
+ return De;
178
178
  if (
179
179
  /*gamesType*/
180
180
  f[26] == "LastPlayed"
181
181
  )
182
- return Se;
182
+ return qe;
183
183
  }
184
184
  let b = h(a), y = b && b(a);
185
185
  return {
@@ -187,7 +187,7 @@ function De(a) {
187
187
  e = p("div"), t = p("div"), i = p("div");
188
188
  for (let f = 0; f < r.length; f += 1)
189
189
  r[f].c();
190
- m = O(), n = p("div"), y && y.c(), w(i, "class", "MyGamesButtonsContainer"), w(t, "class", "MyGamesHeader"), w(e, "class", d = "CasinoMyGames " + /*mobile*/
190
+ m = A(), n = p("div"), y && y.c(), w(i, "class", "MyGamesButtonsContainer"), w(t, "class", "MyGamesHeader"), w(e, "class", d = "CasinoMyGames " + /*mobile*/
191
191
  (a[27] ? "Mobile" : ""));
192
192
  },
193
193
  m(f, g) {
@@ -206,8 +206,8 @@ function De(a) {
206
206
  );
207
207
  let c;
208
208
  for (c = 0; c < o.length; c += 1) {
209
- const C = se(f, o, c);
210
- r[c] ? r[c].p(C, g) : (r[c] = oe(C), r[c].c(), r[c].m(i, null));
209
+ const G = se(f, o, c);
210
+ r[c] ? r[c].p(G, g) : (r[c] = oe(G), r[c].c(), r[c].m(i, null));
211
211
  }
212
212
  for (; c < r.length; c += 1)
213
213
  r[c].d(1);
@@ -229,7 +229,7 @@ function ie(a) {
229
229
  ), i, m, n, d, o, r, h, b, y;
230
230
  return {
231
231
  c() {
232
- e = p("button"), i = L(t), m = O(), n = p("span"), d = L("("), o = L(
232
+ e = p("button"), i = L(t), m = A(), n = p("span"), d = L("("), o = L(
233
233
  /*favoritesCount*/
234
234
  a[29]
235
235
  ), r = L(")"), w(e, "class", h = "MyGamesButton " + /*gamesType*/
@@ -237,7 +237,7 @@ function ie(a) {
237
237
  (a[14] == "false" ? "Off" : ""));
238
238
  },
239
239
  m(f, g) {
240
- P(f, e, g), v(e, i), v(e, m), v(e, n), v(n, d), v(n, o), v(n, r), b || (y = H(
240
+ P(f, e, g), v(e, i), v(e, m), v(e, n), v(n, d), v(n, o), v(n, r), b || (y = z(
241
241
  e,
242
242
  "click",
243
243
  /*click_handler*/
@@ -247,8 +247,8 @@ function ie(a) {
247
247
  p(f, g) {
248
248
  g[0] & /*$_*/
249
249
  1073741824 && t !== (t = /*$_*/
250
- f[30]("favorites") + "") && q(i, t), g[0] & /*favoritesCount*/
251
- 536870912 && q(
250
+ f[30]("favorites") + "") && D(i, t), g[0] & /*favoritesCount*/
251
+ 536870912 && D(
252
252
  o,
253
253
  /*favoritesCount*/
254
254
  f[29]
@@ -274,7 +274,7 @@ function le(a) {
274
274
  (a[15] == "false" ? "Off" : ""));
275
275
  },
276
276
  m(o, r) {
277
- P(o, e, r), v(e, i), n || (d = H(
277
+ P(o, e, r), v(e, i), n || (d = z(
278
278
  e,
279
279
  "click",
280
280
  /*click_handler_1*/
@@ -284,7 +284,7 @@ function le(a) {
284
284
  p(o, r) {
285
285
  r[0] & /*$_*/
286
286
  1073741824 && t !== (t = /*$_*/
287
- o[30]("mostPlayed") + "") && q(i, t), r[0] & /*gamesType, mostplayed*/
287
+ o[30]("mostPlayed") + "") && D(i, t), r[0] & /*gamesType, mostplayed*/
288
288
  67141632 && m !== (m = "MyGamesButton " + /*gamesType*/
289
289
  (o[26] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
290
290
  (o[15] == "false" ? "Off" : "")) && w(e, "class", m);
@@ -301,12 +301,12 @@ function ne(a) {
301
301
  ), i, m, n, d, o;
302
302
  return {
303
303
  c() {
304
- e = p("button"), i = L(t), m = O(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
304
+ e = p("button"), i = L(t), m = A(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
305
305
  (a[26] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
306
306
  (a[16] == "false" ? "Off" : ""));
307
307
  },
308
308
  m(r, h) {
309
- P(r, e, h), v(e, i), v(e, m), d || (o = H(
309
+ P(r, e, h), v(e, i), v(e, m), d || (o = z(
310
310
  e,
311
311
  "click",
312
312
  /*click_handler_2*/
@@ -316,7 +316,7 @@ function ne(a) {
316
316
  p(r, h) {
317
317
  h[0] & /*$_*/
318
318
  1073741824 && t !== (t = /*$_*/
319
- r[30]("recentlyPlayed") + "") && q(i, t), h[0] & /*gamesType, lastplayed*/
319
+ r[30]("recentlyPlayed") + "") && D(i, t), h[0] & /*gamesType, lastplayed*/
320
320
  67174400 && n !== (n = "MyGamesButton " + /*gamesType*/
321
321
  (r[26] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
322
322
  (r[16] == "false" ? "Off" : "")) && w(e, "class", n);
@@ -339,7 +339,7 @@ function oe(a) {
339
339
  );
340
340
  return {
341
341
  c() {
342
- m && m.c(), e = O(), n && n.c(), t = O(), d && d.c(), i = Fe();
342
+ m && m.c(), e = A(), n && n.c(), t = A(), d && d.c(), i = Fe();
343
343
  },
344
344
  m(o, r) {
345
345
  m && m.m(o, r), P(o, e, r), n && n.m(o, r), P(o, t, r), d && d.m(o, r), P(o, i, r);
@@ -355,7 +355,7 @@ function oe(a) {
355
355
  }
356
356
  };
357
357
  }
358
- function Se(a) {
358
+ function qe(a) {
359
359
  let e;
360
360
  return {
361
361
  c() {
@@ -603,7 +603,7 @@ function Se(a) {
603
603
  }
604
604
  };
605
605
  }
606
- function qe(a) {
606
+ function De(a) {
607
607
  let e;
608
608
  return {
609
609
  c() {
@@ -1040,7 +1040,7 @@ function Te(a) {
1040
1040
  /*casinomygames*/
1041
1041
  n[17]
1042
1042
  )
1043
- return De;
1043
+ return Se;
1044
1044
  }
1045
1045
  let i = t(a), m = i && i(a);
1046
1046
  return {
@@ -1060,15 +1060,15 @@ function Te(a) {
1060
1060
  }
1061
1061
  };
1062
1062
  }
1063
- function ze(a, e, t) {
1063
+ function He(a, e, t) {
1064
1064
  let i;
1065
1065
  _e(a, Be, (l) => t(30, i = l));
1066
- let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: U = "" } = e, { integratedgameframemobile: I = "" } = e, { translationurl: j = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: R = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: K = "Last30Days" } = e, { lastplayedorder: Q = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: W = "" } = e, { mbsource: N } = e, re = window.navigator.userAgent, M, D = "", X = !1, F = ["", "", ""], T = "0";
1067
- Ae({ withLocale: "en", translations: {} });
1066
+ let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: G = "" } = e, { integratedgameframedesktop: I = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: j = "" } = e, { favorites: E = "false" } = e, { mostplayed: C = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: R = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: K = "Last30Days" } = e, { lastplayedorder: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: Q = "true" } = e, { mostplayedrounds: W = "" } = e, { mbsource: N } = e, re = window.navigator.userAgent, M, S = "", X = !1, F = ["", "", ""], T = "0";
1067
+ Oe({ withLocale: "en", translations: {} });
1068
1068
  const me = () => {
1069
1069
  fetch(j).then((k) => k.json()).then((k) => {
1070
- Object.keys(k).forEach((A) => {
1071
- te(A, k[A]);
1070
+ Object.keys(k).forEach((O) => {
1071
+ te(O, k[O]);
1072
1072
  });
1073
1073
  }).catch((k) => {
1074
1074
  console.log(k);
@@ -1077,38 +1077,38 @@ function ze(a, e, t) {
1077
1077
  Object.keys(ae).forEach((l) => {
1078
1078
  te(l, ae[l]);
1079
1079
  });
1080
- const S = (l) => {
1081
- D !== l && t(26, D = l);
1080
+ const q = (l) => {
1081
+ S !== l && t(26, S = l);
1082
1082
  }, Y = () => {
1083
- t(26, D = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, F[0] = G === "true" ? "Favorites" : "", F), t(28, F[1] = E === "true" ? "MostPlayed" : "", F), t(28, F[2] = B === "true" ? "LastPlayed" : "", F), Oe(r);
1083
+ t(26, S = E === "true" ? "Favorites" : C === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, F[0] = E === "true" ? "Favorites" : "", F), t(28, F[1] = C === "true" ? "MostPlayed" : "", F), t(28, F[2] = B === "true" ? "LastPlayed" : "", F), Ae(r);
1084
1084
  }, x = (l) => {
1085
- var k, A;
1085
+ var k, O;
1086
1086
  if (l.data)
1087
1087
  switch (l.data.type) {
1088
1088
  case "UpdateFavoritesCount":
1089
- l.data.favoriteGamesLength !== void 0 ? t(29, T = l.data.favoriteGamesLength) : t(29, T = (A = (k = l.data.listOfFavoritesGames) == null ? void 0 : k.length) != null ? A : 0);
1089
+ l.data.favoriteGamesLength !== void 0 ? t(29, T = l.data.favoriteGamesLength) : t(29, T = (O = (k = l.data.listOfFavoritesGames) == null ? void 0 : k.length) != null ? O : 0);
1090
1090
  break;
1091
1091
  }
1092
1092
  };
1093
1093
  Pe(() => (window.addEventListener("message", x, !1), t(27, X = we(re)), () => {
1094
1094
  window.removeEventListener("message", x);
1095
1095
  }));
1096
- const de = () => S("Favorites"), fe = () => S("MostPlayed"), ue = () => S("LastPlayed");
1096
+ const de = () => q("Favorites"), fe = () => q("MostPlayed"), ue = () => q("LastPlayed");
1097
1097
  function ye(l) {
1098
1098
  Me[l ? "unshift" : "push"](() => {
1099
1099
  M = l, t(25, M);
1100
1100
  });
1101
1101
  }
1102
1102
  return a.$$set = (l) => {
1103
- "userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, b = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, C = l.showgamename), "integratedgameframedesktop" in l && t(12, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, I = l.integratedgameframemobile), "translationurl" in l && t(32, j = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, R = l.casinomygames), "lastplayedperiod" in l && t(18, J = l.lastplayedperiod), "mostplayedperiod" in l && t(19, K = l.mostplayedperiod), "lastplayedorder" in l && t(20, Q = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, W = l.mostplayedrounds), "mbsource" in l && t(24, N = l.mbsource);
1103
+ "userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, b = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, G = l.showgamename), "integratedgameframedesktop" in l && t(12, I = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, U = l.integratedgameframemobile), "translationurl" in l && t(32, j = l.translationurl), "favorites" in l && t(14, E = l.favorites), "mostplayed" in l && t(15, C = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, R = l.casinomygames), "lastplayedperiod" in l && t(18, J = l.lastplayedperiod), "mostplayedperiod" in l && t(19, K = l.mostplayedperiod), "lastplayedorder" in l && t(20, V = l.lastplayedorder), "lastplayedlimit" in l && t(21, Z = l.lastplayedlimit), "lastplayedunique" in l && t(22, Q = l.lastplayedunique), "mostplayedrounds" in l && t(23, W = l.mostplayedrounds), "mbsource" in l && t(24, N = l.mbsource);
1104
1104
  }, a.$$.update = () => {
1105
1105
  a.$$.dirty[0] & /*endpoint, datasource, lang*/
1106
1106
  28 && d && o && r && Y(), a.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
1107
- 114688 && G && E && B && Y(), a.$$.dirty[1] & /*translationurl*/
1107
+ 114688 && E && C && B && Y(), a.$$.dirty[1] & /*translationurl*/
1108
1108
  2 && j && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1109
1109
  33554496 && b && M && Le(M, b), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1110
- 33554560 && y && M && Ce(M, y), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
1111
- 50331648 && M && Ge(M, `${N}.Style`);
1110
+ 33554560 && y && M && Ge(M, y), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
1111
+ 50331648 && M && Ee(M, `${N}.Style`);
1112
1112
  }, [
1113
1113
  m,
1114
1114
  n,
@@ -1121,27 +1121,27 @@ function ze(a, e, t) {
1121
1121
  f,
1122
1122
  g,
1123
1123
  c,
1124
- C,
1125
- U,
1126
- I,
1127
1124
  G,
1125
+ I,
1126
+ U,
1128
1127
  E,
1128
+ C,
1129
1129
  B,
1130
1130
  R,
1131
1131
  J,
1132
1132
  K,
1133
- Q,
1134
1133
  V,
1135
1134
  Z,
1135
+ Q,
1136
1136
  W,
1137
1137
  N,
1138
1138
  M,
1139
- D,
1139
+ S,
1140
1140
  X,
1141
1141
  F,
1142
1142
  T,
1143
1143
  i,
1144
- S,
1144
+ q,
1145
1145
  j,
1146
1146
  de,
1147
1147
  fe,
@@ -1149,12 +1149,12 @@ function ze(a, e, t) {
1149
1149
  ye
1150
1150
  ];
1151
1151
  }
1152
- class He extends he {
1152
+ class ze extends he {
1153
1153
  constructor(e) {
1154
1154
  super(), be(
1155
1155
  this,
1156
1156
  e,
1157
- ze,
1157
+ He,
1158
1158
  Te,
1159
1159
  ve,
1160
1160
  {
@@ -1346,7 +1346,7 @@ class He extends he {
1346
1346
  this.$$set({ mbsource: e }), u();
1347
1347
  }
1348
1348
  }
1349
- Ee(He, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {}, mbsource: {} }, [], [], !0);
1349
+ Ce(ze, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {}, mbsource: {} }, [], [], !0);
1350
1350
  export {
1351
- He as default
1351
+ ze as default
1352
1352
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-nljhPH7y.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function I(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const R={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"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-B5JU_G95.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-_PDk9mvl.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-C4jaxrRR.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function le(s){t.append_styles(s,"svelte-nbkt6a",".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}.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, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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 J(s,e,a){const l=s.slice();return l[43]=e[a],l}function ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Q(J(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[27]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&1946271744|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=J(u,o,c);m[c]?m[c].p(v,f):(m[c]=Q(v),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function V(s){let e,a=s[30]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67125248&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function Z(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67141632&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function K(s){let e,a=s[30]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67174400&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function Q(s){let e,a,l,r=s[43]=="Favorites"&&V(s),i=s[43]=="MostPlayed"&&Z(s),d=s[43]=="LastPlayed"&&K(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=Z(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=K(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function ie(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[17])return ne}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[36](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:v=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,{mbsource:G}=e,X=window.navigator.userAgent,h,C="",z=!1,b=["","",""],E="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{I(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(R).forEach(n=>{I(n,R[n])});const L=n=>{C!==n&&a(26,C=n)},H=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},U=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,E=n.data.favoriteGamesLength):a(29,E=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",U,!1),a(27,z=t.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,v=n.showgamename),"integratedgameframedesktop"in n&&a(12,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,A=n.casinomygames),"lastplayedperiod"in n&&a(18,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,q=n.mostplayedperiod),"lastplayedorder"in n&&a(20,D=n.lastplayedorder),"lastplayedlimit"in n&&a(21,S=n.lastplayedlimit),"lastplayedunique"in n&&a(22,N=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds),"mbsource"in n&&a(24,G=n.mbsource)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&H(),s.$$.dirty[0]&114688&&P&&w&&M&&H(),s.$$.dirty[1]&2&&F&&Y(),s.$$.dirty[0]&33554496&&g&&h&&t.setClientStyling(h,g),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStylingURL(h,_),s.$$.dirty[0]&50331648&&h&&t.setStreamStyling(h,`${G}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,O,B,P,w,M,A,j,q,D,S,N,T,G,h,C,z,b,E,l,L,F,x,$,ee,te]}class W extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:32,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23,mbsource:24},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get mbsource(){return this.$$.ctx[24]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B7HDzCMK.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function I(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const R={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"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-W3TMRpsu.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-ESrwXqVH.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-DnCmD7jr.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function le(s){t.append_styles(s,"svelte-1d9x86",".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}.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 J(s,e,a){const l=s.slice();return l[43]=e[a],l}function ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Q(J(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[27]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&1946271744|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=J(u,o,c);m[c]?m[c].p(v,f):(m[c]=Q(v),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function V(s){let e,a=s[30]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67125248&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function Z(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67141632&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function K(s){let e,a=s[30]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[26]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67174400&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function Q(s){let e,a,l,r=s[43]=="Favorites"&&V(s),i=s[43]=="MostPlayed"&&Z(s),d=s[43]=="LastPlayed"&&K(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=Z(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=K(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function ie(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17]),t.set_custom_element_data(e,"mbsource",s[24])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),l[0]&16777216&&t.set_custom_element_data(e,"mbsource",a[24])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[17])return ne}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[36](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:v=""}=e,{integratedgameframedesktop:B=""}=e,{integratedgameframemobile:O=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:S=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,{mbsource:C}=e,X=window.navigator.userAgent,h,L="",z=!1,b=["","",""],E="0";ae({withLocale:"en",translations:{}});const Y=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{I(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(R).forEach(n=>{I(n,R[n])});const G=n=>{L!==n&&a(26,L=n)},H=()=>{a(26,L=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},U=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,E=n.data.favoriteGamesLength):a(29,E=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",U,!1),a(27,z=t.isMobile(X)),()=>{window.removeEventListener("message",U)}));const x=()=>G("Favorites"),$=()=>G("MostPlayed"),ee=()=>G("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,v=n.showgamename),"integratedgameframedesktop"in n&&a(12,B=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,O=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,A=n.casinomygames),"lastplayedperiod"in n&&a(18,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,q=n.mostplayedperiod),"lastplayedorder"in n&&a(20,S=n.lastplayedorder),"lastplayedlimit"in n&&a(21,D=n.lastplayedlimit),"lastplayedunique"in n&&a(22,N=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds),"mbsource"in n&&a(24,C=n.mbsource)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&H(),s.$$.dirty[0]&114688&&P&&w&&M&&H(),s.$$.dirty[1]&2&&F&&Y(),s.$$.dirty[0]&33554496&&g&&h&&t.setClientStyling(h,g),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStylingURL(h,_),s.$$.dirty[0]&50331648&&h&&t.setStreamStyling(h,`${C}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,B,O,P,w,M,A,j,q,S,D,N,T,C,h,L,z,b,E,l,G,F,x,$,ee,te]}class W extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:32,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23,mbsource:24},le,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get mbsource(){return this.$$.ctx[24]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(W,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},mbsource:{}},[],[],!0);exports.default=W;