@everymatrix/casino-lobby 1.60.2 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/components/{CasinoCalendar-DqS7aKva.cjs → CasinoCalendar-CR3NqEmo.cjs} +1 -1
  2. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-DoAbSivX.js} +12 -12
  3. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-m598e8c0.js} +12 -12
  4. package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
  9. package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
  10. package/components/{CasinoCategoriesSlider-i9BCUm8R.cjs → CasinoCategoriesSlider-BqUXbvm-.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-C2jbyhRF.js → CasinoCategoriesSlider-DE0uzQfF.js} +7 -7
  12. package/components/{CasinoCategoriesSlider-DZX7fAxD.js → CasinoCategoriesSlider-DW81y1el.js} +7 -7
  13. package/components/{CasinoCollectionsProviders-BRhnxud8.js → CasinoCollectionsProviders-CkxoIQMQ.js} +187 -186
  14. package/components/{CasinoCollectionsProviders-Fw278mB3.js → CasinoCollectionsProviders-FTsSIZe7.js} +174 -173
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-CKWkFYb4.js} +14 -14
  17. package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-MnxoGd6P.js} +14 -14
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-Cs9ZMDdP.js} +96 -94
  21. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-D80YfaXW.js} +50 -50
  22. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-B8-ifO-z.js} +1320 -1319
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-CLMVY2d0.js} +1364 -1363
  25. package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
  26. package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
  27. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
  28. package/components/{CasinoGamesCategorySection-B_kw0cnt.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-DdJnZPgm.js → CasinoGamesCategorySection-CIfBLzjC.js} +5 -5
  30. package/components/{CasinoGamesCategorySection-Bw_6-a2H.js → CasinoGamesCategorySection-o-CZJ4iD.js} +5 -5
  31. package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
  32. package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
  33. package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
  34. package/components/{CasinoLastPlayedSection-CnwiqEWd.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-DF1qIy7A.js → CasinoLastPlayedSection-BPD5poPp.js} +9 -9
  36. package/components/{CasinoLastPlayedSection-D8w8f1qu.js → CasinoLastPlayedSection-Dxbzb-4o.js} +9 -9
  37. package/components/{CasinoLobby-Br00KMpi.js → CasinoLobby-6kkVRa0v.js} +32 -32
  38. package/components/{CasinoLobby-Da8EvOPn.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-Anq70pxB.js → CasinoLobby-Bntp7e5i.js} +32 -32
  40. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-QtSV_GhN.js} +8 -8
  42. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-bTxbu9d4.js} +8 -8
  43. package/components/{CasinoMostPlayedSection-4nc9NISY.js → CasinoMostPlayedSection-B9_yeLMk.js} +14 -14
  44. package/components/{CasinoMostPlayedSection-DEpCntHU.js → CasinoMostPlayedSection-D-VpqDyh.js} +14 -14
  45. package/components/{CasinoMostPlayedSection-CleRvEGW.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-Cqgayk3N.js → CasinoMyGames-BEUz5puH.js} +17 -17
  47. package/components/{CasinoMyGames-Ls6PjVLx.js → CasinoMyGames-BQtk1EEq.js} +16 -16
  48. package/components/{CasinoMyGames-BeNdYI48.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-86frPbmB.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-vykaQto-.js → CasinoPage-CiONVvV8.js} +11 -11
  51. package/components/{CasinoPage-B_ulErY-.js → CasinoPage-DOSD686t.js} +11 -11
  52. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-DQXmOLue.js} +155 -154
  55. package/components/{CasinoSearch-DcjbpUq_.js → CasinoSearch-CTxffz7Z.js} +27 -27
  56. package/components/{CasinoSearch-jq6HJhjW.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-CyctCdxx.js → CasinoSearch-DTglx2jN.js} +27 -27
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider-BmXppZ63.js → CasinoSlider-CGpDul3G.js} +224 -223
  60. package/components/{CasinoSlider-DbK0-rGh.js → CasinoSlider-pPfml1-U.js} +155 -154
  61. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-BSaxbC32.js} +1 -1
  62. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-DGdM4QXv.js} +1 -1
  64. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-BwwKfUuN.js} +99 -98
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-i5RqXY4N.js} +102 -101
  67. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-BszAoL3H.js} +6 -6
  68. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-Xq-D41Fg.js} +6 -6
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  77. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  78. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  80. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  81. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  82. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  83. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  84. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendarDailyDetails-DQB9Y3_Q.js +0 -693
  101. package/components/CasinoCalendarDailyDetails-DUQWFLJJ.cjs +0 -1
  102. package/components/CasinoCalendarDailyDetails-Xi-Uo8v-.js +0 -693
  103. package/components/CasinoCalendarDailyItem-CVt2FFo1.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-CjRZKnnD.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DC91__VM.js +0 -306
  106. package/components/CasinoCollectionsProviders-Beuct27Z.cjs +0 -1
  107. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  108. package/components/CasinoGamePage-BmgERtPr.cjs +0 -18
  109. package/components/CasinoGameThumbnail-B9OLAJDP.js +0 -1882
  110. package/components/CasinoGameThumbnail-C-_VEhfz.cjs +0 -38
  111. package/components/CasinoGameThumbnail-w6gElzrs.js +0 -1866
  112. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +0 -1
  113. package/components/CasinoJackpotBanner-Dxq2Y_-S.js +0 -697
  114. package/components/CasinoJackpotBanner-UQaC63Zv.js +0 -693
  115. package/components/CasinoRandomGame-BO7BqLXA.cjs +0 -2
  116. package/components/CasinoSlider-Bo4dCvJT.cjs +0 -1
  117. package/components/CasinoWinners-KEY7dD3z.cjs +0 -1
  118. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-BYTytQgJ.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, G as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, F as J, J as me, K as he, L as we, M as _e } from "./CasinoCalendar-m598e8c0.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -172,7 +172,7 @@ function ke(s, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, I = (i) => {
175
+ }, G = (i) => {
176
176
  if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
@@ -187,20 +187,20 @@ function ke(s, e, t) {
187
187
  },
188
188
  window.location.href
189
189
  ), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
190
- let G = {
190
+ let I = {
191
191
  modalWidth: _ ? getComputedStyle(_).width : null,
192
192
  modalHeight: _ ? getComputedStyle(_).height : null
193
193
  };
194
- window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
194
+ window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
196
  i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
197
  }, Q = (i) => {
198
198
  if (v) {
199
- let G = {
199
+ let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
- window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
203
+ window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
206
  M == "true" && fe(p, w).then(
@@ -212,8 +212,8 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
216
- window.removeEventListener("message", I), window.removeEventListener("resize", I);
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", G, !1), window.addEventListener("resize", Q, !1), () => {
216
+ window.removeEventListener("message", G), window.removeEventListener("resize", G);
217
217
  }));
218
218
  function Y(i) {
219
219
  U[i ? "unshift" : "push"](() => {
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-CI-C6zUY.js";
2
- import "./CasinoFavoritesSection-QS8imHGS.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as E, p as H, j as P, r as M, k as ie, o as oe, O as le, C as re, m as me, q as ge, E as n, J as ce, K as ue, L as de, M as fe, N as he } from "./CasinoCalendar-m598e8c0.js";
2
+ import "./CasinoFavoritesSection-CKWkFYb4.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -162,7 +162,7 @@ function ve(a) {
162
162
  );
163
163
  },
164
164
  m(s, i) {
165
- O(s, e, i);
165
+ E(s, e, i);
166
166
  },
167
167
  p(s, i) {
168
168
  i[0] & /*session*/
@@ -290,7 +290,7 @@ function _e(a) {
290
290
  e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- O(m, e, r), H(e, i);
293
+ E(m, e, r), H(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
@@ -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
- O(g, e, c), H(e, s), r.m(s, null), a[24](e);
319
+ E(g, e, c), H(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)));
@@ -331,7 +331,7 @@ function ke(a) {
331
331
  function we(a, e, s) {
332
332
  let i;
333
333
  ie(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "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;
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "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: q = "true" } = e, Q = window.navigator.userAgent;
335
335
  const V = () => {
336
336
  fetch(G).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
@@ -344,13 +344,13 @@ function we(a, e, s) {
344
344
  Object.keys(B).forEach((t) => {
345
345
  Y(t, B[t]);
346
346
  });
347
- let N = [], q, z = !1, u;
347
+ let N = [], z, I = !1, u;
348
348
  const W = (t) => {
349
349
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
350
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);
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) => {
353
- fetch(q).then((h) => h.json()).then((h) => {
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), z = w ? o : o.href, new Promise((f, y) => {
353
+ fetch(z).then((h) => h.json()).then((h) => {
354
354
  h.items = h.items.filter((x) => {
355
355
  let J = !0;
356
356
  return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
@@ -374,7 +374,7 @@ function we(a, e, s) {
374
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);
375
375
  });
376
376
  } else
377
- s(19, z = !0);
377
+ s(19, I = !0);
378
378
  });
379
379
  }, Z = () => {
380
380
  ye(c);
@@ -387,7 +387,7 @@ function we(a, e, s) {
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, E = 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, F = 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, O = 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, F = 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, q = 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*/
@@ -401,7 +401,7 @@ function we(a, e, s) {
401
401
  r,
402
402
  g,
403
403
  c,
404
- E,
404
+ O,
405
405
  b,
406
406
  v,
407
407
  _,
@@ -414,9 +414,9 @@ function we(a, e, s) {
414
414
  j,
415
415
  U,
416
416
  C,
417
- I,
417
+ q,
418
418
  u,
419
- z,
419
+ I,
420
420
  i,
421
421
  G,
422
422
  S,
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-BYTytQgJ.js";
2
- import "./CasinoFavoritesSection-D32Mbv-O.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as E, p as H, j as P, r as M, k as ie, o as oe, O as le, C as re, m as me, q as ge, E as n, J as ce, K as ue, L as de, M as fe, N as he } from "./CasinoCalendar-DoAbSivX.js";
2
+ import "./CasinoFavoritesSection-MnxoGd6P.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -162,7 +162,7 @@ function ve(a) {
162
162
  );
163
163
  },
164
164
  m(s, i) {
165
- O(s, e, i);
165
+ E(s, e, i);
166
166
  },
167
167
  p(s, i) {
168
168
  i[0] & /*session*/
@@ -290,7 +290,7 @@ function _e(a) {
290
290
  e = P("p"), i = ge(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- O(m, e, r), H(e, i);
293
+ E(m, e, r), H(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
@@ -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
- O(g, e, c), H(e, s), r.m(s, null), a[24](e);
319
+ E(g, e, c), H(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)));
@@ -331,7 +331,7 @@ function ke(a) {
331
331
  function we(a, e, s) {
332
332
  let i;
333
333
  ie(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "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;
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "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: q = "true" } = e, Q = window.navigator.userAgent;
335
335
  const V = () => {
336
336
  fetch(G).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
@@ -344,13 +344,13 @@ function we(a, e, s) {
344
344
  Object.keys(B).forEach((t) => {
345
345
  Y(t, B[t]);
346
346
  });
347
- let N = [], q, z = !1, u;
347
+ let N = [], z, I = !1, u;
348
348
  const W = (t) => {
349
349
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
350
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);
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) => {
353
- fetch(q).then((h) => h.json()).then((h) => {
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), z = w ? o : o.href, new Promise((f, y) => {
353
+ fetch(z).then((h) => h.json()).then((h) => {
354
354
  h.items = h.items.filter((x) => {
355
355
  let J = !0;
356
356
  return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
@@ -374,7 +374,7 @@ function we(a, e, s) {
374
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);
375
375
  });
376
376
  } else
377
- s(19, z = !0);
377
+ s(19, I = !0);
378
378
  });
379
379
  }, Z = () => {
380
380
  ye(c);
@@ -387,7 +387,7 @@ function we(a, e, s) {
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, E = 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, F = 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, O = 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, F = 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, q = 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*/
@@ -401,7 +401,7 @@ function we(a, e, s) {
401
401
  r,
402
402
  g,
403
403
  c,
404
- E,
404
+ O,
405
405
  b,
406
406
  v,
407
407
  _,
@@ -414,9 +414,9 @@ function we(a, e, s) {
414
414
  j,
415
415
  U,
416
416
  C,
417
- I,
417
+ q,
418
418
  u,
419
- z,
419
+ I,
420
420
  i,
421
421
  G,
422
422
  S,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");require("./CasinoFavoritesSection-D1GhXv3a.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CR3NqEmo.cjs");require("./CasinoFavoritesSection-CtF6Vrcg.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,5 +1,5 @@
1
- import { $ as T, U 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, F as Fe, m as S, A as U, q as L, O as s, I as Le, J as Ce, K as Ge, L as Ee, M as Be } from "./CasinoCalendar-BYTytQgJ.js";
2
- function Oe({ withLocale: a, translations: e }) {
1
+ import { $ as T, U 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, G as Fe, m as S, A as U, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-DoAbSivX.js";
2
+ function Ae({ withLocale: a, translations: e }) {
3
3
  T.subscribe((t) => {
4
4
  t == null && (ce.set(e), T.set(a));
5
5
  });
@@ -7,7 +7,7 @@ function Oe({ withLocale: a, translations: e }) {
7
7
  function te(a, e) {
8
8
  ge(a, e);
9
9
  }
10
- function Ae(a) {
10
+ function Oe(a) {
11
11
  T.set(a);
12
12
  }
13
13
  const ae = {
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-D32Mbv-O.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-MnxoGd6P.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 < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-D8w8f1qu.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-Dxbzb-4o.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,7 +146,7 @@ if (typeof window < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-DEpCntHU.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-D-VpqDyh.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
@@ -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) {
@@ -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*/
@@ -301,7 +301,7 @@ 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
  },
@@ -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);
@@ -1063,10 +1063,10 @@ function Te(a) {
1063
1063
  function Ue(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: z = "" } = e, { integratedgameframemobile: H = "" } = e, { translationurl: A = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: I = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: Q = "" } = e, { mbsource: q } = e, re = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], N = "0";
1067
- Oe({ 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: C = "" } = e, { integratedgameframedesktop: z = "" } = e, { integratedgameframemobile: H = "" } = e, { translationurl: O = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: I = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: Q = "" } = e, { mbsource: q } = e, re = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], N = "0";
1067
+ Ae({ withLocale: "en", translations: {} });
1068
1068
  const me = () => {
1069
- fetch(A).then((F) => F.json()).then((F) => {
1069
+ fetch(O).then((F) => F.json()).then((F) => {
1070
1070
  Object.keys(F).forEach((x) => {
1071
1071
  te(x, F[x]);
1072
1072
  });
@@ -1080,7 +1080,7 @@ function Ue(a, e, t) {
1080
1080
  const D = (l) => {
1081
1081
  j !== l && t(26, j = l);
1082
1082
  }, X = () => {
1083
- t(26, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, k[0] = G === "true" ? "Favorites" : "", k), t(28, k[1] = E === "true" ? "MostPlayed" : "", k), t(28, k[2] = B === "true" ? "LastPlayed" : "", k), Ae(r);
1083
+ t(26, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(28, k[0] = G === "true" ? "Favorites" : "", k), t(28, k[1] = E === "true" ? "MostPlayed" : "", k), t(28, k[2] = B === "true" ? "LastPlayed" : "", k), Oe(r);
1084
1084
  }, Y = (l) => {
1085
1085
  if (l.data)
1086
1086
  switch (l.data.type) {
@@ -1099,12 +1099,12 @@ function Ue(a, e, t) {
1099
1099
  });
1100
1100
  }
1101
1101
  return a.$$set = (l) => {
1102
- "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, z = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, H = l.integratedgameframemobile), "translationurl" in l && t(32, A = 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, I = l.casinomygames), "lastplayedperiod" in l && t(18, R = l.lastplayedperiod), "mostplayedperiod" in l && t(19, J = l.mostplayedperiod), "lastplayedorder" in l && t(20, K = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, Q = l.mostplayedrounds), "mbsource" in l && t(24, q = l.mbsource);
1102
+ "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, z = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, H = l.integratedgameframemobile), "translationurl" in l && t(32, O = 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, I = l.casinomygames), "lastplayedperiod" in l && t(18, R = l.lastplayedperiod), "mostplayedperiod" in l && t(19, J = l.mostplayedperiod), "lastplayedorder" in l && t(20, K = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, Q = l.mostplayedrounds), "mbsource" in l && t(24, q = l.mbsource);
1103
1103
  }, a.$$.update = () => {
1104
1104
  a.$$.dirty[0] & /*endpoint, datasource, lang*/
1105
1105
  28 && d && o && r && X(), a.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
1106
1106
  114688 && G && E && B && X(), a.$$.dirty[1] & /*translationurl*/
1107
- 2 && A && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1107
+ 2 && O && me(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1108
1108
  33554496 && b && M && Le(M, b), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1109
1109
  33554560 && y && M && Ce(M, y), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
1110
1110
  50331648 && M && Ge(M, `${q}.Style`);
@@ -1141,7 +1141,7 @@ function Ue(a, e, t) {
1141
1141
  N,
1142
1142
  i,
1143
1143
  D,
1144
- A,
1144
+ O,
1145
1145
  de,
1146
1146
  fe,
1147
1147
  ue,
@@ -1,5 +1,5 @@
1
- import { $ as U, U 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, F as Fe, m as q, A as z, q as L, O as s, I as Le, J as Ce, K as Ge, L as Ee, M as Be } from "./CasinoCalendar-CI-C6zUY.js";
2
- function Oe({ withLocale: a, translations: e }) {
1
+ import { $ as U, U 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 z, q as L, E as s, J as Le, K as Ce, L as Ge, M as Ee, N as Be } from "./CasinoCalendar-m598e8c0.js";
2
+ function Ae({ withLocale: a, translations: e }) {
3
3
  U.subscribe((t) => {
4
4
  t == null && (ce.set(e), U.set(a));
5
5
  });
@@ -7,7 +7,7 @@ function Oe({ withLocale: a, translations: e }) {
7
7
  function te(a, e) {
8
8
  ge(a, e);
9
9
  }
10
- function Ae(a) {
10
+ function Oe(a) {
11
11
  U.set(a);
12
12
  }
13
13
  const ae = {
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-QS8imHGS.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-CKWkFYb4.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-DF1qIy7A.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-BPD5poPp.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,7 +146,7 @@ if (typeof window != "undefined") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-4nc9NISY.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-B9_yeLMk.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
@@ -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 = A(), n = p("div"), y && y.c(), w(i, "class", "MyGamesButtonsContainer"), w(t, "class", "MyGamesHeader"), w(e, "class", d = "CasinoMyGames " + /*mobile*/
190
+ m = O(), 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) {
@@ -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 = A(), n = p("span"), d = L("("), o = L(
232
+ e = p("button"), i = L(t), m = O(), n = p("span"), d = L("("), o = L(
233
233
  /*favoritesCount*/
234
234
  a[29]
235
235
  ), r = L(")"), w(e, "class", h = "MyGamesButton " + /*gamesType*/
@@ -301,7 +301,7 @@ function ne(a) {
301
301
  ), i, m, n, d, o;
302
302
  return {
303
303
  c() {
304
- e = p("button"), i = L(t), m = A(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
304
+ e = p("button"), i = L(t), m = O(), w(e, "class", n = "MyGamesButton " + /*gamesType*/
305
305
  (a[26] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
306
306
  (a[16] == "false" ? "Off" : ""));
307
307
  },
@@ -339,7 +339,7 @@ function oe(a) {
339
339
  );
340
340
  return {
341
341
  c() {
342
- m && m.c(), e = A(), n && n.c(), t = A(), d && d.c(), i = Fe();
342
+ m && m.c(), e = O(), n && n.c(), t = O(), 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);
@@ -1064,11 +1064,11 @@ function Ue(a, e, t) {
1064
1064
  let i;
1065
1065
  _e(a, Be, (l) => t(30, i = l));
1066
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: H = "" } = 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: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: Q = "true" } = e, { mostplayedrounds: W = "" } = e, { mbsource: N } = e, re = window.navigator.userAgent, M, D = "", X = !1, F = ["", "", ""], T = "0";
1067
- Oe({ withLocale: "en", translations: {} });
1067
+ Ae({ withLocale: "en", translations: {} });
1068
1068
  const me = () => {
1069
1069
  fetch(j).then((k) => k.json()).then((k) => {
1070
- Object.keys(k).forEach((O) => {
1071
- te(O, k[O]);
1070
+ Object.keys(k).forEach((A) => {
1071
+ te(A, k[A]);
1072
1072
  });
1073
1073
  }).catch((k) => {
1074
1074
  console.log(k);
@@ -1080,13 +1080,13 @@ function Ue(a, e, t) {
1080
1080
  const S = (l) => {
1081
1081
  D !== l && t(26, D = 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), Ae(r);
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);
1084
1084
  }, x = (l) => {
1085
- var k, O;
1085
+ var k, A;
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 = (O = (k = l.data.listOfFavoritesGames) == null ? void 0 : k.length) != null ? O : 0);
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);
1090
1090
  break;
1091
1091
  }
1092
1092
  };