@everymatrix/casino-most-played-section 1.54.4 → 1.54.8

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.
@@ -1,5 +1,5 @@
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 x, r as Ja, G as ga } from "./CasinoFilter-BYeEBK-a.js";
2
- import { h as Ie } from "./CasinoGameThumbnail-BfeiKtC4.js";
1
+ import { a as La, $ as Ta, S as Pa, i as Da, f as N, s as Ua, B as Oa, b as Ha, n as _e, d as y, h as S, k as C, e as h, o as Va, p as qa, v as Wa, D as Oe, w as oe, r as Z, j as k, l as Y, u as ve, g as H, m as L, x as le, E as fa, F as n, G as ga, y as Ba, q as Ya, A as $, C as Ja } from "./CasinoFilter-C_NFi_rN.js";
2
+ import { h as Ie } from "./CasinoGameThumbnail-DLCuQBSY.js";
3
3
  function Xe(t, a) {
4
4
  La(t, a);
5
5
  }
@@ -217,7 +217,7 @@ if (typeof window < "u") {
217
217
  }
218
218
  };
219
219
  };
220
- customElements.define = t(customElements.define), import("./CasinoGameThumbnail-BfeiKtC4.js").then((a) => a.C).then(({ default: a }) => {
220
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnail-DLCuQBSY.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
  }
@@ -233,7 +233,7 @@ if (typeof window < "u") {
233
233
  }
234
234
  };
235
235
  };
236
- customElements.define = t(customElements.define), import("./CasinoFilter-BYeEBK-a.js").then((a) => a.J).then(({ default: a }) => {
236
+ customElements.define = t(customElements.define), import("./CasinoFilter-C_NFi_rN.js").then((a) => a.J).then(({ default: a }) => {
237
237
  !customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
238
238
  });
239
239
  }
@@ -249,7 +249,7 @@ if (typeof window < "u") {
249
249
  }
250
250
  };
251
251
  };
252
- customElements.define = t(customElements.define), import("./CasinoSort-B1pgdr2s.js").then(({ default: a }) => {
252
+ customElements.define = t(customElements.define), import("./CasinoSort-BO8pFRNg.js").then(({ default: a }) => {
253
253
  !customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
254
254
  });
255
255
  }
@@ -286,13 +286,13 @@ function Za(t) {
286
286
  a = C("div"), l && l.c();
287
287
  },
288
288
  m(s, m) {
289
- y(s, a, m), l && l.m(a, null);
289
+ S(s, a, m), l && l.m(a, null);
290
290
  },
291
291
  p(s, m) {
292
292
  o === (o = i(s)) && l ? l.p(s, m) : (l && l.d(1), l = o && o(s), l && (l.c(), l.m(a, null)));
293
293
  },
294
294
  d(s) {
295
- s && S(a), l && l.d();
295
+ s && y(a), l && l.d();
296
296
  }
297
297
  };
298
298
  }
@@ -323,13 +323,13 @@ function Qa(t) {
323
323
  ) ? "CasinoGamesHeaderMobile" : "")), h(a, "class", "CasinoGamesContainer");
324
324
  },
325
325
  m(p, v) {
326
- y(p, a, v), k(a, i), m.m(i, null), k(a, o), g.m(a, null);
326
+ S(p, a, v), k(a, i), m.m(i, null), k(a, o), g.m(a, null);
327
327
  },
328
328
  p(p, v) {
329
329
  s === (s = l(p)) && m ? m.p(p, v) : (m.d(1), m = s(p), m && (m.c(), m.m(i, null))), c === (c = u(p)) && g ? g.p(p, v) : (g.d(1), g = c(p), g && (g.c(), g.m(a, null)));
330
330
  },
331
331
  d(p) {
332
- p && S(a), m.d(), g.d();
332
+ p && y(a), m.d(), g.d();
333
333
  }
334
334
  };
335
335
  }
@@ -347,13 +347,13 @@ function xa(t) {
347
347
  l.c(), a = Z();
348
348
  },
349
349
  m(s, m) {
350
- l.m(s, m), y(s, a, m);
350
+ l.m(s, m), S(s, a, m);
351
351
  },
352
352
  p(s, m) {
353
353
  o !== (o = i(s)) && (l.d(1), l = o(s), l && (l.c(), l.m(a.parentNode, a)));
354
354
  },
355
355
  d(s) {
356
- s && S(a), l.d(s);
356
+ s && y(a), l.d(s);
357
357
  }
358
358
  };
359
359
  }
@@ -379,7 +379,7 @@ function $a(t) {
379
379
  (t[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(a, "class", "CasinoGamesContainer");
380
380
  },
381
381
  m(g, p) {
382
- y(g, a, p), s && s.m(a, null), k(a, i), k(a, o), c.m(o, null), t[56](o);
382
+ S(g, a, p), s && s.m(a, null), k(a, i), k(a, o), c.m(o, null), t[56](o);
383
383
  },
384
384
  p(g, p) {
385
385
  /*casinomygames*/
@@ -388,7 +388,7 @@ function $a(t) {
388
388
  (g[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && h(o, "class", l);
389
389
  },
390
390
  d(g) {
391
- g && S(a), s && s.d(), c.d(), t[56](null);
391
+ g && y(a), s && s.d(), c.d(), t[56](null);
392
392
  }
393
393
  };
394
394
  }
@@ -413,14 +413,14 @@ function ei(t) {
413
413
  a = C("div"), o && o.c(), i = Y(), m.c(), h(a, "class", "CasinoGamesContainer");
414
414
  },
415
415
  m(u, c) {
416
- y(u, a, c), o && o.m(a, null), k(a, i), m.m(a, null);
416
+ S(u, a, c), o && o.m(a, null), k(a, i), m.m(a, null);
417
417
  },
418
418
  p(u, c) {
419
419
  /*casinomygames*/
420
420
  u[18] !== "true" ? o ? o.p(u, c) : (o = la(u), o.c(), o.m(a, i)) : o && (o.d(1), o = null), s === (s = l(u)) && m ? m.p(u, c) : (m.d(1), m = s(u), m && (m.c(), m.m(a, null)));
421
421
  },
422
422
  d(u) {
423
- u && S(a), o && o.d(), m.d();
423
+ u && y(a), o && o.d(), m.d();
424
424
  }
425
425
  };
426
426
  }
@@ -437,7 +437,7 @@ function ea(t) {
437
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
- 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);
440
+ S(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);
441
441
  },
442
442
  p(v, G) {
443
443
  G[1] & /*$_*/
@@ -447,7 +447,7 @@ function ea(t) {
447
447
  v[40].items.length + "") && H(g, c);
448
448
  },
449
449
  d(v) {
450
- v && S(a), t[55](null);
450
+ v && y(a), t[55](null);
451
451
  }
452
452
  };
453
453
  }
@@ -461,7 +461,7 @@ function ai(t) {
461
461
  a = C("p"), o = L(i);
462
462
  },
463
463
  m(l, s) {
464
- y(l, a, s), k(a, o);
464
+ S(l, a, s), k(a, o);
465
465
  },
466
466
  p(l, s) {
467
467
  s[1] & /*$_*/
@@ -469,7 +469,7 @@ function ai(t) {
469
469
  l[41]("waiting") + "") && H(o, i);
470
470
  },
471
471
  d(l) {
472
- l && S(a);
472
+ l && y(a);
473
473
  }
474
474
  };
475
475
  }
@@ -490,7 +490,7 @@ function ii(t) {
490
490
  m(s, m) {
491
491
  for (let u = 0; u < o.length; u += 1)
492
492
  o[u] && o[u].m(s, m);
493
- y(s, a, m), l && l.m(s, m);
493
+ S(s, a, m), l && l.m(s, m);
494
494
  },
495
495
  p(s, m) {
496
496
  if (m[0] & /*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
@@ -511,7 +511,7 @@ function ii(t) {
511
511
  }
512
512
  },
513
513
  d(s) {
514
- s && S(a), Ya(o, s), l && l.d(s);
514
+ s && y(a), Ba(o, s), l && l.d(s);
515
515
  }
516
516
  };
517
517
  }
@@ -522,11 +522,11 @@ function ti(t) {
522
522
  a = C("div"), h(a, "class", "lds-dual-ring");
523
523
  },
524
524
  m(i, o) {
525
- y(i, a, o);
525
+ S(i, a, o);
526
526
  },
527
527
  p: _e,
528
528
  d(i) {
529
- i && S(a);
529
+ i && y(a);
530
530
  }
531
531
  };
532
532
  }
@@ -544,13 +544,13 @@ function aa(t) {
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 = 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(
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
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);
553
+ S(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
555
  p(T, b) {
556
556
  b[1] & /*$_*/
@@ -558,7 +558,7 @@ function aa(t) {
558
558
  T[41]("noFavoritesTitle") + "") && H(I, G), q.p(T, b);
559
559
  },
560
560
  d(T) {
561
- T && S(a), q.d();
561
+ T && y(a), q.d();
562
562
  }
563
563
  };
564
564
  }
@@ -572,7 +572,7 @@ function ni(t) {
572
572
  a = C("span"), o = L(i), h(a, "class", "NoFavoriteText");
573
573
  },
574
574
  m(l, s) {
575
- y(l, a, s), k(a, o);
575
+ S(l, a, s), k(a, o);
576
576
  },
577
577
  p(l, s) {
578
578
  s[1] & /*$_*/
@@ -580,7 +580,7 @@ function ni(t) {
580
580
  l[41]("noFavorites") + "") && H(o, i);
581
581
  },
582
582
  d(l) {
583
- l && S(a);
583
+ l && y(a);
584
584
  }
585
585
  };
586
586
  }
@@ -594,7 +594,7 @@ function oi(t) {
594
594
  a = C("span"), o = L(i), h(a, "class", "NoFavoriteText");
595
595
  },
596
596
  m(l, s) {
597
- y(l, a, s), k(a, o);
597
+ S(l, a, s), k(a, o);
598
598
  },
599
599
  p(l, s) {
600
600
  s[1] & /*$_*/
@@ -602,7 +602,7 @@ function oi(t) {
602
602
  l[41]("noFavoritesMobile") + "") && H(o, i);
603
603
  },
604
604
  d(l) {
605
- l && S(a);
605
+ l && y(a);
606
606
  }
607
607
  };
608
608
  }
@@ -616,14 +616,14 @@ function ia(t) {
616
616
  i && i.c(), a = Z();
617
617
  },
618
618
  m(o, l) {
619
- i && i.m(o, l), y(o, a, l);
619
+ i && i.m(o, l), S(o, a, l);
620
620
  },
621
621
  p(o, l) {
622
622
  /*gameprops*/
623
623
  o[91].gameModel.isFavorite ? i ? i.p(o, l) : (i = ta(o), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
624
624
  },
625
625
  d(o) {
626
- o && S(a), i && i.d(o);
626
+ o && y(a), i && i.d(o);
627
627
  }
628
628
  };
629
629
  }
@@ -631,16 +631,16 @@ function ta(t) {
631
631
  let a, i = li(t);
632
632
  return {
633
633
  c() {
634
- i.c(), a = Z();
634
+ i && i.c(), a = Z();
635
635
  },
636
636
  m(o, l) {
637
- i.m(o, l), y(o, a, l);
637
+ i && i.m(o, l), S(o, a, l);
638
638
  },
639
639
  p(o, l) {
640
640
  i.p(o, l);
641
641
  },
642
642
  d(o) {
643
- o && S(a), i.d(o);
643
+ o && y(a), i && i.d(o);
644
644
  }
645
645
  };
646
646
  }
@@ -661,13 +661,13 @@ function li(t) {
661
661
  m && m.c(), o = Z();
662
662
  },
663
663
  m(u, c) {
664
- m && m.m(u, c), y(u, o, c);
664
+ m && m.m(u, c), S(u, o, c);
665
665
  },
666
666
  p(u, c) {
667
667
  s === (s = l(u, c)) && m ? m.p(u, c) : (m && m.d(1), m = s && s(u), m && (m.c(), m.m(o.parentNode, o)));
668
668
  },
669
669
  d(u) {
670
- u && S(o), m && m.d(u);
670
+ u && y(o), m && m.d(u);
671
671
  }
672
672
  };
673
673
  }
@@ -792,7 +792,7 @@ function si(t) {
792
792
  );
793
793
  },
794
794
  m(d, f) {
795
- y(d, a, f);
795
+ S(d, a, f);
796
796
  },
797
797
  p(d, f) {
798
798
  f[1] & /*favoriteGamesData*/
@@ -943,7 +943,7 @@ function si(t) {
943
943
  );
944
944
  },
945
945
  d(d) {
946
- d && S(a);
946
+ d && y(a);
947
947
  }
948
948
  };
949
949
  }
@@ -959,7 +959,7 @@ function ri(t) {
959
959
  o && o.c(), i = Z();
960
960
  },
961
961
  m(l, s) {
962
- o && o.m(l, s), y(l, i, s);
962
+ o && o.m(l, s), S(l, i, s);
963
963
  },
964
964
  p(l, s) {
965
965
  s[1] & /*favoriteGamesData*/
@@ -969,7 +969,7 @@ function ri(t) {
969
969
  l[91].gameModel.platform.includes("Android")), a ? o ? o.p(l, s) : (o = na(l), o.c(), o.m(i.parentNode, i)) : o && (o.d(1), o = null);
970
970
  },
971
971
  d(l) {
972
- l && S(i), o && o.d(l);
972
+ l && y(i), o && o.d(l);
973
973
  }
974
974
  };
975
975
  }
@@ -1094,7 +1094,7 @@ function na(t) {
1094
1094
  );
1095
1095
  },
1096
1096
  m(d, f) {
1097
- y(d, a, f);
1097
+ S(d, a, f);
1098
1098
  },
1099
1099
  p(d, f) {
1100
1100
  f[1] & /*favoriteGamesData*/
@@ -1245,7 +1245,7 @@ function na(t) {
1245
1245
  );
1246
1246
  },
1247
1247
  d(d) {
1248
- d && S(a);
1248
+ d && y(a);
1249
1249
  }
1250
1250
  };
1251
1251
  }
@@ -1259,14 +1259,14 @@ function oa(t) {
1259
1259
  i && i.c(), a = Z();
1260
1260
  },
1261
1261
  m(o, l) {
1262
- i && i.m(o, l), y(o, a, l);
1262
+ i && i.m(o, l), S(o, a, l);
1263
1263
  },
1264
1264
  p(o, l) {
1265
1265
  /*gameprops*/
1266
1266
  o[91].gameModel ? i ? i.p(o, l) : (i = ia(o), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
1267
1267
  },
1268
1268
  d(o) {
1269
- o && S(a), i && i.d(o);
1269
+ o && y(a), i && i.d(o);
1270
1270
  }
1271
1271
  };
1272
1272
  }
@@ -1287,7 +1287,7 @@ function la(t) {
1287
1287
  a = C("div"), i = C("h3"), l = L(o), s = Y(), c.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1288
1288
  },
1289
1289
  m(g, p) {
1290
- y(g, a, p), k(a, i), k(i, l), t[51](i), k(a, s), c.m(a, null);
1290
+ S(g, a, p), k(a, i), k(i, l), t[51](i), k(a, s), c.m(a, null);
1291
1291
  },
1292
1292
  p(g, p) {
1293
1293
  p[0] & /*categoryData*/
@@ -1295,7 +1295,7 @@ function la(t) {
1295
1295
  g[26].name + "") && H(l, o), u === (u = m(g)) && c ? c.p(g, p) : (c.d(1), c = u(g), c && (c.c(), c.m(a, null)));
1296
1296
  },
1297
1297
  d(g) {
1298
- g && S(a), t[51](null), c.d();
1298
+ g && y(a), t[51](null), c.d();
1299
1299
  }
1300
1300
  };
1301
1301
  }
@@ -1314,7 +1314,7 @@ function mi(t) {
1314
1314
  t[2] == "true" ? "CategoryFilterContainer" : "");
1315
1315
  },
1316
1316
  m(m, u) {
1317
- y(m, a, u), l && l.m(a, null), k(a, i), s && s.m(a, null);
1317
+ S(m, a, u), l && l.m(a, null), k(a, i), s && s.m(a, null);
1318
1318
  },
1319
1319
  p(m, u) {
1320
1320
  /*addfilterselector*/
@@ -1325,7 +1325,7 @@ function mi(t) {
1325
1325
  m[2] == "true" ? "CategoryFilterContainer" : "") && h(a, "class", o);
1326
1326
  },
1327
1327
  d(m) {
1328
- m && S(a), l && l.d(), s && s.d();
1328
+ m && y(a), l && l.d(), s && s.d();
1329
1329
  }
1330
1330
  };
1331
1331
  }
@@ -1342,7 +1342,7 @@ function ui(t) {
1342
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");
1343
1343
  },
1344
1344
  m(v, G) {
1345
- y(v, a, G), k(a, i), k(i, l), k(i, s), k(i, u), k(i, c), g || (p = Ja(
1345
+ S(v, a, G), k(a, i), k(i, l), k(i, s), k(i, u), k(i, c), g || (p = Ya(
1346
1346
  a,
1347
1347
  "click",
1348
1348
  /*click_handler*/
@@ -1357,7 +1357,7 @@ function ui(t) {
1357
1357
  v[26].games.total + "") && H(u, m);
1358
1358
  },
1359
1359
  d(v) {
1360
- v && S(a), g = !1, p();
1360
+ v && y(a), g = !1, p();
1361
1361
  }
1362
1362
  };
1363
1363
  }
@@ -1413,7 +1413,7 @@ function sa(t) {
1413
1413
  );
1414
1414
  },
1415
1415
  m(i, o) {
1416
- y(i, a, o);
1416
+ S(i, a, o);
1417
1417
  },
1418
1418
  p(i, o) {
1419
1419
  o[0] & /*clientstylingurl*/
@@ -1473,7 +1473,7 @@ function sa(t) {
1473
1473
  );
1474
1474
  },
1475
1475
  d(i) {
1476
- i && S(a);
1476
+ i && y(a);
1477
1477
  }
1478
1478
  };
1479
1479
  }
@@ -1509,7 +1509,7 @@ function ra(t) {
1509
1509
  );
1510
1510
  },
1511
1511
  m(i, o) {
1512
- y(i, a, o);
1512
+ S(i, a, o);
1513
1513
  },
1514
1514
  p(i, o) {
1515
1515
  o[0] & /*clientstylingurl*/
@@ -1545,7 +1545,7 @@ function ra(t) {
1545
1545
  );
1546
1546
  },
1547
1547
  d(i) {
1548
- i && S(a);
1548
+ i && y(a);
1549
1549
  }
1550
1550
  };
1551
1551
  }
@@ -1559,7 +1559,7 @@ function ci(t) {
1559
1559
  a = C("p"), o = L(i), h(a, "class", "NoSearchResults");
1560
1560
  },
1561
1561
  m(l, s) {
1562
- y(l, a, s), k(a, o);
1562
+ S(l, a, s), k(a, o);
1563
1563
  },
1564
1564
  p(l, s) {
1565
1565
  s[1] & /*$_*/
@@ -1567,7 +1567,7 @@ function ci(t) {
1567
1567
  l[41]("noResults") + "") && H(o, i);
1568
1568
  },
1569
1569
  d(l) {
1570
- l && S(a);
1570
+ l && y(a);
1571
1571
  }
1572
1572
  };
1573
1573
  }
@@ -1596,7 +1596,7 @@ function fi(t) {
1596
1596
  t[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
1597
1597
  },
1598
1598
  m(u, c) {
1599
- y(u, a, c);
1599
+ S(u, a, c);
1600
1600
  for (let g = 0; g < i.length; g += 1)
1601
1601
  i[g] && i[g].m(a, null);
1602
1602
  t[54](a);
@@ -1616,7 +1616,7 @@ function fi(t) {
1616
1616
  u[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && h(a, "class", l);
1617
1617
  },
1618
1618
  d(u) {
1619
- u && S(a);
1619
+ u && y(a);
1620
1620
  for (let c = 0; c < i.length; c += 1)
1621
1621
  i[c].d();
1622
1622
  t[54](null);
@@ -1630,11 +1630,11 @@ function gi(t) {
1630
1630
  a = C("div"), h(a, "class", "lds-dual-ring"), h(a, "part", "lds-dual-ring");
1631
1631
  },
1632
1632
  m(i, o) {
1633
- y(i, a, o);
1633
+ S(i, a, o);
1634
1634
  },
1635
1635
  p: _e,
1636
1636
  d(i) {
1637
- i && S(a);
1637
+ i && y(a);
1638
1638
  }
1639
1639
  };
1640
1640
  }
@@ -1769,7 +1769,7 @@ function di(t) {
1769
1769
  );
1770
1770
  },
1771
1771
  m(T, b) {
1772
- y(T, a, b), f();
1772
+ S(T, a, b), f();
1773
1773
  },
1774
1774
  p(T, b) {
1775
1775
  t = T, b[0] & /*session*/
@@ -1923,7 +1923,7 @@ function di(t) {
1923
1923
  t[93], f());
1924
1924
  },
1925
1925
  d(T) {
1926
- T && S(a), q();
1926
+ T && y(a), q();
1927
1927
  }
1928
1928
  };
1929
1929
  }
@@ -1933,16 +1933,16 @@ function ma(t, a) {
1933
1933
  key: t,
1934
1934
  first: null,
1935
1935
  c() {
1936
- i = Z(), l.c(), o = Z(), this.first = i;
1936
+ i = Z(), l && l.c(), o = Z(), this.first = i;
1937
1937
  },
1938
1938
  m(s, m) {
1939
- y(s, i, m), l.m(s, m), y(s, o, m);
1939
+ S(s, i, m), l && l.m(s, m), S(s, o, m);
1940
1940
  },
1941
1941
  p(s, m) {
1942
1942
  a = s, l.p(a, m);
1943
1943
  },
1944
1944
  d(s) {
1945
- s && (S(i), S(o)), l.d(s);
1945
+ s && (y(i), y(o)), l && l.d(s);
1946
1946
  }
1947
1947
  };
1948
1948
  }
@@ -1956,7 +1956,7 @@ function hi(t) {
1956
1956
  a = C("h3"), o = L(i), h(a, "class", "StatusText");
1957
1957
  },
1958
1958
  m(l, s) {
1959
- y(l, a, s), k(a, o);
1959
+ S(l, a, s), k(a, o);
1960
1960
  },
1961
1961
  p(l, s) {
1962
1962
  s[1] & /*$_*/
@@ -1964,7 +1964,7 @@ function hi(t) {
1964
1964
  l[41]("searchedItems") + "") && H(o, i);
1965
1965
  },
1966
1966
  d(l) {
1967
- l && S(a);
1967
+ l && y(a);
1968
1968
  }
1969
1969
  };
1970
1970
  }
@@ -1978,7 +1978,7 @@ function pi(t) {
1978
1978
  a = C("h3"), o = L(i), h(a, "class", "StatusText");
1979
1979
  },
1980
1980
  m(l, s) {
1981
- y(l, a, s), k(a, o);
1981
+ S(l, a, s), k(a, o);
1982
1982
  },
1983
1983
  p(l, s) {
1984
1984
  s[1] & /*$_*/
@@ -1986,7 +1986,7 @@ function pi(t) {
1986
1986
  l[41]("noResults") + "") && H(o, i);
1987
1987
  },
1988
1988
  d(l) {
1989
- l && S(a);
1989
+ l && y(a);
1990
1990
  }
1991
1991
  };
1992
1992
  }
@@ -2000,7 +2000,7 @@ function _i(t) {
2000
2000
  a = C("h3"), o = L(i), h(a, "class", "StatusText");
2001
2001
  },
2002
2002
  m(l, s) {
2003
- y(l, a, s), k(a, o);
2003
+ S(l, a, s), k(a, o);
2004
2004
  },
2005
2005
  p(l, s) {
2006
2006
  s[1] & /*$_*/
@@ -2008,7 +2008,7 @@ function _i(t) {
2008
2008
  l[41]("recentSearchedItems") + "") && H(o, i);
2009
2009
  },
2010
2010
  d(l) {
2011
- l && S(a);
2011
+ l && y(a);
2012
2012
  }
2013
2013
  };
2014
2014
  }
@@ -2019,11 +2019,11 @@ function vi(t) {
2019
2019
  a = C("p"), a.textContent = "Waiting", h(a, "class", "SearchWaiting");
2020
2020
  },
2021
2021
  m(i, o) {
2022
- y(i, a, o);
2022
+ S(i, a, o);
2023
2023
  },
2024
2024
  p: _e,
2025
2025
  d(i) {
2026
- i && S(a);
2026
+ i && y(a);
2027
2027
  }
2028
2028
  };
2029
2029
  }
@@ -2049,7 +2049,7 @@ function bi(t) {
2049
2049
  h(i, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
2050
2050
  },
2051
2051
  m(c, g) {
2052
- s && s.m(c, g), y(c, a, g), y(c, i, g);
2052
+ s && s.m(c, g), S(c, a, g), S(c, i, g);
2053
2053
  for (let p = 0; p < o.length; p += 1)
2054
2054
  o[p] && o[p].m(i, null);
2055
2055
  },
@@ -2063,7 +2063,7 @@ function bi(t) {
2063
2063
  ), o = fa(o, g, u, 1, c, m, l, i, ga, ca, null, $e));
2064
2064
  },
2065
2065
  d(c) {
2066
- c && (S(a), S(i)), s && s.d(c);
2066
+ c && (y(a), y(i)), s && s.d(c);
2067
2067
  for (let g = 0; g < o.length; g += 1)
2068
2068
  o[g].d();
2069
2069
  }
@@ -2082,7 +2082,7 @@ function ua(t) {
2082
2082
  ) ? "NoRecentSearchesMobile" : ""));
2083
2083
  },
2084
2084
  m(l, s) {
2085
- y(l, a, s), k(a, o);
2085
+ S(l, a, s), k(a, o);
2086
2086
  },
2087
2087
  p(l, s) {
2088
2088
  s[1] & /*$_*/
@@ -2090,7 +2090,7 @@ function ua(t) {
2090
2090
  l[41]("noRecentSearch") + "") && H(o, i);
2091
2091
  },
2092
2092
  d(l) {
2093
- l && S(a);
2093
+ l && y(a);
2094
2094
  }
2095
2095
  };
2096
2096
  }
@@ -2208,7 +2208,7 @@ function ca(t, a) {
2208
2208
  ), this.first = i;
2209
2209
  },
2210
2210
  m(d, f) {
2211
- y(d, i, f);
2211
+ S(d, i, f);
2212
2212
  },
2213
2213
  p(d, f) {
2214
2214
  a = d, f[0] & /*shownCategoryData*/
@@ -2348,7 +2348,7 @@ function ca(t, a) {
2348
2348
  );
2349
2349
  },
2350
2350
  d(d) {
2351
- d && S(i);
2351
+ d && y(i);
2352
2352
  }
2353
2353
  };
2354
2354
  }
@@ -2359,10 +2359,10 @@ function wi(t) {
2359
2359
  a = C("p"), a.textContent = "500 Error - Internal Server Error.", h(a, "class", "SearchLoading");
2360
2360
  },
2361
2361
  m(i, o) {
2362
- y(i, a, o);
2362
+ S(i, a, o);
2363
2363
  },
2364
2364
  d(i) {
2365
- i && S(a);
2365
+ i && y(a);
2366
2366
  }
2367
2367
  };
2368
2368
  }
@@ -2373,10 +2373,10 @@ function ki(t) {
2373
2373
  a = C("p"), a.textContent = "404 Error - No result found.", h(a, "class", "SearchLoading");
2374
2374
  },
2375
2375
  m(i, o) {
2376
- y(i, a, o);
2376
+ S(i, a, o);
2377
2377
  },
2378
2378
  d(i) {
2379
- i && S(a);
2379
+ i && y(a);
2380
2380
  }
2381
2381
  };
2382
2382
  }
@@ -2397,7 +2397,7 @@ function yi(t) {
2397
2397
  a = C("div"), l.c(), h(a, "class", "CasinoGamesCategorySectionContainer");
2398
2398
  },
2399
2399
  m(s, m) {
2400
- y(s, a, m), l.m(a, null), t[57](a);
2400
+ S(s, a, m), l.m(a, null), t[57](a);
2401
2401
  },
2402
2402
  p(s, m) {
2403
2403
  o === (o = i(s)) && l ? l.p(s, m) : (l.d(1), l = o(s), l && (l.c(), l.m(a, null)));
@@ -2405,7 +2405,7 @@ function yi(t) {
2405
2405
  i: _e,
2406
2406
  o: _e,
2407
2407
  d(s) {
2408
- s && S(a), l.d(), t[57](null);
2408
+ s && y(a), l.d(), t[57](null);
2409
2409
  }
2410
2410
  };
2411
2411
  }
@@ -2413,8 +2413,8 @@ const P = "game-tile-";
2413
2413
  let Si = 0;
2414
2414
  function Fi(t, a, i) {
2415
2415
  let o;
2416
- Va(t, Ba, (r) => i(41, o = r));
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, $ = !0, qe = window.navigator.userAgent, j, z = [], J = !0, ee = 40, K = !1, Ge = !1, We = !1, re = !1, Ae = !1, je = !0, me = !1, ue, Le, ce, fe = !1, ae, Ce = !1, ge = new Array(1e4), de = {}, Te = "", ie = "", Me, Pe, U, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2416
+ Va(t, Ja, (r) => i(41, o = r));
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: "" };
2418
2418
  const da = () => {
2419
2419
  fetch(G).then((_) => _.json()).then((_) => {
2420
2420
  Object.keys(_).forEach((F) => {
@@ -2430,7 +2430,7 @@ function Fi(t, a, i) {
2430
2430
  let ha = new IntersectionObserver((r) => {
2431
2431
  r.forEach(async (_) => {
2432
2432
  let F = _.target.gameid, E = _.target.elems_index;
2433
- _.isIntersecting ? (E * 1.2 > ee && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
2433
+ _.isIntersecting ? (E * 1.2 > ae && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
2434
2434
  });
2435
2435
  });
2436
2436
  const Be = (r, _) => {
@@ -2440,61 +2440,61 @@ function Fi(t, a, i) {
2440
2440
  method: "GET",
2441
2441
  headers: { "X-SessionID": r }
2442
2442
  };
2443
- return new Promise((A, M) => {
2444
- fetch(F, E).then((O) => O.json()).then((O) => {
2445
- if (i(23, Q = !1), U = [], O) {
2446
- O.items.forEach((ne) => {
2447
- 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));
2448
2448
  });
2449
- const B = Oe(U)?.length;
2449
+ const x = Oe(O)?.length;
2450
2450
  window.postMessage({
2451
2451
  type: "UpdateFavoritesCount",
2452
- favoriteGamesLength: B
2452
+ favoriteGamesLength: x
2453
2453
  });
2454
2454
  } else
2455
- U = [];
2456
- w === "FAVORITES" && Je(U), z.forEach((B) => {
2457
- B.isFavorite = X(B.id);
2455
+ O = [];
2456
+ w === "FAVORITES" && Je(O), z.forEach((x) => {
2457
+ x.isFavorite = X(x.id);
2458
2458
  });
2459
2459
  let V = z;
2460
- i(27, z = void 0), i(27, z = V), A(U);
2461
- }).catch((O) => {
2462
- 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);
2463
2463
  });
2464
2464
  });
2465
2465
  }, he = (r, _, F) => {
2466
2466
  ze && ze.abort(), ze = new AbortController();
2467
2467
  const E = ze.signal;
2468
2468
  i(23, Q = !0);
2469
- let A = "", M = "", O = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), V = JSON.parse(localStorage.getItem("vendorSortingBy"));
2470
- return (r.match(/\$/g) || []).length > 1 ? (A = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${A}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((B, ne) => {
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), O && O[r])
2472
- if (O[r].length && $ === !1 && fe === !1) {
2473
- let D = "";
2474
- i(32, Ae = !0), O[r].forEach((pe) => {
2475
- D = D + (D ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2476
- }), 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}`);
2477
2477
  } else
2478
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]})`)) : 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: E }).then((D) => D.json()).then((D) => {
2480
- E.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (D = D.items.filter((pe) => {
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) => {
2481
2481
  if (pe.id == r) return pe;
2482
- })[0]), i(50, Pe = !0), i(24, Ee = !1), Le = D.games.total, i(34, me = !0), B(D));
2483
- }).catch((D) => {
2484
- D.name !== "AbortError" && (i(24, Ee = !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));
2485
2485
  });
2486
2486
  });
2487
2487
  }, pa = (r, _, F) => {
2488
- 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((E) => {
2489
- i(26, j = E), i(27, z = j.games.items), z && z.forEach((A) => {
2490
- A.isFavorite = X(A.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);
2491
2491
  });
2492
2492
  }));
2493
2493
  }, De = (r) => {
2494
2494
  if (r.data)
2495
2495
  switch (r.data.type) {
2496
2496
  case "MostPlayedData":
2497
- w == "MOSTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, j = {
2497
+ w == "MOSTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, A = {
2498
2498
  id: "MOSTPLAYED",
2499
2499
  name: "Most Played Games",
2500
2500
  games: {
@@ -2505,7 +2505,7 @@ function Fi(t, a, i) {
2505
2505
  })), i(23, Q = !1);
2506
2506
  break;
2507
2507
  case "LastPlayedData":
2508
- w == "LASTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, j = {
2508
+ w == "LASTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, A = {
2509
2509
  id: "LASTPLAYED",
2510
2510
  name: "Last Played Games",
2511
2511
  games: {
@@ -2527,23 +2527,23 @@ function Fi(t, a, i) {
2527
2527
  i(29, K = !1), i(30, Ge = !1);
2528
2528
  break;
2529
2529
  case "SearchData":
2530
- 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((_) => {
2531
2531
  _.isFavorite = X(_.id);
2532
2532
  });
2533
2533
  break;
2534
2534
  case `CategoryData_${w}`:
2535
- 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((_) => {
2536
- i(26, j = _), i(27, z = j.games.items), Le <= 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) => {
2537
2537
  F.isFavorite = X(F.id);
2538
2538
  });
2539
2539
  });
2540
2540
  break;
2541
2541
  case "CategoryChange":
2542
- ee = 20;
2542
+ ae = 20;
2543
2543
  break;
2544
2544
  case "ApplySorter":
2545
- i(0, w = r.data.itemId), ie = r.data.sortBy, he(w, 0, ee).then((_) => {
2546
- i(26, j = _), i(27, z = j.games.items), i(28, J = !1);
2545
+ i(0, w = r.data.itemId), te = r.data.sortBy, he(w, 0, ae).then((_) => {
2546
+ i(26, A = _), i(27, z = A.games.items), i(28, J = !1);
2547
2547
  });
2548
2548
  break;
2549
2549
  case "CategoryUpdate":
@@ -2563,10 +2563,10 @@ function Fi(t, a, i) {
2563
2563
  break;
2564
2564
  }
2565
2565
  }, Ye = (r) => {
2566
- 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((_) => {
2567
- i(26, j = _), j.games.items.forEach((F) => {
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((_) => {
2567
+ i(26, A = _), A.games.items.forEach((F) => {
2568
2568
  F.isFavorite = X(F.id);
2569
- }), i(27, z = j.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
2569
+ }), i(27, z = A.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
2570
2570
  () => {
2571
2571
  window.postMessage({ type: "WidgetTopReference", scrollTop: We }, window.location.href);
2572
2572
  },
@@ -2574,13 +2574,13 @@ function Fi(t, a, i) {
2574
2574
  ));
2575
2575
  });
2576
2576
  }, _a = () => {
2577
- j && (i(27, z = j.games.items), z.forEach((r) => {
2577
+ A && (i(27, z = A.games.items), z.forEach((r) => {
2578
2578
  r.isFavorite = X(r.id);
2579
2579
  }));
2580
- }, X = (r) => U?.some((_) => _.id === r) ?? !1;
2580
+ }, X = (r) => O?.some((_) => _.id === r) ?? !1;
2581
2581
  let va = async (r, _, F) => {
2582
2582
  await Ue(r, _), W.includes(F) || W.push(F);
2583
- let A = {
2583
+ let j = {
2584
2584
  method: "POST",
2585
2585
  headers: {
2586
2586
  "X-SessionID": _,
@@ -2589,7 +2589,7 @@ function Fi(t, a, i) {
2589
2589
  },
2590
2590
  body: JSON.stringify({ items: W })
2591
2591
  };
2592
- fetch(r, A).then((M) => M.json()).then(() => {
2592
+ fetch(r, j).then((M) => M.json()).then(() => {
2593
2593
  window.postMessage({ type: `AddFavoriteThumbnail_${F}` }, window.location.href);
2594
2594
  }).catch((M) => {
2595
2595
  console.error("Err", M);
@@ -2600,28 +2600,28 @@ function Fi(t, a, i) {
2600
2600
  method: "DELETE",
2601
2601
  headers: { "X-SessionID": _ }
2602
2602
  };
2603
- fetch(`${r}/${F}`, E).then((A) => A.json()).then(() => {
2603
+ fetch(`${r}/${F}`, E).then((j) => j.json()).then(() => {
2604
2604
  window.postMessage(
2605
2605
  {
2606
2606
  type: `RemoveFavoriteThumbnail_${F}`
2607
2607
  },
2608
2608
  window.location.href
2609
2609
  ), Ue(r, _);
2610
- }), W.includes(F) && (W = W.filter((A) => A != F));
2610
+ }), W.includes(F) && (W = W.filter((j) => j != F));
2611
2611
  }, Ue = async (r, _) => fetch(r, {
2612
2612
  method: "GET",
2613
2613
  headers: { "X-SessionID": _ }
2614
2614
  }).then((E) => E.json()).then((E) => {
2615
- U = E.items, se ? (U.forEach((M) => {
2615
+ O = E.items, se ? (O.forEach((M) => {
2616
2616
  W.includes(M.id) || W.push(M.id);
2617
- }), _a()) : U.forEach((M) => {
2617
+ }), _a()) : O.forEach((M) => {
2618
2618
  M.isFavorite = X(M.id);
2619
2619
  });
2620
- const A = Oe(U)?.length;
2620
+ const j = Oe(O)?.length;
2621
2621
  w === "FAVORITES" && (window.postMessage({
2622
2622
  type: "UpdateFavoritesCount",
2623
- favoriteGamesLength: A
2624
- }), Je(U));
2623
+ favoriteGamesLength: j
2624
+ }), Je(O));
2625
2625
  }).catch((E) => {
2626
2626
  console.error(E);
2627
2627
  }), Je = (r) => {
@@ -2629,22 +2629,22 @@ function Fi(t, a, i) {
2629
2629
  let _;
2630
2630
  _ = r?.items || r || [], _.length > 0 && _.forEach((F) => {
2631
2631
  F.gameModel && (F.gameModel.isFavorite = !0);
2632
- }), 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);
2633
2633
  }, wa = (r) => {
2634
- ee += 1, i(34, me = !0), ee <= Le && he(r, Si, ee).then((_) => {
2635
- i(26, j = _), j.games.items.length > z.length && (i(27, z = j.games.items), z.forEach((F) => {
2634
+ ae += 1, i(34, me = !0), ae <= Le && he(r, Si, ae).then((_) => {
2635
+ i(26, A = _), A.games.items.length > z.length && (i(27, z = A.games.items), z.forEach((F) => {
2636
2636
  F.isFavorite = X(F.id);
2637
2637
  })), i(34, me = !1);
2638
2638
  });
2639
2639
  }, ka = (r) => {
2640
- if (!(r?.length > 0)) return;
2641
- if (r?.length === 0) return "";
2642
- let _ = "", F = 999999999999, E;
2643
- const A = new Date(Date.now());
2644
- return r.forEach((M, O) => {
2645
- const V = new Date(M.schedules[0].startTime), B = new Date(M.schedules[0].endTime);
2646
- Ie(B).diff(A) < F && (F = Ie(B).diff(A), E = O), Ie(A).isAfter(V) && Ie(A).isBefore(B) && (_ = r[E].name);
2647
- }), _;
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;
2648
2648
  }, Ke = (r) => {
2649
2649
  window.postMessage(
2650
2650
  {
@@ -2679,13 +2679,13 @@ function Fi(t, a, i) {
2679
2679
  Ka(m);
2680
2680
  }, Ca = () => {
2681
2681
  let r = document.createElement("style");
2682
- r.innerHTML = p, ae.appendChild(r);
2682
+ r.innerHTML = p, ie.appendChild(r);
2683
2683
  }, Ma = () => {
2684
2684
  let r = new URL(v), _ = document.createElement("style");
2685
2685
  fetch(r.href).then((F) => F.text()).then((F) => {
2686
2686
  _.innerHTML = F, setTimeout(
2687
2687
  () => {
2688
- ae.appendChild(_);
2688
+ ie.appendChild(_);
2689
2689
  },
2690
2690
  1
2691
2691
  );
@@ -2699,7 +2699,7 @@ function Fi(t, a, i) {
2699
2699
  ce = r, i(36, ce);
2700
2700
  });
2701
2701
  }
2702
- const Ia = (r) => Ke(j.id);
2702
+ const Ia = (r) => Ke(A.id);
2703
2703
  function Na(r, _) {
2704
2704
  oe[r ? "unshift" : "push"](() => {
2705
2705
  ge[_] = r, i(22, ge);
@@ -2722,7 +2722,7 @@ function Fi(t, a, i) {
2722
2722
  }
2723
2723
  function ja(r) {
2724
2724
  oe[r ? "unshift" : "push"](() => {
2725
- ae = r, i(21, ae);
2725
+ ie = r, i(21, ie);
2726
2726
  });
2727
2727
  }
2728
2728
  return t.$$set = (r) => {
@@ -2737,8 +2737,8 @@ function Fi(t, a, i) {
2737
2737
  524288 && Pe && ge && Fa(), t.$$.dirty[0] & /*lang, categoryid*/
2738
2738
  33 && m && w && ya(), t.$$.dirty[0] & /*translationurl*/
2739
2739
  2048 && G && da(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2740
- 2097664 && p && ae && Ca(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2741
- 2098176 && v && ae && Ma();
2740
+ 2097664 && p && ie && Ca(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2741
+ 2098176 && v && ie && Ma();
2742
2742
  }, [
2743
2743
  w,
2744
2744
  be,
@@ -2761,12 +2761,12 @@ function Fi(t, a, i) {
2761
2761
  b,
2762
2762
  He,
2763
2763
  Ve,
2764
- ae,
2764
+ ie,
2765
2765
  ge,
2766
2766
  Q,
2767
2767
  Ee,
2768
- $,
2769
- j,
2768
+ ee,
2769
+ A,
2770
2770
  z,
2771
2771
  J,
2772
2772
  K,
@@ -2780,7 +2780,7 @@ function Fi(t, a, i) {
2780
2780
  fe,
2781
2781
  de,
2782
2782
  Te,
2783
- te,
2783
+ ne,
2784
2784
  o,
2785
2785
  qe,
2786
2786
  ka,
@@ -2807,7 +2807,7 @@ class Gi extends Pa {
2807
2807
  a,
2808
2808
  Fi,
2809
2809
  yi,
2810
- Oa,
2810
+ Ua,
2811
2811
  {
2812
2812
  endpoint: 3,
2813
2813
  datasource: 4,
@@ -2997,7 +2997,7 @@ class Gi extends Pa {
2997
2997
  this.$$set({ showallbuttongamescount: a }), N();
2998
2998
  }
2999
2999
  }
3000
- Ua(Gi, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {} }, [], [], !0);
3000
+ Oa(Gi, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {} }, [], [], !0);
3001
3001
  export {
3002
3002
  Gi as default
3003
3003
  };