@everymatrix/casino-search-nd 1.56.0 → 1.56.2

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,4 +1,4 @@
1
- import { a as Be, $ as He, S as qe, i as We, f as L, s as Oe, c as Ue, b as Ve, n as ie, d as T, r as Je, e as f, g as ce, h as j, j as S, l as Z, k as y, m as N, o as ue, p as te, q as Ze, t as Ye, u as H, v as q, w as $, x as he, y as de, z as Ke, A as Re, B as u, C as Xe, D as Qe, E as $e, F as et } from "./CasinoGameThumbnailNd-CThGcn7u.js";
1
+ import { a as Be, $ as He, S as qe, i as We, f as L, c as Oe, s as Ue, b as Ve, e as y, d as N, g as ie, h as f, j as te, k as T, l as S, m as ce, n as Z, o as ue, p as j, r as Je, q as Ze, t as Ye, u as Ke, v as Xe, w as H, x as q, y as $, z as he, A as Qe, B as de, C as Re, D as $e, E as u, F as et } from "./CasinoGameThumbnailNd-DzqDlHmE.js";
2
2
  function me(a, e) {
3
3
  Be(a, e);
4
4
  }
@@ -200,7 +200,7 @@ if (typeof window != "undefined") {
200
200
  }
201
201
  };
202
202
  };
203
- customElements.define = a(customElements.define), import("./CasinoGameThumbnailNd-CThGcn7u.js").then((e) => e.G).then(({ default: e }) => {
203
+ customElements.define = a(customElements.define), import("./CasinoGameThumbnailNd-DzqDlHmE.js").then((e) => e.G).then(({ default: e }) => {
204
204
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
205
205
  });
206
206
  }
@@ -218,11 +218,11 @@ function pe(a) {
218
218
  ), n, r, l, s;
219
219
  return {
220
220
  c() {
221
- e = y("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
221
+ e = y("small"), n = H(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
222
222
  (a[13] ? "NotVisible" : ""));
223
223
  },
224
224
  m(i, c) {
225
- j(i, e, c), S(e, n), l || (s = Z(
225
+ T(i, e, c), S(e, n), l || (s = Z(
226
226
  e,
227
227
  "click",
228
228
  /*click_handler_1*/
@@ -232,12 +232,12 @@ function pe(a) {
232
232
  p(i, c) {
233
233
  c[0] & /*$_*/
234
234
  2097152 && t !== (t = /*$_*/
235
- i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
235
+ i[21]("cancel") + "") && q(n, t), c[0] & /*searchCancelled*/
236
236
  8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
237
237
  (i[13] ? "NotVisible" : "")) && f(e, "class", r);
238
238
  },
239
239
  d(i) {
240
- i && T(e), l = !1, s();
240
+ i && j(e), l = !1, s();
241
241
  }
242
242
  };
243
243
  }
@@ -248,11 +248,13 @@ function nt(a) {
248
248
  /*searchActive*/
249
249
  h[17] == !0 && /*searchValue*/
250
250
  h[12].length < 2
251
- ) return st;
251
+ )
252
+ return st;
252
253
  if (
253
254
  /*searchArray*/
254
255
  h[15].length != 0
255
- ) return ot;
256
+ )
257
+ return ot;
256
258
  }
257
259
  let s = l(a), i = s && s(a), c = (
258
260
  /*searchCancelled*/
@@ -268,7 +270,7 @@ function nt(a) {
268
270
  (a[17] == !0 ? "" : "NotVisible"));
269
271
  },
270
272
  m(h, m) {
271
- i && i.m(h, m), j(h, e, m), j(h, t, m), c && c.m(t, null), S(t, n), g && g.m(t, null);
273
+ i && i.m(h, m), T(h, e, m), T(h, t, m), c && c.m(t, null), S(t, n), g && g.m(t, null);
272
274
  },
273
275
  p(h, m) {
274
276
  s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
@@ -279,7 +281,7 @@ function nt(a) {
279
281
  (h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
280
282
  },
281
283
  d(h) {
282
- h && (T(e), T(t)), i && i.d(h), c && c.d(), g && g.d();
284
+ h && (j(e), j(t)), i && i.d(h), c && c.d(), g && g.d();
283
285
  }
284
286
  };
285
287
  }
@@ -290,18 +292,18 @@ function rt(a) {
290
292
  ), n;
291
293
  return {
292
294
  c() {
293
- e = y("p"), n = q(t), f(e, "class", "LoadingContent");
295
+ e = y("p"), n = H(t), f(e, "class", "LoadingContent");
294
296
  },
295
297
  m(r, l) {
296
- j(r, e, l), S(e, n);
298
+ T(r, e, l), S(e, n);
297
299
  },
298
300
  p(r, l) {
299
301
  l[0] & /*$_*/
300
302
  2097152 && t !== (t = /*$_*/
301
- r[21]("loading") + "") && H(n, t);
303
+ r[21]("loading") + "") && q(n, t);
302
304
  },
303
305
  d(r) {
304
- r && T(e);
306
+ r && j(e);
305
307
  }
306
308
  };
307
309
  }
@@ -312,18 +314,18 @@ function ot(a) {
312
314
  ), n;
313
315
  return {
314
316
  c() {
315
- e = y("p"), n = q(t), f(e, "class", "SearchMessage");
317
+ e = y("p"), n = H(t), f(e, "class", "SearchMessage");
316
318
  },
317
319
  m(r, l) {
318
- j(r, e, l), S(e, n);
320
+ T(r, e, l), S(e, n);
319
321
  },
320
322
  p(r, l) {
321
323
  l[0] & /*$_*/
322
324
  2097152 && t !== (t = /*$_*/
323
- r[21]("searchResult") + "") && H(n, t);
325
+ r[21]("searchResult") + "") && q(n, t);
324
326
  },
325
327
  d(r) {
326
- r && T(e);
328
+ r && j(e);
327
329
  }
328
330
  };
329
331
  }
@@ -340,7 +342,7 @@ function st(a) {
340
342
  n && n.c(), e = N(), r && r.c(), t = Re();
341
343
  },
342
344
  m(l, s) {
343
- n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
345
+ n && n.m(l, s), T(l, e, s), r && r.m(l, s), T(l, t, s);
344
346
  },
345
347
  p(l, s) {
346
348
  /*searchArray*/
@@ -348,7 +350,7 @@ function st(a) {
348
350
  l[15].length == 0 ? r ? r.p(l, s) : (r = Se(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
349
351
  },
350
352
  d(l) {
351
- l && (T(e), T(t)), n && n.d(l), r && r.d(l);
353
+ l && (j(e), j(t)), n && n.d(l), r && r.d(l);
352
354
  }
353
355
  };
354
356
  }
@@ -359,18 +361,18 @@ function _e(a) {
359
361
  ), n;
360
362
  return {
361
363
  c() {
362
- e = y("p"), n = q(t), f(e, "class", "SearchMessage");
364
+ e = y("p"), n = H(t), f(e, "class", "SearchMessage");
363
365
  },
364
366
  m(r, l) {
365
- j(r, e, l), S(e, n);
367
+ T(r, e, l), S(e, n);
366
368
  },
367
369
  p(r, l) {
368
370
  l[0] & /*$_*/
369
371
  2097152 && t !== (t = /*$_*/
370
- r[21]("recentSearch") + "") && H(n, t);
372
+ r[21]("recentSearch") + "") && q(n, t);
371
373
  },
372
374
  d(r) {
373
- r && T(e);
375
+ r && j(e);
374
376
  }
375
377
  };
376
378
  }
@@ -384,22 +386,22 @@ function Se(a) {
384
386
  );
385
387
  return {
386
388
  c() {
387
- e = y("div"), i && i.c(), t = N(), n = y("p"), l = q(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
389
+ e = y("div"), i && i.c(), t = N(), n = y("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
388
390
  (a[11] == "true" ? "WithIcon" : ""));
389
391
  },
390
392
  m(c, g) {
391
- j(c, e, g), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
393
+ T(c, e, g), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
392
394
  },
393
395
  p(c, g) {
394
396
  /*notfoundicon*/
395
397
  c[11] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), g[0] & /*$_*/
396
398
  2097152 && r !== (r = /*$_*/
397
- c[21]("noRecentSearches") + "") && H(l, r), g[0] & /*notfoundicon*/
399
+ c[21]("noRecentSearches") + "") && q(l, r), g[0] & /*notfoundicon*/
398
400
  2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
399
401
  (c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
400
402
  },
401
403
  d(c) {
402
- c && T(e), i && i.d();
404
+ c && j(e), i && i.d();
403
405
  }
404
406
  };
405
407
  }
@@ -410,10 +412,10 @@ function be(a) {
410
412
  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>', f(e, "class", "SearchErrorIcon");
411
413
  },
412
414
  m(t, n) {
413
- j(t, e, n);
415
+ T(t, e, n);
414
416
  },
415
417
  d(t) {
416
- t && T(e);
418
+ t && j(e);
417
419
  }
418
420
  };
419
421
  }
@@ -433,7 +435,7 @@ function we(a) {
433
435
  m(r, l) {
434
436
  for (let s = 0; s < n.length; s += 1)
435
437
  n[s] && n[s].m(r, l);
436
- j(r, e, l);
438
+ T(r, e, l);
437
439
  },
438
440
  p(r, l) {
439
441
  if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
@@ -453,7 +455,7 @@ function we(a) {
453
455
  }
454
456
  },
455
457
  d(r) {
456
- r && T(e), Ke(n, r);
458
+ r && j(e), $e(n, r);
457
459
  }
458
460
  };
459
461
  }
@@ -543,7 +545,7 @@ function ve(a) {
543
545
  );
544
546
  },
545
547
  m(d, p) {
546
- j(d, e, p);
548
+ T(d, e, p);
547
549
  },
548
550
  p(d, p) {
549
551
  var D;
@@ -651,7 +653,7 @@ function ve(a) {
651
653
  );
652
654
  },
653
655
  d(d) {
654
- d && T(e);
656
+ d && j(e);
655
657
  }
656
658
  };
657
659
  }
@@ -668,24 +670,24 @@ function ke(a) {
668
670
  );
669
671
  return {
670
672
  c() {
671
- e = y("div"), m && m.c(), t = N(), n = y("p"), l = q(r), s = N(), i = y("p"), g = q(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
673
+ e = y("div"), m && m.c(), t = N(), n = y("p"), l = H(r), s = N(), i = y("p"), g = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
672
674
  (a[11] == "true" ? "WithIcon" : ""));
673
675
  },
674
676
  m(w, d) {
675
- j(w, e, d), m && m.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, g);
677
+ T(w, e, d), m && m.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, g);
676
678
  },
677
679
  p(w, d) {
678
680
  /*notfoundicon*/
679
681
  w[11] === "true" ? m || (m = ye(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), d[0] & /*$_*/
680
682
  2097152 && r !== (r = /*$_*/
681
- w[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
683
+ w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
682
684
  2097152 && c !== (c = /*$_*/
683
- w[21]("notFoundText") + "") && H(g, c), d[0] & /*notfoundicon*/
685
+ w[21]("notFoundText") + "") && q(g, c), d[0] & /*notfoundicon*/
684
686
  2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
685
687
  (w[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
686
688
  },
687
689
  d(w) {
688
- w && T(e), m && m.d();
690
+ w && j(e), m && m.d();
689
691
  }
690
692
  };
691
693
  }
@@ -696,10 +698,10 @@ function ye(a) {
696
698
  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>', f(e, "class", "SearchErrorIcon");
697
699
  },
698
700
  m(t, n) {
699
- j(t, e, n);
701
+ T(t, e, n);
700
702
  },
701
703
  d(t) {
702
- t && T(e);
704
+ t && j(e);
703
705
  }
704
706
  };
705
707
  }
@@ -717,7 +719,7 @@ function lt(a) {
717
719
  let M = I(a), R = M(a);
718
720
  return {
719
721
  c() {
720
- e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.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 = N(), s = y("input"), c = N(), g = y("span"), h = ue("svg"), m = ue("path"), d = N(), v && v.c(), D = N(), x = y("div"), W = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
722
+ e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.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 = N(), s = y("input"), c = N(), g = y("span"), h = ie("svg"), m = ie("path"), d = N(), v && v.c(), D = N(), x = y("div"), W = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
721
723
  a[21]("placeHolderSearchGames")), f(s, "maxlength", it), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(g, "class", w = "SearchClearButton " + /*cancelbutton*/
722
724
  (a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
723
725
  (a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
@@ -728,7 +730,7 @@ function lt(a) {
728
730
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
729
731
  },
730
732
  m(b, E) {
731
- j(b, e, E), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ce(
733
+ T(b, e, E), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ce(
732
734
  s,
733
735
  /*searchValue*/
734
736
  a[12]
@@ -778,17 +780,17 @@ function lt(a) {
778
780
  1024 && A !== (A = /*cancelbutton*/
779
781
  b[10] != "true" ? "OverlayCancel" : "") && f(x, "class", A), M === (M = I(b)) && R ? R.p(b, E) : (R.d(1), R = M(b), R && (R.c(), R.m(e, null)));
780
782
  },
781
- i: ie,
782
- o: ie,
783
+ i: ue,
784
+ o: ue,
783
785
  d(b) {
784
- b && T(e), a[34](null), v && v.d(), R.d(), a[37](null), O = !1, Je(U);
786
+ b && j(e), a[34](null), v && v.d(), R.d(), a[37](null), O = !1, Je(U);
785
787
  }
786
788
  };
787
789
  }
788
790
  let it = 50;
789
791
  function ct(a, e, t) {
790
792
  let n;
791
- Ze(a, Xe, (o) => t(21, n = o));
793
+ Ze(a, et, (o) => t(21, n = o));
792
794
  let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: w = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: D = "true" } = e, { translationurl: x = "" } = e, { showfavorites: A = "" } = e, { cancelbutton: W = "true" } = e, { notfoundicon: O = "false" } = e, U = window.navigator.userAgent, v = [], I = [], M = {}, R = "", b, E = !0, V = !1, z = !1, P, Y = !1, K, X, ae = [];
793
795
  const Ce = () => {
794
796
  fetch(x).then((_) => _.json()).then((_) => {
@@ -854,7 +856,8 @@ function ct(a, e, t) {
854
856
  }, je = () => {
855
857
  t(32, Y = !0), t(19, K = s), t(20, X = i);
856
858
  }, oe = (o) => ae.findIndex((_) => _ == o) !== -1, Ge = (o) => {
857
- if ((o == null ? void 0 : o.length) === 0) return "";
859
+ if ((o == null ? void 0 : o.length) === 0)
860
+ return "";
858
861
  let _, k = 99999999999, C;
859
862
  const F = new Date(Date.now());
860
863
  return o.forEach((G, B) => {
@@ -917,8 +920,8 @@ function ct(a, e, t) {
917
920
  512 | a.$$.dirty[1] & /*isLoggedIn*/
918
921
  2 && A && Y && Te(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
919
922
  16392 && h && P && Qe(P, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
920
- 16400 && m && P && $e(P, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
921
- 16388 && g && P && et(P, `${g}.Style`);
923
+ 16400 && m && P && Ke(P, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
924
+ 16388 && g && P && Xe(P, `${g}.Style`);
922
925
  }, [
923
926
  r,
924
927
  c,
@@ -967,7 +970,7 @@ class ut extends qe {
967
970
  e,
968
971
  ct,
969
972
  lt,
970
- Oe,
973
+ Ue,
971
974
  {
972
975
  endpoint: 0,
973
976
  datasource: 28,
@@ -1087,7 +1090,7 @@ class ut extends qe {
1087
1090
  this.$$set({ notfoundicon: e }), L();
1088
1091
  }
1089
1092
  }
1090
- Ue(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
1093
+ Oe(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
1091
1094
  export {
1092
1095
  ut as default
1093
1096
  };