@everymatrix/casino-my-games-nd 1.87.26 → 1.87.27

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 (46) hide show
  1. package/components/CasinoFavoritesSectionNd-B2O5ZJ7U.js +465 -0
  2. package/components/CasinoFavoritesSectionNd-C_IhNI6X.js +465 -0
  3. package/components/CasinoFavoritesSectionNd-Cdy5njPd.cjs +1 -0
  4. package/components/CasinoFilter-BHp-ceif.js +644 -0
  5. package/components/CasinoFilter-BxbOeQca.cjs +1 -0
  6. package/components/CasinoFilter-CZ5MibUb.js +645 -0
  7. package/components/CasinoGameThumbnailNd-CvwOiPVg.cjs +30 -0
  8. package/components/CasinoGameThumbnailNd-DF51S3O0.js +1825 -0
  9. package/components/CasinoGameThumbnailNd-DoWO2XT4.js +1841 -0
  10. package/components/CasinoGamesCategorySectionNd-BCRe5jM4.cjs +1 -0
  11. package/components/CasinoGamesCategorySectionNd-COK29j6T.js +4644 -0
  12. package/components/CasinoGamesCategorySectionNd-o6TspFsQ.js +4611 -0
  13. package/components/{CasinoLastPlayedSectionNd-BNqrgb0a.js → CasinoLastPlayedSectionNd-7Wrhf-Cs.js} +71 -72
  14. package/components/{CasinoLastPlayedSectionNd-BlqDt6rh.js → CasinoLastPlayedSectionNd-DLZwmT_F.js} +71 -72
  15. package/components/CasinoLastPlayedSectionNd-DZ6Cs4tA.cjs +1 -0
  16. package/components/CasinoMostPlayedSectionNd-D3f36lEH.cjs +1 -0
  17. package/components/{CasinoMostPlayedSectionNd-BBa-HSUH.js → CasinoMostPlayedSectionNd-DTY09L5X.js} +92 -93
  18. package/components/{CasinoMostPlayedSectionNd-cnY_XdFa.js → CasinoMostPlayedSectionNd-EUGxyFvb.js} +92 -93
  19. package/components/CasinoMyGamesNd-BpPfnub_.cjs +18 -0
  20. package/components/CasinoMyGamesNd-DXMMIiZf.js +5854 -0
  21. package/components/CasinoMyGamesNd-L5aDat7v.js +5811 -0
  22. package/components/{CasinoSort-1CGgZmtY.js → CasinoSort-Bt1yZsWS.js} +103 -103
  23. package/components/{CasinoSort-DnexQ1Yk.js → CasinoSort-CivOK-Iv.js} +102 -102
  24. package/components/CasinoSort-CxMfIVPn.cjs +1 -0
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +7 -7
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoFavoritesSectionNd-BeNK2H3t.cjs +0 -3
  30. package/components/CasinoFavoritesSectionNd-CW_9L0KX.js +0 -4402
  31. package/components/CasinoFavoritesSectionNd-Df7AsFyl.js +0 -4365
  32. package/components/CasinoFilter-B5ctcxIi.js +0 -1185
  33. package/components/CasinoFilter-BAF26Qks.cjs +0 -16
  34. package/components/CasinoFilter-CkDqcbsE.js +0 -1184
  35. package/components/CasinoGameThumbnailNd-BC4qO6Wv.cjs +0 -30
  36. package/components/CasinoGameThumbnailNd-Cf0yYAlm.js +0 -3122
  37. package/components/CasinoGameThumbnailNd-krS0hcHc.js +0 -3106
  38. package/components/CasinoGamesCategorySectionNd--26wgDSA.js +0 -3371
  39. package/components/CasinoGamesCategorySectionNd-CAPj_mei.cjs +0 -1
  40. package/components/CasinoGamesCategorySectionNd-CcHVOCjP.js +0 -3338
  41. package/components/CasinoLastPlayedSectionNd-BiN-eLjS.cjs +0 -1
  42. package/components/CasinoMostPlayedSectionNd-xhyYFecB.cjs +0 -1
  43. package/components/CasinoMyGamesNd-BuINvDGu.js +0 -1351
  44. package/components/CasinoMyGamesNd-CteUrSBV.js +0 -1350
  45. package/components/CasinoMyGamesNd-DOYU176c.cjs +0 -1
  46. package/components/CasinoSort-ChRHQzFr.cjs +0 -1
@@ -1,1184 +0,0 @@
1
- import { $ as he, a as De, b as Ue, S as Ve, i as Ne, s as Re, f as O, c as He, n as me, d as z, e as D, g as y, h as Je, o as Ye, j as qe, k as u, l as ge, m as Ge, r as Ie, p as H, q as d, t as le, u as re, v as T, w as A, x as be, y as ve, z as Ze, A as Ke, B as Xe, C as Qe, D as $e } from "./CasinoFavoritesSectionNd-Df7AsFyl.js";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */
16
- var ae = function(r, t) {
17
- return ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
18
- e.__proto__ = i;
19
- } || function(e, i) {
20
- for (var n in i)
21
- Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
22
- }, ae(r, t);
23
- };
24
- function X(r, t) {
25
- if (typeof t != "function" && t !== null)
26
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
27
- ae(r, t);
28
- function e() {
29
- this.constructor = r;
30
- }
31
- r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
32
- }
33
- function ce(r) {
34
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], i = 0;
35
- if (e)
36
- return e.call(r);
37
- if (r && typeof r.length == "number")
38
- return {
39
- next: function() {
40
- return r && i >= r.length && (r = void 0), { value: r && r[i++], done: !r };
41
- }
42
- };
43
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
44
- }
45
- function ue(r, t) {
46
- var e = typeof Symbol == "function" && r[Symbol.iterator];
47
- if (!e)
48
- return r;
49
- var i = e.call(r), n, l = [], s;
50
- try {
51
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
52
- l.push(n.value);
53
- } catch (c) {
54
- s = { error: c };
55
- } finally {
56
- try {
57
- n && !n.done && (e = i.return) && e.call(i);
58
- } finally {
59
- if (s)
60
- throw s.error;
61
- }
62
- }
63
- return l;
64
- }
65
- function fe(r, t, e) {
66
- if (arguments.length === 2)
67
- for (var i = 0, n = t.length, l; i < n; i++)
68
- (l || !(i in t)) && (l || (l = Array.prototype.slice.call(t, 0, i)), l[i] = t[i]);
69
- return r.concat(l || t);
70
- }
71
- function j(r) {
72
- return typeof r == "function";
73
- }
74
- function Le(r) {
75
- var t = function(i) {
76
- Error.call(i), i.stack = new Error().stack;
77
- }, e = r(t);
78
- return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
79
- }
80
- var se = Le(function(r) {
81
- return function(e) {
82
- r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
83
- ` + e.map(function(i, n) {
84
- return n + 1 + ") " + i.toString();
85
- }).join(`
86
- `) : "", this.name = "UnsubscriptionError", this.errors = e;
87
- };
88
- });
89
- function de(r, t) {
90
- if (r) {
91
- var e = r.indexOf(t);
92
- 0 <= e && r.splice(e, 1);
93
- }
94
- }
95
- var oe = function() {
96
- function r(t) {
97
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
98
- }
99
- return r.prototype.unsubscribe = function() {
100
- var t, e, i, n, l;
101
- if (!this.closed) {
102
- this.closed = !0;
103
- var s = this._parentage;
104
- if (s)
105
- if (this._parentage = null, Array.isArray(s))
106
- try {
107
- for (var c = ce(s), f = c.next(); !f.done; f = c.next()) {
108
- var g = f.value;
109
- g.remove(this);
110
- }
111
- } catch (b) {
112
- t = { error: b };
113
- } finally {
114
- try {
115
- f && !f.done && (e = c.return) && e.call(c);
116
- } finally {
117
- if (t)
118
- throw t.error;
119
- }
120
- }
121
- else
122
- s.remove(this);
123
- var h = this.initialTeardown;
124
- if (j(h))
125
- try {
126
- h();
127
- } catch (b) {
128
- l = b instanceof se ? b.errors : [b];
129
- }
130
- var F = this._finalizers;
131
- if (F) {
132
- this._finalizers = null;
133
- try {
134
- for (var v = ce(F), k = v.next(); !k.done; k = v.next()) {
135
- var P = k.value;
136
- try {
137
- ye(P);
138
- } catch (b) {
139
- l = l ?? [], b instanceof se ? l = fe(fe([], ue(l)), ue(b.errors)) : l.push(b);
140
- }
141
- }
142
- } catch (b) {
143
- i = { error: b };
144
- } finally {
145
- try {
146
- k && !k.done && (n = v.return) && n.call(v);
147
- } finally {
148
- if (i)
149
- throw i.error;
150
- }
151
- }
152
- }
153
- if (l)
154
- throw new se(l);
155
- }
156
- }, r.prototype.add = function(t) {
157
- var e;
158
- if (t && t !== this)
159
- if (this.closed)
160
- ye(t);
161
- else {
162
- if (t instanceof r) {
163
- if (t.closed || t._hasParent(this))
164
- return;
165
- t._addParent(this);
166
- }
167
- (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
168
- }
169
- }, r.prototype._hasParent = function(t) {
170
- var e = this._parentage;
171
- return e === t || Array.isArray(e) && e.includes(t);
172
- }, r.prototype._addParent = function(t) {
173
- var e = this._parentage;
174
- this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
175
- }, r.prototype._removeParent = function(t) {
176
- var e = this._parentage;
177
- e === t ? this._parentage = null : Array.isArray(e) && de(e, t);
178
- }, r.prototype.remove = function(t) {
179
- var e = this._finalizers;
180
- e && de(e, t), t instanceof r && t._removeParent(this);
181
- }, r.EMPTY = function() {
182
- var t = new r();
183
- return t.closed = !0, t;
184
- }(), r;
185
- }(), Te = oe.EMPTY;
186
- function Ae(r) {
187
- return r instanceof oe || r && "closed" in r && j(r.remove) && j(r.add) && j(r.unsubscribe);
188
- }
189
- function ye(r) {
190
- j(r) ? r() : r.unsubscribe();
191
- }
192
- var et = {
193
- Promise: void 0
194
- }, tt = {
195
- setTimeout: function(r, t) {
196
- for (var e = [], i = 2; i < arguments.length; i++)
197
- e[i - 2] = arguments[i];
198
- return setTimeout.apply(void 0, fe([r, t], ue(e)));
199
- },
200
- clearTimeout: function(r) {
201
- return clearTimeout(r);
202
- },
203
- delegate: void 0
204
- };
205
- function rt(r) {
206
- tt.setTimeout(function() {
207
- throw r;
208
- });
209
- }
210
- function _e() {
211
- }
212
- function ne(r) {
213
- r();
214
- }
215
- var je = function(r) {
216
- X(t, r);
217
- function t(e) {
218
- var i = r.call(this) || this;
219
- return i.isStopped = !1, e ? (i.destination = e, Ae(e) && e.add(i)) : i.destination = lt, i;
220
- }
221
- return t.create = function(e, i, n) {
222
- return new pe(e, i, n);
223
- }, t.prototype.next = function(e) {
224
- this.isStopped || this._next(e);
225
- }, t.prototype.error = function(e) {
226
- this.isStopped || (this.isStopped = !0, this._error(e));
227
- }, t.prototype.complete = function() {
228
- this.isStopped || (this.isStopped = !0, this._complete());
229
- }, t.prototype.unsubscribe = function() {
230
- this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
231
- }, t.prototype._next = function(e) {
232
- this.destination.next(e);
233
- }, t.prototype._error = function(e) {
234
- try {
235
- this.destination.error(e);
236
- } finally {
237
- this.unsubscribe();
238
- }
239
- }, t.prototype._complete = function() {
240
- try {
241
- this.destination.complete();
242
- } finally {
243
- this.unsubscribe();
244
- }
245
- }, t;
246
- }(oe), it = function() {
247
- function r(t) {
248
- this.partialObserver = t;
249
- }
250
- return r.prototype.next = function(t) {
251
- var e = this.partialObserver;
252
- if (e.next)
253
- try {
254
- e.next(t);
255
- } catch (i) {
256
- ie(i);
257
- }
258
- }, r.prototype.error = function(t) {
259
- var e = this.partialObserver;
260
- if (e.error)
261
- try {
262
- e.error(t);
263
- } catch (i) {
264
- ie(i);
265
- }
266
- else
267
- ie(t);
268
- }, r.prototype.complete = function() {
269
- var t = this.partialObserver;
270
- if (t.complete)
271
- try {
272
- t.complete();
273
- } catch (e) {
274
- ie(e);
275
- }
276
- }, r;
277
- }(), pe = function(r) {
278
- X(t, r);
279
- function t(e, i, n) {
280
- var l = r.call(this) || this, s;
281
- return j(e) || !e ? s = {
282
- next: e ?? void 0,
283
- error: i ?? void 0,
284
- complete: n ?? void 0
285
- } : s = e, l.destination = new it(s), l;
286
- }
287
- return t;
288
- }(je);
289
- function ie(r) {
290
- rt(r);
291
- }
292
- function nt(r) {
293
- throw r;
294
- }
295
- var lt = {
296
- closed: !0,
297
- next: _e,
298
- error: nt,
299
- complete: _e
300
- }, ot = function() {
301
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
302
- }();
303
- function st(r) {
304
- return r;
305
- }
306
- function at(r) {
307
- return r.length === 0 ? st : r.length === 1 ? r[0] : function(e) {
308
- return r.reduce(function(i, n) {
309
- return n(i);
310
- }, e);
311
- };
312
- }
313
- var we = function() {
314
- function r(t) {
315
- t && (this._subscribe = t);
316
- }
317
- return r.prototype.lift = function(t) {
318
- var e = new r();
319
- return e.source = this, e.operator = t, e;
320
- }, r.prototype.subscribe = function(t, e, i) {
321
- var n = this, l = ut(t) ? t : new pe(t, e, i);
322
- return ne(function() {
323
- var s = n, c = s.operator, f = s.source;
324
- l.add(c ? c.call(l, f) : f ? n._subscribe(l) : n._trySubscribe(l));
325
- }), l;
326
- }, r.prototype._trySubscribe = function(t) {
327
- try {
328
- return this._subscribe(t);
329
- } catch (e) {
330
- t.error(e);
331
- }
332
- }, r.prototype.forEach = function(t, e) {
333
- var i = this;
334
- return e = Fe(e), new e(function(n, l) {
335
- var s = new pe({
336
- next: function(c) {
337
- try {
338
- t(c);
339
- } catch (f) {
340
- l(f), s.unsubscribe();
341
- }
342
- },
343
- error: l,
344
- complete: n
345
- });
346
- i.subscribe(s);
347
- });
348
- }, r.prototype._subscribe = function(t) {
349
- var e;
350
- return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
351
- }, r.prototype[ot] = function() {
352
- return this;
353
- }, r.prototype.pipe = function() {
354
- for (var t = [], e = 0; e < arguments.length; e++)
355
- t[e] = arguments[e];
356
- return at(t)(this);
357
- }, r.prototype.toPromise = function(t) {
358
- var e = this;
359
- return t = Fe(t), new t(function(i, n) {
360
- var l;
361
- e.subscribe(function(s) {
362
- return l = s;
363
- }, function(s) {
364
- return n(s);
365
- }, function() {
366
- return i(l);
367
- });
368
- });
369
- }, r.create = function(t) {
370
- return new r(t);
371
- }, r;
372
- }();
373
- function Fe(r) {
374
- var t;
375
- return (t = r ?? et.Promise) !== null && t !== void 0 ? t : Promise;
376
- }
377
- function ct(r) {
378
- return r && j(r.next) && j(r.error) && j(r.complete);
379
- }
380
- function ut(r) {
381
- return r && r instanceof je || ct(r) && Ae(r);
382
- }
383
- var ft = Le(function(r) {
384
- return function() {
385
- r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
386
- };
387
- }), Me = function(r) {
388
- X(t, r);
389
- function t() {
390
- var e = r.call(this) || this;
391
- return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
392
- }
393
- return t.prototype.lift = function(e) {
394
- var i = new Se(this, this);
395
- return i.operator = e, i;
396
- }, t.prototype._throwIfClosed = function() {
397
- if (this.closed)
398
- throw new ft();
399
- }, t.prototype.next = function(e) {
400
- var i = this;
401
- ne(function() {
402
- var n, l;
403
- if (i._throwIfClosed(), !i.isStopped) {
404
- i.currentObservers || (i.currentObservers = Array.from(i.observers));
405
- try {
406
- for (var s = ce(i.currentObservers), c = s.next(); !c.done; c = s.next()) {
407
- var f = c.value;
408
- f.next(e);
409
- }
410
- } catch (g) {
411
- n = { error: g };
412
- } finally {
413
- try {
414
- c && !c.done && (l = s.return) && l.call(s);
415
- } finally {
416
- if (n)
417
- throw n.error;
418
- }
419
- }
420
- }
421
- });
422
- }, t.prototype.error = function(e) {
423
- var i = this;
424
- ne(function() {
425
- if (i._throwIfClosed(), !i.isStopped) {
426
- i.hasError = i.isStopped = !0, i.thrownError = e;
427
- for (var n = i.observers; n.length; )
428
- n.shift().error(e);
429
- }
430
- });
431
- }, t.prototype.complete = function() {
432
- var e = this;
433
- ne(function() {
434
- if (e._throwIfClosed(), !e.isStopped) {
435
- e.isStopped = !0;
436
- for (var i = e.observers; i.length; )
437
- i.shift().complete();
438
- }
439
- });
440
- }, t.prototype.unsubscribe = function() {
441
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
442
- }, Object.defineProperty(t.prototype, "observed", {
443
- get: function() {
444
- var e;
445
- return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
446
- },
447
- enumerable: !1,
448
- configurable: !0
449
- }), t.prototype._trySubscribe = function(e) {
450
- return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
451
- }, t.prototype._subscribe = function(e) {
452
- return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
453
- }, t.prototype._innerSubscribe = function(e) {
454
- var i = this, n = this, l = n.hasError, s = n.isStopped, c = n.observers;
455
- return l || s ? Te : (this.currentObservers = null, c.push(e), new oe(function() {
456
- i.currentObservers = null, de(c, e);
457
- }));
458
- }, t.prototype._checkFinalizedStatuses = function(e) {
459
- var i = this, n = i.hasError, l = i.thrownError, s = i.isStopped;
460
- n ? e.error(l) : s && e.complete();
461
- }, t.prototype.asObservable = function() {
462
- var e = new we();
463
- return e.source = this, e;
464
- }, t.create = function(e, i) {
465
- return new Se(e, i);
466
- }, t;
467
- }(we), Se = function(r) {
468
- X(t, r);
469
- function t(e, i) {
470
- var n = r.call(this) || this;
471
- return n.destination = e, n.source = i, n;
472
- }
473
- return t.prototype.next = function(e) {
474
- var i, n;
475
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, e);
476
- }, t.prototype.error = function(e) {
477
- var i, n;
478
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, e);
479
- }, t.prototype.complete = function() {
480
- var e, i;
481
- (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
482
- }, t.prototype._subscribe = function(e) {
483
- var i, n;
484
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Te;
485
- }, t;
486
- }(Me), Be = {
487
- now: function() {
488
- return (Be.delegate || Date).now();
489
- },
490
- delegate: void 0
491
- }, dt = function(r) {
492
- X(t, r);
493
- function t(e, i, n) {
494
- e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Be);
495
- var l = r.call(this) || this;
496
- 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;
497
- }
498
- return t.prototype.next = function(e) {
499
- var i = this, n = i.isStopped, l = i._buffer, s = i._infiniteTimeWindow, c = i._timestampProvider, f = i._windowTime;
500
- n || (l.push(e), !s && l.push(c.now() + f)), this._trimBuffer(), r.prototype.next.call(this, e);
501
- }, t.prototype._subscribe = function(e) {
502
- this._throwIfClosed(), this._trimBuffer();
503
- 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)
504
- e.next(c[f]);
505
- return this._checkFinalizedStatuses(e), i;
506
- }, t.prototype._trimBuffer = function() {
507
- var e = this, i = e._bufferSize, n = e._timestampProvider, l = e._buffer, s = e._infiniteTimeWindow, c = (s ? 1 : 2) * i;
508
- if (i < 1 / 0 && c < l.length && l.splice(0, l.length - c), !s) {
509
- for (var f = n.now(), g = 0, h = 1; h < l.length && l[h] <= f; h += 2)
510
- g = h;
511
- g && l.splice(0, g + 1);
512
- }
513
- }, t;
514
- }(Me);
515
- const xe = [], Ce = {}, pt = (r, t = 0) => {
516
- if (xe.indexOf(r) == -1) {
517
- const e = new dt(t);
518
- Ce[r] = e, xe.push(r);
519
- }
520
- return Ce[r];
521
- };
522
- window.emWidgets = { topic: pt };
523
- 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";
524
- function Pt(r, t) {
525
- const e = window.navigator.userAgent;
526
- return ht(e) ? t = r.filter((i) => {
527
- if (i.gameModel && (i.gameModel.platform.includes("iPad") || i.gameModel.platform.includes("iPhone") || i.gameModel.platform.includes("Android")))
528
- return i;
529
- }) : t = r.filter((i) => {
530
- if (i.gameModel && i.gameModel.platform.includes("PC"))
531
- return i;
532
- }), t;
533
- }
534
- String(Number.MAX_SAFE_INTEGER).length;
535
- function gt({ withLocale: r, translations: t }) {
536
- he.subscribe((e) => {
537
- e == null && (De.set(t), he.set(r));
538
- });
539
- }
540
- function ke(r, t) {
541
- Ue(r, t);
542
- }
543
- const Pe = {
544
- en: {
545
- providers: "Providers:",
546
- filterby: "Filter by:",
547
- all: "All",
548
- clear: "Clear all"
549
- },
550
- zh: {
551
- providers: "Providers:",
552
- filterby: "Filter by",
553
- all: "all",
554
- clear: "Clear all"
555
- },
556
- de: {
557
- providers: "Providers:",
558
- filterby: "Filter by:",
559
- all: "all",
560
- clear: "Clear all"
561
- },
562
- it: {
563
- providers: "Providers:",
564
- filterby: "Filter by:",
565
- all: "all",
566
- clear: "Clear all"
567
- },
568
- fr: {
569
- providers: "Providers:",
570
- filterby: "Filter by:",
571
- all: "all",
572
- clear: "Clear all"
573
- },
574
- es: {
575
- providers: "Proveedores:",
576
- filterby: "Filtrar Por:",
577
- all: "Todos",
578
- clear: "Limpiar todos"
579
- },
580
- tr: {
581
- providers: "Sağlayıcılar:",
582
- filterby: "Filtrele:",
583
- all: "Hepsi",
584
- clear: "Tümünü Temizle"
585
- },
586
- ru: {
587
- providers: "Providers:",
588
- filterby: "Filter by:",
589
- all: "all",
590
- clear: "Clear all"
591
- },
592
- ro: {
593
- providers: "Providers:",
594
- filterby: "Filter by:",
595
- all: "all",
596
- clear: "Clear all"
597
- },
598
- hr: {
599
- providers: "Brendovi igara",
600
- filterby: "Filtrirati po:",
601
- all: "Sve",
602
- clear: "Očisti sve"
603
- },
604
- hu: {
605
- providers: "Providers:",
606
- filterby: "Filter by:",
607
- all: "all",
608
- clear: "Clear all"
609
- },
610
- pl: {
611
- providers: "Providers:",
612
- filterby: "Filter by:",
613
- all: "all",
614
- clear: "Clear all"
615
- },
616
- pt: {
617
- providers: "Providers:",
618
- filterby: "Filter by:",
619
- all: "all",
620
- clear: "Clear all"
621
- },
622
- sl: {
623
- providers: "Providers:",
624
- filterby: "Filter by:",
625
- all: "all",
626
- clear: "Clear all"
627
- },
628
- sr: {
629
- providers: "Providers:",
630
- filterby: "Filter by:",
631
- all: "all",
632
- clear: "Clear all"
633
- },
634
- "pt-br": {
635
- providers: "Provedores:",
636
- filterby: "Filtrar por",
637
- all: "Tudo",
638
- clear: "Apagar tudo"
639
- },
640
- "es-mx": {
641
- providers: "Proveedores:",
642
- filterby: "Filtrar por",
643
- all: "Todo",
644
- clear: "Borrar todo"
645
- },
646
- "en-us": {
647
- providers: "Providers:",
648
- filterby: "Filter by:",
649
- all: "All",
650
- clear: "Clear all"
651
- }
652
- };
653
- function bt(r) {
654
- He(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%}}');
655
- }
656
- function Ee(r, t, e) {
657
- const i = r.slice();
658
- return i[37] = t[e], i[38] = t, i[39] = e, i;
659
- }
660
- function vt(r) {
661
- let t, e, i, n, l, s, c, f, g = (
662
- /*$_*/
663
- r[11]("filterby") + ""
664
- ), h, F, v, k, P = (
665
- /*$_*/
666
- r[11]("providers") + ""
667
- ), b, C, S, _, m, I, M, U, J, x, B, Q, L, V = (
668
- /*$_*/
669
- r[11]("clear") + ""
670
- ), Y, N, q, R, G, $;
671
- function ee(a, w) {
672
- return (
673
- /*fullSelection*/
674
- a[7] ? wt : _t
675
- );
676
- }
677
- let Z = ee(r), E = Z(r), W = ge(
678
- /*vendorArray*/
679
- r[5]
680
- ), o = [];
681
- for (let a = 0; a < W.length; a += 1)
682
- o[a] = Oe(Ee(r, W, a));
683
- return {
684
- c() {
685
- 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(g), F = T(), v = y("div"), k = y("span"), b = A(P), C = T(), E.c(), S = T(), _ = y("span"), m = re("svg"), I = re("path"), J = T(), x = y("div"), B = y("ul");
686
- for (let a = 0; a < o.length; a += 1)
687
- o[a].c();
688
- Q = T(), L = 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(I, "id", "arrow"), u(I, "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(I, "transform", "translate(-274.511 -441.088)"), u(I, "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*/
689
- (r[4] ? "TriangleActive" : "")), u(e, "class", U = "FilterSelector " + /*isFilterActive*/
690
- (r[4] ? "FilterSelectorOpen" : "")), u(B, "class", "FilterDropdown"), u(L, "class", "ClearFilters"), L.disabled = N = /*fullSelection*/
691
- r[7] && /*selectedVendorArray*/
692
- r[6].length != /*vendorArray*/
693
- r[5].length, u(x, "class", q = "FilterDropdownContainer " + /*isFilterActive*/
694
- (r[4] ? "FilterOpen" : "")), u(t, "class", R = "FilterContainer " + /*addfilterselector*/
695
- (r[0] == "true" && /*addsortingselector*/
696
- r[1] == "true" ? "FilerContainerSplit" : ""));
697
- },
698
- m(a, w) {
699
- D(a, t, w), 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, F), d(c, v), d(v, k), d(k, b), d(v, C), E.m(v, null), d(e, S), d(e, _), d(_, m), d(m, I), d(t, J), d(t, x), d(x, B);
700
- for (let p = 0; p < o.length; p += 1)
701
- o[p] && o[p].m(B, null);
702
- d(x, Q), d(x, L), d(L, Y), G || ($ = [
703
- le(
704
- e,
705
- "click",
706
- /*click_handler*/
707
- r[24]
708
- ),
709
- le(
710
- L,
711
- "click",
712
- /*click_handler_2*/
713
- r[27]
714
- )
715
- ], G = !0);
716
- },
717
- p(a, w) {
718
- if (w[0] & /*$_*/
719
- 2048 && g !== (g = /*$_*/
720
- a[11]("filterby") + "") && H(h, g), w[0] & /*$_*/
721
- 2048 && P !== (P = /*$_*/
722
- a[11]("providers") + "") && H(b, P), Z === (Z = ee(a)) && E ? E.p(a, w) : (E.d(1), E = Z(a), E && (E.c(), E.m(v, null))), w[0] & /*isFilterActive*/
723
- 16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
724
- (a[4] ? "TriangleActive" : "")) && u(_, "class", M), w[0] & /*isFilterActive*/
725
- 16 && U !== (U = "FilterSelector " + /*isFilterActive*/
726
- (a[4] ? "FilterSelectorOpen" : "")) && u(e, "class", U), w[0] & /*filterbylogo, vendorArray, filterByVendors*/
727
- 8228) {
728
- W = ge(
729
- /*vendorArray*/
730
- a[5]
731
- );
732
- let p;
733
- for (p = 0; p < W.length; p += 1) {
734
- const K = Ee(a, W, p);
735
- o[p] ? o[p].p(K, w) : (o[p] = Oe(K), o[p].c(), o[p].m(B, null));
736
- }
737
- for (; p < o.length; p += 1)
738
- o[p].d(1);
739
- o.length = W.length;
740
- }
741
- w[0] & /*$_*/
742
- 2048 && V !== (V = /*$_*/
743
- a[11]("clear") + "") && H(Y, V), w[0] & /*fullSelection, selectedVendorArray, vendorArray*/
744
- 224 && N !== (N = /*fullSelection*/
745
- a[7] && /*selectedVendorArray*/
746
- a[6].length != /*vendorArray*/
747
- a[5].length) && (L.disabled = N), w[0] & /*isFilterActive*/
748
- 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
749
- (a[4] ? "FilterOpen" : "")) && u(x, "class", q), w[0] & /*addfilterselector, addsortingselector*/
750
- 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
751
- (a[0] == "true" && /*addsortingselector*/
752
- a[1] == "true" ? "FilerContainerSplit" : "")) && u(t, "class", R);
753
- },
754
- d(a) {
755
- a && z(t), E.d(), Ge(o, a), G = !1, Ie($);
756
- }
757
- };
758
- }
759
- function yt(r) {
760
- let t, e = (
761
- /*$_*/
762
- r[11]("500") + ""
763
- );
764
- return {
765
- c() {
766
- t = y("p"), u(t, "class", "SearchLoading");
767
- },
768
- m(i, n) {
769
- D(i, t, n), t.innerHTML = e;
770
- },
771
- p(i, n) {
772
- n[0] & /*$_*/
773
- 2048 && e !== (e = /*$_*/
774
- i[11]("500") + "") && (t.innerHTML = e);
775
- },
776
- d(i) {
777
- i && z(t);
778
- }
779
- };
780
- }
781
- function _t(r) {
782
- let t, e;
783
- return {
784
- c() {
785
- t = y("span"), e = A(
786
- /*selectionNumber*/
787
- r[8]
788
- ), u(t, "class", "FilterCounter");
789
- },
790
- m(i, n) {
791
- D(i, t, n), d(t, e);
792
- },
793
- p(i, n) {
794
- n[0] & /*selectionNumber*/
795
- 256 && H(
796
- e,
797
- /*selectionNumber*/
798
- i[8]
799
- );
800
- },
801
- d(i) {
802
- i && z(t);
803
- }
804
- };
805
- }
806
- function wt(r) {
807
- let t, e = (
808
- /*$_*/
809
- r[11]("all") + ""
810
- ), i;
811
- return {
812
- c() {
813
- t = y("span"), i = A(e), u(t, "class", "FilterCounter");
814
- },
815
- m(n, l) {
816
- D(n, t, l), d(t, i);
817
- },
818
- p(n, l) {
819
- l[0] & /*$_*/
820
- 2048 && e !== (e = /*$_*/
821
- n[11]("all") + "") && H(i, e);
822
- },
823
- d(n) {
824
- n && z(t);
825
- }
826
- };
827
- }
828
- function Ft(r) {
829
- let t, e;
830
- return {
831
- c() {
832
- t = y("img"), ve(t.src, e = /*vendor*/
833
- r[37].logo) || u(t, "src", e), u(t, "alt", "vendor logo");
834
- },
835
- m(i, n) {
836
- D(i, t, n);
837
- },
838
- p(i, n) {
839
- n[0] & /*vendorArray*/
840
- 32 && !ve(t.src, e = /*vendor*/
841
- i[37].logo) && u(t, "src", e);
842
- },
843
- d(i) {
844
- i && z(t);
845
- }
846
- };
847
- }
848
- function St(r) {
849
- let t, e, i = (
850
- /*vendor*/
851
- r[37].name + ""
852
- ), n, l, s, c, f = (
853
- /*vendor*/
854
- r[37].games.total + ""
855
- ), g, h;
856
- return {
857
- c() {
858
- t = y("div"), e = y("span"), n = A(i), l = T(), s = y("span"), c = A("("), g = A(f), h = A(")"), u(e, "class", "VendorName"), u(t, "class", "FilterItemLabel");
859
- },
860
- m(F, v) {
861
- D(F, t, v), d(t, e), d(e, n), d(t, l), d(t, s), d(s, c), d(s, g), d(s, h);
862
- },
863
- p(F, v) {
864
- v[0] & /*vendorArray*/
865
- 32 && i !== (i = /*vendor*/
866
- F[37].name + "") && H(n, i), v[0] & /*vendorArray*/
867
- 32 && f !== (f = /*vendor*/
868
- F[37].games.total + "") && H(g, f);
869
- },
870
- d(F) {
871
- F && z(t);
872
- }
873
- };
874
- }
875
- function Oe(r) {
876
- let t, e, i, n, l, s, c, f, g, h, F, v;
877
- function k() {
878
- r[25].call(
879
- i,
880
- /*each_value*/
881
- r[38],
882
- /*vendor_index*/
883
- r[39]
884
- );
885
- }
886
- function P() {
887
- return (
888
- /*click_handler_1*/
889
- r[26](
890
- /*vendor*/
891
- r[37]
892
- )
893
- );
894
- }
895
- function b(_, m) {
896
- if (
897
- /*filterbylogo*/
898
- _[2] === "false"
899
- )
900
- return St;
901
- if (
902
- /*filterbylogo*/
903
- _[2] === "true"
904
- )
905
- return Ft;
906
- }
907
- let C = b(r), S = C && C(r);
908
- return {
909
- c() {
910
- 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*/
911
- r[37].name, be(i, i.__value), u(s, "class", "FiltersCheckmark"), u(e, "class", "FilterLabel"), u(t, "class", g = "FilterItem " + /*filterbylogo*/
912
- (r[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
913
- r[37].name;
914
- },
915
- m(_, m) {
916
- D(_, t, m), d(t, e), d(e, i), i.checked = /*vendor*/
917
- r[37].isFilterSelected, d(e, l), d(e, s), d(e, c), S && S.m(e, null), d(t, f), F || (v = [
918
- le(i, "change", k),
919
- le(i, "click", P)
920
- ], F = !0);
921
- },
922
- p(_, m) {
923
- r = _, m[0] & /*vendorArray*/
924
- 32 && n !== (n = /*vendor*/
925
- r[37].name) && (i.__value = n, be(i, i.__value)), m[0] & /*vendorArray*/
926
- 32 && (i.checked = /*vendor*/
927
- r[37].isFilterSelected), C === (C = b(r)) && S ? S.p(r, m) : (S && S.d(1), S = C && C(r), S && (S.c(), S.m(e, null))), m[0] & /*filterbylogo*/
928
- 4 && g !== (g = "FilterItem " + /*filterbylogo*/
929
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && u(t, "class", g), m[0] & /*vendorArray*/
930
- 32 && h !== (h = /*vendor*/
931
- r[37].name) && (t.value = h);
932
- },
933
- d(_) {
934
- _ && z(t), S && S.d(), F = !1, Ie(v);
935
- }
936
- };
937
- }
938
- function xt(r) {
939
- let t;
940
- function e(l, s) {
941
- if (
942
- /*hasErrors*/
943
- l[10]
944
- )
945
- return yt;
946
- if (!/*isLoading*/
947
- l[9])
948
- return vt;
949
- }
950
- let i = e(r), n = i && i(r);
951
- return {
952
- c() {
953
- t = y("div"), n && n.c();
954
- },
955
- m(l, s) {
956
- D(l, t, s), n && n.m(t, null), r[28](t);
957
- },
958
- p(l, s) {
959
- i === (i = e(l)) && n ? n.p(l, s) : (n && n.d(1), n = i && i(l), n && (n.c(), n.m(t, null)));
960
- },
961
- i: me,
962
- o: me,
963
- d(l) {
964
- l && z(t), n && n.d(), r[28](null);
965
- }
966
- };
967
- }
968
- function Ct(r, t, e) {
969
- let i;
970
- Je(r, $e, (o) => e(11, i = o));
971
- let { endpoint: n = "" } = t, { datasource: l = "" } = t, { lang: s = "" } = t, { translationurl: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: g = "" } = t, { categoryid: h = "" } = t, { addfilterselector: F = "false" } = t, { addsortingselector: v = "false" } = t, { filterbylogo: k = "false" } = t, { mbsource: P } = t, { usesinglevendorfilter: b = "false" } = t, C = !1, S = window.navigator.userAgent, _ = [], m = [], I = {}, M = !1, U = 0, J = !0, x, B = !1;
972
- gt({ withLocale: "en", translations: {} });
973
- const Q = () => {
974
- fetch(c).then((a) => a.json()).then((a) => {
975
- Object.keys(a).forEach((w) => {
976
- ke(w, a[w]);
977
- });
978
- }).catch((a) => {
979
- console.log(a);
980
- });
981
- };
982
- Object.keys(Pe).forEach((o) => {
983
- ke(o, Pe[o]);
984
- }), I[h] && (I = { [h]: [] });
985
- const L = () => {
986
- e(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
987
- }, V = (o) => (e(9, J = !0), new Promise((a, w) => {
988
- fetch(o).then((p) => p.json()).then((p) => {
989
- p = p.items, a(p.items), e(6, m = []);
990
- let K = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
991
- const ze = b === "true" ? "*" : h;
992
- p.forEach((te) => {
993
- K || (K = { currentCategoryId: [] }), K[ze]?.indexOf(te.id) >= 0 ? (te.isFilterSelected = !0, m.push(te)) : te.isFilterSelected = !1;
994
- }), e(5, _ = p), N();
995
- }).catch((p) => {
996
- console.error(p), e(10, B = !0), w(p);
997
- }).finally(() => {
998
- e(9, J = !1);
999
- });
1000
- })), Y = (o) => {
1001
- let a = localStorage.getItem("vendorFiltersByCategory");
1002
- 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));
1003
- const w = b === "true" ? "*" : h;
1004
- a == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
1005
- [w]: m.map((p) => p.id)
1006
- })) : (a = JSON.parse(a), a[w] = m.map((p) => p.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(a))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), N();
1007
- }, N = () => {
1008
- e(7, M = m.length === _.length || m.length == 0), e(8, U = m.length);
1009
- }, q = () => {
1010
- if (_.length && b === "true")
1011
- return;
1012
- const o = new URL(`${n}/v1/casino/vendors`);
1013
- 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)), b === "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);
1014
- }, R = () => {
1015
- e(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
1016
- [b === "true" ? "*" : h]: m.map((o) => o.id)
1017
- })), _.forEach((o) => o.isFilterSelected = !1), e(5, _), window.postMessage({ type: "ApplyFilters" }, window.location.href), e(7, M = !0), e(4, C = !1);
1018
- }, G = (o) => {
1019
- o.data.type == "SortingOpened" && e(4, C = !1);
1020
- };
1021
- Ye(() => (window.addEventListener("message", G, !1), () => {
1022
- window.removeEventListener("message", G);
1023
- }));
1024
- const $ = () => L();
1025
- function ee(o, a) {
1026
- o[a].isFilterSelected = this.checked, e(5, _);
1027
- }
1028
- const Z = (o) => Y(o), E = () => R();
1029
- function W(o) {
1030
- qe[o ? "unshift" : "push"](() => {
1031
- x = o, e(3, x);
1032
- });
1033
- }
1034
- return r.$$set = (o) => {
1035
- "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, g = o.clientstylingurl), "categoryid" in o && e(21, h = o.categoryid), "addfilterselector" in o && e(0, F = 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, b = o.usesinglevendorfilter);
1036
- }, r.$$.update = () => {
1037
- r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
1038
- 2195460 && n && l && h && k && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1039
- 524296 && f && x && Ze(x, f), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1040
- 1048584 && g && x && Ke(x, g), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
1041
- 4194312 && x && Xe(x, `${P}.Style`), r.$$.dirty[0] & /*translationurl*/
1042
- 262144 && c && Q();
1043
- }, [
1044
- F,
1045
- v,
1046
- k,
1047
- x,
1048
- C,
1049
- _,
1050
- m,
1051
- M,
1052
- U,
1053
- J,
1054
- B,
1055
- i,
1056
- L,
1057
- Y,
1058
- R,
1059
- n,
1060
- l,
1061
- s,
1062
- c,
1063
- f,
1064
- g,
1065
- h,
1066
- P,
1067
- b,
1068
- $,
1069
- ee,
1070
- Z,
1071
- E,
1072
- W
1073
- ];
1074
- }
1075
- class We extends Ve {
1076
- constructor(t) {
1077
- super(), Ne(
1078
- this,
1079
- t,
1080
- Ct,
1081
- xt,
1082
- Re,
1083
- {
1084
- endpoint: 15,
1085
- datasource: 16,
1086
- lang: 17,
1087
- translationurl: 18,
1088
- clientstyling: 19,
1089
- clientstylingurl: 20,
1090
- categoryid: 21,
1091
- addfilterselector: 0,
1092
- addsortingselector: 1,
1093
- filterbylogo: 2,
1094
- mbsource: 22,
1095
- usesinglevendorfilter: 23
1096
- },
1097
- bt,
1098
- [-1, -1]
1099
- );
1100
- }
1101
- get endpoint() {
1102
- return this.$$.ctx[15];
1103
- }
1104
- set endpoint(t) {
1105
- this.$$set({ endpoint: t }), O();
1106
- }
1107
- get datasource() {
1108
- return this.$$.ctx[16];
1109
- }
1110
- set datasource(t) {
1111
- this.$$set({ datasource: t }), O();
1112
- }
1113
- get lang() {
1114
- return this.$$.ctx[17];
1115
- }
1116
- set lang(t) {
1117
- this.$$set({ lang: t }), O();
1118
- }
1119
- get translationurl() {
1120
- return this.$$.ctx[18];
1121
- }
1122
- set translationurl(t) {
1123
- this.$$set({ translationurl: t }), O();
1124
- }
1125
- get clientstyling() {
1126
- return this.$$.ctx[19];
1127
- }
1128
- set clientstyling(t) {
1129
- this.$$set({ clientstyling: t }), O();
1130
- }
1131
- get clientstylingurl() {
1132
- return this.$$.ctx[20];
1133
- }
1134
- set clientstylingurl(t) {
1135
- this.$$set({ clientstylingurl: t }), O();
1136
- }
1137
- get categoryid() {
1138
- return this.$$.ctx[21];
1139
- }
1140
- set categoryid(t) {
1141
- this.$$set({ categoryid: t }), O();
1142
- }
1143
- get addfilterselector() {
1144
- return this.$$.ctx[0];
1145
- }
1146
- set addfilterselector(t) {
1147
- this.$$set({ addfilterselector: t }), O();
1148
- }
1149
- get addsortingselector() {
1150
- return this.$$.ctx[1];
1151
- }
1152
- set addsortingselector(t) {
1153
- this.$$set({ addsortingselector: t }), O();
1154
- }
1155
- get filterbylogo() {
1156
- return this.$$.ctx[2];
1157
- }
1158
- set filterbylogo(t) {
1159
- this.$$set({ filterbylogo: t }), O();
1160
- }
1161
- get mbsource() {
1162
- return this.$$.ctx[22];
1163
- }
1164
- set mbsource(t) {
1165
- this.$$set({ mbsource: t }), O();
1166
- }
1167
- get usesinglevendorfilter() {
1168
- return this.$$.ctx[23];
1169
- }
1170
- set usesinglevendorfilter(t) {
1171
- this.$$set({ usesinglevendorfilter: t }), O();
1172
- }
1173
- }
1174
- Qe(We, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
1175
- const Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1176
- __proto__: null,
1177
- default: We
1178
- }, Symbol.toStringTag, { value: "Module" }));
1179
- export {
1180
- Et as C,
1181
- mt as g,
1182
- ht as i,
1183
- Pt as p
1184
- };