@everymatrix/casino-lobby 1.56.2 → 1.57.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 (62) hide show
  1. package/components/{CasinoCalendar-8h5qdaaJ.js → CasinoCalendar-BU2gZgoA.js} +16 -16
  2. package/components/{CasinoCalendar-D9zXfDS4.js → CasinoCalendar-BYhP1252.js} +16 -16
  3. package/components/{CasinoCalendarDailyDetails-D0Kx4qhT.js → CasinoCalendarDailyDetails-BvbgM2tY.js} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-DFwCqTfY.js → CasinoCalendarDailyDetails-zomrPGwC.js} +1 -1
  5. package/components/{CasinoCalendarDailyItem-C62RswBp.js → CasinoCalendarDailyItem-BCuBW8Ar.js} +1 -1
  6. package/components/{CasinoCalendarDailyItem-DTqfqF2k.js → CasinoCalendarDailyItem-DO4dUNpH.js} +1 -1
  7. package/components/{CasinoCategoriesSlider-CCCss88T.js → CasinoCategoriesSlider-BOJ1THEs.js} +2 -2
  8. package/components/{CasinoCategoriesSlider-BhsSLM-H.js → CasinoCategoriesSlider-BXOmh9s8.js} +2 -2
  9. package/components/CasinoCollectionsProviders-BFNXK0mZ.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-8BCzbgO7.js → CasinoCollectionsProviders-BX_dEzdy.js} +250 -262
  11. package/components/{CasinoCollectionsProviders-B7jL1xWi.js → CasinoCollectionsProviders-CRAmbMuu.js} +249 -261
  12. package/components/{CasinoFavoritesSection-DrmyxOK7.cjs → CasinoFavoritesSection-21RKmDna.cjs} +1 -1
  13. package/components/{CasinoFavoritesSection-C0iLu9Sw.js → CasinoFavoritesSection-BpiA2iBc.js} +17 -17
  14. package/components/{CasinoFavoritesSection-8fm71dF4.js → CasinoFavoritesSection-DkMuV4ev.js} +17 -17
  15. package/components/{CasinoFilter-m6_88uQv.js → CasinoFilter-BtQon8od.js} +30 -30
  16. package/components/{CasinoFilter-BTgsR3X2.js → CasinoFilter-Du7IqNdv.js} +30 -30
  17. package/components/{CasinoGamePage-CkvljoIb.js → CasinoGamePage-CAR8Lbbu.js} +580 -579
  18. package/components/{CasinoGamePage-DAH5L6F5.cjs → CasinoGamePage-D6WlJtbq.cjs} +4 -4
  19. package/components/{CasinoGamePage-DAv8OZV8.js → CasinoGamePage-SkHZ0J32.js} +577 -576
  20. package/components/{CasinoGameThumbnail-BMm5Xl4k.js → CasinoGameThumbnail-C5zpCoxS.js} +2 -2
  21. package/components/{CasinoGameThumbnail-B4KIog_7.js → CasinoGameThumbnail-C8-30qgE.js} +2 -2
  22. package/components/{CasinoGameThumbnail-XF-v3tEC.cjs → CasinoGameThumbnail-CX3_s0pB.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySection-BSklauO4.cjs → CasinoGamesCategorySection-CXHto_G8.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySection-DUDDLFW2.js → CasinoGamesCategorySection-DGep1gpT.js} +5 -5
  25. package/components/{CasinoGamesCategorySection-XWxil8vo.js → CasinoGamesCategorySection-tBfZtEqo.js} +125 -125
  26. package/components/{CasinoJackpotBanner-Bu16yaAe.js → CasinoJackpotBanner-B6za0Zjf.js} +1 -1
  27. package/components/{CasinoJackpotBanner-6WZPbIyJ.js → CasinoJackpotBanner-DVU6U9lr.js} +1 -1
  28. package/components/{CasinoLastPlayedSection-cjUgoZnI.cjs → CasinoLastPlayedSection-DuDTrTEV.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSection-BT4kxVP1.js → CasinoLastPlayedSection-grLc4PdV.js} +2 -2
  30. package/components/{CasinoLastPlayedSection-DFUMCS3n.js → CasinoLastPlayedSection-w-DOhWFY.js} +2 -2
  31. package/components/{CasinoLobby-CRIb8E4f.cjs → CasinoLobby-7M5tWyyJ.cjs} +1 -1
  32. package/components/{CasinoLobby-DrBFK5gG.js → CasinoLobby-CJaplwul.js} +37 -37
  33. package/components/{CasinoLobby-Di0-vjQH.js → CasinoLobby-C_dHD756.js} +37 -37
  34. package/components/{CasinoModal-Ce9u8B9n.js → CasinoModal-BEa4Ij-6.js} +21 -21
  35. package/components/{CasinoModal-DMOewty4.js → CasinoModal-CFbQNGPR.js} +21 -21
  36. package/components/{CasinoMostPlayedSection-C1K-DGkZ.cjs → CasinoMostPlayedSection-BlcQlzEc.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-CXWjhKax.js → CasinoMostPlayedSection-CSKQtJpR.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-DAuM-1cc.js → CasinoMostPlayedSection-CXjNel4O.js} +2 -2
  39. package/components/{CasinoMyGames-DTWGCs0t.js → CasinoMyGames-28VFQfos.js} +14 -14
  40. package/components/{CasinoMyGames-0CUDyeW1.js → CasinoMyGames-5jrRlRZ3.js} +14 -14
  41. package/components/{CasinoMyGames-DQaVeSFh.cjs → CasinoMyGames-CPwnBj_e.cjs} +1 -1
  42. package/components/{CasinoPage-BFAkKTIr.js → CasinoPage-BelcpcFg.js} +29 -29
  43. package/components/{CasinoPage-Dn8IgsJW.cjs → CasinoPage-CpV6CfKv.cjs} +1 -1
  44. package/components/{CasinoPage-CYfqznpn.js → CasinoPage-Dx4ipUxr.js} +29 -29
  45. package/components/{CasinoRandomGame-CwNUHn-I.js → CasinoRandomGame-DcHbcmu8.js} +13 -13
  46. package/components/{CasinoRandomGame-qSedkhdM.js → CasinoRandomGame-Njs6ODWp.js} +13 -13
  47. package/components/{CasinoSearch-58Bbs2ly.js → CasinoSearch-BbORpTNK.js} +14 -14
  48. package/components/{CasinoSearch-Itb9Lu5Z.js → CasinoSearch-Biq528Xd.js} +14 -14
  49. package/components/{CasinoSearch-DgenhLcJ.cjs → CasinoSearch-Cv1lRhic.cjs} +1 -1
  50. package/components/{CasinoSlider-BBo1-Yix.js → CasinoSlider-BbRVIW35.js} +12 -12
  51. package/components/{CasinoSlider-BLhtuqXM.js → CasinoSlider-BpVYjfEZ.js} +16 -16
  52. package/components/{CasinoSort-CBEUIj6Q.js → CasinoSort-BCZs_7vq.js} +7 -7
  53. package/components/{CasinoSort-DDFUPoRE.js → CasinoSort-BIiSCydQ.js} +7 -7
  54. package/components/{CasinoWinners-wjNHmiu9.js → CasinoWinners-D9QEbcwQ.js} +19 -19
  55. package/components/{CasinoWinners-C9LcOp1b.js → CasinoWinners-fcmQdKZx.js} +20 -20
  56. package/components/{GeneralAnimationLoading-D4V5ml6G.js → GeneralAnimationLoading-BEyM9jr_.js} +1 -1
  57. package/components/{GeneralAnimationLoading-DXg7Sgve.js → GeneralAnimationLoading-uTgCxIjZ.js} +1 -1
  58. package/es2015/casino-lobby.cjs +1 -1
  59. package/es2015/casino-lobby.js +1 -1
  60. package/esnext/casino-lobby.js +1 -1
  61. package/package.json +1 -1
  62. package/components/CasinoCollectionsProviders-DdI8afJV.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { $ as B, W as _t, c as vt, S as Et, i as Ct, s as jt, f as c, b as Lt, e as _, y as D, d as P, t as H, g as Dt, h as N, j as F, o as St, l as It, n as qt, Z as Mt, O as ct, q as Ot, r as Pt, m as Ft, u as At, w as O, L as Y, P as t, z as k, B as Tt, C as Ut, D as Gt, x as Rt, E as Wt, G as gt, p as zt } from "./CasinoCalendar-8h5qdaaJ.js";
2
- function Bt({ withLocale: n, translations: e }) {
3
- B.subscribe((s) => {
4
- s == null && (_t.set(e), B.set(n));
1
+ import { $ as W, U as _t, c as vt, S as Et, i as Ct, s as jt, f as c, b as Lt, e as _, y as D, d as P, t as H, g as Dt, h as N, j as F, o as St, l as It, n as qt, X as Mt, O as ct, q as Ot, r as Pt, m as Ft, u as Ut, w as O, L as X, P as t, z as k, B as At, C as Tt, D as Gt, x as Rt, E as zt, G as gt, p as Bt } from "./CasinoCalendar-BU2gZgoA.js";
2
+ function Wt({ withLocale: n, translations: e }) {
3
+ W.subscribe((s) => {
4
+ s == null && (_t.set(e), W.set(n));
5
5
  });
6
6
  }
7
7
  function ut(n) {
8
- B.set(n);
8
+ W.set(n);
9
9
  }
10
10
  if (typeof window < "u") {
11
11
  let n = function(e) {
@@ -19,7 +19,7 @@ if (typeof window < "u") {
19
19
  }
20
20
  };
21
21
  };
22
- customElements.define = n(customElements.define), import("./CasinoCategoriesSlider-CCCss88T.js").then(({ default: e }) => {
22
+ customElements.define = n(customElements.define), import("./CasinoCategoriesSlider-BOJ1THEs.js").then(({ default: e }) => {
23
23
  !customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
24
24
  });
25
25
  }
@@ -35,7 +35,7 @@ if (typeof window < "u") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = n(customElements.define), import("./CasinoPage-BFAkKTIr.js").then(({ default: e }) => {
38
+ customElements.define = n(customElements.define), import("./CasinoPage-BelcpcFg.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -51,7 +51,7 @@ if (typeof window < "u") {
51
51
  }
52
52
  };
53
53
  };
54
- customElements.define = n(customElements.define), import("./CasinoModal-DMOewty4.js").then(({ default: e }) => {
54
+ customElements.define = n(customElements.define), import("./CasinoModal-CFbQNGPR.js").then(({ default: e }) => {
55
55
  !customElements.get("casino-modal") && customElements.define("casino-modal", e.element);
56
56
  });
57
57
  }
@@ -67,7 +67,7 @@ if (typeof window < "u") {
67
67
  }
68
68
  };
69
69
  };
70
- customElements.define = n(customElements.define), import("./CasinoGamePage-DAv8OZV8.js").then((e) => e.C).then(({ default: e }) => {
70
+ customElements.define = n(customElements.define), import("./CasinoGamePage-SkHZ0J32.js").then((e) => e.C).then(({ default: e }) => {
71
71
  !customElements.get("casino-game-page") && customElements.define("casino-game-page", e.element);
72
72
  });
73
73
  }
@@ -75,12 +75,12 @@ function Ht(n) {
75
75
  Lt(n, "svelte-slcdf8", "*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}");
76
76
  }
77
77
  const Nt = (n) => ({}), mt = (n) => ({});
78
- function Yt(n) {
78
+ function Xt(n) {
79
79
  let e, s, g, u, b, y, m, f, a, w, j, l;
80
80
  const E = (
81
81
  /*#slots*/
82
82
  n[96].content
83
- ), h = At(
83
+ ), h = Ut(
84
84
  E,
85
85
  n,
86
86
  /*$$scope*/
@@ -93,7 +93,7 @@ function Yt(n) {
93
93
  );
94
94
  return {
95
95
  c() {
96
- e = _("div"), s = _("div"), g = _("div"), u = O(), b = _("div"), y = O(), m = _("casino-categories-slider"), f = O(), a = _("casino-page"), w = _("div"), h && h.c(), j = O(), d && d.c(), D(g, "class", "HeaderPlaceholder"), Y(
96
+ e = _("div"), s = _("div"), g = _("div"), u = O(), b = _("div"), y = O(), m = _("casino-categories-slider"), f = O(), a = _("casino-page"), w = _("div"), h && h.c(), j = O(), d && d.c(), D(g, "class", "HeaderPlaceholder"), X(
97
97
  g,
98
98
  "height",
99
99
  /*headerPlaceholderSize*/
@@ -565,7 +565,7 @@ function Yt(n) {
565
565
  },
566
566
  p(o, r) {
567
567
  (!l || r[2] & /*headerPlaceholderSize*/
568
- 33554432) && Y(
568
+ 33554432) && X(
569
569
  g,
570
570
  "height",
571
571
  /*headerPlaceholderSize*/
@@ -685,7 +685,7 @@ function Yt(n) {
685
685
  /*mbsource*/
686
686
  o[79]
687
687
  ), h && h.p && (!l || r[3] & /*$$scope*/
688
- 4) && Tt(
688
+ 4) && At(
689
689
  h,
690
690
  E,
691
691
  o,
@@ -697,7 +697,7 @@ function Yt(n) {
697
697
  o[95],
698
698
  r,
699
699
  Nt
700
- ) : Ut(
700
+ ) : Tt(
701
701
  /*$$scope*/
702
702
  o[95]
703
703
  ),
@@ -1154,21 +1154,21 @@ function Yt(n) {
1154
1154
  }
1155
1155
  };
1156
1156
  }
1157
- function Zt(n) {
1157
+ function Yt(n) {
1158
1158
  let e, s;
1159
1159
  return {
1160
1160
  c() {
1161
1161
  e = _("p"), s = Rt(
1162
1162
  /*error*/
1163
1163
  n[85]
1164
- ), Y(e, "color", "var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))");
1164
+ ), X(e, "color", "var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))");
1165
1165
  },
1166
1166
  m(g, u) {
1167
1167
  P(g, e, u), k(e, s);
1168
1168
  },
1169
1169
  p(g, u) {
1170
1170
  u[2] & /*error*/
1171
- 8388608 && Wt(
1171
+ 8388608 && zt(
1172
1172
  s,
1173
1173
  /*error*/
1174
1174
  g[85]
@@ -1552,7 +1552,7 @@ function ft(n) {
1552
1552
  }
1553
1553
  function Jt(n) {
1554
1554
  let e, s, g, u;
1555
- const b = [Zt, Yt], y = [];
1555
+ const b = [Yt, Xt], y = [];
1556
1556
  function m(f, a) {
1557
1557
  return (
1558
1558
  /*hasErrors*/
@@ -1585,23 +1585,23 @@ function Jt(n) {
1585
1585
  }
1586
1586
  let Kt = "false";
1587
1587
  function Qt(n, e, s) {
1588
- let { $$slots: g = {}, $$scope: u } = e, { endpoint: b = "" } = e, { cmsendpoint: y = "https://wt1-stage.everymatrix.com/apijson" } = e, { env: m = "" } = e, { datasource: f = "" } = e, { lang: a = "" } = e, { session: w = "" } = e, { userid: j = "" } = e, { opsession: l = "" } = e, { clientstyling: E = "" } = e, { clientstylingurl: h = "" } = e, { clockformat: d = "" } = e, { lobbyid: o = "" } = e, { currency: r = "" } = e, { filteredcategories: Z = "" } = e, { userroles: J = "" } = e, { translationurl: K = "" } = e, { loginevent: Q = "" } = e, { registerevent: V = "" } = e, { depositevent: X = "" } = e, { shortcashierenabled: p = "" } = e, { favorites: A = "" } = e, { desktopoffset: I = "0" } = e, { mobileoffset: q = "0" } = e, { haspanicbutton: x = "false" } = e, { activecategory: T = "LOBBY" } = e, { actionevent: $ = "CategoryChange" } = e, { livecasino: ee = "false" } = e, { playforfun: te = "true" } = e, { showgamename: ie = "false" } = e, { gamemodal: se = "true" } = e, { playrandomgame: ne = "false" } = e, { randomgameslider: ae = "false" } = e, { visiblegames: oe = "10" } = e, { integratedgameframedesktop: le = "false" } = e, { integratedgameframemobile: re = "false" } = e, { gamepagemodalurl: ce = "false" } = e, { casinogamesgridslider: ge = "false" } = e, { categoriesicon: ue = "false" } = e, { lobbyiconimage: me = "" } = e, { mygamesiconimage: fe = "" } = e, { positionwinnerswidget: de = "" } = e, { tabsorder: he = "" } = e, { enableautoscroll: be = "" } = e, { istopavailable: ye = "" } = e, { isrecentavailable: we = "" } = e, { periodrecent: ke = "" } = e, { periodtop: _e = "" } = e, { numberusersrecent: ve = "" } = e, { numberuserstop: Ee = "" } = e, { amountlimit: Ce = "" } = e, { defaultcurrency: je = "" } = e, { positionjackpotbanners: Le = "" } = e, { caticon0: De = "" } = e, { caticon1: Se = "" } = e, { caticon2: Ie = "" } = e, { caticon3: qe = "" } = e, { backgroundsrc: Me = "" } = e, { backgroundsrcmobile: Oe = "" } = e, { titlelogopath: Pe = "" } = e, { iconlabels: Fe = "" } = e, { showsubgroups: Ae = "false" } = e, { realtimeupdate: Te = "false" } = e, { positioncollections: Ue = "" } = e, { type: Ge = "" } = e, { titletype: Re = "" } = e, { collectionprovidersgamenames: We = "" } = e, { positioncasinocalendar: ze = "" } = e, { lastplayedperiod: Be = "Last30Days" } = e, { mostplayedperiod: He = "Last30Days" } = e, { lastplayedorder: Ne = "" } = e, { lastplayedlimit: Ye = "" } = e, { lastplayedunique: Ze = "true" } = e, { mostplayed: U = "" } = e, { mostplayedrounds: Je = "" } = e, { lastplayed: G = "false" } = e, { specificcategory: Ke = "" } = e, { launchbygamecard: Qe = "" } = e, { iconvisible: Ve = "" } = e, { iconvisibleonanim: Xe = "" } = e, { positionjelobbywidget: pe = "" } = e, { randombuttonicon: xe = "" } = e, { filteredrandomgamecategories: $e = "" } = e, { addfilterselector: et = "false" } = e, { addsortingselector: tt = "false" } = e, { filterbylogo: it = "false" } = e, { winnersdatasources: st = "" } = e, { mbsource: R } = e, nt, at, ot, L = !1, C = "Loading, please wait ...", M = "", W = window.navigator.userAgent, z = !1, S = 0, lt = !1, v;
1589
- Bt({ withLocale: "en", translations: {} });
1588
+ let { $$slots: g = {}, $$scope: u } = e, { endpoint: b = "" } = e, { cmsendpoint: y = "https://wt1-stage.everymatrix.com/apijson" } = e, { env: m = "" } = e, { datasource: f = "" } = e, { lang: a = "" } = e, { session: w = "" } = e, { userid: j = "" } = e, { opsession: l = "" } = e, { clientstyling: E = "" } = e, { clientstylingurl: h = "" } = e, { clockformat: d = "" } = e, { lobbyid: o = "" } = e, { currency: r = "" } = e, { filteredcategories: Y = "" } = e, { userroles: J = "" } = e, { translationurl: K = "" } = e, { loginevent: Q = "" } = e, { registerevent: V = "" } = e, { depositevent: Z = "" } = e, { shortcashierenabled: p = "" } = e, { favorites: U = "" } = e, { desktopoffset: I = "0" } = e, { mobileoffset: q = "0" } = e, { haspanicbutton: x = "false" } = e, { activecategory: A = "LOBBY" } = e, { actionevent: $ = "CategoryChange" } = e, { livecasino: ee = "false" } = e, { playforfun: te = "true" } = e, { showgamename: ie = "false" } = e, { gamemodal: se = "true" } = e, { playrandomgame: ne = "false" } = e, { randomgameslider: ae = "false" } = e, { visiblegames: oe = "10" } = e, { integratedgameframedesktop: le = "false" } = e, { integratedgameframemobile: re = "false" } = e, { gamepagemodalurl: ce = "false" } = e, { casinogamesgridslider: ge = "false" } = e, { categoriesicon: ue = "false" } = e, { lobbyiconimage: me = "" } = e, { mygamesiconimage: fe = "" } = e, { positionwinnerswidget: de = "" } = e, { tabsorder: he = "" } = e, { enableautoscroll: be = "" } = e, { istopavailable: ye = "" } = e, { isrecentavailable: we = "" } = e, { periodrecent: ke = "" } = e, { periodtop: _e = "" } = e, { numberusersrecent: ve = "" } = e, { numberuserstop: Ee = "" } = e, { amountlimit: Ce = "" } = e, { defaultcurrency: je = "" } = e, { positionjackpotbanners: Le = "" } = e, { caticon0: De = "" } = e, { caticon1: Se = "" } = e, { caticon2: Ie = "" } = e, { caticon3: qe = "" } = e, { backgroundsrc: Me = "" } = e, { backgroundsrcmobile: Oe = "" } = e, { titlelogopath: Pe = "" } = e, { iconlabels: Fe = "" } = e, { showsubgroups: Ue = "false" } = e, { realtimeupdate: Ae = "false" } = e, { positioncollections: Te = "" } = e, { type: Ge = "" } = e, { titletype: Re = "" } = e, { collectionprovidersgamenames: ze = "" } = e, { positioncasinocalendar: Be = "" } = e, { lastplayedperiod: We = "Last30Days" } = e, { mostplayedperiod: He = "Last30Days" } = e, { lastplayedorder: Ne = "" } = e, { lastplayedlimit: Xe = "" } = e, { lastplayedunique: Ye = "true" } = e, { mostplayed: T = "" } = e, { mostplayedrounds: Je = "" } = e, { lastplayed: G = "false" } = e, { specificcategory: Ke = "" } = e, { launchbygamecard: Qe = "" } = e, { iconvisible: Ve = "" } = e, { iconvisibleonanim: Ze = "" } = e, { positionjelobbywidget: pe = "" } = e, { randombuttonicon: xe = "" } = e, { filteredrandomgamecategories: $e = "" } = e, { addfilterselector: et = "false" } = e, { addsortingselector: tt = "false" } = e, { filterbylogo: it = "false" } = e, { winnersdatasources: st = "" } = e, { mbsource: R } = e, nt, at, ot, L = !1, C = "Loading, please wait ...", M = "", z = window.navigator.userAgent, B = !1, S = 0, lt = !1, v;
1589
+ Wt({ withLocale: "en", translations: {} });
1590
1590
  const rt = (i) => {
1591
1591
  if (i.data)
1592
1592
  switch (i.data.type) {
1593
1593
  case "searchCancelled":
1594
- z = !0;
1594
+ B = !0;
1595
1595
  break;
1596
1596
  case "WidgetTopReference":
1597
- lt = i.data.scrollTop, lt && (S || s(87, S = ct(W) === "PC" ? parseInt(I) : parseInt(q)), !z && window.scrollTo({ top: S }), z = !1);
1597
+ lt = i.data.scrollTop, lt && (S || s(87, S = ct(z) === "PC" ? parseInt(I) : parseInt(q)), !B && window.scrollTo({ top: S }), B = !1);
1598
1598
  break;
1599
1599
  case "OpenGameFrame":
1600
1600
  window.postMessage(
1601
1601
  {
1602
1602
  type: "ShowGameModal",
1603
1603
  gameId: i.data.gameId,
1604
- isMobile: zt(W),
1604
+ isMobile: Bt(z),
1605
1605
  gamefunmode: i.data.gamefunmode,
1606
1606
  gamepagemodalurl: i.data.gamepagemodalurl,
1607
1607
  identifier: "Lobby"
@@ -1613,7 +1613,7 @@ function Qt(n, e, s) {
1613
1613
  s(86, M = i.data.session), i.data.userID;
1614
1614
  break;
1615
1615
  case "CategoryChange":
1616
- s(1, T = i.data.itemId);
1616
+ s(1, A = i.data.itemId);
1617
1617
  break;
1618
1618
  }
1619
1619
  }, dt = () => (b || (s(85, C = "Endpoint is missing! Please provide a valid endpointURL."), s(84, L = !0), console.error(C)), f || (s(85, C = "Datasource is missing! Please provide a valid datasource."), s(84, L = !0), console.error(C)), (!a || a.length < 2) && (s(85, C = "Language is missing! Please provide a valid language (alpha2code)"), s(84, L = !0), console.error(C)), L), ht = () => {
@@ -1632,7 +1632,7 @@ function Qt(n, e, s) {
1632
1632
  }, wt = () => {
1633
1633
  s(86, M = l);
1634
1634
  };
1635
- St(() => (window.addEventListener("message", rt, !1), s(87, S = ct(W) === "PC" ? parseInt(I) : parseInt(q)), () => {
1635
+ St(() => (window.addEventListener("message", rt, !1), s(87, S = ct(z) === "PC" ? parseInt(I) : parseInt(q)), () => {
1636
1636
  window.removeEventListener("message", rt);
1637
1637
  }));
1638
1638
  function kt(i) {
@@ -1641,14 +1641,14 @@ function Qt(n, e, s) {
1641
1641
  });
1642
1642
  }
1643
1643
  return n.$$set = (i) => {
1644
- "endpoint" in i && s(88, b = i.endpoint), "cmsendpoint" in i && s(2, y = i.cmsendpoint), "env" in i && s(3, m = i.env), "datasource" in i && s(89, f = i.datasource), "lang" in i && s(90, a = i.lang), "session" in i && s(91, w = i.session), "userid" in i && s(4, j = i.userid), "opsession" in i && s(92, l = i.opsession), "clientstyling" in i && s(5, E = i.clientstyling), "clientstylingurl" in i && s(6, h = i.clientstylingurl), "clockformat" in i && s(7, d = i.clockformat), "lobbyid" in i && s(8, o = i.lobbyid), "currency" in i && s(0, r = i.currency), "filteredcategories" in i && s(9, Z = i.filteredcategories), "userroles" in i && s(10, J = i.userroles), "translationurl" in i && s(11, K = i.translationurl), "loginevent" in i && s(12, Q = i.loginevent), "registerevent" in i && s(13, V = i.registerevent), "depositevent" in i && s(14, X = i.depositevent), "shortcashierenabled" in i && s(15, p = i.shortcashierenabled), "favorites" in i && s(16, A = i.favorites), "desktopoffset" in i && s(93, I = i.desktopoffset), "mobileoffset" in i && s(94, q = i.mobileoffset), "haspanicbutton" in i && s(17, x = i.haspanicbutton), "activecategory" in i && s(1, T = i.activecategory), "actionevent" in i && s(18, $ = i.actionevent), "livecasino" in i && s(19, ee = i.livecasino), "playforfun" in i && s(20, te = i.playforfun), "showgamename" in i && s(21, ie = i.showgamename), "gamemodal" in i && s(22, se = i.gamemodal), "playrandomgame" in i && s(23, ne = i.playrandomgame), "randomgameslider" in i && s(24, ae = i.randomgameslider), "visiblegames" in i && s(25, oe = i.visiblegames), "integratedgameframedesktop" in i && s(26, le = i.integratedgameframedesktop), "integratedgameframemobile" in i && s(27, re = i.integratedgameframemobile), "gamepagemodalurl" in i && s(28, ce = i.gamepagemodalurl), "casinogamesgridslider" in i && s(29, ge = i.casinogamesgridslider), "categoriesicon" in i && s(30, ue = i.categoriesicon), "lobbyiconimage" in i && s(31, me = i.lobbyiconimage), "mygamesiconimage" in i && s(32, fe = i.mygamesiconimage), "positionwinnerswidget" in i && s(33, de = i.positionwinnerswidget), "tabsorder" in i && s(34, he = i.tabsorder), "enableautoscroll" in i && s(35, be = i.enableautoscroll), "istopavailable" in i && s(36, ye = i.istopavailable), "isrecentavailable" in i && s(37, we = i.isrecentavailable), "periodrecent" in i && s(38, ke = i.periodrecent), "periodtop" in i && s(39, _e = i.periodtop), "numberusersrecent" in i && s(40, ve = i.numberusersrecent), "numberuserstop" in i && s(41, Ee = i.numberuserstop), "amountlimit" in i && s(42, Ce = i.amountlimit), "defaultcurrency" in i && s(43, je = i.defaultcurrency), "positionjackpotbanners" in i && s(44, Le = i.positionjackpotbanners), "caticon0" in i && s(45, De = i.caticon0), "caticon1" in i && s(46, Se = i.caticon1), "caticon2" in i && s(47, Ie = i.caticon2), "caticon3" in i && s(48, qe = i.caticon3), "backgroundsrc" in i && s(49, Me = i.backgroundsrc), "backgroundsrcmobile" in i && s(50, Oe = i.backgroundsrcmobile), "titlelogopath" in i && s(51, Pe = i.titlelogopath), "iconlabels" in i && s(52, Fe = i.iconlabels), "showsubgroups" in i && s(53, Ae = i.showsubgroups), "realtimeupdate" in i && s(54, Te = i.realtimeupdate), "positioncollections" in i && s(55, Ue = i.positioncollections), "type" in i && s(56, Ge = i.type), "titletype" in i && s(57, Re = i.titletype), "collectionprovidersgamenames" in i && s(58, We = i.collectionprovidersgamenames), "positioncasinocalendar" in i && s(59, ze = i.positioncasinocalendar), "lastplayedperiod" in i && s(60, Be = i.lastplayedperiod), "mostplayedperiod" in i && s(61, He = i.mostplayedperiod), "lastplayedorder" in i && s(62, Ne = i.lastplayedorder), "lastplayedlimit" in i && s(63, Ye = i.lastplayedlimit), "lastplayedunique" in i && s(64, Ze = i.lastplayedunique), "mostplayed" in i && s(65, U = i.mostplayed), "mostplayedrounds" in i && s(66, Je = i.mostplayedrounds), "lastplayed" in i && s(67, G = i.lastplayed), "specificcategory" in i && s(68, Ke = i.specificcategory), "launchbygamecard" in i && s(69, Qe = i.launchbygamecard), "iconvisible" in i && s(70, Ve = i.iconvisible), "iconvisibleonanim" in i && s(71, Xe = i.iconvisibleonanim), "positionjelobbywidget" in i && s(72, pe = i.positionjelobbywidget), "randombuttonicon" in i && s(73, xe = i.randombuttonicon), "filteredrandomgamecategories" in i && s(74, $e = i.filteredrandomgamecategories), "addfilterselector" in i && s(75, et = i.addfilterselector), "addsortingselector" in i && s(76, tt = i.addsortingselector), "filterbylogo" in i && s(77, it = i.filterbylogo), "winnersdatasources" in i && s(78, st = i.winnersdatasources), "mbsource" in i && s(79, R = i.mbsource), "$$scope" in i && s(95, u = i.$$scope);
1644
+ "endpoint" in i && s(88, b = i.endpoint), "cmsendpoint" in i && s(2, y = i.cmsendpoint), "env" in i && s(3, m = i.env), "datasource" in i && s(89, f = i.datasource), "lang" in i && s(90, a = i.lang), "session" in i && s(91, w = i.session), "userid" in i && s(4, j = i.userid), "opsession" in i && s(92, l = i.opsession), "clientstyling" in i && s(5, E = i.clientstyling), "clientstylingurl" in i && s(6, h = i.clientstylingurl), "clockformat" in i && s(7, d = i.clockformat), "lobbyid" in i && s(8, o = i.lobbyid), "currency" in i && s(0, r = i.currency), "filteredcategories" in i && s(9, Y = i.filteredcategories), "userroles" in i && s(10, J = i.userroles), "translationurl" in i && s(11, K = i.translationurl), "loginevent" in i && s(12, Q = i.loginevent), "registerevent" in i && s(13, V = i.registerevent), "depositevent" in i && s(14, Z = i.depositevent), "shortcashierenabled" in i && s(15, p = i.shortcashierenabled), "favorites" in i && s(16, U = i.favorites), "desktopoffset" in i && s(93, I = i.desktopoffset), "mobileoffset" in i && s(94, q = i.mobileoffset), "haspanicbutton" in i && s(17, x = i.haspanicbutton), "activecategory" in i && s(1, A = i.activecategory), "actionevent" in i && s(18, $ = i.actionevent), "livecasino" in i && s(19, ee = i.livecasino), "playforfun" in i && s(20, te = i.playforfun), "showgamename" in i && s(21, ie = i.showgamename), "gamemodal" in i && s(22, se = i.gamemodal), "playrandomgame" in i && s(23, ne = i.playrandomgame), "randomgameslider" in i && s(24, ae = i.randomgameslider), "visiblegames" in i && s(25, oe = i.visiblegames), "integratedgameframedesktop" in i && s(26, le = i.integratedgameframedesktop), "integratedgameframemobile" in i && s(27, re = i.integratedgameframemobile), "gamepagemodalurl" in i && s(28, ce = i.gamepagemodalurl), "casinogamesgridslider" in i && s(29, ge = i.casinogamesgridslider), "categoriesicon" in i && s(30, ue = i.categoriesicon), "lobbyiconimage" in i && s(31, me = i.lobbyiconimage), "mygamesiconimage" in i && s(32, fe = i.mygamesiconimage), "positionwinnerswidget" in i && s(33, de = i.positionwinnerswidget), "tabsorder" in i && s(34, he = i.tabsorder), "enableautoscroll" in i && s(35, be = i.enableautoscroll), "istopavailable" in i && s(36, ye = i.istopavailable), "isrecentavailable" in i && s(37, we = i.isrecentavailable), "periodrecent" in i && s(38, ke = i.periodrecent), "periodtop" in i && s(39, _e = i.periodtop), "numberusersrecent" in i && s(40, ve = i.numberusersrecent), "numberuserstop" in i && s(41, Ee = i.numberuserstop), "amountlimit" in i && s(42, Ce = i.amountlimit), "defaultcurrency" in i && s(43, je = i.defaultcurrency), "positionjackpotbanners" in i && s(44, Le = i.positionjackpotbanners), "caticon0" in i && s(45, De = i.caticon0), "caticon1" in i && s(46, Se = i.caticon1), "caticon2" in i && s(47, Ie = i.caticon2), "caticon3" in i && s(48, qe = i.caticon3), "backgroundsrc" in i && s(49, Me = i.backgroundsrc), "backgroundsrcmobile" in i && s(50, Oe = i.backgroundsrcmobile), "titlelogopath" in i && s(51, Pe = i.titlelogopath), "iconlabels" in i && s(52, Fe = i.iconlabels), "showsubgroups" in i && s(53, Ue = i.showsubgroups), "realtimeupdate" in i && s(54, Ae = i.realtimeupdate), "positioncollections" in i && s(55, Te = i.positioncollections), "type" in i && s(56, Ge = i.type), "titletype" in i && s(57, Re = i.titletype), "collectionprovidersgamenames" in i && s(58, ze = i.collectionprovidersgamenames), "positioncasinocalendar" in i && s(59, Be = i.positioncasinocalendar), "lastplayedperiod" in i && s(60, We = i.lastplayedperiod), "mostplayedperiod" in i && s(61, He = i.mostplayedperiod), "lastplayedorder" in i && s(62, Ne = i.lastplayedorder), "lastplayedlimit" in i && s(63, Xe = i.lastplayedlimit), "lastplayedunique" in i && s(64, Ye = i.lastplayedunique), "mostplayed" in i && s(65, T = i.mostplayed), "mostplayedrounds" in i && s(66, Je = i.mostplayedrounds), "lastplayed" in i && s(67, G = i.lastplayed), "specificcategory" in i && s(68, Ke = i.specificcategory), "launchbygamecard" in i && s(69, Qe = i.launchbygamecard), "iconvisible" in i && s(70, Ve = i.iconvisible), "iconvisibleonanim" in i && s(71, Ze = i.iconvisibleonanim), "positionjelobbywidget" in i && s(72, pe = i.positionjelobbywidget), "randombuttonicon" in i && s(73, xe = i.randombuttonicon), "filteredrandomgamecategories" in i && s(74, $e = i.filteredrandomgamecategories), "addfilterselector" in i && s(75, et = i.addfilterselector), "addsortingselector" in i && s(76, tt = i.addsortingselector), "filterbylogo" in i && s(77, it = i.filterbylogo), "winnersdatasources" in i && s(78, st = i.winnersdatasources), "mbsource" in i && s(79, R = i.mbsource), "$$scope" in i && s(95, u = i.$$scope);
1645
1645
  }, n.$$.update = () => {
1646
1646
  n.$$.dirty[2] & /*lang*/
1647
1647
  268435456 && a && ht(), n.$$.dirty[0] & /*userid*/
1648
1648
  16 | n.$$.dirty[2] & /*session, endpoint*/
1649
1649
  603979776 && w && j && b && yt(), n.$$.dirty[0] & /*favorites*/
1650
1650
  65536 | n.$$.dirty[2] & /*endpoint, datasource, lang, mostplayed, lastplayed*/
1651
- 469762088 && b && f && a && U && G && A && bt(), n.$$.dirty[2] & /*opsession*/
1651
+ 469762088 && b && f && a && T && G && U && bt(), n.$$.dirty[2] & /*opsession*/
1652
1652
  1073741824 && l && wt(), n.$$.dirty[0] & /*clientstyling*/
1653
1653
  32 | n.$$.dirty[2] & /*customStylingContainer*/
1654
1654
  262144 && E && v && Pt(v, E), n.$$.dirty[0] & /*clientstylingurl*/
@@ -1657,7 +1657,7 @@ function Qt(n, e, s) {
1657
1657
  393216 && v && Ft(v, `${R}.Style`);
1658
1658
  }, [
1659
1659
  r,
1660
- T,
1660
+ A,
1661
1661
  y,
1662
1662
  m,
1663
1663
  j,
@@ -1665,14 +1665,14 @@ function Qt(n, e, s) {
1665
1665
  h,
1666
1666
  d,
1667
1667
  o,
1668
- Z,
1668
+ Y,
1669
1669
  J,
1670
1670
  K,
1671
1671
  Q,
1672
1672
  V,
1673
- X,
1673
+ Z,
1674
1674
  p,
1675
- A,
1675
+ U,
1676
1676
  x,
1677
1677
  $,
1678
1678
  ee,
@@ -1709,25 +1709,25 @@ function Qt(n, e, s) {
1709
1709
  Oe,
1710
1710
  Pe,
1711
1711
  Fe,
1712
+ Ue,
1712
1713
  Ae,
1713
1714
  Te,
1714
- Ue,
1715
1715
  Ge,
1716
1716
  Re,
1717
- We,
1718
1717
  ze,
1719
1718
  Be,
1719
+ We,
1720
1720
  He,
1721
1721
  Ne,
1722
+ Xe,
1722
1723
  Ye,
1723
- Ze,
1724
- U,
1724
+ T,
1725
1725
  Je,
1726
1726
  G,
1727
1727
  Ke,
1728
1728
  Qe,
1729
1729
  Ve,
1730
- Xe,
1730
+ Ze,
1731
1731
  pe,
1732
1732
  xe,
1733
1733
  $e,
@@ -1,4 +1,4 @@
1
- import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j as R, o as re, l as de, u as v, e as B, w as ue, y as r, R as q, z, T as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, Z as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-D9zXfDS4.js";
1
+ import { a2 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j, o as re, l as de, u as R, e as B, w as ue, y as r, a3 as q, z, a4 as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, X as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-BYhP1252.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 {
@@ -12,12 +12,12 @@ function ye(s) {
12
12
  oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
14
  const be = (s) => ({}), N = (s) => ({});
15
- function T(s) {
15
+ function V(s) {
16
16
  let e, t, n, o, l, w, k, c, u, b, p;
17
17
  const C = (
18
18
  /*#slots*/
19
19
  s[20].default
20
- ), d = v(
20
+ ), d = R(
21
21
  C,
22
22
  s,
23
23
  /*$$scope*/
@@ -26,7 +26,7 @@ function T(s) {
26
26
  ), M = (
27
27
  /*#slots*/
28
28
  s[20].close
29
- ), h = v(
29
+ ), h = R(
30
30
  M,
31
31
  s,
32
32
  /*$$scope*/
@@ -111,7 +111,7 @@ function T(s) {
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && R(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && j(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -126,14 +126,14 @@ function pe(s) {
126
126
  },
127
127
  p: _e,
128
128
  d(n) {
129
- n && R(e);
129
+ n && j(e);
130
130
  }
131
131
  };
132
132
  }
133
133
  function Me(s) {
134
134
  let e, t, n = (
135
135
  /*show*/
136
- s[7] && T(s)
136
+ s[7] && V(s)
137
137
  );
138
138
  return {
139
139
  c() {
@@ -145,7 +145,7 @@ function Me(s) {
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
149
149
  n = null;
150
150
  }), le());
151
151
  },
@@ -156,13 +156,13 @@ function Me(s) {
156
156
  W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && R(e), n && n.d(o);
159
+ o && j(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y, D, G, S = !1;
165
- const V = () => {
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, D, G, S = !1;
165
+ const X = () => {
166
166
  t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
@@ -193,16 +193,16 @@ function ke(s, e, t) {
193
193
  };
194
194
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
- i.data.type === "GameStateOnResize" && (j = i.data.detailsObtained);
197
- }, Z = (i) => {
198
- if (j) {
196
+ i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
+ }, Q = (i) => {
198
+ if (v) {
199
199
  let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
203
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
- }, Q = () => {
205
+ }, T = () => {
206
206
  M == "true" && me(p, w).then(
207
207
  (i) => {
208
208
  i.Guid, i.UserID;
@@ -212,15 +212,15 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Z, !1), () => {
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Q, !1), () => {
216
216
  window.removeEventListener("message", L), window.removeEventListener("resize", L);
217
217
  }));
218
- function X(i) {
218
+ function Y(i) {
219
219
  x[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
223
- function Y() {
223
+ function Z() {
224
224
  D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
225
225
  }
226
226
  function $(i) {
@@ -232,7 +232,7 @@ function ke(s, e, t) {
232
232
  "duration" in i && t(0, l = i.duration), "session" in i && t(9, w = i.session), "userid" in i && t(10, k = i.userid), "clientstyling" in i && t(11, c = i.clientstyling), "identifier" in i && t(12, u = i.identifier), "clientstylingurl" in i && t(13, b = i.clientstylingurl), "endpoint" in i && t(14, p = i.endpoint), "haspanicbutton" in i && t(1, C = i.haspanicbutton), "gamepagemodalurl" in i && t(15, d = i.gamepagemodalurl), "sessioncheck" in i && t(16, M = i.sessioncheck), "integratedgameframedesktop" in i && t(17, h = i.integratedgameframedesktop), "mbsource" in i && t(18, f = i.mbsource), "$$scope" in i && t(19, o = i.$$scope);
233
233
  }, s.$$.update = () => {
234
234
  s.$$.dirty[0] & /*session, userid, endpoint*/
235
- 17920 && w && k && p && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
235
+ 17920 && w && k && p && T(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
236
236
  2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
237
  8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
238
238
  262148 && y && we(y, `${f}.Style`);
@@ -245,7 +245,7 @@ function ke(s, e, t) {
245
245
  D,
246
246
  G,
247
247
  S,
248
- V,
248
+ X,
249
249
  w,
250
250
  k,
251
251
  c,
@@ -258,8 +258,8 @@ function ke(s, e, t) {
258
258
  f,
259
259
  o,
260
260
  n,
261
- X,
262
261
  Y,
262
+ Z,
263
263
  $
264
264
  ];
265
265
  }
@@ -1,4 +1,4 @@
1
- import { a4 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j as R, o as re, l as de, u as v, e as B, w as ue, y as r, R as q, z, T as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, Z as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-8h5qdaaJ.js";
1
+ import { a2 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j, o as re, l as de, u as R, e as B, w as ue, y as r, a3 as q, z, a4 as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, X as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-BU2gZgoA.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 {
@@ -12,12 +12,12 @@ function ye(s) {
12
12
  oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
14
  const be = (s) => ({}), N = (s) => ({});
15
- function T(s) {
15
+ function V(s) {
16
16
  let e, t, n, o, l, w, k, c, u, b, p;
17
17
  const C = (
18
18
  /*#slots*/
19
19
  s[20].default
20
- ), d = v(
20
+ ), d = R(
21
21
  C,
22
22
  s,
23
23
  /*$$scope*/
@@ -26,7 +26,7 @@ function T(s) {
26
26
  ), M = (
27
27
  /*#slots*/
28
28
  s[20].close
29
- ), h = v(
29
+ ), h = R(
30
30
  M,
31
31
  s,
32
32
  /*$$scope*/
@@ -111,7 +111,7 @@ function T(s) {
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && R(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && j(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -126,14 +126,14 @@ function pe(s) {
126
126
  },
127
127
  p: _e,
128
128
  d(n) {
129
- n && R(e);
129
+ n && j(e);
130
130
  }
131
131
  };
132
132
  }
133
133
  function Me(s) {
134
134
  let e, t, n = (
135
135
  /*show*/
136
- s[7] && T(s)
136
+ s[7] && V(s)
137
137
  );
138
138
  return {
139
139
  c() {
@@ -145,7 +145,7 @@ function Me(s) {
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = T(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
149
149
  n = null;
150
150
  }), le());
151
151
  },
@@ -156,13 +156,13 @@ function Me(s) {
156
156
  W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && R(e), n && n.d(o);
159
+ o && j(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, j = !1, _, y, D, G, S = !1;
165
- const V = () => {
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, D, G, S = !1;
165
+ const X = () => {
166
166
  t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
@@ -193,16 +193,16 @@ function ke(s, e, t) {
193
193
  };
194
194
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
195
195
  }
196
- i.data.type === "GameStateOnResize" && (j = i.data.detailsObtained);
197
- }, Z = (i) => {
198
- if (j) {
196
+ i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
+ }, Q = (i) => {
198
+ if (v) {
199
199
  let I = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
203
  window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
204
204
  }
205
- }, Q = () => {
205
+ }, T = () => {
206
206
  M == "true" && me(p, w).then(
207
207
  (i) => {
208
208
  i.Guid, i.UserID;
@@ -212,15 +212,15 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Z, !1), () => {
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Q, !1), () => {
216
216
  window.removeEventListener("message", L), window.removeEventListener("resize", L);
217
217
  }));
218
- function X(i) {
218
+ function Y(i) {
219
219
  x[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
223
- function Y() {
223
+ function Z() {
224
224
  D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
225
225
  }
226
226
  function $(i) {
@@ -232,7 +232,7 @@ function ke(s, e, t) {
232
232
  "duration" in i && t(0, l = i.duration), "session" in i && t(9, w = i.session), "userid" in i && t(10, k = i.userid), "clientstyling" in i && t(11, c = i.clientstyling), "identifier" in i && t(12, u = i.identifier), "clientstylingurl" in i && t(13, b = i.clientstylingurl), "endpoint" in i && t(14, p = i.endpoint), "haspanicbutton" in i && t(1, C = i.haspanicbutton), "gamepagemodalurl" in i && t(15, d = i.gamepagemodalurl), "sessioncheck" in i && t(16, M = i.sessioncheck), "integratedgameframedesktop" in i && t(17, h = i.integratedgameframedesktop), "mbsource" in i && t(18, f = i.mbsource), "$$scope" in i && t(19, o = i.$$scope);
233
233
  }, s.$$.update = () => {
234
234
  s.$$.dirty[0] & /*session, userid, endpoint*/
235
- 17920 && w && k && p && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
235
+ 17920 && w && k && p && T(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
236
236
  2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
237
  8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
238
238
  262148 && y && we(y, `${f}.Style`);
@@ -245,7 +245,7 @@ function ke(s, e, t) {
245
245
  D,
246
246
  G,
247
247
  S,
248
- V,
248
+ X,
249
249
  w,
250
250
  k,
251
251
  c,
@@ -258,8 +258,8 @@ function ke(s, e, t) {
258
258
  f,
259
259
  o,
260
260
  n,
261
- X,
262
261
  Y,
262
+ Z,
263
263
  $
264
264
  ];
265
265
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-pDYRKcjG.cjs");require("./CasinoFavoritesSection-DrmyxOK7.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-pDYRKcjG.cjs");require("./CasinoFavoritesSection-21RKmDna.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;