@everymatrix/casino-tournaments-list-controller 1.94.19 → 1.94.21
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-QPsSVren.js → CasinoTournamentsListController-BSNYZkzo.js} +40 -40
- package/components/{CasinoTournamentsListController-sSEDyx5h.js → CasinoTournamentsListController-Cc1Egq3m.js} +39 -39
- package/components/{CasinoTournamentsThumbnail-MQq7xbjX.js → CasinoTournamentsThumbnail-BpWTrxlm.js} +15 -15
- package/components/{CasinoTournamentsThumbnail-DU2GGtiz.js → CasinoTournamentsThumbnail-g5Qt76nt.js} +15 -15
- package/components/{CasinoTournamentsThumbnailController-BOJJzGs9.js → CasinoTournamentsThumbnailController-CBvU8A_6.js} +61 -61
- package/components/{CasinoTournamentsThumbnailController-CA-Gs8YT.js → CasinoTournamentsThumbnailController-CdIivVd2.js} +64 -64
- package/components/{CasinoTournamentsThumbnailDuration-D_ALPI0h.js → CasinoTournamentsThumbnailDuration-C2G0rdfr.js} +12 -12
- package/components/{CasinoTournamentsThumbnailDuration-rUw_tcrU.js → CasinoTournamentsThumbnailDuration-ChJd5hA7.js} +25 -25
- package/components/{CasinoTournamentsThumbnailGamesSlider-CK2lY45V.js → CasinoTournamentsThumbnailGamesSlider-DCAIiZYm.js} +24 -24
- package/components/{CasinoTournamentsThumbnailGamesSlider-CbHNb7Dv.js → CasinoTournamentsThumbnailGamesSlider-TiclIE7g.js} +46 -46
- package/components/{CasinoTournamentsThumbnailPrizes-By5rqQuN.js → CasinoTournamentsThumbnailPrizes-DLth7Ktj.js} +56 -56
- package/components/{CasinoTournamentsThumbnailPrizes-DQBL58L6.js → CasinoTournamentsThumbnailPrizes-pEfEVbHI.js} +71 -71
- 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 {
|
|
1
|
+
import { $ as he, a as yt, b as vt, S as _t, i as kt, f as v, s as St, c as Tt, d as Ft, n as ne, e as w, g as u, h as p, j as y, k as S, l as T, m as j, o as Et, p as jt, q as zt, r as _e, t as Pt, u as O, v as B, w as Ct, x as U, y as ke, z as x, A as Bt, B as Ot, C as xt, D as At } from "./CasinoTournamentsListController-Cc1Egq3m.js";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ var pe = function(n, t) {
|
|
|
21
21
|
Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
|
|
22
22
|
}, pe(n, t);
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function J(n, t) {
|
|
25
25
|
if (typeof t != "function" && t !== null)
|
|
26
26
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
27
27
|
pe(n, t);
|
|
@@ -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))
|
|
@@ -186,7 +186,7 @@ var re = function() {
|
|
|
186
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 Dt = {
|
|
@@ -207,16 +207,16 @@ function It(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
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, it(e) && e.add(r)) : r.destination =
|
|
219
|
+
return r.isStopped = !1, e ? (r.destination = e, it(e) && e.add(r)) : r.destination = Ut, r;
|
|
220
220
|
}
|
|
221
221
|
return t.create = function(e, r, i) {
|
|
222
222
|
return new ve(e, r, i);
|
|
@@ -275,7 +275,7 @@ var ot = function(n) {
|
|
|
275
275
|
}
|
|
276
276
|
}, n;
|
|
277
277
|
}(), ve = function(n) {
|
|
278
|
-
|
|
278
|
+
J(t, n);
|
|
279
279
|
function t(e, r, i) {
|
|
280
280
|
var o = n.call(this) || this, s;
|
|
281
281
|
return C(e) || !e ? s = {
|
|
@@ -292,25 +292,25 @@ function ee(n) {
|
|
|
292
292
|
function Rt(n) {
|
|
293
293
|
throw n;
|
|
294
294
|
}
|
|
295
|
-
var
|
|
295
|
+
var Ut = {
|
|
296
296
|
closed: !0,
|
|
297
|
-
next:
|
|
297
|
+
next: Je,
|
|
298
298
|
error: Rt,
|
|
299
|
-
complete:
|
|
300
|
-
},
|
|
299
|
+
complete: Je
|
|
300
|
+
}, Jt = function() {
|
|
301
301
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
302
302
|
}();
|
|
303
|
-
function
|
|
303
|
+
function Wt(n) {
|
|
304
304
|
return n;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
return n.length === 0 ?
|
|
306
|
+
function Ht(n) {
|
|
307
|
+
return n.length === 0 ? Wt : n.length === 1 ? n[0] : function(e) {
|
|
308
308
|
return n.reduce(function(r, i) {
|
|
309
309
|
return i(r);
|
|
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 He = 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(a) {
|
|
337
337
|
try {
|
|
@@ -348,15 +348,15 @@ var He = function() {
|
|
|
348
348
|
}, n.prototype._subscribe = function(t) {
|
|
349
349
|
var e;
|
|
350
350
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
351
|
-
}, n.prototype[
|
|
351
|
+
}, n.prototype[Jt] = function() {
|
|
352
352
|
return this;
|
|
353
353
|
}, n.prototype.pipe = function() {
|
|
354
354
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
355
355
|
t[e] = arguments[e];
|
|
356
|
-
return
|
|
356
|
+
return Ht(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 He = 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 ?? Dt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
376
376
|
}
|
|
@@ -385,7 +385,7 @@ var qt = nt(function(n) {
|
|
|
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;
|
|
@@ -459,13 +459,13 @@ var qt = nt(function(n) {
|
|
|
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
465
|
return new Ge(e, r);
|
|
466
466
|
}, t;
|
|
467
|
-
}(
|
|
468
|
-
|
|
467
|
+
}(We), Ge = function(n) {
|
|
468
|
+
J(t, n);
|
|
469
469
|
function t(e, r) {
|
|
470
470
|
var i = n.call(this) || this;
|
|
471
471
|
return i.destination = e, i.source = r, i;
|
|
@@ -488,8 +488,8 @@ var qt = nt(function(n) {
|
|
|
488
488
|
return (lt.delegate || Date).now();
|
|
489
489
|
},
|
|
490
490
|
delegate: void 0
|
|
491
|
-
},
|
|
492
|
-
|
|
491
|
+
}, Xt = function(n) {
|
|
492
|
+
J(t, n);
|
|
493
493
|
function t(e, r, i) {
|
|
494
494
|
e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = lt);
|
|
495
495
|
var o = n.call(this) || this;
|
|
@@ -512,28 +512,28 @@ var qt = nt(function(n) {
|
|
|
512
512
|
}
|
|
513
513
|
}, t;
|
|
514
514
|
}(st);
|
|
515
|
-
const Ne = [], qe = {},
|
|
515
|
+
const Ne = [], qe = {}, Yt = (n, t = 0) => {
|
|
516
516
|
if (Ne.indexOf(n) == -1) {
|
|
517
|
-
const e = new
|
|
517
|
+
const e = new Xt(t);
|
|
518
518
|
qe[n] = e, Ne.push(n);
|
|
519
519
|
}
|
|
520
520
|
return qe[n];
|
|
521
521
|
};
|
|
522
|
-
window.emWidgets = { topic:
|
|
523
|
-
const
|
|
522
|
+
window.emWidgets = { topic: Yt };
|
|
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
|
-
function
|
|
525
|
+
function Kt({ withLocale: n, translations: t }) {
|
|
526
526
|
he.subscribe((e) => {
|
|
527
527
|
e == null && (yt.set(t), he.set(n));
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ye(n, t) {
|
|
531
531
|
vt(n, t);
|
|
532
532
|
}
|
|
533
533
|
function Vt(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-BpWTrxlm.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-ChJd5hA7.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-pEfEVbHI.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-TiclIE7g.js").then(
|
|
690
690
|
({ default: t }) => {
|
|
691
691
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
692
692
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -942,7 +942,7 @@ function en(n) {
|
|
|
942
942
|
t = T("button"), r = B(e), p(t, "class", "DetailsLargeButton"), p(t, "part", "DetailsLargeButton");
|
|
943
943
|
},
|
|
944
944
|
m(s, a) {
|
|
945
|
-
y(s, t, a), S(t, r), i || (o =
|
|
945
|
+
y(s, t, a), S(t, r), i || (o = U(t, "click", function() {
|
|
946
946
|
ke(
|
|
947
947
|
/*detailsAction*/
|
|
948
948
|
n[36].bind(
|
|
@@ -1009,13 +1009,13 @@ function nn(n) {
|
|
|
1009
1009
|
},
|
|
1010
1010
|
m(h, c) {
|
|
1011
1011
|
y(h, t, c), S(t, r), y(h, i, c), y(h, o, c), S(o, a), f || (b = [
|
|
1012
|
-
|
|
1012
|
+
U(
|
|
1013
1013
|
t,
|
|
1014
1014
|
"click",
|
|
1015
1015
|
/*loginAction*/
|
|
1016
1016
|
n[34]
|
|
1017
1017
|
),
|
|
1018
|
-
|
|
1018
|
+
U(
|
|
1019
1019
|
o,
|
|
1020
1020
|
"click",
|
|
1021
1021
|
/*registerAction*/
|
|
@@ -1045,7 +1045,7 @@ function Ze(n) {
|
|
|
1045
1045
|
t = T("button"), r = B(e), p(t, "class", "DetailsButton"), p(t, "part", "DetailsButton");
|
|
1046
1046
|
},
|
|
1047
1047
|
m(s, a) {
|
|
1048
|
-
y(s, t, a), S(t, r), i || (o =
|
|
1048
|
+
y(s, t, a), S(t, r), i || (o = U(t, "click", function() {
|
|
1049
1049
|
ke(
|
|
1050
1050
|
/*detailsAction*/
|
|
1051
1051
|
n[36].bind(
|
|
@@ -1087,7 +1087,7 @@ function rn(n) {
|
|
|
1087
1087
|
n[18];
|
|
1088
1088
|
},
|
|
1089
1089
|
m(b, h) {
|
|
1090
|
-
y(b, t, h), f.m(t, null), i || (o =
|
|
1090
|
+
y(b, t, h), f.m(t, null), i || (o = U(
|
|
1091
1091
|
t,
|
|
1092
1092
|
"click",
|
|
1093
1093
|
/*click_handler*/
|
|
@@ -1567,19 +1567,19 @@ function an(n) {
|
|
|
1567
1567
|
function un(n, t, e) {
|
|
1568
1568
|
let r;
|
|
1569
1569
|
Et(n, Bt, (l) => e(33, r = l));
|
|
1570
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = 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:
|
|
1571
|
-
|
|
1570
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = 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, ut, 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, le, je, ze, I, P, Pe, ae, Ce, Be, Oe = [], ue = [], xe = "#", $ = !1;
|
|
1571
|
+
Kt({ withLocale: "en", translations: {} });
|
|
1572
1572
|
const ft = () => {
|
|
1573
|
-
fetch(
|
|
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((l) => {
|
|
1582
|
+
Ye(l, Ke[l]);
|
|
1583
1583
|
});
|
|
1584
1584
|
const Ae = (l) => {
|
|
1585
1585
|
ct(l), fe(l), Ie(this, P);
|
|
@@ -1615,11 +1615,11 @@ function un(n, t, e) {
|
|
|
1615
1615
|
}, dt = () => {
|
|
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
|
}, mt = () => {
|
|
1620
|
-
|
|
1620
|
+
W && (window.postMessage(
|
|
1621
1621
|
{
|
|
1622
|
-
type:
|
|
1622
|
+
type: W,
|
|
1623
1623
|
transition: "Register"
|
|
1624
1624
|
},
|
|
1625
1625
|
window.location.href
|
|
@@ -1644,7 +1644,7 @@ function un(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,
|
|
@@ -1689,7 +1689,7 @@ function un(n, t, e) {
|
|
|
1689
1689
|
}, Me = (l) => {
|
|
1690
1690
|
e(16, L = !0);
|
|
1691
1691
|
const k = l ? `${l}/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);
|
|
@@ -1697,8 +1697,8 @@ function un(n, t, e) {
|
|
|
1697
1697
|
}, pt = () => {
|
|
1698
1698
|
e(15, D = i?.length > 10), D && (V = i);
|
|
1699
1699
|
}, gt = () => {
|
|
1700
|
-
if (
|
|
1701
|
-
fe(
|
|
1700
|
+
if (Y) {
|
|
1701
|
+
fe(Y);
|
|
1702
1702
|
return;
|
|
1703
1703
|
}
|
|
1704
1704
|
e(16, L = !0), Me(f);
|
|
@@ -1713,16 +1713,16 @@ function un(n, t, e) {
|
|
|
1713
1713
|
});
|
|
1714
1714
|
}
|
|
1715
1715
|
return n.$$set = (l) => {
|
|
1716
|
-
"session" in l && e(39, i = l.session), "userid" in l && e(0, o = l.userid), "tournamenturl" in l && e(1, s = l.tournamenturl), "touridx" in l && e(40, a = l.touridx), "endpoint" in l && e(41, f = l.endpoint), "showdetails" in l && e(2, b = l.showdetails), "showslider" in l && e(3, h = l.showslider), "showenrolled" in l && e(4, c = l.showenrolled), "maxwidth" in l && e(5, d = l.maxwidth), "fullsize" in l && e(6, _ = l.fullsize), "lang" in l && e(7, m = l.lang), "loginevent" in l && e(42, g = l.loginevent), "registerevent" in l && e(43,
|
|
1716
|
+
"session" in l && e(39, i = l.session), "userid" in l && e(0, o = l.userid), "tournamenturl" in l && e(1, s = l.tournamenturl), "touridx" in l && e(40, a = l.touridx), "endpoint" in l && e(41, f = l.endpoint), "showdetails" in l && e(2, b = l.showdetails), "showslider" in l && e(3, h = l.showslider), "showenrolled" in l && e(4, c = l.showenrolled), "maxwidth" in l && e(5, d = l.maxwidth), "fullsize" in l && e(6, _ = l.fullsize), "lang" in l && e(7, m = l.lang), "loginevent" in l && e(42, g = l.loginevent), "registerevent" in l && e(43, W = l.registerevent), "detailsevent" in l && e(8, Se = l.detailsevent), "loginurl" in l && e(44, H = l.loginurl), "registerurl" in l && e(45, G = l.registerurl), "currency" in l && e(46, ie = l.currency), "keepbrowsercontext" in l && e(9, Te = l.keepbrowsercontext), "clientstyling" in l && e(10, N = l.clientstyling), "clientstylingurl" in l && e(11, q = l.clientstylingurl), "translationurl" in l && e(12, X = l.translationurl), "tournamentinfo" in l && e(47, Y = l.tournamentinfo), "mbsource" in l && e(13, K = l.mbsource), "tournamentid" in l && e(48, oe = l.tournamentid);
|
|
1717
1717
|
}, n.$$.update = () => {
|
|
1718
1718
|
n.$$.dirty[0] & /*lang*/
|
|
1719
1719
|
128 && m && Vt(m), n.$$.dirty[0] & /*translationurl*/
|
|
1720
|
-
4096 &&
|
|
1720
|
+
4096 && X && ft(), n.$$.dirty[1] & /*session*/
|
|
1721
1721
|
256 && i && pt(), n.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1722
1722
|
130 && s && m && gt(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1723
1723
|
17408 && N && z && Ot(z, N), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1724
1724
|
18432 && q && z && xt(z, q), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1725
|
-
24576 &&
|
|
1725
|
+
24576 && K && z && At(z, `${K}.Style`, ut);
|
|
1726
1726
|
}, [
|
|
1727
1727
|
o,
|
|
1728
1728
|
s,
|
|
@@ -1736,8 +1736,8 @@ function un(n, t, e) {
|
|
|
1736
1736
|
Te,
|
|
1737
1737
|
N,
|
|
1738
1738
|
q,
|
|
1739
|
+
X,
|
|
1739
1740
|
K,
|
|
1740
|
-
Y,
|
|
1741
1741
|
z,
|
|
1742
1742
|
D,
|
|
1743
1743
|
L,
|
|
@@ -1767,11 +1767,11 @@ function un(n, t, e) {
|
|
|
1767
1767
|
a,
|
|
1768
1768
|
f,
|
|
1769
1769
|
g,
|
|
1770
|
-
H,
|
|
1771
1770
|
W,
|
|
1771
|
+
H,
|
|
1772
1772
|
G,
|
|
1773
1773
|
ie,
|
|
1774
|
-
|
|
1774
|
+
Y,
|
|
1775
1775
|
oe,
|
|
1776
1776
|
bt,
|
|
1777
1777
|
wt
|
|
@@ -1967,5 +1967,5 @@ const mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1967
1967
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1968
1968
|
export {
|
|
1969
1969
|
mn as C,
|
|
1970
|
-
|
|
1970
|
+
Xe as g
|
|
1971
1971
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as K, S as Y, i as Z, s as J, f as z, c as Q, n as N, d as k, h as w, k as v, g as l, m as V, o as X, t as M, j as h, r as $, u as j, l as R, p as tt, F as O, z as et, A as nt, B as it, C as st, D as rt } from "./CasinoTournamentsListController-BSNYZkzo.js";
|
|
2
2
|
function U(n, t) {
|
|
3
|
-
|
|
3
|
+
K(n, t);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const q = {
|
|
6
6
|
en: {
|
|
7
7
|
finished: "Finished",
|
|
8
8
|
starting: "Starting in ",
|
|
@@ -95,7 +95,7 @@ const x = {
|
|
|
95
95
|
function at(n) {
|
|
96
96
|
Q(n, "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)}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function x(n) {
|
|
99
99
|
let t, e, s = (
|
|
100
100
|
/*formatDate*/
|
|
101
101
|
n[10](
|
|
@@ -316,7 +316,7 @@ function gt(n) {
|
|
|
316
316
|
let t, e = (
|
|
317
317
|
/*startdate*/
|
|
318
318
|
n[0] && /*enddate*/
|
|
319
|
-
n[1] &&
|
|
319
|
+
n[1] && x(n)
|
|
320
320
|
);
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
@@ -328,7 +328,7 @@ function gt(n) {
|
|
|
328
328
|
p(s, [a]) {
|
|
329
329
|
/*startdate*/
|
|
330
330
|
s[0] && /*enddate*/
|
|
331
|
-
s[1] ? e ? e.p(s, a) : (e =
|
|
331
|
+
s[1] ? e ? e.p(s, a) : (e = x(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
|
|
332
332
|
},
|
|
333
333
|
i: N,
|
|
334
334
|
o: N,
|
|
@@ -350,8 +350,8 @@ function mt(n, t, e) {
|
|
|
350
350
|
console.log(m);
|
|
351
351
|
});
|
|
352
352
|
};
|
|
353
|
-
Object.keys(
|
|
354
|
-
U(i,
|
|
353
|
+
Object.keys(q).forEach((i) => {
|
|
354
|
+
U(i, q[i]);
|
|
355
355
|
});
|
|
356
356
|
const B = (i) => new Date(i).getTime(), c = (i, m) => (B(m) - B(i)) / (1e3 * 60), r = () => {
|
|
357
357
|
const i = /* @__PURE__ */ new Date();
|
|
@@ -366,8 +366,8 @@ function mt(n, t, e) {
|
|
|
366
366
|
return F < 10 ? `0${F}` : `${F}`;
|
|
367
367
|
};
|
|
368
368
|
if (i < 1440) {
|
|
369
|
-
const E = i / 60, F = i % 60,
|
|
370
|
-
return [E, F,
|
|
369
|
+
const E = i / 60, F = i % 60, G = (F - Math.floor(F)) * 60;
|
|
370
|
+
return [E, F, G].map((H) => S(H)).join(":");
|
|
371
371
|
}
|
|
372
372
|
return m(Math.ceil(i / (60 * 24)), "days");
|
|
373
373
|
};
|
|
@@ -383,7 +383,7 @@ function mt(n, t, e) {
|
|
|
383
383
|
clearInterval(i);
|
|
384
384
|
};
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function W(i) {
|
|
387
387
|
tt[i ? "unshift" : "push"](() => {
|
|
388
388
|
y = i, e(3, y);
|
|
389
389
|
});
|
|
@@ -423,7 +423,7 @@ function mt(n, t, e) {
|
|
|
423
423
|
b,
|
|
424
424
|
g,
|
|
425
425
|
P,
|
|
426
|
-
|
|
426
|
+
W
|
|
427
427
|
];
|
|
428
428
|
}
|
|
429
429
|
class ht extends Y {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as K, S as Y, i as Z, s as J, f as C, d as Q, n as N, e as k, j as w, l as v, h as l, o as V, p as X, u as M, k as h, t as $, v as j, m as R, q as tt, F as O, B as et, C as nt, D as it, c as st, A as rt } from "./CasinoTournamentsListController-Cc1Egq3m.js";
|
|
2
2
|
function U(n, t) {
|
|
3
|
-
|
|
3
|
+
K(n, t);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const q = {
|
|
6
6
|
en: {
|
|
7
7
|
finished: "Finished",
|
|
8
8
|
starting: "Starting in ",
|
|
@@ -95,7 +95,7 @@ const x = {
|
|
|
95
95
|
function at(n) {
|
|
96
96
|
Q(n, "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)}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function x(n) {
|
|
99
99
|
let t, e, s = (
|
|
100
100
|
/*formatDate*/
|
|
101
101
|
n[10](
|
|
@@ -120,7 +120,7 @@ function q(n) {
|
|
|
120
120
|
)
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
|
-
let
|
|
123
|
+
let z = D(n), _ = z(n);
|
|
124
124
|
function A(r, p) {
|
|
125
125
|
if (
|
|
126
126
|
/*status*/
|
|
@@ -162,7 +162,7 @@ function q(n) {
|
|
|
162
162
|
r[10](
|
|
163
163
|
/*enddate*/
|
|
164
164
|
r[1]
|
|
165
|
-
) + "") && M(f, d),
|
|
165
|
+
) + "") && M(f, d), z === (z = D(r)) && _ ? _.p(r, p) : (_.d(1), _ = z(r), _ && (_.c(), _.m(g, P))), B === (B = A(r)) && c ? c.p(r, p) : (c && c.d(1), c = B && B(r), c && (c.c(), c.m(g, null)));
|
|
166
166
|
},
|
|
167
167
|
d(r) {
|
|
168
168
|
r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1, I();
|
|
@@ -316,7 +316,7 @@ function gt(n) {
|
|
|
316
316
|
let t, e = (
|
|
317
317
|
/*startdate*/
|
|
318
318
|
n[0] && /*enddate*/
|
|
319
|
-
n[1] &&
|
|
319
|
+
n[1] && x(n)
|
|
320
320
|
);
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
@@ -328,7 +328,7 @@ function gt(n) {
|
|
|
328
328
|
p(s, [a]) {
|
|
329
329
|
/*startdate*/
|
|
330
330
|
s[0] && /*enddate*/
|
|
331
|
-
s[1] ? e ? e.p(s, a) : (e =
|
|
331
|
+
s[1] ? e ? e.p(s, a) : (e = x(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
|
|
332
332
|
},
|
|
333
333
|
i: N,
|
|
334
334
|
o: N,
|
|
@@ -340,7 +340,7 @@ function gt(n) {
|
|
|
340
340
|
function mt(n, t, e) {
|
|
341
341
|
let s, a;
|
|
342
342
|
V(n, rt, (i) => e(8, a = i));
|
|
343
|
-
let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, I, D = "",
|
|
343
|
+
let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, I, D = "", z = "", _ = "";
|
|
344
344
|
const A = () => {
|
|
345
345
|
fetch(g).then((m) => m.json()).then((m) => {
|
|
346
346
|
Object.keys(m).forEach((S) => {
|
|
@@ -350,12 +350,12 @@ function mt(n, t, e) {
|
|
|
350
350
|
console.log(m);
|
|
351
351
|
});
|
|
352
352
|
};
|
|
353
|
-
Object.keys(
|
|
354
|
-
U(i,
|
|
353
|
+
Object.keys(q).forEach((i) => {
|
|
354
|
+
U(i, q[i]);
|
|
355
355
|
});
|
|
356
356
|
const B = (i) => new Date(i).getTime(), c = (i, m) => (B(m) - B(i)) / (1e3 * 60), r = () => {
|
|
357
357
|
const i = /* @__PURE__ */ new Date();
|
|
358
|
-
e(4, D = c(i, o)), e(5,
|
|
358
|
+
e(4, D = c(i, o)), e(5, z = c(i, u)), e(6, _ = L(D));
|
|
359
359
|
}, p = (i) => {
|
|
360
360
|
const m = { month: "long" };
|
|
361
361
|
let S = new Date(i), E = new Intl.DateTimeFormat(f, m).format(S);
|
|
@@ -366,8 +366,8 @@ function mt(n, t, e) {
|
|
|
366
366
|
return F < 10 ? `0${F}` : `${F}`;
|
|
367
367
|
};
|
|
368
368
|
if (i < 1440) {
|
|
369
|
-
const E = i / 60, F = i % 60,
|
|
370
|
-
return [E, F,
|
|
369
|
+
const E = i / 60, F = i % 60, G = (F - Math.floor(F)) * 60;
|
|
370
|
+
return [E, F, G].map((H) => S(H)).join(":");
|
|
371
371
|
}
|
|
372
372
|
return m(Math.ceil(i / (60 * 24)), "days");
|
|
373
373
|
};
|
|
@@ -383,7 +383,7 @@ function mt(n, t, e) {
|
|
|
383
383
|
clearInterval(i);
|
|
384
384
|
};
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function W(i) {
|
|
387
387
|
tt[i ? "unshift" : "push"](() => {
|
|
388
388
|
y = i, e(3, y);
|
|
389
389
|
});
|
|
@@ -411,7 +411,7 @@ function mt(n, t, e) {
|
|
|
411
411
|
d,
|
|
412
412
|
y,
|
|
413
413
|
D,
|
|
414
|
-
|
|
414
|
+
z,
|
|
415
415
|
_,
|
|
416
416
|
s,
|
|
417
417
|
a,
|
|
@@ -423,7 +423,7 @@ function mt(n, t, e) {
|
|
|
423
423
|
b,
|
|
424
424
|
g,
|
|
425
425
|
P,
|
|
426
|
-
|
|
426
|
+
W
|
|
427
427
|
];
|
|
428
428
|
}
|
|
429
429
|
class ht extends Y {
|
|
@@ -451,49 +451,49 @@ class ht extends Y {
|
|
|
451
451
|
return this.$$.ctx[0];
|
|
452
452
|
}
|
|
453
453
|
set startdate(t) {
|
|
454
|
-
this.$$set({ startdate: t }),
|
|
454
|
+
this.$$set({ startdate: t }), C();
|
|
455
455
|
}
|
|
456
456
|
get enddate() {
|
|
457
457
|
return this.$$.ctx[1];
|
|
458
458
|
}
|
|
459
459
|
set enddate(t) {
|
|
460
|
-
this.$$set({ enddate: t }),
|
|
460
|
+
this.$$set({ enddate: t }), C();
|
|
461
461
|
}
|
|
462
462
|
get status() {
|
|
463
463
|
return this.$$.ctx[2];
|
|
464
464
|
}
|
|
465
465
|
set status(t) {
|
|
466
|
-
this.$$set({ status: t }),
|
|
466
|
+
this.$$set({ status: t }), C();
|
|
467
467
|
}
|
|
468
468
|
get lang() {
|
|
469
469
|
return this.$$.ctx[12];
|
|
470
470
|
}
|
|
471
471
|
set lang(t) {
|
|
472
|
-
this.$$set({ lang: t }),
|
|
472
|
+
this.$$set({ lang: t }), C();
|
|
473
473
|
}
|
|
474
474
|
get clientstyling() {
|
|
475
475
|
return this.$$.ctx[13];
|
|
476
476
|
}
|
|
477
477
|
set clientstyling(t) {
|
|
478
|
-
this.$$set({ clientstyling: t }),
|
|
478
|
+
this.$$set({ clientstyling: t }), C();
|
|
479
479
|
}
|
|
480
480
|
get clientstylingurl() {
|
|
481
481
|
return this.$$.ctx[14];
|
|
482
482
|
}
|
|
483
483
|
set clientstylingurl(t) {
|
|
484
|
-
this.$$set({ clientstylingurl: t }),
|
|
484
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
485
485
|
}
|
|
486
486
|
get translationurl() {
|
|
487
487
|
return this.$$.ctx[15];
|
|
488
488
|
}
|
|
489
489
|
set translationurl(t) {
|
|
490
|
-
this.$$set({ translationurl: t }),
|
|
490
|
+
this.$$set({ translationurl: t }), C();
|
|
491
491
|
}
|
|
492
492
|
get mbsource() {
|
|
493
493
|
return this.$$.ctx[16];
|
|
494
494
|
}
|
|
495
495
|
set mbsource(t) {
|
|
496
|
-
this.$$set({ mbsource: t }),
|
|
496
|
+
this.$$set({ mbsource: t }), C();
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
st(ht, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|