@everymatrix/casino-tournaments-list-controller 1.49.2 → 1.50.1
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-Br9wvTcj.js → CasinoTournamentsListController-B5oJoqvL.js} +261 -254
- package/components/{CasinoTournamentsListController-DLE0_N7q.cjs → CasinoTournamentsListController-XLB76kVM.cjs} +6 -6
- package/components/{CasinoTournamentsThumbnail-CR0x_I1j.cjs → CasinoTournamentsThumbnail-CbqmpRbz.cjs} +3 -3
- package/components/{CasinoTournamentsThumbnail-B4rxbBF0.js → CasinoTournamentsThumbnail-DmrRiCsK.js} +8 -8
- package/components/CasinoTournamentsThumbnailController-DVDy-tCG.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailController-CBUcVC6U.js → CasinoTournamentsThumbnailController-DoNuzNZ3.js} +142 -143
- package/components/CasinoTournamentsThumbnailDuration-TkaO_PlK.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailDuration-0Z6PpyrH.js → CasinoTournamentsThumbnailDuration-cxRZx6V-.js} +2 -2
- package/components/{CasinoTournamentsThumbnailGamesSlider-COvnkPU9.js → CasinoTournamentsThumbnailGamesSlider-BMmsmgQ4.js} +14 -14
- package/components/CasinoTournamentsThumbnailGamesSlider-DpSlAOVq.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-B8zDfgbt.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailPrizes-C6jdK8Nd.js → CasinoTournamentsThumbnailPrizes-F02-VNSz.js} +23 -23
- package/es2015/casino-tournaments-list-controller.cjs +1 -1
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailController-CQTDJ8Hh.cjs +0 -3
- package/components/CasinoTournamentsThumbnailDuration-BNfoag-c.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-DHYgARio.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-CHGsU7-P.cjs +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
var o = (
|
|
1
|
+
var ce = (r, t, e) => new Promise((n, i) => {
|
|
2
|
+
var o = (c) => {
|
|
3
3
|
try {
|
|
4
|
-
l(e.next(
|
|
4
|
+
l(e.next(c));
|
|
5
5
|
} catch (h) {
|
|
6
6
|
i(h);
|
|
7
7
|
}
|
|
8
|
-
}, s = (
|
|
8
|
+
}, s = (c) => {
|
|
9
9
|
try {
|
|
10
|
-
l(e.throw(
|
|
10
|
+
l(e.throw(c));
|
|
11
11
|
} catch (h) {
|
|
12
12
|
i(h);
|
|
13
13
|
}
|
|
14
|
-
}, l = (
|
|
14
|
+
}, l = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, s);
|
|
15
15
|
l((e = e.apply(r, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { _ as me, z as he, A as pe, B as W, $ as ge, C as
|
|
17
|
+
import { _ as me, z as he, A as pe, B as W, $ as ge, C as St, a as Ft, S as Et, i as Ct, f as S, c as jt, s as zt, b as Bt, e as E, h as k, n as be, l as T, m as Pt, o as Ot, w as Dt, d as B, D as u, g as m, j as _, p as It, r as At, t as O, k as D, y as Mt, u as J, q as tt, v as xt, E as A } from "./CasinoTournamentsListController-B5oJoqvL.js";
|
|
18
18
|
function P(r) {
|
|
19
19
|
return typeof r == "function";
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function rt(r) {
|
|
|
24
24
|
}, e = r(t);
|
|
25
25
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var fe = rt(function(r) {
|
|
28
28
|
return function(e) {
|
|
29
29
|
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
30
30
|
` + e.map(function(n, i) {
|
|
@@ -51,15 +51,15 @@ var te = function() {
|
|
|
51
51
|
if (s)
|
|
52
52
|
if (this._parentage = null, Array.isArray(s))
|
|
53
53
|
try {
|
|
54
|
-
for (var l = me(s),
|
|
55
|
-
var h =
|
|
54
|
+
for (var l = me(s), c = l.next(); !c.done; c = l.next()) {
|
|
55
|
+
var h = c.value;
|
|
56
56
|
h.remove(this);
|
|
57
57
|
}
|
|
58
58
|
} catch (g) {
|
|
59
59
|
t = { error: g };
|
|
60
60
|
} finally {
|
|
61
61
|
try {
|
|
62
|
-
|
|
62
|
+
c && !c.done && (e = l.return) && e.call(l);
|
|
63
63
|
} finally {
|
|
64
64
|
if (t) throw t.error;
|
|
65
65
|
}
|
|
@@ -71,7 +71,7 @@ var te = function() {
|
|
|
71
71
|
try {
|
|
72
72
|
d();
|
|
73
73
|
} catch (g) {
|
|
74
|
-
o = g instanceof
|
|
74
|
+
o = g instanceof fe ? g.errors : [g];
|
|
75
75
|
}
|
|
76
76
|
var y = this._finalizers;
|
|
77
77
|
if (y) {
|
|
@@ -82,7 +82,7 @@ var te = function() {
|
|
|
82
82
|
try {
|
|
83
83
|
Re(b);
|
|
84
84
|
} catch (g) {
|
|
85
|
-
o = o != null ? o : [], g instanceof
|
|
85
|
+
o = o != null ? o : [], g instanceof fe ? o = he(he([], pe(o)), pe(g.errors)) : o.push(g);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
} catch (g) {
|
|
@@ -96,7 +96,7 @@ var te = function() {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
if (o)
|
|
99
|
-
throw new
|
|
99
|
+
throw new fe(o);
|
|
100
100
|
}
|
|
101
101
|
}, r.prototype.add = function(t) {
|
|
102
102
|
var e;
|
|
@@ -140,20 +140,19 @@ var ot = {
|
|
|
140
140
|
Promise: void 0,
|
|
141
141
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
142
142
|
useDeprecatedNextContext: !1
|
|
143
|
-
},
|
|
143
|
+
}, Lt = {
|
|
144
144
|
setTimeout: function(r, t) {
|
|
145
145
|
for (var e = [], n = 2; n < arguments.length; n++)
|
|
146
146
|
e[n - 2] = arguments[n];
|
|
147
147
|
return setTimeout.apply(void 0, he([r, t], pe(e)));
|
|
148
148
|
},
|
|
149
149
|
clearTimeout: function(r) {
|
|
150
|
-
|
|
151
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(r);
|
|
150
|
+
return clearTimeout(r);
|
|
152
151
|
},
|
|
153
152
|
delegate: void 0
|
|
154
153
|
};
|
|
155
154
|
function Rt(r) {
|
|
156
|
-
|
|
155
|
+
Lt.setTimeout(function() {
|
|
157
156
|
throw r;
|
|
158
157
|
});
|
|
159
158
|
}
|
|
@@ -162,7 +161,7 @@ function Ue() {
|
|
|
162
161
|
function ee(r) {
|
|
163
162
|
r();
|
|
164
163
|
}
|
|
165
|
-
var
|
|
164
|
+
var st = function(r) {
|
|
166
165
|
W(t, r);
|
|
167
166
|
function t(e) {
|
|
168
167
|
var n = r.call(this) || this;
|
|
@@ -251,7 +250,7 @@ var Jt = function() {
|
|
|
251
250
|
return o.destination = new Jt(s), o;
|
|
252
251
|
}
|
|
253
252
|
return t;
|
|
254
|
-
}(
|
|
253
|
+
}(st);
|
|
255
254
|
function $(r) {
|
|
256
255
|
Rt(r);
|
|
257
256
|
}
|
|
@@ -286,8 +285,8 @@ var Je = function() {
|
|
|
286
285
|
}, r.prototype.subscribe = function(t, e, n) {
|
|
287
286
|
var i = this, o = Vt(t) ? t : new ye(t, e, n);
|
|
288
287
|
return ee(function() {
|
|
289
|
-
var s = i, l = s.operator,
|
|
290
|
-
o.add(l ? l.call(o,
|
|
288
|
+
var s = i, l = s.operator, c = s.source;
|
|
289
|
+
o.add(l ? l.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
291
290
|
}), o;
|
|
292
291
|
}, r.prototype._trySubscribe = function(t) {
|
|
293
292
|
try {
|
|
@@ -302,8 +301,8 @@ var Je = function() {
|
|
|
302
301
|
next: function(l) {
|
|
303
302
|
try {
|
|
304
303
|
t(l);
|
|
305
|
-
} catch (
|
|
306
|
-
o(
|
|
304
|
+
} catch (c) {
|
|
305
|
+
o(c), s.unsubscribe();
|
|
307
306
|
}
|
|
308
307
|
},
|
|
309
308
|
error: o,
|
|
@@ -344,13 +343,13 @@ function Kt(r) {
|
|
|
344
343
|
return r && P(r.next) && P(r.error) && P(r.complete);
|
|
345
344
|
}
|
|
346
345
|
function Vt(r) {
|
|
347
|
-
return r && r instanceof
|
|
346
|
+
return r && r instanceof st || Kt(r) && it(r);
|
|
348
347
|
}
|
|
349
348
|
var Xt = rt(function(r) {
|
|
350
349
|
return function() {
|
|
351
350
|
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
352
351
|
};
|
|
353
|
-
}),
|
|
352
|
+
}), at = function(r) {
|
|
354
353
|
W(t, r);
|
|
355
354
|
function t() {
|
|
356
355
|
var e = r.call(this) || this;
|
|
@@ -370,8 +369,8 @@ var Xt = rt(function(r) {
|
|
|
370
369
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
371
370
|
try {
|
|
372
371
|
for (var s = me(n.currentObservers), l = s.next(); !l.done; l = s.next()) {
|
|
373
|
-
var
|
|
374
|
-
|
|
372
|
+
var c = l.value;
|
|
373
|
+
c.next(e);
|
|
375
374
|
}
|
|
376
375
|
} catch (h) {
|
|
377
376
|
i = { error: h };
|
|
@@ -448,35 +447,35 @@ var Xt = rt(function(r) {
|
|
|
448
447
|
var n, i;
|
|
449
448
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && i !== void 0 ? i : nt;
|
|
450
449
|
}, t;
|
|
451
|
-
}(
|
|
450
|
+
}(at), lt = {
|
|
452
451
|
now: function() {
|
|
453
|
-
return (
|
|
452
|
+
return (lt.delegate || Date).now();
|
|
454
453
|
},
|
|
455
454
|
delegate: void 0
|
|
456
455
|
}, Nt = function(r) {
|
|
457
456
|
W(t, r);
|
|
458
457
|
function t(e, n, i) {
|
|
459
|
-
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
458
|
+
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lt);
|
|
460
459
|
var o = r.call(this) || this;
|
|
461
460
|
return o._bufferSize = e, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, n), o;
|
|
462
461
|
}
|
|
463
462
|
return t.prototype.next = function(e) {
|
|
464
|
-
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, l = n._timestampProvider,
|
|
465
|
-
i || (o.push(e), !s && o.push(l.now() +
|
|
463
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, l = n._timestampProvider, c = n._windowTime;
|
|
464
|
+
i || (o.push(e), !s && o.push(l.now() + c)), this._trimBuffer(), r.prototype.next.call(this, e);
|
|
466
465
|
}, t.prototype._subscribe = function(e) {
|
|
467
466
|
this._throwIfClosed(), this._trimBuffer();
|
|
468
|
-
for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, s = i._buffer, l = s.slice(),
|
|
469
|
-
e.next(l[
|
|
467
|
+
for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, s = i._buffer, l = s.slice(), c = 0; c < l.length && !e.closed; c += o ? 1 : 2)
|
|
468
|
+
e.next(l[c]);
|
|
470
469
|
return this._checkFinalizedStatuses(e), n;
|
|
471
470
|
}, t.prototype._trimBuffer = function() {
|
|
472
471
|
var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * n;
|
|
473
472
|
if (n < 1 / 0 && l < o.length && o.splice(0, o.length - l), !s) {
|
|
474
|
-
for (var
|
|
473
|
+
for (var c = i.now(), h = 0, d = 1; d < o.length && o[d] <= c; d += 2)
|
|
475
474
|
h = d;
|
|
476
475
|
h && o.splice(0, h + 1);
|
|
477
476
|
}
|
|
478
477
|
}, t;
|
|
479
|
-
}(
|
|
478
|
+
}(at);
|
|
480
479
|
const qe = [], Ge = {}, Zt = (r, t = 0) => {
|
|
481
480
|
if (qe.indexOf(r) == -1) {
|
|
482
481
|
const e = new Nt(t);
|
|
@@ -488,11 +487,11 @@ window.emWidgets = { topic: Zt };
|
|
|
488
487
|
const Ye = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
489
488
|
function Qt({ withLocale: r, translations: t }) {
|
|
490
489
|
ge.subscribe((e) => {
|
|
491
|
-
e == null && (
|
|
490
|
+
e == null && (St.set(t), ge.set(r));
|
|
492
491
|
});
|
|
493
492
|
}
|
|
494
493
|
function Ke(r, t) {
|
|
495
|
-
|
|
494
|
+
Ft(r, t);
|
|
496
495
|
}
|
|
497
496
|
function $t(r) {
|
|
498
497
|
ge.set(r);
|
|
@@ -591,7 +590,7 @@ if (typeof window != "undefined") {
|
|
|
591
590
|
}
|
|
592
591
|
};
|
|
593
592
|
};
|
|
594
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
593
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-DmrRiCsK.js").then(({ default: t }) => {
|
|
595
594
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
596
595
|
});
|
|
597
596
|
}
|
|
@@ -607,7 +606,7 @@ if (typeof window != "undefined") {
|
|
|
607
606
|
}
|
|
608
607
|
};
|
|
609
608
|
};
|
|
610
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
609
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-cxRZx6V-.js").then(({ default: t }) => {
|
|
611
610
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
612
611
|
"casino-tournaments-thumbnail-duration",
|
|
613
612
|
t.element
|
|
@@ -626,7 +625,7 @@ if (typeof window != "undefined") {
|
|
|
626
625
|
}
|
|
627
626
|
};
|
|
628
627
|
};
|
|
629
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
628
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-F02-VNSz.js").then(({ default: t }) => {
|
|
630
629
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
|
|
631
630
|
});
|
|
632
631
|
}
|
|
@@ -642,7 +641,7 @@ if (typeof window != "undefined") {
|
|
|
642
641
|
}
|
|
643
642
|
};
|
|
644
643
|
};
|
|
645
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
644
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BMmsmgQ4.js").then(
|
|
646
645
|
({ default: t }) => {
|
|
647
646
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
648
647
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -652,24 +651,24 @@ if (typeof window != "undefined") {
|
|
|
652
651
|
);
|
|
653
652
|
}
|
|
654
653
|
function er(r) {
|
|
655
|
-
|
|
654
|
+
Bt(r, "svelte-1kmemyq", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::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(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--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:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes 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 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 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 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 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 fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
|
|
656
655
|
}
|
|
657
656
|
function tr(r) {
|
|
658
|
-
let t, e, n, i, o, s, l,
|
|
657
|
+
let t, e, n, i, o, s, l, c, h, d = (
|
|
659
658
|
/*isLoggedIn*/
|
|
660
659
|
r[14] && Xe(r)
|
|
661
660
|
);
|
|
662
|
-
function y(
|
|
661
|
+
function y(f, p) {
|
|
663
662
|
if (!/*isLoggedIn*/
|
|
664
|
-
|
|
663
|
+
f[14]) return or;
|
|
665
664
|
if (
|
|
666
665
|
/*status*/
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
f[23] != "Closed" && /*status*/
|
|
667
|
+
f[23] != "Closing"
|
|
669
668
|
) return ir;
|
|
670
669
|
if (
|
|
671
670
|
/*showdetails*/
|
|
672
|
-
|
|
671
|
+
f[3] == "true"
|
|
673
672
|
) return nr;
|
|
674
673
|
}
|
|
675
674
|
let F = y(r), v = F && F(r), b = (
|
|
@@ -767,7 +766,7 @@ function tr(r) {
|
|
|
767
766
|
"keepbrowsercontext",
|
|
768
767
|
/*keepbrowsercontext*/
|
|
769
768
|
r[9]
|
|
770
|
-
), u(e, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), m(o, "class", "TournamentButtons"), m(o, "part", "TournamentButtons"), m(t, "class",
|
|
769
|
+
), u(e, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), m(o, "class", "TournamentButtons"), m(o, "part", "TournamentButtons"), m(t, "class", c = "TournamentCard " + /*maxwidth*/
|
|
771
770
|
(r[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
772
771
|
(r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
773
772
|
(r[31] ? "elementToFadeOut" : "elementToFadeIn")), m(t, "part", h = "TournamentCard " + /*maxwidth*/
|
|
@@ -776,131 +775,131 @@ function tr(r) {
|
|
|
776
775
|
(r[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
777
776
|
(r[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
778
777
|
},
|
|
779
|
-
m(
|
|
780
|
-
k(
|
|
778
|
+
m(f, p) {
|
|
779
|
+
k(f, t, p), _(t, e), _(t, n), d && d.m(t, null), _(t, i), _(t, o), v && v.m(o, null), _(t, s), b && b.m(t, null), _(t, l), g && g.m(t, null);
|
|
781
780
|
},
|
|
782
|
-
p(
|
|
781
|
+
p(f, p) {
|
|
783
782
|
p[0] & /*session*/
|
|
784
783
|
1 && u(
|
|
785
784
|
e,
|
|
786
785
|
"session",
|
|
787
786
|
/*session*/
|
|
788
|
-
|
|
787
|
+
f[0]
|
|
789
788
|
), p[0] & /*userid*/
|
|
790
789
|
2 && u(
|
|
791
790
|
e,
|
|
792
791
|
"userid",
|
|
793
792
|
/*userid*/
|
|
794
|
-
|
|
793
|
+
f[1]
|
|
795
794
|
), p[0] & /*title*/
|
|
796
795
|
1048576 && u(
|
|
797
796
|
e,
|
|
798
797
|
"title",
|
|
799
798
|
/*title*/
|
|
800
|
-
|
|
799
|
+
f[20]
|
|
801
800
|
), p[0] & /*status*/
|
|
802
801
|
8388608 && u(
|
|
803
802
|
e,
|
|
804
803
|
"status",
|
|
805
804
|
/*status*/
|
|
806
|
-
|
|
805
|
+
f[23]
|
|
807
806
|
), p[0] & /*startdate*/
|
|
808
807
|
2097152 && u(
|
|
809
808
|
e,
|
|
810
809
|
"startdate",
|
|
811
810
|
/*startdate*/
|
|
812
|
-
|
|
811
|
+
f[21]
|
|
813
812
|
), p[0] & /*tourid*/
|
|
814
813
|
16777216 && u(
|
|
815
814
|
e,
|
|
816
815
|
"tourid",
|
|
817
816
|
/*tourid*/
|
|
818
|
-
|
|
817
|
+
f[24]
|
|
819
818
|
), p[0] & /*scorecriteria*/
|
|
820
819
|
134217728 && u(
|
|
821
820
|
e,
|
|
822
821
|
"scorecriteria",
|
|
823
822
|
/*scorecriteria*/
|
|
824
|
-
|
|
823
|
+
f[27]
|
|
825
824
|
), p[0] & /*minbetcount*/
|
|
826
825
|
268435456 && u(
|
|
827
826
|
e,
|
|
828
827
|
"minbetcount",
|
|
829
828
|
/*minbetcount*/
|
|
830
|
-
|
|
829
|
+
f[28]
|
|
831
830
|
), p[0] & /*thumbnail*/
|
|
832
831
|
33554432 && u(
|
|
833
832
|
e,
|
|
834
833
|
"thumbnail",
|
|
835
834
|
/*thumbnail*/
|
|
836
|
-
|
|
835
|
+
f[25]
|
|
837
836
|
), p[0] & /*showenrolled*/
|
|
838
837
|
32 && u(
|
|
839
838
|
e,
|
|
840
839
|
"showenrolled",
|
|
841
840
|
/*showenrolled*/
|
|
842
|
-
|
|
841
|
+
f[5]
|
|
843
842
|
), p[0] & /*gameurl*/
|
|
844
843
|
1073741824 && u(
|
|
845
844
|
e,
|
|
846
845
|
"gameurl",
|
|
847
846
|
/*gameurl*/
|
|
848
|
-
|
|
847
|
+
f[30]
|
|
849
848
|
), p[0] & /*userenrolled*/
|
|
850
849
|
67108864 && u(
|
|
851
850
|
e,
|
|
852
851
|
"userenrolled",
|
|
853
852
|
/*userenrolled*/
|
|
854
|
-
|
|
853
|
+
f[26]
|
|
855
854
|
), p[0] & /*clientstyling*/
|
|
856
855
|
1024 && u(
|
|
857
856
|
e,
|
|
858
857
|
"clientstyling",
|
|
859
858
|
/*clientstyling*/
|
|
860
|
-
|
|
859
|
+
f[10]
|
|
861
860
|
), p[0] & /*clientstylingurl*/
|
|
862
861
|
2048 && u(
|
|
863
862
|
e,
|
|
864
863
|
"clientstylingurl",
|
|
865
864
|
/*clientstylingurl*/
|
|
866
|
-
|
|
865
|
+
f[11]
|
|
867
866
|
), p[0] & /*translationurl*/
|
|
868
867
|
4096 && u(
|
|
869
868
|
e,
|
|
870
869
|
"translationurl",
|
|
871
870
|
/*translationurl*/
|
|
872
|
-
|
|
871
|
+
f[12]
|
|
873
872
|
), p[0] & /*lang*/
|
|
874
873
|
256 && u(
|
|
875
874
|
e,
|
|
876
875
|
"lang",
|
|
877
876
|
/*lang*/
|
|
878
|
-
|
|
877
|
+
f[8]
|
|
879
878
|
), p[0] & /*keepbrowsercontext*/
|
|
880
879
|
512 && u(
|
|
881
880
|
e,
|
|
882
881
|
"keepbrowsercontext",
|
|
883
882
|
/*keepbrowsercontext*/
|
|
884
|
-
|
|
883
|
+
f[9]
|
|
885
884
|
), /*isLoggedIn*/
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
885
|
+
f[14] ? d ? d.p(f, p) : (d = Xe(f), d.c(), d.m(t, i)) : d && (d.d(1), d = null), F === (F = y(f)) && v ? v.p(f, p) : (v && v.d(1), v = F && F(f), v && (v.c(), v.m(o, null))), /*errorJoin*/
|
|
886
|
+
f[17] || /*errorJoinConcurrently*/
|
|
887
|
+
f[19] ? b ? b.p(f, p) : (b = $e(f), b.c(), b.m(t, l)) : b && (b.d(1), b = null), /*showslider*/
|
|
888
|
+
f[4] == "true" ? g ? g.p(f, p) : (g = et(f), g.c(), g.m(t, null)) : g && (g.d(1), g = null), p[0] & /*maxwidth, fullsize*/
|
|
890
889
|
192 | p[1] & /*isChanging*/
|
|
891
|
-
1 &&
|
|
892
|
-
(
|
|
893
|
-
(
|
|
894
|
-
(
|
|
890
|
+
1 && c !== (c = "TournamentCard " + /*maxwidth*/
|
|
891
|
+
(f[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
892
|
+
(f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
893
|
+
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "class", c), p[0] & /*maxwidth, fullsize*/
|
|
895
894
|
192 | p[1] & /*isChanging*/
|
|
896
895
|
1 && h !== (h = "TournamentCard " + /*maxwidth*/
|
|
897
|
-
(
|
|
898
|
-
(
|
|
899
|
-
(
|
|
900
|
-
(
|
|
896
|
+
(f[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
897
|
+
(f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
898
|
+
(f[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
899
|
+
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && m(t, "part", h);
|
|
901
900
|
},
|
|
902
|
-
d(
|
|
903
|
-
|
|
901
|
+
d(f) {
|
|
902
|
+
f && T(t), d && d.d(), v && v.d(), b && b.d(), g && g.d();
|
|
904
903
|
}
|
|
905
904
|
};
|
|
906
905
|
}
|
|
@@ -1064,7 +1063,7 @@ function Ne(r) {
|
|
|
1064
1063
|
), u(t, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
|
|
1065
1064
|
},
|
|
1066
1065
|
m(o, s) {
|
|
1067
|
-
k(o, t, s), n || (i =
|
|
1066
|
+
k(o, t, s), n || (i = It(e = /*sendTournamentPrizes*/
|
|
1068
1067
|
r[37].call(
|
|
1069
1068
|
null,
|
|
1070
1069
|
t,
|
|
@@ -1097,7 +1096,7 @@ function Ne(r) {
|
|
|
1097
1096
|
"translationurl",
|
|
1098
1097
|
/*translationurl*/
|
|
1099
1098
|
o[12]
|
|
1100
|
-
), e &&
|
|
1099
|
+
), e && At(e.update) && s[0] & /*tourid*/
|
|
1101
1100
|
16777216 && e.update.call(
|
|
1102
1101
|
null,
|
|
1103
1102
|
/*tourid*/
|
|
@@ -1141,7 +1140,7 @@ function ir(r) {
|
|
|
1141
1140
|
/*showdetails*/
|
|
1142
1141
|
r[3] == "true" && Ze(r)
|
|
1143
1142
|
);
|
|
1144
|
-
function i(l,
|
|
1143
|
+
function i(l, c) {
|
|
1145
1144
|
return (
|
|
1146
1145
|
/*userenrolled*/
|
|
1147
1146
|
l[26] ? ar : sr
|
|
@@ -1152,12 +1151,12 @@ function ir(r) {
|
|
|
1152
1151
|
c() {
|
|
1153
1152
|
n && n.c(), t = B(), s.c(), e = tt();
|
|
1154
1153
|
},
|
|
1155
|
-
m(l,
|
|
1156
|
-
n && n.m(l,
|
|
1154
|
+
m(l, c) {
|
|
1155
|
+
n && n.m(l, c), k(l, t, c), s.m(l, c), k(l, e, c);
|
|
1157
1156
|
},
|
|
1158
|
-
p(l,
|
|
1157
|
+
p(l, c) {
|
|
1159
1158
|
/*showdetails*/
|
|
1160
|
-
l[3] == "true" ? n ? n.p(l,
|
|
1159
|
+
l[3] == "true" ? n ? n.p(l, c) : (n = Ze(l), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), o === (o = i(l)) && s ? s.p(l, c) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
|
|
1161
1160
|
},
|
|
1162
1161
|
d(l) {
|
|
1163
1162
|
l && (T(t), T(e)), n && n.d(l), s.d(l);
|
|
@@ -1171,13 +1170,13 @@ function or(r) {
|
|
|
1171
1170
|
), n, i, o, s = (
|
|
1172
1171
|
/*$_*/
|
|
1173
1172
|
r[32]("register") + ""
|
|
1174
|
-
), l,
|
|
1173
|
+
), l, c, h;
|
|
1175
1174
|
return {
|
|
1176
1175
|
c() {
|
|
1177
1176
|
t = E("button"), n = O(e), i = B(), o = E("button"), l = O(s), m(t, "class", "LoginButton"), m(t, "part", "LoginButton"), m(o, "class", "RegisterButton"), m(o, "part", "RegisterButton");
|
|
1178
1177
|
},
|
|
1179
1178
|
m(d, y) {
|
|
1180
|
-
k(d, t, y), _(t, n), k(d, i, y), k(d, o, y), _(o, l),
|
|
1179
|
+
k(d, t, y), _(t, n), k(d, i, y), k(d, o, y), _(o, l), c || (h = [
|
|
1181
1180
|
J(
|
|
1182
1181
|
t,
|
|
1183
1182
|
"click",
|
|
@@ -1190,7 +1189,7 @@ function or(r) {
|
|
|
1190
1189
|
/*click_handler_1*/
|
|
1191
1190
|
r[48]
|
|
1192
1191
|
)
|
|
1193
|
-
],
|
|
1192
|
+
], c = !0);
|
|
1194
1193
|
},
|
|
1195
1194
|
p(d, y) {
|
|
1196
1195
|
y[1] & /*$_*/
|
|
@@ -1200,7 +1199,7 @@ function or(r) {
|
|
|
1200
1199
|
d[32]("register") + "") && D(l, s);
|
|
1201
1200
|
},
|
|
1202
1201
|
d(d) {
|
|
1203
|
-
d && (T(t), T(i), T(o)),
|
|
1202
|
+
d && (T(t), T(i), T(o)), c = !1, xt(h);
|
|
1204
1203
|
}
|
|
1205
1204
|
};
|
|
1206
1205
|
}
|
|
@@ -1239,16 +1238,16 @@ function sr(r) {
|
|
|
1239
1238
|
h[16] == !0 ? ur : lr
|
|
1240
1239
|
);
|
|
1241
1240
|
}
|
|
1242
|
-
let l = s(r),
|
|
1241
|
+
let l = s(r), c = l(r);
|
|
1243
1242
|
return {
|
|
1244
1243
|
c() {
|
|
1245
|
-
t = E("button"),
|
|
1244
|
+
t = E("button"), c.c(), m(t, "class", e = "JoinButton " + /*fullsize*/
|
|
1246
1245
|
(r[7] ? "JoinButtonFullSize" : "")), m(t, "part", n = "JoinButton " + /*fullsize*/
|
|
1247
1246
|
(r[7] ? "JoinButtonFullSize" : "")), t.disabled = /*errorJoin*/
|
|
1248
1247
|
r[17];
|
|
1249
1248
|
},
|
|
1250
1249
|
m(h, d) {
|
|
1251
|
-
k(h, t, d),
|
|
1250
|
+
k(h, t, d), c.m(t, null), i || (o = J(
|
|
1252
1251
|
t,
|
|
1253
1252
|
"click",
|
|
1254
1253
|
/*click_handler_3*/
|
|
@@ -1256,7 +1255,7 @@ function sr(r) {
|
|
|
1256
1255
|
), i = !0);
|
|
1257
1256
|
},
|
|
1258
1257
|
p(h, d) {
|
|
1259
|
-
l === (l = s(h)) &&
|
|
1258
|
+
l === (l = s(h)) && c ? c.p(h, d) : (c.d(1), c = l(h), c && (c.c(), c.m(t, null))), d[0] & /*fullsize*/
|
|
1260
1259
|
128 && e !== (e = "JoinButton " + /*fullsize*/
|
|
1261
1260
|
(h[7] ? "JoinButtonFullSize" : "")) && m(t, "class", e), d[0] & /*fullsize*/
|
|
1262
1261
|
128 && n !== (n = "JoinButton " + /*fullsize*/
|
|
@@ -1265,7 +1264,7 @@ function sr(r) {
|
|
|
1265
1264
|
h[17]);
|
|
1266
1265
|
},
|
|
1267
1266
|
d(h) {
|
|
1268
|
-
h && T(t),
|
|
1267
|
+
h && T(t), c.d(), i = !1, o();
|
|
1269
1268
|
}
|
|
1270
1269
|
};
|
|
1271
1270
|
}
|
|
@@ -1294,13 +1293,13 @@ function lr(r) {
|
|
|
1294
1293
|
let t, e = (
|
|
1295
1294
|
/*$_*/
|
|
1296
1295
|
r[32]("join") + ""
|
|
1297
|
-
), n, i, o, s, l,
|
|
1296
|
+
), n, i, o, s, l, c, h, d;
|
|
1298
1297
|
return {
|
|
1299
1298
|
c() {
|
|
1300
|
-
t = E("span"), n = O(e), i = B(), o = A("svg"), s = A("defs"), l = A("style"),
|
|
1299
|
+
t = E("span"), n = O(e), i = B(), o = A("svg"), s = A("defs"), l = A("style"), c = O(".a{fill:var(--emw--color-white, #FFFFFF);}"), h = A("g"), d = A("path"), m(t, "part", "JoinButtonSpan"), m(d, "class", "a"), 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(o, "part", "JoinButtonSvg"), m(o, "xmlns", "http://www.w3.org/2000/svg"), m(o, "width", "26"), m(o, "height", "26"), m(o, "viewBox", "0 0 26 26");
|
|
1301
1300
|
},
|
|
1302
1301
|
m(y, F) {
|
|
1303
|
-
k(y, t, F), _(t, n), k(y, i, F), k(y, o, F), _(o, s), _(s, l), _(l,
|
|
1302
|
+
k(y, t, F), _(t, n), k(y, i, F), k(y, o, F), _(o, s), _(s, l), _(l, c), _(o, h), _(h, d);
|
|
1304
1303
|
},
|
|
1305
1304
|
p(y, F) {
|
|
1306
1305
|
F[1] & /*$_*/
|
|
@@ -1451,7 +1450,7 @@ function et(r) {
|
|
|
1451
1450
|
}
|
|
1452
1451
|
};
|
|
1453
1452
|
}
|
|
1454
|
-
function
|
|
1453
|
+
function cr(r) {
|
|
1455
1454
|
let t;
|
|
1456
1455
|
function e(o, s) {
|
|
1457
1456
|
if (
|
|
@@ -1481,10 +1480,10 @@ function fr(r) {
|
|
|
1481
1480
|
}
|
|
1482
1481
|
};
|
|
1483
1482
|
}
|
|
1484
|
-
function
|
|
1483
|
+
function fr(r, t, e) {
|
|
1485
1484
|
let n;
|
|
1486
|
-
|
|
1487
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint:
|
|
1485
|
+
Pt(r, Mt, (a) => e(32, n = a));
|
|
1486
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: c = "" } = t, { showdetails: h = "" } = t, { showslider: d = "" } = t, { showenrolled: y = "" } = t, { maxwidth: F = "" } = t, { fullsize: v = "" } = t, { lang: b = "" } = t, { loginevent: g = "" } = t, { registerevent: f = "" } = t, { loginurl: p = "" } = t, { registerurl: H = "" } = t, { currency: re = "" } = t, { keepbrowsercontext: ve = "false" } = t, { clientstyling: q = "" } = t, { clientstylingurl: G = "" } = t, { translationurl: Y = "" } = t, { tournamentinfo: K } = t, I, x = !1, V = "", L = !0, _e = window.navigator.userAgent, X = !1, N = !1, ke = "There was an error while trying to join the tournament", ne = !1, Te, Se, Fe, R, z, Ee, ie, Ce, je, ze = [], oe = [], Be = "#", se, Z = !1;
|
|
1488
1487
|
Qt({ withLocale: "en", translations: {} });
|
|
1489
1488
|
const ct = () => {
|
|
1490
1489
|
fetch(Y).then((w) => w.json()).then((w) => {
|
|
@@ -1499,7 +1498,7 @@ function cr(r, t, e) {
|
|
|
1499
1498
|
Ke(a, Ve[a]);
|
|
1500
1499
|
});
|
|
1501
1500
|
const Pe = (a) => {
|
|
1502
|
-
|
|
1501
|
+
ft(a), le(a), Me(this, z);
|
|
1503
1502
|
}, Oe = (a) => {
|
|
1504
1503
|
if (a.data && a.data.type == "UserSessionID" && (e(14, x = !0), V = a.data.session), a.data.type == "UpdateTournamentView") {
|
|
1505
1504
|
let w = a.data.tournamentData;
|
|
@@ -1521,7 +1520,7 @@ function cr(r, t, e) {
|
|
|
1521
1520
|
C + 200
|
|
1522
1521
|
);
|
|
1523
1522
|
}
|
|
1524
|
-
},
|
|
1523
|
+
}, ft = (a) => {
|
|
1525
1524
|
a.state != R && (e(23, R = a.state), window.postMessage(
|
|
1526
1525
|
{
|
|
1527
1526
|
type: `TournamentStatus_${z}`,
|
|
@@ -1534,9 +1533,9 @@ function cr(r, t, e) {
|
|
|
1534
1533
|
context: "TournamentsThumbnailController"
|
|
1535
1534
|
})), p && (window.location = p);
|
|
1536
1535
|
}, Ie = () => {
|
|
1537
|
-
|
|
1536
|
+
f && (window.postMessage(
|
|
1538
1537
|
{
|
|
1539
|
-
type:
|
|
1538
|
+
type: f,
|
|
1540
1539
|
transition: "Register"
|
|
1541
1540
|
},
|
|
1542
1541
|
window.location.href
|
|
@@ -1552,7 +1551,7 @@ function cr(r, t, e) {
|
|
|
1552
1551
|
},
|
|
1553
1552
|
window.location.href
|
|
1554
1553
|
);
|
|
1555
|
-
}, Ae = (a, w) =>
|
|
1554
|
+
}, Ae = (a, w) => ce(this, null, function* () {
|
|
1556
1555
|
var Le;
|
|
1557
1556
|
e(17, N = !1), e(19, ne = !1), window.postMessage(
|
|
1558
1557
|
{
|
|
@@ -1561,14 +1560,14 @@ function cr(r, t, e) {
|
|
|
1561
1560
|
},
|
|
1562
1561
|
window.location.href
|
|
1563
1562
|
), e(16, X = !0);
|
|
1564
|
-
let C = new URL(`${
|
|
1563
|
+
let C = new URL(`${c}/v1/bonus/claim`), Q = new Headers(), M = {};
|
|
1565
1564
|
C.searchParams.append("language", b), C.searchParams.append("platform", Ye(_e)), Q.append("Content-Type", "application/json"), Q.append("X-SessionID", V), w && w.length >= 1 && (M = {
|
|
1566
1565
|
language: b,
|
|
1567
1566
|
bonusCode: w[0].code,
|
|
1568
1567
|
currency: re,
|
|
1569
1568
|
type: "tournament"
|
|
1570
1569
|
});
|
|
1571
|
-
let
|
|
1570
|
+
let Tt = {
|
|
1572
1571
|
method: "PUT",
|
|
1573
1572
|
headers: Q,
|
|
1574
1573
|
body: JSON.stringify(M)
|
|
@@ -1577,10 +1576,10 @@ function cr(r, t, e) {
|
|
|
1577
1576
|
e(16, X = !1), e(26, ie = !0);
|
|
1578
1577
|
}, ue = (j) => {
|
|
1579
1578
|
e(16, X = !1), j && e(18, ke = j), e(17, N = !0);
|
|
1580
|
-
}, U = yield
|
|
1579
|
+
}, U = yield ce(this, null, function* () {
|
|
1581
1580
|
let j;
|
|
1582
1581
|
try {
|
|
1583
|
-
j = yield fetch(C,
|
|
1582
|
+
j = yield fetch(C, Tt), j = yield j.json();
|
|
1584
1583
|
} catch (mr) {
|
|
1585
1584
|
ue();
|
|
1586
1585
|
}
|
|
@@ -1591,7 +1590,7 @@ function cr(r, t, e) {
|
|
|
1591
1590
|
xe();
|
|
1592
1591
|
else if (U.errorMessage.match("VersionMismatchException")) {
|
|
1593
1592
|
let j;
|
|
1594
|
-
j = yield fetch(`${
|
|
1593
|
+
j = yield fetch(`${c}/tournaments/${z}`, { headers: { "X-SessionID": i } }), j = yield j.json(), (Le = j == null ? void 0 : j.item) != null && Le.playerEnrolled ? xe() : (ue(U.errorMessage), e(19, ne = !0), e(17, N = !1));
|
|
1595
1594
|
} else
|
|
1596
1595
|
ue(U.errorMessage);
|
|
1597
1596
|
}), Me = (a, w) => {
|
|
@@ -1604,24 +1603,24 @@ function cr(r, t, e) {
|
|
|
1604
1603
|
);
|
|
1605
1604
|
}, le = (a) => {
|
|
1606
1605
|
a && (e(20, Te = a.nameOrTitle || ""), e(21, Se = a.startTime), e(22, Fe = a.endTime), e(23, R = a.state), e(24, z = a.id), e(25, Ee = a.thumbnail), e(26, ie = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(27, Ce = a.scoreCriteria), e(28, je = a.minBetCount), ze = a.prizes, e(29, oe = a.wallets || []), e(30, Be = a.termsUrl || "#"));
|
|
1607
|
-
},
|
|
1606
|
+
}, dt = (a) => {
|
|
1608
1607
|
e(15, L = !0);
|
|
1609
1608
|
let w = new URL(a), C = new Headers();
|
|
1610
1609
|
w.searchParams.append("language", b), w.searchParams.append("platform", Ye(_e)), x && C.append("X-SessionID", V), fetch(w, { method: "GET", headers: C }).then((M) => M.json()).then((M) => {
|
|
1611
1610
|
e(15, L = !1), le(M.item);
|
|
1612
1611
|
});
|
|
1613
|
-
},
|
|
1612
|
+
}, mt = () => {
|
|
1614
1613
|
i.length > 0 && i != "false" ? (V = i, e(14, x = !0)) : e(14, x = !1);
|
|
1615
|
-
},
|
|
1614
|
+
}, ht = () => {
|
|
1616
1615
|
if (K) {
|
|
1617
1616
|
le(K);
|
|
1618
1617
|
return;
|
|
1619
1618
|
}
|
|
1620
|
-
e(15, L = !0),
|
|
1621
|
-
},
|
|
1619
|
+
e(15, L = !0), dt(s);
|
|
1620
|
+
}, pt = () => {
|
|
1622
1621
|
let a = document.createElement("style");
|
|
1623
1622
|
a.innerHTML = q, I.appendChild(a);
|
|
1624
|
-
},
|
|
1623
|
+
}, gt = () => {
|
|
1625
1624
|
let a = new URL(G), w = document.createElement("style");
|
|
1626
1625
|
fetch(a.href).then((C) => C.text()).then((C) => {
|
|
1627
1626
|
w.innerHTML = C, setTimeout(
|
|
@@ -1636,26 +1635,26 @@ function cr(r, t, e) {
|
|
|
1636
1635
|
);
|
|
1637
1636
|
});
|
|
1638
1637
|
};
|
|
1639
|
-
|
|
1638
|
+
Ot(() => (e(15, L = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Oe, !1), () => {
|
|
1640
1639
|
window.removeEventListener("message", Oe);
|
|
1641
1640
|
}));
|
|
1642
|
-
const
|
|
1643
|
-
function
|
|
1644
|
-
|
|
1641
|
+
const bt = () => De(), wt = () => Ie(), yt = () => ae(z), vt = () => Ae(z, oe), _t = () => ae(z);
|
|
1642
|
+
function kt(a) {
|
|
1643
|
+
Dt[a ? "unshift" : "push"](() => {
|
|
1645
1644
|
I = a, e(13, I);
|
|
1646
1645
|
});
|
|
1647
1646
|
}
|
|
1648
1647
|
return r.$$set = (a) => {
|
|
1649
|
-
"session" in a && e(0, i = a.session), "userid" in a && e(1, o = a.userid), "tournamenturl" in a && e(2, s = a.tournamenturl), "touridx" in a && e(38, l = a.touridx), "endpoint" in a && e(39,
|
|
1648
|
+
"session" in a && e(0, i = a.session), "userid" in a && e(1, o = a.userid), "tournamenturl" in a && e(2, s = a.tournamenturl), "touridx" in a && e(38, l = a.touridx), "endpoint" in a && e(39, c = a.endpoint), "showdetails" in a && e(3, h = a.showdetails), "showslider" in a && e(4, d = a.showslider), "showenrolled" in a && e(5, y = a.showenrolled), "maxwidth" in a && e(6, F = a.maxwidth), "fullsize" in a && e(7, v = a.fullsize), "lang" in a && e(8, b = a.lang), "loginevent" in a && e(40, g = a.loginevent), "registerevent" in a && e(41, f = a.registerevent), "loginurl" in a && e(42, p = a.loginurl), "registerurl" in a && e(43, H = a.registerurl), "currency" in a && e(44, re = a.currency), "keepbrowsercontext" in a && e(9, ve = a.keepbrowsercontext), "clientstyling" in a && e(10, q = a.clientstyling), "clientstylingurl" in a && e(11, G = a.clientstylingurl), "translationurl" in a && e(12, Y = a.translationurl), "tournamentinfo" in a && e(45, K = a.tournamentinfo);
|
|
1650
1649
|
}, r.$$.update = () => {
|
|
1651
1650
|
r.$$.dirty[0] & /*lang*/
|
|
1652
1651
|
256 && b && $t(b), r.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
1653
|
-
9216 && I && q &&
|
|
1654
|
-
10240 && I && G &&
|
|
1652
|
+
9216 && I && q && pt(), r.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
1653
|
+
10240 && I && G && gt(), r.$$.dirty[0] & /*translationurl*/
|
|
1655
1654
|
4096 && Y && ct(), r.$$.dirty[0] & /*session*/
|
|
1656
|
-
1 && i &&
|
|
1655
|
+
1 && i && mt(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1657
1656
|
260 && e(46, se = s && b), r.$$.dirty[1] & /*initialParameters*/
|
|
1658
|
-
32768 && se &&
|
|
1657
|
+
32768 && se && ht();
|
|
1659
1658
|
}, [
|
|
1660
1659
|
i,
|
|
1661
1660
|
o,
|
|
@@ -1696,30 +1695,30 @@ function cr(r, t, e) {
|
|
|
1696
1695
|
Ae,
|
|
1697
1696
|
Me,
|
|
1698
1697
|
l,
|
|
1699
|
-
f,
|
|
1700
|
-
g,
|
|
1701
1698
|
c,
|
|
1699
|
+
g,
|
|
1700
|
+
f,
|
|
1702
1701
|
p,
|
|
1703
1702
|
H,
|
|
1704
1703
|
re,
|
|
1705
1704
|
K,
|
|
1706
1705
|
se,
|
|
1706
|
+
bt,
|
|
1707
1707
|
wt,
|
|
1708
1708
|
yt,
|
|
1709
1709
|
vt,
|
|
1710
1710
|
_t,
|
|
1711
|
-
kt
|
|
1712
|
-
Tt
|
|
1711
|
+
kt
|
|
1713
1712
|
];
|
|
1714
1713
|
}
|
|
1715
|
-
class
|
|
1714
|
+
class ut extends Et {
|
|
1716
1715
|
constructor(t) {
|
|
1717
|
-
super(),
|
|
1716
|
+
super(), Ct(
|
|
1718
1717
|
this,
|
|
1719
1718
|
t,
|
|
1720
|
-
cr,
|
|
1721
1719
|
fr,
|
|
1722
|
-
|
|
1720
|
+
cr,
|
|
1721
|
+
zt,
|
|
1723
1722
|
{
|
|
1724
1723
|
session: 0,
|
|
1725
1724
|
userid: 1,
|
|
@@ -1874,10 +1873,10 @@ class ft extends Ct {
|
|
|
1874
1873
|
this.$$set({ tournamentinfo: t }), S();
|
|
1875
1874
|
}
|
|
1876
1875
|
}
|
|
1877
|
-
|
|
1876
|
+
jt(ut, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
|
|
1878
1877
|
const gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1879
1878
|
__proto__: null,
|
|
1880
|
-
default:
|
|
1879
|
+
default: ut
|
|
1881
1880
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1882
1881
|
export {
|
|
1883
1882
|
gr as C,
|