@everymatrix/casino-page-nd 1.74.1 → 1.74.3

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 (95) hide show
  1. package/components/{CasinoCalendar-nkrznZpo.js → CasinoCalendar-BuZNkBai.js} +1032 -1067
  2. package/components/CasinoCalendar-CFUoQxq0.cjs +19 -0
  3. package/components/{CasinoCalendar-OJZrTCla.js → CasinoCalendar-DdMvhCOA.js} +1070 -1105
  4. package/components/{CasinoCalendarDailyDetails-D-PrPj8s.js → CasinoCalendarDailyDetails-BCVIut1W.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-Jxs5L-1T.js → CasinoCalendarDailyDetails-ClfGxbko.js} +91 -91
  6. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-BJHwZkKJ.cjs → CasinoCalendarDailyItem-BdDom59r.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DrZ46wZq.js → CasinoCalendarDailyItem-C1ADnaTt.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-D24LBmnc.js → CasinoCalendarDailyItem-CYfiDQkf.js} +34 -34
  10. package/components/{CasinoCollectionsProviders-CTlOHOW4.js → CasinoCollectionsProviders-4kHMGeo6.js} +44 -44
  11. package/components/{CasinoCollectionsProviders-DBLRCWWo.js → CasinoCollectionsProviders-Br5ZzIwL.js} +68 -68
  12. package/components/{CasinoCollectionsProviders-CzBxsowK.cjs → CasinoCollectionsProviders-CM25qKz7.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-BvtEpQ6i.js → CasinoFavoritesSectionNd-BpKau9du.js} +20 -20
  14. package/components/{CasinoFavoritesSectionNd-DjCGMH2J.js → CasinoFavoritesSectionNd-BpQfUsRD.js} +20 -20
  15. package/components/{CasinoFavoritesSectionNd-Ddlbb4CB.cjs → CasinoFavoritesSectionNd-DtMLhJwE.cjs} +1 -1
  16. package/components/{CasinoFilter-CTkRb1UC.js → CasinoFilter-1-YLqdq0.js} +50 -50
  17. package/components/{CasinoFilter-BAo8wmWH.cjs → CasinoFilter-Cc3Yv48X.cjs} +1 -1
  18. package/components/{CasinoFilter-5hTa8CKw.js → CasinoFilter-akdowSz4.js} +50 -50
  19. package/components/{CasinoGameThumbnailNd-DpkvK-o0.js → CasinoGameThumbnailNd-027TQl9L.js} +670 -668
  20. package/components/{CasinoGameThumbnailNd-OvhXfQYD.js → CasinoGameThumbnailNd-4vkDFOTQ.js} +672 -670
  21. package/components/CasinoGameThumbnailNd-Ca2b8Stl.cjs +30 -0
  22. package/components/CasinoGamesCategorySectionNd-BAynLaaR.cjs +1 -0
  23. package/components/{CasinoGamesCategorySectionNd-Dyi26BBy.js → CasinoGamesCategorySectionNd-CGOJc4eo.js} +139 -139
  24. package/components/{CasinoGamesCategorySectionNd-DDWXdavX.js → CasinoGamesCategorySectionNd-FSqr3CSC.js} +150 -150
  25. package/components/{CasinoJackpotBanner-C51E4rGA.js → CasinoJackpotBanner--90-l4pm.js} +84 -84
  26. package/components/{CasinoJackpotBanner-CTxmfDSK.js → CasinoJackpotBanner-Bdzek1XC.js} +90 -90
  27. package/components/{CasinoJackpotBanner-DBer4LlE.cjs → CasinoJackpotBanner-CyyNiIY2.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CFi7Gnb3.cjs → CasinoLastPlayedSectionNd-6oMHidCr.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-2O2TZp0a.js → CasinoLastPlayedSectionNd-DSncRKaO.js} +41 -41
  30. package/components/{CasinoLastPlayedSectionNd-CsvEU20d.js → CasinoLastPlayedSectionNd-DilDkELD.js} +41 -41
  31. package/components/{CasinoMostPlayedSectionNd-emZWvqJZ.cjs → CasinoMostPlayedSectionNd-B1xoI2QM.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-DTZYTXkp.js → CasinoMostPlayedSectionNd-BrdGaj7a.js} +46 -46
  33. package/components/{CasinoMostPlayedSectionNd-fUIG4YVh.js → CasinoMostPlayedSectionNd-S6ts_CYh.js} +46 -46
  34. package/components/{CasinoMyGamesNd-C7EhUNcw.cjs → CasinoMyGamesNd-BS2PoJ2a.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-BWcI8LIL.js → CasinoMyGamesNd-C2FLMGUe.js} +42 -42
  36. package/components/{CasinoMyGamesNd-C-mFyaRP.js → CasinoMyGamesNd-CkEhzUen.js} +41 -41
  37. package/components/{CasinoPageNd-DPcb44Qe.js → CasinoPageNd-BRWbTx8q.js} +93 -93
  38. package/components/{CasinoPageNd-Df3xbGnc.cjs → CasinoPageNd-DqENu2Tu.cjs} +1 -1
  39. package/components/{CasinoPageNd-C8cezRi1.js → CasinoPageNd-mPiA5_16.js} +95 -95
  40. package/components/{CasinoRandomGame-KabCqklE.cjs → CasinoRandomGame-CdQVMLbd.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BAEkb2tu.js → CasinoRandomGame-CtAOJXnF.js} +110 -110
  42. package/components/{CasinoRandomGame-BmMyshhG.js → CasinoRandomGame-D7RweU9Y.js} +59 -59
  43. package/components/{CasinoSearchNd-Du-3roUg.js → CasinoSearchNd-CtwL1Nv0.js} +32 -32
  44. package/components/{CasinoSearchNd-BwzgUiVX.js → CasinoSearchNd-DCZ8s3vo.js} +50 -50
  45. package/components/{CasinoSearchNd-p14Fvfva.cjs → CasinoSearchNd-DFcbrjhC.cjs} +1 -1
  46. package/components/{CasinoSort-DuhCSjcj.js → CasinoSort-5WNP_G3S.js} +37 -37
  47. package/components/{CasinoSort-Bq2rlwaB.js → CasinoSort-BawqALZV.js} +37 -37
  48. package/components/{CasinoSort-DoQJjcDE.cjs → CasinoSort-Du3lmlNe.cjs} +1 -1
  49. package/components/{CasinoWinners-DrPaYn8M.js → CasinoWinners-BE029Vxq.js} +92 -92
  50. package/components/{CasinoWinners-BW3nKr2t.js → CasinoWinners-DCiuykjq.js} +91 -91
  51. package/components/{CasinoWinners-D7mQLu0o.cjs → CasinoWinners-XkR8Kmij.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-BK4eHT2E.js → GeneralAnimationLoading-BETs-Kib.js} +14 -14
  53. package/components/{GeneralAnimationLoading-BlaU9rOM.js → GeneralAnimationLoading-BlN4kA08.js} +14 -14
  54. package/components/{GeneralAnimationLoading-QrfZPZRh.cjs → GeneralAnimationLoading-lIyg2-0l.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-Ct3VSPhq.js → casino-play-random-game-Bc2XLGRl.js} +1 -1
  60. package/stencil/{casino-play-random-game-DyfvRpYv.js → casino-play-random-game-d1PoE_Vf.js} +1 -1
  61. package/stencil/{casino-play-random-game-BMX5GkhL.cjs → casino-play-random-game-wi94nFPy.cjs} +1 -1
  62. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  63. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  64. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  65. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +1 -0
  66. package/stencil/index-ab3202d6-CiI9jxo9.js +575 -0
  67. package/stencil/{index-ab3202d6-BXlsno-y.js → index-ab3202d6-Cowbr6qN.js} +195 -195
  68. package/stencil/index-b2193545-BL364Gzq.js +503 -0
  69. package/stencil/index-b2193545-DdqB2rk5.js +519 -0
  70. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  71. package/stencil/{ui-image-bN_3pDWc.js → ui-image-B_HWMBI-.js} +1 -1
  72. package/stencil/{ui-image-2_i-_1cj.js → ui-image-CzGNxx73.js} +1 -1
  73. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  76. package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-wubI3fkK.cjs} +1 -1
  77. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
  78. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  79. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
  80. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-CsmgJUYN.js} +2 -2
  81. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  82. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  83. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  84. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  85. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-yRWBmyfK.js} +2 -2
  86. package/components/CasinoCalendar-BEFWuyZL.cjs +0 -19
  87. package/components/CasinoCalendarDailyDetails-B0uEWbbt.cjs +0 -1
  88. package/components/CasinoGameThumbnailNd-Cl4NaQ7h.cjs +0 -30
  89. package/components/CasinoGamesCategorySectionNd-COgh4Qnu.cjs +0 -1
  90. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  91. package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +0 -1
  92. package/stencil/index-ab3202d6-ncf4oQhs.js +0 -575
  93. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  94. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  95. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, 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-nkrznZpo.js";
2
- import "./CasinoFavoritesSectionNd-BvtEpQ6i.js";
3
- function K(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as H, j as E, k as oe, o as le, P as re, n as me, p as ge, q as ce, r as ue, H as n, x as de, E as fe, J as he } from "./CasinoCalendar-DdMvhCOA.js";
2
+ import "./CasinoFavoritesSectionNd-BpQfUsRD.js";
3
+ function Y(a, e) {
4
4
  $(a, e);
5
5
  }
6
6
  function ye(a) {
7
7
  ee.set(a);
8
8
  }
9
- const Y = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -63,7 +63,7 @@ const Y = {
63
63
  }
64
64
  };
65
65
  function be(a) {
66
- 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))}");
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
67
  }
68
68
  function ve(a) {
69
69
  let e;
@@ -162,7 +162,7 @@ function ve(a) {
162
162
  );
163
163
  },
164
164
  m(s, i) {
165
- E(s, e, i);
165
+ A(s, e, i);
166
166
  },
167
167
  p(s, i) {
168
168
  i[0] & /*session*/
@@ -276,7 +276,7 @@ function ve(a) {
276
276
  );
277
277
  },
278
278
  d(s) {
279
- s && A(e);
279
+ s && E(e);
280
280
  }
281
281
  };
282
282
  }
@@ -287,22 +287,22 @@ function _e(a) {
287
287
  ), i;
288
288
  return {
289
289
  c() {
290
- e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
290
+ e = P("p"), i = de(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- E(m, e, r), B(e, i);
293
+ A(m, e, r), K(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
297
297
  1048576 && s !== (s = /*$_*/
298
- m[20]("noGames") + "") && me(i, s);
298
+ m[20]("noGames") + "") && fe(i, s);
299
299
  },
300
300
  d(m) {
301
- m && A(e);
301
+ m && E(e);
302
302
  }
303
303
  };
304
304
  }
305
- function ke(a) {
305
+ function Ge(a) {
306
306
  let e, s;
307
307
  function i(g, c) {
308
308
  return (
@@ -316,7 +316,7 @@ function ke(a) {
316
316
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
317
317
  },
318
318
  m(g, c) {
319
- E(g, e, c), B(e, s), r.m(s, null), a[24](e);
319
+ A(g, e, c), K(e, s), r.m(s, null), a[24](e);
320
320
  },
321
321
  p(g, c) {
322
322
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
@@ -324,32 +324,32 @@ function ke(a) {
324
324
  i: H,
325
325
  o: H,
326
326
  d(g) {
327
- g && A(e), r.d(), a[24](null);
327
+ g && E(e), r.d(), a[24](null);
328
328
  }
329
329
  };
330
330
  }
331
- function we(a, e, s) {
331
+ function ke(a, e, s) {
332
332
  let i;
333
- ie(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
333
+ oe(a, he, (t) => s(20, i = t));
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
335
335
  const V = () => {
336
- fetch(G).then((o) => o.json()).then((o) => {
336
+ fetch(w).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
338
- K(d, o[d]);
338
+ Y(d, o[d]);
339
339
  });
340
340
  }).catch((o) => {
341
341
  console.log(o);
342
342
  });
343
343
  };
344
- Object.keys(Y).forEach((t) => {
345
- K(t, Y[t]);
344
+ Object.keys(B).forEach((t) => {
345
+ Y(t, B[t]);
346
346
  });
347
- let N = [], q, z = !1, u;
347
+ let N = [], q, I = !1, u;
348
348
  const W = (t) => {
349
349
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
350
- 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", S);
350
+ 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);
351
351
  let d = t.device;
352
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = w ? o : o.href, new Promise((f, y) => {
352
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = k ? o : o.href, new Promise((f, y) => {
353
353
  fetch(q).then((h) => h.json()).then((h) => {
354
354
  h.items = h.items.filter((x) => {
355
355
  let J = !0;
@@ -362,39 +362,39 @@ function we(a, e, s) {
362
362
  }, X = () => {
363
363
  W({
364
364
  limit: 100,
365
- device: le(Q),
365
+ device: re(Q),
366
366
  rounds: L
367
367
  }).then((t) => {
368
368
  if (t.count > 0) {
369
369
  let o = [];
370
370
  t.items.forEach((d) => {
371
371
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
372
- f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
372
+ f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
373
373
  }), Promise.all(o).then((d) => {
374
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
374
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), S === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
375
375
  });
376
376
  } else
377
- s(19, z = !0);
377
+ s(19, I = !0);
378
378
  });
379
379
  }, Z = () => {
380
380
  ye(c);
381
381
  };
382
- oe(() => () => {
382
+ le(() => () => {
383
383
  });
384
384
  function p(t) {
385
- re[t ? "unshift" : "push"](() => {
385
+ me[t ? "unshift" : "push"](() => {
386
386
  u = t, s(18, u);
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "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, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = t.fetchviaevent);
390
+ "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, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
394
- 262272 && _ && u && ce(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
- 262400 && k && u && ue(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
- 262208 && v && u && de(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
- 2097152 && G && V(), a.$$.dirty[0] & /*lang*/
394
+ 262272 && _ && u && ge(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
+ 262400 && G && u && ce(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
396
+ 262208 && v && u && ue(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
397
+ 2097152 && w && V(), a.$$.dirty[0] & /*lang*/
398
398
  8 && c && Z();
399
399
  }, [
400
400
  m,
@@ -405,33 +405,33 @@ function we(a, e, s) {
405
405
  b,
406
406
  v,
407
407
  _,
408
+ G,
408
409
  k,
409
- w,
410
410
  O,
411
411
  D,
412
412
  R,
413
413
  T,
414
414
  j,
415
415
  U,
416
- C,
417
- I,
418
- u,
416
+ S,
419
417
  z,
418
+ u,
419
+ I,
420
420
  i,
421
- G,
422
- S,
421
+ w,
422
+ C,
423
423
  L,
424
424
  p
425
425
  ];
426
426
  }
427
- class Ge extends te {
427
+ class we extends te {
428
428
  constructor(e) {
429
429
  super(), se(
430
430
  this,
431
431
  e,
432
- we,
433
432
  ke,
434
- ae,
433
+ Ge,
434
+ ne,
435
435
  {
436
436
  endpoint: 0,
437
437
  datasource: 1,
@@ -586,7 +586,7 @@ class Ge extends te {
586
586
  this.$$set({ fetchviaevent: e }), l();
587
587
  }
588
588
  }
589
- fe(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
589
+ ae(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
590
590
  export {
591
- Ge as default
591
+ we as default
592
592
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BEFWuyZL.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const I={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("./CasinoFavoritesSectionNd-Ddlbb4CB.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",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("./CasinoLastPlayedSectionNd-CFi7Gnb3.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",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("./CasinoMostPlayedSectionNd-emZWvqJZ.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",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 R(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]=K(R(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]&1946386432|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=R(u,o,c);m[c]?m[c].p(v,f):(m[c]=K(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 J(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[15]=="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]&67141632&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[15]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(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[16]=="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]&67174400&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[16]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(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[17]=="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]&67239936&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[17]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(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=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(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-nd"),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[15]),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[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"lastplayedperiod",s[19]),t.set_custom_element_data(e,"lastplayedorder",s[21]),t.set_custom_element_data(e,"lastplayedlimit",s[22]),t.set_custom_element_data(e,"lastplayedunique",s[23]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),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]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&524288&&t.set_custom_element_data(e,"lastplayedperiod",a[19]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedorder",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedlimit",a[22]),l[0]&8388608&&t.set_custom_element_data(e,"lastplayedunique",a[23]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),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[15]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"mostplayedrounds",s[24]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"mostplayedperiod",s[20]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&16777216&&t.set_custom_element_data(e,"mostplayedrounds",a[24]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&1048576&&t.set_custom_element_data(e,"mostplayedperiod",a[20]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),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[15]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[18])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,{mbsource:g}=e,{clientstyling:_=""}=e,{clientstylingurl:u=""}=e,{livecasino:f=""}=e,{visiblegames:c=""}=e,{gamepagemodalurl:v=""}=e,{showgamename:E=""}=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:N=""}=e,{lastplayedunique:D="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,h,L="",z=!1,b=["","",""],C="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{U(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(n=>{U(n,I[n])});const G=n=>{L!==n&&a(26,L=n)},Y=()=>{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)},H=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,C=n.data.favoriteGamesLength):a(29,C=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(27,z=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));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),"mbsource"in n&&a(6,g=n.mbsource),"clientstyling"in n&&a(7,_=n.clientstyling),"clientstylingurl"in n&&a(8,u=n.clientstylingurl),"livecasino"in n&&a(9,f=n.livecasino),"visiblegames"in n&&a(10,c=n.visiblegames),"gamepagemodalurl"in n&&a(11,v=n.gamepagemodalurl),"showgamename"in n&&a(12,E=n.showgamename),"integratedgameframedesktop"in n&&a(13,B=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(14,O=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(15,P=n.favorites),"mostplayed"in n&&a(16,w=n.mostplayed),"lastplayed"in n&&a(17,M=n.lastplayed),"casinomygames"in n&&a(18,A=n.casinomygames),"lastplayedperiod"in n&&a(19,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(20,q=n.mostplayedperiod),"lastplayedorder"in n&&a(21,S=n.lastplayedorder),"lastplayedlimit"in n&&a(22,N=n.lastplayedlimit),"lastplayedunique"in n&&a(23,D=n.lastplayedunique),"mostplayedrounds"in n&&a(24,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&229404&&d&&o&&m&&P&&w&&M&&Y(),s.$$.dirty[1]&2&&F&&X(),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStyling(h,_),s.$$.dirty[0]&33554688&&u&&h&&t.setClientStylingURL(h,u),s.$$.dirty[0]&33554496&&g&&h&&t.setStreamStyling(h,`${g}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,E,B,O,P,w,M,A,j,q,S,N,D,T,h,L,z,b,C,l,G,F,x,$,ee,te]}class Q 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,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:32,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds: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 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 visiblegames(){return this.$$.ctx[10]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}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[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{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=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CFUoQxq0.cjs");function ae({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function se(s){t.$locale.set(s)}const I={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("./CasinoFavoritesSectionNd-DtMLhJwE.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",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("./CasinoLastPlayedSectionNd-6oMHidCr.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",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("./CasinoMostPlayedSectionNd-B1xoI2QM.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",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 R(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]=K(R(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]&1946386432|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=R(u,o,c);m[c]?m[c].p(v,f):(m[c]=K(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 J(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[15]=="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]&67141632&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[15]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(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[16]=="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]&67174400&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[16]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(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[17]=="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]&67239936&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[17]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(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=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(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-nd"),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[15]),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[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"lastplayedperiod",s[19]),t.set_custom_element_data(e,"lastplayedorder",s[21]),t.set_custom_element_data(e,"lastplayedlimit",s[22]),t.set_custom_element_data(e,"lastplayedunique",s[23]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),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]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&524288&&t.set_custom_element_data(e,"lastplayedperiod",a[19]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedorder",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedlimit",a[22]),l[0]&8388608&&t.set_custom_element_data(e,"lastplayedunique",a[23]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function oe(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),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[15]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"mostplayedrounds",s[24]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"mostplayedperiod",s[20]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&16777216&&t.set_custom_element_data(e,"mostplayedrounds",a[24]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&1048576&&t.set_custom_element_data(e,"mostplayedperiod",a[20]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),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[15]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[18])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,{mbsource:g}=e,{clientstyling:_=""}=e,{clientstylingurl:u=""}=e,{livecasino:f=""}=e,{visiblegames:c=""}=e,{gamepagemodalurl:v=""}=e,{showgamename:E=""}=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:N=""}=e,{lastplayedunique:D="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,h,L="",z=!1,b=["","",""],C="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{U(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(n=>{U(n,I[n])});const G=n=>{L!==n&&a(26,L=n)},Y=()=>{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)},H=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,C=n.data.favoriteGamesLength):a(29,C=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(27,z=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));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),"mbsource"in n&&a(6,g=n.mbsource),"clientstyling"in n&&a(7,_=n.clientstyling),"clientstylingurl"in n&&a(8,u=n.clientstylingurl),"livecasino"in n&&a(9,f=n.livecasino),"visiblegames"in n&&a(10,c=n.visiblegames),"gamepagemodalurl"in n&&a(11,v=n.gamepagemodalurl),"showgamename"in n&&a(12,E=n.showgamename),"integratedgameframedesktop"in n&&a(13,B=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(14,O=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(15,P=n.favorites),"mostplayed"in n&&a(16,w=n.mostplayed),"lastplayed"in n&&a(17,M=n.lastplayed),"casinomygames"in n&&a(18,A=n.casinomygames),"lastplayedperiod"in n&&a(19,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(20,q=n.mostplayedperiod),"lastplayedorder"in n&&a(21,S=n.lastplayedorder),"lastplayedlimit"in n&&a(22,N=n.lastplayedlimit),"lastplayedunique"in n&&a(23,D=n.lastplayedunique),"mostplayedrounds"in n&&a(24,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&229404&&d&&o&&m&&P&&w&&M&&Y(),s.$$.dirty[1]&2&&F&&X(),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStyling(h,_),s.$$.dirty[0]&33554688&&u&&h&&t.setClientStylingURL(h,u),s.$$.dirty[0]&33554496&&g&&h&&t.setStreamStyling(h,`${g}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,E,B,O,P,w,M,A,j,q,S,N,D,T,h,L,z,b,C,l,G,F,x,$,ee,te]}class Q 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,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:32,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds: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 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 visiblegames(){return this.$$.ctx[10]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}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[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{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=Q;