@everymatrix/casino-navigation-search 1.94.4 → 1.94.6

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 { n as K, s as $t, a as Qr, r as er, i as Yr, S as Kr, b as $r, f as N, c as en, d as tn, e as G, g as b, h as bt, j as F, k as x, l as ne, m as P, o as X, p as vt, q as rn, t as nn, u as $, v as ee, w as yt, x as _t, y as an, z as tr, A as g, B as on, C as sn, D as un } from "./CasinoNavigationSearch-D2TFQtTD.js";
1
+ import { q as K, t as $t, D as Qr, s as er, o as Yr, S as Kr, m as $r, l as N, f as en, b as tn, h as F, c as b, z as bt, n as G, a as x, p as ne, i as B, A as X, E as vt, e as rn, r as nn, y as $, F as ee, d as yt, k as _t, g as an, j as tr, x as g, u as on, v as sn, w as un } from "./CasinoNavigationSearch-COt0j-LI.js";
2
2
  const re = [];
3
3
  function ln(e, t) {
4
4
  return {
@@ -172,7 +172,7 @@ function Hn(e, t) {
172
172
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
173
173
  return r;
174
174
  }
175
- function Fe(e, t, r) {
175
+ function Ge(e, t, r) {
176
176
  if (r || arguments.length === 2)
177
177
  for (var n = 0, i = t.length, a; n < i; n++)
178
178
  (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
@@ -185,11 +185,11 @@ function Ue(e, t) {
185
185
  serializer: n
186
186
  });
187
187
  }
188
- function Bn(e) {
188
+ function Pn(e) {
189
189
  return e == null || typeof e == "number" || typeof e == "boolean";
190
190
  }
191
- function Pn(e, t, r, n) {
192
- var i = Bn(n) ? n : r(n), a = t.get(i);
191
+ function Bn(e, t, r, n) {
192
+ var i = Pn(n) ? n : r(n), a = t.get(i);
193
193
  return typeof a > "u" && (a = e.call(this, n), t.set(i, a)), a;
194
194
  }
195
195
  function nr(e, t, r) {
@@ -200,7 +200,7 @@ function ir(e, t, r, n, i) {
200
200
  return r.bind(t, e, n, i);
201
201
  }
202
202
  function An(e, t) {
203
- var r = e.length === 1 ? Pn : nr;
203
+ var r = e.length === 1 ? Bn : nr;
204
204
  return ir(e, this, r, t.cache.create(), t.serializer);
205
205
  }
206
206
  function Cn(e, t) {
@@ -226,15 +226,15 @@ var In = function() {
226
226
  }
227
227
  }, ke = {
228
228
  variadic: Cn
229
- }, Pe = function() {
230
- return Pe = Object.assign || function(t) {
229
+ }, Be = function() {
230
+ return Be = Object.assign || function(t) {
231
231
  for (var r, n = 1, i = arguments.length; n < i; n++) {
232
232
  r = arguments[n];
233
233
  for (var a in r)
234
234
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
235
235
  }
236
236
  return t;
237
- }, Pe.apply(this, arguments);
237
+ }, Be.apply(this, arguments);
238
238
  };
239
239
  var v;
240
240
  (function(e) {
@@ -383,11 +383,11 @@ var H = function() {
383
383
  return t;
384
384
  }, H.apply(this, arguments);
385
385
  };
386
- var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
387
- function Fn(e) {
386
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
387
+ function Gn(e) {
388
388
  if (e.length === 0)
389
389
  throw new Error("Number skeleton cannot be empty");
390
- for (var t = e.split(Gn).filter(function(m) {
390
+ for (var t = e.split(Fn).filter(function(m) {
391
391
  return m.length > 0;
392
392
  }), r = [], n = 0, i = t; n < i.length; n++) {
393
393
  var a = i[n], o = a.split("/");
@@ -2082,7 +2082,7 @@ var Ht = Zn ? (
2082
2082
  }
2083
2083
  return n;
2084
2084
  }
2085
- ), Bt = (
2085
+ ), Pt = (
2086
2086
  // native
2087
2087
  Qn ? Object.fromEntries : (
2088
2088
  // Ponyfill
@@ -2134,11 +2134,11 @@ function br(e, t) {
2134
2134
  }
2135
2135
  var Qe;
2136
2136
  if (Ze) {
2137
- var Pt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2137
+ var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2138
2138
  Qe = function(t, r) {
2139
2139
  var n;
2140
- Pt.lastIndex = r;
2141
- var i = Pt.exec(t);
2140
+ Bt.lastIndex = r;
2141
+ var i = Bt.exec(t);
2142
2142
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2143
2143
  };
2144
2144
  } else
@@ -2399,7 +2399,7 @@ var ai = (
2399
2399
  case "select": {
2400
2400
  var O = this.clonePosition();
2401
2401
  if (this.bumpSpace(), !this.bumpIf(","))
2402
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, Pe({}, O)));
2402
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, Be({}, O)));
2403
2403
  this.bumpSpace();
2404
2404
  var j = this.parseIdentifierIfPossible(), E = 0;
2405
2405
  if (s !== "select" && j.value === "offset") {
@@ -2422,7 +2422,7 @@ var ai = (
2422
2422
  val: {
2423
2423
  type: T.select,
2424
2424
  value: n,
2425
- options: Bt(L.val),
2425
+ options: Pt(L.val),
2426
2426
  location: z
2427
2427
  },
2428
2428
  err: null
@@ -2430,7 +2430,7 @@ var ai = (
2430
2430
  val: {
2431
2431
  type: T.plural,
2432
2432
  value: n,
2433
- options: Bt(L.val),
2433
+ options: Pt(L.val),
2434
2434
  offset: E,
2435
2435
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2436
2436
  location: z
@@ -2481,7 +2481,7 @@ var ai = (
2481
2481
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2482
2482
  var n = [];
2483
2483
  try {
2484
- n = Fn(t);
2484
+ n = Gn(t);
2485
2485
  } catch {
2486
2486
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2487
2487
  }
@@ -2629,7 +2629,7 @@ function Ke(e) {
2629
2629
  });
2630
2630
  }
2631
2631
  function li(e, t) {
2632
- t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2632
+ t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2633
2633
  var r = new ai(e, t).parse();
2634
2634
  if (r.err) {
2635
2635
  var n = SyntaxError(v[r.err.kind]);
@@ -2824,7 +2824,7 @@ function gi(e) {
2824
2824
  getNumberFormat: Ue(function() {
2825
2825
  for (var t, r = [], n = 0; n < arguments.length; n++)
2826
2826
  r[n] = arguments[n];
2827
- return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
2827
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
2828
2828
  }, {
2829
2829
  cache: Ve(e.number),
2830
2830
  strategy: ke.variadic
@@ -2832,7 +2832,7 @@ function gi(e) {
2832
2832
  getDateTimeFormat: Ue(function() {
2833
2833
  for (var t, r = [], n = 0; n < arguments.length; n++)
2834
2834
  r[n] = arguments[n];
2835
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
2835
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
2836
2836
  }, {
2837
2837
  cache: Ve(e.dateTime),
2838
2838
  strategy: ke.variadic
@@ -2840,7 +2840,7 @@ function gi(e) {
2840
2840
  getPluralRules: Ue(function() {
2841
2841
  for (var t, r = [], n = 0; n < arguments.length; n++)
2842
2842
  r[n] = arguments[n];
2843
- return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
2843
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
2844
2844
  }, {
2845
2845
  cache: Ve(e.pluralRules),
2846
2846
  strategy: ke.variadic
@@ -3094,16 +3094,16 @@ const Hi = {
3094
3094
  timeZoneName: "short"
3095
3095
  }
3096
3096
  }
3097
- }, Bi = {
3097
+ }, Pi = {
3098
3098
  fallbackLocale: null,
3099
3099
  loadingDelay: 200,
3100
3100
  formats: Hi,
3101
3101
  warnOnMissingMessages: !0,
3102
3102
  handleMissingMessage: void 0,
3103
3103
  ignoreTag: !0
3104
- }, Pi = Bi;
3104
+ }, Bi = Pi;
3105
3105
  function se() {
3106
- return Pi;
3106
+ return Bi;
3107
3107
  }
3108
3108
  const ze = Ie(!1);
3109
3109
  var Ai = Object.defineProperty, Ci = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
@@ -3173,14 +3173,14 @@ const ge = (e, t) => {
3173
3173
  if (e in r && t in r[e])
3174
3174
  return r[e][t];
3175
3175
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3176
- }, Gi = Ne(
3176
+ }, Fi = Ne(
3177
3177
  (e) => {
3178
3178
  var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3179
3179
  if (r == null)
3180
3180
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3181
3181
  return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
3182
3182
  }
3183
- ), Fi = Ne(
3183
+ ), Gi = Ne(
3184
3184
  (e) => {
3185
3185
  var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3186
3186
  if (r == null)
@@ -3202,14 +3202,14 @@ const ge = (e, t) => {
3202
3202
  } = t, n = ce(t, [
3203
3203
  "locale"
3204
3204
  ]);
3205
- return Gi(ht({ locale: r }, n));
3205
+ return Fi(ht({ locale: r }, n));
3206
3206
  }, ji = (e = {}) => {
3207
3207
  var t = e, {
3208
3208
  locale: r = te()
3209
3209
  } = t, n = ce(t, [
3210
3210
  "locale"
3211
3211
  ]);
3212
- return Fi(ht({ locale: r }, n));
3212
+ return Gi(ht({ locale: r }, n));
3213
3213
  }, Vi = (e = {}) => {
3214
3214
  var t = e, {
3215
3215
  locale: r = te()
@@ -3631,8 +3631,8 @@ var Me = function() {
3631
3631
  var t = new e();
3632
3632
  return t.closed = !0, t;
3633
3633
  }(), e;
3634
- }(), Br = Me.EMPTY;
3635
- function Pr(e) {
3634
+ }(), Pr = Me.EMPTY;
3635
+ function Br(e) {
3636
3636
  return e instanceof Me || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
3637
3637
  }
3638
3638
  function Mt(e) {
@@ -3658,14 +3658,14 @@ function ea(e) {
3658
3658
  }
3659
3659
  function Dt() {
3660
3660
  }
3661
- function Be(e) {
3661
+ function Pe(e) {
3662
3662
  e();
3663
3663
  }
3664
3664
  var Ar = function(e) {
3665
3665
  ve(t, e);
3666
3666
  function t(r) {
3667
3667
  var n = e.call(this) || this;
3668
- return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = na, n;
3668
+ return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = na, n;
3669
3669
  }
3670
3670
  return t.create = function(r, n, i) {
3671
3671
  return new ot(r, n, i);
@@ -3759,7 +3759,7 @@ function oa(e) {
3759
3759
  }, r);
3760
3760
  };
3761
3761
  }
3762
- var Gt = function() {
3762
+ var Ft = function() {
3763
3763
  function e(t) {
3764
3764
  t && (this._subscribe = t);
3765
3765
  }
@@ -3768,7 +3768,7 @@ var Gt = function() {
3768
3768
  return r.source = this, r.operator = t, r;
3769
3769
  }, e.prototype.subscribe = function(t, r, n) {
3770
3770
  var i = this, a = ua(t) ? t : new ot(t, r, n);
3771
- return Be(function() {
3771
+ return Pe(function() {
3772
3772
  var o = i, s = o.operator, l = o.source;
3773
3773
  a.add(s ? s.call(a, l) : l ? i._subscribe(a) : i._trySubscribe(a));
3774
3774
  }), a;
@@ -3780,7 +3780,7 @@ var Gt = function() {
3780
3780
  }
3781
3781
  }, e.prototype.forEach = function(t, r) {
3782
3782
  var n = this;
3783
- return r = Ft(r), new r(function(i, a) {
3783
+ return r = Gt(r), new r(function(i, a) {
3784
3784
  var o = new ot({
3785
3785
  next: function(s) {
3786
3786
  try {
@@ -3805,7 +3805,7 @@ var Gt = function() {
3805
3805
  return oa(t)(this);
3806
3806
  }, e.prototype.toPromise = function(t) {
3807
3807
  var r = this;
3808
- return t = Ft(t), new t(function(n, i) {
3808
+ return t = Gt(t), new t(function(n, i) {
3809
3809
  var a;
3810
3810
  r.subscribe(function(o) {
3811
3811
  return a = o;
@@ -3819,7 +3819,7 @@ var Gt = function() {
3819
3819
  return new e(t);
3820
3820
  }, e;
3821
3821
  }();
3822
- function Ft(e) {
3822
+ function Gt(e) {
3823
3823
  var t;
3824
3824
  return (t = e ?? Ki.Promise) !== null && t !== void 0 ? t : Promise;
3825
3825
  }
@@ -3827,7 +3827,7 @@ function sa(e) {
3827
3827
  return e && J(e.next) && J(e.error) && J(e.complete);
3828
3828
  }
3829
3829
  function ua(e) {
3830
- return e && e instanceof Ar || sa(e) && Pr(e);
3830
+ return e && e instanceof Ar || sa(e) && Br(e);
3831
3831
  }
3832
3832
  var la = Hr(function(e) {
3833
3833
  return function() {
@@ -3847,7 +3847,7 @@ var la = Hr(function(e) {
3847
3847
  throw new la();
3848
3848
  }, t.prototype.next = function(r) {
3849
3849
  var n = this;
3850
- Be(function() {
3850
+ Pe(function() {
3851
3851
  var i, a;
3852
3852
  if (n._throwIfClosed(), !n.isStopped) {
3853
3853
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -3870,7 +3870,7 @@ var la = Hr(function(e) {
3870
3870
  });
3871
3871
  }, t.prototype.error = function(r) {
3872
3872
  var n = this;
3873
- Be(function() {
3873
+ Pe(function() {
3874
3874
  if (n._throwIfClosed(), !n.isStopped) {
3875
3875
  n.hasError = n.isStopped = !0, n.thrownError = r;
3876
3876
  for (var i = n.observers; i.length; )
@@ -3879,7 +3879,7 @@ var la = Hr(function(e) {
3879
3879
  });
3880
3880
  }, t.prototype.complete = function() {
3881
3881
  var r = this;
3882
- Be(function() {
3882
+ Pe(function() {
3883
3883
  if (r._throwIfClosed(), !r.isStopped) {
3884
3884
  r.isStopped = !0;
3885
3885
  for (var n = r.observers; n.length; )
@@ -3901,19 +3901,19 @@ var la = Hr(function(e) {
3901
3901
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3902
3902
  }, t.prototype._innerSubscribe = function(r) {
3903
3903
  var n = this, i = this, a = i.hasError, o = i.isStopped, s = i.observers;
3904
- return a || o ? Br : (this.currentObservers = null, s.push(r), new Me(function() {
3904
+ return a || o ? Pr : (this.currentObservers = null, s.push(r), new Me(function() {
3905
3905
  n.currentObservers = null, at(s, r);
3906
3906
  }));
3907
3907
  }, t.prototype._checkFinalizedStatuses = function(r) {
3908
3908
  var n = this, i = n.hasError, a = n.thrownError, o = n.isStopped;
3909
3909
  i ? r.error(a) : o && r.complete();
3910
3910
  }, t.prototype.asObservable = function() {
3911
- var r = new Gt();
3911
+ var r = new Ft();
3912
3912
  return r.source = this, r;
3913
3913
  }, t.create = function(r, n) {
3914
3914
  return new Ut(r, n);
3915
3915
  }, t;
3916
- }(Gt), Ut = function(e) {
3916
+ }(Ft), Ut = function(e) {
3917
3917
  ve(t, e);
3918
3918
  function t(r, n) {
3919
3919
  var i = e.call(this) || this;
@@ -3930,7 +3930,7 @@ var la = Hr(function(e) {
3930
3930
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
3931
3931
  }, t.prototype._subscribe = function(r) {
3932
3932
  var n, i;
3933
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Br;
3933
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
3934
3934
  }, t;
3935
3935
  }(Cr), Ir = {
3936
3936
  now: function() {
@@ -3988,7 +3988,7 @@ if (typeof window < "u") {
3988
3988
  }
3989
3989
  };
3990
3990
  };
3991
- customElements.define = e(customElements.define), import("./CasinoGameThumbnail-BMUwvi16.js").then(({ default: t }) => {
3991
+ customElements.define = e(customElements.define), import("./CasinoGameThumbnail-DqMfdwi1.js").then(({ default: t }) => {
3992
3992
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
3993
3993
  });
3994
3994
  }
@@ -4036,11 +4036,11 @@ function Wt(e) {
4036
4036
  ), n, i, a, o;
4037
4037
  return {
4038
4038
  c() {
4039
- t = P("small"), n = ee(r), b(t, "class", i = "SearchCancelButton " + /*searchCancelled*/
4039
+ t = B("small"), n = ee(r), b(t, "class", i = "SearchCancelButton " + /*searchCancelled*/
4040
4040
  (e[16] ? "NotVisible" : ""));
4041
4041
  },
4042
4042
  m(s, l) {
4043
- F(s, t, l), x(t, n), a || (o = ne(
4043
+ G(s, t, l), x(t, n), a || (o = ne(
4044
4044
  t,
4045
4045
  "click",
4046
4046
  /*click_handler_1*/
@@ -4055,7 +4055,7 @@ function Wt(e) {
4055
4055
  (s[16] ? "NotVisible" : "")) && b(t, "class", i);
4056
4056
  },
4057
4057
  d(s) {
4058
- s && G(t), a = !1, o();
4058
+ s && F(t), a = !1, o();
4059
4059
  }
4060
4060
  };
4061
4061
  }
@@ -4084,11 +4084,11 @@ function ga(e) {
4084
4084
  );
4085
4085
  return {
4086
4086
  c() {
4087
- s && s.c(), t = X(), r = P("div"), l && l.c(), n = X(), h && h.c(), b(r, "class", i = "SearchResultsContainer " + /*searchActive*/
4087
+ s && s.c(), t = X(), r = B("div"), l && l.c(), n = X(), h && h.c(), b(r, "class", i = "SearchResultsContainer " + /*searchActive*/
4088
4088
  (e[17] == !0 ? "" : "NotVisible"));
4089
4089
  },
4090
4090
  m(u, c) {
4091
- s && s.m(u, c), F(u, t, c), F(u, r, c), l && l.m(r, null), x(r, n), h && h.m(r, null);
4091
+ s && s.m(u, c), G(u, t, c), G(u, r, c), l && l.m(r, null), x(r, n), h && h.m(r, null);
4092
4092
  },
4093
4093
  p(u, c) {
4094
4094
  o === (o = a(u)) && s ? s.p(u, c) : (s && s.d(1), s = o && o(u), s && (s.c(), s.m(t.parentNode, t))), /*searchCancelled*/
@@ -4099,7 +4099,7 @@ function ga(e) {
4099
4099
  (u[17] == !0 ? "" : "NotVisible")) && b(r, "class", i);
4100
4100
  },
4101
4101
  d(u) {
4102
- u && (G(t), G(r)), s && s.d(u), l && l.d(), h && h.d();
4102
+ u && (F(t), F(r)), s && s.d(u), l && l.d(), h && h.d();
4103
4103
  }
4104
4104
  };
4105
4105
  }
@@ -4110,10 +4110,10 @@ function ba(e) {
4110
4110
  ), n;
4111
4111
  return {
4112
4112
  c() {
4113
- t = P("p"), n = ee(r), b(t, "class", "LoadingContent");
4113
+ t = B("p"), n = ee(r), b(t, "class", "LoadingContent");
4114
4114
  },
4115
4115
  m(i, a) {
4116
- F(i, t, a), x(t, n);
4116
+ G(i, t, a), x(t, n);
4117
4117
  },
4118
4118
  p(i, a) {
4119
4119
  a[0] & /*$_*/
@@ -4121,7 +4121,7 @@ function ba(e) {
4121
4121
  i[21]("loading") + "") && $(n, r);
4122
4122
  },
4123
4123
  d(i) {
4124
- i && G(t);
4124
+ i && F(t);
4125
4125
  }
4126
4126
  };
4127
4127
  }
@@ -4132,10 +4132,10 @@ function va(e) {
4132
4132
  ), n;
4133
4133
  return {
4134
4134
  c() {
4135
- t = P("p"), n = ee(r), b(t, "class", "SearchMessage");
4135
+ t = B("p"), n = ee(r), b(t, "class", "SearchMessage");
4136
4136
  },
4137
4137
  m(i, a) {
4138
- F(i, t, a), x(t, n);
4138
+ G(i, t, a), x(t, n);
4139
4139
  },
4140
4140
  p(i, a) {
4141
4141
  a[0] & /*$_*/
@@ -4143,7 +4143,7 @@ function va(e) {
4143
4143
  i[21]("searchResult") + "") && $(n, r);
4144
4144
  },
4145
4145
  d(i) {
4146
- i && G(t);
4146
+ i && F(t);
4147
4147
  }
4148
4148
  };
4149
4149
  }
@@ -4160,7 +4160,7 @@ function ya(e) {
4160
4160
  n && n.c(), t = X(), i && i.c(), r = tr();
4161
4161
  },
4162
4162
  m(a, o) {
4163
- n && n.m(a, o), F(a, t, o), i && i.m(a, o), F(a, r, o);
4163
+ n && n.m(a, o), G(a, t, o), i && i.m(a, o), G(a, r, o);
4164
4164
  },
4165
4165
  p(a, o) {
4166
4166
  /*searchArray*/
@@ -4168,7 +4168,7 @@ function ya(e) {
4168
4168
  a[13].length == 0 ? i ? i.p(a, o) : (i = qt(a), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4169
4169
  },
4170
4170
  d(a) {
4171
- a && (G(t), G(r)), n && n.d(a), i && i.d(a);
4171
+ a && (F(t), F(r)), n && n.d(a), i && i.d(a);
4172
4172
  }
4173
4173
  };
4174
4174
  }
@@ -4179,10 +4179,10 @@ function Xt(e) {
4179
4179
  ), n;
4180
4180
  return {
4181
4181
  c() {
4182
- t = P("p"), n = ee(r), b(t, "class", "SearchMessage");
4182
+ t = B("p"), n = ee(r), b(t, "class", "SearchMessage");
4183
4183
  },
4184
4184
  m(i, a) {
4185
- F(i, t, a), x(t, n);
4185
+ G(i, t, a), x(t, n);
4186
4186
  },
4187
4187
  p(i, a) {
4188
4188
  a[0] & /*$_*/
@@ -4190,7 +4190,7 @@ function Xt(e) {
4190
4190
  i[21]("recentSearch") + "") && $(n, r);
4191
4191
  },
4192
4192
  d(i) {
4193
- i && G(t);
4193
+ i && F(t);
4194
4194
  }
4195
4195
  };
4196
4196
  }
@@ -4204,11 +4204,11 @@ function qt(e) {
4204
4204
  );
4205
4205
  return {
4206
4206
  c() {
4207
- t = P("div"), s && s.c(), r = X(), n = P("p"), a = ee(i), b(n, "class", "SearchMessage"), b(t, "class", o = "ResultsContainerError " + /*notfoundicon*/
4207
+ t = B("div"), s && s.c(), r = X(), n = B("p"), a = ee(i), b(n, "class", "SearchMessage"), b(t, "class", o = "ResultsContainerError " + /*notfoundicon*/
4208
4208
  (e[10] == "true" ? "WithIcon" : ""));
4209
4209
  },
4210
4210
  m(l, h) {
4211
- F(l, t, h), s && s.m(t, null), x(t, r), x(t, n), x(n, a);
4211
+ G(l, t, h), s && s.m(t, null), x(t, r), x(t, n), x(n, a);
4212
4212
  },
4213
4213
  p(l, h) {
4214
4214
  /*notfoundicon*/
@@ -4219,7 +4219,7 @@ function qt(e) {
4219
4219
  (l[10] == "true" ? "WithIcon" : "")) && b(t, "class", o);
4220
4220
  },
4221
4221
  d(l) {
4222
- l && G(t), s && s.d();
4222
+ l && F(t), s && s.d();
4223
4223
  }
4224
4224
  };
4225
4225
  }
@@ -4227,13 +4227,13 @@ function Zt(e) {
4227
4227
  let t;
4228
4228
  return {
4229
4229
  c() {
4230
- t = P("div"), t.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>', b(t, "class", "SearchErrorIcon");
4230
+ t = B("div"), t.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>', b(t, "class", "SearchErrorIcon");
4231
4231
  },
4232
4232
  m(r, n) {
4233
- F(r, t, n);
4233
+ G(r, t, n);
4234
4234
  },
4235
4235
  d(r) {
4236
- r && G(t);
4236
+ r && F(t);
4237
4237
  }
4238
4238
  };
4239
4239
  }
@@ -4253,7 +4253,7 @@ function Jt(e) {
4253
4253
  m(i, a) {
4254
4254
  for (let o = 0; o < n.length; o += 1)
4255
4255
  n[o] && n[o].m(i, a);
4256
- F(i, t, a);
4256
+ G(i, t, a);
4257
4257
  },
4258
4258
  p(i, a) {
4259
4259
  if (a[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
@@ -4273,7 +4273,7 @@ function Jt(e) {
4273
4273
  }
4274
4274
  },
4275
4275
  d(i) {
4276
- i && G(t), an(n, i);
4276
+ i && F(t), an(n, i);
4277
4277
  }
4278
4278
  };
4279
4279
  }
@@ -4281,7 +4281,7 @@ function Qt(e) {
4281
4281
  let t, r, n, i, a, o, s, l, h, u, c, m;
4282
4282
  return {
4283
4283
  c() {
4284
- t = P("casino-game-thumbnail"), g(
4284
+ t = B("casino-game-thumbnail"), g(
4285
4285
  t,
4286
4286
  "endpoint",
4287
4287
  /*endpoint*/
@@ -4362,7 +4362,7 @@ function Qt(e) {
4362
4362
  );
4363
4363
  },
4364
4364
  m(p, d) {
4365
- F(p, t, d);
4365
+ G(p, t, d);
4366
4366
  },
4367
4367
  p(p, d) {
4368
4368
  d[0] & /*endpoint*/
@@ -4469,7 +4469,7 @@ function Qt(e) {
4469
4469
  );
4470
4470
  },
4471
4471
  d(p) {
4472
- p && G(t);
4472
+ p && F(t);
4473
4473
  }
4474
4474
  };
4475
4475
  }
@@ -4486,11 +4486,11 @@ function Yt(e) {
4486
4486
  );
4487
4487
  return {
4488
4488
  c() {
4489
- t = P("div"), c && c.c(), r = X(), n = P("p"), a = ee(i), o = X(), s = P("p"), h = ee(l), b(n, "class", "SearchMessage"), b(t, "class", u = "ResultsContainerError " + /*notfoundicon*/
4489
+ t = B("div"), c && c.c(), r = X(), n = B("p"), a = ee(i), o = X(), s = B("p"), h = ee(l), b(n, "class", "SearchMessage"), b(t, "class", u = "ResultsContainerError " + /*notfoundicon*/
4490
4490
  (e[10] == "true" ? "WithIcon" : ""));
4491
4491
  },
4492
4492
  m(m, p) {
4493
- F(m, t, p), c && c.m(t, null), x(t, r), x(t, n), x(n, a), x(t, o), x(t, s), x(s, h);
4493
+ G(m, t, p), c && c.m(t, null), x(t, r), x(t, n), x(n, a), x(t, o), x(t, s), x(s, h);
4494
4494
  },
4495
4495
  p(m, p) {
4496
4496
  /*notfoundicon*/
@@ -4503,7 +4503,7 @@ function Yt(e) {
4503
4503
  (m[10] == "true" ? "WithIcon" : "")) && b(t, "class", u);
4504
4504
  },
4505
4505
  d(m) {
4506
- m && G(t), c && c.d();
4506
+ m && F(t), c && c.d();
4507
4507
  }
4508
4508
  };
4509
4509
  }
@@ -4511,13 +4511,13 @@ function Kt(e) {
4511
4511
  let t;
4512
4512
  return {
4513
4513
  c() {
4514
- t = P("div"), t.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>', b(t, "class", "SearchErrorIcon");
4514
+ t = B("div"), t.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>', b(t, "class", "SearchErrorIcon");
4515
4515
  },
4516
4516
  m(r, n) {
4517
- F(r, t, n);
4517
+ G(r, t, n);
4518
4518
  },
4519
4519
  d(r) {
4520
- r && G(t);
4520
+ r && F(t);
4521
4521
  }
4522
4522
  };
4523
4523
  }
@@ -4535,7 +4535,7 @@ function _a(e) {
4535
4535
  let z = L(e), C = z(e);
4536
4536
  return {
4537
4537
  c() {
4538
- t = P("div"), r = P("div"), n = P("div"), i = P("div"), i.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', a = X(), o = P("input"), l = X(), h = P("span"), u = vt("svg"), c = vt("path"), p = X(), E && E.c(), y = X(), A = P("div"), k = X(), C.c(), b(i, "class", "SearchIcon"), b(o, "class", "SearchInput"), b(o, "type", "search"), b(o, "placeholder", s = /*$_*/
4538
+ t = B("div"), r = B("div"), n = B("div"), i = B("div"), i.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', a = X(), o = B("input"), l = X(), h = B("span"), u = vt("svg"), c = vt("path"), p = X(), E && E.c(), y = X(), A = B("div"), k = X(), C.c(), b(i, "class", "SearchIcon"), b(o, "class", "SearchInput"), b(o, "type", "search"), b(o, "placeholder", s = /*$_*/
4539
4539
  e[21]("placeHolderSearchGames")), b(o, "maxlength", Sa), b(c, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), b(c, "stroke", "#717171"), b(c, "stroke-width", "2"), b(c, "stroke-linecap", "round"), b(c, "stroke-linejoin", "round"), b(u, "width", "11"), b(u, "height", "11"), b(u, "fill", "none"), b(u, "xmlns", "http://www.w3.org/2000/svg"), b(h, "class", m = "SearchClearButton " + /*cancelbutton*/
4540
4540
  (e[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
4541
4541
  (e[14].length != 0 ? "" : "NotVisible")), b(n, "class", d = "Search " + /*searchCancelled*/
@@ -4546,7 +4546,7 @@ function _a(e) {
4546
4546
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
4547
4547
  },
4548
4548
  m(w, M) {
4549
- F(w, t, M), x(t, r), x(r, n), x(n, i), x(n, a), x(n, o), bt(
4549
+ G(w, t, M), x(t, r), x(r, n), x(n, i), x(n, a), x(n, o), bt(
4550
4550
  o,
4551
4551
  /*searchValue*/
4552
4552
  e[14]
@@ -4605,7 +4605,7 @@ function _a(e) {
4605
4605
  i: K,
4606
4606
  o: K,
4607
4607
  d(w) {
4608
- w && G(t), e[35](null), E && E.d(), C.d(), e[38](null), O = !1, er(j);
4608
+ w && F(t), e[35](null), E && E.d(), C.d(), e[38](null), O = !1, er(j);
4609
4609
  }
4610
4610
  };
4611
4611
  }
@@ -4616,8 +4616,8 @@ function Ea(e, t, r) {
4616
4616
  let { endpoint: i = "" } = t, { datasource: a = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: l = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { integratedgameframedesktop: c = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: p = "" } = t, { gamepagemodalurl: d = "true" } = t, { translationurl: y = "" } = t, { showfavorites: A = "" } = t, { cancelbutton: U = "true" } = t, { notfoundicon: k = "false" } = t, { mbsource: O } = t, j = window.navigator.userAgent, E = [], L = [], z = {}, C = "", w, M = !0, fe = !1, W = !1, Z, ye = !1, _e, Se, ct = [], Rr;
4617
4617
  const Lr = () => {
4618
4618
  fetch(y).then((S) => S.json()).then((S) => {
4619
- Object.keys(S).forEach((B) => {
4620
- Lt(B, S[B]);
4619
+ Object.keys(S).forEach((P) => {
4620
+ Lt(P, S[P]);
4621
4621
  });
4622
4622
  }).catch((S) => {
4623
4623
  console.log(S);
@@ -4633,13 +4633,13 @@ function Ea(e, t, r) {
4633
4633
  r(13, E = []);
4634
4634
  let f = localStorage.getItem("searchedGamesWds_casino"), S = [];
4635
4635
  f && (S = f.split(","));
4636
- let B = [], I = 0, R = S.length;
4636
+ let P = [], I = 0, R = S.length;
4637
4637
  if (R > 0) {
4638
4638
  for (I = 0; I < R; I++) {
4639
4639
  let V = new URL(`${i}/v1/casino/games/${S[I]}`);
4640
- V.searchParams.append("language", l), V.searchParams.append("datasource", a), V.searchParams.append("platform", st(j)), B.push(Dr(V, S[I]));
4640
+ V.searchParams.append("language", l), V.searchParams.append("datasource", a), V.searchParams.append("platform", st(j)), P.push(Dr(V, S[I]));
4641
4641
  }
4642
- Promise.all(B).then((V) => {
4642
+ Promise.all(P).then((V) => {
4643
4643
  V = V.filter(function(Y) {
4644
4644
  return !!Y;
4645
4645
  }), r(13, E = V.map((Y) => (Y.isFavorite = pt(Y.id), Y))), E.length ? me("searchSuccess", "SearchWidget") : me("searchFail", "SearchWidget");
@@ -4653,38 +4653,38 @@ function Ea(e, t, r) {
4653
4653
  typeof gtag == "function" && gtag("event", f, { context: S });
4654
4654
  }, Nr = () => {
4655
4655
  U != "true" && Ee();
4656
- }, Mr = (f) => new Promise((S, B) => {
4656
+ }, Mr = (f) => new Promise((S, P) => {
4657
4657
  r(18, W = !0), fetch(f.href).then((I) => I.json()).then((I) => {
4658
4658
  r(18, W = !1), S(I);
4659
4659
  }).catch((I) => {
4660
- r(18, W = !1), console.error(I), B(I);
4660
+ r(18, W = !1), console.error(I), P(I);
4661
4661
  });
4662
- }), Dr = (f, S) => new Promise((B, I) => {
4663
- r(18, W = !0), S && Object.keys(z).indexOf(S) >= 0 ? (r(18, W = !1), B(z[S])) : fetch(f).then((R) => R.json()).then((R) => {
4664
- r(18, W = !1), R.error || (z[R[0].gameId] = R[0]), B(R[0]);
4662
+ }), Dr = (f, S) => new Promise((P, I) => {
4663
+ r(18, W = !0), S && Object.keys(z).indexOf(S) >= 0 ? (r(18, W = !1), P(z[S])) : fetch(f).then((R) => R.json()).then((R) => {
4664
+ r(18, W = !1), R.error || (z[R[0].gameId] = R[0]), P(R[0]);
4665
4665
  }).catch((R) => {
4666
4666
  r(18, W = !1), console.error(R), I(R);
4667
4667
  });
4668
- }), Gr = () => {
4668
+ }), Fr = () => {
4669
4669
  const f = new URL(`${i}/v1/player/${Se}/favorites/`);
4670
4670
  r(18, W = !0);
4671
4671
  let S = {
4672
4672
  method: "GET",
4673
4673
  headers: { "X-SessionID": _e }
4674
4674
  };
4675
- fetch(f.href, S).then((B) => B.json()).then((B) => {
4676
- r(18, W = !1), ct = B.items.map((I) => I.id);
4675
+ fetch(f.href, S).then((P) => P.json()).then((P) => {
4676
+ r(18, W = !1), ct = P.items.map((I) => I.id);
4677
4677
  });
4678
- }, Fr = () => {
4678
+ }, Gr = () => {
4679
4679
  r(33, ye = !0), r(19, _e = o), r(20, Se = s);
4680
4680
  }, pt = (f) => ct.findIndex((S) => S == f) !== -1, Ur = (f) => {
4681
4681
  if (f?.length === 0)
4682
4682
  return "";
4683
- let S, B = 99999999999, I;
4683
+ let S, P = 99999999999, I;
4684
4684
  const R = new Date(Date.now());
4685
4685
  return f.forEach((V, Y) => {
4686
- const Jr = new Date(V.schedules[0].startTime), Ge = new Date(V.schedules[0].endTime);
4687
- Vt(new Date(Ge), new Date(R)) < B && (B = Vt(new Date(Ge), new Date(R)), I = Y), ma(new Date(R), new Date(Jr)) && pa(new Date(R), new Date(Ge)) && (S = f[I].name);
4686
+ const Jr = new Date(V.schedules[0].startTime), Fe = new Date(V.schedules[0].endTime);
4687
+ Vt(new Date(Fe), new Date(R)) < P && (P = Vt(new Date(Fe), new Date(R)), I = Y), ma(new Date(R), new Date(Jr)) && pa(new Date(R), new Date(Fe)) && (S = f[I].name);
4688
4688
  }), S;
4689
4689
  }, kr = (f) => {
4690
4690
  if (L = localStorage.getItem("searchedGamesWds_casino"), L ? L = L.split(",") : L = [], L.indexOf(f) === -1) {
@@ -4709,7 +4709,7 @@ function Ea(e, t, r) {
4709
4709
  if (C.length >= 2) {
4710
4710
  const f = new URL(`${i}/v1/casino/games`);
4711
4711
  f.searchParams.append("datasource", a), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", st(j)), f.searchParams.append("language", l), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", `name=${C}`), Mr(f).then((S) => {
4712
- r(13, E = S.items.map((B) => (B.isFavorite = pt(B.id), B)));
4712
+ r(13, E = S.items.map((P) => (P.isFavorite = pt(P.id), P)));
4713
4713
  });
4714
4714
  } else
4715
4715
  M || mt();
@@ -4738,9 +4738,9 @@ function Ea(e, t, r) {
4738
4738
  2 && l && jr(), e.$$.dirty[1] & /*translationurl*/
4739
4739
  2 && y && Lr(), e.$$.dirty[0] & /*session*/
4740
4740
  1073741824 | e.$$.dirty[1] & /*userid*/
4741
- 1 && o && s && Fr(), e.$$.dirty[0] & /*showfavorites*/
4741
+ 1 && o && s && Gr(), e.$$.dirty[0] & /*showfavorites*/
4742
4742
  256 | e.$$.dirty[1] & /*isLoggedIn*/
4743
- 4 && A && ye && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4743
+ 4 && A && ye && Fr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4744
4744
  4100 && h && Z && on(Z, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4745
4745
  4104 && u && Z && sn(Z, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4746
4746
  6144 && Z && un(Z, `${O}.Style`, Rr);
@@ -4919,10 +4919,10 @@ const Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4919
4919
  default: Or
4920
4920
  }, Symbol.toStringTag, { value: "Module" }));
4921
4921
  export {
4922
- he as $,
4922
+ Qi as $,
4923
4923
  Ha as C,
4924
- Sr as a,
4925
- Qi as b,
4924
+ he as a,
4925
+ Sr as b,
4926
4926
  st as g,
4927
4927
  Ta as i
4928
4928
  };