@everymatrix/casino-most-played-section 1.54.2 → 1.54.6

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.
@@ -3778,7 +3778,7 @@ const Ga = "blackjack", Da = "roulette", Yn = "doubleballroulette", ku = 7, Su =
3778
3778
  function Gu(e, t, a) {
3779
3779
  let n;
3780
3780
  ni(e, si, (l) => a(35, n = l));
3781
- let { session: r = "" } = t, { userid: i = "" } = t, { lang: s = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { favorites: _ = "" } = t, { gamethumbnail: m = "" } = t, { gamename: y = "" } = t, { gamevendor: w = "" } = t, { gamelaunchurl: K = "" } = t, { gameid: Y = "" } = t, { gameisnew: te = "" } = t, { gametag: he = "" } = t, { gamefunmode: q = !1 } = t, { gamefavorite: ke = !1 } = t, { gamecellsize: He = "" } = t, { showfavoredcategory: Be = !1 } = t, { showgamename: ze = "" } = t, { currency: Q = "" } = t, { gamepagemodalurl: Se = "false" } = t, { endpoint: me = "" } = t, { categoryid: se = "" } = t, { livelobbyendpoint: ge = "" } = t, { connectlive: W = "" } = t, { visibilityconnect: A = "" } = t, { integratedgameframedesktop: B = "false" } = t, { integratedgameframemobile: z = "false" } = t, { casinogamesgridslider: st = "false" } = t, pe = !1, V, J = !1, g, D = window.navigator.userAgent, Ne, O, Pe, Ja, Xt, Qt = "HH:mm", Ve, $t = {}, ot, qa = [], Xa = "EUR", ea, ta, aa, lt, na, ra, ia, Gt, sa, oa, Qa, qe, la, oe = "", ut, $a, ua;
3781
+ let { session: r = "" } = t, { userid: i = "" } = t, { lang: s = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: c = "" } = t, { favorites: _ = "" } = t, { gamethumbnail: m = "" } = t, { gamename: y = "" } = t, { gamevendor: w = "" } = t, { gamelaunchurl: K = "" } = t, { gameid: Y = "" } = t, { gameisnew: te = !1 } = t, { gametag: he = "" } = t, { gamefunmode: q = !1 } = t, { gamefavorite: ke = !1 } = t, { gamecellsize: He = "" } = t, { showfavoredcategory: Be = !1 } = t, { showgamename: ze = "" } = t, { currency: Q = "" } = t, { gamepagemodalurl: Se = "false" } = t, { endpoint: me = "" } = t, { categoryid: se = "" } = t, { livelobbyendpoint: ge = "" } = t, { connectlive: W = "" } = t, { visibilityconnect: A = "" } = t, { integratedgameframedesktop: B = "false" } = t, { integratedgameframemobile: z = "false" } = t, { casinogamesgridslider: st = "false" } = t, pe = !1, V, J = !1, g, D = window.navigator.userAgent, Ne, O, Pe, Ja, Xt, Qt = "HH:mm", Ve, $t = {}, ot, qa = [], Xa = "EUR", ea, ta, aa, lt, na, ra, ia, Gt, sa, oa, Qa, qe, la, oe = "", ut, $a, ua;
3782
3782
  const Lr = [Ga], en = [Da, Yn], tn = {
3783
3783
  "01": "Yellow",
3784
3784
  "02": "Blue",
@@ -4405,7 +4405,7 @@ class Mr extends Qr {
4405
4405
  return this.$$.ctx[61];
4406
4406
  }
4407
4407
  }
4408
- ei(Mr, { session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, favorites: {}, gamethumbnail: {}, gamename: {}, gamevendor: {}, gamelaunchurl: {}, gameid: {}, gameisnew: {}, gametag: {}, gamefunmode: { type: "Boolean" }, gamefavorite: { type: "Boolean" }, gamecellsize: {}, showfavoredcategory: { type: "Boolean" }, showgamename: {}, currency: {}, gamepagemodalurl: {}, endpoint: {}, categoryid: {}, livelobbyendpoint: {}, connectlive: {}, visibilityconnect: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinogamesgridslider: {} }, [], ["MONEY_WHEEL_COLOR_MAP", "ROULETTE_COLOR_MAP"], !0);
4408
+ ei(Mr, { session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, favorites: {}, gamethumbnail: {}, gamename: {}, gamevendor: {}, gamelaunchurl: {}, gameid: {}, gameisnew: { type: "Boolean" }, gametag: {}, gamefunmode: { type: "Boolean" }, gamefavorite: { type: "Boolean" }, gamecellsize: {}, showfavoredcategory: { type: "Boolean" }, showgamename: {}, currency: {}, gamepagemodalurl: {}, endpoint: {}, categoryid: {}, livelobbyendpoint: {}, connectlive: {}, visibilityconnect: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinogamesgridslider: {} }, [], ["MONEY_WHEEL_COLOR_MAP", "ROULETTE_COLOR_MAP"], !0);
4409
4409
  const Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4410
4410
  __proto__: null,
4411
4411
  default: Mr
@@ -1,10 +1,10 @@
1
- import { a as ja, $ as La, S as Pa, i as Da, f as N, c as Ua, s as Oa, b as Ha, e as C, h, k as y, n as _e, o as S, p as Va, q as qa, D as Oe, w as Wa, x as oe, d as Y, v as ve, l as k, u as Z, A as Ba, t as j, m as H, y as le, E as fa, F as n, z as Ya, C as x, r as Ja, G as ga } from "./CasinoFilter-BYeEBK-a.js";
2
- import { h as Ie } from "./CasinoGameThumbnail-DFBg4efU.js";
1
+ import { a as La, $ as Ta, S as Pa, i as Da, f as N, c as Ua, s as Oa, b as Ha, e as C, h, k as y, n as _e, o as S, p as Va, q as qa, D as Oe, w as Wa, x as oe, d as Y, v as ve, l as k, u as Z, A as Ba, t as L, m as H, y as le, E as fa, F as n, z as Ya, C as $, r as Ja, G as ga } from "./CasinoFilter-BYeEBK-a.js";
2
+ import { h as Ie } from "./CasinoGameThumbnail-JaA-bmMs.js";
3
3
  function Xe(t, a) {
4
- ja(t, a);
4
+ La(t, a);
5
5
  }
6
6
  function Ka(t) {
7
- La.set(t);
7
+ Ta.set(t);
8
8
  }
9
9
  const Ze = {
10
10
  en: {
@@ -217,7 +217,7 @@ if (typeof window < "u") {
217
217
  }
218
218
  };
219
219
  };
220
- customElements.define = t(customElements.define), import("./CasinoGameThumbnail-DFBg4efU.js").then((a) => a.C).then(({ default: a }) => {
220
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnail-JaA-bmMs.js").then((a) => a.C).then(({ default: a }) => {
221
221
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
222
222
  });
223
223
  }
@@ -434,7 +434,7 @@ function ea(t) {
434
434
  ), g, p;
435
435
  return {
436
436
  c() {
437
- a = C("div"), i = C("h3"), l = j(o), s = Y(), m = C("span"), u = j("("), g = j(c), p = j(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
437
+ a = C("div"), i = C("h3"), l = L(o), s = Y(), m = C("span"), u = L("("), g = L(c), p = L(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
438
438
  },
439
439
  m(v, G) {
440
440
  y(v, a, G), k(a, i), k(i, l), k(i, s), k(i, m), k(m, u), k(m, g), k(m, p), t[55](i);
@@ -458,7 +458,7 @@ function ai(t) {
458
458
  ), o;
459
459
  return {
460
460
  c() {
461
- a = C("p"), o = j(i);
461
+ a = C("p"), o = L(i);
462
462
  },
463
463
  m(l, s) {
464
464
  y(l, a, s), k(a, o);
@@ -534,31 +534,31 @@ function aa(t) {
534
534
  let a, i, o, l, s, m, u, c, g, p, v, G = (
535
535
  /*$_*/
536
536
  t[41]("noFavoritesTitle") + ""
537
- ), I, w, T;
538
- function d(L, b) {
537
+ ), I, w, R;
538
+ function d(T, b) {
539
539
  return ve(
540
540
  /*userAgent*/
541
- L[42]
541
+ T[42]
542
542
  ) ? oi : ni;
543
543
  }
544
544
  let q = d(t)(t);
545
545
  return {
546
546
  c() {
547
- a = C("p"), i = x("svg"), o = x("rect"), l = x("rect"), s = x("circle"), m = x("path"), u = x("path"), c = x("path"), g = x("path"), p = Y(), v = C("span"), I = j(G), w = Y(), q.c(), T = Y(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(u, "d", "M78 43h11v13H78V43z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(g, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
547
+ a = C("p"), i = $("svg"), o = $("rect"), l = $("rect"), s = $("circle"), m = $("path"), u = $("path"), c = $("path"), g = $("path"), p = Y(), v = C("span"), I = L(G), w = Y(), q.c(), R = Y(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(u, "d", "M78 43h11v13H78V43z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(g, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
548
548
  /*userAgent*/
549
549
  t[42]
550
550
  ) ? "NoFavoriteGamesMobile" : ""));
551
551
  },
552
- m(L, b) {
553
- y(L, a, b), k(a, i), k(i, o), k(i, l), k(i, s), k(i, m), k(i, u), k(i, c), k(i, g), k(a, p), k(a, v), k(v, I), k(a, w), q.m(a, null), k(a, T);
552
+ m(T, b) {
553
+ y(T, a, b), k(a, i), k(i, o), k(i, l), k(i, s), k(i, m), k(i, u), k(i, c), k(i, g), k(a, p), k(a, v), k(v, I), k(a, w), q.m(a, null), k(a, R);
554
554
  },
555
- p(L, b) {
555
+ p(T, b) {
556
556
  b[1] & /*$_*/
557
557
  1024 && G !== (G = /*$_*/
558
- L[41]("noFavoritesTitle") + "") && H(I, G), q.p(L, b);
558
+ T[41]("noFavoritesTitle") + "") && H(I, G), q.p(T, b);
559
559
  },
560
- d(L) {
561
- L && S(a), q.d();
560
+ d(T) {
561
+ T && S(a), q.d();
562
562
  }
563
563
  };
564
564
  }
@@ -569,7 +569,7 @@ function ni(t) {
569
569
  ), o;
570
570
  return {
571
571
  c() {
572
- a = C("span"), o = j(i), h(a, "class", "NoFavoriteText");
572
+ a = C("span"), o = L(i), h(a, "class", "NoFavoriteText");
573
573
  },
574
574
  m(l, s) {
575
575
  y(l, a, s), k(a, o);
@@ -591,7 +591,7 @@ function oi(t) {
591
591
  ), o;
592
592
  return {
593
593
  c() {
594
- a = C("span"), o = j(i), h(a, "class", "NoFavoriteText");
594
+ a = C("span"), o = L(i), h(a, "class", "NoFavoriteText");
595
595
  },
596
596
  m(l, s) {
597
597
  y(l, a, s), k(a, o);
@@ -672,7 +672,7 @@ function li(t) {
672
672
  };
673
673
  }
674
674
  function si(t) {
675
- let a, i, o, l, s, m, u, c, g, p, v, G, I, w, T;
675
+ let a, i, o, l, s, m, u, c, g, p, v, G, I, w, R;
676
676
  return {
677
677
  c() {
678
678
  a = C("casino-game-thumbnail"), n(a, "class", i = "" + (P + /*gameprops*/
@@ -718,11 +718,10 @@ function si(t) {
718
718
  t[91].gameModel.name), n(a, "gamevendor", m = /*gameprops*/
719
719
  t[91].gameModel.vendor.displayName), n(a, "gameLaunchUrl", u = /*gameprops*/
720
720
  t[91].launchUrl), n(a, "gameisnew", c = /*gameprops*/
721
- t[91].gameModel.isNew), n(a, "gametag", g = /*gameprops*/
722
- t[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
721
+ t[91]?.gameModel?.isNew), n(a, "gametag", g = /*addGameTag*/
723
722
  t[43](
724
723
  /*gameprops*/
725
- t[91].gameModel.advancedTags
724
+ t[91].gameModel?.advancedTags
726
725
  )), n(a, "gamecellsize", p = /*gameprops*/
727
726
  t[91].cellSize), n(a, "gameid", v = /*gameprops*/
728
727
  t[91].gameModel.id), n(a, "gamefunmode", G = /*gameprops*/
@@ -751,7 +750,7 @@ function si(t) {
751
750
  "currency",
752
751
  /*currency*/
753
752
  t[12]
754
- ), n(a, "livelobbyendpoint", T = /*gameprops*/
753
+ ), n(a, "livelobbyendpoint", R = /*gameprops*/
755
754
  t[91].gameModel.details ? (
756
755
  /*gameprops*/
757
756
  t[91].gameModel.launchUrl
@@ -852,12 +851,11 @@ function si(t) {
852
851
  512 && u !== (u = /*gameprops*/
853
852
  d[91].launchUrl) && n(a, "gameLaunchUrl", u), f[1] & /*favoriteGamesData*/
854
853
  512 && c !== (c = /*gameprops*/
855
- d[91].gameModel.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
856
- 512 && g !== (g = /*gameprops*/
857
- d[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
854
+ d[91]?.gameModel?.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
855
+ 512 && g !== (g = /*addGameTag*/
858
856
  d[43](
859
857
  /*gameprops*/
860
- d[91].gameModel.advancedTags
858
+ d[91].gameModel?.advancedTags
861
859
  )) && n(a, "gametag", g), f[1] & /*favoriteGamesData*/
862
860
  512 && p !== (p = /*gameprops*/
863
861
  d[91].cellSize) && n(a, "gamecellsize", p), f[1] & /*favoriteGamesData*/
@@ -896,11 +894,11 @@ function si(t) {
896
894
  /*currency*/
897
895
  d[12]
898
896
  ), f[1] & /*favoriteGamesData*/
899
- 512 && T !== (T = /*gameprops*/
897
+ 512 && R !== (R = /*gameprops*/
900
898
  d[91].gameModel.details ? (
901
899
  /*gameprops*/
902
900
  d[91].gameModel.launchUrl
903
- ) : "") && n(a, "livelobbyendpoint", T), f[0] & /*clientstyling*/
901
+ ) : "") && n(a, "livelobbyendpoint", R), f[0] & /*clientstyling*/
904
902
  512 && n(
905
903
  a,
906
904
  "clientstyling",
@@ -976,7 +974,7 @@ function ri(t) {
976
974
  };
977
975
  }
978
976
  function na(t) {
979
- let a, i, o, l, s, m, u, c, g, p, v, G, I, w, T;
977
+ let a, i, o, l, s, m, u, c, g, p, v, G, I, w, R;
980
978
  return {
981
979
  c() {
982
980
  a = C("casino-game-thumbnail"), n(a, "class", i = "" + (P + /*gameprops*/
@@ -1017,11 +1015,10 @@ function na(t) {
1017
1015
  t[91].gameModel.name), n(a, "gamevendor", m = /*gameprops*/
1018
1016
  t[91].gameModel.vendor.displayName), n(a, "gameLaunchUrl", u = /*gameprops*/
1019
1017
  t[91].launchUrl), n(a, "gameisnew", c = /*gameprops*/
1020
- t[91].gameModel.isNew), n(a, "gametag", g = /*gameprops*/
1021
- t[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
1018
+ t[91].gameModel?.isNew), n(a, "gametag", g = /*addGameTag*/
1022
1019
  t[43](
1023
1020
  /*gameprops*/
1024
- t[91].gameModel.advancedTags
1021
+ t[91].gameModel?.advancedTags
1025
1022
  )), n(a, "gamecellsize", p = /*gameprops*/
1026
1023
  t[91].cellSize), n(a, "gameid", v = /*gameprops*/
1027
1024
  t[91].gameModel.id), n(a, "gamefunmode", G = /*gameprops*/
@@ -1055,7 +1052,7 @@ function na(t) {
1055
1052
  "currency",
1056
1053
  /*currency*/
1057
1054
  t[12]
1058
- ), n(a, "livelobbyendpoint", T = /*gameprops*/
1055
+ ), n(a, "livelobbyendpoint", R = /*gameprops*/
1059
1056
  t[91].gameModel.details ? (
1060
1057
  /*gameprops*/
1061
1058
  t[91].gameModel.launchUrl
@@ -1150,12 +1147,11 @@ function na(t) {
1150
1147
  512 && u !== (u = /*gameprops*/
1151
1148
  d[91].launchUrl) && n(a, "gameLaunchUrl", u), f[1] & /*favoriteGamesData*/
1152
1149
  512 && c !== (c = /*gameprops*/
1153
- d[91].gameModel.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
1154
- 512 && g !== (g = /*gameprops*/
1155
- d[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
1150
+ d[91].gameModel?.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
1151
+ 512 && g !== (g = /*addGameTag*/
1156
1152
  d[43](
1157
1153
  /*gameprops*/
1158
- d[91].gameModel.advancedTags
1154
+ d[91].gameModel?.advancedTags
1159
1155
  )) && n(a, "gametag", g), f[1] & /*favoriteGamesData*/
1160
1156
  512 && p !== (p = /*gameprops*/
1161
1157
  d[91].cellSize) && n(a, "gamecellsize", p), f[1] & /*favoriteGamesData*/
@@ -1200,11 +1196,11 @@ function na(t) {
1200
1196
  /*currency*/
1201
1197
  d[12]
1202
1198
  ), f[1] & /*favoriteGamesData*/
1203
- 512 && T !== (T = /*gameprops*/
1199
+ 512 && R !== (R = /*gameprops*/
1204
1200
  d[91].gameModel.details ? (
1205
1201
  /*gameprops*/
1206
1202
  d[91].gameModel.launchUrl
1207
- ) : "") && n(a, "livelobbyendpoint", T), f[0] & /*clientstyling*/
1203
+ ) : "") && n(a, "livelobbyendpoint", R), f[0] & /*clientstyling*/
1208
1204
  512 && n(
1209
1205
  a,
1210
1206
  "clientstyling",
@@ -1288,7 +1284,7 @@ function la(t) {
1288
1284
  let u = m(t), c = u(t);
1289
1285
  return {
1290
1286
  c() {
1291
- a = C("div"), i = C("h3"), l = j(o), s = Y(), c.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1287
+ a = C("div"), i = C("h3"), l = L(o), s = Y(), c.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1292
1288
  },
1293
1289
  m(g, p) {
1294
1290
  y(g, a, p), k(a, i), k(i, l), t[51](i), k(a, s), c.m(a, null);
@@ -1343,7 +1339,7 @@ function ui(t) {
1343
1339
  ), u, c, g, p;
1344
1340
  return {
1345
1341
  c() {
1346
- a = C("a"), i = C("span"), l = j(o), s = j(" ("), u = j(m), c = j(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1342
+ a = C("a"), i = C("span"), l = L(o), s = L(" ("), u = L(m), c = L(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1347
1343
  },
1348
1344
  m(v, G) {
1349
1345
  y(v, a, G), k(a, i), k(i, l), k(i, s), k(i, u), k(i, c), g || (p = Ja(
@@ -1560,7 +1556,7 @@ function ci(t) {
1560
1556
  ), o;
1561
1557
  return {
1562
1558
  c() {
1563
- a = C("p"), o = j(i), h(a, "class", "NoSearchResults");
1559
+ a = C("p"), o = L(i), h(a, "class", "NoSearchResults");
1564
1560
  },
1565
1561
  m(l, s) {
1566
1562
  y(l, a, s), k(a, o);
@@ -1643,7 +1639,7 @@ function gi(t) {
1643
1639
  };
1644
1640
  }
1645
1641
  function di(t) {
1646
- let a, i, o, l, s, m, u, c, g, p, v, G, I, w, T, d = (
1642
+ let a, i, o, l, s, m, u, c, g, p, v, G, I, w, R, d = (
1647
1643
  /*index*/
1648
1644
  t[93]
1649
1645
  );
@@ -1694,8 +1690,7 @@ function di(t) {
1694
1690
  t[91].name), n(a, "gamevendor", m = /*gameprops*/
1695
1691
  t[91].vendor.displayName), n(a, "gameLaunchUrl", u = /*gameprops*/
1696
1692
  t[91].launchUrl), n(a, "gameisnew", c = /*gameprops*/
1697
- t[91].isNew), n(a, "gametag", g = /*gameprops*/
1698
- t[91].advancedTags?.length > 0 && /*addGameTag*/
1693
+ t[91].isNew), n(a, "gametag", g = /*addGameTag*/
1699
1694
  t[43](
1700
1695
  /*gameprops*/
1701
1696
  t[91].advancedTags
@@ -1727,7 +1722,7 @@ function di(t) {
1727
1722
  "currency",
1728
1723
  /*currency*/
1729
1724
  t[12]
1730
- ), n(a, "livelobbyendpoint", T = /*gameprops*/
1725
+ ), n(a, "livelobbyendpoint", R = /*gameprops*/
1731
1726
  t[91].details ? (
1732
1727
  /*gameprops*/
1733
1728
  t[91].href
@@ -1773,11 +1768,11 @@ function di(t) {
1773
1768
  t[20]
1774
1769
  );
1775
1770
  },
1776
- m(L, b) {
1777
- y(L, a, b), f();
1771
+ m(T, b) {
1772
+ y(T, a, b), f();
1778
1773
  },
1779
- p(L, b) {
1780
- t = L, b[0] & /*session*/
1774
+ p(T, b) {
1775
+ t = T, b[0] & /*session*/
1781
1776
  64 && n(
1782
1777
  a,
1783
1778
  "session",
@@ -1828,8 +1823,7 @@ function di(t) {
1828
1823
  t[91].launchUrl) && n(a, "gameLaunchUrl", u), b[0] & /*shownCategoryData*/
1829
1824
  134217728 && c !== (c = /*gameprops*/
1830
1825
  t[91].isNew) && n(a, "gameisnew", c), b[0] & /*shownCategoryData*/
1831
- 134217728 && g !== (g = /*gameprops*/
1832
- t[91].advancedTags?.length > 0 && /*addGameTag*/
1826
+ 134217728 && g !== (g = /*addGameTag*/
1833
1827
  t[43](
1834
1828
  /*gameprops*/
1835
1829
  t[91].advancedTags
@@ -1872,11 +1866,11 @@ function di(t) {
1872
1866
  /*currency*/
1873
1867
  t[12]
1874
1868
  ), b[0] & /*shownCategoryData*/
1875
- 134217728 && T !== (T = /*gameprops*/
1869
+ 134217728 && R !== (R = /*gameprops*/
1876
1870
  t[91].details ? (
1877
1871
  /*gameprops*/
1878
1872
  t[91].href
1879
- ) : "") && n(a, "livelobbyendpoint", T), b[0] & /*clientstyling*/
1873
+ ) : "") && n(a, "livelobbyendpoint", R), b[0] & /*clientstyling*/
1880
1874
  512 && n(
1881
1875
  a,
1882
1876
  "clientstyling",
@@ -1928,8 +1922,8 @@ function di(t) {
1928
1922
  t[93] && (q(), d = /*index*/
1929
1923
  t[93], f());
1930
1924
  },
1931
- d(L) {
1932
- L && S(a), q();
1925
+ d(T) {
1926
+ T && S(a), q();
1933
1927
  }
1934
1928
  };
1935
1929
  }
@@ -1959,7 +1953,7 @@ function hi(t) {
1959
1953
  ), o;
1960
1954
  return {
1961
1955
  c() {
1962
- a = C("h3"), o = j(i), h(a, "class", "StatusText");
1956
+ a = C("h3"), o = L(i), h(a, "class", "StatusText");
1963
1957
  },
1964
1958
  m(l, s) {
1965
1959
  y(l, a, s), k(a, o);
@@ -1981,7 +1975,7 @@ function pi(t) {
1981
1975
  ), o;
1982
1976
  return {
1983
1977
  c() {
1984
- a = C("h3"), o = j(i), h(a, "class", "StatusText");
1978
+ a = C("h3"), o = L(i), h(a, "class", "StatusText");
1985
1979
  },
1986
1980
  m(l, s) {
1987
1981
  y(l, a, s), k(a, o);
@@ -2003,7 +1997,7 @@ function _i(t) {
2003
1997
  ), o;
2004
1998
  return {
2005
1999
  c() {
2006
- a = C("h3"), o = j(i), h(a, "class", "StatusText");
2000
+ a = C("h3"), o = L(i), h(a, "class", "StatusText");
2007
2001
  },
2008
2002
  m(l, s) {
2009
2003
  y(l, a, s), k(a, o);
@@ -2082,7 +2076,7 @@ function ua(t) {
2082
2076
  ), o;
2083
2077
  return {
2084
2078
  c() {
2085
- a = C("p"), o = j(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2079
+ a = C("p"), o = L(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2086
2080
  /*userAgent*/
2087
2081
  t[42]
2088
2082
  ) ? "NoRecentSearchesMobile" : ""));
@@ -2101,7 +2095,7 @@ function ua(t) {
2101
2095
  };
2102
2096
  }
2103
2097
  function ca(t, a) {
2104
- let i, o, l, s, m, u, c, g, p, v, G, I, w, T;
2098
+ let i, o, l, s, m, u, c, g, p, v, G, I, w, R;
2105
2099
  return {
2106
2100
  key: t,
2107
2101
  first: null,
@@ -2149,8 +2143,7 @@ function ca(t, a) {
2149
2143
  a[91].name), n(i, "gamevendor", u = /*gameprops*/
2150
2144
  a[91].vendor.displayName), n(i, "gameLaunchUrl", c = /*gameprops*/
2151
2145
  a[91].launchUrl), n(i, "gameisnew", g = /*gameprops*/
2152
- a[91].isNew), n(i, "gametag", p = /*gameprops*/
2153
- a[91].advancedTags?.length > 0 && /*addGameTag*/
2146
+ a[91]?.isNew), n(i, "gametag", p = /*addGameTag*/
2154
2147
  a[43](
2155
2148
  /*gameprops*/
2156
2149
  a[91].advancedTags
@@ -2173,7 +2166,7 @@ function ca(t, a) {
2173
2166
  "currency",
2174
2167
  /*currency*/
2175
2168
  a[12]
2176
- ), n(i, "livelobbyendpoint", T = /*gameprops*/
2169
+ ), n(i, "livelobbyendpoint", R = /*gameprops*/
2177
2170
  a[91].details ? (
2178
2171
  /*gameprops*/
2179
2172
  a[91].href
@@ -2274,9 +2267,8 @@ function ca(t, a) {
2274
2267
  134217728 && c !== (c = /*gameprops*/
2275
2268
  a[91].launchUrl) && n(i, "gameLaunchUrl", c), f[0] & /*shownCategoryData*/
2276
2269
  134217728 && g !== (g = /*gameprops*/
2277
- a[91].isNew) && n(i, "gameisnew", g), f[0] & /*shownCategoryData*/
2278
- 134217728 && p !== (p = /*gameprops*/
2279
- a[91].advancedTags?.length > 0 && /*addGameTag*/
2270
+ a[91]?.isNew) && n(i, "gameisnew", g), f[0] & /*shownCategoryData*/
2271
+ 134217728 && p !== (p = /*addGameTag*/
2280
2272
  a[43](
2281
2273
  /*gameprops*/
2282
2274
  a[91].advancedTags
@@ -2307,11 +2299,11 @@ function ca(t, a) {
2307
2299
  /*currency*/
2308
2300
  a[12]
2309
2301
  ), f[0] & /*shownCategoryData*/
2310
- 134217728 && T !== (T = /*gameprops*/
2302
+ 134217728 && R !== (R = /*gameprops*/
2311
2303
  a[91].details ? (
2312
2304
  /*gameprops*/
2313
2305
  a[91].href
2314
- ) : "") && n(i, "livelobbyendpoint", T), f[0] & /*clientstyling*/
2306
+ ) : "") && n(i, "livelobbyendpoint", R), f[0] & /*clientstyling*/
2315
2307
  512 && n(
2316
2308
  i,
2317
2309
  "clientstyling",
@@ -2422,7 +2414,7 @@ let Si = 0;
2422
2414
  function Fi(t, a, i) {
2423
2415
  let o;
2424
2416
  Va(t, Ba, (r) => i(41, o = r));
2425
- let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: c = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: T = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: q = "false" } = a, { integratedgameframemobile: L = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Te = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, Re = !1, Se, Fe, $ = !0, qe = window.navigator.userAgent, A, z = [], J = !0, ee = 40, K = !1, Ge = !1, We = !1, re = !1, Ee = !1, Ae = !0, me = !1, ue, je, ce, fe = !1, ae, Ce = !1, ge = new Array(1e4), de = {}, Le = "", ie = "", Me, Pe, U, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2417
+ let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: c = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: R = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: q = "false" } = a, { integratedgameframemobile: T = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Re = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, Ee = !1, Se, Fe, ee = !0, qe = window.navigator.userAgent, A, z = [], J = !0, ae = 40, K = !1, Ge = !1, We = !1, re = !1, Ae = !1, je = !0, me = !1, ue, Le, ce, fe = !1, ie, Ce = !1, ge = new Array(1e4), de = {}, Te = "", te = "", Me, Pe, O, W = [], ze = new AbortController(), ne = { items: [], count: 0, name: "" };
2426
2418
  const da = () => {
2427
2419
  fetch(G).then((_) => _.json()).then((_) => {
2428
2420
  Object.keys(_).forEach((F) => {
@@ -2437,72 +2429,72 @@ function Fi(t, a, i) {
2437
2429
  }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2438
2430
  let ha = new IntersectionObserver((r) => {
2439
2431
  r.forEach(async (_) => {
2440
- let F = _.target.gameid, R = _.target.elems_index;
2441
- _.isIntersecting ? (R * 1.2 > ee && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
2432
+ let F = _.target.gameid, E = _.target.elems_index;
2433
+ _.isIntersecting ? (E * 1.2 > ae && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
2442
2434
  });
2443
2435
  });
2444
2436
  const Be = (r, _) => {
2445
2437
  let F = `${l}/v1/player/${_}/favorites/`;
2446
2438
  i(23, Q = !0);
2447
- let R = {
2439
+ let E = {
2448
2440
  method: "GET",
2449
2441
  headers: { "X-SessionID": r }
2450
2442
  };
2451
- return new Promise((E, M) => {
2452
- fetch(F, R).then((O) => O.json()).then((O) => {
2453
- if (i(23, Q = !1), U = [], O) {
2454
- O.items.forEach((ne) => {
2455
- ne.gameModel && (U.push(ne), W.includes(ne.id) || W.push(ne.id));
2443
+ return new Promise((j, M) => {
2444
+ fetch(F, E).then((D) => D.json()).then((D) => {
2445
+ if (i(23, Q = !1), O = [], D) {
2446
+ D.items.forEach((B) => {
2447
+ B.gameModel && (O.push(B), W.includes(B.id) || W.push(B.id));
2456
2448
  });
2457
- const B = Oe(U)?.length;
2449
+ const x = Oe(O)?.length;
2458
2450
  window.postMessage({
2459
2451
  type: "UpdateFavoritesCount",
2460
- favoriteGamesLength: B
2452
+ favoriteGamesLength: x
2461
2453
  });
2462
2454
  } else
2463
- U = [];
2464
- w === "FAVORITES" && Je(U), z.forEach((B) => {
2465
- B.isFavorite = X(B.id);
2455
+ O = [];
2456
+ w === "FAVORITES" && Je(O), z.forEach((x) => {
2457
+ x.isFavorite = X(x.id);
2466
2458
  });
2467
2459
  let V = z;
2468
- i(27, z = void 0), i(27, z = V), E(U);
2469
- }).catch((O) => {
2470
- console.error(O), M(O);
2460
+ i(27, z = void 0), i(27, z = V), j(O);
2461
+ }).catch((D) => {
2462
+ console.error(D), M(D);
2471
2463
  });
2472
2464
  });
2473
2465
  }, he = (r, _, F) => {
2474
2466
  ze && ze.abort(), ze = new AbortController();
2475
- const R = ze.signal;
2467
+ const E = ze.signal;
2476
2468
  i(23, Q = !0);
2477
- let E = "", M = "", O = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), V = JSON.parse(localStorage.getItem("vendorSortingBy"));
2478
- return (r.match(/\$/g) || []).length > 1 ? (E = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${E}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((B, ne) => {
2479
- if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Wa(qe)), M.searchParams.append("pagination", `games(offset=${_},limit=${F})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), O && O[r])
2480
- if (O[r].length && $ === !1 && fe === !1) {
2481
- let D = "";
2482
- i(32, Ee = !0), O[r].forEach((pe) => {
2483
- D = D + (D ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2484
- }), M.searchParams.append("filter", `${D}`);
2469
+ let j = "", M = "", D = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), V = JSON.parse(localStorage.getItem("vendorSortingBy"));
2470
+ return (r.match(/\$/g) || []).length > 1 ? (j = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${j}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((x, B) => {
2471
+ if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Wa(qe)), M.searchParams.append("pagination", `games(offset=${_},limit=${F})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), D && D[r])
2472
+ if (D[r].length && ee === !1 && fe === !1) {
2473
+ let U = "";
2474
+ i(32, Ae = !0), D[r].forEach((pe) => {
2475
+ U = U + (U ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2476
+ }), M.searchParams.append("filter", `${U}`);
2485
2477
  } else
2486
- i(32, Ee = !1);
2487
- V && (V[r] ? V[r] && V[r] != "All" && (V[r] == "isNew" || V[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${V[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${V[r]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (M.searchParams.append("sortedField", `games(${ie})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${ie})`))), fetch(M, { signal: R }).then((D) => D.json()).then((D) => {
2488
- R.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (D = D.items.filter((pe) => {
2478
+ i(32, Ae = !1);
2479
+ V && (V[r] ? V[r] && V[r] != "All" && (V[r] == "isNew" || V[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${V[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${V[r]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (M.searchParams.append("sortedField", `games(${te})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${te})`))), fetch(M, { signal: E }).then((U) => U.json()).then((U) => {
2480
+ E.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (U = U.items.filter((pe) => {
2489
2481
  if (pe.id == r) return pe;
2490
- })[0]), i(50, Pe = !0), i(24, Re = !1), je = D.games.total, i(34, me = !0), B(D));
2491
- }).catch((D) => {
2492
- D.name !== "AbortError" && (i(24, Re = !0), console.error(D), ne(D));
2482
+ })[0]), i(50, Pe = !0), i(24, Ee = !1), Le = U.games.total, i(34, me = !0), x(U));
2483
+ }).catch((U) => {
2484
+ U.name !== "AbortError" && (i(24, Ee = !0), console.error(U), B(U));
2493
2485
  });
2494
2486
  });
2495
2487
  }, pa = (r, _, F) => {
2496
- r !== "" && (i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, i(28, J = +_ > +F), he(r, 0, +_).then((R) => {
2497
- i(26, A = R), i(27, z = A.games.items), z && z.forEach((E) => {
2498
- E.isFavorite = X(E.id);
2488
+ r !== "" && (i(29, K = !1), i(25, ee = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, i(28, J = +_ > +F), he(r, 0, +_).then((E) => {
2489
+ i(26, A = E), i(27, z = A.games.items), z && z.forEach((j) => {
2490
+ j.isFavorite = X(j.id);
2499
2491
  });
2500
2492
  }));
2501
2493
  }, De = (r) => {
2502
2494
  if (r.data)
2503
2495
  switch (r.data.type) {
2504
2496
  case "MostPlayedData":
2505
- w == "MOSTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, A = {
2497
+ w == "MOSTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, A = {
2506
2498
  id: "MOSTPLAYED",
2507
2499
  name: "Most Played Games",
2508
2500
  games: {
@@ -2513,7 +2505,7 @@ function Fi(t, a, i) {
2513
2505
  })), i(23, Q = !1);
2514
2506
  break;
2515
2507
  case "LastPlayedData":
2516
- w == "LASTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, A = {
2508
+ w == "LASTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, A = {
2517
2509
  id: "LASTPLAYED",
2518
2510
  name: "Last Played Games",
2519
2511
  games: {
@@ -2527,30 +2519,30 @@ function Fi(t, a, i) {
2527
2519
  r.data.operatordetail;
2528
2520
  break;
2529
2521
  case "RecentSearchData":
2530
- i(29, K = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, z = r.data.searchData), i(33, Ae = !0), z && z.forEach((_) => {
2522
+ i(29, K = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, z = r.data.searchData), i(33, je = !0), z && z.forEach((_) => {
2531
2523
  _.isFavorite = X(_.id);
2532
- })) : (i(27, z = []), i(33, Ae = !1));
2524
+ })) : (i(27, z = []), i(33, je = !1));
2533
2525
  break;
2534
2526
  case "OutOfRecentSearches":
2535
2527
  i(29, K = !1), i(30, Ge = !1);
2536
2528
  break;
2537
2529
  case "SearchData":
2538
- i(29, K = !0), i(30, Ge = !1), i(27, z = r.data.searchData.items || []), i(31, re = !0), r.data.receivedFavoriteResults && (U = r.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2530
+ i(29, K = !0), i(30, Ge = !1), i(27, z = r.data.searchData.items || []), i(31, re = !0), r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2539
2531
  _.isFavorite = X(_.id);
2540
2532
  });
2541
2533
  break;
2542
2534
  case `CategoryData_${w}`:
2543
- i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, r.data.receivedFavoriteResults && (U = r.data.receivedFavoriteResults.items), he(r.data.categoryId, 0, r.data.visiblegames).then((_) => {
2544
- i(26, A = _), i(27, z = A.games.items), je <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((F) => {
2535
+ i(29, K = !1), i(25, ee = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), he(r.data.categoryId, 0, r.data.visiblegames).then((_) => {
2536
+ i(26, A = _), i(27, z = A.games.items), Le <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((F) => {
2545
2537
  F.isFavorite = X(F.id);
2546
2538
  });
2547
2539
  });
2548
2540
  break;
2549
2541
  case "CategoryChange":
2550
- ee = 20;
2542
+ ae = 20;
2551
2543
  break;
2552
2544
  case "ApplySorter":
2553
- i(0, w = r.data.itemId), ie = r.data.sortBy, he(w, 0, ee).then((_) => {
2545
+ i(0, w = r.data.itemId), te = r.data.sortBy, he(w, 0, ae).then((_) => {
2554
2546
  i(26, A = _), i(27, z = A.games.items), i(28, J = !1);
2555
2547
  });
2556
2548
  break;
@@ -2571,7 +2563,7 @@ function Fi(t, a, i) {
2571
2563
  break;
2572
2564
  }
2573
2565
  }, Ye = (r) => {
2574
- i(29, K = !1), i(25, $ = !1), i(31, re = !1), Ce = !0, i(34, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(28, J = !1), b !== "true" && he(w, 0, ee).then((_) => {
2566
+ i(29, K = !1), i(25, ee = !1), i(31, re = !1), Ce = !0, i(34, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(28, J = !1), b !== "true" && he(w, 0, ae).then((_) => {
2575
2567
  i(26, A = _), A.games.items.forEach((F) => {
2576
2568
  F.isFavorite = X(F.id);
2577
2569
  }), i(27, z = A.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
@@ -2585,10 +2577,10 @@ function Fi(t, a, i) {
2585
2577
  A && (i(27, z = A.games.items), z.forEach((r) => {
2586
2578
  r.isFavorite = X(r.id);
2587
2579
  }));
2588
- }, X = (r) => U?.some((_) => _.id === r) ?? !1;
2580
+ }, X = (r) => O?.some((_) => _.id === r) ?? !1;
2589
2581
  let va = async (r, _, F) => {
2590
2582
  await Ue(r, _), W.includes(F) || W.push(F);
2591
- let E = {
2583
+ let j = {
2592
2584
  method: "POST",
2593
2585
  headers: {
2594
2586
  "X-SessionID": _,
@@ -2597,65 +2589,66 @@ function Fi(t, a, i) {
2597
2589
  },
2598
2590
  body: JSON.stringify({ items: W })
2599
2591
  };
2600
- fetch(r, E).then((M) => M.json()).then(() => {
2592
+ fetch(r, j).then((M) => M.json()).then(() => {
2601
2593
  window.postMessage({ type: `AddFavoriteThumbnail_${F}` }, window.location.href);
2602
2594
  }).catch((M) => {
2603
2595
  console.error("Err", M);
2604
2596
  });
2605
2597
  };
2606
2598
  const ba = (r, _, F) => {
2607
- let R = {
2599
+ let E = {
2608
2600
  method: "DELETE",
2609
2601
  headers: { "X-SessionID": _ }
2610
2602
  };
2611
- fetch(`${r}/${F}`, R).then((E) => E.json()).then(() => {
2603
+ fetch(`${r}/${F}`, E).then((j) => j.json()).then(() => {
2612
2604
  window.postMessage(
2613
2605
  {
2614
2606
  type: `RemoveFavoriteThumbnail_${F}`
2615
2607
  },
2616
2608
  window.location.href
2617
2609
  ), Ue(r, _);
2618
- }), W.includes(F) && (W = W.filter((E) => E != F));
2610
+ }), W.includes(F) && (W = W.filter((j) => j != F));
2619
2611
  }, Ue = async (r, _) => fetch(r, {
2620
2612
  method: "GET",
2621
2613
  headers: { "X-SessionID": _ }
2622
- }).then((R) => R.json()).then((R) => {
2623
- U = R.items, se ? (U.forEach((M) => {
2614
+ }).then((E) => E.json()).then((E) => {
2615
+ O = E.items, se ? (O.forEach((M) => {
2624
2616
  W.includes(M.id) || W.push(M.id);
2625
- }), _a()) : U.forEach((M) => {
2617
+ }), _a()) : O.forEach((M) => {
2626
2618
  M.isFavorite = X(M.id);
2627
2619
  });
2628
- const E = Oe(U)?.length;
2620
+ const j = Oe(O)?.length;
2629
2621
  w === "FAVORITES" && (window.postMessage({
2630
2622
  type: "UpdateFavoritesCount",
2631
- favoriteGamesLength: E
2632
- }), Je(U));
2633
- }).catch((R) => {
2634
- console.error(R);
2623
+ favoriteGamesLength: j
2624
+ }), Je(O));
2625
+ }).catch((E) => {
2626
+ console.error(E);
2635
2627
  }), Je = (r) => {
2636
2628
  if (!r) return;
2637
2629
  let _;
2638
2630
  _ = r?.items || r || [], _.length > 0 && _.forEach((F) => {
2639
2631
  F.gameModel && (F.gameModel.isFavorite = !0);
2640
- }), i(40, te.items = Oe(_, te.items), te), i(40, te.name = "Favorites", te), i(23, Q = !1);
2632
+ }), i(40, ne.items = Oe(_, ne.items), ne), i(40, ne.name = "Favorites", ne), i(23, Q = !1);
2641
2633
  }, wa = (r) => {
2642
- ee += 1, i(34, me = !0), ee <= je && he(r, Si, ee).then((_) => {
2634
+ ae += 1, i(34, me = !0), ae <= Le && he(r, Si, ae).then((_) => {
2643
2635
  i(26, A = _), A.games.items.length > z.length && (i(27, z = A.games.items), z.forEach((F) => {
2644
2636
  F.isFavorite = X(F.id);
2645
2637
  })), i(34, me = !1);
2646
2638
  });
2647
2639
  }, ka = (r) => {
2648
- if (r?.length === 0) return "";
2649
- let _ = "", F = 999999999999, R;
2650
- const E = new Date(Date.now());
2651
- return r.forEach((M, O) => {
2652
- const V = new Date(M.schedules[0].startTime), B = new Date(M.schedules[0].endTime);
2653
- Ie(B).diff(E) < F && (F = Ie(B).diff(E), R = O), Ie(E).isAfter(V) && Ie(E).isBefore(B) && (_ = r[R].name);
2654
- }), _;
2640
+ const _ = r ?? [];
2641
+ if (_?.length === 0) return "";
2642
+ let F = "", E = 999999999999, j;
2643
+ const M = new Date(Date.now());
2644
+ return _.forEach((D, V) => {
2645
+ const x = new Date(D.schedules[0].startTime), B = new Date(D.schedules[0].endTime);
2646
+ Ie(B).diff(M) < E && (E = Ie(B).diff(M), j = V), Ie(M).isAfter(x) && Ie(M).isBefore(B) && (F = _[j].name);
2647
+ }), F;
2655
2648
  }, Ke = (r) => {
2656
2649
  window.postMessage(
2657
2650
  {
2658
- type: `${Te}`,
2651
+ type: `${Re}`,
2659
2652
  itemId: r,
2660
2653
  showallpage: Ne
2661
2654
  },
@@ -2677,7 +2670,7 @@ function Fi(t, a, i) {
2677
2670
  break;
2678
2671
  }
2679
2672
  }, Sa = () => {
2680
- document[Me] ? i(39, Le = "disconnect") : i(39, Le = "connect");
2673
+ document[Me] ? i(39, Te = "disconnect") : i(39, Te = "connect");
2681
2674
  }, Fa = () => {
2682
2675
  Ce && ge.forEach((r, _) => {
2683
2676
  r && (r.elems_index = _, ha.observe(r));
@@ -2686,13 +2679,13 @@ function Fi(t, a, i) {
2686
2679
  Ka(m);
2687
2680
  }, Ca = () => {
2688
2681
  let r = document.createElement("style");
2689
- r.innerHTML = p, ae.appendChild(r);
2682
+ r.innerHTML = p, ie.appendChild(r);
2690
2683
  }, Ma = () => {
2691
2684
  let r = new URL(v), _ = document.createElement("style");
2692
2685
  fetch(r.href).then((F) => F.text()).then((F) => {
2693
2686
  _.innerHTML = F, setTimeout(
2694
2687
  () => {
2695
- ae.appendChild(_);
2688
+ ie.appendChild(_);
2696
2689
  },
2697
2690
  1
2698
2691
  );
@@ -2712,28 +2705,28 @@ function Fi(t, a, i) {
2712
2705
  ge[_] = r, i(22, ge);
2713
2706
  });
2714
2707
  }
2715
- function Ta(r) {
2708
+ function Ra(r) {
2716
2709
  oe[r ? "unshift" : "push"](() => {
2717
2710
  ue = r, i(35, ue);
2718
2711
  });
2719
2712
  }
2720
- function Ra(r) {
2713
+ function Ea(r) {
2721
2714
  oe[r ? "unshift" : "push"](() => {
2722
2715
  ce = r, i(36, ce);
2723
2716
  });
2724
2717
  }
2725
- function Ea(r) {
2718
+ function Aa(r) {
2726
2719
  oe[r ? "unshift" : "push"](() => {
2727
2720
  ue = r, i(35, ue);
2728
2721
  });
2729
2722
  }
2730
- function Aa(r) {
2723
+ function ja(r) {
2731
2724
  oe[r ? "unshift" : "push"](() => {
2732
- ae = r, i(21, ae);
2725
+ ie = r, i(21, ie);
2733
2726
  });
2734
2727
  }
2735
2728
  return t.$$set = (r) => {
2736
- "endpoint" in r && i(3, l = r.endpoint), "datasource" in r && i(4, s = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, u = r.session), "userid" in r && i(7, c = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, v = r.clientstylingurl), "translationurl" in r && i(11, G = r.translationurl), "currency" in r && i(12, I = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, T = r.showgamename), "livecasino" in r && i(14, d = r.livecasino), "gamepagemodalurl" in r && i(15, f = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, q = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, L = r.integratedgameframemobile), "casinomygames" in r && i(18, b = r.casinomygames), "addfilterselector" in r && i(1, be = r.addfilterselector), "addsortingselector" in r && i(2, we = r.addsortingselector), "filterbylogo" in r && i(19, He = r.filterbylogo), "casinogamesgridslider" in r && i(20, Ve = r.casinogamesgridslider), "fetchviaevent" in r && i(45, se = r.fetchviaevent), "showallpage" in r && i(46, Ne = r.showallpage), "actionevent" in r && i(47, Te = r.actionevent), "displayedgamecount" in r && i(48, ke = r.displayedgamecount), "showallbuttongamescount" in r && i(49, ye = r.showallbuttongamescount);
2729
+ "endpoint" in r && i(3, l = r.endpoint), "datasource" in r && i(4, s = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, u = r.session), "userid" in r && i(7, c = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, v = r.clientstylingurl), "translationurl" in r && i(11, G = r.translationurl), "currency" in r && i(12, I = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, R = r.showgamename), "livecasino" in r && i(14, d = r.livecasino), "gamepagemodalurl" in r && i(15, f = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, q = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, T = r.integratedgameframemobile), "casinomygames" in r && i(18, b = r.casinomygames), "addfilterselector" in r && i(1, be = r.addfilterselector), "addsortingselector" in r && i(2, we = r.addsortingselector), "filterbylogo" in r && i(19, He = r.filterbylogo), "casinogamesgridslider" in r && i(20, Ve = r.casinogamesgridslider), "fetchviaevent" in r && i(45, se = r.fetchviaevent), "showallpage" in r && i(46, Ne = r.showallpage), "actionevent" in r && i(47, Re = r.actionevent), "displayedgamecount" in r && i(48, ke = r.displayedgamecount), "showallbuttongamescount" in r && i(49, ye = r.showallbuttongamescount);
2737
2730
  }, t.$$.update = () => {
2738
2731
  t.$$.dirty[0] & /*lang*/
2739
2732
  32 && m && Ga(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2744,8 +2737,8 @@ function Fi(t, a, i) {
2744
2737
  524288 && Pe && ge && Fa(), t.$$.dirty[0] & /*lang, categoryid*/
2745
2738
  33 && m && w && ya(), t.$$.dirty[0] & /*translationurl*/
2746
2739
  2048 && G && da(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2747
- 2097664 && p && ae && Ca(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2748
- 2098176 && v && ae && Ma();
2740
+ 2097664 && p && ie && Ca(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2741
+ 2098176 && v && ie && Ma();
2749
2742
  }, [
2750
2743
  w,
2751
2744
  be,
@@ -2760,51 +2753,51 @@ function Fi(t, a, i) {
2760
2753
  v,
2761
2754
  G,
2762
2755
  I,
2763
- T,
2756
+ R,
2764
2757
  d,
2765
2758
  f,
2766
2759
  q,
2767
- L,
2760
+ T,
2768
2761
  b,
2769
2762
  He,
2770
2763
  Ve,
2771
- ae,
2764
+ ie,
2772
2765
  ge,
2773
2766
  Q,
2774
- Re,
2775
- $,
2767
+ Ee,
2768
+ ee,
2776
2769
  A,
2777
2770
  z,
2778
2771
  J,
2779
2772
  K,
2780
2773
  Ge,
2781
2774
  re,
2782
- Ee,
2783
2775
  Ae,
2776
+ je,
2784
2777
  me,
2785
2778
  ue,
2786
2779
  ce,
2787
2780
  fe,
2788
2781
  de,
2789
- Le,
2790
- te,
2782
+ Te,
2783
+ ne,
2791
2784
  o,
2792
2785
  qe,
2793
2786
  ka,
2794
2787
  Ke,
2795
2788
  se,
2796
2789
  Ne,
2797
- Te,
2790
+ Re,
2798
2791
  ke,
2799
2792
  ye,
2800
2793
  Pe,
2801
2794
  za,
2802
2795
  Ia,
2803
2796
  Na,
2804
- Ta,
2805
2797
  Ra,
2806
2798
  Ea,
2807
- Aa
2799
+ Aa,
2800
+ ja
2808
2801
  ];
2809
2802
  }
2810
2803
  class Gi extends Pa {
@@ -73,7 +73,7 @@ if (typeof window < "u") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-BjH8Wv5s.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-hT0scUNY.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoMostPlayedSection-C8pJmCBN.js";
1
+ import { C as n } from "../components/CasinoMostPlayedSection-CMEgkbWJ.js";
2
2
  function o(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-most-played-section",
3
- "version": "1.54.2",
3
+ "version": "1.54.6",
4
4
  "type": "module",
5
5
  "main": "esnext/casino-most-played-section.js",
6
6
  "module": "esnext/casino-most-played-section.js",