@everymatrix/casino-lobby 1.77.7 → 1.77.9

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 (32) hide show
  1. package/components/{CasinoFavoritesSection-BM8O0jg5.js → CasinoFavoritesSection-2RRydo8o.js} +1 -1
  2. package/components/{CasinoFavoritesSection-CymlR0sJ.js → CasinoFavoritesSection-BOHWBVnG.js} +1 -1
  3. package/components/{CasinoFavoritesSection-DusKH-_c.cjs → CasinoFavoritesSection-M0Cm0sDX.cjs} +1 -1
  4. package/components/{CasinoGameThumbnail-CQS06FLM.js → CasinoGameThumbnail-7dpndu_e.js} +0 -1
  5. package/components/{CasinoGameThumbnail-DDJheC8I.js → CasinoGameThumbnail-CwXyVzlr.js} +0 -1
  6. package/components/{CasinoGameThumbnail-C6Sqi2Gn.cjs → CasinoGameThumbnail-DVkiKPPm.cjs} +8 -8
  7. package/components/{CasinoGamesCategorySection-CbDpvlpz.js → CasinoGamesCategorySection-DCV5LdX-.js} +89 -89
  8. package/components/{CasinoGamesCategorySection-DNulqo78.cjs → CasinoGamesCategorySection-DeQ1GK4J.cjs} +1 -1
  9. package/components/{CasinoGamesCategorySection-BzvGFmBF.js → CasinoGamesCategorySection-wQ-a8Spm.js} +51 -51
  10. package/components/{CasinoLastPlayedSection-C__fszM6.cjs → CasinoLastPlayedSection-B32X_IRu.cjs} +1 -1
  11. package/components/{CasinoLastPlayedSection-Cw-_Evqw.js → CasinoLastPlayedSection-Dgg5OXJD.js} +1 -1
  12. package/components/{CasinoLastPlayedSection-C8TGgPub.js → CasinoLastPlayedSection-Dr_4Lscg.js} +1 -1
  13. package/components/{CasinoLobby-Bw0d-MzV.js → CasinoLobby-CqVqHLbE.js} +1 -1
  14. package/components/{CasinoLobby-N3SA7nc4.cjs → CasinoLobby-CuhI_lVN.cjs} +1 -1
  15. package/components/{CasinoLobby-DZtbSXtN.js → CasinoLobby-DaO3GZPI.js} +1 -1
  16. package/components/{CasinoMostPlayedSection-DljDNfny.js → CasinoMostPlayedSection-B18SthKV.js} +1 -1
  17. package/components/{CasinoMostPlayedSection-DX7zpItF.js → CasinoMostPlayedSection-DUEVvush.js} +1 -1
  18. package/components/{CasinoMostPlayedSection-OBp76c-k.cjs → CasinoMostPlayedSection-uYtpJlKF.cjs} +1 -1
  19. package/components/{CasinoMyGames-CYpE8Vt7.js → CasinoMyGames-BXJe_FSE.js} +3 -3
  20. package/components/{CasinoMyGames-BfenXM6V.js → CasinoMyGames-CWSgR0Gs.js} +3 -3
  21. package/components/{CasinoMyGames-3hdEu9Kh.cjs → CasinoMyGames-Pv0orkNb.cjs} +1 -1
  22. package/components/{CasinoPage-C_sNHc5Y.js → CasinoPage-BWZgrW93.js} +4 -4
  23. package/components/{CasinoPage-qkXoIQEF.cjs → CasinoPage-B_o2RRFV.cjs} +1 -1
  24. package/components/{CasinoPage-DFLl7bBN.js → CasinoPage-DWqub66k.js} +4 -4
  25. package/components/CasinoSearch-BGp69V-1.cjs +1 -0
  26. package/components/{CasinoSearch-CylEX2iJ.js → CasinoSearch-BNBlcb2q.js} +207 -197
  27. package/components/{CasinoSearch-CFFdo--j.js → CasinoSearch-BphEBZ1V.js} +267 -241
  28. package/es2015/casino-lobby.cjs +1 -1
  29. package/es2015/casino-lobby.js +1 -1
  30. package/esnext/casino-lobby.js +1 -1
  31. package/package.json +1 -1
  32. package/components/CasinoSearch-DhVwJOUt.cjs +0 -1
@@ -1,13 +1,28 @@
1
- import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, O as Ye, r as g, R as he, h as I, p as b, A as Y, j as R, B as z, F as de, M as ae, k as Ke, o as Xe, m as q, q as H, C as me, v as fe, w as Qe, U as Le, E as u, H as $e, I as et, J as tt, K as at, L as nt } from "./CasinoCalendar-kw0DkXq1.js";
2
- import { d as rt } from "./CasinoGameThumbnail-CQS06FLM.js";
3
- import "./CasinoGamesCategorySection-BzvGFmBF.js";
4
- function ge(t, e) {
5
- He(t, e);
1
+ var ue = (t, e, a) => new Promise((n, r) => {
2
+ var l = (c) => {
3
+ try {
4
+ i(a.next(c));
5
+ } catch (m) {
6
+ r(m);
7
+ }
8
+ }, s = (c) => {
9
+ try {
10
+ i(a.throw(c));
11
+ } catch (m) {
12
+ r(m);
13
+ }
14
+ }, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
15
+ i((a = a.apply(t, e)).next());
16
+ });
17
+ import { a as Ue, $ as Ve, S as Je, i as Ze, s as Ye, f as L, b as Ke, n as he, d as j, O as Xe, r as g, R as de, h as I, p as b, A as U, j as k, B as z, F as me, M as ae, k as Qe, o as $e, m as q, q as H, C as fe, v as ge, w as et, U as Te, E as u, H as tt, I as at, J as nt, K as rt, L as ot } from "./CasinoCalendar-kw0DkXq1.js";
18
+ import "./CasinoGamesCategorySection-wQ-a8Spm.js";
19
+ function pe(t, e) {
20
+ Ue(t, e);
6
21
  }
7
- function ot(t) {
8
- We.set(t);
22
+ function st(t) {
23
+ Ve.set(t);
9
24
  }
10
- const pe = {
25
+ const Se = {
11
26
  en: {
12
27
  recentSearch: "Recent search",
13
28
  placeHolderSearchGames: "Search for Games",
@@ -189,6 +204,10 @@ const pe = {
189
204
  notFoundText: "Please type the correct name of the game to start to play.",
190
205
  noRecentSearches: "No recent searches yet. Search for any of our games."
191
206
  }
207
+ }, lt = (t, e) => function(...a) {
208
+ clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
209
+ t.apply(this, a);
210
+ }, e);
192
211
  };
193
212
  function ne(t) {
194
213
  "@babel/helpers - typeof";
@@ -202,87 +221,87 @@ function ee(t, e) {
202
221
  if (e.length < t)
203
222
  throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
204
223
  }
205
- function U(t) {
224
+ function V(t) {
206
225
  ee(1, arguments);
207
226
  var e = Object.prototype.toString.call(t);
208
227
  return t instanceof Date || ne(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
209
228
  }
210
- function Se(t, e) {
211
- return ee(2, arguments), U(t).getTime() - U(e).getTime();
229
+ function be(t, e) {
230
+ return ee(2, arguments), V(t).getTime() - V(e).getTime();
212
231
  }
213
- function st(t, e) {
232
+ function it(t, e) {
214
233
  ee(2, arguments);
215
- var a = U(t), n = U(e);
234
+ var a = V(t), n = V(e);
216
235
  return a.getTime() > n.getTime();
217
236
  }
218
- function lt(t, e) {
237
+ function ct(t, e) {
219
238
  ee(2, arguments);
220
- var a = U(t), n = U(e);
239
+ var a = V(t), n = V(e);
221
240
  return a.getTime() < n.getTime();
222
241
  }
223
- function it(t) {
224
- Ze(t, "svelte-nijkoq", "*,*::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 16px;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;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.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-nd{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 .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.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}");
242
+ function ut(t) {
243
+ Ke(t, "svelte-nijkoq", "*,*::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 16px;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;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.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-nd{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 .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.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}");
225
244
  }
226
- function be(t, e, a) {
245
+ function _e(t, e, a) {
227
246
  const n = t.slice();
228
- return n[53] = e[a], n;
247
+ return n[55] = e[a], n;
229
248
  }
230
- function _e(t) {
249
+ function we(t) {
231
250
  let e, a = (
232
251
  /*$_*/
233
252
  t[21]("cancel") + ""
234
253
  ), n, r, l, s;
235
254
  return {
236
255
  c() {
237
- e = R("small"), n = H(a), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
238
- (t[13] ? "NotVisible" : ""));
256
+ e = k("small"), n = H(a), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
257
+ (t[16] ? "NotVisible" : ""));
239
258
  },
240
259
  m(i, c) {
241
- I(i, e, c), b(e, n), l || (s = Y(
260
+ I(i, e, c), b(e, n), l || (s = U(
242
261
  e,
243
262
  "click",
244
263
  /*click_handler_1*/
245
- t[36]
264
+ t[37]
246
265
  ), l = !0);
247
266
  },
248
267
  p(i, c) {
249
268
  c[0] & /*$_*/
250
269
  2097152 && a !== (a = /*$_*/
251
270
  i[21]("cancel") + "") && q(n, a), c[0] & /*searchCancelled*/
252
- 8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
253
- (i[13] ? "NotVisible" : "")) && g(e, "class", r);
271
+ 65536 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
272
+ (i[16] ? "NotVisible" : "")) && g(e, "class", r);
254
273
  },
255
274
  d(i) {
256
275
  i && j(e), l = !1, s();
257
276
  }
258
277
  };
259
278
  }
260
- function ct(t) {
279
+ function ht(t) {
261
280
  let e, a, n, r;
262
281
  function l(h, f) {
263
282
  if (
264
283
  /*searchActive*/
265
284
  h[17] == !0 && /*searchValue*/
266
- h[12].length < 2
285
+ h[14].length < 2
267
286
  )
268
- return dt;
287
+ return ft;
269
288
  if (
270
289
  /*searchArray*/
271
- h[15].length != 0
290
+ h[13].length != 0
272
291
  )
273
- return ht;
292
+ return mt;
274
293
  }
275
294
  let s = l(t), i = s && s(t), c = (
276
295
  /*searchCancelled*/
277
- t[13] === !1 && ke(t)
296
+ t[16] === !1 && Re(t)
278
297
  ), m = (
279
298
  /*searchValue*/
280
- t[12].length >= 2 && /*searchArray*/
281
- t[15].length == 0 && Ce(t)
299
+ t[14].length >= 2 && /*searchArray*/
300
+ t[13].length == 0 && Fe(t)
282
301
  );
283
302
  return {
284
303
  c() {
285
- i && i.c(), e = z(), a = R("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
304
+ i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
286
305
  (t[17] == !0 ? "" : "NotVisible"));
287
306
  },
288
307
  m(h, f) {
@@ -290,9 +309,9 @@ function ct(t) {
290
309
  },
291
310
  p(h, f) {
292
311
  s === (s = l(h)) && i ? i.p(h, f) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
293
- h[13] === !1 ? c ? c.p(h, f) : (c = ke(h), c.c(), c.m(a, n)) : c && (c.d(1), c = null), /*searchValue*/
294
- h[12].length >= 2 && /*searchArray*/
295
- h[15].length == 0 ? m ? m.p(h, f) : (m = Ce(h), m.c(), m.m(a, null)) : m && (m.d(1), m = null), f[0] & /*searchActive*/
312
+ h[16] === !1 ? c ? c.p(h, f) : (c = Re(h), c.c(), c.m(a, n)) : c && (c.d(1), c = null), /*searchValue*/
313
+ h[14].length >= 2 && /*searchArray*/
314
+ h[13].length == 0 ? m ? m.p(h, f) : (m = Fe(h), m.c(), m.m(a, null)) : m && (m.d(1), m = null), f[0] & /*searchActive*/
296
315
  131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
297
316
  (h[17] == !0 ? "" : "NotVisible")) && g(a, "class", r);
298
317
  },
@@ -301,14 +320,14 @@ function ct(t) {
301
320
  }
302
321
  };
303
322
  }
304
- function ut(t) {
323
+ function dt(t) {
305
324
  let e, a = (
306
325
  /*$_*/
307
326
  t[21]("loading") + ""
308
327
  ), n;
309
328
  return {
310
329
  c() {
311
- e = R("p"), n = H(a), g(e, "class", "LoadingContent");
330
+ e = k("p"), n = H(a), g(e, "class", "LoadingContent");
312
331
  },
313
332
  m(r, l) {
314
333
  I(r, e, l), b(e, n);
@@ -323,14 +342,14 @@ function ut(t) {
323
342
  }
324
343
  };
325
344
  }
326
- function ht(t) {
345
+ function mt(t) {
327
346
  let e, a = (
328
347
  /*$_*/
329
348
  t[21]("searchResult") + ""
330
349
  ), n;
331
350
  return {
332
351
  c() {
333
- e = R("p"), n = H(a), g(e, "class", "SearchMessage");
352
+ e = k("p"), n = H(a), g(e, "class", "SearchMessage");
334
353
  },
335
354
  m(r, l) {
336
355
  I(r, e, l), b(e, n);
@@ -345,39 +364,39 @@ function ht(t) {
345
364
  }
346
365
  };
347
366
  }
348
- function dt(t) {
367
+ function ft(t) {
349
368
  let e, a, n = (
350
369
  /*searchArray*/
351
- t[15].length !== 0 && we(t)
370
+ t[13].length !== 0 && ve(t)
352
371
  ), r = (
353
372
  /*searchArray*/
354
- t[15].length == 0 && ve(t)
373
+ t[13].length == 0 && ye(t)
355
374
  );
356
375
  return {
357
376
  c() {
358
- n && n.c(), e = z(), r && r.c(), a = Le();
377
+ n && n.c(), e = z(), r && r.c(), a = Te();
359
378
  },
360
379
  m(l, s) {
361
380
  n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, a, s);
362
381
  },
363
382
  p(l, s) {
364
383
  /*searchArray*/
365
- l[15].length !== 0 ? n ? n.p(l, s) : (n = we(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
366
- l[15].length == 0 ? r ? r.p(l, s) : (r = ve(l), r.c(), r.m(a.parentNode, a)) : r && (r.d(1), r = null);
384
+ l[13].length !== 0 ? n ? n.p(l, s) : (n = ve(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
385
+ l[13].length == 0 ? r ? r.p(l, s) : (r = ye(l), r.c(), r.m(a.parentNode, a)) : r && (r.d(1), r = null);
367
386
  },
368
387
  d(l) {
369
388
  l && (j(e), j(a)), n && n.d(l), r && r.d(l);
370
389
  }
371
390
  };
372
391
  }
373
- function we(t) {
392
+ function ve(t) {
374
393
  let e, a = (
375
394
  /*$_*/
376
395
  t[21]("recentSearch") + ""
377
396
  ), n;
378
397
  return {
379
398
  c() {
380
- e = R("p"), n = H(a), g(e, "class", "SearchMessage");
399
+ e = k("p"), n = H(a), g(e, "class", "SearchMessage");
381
400
  },
382
401
  m(r, l) {
383
402
  I(r, e, l), b(e, n);
@@ -392,17 +411,17 @@ function we(t) {
392
411
  }
393
412
  };
394
413
  }
395
- function ve(t) {
414
+ function ye(t) {
396
415
  let e, a, n, r = (
397
416
  /*$_*/
398
417
  t[21]("noRecentSearches") + ""
399
418
  ), l, s, i = (
400
419
  /*notfoundicon*/
401
- t[10] === "true" && ye()
420
+ t[10] === "true" && ke()
402
421
  );
403
422
  return {
404
423
  c() {
405
- e = R("div"), i && i.c(), a = z(), n = R("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
424
+ e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
406
425
  (t[10] == "true" ? "WithIcon" : ""));
407
426
  },
408
427
  m(c, m) {
@@ -410,7 +429,7 @@ function ve(t) {
410
429
  },
411
430
  p(c, m) {
412
431
  /*notfoundicon*/
413
- c[10] === "true" ? i || (i = ye(), i.c(), i.m(e, a)) : i && (i.d(1), i = null), m[0] & /*$_*/
432
+ c[10] === "true" ? i || (i = ke(), i.c(), i.m(e, a)) : i && (i.d(1), i = null), m[0] & /*$_*/
414
433
  2097152 && r !== (r = /*$_*/
415
434
  c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
416
435
  1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
@@ -421,11 +440,11 @@ function ve(t) {
421
440
  }
422
441
  };
423
442
  }
424
- function ye(t) {
443
+ function ke(t) {
425
444
  let e;
426
445
  return {
427
446
  c() {
428
- 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>', g(e, "class", "SearchErrorIcon");
447
+ e = k("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>', g(e, "class", "SearchErrorIcon");
429
448
  },
430
449
  m(a, n) {
431
450
  I(a, e, n);
@@ -435,18 +454,18 @@ function ye(t) {
435
454
  }
436
455
  };
437
456
  }
438
- function ke(t) {
439
- let e, a = fe(
457
+ function Re(t) {
458
+ let e, a = ge(
440
459
  /*searchArray*/
441
- t[15]
460
+ t[13]
442
461
  ), n = [];
443
462
  for (let r = 0; r < a.length; r += 1)
444
- n[r] = Re(be(t, a, r));
463
+ n[r] = Ce(_e(t, a, r));
445
464
  return {
446
465
  c() {
447
466
  for (let r = 0; r < n.length; r += 1)
448
467
  n[r].c();
449
- e = Le();
468
+ e = Te();
450
469
  },
451
470
  m(r, l) {
452
471
  for (let s = 0; s < n.length; s += 1)
@@ -455,15 +474,15 @@ function ke(t) {
455
474
  },
456
475
  p(r, l) {
457
476
  if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
458
- 35162623) {
459
- a = fe(
477
+ 35138047) {
478
+ a = ge(
460
479
  /*searchArray*/
461
- r[15]
480
+ r[13]
462
481
  );
463
482
  let s;
464
483
  for (s = 0; s < a.length; s += 1) {
465
- const i = be(r, a, s);
466
- n[s] ? n[s].p(i, l) : (n[s] = Re(i), n[s].c(), n[s].m(e.parentNode, e));
484
+ const i = _e(r, a, s);
485
+ n[s] ? n[s].p(i, l) : (n[s] = Ce(i), n[s].c(), n[s].m(e.parentNode, e));
467
486
  }
468
487
  for (; s < n.length; s += 1)
469
488
  n[s].d(1);
@@ -471,16 +490,16 @@ function ke(t) {
471
490
  }
472
491
  },
473
492
  d(r) {
474
- r && j(e), Qe(n, r);
493
+ r && j(e), et(n, r);
475
494
  }
476
495
  };
477
496
  }
478
- function Re(t) {
497
+ function Ce(t) {
479
498
  let e, a, n, r, l, s, i, c, m, h, f, w;
480
499
  return {
481
500
  c() {
482
501
  var d;
483
- e = R("casino-game-thumbnail"), u(
502
+ e = k("casino-game-thumbnail"), u(
484
503
  e,
485
504
  "endpoint",
486
505
  /*endpoint*/
@@ -506,28 +525,28 @@ function Re(t) {
506
525
  /*lang*/
507
526
  t[1]
508
527
  ), u(e, "gamethumbnail", a = /*game*/
509
- t[53].thumbnail), u(e, "gamename", n = /*game*/
510
- t[53].name), u(e, "gamevendor", r = /*game*/
511
- t[53].vendor.displayName), u(e, "gameLaunchUrl", l = /*game*/
512
- t[53].launchUrl), u(e, "gameisnew", s = /*game*/
513
- t[53].isNew), u(e, "gametag", i = /*game*/
514
- ((d = t[53].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
528
+ t[55].thumbnail), u(e, "gamename", n = /*game*/
529
+ t[55].name), u(e, "gamevendor", r = /*game*/
530
+ t[55].vendor.displayName), u(e, "gameLaunchUrl", l = /*game*/
531
+ t[55].launchUrl), u(e, "gameisnew", s = /*game*/
532
+ t[55].isNew), u(e, "gametag", i = /*game*/
533
+ ((d = t[55].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
515
534
  t[25](
516
535
  /*game*/
517
- t[53].advancedTags
536
+ t[55].advancedTags
518
537
  )), u(e, "gamecellsize", c = /*game*/
519
- t[53].cellSize), u(e, "gameid", m = /*game*/
520
- t[53].id), u(
538
+ t[55].cellSize), u(e, "gameid", m = /*game*/
539
+ t[55].id), u(
521
540
  e,
522
541
  "showgamename",
523
542
  /*showgamename*/
524
543
  t[6]
525
544
  ), u(e, "gamefunmode", h = /*game*/
526
- t[53].hasFunMode), u(e, "gamefavorite", f = /*game*/
527
- t[53].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
528
- t[53].details ? (
545
+ t[55].hasFunMode), u(e, "gamefavorite", f = /*game*/
546
+ t[55].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
547
+ t[55].details ? (
529
548
  /*game*/
530
- t[53].launchUrl
549
+ t[55].launchUrl
531
550
  ) : ""), u(
532
551
  e,
533
552
  "integratedgameframedesktop",
@@ -596,40 +615,40 @@ function Re(t) {
596
615
  /*lang*/
597
616
  d[1]
598
617
  ), p[0] & /*searchArray*/
599
- 32768 && a !== (a = /*game*/
600
- d[53].thumbnail) && u(e, "gamethumbnail", a), p[0] & /*searchArray*/
601
- 32768 && n !== (n = /*game*/
602
- d[53].name) && u(e, "gamename", n), p[0] & /*searchArray*/
603
- 32768 && r !== (r = /*game*/
604
- d[53].vendor.displayName) && u(e, "gamevendor", r), p[0] & /*searchArray*/
605
- 32768 && l !== (l = /*game*/
606
- d[53].launchUrl) && u(e, "gameLaunchUrl", l), p[0] & /*searchArray*/
607
- 32768 && s !== (s = /*game*/
608
- d[53].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
609
- 32768 && i !== (i = /*game*/
610
- ((N = d[53].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
618
+ 8192 && a !== (a = /*game*/
619
+ d[55].thumbnail) && u(e, "gamethumbnail", a), p[0] & /*searchArray*/
620
+ 8192 && n !== (n = /*game*/
621
+ d[55].name) && u(e, "gamename", n), p[0] & /*searchArray*/
622
+ 8192 && r !== (r = /*game*/
623
+ d[55].vendor.displayName) && u(e, "gamevendor", r), p[0] & /*searchArray*/
624
+ 8192 && l !== (l = /*game*/
625
+ d[55].launchUrl) && u(e, "gameLaunchUrl", l), p[0] & /*searchArray*/
626
+ 8192 && s !== (s = /*game*/
627
+ d[55].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
628
+ 8192 && i !== (i = /*game*/
629
+ ((N = d[55].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
611
630
  d[25](
612
631
  /*game*/
613
- d[53].advancedTags
632
+ d[55].advancedTags
614
633
  )) && u(e, "gametag", i), p[0] & /*searchArray*/
615
- 32768 && c !== (c = /*game*/
616
- d[53].cellSize) && u(e, "gamecellsize", c), p[0] & /*searchArray*/
617
- 32768 && m !== (m = /*game*/
618
- d[53].id) && u(e, "gameid", m), p[0] & /*showgamename*/
634
+ 8192 && c !== (c = /*game*/
635
+ d[55].cellSize) && u(e, "gamecellsize", c), p[0] & /*searchArray*/
636
+ 8192 && m !== (m = /*game*/
637
+ d[55].id) && u(e, "gameid", m), p[0] & /*showgamename*/
619
638
  64 && u(
620
639
  e,
621
640
  "showgamename",
622
641
  /*showgamename*/
623
642
  d[6]
624
643
  ), p[0] & /*searchArray*/
625
- 32768 && h !== (h = /*game*/
626
- d[53].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
627
- 32768 && f !== (f = /*game*/
628
- d[53].isFavorite) && u(e, "gamefavorite", f), p[0] & /*searchArray*/
629
- 32768 && w !== (w = /*game*/
630
- d[53].details ? (
644
+ 8192 && h !== (h = /*game*/
645
+ d[55].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
646
+ 8192 && f !== (f = /*game*/
647
+ d[55].isFavorite) && u(e, "gamefavorite", f), p[0] & /*searchArray*/
648
+ 8192 && w !== (w = /*game*/
649
+ d[55].details ? (
631
650
  /*game*/
632
- d[53].launchUrl
651
+ d[55].launchUrl
633
652
  ) : "") && u(e, "livelobbyendpoint", w), p[0] & /*integratedgameframedesktop*/
634
653
  16 && u(
635
654
  e,
@@ -673,7 +692,7 @@ function Re(t) {
673
692
  }
674
693
  };
675
694
  }
676
- function Ce(t) {
695
+ function Fe(t) {
677
696
  let e, a, n, r = (
678
697
  /*$_*/
679
698
  t[21]("notFound") + ""
@@ -682,11 +701,11 @@ function Ce(t) {
682
701
  t[21]("notFoundText") + ""
683
702
  ), m, h, f = (
684
703
  /*notfoundicon*/
685
- t[10] === "true" && Fe()
704
+ t[10] === "true" && Le()
686
705
  );
687
706
  return {
688
707
  c() {
689
- e = R("div"), f && f.c(), a = z(), n = R("p"), l = H(r), s = z(), i = R("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
708
+ e = k("div"), f && f.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
690
709
  (t[10] == "true" ? "WithIcon" : ""));
691
710
  },
692
711
  m(w, d) {
@@ -694,7 +713,7 @@ function Ce(t) {
694
713
  },
695
714
  p(w, d) {
696
715
  /*notfoundicon*/
697
- w[10] === "true" ? f || (f = Fe(), f.c(), f.m(e, a)) : f && (f.d(1), f = null), d[0] & /*$_*/
716
+ w[10] === "true" ? f || (f = Le(), f.c(), f.m(e, a)) : f && (f.d(1), f = null), d[0] & /*$_*/
698
717
  2097152 && r !== (r = /*$_*/
699
718
  w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
700
719
  2097152 && c !== (c = /*$_*/
@@ -707,11 +726,11 @@ function Ce(t) {
707
726
  }
708
727
  };
709
728
  }
710
- function Fe(t) {
729
+ function Le(t) {
711
730
  let e;
712
731
  return {
713
732
  c() {
714
- 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>', g(e, "class", "SearchErrorIcon");
733
+ e = k("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>', g(e, "class", "SearchErrorIcon");
715
734
  },
716
735
  m(a, n) {
717
736
  I(a, e, n);
@@ -721,55 +740,61 @@ function Fe(t) {
721
740
  }
722
741
  };
723
742
  }
724
- function mt(t) {
725
- let e, a, n, r, l, s, i, c, m, h, f, w, d, p, N, P, M, V, A, W, v = (
743
+ function gt(t) {
744
+ let e, a, n, r, l, s, i, c, m, h, f, w, d, p, N, P, M, J, A, W, v = (
726
745
  /*cancelbutton*/
727
- t[9] === "true" && _e(t)
746
+ t[9] === "true" && we(t)
728
747
  );
729
- function G(_, T) {
748
+ function D(_, T) {
730
749
  return (
731
750
  /*isLoading*/
732
- _[18] ? ut : ct
751
+ _[18] ? dt : ht
733
752
  );
734
753
  }
735
- let B = G(t), k = B(t);
754
+ let B = D(t), R = B(t);
736
755
  return {
737
756
  c() {
738
- e = R("div"), a = R("div"), n = R("div"), r = R("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" 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="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = R("input"), c = z(), m = R("span"), h = de("svg"), f = de("path"), d = z(), v && v.c(), N = z(), P = R("div"), V = z(), k.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
739
- t[21]("placeHolderSearchGames")), g(s, "maxlength", ft), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", w = "SearchClearButton " + /*cancelbutton*/
757
+ e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" 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="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = k("input"), c = z(), m = k("span"), h = me("svg"), f = me("path"), d = z(), v && v.c(), N = z(), P = k("div"), J = z(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
758
+ t[21]("placeHolderSearchGames")), g(s, "maxlength", pt), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", w = "SearchClearButton " + /*cancelbutton*/
740
759
  (t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
741
- (t[12].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
742
- (t[13] ? "" : "SearchAnimation")), g(a, "class", "SearchWrap"), g(P, "class", M = /*cancelbutton*/
760
+ (t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
761
+ (t[16] ? "" : "SearchAnimation")), g(a, "class", "SearchWrap"), g(P, "class", M = /*cancelbutton*/
743
762
  t[9] != "true" ? "OverlayCancel" : ""), g(e, "class", (ae(
744
763
  /*userAgent*/
745
764
  t[22]
746
765
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
747
766
  },
748
767
  m(_, T) {
749
- I(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), he(
768
+ I(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), de(
750
769
  s,
751
770
  /*searchValue*/
752
- t[12]
753
- ), t[34](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, N), b(e, P), b(e, V), k.m(e, null), t[37](e), A || (W = [
754
- Y(
771
+ t[14]
772
+ ), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, N), b(e, P), b(e, J), R.m(e, null), t[38](e), A || (W = [
773
+ U(
755
774
  s,
756
775
  "input",
757
776
  /*input_input_handler*/
758
- t[33]
777
+ t[34]
759
778
  ),
760
- Y(
779
+ U(
761
780
  s,
762
781
  "focus",
763
782
  /*onFocus*/
764
783
  t[23]
765
784
  ),
766
- Y(
785
+ U(
786
+ s,
787
+ "input",
788
+ /*handleSearchInput*/
789
+ t[28]
790
+ ),
791
+ U(
767
792
  m,
768
793
  "click",
769
794
  /*click_handler*/
770
- t[35]
795
+ t[36]
771
796
  ),
772
- Y(
797
+ U(
773
798
  P,
774
799
  "click",
775
800
  /*handleOverlay*/
@@ -781,114 +806,114 @@ function mt(t) {
781
806
  T[0] & /*$_*/
782
807
  2097152 && i !== (i = /*$_*/
783
808
  _[21]("placeHolderSearchGames")) && g(s, "placeholder", i), T[0] & /*searchValue*/
784
- 4096 && s.value !== /*searchValue*/
785
- _[12] && he(
809
+ 16384 && s.value !== /*searchValue*/
810
+ _[14] && de(
786
811
  s,
787
812
  /*searchValue*/
788
- _[12]
813
+ _[14]
789
814
  ), T[0] & /*cancelbutton, searchValue*/
790
- 4608 && w !== (w = "SearchClearButton " + /*cancelbutton*/
815
+ 16896 && w !== (w = "SearchClearButton " + /*cancelbutton*/
791
816
  (_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
792
- (_[12].length != 0 ? "" : "NotVisible")) && g(m, "class", w), /*cancelbutton*/
793
- _[9] === "true" ? v ? v.p(_, T) : (v = _e(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
794
- 8192 && p !== (p = "Search " + /*searchCancelled*/
795
- (_[13] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
817
+ (_[14].length != 0 ? "" : "NotVisible")) && g(m, "class", w), /*cancelbutton*/
818
+ _[9] === "true" ? v ? v.p(_, T) : (v = we(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
819
+ 65536 && p !== (p = "Search " + /*searchCancelled*/
820
+ (_[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
796
821
  512 && M !== (M = /*cancelbutton*/
797
- _[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = G(_)) && k ? k.p(_, T) : (k.d(1), k = B(_), k && (k.c(), k.m(e, null)));
822
+ _[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = D(_)) && R ? R.p(_, T) : (R.d(1), R = B(_), R && (R.c(), R.m(e, null)));
798
823
  },
799
- i: ue,
800
- o: ue,
824
+ i: he,
825
+ o: he,
801
826
  d(_) {
802
- _ && j(e), t[34](null), v && v.d(), k.d(), t[37](null), A = !1, Ye(W);
827
+ _ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Xe(W);
803
828
  }
804
829
  };
805
830
  }
806
- let ft = 50;
807
- function gt(t, e, a) {
831
+ let pt = 50;
832
+ function St(t, e, a) {
808
833
  let n;
809
- Ke(t, nt, (o) => a(21, n = o));
810
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: V = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], B = {}, k = "", _, T = !0, J = !1, D = !1, x, K = !1, X, Q, re = [];
811
- const Te = () => {
834
+ Qe(t, ot, (o) => a(21, n = o));
835
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], D = [], B = {}, R = "", _, T = !0, Z = !1, E = !1, x, K = !1, X, Q, re = [];
836
+ const je = () => {
812
837
  fetch(N).then((S) => S.json()).then((S) => {
813
838
  Object.keys(S).forEach((y) => {
814
- ge(y, S[y]);
839
+ pe(y, S[y]);
815
840
  });
816
841
  }).catch((S) => {
817
842
  console.log(S);
818
843
  });
819
844
  };
820
- Object.keys(pe).forEach((o) => {
821
- ge(o, pe[o]);
845
+ Object.keys(Se).forEach((o) => {
846
+ pe(o, Se[o]);
822
847
  });
823
848
  const oe = (o) => {
824
- o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(32, K = !0)), o.data.type == "CategoryChange" && $();
849
+ o.data && o.data.type == "SearchedItemClicked" && Pe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
825
850
  }, se = () => {
826
- if (a(13, T = !1), a(17, J = !0), r && l && c && k.length < 2) {
827
- a(15, v = []);
851
+ if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
852
+ a(13, v = []);
828
853
  let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
829
854
  o && (S = o.split(","));
830
855
  let y = [], C = 0, F = S.length;
831
856
  if (F > 0) {
832
857
  for (C = 0; C < F; C++) {
833
- let E = new URL(`${r}/v1/casino/games/${S[C]}`);
834
- E.searchParams.append("language", c), E.searchParams.append("datasource", l), E.searchParams.append("platform", ae(W)), y.push(Ee(E, S[C]));
858
+ let G = new URL(`${r}/v1/casino/games/${S[C]}`);
859
+ G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(De(G, S[C]));
835
860
  }
836
- Promise.all(y).then((E) => {
837
- E = E.filter(function(O) {
861
+ Promise.all(y).then((G) => {
862
+ G = G.filter(function(O) {
838
863
  return !!O;
839
- }), a(15, v = E.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
840
- }).catch((E) => {
841
- Z("searchError", "SearchWidget");
864
+ }), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
865
+ }).catch((G) => {
866
+ Y("searchError", "SearchWidget");
842
867
  });
843
868
  }
844
869
  }
845
- ce(J), Z("searchAttempt", "SearchWidget"), Z("SearchInitialized", "SearchWidget");
846
- }, Z = (o, S) => {
870
+ ce(Z), Y("searchAttempt", "SearchWidget"), Y("SearchInitialized", "SearchWidget");
871
+ }, Y = (o, S) => {
847
872
  typeof gtag == "function" && gtag("event", o, { context: S });
848
- }, je = () => {
873
+ }, Ie = () => {
849
874
  M != "true" && $();
850
- }, Ie = (o) => new Promise((S, y) => {
851
- a(18, D = !0), fetch(o.href).then((C) => C.json()).then((C) => {
852
- a(18, D = !1), S(C);
875
+ }, Ge = (o) => new Promise((S, y) => {
876
+ a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
877
+ a(18, E = !1), S(C);
853
878
  }).catch((C) => {
854
- a(18, D = !1), console.error(C), y(C);
879
+ a(18, E = !1), console.error(C), y(C);
855
880
  });
856
- }), Ee = (o, S) => new Promise((y, C) => {
857
- a(18, D = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, D = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
858
- a(18, D = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
881
+ }), De = (o, S) => new Promise((y, C) => {
882
+ a(18, E = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, E = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
883
+ a(18, E = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
859
884
  }).catch((F) => {
860
- a(18, D = !1), console.error(F), C(F);
885
+ a(18, E = !1), console.error(F), C(F);
861
886
  });
862
- }), Ge = () => {
887
+ }), Ee = () => {
863
888
  const o = new URL(`${r}/v1/player/${Q}/favorites/`);
864
- a(18, D = !0);
889
+ a(18, E = !0);
865
890
  let S = {
866
891
  method: "GET",
867
892
  headers: { "X-SessionID": X }
868
893
  };
869
894
  fetch(o.href, S).then((y) => y.json()).then((y) => {
870
- a(18, D = !1), re = y.items.map((C) => C.id);
895
+ a(18, E = !1), re = y.items.map((C) => C.id);
871
896
  });
872
- }, De = () => {
873
- a(32, K = !0), a(19, X = s), a(20, Q = i);
874
- }, le = (o) => re.findIndex((S) => S == o) !== -1, ze = (o) => {
897
+ }, ze = () => {
898
+ a(33, K = !0), a(19, X = s), a(20, Q = i);
899
+ }, le = (o) => re.findIndex((S) => S == o) !== -1, Ne = (o) => {
875
900
  if ((o == null ? void 0 : o.length) === 0)
876
901
  return "";
877
902
  let S, y = 99999999999, C;
878
903
  const F = new Date(Date.now());
879
- return o.forEach((E, O) => {
880
- const qe = new Date(E.schedules[0].startTime), te = new Date(E.schedules[0].endTime);
881
- Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), st(new Date(F), new Date(qe)) && lt(new Date(F), new Date(te)) && (S = o[C].name);
904
+ return o.forEach((G, O) => {
905
+ const We = new Date(G.schedules[0].startTime), te = new Date(G.schedules[0].endTime);
906
+ be(new Date(te), new Date(F)) < y && (y = be(new Date(te), new Date(F)), C = O), it(new Date(F), new Date(We)) && ct(new Date(F), new Date(te)) && (S = o[C].name);
882
907
  }), S;
883
- }, Ne = (o) => {
884
- if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
908
+ }, Pe = (o) => {
909
+ if (D = localStorage.getItem("searchedGamesWds_casino"), D ? D = D.split(",") : D = [], D.indexOf(o) === -1) {
885
910
  let S;
886
- G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
911
+ D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
887
912
  }
888
913
  }, $ = () => {
889
- a(12, k = ""), a(13, T = !0), a(18, D = !1), a(15, v = []), a(17, J = !1), ce(J);
914
+ a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Z = !1), ce(Z);
890
915
  }, ie = () => {
891
- a(12, k = ""), _.focus();
916
+ a(14, R = ""), _.focus();
892
917
  }, ce = (o) => {
893
918
  window.postMessage(
894
919
  {
@@ -897,47 +922,47 @@ function gt(t, e, a) {
897
922
  },
898
923
  window.location.href
899
924
  );
900
- }, Pe = () => {
901
- ot(c);
902
- };
903
- Xe(() => (window.addEventListener("message", oe, !1), () => {
925
+ }, xe = () => {
926
+ st(c);
927
+ }, Me = lt(() => ue(this, null, function* () {
928
+ if (R.length >= 2) {
929
+ const o = new URL(`${r}/v1/casino/games`);
930
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Ge(o).then((S) => {
931
+ a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
932
+ });
933
+ } else
934
+ T || se();
935
+ }), 500);
936
+ $e(() => (window.addEventListener("message", oe, !1), () => {
904
937
  window.removeEventListener("message", oe);
905
938
  }));
906
- function xe() {
907
- k = this.value, a(12, k);
939
+ function Be() {
940
+ R = this.value, a(14, R);
908
941
  }
909
- function Me(o) {
910
- me[o ? "unshift" : "push"](() => {
911
- _ = o, a(16, _);
942
+ function Ae(o) {
943
+ fe[o ? "unshift" : "push"](() => {
944
+ _ = o, a(15, _);
912
945
  });
913
946
  }
914
- const Be = () => ie(), Ae = () => $();
915
- function Oe(o) {
916
- me[o ? "unshift" : "push"](() => {
917
- x = o, a(14, x);
947
+ const Oe = () => ie(), qe = () => $();
948
+ function He(o) {
949
+ fe[o ? "unshift" : "push"](() => {
950
+ x = o, a(12, x);
918
951
  });
919
952
  }
920
953
  return t.$$set = (o) => {
921
- "endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(31, N = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, V = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
954
+ "endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, N = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
922
955
  }, t.$$.update = () => {
923
- if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
924
- 268447747)
925
- if (k.length >= 2) {
926
- const o = new URL(`${r}/v1/casino/games`);
927
- o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${k}`), Ie(o).then((S) => {
928
- rt("game_search", { searchValue: k }), a(15, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
929
- });
930
- } else
931
- T || se();
932
956
  t.$$.dirty[0] & /*lang*/
933
- 2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
934
- 1 && N && Te(), t.$$.dirty[0] & /*session, userid*/
935
- 1610612736 && s && i && De(), t.$$.dirty[0] & /*showfavorites*/
957
+ 2 && c && xe(), t.$$.dirty[1] & /*translationurl*/
958
+ 2 && N && je(), t.$$.dirty[0] & /*session*/
959
+ 1073741824 | t.$$.dirty[1] & /*userid*/
960
+ 1 && s && i && ze(), t.$$.dirty[0] & /*showfavorites*/
936
961
  256 | t.$$.dirty[1] & /*isLoggedIn*/
937
- 2 && P && K && Ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
938
- 16388 && m && x && $e(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
939
- 16392 && h && x && et(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
940
- 18432 && x && tt(x, `${A}.Style`);
962
+ 4 && P && K && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
963
+ 4100 && m && x && tt(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
964
+ 4104 && h && x && at(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
965
+ 6144 && x && nt(x, `${A}.Style`);
941
966
  }, [
942
967
  r,
943
968
  c,
@@ -949,49 +974,50 @@ function gt(t, e, a) {
949
974
  p,
950
975
  P,
951
976
  M,
952
- V,
977
+ J,
953
978
  A,
954
- k,
955
- T,
956
979
  x,
957
980
  v,
981
+ R,
958
982
  _,
959
- J,
960
- D,
983
+ T,
984
+ Z,
985
+ E,
961
986
  X,
962
987
  Q,
963
988
  n,
964
989
  W,
965
990
  se,
966
- je,
967
- ze,
991
+ Ie,
992
+ Ne,
968
993
  $,
969
994
  ie,
995
+ Me,
970
996
  l,
971
997
  s,
972
998
  i,
973
999
  N,
974
1000
  K,
975
- xe,
976
- Me,
977
1001
  Be,
978
1002
  Ae,
979
- Oe
1003
+ Oe,
1004
+ qe,
1005
+ He
980
1006
  ];
981
1007
  }
982
- class pt extends Ue {
1008
+ class bt extends Je {
983
1009
  constructor(e) {
984
- super(), Ve(
1010
+ super(), Ze(
985
1011
  this,
986
1012
  e,
1013
+ St,
987
1014
  gt,
988
- mt,
989
- Je,
1015
+ Ye,
990
1016
  {
991
1017
  endpoint: 0,
992
- datasource: 28,
993
- session: 29,
994
- userid: 30,
1018
+ datasource: 29,
1019
+ session: 30,
1020
+ userid: 31,
995
1021
  lang: 1,
996
1022
  clientstyling: 2,
997
1023
  clientstylingurl: 3,
@@ -999,13 +1025,13 @@ class pt extends Ue {
999
1025
  integratedgameframemobile: 5,
1000
1026
  showgamename: 6,
1001
1027
  gamepagemodalurl: 7,
1002
- translationurl: 31,
1028
+ translationurl: 32,
1003
1029
  showfavorites: 8,
1004
1030
  cancelbutton: 9,
1005
1031
  notfoundicon: 10,
1006
1032
  mbsource: 11
1007
1033
  },
1008
- it,
1034
+ ut,
1009
1035
  [-1, -1]
1010
1036
  );
1011
1037
  }
@@ -1016,19 +1042,19 @@ class pt extends Ue {
1016
1042
  this.$$set({ endpoint: e }), L();
1017
1043
  }
1018
1044
  get datasource() {
1019
- return this.$$.ctx[28];
1045
+ return this.$$.ctx[29];
1020
1046
  }
1021
1047
  set datasource(e) {
1022
1048
  this.$$set({ datasource: e }), L();
1023
1049
  }
1024
1050
  get session() {
1025
- return this.$$.ctx[29];
1051
+ return this.$$.ctx[30];
1026
1052
  }
1027
1053
  set session(e) {
1028
1054
  this.$$set({ session: e }), L();
1029
1055
  }
1030
1056
  get userid() {
1031
- return this.$$.ctx[30];
1057
+ return this.$$.ctx[31];
1032
1058
  }
1033
1059
  set userid(e) {
1034
1060
  this.$$set({ userid: e }), L();
@@ -1076,7 +1102,7 @@ class pt extends Ue {
1076
1102
  this.$$set({ gamepagemodalurl: e }), L();
1077
1103
  }
1078
1104
  get translationurl() {
1079
- return this.$$.ctx[31];
1105
+ return this.$$.ctx[32];
1080
1106
  }
1081
1107
  set translationurl(e) {
1082
1108
  this.$$set({ translationurl: e }), L();
@@ -1106,7 +1132,7 @@ class pt extends Ue {
1106
1132
  this.$$set({ mbsource: e }), L();
1107
1133
  }
1108
1134
  }
1109
- at(pt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
1135
+ rt(bt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
1110
1136
  export {
1111
- pt as default
1137
+ bt as default
1112
1138
  };