@everymatrix/casino-page-nd 1.87.13 → 1.87.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,40 +1,40 @@
1
1
  var nt = Object.defineProperty;
2
2
  var pe = Object.getOwnPropertySymbols;
3
3
  var rt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
4
- var Se = (a, e, t) => e in a ? nt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, _e = (a, e) => {
4
+ var Se = (n, e, t) => e in n ? nt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, _e = (n, e) => {
5
5
  for (var t in e || (e = {}))
6
- rt.call(e, t) && Se(a, t, e[t]);
6
+ rt.call(e, t) && Se(n, t, e[t]);
7
7
  if (pe)
8
8
  for (var t of pe(e))
9
- ot.call(e, t) && Se(a, t, e[t]);
10
- return a;
9
+ ot.call(e, t) && Se(n, t, e[t]);
10
+ return n;
11
11
  };
12
- var we = (a, e, t) => new Promise((r, o) => {
13
- var l = (c) => {
12
+ var we = (n, e, t) => new Promise((r, o) => {
13
+ var c = (i) => {
14
14
  try {
15
- i(t.next(c));
15
+ l(t.next(i));
16
16
  } catch (h) {
17
17
  o(h);
18
18
  }
19
- }, s = (c) => {
19
+ }, s = (i) => {
20
20
  try {
21
- i(t.throw(c));
21
+ l(t.throw(i));
22
22
  } catch (h) {
23
23
  o(h);
24
24
  }
25
- }, i = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(l, s);
26
- i((t = t.apply(a, e)).next());
25
+ }, l = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(c, s);
26
+ l((t = t.apply(n, e)).next());
27
27
  });
28
- import { a as st, $ as lt, S as it, i as ct, s as ut, f as F, b as ht, n as be, d as I, M as dt, r as p, Q as ve, h as G, p as w, A as K, j as R, B as D, F as ye, P as ie, k as gt, o as mt, m as x, q as W, C as ke, v as Re, w as ft, T as Pe, E as u, H as pt, I as St, J as _t, K as wt, L as bt } from "./CasinoCalendar-BpwU4Nrb.js";
28
+ import { a as st, $ as lt, S as it, i as ct, s as ut, f as C, b as ht, n as be, d as T, M as dt, r as p, Q as ve, h as I, p as _, A as K, j as y, B as D, F as ke, P as ie, k as gt, o as mt, m as x, q as U, C as ye, v as Re, Y as ft, Z as pt, T as Pe, E as u, H as St, I as _t, J as wt, K as bt, L as vt } from "./CasinoCalendar-BpwU4Nrb.js";
29
29
  import "../lazy/casino-game-thumbnail-nd-N5nWpTDy.js";
30
- import { g as vt, d as Ce, i as yt, a as kt } from "./CasinoGameThumbnailNd-BJOwb878.js";
31
- function Rt(a, e) {
32
- st(a, e);
30
+ import { g as kt, d as Ce, i as yt, a as Rt } from "./CasinoGameThumbnailNd-BJOwb878.js";
31
+ function Ct(n, e) {
32
+ st(n, e);
33
33
  }
34
- function Ct(a) {
35
- lt.set(a);
34
+ function Ft(n) {
35
+ lt.set(n);
36
36
  }
37
- const Ft = {
37
+ const Lt = {
38
38
  en: {
39
39
  recentSearch: "Recent search",
40
40
  placeHolderSearchGames: "Search for Games",
@@ -216,636 +216,636 @@ const Ft = {
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
- }, Lt = (a, e) => function(...t) {
219
+ }, Tt = (n, e) => function(...t) {
220
220
  clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
221
- a.apply(this, t);
221
+ n.apply(this, t);
222
222
  }, e);
223
223
  };
224
- function Tt(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}");
224
+ function It(n) {
225
+ ht(n, "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) {
228
- const r = a.slice();
227
+ function Fe(n, e, t) {
228
+ const r = n.slice();
229
229
  return r[67] = e[t], r;
230
230
  }
231
- function Le(a) {
231
+ function Le(n) {
232
232
  let e, t = (
233
233
  /*$_*/
234
- a[21]("cancel") + ""
235
- ), r, o, l, s;
234
+ n[21]("cancel") + ""
235
+ ), r, o, c, s;
236
236
  return {
237
237
  c() {
238
- e = R("small"), r = W(t), p(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
239
- (a[16] ? "NotVisible" : ""));
238
+ e = y("small"), r = U(t), p(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
239
+ (n[16] ? "NotVisible" : ""));
240
240
  },
241
- m(i, c) {
242
- G(i, e, c), w(e, r), l || (s = K(
241
+ m(l, i) {
242
+ I(l, e, i), _(e, r), c || (s = K(
243
243
  e,
244
244
  "click",
245
245
  /*click_handler_1*/
246
- a[41]
247
- ), l = !0);
246
+ n[41]
247
+ ), c = !0);
248
248
  },
249
- p(i, c) {
250
- c[0] & /*$_*/
249
+ p(l, i) {
250
+ i[0] & /*$_*/
251
251
  2097152 && t !== (t = /*$_*/
252
- i[21]("cancel") + "") && x(r, t), c[0] & /*searchCancelled*/
252
+ l[21]("cancel") + "") && x(r, t), i[0] & /*searchCancelled*/
253
253
  65536 && o !== (o = "SearchCancelButton " + /*searchCancelled*/
254
- (i[16] ? "NotVisible" : "")) && p(e, "class", o);
254
+ (l[16] ? "NotVisible" : "")) && p(e, "class", o);
255
255
  },
256
- d(i) {
257
- i && I(e), l = !1, s();
256
+ d(l) {
257
+ l && T(e), c = !1, s();
258
258
  }
259
259
  };
260
260
  }
261
- function It(a) {
261
+ function Gt(n) {
262
262
  let e, t, r, o;
263
- function l(d, m) {
263
+ function c(d, g) {
264
264
  if (
265
265
  /*searchActive*/
266
266
  d[17] == !0 && /*searchValue*/
267
267
  d[14].length < 2
268
268
  )
269
- return Et;
269
+ return zt;
270
270
  if (
271
271
  /*searchArray*/
272
272
  d[13].length != 0
273
273
  )
274
- return jt;
274
+ return Et;
275
275
  }
276
- let s = l(a), i = s && s(a), c = (
276
+ let s = c(n), l = s && s(n), i = (
277
277
  /*searchCancelled*/
278
- a[16] === !1 && je(a)
278
+ n[16] === !1 && je(n)
279
279
  ), h = (
280
280
  /*searchValue*/
281
- a[14].length >= 2 && /*searchArray*/
282
- a[13].length == 0 && ze(a)
281
+ n[14].length >= 2 && /*searchArray*/
282
+ n[13].length == 0 && ze(n)
283
283
  );
284
284
  return {
285
285
  c() {
286
- i && i.c(), e = D(), t = R("div"), c && c.c(), r = D(), h && h.c(), p(t, "class", o = "SearchResultsContainer " + /*searchActive*/
287
- (a[17] == !0 ? "" : "NotVisible"));
286
+ l && l.c(), e = D(), t = y("div"), i && i.c(), r = D(), h && h.c(), p(t, "class", o = "SearchResultsContainer " + /*searchActive*/
287
+ (n[17] == !0 ? "" : "NotVisible"));
288
288
  },
289
- m(d, m) {
290
- i && i.m(d, m), G(d, e, m), G(d, t, m), c && c.m(t, null), w(t, r), h && h.m(t, null);
289
+ m(d, g) {
290
+ l && l.m(d, g), I(d, e, g), I(d, t, g), i && i.m(t, null), _(t, r), h && h.m(t, null);
291
291
  },
292
- p(d, m) {
293
- s === (s = l(d)) && i ? i.p(d, m) : (i && i.d(1), i = s && s(d), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
294
- d[16] === !1 ? c ? c.p(d, m) : (c = je(d), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
292
+ p(d, g) {
293
+ s === (s = c(d)) && l ? l.p(d, g) : (l && l.d(1), l = s && s(d), l && (l.c(), l.m(e.parentNode, e))), /*searchCancelled*/
294
+ d[16] === !1 ? i ? i.p(d, g) : (i = je(d), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*searchValue*/
295
295
  d[14].length >= 2 && /*searchArray*/
296
- d[13].length == 0 ? h ? h.p(d, m) : (h = ze(d), h.c(), h.m(t, null)) : h && (h.d(1), h = null), m[0] & /*searchActive*/
296
+ d[13].length == 0 ? h ? h.p(d, g) : (h = ze(d), h.c(), h.m(t, null)) : h && (h.d(1), h = null), g[0] & /*searchActive*/
297
297
  131072 && o !== (o = "SearchResultsContainer " + /*searchActive*/
298
298
  (d[17] == !0 ? "" : "NotVisible")) && p(t, "class", o);
299
299
  },
300
300
  d(d) {
301
- d && (I(e), I(t)), i && i.d(d), c && c.d(), h && h.d();
301
+ d && (T(e), T(t)), l && l.d(d), i && i.d(), h && h.d();
302
302
  }
303
303
  };
304
304
  }
305
- function Gt(a) {
305
+ function jt(n) {
306
306
  let e, t = (
307
307
  /*$_*/
308
- a[21]("loading") + ""
308
+ n[21]("loading") + ""
309
309
  ), r;
310
310
  return {
311
311
  c() {
312
- e = R("p"), r = W(t), p(e, "class", "LoadingContent");
312
+ e = y("p"), r = U(t), p(e, "class", "LoadingContent");
313
313
  },
314
- m(o, l) {
315
- G(o, e, l), w(e, r);
314
+ m(o, c) {
315
+ I(o, e, c), _(e, r);
316
316
  },
317
- p(o, l) {
318
- l[0] & /*$_*/
317
+ p(o, c) {
318
+ c[0] & /*$_*/
319
319
  2097152 && t !== (t = /*$_*/
320
320
  o[21]("loading") + "") && x(r, t);
321
321
  },
322
322
  d(o) {
323
- o && I(e);
323
+ o && T(e);
324
324
  }
325
325
  };
326
326
  }
327
- function jt(a) {
327
+ function Et(n) {
328
328
  let e, t = (
329
329
  /*$_*/
330
- a[21]("searchResult") + ""
330
+ n[21]("searchResult") + ""
331
331
  ), r;
332
332
  return {
333
333
  c() {
334
- e = R("p"), r = W(t), p(e, "class", "SearchMessage");
334
+ e = y("p"), r = U(t), p(e, "class", "SearchMessage");
335
335
  },
336
- m(o, l) {
337
- G(o, e, l), w(e, r);
336
+ m(o, c) {
337
+ I(o, e, c), _(e, r);
338
338
  },
339
- p(o, l) {
340
- l[0] & /*$_*/
339
+ p(o, c) {
340
+ c[0] & /*$_*/
341
341
  2097152 && t !== (t = /*$_*/
342
342
  o[21]("searchResult") + "") && x(r, t);
343
343
  },
344
344
  d(o) {
345
- o && I(e);
345
+ o && T(e);
346
346
  }
347
347
  };
348
348
  }
349
- function Et(a) {
349
+ function zt(n) {
350
350
  let e, t, r = (
351
351
  /*searchArray*/
352
- a[13].length !== 0 && Te(a)
352
+ n[13].length !== 0 && Te(n)
353
353
  ), o = (
354
354
  /*searchArray*/
355
- a[13].length == 0 && Ie(a)
355
+ n[13].length == 0 && Ie(n)
356
356
  );
357
357
  return {
358
358
  c() {
359
359
  r && r.c(), e = D(), o && o.c(), t = Pe();
360
360
  },
361
- m(l, s) {
362
- r && r.m(l, s), G(l, e, s), o && o.m(l, s), G(l, t, s);
361
+ m(c, s) {
362
+ r && r.m(c, s), I(c, e, s), o && o.m(c, s), I(c, t, s);
363
363
  },
364
- p(l, s) {
364
+ p(c, 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
+ c[13].length !== 0 ? r ? r.p(c, s) : (r = Te(c), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
367
+ c[13].length == 0 ? o ? o.p(c, s) : (o = Ie(c), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
368
368
  },
369
- d(l) {
370
- l && (I(e), I(t)), r && r.d(l), o && o.d(l);
369
+ d(c) {
370
+ c && (T(e), T(t)), r && r.d(c), o && o.d(c);
371
371
  }
372
372
  };
373
373
  }
374
- function Te(a) {
374
+ function Te(n) {
375
375
  let e, t = (
376
376
  /*$_*/
377
- a[21]("recentSearch") + ""
377
+ n[21]("recentSearch") + ""
378
378
  ), r;
379
379
  return {
380
380
  c() {
381
- e = R("p"), r = W(t), p(e, "class", "SearchMessage");
381
+ e = y("p"), r = U(t), p(e, "class", "SearchMessage");
382
382
  },
383
- m(o, l) {
384
- G(o, e, l), w(e, r);
383
+ m(o, c) {
384
+ I(o, e, c), _(e, r);
385
385
  },
386
- p(o, l) {
387
- l[0] & /*$_*/
386
+ p(o, c) {
387
+ c[0] & /*$_*/
388
388
  2097152 && t !== (t = /*$_*/
389
389
  o[21]("recentSearch") + "") && x(r, t);
390
390
  },
391
391
  d(o) {
392
- o && I(e);
392
+ o && T(e);
393
393
  }
394
394
  };
395
395
  }
396
- function Ie(a) {
396
+ function Ie(n) {
397
397
  let e, t, r, o = (
398
398
  /*$_*/
399
- a[21]("noRecentSearches") + ""
400
- ), l, s, i = (
399
+ n[21]("noRecentSearches") + ""
400
+ ), c, s, l = (
401
401
  /*notfoundicon*/
402
- a[11] === "true" && Ge()
402
+ n[11] === "true" && Ge()
403
403
  );
404
404
  return {
405
405
  c() {
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
- (a[11] == "true" ? "WithIcon" : ""));
406
+ e = y("div"), l && l.c(), t = D(), r = y("p"), c = U(o), p(r, "class", "SearchMessage"), p(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
407
+ (n[11] == "true" ? "WithIcon" : ""));
408
408
  },
409
- m(c, h) {
410
- G(c, e, h), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
409
+ m(i, h) {
410
+ I(i, e, h), l && l.m(e, null), _(e, t), _(e, r), _(r, c);
411
411
  },
412
- p(c, h) {
412
+ p(i, h) {
413
413
  /*notfoundicon*/
414
- c[11] === "true" ? i || (i = Ge(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), h[0] & /*$_*/
414
+ i[11] === "true" ? l || (l = Ge(), l.c(), l.m(e, t)) : l && (l.d(1), l = null), h[0] & /*$_*/
415
415
  2097152 && o !== (o = /*$_*/
416
- c[21]("noRecentSearches") + "") && x(l, o), h[0] & /*notfoundicon*/
416
+ i[21]("noRecentSearches") + "") && x(c, o), h[0] & /*notfoundicon*/
417
417
  2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
418
- (c[11] == "true" ? "WithIcon" : "")) && p(e, "class", s);
418
+ (i[11] == "true" ? "WithIcon" : "")) && p(e, "class", s);
419
419
  },
420
- d(c) {
421
- c && I(e), i && i.d();
420
+ d(i) {
421
+ i && T(e), l && l.d();
422
422
  }
423
423
  };
424
424
  }
425
- function Ge(a) {
425
+ function Ge(n) {
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>', p(e, "class", "SearchErrorIcon");
429
+ e = y("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
- G(t, e, r);
432
+ I(t, e, r);
433
433
  },
434
434
  d(t) {
435
- t && I(e);
435
+ t && T(e);
436
436
  }
437
437
  };
438
438
  }
439
- function je(a) {
440
- let e, t = Re(
439
+ function je(n) {
440
+ let e = [], t = /* @__PURE__ */ new Map(), r, o = Re(
441
441
  /*searchArray*/
442
- a[13]
443
- ), r = [];
444
- for (let o = 0; o < t.length; o += 1)
445
- r[o] = Ee(Fe(a, t, o));
442
+ n[13]
443
+ );
444
+ const c = (s) => (
445
+ /*game*/
446
+ s[67].id
447
+ );
448
+ for (let s = 0; s < o.length; s += 1) {
449
+ let l = Fe(n, o, s), i = c(l);
450
+ t.set(i, e[s] = Ee(i, l));
451
+ }
446
452
  return {
447
453
  c() {
448
- for (let o = 0; o < r.length; o += 1)
449
- r[o].c();
450
- e = Pe();
454
+ for (let s = 0; s < e.length; s += 1)
455
+ e[s].c();
456
+ r = Pe();
451
457
  },
452
- m(o, l) {
453
- for (let s = 0; s < r.length; s += 1)
454
- r[s] && r[s].m(o, l);
455
- G(o, e, l);
458
+ m(s, l) {
459
+ for (let i = 0; i < e.length; i += 1)
460
+ e[i] && e[i].m(s, l);
461
+ I(s, r, l);
456
462
  },
457
- p(o, l) {
458
- if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, getRequiredIcon, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
459
- 77079551) {
460
- t = Re(
461
- /*searchArray*/
462
- o[13]
463
- );
464
- let s;
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));
468
- }
469
- for (; s < r.length; s += 1)
470
- r[s].d(1);
471
- r.length = t.length;
472
- }
463
+ p(s, l) {
464
+ l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, getRequiredIcon, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
465
+ 77079551 && (o = Re(
466
+ /*searchArray*/
467
+ s[13]
468
+ ), e = ft(e, l, c, 1, s, o, t, r.parentNode, pt, Ee, r, Fe));
473
469
  },
474
- d(o) {
475
- o && I(e), ft(r, o);
470
+ d(s) {
471
+ s && T(r);
472
+ for (let l = 0; l < e.length; l += 1)
473
+ e[l].d(s);
476
474
  }
477
475
  };
478
476
  }
479
- function Ee(a) {
480
- let e, t, r, o, l, s, i, c, h, d, m, y, T;
477
+ function Ee(n, e) {
478
+ let t, r, o, c, s, l, i, h, d, g, v, L, z;
481
479
  return {
480
+ key: n,
481
+ first: null,
482
482
  c() {
483
- var g, S;
484
- e = R("casino-game-thumbnail-nd"), u(
485
- e,
483
+ var G, m;
484
+ t = y("casino-game-thumbnail-nd"), u(
485
+ t,
486
486
  "endpoint",
487
487
  /*endpoint*/
488
- a[0]
488
+ e[0]
489
489
  ), u(
490
- e,
490
+ t,
491
491
  "session",
492
492
  /*sessionID*/
493
- a[19]
493
+ e[19]
494
494
  ), u(
495
- e,
495
+ t,
496
496
  "userid",
497
497
  /*playerID*/
498
- a[20]
498
+ e[20]
499
499
  ), u(
500
- e,
500
+ t,
501
501
  "favorites",
502
502
  /*showfavorites*/
503
- a[9]
503
+ e[9]
504
504
  ), u(
505
- e,
505
+ t,
506
506
  "lang",
507
507
  /*lang*/
508
- a[1]
509
- ), u(e, "gamethumbnail", t = /*game*/
510
- a[67].thumbnail), u(e, "icon", r = /*getRequiredIcon*/
511
- a[23](
508
+ e[1]
509
+ ), u(t, "gamethumbnail", r = /*game*/
510
+ e[67].thumbnail), u(t, "icon", o = /*getRequiredIcon*/
511
+ e[23](
512
512
  /*game*/
513
- (g = a[67]) == null ? void 0 : g.icons
514
- )), u(e, "gamename", o = /*game*/
515
- a[67].name), u(e, "gamevendor", l = /*game*/
516
- a[67].vendor.name), u(e, "gameLaunchUrl", s = /*game*/
517
- a[67].launchUrl), u(e, "gameisnew", i = /*game*/
518
- a[67].isNew), u(e, "gametag", c = /*game*/
519
- ((S = a[67].advancedTags) == null ? void 0 : S.length) > 0 && /*addGameTag*/
520
- a[26](
513
+ (G = e[67]) == null ? void 0 : G.icons
514
+ )), u(t, "gamename", c = /*game*/
515
+ e[67].name), u(t, "gamevendor", s = /*game*/
516
+ e[67].vendor.name), u(t, "gameLaunchUrl", l = /*game*/
517
+ e[67].launchUrl), u(t, "gameisnew", i = /*game*/
518
+ e[67].isNew), u(t, "gametag", h = /*game*/
519
+ ((m = e[67].advancedTags) == null ? void 0 : m.length) > 0 && /*addGameTag*/
520
+ e[26](
521
521
  /*game*/
522
- a[67].advancedTags
523
- )), u(e, "gamecellsize", h = /*game*/
524
- a[67].cellSize), u(e, "gameid", d = /*game*/
525
- a[67].id), u(
526
- e,
522
+ e[67].advancedTags
523
+ )), u(t, "gamecellsize", d = /*game*/
524
+ e[67].cellSize), u(t, "gameid", g = /*game*/
525
+ e[67].id), u(
526
+ t,
527
527
  "showgamename",
528
528
  /*showgamename*/
529
- a[7]
530
- ), u(e, "gamefunmode", m = /*game*/
531
- a[67].hasFunMode), u(e, "gamefavorite", y = /*game*/
532
- a[67].isFavorite), u(e, "livelobbyendpoint", T = /*game*/
533
- a[67].details ? (
529
+ e[7]
530
+ ), u(t, "gamefunmode", v = /*game*/
531
+ e[67].hasFunMode), u(t, "gamefavorite", L = /*game*/
532
+ e[67].isFavorite), u(t, "livelobbyendpoint", z = /*game*/
533
+ e[67].details ? (
534
534
  /*game*/
535
- a[67].launchUrl
535
+ e[67].launchUrl
536
536
  ) : ""), u(
537
- e,
537
+ t,
538
538
  "integratedgameframedesktop",
539
539
  /*integratedgameframedesktop*/
540
- a[5]
540
+ e[5]
541
541
  ), u(
542
- e,
542
+ t,
543
543
  "integratedgameframemobile",
544
544
  /*integratedgameframemobile*/
545
- a[6]
545
+ e[6]
546
546
  ), u(
547
- e,
547
+ t,
548
548
  "clientstyling",
549
549
  /*clientstyling*/
550
- a[3]
550
+ e[3]
551
551
  ), u(
552
- e,
552
+ t,
553
553
  "clientstylingurl",
554
554
  /*clientstylingurl*/
555
- a[4]
555
+ e[4]
556
556
  ), u(
557
- e,
557
+ t,
558
558
  "gamepagemodalurl",
559
559
  /*gamepagemodalurl*/
560
- a[8]
560
+ e[8]
561
561
  ), u(
562
- e,
562
+ t,
563
563
  "mbsource",
564
564
  /*mbsource*/
565
- a[2]
566
- );
565
+ e[2]
566
+ ), this.first = t;
567
567
  },
568
- m(g, S) {
569
- G(g, e, S);
568
+ m(G, m) {
569
+ I(G, t, m);
570
570
  },
571
- p(g, S) {
572
- var j, N;
573
- S[0] & /*endpoint*/
571
+ p(G, m) {
572
+ var N, M;
573
+ e = G, m[0] & /*endpoint*/
574
574
  1 && u(
575
- e,
575
+ t,
576
576
  "endpoint",
577
577
  /*endpoint*/
578
- g[0]
579
- ), S[0] & /*sessionID*/
578
+ e[0]
579
+ ), m[0] & /*sessionID*/
580
580
  524288 && u(
581
- e,
581
+ t,
582
582
  "session",
583
583
  /*sessionID*/
584
- g[19]
585
- ), S[0] & /*playerID*/
584
+ e[19]
585
+ ), m[0] & /*playerID*/
586
586
  1048576 && u(
587
- e,
587
+ t,
588
588
  "userid",
589
589
  /*playerID*/
590
- g[20]
591
- ), S[0] & /*showfavorites*/
590
+ e[20]
591
+ ), m[0] & /*showfavorites*/
592
592
  512 && u(
593
- e,
593
+ t,
594
594
  "favorites",
595
595
  /*showfavorites*/
596
- g[9]
597
- ), S[0] & /*lang*/
596
+ e[9]
597
+ ), m[0] & /*lang*/
598
598
  2 && u(
599
- e,
599
+ t,
600
600
  "lang",
601
601
  /*lang*/
602
- g[1]
603
- ), S[0] & /*searchArray*/
604
- 8192 && t !== (t = /*game*/
605
- g[67].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
606
- 8192 && r !== (r = /*getRequiredIcon*/
607
- g[23](
602
+ e[1]
603
+ ), m[0] & /*searchArray*/
604
+ 8192 && r !== (r = /*game*/
605
+ e[67].thumbnail) && u(t, "gamethumbnail", r), m[0] & /*searchArray*/
606
+ 8192 && o !== (o = /*getRequiredIcon*/
607
+ e[23](
608
608
  /*game*/
609
- (j = g[67]) == null ? void 0 : j.icons
610
- )) && u(e, "icon", r), S[0] & /*searchArray*/
611
- 8192 && o !== (o = /*game*/
612
- g[67].name) && u(e, "gamename", o), S[0] & /*searchArray*/
613
- 8192 && l !== (l = /*game*/
614
- g[67].vendor.name) && u(e, "gamevendor", l), S[0] & /*searchArray*/
609
+ (N = e[67]) == null ? void 0 : N.icons
610
+ )) && u(t, "icon", o), m[0] & /*searchArray*/
611
+ 8192 && c !== (c = /*game*/
612
+ e[67].name) && u(t, "gamename", c), m[0] & /*searchArray*/
615
613
  8192 && s !== (s = /*game*/
616
- g[67].launchUrl) && u(e, "gameLaunchUrl", s), S[0] & /*searchArray*/
614
+ e[67].vendor.name) && u(t, "gamevendor", s), m[0] & /*searchArray*/
615
+ 8192 && l !== (l = /*game*/
616
+ e[67].launchUrl) && u(t, "gameLaunchUrl", l), m[0] & /*searchArray*/
617
617
  8192 && i !== (i = /*game*/
618
- g[67].isNew) && u(e, "gameisnew", i), S[0] & /*searchArray*/
619
- 8192 && c !== (c = /*game*/
620
- ((N = g[67].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
621
- g[26](
622
- /*game*/
623
- g[67].advancedTags
624
- )) && u(e, "gametag", c), S[0] & /*searchArray*/
618
+ e[67].isNew) && u(t, "gameisnew", i), m[0] & /*searchArray*/
625
619
  8192 && h !== (h = /*game*/
626
- g[67].cellSize) && u(e, "gamecellsize", h), S[0] & /*searchArray*/
620
+ ((M = e[67].advancedTags) == null ? void 0 : M.length) > 0 && /*addGameTag*/
621
+ e[26](
622
+ /*game*/
623
+ e[67].advancedTags
624
+ )) && u(t, "gametag", h), m[0] & /*searchArray*/
627
625
  8192 && d !== (d = /*game*/
628
- g[67].id) && u(e, "gameid", d), S[0] & /*showgamename*/
626
+ e[67].cellSize) && u(t, "gamecellsize", d), m[0] & /*searchArray*/
627
+ 8192 && g !== (g = /*game*/
628
+ e[67].id) && u(t, "gameid", g), m[0] & /*showgamename*/
629
629
  128 && u(
630
- e,
630
+ t,
631
631
  "showgamename",
632
632
  /*showgamename*/
633
- g[7]
634
- ), S[0] & /*searchArray*/
635
- 8192 && m !== (m = /*game*/
636
- g[67].hasFunMode) && u(e, "gamefunmode", m), S[0] & /*searchArray*/
637
- 8192 && y !== (y = /*game*/
638
- g[67].isFavorite) && u(e, "gamefavorite", y), S[0] & /*searchArray*/
639
- 8192 && T !== (T = /*game*/
640
- g[67].details ? (
633
+ e[7]
634
+ ), m[0] & /*searchArray*/
635
+ 8192 && v !== (v = /*game*/
636
+ e[67].hasFunMode) && u(t, "gamefunmode", v), m[0] & /*searchArray*/
637
+ 8192 && L !== (L = /*game*/
638
+ e[67].isFavorite) && u(t, "gamefavorite", L), m[0] & /*searchArray*/
639
+ 8192 && z !== (z = /*game*/
640
+ e[67].details ? (
641
641
  /*game*/
642
- g[67].launchUrl
643
- ) : "") && u(e, "livelobbyendpoint", T), S[0] & /*integratedgameframedesktop*/
642
+ e[67].launchUrl
643
+ ) : "") && u(t, "livelobbyendpoint", z), m[0] & /*integratedgameframedesktop*/
644
644
  32 && u(
645
- e,
645
+ t,
646
646
  "integratedgameframedesktop",
647
647
  /*integratedgameframedesktop*/
648
- g[5]
649
- ), S[0] & /*integratedgameframemobile*/
648
+ e[5]
649
+ ), m[0] & /*integratedgameframemobile*/
650
650
  64 && u(
651
- e,
651
+ t,
652
652
  "integratedgameframemobile",
653
653
  /*integratedgameframemobile*/
654
- g[6]
655
- ), S[0] & /*clientstyling*/
654
+ e[6]
655
+ ), m[0] & /*clientstyling*/
656
656
  8 && u(
657
- e,
657
+ t,
658
658
  "clientstyling",
659
659
  /*clientstyling*/
660
- g[3]
661
- ), S[0] & /*clientstylingurl*/
660
+ e[3]
661
+ ), m[0] & /*clientstylingurl*/
662
662
  16 && u(
663
- e,
663
+ t,
664
664
  "clientstylingurl",
665
665
  /*clientstylingurl*/
666
- g[4]
667
- ), S[0] & /*gamepagemodalurl*/
666
+ e[4]
667
+ ), m[0] & /*gamepagemodalurl*/
668
668
  256 && u(
669
- e,
669
+ t,
670
670
  "gamepagemodalurl",
671
671
  /*gamepagemodalurl*/
672
- g[8]
673
- ), S[0] & /*mbsource*/
672
+ e[8]
673
+ ), m[0] & /*mbsource*/
674
674
  4 && u(
675
- e,
675
+ t,
676
676
  "mbsource",
677
677
  /*mbsource*/
678
- g[2]
678
+ e[2]
679
679
  );
680
680
  },
681
- d(g) {
682
- g && I(e);
681
+ d(G) {
682
+ G && T(t);
683
683
  }
684
684
  };
685
685
  }
686
- function ze(a) {
686
+ function ze(n) {
687
687
  let e, t, r, o = (
688
688
  /*$_*/
689
- a[21]("notFound") + ""
690
- ), l, s, i, c = (
689
+ n[21]("notFound") + ""
690
+ ), c, s, l, i = (
691
691
  /*$_*/
692
- a[21]("notFoundText") + ""
693
- ), h, d, m = (
692
+ n[21]("notFoundText") + ""
693
+ ), h, d, g = (
694
694
  /*notfoundicon*/
695
- a[11] === "true" && Ne()
695
+ n[11] === "true" && Ne()
696
696
  );
697
697
  return {
698
698
  c() {
699
- e = R("div"), m && m.c(), t = D(), r = R("p"), l = W(o), s = D(), i = R("p"), h = W(c), p(r, "class", "SearchMessage"), p(e, "class", d = "ResultsContainerError " + /*notfoundicon*/
700
- (a[11] == "true" ? "WithIcon" : ""));
699
+ e = y("div"), g && g.c(), t = D(), r = y("p"), c = U(o), s = D(), l = y("p"), h = U(i), p(r, "class", "SearchMessage"), p(e, "class", d = "ResultsContainerError " + /*notfoundicon*/
700
+ (n[11] == "true" ? "WithIcon" : ""));
701
701
  },
702
- m(y, T) {
703
- G(y, e, T), m && m.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, h);
702
+ m(v, L) {
703
+ I(v, e, L), g && g.m(e, null), _(e, t), _(e, r), _(r, c), _(e, s), _(e, l), _(l, h);
704
704
  },
705
- p(y, T) {
705
+ p(v, L) {
706
706
  /*notfoundicon*/
707
- y[11] === "true" ? m || (m = Ne(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), T[0] & /*$_*/
707
+ v[11] === "true" ? g || (g = Ne(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), L[0] & /*$_*/
708
708
  2097152 && o !== (o = /*$_*/
709
- y[21]("notFound") + "") && x(l, o), T[0] & /*$_*/
710
- 2097152 && c !== (c = /*$_*/
711
- y[21]("notFoundText") + "") && x(h, c), T[0] & /*notfoundicon*/
709
+ v[21]("notFound") + "") && x(c, o), L[0] & /*$_*/
710
+ 2097152 && i !== (i = /*$_*/
711
+ v[21]("notFoundText") + "") && x(h, i), L[0] & /*notfoundicon*/
712
712
  2048 && d !== (d = "ResultsContainerError " + /*notfoundicon*/
713
- (y[11] == "true" ? "WithIcon" : "")) && p(e, "class", d);
713
+ (v[11] == "true" ? "WithIcon" : "")) && p(e, "class", d);
714
714
  },
715
- d(y) {
716
- y && I(e), m && m.d();
715
+ d(v) {
716
+ v && T(e), g && g.d();
717
717
  }
718
718
  };
719
719
  }
720
- function Ne(a) {
720
+ function Ne(n) {
721
721
  let e;
722
722
  return {
723
723
  c() {
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");
724
+ e = y("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");
725
725
  },
726
726
  m(t, r) {
727
- G(t, e, r);
727
+ I(t, e, r);
728
728
  },
729
729
  d(t) {
730
- t && I(e);
730
+ t && T(e);
731
731
  }
732
732
  };
733
733
  }
734
- function zt(a) {
735
- let e, t, r, o, l, s, i, c, h, d, m, y, T, g, S, j, N, U, V, q, L = (
734
+ function Nt(n) {
735
+ let e, t, r, o, c, s, l, i, h, d, g, v, L, z, G, m, N, M, V, H, F = (
736
736
  /*cancelbutton*/
737
- a[10] === "true" && Le(a)
737
+ n[10] === "true" && Le(n)
738
738
  );
739
- function J(_, C) {
739
+ function J(S, R) {
740
740
  return (
741
741
  /*isLoading*/
742
- _[18] ? Gt : It
742
+ S[18] ? jt : Gt
743
743
  );
744
744
  }
745
- let Z = J(a), E = Z(a);
745
+ let Z = J(n), j = Z(n);
746
746
  return {
747
747
  c() {
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(), h = R("span"), d = ye("svg"), m = ye("path"), T = D(), L && L.c(), S = D(), j = R("div"), U = D(), E.c(), p(o, "class", "SearchIcon"), p(s, "class", "SearchInput"), p(s, "type", "search"), p(s, "placeholder", i = /*$_*/
749
- a[21]("placeHolderSearchGames")), p(s, "maxlength", De), 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(d, "width", "11"), p(d, "height", "11"), p(d, "fill", "none"), p(d, "xmlns", "http://www.w3.org/2000/svg"), p(h, "class", y = "SearchClearButton " + /*cancelbutton*/
750
- (a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
751
- (a[14].length != 0 ? "" : "NotVisible")), p(r, "class", g = "Search " + /*searchCancelled*/
752
- (a[16] ? "" : "SearchAnimation")), p(t, "class", "SearchWrap"), p(j, "class", N = /*cancelbutton*/
753
- a[10] != "true" ? "OverlayCancel" : ""), p(e, "class", (ie(
748
+ e = y("div"), t = y("div"), r = y("div"), o = y("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>', c = D(), s = y("input"), i = D(), h = y("span"), d = ke("svg"), g = ke("path"), L = D(), F && F.c(), G = D(), m = y("div"), M = D(), j.c(), p(o, "class", "SearchIcon"), p(s, "class", "SearchInput"), p(s, "type", "search"), p(s, "placeholder", l = /*$_*/
749
+ n[21]("placeHolderSearchGames")), p(s, "maxlength", De), p(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), p(g, "stroke", "#717171"), p(g, "stroke-width", "2"), p(g, "stroke-linecap", "round"), p(g, "stroke-linejoin", "round"), p(d, "width", "11"), p(d, "height", "11"), p(d, "fill", "none"), p(d, "xmlns", "http://www.w3.org/2000/svg"), p(h, "class", v = "SearchClearButton " + /*cancelbutton*/
750
+ (n[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
751
+ (n[14].length != 0 ? "" : "NotVisible")), p(r, "class", z = "Search " + /*searchCancelled*/
752
+ (n[16] ? "" : "SearchAnimation")), p(t, "class", "SearchWrap"), p(m, "class", N = /*cancelbutton*/
753
+ n[10] != "true" ? "OverlayCancel" : ""), p(e, "class", (ie(
754
754
  /*userAgent*/
755
- a[22]
755
+ n[22]
756
756
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
757
757
  },
758
- m(_, C) {
759
- G(_, e, C), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), ve(
758
+ m(S, R) {
759
+ I(S, e, R), _(e, t), _(t, r), _(r, o), _(r, c), _(r, s), ve(
760
760
  s,
761
761
  /*searchValue*/
762
- a[14]
763
- ), a[39](s), w(r, c), w(r, h), w(h, d), w(d, m), w(r, T), L && L.m(r, null), w(e, S), w(e, j), w(e, U), E.m(e, null), a[42](e), V || (q = [
762
+ n[14]
763
+ ), n[39](s), _(r, i), _(r, h), _(h, d), _(d, g), _(r, L), F && F.m(r, null), _(e, G), _(e, m), _(e, M), j.m(e, null), n[42](e), V || (H = [
764
764
  K(
765
765
  s,
766
766
  "input",
767
767
  /*input_input_handler*/
768
- a[38]
768
+ n[38]
769
769
  ),
770
770
  K(
771
771
  s,
772
772
  "focus",
773
773
  /*onFocus*/
774
- a[24]
774
+ n[24]
775
775
  ),
776
776
  K(
777
777
  s,
778
778
  "input",
779
779
  /*handleSearchInput*/
780
- a[29]
780
+ n[29]
781
781
  ),
782
782
  K(
783
783
  h,
784
784
  "click",
785
785
  /*click_handler*/
786
- a[40]
786
+ n[40]
787
787
  ),
788
788
  K(
789
- j,
789
+ m,
790
790
  "click",
791
791
  /*handleOverlay*/
792
- a[25]
792
+ n[25]
793
793
  )
794
794
  ], V = !0);
795
795
  },
796
- p(_, C) {
797
- C[0] & /*$_*/
798
- 2097152 && i !== (i = /*$_*/
799
- _[21]("placeHolderSearchGames")) && p(s, "placeholder", i), C[0] & /*searchValue*/
796
+ p(S, R) {
797
+ R[0] & /*$_*/
798
+ 2097152 && l !== (l = /*$_*/
799
+ S[21]("placeHolderSearchGames")) && p(s, "placeholder", l), R[0] & /*searchValue*/
800
800
  16384 && s.value !== /*searchValue*/
801
- _[14] && ve(
801
+ S[14] && ve(
802
802
  s,
803
803
  /*searchValue*/
804
- _[14]
805
- ), C[0] & /*cancelbutton, searchValue*/
806
- 17408 && y !== (y = "SearchClearButton " + /*cancelbutton*/
807
- (_[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
808
- (_[14].length != 0 ? "" : "NotVisible")) && p(h, "class", y), /*cancelbutton*/
809
- _[10] === "true" ? L ? L.p(_, C) : (L = Le(_), 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*/
804
+ S[14]
805
+ ), R[0] & /*cancelbutton, searchValue*/
806
+ 17408 && v !== (v = "SearchClearButton " + /*cancelbutton*/
807
+ (S[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
808
+ (S[14].length != 0 ? "" : "NotVisible")) && p(h, "class", v), /*cancelbutton*/
809
+ S[10] === "true" ? F ? F.p(S, R) : (F = Le(S), F.c(), F.m(r, null)) : F && (F.d(1), F = null), R[0] & /*searchCancelled*/
810
+ 65536 && z !== (z = "Search " + /*searchCancelled*/
811
+ (S[16] ? "" : "SearchAnimation")) && p(r, "class", z), R[0] & /*cancelbutton*/
812
812
  1024 && N !== (N = /*cancelbutton*/
813
- _[10] != "true" ? "OverlayCancel" : "") && p(j, "class", N), Z === (Z = J(_)) && E ? E.p(_, C) : (E.d(1), E = Z(_), E && (E.c(), E.m(e, null)));
813
+ S[10] != "true" ? "OverlayCancel" : "") && p(m, "class", N), Z === (Z = J(S)) && j ? j.p(S, R) : (j.d(1), j = Z(S), j && (j.c(), j.m(e, null)));
814
814
  },
815
815
  i: be,
816
816
  o: be,
817
- d(_) {
818
- _ && I(e), a[39](null), L && L.d(), E.d(), a[42](null), V = !1, dt(q);
817
+ d(S) {
818
+ S && T(e), n[39](null), F && F.d(), j.d(), n[42](null), V = !1, dt(H);
819
819
  }
820
820
  };
821
821
  }
822
822
  let De = 50;
823
- function Nt(a, e, t) {
823
+ function Pt(n, e, t) {
824
824
  let r;
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: h } = e, { clientstyling: d = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: y = "false" } = e, { integratedgameframemobile: T = "false" } = e, { showgamename: g = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: j = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: U = "true" } = e, { notfoundicon: V = "false" } = e, { controlchannel: q = "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 E = window.navigator.userAgent, _ = [], C = [], ne = {}, M = "", H, $ = !0, A = !1, P = !1, B, Me, ee = !1, te, ae, ce = [];
829
- const re = (n) => {
830
- Object.keys(n).forEach((f) => {
831
- Rt(f, n[f]);
825
+ gt(n, vt, (a) => t(21, r = a));
826
+ let { endpoint: o = "" } = e, { datasource: c = "" } = e, { session: s = "" } = e, { userid: l = "" } = e, { lang: i = "en" } = e, { mbsource: h } = e, { clientstyling: d = "" } = e, { clientstylingurl: g = "" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: L = "false" } = e, { showgamename: z = "" } = e, { gamepagemodalurl: G = "true" } = e, { translationurl: m = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: V = "false" } = e, { controlchannel: H = "casino-search" } = e, { allowedorigins: F = window.location.origin } = e, { requiredicon: J = "false" } = e;
827
+ const Z = () => (F || "").split(",").map((a) => a.trim()).filter(Boolean);
828
+ let j = window.navigator.userAgent, S = [], R = [], ne = {}, A = "", O, $ = !0, B = !1, P = !1, q, Me, ee = !1, te, ae, ce = [];
829
+ const re = (a) => {
830
+ Object.keys(a).forEach((f) => {
831
+ Ct(f, a[f]);
832
832
  });
833
833
  }, Ae = () => {
834
- fetch(j).then((f) => f.json()).then((f) => {
834
+ fetch(m).then((f) => f.json()).then((f) => {
835
835
  re(f);
836
836
  }).catch((f) => {
837
837
  console.log(f);
838
838
  });
839
839
  };
840
- re(Ft);
841
- const ue = (n) => {
840
+ re(Lt);
841
+ const ue = (a) => {
842
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();
843
+ a.data && a.data.type == "SearchedItemClicked" && Ze(a.data.gameId), a.data.type == "UserSessionID" && (t(19, te = a.data.session), t(20, ae = a.data.userid), t(37, ee = !0)), a.data.type == "CategoryChange" && X();
844
844
  try {
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 !== q)
845
+ const w = a.origin === window.location.origin, b = Z();
846
+ if (!(w || b.length > 0 && b.includes(a.origin)) || !a.data || a.data.channel !== H)
847
847
  return;
848
- switch (n.data.type) {
848
+ switch (a.data.type) {
849
849
  case "OpenSearch":
850
850
  se();
851
851
  break;
@@ -856,66 +856,66 @@ function Nt(a, e, t) {
856
856
  qe();
857
857
  break;
858
858
  case "SetSearchQuery":
859
- He(String((f = n.data.value) != null ? f : ""));
859
+ He(String((f = a.data.value) != null ? f : ""));
860
860
  break;
861
861
  }
862
- } catch (b) {
862
+ } catch (w) {
863
863
  }
864
- }, Be = (n) => J !== "true" ? void 0 : Object.values(n != null ? n : {}).pop(), oe = () => {
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, k = f.length;
864
+ }, Be = (a) => J !== "true" ? void 0 : Object.values(a != null ? a : {}).pop(), oe = () => {
865
+ if (t(16, $ = !1), t(17, B = !0), o && c && i && A.length < 2) {
866
+ t(13, S = []);
867
+ let a = localStorage.getItem("searchedGamesWds_casino"), f = [];
868
+ a && (f = a.split(","));
869
+ let w = [], b = 0, k = f.length;
870
870
  if (k > 0) {
871
- for (v = 0; v < k; 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", ie(E)), b.push(We(z, f[v]));
871
+ for (b = 0; b < k; b++) {
872
+ let E = new URL(`${o}/v1/casino/games/${f[b]}`);
873
+ E.searchParams.append("language", i), E.searchParams.append("datasource", c), E.searchParams.append("platform", ie(j)), w.push(xe(E, f[b]));
874
874
  }
875
- Promise.all(b).then((z) => {
876
- z = z.filter(function(O) {
877
- return !!O;
878
- }), t(13, _ = z.map((O) => (O.isFavorite = de(O.id), O))), _.length ? Q("searchSuccess", "SearchWidget") : Q("searchFail", "SearchWidget");
879
- }).catch((z) => {
875
+ Promise.all(w).then((E) => {
876
+ E = E.filter(function(W) {
877
+ return !!W;
878
+ }), t(13, S = E.map((W) => (W.isFavorite = de(W.id), W))), S.length ? Q("searchSuccess", "SearchWidget") : Q("searchFail", "SearchWidget");
879
+ }).catch((E) => {
880
880
  Q("searchError", "SearchWidget");
881
881
  });
882
882
  }
883
883
  }
884
- me(A), Q("searchAttempt", "SearchWidget"), Q("SearchInitialized", "SearchWidget");
884
+ me(B), Q("searchAttempt", "SearchWidget"), Q("SearchInitialized", "SearchWidget");
885
885
  };
886
886
  function se() {
887
- A || (oe(), requestAnimationFrame(() => H == null ? void 0 : H.focus()), Y({ type: "SearchOpen" }));
887
+ B || (oe(), requestAnimationFrame(() => O == null ? void 0 : O.focus()), Y({ type: "SearchOpen" }));
888
888
  }
889
889
  function he() {
890
- A && (X(), Y({ type: "SearchClose" }));
890
+ B && (X(), Y({ type: "SearchClose" }));
891
891
  }
892
892
  function qe() {
893
- A ? he() : se();
893
+ B ? he() : se();
894
894
  }
895
- function He(n) {
896
- t(14, M = (n != null ? n : "").slice(0, De)), A || se(), fe();
895
+ function He(a) {
896
+ t(14, A = (a != null ? a : "").slice(0, De)), B || se(), fe();
897
897
  }
898
- const Q = (n, f) => {
899
- typeof gtag == "function" && gtag("event", n, { context: f });
898
+ const Q = (a, f) => {
899
+ typeof gtag == "function" && gtag("event", a, { context: f });
900
900
  }, Oe = () => {
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);
905
- }).catch((v) => {
906
- t(18, P = !1), console.error(v);
901
+ M != "true" && X();
902
+ }, We = (a) => new Promise((f, w) => {
903
+ t(18, P = !0), fetch(a.href).then((b) => b.json()).then((b) => {
904
+ t(18, P = !1), f(b);
905
+ }).catch((b) => {
906
+ t(18, P = !1), console.error(b);
907
907
  try {
908
908
  Y({
909
909
  type: "SearchError",
910
- message: String(v)
910
+ message: String(b)
911
911
  });
912
912
  } catch (k) {
913
913
  }
914
- b(v);
914
+ w(b);
915
915
  });
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((k) => k.json()).then((k) => {
918
- t(18, P = !1), k.error || (ne[k[0].gameId] = k[0]), b(k[0]);
916
+ }), xe = (a, f) => new Promise((w, b) => {
917
+ t(18, P = !0), f && Object.keys(ne).indexOf(f) >= 0 ? (t(18, P = !1), w(ne[f])) : fetch(a).then((k) => k.json()).then((k) => {
918
+ t(18, P = !1), k.error || (ne[k[0].gameId] = k[0]), w(k[0]);
919
919
  }).catch((k) => {
920
920
  t(18, P = !1), console.error(k);
921
921
  try {
@@ -923,131 +923,131 @@ function Nt(a, e, t) {
923
923
  type: "SearchError",
924
924
  message: String(k)
925
925
  });
926
- } catch (z) {
926
+ } catch (E) {
927
927
  }
928
- v(k);
928
+ b(k);
929
929
  });
930
930
  }), Ue = () => {
931
- const n = new URL(`${o}/v1/player/${ae}/favorites/`);
931
+ const a = new URL(`${o}/v1/player/${ae}/favorites/`);
932
932
  t(18, P = !0);
933
933
  let f = {
934
934
  method: "GET",
935
935
  headers: { "X-SessionID": te }
936
936
  };
937
- fetch(n.href, f).then((b) => b.json()).then((b) => {
938
- t(18, P = !1), ce = b.items.map((v) => v.id);
937
+ fetch(a.href, f).then((w) => w.json()).then((w) => {
938
+ t(18, P = !1), ce = w.items.map((b) => b.id);
939
939
  });
940
940
  }, Ve = () => {
941
- t(37, ee = !0), t(19, te = s), t(20, ae = i);
942
- }, de = (n) => ce.findIndex((f) => f == n) !== -1, Je = (n) => {
943
- if ((n == null ? void 0 : n.length) === 0)
941
+ t(37, ee = !0), t(19, te = s), t(20, ae = l);
942
+ }, de = (a) => ce.findIndex((f) => f == a) !== -1, Je = (a) => {
943
+ if ((a == null ? void 0 : a.length) === 0)
944
944
  return "";
945
- let f, b = 99999999999, v;
945
+ let f, w = 99999999999, b;
946
946
  const k = new Date(Date.now());
947
- return n.forEach((z, O) => {
948
- const at = new Date(z.schedules[0].startTime), le = new Date(z.schedules[0].endTime);
949
- Ce(new Date(le), new Date(k)) < b && (b = Ce(new Date(le), new Date(k)), v = O), yt(new Date(k), new Date(at)) && kt(new Date(k), new Date(le)) && (f = n[v].name);
947
+ return a.forEach((E, W) => {
948
+ const at = new Date(E.schedules[0].startTime), le = new Date(E.schedules[0].endTime);
949
+ Ce(new Date(le), new Date(k)) < w && (w = Ce(new Date(le), new Date(k)), b = W), yt(new Date(k), new Date(at)) && Rt(new Date(k), new Date(le)) && (f = a[b].name);
950
950
  }), f;
951
- }, Ze = (n) => {
952
- if (C = localStorage.getItem("searchedGamesWds_casino"), C ? C = C.split(",") : C = [], C.indexOf(n) === -1) {
951
+ }, Ze = (a) => {
952
+ if (R = localStorage.getItem("searchedGamesWds_casino"), R ? R = R.split(",") : R = [], R.indexOf(a) === -1) {
953
953
  let f;
954
- C.unshift(n), f = C.join(","), localStorage.setItem("searchedGamesWds_casino", f);
954
+ R.unshift(a), f = R.join(","), localStorage.setItem("searchedGamesWds_casino", f);
955
955
  }
956
956
  }, X = () => {
957
- t(14, M = ""), t(16, $ = !0), t(18, P = !1), t(13, _ = []), t(17, A = !1), me(A);
957
+ t(14, A = ""), t(16, $ = !0), t(18, P = !1), t(13, S = []), t(17, B = !1), me(B);
958
958
  }, ge = () => {
959
- t(14, M = ""), H.focus();
960
- }, me = (n) => {
959
+ t(14, A = ""), O.focus();
960
+ }, me = (a) => {
961
961
  window.postMessage(
962
962
  {
963
- type: n === !0 ? "searchActive" : "searchCancelled",
964
- searchStatus: n
963
+ type: a === !0 ? "searchActive" : "searchCancelled",
964
+ searchStatus: a
965
965
  },
966
966
  window.location.href
967
967
  ), Y({
968
- type: n ? "SearchOpen" : "SearchClose"
968
+ type: a ? "SearchOpen" : "SearchClose"
969
969
  });
970
970
  };
971
- function Y(n) {
971
+ function Y(a) {
972
972
  try {
973
- const f = _e({ channel: q }, n);
973
+ const f = _e({ channel: H }, a);
974
974
  window.postMessage(f, window.location.href);
975
975
  } catch (f) {
976
976
  }
977
977
  }
978
978
  const Ye = () => {
979
- Ct(c);
979
+ Ft(i);
980
980
  }, fe = () => we(this, null, function* () {
981
- if (M.length >= 2) {
982
- const n = new URL(`${o}/v1/casino/games`);
983
- n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", ie(E)), 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 = de(b.id), b)));
981
+ if (A.length >= 2) {
982
+ const a = new URL(`${o}/v1/casino/games`);
983
+ a.searchParams.append("datasource", c), a.searchParams.append("expand", "vendor"), a.searchParams.append("platform", ie(j)), a.searchParams.append("language", i), a.searchParams.append("pagination", "offset=0,limit=30"), a.searchParams.append("filter", `name=${A}`), We(a).then((f) => {
984
+ t(13, S = f.items.map((w) => (w.isFavorite = de(w.id), w)));
985
985
  try {
986
986
  Y({
987
987
  type: "SearchResults",
988
- count: _.length
988
+ count: S.length
989
989
  });
990
- } catch (b) {
990
+ } catch (w) {
991
991
  }
992
992
  });
993
993
  } else
994
994
  $ || oe();
995
- }), Ke = Lt(fe, 500);
995
+ }), Ke = Tt(fe, 500);
996
996
  mt(() => (window.addEventListener("message", ue, !1), () => {
997
997
  window.removeEventListener("message", ue);
998
998
  }));
999
999
  function Qe() {
1000
- M = this.value, t(14, M);
1000
+ A = this.value, t(14, A);
1001
1001
  }
1002
- function Xe(n) {
1003
- ke[n ? "unshift" : "push"](() => {
1004
- H = n, t(15, H);
1002
+ function Xe(a) {
1003
+ ye[a ? "unshift" : "push"](() => {
1004
+ O = a, t(15, O);
1005
1005
  });
1006
1006
  }
1007
1007
  const $e = () => ge(), et = () => X();
1008
- function tt(n) {
1009
- ke[n ? "unshift" : "push"](() => {
1010
- B = n, t(12, B);
1008
+ function tt(a) {
1009
+ ye[a ? "unshift" : "push"](() => {
1010
+ q = a, t(12, q);
1011
1011
  });
1012
1012
  }
1013
- return a.$$set = (n) => {
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, h = n.mbsource), "clientstyling" in n && t(3, d = n.clientstyling), "clientstylingurl" in n && t(4, m = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, y = 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, j = 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, q = n.controlchannel), "allowedorigins" in n && t(35, L = n.allowedorigins), "requiredicon" in n && t(36, J = n.requiredicon);
1015
- }, a.$$.update = () => {
1016
- a.$$.dirty[0] & /*lang*/
1017
- 2 && c && Ye(), a.$$.dirty[1] & /*translationurl*/
1018
- 4 && j && Ae(), a.$$.dirty[1] & /*session, userid*/
1019
- 3 && s && i && Ve(), a.$$.dirty[0] & /*showfavorites*/
1020
- 512 | a.$$.dirty[1] & /*isLoggedIn*/
1021
- 64 && N && ee && Ue(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1022
- 4104 && d && B && pt(B, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1023
- 4112 && m && B && St(B, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
1024
- 4100 && h && B && _t(B, `${h}.Style`), a.$$.dirty[0] & /*mbsource*/
1025
- 4 | a.$$.dirty[1] & /*translationurl*/
1026
- 4 && h && !j && vt(`${h}.Translation`, Me, re);
1013
+ return n.$$set = (a) => {
1014
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(30, c = a.datasource), "session" in a && t(31, s = a.session), "userid" in a && t(32, l = a.userid), "lang" in a && t(1, i = a.lang), "mbsource" in a && t(2, h = a.mbsource), "clientstyling" in a && t(3, d = a.clientstyling), "clientstylingurl" in a && t(4, g = a.clientstylingurl), "integratedgameframedesktop" in a && t(5, v = a.integratedgameframedesktop), "integratedgameframemobile" in a && t(6, L = a.integratedgameframemobile), "showgamename" in a && t(7, z = a.showgamename), "gamepagemodalurl" in a && t(8, G = a.gamepagemodalurl), "translationurl" in a && t(33, m = a.translationurl), "showfavorites" in a && t(9, N = a.showfavorites), "cancelbutton" in a && t(10, M = a.cancelbutton), "notfoundicon" in a && t(11, V = a.notfoundicon), "controlchannel" in a && t(34, H = a.controlchannel), "allowedorigins" in a && t(35, F = a.allowedorigins), "requiredicon" in a && t(36, J = a.requiredicon);
1015
+ }, n.$$.update = () => {
1016
+ n.$$.dirty[0] & /*lang*/
1017
+ 2 && i && Ye(), n.$$.dirty[1] & /*translationurl*/
1018
+ 4 && m && Ae(), n.$$.dirty[1] & /*session, userid*/
1019
+ 3 && s && l && Ve(), n.$$.dirty[0] & /*showfavorites*/
1020
+ 512 | n.$$.dirty[1] & /*isLoggedIn*/
1021
+ 64 && N && ee && Ue(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1022
+ 4104 && d && q && St(q, d), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1023
+ 4112 && g && q && _t(q, g), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1024
+ 4100 && h && q && wt(q, `${h}.Style`), n.$$.dirty[0] & /*mbsource*/
1025
+ 4 | n.$$.dirty[1] & /*translationurl*/
1026
+ 4 && h && !m && kt(`${h}.Translation`, Me, re);
1027
1027
  }, [
1028
1028
  o,
1029
- c,
1029
+ i,
1030
1030
  h,
1031
1031
  d,
1032
- m,
1033
- y,
1034
- T,
1035
1032
  g,
1036
- S,
1033
+ v,
1034
+ L,
1035
+ z,
1036
+ G,
1037
1037
  N,
1038
- U,
1039
- V,
1040
- B,
1041
- _,
1042
1038
  M,
1043
- H,
1044
- $,
1039
+ V,
1040
+ q,
1041
+ S,
1045
1042
  A,
1043
+ O,
1044
+ $,
1045
+ B,
1046
1046
  P,
1047
1047
  te,
1048
1048
  ae,
1049
1049
  r,
1050
- E,
1050
+ j,
1051
1051
  Be,
1052
1052
  oe,
1053
1053
  Oe,
@@ -1055,12 +1055,12 @@ function Nt(a, e, t) {
1055
1055
  X,
1056
1056
  ge,
1057
1057
  Ke,
1058
- l,
1058
+ c,
1059
1059
  s,
1060
- i,
1061
- j,
1062
- q,
1063
- L,
1060
+ l,
1061
+ m,
1062
+ H,
1063
+ F,
1064
1064
  J,
1065
1065
  ee,
1066
1066
  Qe,
@@ -1070,13 +1070,13 @@ function Nt(a, e, t) {
1070
1070
  tt
1071
1071
  ];
1072
1072
  }
1073
- class Pt extends it {
1073
+ class Dt extends it {
1074
1074
  constructor(e) {
1075
1075
  super(), ct(
1076
1076
  this,
1077
1077
  e,
1078
+ Pt,
1078
1079
  Nt,
1079
- zt,
1080
1080
  ut,
1081
1081
  {
1082
1082
  endpoint: 0,
@@ -1099,7 +1099,7 @@ class Pt extends it {
1099
1099
  allowedorigins: 35,
1100
1100
  requiredicon: 36
1101
1101
  },
1102
- Tt,
1102
+ It,
1103
1103
  [-1, -1, -1]
1104
1104
  );
1105
1105
  }
@@ -1107,118 +1107,118 @@ class Pt extends it {
1107
1107
  return this.$$.ctx[0];
1108
1108
  }
1109
1109
  set endpoint(e) {
1110
- this.$$set({ endpoint: e }), F();
1110
+ this.$$set({ endpoint: e }), C();
1111
1111
  }
1112
1112
  get datasource() {
1113
1113
  return this.$$.ctx[30];
1114
1114
  }
1115
1115
  set datasource(e) {
1116
- this.$$set({ datasource: e }), F();
1116
+ this.$$set({ datasource: e }), C();
1117
1117
  }
1118
1118
  get session() {
1119
1119
  return this.$$.ctx[31];
1120
1120
  }
1121
1121
  set session(e) {
1122
- this.$$set({ session: e }), F();
1122
+ this.$$set({ session: e }), C();
1123
1123
  }
1124
1124
  get userid() {
1125
1125
  return this.$$.ctx[32];
1126
1126
  }
1127
1127
  set userid(e) {
1128
- this.$$set({ userid: e }), F();
1128
+ this.$$set({ userid: e }), C();
1129
1129
  }
1130
1130
  get lang() {
1131
1131
  return this.$$.ctx[1];
1132
1132
  }
1133
1133
  set lang(e) {
1134
- this.$$set({ lang: e }), F();
1134
+ this.$$set({ lang: e }), C();
1135
1135
  }
1136
1136
  get mbsource() {
1137
1137
  return this.$$.ctx[2];
1138
1138
  }
1139
1139
  set mbsource(e) {
1140
- this.$$set({ mbsource: e }), F();
1140
+ this.$$set({ mbsource: e }), C();
1141
1141
  }
1142
1142
  get clientstyling() {
1143
1143
  return this.$$.ctx[3];
1144
1144
  }
1145
1145
  set clientstyling(e) {
1146
- this.$$set({ clientstyling: e }), F();
1146
+ this.$$set({ clientstyling: e }), C();
1147
1147
  }
1148
1148
  get clientstylingurl() {
1149
1149
  return this.$$.ctx[4];
1150
1150
  }
1151
1151
  set clientstylingurl(e) {
1152
- this.$$set({ clientstylingurl: e }), F();
1152
+ this.$$set({ clientstylingurl: e }), C();
1153
1153
  }
1154
1154
  get integratedgameframedesktop() {
1155
1155
  return this.$$.ctx[5];
1156
1156
  }
1157
1157
  set integratedgameframedesktop(e) {
1158
- this.$$set({ integratedgameframedesktop: e }), F();
1158
+ this.$$set({ integratedgameframedesktop: e }), C();
1159
1159
  }
1160
1160
  get integratedgameframemobile() {
1161
1161
  return this.$$.ctx[6];
1162
1162
  }
1163
1163
  set integratedgameframemobile(e) {
1164
- this.$$set({ integratedgameframemobile: e }), F();
1164
+ this.$$set({ integratedgameframemobile: e }), C();
1165
1165
  }
1166
1166
  get showgamename() {
1167
1167
  return this.$$.ctx[7];
1168
1168
  }
1169
1169
  set showgamename(e) {
1170
- this.$$set({ showgamename: e }), F();
1170
+ this.$$set({ showgamename: e }), C();
1171
1171
  }
1172
1172
  get gamepagemodalurl() {
1173
1173
  return this.$$.ctx[8];
1174
1174
  }
1175
1175
  set gamepagemodalurl(e) {
1176
- this.$$set({ gamepagemodalurl: e }), F();
1176
+ this.$$set({ gamepagemodalurl: e }), C();
1177
1177
  }
1178
1178
  get translationurl() {
1179
1179
  return this.$$.ctx[33];
1180
1180
  }
1181
1181
  set translationurl(e) {
1182
- this.$$set({ translationurl: e }), F();
1182
+ this.$$set({ translationurl: e }), C();
1183
1183
  }
1184
1184
  get showfavorites() {
1185
1185
  return this.$$.ctx[9];
1186
1186
  }
1187
1187
  set showfavorites(e) {
1188
- this.$$set({ showfavorites: e }), F();
1188
+ this.$$set({ showfavorites: e }), C();
1189
1189
  }
1190
1190
  get cancelbutton() {
1191
1191
  return this.$$.ctx[10];
1192
1192
  }
1193
1193
  set cancelbutton(e) {
1194
- this.$$set({ cancelbutton: e }), F();
1194
+ this.$$set({ cancelbutton: e }), C();
1195
1195
  }
1196
1196
  get notfoundicon() {
1197
1197
  return this.$$.ctx[11];
1198
1198
  }
1199
1199
  set notfoundicon(e) {
1200
- this.$$set({ notfoundicon: e }), F();
1200
+ this.$$set({ notfoundicon: e }), C();
1201
1201
  }
1202
1202
  get controlchannel() {
1203
1203
  return this.$$.ctx[34];
1204
1204
  }
1205
1205
  set controlchannel(e) {
1206
- this.$$set({ controlchannel: e }), F();
1206
+ this.$$set({ controlchannel: e }), C();
1207
1207
  }
1208
1208
  get allowedorigins() {
1209
1209
  return this.$$.ctx[35];
1210
1210
  }
1211
1211
  set allowedorigins(e) {
1212
- this.$$set({ allowedorigins: e }), F();
1212
+ this.$$set({ allowedorigins: e }), C();
1213
1213
  }
1214
1214
  get requiredicon() {
1215
1215
  return this.$$.ctx[36];
1216
1216
  }
1217
1217
  set requiredicon(e) {
1218
- this.$$set({ requiredicon: e }), F();
1218
+ this.$$set({ requiredicon: e }), C();
1219
1219
  }
1220
1220
  }
1221
- wt(Pt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {} }, [], [], !0);
1221
+ bt(Dt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {} }, [], [], !0);
1222
1222
  export {
1223
- Pt as default
1223
+ Dt as default
1224
1224
  };