@everymatrix/casino-tournaments-list-controller 1.87.11 → 1.87.13
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.
- package/components/{CasinoTournamentsListController-CGCZK4Md.js → CasinoTournamentsListController-ClKWCOOC.js} +1 -1
- package/components/{CasinoTournamentsListController-vAlyMUgC.js → CasinoTournamentsListController-DdUfdkh8.js} +1 -1
- package/components/{CasinoTournamentsListController-Ce1tXy-y.cjs → CasinoTournamentsListController-N3apFChm.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-k_2QeDM8.js → CasinoTournamentsThumbnail-Cdho0SYR.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-21MuAvxR.js → CasinoTournamentsThumbnail-DIV2povl.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-BD50op9H.cjs → CasinoTournamentsThumbnail-yoNI5Fah.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-BKrpJrvJ.js → CasinoTournamentsThumbnailController-BmNsJ8Qk.js} +84 -84
- package/components/{CasinoTournamentsThumbnailController-9NmMKLEF.cjs → CasinoTournamentsThumbnailController-CJqhDhTv.cjs} +3 -3
- package/components/{CasinoTournamentsThumbnailController-BqTib7E7.js → CasinoTournamentsThumbnailController-C_6RatpQ.js} +83 -83
- package/components/{CasinoTournamentsThumbnailDuration-z7v-kx9z.cjs → CasinoTournamentsThumbnailDuration-C8PcC8ti.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-CQjq3Gmq.js → CasinoTournamentsThumbnailDuration-CBAqenBq.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-6JGNeI1a.js → CasinoTournamentsThumbnailDuration-D_RbSi88.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Cf-ODVQP.cjs → CasinoTournamentsThumbnailGamesSlider-BApJSKr6.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-OYMhoznP.js → CasinoTournamentsThumbnailGamesSlider-BtuU9z38.js} +2 -2
- package/components/{CasinoTournamentsThumbnailGamesSlider-DJjkH2pi.js → CasinoTournamentsThumbnailGamesSlider-CJJugggW.js} +2 -2
- package/components/{CasinoTournamentsThumbnailPrizes-C7E5jqqM.js → CasinoTournamentsThumbnailPrizes-CrsCokqI.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-Bu89YoyC.cjs → CasinoTournamentsThumbnailPrizes-D1r9mAoc.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-Dt9mwa1S.js → CasinoTournamentsThumbnailPrizes-DNVNU3BH.js} +1 -1
- package/es2015/casino-tournaments-list-controller.cjs +1 -1
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/esnext/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as he, a as wt, b as yt, S as vt, i as _t, f as v, s as kt, C as St, c as Tt, n as ne, d as w, x as u, e as p, g as y, h as S, j as T, k as j, l as Ft, o as Et, u as jt, v as _e, q as zt, m as O, t as B, r as Pt, p as U, y as ke, E as x, D as Ct, z as Bt, A as Ot, B as xt } from "./CasinoTournamentsListController-
|
|
1
|
+
import { $ as he, a as wt, b as yt, S as vt, i as _t, f as v, s as kt, C as St, c as Tt, n as ne, d as w, x as u, e as p, g as y, h as S, j as T, k as j, l as Ft, o as Et, u as jt, v as _e, q as zt, m as O, t as B, r as Pt, p as U, y as ke, E as x, D as Ct, z as Bt, A as Ot, B as xt } from "./CasinoTournamentsListController-DdUfdkh8.js";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -71,13 +71,13 @@ function we(n, t, e) {
|
|
|
71
71
|
function C(n) {
|
|
72
72
|
return typeof n == "function";
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function nt(n) {
|
|
75
75
|
var t = function(r) {
|
|
76
76
|
Error.call(r), r.stack = new Error().stack;
|
|
77
77
|
}, e = n(t);
|
|
78
78
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
79
79
|
}
|
|
80
|
-
var me =
|
|
80
|
+
var me = nt(function(n) {
|
|
81
81
|
return function(e) {
|
|
82
82
|
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
83
83
|
` + e.map(function(r, i) {
|
|
@@ -134,7 +134,7 @@ var re = function() {
|
|
|
134
134
|
for (var d = ge(c), _ = d.next(); !_.done; _ = d.next()) {
|
|
135
135
|
var m = _.value;
|
|
136
136
|
try {
|
|
137
|
-
|
|
137
|
+
Ue(m);
|
|
138
138
|
} catch (g) {
|
|
139
139
|
o = o ?? [], g instanceof me ? o = we(we([], be(o)), be(g.errors)) : o.push(g);
|
|
140
140
|
}
|
|
@@ -157,7 +157,7 @@ var re = function() {
|
|
|
157
157
|
var e;
|
|
158
158
|
if (t && t !== this)
|
|
159
159
|
if (this.closed)
|
|
160
|
-
|
|
160
|
+
Ue(t);
|
|
161
161
|
else {
|
|
162
162
|
if (t instanceof n) {
|
|
163
163
|
if (t.closed || t._hasParent(this))
|
|
@@ -182,11 +182,11 @@ var re = function() {
|
|
|
182
182
|
var t = new n();
|
|
183
183
|
return t.closed = !0, t;
|
|
184
184
|
}(), n;
|
|
185
|
-
}(),
|
|
186
|
-
function
|
|
185
|
+
}(), rt = re.EMPTY;
|
|
186
|
+
function it(n) {
|
|
187
187
|
return n instanceof re || n && "closed" in n && C(n.remove) && C(n.add) && C(n.unsubscribe);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Ue(n) {
|
|
190
190
|
C(n) ? n() : n.unsubscribe();
|
|
191
191
|
}
|
|
192
192
|
var At = {
|
|
@@ -207,16 +207,16 @@ function Lt(n) {
|
|
|
207
207
|
throw n;
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Je() {
|
|
211
211
|
}
|
|
212
212
|
function te(n) {
|
|
213
213
|
n();
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var ot = function(n) {
|
|
216
216
|
J(t, n);
|
|
217
217
|
function t(e) {
|
|
218
218
|
var r = n.call(this) || this;
|
|
219
|
-
return r.isStopped = !1, e ? (r.destination = e,
|
|
219
|
+
return r.isStopped = !1, e ? (r.destination = e, it(e) && e.add(r)) : r.destination = Rt, r;
|
|
220
220
|
}
|
|
221
221
|
return t.create = function(e, r, i) {
|
|
222
222
|
return new ve(e, r, i);
|
|
@@ -285,7 +285,7 @@ var it = function(n) {
|
|
|
285
285
|
} : s = e, o.destination = new It(s), o;
|
|
286
286
|
}
|
|
287
287
|
return t;
|
|
288
|
-
}(
|
|
288
|
+
}(ot);
|
|
289
289
|
function ee(n) {
|
|
290
290
|
Lt(n);
|
|
291
291
|
}
|
|
@@ -294,9 +294,9 @@ function Mt(n) {
|
|
|
294
294
|
}
|
|
295
295
|
var Rt = {
|
|
296
296
|
closed: !0,
|
|
297
|
-
next:
|
|
297
|
+
next: Je,
|
|
298
298
|
error: Mt,
|
|
299
|
-
complete:
|
|
299
|
+
complete: Je
|
|
300
300
|
}, Ut = function() {
|
|
301
301
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
302
302
|
}();
|
|
@@ -310,7 +310,7 @@ function Wt(n) {
|
|
|
310
310
|
}, e);
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var We = function() {
|
|
314
314
|
function n(t) {
|
|
315
315
|
t && (this._subscribe = t);
|
|
316
316
|
}
|
|
@@ -331,7 +331,7 @@ var Je = function() {
|
|
|
331
331
|
}
|
|
332
332
|
}, n.prototype.forEach = function(t, e) {
|
|
333
333
|
var r = this;
|
|
334
|
-
return e =
|
|
334
|
+
return e = He(e), new e(function(i, o) {
|
|
335
335
|
var s = new ve({
|
|
336
336
|
next: function(l) {
|
|
337
337
|
try {
|
|
@@ -356,7 +356,7 @@ var Je = function() {
|
|
|
356
356
|
return Wt(t)(this);
|
|
357
357
|
}, n.prototype.toPromise = function(t) {
|
|
358
358
|
var e = this;
|
|
359
|
-
return t =
|
|
359
|
+
return t = He(t), new t(function(r, i) {
|
|
360
360
|
var o;
|
|
361
361
|
e.subscribe(function(s) {
|
|
362
362
|
return o = s;
|
|
@@ -370,7 +370,7 @@ var Je = function() {
|
|
|
370
370
|
return new n(t);
|
|
371
371
|
}, n;
|
|
372
372
|
}();
|
|
373
|
-
function
|
|
373
|
+
function He(n) {
|
|
374
374
|
var t;
|
|
375
375
|
return (t = n ?? At.Promise) !== null && t !== void 0 ? t : Promise;
|
|
376
376
|
}
|
|
@@ -378,20 +378,20 @@ function Ht(n) {
|
|
|
378
378
|
return n && C(n.next) && C(n.error) && C(n.complete);
|
|
379
379
|
}
|
|
380
380
|
function Gt(n) {
|
|
381
|
-
return n && n instanceof
|
|
381
|
+
return n && n instanceof ot || Ht(n) && it(n);
|
|
382
382
|
}
|
|
383
|
-
var Nt =
|
|
383
|
+
var Nt = nt(function(n) {
|
|
384
384
|
return function() {
|
|
385
385
|
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
386
386
|
};
|
|
387
|
-
}),
|
|
387
|
+
}), st = function(n) {
|
|
388
388
|
J(t, n);
|
|
389
389
|
function t() {
|
|
390
390
|
var e = n.call(this) || this;
|
|
391
391
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
392
392
|
}
|
|
393
393
|
return t.prototype.lift = function(e) {
|
|
394
|
-
var r = new
|
|
394
|
+
var r = new Ge(this, this);
|
|
395
395
|
return r.operator = e, r;
|
|
396
396
|
}, t.prototype._throwIfClosed = function() {
|
|
397
397
|
if (this.closed)
|
|
@@ -452,19 +452,19 @@ var Nt = tt(function(n) {
|
|
|
452
452
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
453
453
|
}, t.prototype._innerSubscribe = function(e) {
|
|
454
454
|
var r = this, i = this, o = i.hasError, s = i.isStopped, l = i.observers;
|
|
455
|
-
return o || s ?
|
|
455
|
+
return o || s ? rt : (this.currentObservers = null, l.push(e), new re(function() {
|
|
456
456
|
r.currentObservers = null, ye(l, e);
|
|
457
457
|
}));
|
|
458
458
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
459
459
|
var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
460
460
|
i ? e.error(o) : s && e.complete();
|
|
461
461
|
}, t.prototype.asObservable = function() {
|
|
462
|
-
var e = new
|
|
462
|
+
var e = new We();
|
|
463
463
|
return e.source = this, e;
|
|
464
464
|
}, t.create = function(e, r) {
|
|
465
|
-
return new
|
|
465
|
+
return new Ge(e, r);
|
|
466
466
|
}, t;
|
|
467
|
-
}(
|
|
467
|
+
}(We), Ge = function(n) {
|
|
468
468
|
J(t, n);
|
|
469
469
|
function t(e, r) {
|
|
470
470
|
var i = n.call(this) || this;
|
|
@@ -481,17 +481,17 @@ var Nt = tt(function(n) {
|
|
|
481
481
|
(r = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || r === void 0 || r.call(e);
|
|
482
482
|
}, t.prototype._subscribe = function(e) {
|
|
483
483
|
var r, i;
|
|
484
|
-
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && i !== void 0 ? i :
|
|
484
|
+
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && i !== void 0 ? i : rt;
|
|
485
485
|
}, t;
|
|
486
|
-
}(
|
|
486
|
+
}(st), at = {
|
|
487
487
|
now: function() {
|
|
488
|
-
return (
|
|
488
|
+
return (at.delegate || Date).now();
|
|
489
489
|
},
|
|
490
490
|
delegate: void 0
|
|
491
491
|
}, qt = function(n) {
|
|
492
492
|
J(t, n);
|
|
493
493
|
function t(e, r, i) {
|
|
494
|
-
e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i =
|
|
494
|
+
e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = at);
|
|
495
495
|
var o = n.call(this) || this;
|
|
496
496
|
return o._bufferSize = e, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, r), o;
|
|
497
497
|
}
|
|
@@ -511,29 +511,29 @@ var Nt = tt(function(n) {
|
|
|
511
511
|
b && o.splice(0, b + 1);
|
|
512
512
|
}
|
|
513
513
|
}, t;
|
|
514
|
-
}(
|
|
515
|
-
const
|
|
516
|
-
if (
|
|
514
|
+
}(st);
|
|
515
|
+
const Ne = [], qe = {}, Xt = (n, t = 0) => {
|
|
516
|
+
if (Ne.indexOf(n) == -1) {
|
|
517
517
|
const e = new qt(t);
|
|
518
|
-
|
|
518
|
+
qe[n] = e, Ne.push(n);
|
|
519
519
|
}
|
|
520
|
-
return
|
|
520
|
+
return qe[n];
|
|
521
521
|
};
|
|
522
522
|
window.emWidgets = { topic: Xt };
|
|
523
|
-
const
|
|
523
|
+
const Xe = (n) => n.toLowerCase().match(/android/i) ? "Android" : n.toLowerCase().match(/iphone/i) ? "iPhone" : n.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
524
524
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
525
525
|
function Yt({ withLocale: n, translations: t }) {
|
|
526
526
|
he.subscribe((e) => {
|
|
527
527
|
e == null && (wt.set(t), he.set(n));
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ye(n, t) {
|
|
531
531
|
yt(n, t);
|
|
532
532
|
}
|
|
533
533
|
function Kt(n) {
|
|
534
534
|
he.set(n);
|
|
535
535
|
}
|
|
536
|
-
const
|
|
536
|
+
const Ke = {
|
|
537
537
|
en: {
|
|
538
538
|
login: "Log in",
|
|
539
539
|
register: "Register",
|
|
@@ -635,7 +635,7 @@ if (typeof window < "u") {
|
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
637
|
};
|
|
638
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
638
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-DIV2povl.js").then(({ default: t }) => {
|
|
639
639
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
640
640
|
});
|
|
641
641
|
}
|
|
@@ -651,7 +651,7 @@ if (typeof window < "u") {
|
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
654
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-CBAqenBq.js").then(({ default: t }) => {
|
|
655
655
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
656
656
|
"casino-tournaments-thumbnail-duration",
|
|
657
657
|
t.element
|
|
@@ -670,7 +670,7 @@ if (typeof window < "u") {
|
|
|
670
670
|
}
|
|
671
671
|
};
|
|
672
672
|
};
|
|
673
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
673
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-DNVNU3BH.js").then(({ default: t }) => {
|
|
674
674
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
|
|
675
675
|
});
|
|
676
676
|
}
|
|
@@ -686,7 +686,7 @@ if (typeof window < "u") {
|
|
|
686
686
|
}
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
689
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BtuU9z38.js").then(
|
|
690
690
|
({ default: t }) => {
|
|
691
691
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
692
692
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -701,7 +701,7 @@ function Vt(n) {
|
|
|
701
701
|
function Zt(n) {
|
|
702
702
|
let t, e, r, i, o, s, l, f = (
|
|
703
703
|
/*tourid*/
|
|
704
|
-
n[25] &&
|
|
704
|
+
n[25] && Ve(n)
|
|
705
705
|
);
|
|
706
706
|
function b(m, g) {
|
|
707
707
|
if (!/*isLoggedIn*/
|
|
@@ -722,10 +722,10 @@ function Zt(n) {
|
|
|
722
722
|
let h = b(n), c = h && h(n), d = (
|
|
723
723
|
/*errorJoin*/
|
|
724
724
|
(n[18] || /*errorJoinConcurrently*/
|
|
725
|
-
n[20]) &&
|
|
725
|
+
n[20]) && $e(n)
|
|
726
726
|
), _ = (
|
|
727
727
|
/*showslider*/
|
|
728
|
-
n[3] == "true" &&
|
|
728
|
+
n[3] == "true" && et(n)
|
|
729
729
|
);
|
|
730
730
|
return {
|
|
731
731
|
c() {
|
|
@@ -776,7 +776,7 @@ function Zt(n) {
|
|
|
776
776
|
},
|
|
777
777
|
p(m, g) {
|
|
778
778
|
/*tourid*/
|
|
779
|
-
m[25] ? f ? f.p(m, g) : (f =
|
|
779
|
+
m[25] ? f ? f.p(m, g) : (f = Ve(m), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), g[0] & /*clientstyling*/
|
|
780
780
|
1024 && u(
|
|
781
781
|
e,
|
|
782
782
|
"clientstyling",
|
|
@@ -826,8 +826,8 @@ function Zt(n) {
|
|
|
826
826
|
m[23]
|
|
827
827
|
), h === (h = b(m)) && c ? c.p(m, g) : (c && c.d(1), c = h && h(m), c && (c.c(), c.m(i, null))), /*errorJoin*/
|
|
828
828
|
m[18] || /*errorJoinConcurrently*/
|
|
829
|
-
m[20] ? d ? d.p(m, g) : (d =
|
|
830
|
-
m[3] == "true" ? _ ? _.p(m, g) : (_ =
|
|
829
|
+
m[20] ? d ? d.p(m, g) : (d = $e(m), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null), /*showslider*/
|
|
830
|
+
m[3] == "true" ? _ ? _.p(m, g) : (_ = et(m), _.c(), _.m(l.parentNode, l)) : _ && (_.d(1), _ = null);
|
|
831
831
|
},
|
|
832
832
|
d(m) {
|
|
833
833
|
m && (w(t), w(e), w(r), w(i), w(o), w(s), w(l)), f && f.d(m), c && c.d(), d && d.d(m), _ && _.d(m);
|
|
@@ -849,7 +849,7 @@ function Qt(n) {
|
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Ve(n) {
|
|
853
853
|
let t, e, r, i;
|
|
854
854
|
return {
|
|
855
855
|
c() {
|
|
@@ -970,7 +970,7 @@ function $t(n) {
|
|
|
970
970
|
function en(n) {
|
|
971
971
|
let t, e, r = (
|
|
972
972
|
/*showdetails*/
|
|
973
|
-
n[2] == "true" &&
|
|
973
|
+
n[2] == "true" && Ze(n)
|
|
974
974
|
);
|
|
975
975
|
function i(l, f) {
|
|
976
976
|
return (
|
|
@@ -988,7 +988,7 @@ function en(n) {
|
|
|
988
988
|
},
|
|
989
989
|
p(l, f) {
|
|
990
990
|
/*showdetails*/
|
|
991
|
-
l[2] == "true" ? r ? r.p(l, f) : (r =
|
|
991
|
+
l[2] == "true" ? r ? r.p(l, f) : (r = Ze(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o === (o = i(l)) && s ? s.p(l, f) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
|
|
992
992
|
},
|
|
993
993
|
d(l) {
|
|
994
994
|
l && (w(t), w(e)), r && r.d(l), s.d(l);
|
|
@@ -1035,7 +1035,7 @@ function tn(n) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function Ze(n) {
|
|
1039
1039
|
let t, e = (
|
|
1040
1040
|
/*$_*/
|
|
1041
1041
|
n[33]("details") + ""
|
|
@@ -1111,7 +1111,7 @@ function nn(n) {
|
|
|
1111
1111
|
function rn(n) {
|
|
1112
1112
|
let t, e = (
|
|
1113
1113
|
/*showdetails*/
|
|
1114
|
-
n[2] == "true" &&
|
|
1114
|
+
n[2] == "true" && Qe(n)
|
|
1115
1115
|
);
|
|
1116
1116
|
return {
|
|
1117
1117
|
c() {
|
|
@@ -1122,7 +1122,7 @@ function rn(n) {
|
|
|
1122
1122
|
},
|
|
1123
1123
|
p(r, i) {
|
|
1124
1124
|
/*showdetails*/
|
|
1125
|
-
r[2] == "true" ? e ? e.p(r, i) : (e =
|
|
1125
|
+
r[2] == "true" ? e ? e.p(r, i) : (e = Qe(r), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
1126
1126
|
},
|
|
1127
1127
|
d(r) {
|
|
1128
1128
|
r && w(t), e && e.d(r);
|
|
@@ -1166,7 +1166,7 @@ function sn(n) {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function Qe(n) {
|
|
1170
1170
|
let t, e = (
|
|
1171
1171
|
/*$_*/
|
|
1172
1172
|
n[33]("enrolled") + ""
|
|
@@ -1188,7 +1188,7 @@ function Ze(n) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function $e(n) {
|
|
1192
1192
|
let t, e = (
|
|
1193
1193
|
/*$_*/
|
|
1194
1194
|
n[33]("joinerror") + ""
|
|
@@ -1218,10 +1218,10 @@ function Qe(n) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
};
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function et(n) {
|
|
1222
1222
|
let t, e, r = (
|
|
1223
1223
|
/*isLoading*/
|
|
1224
|
-
n[16] &&
|
|
1224
|
+
n[16] && tt()
|
|
1225
1225
|
);
|
|
1226
1226
|
return {
|
|
1227
1227
|
c() {
|
|
@@ -1262,7 +1262,7 @@ function $e(n) {
|
|
|
1262
1262
|
},
|
|
1263
1263
|
p(i, o) {
|
|
1264
1264
|
/*isLoading*/
|
|
1265
|
-
i[16] ? r || (r =
|
|
1265
|
+
i[16] ? r || (r = tt(), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o[0] & /*clientstyling*/
|
|
1266
1266
|
1024 && u(
|
|
1267
1267
|
e,
|
|
1268
1268
|
"clientstyling",
|
|
@@ -1305,7 +1305,7 @@ function $e(n) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
};
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function tt(n) {
|
|
1309
1309
|
let t;
|
|
1310
1310
|
return {
|
|
1311
1311
|
c() {
|
|
@@ -1569,22 +1569,22 @@ function ln(n, t, e) {
|
|
|
1569
1569
|
Ft(n, Ct, (a) => e(33, r = a));
|
|
1570
1570
|
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: f = "" } = t, { showdetails: b = "" } = t, { showslider: h = "" } = t, { showenrolled: c = "" } = t, { maxwidth: d = "" } = t, { fullsize: _ = "" } = t, { lang: m = "" } = t, { loginevent: g = "" } = t, { registerevent: W = "" } = t, { detailsevent: Se = "" } = t, { loginurl: H = "" } = t, { registerurl: G = "" } = t, { currency: ie = "" } = t, { keepbrowsercontext: Te = "false" } = t, { clientstyling: N = "" } = t, { clientstylingurl: q = "" } = t, { translationurl: X = "" } = t, { tournamentinfo: Y } = t, { mbsource: K } = t, { tournamentid: oe } = t, z, D = !1, V = "", L = !0, Fe = window.navigator.userAgent, Z = !1, Q = !1, Ee = "There was an error while trying to join the tournament", se = !1, ae, je, ze, I, P, Pe, le, Ce, Be, Oe = [], ue = [], xe = "#", $ = !1;
|
|
1571
1571
|
Yt({ withLocale: "en", translations: {} });
|
|
1572
|
-
const
|
|
1572
|
+
const ut = () => {
|
|
1573
1573
|
fetch(X).then((k) => k.json()).then((k) => {
|
|
1574
1574
|
Object.keys(k).forEach((F) => {
|
|
1575
|
-
|
|
1575
|
+
Ye(F, k[F]);
|
|
1576
1576
|
});
|
|
1577
1577
|
}).catch((k) => {
|
|
1578
1578
|
console.log(k);
|
|
1579
1579
|
});
|
|
1580
1580
|
};
|
|
1581
|
-
Object.keys(
|
|
1582
|
-
|
|
1581
|
+
Object.keys(Ke).forEach((a) => {
|
|
1582
|
+
Ye(a, Ke[a]);
|
|
1583
1583
|
});
|
|
1584
1584
|
const Ae = (a) => {
|
|
1585
|
-
|
|
1585
|
+
ft(a), fe(a), Ie(this, P);
|
|
1586
1586
|
}, De = (a) => {
|
|
1587
|
-
if (a.data && a.data.type == "UserSessionID" && (e(15, D = !0), V = a.data.session), a.data.type == "UpdateTournamentView") {
|
|
1587
|
+
if (a.data && a.data.type == "UserSessionID" && (e(15, D = !0), V = a.data.session, Me(f)), a.data.type == "UpdateTournamentView") {
|
|
1588
1588
|
let k = a.data.tournamentData;
|
|
1589
1589
|
if (P && P != k.id)
|
|
1590
1590
|
return;
|
|
@@ -1604,7 +1604,7 @@ function ln(n, t, e) {
|
|
|
1604
1604
|
F + 200
|
|
1605
1605
|
);
|
|
1606
1606
|
}
|
|
1607
|
-
},
|
|
1607
|
+
}, ft = (a) => {
|
|
1608
1608
|
a.state != I && (e(24, I = a.state), window.postMessage(
|
|
1609
1609
|
{
|
|
1610
1610
|
type: `TournamentStatus_${P}`,
|
|
@@ -1612,11 +1612,11 @@ function ln(n, t, e) {
|
|
|
1612
1612
|
},
|
|
1613
1613
|
window.location.href
|
|
1614
1614
|
));
|
|
1615
|
-
},
|
|
1615
|
+
}, ct = () => {
|
|
1616
1616
|
g && (window.postMessage({ type: g, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1617
1617
|
context: "TournamentsThumbnailController"
|
|
1618
1618
|
})), H && (window.location = H);
|
|
1619
|
-
},
|
|
1619
|
+
}, dt = () => {
|
|
1620
1620
|
W && (window.postMessage(
|
|
1621
1621
|
{
|
|
1622
1622
|
type: W,
|
|
@@ -1626,7 +1626,7 @@ function ln(n, t, e) {
|
|
|
1626
1626
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1627
1627
|
context: "TournamentsThumbnailController"
|
|
1628
1628
|
})), G && (window.location = G);
|
|
1629
|
-
},
|
|
1629
|
+
}, mt = (a) => {
|
|
1630
1630
|
window.postMessage(
|
|
1631
1631
|
{
|
|
1632
1632
|
type: "TournamentDetailsClicked",
|
|
@@ -1644,7 +1644,7 @@ function ln(n, t, e) {
|
|
|
1644
1644
|
window.location.href
|
|
1645
1645
|
), e(17, Z = !0);
|
|
1646
1646
|
let F = new URL(`${f}/v1/bonus/claim`), A = new Headers(), ce = {};
|
|
1647
|
-
F.searchParams.append("language", m), F.searchParams.append("platform",
|
|
1647
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Xe(Fe)), A.append("Content-Type", "application/json"), A.append("X-SessionID", V), k && k.length >= 1 && (ce = {
|
|
1648
1648
|
language: m,
|
|
1649
1649
|
bonusCode: k[0].code,
|
|
1650
1650
|
currency: ie,
|
|
@@ -1655,7 +1655,7 @@ function ln(n, t, e) {
|
|
|
1655
1655
|
headers: A,
|
|
1656
1656
|
body: JSON.stringify(ce)
|
|
1657
1657
|
};
|
|
1658
|
-
const
|
|
1658
|
+
const Re = () => {
|
|
1659
1659
|
e(17, Z = !1), e(27, le = !0);
|
|
1660
1660
|
}, de = (E) => {
|
|
1661
1661
|
e(17, Z = !1), E && e(19, Ee = E), e(18, Q = !0);
|
|
@@ -1670,10 +1670,10 @@ function ln(n, t, e) {
|
|
|
1670
1670
|
})();
|
|
1671
1671
|
if (R)
|
|
1672
1672
|
if (R.success == !0)
|
|
1673
|
-
|
|
1673
|
+
Re();
|
|
1674
1674
|
else if (R.errorMessage.match("VersionMismatchException")) {
|
|
1675
1675
|
let E;
|
|
1676
|
-
E = await fetch(`${f}/tournaments/${P}`, { headers: { "X-SessionID": i } }), E = await E.json(), E?.item?.playerEnrolled ?
|
|
1676
|
+
E = await fetch(`${f}/tournaments/${P}`, { headers: { "X-SessionID": i } }), E = await E.json(), E?.item?.playerEnrolled ? Re() : (de(R.errorMessage), e(20, se = !0), e(18, Q = !1));
|
|
1677
1677
|
} else
|
|
1678
1678
|
de(R.errorMessage);
|
|
1679
1679
|
}, Ie = (a, k) => {
|
|
@@ -1686,10 +1686,10 @@ function ln(n, t, e) {
|
|
|
1686
1686
|
);
|
|
1687
1687
|
}, fe = (a) => {
|
|
1688
1688
|
a && (e(21, ae = a.nameOrTitle || ""), e(22, je = a.startTime), e(23, ze = a.endTime), e(24, I = a.state), e(25, P = a.id), e(26, Pe = a.thumbnail), e(27, le = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(28, Ce = a.scoreCriteria), e(29, Be = a.minBetCount), Oe = a.prizes, e(30, ue = a.wallets || []), e(31, xe = a.termsUrl || "#"));
|
|
1689
|
-
},
|
|
1689
|
+
}, Me = (a) => {
|
|
1690
1690
|
e(16, L = !0);
|
|
1691
1691
|
const k = a ? `${a}/v1/tournaments/${oe}` : s, F = new URL(k), A = new Headers();
|
|
1692
|
-
F.searchParams.append("language", m), F.searchParams.append("platform",
|
|
1692
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Xe(Fe)), D && A.append("X-SessionID", V), fetch(F, { method: "GET", headers: A }).then((M) => M.json()).then((M) => {
|
|
1693
1693
|
fe(M.item);
|
|
1694
1694
|
}).finally(() => {
|
|
1695
1695
|
e(16, L = !1);
|
|
@@ -1701,7 +1701,7 @@ function ln(n, t, e) {
|
|
|
1701
1701
|
fe(Y);
|
|
1702
1702
|
return;
|
|
1703
1703
|
}
|
|
1704
|
-
e(16, L = !0),
|
|
1704
|
+
e(16, L = !0), Me(f);
|
|
1705
1705
|
};
|
|
1706
1706
|
Et(() => (e(16, L = !ae), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", De, !1), () => {
|
|
1707
1707
|
window.removeEventListener("message", De);
|
|
@@ -1717,7 +1717,7 @@ function ln(n, t, e) {
|
|
|
1717
1717
|
}, n.$$.update = () => {
|
|
1718
1718
|
n.$$.dirty[0] & /*lang*/
|
|
1719
1719
|
128 && m && Kt(m), n.$$.dirty[0] & /*translationurl*/
|
|
1720
|
-
4096 && X &&
|
|
1720
|
+
4096 && X && ut(), n.$$.dirty[1] & /*session*/
|
|
1721
1721
|
256 && i && ht(), n.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1722
1722
|
130 && s && m && pt(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1723
1723
|
17408 && N && z && Bt(z, N), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
@@ -1758,9 +1758,9 @@ function ln(n, t, e) {
|
|
|
1758
1758
|
xe,
|
|
1759
1759
|
$,
|
|
1760
1760
|
r,
|
|
1761
|
-
ft,
|
|
1762
1761
|
ct,
|
|
1763
1762
|
dt,
|
|
1763
|
+
mt,
|
|
1764
1764
|
Le,
|
|
1765
1765
|
Ie,
|
|
1766
1766
|
i,
|
|
@@ -1777,7 +1777,7 @@ function ln(n, t, e) {
|
|
|
1777
1777
|
bt
|
|
1778
1778
|
];
|
|
1779
1779
|
}
|
|
1780
|
-
class
|
|
1780
|
+
class lt extends vt {
|
|
1781
1781
|
constructor(t) {
|
|
1782
1782
|
super(), _t(
|
|
1783
1783
|
this,
|
|
@@ -1960,12 +1960,12 @@ class at extends vt {
|
|
|
1960
1960
|
this.$$set({ tournamentid: t }), v();
|
|
1961
1961
|
}
|
|
1962
1962
|
}
|
|
1963
|
-
St(
|
|
1963
|
+
St(lt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, detailsevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {}, tournamentid: {} }, [], [], !0);
|
|
1964
1964
|
const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1965
1965
|
__proto__: null,
|
|
1966
|
-
default:
|
|
1966
|
+
default: lt
|
|
1967
1967
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1968
1968
|
export {
|
|
1969
1969
|
dn as C,
|
|
1970
|
-
|
|
1970
|
+
Xe as g
|
|
1971
1971
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoTournamentsListController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoTournamentsListController-N3apFChm.cjs");function C(r,e){t.addMessages(r,e)}const M={en:{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"},hr:{finished:"Završeno",starting:"Starting in ",left:"preostalo",minutes:"minute",hours:"sati",days:"dana"},"zh-hk":{finished:"完成的",starting:"開始於",left:"剩下",minutes:"分鐘",hours:"小時",days:"天"},fr:{finished:"Fini",starting:"Début dans ",left:"restant",minutes:"minutes",hours:"heures",days:"jours"},ro:{finished:"Finalizat",starting:"Începe în",left:"rămase",minutes:"minute",hours:"ore",days:"zile"},tr:{finished:"Bitti",starting:"İçinde başlayan",left:"sol",minutes:"dakika",hours:"saat",days:"günler"},el:{finished:"Ολοκληρωμένα",starting:"Αρχίζει σε ",left:"απομένουν",minutes:"λεπτά",hours:"ώρες",days:"ημέρες"},es:{finished:"Finalizado",starting:"Iniciando en ",left:"queda",minutes:"minutos",hours:"horas",days:"días"},hu:{finished:"Befejezve",starting:"Kezdésig",left:"bal",minutes:"perc",hours:"óra",days:"nap"},pt:{finished:"Finalizado",starting:"Começando em",left:"Abandonou",minutes:"Minutos",hours:"Horas",days:"Dias"},"en-us":{finished:"Finished",starting:"Starting in ",left:"left",minutes:"minutes",hours:"hours",days:"days"}};function I(r){t.append_styles(r,"svelte-6h4bfy","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}")}function z(r){let e,n,a=r[10](r[0])+"",l,u,o,d=r[10](r[1])+"",g,k,y,m,w,p,b;function T(s,f){return s[2]=="Finished"||s[2]=="Closing"||s[2]=="Closed"?N:s[5]>0?O:L}let B=T(r),_=B(r);function P(s,f){if(s[2]=="Finished"||s[2]=="Closing"||s[2]=="Closed")return A;if(s[5]>0)return q;if(s[4]>0)return U}let v=P(r),c=v&&v(r);return{c(){e=t.element("div"),n=t.element("div"),l=t.text(a),u=t.space(),o=t.element("div"),g=t.text(d),k=t.space(),y=t.element("div"),m=t.element("div"),_.c(),w=t.space(),c&&c.c(),t.attr(n,"class","StartDate"),t.attr(n,"part","StartDate"),t.attr(o,"class","EndDate"),t.attr(o,"part","EndDate"),t.attr(e,"class","TournamentDates"),t.attr(e,"part","TournamentDates"),t.attr(m,"class","ProgressBar"),t.attr(m,"part","ProgressBar"),t.attr(y,"class","ProgressBarWrapper"),t.attr(y,"part","ProgressBarWrapper")},m(s,f){t.insert(s,e,f),t.append(e,n),t.append(n,l),t.append(e,u),t.append(e,o),t.append(o,g),t.insert(s,k,f),t.insert(s,y,f),t.append(y,m),_.m(m,null),t.append(m,w),c&&c.m(m,null),p||(b=t.action_destroyer(r[9].call(null,y)),p=!0)},p(s,f){f&1&&a!==(a=s[10](s[0])+"")&&t.set_data(l,a),f&2&&d!==(d=s[10](s[1])+"")&&t.set_data(g,d),B===(B=T(s))&&_?_.p(s,f):(_.d(1),_=B(s),_&&(_.c(),_.m(m,w))),v===(v=P(s))&&c?c.p(s,f):(c&&c.d(1),c=v&&v(s),c&&(c.c(),c.m(m,null)))},d(s){s&&(t.detach(e),t.detach(k),t.detach(y)),_.d(),c&&c.d(),p=!1,b()}}}function L(r){let e;return{c(){e=t.element("div"),t.attr(e,"class","ProgressBarFill"),t.attr(e,"part","ProgressBarFill"),t.set_style(e,"width",r[7]()+"%")},m(n,a){t.insert(n,e,a)},p(n,a){a&128&&t.set_style(e,"width",n[7]()+"%")},d(n){n&&t.detach(e)}}}function O(r){let e;return{c(){e=t.element("div"),t.attr(e,"class","ProgressBarFillStarting"),t.attr(e,"part","ProgressBarFillStarting")},m(n,a){t.insert(n,e,a)},p:t.noop,d(n){n&&t.detach(e)}}}function N(r){let e;return{c(){e=t.element("div"),t.attr(e,"class","ProgressBarFillEnd"),t.attr(e,"part","ProgressBarFillEnd")},m(n,a){t.insert(n,e,a)},p:t.noop,d(n){n&&t.detach(e)}}}function U(r){let e,n,a,l=r[8]("left")+"",u;return{c(){e=t.element("div"),n=t.text(r[6]),a=t.space(),u=t.text(l),t.attr(e,"class","Remaining"),t.attr(e,"part","Remaining")},m(o,d){t.insert(o,e,d),t.append(e,n),t.append(e,a),t.append(e,u)},p(o,d){d&64&&t.set_data(n,o[6]),d&256&&l!==(l=o[8]("left")+"")&&t.set_data(u,l)},d(o){o&&t.detach(e)}}}function q(r){let e,n=r[8]("starting")+"",a,l,u=r[11](r[5])+"",o;return{c(){e=t.element("div"),a=t.text(n),l=t.space(),o=t.text(u),t.attr(e,"class","Remaining"),t.attr(e,"part","Remaining")},m(d,g){t.insert(d,e,g),t.append(e,a),t.append(e,l),t.append(e,o)},p(d,g){g&256&&n!==(n=d[8]("starting")+"")&&t.set_data(a,n),g&32&&u!==(u=d[11](d[5])+"")&&t.set_data(o,u)},d(d){d&&t.detach(e)}}}function A(r){let e,n=r[8]("finished")+"",a;return{c(){e=t.element("div"),a=t.text(n),t.attr(e,"class","Finished"),t.attr(e,"part","Finished")},m(l,u){t.insert(l,e,u),t.append(e,a)},p(l,u){u&256&&n!==(n=l[8]("finished")+"")&&t.set_data(a,n)},d(l){l&&t.detach(e)}}}function W(r){let e,n=r[0]&&r[1]&&z(r);return{c(){e=t.element("div"),n&&n.c(),t.attr(e,"class","TournamentDuration"),t.attr(e,"part","TournamentDuration")},m(a,l){t.insert(a,e,l),n&&n.m(e,null),r[17](e)},p(a,[l]){a[0]&&a[1]?n?n.p(a,l):(n=z(a),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),n&&n.d(),r[17](null)}}}function G(r,e,n){let a,l;t.component_subscribe(r,t.$format,i=>n(8,l=i));let{startdate:u=""}=e,{enddate:o=""}=e,{status:d=""}=e,{lang:g="en"}=e,{clientstyling:k=""}=e,{clientstylingurl:y=""}=e,{translationurl:m=""}=e,{mbsource:w}=e,p,b="",T="",B="";const _=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(F=>{C(F,h[F])})}).catch(h=>{console.log(h)})};Object.keys(M).forEach(i=>{C(i,M[i])});const P=i=>new Date(i).getTime(),v=(i,h)=>(P(h)-P(i))/(1e3*60),c=()=>{const i=new Date;n(4,b=v(i,o)),n(5,T=v(i,u)),n(6,B=f(b))},s=i=>{const h={month:"long"};let F=new Date(i),S=new Intl.DateTimeFormat(g,h).format(F);return`${F.getDate()} ${S}, ${F.toLocaleString("en-GB",{hour:"numeric",minute:"numeric"})}, ${F.getUTCFullYear()}`},f=i=>{const h=(S,D)=>S+" "+l(D),F=S=>{const D=Math.floor(S);return D<10?`0${D}`:`${D}`};if(i<1440){const S=i/60,D=i%60,R=(D-Math.floor(D))*60;return[S,D,R].map(x=>F(x)).join(":")}return h(Math.ceil(i/(60*24)),"days")};t.onMount(()=>{window.postMessage({type:"TournamentThumbnailMounted"},window.location.href);const i=setInterval(()=>{u&&o&&c()},1e3);return()=>{clearInterval(i)}});function j(i){t.binding_callbacks[i?"unshift":"push"](()=>{p=i,n(3,p)})}return r.$$set=i=>{"startdate"in i&&n(0,u=i.startdate),"enddate"in i&&n(1,o=i.enddate),"status"in i&&n(2,d=i.status),"lang"in i&&n(12,g=i.lang),"clientstyling"in i&&n(13,k=i.clientstyling),"clientstylingurl"in i&&n(14,y=i.clientstylingurl),"translationurl"in i&&n(15,m=i.translationurl),"mbsource"in i&&n(16,w=i.mbsource)},r.$$.update=()=>{r.$$.dirty&19&&n(7,a=()=>{if(b<=0)return 100;const i=v(u,o),h=100/i;return Math.floor((i-b)*h)}),r.$$.dirty&19&&u&&o&&c()&&f(b),r.$$.dirty&4096&&g&&c(),r.$$.dirty&4112&&g&&f(b),r.$$.dirty&32768&&m&&_(),r.$$.dirty&8200&&k&&p&&t.setClientStyling(p,k),r.$$.dirty&16392&&y&&p&&t.setClientStylingURL(p,y),r.$$.dirty&65544&&w&&p&&t.setStreamStyling(p,`${w}.Style`)},[u,o,d,p,b,T,B,a,l,c,s,f,g,k,y,m,w,j]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,G,W,t.safe_not_equal,{startdate:0,enddate:1,status:2,lang:12,clientstyling:13,clientstylingurl:14,translationurl:15,mbsource:16},I)}get startdate(){return this.$$.ctx[0]}set startdate(e){this.$$set({startdate:e}),t.flush()}get enddate(){return this.$$.ctx[1]}set enddate(e){this.$$set({enddate:e}),t.flush()}get status(){return this.$$.ctx[2]}set status(e){this.$$set({status:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(E,{startdate:{},enddate:{},status:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as H, S as K, i as Y, s as Z, f as C, c as J, n as L, d as w, g as B, j as v, e as l, l as Q, o as V, m as M, h as y, q as X, t as j, k as A, u as $, F as N, z as tt, A as et, B as nt, C as it, D as st } from "./CasinoTournamentsListController-
|
|
1
|
+
import { b as H, S as K, i as Y, s as Z, f as C, c as J, n as L, d as w, g as B, j as v, e as l, l as Q, o as V, m as M, h as y, q as X, t as j, k as A, u as $, F as N, z as tt, A as et, B as nt, C as it, D as st } from "./CasinoTournamentsListController-DdUfdkh8.js";
|
|
2
2
|
function O(n, t) {
|
|
3
3
|
H(n, t);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as H, S as K, i as Y, s as Z, f as C, c as J, n as L, d as w, g as B, j as v, e as l, l as Q, o as V, m as M, h as y, q as X, t as j, k as A, u as $, F as N, z as tt, A as et, B as nt, C as it, D as st } from "./CasinoTournamentsListController-
|
|
1
|
+
import { b as H, S as K, i as Y, s as Z, f as C, c as J, n as L, d as w, g as B, j as v, e as l, l as Q, o as V, m as M, h as y, q as X, t as j, k as A, u as $, F as N, z as tt, A as et, B as nt, C as it, D as st } from "./CasinoTournamentsListController-ClKWCOOC.js";
|
|
2
2
|
function O(n, t) {
|
|
3
3
|
H(n, t);
|
|
4
4
|
}
|