@everymatrix/casino-page-nd 1.85.12 → 1.85.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/components/{CasinoFavoritesSectionNd-CjZKdY7t.cjs → CasinoFavoritesSectionNd-BFXmRCa4.cjs} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-CR03nNUp.js → CasinoFavoritesSectionNd-DjflhdZM.js} +1 -1
  3. package/components/{CasinoFavoritesSectionNd-CIYQZ164.js → CasinoFavoritesSectionNd-DrBF350v.js} +1 -1
  4. package/components/{CasinoGameThumbnailNd-Bb9hgCP3.js → CasinoGameThumbnailNd-C0xuuQGC.js} +472 -460
  5. package/components/{CasinoGameThumbnailNd-CkQIty7r.js → CasinoGameThumbnailNd-DpdIxF9T.js} +473 -461
  6. package/components/CasinoGameThumbnailNd-Dx-Z9ehY.cjs +30 -0
  7. package/components/{CasinoGamesCategorySectionNd-qQ2zNMAx.js → CasinoGamesCategorySectionNd-CEal_e3w.js} +2 -2
  8. package/components/{CasinoGamesCategorySectionNd-CV0AOVfJ.cjs → CasinoGamesCategorySectionNd-CowdvKpM.cjs} +1 -1
  9. package/components/{CasinoGamesCategorySectionNd-CZG4EHlq.js → CasinoGamesCategorySectionNd-uN5Z5sGn.js} +2 -2
  10. package/components/{CasinoLastPlayedSectionNd-BcJq9mVE.js → CasinoLastPlayedSectionNd-CrVfsphW.js} +1 -1
  11. package/components/{CasinoLastPlayedSectionNd-l-PCn2c4.cjs → CasinoLastPlayedSectionNd-DScGvzqt.cjs} +1 -1
  12. package/components/{CasinoLastPlayedSectionNd-CL3sOp2M.js → CasinoLastPlayedSectionNd-DvCnB6hL.js} +1 -1
  13. package/components/{CasinoMostPlayedSectionNd-2xLVb8x9.js → CasinoMostPlayedSectionNd-BG3ZclFh.js} +1 -1
  14. package/components/{CasinoMostPlayedSectionNd-pRc6yROy.js → CasinoMostPlayedSectionNd-DefPe-8a.js} +1 -1
  15. package/components/{CasinoMostPlayedSectionNd-D9e2u2KA.cjs → CasinoMostPlayedSectionNd-d3yItraP.cjs} +1 -1
  16. package/components/{CasinoMyGamesNd-CMxyQeWD.cjs → CasinoMyGamesNd-CO4s3R8u.cjs} +1 -1
  17. package/components/{CasinoMyGamesNd-DNaRWOKk.js → CasinoMyGamesNd-CkPMbwrr.js} +3 -3
  18. package/components/{CasinoMyGamesNd-BhNUQ2Jv.js → CasinoMyGamesNd-DhRKMEzU.js} +3 -3
  19. package/components/CasinoPageNd-BL24J8qM.cjs +1 -0
  20. package/components/{CasinoPageNd-CqEgsF7E.js → CasinoPageNd-D2o2HWTB.js} +292 -281
  21. package/components/{CasinoPageNd-DYlWnAhg.js → CasinoPageNd-Dv7h4SP_.js} +46 -35
  22. package/components/{CasinoSearchNd-NWRDpJin.js → CasinoSearchNd-BnawlXwl.js} +408 -391
  23. package/components/CasinoSearchNd-CY6JVZyj.cjs +1 -0
  24. package/components/{CasinoSearchNd-YAzw-1yq.js → CasinoSearchNd-YRt5iiRy.js} +376 -359
  25. package/es2015/casino-page-nd.cjs +1 -1
  26. package/es2015/casino-page-nd.js +1 -1
  27. package/esnext/casino-page-nd.js +1 -1
  28. package/lazy/{casino-favorites-section-nd-DS-GACUH.js → casino-favorites-section-nd-B464tWuk.js} +1 -1
  29. package/lazy/{casino-favorites-section-nd-BklbFM8H.js → casino-favorites-section-nd-CG4gkQ58.js} +1 -1
  30. package/lazy/{casino-favorites-section-nd-B8W5crnz.cjs → casino-favorites-section-nd-Ie8atcX2.cjs} +1 -1
  31. package/lazy/{casino-game-thumbnail-nd-BM886w8z.js → casino-game-thumbnail-nd-B0x3aPO8.js} +1 -1
  32. package/lazy/{casino-game-thumbnail-nd-CIHlCnqo.cjs → casino-game-thumbnail-nd-CtTPwQj1.cjs} +1 -1
  33. package/lazy/{casino-game-thumbnail-nd-DSrZ2kOq.js → casino-game-thumbnail-nd-jUs1_Mp-.js} +1 -1
  34. package/lazy/{casino-games-category-section-nd-NOfJcgOl.js → casino-games-category-section-nd-B_p9K1av.js} +1 -1
  35. package/lazy/{casino-games-category-section-nd-hA4C1RpZ.cjs → casino-games-category-section-nd-CCrI4Rx7.cjs} +1 -1
  36. package/lazy/{casino-games-category-section-nd-B8M3UMq4.js → casino-games-category-section-nd-VOaH0za1.js} +1 -1
  37. package/lazy/{casino-last-played-section-nd-D7dNapf3.js → casino-last-played-section-nd-BaSgBrc0.js} +1 -1
  38. package/lazy/{casino-last-played-section-nd-yrDr0ouI.js → casino-last-played-section-nd-BdnvcTff.js} +1 -1
  39. package/lazy/{casino-last-played-section-nd-BqiV07rX.cjs → casino-last-played-section-nd-H5MqF3LM.cjs} +1 -1
  40. package/lazy/{casino-most-played-section-nd-CV1BzHfn.js → casino-most-played-section-nd-DLm0Jc-q.js} +1 -1
  41. package/lazy/{casino-most-played-section-nd-DSyEg16_.js → casino-most-played-section-nd-cbrNBD_F.js} +1 -1
  42. package/lazy/{casino-most-played-section-nd-vY2AkpUk.cjs → casino-most-played-section-nd-eFVMvURw.cjs} +1 -1
  43. package/lazy/{casino-my-games-nd-BICQCoiC.js → casino-my-games-nd-CHo2TxVC.js} +1 -1
  44. package/lazy/{casino-my-games-nd-CQZrWD9p.cjs → casino-my-games-nd-Cghrbr_5.cjs} +1 -1
  45. package/lazy/{casino-my-games-nd-a-HEh07A.js → casino-my-games-nd-DStH4jaW.js} +1 -1
  46. package/lazy/{casino-search-nd-ByeNbX6k.js → casino-search-nd-BvOU2Nyk.js} +1 -1
  47. package/lazy/{casino-search-nd-D_-MKj37.cjs → casino-search-nd-Dy_PKZfm.cjs} +1 -1
  48. package/lazy/{casino-search-nd-D80VJxri.js → casino-search-nd-H25Vvy8x.js} +1 -1
  49. package/package.json +1 -1
  50. package/components/CasinoGameThumbnailNd-DJBA-vLo.cjs +0 -30
  51. package/components/CasinoPageNd-DHAwg-Iu.cjs +0 -1
  52. package/components/CasinoSearchNd-CL4N8eDT.cjs +0 -1
@@ -1,40 +1,40 @@
1
- var tt = Object.defineProperty;
2
- var me = Object.getOwnPropertySymbols;
3
- var at = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
4
- var fe = (a, e, t) => e in a ? tt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, pe = (a, e) => {
1
+ var nt = Object.defineProperty;
2
+ var fe = Object.getOwnPropertySymbols;
3
+ var rt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
4
+ var pe = (a, e, t) => e in a ? nt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, Se = (a, e) => {
5
5
  for (var t in e || (e = {}))
6
- at.call(e, t) && fe(a, t, e[t]);
7
- if (me)
8
- for (var t of me(e))
9
- nt.call(e, t) && fe(a, t, e[t]);
6
+ rt.call(e, t) && pe(a, t, e[t]);
7
+ if (fe)
8
+ for (var t of fe(e))
9
+ ot.call(e, t) && pe(a, t, e[t]);
10
10
  return a;
11
11
  };
12
- var Se = (a, e, t) => new Promise((r, o) => {
12
+ var _e = (a, e, t) => new Promise((r, o) => {
13
13
  var l = (c) => {
14
14
  try {
15
15
  i(t.next(c));
16
- } catch (g) {
17
- o(g);
16
+ } catch (d) {
17
+ o(d);
18
18
  }
19
19
  }, s = (c) => {
20
20
  try {
21
21
  i(t.throw(c));
22
- } catch (g) {
23
- o(g);
22
+ } catch (d) {
23
+ o(d);
24
24
  }
25
25
  }, i = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(l, s);
26
26
  i((t = t.apply(a, e)).next());
27
27
  });
28
- import { a as rt, $ as ot, S as st, i as lt, s as it, f as L, b as ct, n as _e, d as T, M as ut, r as f, Q as we, h as I, p as w, A as Y, j as R, B as z, F as be, P as se, k as ht, o as dt, m as q, q as U, C as ve, v as ye, w as gt, T as Pe, E as u, H as mt, I as ft, J as pt, K as St, L as _t } from "./CasinoCalendar-B8zCvPQQ.js";
29
- import "../lazy/casino-game-thumbnail-nd-BM886w8z.js";
30
- import { d as ke, i as wt, a as bt } from "./CasinoGameThumbnailNd-Bb9hgCP3.js";
31
- function Re(a, e) {
32
- rt(a, e);
28
+ import { a as st, $ as lt, S as it, i as ct, s as ut, f as F, b as ht, n as we, d as I, M as dt, r as p, Q as be, h as G, p as w, A as K, j as R, B as D, F as ve, P as le, k as gt, o as mt, m as x, q as W, C as ke, v as ye, w as ft, T as De, E as u, H as pt, I as St, J as _t, K as wt, L as bt } from "./CasinoCalendar-B8zCvPQQ.js";
29
+ import "../lazy/casino-game-thumbnail-nd-B0x3aPO8.js";
30
+ import { d as Re, i as vt, a as kt } from "./CasinoGameThumbnailNd-C0xuuQGC.js";
31
+ function Ce(a, e) {
32
+ st(a, e);
33
33
  }
34
- function vt(a) {
35
- ot.set(a);
34
+ function yt(a) {
35
+ lt.set(a);
36
36
  }
37
- const Ce = {
37
+ const Fe = {
38
38
  en: {
39
39
  recentSearch: "Recent search",
40
40
  placeHolderSearchGames: "Search for Games",
@@ -216,49 +216,49 @@ const Ce = {
216
216
  notFoundText: "Please type the correct name of the game to start to play.",
217
217
  noRecentSearches: "No recent searches yet. Search for any of our games."
218
218
  }
219
- }, yt = (a, e) => function(...t) {
219
+ }, Rt = (a, e) => function(...t) {
220
220
  clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
221
221
  a.apply(this, t);
222
222
  }, e);
223
223
  };
224
- function kt(a) {
225
- ct(a, "svelte-1vt65d9", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
224
+ function Ct(a) {
225
+ ht(a, "svelte-1vt65d9", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
226
226
  }
227
- function Fe(a, e, t) {
227
+ function Le(a, e, t) {
228
228
  const r = a.slice();
229
- return r[63] = e[t], r;
229
+ return r[65] = e[t], r;
230
230
  }
231
- function Le(a) {
231
+ function Te(a) {
232
232
  let e, t = (
233
233
  /*$_*/
234
234
  a[21]("cancel") + ""
235
235
  ), r, o, l, s;
236
236
  return {
237
237
  c() {
238
- e = R("small"), r = U(t), f(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
238
+ e = R("small"), r = W(t), p(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
239
239
  (a[16] ? "NotVisible" : ""));
240
240
  },
241
241
  m(i, c) {
242
- I(i, e, c), w(e, r), l || (s = Y(
242
+ G(i, e, c), w(e, r), l || (s = K(
243
243
  e,
244
244
  "click",
245
245
  /*click_handler_1*/
246
- a[39]
246
+ a[41]
247
247
  ), l = !0);
248
248
  },
249
249
  p(i, c) {
250
250
  c[0] & /*$_*/
251
251
  2097152 && t !== (t = /*$_*/
252
- i[21]("cancel") + "") && q(r, t), c[0] & /*searchCancelled*/
252
+ i[21]("cancel") + "") && x(r, t), c[0] & /*searchCancelled*/
253
253
  65536 && o !== (o = "SearchCancelButton " + /*searchCancelled*/
254
- (i[16] ? "NotVisible" : "")) && f(e, "class", o);
254
+ (i[16] ? "NotVisible" : "")) && p(e, "class", o);
255
255
  },
256
256
  d(i) {
257
- i && T(e), l = !1, s();
257
+ i && I(e), l = !1, s();
258
258
  }
259
259
  };
260
260
  }
261
- function Rt(a) {
261
+ function Ft(a) {
262
262
  let e, t, r, o;
263
263
  function l(h, m) {
264
264
  if (
@@ -266,134 +266,134 @@ function Rt(a) {
266
266
  h[17] == !0 && /*searchValue*/
267
267
  h[14].length < 2
268
268
  )
269
- return Lt;
269
+ return It;
270
270
  if (
271
271
  /*searchArray*/
272
272
  h[13].length != 0
273
273
  )
274
- return Ft;
274
+ return Tt;
275
275
  }
276
276
  let s = l(a), i = s && s(a), c = (
277
277
  /*searchCancelled*/
278
- a[16] === !1 && Ge(a)
279
- ), g = (
278
+ a[16] === !1 && Ee(a)
279
+ ), d = (
280
280
  /*searchValue*/
281
281
  a[14].length >= 2 && /*searchArray*/
282
- a[13].length == 0 && ze(a)
282
+ a[13].length == 0 && Ne(a)
283
283
  );
284
284
  return {
285
285
  c() {
286
- i && i.c(), e = z(), t = R("div"), c && c.c(), r = z(), g && g.c(), f(t, "class", o = "SearchResultsContainer " + /*searchActive*/
286
+ i && i.c(), e = D(), t = R("div"), c && c.c(), r = D(), d && d.c(), p(t, "class", o = "SearchResultsContainer " + /*searchActive*/
287
287
  (a[17] == !0 ? "" : "NotVisible"));
288
288
  },
289
289
  m(h, m) {
290
- i && i.m(h, m), I(h, e, m), I(h, t, m), c && c.m(t, null), w(t, r), g && g.m(t, null);
290
+ i && i.m(h, m), G(h, e, m), G(h, t, m), c && c.m(t, null), w(t, r), d && d.m(t, null);
291
291
  },
292
292
  p(h, m) {
293
293
  s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
294
- h[16] === !1 ? c ? c.p(h, m) : (c = Ge(h), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
294
+ h[16] === !1 ? c ? c.p(h, m) : (c = Ee(h), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
295
295
  h[14].length >= 2 && /*searchArray*/
296
- h[13].length == 0 ? g ? g.p(h, m) : (g = ze(h), g.c(), g.m(t, null)) : g && (g.d(1), g = null), m[0] & /*searchActive*/
296
+ h[13].length == 0 ? d ? d.p(h, m) : (d = Ne(h), d.c(), d.m(t, null)) : d && (d.d(1), d = null), m[0] & /*searchActive*/
297
297
  131072 && o !== (o = "SearchResultsContainer " + /*searchActive*/
298
- (h[17] == !0 ? "" : "NotVisible")) && f(t, "class", o);
298
+ (h[17] == !0 ? "" : "NotVisible")) && p(t, "class", o);
299
299
  },
300
300
  d(h) {
301
- h && (T(e), T(t)), i && i.d(h), c && c.d(), g && g.d();
301
+ h && (I(e), I(t)), i && i.d(h), c && c.d(), d && d.d();
302
302
  }
303
303
  };
304
304
  }
305
- function Ct(a) {
305
+ function Lt(a) {
306
306
  let e, t = (
307
307
  /*$_*/
308
308
  a[21]("loading") + ""
309
309
  ), r;
310
310
  return {
311
311
  c() {
312
- e = R("p"), r = U(t), f(e, "class", "LoadingContent");
312
+ e = R("p"), r = W(t), p(e, "class", "LoadingContent");
313
313
  },
314
314
  m(o, l) {
315
- I(o, e, l), w(e, r);
315
+ G(o, e, l), w(e, r);
316
316
  },
317
317
  p(o, l) {
318
318
  l[0] & /*$_*/
319
319
  2097152 && t !== (t = /*$_*/
320
- o[21]("loading") + "") && q(r, t);
320
+ o[21]("loading") + "") && x(r, t);
321
321
  },
322
322
  d(o) {
323
- o && T(e);
323
+ o && I(e);
324
324
  }
325
325
  };
326
326
  }
327
- function Ft(a) {
327
+ function Tt(a) {
328
328
  let e, t = (
329
329
  /*$_*/
330
330
  a[21]("searchResult") + ""
331
331
  ), r;
332
332
  return {
333
333
  c() {
334
- e = R("p"), r = U(t), f(e, "class", "SearchMessage");
334
+ e = R("p"), r = W(t), p(e, "class", "SearchMessage");
335
335
  },
336
336
  m(o, l) {
337
- I(o, e, l), w(e, r);
337
+ G(o, e, l), w(e, r);
338
338
  },
339
339
  p(o, l) {
340
340
  l[0] & /*$_*/
341
341
  2097152 && t !== (t = /*$_*/
342
- o[21]("searchResult") + "") && q(r, t);
342
+ o[21]("searchResult") + "") && x(r, t);
343
343
  },
344
344
  d(o) {
345
- o && T(e);
345
+ o && I(e);
346
346
  }
347
347
  };
348
348
  }
349
- function Lt(a) {
349
+ function It(a) {
350
350
  let e, t, r = (
351
351
  /*searchArray*/
352
- a[13].length !== 0 && Te(a)
352
+ a[13].length !== 0 && Ie(a)
353
353
  ), o = (
354
354
  /*searchArray*/
355
- a[13].length == 0 && Ie(a)
355
+ a[13].length == 0 && Ge(a)
356
356
  );
357
357
  return {
358
358
  c() {
359
- r && r.c(), e = z(), o && o.c(), t = Pe();
359
+ r && r.c(), e = D(), o && o.c(), t = De();
360
360
  },
361
361
  m(l, s) {
362
- r && r.m(l, s), I(l, e, s), o && o.m(l, s), I(l, t, s);
362
+ r && r.m(l, s), G(l, e, s), o && o.m(l, s), G(l, t, s);
363
363
  },
364
364
  p(l, s) {
365
365
  /*searchArray*/
366
- l[13].length !== 0 ? r ? r.p(l, s) : (r = Te(l), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
367
- l[13].length == 0 ? o ? o.p(l, s) : (o = Ie(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
366
+ l[13].length !== 0 ? r ? r.p(l, s) : (r = Ie(l), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
367
+ l[13].length == 0 ? o ? o.p(l, s) : (o = Ge(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
368
368
  },
369
369
  d(l) {
370
- l && (T(e), T(t)), r && r.d(l), o && o.d(l);
370
+ l && (I(e), I(t)), r && r.d(l), o && o.d(l);
371
371
  }
372
372
  };
373
373
  }
374
- function Te(a) {
374
+ function Ie(a) {
375
375
  let e, t = (
376
376
  /*$_*/
377
377
  a[21]("recentSearch") + ""
378
378
  ), r;
379
379
  return {
380
380
  c() {
381
- e = R("p"), r = U(t), f(e, "class", "SearchMessage");
381
+ e = R("p"), r = W(t), p(e, "class", "SearchMessage");
382
382
  },
383
383
  m(o, l) {
384
- I(o, e, l), w(e, r);
384
+ G(o, e, l), w(e, r);
385
385
  },
386
386
  p(o, l) {
387
387
  l[0] & /*$_*/
388
388
  2097152 && t !== (t = /*$_*/
389
- o[21]("recentSearch") + "") && q(r, t);
389
+ o[21]("recentSearch") + "") && x(r, t);
390
390
  },
391
391
  d(o) {
392
- o && T(e);
392
+ o && I(e);
393
393
  }
394
394
  };
395
395
  }
396
- function Ie(a) {
396
+ function Ge(a) {
397
397
  let e, t, r, o = (
398
398
  /*$_*/
399
399
  a[21]("noRecentSearches") + ""
@@ -403,22 +403,22 @@ function Ie(a) {
403
403
  );
404
404
  return {
405
405
  c() {
406
- e = R("div"), i && i.c(), t = z(), r = R("p"), l = U(o), f(r, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
406
+ e = R("div"), i && i.c(), t = D(), r = R("p"), l = W(o), p(r, "class", "SearchMessage"), p(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
407
407
  (a[11] == "true" ? "WithIcon" : ""));
408
408
  },
409
- m(c, g) {
410
- I(c, e, g), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
409
+ m(c, d) {
410
+ G(c, e, d), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
411
411
  },
412
- p(c, g) {
412
+ p(c, d) {
413
413
  /*notfoundicon*/
414
- c[11] === "true" ? i || (i = je(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), g[0] & /*$_*/
414
+ c[11] === "true" ? i || (i = je(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), d[0] & /*$_*/
415
415
  2097152 && o !== (o = /*$_*/
416
- c[21]("noRecentSearches") + "") && q(l, o), g[0] & /*notfoundicon*/
416
+ c[21]("noRecentSearches") + "") && x(l, o), d[0] & /*notfoundicon*/
417
417
  2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
418
- (c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
418
+ (c[11] == "true" ? "WithIcon" : "")) && p(e, "class", s);
419
419
  },
420
420
  d(c) {
421
- c && T(e), i && i.d();
421
+ c && I(e), i && i.d();
422
422
  }
423
423
  };
424
424
  }
@@ -426,45 +426,45 @@ function je(a) {
426
426
  let e;
427
427
  return {
428
428
  c() {
429
- e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
429
+ e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', p(e, "class", "SearchErrorIcon");
430
430
  },
431
431
  m(t, r) {
432
- I(t, e, r);
432
+ G(t, e, r);
433
433
  },
434
434
  d(t) {
435
- t && T(e);
435
+ t && I(e);
436
436
  }
437
437
  };
438
438
  }
439
- function Ge(a) {
439
+ function Ee(a) {
440
440
  let e, t = ye(
441
441
  /*searchArray*/
442
442
  a[13]
443
443
  ), r = [];
444
444
  for (let o = 0; o < t.length; o += 1)
445
- r[o] = Ee(Fe(a, t, o));
445
+ r[o] = ze(Le(a, t, o));
446
446
  return {
447
447
  c() {
448
448
  for (let o = 0; o < r.length; o += 1)
449
449
  r[o].c();
450
- e = Pe();
450
+ e = De();
451
451
  },
452
452
  m(o, l) {
453
453
  for (let s = 0; s < r.length; s += 1)
454
454
  r[s] && r[s].m(o, l);
455
- I(o, e, l);
455
+ G(o, e, l);
456
456
  },
457
457
  p(o, l) {
458
- if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
459
- 35136511) {
458
+ if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, getRequiredIcon, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
459
+ 77079551) {
460
460
  t = ye(
461
461
  /*searchArray*/
462
462
  o[13]
463
463
  );
464
464
  let s;
465
465
  for (s = 0; s < t.length; s += 1) {
466
- const i = Fe(o, t, s);
467
- r[s] ? r[s].p(i, l) : (r[s] = Ee(i), r[s].c(), r[s].m(e.parentNode, e));
466
+ const i = Le(o, t, s);
467
+ r[s] ? r[s].p(i, l) : (r[s] = ze(i), r[s].c(), r[s].m(e.parentNode, e));
468
468
  }
469
469
  for (; s < r.length; s += 1)
470
470
  r[s].d(1);
@@ -472,15 +472,15 @@ function Ge(a) {
472
472
  }
473
473
  },
474
474
  d(o) {
475
- o && T(e), gt(r, o);
475
+ o && I(e), ft(r, o);
476
476
  }
477
477
  };
478
478
  }
479
- function Ee(a) {
480
- let e, t, r, o, l, s, i, c, g, h, m, y;
479
+ function ze(a) {
480
+ let e, t, r, o, l, s, i, c, d, h, m, k, T;
481
481
  return {
482
482
  c() {
483
- var d;
483
+ var g, S;
484
484
  e = R("casino-game-thumbnail-nd"), u(
485
485
  e,
486
486
  "endpoint",
@@ -507,28 +507,32 @@ function Ee(a) {
507
507
  /*lang*/
508
508
  a[1]
509
509
  ), u(e, "gamethumbnail", t = /*game*/
510
- a[63].thumbnail), u(e, "gamename", r = /*game*/
511
- a[63].name), u(e, "gamevendor", o = /*game*/
512
- a[63].vendor.name), u(e, "gameLaunchUrl", l = /*game*/
513
- a[63].launchUrl), u(e, "gameisnew", s = /*game*/
514
- a[63].isNew), u(e, "gametag", i = /*game*/
515
- ((d = a[63].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
516
- a[25](
510
+ a[65].thumbnail), u(e, "icon", r = /*getRequiredIcon*/
511
+ a[23](
512
+ /*game*/
513
+ (g = a[65]) == null ? void 0 : g.icons
514
+ )), u(e, "gamename", o = /*game*/
515
+ a[65].name), u(e, "gamevendor", l = /*game*/
516
+ a[65].vendor.name), u(e, "gameLaunchUrl", s = /*game*/
517
+ a[65].launchUrl), u(e, "gameisnew", i = /*game*/
518
+ a[65].isNew), u(e, "gametag", c = /*game*/
519
+ ((S = a[65].advancedTags) == null ? void 0 : S.length) > 0 && /*addGameTag*/
520
+ a[26](
517
521
  /*game*/
518
- a[63].advancedTags
519
- )), u(e, "gamecellsize", c = /*game*/
520
- a[63].cellSize), u(e, "gameid", g = /*game*/
521
- a[63].id), u(
522
+ a[65].advancedTags
523
+ )), u(e, "gamecellsize", d = /*game*/
524
+ a[65].cellSize), u(e, "gameid", h = /*game*/
525
+ a[65].id), u(
522
526
  e,
523
527
  "showgamename",
524
528
  /*showgamename*/
525
529
  a[7]
526
- ), u(e, "gamefunmode", h = /*game*/
527
- a[63].hasFunMode), u(e, "gamefavorite", m = /*game*/
528
- a[63].isFavorite), u(e, "livelobbyendpoint", y = /*game*/
529
- a[63].details ? (
530
+ ), u(e, "gamefunmode", m = /*game*/
531
+ a[65].hasFunMode), u(e, "gamefavorite", k = /*game*/
532
+ a[65].isFavorite), u(e, "livelobbyendpoint", T = /*game*/
533
+ a[65].details ? (
530
534
  /*game*/
531
- a[63].launchUrl
535
+ a[65].launchUrl
532
536
  ) : ""), u(
533
537
  e,
534
538
  "integratedgameframedesktop",
@@ -561,516 +565,522 @@ function Ee(a) {
561
565
  a[2]
562
566
  );
563
567
  },
564
- m(d, S) {
565
- I(d, e, S);
568
+ m(g, S) {
569
+ G(g, e, S);
566
570
  },
567
- p(d, S) {
568
- var A;
571
+ p(g, S) {
572
+ var E, N;
569
573
  S[0] & /*endpoint*/
570
574
  1 && u(
571
575
  e,
572
576
  "endpoint",
573
577
  /*endpoint*/
574
- d[0]
578
+ g[0]
575
579
  ), S[0] & /*sessionID*/
576
580
  524288 && u(
577
581
  e,
578
582
  "session",
579
583
  /*sessionID*/
580
- d[19]
584
+ g[19]
581
585
  ), S[0] & /*playerID*/
582
586
  1048576 && u(
583
587
  e,
584
588
  "userid",
585
589
  /*playerID*/
586
- d[20]
590
+ g[20]
587
591
  ), S[0] & /*showfavorites*/
588
592
  512 && u(
589
593
  e,
590
594
  "favorites",
591
595
  /*showfavorites*/
592
- d[9]
596
+ g[9]
593
597
  ), S[0] & /*lang*/
594
598
  2 && u(
595
599
  e,
596
600
  "lang",
597
601
  /*lang*/
598
- d[1]
602
+ g[1]
599
603
  ), S[0] & /*searchArray*/
600
604
  8192 && t !== (t = /*game*/
601
- d[63].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
602
- 8192 && r !== (r = /*game*/
603
- d[63].name) && u(e, "gamename", r), S[0] & /*searchArray*/
605
+ g[65].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
606
+ 8192 && r !== (r = /*getRequiredIcon*/
607
+ g[23](
608
+ /*game*/
609
+ (E = g[65]) == null ? void 0 : E.icons
610
+ )) && u(e, "icon", r), S[0] & /*searchArray*/
604
611
  8192 && o !== (o = /*game*/
605
- d[63].vendor.name) && u(e, "gamevendor", o), S[0] & /*searchArray*/
612
+ g[65].name) && u(e, "gamename", o), S[0] & /*searchArray*/
606
613
  8192 && l !== (l = /*game*/
607
- d[63].launchUrl) && u(e, "gameLaunchUrl", l), S[0] & /*searchArray*/
614
+ g[65].vendor.name) && u(e, "gamevendor", l), S[0] & /*searchArray*/
608
615
  8192 && s !== (s = /*game*/
609
- d[63].isNew) && u(e, "gameisnew", s), S[0] & /*searchArray*/
616
+ g[65].launchUrl) && u(e, "gameLaunchUrl", s), S[0] & /*searchArray*/
610
617
  8192 && i !== (i = /*game*/
611
- ((A = d[63].advancedTags) == null ? void 0 : A.length) > 0 && /*addGameTag*/
612
- d[25](
613
- /*game*/
614
- d[63].advancedTags
615
- )) && u(e, "gametag", i), S[0] & /*searchArray*/
618
+ g[65].isNew) && u(e, "gameisnew", i), S[0] & /*searchArray*/
616
619
  8192 && c !== (c = /*game*/
617
- d[63].cellSize) && u(e, "gamecellsize", c), S[0] & /*searchArray*/
618
- 8192 && g !== (g = /*game*/
619
- d[63].id) && u(e, "gameid", g), S[0] & /*showgamename*/
620
+ ((N = g[65].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
621
+ g[26](
622
+ /*game*/
623
+ g[65].advancedTags
624
+ )) && u(e, "gametag", c), S[0] & /*searchArray*/
625
+ 8192 && d !== (d = /*game*/
626
+ g[65].cellSize) && u(e, "gamecellsize", d), S[0] & /*searchArray*/
627
+ 8192 && h !== (h = /*game*/
628
+ g[65].id) && u(e, "gameid", h), S[0] & /*showgamename*/
620
629
  128 && u(
621
630
  e,
622
631
  "showgamename",
623
632
  /*showgamename*/
624
- d[7]
633
+ g[7]
625
634
  ), S[0] & /*searchArray*/
626
- 8192 && h !== (h = /*game*/
627
- d[63].hasFunMode) && u(e, "gamefunmode", h), S[0] & /*searchArray*/
628
635
  8192 && m !== (m = /*game*/
629
- d[63].isFavorite) && u(e, "gamefavorite", m), S[0] & /*searchArray*/
630
- 8192 && y !== (y = /*game*/
631
- d[63].details ? (
636
+ g[65].hasFunMode) && u(e, "gamefunmode", m), S[0] & /*searchArray*/
637
+ 8192 && k !== (k = /*game*/
638
+ g[65].isFavorite) && u(e, "gamefavorite", k), S[0] & /*searchArray*/
639
+ 8192 && T !== (T = /*game*/
640
+ g[65].details ? (
632
641
  /*game*/
633
- d[63].launchUrl
634
- ) : "") && u(e, "livelobbyendpoint", y), S[0] & /*integratedgameframedesktop*/
642
+ g[65].launchUrl
643
+ ) : "") && u(e, "livelobbyendpoint", T), S[0] & /*integratedgameframedesktop*/
635
644
  32 && u(
636
645
  e,
637
646
  "integratedgameframedesktop",
638
647
  /*integratedgameframedesktop*/
639
- d[5]
648
+ g[5]
640
649
  ), S[0] & /*integratedgameframemobile*/
641
650
  64 && u(
642
651
  e,
643
652
  "integratedgameframemobile",
644
653
  /*integratedgameframemobile*/
645
- d[6]
654
+ g[6]
646
655
  ), S[0] & /*clientstyling*/
647
656
  8 && u(
648
657
  e,
649
658
  "clientstyling",
650
659
  /*clientstyling*/
651
- d[3]
660
+ g[3]
652
661
  ), S[0] & /*clientstylingurl*/
653
662
  16 && u(
654
663
  e,
655
664
  "clientstylingurl",
656
665
  /*clientstylingurl*/
657
- d[4]
666
+ g[4]
658
667
  ), S[0] & /*gamepagemodalurl*/
659
668
  256 && u(
660
669
  e,
661
670
  "gamepagemodalurl",
662
671
  /*gamepagemodalurl*/
663
- d[8]
672
+ g[8]
664
673
  ), S[0] & /*mbsource*/
665
674
  4 && u(
666
675
  e,
667
676
  "mbsource",
668
677
  /*mbsource*/
669
- d[2]
678
+ g[2]
670
679
  );
671
680
  },
672
- d(d) {
673
- d && T(e);
681
+ d(g) {
682
+ g && I(e);
674
683
  }
675
684
  };
676
685
  }
677
- function ze(a) {
686
+ function Ne(a) {
678
687
  let e, t, r, o = (
679
688
  /*$_*/
680
689
  a[21]("notFound") + ""
681
690
  ), l, s, i, c = (
682
691
  /*$_*/
683
692
  a[21]("notFoundText") + ""
684
- ), g, h, m = (
693
+ ), d, h, m = (
685
694
  /*notfoundicon*/
686
- a[11] === "true" && Ne()
695
+ a[11] === "true" && Pe()
687
696
  );
688
697
  return {
689
698
  c() {
690
- e = R("div"), m && m.c(), t = z(), r = R("p"), l = U(o), s = z(), i = R("p"), g = U(c), f(r, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
699
+ e = R("div"), m && m.c(), t = D(), r = R("p"), l = W(o), s = D(), i = R("p"), d = W(c), p(r, "class", "SearchMessage"), p(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
691
700
  (a[11] == "true" ? "WithIcon" : ""));
692
701
  },
693
- m(y, d) {
694
- I(y, e, d), m && m.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, g);
702
+ m(k, T) {
703
+ G(k, e, T), m && m.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, d);
695
704
  },
696
- p(y, d) {
705
+ p(k, T) {
697
706
  /*notfoundicon*/
698
- y[11] === "true" ? m || (m = Ne(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), d[0] & /*$_*/
707
+ k[11] === "true" ? m || (m = Pe(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), T[0] & /*$_*/
699
708
  2097152 && o !== (o = /*$_*/
700
- y[21]("notFound") + "") && q(l, o), d[0] & /*$_*/
709
+ k[21]("notFound") + "") && x(l, o), T[0] & /*$_*/
701
710
  2097152 && c !== (c = /*$_*/
702
- y[21]("notFoundText") + "") && q(g, c), d[0] & /*notfoundicon*/
711
+ k[21]("notFoundText") + "") && x(d, c), T[0] & /*notfoundicon*/
703
712
  2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
704
- (y[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
713
+ (k[11] == "true" ? "WithIcon" : "")) && p(e, "class", h);
705
714
  },
706
- d(y) {
707
- y && T(e), m && m.d();
715
+ d(k) {
716
+ k && I(e), m && m.d();
708
717
  }
709
718
  };
710
719
  }
711
- function Ne(a) {
720
+ function Pe(a) {
712
721
  let e;
713
722
  return {
714
723
  c() {
715
- e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
724
+ e = R("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', p(e, "class", "SearchErrorIcon");
716
725
  },
717
726
  m(t, r) {
718
- I(t, e, r);
727
+ G(t, e, r);
719
728
  },
720
729
  d(t) {
721
- t && T(e);
730
+ t && I(e);
722
731
  }
723
732
  };
724
733
  }
725
- function Tt(a) {
726
- let e, t, r, o, l, s, i, c, g, h, m, y, d, S, A, N, B, V, J, H, C = (
734
+ function Gt(a) {
735
+ let e, t, r, o, l, s, i, c, d, h, m, k, T, g, S, E, N, U, V, B, L = (
727
736
  /*cancelbutton*/
728
- a[10] === "true" && Le(a)
737
+ a[10] === "true" && Te(a)
729
738
  );
730
- function X(_, j) {
739
+ function J(_, C) {
731
740
  return (
732
741
  /*isLoading*/
733
- _[18] ? Ct : Rt
742
+ _[18] ? Lt : Ft
734
743
  );
735
744
  }
736
- let x = X(a), F = x(a);
745
+ let Z = J(a), j = Z(a);
737
746
  return {
738
747
  c() {
739
- e = R("div"), t = R("div"), r = R("div"), o = R("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = z(), s = R("input"), c = z(), g = R("span"), h = be("svg"), m = be("path"), d = z(), C && C.c(), A = z(), N = R("div"), V = z(), F.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
740
- a[21]("placeHolderSearchGames")), f(s, "maxlength", De), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(g, "class", y = "SearchClearButton " + /*cancelbutton*/
748
+ e = R("div"), t = R("div"), r = R("div"), o = R("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = D(), s = R("input"), c = D(), d = R("span"), h = ve("svg"), m = ve("path"), T = D(), L && L.c(), S = D(), E = R("div"), U = D(), j.c(), p(o, "class", "SearchIcon"), p(s, "class", "SearchInput"), p(s, "type", "search"), p(s, "placeholder", i = /*$_*/
749
+ a[21]("placeHolderSearchGames")), p(s, "maxlength", Me), p(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), p(m, "stroke", "#717171"), p(m, "stroke-width", "2"), p(m, "stroke-linecap", "round"), p(m, "stroke-linejoin", "round"), p(h, "width", "11"), p(h, "height", "11"), p(h, "fill", "none"), p(h, "xmlns", "http://www.w3.org/2000/svg"), p(d, "class", k = "SearchClearButton " + /*cancelbutton*/
741
750
  (a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
742
- (a[14].length != 0 ? "" : "NotVisible")), f(r, "class", S = "Search " + /*searchCancelled*/
743
- (a[16] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(N, "class", B = /*cancelbutton*/
744
- a[10] != "true" ? "OverlayCancel" : ""), f(e, "class", (se(
751
+ (a[14].length != 0 ? "" : "NotVisible")), p(r, "class", g = "Search " + /*searchCancelled*/
752
+ (a[16] ? "" : "SearchAnimation")), p(t, "class", "SearchWrap"), p(E, "class", N = /*cancelbutton*/
753
+ a[10] != "true" ? "OverlayCancel" : ""), p(e, "class", (le(
745
754
  /*userAgent*/
746
755
  a[22]
747
756
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
748
757
  },
749
- m(_, j) {
750
- I(_, e, j), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), we(
758
+ m(_, C) {
759
+ G(_, e, C), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), be(
751
760
  s,
752
761
  /*searchValue*/
753
762
  a[14]
754
- ), a[37](s), w(r, c), w(r, g), w(g, h), w(h, m), w(r, d), C && C.m(r, null), w(e, A), w(e, N), w(e, V), F.m(e, null), a[40](e), J || (H = [
755
- Y(
763
+ ), a[39](s), w(r, c), w(r, d), w(d, h), w(h, m), w(r, T), L && L.m(r, null), w(e, S), w(e, E), w(e, U), j.m(e, null), a[42](e), V || (B = [
764
+ K(
756
765
  s,
757
766
  "input",
758
767
  /*input_input_handler*/
759
- a[36]
768
+ a[38]
760
769
  ),
761
- Y(
770
+ K(
762
771
  s,
763
772
  "focus",
764
773
  /*onFocus*/
765
- a[23]
774
+ a[24]
766
775
  ),
767
- Y(
776
+ K(
768
777
  s,
769
778
  "input",
770
779
  /*handleSearchInput*/
771
- a[28]
780
+ a[29]
772
781
  ),
773
- Y(
774
- g,
782
+ K(
783
+ d,
775
784
  "click",
776
785
  /*click_handler*/
777
- a[38]
786
+ a[40]
778
787
  ),
779
- Y(
780
- N,
788
+ K(
789
+ E,
781
790
  "click",
782
791
  /*handleOverlay*/
783
- a[24]
792
+ a[25]
784
793
  )
785
- ], J = !0);
794
+ ], V = !0);
786
795
  },
787
- p(_, j) {
788
- j[0] & /*$_*/
796
+ p(_, C) {
797
+ C[0] & /*$_*/
789
798
  2097152 && i !== (i = /*$_*/
790
- _[21]("placeHolderSearchGames")) && f(s, "placeholder", i), j[0] & /*searchValue*/
799
+ _[21]("placeHolderSearchGames")) && p(s, "placeholder", i), C[0] & /*searchValue*/
791
800
  16384 && s.value !== /*searchValue*/
792
- _[14] && we(
801
+ _[14] && be(
793
802
  s,
794
803
  /*searchValue*/
795
804
  _[14]
796
- ), j[0] & /*cancelbutton, searchValue*/
797
- 17408 && y !== (y = "SearchClearButton " + /*cancelbutton*/
805
+ ), C[0] & /*cancelbutton, searchValue*/
806
+ 17408 && k !== (k = "SearchClearButton " + /*cancelbutton*/
798
807
  (_[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
799
- (_[14].length != 0 ? "" : "NotVisible")) && f(g, "class", y), /*cancelbutton*/
800
- _[10] === "true" ? C ? C.p(_, j) : (C = Le(_), C.c(), C.m(r, null)) : C && (C.d(1), C = null), j[0] & /*searchCancelled*/
801
- 65536 && S !== (S = "Search " + /*searchCancelled*/
802
- (_[16] ? "" : "SearchAnimation")) && f(r, "class", S), j[0] & /*cancelbutton*/
803
- 1024 && B !== (B = /*cancelbutton*/
804
- _[10] != "true" ? "OverlayCancel" : "") && f(N, "class", B), x === (x = X(_)) && F ? F.p(_, j) : (F.d(1), F = x(_), F && (F.c(), F.m(e, null)));
808
+ (_[14].length != 0 ? "" : "NotVisible")) && p(d, "class", k), /*cancelbutton*/
809
+ _[10] === "true" ? L ? L.p(_, C) : (L = Te(_), L.c(), L.m(r, null)) : L && (L.d(1), L = null), C[0] & /*searchCancelled*/
810
+ 65536 && g !== (g = "Search " + /*searchCancelled*/
811
+ (_[16] ? "" : "SearchAnimation")) && p(r, "class", g), C[0] & /*cancelbutton*/
812
+ 1024 && N !== (N = /*cancelbutton*/
813
+ _[10] != "true" ? "OverlayCancel" : "") && p(E, "class", N), Z === (Z = J(_)) && j ? j.p(_, C) : (j.d(1), j = Z(_), j && (j.c(), j.m(e, null)));
805
814
  },
806
- i: _e,
807
- o: _e,
815
+ i: we,
816
+ o: we,
808
817
  d(_) {
809
- _ && T(e), a[37](null), C && C.d(), F.d(), a[40](null), J = !1, ut(H);
818
+ _ && I(e), a[39](null), L && L.d(), j.d(), a[42](null), V = !1, dt(B);
810
819
  }
811
820
  };
812
821
  }
813
- let De = 50;
814
- function It(a, e, t) {
822
+ let Me = 50;
823
+ function jt(a, e, t) {
815
824
  let r;
816
- ht(a, _t, (n) => t(21, r = n));
817
- let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: y = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: S = "" } = e, { gamepagemodalurl: A = "true" } = e, { translationurl: N = "" } = e, { showfavorites: B = "" } = e, { cancelbutton: V = "true" } = e, { notfoundicon: J = "false" } = e, { controlchannel: H = "casino-search" } = e, { allowedorigins: C = window.location.origin } = e;
818
- const X = () => (C || "").split(",").map((n) => n.trim()).filter(Boolean);
819
- let x = window.navigator.userAgent, F = [], _ = [], j = {}, P = "", O, $ = !0, D = !1, E = !1, M, ee = !1, te, ae, le = [];
820
- const Me = () => {
821
- fetch(N).then((p) => p.json()).then((p) => {
822
- Object.keys(p).forEach((b) => {
823
- Re(b, p[b]);
825
+ gt(a, bt, (n) => t(21, r = n));
826
+ let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: d } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: k = "false" } = e, { integratedgameframemobile: T = "false" } = e, { showgamename: g = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: E = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: U = "true" } = e, { notfoundicon: V = "false" } = e, { controlchannel: B = "casino-search" } = e, { allowedorigins: L = window.location.origin } = e, { requiredicon: J = "false" } = e;
827
+ const Z = () => (L || "").split(",").map((n) => n.trim()).filter(Boolean);
828
+ let j = window.navigator.userAgent, _ = [], C = [], ne = {}, M = "", O, $ = !0, A = !1, P = !1, q, ee = !1, te, ae, ie = [];
829
+ const Ae = () => {
830
+ fetch(E).then((f) => f.json()).then((f) => {
831
+ Object.keys(f).forEach((b) => {
832
+ Ce(b, f[b]);
824
833
  });
825
- }).catch((p) => {
826
- console.log(p);
834
+ }).catch((f) => {
835
+ console.log(f);
827
836
  });
828
837
  };
829
- Object.keys(Ce).forEach((n) => {
830
- Re(n, Ce[n]);
838
+ Object.keys(Fe).forEach((n) => {
839
+ Ce(n, Fe[n]);
831
840
  });
832
- const ie = (n) => {
833
- var p;
834
- n.data && n.data.type == "SearchedItemClicked" && Ve(n.data.gameId), n.data.type == "UserSessionID" && (t(19, te = n.data.session), t(20, ae = n.data.userid), t(35, ee = !0)), n.data.type == "CategoryChange" && Q();
841
+ const ce = (n) => {
842
+ var f;
843
+ n.data && n.data.type == "SearchedItemClicked" && Ze(n.data.gameId), n.data.type == "UserSessionID" && (t(19, te = n.data.session), t(20, ae = n.data.userid), t(37, ee = !0)), n.data.type == "CategoryChange" && X();
835
844
  try {
836
- const b = n.origin === window.location.origin, v = X();
837
- if (!(b || v.length > 0 && v.includes(n.origin)) || !n.data || n.data.channel !== H)
845
+ const b = n.origin === window.location.origin, v = Z();
846
+ if (!(b || v.length > 0 && v.includes(n.origin)) || !n.data || n.data.channel !== B)
838
847
  return;
839
848
  switch (n.data.type) {
840
849
  case "OpenSearch":
841
- re();
850
+ oe();
842
851
  break;
843
852
  case "CloseSearch":
844
- ce();
853
+ ue();
845
854
  break;
846
855
  case "ToggleSearch":
847
- Ae();
856
+ Be();
848
857
  break;
849
858
  case "SetSearchQuery":
850
- Be(String((p = n.data.value) != null ? p : ""));
859
+ Oe(String((f = n.data.value) != null ? f : ""));
851
860
  break;
852
861
  }
853
862
  } catch (b) {
854
863
  }
855
- }, ne = () => {
856
- if (t(16, $ = !1), t(17, D = !0), o && l && c && P.length < 2) {
857
- t(13, F = []);
858
- let n = localStorage.getItem("searchedGamesWds_casino"), p = [];
859
- n && (p = n.split(","));
860
- let b = [], v = 0, k = p.length;
861
- if (k > 0) {
862
- for (v = 0; v < k; v++) {
863
- let G = new URL(`${o}/v1/casino/games/${p[v]}`);
864
- G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", se(x)), b.push(Oe(G, p[v]));
864
+ }, qe = (n) => J !== "true" ? void 0 : Object.values(n != null ? n : {}).pop(), re = () => {
865
+ if (t(16, $ = !1), t(17, A = !0), o && l && c && M.length < 2) {
866
+ t(13, _ = []);
867
+ let n = localStorage.getItem("searchedGamesWds_casino"), f = [];
868
+ n && (f = n.split(","));
869
+ let b = [], v = 0, y = f.length;
870
+ if (y > 0) {
871
+ for (v = 0; v < y; v++) {
872
+ let z = new URL(`${o}/v1/casino/games/${f[v]}`);
873
+ z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", le(j)), b.push(We(z, f[v]));
865
874
  }
866
- Promise.all(b).then((G) => {
867
- G = G.filter(function(W) {
868
- return !!W;
869
- }), t(13, F = G.map((W) => (W.isFavorite = ue(W.id), W))), F.length ? K("searchSuccess", "SearchWidget") : K("searchFail", "SearchWidget");
870
- }).catch((G) => {
871
- K("searchError", "SearchWidget");
875
+ Promise.all(b).then((z) => {
876
+ z = z.filter(function(H) {
877
+ return !!H;
878
+ }), t(13, _ = z.map((H) => (H.isFavorite = he(H.id), H))), _.length ? Q("searchSuccess", "SearchWidget") : Q("searchFail", "SearchWidget");
879
+ }).catch((z) => {
880
+ Q("searchError", "SearchWidget");
872
881
  });
873
882
  }
874
883
  }
875
- de(D), K("searchAttempt", "SearchWidget"), K("SearchInitialized", "SearchWidget");
884
+ ge(A), Q("searchAttempt", "SearchWidget"), Q("SearchInitialized", "SearchWidget");
876
885
  };
877
- function re() {
878
- D || (ne(), requestAnimationFrame(() => O == null ? void 0 : O.focus()), Z({ type: "SearchOpen" }));
886
+ function oe() {
887
+ A || (re(), requestAnimationFrame(() => O == null ? void 0 : O.focus()), Y({ type: "SearchOpen" }));
879
888
  }
880
- function ce() {
881
- D && (Q(), Z({ type: "SearchClose" }));
889
+ function ue() {
890
+ A && (X(), Y({ type: "SearchClose" }));
882
891
  }
883
- function Ae() {
884
- D ? ce() : re();
892
+ function Be() {
893
+ A ? ue() : oe();
885
894
  }
886
- function Be(n) {
887
- t(14, P = (n != null ? n : "").slice(0, De)), D || re(), ge();
895
+ function Oe(n) {
896
+ t(14, M = (n != null ? n : "").slice(0, Me)), A || oe(), me();
888
897
  }
889
- const K = (n, p) => {
890
- typeof gtag == "function" && gtag("event", n, { context: p });
891
- }, xe = () => {
892
- V != "true" && Q();
893
- }, He = (n) => new Promise((p, b) => {
894
- t(18, E = !0), fetch(n.href).then((v) => v.json()).then((v) => {
895
- t(18, E = !1), p(v);
898
+ const Q = (n, f) => {
899
+ typeof gtag == "function" && gtag("event", n, { context: f });
900
+ }, He = () => {
901
+ U != "true" && X();
902
+ }, xe = (n) => new Promise((f, b) => {
903
+ t(18, P = !0), fetch(n.href).then((v) => v.json()).then((v) => {
904
+ t(18, P = !1), f(v);
896
905
  }).catch((v) => {
897
- t(18, E = !1), console.error(v);
906
+ t(18, P = !1), console.error(v);
898
907
  try {
899
- Z({
908
+ Y({
900
909
  type: "SearchError",
901
910
  message: String(v)
902
911
  });
903
- } catch (k) {
912
+ } catch (y) {
904
913
  }
905
914
  b(v);
906
915
  });
907
- }), Oe = (n, p) => new Promise((b, v) => {
908
- t(18, E = !0), p && Object.keys(j).indexOf(p) >= 0 ? (t(18, E = !1), b(j[p])) : fetch(n).then((k) => k.json()).then((k) => {
909
- t(18, E = !1), k.error || (j[k[0].gameId] = k[0]), b(k[0]);
910
- }).catch((k) => {
911
- t(18, E = !1), console.error(k);
916
+ }), We = (n, f) => new Promise((b, v) => {
917
+ t(18, P = !0), f && Object.keys(ne).indexOf(f) >= 0 ? (t(18, P = !1), b(ne[f])) : fetch(n).then((y) => y.json()).then((y) => {
918
+ t(18, P = !1), y.error || (ne[y[0].gameId] = y[0]), b(y[0]);
919
+ }).catch((y) => {
920
+ t(18, P = !1), console.error(y);
912
921
  try {
913
- Z({
922
+ Y({
914
923
  type: "SearchError",
915
- message: String(k)
924
+ message: String(y)
916
925
  });
917
- } catch (G) {
926
+ } catch (z) {
918
927
  }
919
- v(k);
928
+ v(y);
920
929
  });
921
- }), We = () => {
930
+ }), Ue = () => {
922
931
  const n = new URL(`${o}/v1/player/${ae}/favorites/`);
923
- t(18, E = !0);
924
- let p = {
932
+ t(18, P = !0);
933
+ let f = {
925
934
  method: "GET",
926
935
  headers: { "X-SessionID": te }
927
936
  };
928
- fetch(n.href, p).then((b) => b.json()).then((b) => {
929
- t(18, E = !1), le = b.items.map((v) => v.id);
937
+ fetch(n.href, f).then((b) => b.json()).then((b) => {
938
+ t(18, P = !1), ie = b.items.map((v) => v.id);
930
939
  });
931
- }, qe = () => {
932
- t(35, ee = !0), t(19, te = s), t(20, ae = i);
933
- }, ue = (n) => le.findIndex((p) => p == n) !== -1, Ue = (n) => {
940
+ }, Ve = () => {
941
+ t(37, ee = !0), t(19, te = s), t(20, ae = i);
942
+ }, he = (n) => ie.findIndex((f) => f == n) !== -1, Je = (n) => {
934
943
  if ((n == null ? void 0 : n.length) === 0)
935
944
  return "";
936
- let p, b = 99999999999, v;
937
- const k = new Date(Date.now());
938
- return n.forEach((G, W) => {
939
- const et = new Date(G.schedules[0].startTime), oe = new Date(G.schedules[0].endTime);
940
- ke(new Date(oe), new Date(k)) < b && (b = ke(new Date(oe), new Date(k)), v = W), wt(new Date(k), new Date(et)) && bt(new Date(k), new Date(oe)) && (p = n[v].name);
941
- }), p;
942
- }, Ve = (n) => {
943
- if (_ = localStorage.getItem("searchedGamesWds_casino"), _ ? _ = _.split(",") : _ = [], _.indexOf(n) === -1) {
944
- let p;
945
- _.unshift(n), p = _.join(","), localStorage.setItem("searchedGamesWds_casino", p);
945
+ let f, b = 99999999999, v;
946
+ const y = new Date(Date.now());
947
+ return n.forEach((z, H) => {
948
+ const at = new Date(z.schedules[0].startTime), se = new Date(z.schedules[0].endTime);
949
+ Re(new Date(se), new Date(y)) < b && (b = Re(new Date(se), new Date(y)), v = H), vt(new Date(y), new Date(at)) && kt(new Date(y), new Date(se)) && (f = n[v].name);
950
+ }), f;
951
+ }, Ze = (n) => {
952
+ if (C = localStorage.getItem("searchedGamesWds_casino"), C ? C = C.split(",") : C = [], C.indexOf(n) === -1) {
953
+ let f;
954
+ C.unshift(n), f = C.join(","), localStorage.setItem("searchedGamesWds_casino", f);
946
955
  }
947
- }, Q = () => {
948
- t(14, P = ""), t(16, $ = !0), t(18, E = !1), t(13, F = []), t(17, D = !1), de(D);
949
- }, he = () => {
950
- t(14, P = ""), O.focus();
951
- }, de = (n) => {
956
+ }, X = () => {
957
+ t(14, M = ""), t(16, $ = !0), t(18, P = !1), t(13, _ = []), t(17, A = !1), ge(A);
958
+ }, de = () => {
959
+ t(14, M = ""), O.focus();
960
+ }, ge = (n) => {
952
961
  window.postMessage(
953
962
  {
954
963
  type: n === !0 ? "searchActive" : "searchCancelled",
955
964
  searchStatus: n
956
965
  },
957
966
  window.location.href
958
- ), Z({
967
+ ), Y({
959
968
  type: n ? "SearchOpen" : "SearchClose"
960
969
  });
961
970
  };
962
- function Z(n) {
971
+ function Y(n) {
963
972
  try {
964
- const p = pe({ channel: H }, n);
965
- window.postMessage(p, window.location.href);
966
- } catch (p) {
973
+ const f = Se({ channel: B }, n);
974
+ window.postMessage(f, window.location.href);
975
+ } catch (f) {
967
976
  }
968
977
  }
969
- const Je = () => {
970
- vt(c);
971
- }, ge = () => Se(this, null, function* () {
972
- if (P.length >= 2) {
978
+ const Ye = () => {
979
+ yt(c);
980
+ }, me = () => _e(this, null, function* () {
981
+ if (M.length >= 2) {
973
982
  const n = new URL(`${o}/v1/casino/games`);
974
- n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", se(x)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${P}`), He(n).then((p) => {
975
- t(13, F = p.items.map((b) => (b.isFavorite = ue(b.id), b)));
983
+ n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", le(j)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${M}`), xe(n).then((f) => {
984
+ t(13, _ = f.items.map((b) => (b.isFavorite = he(b.id), b)));
976
985
  try {
977
- Z({
986
+ Y({
978
987
  type: "SearchResults",
979
- count: F.length
988
+ count: _.length
980
989
  });
981
990
  } catch (b) {
982
991
  }
983
992
  });
984
993
  } else
985
- $ || ne();
986
- }), Ze = yt(ge, 500);
987
- dt(() => (window.addEventListener("message", ie, !1), () => {
988
- window.removeEventListener("message", ie);
994
+ $ || re();
995
+ }), Ke = Rt(me, 500);
996
+ mt(() => (window.addEventListener("message", ce, !1), () => {
997
+ window.removeEventListener("message", ce);
989
998
  }));
990
- function Ye() {
991
- P = this.value, t(14, P);
999
+ function Qe() {
1000
+ M = this.value, t(14, M);
992
1001
  }
993
- function Ke(n) {
994
- ve[n ? "unshift" : "push"](() => {
1002
+ function Xe(n) {
1003
+ ke[n ? "unshift" : "push"](() => {
995
1004
  O = n, t(15, O);
996
1005
  });
997
1006
  }
998
- const Qe = () => he(), Xe = () => Q();
999
- function $e(n) {
1000
- ve[n ? "unshift" : "push"](() => {
1001
- M = n, t(12, M);
1007
+ const $e = () => de(), et = () => X();
1008
+ function tt(n) {
1009
+ ke[n ? "unshift" : "push"](() => {
1010
+ q = n, t(12, q);
1002
1011
  });
1003
1012
  }
1004
1013
  return a.$$set = (n) => {
1005
- "endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(29, l = n.datasource), "session" in n && t(30, s = n.session), "userid" in n && t(31, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2, g = n.mbsource), "clientstyling" in n && t(3, h = n.clientstyling), "clientstylingurl" in n && t(4, m = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, y = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(6, d = n.integratedgameframemobile), "showgamename" in n && t(7, S = n.showgamename), "gamepagemodalurl" in n && t(8, A = n.gamepagemodalurl), "translationurl" in n && t(32, N = n.translationurl), "showfavorites" in n && t(9, B = n.showfavorites), "cancelbutton" in n && t(10, V = n.cancelbutton), "notfoundicon" in n && t(11, J = n.notfoundicon), "controlchannel" in n && t(33, H = n.controlchannel), "allowedorigins" in n && t(34, C = n.allowedorigins);
1014
+ "endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(30, l = n.datasource), "session" in n && t(31, s = n.session), "userid" in n && t(32, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2, d = n.mbsource), "clientstyling" in n && t(3, h = n.clientstyling), "clientstylingurl" in n && t(4, m = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, k = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(6, T = n.integratedgameframemobile), "showgamename" in n && t(7, g = n.showgamename), "gamepagemodalurl" in n && t(8, S = n.gamepagemodalurl), "translationurl" in n && t(33, E = n.translationurl), "showfavorites" in n && t(9, N = n.showfavorites), "cancelbutton" in n && t(10, U = n.cancelbutton), "notfoundicon" in n && t(11, V = n.notfoundicon), "controlchannel" in n && t(34, B = n.controlchannel), "allowedorigins" in n && t(35, L = n.allowedorigins), "requiredicon" in n && t(36, J = n.requiredicon);
1006
1015
  }, a.$$.update = () => {
1007
1016
  a.$$.dirty[0] & /*lang*/
1008
- 2 && c && Je(), a.$$.dirty[1] & /*translationurl*/
1009
- 2 && N && Me(), a.$$.dirty[0] & /*session*/
1010
- 1073741824 | a.$$.dirty[1] & /*userid*/
1011
- 1 && s && i && qe(), a.$$.dirty[0] & /*showfavorites*/
1017
+ 2 && c && Ye(), a.$$.dirty[1] & /*translationurl*/
1018
+ 4 && E && Ae(), a.$$.dirty[1] & /*session, userid*/
1019
+ 3 && s && i && Ve(), a.$$.dirty[0] & /*showfavorites*/
1012
1020
  512 | a.$$.dirty[1] & /*isLoggedIn*/
1013
- 16 && B && ee && We(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1014
- 4104 && h && M && mt(M, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1015
- 4112 && m && M && ft(M, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
1016
- 4100 && g && M && pt(M, `${g}.Style`);
1021
+ 64 && N && ee && Ue(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1022
+ 4104 && h && q && pt(q, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1023
+ 4112 && m && q && St(q, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
1024
+ 4100 && d && q && _t(q, `${d}.Style`);
1017
1025
  }, [
1018
1026
  o,
1019
1027
  c,
1020
- g,
1028
+ d,
1021
1029
  h,
1022
1030
  m,
1023
- y,
1024
- d,
1031
+ k,
1032
+ T,
1033
+ g,
1025
1034
  S,
1026
- A,
1027
- B,
1035
+ N,
1036
+ U,
1028
1037
  V,
1029
- J,
1038
+ q,
1039
+ _,
1030
1040
  M,
1031
- F,
1032
- P,
1033
1041
  O,
1034
1042
  $,
1035
- D,
1036
- E,
1043
+ A,
1044
+ P,
1037
1045
  te,
1038
1046
  ae,
1039
1047
  r,
1040
- x,
1041
- ne,
1042
- xe,
1043
- Ue,
1044
- Q,
1045
- he,
1046
- Ze,
1048
+ j,
1049
+ qe,
1050
+ re,
1051
+ He,
1052
+ Je,
1053
+ X,
1054
+ de,
1055
+ Ke,
1047
1056
  l,
1048
1057
  s,
1049
1058
  i,
1050
- N,
1051
- H,
1052
- C,
1059
+ E,
1060
+ B,
1061
+ L,
1062
+ J,
1053
1063
  ee,
1054
- Ye,
1055
- Ke,
1056
1064
  Qe,
1057
1065
  Xe,
1058
- $e
1066
+ $e,
1067
+ et,
1068
+ tt
1059
1069
  ];
1060
1070
  }
1061
- class jt extends st {
1071
+ class Et extends it {
1062
1072
  constructor(e) {
1063
- super(), lt(
1073
+ super(), ct(
1064
1074
  this,
1065
1075
  e,
1066
- It,
1067
- Tt,
1068
- it,
1076
+ jt,
1077
+ Gt,
1078
+ ut,
1069
1079
  {
1070
1080
  endpoint: 0,
1071
- datasource: 29,
1072
- session: 30,
1073
- userid: 31,
1081
+ datasource: 30,
1082
+ session: 31,
1083
+ userid: 32,
1074
1084
  lang: 1,
1075
1085
  mbsource: 2,
1076
1086
  clientstyling: 3,
@@ -1079,14 +1089,15 @@ class jt extends st {
1079
1089
  integratedgameframemobile: 6,
1080
1090
  showgamename: 7,
1081
1091
  gamepagemodalurl: 8,
1082
- translationurl: 32,
1092
+ translationurl: 33,
1083
1093
  showfavorites: 9,
1084
1094
  cancelbutton: 10,
1085
1095
  notfoundicon: 11,
1086
- controlchannel: 33,
1087
- allowedorigins: 34
1096
+ controlchannel: 34,
1097
+ allowedorigins: 35,
1098
+ requiredicon: 36
1088
1099
  },
1089
- kt,
1100
+ Ct,
1090
1101
  [-1, -1, -1]
1091
1102
  );
1092
1103
  }
@@ -1094,112 +1105,118 @@ class jt extends st {
1094
1105
  return this.$$.ctx[0];
1095
1106
  }
1096
1107
  set endpoint(e) {
1097
- this.$$set({ endpoint: e }), L();
1108
+ this.$$set({ endpoint: e }), F();
1098
1109
  }
1099
1110
  get datasource() {
1100
- return this.$$.ctx[29];
1111
+ return this.$$.ctx[30];
1101
1112
  }
1102
1113
  set datasource(e) {
1103
- this.$$set({ datasource: e }), L();
1114
+ this.$$set({ datasource: e }), F();
1104
1115
  }
1105
1116
  get session() {
1106
- return this.$$.ctx[30];
1117
+ return this.$$.ctx[31];
1107
1118
  }
1108
1119
  set session(e) {
1109
- this.$$set({ session: e }), L();
1120
+ this.$$set({ session: e }), F();
1110
1121
  }
1111
1122
  get userid() {
1112
- return this.$$.ctx[31];
1123
+ return this.$$.ctx[32];
1113
1124
  }
1114
1125
  set userid(e) {
1115
- this.$$set({ userid: e }), L();
1126
+ this.$$set({ userid: e }), F();
1116
1127
  }
1117
1128
  get lang() {
1118
1129
  return this.$$.ctx[1];
1119
1130
  }
1120
1131
  set lang(e) {
1121
- this.$$set({ lang: e }), L();
1132
+ this.$$set({ lang: e }), F();
1122
1133
  }
1123
1134
  get mbsource() {
1124
1135
  return this.$$.ctx[2];
1125
1136
  }
1126
1137
  set mbsource(e) {
1127
- this.$$set({ mbsource: e }), L();
1138
+ this.$$set({ mbsource: e }), F();
1128
1139
  }
1129
1140
  get clientstyling() {
1130
1141
  return this.$$.ctx[3];
1131
1142
  }
1132
1143
  set clientstyling(e) {
1133
- this.$$set({ clientstyling: e }), L();
1144
+ this.$$set({ clientstyling: e }), F();
1134
1145
  }
1135
1146
  get clientstylingurl() {
1136
1147
  return this.$$.ctx[4];
1137
1148
  }
1138
1149
  set clientstylingurl(e) {
1139
- this.$$set({ clientstylingurl: e }), L();
1150
+ this.$$set({ clientstylingurl: e }), F();
1140
1151
  }
1141
1152
  get integratedgameframedesktop() {
1142
1153
  return this.$$.ctx[5];
1143
1154
  }
1144
1155
  set integratedgameframedesktop(e) {
1145
- this.$$set({ integratedgameframedesktop: e }), L();
1156
+ this.$$set({ integratedgameframedesktop: e }), F();
1146
1157
  }
1147
1158
  get integratedgameframemobile() {
1148
1159
  return this.$$.ctx[6];
1149
1160
  }
1150
1161
  set integratedgameframemobile(e) {
1151
- this.$$set({ integratedgameframemobile: e }), L();
1162
+ this.$$set({ integratedgameframemobile: e }), F();
1152
1163
  }
1153
1164
  get showgamename() {
1154
1165
  return this.$$.ctx[7];
1155
1166
  }
1156
1167
  set showgamename(e) {
1157
- this.$$set({ showgamename: e }), L();
1168
+ this.$$set({ showgamename: e }), F();
1158
1169
  }
1159
1170
  get gamepagemodalurl() {
1160
1171
  return this.$$.ctx[8];
1161
1172
  }
1162
1173
  set gamepagemodalurl(e) {
1163
- this.$$set({ gamepagemodalurl: e }), L();
1174
+ this.$$set({ gamepagemodalurl: e }), F();
1164
1175
  }
1165
1176
  get translationurl() {
1166
- return this.$$.ctx[32];
1177
+ return this.$$.ctx[33];
1167
1178
  }
1168
1179
  set translationurl(e) {
1169
- this.$$set({ translationurl: e }), L();
1180
+ this.$$set({ translationurl: e }), F();
1170
1181
  }
1171
1182
  get showfavorites() {
1172
1183
  return this.$$.ctx[9];
1173
1184
  }
1174
1185
  set showfavorites(e) {
1175
- this.$$set({ showfavorites: e }), L();
1186
+ this.$$set({ showfavorites: e }), F();
1176
1187
  }
1177
1188
  get cancelbutton() {
1178
1189
  return this.$$.ctx[10];
1179
1190
  }
1180
1191
  set cancelbutton(e) {
1181
- this.$$set({ cancelbutton: e }), L();
1192
+ this.$$set({ cancelbutton: e }), F();
1182
1193
  }
1183
1194
  get notfoundicon() {
1184
1195
  return this.$$.ctx[11];
1185
1196
  }
1186
1197
  set notfoundicon(e) {
1187
- this.$$set({ notfoundicon: e }), L();
1198
+ this.$$set({ notfoundicon: e }), F();
1188
1199
  }
1189
1200
  get controlchannel() {
1190
- return this.$$.ctx[33];
1201
+ return this.$$.ctx[34];
1191
1202
  }
1192
1203
  set controlchannel(e) {
1193
- this.$$set({ controlchannel: e }), L();
1204
+ this.$$set({ controlchannel: e }), F();
1194
1205
  }
1195
1206
  get allowedorigins() {
1196
- return this.$$.ctx[34];
1207
+ return this.$$.ctx[35];
1197
1208
  }
1198
1209
  set allowedorigins(e) {
1199
- this.$$set({ allowedorigins: e }), L();
1210
+ this.$$set({ allowedorigins: e }), F();
1211
+ }
1212
+ get requiredicon() {
1213
+ return this.$$.ctx[36];
1214
+ }
1215
+ set requiredicon(e) {
1216
+ this.$$set({ requiredicon: e }), F();
1200
1217
  }
1201
1218
  }
1202
- St(jt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {} }, [], [], !0);
1219
+ wt(Et, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {} }, [], [], !0);
1203
1220
  export {
1204
- jt as default
1221
+ Et as default
1205
1222
  };