@everymatrix/casino-tournaments-list-controller 1.44.0 → 1.45.0

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 (30) hide show
  1. package/components/CasinoTournamentsListController-BI700b_r.cjs +15 -0
  2. package/components/CasinoTournamentsListController-DKdmeWUn.js +6935 -0
  3. package/components/CasinoTournamentsThumbnail-BiHKMblV.cjs +4 -0
  4. package/components/CasinoTournamentsThumbnail-DvqVgpqK.js +865 -0
  5. package/components/CasinoTournamentsThumbnailController-B9Itmkhr.cjs +3 -0
  6. package/components/CasinoTournamentsThumbnailController-tU-U1qDq.js +1881 -0
  7. package/components/CasinoTournamentsThumbnailDuration-BKtOkvAC.cjs +1 -0
  8. package/components/CasinoTournamentsThumbnailDuration-DFBCO700.js +495 -0
  9. package/components/CasinoTournamentsThumbnailGamesSlider-BJ6olJeN.js +439 -0
  10. package/components/CasinoTournamentsThumbnailGamesSlider-Ba6b2okX.cjs +1 -0
  11. package/components/CasinoTournamentsThumbnailPrizes-BO1L1Nff.js +310 -0
  12. package/components/CasinoTournamentsThumbnailPrizes-DgXBrfnZ.cjs +1 -0
  13. package/es2015/casino-tournaments-list-controller.cjs +1 -0
  14. package/es2015/casino-tournaments-list-controller.js +16 -0
  15. package/package.json +17 -32
  16. package/.eslintrc +0 -84
  17. package/README.md +0 -30
  18. package/dist/casino-tournaments-list-controller.js +0 -2
  19. package/dist/casino-tournaments-list-controller.js.map +0 -1
  20. package/index.html +0 -37
  21. package/index.js +0 -1
  22. package/public/favicon.png +0 -0
  23. package/public/reset.css +0 -48
  24. package/rollup.config.js +0 -67
  25. package/src/CasinoTournamentsListController.svelte +0 -205
  26. package/src/i18n.js +0 -27
  27. package/src/index.ts +0 -4
  28. package/src/translations.js +0 -32
  29. package/stories/CasinoTournamentsListController.stories.js +0 -13
  30. package/tsconfig.json +0 -6
@@ -0,0 +1,1881 @@
1
+ var fe = (i, t, e) => new Promise((r, s) => {
2
+ var n = (f) => {
3
+ try {
4
+ a(e.next(f));
5
+ } catch (h) {
6
+ s(h);
7
+ }
8
+ }, o = (f) => {
9
+ try {
10
+ a(e.throw(f));
11
+ } catch (h) {
12
+ s(h);
13
+ }
14
+ }, a = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(n, o);
15
+ a((e = e.apply(i, t)).next());
16
+ });
17
+ import { _ as de, z as he, A as pe, B as W, $ as Le, C as St, a as Ft, S as Et, i as Ct, f as T, c as jt, s as Bt, b as Pt, e as F, g as m, h as _, n as ve, l as k, m as Ot, o as Dt, w as It, d as B, D as u, j as y, p as At, r as Mt, t as O, k as D, y as xt, u as J, q as tt, v as Lt, E as A } from "./CasinoTournamentsListController-DKdmeWUn.js";
18
+ function P(i) {
19
+ return typeof i == "function";
20
+ }
21
+ function it(i) {
22
+ var t = function(r) {
23
+ Error.call(r), r.stack = new Error().stack;
24
+ }, e = i(t);
25
+ return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
26
+ }
27
+ var ce = it(function(i) {
28
+ return function(e) {
29
+ i(this), this.message = e ? e.length + ` errors occurred during unsubscription:
30
+ ` + e.map(function(r, s) {
31
+ return s + 1 + ") " + r.toString();
32
+ }).join(`
33
+ `) : "", this.name = "UnsubscriptionError", this.errors = e;
34
+ };
35
+ });
36
+ function ge(i, t) {
37
+ if (i) {
38
+ var e = i.indexOf(t);
39
+ 0 <= e && i.splice(e, 1);
40
+ }
41
+ }
42
+ var te = function() {
43
+ function i(t) {
44
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
45
+ }
46
+ return i.prototype.unsubscribe = function() {
47
+ var t, e, r, s, n;
48
+ if (!this.closed) {
49
+ this.closed = !0;
50
+ var o = this._parentage;
51
+ if (o)
52
+ if (this._parentage = null, Array.isArray(o))
53
+ try {
54
+ for (var a = de(o), f = a.next(); !f.done; f = a.next()) {
55
+ var h = f.value;
56
+ h.remove(this);
57
+ }
58
+ } catch (v) {
59
+ t = { error: v };
60
+ } finally {
61
+ try {
62
+ f && !f.done && (e = a.return) && e.call(a);
63
+ } finally {
64
+ if (t) throw t.error;
65
+ }
66
+ }
67
+ else
68
+ o.remove(this);
69
+ var d = this.initialTeardown;
70
+ if (P(d))
71
+ try {
72
+ d();
73
+ } catch (v) {
74
+ n = v instanceof ce ? v.errors : [v];
75
+ }
76
+ var b = this._finalizers;
77
+ if (b) {
78
+ this._finalizers = null;
79
+ try {
80
+ for (var S = de(b), z = S.next(); !z.done; z = S.next()) {
81
+ var w = z.value;
82
+ try {
83
+ Re(w);
84
+ } catch (v) {
85
+ n = n != null ? n : [], v instanceof ce ? n = he(he([], pe(n)), pe(v.errors)) : n.push(v);
86
+ }
87
+ }
88
+ } catch (v) {
89
+ r = { error: v };
90
+ } finally {
91
+ try {
92
+ z && !z.done && (s = S.return) && s.call(S);
93
+ } finally {
94
+ if (r) throw r.error;
95
+ }
96
+ }
97
+ }
98
+ if (n)
99
+ throw new ce(n);
100
+ }
101
+ }, i.prototype.add = function(t) {
102
+ var e;
103
+ if (t && t !== this)
104
+ if (this.closed)
105
+ Re(t);
106
+ else {
107
+ if (t instanceof i) {
108
+ if (t.closed || t._hasParent(this))
109
+ return;
110
+ t._addParent(this);
111
+ }
112
+ (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
113
+ }
114
+ }, i.prototype._hasParent = function(t) {
115
+ var e = this._parentage;
116
+ return e === t || Array.isArray(e) && e.includes(t);
117
+ }, i.prototype._addParent = function(t) {
118
+ var e = this._parentage;
119
+ this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
120
+ }, i.prototype._removeParent = function(t) {
121
+ var e = this._parentage;
122
+ e === t ? this._parentage = null : Array.isArray(e) && ge(e, t);
123
+ }, i.prototype.remove = function(t) {
124
+ var e = this._finalizers;
125
+ e && ge(e, t), t instanceof i && t._removeParent(this);
126
+ }, i.EMPTY = function() {
127
+ var t = new i();
128
+ return t.closed = !0, t;
129
+ }(), i;
130
+ }(), rt = te.EMPTY;
131
+ function nt(i) {
132
+ return i instanceof te || i && "closed" in i && P(i.remove) && P(i.add) && P(i.unsubscribe);
133
+ }
134
+ function Re(i) {
135
+ P(i) ? i() : i.unsubscribe();
136
+ }
137
+ var st = {
138
+ onUnhandledError: null,
139
+ onStoppedNotification: null,
140
+ Promise: void 0,
141
+ useDeprecatedSynchronousErrorHandling: !1,
142
+ useDeprecatedNextContext: !1
143
+ }, ot = {
144
+ setTimeout: function(i, t) {
145
+ for (var e = [], r = 2; r < arguments.length; r++)
146
+ e[r - 2] = arguments[r];
147
+ return setTimeout.apply(void 0, he([i, t], pe(e)));
148
+ },
149
+ clearTimeout: function(i) {
150
+ var t = ot.delegate;
151
+ return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(i);
152
+ },
153
+ delegate: void 0
154
+ };
155
+ function Rt(i) {
156
+ ot.setTimeout(function() {
157
+ throw i;
158
+ });
159
+ }
160
+ function Ue() {
161
+ }
162
+ function ee(i) {
163
+ i();
164
+ }
165
+ var lt = function(i) {
166
+ W(t, i);
167
+ function t(e) {
168
+ var r = i.call(this) || this;
169
+ return r.isStopped = !1, e ? (r.destination = e, nt(e) && e.add(r)) : r.destination = Ht, r;
170
+ }
171
+ return t.create = function(e, r, s) {
172
+ return new be(e, r, s);
173
+ }, t.prototype.next = function(e) {
174
+ this.isStopped || this._next(e);
175
+ }, t.prototype.error = function(e) {
176
+ this.isStopped || (this.isStopped = !0, this._error(e));
177
+ }, t.prototype.complete = function() {
178
+ this.isStopped || (this.isStopped = !0, this._complete());
179
+ }, t.prototype.unsubscribe = function() {
180
+ this.closed || (this.isStopped = !0, i.prototype.unsubscribe.call(this), this.destination = null);
181
+ }, t.prototype._next = function(e) {
182
+ this.destination.next(e);
183
+ }, t.prototype._error = function(e) {
184
+ try {
185
+ this.destination.error(e);
186
+ } finally {
187
+ this.unsubscribe();
188
+ }
189
+ }, t.prototype._complete = function() {
190
+ try {
191
+ this.destination.complete();
192
+ } finally {
193
+ this.unsubscribe();
194
+ }
195
+ }, t;
196
+ }(te), Ut = Function.prototype.bind;
197
+ function me(i, t) {
198
+ return Ut.call(i, t);
199
+ }
200
+ var Jt = function() {
201
+ function i(t) {
202
+ this.partialObserver = t;
203
+ }
204
+ return i.prototype.next = function(t) {
205
+ var e = this.partialObserver;
206
+ if (e.next)
207
+ try {
208
+ e.next(t);
209
+ } catch (r) {
210
+ $(r);
211
+ }
212
+ }, i.prototype.error = function(t) {
213
+ var e = this.partialObserver;
214
+ if (e.error)
215
+ try {
216
+ e.error(t);
217
+ } catch (r) {
218
+ $(r);
219
+ }
220
+ else
221
+ $(t);
222
+ }, i.prototype.complete = function() {
223
+ var t = this.partialObserver;
224
+ if (t.complete)
225
+ try {
226
+ t.complete();
227
+ } catch (e) {
228
+ $(e);
229
+ }
230
+ }, i;
231
+ }(), be = function(i) {
232
+ W(t, i);
233
+ function t(e, r, s) {
234
+ var n = i.call(this) || this, o;
235
+ if (P(e) || !e)
236
+ o = {
237
+ next: e != null ? e : void 0,
238
+ error: r != null ? r : void 0,
239
+ complete: s != null ? s : void 0
240
+ };
241
+ else {
242
+ var a;
243
+ n && st.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
244
+ return n.unsubscribe();
245
+ }, o = {
246
+ next: e.next && me(e.next, a),
247
+ error: e.error && me(e.error, a),
248
+ complete: e.complete && me(e.complete, a)
249
+ }) : o = e;
250
+ }
251
+ return n.destination = new Jt(o), n;
252
+ }
253
+ return t;
254
+ }(lt);
255
+ function $(i) {
256
+ Rt(i);
257
+ }
258
+ function Wt(i) {
259
+ throw i;
260
+ }
261
+ var Ht = {
262
+ closed: !0,
263
+ next: Ue,
264
+ error: Wt,
265
+ complete: Ue
266
+ }, qt = function() {
267
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
268
+ }();
269
+ function Gt(i) {
270
+ return i;
271
+ }
272
+ function Yt(i) {
273
+ return i.length === 0 ? Gt : i.length === 1 ? i[0] : function(e) {
274
+ return i.reduce(function(r, s) {
275
+ return s(r);
276
+ }, e);
277
+ };
278
+ }
279
+ var Je = function() {
280
+ function i(t) {
281
+ t && (this._subscribe = t);
282
+ }
283
+ return i.prototype.lift = function(t) {
284
+ var e = new i();
285
+ return e.source = this, e.operator = t, e;
286
+ }, i.prototype.subscribe = function(t, e, r) {
287
+ var s = this, n = Vt(t) ? t : new be(t, e, r);
288
+ return ee(function() {
289
+ var o = s, a = o.operator, f = o.source;
290
+ n.add(a ? a.call(n, f) : f ? s._subscribe(n) : s._trySubscribe(n));
291
+ }), n;
292
+ }, i.prototype._trySubscribe = function(t) {
293
+ try {
294
+ return this._subscribe(t);
295
+ } catch (e) {
296
+ t.error(e);
297
+ }
298
+ }, i.prototype.forEach = function(t, e) {
299
+ var r = this;
300
+ return e = We(e), new e(function(s, n) {
301
+ var o = new be({
302
+ next: function(a) {
303
+ try {
304
+ t(a);
305
+ } catch (f) {
306
+ n(f), o.unsubscribe();
307
+ }
308
+ },
309
+ error: n,
310
+ complete: s
311
+ });
312
+ r.subscribe(o);
313
+ });
314
+ }, i.prototype._subscribe = function(t) {
315
+ var e;
316
+ return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
317
+ }, i.prototype[qt] = function() {
318
+ return this;
319
+ }, i.prototype.pipe = function() {
320
+ for (var t = [], e = 0; e < arguments.length; e++)
321
+ t[e] = arguments[e];
322
+ return Yt(t)(this);
323
+ }, i.prototype.toPromise = function(t) {
324
+ var e = this;
325
+ return t = We(t), new t(function(r, s) {
326
+ var n;
327
+ e.subscribe(function(o) {
328
+ return n = o;
329
+ }, function(o) {
330
+ return s(o);
331
+ }, function() {
332
+ return r(n);
333
+ });
334
+ });
335
+ }, i.create = function(t) {
336
+ return new i(t);
337
+ }, i;
338
+ }();
339
+ function We(i) {
340
+ var t;
341
+ return (t = i != null ? i : st.Promise) !== null && t !== void 0 ? t : Promise;
342
+ }
343
+ function Kt(i) {
344
+ return i && P(i.next) && P(i.error) && P(i.complete);
345
+ }
346
+ function Vt(i) {
347
+ return i && i instanceof lt || Kt(i) && nt(i);
348
+ }
349
+ var Xt = it(function(i) {
350
+ return function() {
351
+ i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
352
+ };
353
+ }), at = function(i) {
354
+ W(t, i);
355
+ function t() {
356
+ var e = i.call(this) || this;
357
+ return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
358
+ }
359
+ return t.prototype.lift = function(e) {
360
+ var r = new He(this, this);
361
+ return r.operator = e, r;
362
+ }, t.prototype._throwIfClosed = function() {
363
+ if (this.closed)
364
+ throw new Xt();
365
+ }, t.prototype.next = function(e) {
366
+ var r = this;
367
+ ee(function() {
368
+ var s, n;
369
+ if (r._throwIfClosed(), !r.isStopped) {
370
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
371
+ try {
372
+ for (var o = de(r.currentObservers), a = o.next(); !a.done; a = o.next()) {
373
+ var f = a.value;
374
+ f.next(e);
375
+ }
376
+ } catch (h) {
377
+ s = { error: h };
378
+ } finally {
379
+ try {
380
+ a && !a.done && (n = o.return) && n.call(o);
381
+ } finally {
382
+ if (s) throw s.error;
383
+ }
384
+ }
385
+ }
386
+ });
387
+ }, t.prototype.error = function(e) {
388
+ var r = this;
389
+ ee(function() {
390
+ if (r._throwIfClosed(), !r.isStopped) {
391
+ r.hasError = r.isStopped = !0, r.thrownError = e;
392
+ for (var s = r.observers; s.length; )
393
+ s.shift().error(e);
394
+ }
395
+ });
396
+ }, t.prototype.complete = function() {
397
+ var e = this;
398
+ ee(function() {
399
+ if (e._throwIfClosed(), !e.isStopped) {
400
+ e.isStopped = !0;
401
+ for (var r = e.observers; r.length; )
402
+ r.shift().complete();
403
+ }
404
+ });
405
+ }, t.prototype.unsubscribe = function() {
406
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
407
+ }, Object.defineProperty(t.prototype, "observed", {
408
+ get: function() {
409
+ var e;
410
+ return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
411
+ },
412
+ enumerable: !1,
413
+ configurable: !0
414
+ }), t.prototype._trySubscribe = function(e) {
415
+ return this._throwIfClosed(), i.prototype._trySubscribe.call(this, e);
416
+ }, t.prototype._subscribe = function(e) {
417
+ return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
418
+ }, t.prototype._innerSubscribe = function(e) {
419
+ var r = this, s = this, n = s.hasError, o = s.isStopped, a = s.observers;
420
+ return n || o ? rt : (this.currentObservers = null, a.push(e), new te(function() {
421
+ r.currentObservers = null, ge(a, e);
422
+ }));
423
+ }, t.prototype._checkFinalizedStatuses = function(e) {
424
+ var r = this, s = r.hasError, n = r.thrownError, o = r.isStopped;
425
+ s ? e.error(n) : o && e.complete();
426
+ }, t.prototype.asObservable = function() {
427
+ var e = new Je();
428
+ return e.source = this, e;
429
+ }, t.create = function(e, r) {
430
+ return new He(e, r);
431
+ }, t;
432
+ }(Je), He = function(i) {
433
+ W(t, i);
434
+ function t(e, r) {
435
+ var s = i.call(this) || this;
436
+ return s.destination = e, s.source = r, s;
437
+ }
438
+ return t.prototype.next = function(e) {
439
+ var r, s;
440
+ (s = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || s === void 0 || s.call(r, e);
441
+ }, t.prototype.error = function(e) {
442
+ var r, s;
443
+ (s = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || s === void 0 || s.call(r, e);
444
+ }, t.prototype.complete = function() {
445
+ var e, r;
446
+ (r = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || r === void 0 || r.call(e);
447
+ }, t.prototype._subscribe = function(e) {
448
+ var r, s;
449
+ return (s = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && s !== void 0 ? s : rt;
450
+ }, t;
451
+ }(at), ut = {
452
+ now: function() {
453
+ return (ut.delegate || Date).now();
454
+ },
455
+ delegate: void 0
456
+ }, Nt = function(i) {
457
+ W(t, i);
458
+ function t(e, r, s) {
459
+ e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), s === void 0 && (s = ut);
460
+ var n = i.call(this) || this;
461
+ return n._bufferSize = e, n._windowTime = r, n._timestampProvider = s, n._buffer = [], n._infiniteTimeWindow = !0, n._infiniteTimeWindow = r === 1 / 0, n._bufferSize = Math.max(1, e), n._windowTime = Math.max(1, r), n;
462
+ }
463
+ return t.prototype.next = function(e) {
464
+ var r = this, s = r.isStopped, n = r._buffer, o = r._infiniteTimeWindow, a = r._timestampProvider, f = r._windowTime;
465
+ s || (n.push(e), !o && n.push(a.now() + f)), this._trimBuffer(), i.prototype.next.call(this, e);
466
+ }, t.prototype._subscribe = function(e) {
467
+ this._throwIfClosed(), this._trimBuffer();
468
+ for (var r = this._innerSubscribe(e), s = this, n = s._infiniteTimeWindow, o = s._buffer, a = o.slice(), f = 0; f < a.length && !e.closed; f += n ? 1 : 2)
469
+ e.next(a[f]);
470
+ return this._checkFinalizedStatuses(e), r;
471
+ }, t.prototype._trimBuffer = function() {
472
+ var e = this, r = e._bufferSize, s = e._timestampProvider, n = e._buffer, o = e._infiniteTimeWindow, a = (o ? 1 : 2) * r;
473
+ if (r < 1 / 0 && a < n.length && n.splice(0, n.length - a), !o) {
474
+ for (var f = s.now(), h = 0, d = 1; d < n.length && n[d] <= f; d += 2)
475
+ h = d;
476
+ h && n.splice(0, h + 1);
477
+ }
478
+ }, t;
479
+ }(at);
480
+ const qe = [], Ge = {}, Zt = (i, t = 0) => {
481
+ if (qe.indexOf(i) == -1) {
482
+ const e = new Nt(t);
483
+ Ge[i] = e, qe.push(i);
484
+ }
485
+ return Ge[i];
486
+ };
487
+ window.emWidgets = { topic: Zt };
488
+ const Ye = (i) => i.toLowerCase().match(/android/i) ? "Android" : i.toLowerCase().match(/iphone/i) ? "iPhone" : i.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
489
+ function Qt({ withLocale: i, translations: t }) {
490
+ Le.subscribe((e) => {
491
+ e == null && (St.set(t), Le.set(i));
492
+ });
493
+ }
494
+ function Ke(i, t) {
495
+ Ft(i, t);
496
+ }
497
+ const Ve = {
498
+ en: {
499
+ login: "Log in",
500
+ register: "Register",
501
+ details: "Details",
502
+ enrolled: "Enrolled",
503
+ join: "Join",
504
+ joinerror: "An error occurred while registering in the tournament, please try again."
505
+ },
506
+ hr: {
507
+ login: "Prijava",
508
+ register: "Registracija",
509
+ details: "Detalji",
510
+ enrolled: "Upisan",
511
+ join: "Pridruži se",
512
+ joinerror: "Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."
513
+ },
514
+ "zh-hk": {
515
+ login: "登錄",
516
+ register: "登記",
517
+ details: "細節",
518
+ enrolled: "已註冊",
519
+ join: "加入",
520
+ joinerror: "加入錦標賽時出錯,請重試"
521
+ },
522
+ fr: {
523
+ login: "Connexion",
524
+ register: "Enregistre",
525
+ details: "Détails",
526
+ enrolled: "Inscrits",
527
+ join: "Rejoignez",
528
+ joinerror: "Une erreur s'est produite lors de l'inscription au tournoi"
529
+ },
530
+ ro: {
531
+ login: "Autentificare",
532
+ register: "Înregistrare",
533
+ details: "Detalii",
534
+ enrolled: "Înscris",
535
+ join: "Participă",
536
+ joinerror: "A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."
537
+ },
538
+ tr: {
539
+ login: "Giriş yapmak",
540
+ register: "Kayıt olmak",
541
+ details: "Detaylar",
542
+ enrolled: "Katıldın",
543
+ join: "Katılmak",
544
+ joinerror: "Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."
545
+ },
546
+ el: {
547
+ login: "Είσοδος",
548
+ register: "Εγγραφή",
549
+ details: "Λεπτομέρειες",
550
+ enrolled: "Εγγεγραμμένος",
551
+ join: "Συμμετοχή",
552
+ joinerror: "Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."
553
+ },
554
+ es: {
555
+ login: "Iniciar sesión",
556
+ register: "Regístrate",
557
+ details: "Detalles",
558
+ enrolled: "Participando",
559
+ join: "Unirse",
560
+ joinerror: "Ha ocurrido un error mientras se registra en el Torneo"
561
+ },
562
+ hu: {
563
+ login: "Bejelentkezés",
564
+ register: "Regisztráció",
565
+ details: "Adatok",
566
+ enrolled: "Feliratkozott",
567
+ join: "Csatlakozás",
568
+ joinerror: "Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."
569
+ },
570
+ pt: {
571
+ login: "Entrar",
572
+ register: "Registro",
573
+ details: "Detalhes",
574
+ enrolled: "Inscrito",
575
+ join: "Junte-se",
576
+ joinerror: "Ocorreu um erro ao entrar no torneio"
577
+ }
578
+ };
579
+ if (typeof window != "undefined") {
580
+ let i = function(t) {
581
+ return function(...e) {
582
+ try {
583
+ return t.apply(this, e);
584
+ } catch (r) {
585
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
586
+ return !1;
587
+ throw r;
588
+ }
589
+ };
590
+ };
591
+ customElements.define = i(customElements.define), import("./CasinoTournamentsThumbnail-DvqVgpqK.js").then(({ default: t }) => {
592
+ !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
593
+ });
594
+ }
595
+ if (typeof window != "undefined") {
596
+ let i = function(t) {
597
+ return function(...e) {
598
+ try {
599
+ return t.apply(this, e);
600
+ } catch (r) {
601
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
602
+ return !1;
603
+ throw r;
604
+ }
605
+ };
606
+ };
607
+ customElements.define = i(customElements.define), import("./CasinoTournamentsThumbnailDuration-DFBCO700.js").then(({ default: t }) => {
608
+ !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
609
+ "casino-tournaments-thumbnail-duration",
610
+ t.element
611
+ );
612
+ });
613
+ }
614
+ if (typeof window != "undefined") {
615
+ let i = function(t) {
616
+ return function(...e) {
617
+ try {
618
+ return t.apply(this, e);
619
+ } catch (r) {
620
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
621
+ return !1;
622
+ throw r;
623
+ }
624
+ };
625
+ };
626
+ customElements.define = i(customElements.define), import("./CasinoTournamentsThumbnailPrizes-BO1L1Nff.js").then(({ default: t }) => {
627
+ !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
628
+ });
629
+ }
630
+ if (typeof window != "undefined") {
631
+ let i = function(t) {
632
+ return function(...e) {
633
+ try {
634
+ return t.apply(this, e);
635
+ } catch (r) {
636
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
637
+ return !1;
638
+ throw r;
639
+ }
640
+ };
641
+ };
642
+ customElements.define = i(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BJ6olJeN.js").then(
643
+ ({ default: t }) => {
644
+ !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
645
+ "casino-tournaments-thumbnail-games-slider",
646
+ t.element
647
+ );
648
+ }
649
+ );
650
+ }
651
+ function $t(i) {
652
+ Pt(i, "svelte-m5izi2", '.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2,.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2::before,.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{cursor:pointer}.TournamentCard.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{position:relative;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:100%}.CardMaxWidth.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{max-width:600px}.TournamentButtons.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons.svelte-m5izi2 button.svelte-m5izi2.svelte-m5izi2{cursor:pointer}.LoginButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.RegisterButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.DetailsButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.DetailsLargeButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.EnrolledButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.JoinButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:100%}.ErrorText.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-color-footer-bg, #212529);border-radius:2px}.ph-item.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2,.ph-item.svelte-m5izi2 .svelte-m5izi2.svelte-m5izi2,.ph-item.svelte-m5izi2 .svelte-m5izi2.svelte-m5izi2::after,.ph-item.svelte-m5izi2 .svelte-m5izi2.svelte-m5izi2::before{box-sizing:border-box}.ph-item.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emfe-w-color-contrast, #07072A), 0) 46%, rgba(var(--emfe-w-color-contrast, #07072A), 0.35) 50%, rgba(var(--emfe-w-color-contrast, #07072A), 0) 54%) 50% 50%;animation:svelte-m5izi2-phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item.svelte-m5izi2>.svelte-m5izi2.svelte-m5izi2{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row.svelte-m5izi2 div.svelte-m5izi2.svelte-m5izi2{height:10px;margin-top:7.5px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}.ph-row.svelte-m5izi2 .big.svelte-m5izi2.svelte-m5izi2{height:20px}.ph-row.svelte-m5izi2 .empty.svelte-m5izi2.svelte-m5izi2{background-color:rgba(var(--emfe-w-color-contrast, #07072A), 0)}.ph-col-4.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 33.3333333333%}.ph-col-6.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 50%}.ph-col-8.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 66.6666666667%}.ph-col-12.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 100%}[class*=ph-col].svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{direction:ltr}[class*=ph-col].svelte-m5izi2>.svelte-m5izi2+.ph-row.svelte-m5izi2{margin-top:0}[class*=ph-col].svelte-m5izi2>.svelte-m5izi2+.svelte-m5izi2{margin-top:7.5px}.ph-picture.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:100%;height:120px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}@keyframes svelte-m5izi2-phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner.svelte-m5izi2 circle.svelte-m5izi2.svelte-m5izi2{fill:transparent;stroke:var(--emfe-w-color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:svelte-m5izi2-spinner 2s linear infinite;-moz-animation:svelte-m5izi2-spinner 2s linear infinite;-ms-animation:svelte-m5izi2-spinner 2s linear infinite;-o-animation:svelte-m5izi2-spinner 2s linear infinite;animation:svelte-m5izi2-spinner 2s linear infinite}@-webkit-keyframes svelte-m5izi2-spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes svelte-m5izi2-spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes svelte-m5izi2-spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes svelte-m5izi2-spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes svelte-m5izi2-spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes svelte-m5izi2-fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes svelte-m5izi2-fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes svelte-m5izi2-fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes svelte-m5izi2-fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{-webkit-animation:svelte-m5izi2-fadein 2s linear forwards;animation:svelte-m5izi2-fadein 2s linear forwards}.elementToFadeOut.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{-webkit-animation:svelte-m5izi2-fadeout 0.1s ease-out forwards;animation:svelte-m5izi2-fadeout 0.1s ease-out forwards}');
653
+ }
654
+ function ei(i) {
655
+ let t, e, r, s, n, o, a, f, h, d = (
656
+ /*isLoggedIn*/
657
+ i[14] && Xe(i)
658
+ );
659
+ function b(c, p) {
660
+ if (!/*isLoggedIn*/
661
+ c[14]) return ni;
662
+ if (
663
+ /*status*/
664
+ c[23] != "Closed" && /*status*/
665
+ c[23] != "Closing"
666
+ ) return ri;
667
+ if (
668
+ /*showdetails*/
669
+ c[3] == "true"
670
+ ) return ii;
671
+ }
672
+ let S = b(i), z = S && S(i), w = (
673
+ /*errorJoin*/
674
+ (i[17] || /*errorJoinConcurrently*/
675
+ i[19]) && $e(i)
676
+ ), v = (
677
+ /*showslider*/
678
+ i[4] == "true" && et(i)
679
+ );
680
+ return {
681
+ c() {
682
+ t = F("div"), e = F("casino-tournaments-thumbnail"), r = B(), d && d.c(), s = B(), n = F("div"), z && z.c(), o = B(), w && w.c(), a = B(), v && v.c(), u(
683
+ e,
684
+ "session",
685
+ /*session*/
686
+ i[0]
687
+ ), u(
688
+ e,
689
+ "userid",
690
+ /*userid*/
691
+ i[1]
692
+ ), u(
693
+ e,
694
+ "title",
695
+ /*title*/
696
+ i[20]
697
+ ), u(
698
+ e,
699
+ "status",
700
+ /*status*/
701
+ i[23]
702
+ ), u(
703
+ e,
704
+ "startdate",
705
+ /*startdate*/
706
+ i[21]
707
+ ), u(
708
+ e,
709
+ "tourid",
710
+ /*tourid*/
711
+ i[24]
712
+ ), u(
713
+ e,
714
+ "scorecriteria",
715
+ /*scorecriteria*/
716
+ i[27]
717
+ ), u(
718
+ e,
719
+ "minbetcount",
720
+ /*minbetcount*/
721
+ i[28]
722
+ ), u(
723
+ e,
724
+ "thumbnail",
725
+ /*thumbnail*/
726
+ i[25]
727
+ ), u(
728
+ e,
729
+ "showenrolled",
730
+ /*showenrolled*/
731
+ i[5]
732
+ ), u(
733
+ e,
734
+ "gameurl",
735
+ /*gameurl*/
736
+ i[30]
737
+ ), u(
738
+ e,
739
+ "userenrolled",
740
+ /*userenrolled*/
741
+ i[26]
742
+ ), u(
743
+ e,
744
+ "clientstyling",
745
+ /*clientstyling*/
746
+ i[10]
747
+ ), u(
748
+ e,
749
+ "clientstylingurl",
750
+ /*clientstylingurl*/
751
+ i[11]
752
+ ), u(
753
+ e,
754
+ "translationurl",
755
+ /*translationurl*/
756
+ i[12]
757
+ ), u(
758
+ e,
759
+ "lang",
760
+ /*lang*/
761
+ i[8]
762
+ ), u(
763
+ e,
764
+ "keepbrowsercontext",
765
+ /*keepbrowsercontext*/
766
+ i[9]
767
+ ), u(e, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), u(e, "class", "svelte-m5izi2"), m(n, "class", "TournamentButtons svelte-m5izi2"), m(n, "part", "TournamentButtons"), m(t, "class", f = "TournamentCard " + /*maxwidth*/
768
+ (i[6] ? "CardMaxWidth" : "") + /*fullsize*/
769
+ (i[7] ? "CardFullSize" : "") + " " + /*isChanging*/
770
+ (i[31] ? "elementToFadeOut" : "elementToFadeIn") + " svelte-m5izi2"), m(t, "part", h = "TournamentCard " + /*maxwidth*/
771
+ (i[6] ? "CardMaxWidth" : "") + /*fullsize*/
772
+ (i[7] ? "CardFullSize" : "") + " " + /*isChanging*/
773
+ (i[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
774
+ (i[31] ? "elementToFadeOut" : "elementToFadeIn"));
775
+ },
776
+ m(c, p) {
777
+ _(c, t, p), y(t, e), y(t, r), d && d.m(t, null), y(t, s), y(t, n), z && z.m(n, null), y(t, o), w && w.m(t, null), y(t, a), v && v.m(t, null);
778
+ },
779
+ p(c, p) {
780
+ p[0] & /*session*/
781
+ 1 && u(
782
+ e,
783
+ "session",
784
+ /*session*/
785
+ c[0]
786
+ ), p[0] & /*userid*/
787
+ 2 && u(
788
+ e,
789
+ "userid",
790
+ /*userid*/
791
+ c[1]
792
+ ), p[0] & /*title*/
793
+ 1048576 && u(
794
+ e,
795
+ "title",
796
+ /*title*/
797
+ c[20]
798
+ ), p[0] & /*status*/
799
+ 8388608 && u(
800
+ e,
801
+ "status",
802
+ /*status*/
803
+ c[23]
804
+ ), p[0] & /*startdate*/
805
+ 2097152 && u(
806
+ e,
807
+ "startdate",
808
+ /*startdate*/
809
+ c[21]
810
+ ), p[0] & /*tourid*/
811
+ 16777216 && u(
812
+ e,
813
+ "tourid",
814
+ /*tourid*/
815
+ c[24]
816
+ ), p[0] & /*scorecriteria*/
817
+ 134217728 && u(
818
+ e,
819
+ "scorecriteria",
820
+ /*scorecriteria*/
821
+ c[27]
822
+ ), p[0] & /*minbetcount*/
823
+ 268435456 && u(
824
+ e,
825
+ "minbetcount",
826
+ /*minbetcount*/
827
+ c[28]
828
+ ), p[0] & /*thumbnail*/
829
+ 33554432 && u(
830
+ e,
831
+ "thumbnail",
832
+ /*thumbnail*/
833
+ c[25]
834
+ ), p[0] & /*showenrolled*/
835
+ 32 && u(
836
+ e,
837
+ "showenrolled",
838
+ /*showenrolled*/
839
+ c[5]
840
+ ), p[0] & /*gameurl*/
841
+ 1073741824 && u(
842
+ e,
843
+ "gameurl",
844
+ /*gameurl*/
845
+ c[30]
846
+ ), p[0] & /*userenrolled*/
847
+ 67108864 && u(
848
+ e,
849
+ "userenrolled",
850
+ /*userenrolled*/
851
+ c[26]
852
+ ), p[0] & /*clientstyling*/
853
+ 1024 && u(
854
+ e,
855
+ "clientstyling",
856
+ /*clientstyling*/
857
+ c[10]
858
+ ), p[0] & /*clientstylingurl*/
859
+ 2048 && u(
860
+ e,
861
+ "clientstylingurl",
862
+ /*clientstylingurl*/
863
+ c[11]
864
+ ), p[0] & /*translationurl*/
865
+ 4096 && u(
866
+ e,
867
+ "translationurl",
868
+ /*translationurl*/
869
+ c[12]
870
+ ), p[0] & /*lang*/
871
+ 256 && u(
872
+ e,
873
+ "lang",
874
+ /*lang*/
875
+ c[8]
876
+ ), p[0] & /*keepbrowsercontext*/
877
+ 512 && u(
878
+ e,
879
+ "keepbrowsercontext",
880
+ /*keepbrowsercontext*/
881
+ c[9]
882
+ ), /*isLoggedIn*/
883
+ c[14] ? d ? d.p(c, p) : (d = Xe(c), d.c(), d.m(t, s)) : d && (d.d(1), d = null), S === (S = b(c)) && z ? z.p(c, p) : (z && z.d(1), z = S && S(c), z && (z.c(), z.m(n, null))), /*errorJoin*/
884
+ c[17] || /*errorJoinConcurrently*/
885
+ c[19] ? w ? w.p(c, p) : (w = $e(c), w.c(), w.m(t, a)) : w && (w.d(1), w = null), /*showslider*/
886
+ c[4] == "true" ? v ? v.p(c, p) : (v = et(c), v.c(), v.m(t, null)) : v && (v.d(1), v = null), p[0] & /*maxwidth, fullsize*/
887
+ 192 | p[1] & /*isChanging*/
888
+ 1 && f !== (f = "TournamentCard " + /*maxwidth*/
889
+ (c[6] ? "CardMaxWidth" : "") + /*fullsize*/
890
+ (c[7] ? "CardFullSize" : "") + " " + /*isChanging*/
891
+ (c[31] ? "elementToFadeOut" : "elementToFadeIn") + " svelte-m5izi2") && m(t, "class", f), p[0] & /*maxwidth, fullsize*/
892
+ 192 | p[1] & /*isChanging*/
893
+ 1 && h !== (h = "TournamentCard " + /*maxwidth*/
894
+ (c[6] ? "CardMaxWidth" : "") + /*fullsize*/
895
+ (c[7] ? "CardFullSize" : "") + " " + /*isChanging*/
896
+ (c[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
897
+ (c[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "part", h);
898
+ },
899
+ d(c) {
900
+ c && k(t), d && d.d(), z && z.d(), w && w.d(), v && v.d();
901
+ }
902
+ };
903
+ }
904
+ function ti(i) {
905
+ let t, e, r, s;
906
+ return {
907
+ c() {
908
+ t = F("div"), e = F("div"), e.innerHTML = '<div class="ph-col-12 svelte-m5izi2" part="ph-col-12"><div class="ph-picture svelte-m5izi2" part="ph-picture"></div> <div class="ph-row svelte-m5izi2" part="ph-row"><div class="ph-col-6 big svelte-m5izi2" part="ph-col-6 big"></div> <div class="ph-col-4 empty big svelte-m5izi2" part="ph-col-4 empty big"></div> <div class="ph-col-4 svelte-m5izi2" part="ph-col-4"></div> <div class="ph-col-8 empty svelte-m5izi2" part="ph-col-8 empty"></div> <div class="ph-col-6 svelte-m5izi2" part="ph-col-6"></div> <div class="ph-col-6 empty svelte-m5izi2" part="ph-col-6 empty"></div> <div class="ph-col-12 svelte-m5izi2" part="ph-col-12"></div></div></div>', m(e, "class", "ph-item svelte-m5izi2"), m(e, "part", "ph-item"), m(t, "class", r = "TournamentCard " + /*maxwidth*/
909
+ (i[6] ? "CardMaxWidth" : "") + /*fullsize*/
910
+ (i[7] ? "CardFullSize" : "") + " " + /*isChanging*/
911
+ (i[31] ? "elementToFadeOut" : "elementToFadeIn") + " svelte-m5izi2"), m(t, "part", s = "TournamentCard " + /*maxwidth*/
912
+ (i[6] ? "CardMaxWidth" : "") + /*fullsize*/
913
+ (i[7] ? "CardFullSize" : "") + " " + /*isChanging*/
914
+ (i[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
915
+ (i[31] ? "elementToFadeOut" : "elementToFadeIn"));
916
+ },
917
+ m(n, o) {
918
+ _(n, t, o), y(t, e);
919
+ },
920
+ p(n, o) {
921
+ o[0] & /*maxwidth, fullsize*/
922
+ 192 | o[1] & /*isChanging*/
923
+ 1 && r !== (r = "TournamentCard " + /*maxwidth*/
924
+ (n[6] ? "CardMaxWidth" : "") + /*fullsize*/
925
+ (n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
926
+ (n[31] ? "elementToFadeOut" : "elementToFadeIn") + " svelte-m5izi2") && m(t, "class", r), o[0] & /*maxwidth, fullsize*/
927
+ 192 | o[1] & /*isChanging*/
928
+ 1 && s !== (s = "TournamentCard " + /*maxwidth*/
929
+ (n[6] ? "CardMaxWidth" : "") + /*fullsize*/
930
+ (n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
931
+ (n[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
932
+ (n[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "part", s);
933
+ },
934
+ d(n) {
935
+ n && k(t);
936
+ }
937
+ };
938
+ }
939
+ function Xe(i) {
940
+ let t, e, r = (
941
+ /*tourid*/
942
+ i[24] && Ne(i)
943
+ );
944
+ return {
945
+ c() {
946
+ r && r.c(), t = B(), e = F("casino-tournaments-thumbnail-duration"), u(
947
+ e,
948
+ "clientstyling",
949
+ /*clientstyling*/
950
+ i[10]
951
+ ), u(
952
+ e,
953
+ "clientstylingurl",
954
+ /*clientstylingurl*/
955
+ i[11]
956
+ ), u(
957
+ e,
958
+ "translationurl",
959
+ /*translationurl*/
960
+ i[12]
961
+ ), u(
962
+ e,
963
+ "status",
964
+ /*status*/
965
+ i[23]
966
+ ), u(
967
+ e,
968
+ "startdate",
969
+ /*startdate*/
970
+ i[21]
971
+ ), u(
972
+ e,
973
+ "lang",
974
+ /*lang*/
975
+ i[8]
976
+ ), u(
977
+ e,
978
+ "enddate",
979
+ /*enddate*/
980
+ i[22]
981
+ ), u(e, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"), u(e, "class", "svelte-m5izi2");
982
+ },
983
+ m(s, n) {
984
+ r && r.m(s, n), _(s, t, n), _(s, e, n);
985
+ },
986
+ p(s, n) {
987
+ /*tourid*/
988
+ s[24] ? r ? r.p(s, n) : (r = Ne(s), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), n[0] & /*clientstyling*/
989
+ 1024 && u(
990
+ e,
991
+ "clientstyling",
992
+ /*clientstyling*/
993
+ s[10]
994
+ ), n[0] & /*clientstylingurl*/
995
+ 2048 && u(
996
+ e,
997
+ "clientstylingurl",
998
+ /*clientstylingurl*/
999
+ s[11]
1000
+ ), n[0] & /*translationurl*/
1001
+ 4096 && u(
1002
+ e,
1003
+ "translationurl",
1004
+ /*translationurl*/
1005
+ s[12]
1006
+ ), n[0] & /*status*/
1007
+ 8388608 && u(
1008
+ e,
1009
+ "status",
1010
+ /*status*/
1011
+ s[23]
1012
+ ), n[0] & /*startdate*/
1013
+ 2097152 && u(
1014
+ e,
1015
+ "startdate",
1016
+ /*startdate*/
1017
+ s[21]
1018
+ ), n[0] & /*lang*/
1019
+ 256 && u(
1020
+ e,
1021
+ "lang",
1022
+ /*lang*/
1023
+ s[8]
1024
+ ), n[0] & /*enddate*/
1025
+ 4194304 && u(
1026
+ e,
1027
+ "enddate",
1028
+ /*enddate*/
1029
+ s[22]
1030
+ );
1031
+ },
1032
+ d(s) {
1033
+ s && (k(t), k(e)), r && r.d(s);
1034
+ }
1035
+ };
1036
+ }
1037
+ function Ne(i) {
1038
+ let t, e, r, s;
1039
+ return {
1040
+ c() {
1041
+ t = F("casino-tournaments-thumbnail-prizes"), u(
1042
+ t,
1043
+ "tourid",
1044
+ /*tourid*/
1045
+ i[24]
1046
+ ), u(
1047
+ t,
1048
+ "clientstyling",
1049
+ /*clientstyling*/
1050
+ i[10]
1051
+ ), u(
1052
+ t,
1053
+ "clientstylingurl",
1054
+ /*clientstylingurl*/
1055
+ i[11]
1056
+ ), u(
1057
+ t,
1058
+ "translationurl",
1059
+ /*translationurl*/
1060
+ i[12]
1061
+ ), u(t, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper"), u(t, "class", "svelte-m5izi2");
1062
+ },
1063
+ m(n, o) {
1064
+ _(n, t, o), r || (s = At(e = /*sendTournamentPrizes*/
1065
+ i[37].call(
1066
+ null,
1067
+ t,
1068
+ /*tourid*/
1069
+ i[24]
1070
+ )), r = !0);
1071
+ },
1072
+ p(n, o) {
1073
+ o[0] & /*tourid*/
1074
+ 16777216 && u(
1075
+ t,
1076
+ "tourid",
1077
+ /*tourid*/
1078
+ n[24]
1079
+ ), o[0] & /*clientstyling*/
1080
+ 1024 && u(
1081
+ t,
1082
+ "clientstyling",
1083
+ /*clientstyling*/
1084
+ n[10]
1085
+ ), o[0] & /*clientstylingurl*/
1086
+ 2048 && u(
1087
+ t,
1088
+ "clientstylingurl",
1089
+ /*clientstylingurl*/
1090
+ n[11]
1091
+ ), o[0] & /*translationurl*/
1092
+ 4096 && u(
1093
+ t,
1094
+ "translationurl",
1095
+ /*translationurl*/
1096
+ n[12]
1097
+ ), e && Mt(e.update) && o[0] & /*tourid*/
1098
+ 16777216 && e.update.call(
1099
+ null,
1100
+ /*tourid*/
1101
+ n[24]
1102
+ );
1103
+ },
1104
+ d(n) {
1105
+ n && k(t), r = !1, s();
1106
+ }
1107
+ };
1108
+ }
1109
+ function ii(i) {
1110
+ let t, e = (
1111
+ /*$_*/
1112
+ i[32]("details") + ""
1113
+ ), r, s, n;
1114
+ return {
1115
+ c() {
1116
+ t = F("button"), r = O(e), m(t, "class", "DetailsLargeButton svelte-m5izi2"), m(t, "part", "DetailsLargeButton");
1117
+ },
1118
+ m(o, a) {
1119
+ _(o, t, a), y(t, r), s || (n = J(
1120
+ t,
1121
+ "click",
1122
+ /*click_handler_4*/
1123
+ i[51]
1124
+ ), s = !0);
1125
+ },
1126
+ p(o, a) {
1127
+ a[1] & /*$_*/
1128
+ 2 && e !== (e = /*$_*/
1129
+ o[32]("details") + "") && D(r, e);
1130
+ },
1131
+ d(o) {
1132
+ o && k(t), s = !1, n();
1133
+ }
1134
+ };
1135
+ }
1136
+ function ri(i) {
1137
+ let t, e, r = (
1138
+ /*showdetails*/
1139
+ i[3] == "true" && Ze(i)
1140
+ );
1141
+ function s(a, f) {
1142
+ return (
1143
+ /*userenrolled*/
1144
+ a[26] ? oi : si
1145
+ );
1146
+ }
1147
+ let n = s(i), o = n(i);
1148
+ return {
1149
+ c() {
1150
+ r && r.c(), t = B(), o.c(), e = tt();
1151
+ },
1152
+ m(a, f) {
1153
+ r && r.m(a, f), _(a, t, f), o.m(a, f), _(a, e, f);
1154
+ },
1155
+ p(a, f) {
1156
+ /*showdetails*/
1157
+ a[3] == "true" ? r ? r.p(a, f) : (r = Ze(a), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), n === (n = s(a)) && o ? o.p(a, f) : (o.d(1), o = n(a), o && (o.c(), o.m(e.parentNode, e)));
1158
+ },
1159
+ d(a) {
1160
+ a && (k(t), k(e)), r && r.d(a), o.d(a);
1161
+ }
1162
+ };
1163
+ }
1164
+ function ni(i) {
1165
+ let t, e = (
1166
+ /*$_*/
1167
+ i[32]("login") + ""
1168
+ ), r, s, n, o = (
1169
+ /*$_*/
1170
+ i[32]("register") + ""
1171
+ ), a, f, h;
1172
+ return {
1173
+ c() {
1174
+ t = F("button"), r = O(e), s = B(), n = F("button"), a = O(o), m(t, "class", "LoginButton svelte-m5izi2"), m(t, "part", "LoginButton"), m(n, "class", "RegisterButton svelte-m5izi2"), m(n, "part", "RegisterButton");
1175
+ },
1176
+ m(d, b) {
1177
+ _(d, t, b), y(t, r), _(d, s, b), _(d, n, b), y(n, a), f || (h = [
1178
+ J(
1179
+ t,
1180
+ "click",
1181
+ /*click_handler*/
1182
+ i[47]
1183
+ ),
1184
+ J(
1185
+ n,
1186
+ "click",
1187
+ /*click_handler_1*/
1188
+ i[48]
1189
+ )
1190
+ ], f = !0);
1191
+ },
1192
+ p(d, b) {
1193
+ b[1] & /*$_*/
1194
+ 2 && e !== (e = /*$_*/
1195
+ d[32]("login") + "") && D(r, e), b[1] & /*$_*/
1196
+ 2 && o !== (o = /*$_*/
1197
+ d[32]("register") + "") && D(a, o);
1198
+ },
1199
+ d(d) {
1200
+ d && (k(t), k(s), k(n)), f = !1, Lt(h);
1201
+ }
1202
+ };
1203
+ }
1204
+ function Ze(i) {
1205
+ let t, e = (
1206
+ /*$_*/
1207
+ i[32]("details") + ""
1208
+ ), r, s, n;
1209
+ return {
1210
+ c() {
1211
+ t = F("button"), r = O(e), m(t, "class", "DetailsButton svelte-m5izi2"), m(t, "part", "DetailsButton");
1212
+ },
1213
+ m(o, a) {
1214
+ _(o, t, a), y(t, r), s || (n = J(
1215
+ t,
1216
+ "click",
1217
+ /*click_handler_2*/
1218
+ i[49]
1219
+ ), s = !0);
1220
+ },
1221
+ p(o, a) {
1222
+ a[1] & /*$_*/
1223
+ 2 && e !== (e = /*$_*/
1224
+ o[32]("details") + "") && D(r, e);
1225
+ },
1226
+ d(o) {
1227
+ o && k(t), s = !1, n();
1228
+ }
1229
+ };
1230
+ }
1231
+ function si(i) {
1232
+ let t, e, r, s, n;
1233
+ function o(h, d) {
1234
+ return (
1235
+ /*joinButtonLoading*/
1236
+ h[16] == !0 ? ai : li
1237
+ );
1238
+ }
1239
+ let a = o(i), f = a(i);
1240
+ return {
1241
+ c() {
1242
+ t = F("button"), f.c(), m(t, "class", e = "JoinButton " + /*fullsize*/
1243
+ (i[7] ? "JoinButtonFullSize" : "") + " svelte-m5izi2"), m(t, "part", r = "JoinButton " + /*fullsize*/
1244
+ (i[7] ? "JoinButtonFullSize" : "")), t.disabled = /*errorJoin*/
1245
+ i[17];
1246
+ },
1247
+ m(h, d) {
1248
+ _(h, t, d), f.m(t, null), s || (n = J(
1249
+ t,
1250
+ "click",
1251
+ /*click_handler_3*/
1252
+ i[50]
1253
+ ), s = !0);
1254
+ },
1255
+ p(h, d) {
1256
+ a === (a = o(h)) && f ? f.p(h, d) : (f.d(1), f = a(h), f && (f.c(), f.m(t, null))), d[0] & /*fullsize*/
1257
+ 128 && e !== (e = "JoinButton " + /*fullsize*/
1258
+ (h[7] ? "JoinButtonFullSize" : "") + " svelte-m5izi2") && m(t, "class", e), d[0] & /*fullsize*/
1259
+ 128 && r !== (r = "JoinButton " + /*fullsize*/
1260
+ (h[7] ? "JoinButtonFullSize" : "")) && m(t, "part", r), d[0] & /*errorJoin*/
1261
+ 131072 && (t.disabled = /*errorJoin*/
1262
+ h[17]);
1263
+ },
1264
+ d(h) {
1265
+ h && k(t), f.d(), s = !1, n();
1266
+ }
1267
+ };
1268
+ }
1269
+ function oi(i) {
1270
+ let t, e = (
1271
+ /*showdetails*/
1272
+ i[3] == "true" && Qe(i)
1273
+ );
1274
+ return {
1275
+ c() {
1276
+ e && e.c(), t = tt();
1277
+ },
1278
+ m(r, s) {
1279
+ e && e.m(r, s), _(r, t, s);
1280
+ },
1281
+ p(r, s) {
1282
+ /*showdetails*/
1283
+ r[3] == "true" ? e ? e.p(r, s) : (e = Qe(r), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
1284
+ },
1285
+ d(r) {
1286
+ r && k(t), e && e.d(r);
1287
+ }
1288
+ };
1289
+ }
1290
+ function li(i) {
1291
+ let t, e = (
1292
+ /*$_*/
1293
+ i[32]("join") + ""
1294
+ ), r, s, n, o, a, f, h, d;
1295
+ return {
1296
+ c() {
1297
+ t = F("span"), r = O(e), s = B(), n = A("svg"), o = A("defs"), a = A("style"), f = O(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"), h = A("g"), d = A("path"), m(t, "part", "JoinButtonSpan"), m(t, "class", "svelte-m5izi2"), m(a, "class", "svelte-m5izi2"), m(o, "class", "svelte-m5izi2"), m(d, "class", "a svelte-m5izi2"), m(d, "part", "a JoinButtonSvgA"), m(d, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), m(d, "transform", "translate(26 26) rotate(180)"), m(h, "transform", "translate(26 26) rotate(180)"), m(h, "class", "svelte-m5izi2"), m(n, "part", "JoinButtonSvg"), m(n, "xmlns", "http://www.w3.org/2000/svg"), m(n, "width", "26"), m(n, "height", "26"), m(n, "viewBox", "0 0 26 26"), m(n, "class", "svelte-m5izi2");
1298
+ },
1299
+ m(b, S) {
1300
+ _(b, t, S), y(t, r), _(b, s, S), _(b, n, S), y(n, o), y(o, a), y(a, f), y(n, h), y(h, d);
1301
+ },
1302
+ p(b, S) {
1303
+ S[1] & /*$_*/
1304
+ 2 && e !== (e = /*$_*/
1305
+ b[32]("join") + "") && D(r, e);
1306
+ },
1307
+ d(b) {
1308
+ b && (k(t), k(s), k(n));
1309
+ }
1310
+ };
1311
+ }
1312
+ function ai(i) {
1313
+ let t, e;
1314
+ return {
1315
+ c() {
1316
+ t = A("svg"), e = A("circle"), m(e, "cx", "20"), m(e, "cy", "20"), m(e, "r", "18"), m(e, "class", "svelte-m5izi2"), m(t, "class", "spinner svelte-m5izi2"), m(t, "part", "spinner");
1317
+ },
1318
+ m(r, s) {
1319
+ _(r, t, s), y(t, e);
1320
+ },
1321
+ p: ve,
1322
+ d(r) {
1323
+ r && k(t);
1324
+ }
1325
+ };
1326
+ }
1327
+ function Qe(i) {
1328
+ let t, e = (
1329
+ /*$_*/
1330
+ i[32]("enrolled") + ""
1331
+ ), r;
1332
+ return {
1333
+ c() {
1334
+ t = F("button"), r = O(e), m(t, "class", "EnrolledButton svelte-m5izi2"), m(t, "part", "EnrolledButton"), t.disabled = !0;
1335
+ },
1336
+ m(s, n) {
1337
+ _(s, t, n), y(t, r);
1338
+ },
1339
+ p(s, n) {
1340
+ n[1] & /*$_*/
1341
+ 2 && e !== (e = /*$_*/
1342
+ s[32]("enrolled") + "") && D(r, e);
1343
+ },
1344
+ d(s) {
1345
+ s && k(t);
1346
+ }
1347
+ };
1348
+ }
1349
+ function $e(i) {
1350
+ let t, e = (
1351
+ /*$_*/
1352
+ i[32]("joinerror") + ""
1353
+ ), r, s, n;
1354
+ return {
1355
+ c() {
1356
+ t = F("span"), r = O(e), s = B(), n = O(
1357
+ /*errorJoinText*/
1358
+ i[18]
1359
+ ), m(t, "class", "ErrorText svelte-m5izi2"), m(t, "part", "ErrorText");
1360
+ },
1361
+ m(o, a) {
1362
+ _(o, t, a), y(t, r), y(t, s), y(t, n);
1363
+ },
1364
+ p(o, a) {
1365
+ a[1] & /*$_*/
1366
+ 2 && e !== (e = /*$_*/
1367
+ o[32]("joinerror") + "") && D(r, e), a[0] & /*errorJoinText*/
1368
+ 262144 && D(
1369
+ n,
1370
+ /*errorJoinText*/
1371
+ o[18]
1372
+ );
1373
+ },
1374
+ d(o) {
1375
+ o && k(t);
1376
+ }
1377
+ };
1378
+ }
1379
+ function et(i) {
1380
+ let t;
1381
+ return {
1382
+ c() {
1383
+ t = F("casino-tournaments-thumbnail-games-slider"), u(
1384
+ t,
1385
+ "clientstyling",
1386
+ /*clientstyling*/
1387
+ i[10]
1388
+ ), u(
1389
+ t,
1390
+ "clientstylingurl",
1391
+ /*clientstylingurl*/
1392
+ i[11]
1393
+ ), u(
1394
+ t,
1395
+ "translationurl",
1396
+ /*translationurl*/
1397
+ i[12]
1398
+ ), u(
1399
+ t,
1400
+ "tournamenturl",
1401
+ /*tournamenturl*/
1402
+ i[2]
1403
+ ), u(
1404
+ t,
1405
+ "lang",
1406
+ /*lang*/
1407
+ i[8]
1408
+ ), u(t, "scrollby", "2"), u(t, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton"), u(t, "class", "svelte-m5izi2");
1409
+ },
1410
+ m(e, r) {
1411
+ _(e, t, r);
1412
+ },
1413
+ p(e, r) {
1414
+ r[0] & /*clientstyling*/
1415
+ 1024 && u(
1416
+ t,
1417
+ "clientstyling",
1418
+ /*clientstyling*/
1419
+ e[10]
1420
+ ), r[0] & /*clientstylingurl*/
1421
+ 2048 && u(
1422
+ t,
1423
+ "clientstylingurl",
1424
+ /*clientstylingurl*/
1425
+ e[11]
1426
+ ), r[0] & /*translationurl*/
1427
+ 4096 && u(
1428
+ t,
1429
+ "translationurl",
1430
+ /*translationurl*/
1431
+ e[12]
1432
+ ), r[0] & /*tournamenturl*/
1433
+ 4 && u(
1434
+ t,
1435
+ "tournamenturl",
1436
+ /*tournamenturl*/
1437
+ e[2]
1438
+ ), r[0] & /*lang*/
1439
+ 256 && u(
1440
+ t,
1441
+ "lang",
1442
+ /*lang*/
1443
+ e[8]
1444
+ );
1445
+ },
1446
+ d(e) {
1447
+ e && k(t);
1448
+ }
1449
+ };
1450
+ }
1451
+ function ui(i) {
1452
+ let t;
1453
+ function e(n, o) {
1454
+ if (
1455
+ /*isLoading*/
1456
+ n[15]
1457
+ ) return ti;
1458
+ if (
1459
+ /*title*/
1460
+ n[20]
1461
+ ) return ei;
1462
+ }
1463
+ let r = e(i), s = r && r(i);
1464
+ return {
1465
+ c() {
1466
+ t = F("div"), s && s.c(), m(t, "class", "svelte-m5izi2");
1467
+ },
1468
+ m(n, o) {
1469
+ _(n, t, o), s && s.m(t, null), i[52](t);
1470
+ },
1471
+ p(n, o) {
1472
+ r === (r = e(n)) && s ? s.p(n, o) : (s && s.d(1), s = r && r(n), s && (s.c(), s.m(t, null)));
1473
+ },
1474
+ i: ve,
1475
+ o: ve,
1476
+ d(n) {
1477
+ n && k(t), s && s.d(), i[52](null);
1478
+ }
1479
+ };
1480
+ }
1481
+ function fi(i, t, e) {
1482
+ let r;
1483
+ Ot(i, xt, (l) => e(32, r = l));
1484
+ let { session: s = "" } = t, { userid: n = "" } = t, { tournamenturl: o = "" } = t, { touridx: a } = t, { endpoint: f = "" } = t, { showdetails: h = "" } = t, { showslider: d = "" } = t, { showenrolled: b = "" } = t, { maxwidth: S = "" } = t, { fullsize: z = "" } = t, { lang: w = "" } = t, { loginevent: v = "" } = t, { registerevent: c = "" } = t, { loginurl: p = "" } = t, { registerurl: H = "" } = t, { currency: ie = "" } = t, { keepbrowsercontext: ze = "false" } = t, { clientstyling: q = "" } = t, { clientstylingurl: G = "" } = t, { translationurl: Y = "" } = t, { tournamentinfo: K } = t, I, x = !1, V = "", L = !0, we = window.navigator.userAgent, X = !1, N = !1, ye = "There was an error while trying to join the tournament", re = !1, _e, ke, Te, R, j, Se, ne, Fe, Ee, Ce = [], se = [], je = "#", oe, Z = !1;
1485
+ Qt({ withLocale: "en", translations: {} });
1486
+ const ct = () => {
1487
+ fetch(Y).then((g) => g.json()).then((g) => {
1488
+ Object.keys(g).forEach((E) => {
1489
+ Ke(E, g[E]);
1490
+ });
1491
+ }).catch((g) => {
1492
+ console.log(g);
1493
+ });
1494
+ };
1495
+ Object.keys(Ve).forEach((l) => {
1496
+ Ke(l, Ve[l]);
1497
+ });
1498
+ const Be = (l) => {
1499
+ mt(l), ae(l), Ae(this, j);
1500
+ }, Pe = (l) => {
1501
+ if (l.data && l.data.type == "UserSessionID" && (e(14, x = !0), V = l.data.session), l.data.type == "UpdateTournamentView") {
1502
+ let g = l.data.tournamentData;
1503
+ if (j && j != g.id)
1504
+ return;
1505
+ Be(g);
1506
+ }
1507
+ if (l.data && l.data.type == `UpdateSingleTournament_${a}`) {
1508
+ let g = l.data.tournamentData, E = a < 4 ? a * 100 : Math.random() * 300 + 300;
1509
+ e(31, Z = a == 1), setTimeout(
1510
+ () => {
1511
+ e(31, Z = !0), e(24, j = g.id), Be(g);
1512
+ },
1513
+ E
1514
+ ), setTimeout(
1515
+ () => {
1516
+ e(31, Z = !1);
1517
+ },
1518
+ E + 200
1519
+ );
1520
+ }
1521
+ }, mt = (l) => {
1522
+ l.state != R && (e(23, R = l.state), window.postMessage(
1523
+ {
1524
+ type: `TournamentStatus_${j}`,
1525
+ status: R
1526
+ },
1527
+ window.location.href
1528
+ ));
1529
+ }, Oe = () => {
1530
+ v && (window.postMessage({ type: v, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1531
+ context: "TournamentsThumbnailController"
1532
+ })), p && (window.location = p);
1533
+ }, De = () => {
1534
+ c && (window.postMessage(
1535
+ {
1536
+ type: c,
1537
+ transition: "Register"
1538
+ },
1539
+ window.location.href
1540
+ ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
1541
+ context: "TournamentsThumbnailController"
1542
+ })), H && (window.location = H);
1543
+ }, le = (l) => {
1544
+ window.postMessage(
1545
+ {
1546
+ type: "TournamentDetailsClicked",
1547
+ tournamentId: l,
1548
+ showLeaderboard: !0
1549
+ },
1550
+ window.location.href
1551
+ );
1552
+ }, Ie = (l, g) => fe(this, null, function* () {
1553
+ var xe;
1554
+ e(17, N = !1), e(19, re = !1), window.postMessage(
1555
+ {
1556
+ type: "TournamentJoinRequest",
1557
+ tournamentId: l
1558
+ },
1559
+ window.location.href
1560
+ ), e(16, X = !0);
1561
+ let E = new URL(`${f}/v1/bonus/claim`), Q = new Headers(), M = {};
1562
+ E.searchParams.append("language", w), E.searchParams.append("platform", Ye(we)), Q.append("Content-Type", "application/json"), Q.append("X-SessionID", V), g && g.length >= 1 && (M = {
1563
+ language: w,
1564
+ bonusCode: g[0].code,
1565
+ currency: ie,
1566
+ type: "tournament"
1567
+ });
1568
+ let Tt = {
1569
+ method: "PUT",
1570
+ headers: Q,
1571
+ body: JSON.stringify(M)
1572
+ };
1573
+ const Me = () => {
1574
+ e(16, X = !1), e(26, ne = !0);
1575
+ }, ue = (C) => {
1576
+ e(16, X = !1), C && e(18, ye = C), e(17, N = !0);
1577
+ }, U = yield fe(this, null, function* () {
1578
+ let C;
1579
+ try {
1580
+ C = yield fetch(E, Tt), C = yield C.json();
1581
+ } catch (mi) {
1582
+ ue();
1583
+ }
1584
+ return C;
1585
+ });
1586
+ if (U)
1587
+ if (U.success == !0)
1588
+ Me();
1589
+ else if (U.errorMessage.match("VersionMismatchException")) {
1590
+ let C;
1591
+ C = yield fetch(`${f}/tournaments/${j}`, { headers: { "X-SessionID": s } }), C = yield C.json(), (xe = C == null ? void 0 : C.item) != null && xe.playerEnrolled ? Me() : (ue(U.errorMessage), e(19, re = !0), e(17, N = !1));
1592
+ } else
1593
+ ue(U.errorMessage);
1594
+ }), Ae = (l, g) => {
1595
+ window.postMessage(
1596
+ {
1597
+ type: `TournamentPrizes_${g}`,
1598
+ prizes: Ce
1599
+ },
1600
+ window.location.href
1601
+ );
1602
+ }, ae = (l) => {
1603
+ l && (e(20, _e = l.nameOrTitle || ""), e(21, ke = l.startTime), e(22, Te = l.endTime), e(23, R = l.state), e(24, j = l.id), e(25, Se = l.thumbnail), e(26, ne = l.playerEnrolled === "true" || l.playerEnrolled == !0 || !1), e(27, Fe = l.scoreCriteria), e(28, Ee = l.minBetCount), Ce = l.prizes, e(29, se = l.wallets || []), e(30, je = l.termsUrl || "#"));
1604
+ }, dt = (l) => {
1605
+ e(15, L = !0);
1606
+ let g = new URL(l), E = new Headers();
1607
+ g.searchParams.append("language", w), g.searchParams.append("platform", Ye(we)), x && E.append("X-SessionID", V), fetch(g, { method: "GET", headers: E }).then((M) => M.json()).then((M) => {
1608
+ e(15, L = !1), ae(M.item);
1609
+ });
1610
+ }, ht = () => {
1611
+ s.length > 0 && s != "false" ? (V = s, e(14, x = !0)) : e(14, x = !1);
1612
+ }, pt = () => {
1613
+ if (K) {
1614
+ ae(K);
1615
+ return;
1616
+ }
1617
+ e(15, L = !0), dt(o);
1618
+ }, vt = () => {
1619
+ let l = document.createElement("style");
1620
+ l.innerHTML = q, I.appendChild(l);
1621
+ }, gt = () => {
1622
+ let l = new URL(G), g = document.createElement("style");
1623
+ fetch(l.href).then((E) => E.text()).then((E) => {
1624
+ g.innerHTML = E, setTimeout(
1625
+ () => {
1626
+ I.appendChild(g);
1627
+ },
1628
+ 1
1629
+ ), setTimeout(
1630
+ () => {
1631
+ },
1632
+ 500
1633
+ );
1634
+ });
1635
+ };
1636
+ Dt(() => (e(15, L = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Pe, !1), () => {
1637
+ window.removeEventListener("message", Pe);
1638
+ }));
1639
+ const bt = () => Oe(), zt = () => De(), wt = () => le(j), yt = () => Ie(j, se), _t = () => le(j);
1640
+ function kt(l) {
1641
+ It[l ? "unshift" : "push"](() => {
1642
+ I = l, e(13, I);
1643
+ });
1644
+ }
1645
+ return i.$$set = (l) => {
1646
+ "session" in l && e(0, s = l.session), "userid" in l && e(1, n = l.userid), "tournamenturl" in l && e(2, o = l.tournamenturl), "touridx" in l && e(38, a = l.touridx), "endpoint" in l && e(39, f = l.endpoint), "showdetails" in l && e(3, h = l.showdetails), "showslider" in l && e(4, d = l.showslider), "showenrolled" in l && e(5, b = l.showenrolled), "maxwidth" in l && e(6, S = l.maxwidth), "fullsize" in l && e(7, z = l.fullsize), "lang" in l && e(8, w = l.lang), "loginevent" in l && e(40, v = l.loginevent), "registerevent" in l && e(41, c = l.registerevent), "loginurl" in l && e(42, p = l.loginurl), "registerurl" in l && e(43, H = l.registerurl), "currency" in l && e(44, ie = l.currency), "keepbrowsercontext" in l && e(9, ze = l.keepbrowsercontext), "clientstyling" in l && e(10, q = l.clientstyling), "clientstylingurl" in l && e(11, G = l.clientstylingurl), "translationurl" in l && e(12, Y = l.translationurl), "tournamentinfo" in l && e(45, K = l.tournamentinfo);
1647
+ }, i.$$.update = () => {
1648
+ i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
1649
+ 9216 && I && q && vt(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
1650
+ 10240 && I && G && gt(), i.$$.dirty[0] & /*translationurl*/
1651
+ 4096 && Y && ct(), i.$$.dirty[0] & /*session*/
1652
+ 1 && s && ht(), i.$$.dirty[0] & /*tournamenturl, lang*/
1653
+ 260 && e(46, oe = o && w), i.$$.dirty[1] & /*initialParameters*/
1654
+ 32768 && oe && pt();
1655
+ }, [
1656
+ s,
1657
+ n,
1658
+ o,
1659
+ h,
1660
+ d,
1661
+ b,
1662
+ S,
1663
+ z,
1664
+ w,
1665
+ ze,
1666
+ q,
1667
+ G,
1668
+ Y,
1669
+ I,
1670
+ x,
1671
+ L,
1672
+ X,
1673
+ N,
1674
+ ye,
1675
+ re,
1676
+ _e,
1677
+ ke,
1678
+ Te,
1679
+ R,
1680
+ j,
1681
+ Se,
1682
+ ne,
1683
+ Fe,
1684
+ Ee,
1685
+ se,
1686
+ je,
1687
+ Z,
1688
+ r,
1689
+ Oe,
1690
+ De,
1691
+ le,
1692
+ Ie,
1693
+ Ae,
1694
+ a,
1695
+ f,
1696
+ v,
1697
+ c,
1698
+ p,
1699
+ H,
1700
+ ie,
1701
+ K,
1702
+ oe,
1703
+ bt,
1704
+ zt,
1705
+ wt,
1706
+ yt,
1707
+ _t,
1708
+ kt
1709
+ ];
1710
+ }
1711
+ class ft extends Et {
1712
+ constructor(t) {
1713
+ super(), Ct(
1714
+ this,
1715
+ t,
1716
+ fi,
1717
+ ui,
1718
+ Bt,
1719
+ {
1720
+ session: 0,
1721
+ userid: 1,
1722
+ tournamenturl: 2,
1723
+ touridx: 38,
1724
+ endpoint: 39,
1725
+ showdetails: 3,
1726
+ showslider: 4,
1727
+ showenrolled: 5,
1728
+ maxwidth: 6,
1729
+ fullsize: 7,
1730
+ lang: 8,
1731
+ loginevent: 40,
1732
+ registerevent: 41,
1733
+ loginurl: 42,
1734
+ registerurl: 43,
1735
+ currency: 44,
1736
+ keepbrowsercontext: 9,
1737
+ clientstyling: 10,
1738
+ clientstylingurl: 11,
1739
+ translationurl: 12,
1740
+ tournamentinfo: 45
1741
+ },
1742
+ $t,
1743
+ [-1, -1, -1]
1744
+ );
1745
+ }
1746
+ get session() {
1747
+ return this.$$.ctx[0];
1748
+ }
1749
+ set session(t) {
1750
+ this.$$set({ session: t }), T();
1751
+ }
1752
+ get userid() {
1753
+ return this.$$.ctx[1];
1754
+ }
1755
+ set userid(t) {
1756
+ this.$$set({ userid: t }), T();
1757
+ }
1758
+ get tournamenturl() {
1759
+ return this.$$.ctx[2];
1760
+ }
1761
+ set tournamenturl(t) {
1762
+ this.$$set({ tournamenturl: t }), T();
1763
+ }
1764
+ get touridx() {
1765
+ return this.$$.ctx[38];
1766
+ }
1767
+ set touridx(t) {
1768
+ this.$$set({ touridx: t }), T();
1769
+ }
1770
+ get endpoint() {
1771
+ return this.$$.ctx[39];
1772
+ }
1773
+ set endpoint(t) {
1774
+ this.$$set({ endpoint: t }), T();
1775
+ }
1776
+ get showdetails() {
1777
+ return this.$$.ctx[3];
1778
+ }
1779
+ set showdetails(t) {
1780
+ this.$$set({ showdetails: t }), T();
1781
+ }
1782
+ get showslider() {
1783
+ return this.$$.ctx[4];
1784
+ }
1785
+ set showslider(t) {
1786
+ this.$$set({ showslider: t }), T();
1787
+ }
1788
+ get showenrolled() {
1789
+ return this.$$.ctx[5];
1790
+ }
1791
+ set showenrolled(t) {
1792
+ this.$$set({ showenrolled: t }), T();
1793
+ }
1794
+ get maxwidth() {
1795
+ return this.$$.ctx[6];
1796
+ }
1797
+ set maxwidth(t) {
1798
+ this.$$set({ maxwidth: t }), T();
1799
+ }
1800
+ get fullsize() {
1801
+ return this.$$.ctx[7];
1802
+ }
1803
+ set fullsize(t) {
1804
+ this.$$set({ fullsize: t }), T();
1805
+ }
1806
+ get lang() {
1807
+ return this.$$.ctx[8];
1808
+ }
1809
+ set lang(t) {
1810
+ this.$$set({ lang: t }), T();
1811
+ }
1812
+ get loginevent() {
1813
+ return this.$$.ctx[40];
1814
+ }
1815
+ set loginevent(t) {
1816
+ this.$$set({ loginevent: t }), T();
1817
+ }
1818
+ get registerevent() {
1819
+ return this.$$.ctx[41];
1820
+ }
1821
+ set registerevent(t) {
1822
+ this.$$set({ registerevent: t }), T();
1823
+ }
1824
+ get loginurl() {
1825
+ return this.$$.ctx[42];
1826
+ }
1827
+ set loginurl(t) {
1828
+ this.$$set({ loginurl: t }), T();
1829
+ }
1830
+ get registerurl() {
1831
+ return this.$$.ctx[43];
1832
+ }
1833
+ set registerurl(t) {
1834
+ this.$$set({ registerurl: t }), T();
1835
+ }
1836
+ get currency() {
1837
+ return this.$$.ctx[44];
1838
+ }
1839
+ set currency(t) {
1840
+ this.$$set({ currency: t }), T();
1841
+ }
1842
+ get keepbrowsercontext() {
1843
+ return this.$$.ctx[9];
1844
+ }
1845
+ set keepbrowsercontext(t) {
1846
+ this.$$set({ keepbrowsercontext: t }), T();
1847
+ }
1848
+ get clientstyling() {
1849
+ return this.$$.ctx[10];
1850
+ }
1851
+ set clientstyling(t) {
1852
+ this.$$set({ clientstyling: t }), T();
1853
+ }
1854
+ get clientstylingurl() {
1855
+ return this.$$.ctx[11];
1856
+ }
1857
+ set clientstylingurl(t) {
1858
+ this.$$set({ clientstylingurl: t }), T();
1859
+ }
1860
+ get translationurl() {
1861
+ return this.$$.ctx[12];
1862
+ }
1863
+ set translationurl(t) {
1864
+ this.$$set({ translationurl: t }), T();
1865
+ }
1866
+ get tournamentinfo() {
1867
+ return this.$$.ctx[45];
1868
+ }
1869
+ set tournamentinfo(t) {
1870
+ this.$$set({ tournamentinfo: t }), T();
1871
+ }
1872
+ }
1873
+ jt(ft, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
1874
+ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1875
+ __proto__: null,
1876
+ default: ft
1877
+ }, Symbol.toStringTag, { value: "Module" }));
1878
+ export {
1879
+ pi as C,
1880
+ Ye as g
1881
+ };