@everymatrix/casino-my-games 1.0.69 → 1.0.71

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