@everymatrix/casino-search-nd 1.97.5 → 1.98.1

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.
@@ -64,7 +64,7 @@ function Zn(e, t) {
64
64
  function Y(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function W(e) {
67
+ function j(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
70
  function Vs(e, t) {
@@ -179,7 +179,7 @@ class qs {
179
179
  /**
180
180
  * @returns {void} */
181
181
  d() {
182
- this.n.forEach(W);
182
+ this.n.forEach(j);
183
183
  }
184
184
  }
185
185
  function ea(e) {
@@ -337,7 +337,7 @@ function ha(e, t, r, n, a, i, o = null, s = [-1]) {
337
337
  }) : [], l.update(), c = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
338
338
  if (t.hydrate) {
339
339
  const h = Kn(t.target);
340
- l.fragment && l.fragment.l(h), h.forEach(W);
340
+ l.fragment && l.fragment.l(h), h.forEach(j);
341
341
  } else
342
342
  l.fragment && l.fragment.c();
343
343
  t.intro && Vr(e.$$.fragment), ua(e, t.target, t.anchor), L();
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (Yr = class extends HTMLElement {
397
397
  Y(u, i, l);
398
398
  },
399
399
  d: function(u) {
400
- u && W(i);
400
+ u && j(i);
401
401
  }
402
402
  };
403
403
  };
@@ -3247,14 +3247,14 @@ var lt = (
3247
3247
  }
3248
3248
  return t;
3249
3249
  }(lt)
3250
- ), q;
3250
+ ), z;
3251
3251
  (function(e) {
3252
3252
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3253
- })(q || (q = {}));
3253
+ })(z || (z = {}));
3254
3254
  function bi(e) {
3255
3255
  return e.length < 2 ? e : e.reduce(function(t, r) {
3256
3256
  var n = t[t.length - 1];
3257
- return !n || n.type !== q.literal || r.type !== q.literal ? t.push(r) : n.value += r.value, t;
3257
+ return !n || n.type !== z.literal || r.type !== z.literal ? t.push(r) : n.value += r.value, t;
3258
3258
  }, []);
3259
3259
  }
3260
3260
  function yi(e) {
@@ -3264,7 +3264,7 @@ function Qe(e, t, r, n, a, i, o) {
3264
3264
  if (e.length === 1 && or(e[0]))
3265
3265
  return [
3266
3266
  {
3267
- type: q.literal,
3267
+ type: z.literal,
3268
3268
  value: e[0].value
3269
3269
  }
3270
3270
  ];
@@ -3272,14 +3272,14 @@ function Qe(e, t, r, n, a, i, o) {
3272
3272
  var c = l[u];
3273
3273
  if (or(c)) {
3274
3274
  s.push({
3275
- type: q.literal,
3275
+ type: z.literal,
3276
3276
  value: c.value
3277
3277
  });
3278
3278
  continue;
3279
3279
  }
3280
3280
  if (Ga(c)) {
3281
3281
  typeof i == "number" && s.push({
3282
- type: q.literal,
3282
+ type: z.literal,
3283
3283
  value: r.getNumberFormat(t).format(i)
3284
3284
  });
3285
3285
  continue;
@@ -3290,7 +3290,7 @@ function Qe(e, t, r, n, a, i, o) {
3290
3290
  var d = a[h];
3291
3291
  if (Fa(c)) {
3292
3292
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3293
- type: typeof d == "string" ? q.literal : q.object,
3293
+ type: typeof d == "string" ? z.literal : z.object,
3294
3294
  value: d
3295
3295
  });
3296
3296
  continue;
@@ -3298,7 +3298,7 @@ function Qe(e, t, r, n, a, i, o) {
3298
3298
  if (Jr(c)) {
3299
3299
  var m = typeof c.style == "string" ? n.date[c.style] : Rt(c.style) ? c.style.parsedOptions : void 0;
3300
3300
  s.push({
3301
- type: q.literal,
3301
+ type: z.literal,
3302
3302
  value: r.getDateTimeFormat(t, m).format(d)
3303
3303
  });
3304
3304
  continue;
@@ -3306,7 +3306,7 @@ function Qe(e, t, r, n, a, i, o) {
3306
3306
  if (Zr(c)) {
3307
3307
  var m = typeof c.style == "string" ? n.time[c.style] : Rt(c.style) ? c.style.parsedOptions : n.time.medium;
3308
3308
  s.push({
3309
- type: q.literal,
3309
+ type: z.literal,
3310
3310
  value: r.getDateTimeFormat(t, m).format(d)
3311
3311
  });
3312
3312
  continue;
@@ -3314,7 +3314,7 @@ function Qe(e, t, r, n, a, i, o) {
3314
3314
  if (Qr(c)) {
3315
3315
  var m = typeof c.style == "string" ? n.number[c.style] : rn(c.style) ? c.style.parsedOptions : void 0;
3316
3316
  m && m.scale && (d = d * (m.scale || 1)), s.push({
3317
- type: q.literal,
3317
+ type: z.literal,
3318
3318
  value: r.getNumberFormat(t, m).format(d)
3319
3319
  });
3320
3320
  continue;
@@ -3328,7 +3328,7 @@ function Qe(e, t, r, n, a, i, o) {
3328
3328
  }));
3329
3329
  Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(U) {
3330
3330
  return {
3331
- type: typeof U == "string" ? q.literal : q.object,
3331
+ type: typeof U == "string" ? z.literal : z.object,
3332
3332
  value: U
3333
3333
  };
3334
3334
  }));
@@ -3429,7 +3429,7 @@ var Ei = (
3429
3429
  if (l.length === 1)
3430
3430
  return l[0].value;
3431
3431
  var c = l.reduce(function(h, d) {
3432
- return !h.length || d.type !== q.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
3432
+ return !h.length || d.type !== z.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
3433
3433
  }, []);
3434
3434
  return c.length <= 1 ? c[0] || "" : c;
3435
3435
  }, this.formatToParts = function(u) {
@@ -4607,7 +4607,7 @@ if (typeof window < "u") {
4607
4607
  }
4608
4608
  };
4609
4609
  };
4610
- customElements.define = e(customElements.define), import("./CasinoGameThumbnailNd-DnCAySBN.js").then(({ default: t }) => {
4610
+ customElements.define = e(customElements.define), import("./CasinoGameThumbnailNd-Bqsl5Nb7.js").then(({ default: t }) => {
4611
4611
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", t.element);
4612
4612
  });
4613
4613
  }
@@ -4625,18 +4625,18 @@ function he(e) {
4625
4625
  var t = Number(e);
4626
4626
  return isNaN(t) ? t : t < 0 ? Math.ceil(t) : Math.floor(t);
4627
4627
  }
4628
- function $(e, t) {
4628
+ function W(e, t) {
4629
4629
  if (t.length < e)
4630
4630
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4631
4631
  }
4632
- function X(e) {
4633
- $(1, arguments);
4632
+ function q(e) {
4633
+ W(1, arguments);
4634
4634
  var t = Object.prototype.toString.call(e);
4635
4635
  return e instanceof Date || at(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (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));
4636
4636
  }
4637
4637
  function Po(e, t) {
4638
- $(2, arguments);
4639
- var r = X(e).getTime(), n = he(t);
4638
+ W(2, arguments);
4639
+ var r = q(e).getTime(), n = he(t);
4640
4640
  return new Date(r + n);
4641
4641
  }
4642
4642
  var Oo = {};
@@ -4648,38 +4648,38 @@ function Ho(e) {
4648
4648
  return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
4649
4649
  }
4650
4650
  function Mo(e) {
4651
- return $(1, arguments), e instanceof Date || at(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4651
+ return W(1, arguments), e instanceof Date || at(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
4652
4652
  }
4653
4653
  function Ro(e) {
4654
- if ($(1, arguments), !Mo(e) && typeof e != "number")
4654
+ if (W(1, arguments), !Mo(e) && typeof e != "number")
4655
4655
  return !1;
4656
- var t = X(e);
4656
+ var t = q(e);
4657
4657
  return !isNaN(Number(t));
4658
4658
  }
4659
4659
  function Tr(e, t) {
4660
- return $(2, arguments), X(e).getTime() - X(t).getTime();
4660
+ return W(2, arguments), q(e).getTime() - q(t).getTime();
4661
4661
  }
4662
4662
  function Ao(e, t) {
4663
- $(2, arguments);
4663
+ W(2, arguments);
4664
4664
  var r = he(t);
4665
4665
  return Po(e, -r);
4666
4666
  }
4667
4667
  var Bo = 864e5;
4668
4668
  function Lo(e) {
4669
- $(1, arguments);
4670
- var t = X(e), r = t.getTime();
4669
+ W(1, arguments);
4670
+ var t = q(e), r = t.getTime();
4671
4671
  t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
4672
4672
  var n = t.getTime(), a = r - n;
4673
4673
  return Math.floor(a / Bo) + 1;
4674
4674
  }
4675
4675
  function it(e) {
4676
- $(1, arguments);
4677
- var t = 1, r = X(e), n = r.getUTCDay(), a = (n < t ? 7 : 0) + n - t;
4676
+ W(1, arguments);
4677
+ var t = 1, r = q(e), n = r.getUTCDay(), a = (n < t ? 7 : 0) + n - t;
4678
4678
  return r.setUTCDate(r.getUTCDate() - a), r.setUTCHours(0, 0, 0, 0), r;
4679
4679
  }
4680
4680
  function xn(e) {
4681
- $(1, arguments);
4682
- var t = X(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4681
+ W(1, arguments);
4682
+ var t = q(e), r = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
4683
4683
  n.setUTCFullYear(r + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
4684
4684
  var a = it(n), i = /* @__PURE__ */ new Date(0);
4685
4685
  i.setUTCFullYear(r, 0, 4), i.setUTCHours(0, 0, 0, 0);
@@ -4687,7 +4687,7 @@ function xn(e) {
4687
4687
  return t.getTime() >= a.getTime() ? r + 1 : t.getTime() >= o.getTime() ? r : r - 1;
4688
4688
  }
4689
4689
  function No(e) {
4690
- $(1, arguments);
4690
+ W(1, arguments);
4691
4691
  var t = xn(e), r = /* @__PURE__ */ new Date(0);
4692
4692
  r.setUTCFullYear(t, 0, 4), r.setUTCHours(0, 0, 0, 0);
4693
4693
  var n = it(r);
@@ -4695,23 +4695,23 @@ function No(e) {
4695
4695
  }
4696
4696
  var Io = 6048e5;
4697
4697
  function Do(e) {
4698
- $(1, arguments);
4699
- var t = X(e), r = it(t).getTime() - No(t).getTime();
4698
+ W(1, arguments);
4699
+ var t = q(e), r = it(t).getTime() - No(t).getTime();
4700
4700
  return Math.round(r / Io) + 1;
4701
4701
  }
4702
4702
  function ot(e, t) {
4703
4703
  var r, n, a, i, o, s, u, l;
4704
- $(1, arguments);
4704
+ W(1, arguments);
4705
4705
  var c = dt(), h = he((r = (n = (a = (i = t?.weekStartsOn) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.weekStartsOn) !== null && a !== void 0 ? a : c.weekStartsOn) !== null && n !== void 0 ? n : (u = c.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : 0);
4706
4706
  if (!(h >= 0 && h <= 6))
4707
4707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4708
- var d = X(e), m = d.getUTCDay(), g = (m < h ? 7 : 0) + m - h;
4708
+ var d = q(e), m = d.getUTCDay(), g = (m < h ? 7 : 0) + m - h;
4709
4709
  return d.setUTCDate(d.getUTCDate() - g), d.setUTCHours(0, 0, 0, 0), d;
4710
4710
  }
4711
4711
  function Tn(e, t) {
4712
4712
  var r, n, a, i, o, s, u, l;
4713
- $(1, arguments);
4714
- var c = X(e), h = c.getUTCFullYear(), d = dt(), m = he((r = (n = (a = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && a !== void 0 ? a : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = d.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4713
+ W(1, arguments);
4714
+ var c = q(e), h = c.getUTCFullYear(), d = dt(), m = he((r = (n = (a = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && a !== void 0 ? a : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = d.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
4715
4715
  if (!(m >= 1 && m <= 7))
4716
4716
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
4717
4717
  var g = /* @__PURE__ */ new Date(0);
@@ -4723,7 +4723,7 @@ function Tn(e, t) {
4723
4723
  }
4724
4724
  function ko(e, t) {
4725
4725
  var r, n, a, i, o, s, u, l;
4726
- $(1, arguments);
4726
+ W(1, arguments);
4727
4727
  var c = dt(), h = he((r = (n = (a = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && a !== void 0 ? a : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = c.locale) === null || u === void 0 || (l = u.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : 1), d = Tn(e, t), m = /* @__PURE__ */ new Date(0);
4728
4728
  m.setUTCFullYear(d, 0, h), m.setUTCHours(0, 0, 0, 0);
4729
4729
  var g = ot(m, t);
@@ -4731,8 +4731,8 @@ function ko(e, t) {
4731
4731
  }
4732
4732
  var Uo = 6048e5;
4733
4733
  function Fo(e, t) {
4734
- $(1, arguments);
4735
- var r = X(e), n = ot(r, t).getTime() - ko(r, t).getTime();
4734
+ W(1, arguments);
4735
+ var r = q(e), n = ot(r, t).getTime() - ko(r, t).getTime();
4736
4736
  return Math.round(n / Uo) + 1;
4737
4737
  }
4738
4738
  function O(e, t) {
@@ -5826,7 +5826,7 @@ var ds = /^(\d+)(th|st|nd|rd)?/i, ms = /\d+/i, gs = {
5826
5826
  }, Ps = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Os = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hs = /^'([^]*?)'?$/, Ms = /''/g, Rs = /[a-zA-Z]/;
5827
5827
  function Js(e, t, r) {
5828
5828
  var n, a, i, o, s, u, l, c, h, d, m, g, b, _;
5829
- $(2, arguments);
5829
+ W(2, arguments);
5830
5830
  var v = String(t), B = dt(), M = (n = (a = void 0) !== null && a !== void 0 ? a : B.locale) !== null && n !== void 0 ? n : Cs, k = he((i = (o = (s = (u = void 0) !== null && u !== void 0 ? u : void 0) !== null && s !== void 0 ? s : B.firstWeekContainsDate) !== null && o !== void 0 ? o : (l = B.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
5831
5831
  if (!(k >= 1 && k <= 7))
5832
5832
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
@@ -5837,7 +5837,7 @@ function Js(e, t, r) {
5837
5837
  throw new RangeError("locale must contain localize property");
5838
5838
  if (!M.formatLong)
5839
5839
  throw new RangeError("locale must contain formatLong property");
5840
- var T = X(e);
5840
+ var T = q(e);
5841
5841
  if (!Ro(T))
5842
5842
  throw new RangeError("Invalid time value");
5843
5843
  var P = Ho(T), G = Ao(T, P), R = {
@@ -5846,23 +5846,23 @@ function Js(e, t, r) {
5846
5846
  locale: M,
5847
5847
  _originalDate: T
5848
5848
  }, C = v.match(Os).map(function(E) {
5849
- var V = E[0];
5850
- if (V === "p" || V === "P") {
5851
- var ie = Wo[V];
5849
+ var $ = E[0];
5850
+ if ($ === "p" || $ === "P") {
5851
+ var ie = Wo[$];
5852
5852
  return ie(E, M.formatLong);
5853
5853
  }
5854
5854
  return E;
5855
5855
  }).join("").match(Ps).map(function(E) {
5856
5856
  if (E === "''")
5857
5857
  return "'";
5858
- var V = E[0];
5859
- if (V === "'")
5858
+ var $ = E[0];
5859
+ if ($ === "'")
5860
5860
  return As(E);
5861
- var ie = Go[V];
5861
+ var ie = Go[$];
5862
5862
  if (ie)
5863
5863
  return Xo(E) && Hr(E, t, String(e)), Yo(E) && Hr(E, t, String(e)), ie(G, E, M.localize, R);
5864
- if (V.match(Rs))
5865
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + V + "`");
5864
+ if ($.match(Rs))
5865
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + $ + "`");
5866
5866
  return E;
5867
5867
  }).join("");
5868
5868
  return C;
@@ -5872,13 +5872,13 @@ function As(e) {
5872
5872
  return t ? t[1].replace(Ms, "'") : e;
5873
5873
  }
5874
5874
  function Bs(e, t) {
5875
- $(2, arguments);
5876
- var r = X(e), n = X(t);
5875
+ W(2, arguments);
5876
+ var r = q(e), n = q(t);
5877
5877
  return r.getTime() > n.getTime();
5878
5878
  }
5879
5879
  function Ls(e, t) {
5880
- $(2, arguments);
5881
- var r = X(e), n = X(t);
5880
+ W(2, arguments);
5881
+ var r = q(e), n = q(t);
5882
5882
  return r.getTime() < n.getTime();
5883
5883
  }
5884
5884
  function Ns(e, t, r) {
@@ -5917,7 +5917,7 @@ function Rr(e) {
5917
5917
  (s[18] ? "NotVisible" : "")) && w(t, "class", a);
5918
5918
  },
5919
5919
  d(s) {
5920
- s && W(t), i = !1, o();
5920
+ s && j(t), i = !1, o();
5921
5921
  }
5922
5922
  };
5923
5923
  }
@@ -5961,7 +5961,7 @@ function Ds(e) {
5961
5961
  (c[19] == !0 ? "" : "NotVisible")) && w(r, "class", a);
5962
5962
  },
5963
5963
  d(c) {
5964
- c && (W(t), W(r)), s && s.d(c), u && u.d(), l && l.d();
5964
+ c && (j(t), j(r)), s && s.d(c), u && u.d(), l && l.d();
5965
5965
  }
5966
5966
  };
5967
5967
  }
@@ -5983,7 +5983,7 @@ function ks(e) {
5983
5983
  a[23]("loading") + "") && ce(n, r);
5984
5984
  },
5985
5985
  d(a) {
5986
- a && W(t);
5986
+ a && j(t);
5987
5987
  }
5988
5988
  };
5989
5989
  }
@@ -6005,7 +6005,7 @@ function Us(e) {
6005
6005
  a[23]("searchResult") + "") && ce(n, r);
6006
6006
  },
6007
6007
  d(a) {
6008
- a && W(t);
6008
+ a && j(t);
6009
6009
  }
6010
6010
  };
6011
6011
  }
@@ -6030,7 +6030,7 @@ function Fs(e) {
6030
6030
  i[15].length == 0 ? a ? a.p(i, o) : (a = Br(i), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
6031
6031
  },
6032
6032
  d(i) {
6033
- i && (W(t), W(r)), n && n.d(i), a && a.d(i);
6033
+ i && (j(t), j(r)), n && n.d(i), a && a.d(i);
6034
6034
  }
6035
6035
  };
6036
6036
  }
@@ -6052,7 +6052,7 @@ function Ar(e) {
6052
6052
  a[23]("recentSearch") + "") && ce(n, r);
6053
6053
  },
6054
6054
  d(a) {
6055
- a && W(t);
6055
+ a && j(t);
6056
6056
  }
6057
6057
  };
6058
6058
  }
@@ -6081,7 +6081,7 @@ function Br(e) {
6081
6081
  (u[11] == "true" ? "WithIcon" : "")) && w(t, "class", o);
6082
6082
  },
6083
6083
  d(u) {
6084
- u && W(t), s && s.d();
6084
+ u && j(t), s && s.d();
6085
6085
  }
6086
6086
  };
6087
6087
  }
@@ -6095,7 +6095,7 @@ function Lr(e) {
6095
6095
  Y(r, t, n);
6096
6096
  },
6097
6097
  d(r) {
6098
- r && W(t);
6098
+ r && j(t);
6099
6099
  }
6100
6100
  };
6101
6101
  }
@@ -6131,7 +6131,7 @@ function Nr(e) {
6131
6131
  ), t = sa(t, s, i, 1, o, a, r, n.parentNode, oa, Ir, n, Mr));
6132
6132
  },
6133
6133
  d(o) {
6134
- o && W(n);
6134
+ o && j(n);
6135
6135
  for (let s = 0; s < t.length; s += 1)
6136
6136
  t[s].d(o);
6137
6137
  }
@@ -6179,7 +6179,7 @@ function Ir(e, t) {
6179
6179
  t[69]?.icons
6180
6180
  )), p(r, "gamename", o = /*game*/
6181
6181
  t[69].name), p(r, "gamevendor", s = /*game*/
6182
- t[69].vendor.name), p(r, "gameLaunchUrl", u = /*game*/
6182
+ t[69].vendor?.name), p(r, "gameLaunchUrl", u = /*game*/
6183
6183
  t[69].launchUrl), p(r, "gameisnew", l = /*game*/
6184
6184
  t[69].isNew), p(r, "gametag", c = /*game*/
6185
6185
  t[69].advancedTags?.length > 0 && /*addGameTag*/
@@ -6286,7 +6286,7 @@ function Ir(e, t) {
6286
6286
  32768 && o !== (o = /*game*/
6287
6287
  t[69].name) && p(r, "gamename", o), v[0] & /*searchArray*/
6288
6288
  32768 && s !== (s = /*game*/
6289
- t[69].vendor.name) && p(r, "gamevendor", s), v[0] & /*searchArray*/
6289
+ t[69].vendor?.name) && p(r, "gamevendor", s), v[0] & /*searchArray*/
6290
6290
  32768 && u !== (u = /*game*/
6291
6291
  t[69].launchUrl) && p(r, "gameLaunchUrl", u), v[0] & /*searchArray*/
6292
6292
  32768 && l !== (l = /*game*/
@@ -6360,7 +6360,7 @@ function Ir(e, t) {
6360
6360
  );
6361
6361
  },
6362
6362
  d(_) {
6363
- _ && W(r);
6363
+ _ && j(r);
6364
6364
  }
6365
6365
  };
6366
6366
  }
@@ -6394,7 +6394,7 @@ function Dr(e) {
6394
6394
  (d[11] == "true" ? "WithIcon" : "")) && w(t, "class", c);
6395
6395
  },
6396
6396
  d(d) {
6397
- d && W(t), h && h.d();
6397
+ d && j(t), h && h.d();
6398
6398
  }
6399
6399
  };
6400
6400
  }
@@ -6408,7 +6408,7 @@ function kr(e) {
6408
6408
  Y(r, t, n);
6409
6409
  },
6410
6410
  d(r) {
6411
- r && W(t);
6411
+ r && j(t);
6412
6412
  }
6413
6413
  };
6414
6414
  }
@@ -6502,7 +6502,7 @@ function Gs(e) {
6502
6502
  i: Z,
6503
6503
  o: Z,
6504
6504
  d(C) {
6505
- C && W(t), e[42](null), T && T.d(), R.d(), e[45](null), k = !1, fe(U);
6505
+ C && j(t), e[42](null), T && T.d(), R.d(), e[45](null), k = !1, fe(U);
6506
6506
  }
6507
6507
  };
6508
6508
  }
@@ -6512,7 +6512,7 @@ function js(e, t, r) {
6512
6512
  zn(e, ro, (f) => r(23, n = f));
6513
6513
  let { endpoint: a = "" } = t, { datasource: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: u = "en" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { integratedgameframedesktop: d = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: g = "" } = t, { gamepagemodalurl: b = "true" } = t, { translationurl: _ = "" } = t, { showfavorites: v = "" } = t, { cancelbutton: B = "true" } = t, { notfoundicon: M = "false" } = t, { controlchannel: k = "casino-search" } = t, { allowedorigins: U = window.location.origin } = t, { requiredicon: T = "false" } = t, { allowsingleclickgameentry: P = "false" } = t, { enablesearchcontainergrid: G = "false" } = t;
6514
6514
  const R = () => (U || "").split(",").map((f) => f.trim()).filter(Boolean);
6515
- let C = window.navigator.userAgent, E = [], V = [], ie = {}, ee = "", He, je = !0, te = !1, Q = !1, re, Me, On, We = !1, $e, Ve, qt = [];
6515
+ let C = window.navigator.userAgent, E = [], $ = [], ie = {}, ee = "", He, je = !0, te = !1, Q = !1, re, Me, On, We = !1, $e, Ve, qt = [];
6516
6516
  const mt = (f) => {
6517
6517
  Object.keys(f).forEach((y) => {
6518
6518
  no(y, f[y]);
@@ -6552,17 +6552,17 @@ function js(e, t, r) {
6552
6552
  r(15, E = []);
6553
6553
  let f = localStorage.getItem("searchedGamesWds_casino"), y = [];
6554
6554
  f && (y = f.split(","));
6555
- let I = [], F = 0, j = y.length;
6556
- if (j > 0) {
6557
- for (F = 0; F < j; F++) {
6558
- let z = new URL(`${a}/v1/casino/games/${y[F]}`);
6559
- z.searchParams.append("language", u), z.searchParams.append("datasource", i), z.searchParams.append("platform", nt(C)), I.push(Nn(z, y[F]));
6555
+ let I = [], F = 0, X = y.length;
6556
+ if (X > 0) {
6557
+ for (F = 0; F < X; F++) {
6558
+ let V = new URL(`${a}/v1/casino/games/${y[F]}`);
6559
+ V.searchParams.append("language", u), V.searchParams.append("datasource", i), V.searchParams.append("platform", nt(C)), I.push(Nn(V, y[F]));
6560
6560
  }
6561
- Promise.all(I).then((z) => {
6562
- z = z.filter(function(ue) {
6561
+ Promise.all(I).then((V) => {
6562
+ V = V.filter(function(ue) {
6563
6563
  return !!ue;
6564
- }), r(15, E = z.map((ue) => (ue.isFavorite = Jt(ue.id), ue))), E.length ? Re("searchSuccess", "SearchWidget") : Re("searchFail", "SearchWidget");
6565
- }).catch((z) => {
6564
+ }), r(15, E = V.map((ue) => (ue.isFavorite = Jt(ue.id), ue))), E.length ? Re("searchSuccess", "SearchWidget") : Re("searchFail", "SearchWidget");
6565
+ }).catch((V) => {
6566
6566
  Re("searchError", "SearchWidget");
6567
6567
  });
6568
6568
  }
@@ -6600,18 +6600,20 @@ function js(e, t, r) {
6600
6600
  I(F);
6601
6601
  });
6602
6602
  }), Nn = (f, y) => new Promise((I, F) => {
6603
- r(20, Q = !0), y && Object.keys(ie).indexOf(y) >= 0 ? (r(20, Q = !1), I(ie[y])) : fetch(f).then((j) => j.json()).then((j) => {
6604
- r(20, Q = !1), j.error || (ie[j[0].gameId] = j[0]), I(j[0]);
6605
- }).catch((j) => {
6606
- r(20, Q = !1), console.error(j);
6603
+ r(20, Q = !0), y && Object.keys(ie).indexOf(y) >= 0 ? (r(20, Q = !1), I(ie[y])) : fetch(f).then((X) => X.json()).then((X) => {
6604
+ r(20, Q = !1);
6605
+ const V = X?.[0]?.gameId ? X[0] : null;
6606
+ V && (ie[V.gameId] = V), I(V);
6607
+ }).catch((X) => {
6608
+ r(20, Q = !1), console.error(X);
6607
6609
  try {
6608
6610
  me({
6609
6611
  type: "SearchError",
6610
- message: String(j)
6612
+ message: String(X)
6611
6613
  });
6612
6614
  } catch {
6613
6615
  }
6614
- F(j);
6616
+ F(X);
6615
6617
  });
6616
6618
  }), In = () => {
6617
6619
  const f = new URL(`${a}/v1/player/${Ve}/favorites/`);
@@ -6629,15 +6631,15 @@ function js(e, t, r) {
6629
6631
  if (f?.length === 0)
6630
6632
  return "";
6631
6633
  let y, I = 99999999999, F;
6632
- const j = new Date(Date.now());
6633
- return f.forEach((z, ue) => {
6634
- const Xn = new Date(z.schedules[0].startTime), vt = new Date(z.schedules[0].endTime);
6635
- Tr(new Date(vt), new Date(j)) < I && (I = Tr(new Date(vt), new Date(j)), F = ue), Bs(new Date(j), new Date(Xn)) && Ls(new Date(j), new Date(vt)) && (y = f[F].name);
6634
+ const X = new Date(Date.now());
6635
+ return f.forEach((V, ue) => {
6636
+ const Xn = new Date(V.schedules[0].startTime), vt = new Date(V.schedules[0].endTime);
6637
+ Tr(new Date(vt), new Date(X)) < I && (I = Tr(new Date(vt), new Date(X)), F = ue), Bs(new Date(X), new Date(Xn)) && Ls(new Date(X), new Date(vt)) && (y = f[F].name);
6636
6638
  }), y;
6637
6639
  }, Un = (f) => {
6638
- if (V = localStorage.getItem("searchedGamesWds_casino"), V ? V = V.split(",") : V = [], V.indexOf(f) === -1) {
6640
+ if ($ = localStorage.getItem("searchedGamesWds_casino"), $ ? $ = $.split(",") : $ = [], $.indexOf(f) === -1) {
6639
6641
  let y;
6640
- V.unshift(f), y = V.join(","), localStorage.setItem("searchedGamesWds_casino", y);
6642
+ $.unshift(f), y = $.join(","), localStorage.setItem("searchedGamesWds_casino", y);
6641
6643
  }
6642
6644
  }, Ae = () => {
6643
6645
  r(16, ee = ""), r(18, je = !0), r(20, Q = !1), r(15, E = []), r(19, te = !1), Kt(te);
@@ -6946,7 +6948,7 @@ export {
6946
6948
  Qn as b,
6947
6949
  fa as c,
6948
6950
  Qs as d,
6949
- W as e,
6951
+ j as e,
6950
6952
  L as f,
6951
6953
  $s as g,
6952
6954
  p as h,