@everymatrix/casino-my-games 1.74.2 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/components/CasinoFavoritesSection-C-DBydk7.cjs +16 -0
  2. package/components/{CasinoFavoritesSection-DMcr3szm.js → CasinoFavoritesSection-CbXHX21z.js} +373 -371
  3. package/components/{CasinoFavoritesSection-DMkV8HyP.js → CasinoFavoritesSection-ChwHGBdi.js} +394 -392
  4. package/components/{CasinoFilter-CrOAYqjr.js → CasinoFilter-5Hs-EROt.js} +386 -401
  5. package/components/{CasinoFilter-BUdCzoW9.js → CasinoFilter-DlqYDzjy.js} +389 -406
  6. package/components/CasinoFilter-YIMff5Qd.cjs +3 -0
  7. package/components/CasinoGameThumbnail-3M_U9kJ8.cjs +47 -0
  8. package/components/{CasinoGameThumbnail--v814Ice.js → CasinoGameThumbnail-9Sv2VMOy.js} +769 -753
  9. package/components/{CasinoGameThumbnail-VIKHBbQz.js → CasinoGameThumbnail-fvQQ7Con.js} +1239 -1255
  10. package/components/CasinoGamesCategorySection-BXNI9j1t.cjs +1 -0
  11. package/components/{CasinoGamesCategorySection-g3rKrGNH.js → CasinoGamesCategorySection-Eo0AlZI8.js} +208 -208
  12. package/components/{CasinoGamesCategorySection-Dbsqr7oG.js → CasinoGamesCategorySection-ZoJNnlrX.js} +196 -196
  13. package/components/{CasinoLastPlayedSection-Bd-6uDXk.cjs → CasinoLastPlayedSection-CZ-DLm5E.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSection-CgP1EpZ5.js → CasinoLastPlayedSection-CxP8pk2p.js} +5 -5
  15. package/components/{CasinoLastPlayedSection-ChqZAUb2.js → CasinoLastPlayedSection-DOkMO4fB.js} +5 -5
  16. package/components/{CasinoMostPlayedSection-B7CNdPl9.js → CasinoMostPlayedSection-C1062fag.js} +6 -6
  17. package/components/{CasinoMostPlayedSection-DrpVPyp1.cjs → CasinoMostPlayedSection-DHqzGSkb.cjs} +1 -1
  18. package/components/{CasinoMostPlayedSection-BhQOjQ4Q.js → CasinoMostPlayedSection-DMx6wiIR.js} +6 -6
  19. package/components/{CasinoMyGames-CCniTKPK.js → CasinoMyGames-CWh6pByg.js} +8 -8
  20. package/components/{CasinoMyGames-C6blrddx.cjs → CasinoMyGames-CpGkKx4q.cjs} +1 -1
  21. package/components/{CasinoMyGames-DonHCEUG.js → CasinoMyGames-CpK_7_pS.js} +8 -8
  22. package/components/{CasinoSort-D8OyOCu4.js → CasinoSort-B16WyO1D.js} +105 -104
  23. package/components/{CasinoSort-B8Omjlx0.js → CasinoSort-CdYoQsYh.js} +112 -113
  24. package/components/{CasinoSort-uNkXBWss.cjs → CasinoSort-D0OFAa6o.cjs} +1 -1
  25. package/es2015/casino-my-games.cjs +1 -1
  26. package/es2015/casino-my-games.js +1 -1
  27. package/esnext/casino-my-games.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  30. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  31. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  32. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
  33. package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
  34. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  38. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  39. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  40. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  41. package/components/CasinoFavoritesSection-CRww1NN4.cjs +0 -16
  42. package/components/CasinoFilter-DFU4ir1Y.cjs +0 -3
  43. package/components/CasinoGameThumbnail-BbQBtEV0.cjs +0 -47
  44. package/components/CasinoGamesCategorySection-CzbBgyIM.cjs +0 -1
  45. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { _ as ue, a as fe, b as de, c as $, $ as me, d as Ve, e as Re, S as He, i as Je, f as L, g as Ne, s as Ye, h as qe, j as y, k as z, n as be, l as U, m as Ge, o as Ze, p as Ke, q as Qe, r as Xe, t as $e, u as ge, v as re, w as O, x as j, y as c, z as f, A as le, B as N, C as et, D as Te, E as ve, F as tt, G as ye } from "./CasinoFavoritesSection-DMcr3szm.js";
2
- function M(r) {
1
+ import { _ as ae, a as ce, b as ue, c as Q, $ as he, d as ze, e as Ue, S as Ve, i as Ne, f as I, g as Re, s as He, h as Je, j as y, k as W, n as me, l as z, m as Ye, o as qe, p as Ge, q as Ze, r as Ke, t as Qe, u as be, v as re, w as T, x as A, y as u, z as d, A as le, B as H, C as Xe, D as Le, E as ge, F as $e, G as ve } from "./CasinoFavoritesSection-ChwHGBdi.js";
2
+ function j(r) {
3
3
  return typeof r == "function";
4
4
  }
5
5
  function Oe(r) {
@@ -8,7 +8,7 @@ function Oe(r) {
8
8
  }, e = r(t);
9
9
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
10
10
  }
11
- var ae = Oe(function(r) {
11
+ var se = Oe(function(r) {
12
12
  return function(e) {
13
13
  r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
14
14
  ` + e.map(function(i, n) {
@@ -17,7 +17,7 @@ var ae = Oe(function(r) {
17
17
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
18
18
  };
19
19
  });
20
- function pe(r, t) {
20
+ function fe(r, t) {
21
21
  if (r) {
22
22
  var e = r.indexOf(t);
23
23
  0 <= e && r.splice(e, 1);
@@ -28,22 +28,22 @@ var oe = function() {
28
28
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
29
29
  }
30
30
  return r.prototype.unsubscribe = function() {
31
- var t, e, i, n, o;
31
+ var t, e, i, n, l;
32
32
  if (!this.closed) {
33
33
  this.closed = !0;
34
34
  var s = this._parentage;
35
35
  if (s)
36
36
  if (this._parentage = null, Array.isArray(s))
37
37
  try {
38
- for (var a = ue(s), u = a.next(); !u.done; u = a.next()) {
39
- var m = u.value;
40
- m.remove(this);
38
+ for (var c = ae(s), f = c.next(); !f.done; f = c.next()) {
39
+ var b = f.value;
40
+ b.remove(this);
41
41
  }
42
- } catch (b) {
43
- t = { error: b };
42
+ } catch (g) {
43
+ t = { error: g };
44
44
  } finally {
45
45
  try {
46
- u && !u.done && (e = a.return) && e.call(a);
46
+ f && !f.done && (e = c.return) && e.call(c);
47
47
  } finally {
48
48
  if (t)
49
49
  throw t.error;
@@ -51,44 +51,44 @@ var oe = function() {
51
51
  }
52
52
  else
53
53
  s.remove(this);
54
- var d = this.initialTeardown;
55
- if (M(d))
54
+ var h = this.initialTeardown;
55
+ if (j(h))
56
56
  try {
57
- d();
58
- } catch (b) {
59
- o = b instanceof ae ? b.errors : [b];
57
+ h();
58
+ } catch (g) {
59
+ l = g instanceof se ? g.errors : [g];
60
60
  }
61
- var F = this._finalizers;
62
- if (F) {
61
+ var w = this._finalizers;
62
+ if (w) {
63
63
  this._finalizers = null;
64
64
  try {
65
- for (var v = ue(F), P = v.next(); !P.done; P = v.next()) {
66
- var E = P.value;
65
+ for (var v = ae(w), k = v.next(); !k.done; k = v.next()) {
66
+ var P = k.value;
67
67
  try {
68
- _e(E);
69
- } catch (b) {
70
- o = o ?? [], b instanceof ae ? o = fe(fe([], de(o)), de(b.errors)) : o.push(b);
68
+ ye(P);
69
+ } catch (g) {
70
+ l = l != null ? l : [], g instanceof se ? l = ce(ce([], ue(l)), ue(g.errors)) : l.push(g);
71
71
  }
72
72
  }
73
- } catch (b) {
74
- i = { error: b };
73
+ } catch (g) {
74
+ i = { error: g };
75
75
  } finally {
76
76
  try {
77
- P && !P.done && (n = v.return) && n.call(v);
77
+ k && !k.done && (n = v.return) && n.call(v);
78
78
  } finally {
79
79
  if (i)
80
80
  throw i.error;
81
81
  }
82
82
  }
83
83
  }
84
- if (o)
85
- throw new ae(o);
84
+ if (l)
85
+ throw new se(l);
86
86
  }
87
87
  }, r.prototype.add = function(t) {
88
88
  var e;
89
89
  if (t && t !== this)
90
90
  if (this.closed)
91
- _e(t);
91
+ ye(t);
92
92
  else {
93
93
  if (t instanceof r) {
94
94
  if (t.closed || t._hasParent(this))
@@ -105,56 +105,56 @@ var oe = function() {
105
105
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
106
106
  }, r.prototype._removeParent = function(t) {
107
107
  var e = this._parentage;
108
- e === t ? this._parentage = null : Array.isArray(e) && pe(e, t);
108
+ e === t ? this._parentage = null : Array.isArray(e) && fe(e, t);
109
109
  }, r.prototype.remove = function(t) {
110
110
  var e = this._finalizers;
111
- e && pe(e, t), t instanceof r && t._removeParent(this);
111
+ e && fe(e, t), t instanceof r && t._removeParent(this);
112
112
  }, r.EMPTY = function() {
113
113
  var t = new r();
114
114
  return t.closed = !0, t;
115
115
  }(), r;
116
- }(), Ae = oe.EMPTY;
117
- function je(r) {
118
- return r instanceof oe || r && "closed" in r && M(r.remove) && M(r.add) && M(r.unsubscribe);
116
+ }(), Te = oe.EMPTY;
117
+ function Ae(r) {
118
+ return r instanceof oe || r && "closed" in r && j(r.remove) && j(r.add) && j(r.unsubscribe);
119
119
  }
120
- function _e(r) {
121
- M(r) ? r() : r.unsubscribe();
120
+ function ye(r) {
121
+ j(r) ? r() : r.unsubscribe();
122
122
  }
123
- var Me = {
123
+ var et = {
124
124
  onUnhandledError: null,
125
125
  onStoppedNotification: null,
126
126
  Promise: void 0,
127
127
  useDeprecatedSynchronousErrorHandling: !1,
128
128
  useDeprecatedNextContext: !1
129
- }, rt = {
129
+ }, tt = {
130
130
  setTimeout: function(r, t) {
131
131
  for (var e = [], i = 2; i < arguments.length; i++)
132
132
  e[i - 2] = arguments[i];
133
- return setTimeout.apply(void 0, fe([r, t], de(e)));
133
+ return setTimeout.apply(void 0, ce([r, t], ue(e)));
134
134
  },
135
135
  clearTimeout: function(r) {
136
136
  return clearTimeout(r);
137
137
  },
138
138
  delegate: void 0
139
139
  };
140
- function it(r) {
141
- rt.setTimeout(function() {
140
+ function rt(r) {
141
+ tt.setTimeout(function() {
142
142
  throw r;
143
143
  });
144
144
  }
145
- function we() {
145
+ function _e() {
146
146
  }
147
147
  function ne(r) {
148
148
  r();
149
149
  }
150
- var Be = function(r) {
151
- $(t, r);
150
+ var je = function(r) {
151
+ Q(t, r);
152
152
  function t(e) {
153
153
  var i = r.call(this) || this;
154
- return i.isStopped = !1, e ? (i.destination = e, je(e) && e.add(i)) : i.destination = st, i;
154
+ return i.isStopped = !1, e ? (i.destination = e, Ae(e) && e.add(i)) : i.destination = lt, i;
155
155
  }
156
156
  return t.create = function(e, i, n) {
157
- return new he(e, i, n);
157
+ return new de(e, i, n);
158
158
  }, t.prototype.next = function(e) {
159
159
  this.isStopped || this._next(e);
160
160
  }, t.prototype.error = function(e) {
@@ -178,11 +178,7 @@ var Be = function(r) {
178
178
  this.unsubscribe();
179
179
  }
180
180
  }, t;
181
- }(oe), nt = Function.prototype.bind;
182
- function ce(r, t) {
183
- return nt.call(r, t);
184
- }
185
- var lt = function() {
181
+ }(oe), it = function() {
186
182
  function r(t) {
187
183
  this.partialObserver = t;
188
184
  }
@@ -213,49 +209,37 @@ var lt = function() {
213
209
  ie(e);
214
210
  }
215
211
  }, r;
216
- }(), he = function(r) {
217
- $(t, r);
212
+ }(), de = function(r) {
213
+ Q(t, r);
218
214
  function t(e, i, n) {
219
- var o = r.call(this) || this, s;
220
- if (M(e) || !e)
221
- s = {
222
- next: e ?? void 0,
223
- error: i ?? void 0,
224
- complete: n ?? void 0
225
- };
226
- else {
227
- var a;
228
- o && Me.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
229
- return o.unsubscribe();
230
- }, s = {
231
- next: e.next && ce(e.next, a),
232
- error: e.error && ce(e.error, a),
233
- complete: e.complete && ce(e.complete, a)
234
- }) : s = e;
235
- }
236
- return o.destination = new lt(s), o;
215
+ var l = r.call(this) || this, s;
216
+ return j(e) || !e ? s = {
217
+ next: e != null ? e : void 0,
218
+ error: i != null ? i : void 0,
219
+ complete: n != null ? n : void 0
220
+ } : s = e, l.destination = new it(s), l;
237
221
  }
238
222
  return t;
239
- }(Be);
223
+ }(je);
240
224
  function ie(r) {
241
- it(r);
225
+ rt(r);
242
226
  }
243
- function ot(r) {
227
+ function nt(r) {
244
228
  throw r;
245
229
  }
246
- var st = {
230
+ var lt = {
247
231
  closed: !0,
248
- next: we,
249
- error: ot,
250
- complete: we
251
- }, at = function() {
232
+ next: _e,
233
+ error: nt,
234
+ complete: _e
235
+ }, ot = function() {
252
236
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
253
237
  }();
254
- function ct(r) {
238
+ function st(r) {
255
239
  return r;
256
240
  }
257
- function ut(r) {
258
- return r.length === 0 ? ct : r.length === 1 ? r[0] : function(e) {
241
+ function at(r) {
242
+ return r.length === 0 ? st : r.length === 1 ? r[0] : function(e) {
259
243
  return r.reduce(function(i, n) {
260
244
  return n(i);
261
245
  }, e);
@@ -269,11 +253,11 @@ var Fe = function() {
269
253
  var e = new r();
270
254
  return e.source = this, e.operator = t, e;
271
255
  }, r.prototype.subscribe = function(t, e, i) {
272
- var n = this, o = dt(t) ? t : new he(t, e, i);
256
+ var n = this, l = ut(t) ? t : new de(t, e, i);
273
257
  return ne(function() {
274
- var s = n, a = s.operator, u = s.source;
275
- o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
276
- }), o;
258
+ var s = n, c = s.operator, f = s.source;
259
+ l.add(c ? c.call(l, f) : f ? n._subscribe(l) : n._trySubscribe(l));
260
+ }), l;
277
261
  }, r.prototype._trySubscribe = function(t) {
278
262
  try {
279
263
  return this._subscribe(t);
@@ -282,16 +266,16 @@ var Fe = function() {
282
266
  }
283
267
  }, r.prototype.forEach = function(t, e) {
284
268
  var i = this;
285
- return e = Se(e), new e(function(n, o) {
286
- var s = new he({
287
- next: function(a) {
269
+ return e = we(e), new e(function(n, l) {
270
+ var s = new de({
271
+ next: function(c) {
288
272
  try {
289
- t(a);
290
- } catch (u) {
291
- o(u), s.unsubscribe();
273
+ t(c);
274
+ } catch (f) {
275
+ l(f), s.unsubscribe();
292
276
  }
293
277
  },
294
- error: o,
278
+ error: l,
295
279
  complete: n
296
280
  });
297
281
  i.subscribe(s);
@@ -299,70 +283,70 @@ var Fe = function() {
299
283
  }, r.prototype._subscribe = function(t) {
300
284
  var e;
301
285
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
302
- }, r.prototype[at] = function() {
286
+ }, r.prototype[ot] = function() {
303
287
  return this;
304
288
  }, r.prototype.pipe = function() {
305
289
  for (var t = [], e = 0; e < arguments.length; e++)
306
290
  t[e] = arguments[e];
307
- return ut(t)(this);
291
+ return at(t)(this);
308
292
  }, r.prototype.toPromise = function(t) {
309
293
  var e = this;
310
- return t = Se(t), new t(function(i, n) {
311
- var o;
294
+ return t = we(t), new t(function(i, n) {
295
+ var l;
312
296
  e.subscribe(function(s) {
313
- return o = s;
297
+ return l = s;
314
298
  }, function(s) {
315
299
  return n(s);
316
300
  }, function() {
317
- return i(o);
301
+ return i(l);
318
302
  });
319
303
  });
320
304
  }, r.create = function(t) {
321
305
  return new r(t);
322
306
  }, r;
323
307
  }();
324
- function Se(r) {
308
+ function we(r) {
325
309
  var t;
326
- return (t = r ?? Me.Promise) !== null && t !== void 0 ? t : Promise;
310
+ return (t = r != null ? r : et.Promise) !== null && t !== void 0 ? t : Promise;
327
311
  }
328
- function ft(r) {
329
- return r && M(r.next) && M(r.error) && M(r.complete);
312
+ function ct(r) {
313
+ return r && j(r.next) && j(r.error) && j(r.complete);
330
314
  }
331
- function dt(r) {
332
- return r && r instanceof Be || ft(r) && je(r);
315
+ function ut(r) {
316
+ return r && r instanceof je || ct(r) && Ae(r);
333
317
  }
334
- var pt = Oe(function(r) {
318
+ var ft = Oe(function(r) {
335
319
  return function() {
336
320
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
337
321
  };
338
- }), De = function(r) {
339
- $(t, r);
322
+ }), Me = function(r) {
323
+ Q(t, r);
340
324
  function t() {
341
325
  var e = r.call(this) || this;
342
326
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
343
327
  }
344
328
  return t.prototype.lift = function(e) {
345
- var i = new Ce(this, this);
329
+ var i = new Se(this, this);
346
330
  return i.operator = e, i;
347
331
  }, t.prototype._throwIfClosed = function() {
348
332
  if (this.closed)
349
- throw new pt();
333
+ throw new ft();
350
334
  }, t.prototype.next = function(e) {
351
335
  var i = this;
352
336
  ne(function() {
353
- var n, o;
337
+ var n, l;
354
338
  if (i._throwIfClosed(), !i.isStopped) {
355
339
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
356
340
  try {
357
- for (var s = ue(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
358
- var u = a.value;
359
- u.next(e);
341
+ for (var s = ae(i.currentObservers), c = s.next(); !c.done; c = s.next()) {
342
+ var f = c.value;
343
+ f.next(e);
360
344
  }
361
- } catch (m) {
362
- n = { error: m };
345
+ } catch (b) {
346
+ n = { error: b };
363
347
  } finally {
364
348
  try {
365
- a && !a.done && (o = s.return) && o.call(s);
349
+ c && !c.done && (l = s.return) && l.call(s);
366
350
  } finally {
367
351
  if (n)
368
352
  throw n.error;
@@ -402,21 +386,21 @@ var pt = Oe(function(r) {
402
386
  }, t.prototype._subscribe = function(e) {
403
387
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
404
388
  }, t.prototype._innerSubscribe = function(e) {
405
- var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
406
- return o || s ? Ae : (this.currentObservers = null, a.push(e), new oe(function() {
407
- i.currentObservers = null, pe(a, e);
389
+ var i = this, n = this, l = n.hasError, s = n.isStopped, c = n.observers;
390
+ return l || s ? Te : (this.currentObservers = null, c.push(e), new oe(function() {
391
+ i.currentObservers = null, fe(c, e);
408
392
  }));
409
393
  }, t.prototype._checkFinalizedStatuses = function(e) {
410
- var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
411
- n ? e.error(o) : s && e.complete();
394
+ var i = this, n = i.hasError, l = i.thrownError, s = i.isStopped;
395
+ n ? e.error(l) : s && e.complete();
412
396
  }, t.prototype.asObservable = function() {
413
397
  var e = new Fe();
414
398
  return e.source = this, e;
415
399
  }, t.create = function(e, i) {
416
- return new Ce(e, i);
400
+ return new Se(e, i);
417
401
  }, t;
418
- }(Fe), Ce = function(r) {
419
- $(t, r);
402
+ }(Fe), Se = function(r) {
403
+ Q(t, r);
420
404
  function t(e, i) {
421
405
  var n = r.call(this) || this;
422
406
  return n.destination = e, n.source = i, n;
@@ -432,49 +416,49 @@ var pt = Oe(function(r) {
432
416
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
433
417
  }, t.prototype._subscribe = function(e) {
434
418
  var i, n;
435
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Ae;
419
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Te;
436
420
  }, t;
437
- }(De), We = {
421
+ }(Me), Be = {
438
422
  now: function() {
439
- return (We.delegate || Date).now();
423
+ return (Be.delegate || Date).now();
440
424
  },
441
425
  delegate: void 0
442
- }, ht = function(r) {
443
- $(t, r);
426
+ }, dt = function(r) {
427
+ Q(t, r);
444
428
  function t(e, i, n) {
445
- e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = We);
446
- var o = r.call(this) || this;
447
- return o._bufferSize = e, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, i), o;
429
+ e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Be);
430
+ var l = r.call(this) || this;
431
+ return l._bufferSize = e, l._windowTime = i, l._timestampProvider = n, l._buffer = [], l._infiniteTimeWindow = !0, l._infiniteTimeWindow = i === 1 / 0, l._bufferSize = Math.max(1, e), l._windowTime = Math.max(1, i), l;
448
432
  }
449
433
  return t.prototype.next = function(e) {
450
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, u = i._windowTime;
451
- n || (o.push(e), !s && o.push(a.now() + u)), this._trimBuffer(), r.prototype.next.call(this, e);
434
+ var i = this, n = i.isStopped, l = i._buffer, s = i._infiniteTimeWindow, c = i._timestampProvider, f = i._windowTime;
435
+ n || (l.push(e), !s && l.push(c.now() + f)), this._trimBuffer(), r.prototype.next.call(this, e);
452
436
  }, t.prototype._subscribe = function(e) {
453
437
  this._throwIfClosed(), this._trimBuffer();
454
- for (var i = this._innerSubscribe(e), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), u = 0; u < a.length && !e.closed; u += o ? 1 : 2)
455
- e.next(a[u]);
438
+ for (var i = this._innerSubscribe(e), n = this, l = n._infiniteTimeWindow, s = n._buffer, c = s.slice(), f = 0; f < c.length && !e.closed; f += l ? 1 : 2)
439
+ e.next(c[f]);
456
440
  return this._checkFinalizedStatuses(e), i;
457
441
  }, t.prototype._trimBuffer = function() {
458
- var e = this, i = e._bufferSize, n = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, a = (s ? 1 : 2) * i;
459
- if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
460
- for (var u = n.now(), m = 0, d = 1; d < o.length && o[d] <= u; d += 2)
461
- m = d;
462
- m && o.splice(0, m + 1);
442
+ var e = this, i = e._bufferSize, n = e._timestampProvider, l = e._buffer, s = e._infiniteTimeWindow, c = (s ? 1 : 2) * i;
443
+ if (i < 1 / 0 && c < l.length && l.splice(0, l.length - c), !s) {
444
+ for (var f = n.now(), b = 0, h = 1; h < l.length && l[h] <= f; h += 2)
445
+ b = h;
446
+ b && l.splice(0, b + 1);
463
447
  }
464
448
  }, t;
465
- }(De);
466
- const xe = [], ke = {}, mt = (r, t = 0) => {
449
+ }(Me);
450
+ const xe = [], Ce = {}, pt = (r, t = 0) => {
467
451
  if (xe.indexOf(r) == -1) {
468
- const e = new ht(t);
469
- ke[r] = e, xe.push(r);
452
+ const e = new dt(t);
453
+ Ce[r] = e, xe.push(r);
470
454
  }
471
- return ke[r];
455
+ return Ce[r];
472
456
  };
473
- window.emWidgets = { topic: mt };
474
- const bt = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), gt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
475
- function It(r, t) {
457
+ window.emWidgets = { topic: pt };
458
+ const ht = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), mt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
459
+ function Pt(r, t) {
476
460
  const e = window.navigator.userAgent;
477
- return bt(e) ? t = r.filter((i) => {
461
+ return ht(e) ? t = r.filter((i) => {
478
462
  if (i.gameModel && (i.gameModel.platform.includes("iPad") || i.gameModel.platform.includes("iPhone") || i.gameModel.platform.includes("Android")))
479
463
  return i;
480
464
  }) : t = r.filter((i) => {
@@ -482,15 +466,15 @@ function It(r, t) {
482
466
  return i;
483
467
  }), t;
484
468
  }
485
- function vt({ withLocale: r, translations: t }) {
486
- me.subscribe((e) => {
487
- e == null && (Ve.set(t), me.set(r));
469
+ function bt({ withLocale: r, translations: t }) {
470
+ he.subscribe((e) => {
471
+ e == null && (ze.set(t), he.set(r));
488
472
  });
489
473
  }
490
- function Pe(r, t) {
491
- Re(r, t);
474
+ function ke(r, t) {
475
+ Ue(r, t);
492
476
  }
493
- const Ee = {
477
+ const Pe = {
494
478
  en: {
495
479
  providers: "Providers:",
496
480
  filterby: "Filter by:",
@@ -600,56 +584,56 @@ const Ee = {
600
584
  clear: "Clear all"
601
585
  }
602
586
  };
603
- function yt(r) {
604
- qe(r, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
587
+ function gt(r) {
588
+ Je(r, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
605
589
  }
606
- function Ie(r, t, e) {
590
+ function Ee(r, t, e) {
607
591
  const i = r.slice();
608
592
  return i[37] = t[e], i[38] = t, i[39] = e, i;
609
593
  }
610
- function _t(r) {
611
- let t, e, i, n, o, s, a, u, m = (
594
+ function vt(r) {
595
+ let t, e, i, n, l, s, c, f, b = (
612
596
  /*$_*/
613
597
  r[11]("filterby") + ""
614
- ), d, F, v, P, E = (
598
+ ), h, w, v, k, P = (
615
599
  /*$_*/
616
600
  r[11]("providers") + ""
617
- ), b, k, S, _, p, T, B, V, Y, C, D, Q, A, R = (
601
+ ), g, C, S, _, m, L, M, U, J, x, B, X, O, V = (
618
602
  /*$_*/
619
603
  r[11]("clear") + ""
620
- ), q, H, J, G, Z, X;
621
- function ee(l, h) {
604
+ ), Y, N, q, R, G, $;
605
+ function ee(a, F) {
622
606
  return (
623
607
  /*fullSelection*/
624
- l[7] ? St : Ft
608
+ a[7] ? Ft : _t
625
609
  );
626
610
  }
627
- let K = ee(r), I = K(r), W = ge(
611
+ let Z = ee(r), E = Z(r), D = be(
628
612
  /*vendorArray*/
629
613
  r[5]
630
- ), x = [];
631
- for (let l = 0; l < W.length; l += 1)
632
- x[l] = Le(Ie(r, W, l));
614
+ ), o = [];
615
+ for (let a = 0; a < D.length; a += 1)
616
+ o[a] = Ie(Ee(r, D, a));
633
617
  return {
634
618
  c() {
635
- t = y("div"), e = y("div"), i = y("div"), n = re("svg"), o = re("path"), s = O(), a = y("div"), u = y("span"), d = j(m), F = O(), v = y("div"), P = y("span"), b = j(E), k = O(), I.c(), S = O(), _ = y("span"), p = re("svg"), T = re("path"), Y = O(), C = y("div"), D = y("ul");
636
- for (let l = 0; l < x.length; l += 1)
637
- x[l].c();
638
- Q = O(), A = y("button"), q = j(R), c(o, "id", "noun_filter_736223"), c(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), c(o, "transform", "translate(-5 -6.2)"), c(o, "fill", "#fff"), c(n, "xmlns", "http://www.w3.org/2000/svg"), c(n, "width", "16"), c(n, "height", "16"), c(n, "viewBox", "0 0 16 16"), c(u, "class", "FilterName"), c(v, "class", "FilterValueContainer"), c(a, "class", "FilterTextContainer"), c(i, "class", "FilterMainArea"), c(T, "id", "arrow"), c(T, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), c(T, "transform", "translate(-274.511 -441.088)"), c(T, "fill", "#d1d1d1"), c(p, "xmlns", "http://www.w3.org/2000/svg"), c(p, "width", "14"), c(p, "height", "6.835"), c(p, "viewBox", "0 0 14 6.835"), c(_, "class", B = "TriangleInactive " + /*isFilterActive*/
639
- (r[4] ? "TriangleActive" : "")), c(e, "class", V = "FilterSelector " + /*isFilterActive*/
640
- (r[4] ? "FilterSelectorOpen" : "")), c(D, "class", "FilterDropdown"), c(A, "class", "ClearFilters"), A.disabled = H = /*fullSelection*/
619
+ t = y("div"), e = y("div"), i = y("div"), n = re("svg"), l = re("path"), s = T(), c = y("div"), f = y("span"), h = A(b), w = T(), v = y("div"), k = y("span"), g = A(P), C = T(), E.c(), S = T(), _ = y("span"), m = re("svg"), L = re("path"), J = T(), x = y("div"), B = y("ul");
620
+ for (let a = 0; a < o.length; a += 1)
621
+ o[a].c();
622
+ X = T(), O = y("button"), Y = A(V), u(l, "id", "noun_filter_736223"), u(l, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), u(l, "transform", "translate(-5 -6.2)"), u(l, "fill", "#fff"), u(n, "xmlns", "http://www.w3.org/2000/svg"), u(n, "width", "16"), u(n, "height", "16"), u(n, "viewBox", "0 0 16 16"), u(f, "class", "FilterName"), u(v, "class", "FilterValueContainer"), u(c, "class", "FilterTextContainer"), u(i, "class", "FilterMainArea"), u(L, "id", "arrow"), u(L, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), u(L, "transform", "translate(-274.511 -441.088)"), u(L, "fill", "#d1d1d1"), u(m, "xmlns", "http://www.w3.org/2000/svg"), u(m, "width", "14"), u(m, "height", "6.835"), u(m, "viewBox", "0 0 14 6.835"), u(_, "class", M = "TriangleInactive " + /*isFilterActive*/
623
+ (r[4] ? "TriangleActive" : "")), u(e, "class", U = "FilterSelector " + /*isFilterActive*/
624
+ (r[4] ? "FilterSelectorOpen" : "")), u(B, "class", "FilterDropdown"), u(O, "class", "ClearFilters"), O.disabled = N = /*fullSelection*/
641
625
  r[7] && /*selectedVendorArray*/
642
626
  r[6].length != /*vendorArray*/
643
- r[5].length, c(C, "class", J = "FilterDropdownContainer " + /*isFilterActive*/
644
- (r[4] ? "FilterOpen" : "")), c(t, "class", G = "FilterContainer " + /*addfilterselector*/
627
+ r[5].length, u(x, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
628
+ (r[4] ? "FilterOpen" : "")), u(t, "class", R = "FilterContainer " + /*addfilterselector*/
645
629
  (r[0] == "true" && /*addsortingselector*/
646
630
  r[1] == "true" ? "FilerContainerSplit" : ""));
647
631
  },
648
- m(l, h) {
649
- z(l, t, h), f(t, e), f(e, i), f(i, n), f(n, o), f(i, s), f(i, a), f(a, u), f(u, d), f(a, F), f(a, v), f(v, P), f(P, b), f(v, k), I.m(v, null), f(e, S), f(e, _), f(_, p), f(p, T), f(t, Y), f(t, C), f(C, D);
650
- for (let g = 0; g < x.length; g += 1)
651
- x[g] && x[g].m(D, null);
652
- f(C, Q), f(C, A), f(A, q), Z || (X = [
632
+ m(a, F) {
633
+ W(a, t, F), d(t, e), d(e, i), d(i, n), d(n, l), d(i, s), d(i, c), d(c, f), d(f, h), d(c, w), d(c, v), d(v, k), d(k, g), d(v, C), E.m(v, null), d(e, S), d(e, _), d(_, m), d(m, L), d(t, J), d(t, x), d(x, B);
634
+ for (let p = 0; p < o.length; p += 1)
635
+ o[p] && o[p].m(B, null);
636
+ d(x, X), d(x, O), d(O, Y), G || ($ = [
653
637
  le(
654
638
  e,
655
639
  "click",
@@ -657,66 +641,66 @@ function _t(r) {
657
641
  r[24]
658
642
  ),
659
643
  le(
660
- A,
644
+ O,
661
645
  "click",
662
646
  /*click_handler_2*/
663
647
  r[27]
664
648
  )
665
- ], Z = !0);
649
+ ], G = !0);
666
650
  },
667
- p(l, h) {
668
- if (h[0] & /*$_*/
669
- 2048 && m !== (m = /*$_*/
670
- l[11]("filterby") + "") && N(d, m), h[0] & /*$_*/
671
- 2048 && E !== (E = /*$_*/
672
- l[11]("providers") + "") && N(b, E), K === (K = ee(l)) && I ? I.p(l, h) : (I.d(1), I = K(l), I && (I.c(), I.m(v, null))), h[0] & /*isFilterActive*/
673
- 16 && B !== (B = "TriangleInactive " + /*isFilterActive*/
674
- (l[4] ? "TriangleActive" : "")) && c(_, "class", B), h[0] & /*isFilterActive*/
675
- 16 && V !== (V = "FilterSelector " + /*isFilterActive*/
676
- (l[4] ? "FilterSelectorOpen" : "")) && c(e, "class", V), h[0] & /*filterbylogo, vendorArray, filterByVendors*/
651
+ p(a, F) {
652
+ if (F[0] & /*$_*/
653
+ 2048 && b !== (b = /*$_*/
654
+ a[11]("filterby") + "") && H(h, b), F[0] & /*$_*/
655
+ 2048 && P !== (P = /*$_*/
656
+ a[11]("providers") + "") && H(g, P), Z === (Z = ee(a)) && E ? E.p(a, F) : (E.d(1), E = Z(a), E && (E.c(), E.m(v, null))), F[0] & /*isFilterActive*/
657
+ 16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
658
+ (a[4] ? "TriangleActive" : "")) && u(_, "class", M), F[0] & /*isFilterActive*/
659
+ 16 && U !== (U = "FilterSelector " + /*isFilterActive*/
660
+ (a[4] ? "FilterSelectorOpen" : "")) && u(e, "class", U), F[0] & /*filterbylogo, vendorArray, filterByVendors*/
677
661
  8228) {
678
- W = ge(
662
+ D = be(
679
663
  /*vendorArray*/
680
- l[5]
664
+ a[5]
681
665
  );
682
- let g;
683
- for (g = 0; g < W.length; g += 1) {
684
- const w = Ie(l, W, g);
685
- x[g] ? x[g].p(w, h) : (x[g] = Le(w), x[g].c(), x[g].m(D, null));
666
+ let p;
667
+ for (p = 0; p < D.length; p += 1) {
668
+ const K = Ee(a, D, p);
669
+ o[p] ? o[p].p(K, F) : (o[p] = Ie(K), o[p].c(), o[p].m(B, null));
686
670
  }
687
- for (; g < x.length; g += 1)
688
- x[g].d(1);
689
- x.length = W.length;
671
+ for (; p < o.length; p += 1)
672
+ o[p].d(1);
673
+ o.length = D.length;
690
674
  }
691
- h[0] & /*$_*/
692
- 2048 && R !== (R = /*$_*/
693
- l[11]("clear") + "") && N(q, R), h[0] & /*fullSelection, selectedVendorArray, vendorArray*/
694
- 224 && H !== (H = /*fullSelection*/
695
- l[7] && /*selectedVendorArray*/
696
- l[6].length != /*vendorArray*/
697
- l[5].length) && (A.disabled = H), h[0] & /*isFilterActive*/
698
- 16 && J !== (J = "FilterDropdownContainer " + /*isFilterActive*/
699
- (l[4] ? "FilterOpen" : "")) && c(C, "class", J), h[0] & /*addfilterselector, addsortingselector*/
700
- 3 && G !== (G = "FilterContainer " + /*addfilterselector*/
701
- (l[0] == "true" && /*addsortingselector*/
702
- l[1] == "true" ? "FilerContainerSplit" : "")) && c(t, "class", G);
675
+ F[0] & /*$_*/
676
+ 2048 && V !== (V = /*$_*/
677
+ a[11]("clear") + "") && H(Y, V), F[0] & /*fullSelection, selectedVendorArray, vendorArray*/
678
+ 224 && N !== (N = /*fullSelection*/
679
+ a[7] && /*selectedVendorArray*/
680
+ a[6].length != /*vendorArray*/
681
+ a[5].length) && (O.disabled = N), F[0] & /*isFilterActive*/
682
+ 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
683
+ (a[4] ? "FilterOpen" : "")) && u(x, "class", q), F[0] & /*addfilterselector, addsortingselector*/
684
+ 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
685
+ (a[0] == "true" && /*addsortingselector*/
686
+ a[1] == "true" ? "FilerContainerSplit" : "")) && u(t, "class", R);
703
687
  },
704
- d(l) {
705
- l && U(t), I.d(), et(x, l), Z = !1, Te(X);
688
+ d(a) {
689
+ a && z(t), E.d(), Xe(o, a), G = !1, Le($);
706
690
  }
707
691
  };
708
692
  }
709
- function wt(r) {
693
+ function yt(r) {
710
694
  let t, e = (
711
695
  /*$_*/
712
696
  r[11]("500") + ""
713
697
  );
714
698
  return {
715
699
  c() {
716
- t = y("p"), c(t, "class", "SearchLoading");
700
+ t = y("p"), u(t, "class", "SearchLoading");
717
701
  },
718
702
  m(i, n) {
719
- z(i, t, n), t.innerHTML = e;
703
+ W(i, t, n), t.innerHTML = e;
720
704
  },
721
705
  p(i, n) {
722
706
  n[0] & /*$_*/
@@ -724,107 +708,107 @@ function wt(r) {
724
708
  i[11]("500") + "") && (t.innerHTML = e);
725
709
  },
726
710
  d(i) {
727
- i && U(t);
711
+ i && z(t);
728
712
  }
729
713
  };
730
714
  }
731
- function Ft(r) {
715
+ function _t(r) {
732
716
  let t, e;
733
717
  return {
734
718
  c() {
735
- t = y("span"), e = j(
719
+ t = y("span"), e = A(
736
720
  /*selectionNumber*/
737
721
  r[8]
738
- ), c(t, "class", "FilterCounter");
722
+ ), u(t, "class", "FilterCounter");
739
723
  },
740
724
  m(i, n) {
741
- z(i, t, n), f(t, e);
725
+ W(i, t, n), d(t, e);
742
726
  },
743
727
  p(i, n) {
744
728
  n[0] & /*selectionNumber*/
745
- 256 && N(
729
+ 256 && H(
746
730
  e,
747
731
  /*selectionNumber*/
748
732
  i[8]
749
733
  );
750
734
  },
751
735
  d(i) {
752
- i && U(t);
736
+ i && z(t);
753
737
  }
754
738
  };
755
739
  }
756
- function St(r) {
740
+ function Ft(r) {
757
741
  let t, e = (
758
742
  /*$_*/
759
743
  r[11]("all") + ""
760
744
  ), i;
761
745
  return {
762
746
  c() {
763
- t = y("span"), i = j(e), c(t, "class", "FilterCounter");
747
+ t = y("span"), i = A(e), u(t, "class", "FilterCounter");
764
748
  },
765
- m(n, o) {
766
- z(n, t, o), f(t, i);
749
+ m(n, l) {
750
+ W(n, t, l), d(t, i);
767
751
  },
768
- p(n, o) {
769
- o[0] & /*$_*/
752
+ p(n, l) {
753
+ l[0] & /*$_*/
770
754
  2048 && e !== (e = /*$_*/
771
- n[11]("all") + "") && N(i, e);
755
+ n[11]("all") + "") && H(i, e);
772
756
  },
773
757
  d(n) {
774
- n && U(t);
758
+ n && z(t);
775
759
  }
776
760
  };
777
761
  }
778
- function Ct(r) {
762
+ function wt(r) {
779
763
  let t, e;
780
764
  return {
781
765
  c() {
782
- t = y("img"), ye(t.src, e = /*vendor*/
783
- r[37].logo) || c(t, "src", e), c(t, "alt", "vendor logo");
766
+ t = y("img"), ve(t.src, e = /*vendor*/
767
+ r[37].logo) || u(t, "src", e), u(t, "alt", "vendor logo");
784
768
  },
785
769
  m(i, n) {
786
- z(i, t, n);
770
+ W(i, t, n);
787
771
  },
788
772
  p(i, n) {
789
773
  n[0] & /*vendorArray*/
790
- 32 && !ye(t.src, e = /*vendor*/
791
- i[37].logo) && c(t, "src", e);
774
+ 32 && !ve(t.src, e = /*vendor*/
775
+ i[37].logo) && u(t, "src", e);
792
776
  },
793
777
  d(i) {
794
- i && U(t);
778
+ i && z(t);
795
779
  }
796
780
  };
797
781
  }
798
- function xt(r) {
782
+ function St(r) {
799
783
  let t, e, i = (
800
784
  /*vendor*/
801
785
  r[37].name + ""
802
- ), n, o, s, a, u = (
786
+ ), n, l, s, c, f = (
803
787
  /*vendor*/
804
788
  r[37].games.total + ""
805
- ), m, d;
789
+ ), b, h;
806
790
  return {
807
791
  c() {
808
- t = y("div"), e = y("span"), n = j(i), o = O(), s = y("span"), a = j("("), m = j(u), d = j(")"), c(e, "class", "VendorName"), c(t, "class", "FilterItemLabel");
792
+ t = y("div"), e = y("span"), n = A(i), l = T(), s = y("span"), c = A("("), b = A(f), h = A(")"), u(e, "class", "VendorName"), u(t, "class", "FilterItemLabel");
809
793
  },
810
- m(F, v) {
811
- z(F, t, v), f(t, e), f(e, n), f(t, o), f(t, s), f(s, a), f(s, m), f(s, d);
794
+ m(w, v) {
795
+ W(w, t, v), d(t, e), d(e, n), d(t, l), d(t, s), d(s, c), d(s, b), d(s, h);
812
796
  },
813
- p(F, v) {
797
+ p(w, v) {
814
798
  v[0] & /*vendorArray*/
815
799
  32 && i !== (i = /*vendor*/
816
- F[37].name + "") && N(n, i), v[0] & /*vendorArray*/
817
- 32 && u !== (u = /*vendor*/
818
- F[37].games.total + "") && N(m, u);
800
+ w[37].name + "") && H(n, i), v[0] & /*vendorArray*/
801
+ 32 && f !== (f = /*vendor*/
802
+ w[37].games.total + "") && H(b, f);
819
803
  },
820
- d(F) {
821
- F && U(t);
804
+ d(w) {
805
+ w && z(t);
822
806
  }
823
807
  };
824
808
  }
825
- function Le(r) {
826
- let t, e, i, n, o, s, a, u, m, d, F, v;
827
- function P() {
809
+ function Ie(r) {
810
+ let t, e, i, n, l, s, c, f, b, h, w, v;
811
+ function k() {
828
812
  r[25].call(
829
813
  i,
830
814
  /*each_value*/
@@ -833,7 +817,7 @@ function Le(r) {
833
817
  r[39]
834
818
  );
835
819
  }
836
- function E() {
820
+ function P() {
837
821
  return (
838
822
  /*click_handler_1*/
839
823
  r[26](
@@ -842,194 +826,195 @@ function Le(r) {
842
826
  )
843
827
  );
844
828
  }
845
- function b(_, p) {
829
+ function g(_, m) {
846
830
  if (
847
831
  /*filterbylogo*/
848
832
  _[2] === "false"
849
833
  )
850
- return xt;
834
+ return St;
851
835
  if (
852
836
  /*filterbylogo*/
853
837
  _[2] === "true"
854
838
  )
855
- return Ct;
839
+ return wt;
856
840
  }
857
- let k = b(r), S = k && k(r);
841
+ let C = g(r), S = C && C(r);
858
842
  return {
859
843
  c() {
860
- t = y("li"), e = y("label"), i = y("input"), o = O(), s = y("span"), a = O(), S && S.c(), u = O(), c(i, "type", "checkbox"), c(i, "name", "checkbox"), i.__value = n = /*vendor*/
861
- r[37].name, ve(i, i.__value), c(s, "class", "FiltersCheckmark"), c(e, "class", "FilterLabel"), c(t, "class", m = "FilterItem " + /*filterbylogo*/
862
- (r[2] === "true" ? "FilterItemWithLogos" : "")), t.value = d = /*vendor*/
844
+ t = y("li"), e = y("label"), i = y("input"), l = T(), s = y("span"), c = T(), S && S.c(), f = T(), u(i, "type", "checkbox"), u(i, "name", "checkbox"), i.__value = n = /*vendor*/
845
+ r[37].name, ge(i, i.__value), u(s, "class", "FiltersCheckmark"), u(e, "class", "FilterLabel"), u(t, "class", b = "FilterItem " + /*filterbylogo*/
846
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
863
847
  r[37].name;
864
848
  },
865
- m(_, p) {
866
- z(_, t, p), f(t, e), f(e, i), i.checked = /*vendor*/
867
- r[37].isFilterSelected, f(e, o), f(e, s), f(e, a), S && S.m(e, null), f(t, u), F || (v = [
868
- le(i, "change", P),
869
- le(i, "click", E)
870
- ], F = !0);
849
+ m(_, m) {
850
+ W(_, t, m), d(t, e), d(e, i), i.checked = /*vendor*/
851
+ r[37].isFilterSelected, d(e, l), d(e, s), d(e, c), S && S.m(e, null), d(t, f), w || (v = [
852
+ le(i, "change", k),
853
+ le(i, "click", P)
854
+ ], w = !0);
871
855
  },
872
- p(_, p) {
873
- r = _, p[0] & /*vendorArray*/
856
+ p(_, m) {
857
+ r = _, m[0] & /*vendorArray*/
874
858
  32 && n !== (n = /*vendor*/
875
- r[37].name) && (i.__value = n, ve(i, i.__value)), p[0] & /*vendorArray*/
859
+ r[37].name) && (i.__value = n, ge(i, i.__value)), m[0] & /*vendorArray*/
876
860
  32 && (i.checked = /*vendor*/
877
- r[37].isFilterSelected), k === (k = b(r)) && S ? S.p(r, p) : (S && S.d(1), S = k && k(r), S && (S.c(), S.m(e, null))), p[0] & /*filterbylogo*/
878
- 4 && m !== (m = "FilterItem " + /*filterbylogo*/
879
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && c(t, "class", m), p[0] & /*vendorArray*/
880
- 32 && d !== (d = /*vendor*/
881
- r[37].name) && (t.value = d);
861
+ r[37].isFilterSelected), C === (C = g(r)) && S ? S.p(r, m) : (S && S.d(1), S = C && C(r), S && (S.c(), S.m(e, null))), m[0] & /*filterbylogo*/
862
+ 4 && b !== (b = "FilterItem " + /*filterbylogo*/
863
+ (r[2] === "true" ? "FilterItemWithLogos" : "")) && u(t, "class", b), m[0] & /*vendorArray*/
864
+ 32 && h !== (h = /*vendor*/
865
+ r[37].name) && (t.value = h);
882
866
  },
883
867
  d(_) {
884
- _ && U(t), S && S.d(), F = !1, Te(v);
868
+ _ && z(t), S && S.d(), w = !1, Le(v);
885
869
  }
886
870
  };
887
871
  }
888
- function kt(r) {
872
+ function xt(r) {
889
873
  let t;
890
- function e(o, s) {
874
+ function e(l, s) {
891
875
  if (
892
876
  /*hasErrors*/
893
- o[10]
877
+ l[10]
894
878
  )
895
- return wt;
879
+ return yt;
896
880
  if (!/*isLoading*/
897
- o[9])
898
- return _t;
881
+ l[9])
882
+ return vt;
899
883
  }
900
884
  let i = e(r), n = i && i(r);
901
885
  return {
902
886
  c() {
903
887
  t = y("div"), n && n.c();
904
888
  },
905
- m(o, s) {
906
- z(o, t, s), n && n.m(t, null), r[28](t);
889
+ m(l, s) {
890
+ W(l, t, s), n && n.m(t, null), r[28](t);
907
891
  },
908
- p(o, s) {
909
- i === (i = e(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null)));
892
+ p(l, s) {
893
+ i === (i = e(l)) && n ? n.p(l, s) : (n && n.d(1), n = i && i(l), n && (n.c(), n.m(t, null)));
910
894
  },
911
- i: be,
912
- o: be,
913
- d(o) {
914
- o && U(t), n && n.d(), r[28](null);
895
+ i: me,
896
+ o: me,
897
+ d(l) {
898
+ l && z(t), n && n.d(), r[28](null);
915
899
  }
916
900
  };
917
901
  }
918
- function Pt(r, t, e) {
902
+ function Ct(r, t, e) {
919
903
  let i;
920
- Ge(r, tt, (l) => e(11, i = l));
921
- let { endpoint: n = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: m = "" } = t, { categoryid: d = "" } = t, { addfilterselector: F = "false" } = t, { addsortingselector: v = "false" } = t, { filterbylogo: P = "false" } = t, { mbsource: E } = t, { usesinglevendorfilter: b = "false" } = t, k = !1, S = window.navigator.userAgent, _ = [], p = [], T = {}, B = !1, V = 0, Y = !0, C, D = !1, Q;
922
- vt({ withLocale: "en", translations: {} });
923
- const A = () => {
924
- fetch(a).then((h) => h.json()).then((h) => {
925
- Object.keys(h).forEach((g) => {
926
- Pe(g, h[g]);
904
+ Ye(r, $e, (o) => e(11, i = o));
905
+ let { endpoint: n = "" } = t, { datasource: l = "" } = t, { lang: s = "" } = t, { translationurl: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: b = "" } = t, { categoryid: h = "" } = t, { addfilterselector: w = "false" } = t, { addsortingselector: v = "false" } = t, { filterbylogo: k = "false" } = t, { mbsource: P } = t, { usesinglevendorfilter: g = "false" } = t, C = !1, S = window.navigator.userAgent, _ = [], m = [], L = {}, M = !1, U = 0, J = !0, x, B = !1;
906
+ bt({ withLocale: "en", translations: {} });
907
+ const X = () => {
908
+ fetch(c).then((a) => a.json()).then((a) => {
909
+ Object.keys(a).forEach((F) => {
910
+ ke(F, a[F]);
927
911
  });
928
- }).catch((h) => {
929
- console.log(h);
912
+ }).catch((a) => {
913
+ console.log(a);
930
914
  });
931
915
  };
932
- Object.keys(Ee).forEach((l) => {
933
- Pe(l, Ee[l]);
934
- }), T[d] && (T = { [d]: [] });
935
- const R = () => {
936
- e(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
937
- }, q = (l) => (e(9, Y = !0), new Promise((h, g) => {
938
- fetch(l).then((w) => w.json()).then((w) => {
939
- w = w.items, h(w.items), e(6, p = []);
940
- let se = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
941
- const Ue = b === "true" ? "*" : d;
942
- w.forEach((te) => {
943
- se || (se = { currentCategoryId: [] }), se[Ue]?.indexOf(te.id) >= 0 ? (te.isFilterSelected = !0, p.push(te)) : te.isFilterSelected = !1;
944
- }), e(5, _ = w), J();
945
- }).catch((w) => {
946
- console.error(w), e(10, D = !0), g(w);
916
+ Object.keys(Pe).forEach((o) => {
917
+ ke(o, Pe[o]);
918
+ }), L[h] && (L = { [h]: [] });
919
+ const O = () => {
920
+ e(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
921
+ }, V = (o) => (e(9, J = !0), new Promise((a, F) => {
922
+ fetch(o).then((p) => p.json()).then((p) => {
923
+ p = p.items, a(p.items), e(6, m = []);
924
+ let K = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
925
+ const We = g === "true" ? "*" : h;
926
+ p.forEach((te) => {
927
+ var pe;
928
+ K || (K = { currentCategoryId: [] }), ((pe = K[We]) == null ? void 0 : pe.indexOf(te.id)) >= 0 ? (te.isFilterSelected = !0, m.push(te)) : te.isFilterSelected = !1;
929
+ }), e(5, _ = p), N();
930
+ }).catch((p) => {
931
+ console.error(p), e(10, B = !0), F(p);
947
932
  }).finally(() => {
948
- e(9, Y = !1);
933
+ e(9, J = !1);
949
934
  });
950
- })), H = (l) => {
951
- let h = localStorage.getItem("vendorFiltersByCategory");
952
- l.isFilterSelected = !l.isFilterSelected, !p.length || p.filter((w) => w.name === l.name).length == 0 ? p.push(l) : e(6, p = p.filter((w) => w.name !== l.name));
953
- const g = b === "true" ? "*" : d;
954
- h == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T = {
955
- [g]: p.map((w) => w.id)
956
- })) : (h = JSON.parse(h), h[g] = p.map((w) => w.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(h))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), J();
957
- }, J = () => {
958
- e(7, B = p.length === _.length || p.length == 0), e(8, V = p.length);
959
- }, G = () => {
960
- if (_.length && b === "true")
935
+ })), Y = (o) => {
936
+ let a = localStorage.getItem("vendorFiltersByCategory");
937
+ o.isFilterSelected = !o.isFilterSelected, !m.length || m.filter((p) => p.name === o.name).length == 0 ? m.push(o) : e(6, m = m.filter((p) => p.name !== o.name));
938
+ const F = g === "true" ? "*" : h;
939
+ a == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
940
+ [F]: m.map((p) => p.id)
941
+ })) : (a = JSON.parse(a), a[F] = m.map((p) => p.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(a))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), N();
942
+ }, N = () => {
943
+ e(7, M = m.length === _.length || m.length == 0), e(8, U = m.length);
944
+ }, q = () => {
945
+ if (_.length && g === "true")
961
946
  return;
962
- const l = new URL(`${n}/v1/casino/vendors`);
963
- e(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", s), l.searchParams.append("datasource", o), l.searchParams.append("platform", gt(S)), b === "true" || ((d.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${d})`), l.searchParams.append("subVendors", `games(subGroups=${d})`)) : l.searchParams.append("filter", `games(groups=${d})`)), q(l);
964
- }, Z = () => {
965
- e(6, p = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T = {
966
- [b === "true" ? "*" : d]: p.map((l) => l.id)
967
- })), _.forEach((l) => l.isFilterSelected = !1), e(5, _), window.postMessage({ type: "ApplyFilters" }, window.location.href), e(7, B = !0), e(4, k = !1);
968
- }, X = (l) => {
969
- l.data.type == "SortingOpened" && e(4, k = !1);
947
+ const o = new URL(`${n}/v1/casino/vendors`);
948
+ e(4, C = !1), o.searchParams.append("fields", "id,name,logo,subVendors,games"), o.searchParams.append("language", s), o.searchParams.append("datasource", l), o.searchParams.append("platform", mt(S)), g === "true" || ((h.match(/\$/g) || []).length > 1 ? (o.searchParams.append("filter", `games(subGroups=${h})`), o.searchParams.append("subVendors", `games(subGroups=${h})`)) : o.searchParams.append("filter", `games(groups=${h})`)), V(o);
949
+ }, R = () => {
950
+ e(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
951
+ [g === "true" ? "*" : h]: m.map((o) => o.id)
952
+ })), _.forEach((o) => o.isFilterSelected = !1), e(5, _), window.postMessage({ type: "ApplyFilters" }, window.location.href), e(7, M = !0), e(4, C = !1);
953
+ }, G = (o) => {
954
+ o.data.type == "SortingOpened" && e(4, C = !1);
970
955
  };
971
- Ze(() => (window.addEventListener("message", X, !1), () => {
972
- window.emMessageBus != null && Q && Q.unsubscribe(), window.removeEventListener("message", X);
956
+ qe(() => (window.addEventListener("message", G, !1), () => {
957
+ window.removeEventListener("message", G);
973
958
  }));
974
- const ee = () => R();
975
- function K(l, h) {
976
- l[h].isFilterSelected = this.checked, e(5, _);
959
+ const $ = () => O();
960
+ function ee(o, a) {
961
+ o[a].isFilterSelected = this.checked, e(5, _);
977
962
  }
978
- const I = (l) => H(l), W = () => Z();
979
- function x(l) {
980
- Qe[l ? "unshift" : "push"](() => {
981
- C = l, e(3, C);
963
+ const Z = (o) => Y(o), E = () => R();
964
+ function D(o) {
965
+ Ge[o ? "unshift" : "push"](() => {
966
+ x = o, e(3, x);
982
967
  });
983
968
  }
984
- return r.$$set = (l) => {
985
- "endpoint" in l && e(15, n = l.endpoint), "datasource" in l && e(16, o = l.datasource), "lang" in l && e(17, s = l.lang), "translationurl" in l && e(18, a = l.translationurl), "clientstyling" in l && e(19, u = l.clientstyling), "clientstylingurl" in l && e(20, m = l.clientstylingurl), "categoryid" in l && e(21, d = l.categoryid), "addfilterselector" in l && e(0, F = l.addfilterselector), "addsortingselector" in l && e(1, v = l.addsortingselector), "filterbylogo" in l && e(2, P = l.filterbylogo), "mbsource" in l && e(22, E = l.mbsource), "usesinglevendorfilter" in l && e(23, b = l.usesinglevendorfilter);
969
+ return r.$$set = (o) => {
970
+ "endpoint" in o && e(15, n = o.endpoint), "datasource" in o && e(16, l = o.datasource), "lang" in o && e(17, s = o.lang), "translationurl" in o && e(18, c = o.translationurl), "clientstyling" in o && e(19, f = o.clientstyling), "clientstylingurl" in o && e(20, b = o.clientstylingurl), "categoryid" in o && e(21, h = o.categoryid), "addfilterselector" in o && e(0, w = o.addfilterselector), "addsortingselector" in o && e(1, v = o.addsortingselector), "filterbylogo" in o && e(2, k = o.filterbylogo), "mbsource" in o && e(22, P = o.mbsource), "usesinglevendorfilter" in o && e(23, g = o.usesinglevendorfilter);
986
971
  }, r.$$.update = () => {
987
972
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
988
- 2195460 && n && o && d && P && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
989
- 524296 && u && C && Xe(C, u), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
990
- 1048584 && m && C && Ke(C, m), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
991
- 4194312 && C && $e(C, `${E}.Style`), r.$$.dirty[0] & /*translationurl*/
992
- 262144 && a && A();
973
+ 2195460 && n && l && h && k && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
974
+ 524296 && f && x && Ze(x, f), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
975
+ 1048584 && b && x && Ke(x, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
976
+ 4194312 && x && Qe(x, `${P}.Style`), r.$$.dirty[0] & /*translationurl*/
977
+ 262144 && c && X();
993
978
  }, [
994
- F,
979
+ w,
995
980
  v,
996
- P,
997
- C,
998
981
  k,
982
+ x,
983
+ C,
999
984
  _,
1000
- p,
985
+ m,
986
+ M,
987
+ U,
988
+ J,
1001
989
  B,
1002
- V,
1003
- Y,
1004
- D,
1005
990
  i,
991
+ O,
992
+ Y,
1006
993
  R,
1007
- H,
1008
- Z,
1009
994
  n,
1010
- o,
995
+ l,
1011
996
  s,
1012
- a,
1013
- u,
1014
- m,
1015
- d,
1016
- E,
997
+ c,
998
+ f,
1017
999
  b,
1000
+ h,
1001
+ P,
1002
+ g,
1003
+ $,
1018
1004
  ee,
1019
- K,
1020
- I,
1021
- W,
1022
- x
1005
+ Z,
1006
+ E,
1007
+ D
1023
1008
  ];
1024
1009
  }
1025
- class ze extends He {
1010
+ class De extends Ve {
1026
1011
  constructor(t) {
1027
- super(), Je(
1012
+ super(), Ne(
1028
1013
  this,
1029
1014
  t,
1030
- Pt,
1031
- kt,
1032
- Ye,
1015
+ Ct,
1016
+ xt,
1017
+ He,
1033
1018
  {
1034
1019
  endpoint: 15,
1035
1020
  datasource: 16,
@@ -1044,7 +1029,7 @@ class ze extends He {
1044
1029
  mbsource: 22,
1045
1030
  usesinglevendorfilter: 23
1046
1031
  },
1047
- yt,
1032
+ gt,
1048
1033
  [-1, -1]
1049
1034
  );
1050
1035
  }
@@ -1052,83 +1037,83 @@ class ze extends He {
1052
1037
  return this.$$.ctx[15];
1053
1038
  }
1054
1039
  set endpoint(t) {
1055
- this.$$set({ endpoint: t }), L();
1040
+ this.$$set({ endpoint: t }), I();
1056
1041
  }
1057
1042
  get datasource() {
1058
1043
  return this.$$.ctx[16];
1059
1044
  }
1060
1045
  set datasource(t) {
1061
- this.$$set({ datasource: t }), L();
1046
+ this.$$set({ datasource: t }), I();
1062
1047
  }
1063
1048
  get lang() {
1064
1049
  return this.$$.ctx[17];
1065
1050
  }
1066
1051
  set lang(t) {
1067
- this.$$set({ lang: t }), L();
1052
+ this.$$set({ lang: t }), I();
1068
1053
  }
1069
1054
  get translationurl() {
1070
1055
  return this.$$.ctx[18];
1071
1056
  }
1072
1057
  set translationurl(t) {
1073
- this.$$set({ translationurl: t }), L();
1058
+ this.$$set({ translationurl: t }), I();
1074
1059
  }
1075
1060
  get clientstyling() {
1076
1061
  return this.$$.ctx[19];
1077
1062
  }
1078
1063
  set clientstyling(t) {
1079
- this.$$set({ clientstyling: t }), L();
1064
+ this.$$set({ clientstyling: t }), I();
1080
1065
  }
1081
1066
  get clientstylingurl() {
1082
1067
  return this.$$.ctx[20];
1083
1068
  }
1084
1069
  set clientstylingurl(t) {
1085
- this.$$set({ clientstylingurl: t }), L();
1070
+ this.$$set({ clientstylingurl: t }), I();
1086
1071
  }
1087
1072
  get categoryid() {
1088
1073
  return this.$$.ctx[21];
1089
1074
  }
1090
1075
  set categoryid(t) {
1091
- this.$$set({ categoryid: t }), L();
1076
+ this.$$set({ categoryid: t }), I();
1092
1077
  }
1093
1078
  get addfilterselector() {
1094
1079
  return this.$$.ctx[0];
1095
1080
  }
1096
1081
  set addfilterselector(t) {
1097
- this.$$set({ addfilterselector: t }), L();
1082
+ this.$$set({ addfilterselector: t }), I();
1098
1083
  }
1099
1084
  get addsortingselector() {
1100
1085
  return this.$$.ctx[1];
1101
1086
  }
1102
1087
  set addsortingselector(t) {
1103
- this.$$set({ addsortingselector: t }), L();
1088
+ this.$$set({ addsortingselector: t }), I();
1104
1089
  }
1105
1090
  get filterbylogo() {
1106
1091
  return this.$$.ctx[2];
1107
1092
  }
1108
1093
  set filterbylogo(t) {
1109
- this.$$set({ filterbylogo: t }), L();
1094
+ this.$$set({ filterbylogo: t }), I();
1110
1095
  }
1111
1096
  get mbsource() {
1112
1097
  return this.$$.ctx[22];
1113
1098
  }
1114
1099
  set mbsource(t) {
1115
- this.$$set({ mbsource: t }), L();
1100
+ this.$$set({ mbsource: t }), I();
1116
1101
  }
1117
1102
  get usesinglevendorfilter() {
1118
1103
  return this.$$.ctx[23];
1119
1104
  }
1120
1105
  set usesinglevendorfilter(t) {
1121
- this.$$set({ usesinglevendorfilter: t }), L();
1106
+ this.$$set({ usesinglevendorfilter: t }), I();
1122
1107
  }
1123
1108
  }
1124
- Ne(ze, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
1125
- const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1109
+ Re(De, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
1110
+ const Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1126
1111
  __proto__: null,
1127
- default: ze
1112
+ default: De
1128
1113
  }, Symbol.toStringTag, { value: "Module" }));
1129
1114
  export {
1130
- Lt as C,
1131
- gt as g,
1132
- bt as i,
1133
- It as p
1115
+ Et as C,
1116
+ mt as g,
1117
+ ht as i,
1118
+ Pt as p
1134
1119
  };