@everymatrix/casino-most-played-section-nd 1.86.4 → 1.86.5

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 (36) hide show
  1. package/components/{CasinoFilter-SLFszfcy.js → CasinoFilter-Bewb2r1U.js} +1011 -990
  2. package/components/{CasinoFilter-BmzSQuiz.js → CasinoFilter-CfmNpR8n.js} +1058 -1037
  3. package/components/CasinoFilter-kyZEUL_7.cjs +18 -0
  4. package/components/{CasinoGameThumbnailNd-Ct_UV4Yl.js → CasinoGameThumbnailNd-CUiNMO2u.js} +69 -71
  5. package/components/{CasinoGameThumbnailNd-BSLqNPhu.js → CasinoGameThumbnailNd-DNt3bPWO.js} +69 -71
  6. package/components/CasinoGameThumbnailNd-cuDYIs62.cjs +30 -0
  7. package/components/{CasinoGamesCategorySectionNd-CMM25Znw.cjs → CasinoGamesCategorySectionNd-CnEKVAtB.cjs} +1 -1
  8. package/components/{CasinoGamesCategorySectionNd-BkE_6984.js → CasinoGamesCategorySectionNd-CtWpa703.js} +97 -97
  9. package/components/{CasinoGamesCategorySectionNd-dZ6Vdpc-.js → CasinoGamesCategorySectionNd-DSKNbEjF.js} +27 -27
  10. package/components/{CasinoMostPlayedSectionNd-Bi3VNSvQ.js → CasinoMostPlayedSectionNd-BFAd9SVt.js} +30 -30
  11. package/components/{CasinoMostPlayedSectionNd-R0QtdW3T.cjs → CasinoMostPlayedSectionNd-C0P_J485.cjs} +1 -1
  12. package/components/{CasinoMostPlayedSectionNd-Dgh4kA1r.js → CasinoMostPlayedSectionNd-CITiQP-v.js} +62 -62
  13. package/components/{CasinoSort-C6crjCJr.js → CasinoSort-Ble7RivW.js} +105 -104
  14. package/components/{CasinoSort-D_l_aKYr.cjs → CasinoSort-VNKspKX0.cjs} +1 -1
  15. package/components/{CasinoSort-BV3Ui5_3.js → CasinoSort-mUx2YtqU.js} +112 -113
  16. package/es2015/casino-most-played-section-nd.cjs +1 -1
  17. package/es2015/casino-most-played-section-nd.js +1 -1
  18. package/esnext/casino-most-played-section-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  21. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  22. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  23. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  24. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  25. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  29. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
  30. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  31. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
  32. package/components/CasinoFilter-Dcqa8XDU.cjs +0 -18
  33. package/components/CasinoGameThumbnailNd-DgjESuIb.cjs +0 -30
  34. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  35. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  36. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,5 +1,5 @@
1
- import { a as qa, $ as Ba, S as Wa, i as Ja, f as N, c as Ya, s as Ka, b as Za, e as S, j as f, l as C, n as le, o as G, p as Xa, J as Qa, q as xa, r as $a, K as Ne, z as te, A as ei, B as ai, d as B, k as ve, m as k, x as X, G as ii, y as ni, u as D, w as U, D as se, L as pa, h as n, E as oi, C as ee, g as ea, v as ti, M as va } from "./CasinoFilter-SLFszfcy.js";
2
- import { g as li, d as aa, i as si, a as ri } from "./CasinoGameThumbnailNd-Ct_UV4Yl.js";
1
+ import { a as qa, $ as Ba, S as Wa, i as Ja, f as N, s as Ya, G as Ka, b as Za, n as le, d as G, j as C, l as S, g as f, o as Xa, J as Qa, p as xa, K as Ne, x as te, v as X, k, m as B, h as ve, w as $a, q as U, u as D, A as se, L as pa, e as n, M as va, B as ei, c as ea, r as ai, y as ee, I as ii, D as ni, E as oi, F as ti } from "./CasinoFilter-Bewb2r1U.js";
2
+ import { g as li, d as aa, i as si, a as ri } from "./CasinoGameThumbnailNd-CUiNMO2u.js";
3
3
  function mi(i, e) {
4
4
  qa(i, e);
5
5
  }
@@ -325,7 +325,7 @@ if (typeof window < "u") {
325
325
  }
326
326
  };
327
327
  };
328
- customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-Ct_UV4Yl.js").then((e) => e.C).then(({ default: e }) => {
328
+ customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-CUiNMO2u.js").then((e) => e.C).then(({ default: e }) => {
329
329
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
330
330
  });
331
331
  }
@@ -341,7 +341,7 @@ if (typeof window < "u") {
341
341
  }
342
342
  };
343
343
  };
344
- customElements.define = i(customElements.define), import("./CasinoFilter-SLFszfcy.js").then((e) => e.O).then(({ default: e }) => {
344
+ customElements.define = i(customElements.define), import("./CasinoFilter-Bewb2r1U.js").then((e) => e.O).then(({ default: e }) => {
345
345
  !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
346
346
  });
347
347
  }
@@ -357,7 +357,7 @@ if (typeof window < "u") {
357
357
  }
358
358
  };
359
359
  };
360
- customElements.define = i(customElements.define), import("./CasinoSort-C6crjCJr.js").then(({ default: e }) => {
360
+ customElements.define = i(customElements.define), import("./CasinoSort-mUx2YtqU.js").then(({ default: e }) => {
361
361
  !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
362
362
  });
363
363
  }
@@ -621,7 +621,7 @@ function bi(i) {
621
621
  }
622
622
  },
623
623
  d(l) {
624
- l && G(e), oi(o, l), t && t.d(l);
624
+ l && G(e), ei(o, l), t && t.d(l);
625
625
  }
626
626
  };
627
627
  }
@@ -738,7 +738,7 @@ function sa(i) {
738
738
  };
739
739
  }
740
740
  function ra(i) {
741
- let e, a = Ci(i);
741
+ let e, a = Gi(i);
742
742
  return {
743
743
  c() {
744
744
  a && a.c(), e = X();
@@ -754,7 +754,7 @@ function ra(i) {
754
754
  }
755
755
  };
756
756
  }
757
- function Ci(i) {
757
+ function Gi(i) {
758
758
  let e, a, o;
759
759
  function t(m, c) {
760
760
  if (c[1] & /*favoriteGamesData*/
@@ -765,7 +765,7 @@ function Ci(i) {
765
765
  return Si;
766
766
  if (a == null && (a = !!/*gameprops*/
767
767
  m[99].gameModel.platform.includes("PC")), a)
768
- return Gi;
768
+ return Ci;
769
769
  }
770
770
  let l = t(i, [-1, -1, -1, -1]), r = l && l(i);
771
771
  return {
@@ -783,7 +783,7 @@ function Ci(i) {
783
783
  }
784
784
  };
785
785
  }
786
- function Gi(i) {
786
+ function Ci(i) {
787
787
  let e, a, o, t, l, r, m, c, d, _, p, v, w, M, b;
788
788
  return {
789
789
  c() {
@@ -1523,7 +1523,7 @@ function Ii(i) {
1523
1523
  e = S("a"), a = S("span"), t = D(o), l = D(" ("), m = D(r), c = D(")"), f(a, "class", "CategoryLoadMore"), f(e, "class", "CategoryNameLink");
1524
1524
  },
1525
1525
  m(p, v) {
1526
- C(p, e, v), k(e, a), k(a, t), k(a, l), k(a, m), k(a, c), d || (_ = ti(
1526
+ C(p, e, v), k(e, a), k(a, t), k(a, l), k(a, m), k(a, c), d || (_ = ai(
1527
1527
  e,
1528
1528
  "click",
1529
1529
  /*click_handler*/
@@ -2639,7 +2639,7 @@ let Hi = 0;
2639
2639
  function qi(i, e, a) {
2640
2640
  let o;
2641
2641
  Xa(i, ii, (s) => a(43, o = s));
2642
- let { endpoint: t = "" } = e, { datasource: l = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: d = "" } = e, { mbsource: _ } = e, { clientstyling: p = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { currency: M = "" } = e, { categoryid: b = "" } = e, { showgamename: g = "" } = e, { livecasino: u = "false" } = e, { gamepagemodalurl: W = "true" } = e, { integratedgameframedesktop: P = "false" } = e, { integratedgameframemobile: y = "false" } = e, { casinomygames: re = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Je = "" } = e, { casinogamesgridslider: Ye = "false" } = e, { fetchviaevent: me = "false" } = e, { showallpage: Ee = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Re = "true" } = e, { usesinglevendorfilter: Ce = "false" } = e, { visiblegames: je = "10" } = e, { requiredicon: Le = "false" } = e, Q = !0, Te = !1, Ge, Se, Y = !0, Ke = window.navigator.userAgent, O, I = [], x = !0, ie = 40, K = !1, Fe = !1, ce = !1, De = !1, Pe = !0, ue = !1, de, Oe, ge, fe = !1, J, ba, ze = !1, he = new Array(1e4), _e = {}, Ue = "", ne = "", Me, Ve, j, V = [], Ie = new AbortController(), oe = { items: [], count: 0, name: "" };
2642
+ let { endpoint: t = "" } = e, { datasource: l = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: d = "" } = e, { mbsource: _ } = e, { clientstyling: p = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { currency: M = "" } = e, { categoryid: b = "" } = e, { showgamename: g = "" } = e, { livecasino: u = "false" } = e, { gamepagemodalurl: W = "true" } = e, { integratedgameframedesktop: P = "false" } = e, { integratedgameframemobile: y = "false" } = e, { casinomygames: re = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Je = "" } = e, { casinogamesgridslider: Ye = "false" } = e, { fetchviaevent: me = "false" } = e, { showallpage: Ee = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Re = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: je = "10" } = e, { requiredicon: Le = "false" } = e, Q = !0, Te = !1, Ce, Se, Y = !0, Ke = window.navigator.userAgent, O, I = [], x = !0, ie = 40, K = !1, Fe = !1, ce = !1, De = !1, Pe = !0, ue = !1, de, Oe, ge, fe = !1, J, ba, ze = !1, he = new Array(1e4), _e = {}, Ue = "", ne = "", Me, Ve, j, V = [], Ie = new AbortController(), oe = { items: [], count: 0, name: "" };
2643
2643
  const He = (s) => {
2644
2644
  Object.keys(s).forEach((h) => {
2645
2645
  mi(h, s[h]);
@@ -2716,10 +2716,10 @@ function qi(i, e, a) {
2716
2716
  const R = Ie.signal;
2717
2717
  a(25, Q = !0);
2718
2718
  let E = "", z = "", Z = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
2719
- const q = Ce === "true" ? "*" : s;
2719
+ const q = Ge === "true" ? "*" : s;
2720
2720
  return (s.match(/\$/g) || []).length > 1 ? (E = s.split("$").slice(0, 2).join("$"), z = new URL(`${t}/v1/casino/groups/${l}/${E}/subGroups`)) : z = new URL(`${t}/v1/casino/groups/${l}/${s}`), new Promise((Va, Ha) => {
2721
- if (z.searchParams.delete("pagination"), z.searchParams.append("expand", "games(vendor)"), z.searchParams.append("fields", "id,name,games,icon"), z.searchParams.append("platform", ni(Ke)), z.searchParams.append("pagination", `games(offset=${h},limit=${F})`), z.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: s }, window.location.href), Z && Z[q]?.length)
2722
- if (Ce === "true" || Y === !1 && fe === !1) {
2721
+ if (z.searchParams.delete("pagination"), z.searchParams.append("expand", "games(vendor)"), z.searchParams.append("fields", "id,name,games,icon"), z.searchParams.append("platform", $a(Ke)), z.searchParams.append("pagination", `games(offset=${h},limit=${F})`), z.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: s }, window.location.href), Z && Z[q]?.length)
2722
+ if (Ge === "true" || Y === !1 && fe === !1) {
2723
2723
  let T = "";
2724
2724
  a(34, De = !0), Z[q].forEach(($) => {
2725
2725
  T = T + (T ? `,games(vendor(id=${$}))` : `games(vendor(id=${$}))`);
@@ -2754,7 +2754,7 @@ function qi(i, e, a) {
2754
2754
  }), ka = () => {
2755
2755
  const s = J.getRootNode().host;
2756
2756
  s.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: s } }));
2757
- }, Ca = (s, h, F) => {
2757
+ }, Ga = (s, h, F) => {
2758
2758
  s !== "" && (a(31, K = !1), a(27, Y = !0), a(1, be = "false"), a(2, we = "false"), a(33, ce = !1), ze = !1, a(30, x = +h > +F), pe(s, 0, +h).then((A) => {
2759
2759
  a(28, O = A), a(29, I = O.games.items), I && I.forEach((R) => {
2760
2760
  R.isFavorite = H(R.id);
@@ -2827,7 +2827,7 @@ function qi(i, e, a) {
2827
2827
  Sa(`${t}/v1/player/${c}/favorites`, m, s.data.id);
2828
2828
  break;
2829
2829
  case "UserSessionID":
2830
- Ge = s.data.session, Se = s.data.userID, d == "true" && Se && Se.length && Ge && Ge.length > 0 && qe(Ge, Se);
2830
+ Ce = s.data.session, Se = s.data.userID, d == "true" && Se && Se.length && Ce && Ce.length > 0 && qe(Ce, Se);
2831
2831
  break;
2832
2832
  case "UpdateFavoredList":
2833
2833
  b === "FAVORITES" && xe(s.data.url, s.data.sessionID);
@@ -2855,7 +2855,7 @@ function qi(i, e, a) {
2855
2855
  );
2856
2856
  }
2857
2857
  ));
2858
- }, Ga = () => {
2858
+ }, Ca = () => {
2859
2859
  O && (a(29, I = O.games.items), I.forEach((s) => {
2860
2860
  s.isFavorite = H(s.id);
2861
2861
  }));
@@ -2904,7 +2904,7 @@ function qi(i, e, a) {
2904
2904
  }).then((A) => A.json()).then((A) => {
2905
2905
  j = A.items, me ? (j.forEach((E) => {
2906
2906
  V.includes(E.id) || V.push(E.id);
2907
- }), Ga()) : j.forEach((E) => {
2907
+ }), Ca()) : j.forEach((E) => {
2908
2908
  E.isFavorite = H(E.id);
2909
2909
  });
2910
2910
  const R = Ne(j)?.length;
@@ -3007,20 +3007,20 @@ function qi(i, e, a) {
3007
3007
  });
3008
3008
  }
3009
3009
  return i.$$set = (s) => {
3010
- "endpoint" in s && a(3, t = s.endpoint), "datasource" in s && a(4, l = s.datasource), "lang" in s && a(5, r = s.lang), "session" in s && a(6, m = s.session), "userid" in s && a(7, c = s.userid), "favorites" in s && a(8, d = s.favorites), "mbsource" in s && a(9, _ = s.mbsource), "clientstyling" in s && a(10, p = s.clientstyling), "clientstylingurl" in s && a(11, v = s.clientstylingurl), "translationurl" in s && a(12, w = s.translationurl), "currency" in s && a(13, M = s.currency), "categoryid" in s && a(0, b = s.categoryid), "showgamename" in s && a(14, g = s.showgamename), "livecasino" in s && a(15, u = s.livecasino), "gamepagemodalurl" in s && a(16, W = s.gamepagemodalurl), "integratedgameframedesktop" in s && a(17, P = s.integratedgameframedesktop), "integratedgameframemobile" in s && a(18, y = s.integratedgameframemobile), "casinomygames" in s && a(19, re = s.casinomygames), "addfilterselector" in s && a(1, be = s.addfilterselector), "addsortingselector" in s && a(2, we = s.addsortingselector), "filterbylogo" in s && a(20, Je = s.filterbylogo), "casinogamesgridslider" in s && a(21, Ye = s.casinogamesgridslider), "fetchviaevent" in s && a(48, me = s.fetchviaevent), "showallpage" in s && a(49, Ee = s.showallpage), "actionevent" in s && a(50, Ae = s.actionevent), "displayedgamecount" in s && a(51, ye = s.displayedgamecount), "showallbuttongamescount" in s && a(52, ke = s.showallbuttongamescount), "lobbyscreen" in s && a(53, Re = s.lobbyscreen), "usesinglevendorfilter" in s && a(22, Ce = s.usesinglevendorfilter), "visiblegames" in s && a(54, je = s.visiblegames), "requiredicon" in s && a(55, Le = s.requiredicon);
3010
+ "endpoint" in s && a(3, t = s.endpoint), "datasource" in s && a(4, l = s.datasource), "lang" in s && a(5, r = s.lang), "session" in s && a(6, m = s.session), "userid" in s && a(7, c = s.userid), "favorites" in s && a(8, d = s.favorites), "mbsource" in s && a(9, _ = s.mbsource), "clientstyling" in s && a(10, p = s.clientstyling), "clientstylingurl" in s && a(11, v = s.clientstylingurl), "translationurl" in s && a(12, w = s.translationurl), "currency" in s && a(13, M = s.currency), "categoryid" in s && a(0, b = s.categoryid), "showgamename" in s && a(14, g = s.showgamename), "livecasino" in s && a(15, u = s.livecasino), "gamepagemodalurl" in s && a(16, W = s.gamepagemodalurl), "integratedgameframedesktop" in s && a(17, P = s.integratedgameframedesktop), "integratedgameframemobile" in s && a(18, y = s.integratedgameframemobile), "casinomygames" in s && a(19, re = s.casinomygames), "addfilterselector" in s && a(1, be = s.addfilterselector), "addsortingselector" in s && a(2, we = s.addsortingselector), "filterbylogo" in s && a(20, Je = s.filterbylogo), "casinogamesgridslider" in s && a(21, Ye = s.casinogamesgridslider), "fetchviaevent" in s && a(48, me = s.fetchviaevent), "showallpage" in s && a(49, Ee = s.showallpage), "actionevent" in s && a(50, Ae = s.actionevent), "displayedgamecount" in s && a(51, ye = s.displayedgamecount), "showallbuttongamescount" in s && a(52, ke = s.showallbuttongamescount), "lobbyscreen" in s && a(53, Re = s.lobbyscreen), "usesinglevendorfilter" in s && a(22, Ge = s.usesinglevendorfilter), "visiblegames" in s && a(54, je = s.visiblegames), "requiredicon" in s && a(55, Le = s.requiredicon);
3011
3011
  }, i.$$.update = () => {
3012
3012
  i.$$.dirty[0] & /*lang*/
3013
3013
  32 && r && Ra(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
3014
3014
  57 | i.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
3015
- 3276800 && (me === "false" || me === "") && t && r && b && l && ye && ke && Ca(b, ye, ke), i.$$.dirty[0] & /*favorites, endpoint, session, userid*/
3015
+ 3276800 && (me === "false" || me === "") && t && r && b && l && ye && ke && Ga(b, ye, ke), i.$$.dirty[0] & /*favorites, endpoint, session, userid*/
3016
3016
  456 && d === "true" && t && m && c && qe(m, c), i.$$.dirty[0] & /*thumbnailContainer*/
3017
3017
  16777216 | i.$$.dirty[1] & /*dataloaded*/
3018
3018
  33554432 && Ve && he && Aa(), i.$$.dirty[0] & /*lang, categoryid*/
3019
3019
  33 && r && b && Na(), i.$$.dirty[0] & /*translationurl*/
3020
3020
  4096 && w && wa(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
3021
- 8389632 && p && J && ei(J, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
3022
- 8390656 && v && J && ai(J, v), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
3023
- 8389120 && _ && J && $a(J, `${_}.Style`), i.$$.dirty[0] & /*mbsource, translationurl*/
3021
+ 8389632 && p && J && ni(J, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
3022
+ 8390656 && v && J && oi(J, v), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
3023
+ 8389120 && _ && J && ti(J, `${_}.Style`), i.$$.dirty[0] & /*mbsource, translationurl*/
3024
3024
  4608 && _ && !w && li(`${_}.Translation`, ba, He);
3025
3025
  }, [
3026
3026
  b,
@@ -3045,7 +3045,7 @@ function qi(i, e, a) {
3045
3045
  re,
3046
3046
  Je,
3047
3047
  Ye,
3048
- Ce,
3048
+ Ge,
3049
3049
  J,
3050
3050
  he,
3051
3051
  Q,
@@ -3096,7 +3096,7 @@ class Bi extends Wa {
3096
3096
  e,
3097
3097
  qi,
3098
3098
  Vi,
3099
- Ka,
3099
+ Ya,
3100
3100
  {
3101
3101
  endpoint: 3,
3102
3102
  datasource: 4,
@@ -3321,7 +3321,7 @@ class Bi extends Wa {
3321
3321
  this.$$set({ requiredicon: e }), N();
3322
3322
  }
3323
3323
  }
3324
- Ya(Bi, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {}, requiredicon: {} }, [], [], !0);
3324
+ Ka(Bi, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {}, requiredicon: {} }, [], [], !0);
3325
3325
  export {
3326
3326
  Bi as default
3327
3327
  };
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, c as te, S as se, i as ae, s as ne, f as r, b as ie, e as P, j as M, l as L, m as K, n as J, o as A, p as oe, q as re, r as le, y as me, z as ge, A as ce, B as ue, h as n, u as de, w as fe, G as he } from "./CasinoFilter-SLFszfcy.js";
2
- function Y(a, e) {
1
+ import { a as $, $ as ee, G as te, S as se, i as ae, s as ne, f as r, b as ie, n as Y, d as L, j as A, k as K, l as P, g as M, o as oe, p as re, w as le, x as me, q as ge, u as ce, e as n, I as ue, D as de, E as fe, F as he } from "./CasinoFilter-Bewb2r1U.js";
2
+ function B(a, e) {
3
3
  $(a, e);
4
4
  }
5
5
  function ye(a) {
@@ -73,7 +73,7 @@ if (typeof window < "u") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySectionNd-dZ6Vdpc-.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySectionNd-DSKNbEjF.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
78
78
  });
79
79
  }
@@ -182,7 +182,7 @@ function ve(a) {
182
182
  );
183
183
  },
184
184
  m(s, i) {
185
- L(s, e, i);
185
+ A(s, e, i);
186
186
  },
187
187
  p(s, i) {
188
188
  i[0] & /*session*/
@@ -302,7 +302,7 @@ function ve(a) {
302
302
  );
303
303
  },
304
304
  d(s) {
305
- s && A(e);
305
+ s && L(e);
306
306
  }
307
307
  };
308
308
  }
@@ -313,18 +313,18 @@ function we(a) {
313
313
  ), i;
314
314
  return {
315
315
  c() {
316
- e = P("p"), i = de(s), M(e, "class", "SearchLoading");
316
+ e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
317
317
  },
318
318
  m(m, l) {
319
- L(m, e, l), K(e, i);
319
+ A(m, e, l), K(e, i);
320
320
  },
321
321
  p(m, l) {
322
322
  l[0] & /*$_*/
323
323
  2097152 && s !== (s = /*$_*/
324
- m[21]("noGames") + "") && fe(i, s);
324
+ m[21]("noGames") + "") && ge(i, s);
325
325
  },
326
326
  d(m) {
327
- m && A(e);
327
+ m && L(e);
328
328
  }
329
329
  };
330
330
  }
@@ -342,35 +342,35 @@ function _e(a) {
342
342
  e = P("div"), s = P("div"), l.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
343
343
  },
344
344
  m(g, c) {
345
- L(g, e, c), K(e, s), l.m(s, null), a[24](e);
345
+ A(g, e, c), K(e, s), l.m(s, null), a[24](e);
346
346
  },
347
347
  p(g, c) {
348
348
  m === (m = i(g)) && l ? l.p(g, c) : (l.d(1), l = m(g), l && (l.c(), l.m(s, null)));
349
349
  },
350
- i: J,
351
- o: J,
350
+ i: Y,
351
+ o: Y,
352
352
  d(g) {
353
- g && A(e), l.d(), a[24](null);
353
+ g && L(e), l.d(), a[24](null);
354
354
  }
355
355
  };
356
356
  }
357
357
  function Ge(a, e, s) {
358
358
  let i;
359
- oe(a, he, (t) => s(21, i = t));
360
- let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: C } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
359
+ oe(a, ue, (t) => s(21, i = t));
360
+ let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: C } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
361
361
  const V = () => {
362
362
  fetch(k).then((o) => o.json()).then((o) => {
363
363
  Object.keys(o).forEach((d) => {
364
- Y(d, o[d]);
364
+ B(d, o[d]);
365
365
  });
366
366
  }).catch((o) => {
367
367
  console.log(o);
368
368
  });
369
369
  };
370
370
  Object.keys(H).forEach((t) => {
371
- Y(t, H[t]);
371
+ B(t, H[t]);
372
372
  });
373
- let N = [], q, I = !1, u;
373
+ let N = [], q, z = !1, u;
374
374
  const W = (t) => {
375
375
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
376
376
  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);
@@ -378,8 +378,8 @@ function Ge(a, e, s) {
378
378
  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 = G ? o : o.href, new Promise((f, y) => {
379
379
  fetch(q).then((h) => h.json()).then((h) => {
380
380
  h.items = h.items.filter((x) => {
381
- let B = !0;
382
- return x.gameCode == "OddsMatrix2" && (h.count--, B = !1), B;
381
+ let J = !0;
382
+ return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
383
383
  }), f(h);
384
384
  }).catch((h) => {
385
385
  console.error(h), y(h);
@@ -388,7 +388,7 @@ function Ge(a, e, s) {
388
388
  }, X = () => {
389
389
  W({
390
390
  limit: 100,
391
- device: me(Q),
391
+ device: le(Q),
392
392
  rounds: E
393
393
  }).then((t) => {
394
394
  if (t.count > 0) {
@@ -400,7 +400,7 @@ function Ge(a, e, s) {
400
400
  N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(C))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
401
401
  });
402
402
  } else
403
- s(20, I = !0);
403
+ s(20, z = !0);
404
404
  });
405
405
  }, Z = () => {
406
406
  ye(c);
@@ -408,18 +408,18 @@ function Ge(a, e, s) {
408
408
  re(() => () => {
409
409
  });
410
410
  function p(t) {
411
- ge[t ? "unshift" : "push"](() => {
411
+ me[t ? "unshift" : "push"](() => {
412
412
  u = t, s(19, u);
413
413
  });
414
414
  }
415
415
  return a.$$set = (t) => {
416
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, F = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, C = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, k = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
416
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, C = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, k = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(18, I = t.fetchviaevent);
417
417
  }, a.$$.update = () => {
418
418
  a.$$.dirty[0] & /*endpoint, userid, lang*/
419
419
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
420
- 524416 && w && u && ce(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
421
- 524544 && _ && u && ue(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
422
- 524352 && v && u && le(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
420
+ 524416 && w && u && de(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
421
+ 524544 && _ && u && fe(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
422
+ 524352 && v && u && he(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
423
423
  65536 && k && V(), a.$$.dirty[0] & /*lang*/
424
424
  8 && c && Z();
425
425
  }, [
@@ -433,17 +433,17 @@ function Ge(a, e, s) {
433
433
  w,
434
434
  _,
435
435
  G,
436
- O,
437
436
  F,
437
+ O,
438
438
  R,
439
439
  T,
440
440
  C,
441
441
  U,
442
442
  k,
443
443
  j,
444
- z,
445
- u,
446
444
  I,
445
+ u,
446
+ z,
447
447
  i,
448
448
  S,
449
449
  E,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-Dcqa8XDU.cjs");function U(n,e){t.addMessages(n,e)}function Q(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"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-CMM25Znw.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function V(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 W(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,u){return r[20]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.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),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=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:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="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=[],F,T=!1,c;const Y=s=>{let m=new URL(`${l}/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),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{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(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),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(20,T=!0)})},B=()=>{Q(u)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=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,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&p(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&B()},[l,o,r,u,j,h,y,b,v,w,M,E,L,A,N,O,G,P,D,c,T,i,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},V,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(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("./CasinoFilter-kyZEUL_7.cjs");function U(n,e){t.addMessages(n,e)}function Q(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"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-CnEKVAtB.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function V(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 W(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,u){return r[20]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.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),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=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:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="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=[],F,T=!1,c;const Y=s=>{let m=new URL(`${l}/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),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{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(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),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(20,T=!0)})},B=()=>{Q(u)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=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,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&p(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&B()},[l,o,r,u,j,h,y,b,v,w,M,E,L,A,N,O,G,P,D,c,T,i,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},V,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(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;