@everymatrix/tournament-details-page 0.0.6 → 0.0.7
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/{TournamentDetails-BwBvr-th.cjs → TournamentDetails-C-zS8XGk.cjs} +2 -2
- package/components/{TournamentDetails-DIfQFrc8.js → TournamentDetails-DoBMS_9T.js} +9 -9
- package/components/{TournamentDetails-wSkU01Xy.js → TournamentDetails-qcyLTtSv.js} +9 -9
- package/components/{TournamentDetailsPage-rE5SsAXj.js → TournamentDetailsPage-C2wcS4rg.js} +282 -248
- package/components/{TournamentDetailsPage-9QiBj_5p.js → TournamentDetailsPage-CQFv3xok.js} +269 -235
- package/components/{TournamentDetailsPage-du8_rjJX.cjs → TournamentDetailsPage-CR3ti0az.cjs} +8 -5
- package/components/{TournamentGames-Dxvil6j2.js → TournamentGames-KOJ004rg.js} +108 -104
- package/components/{TournamentGames-EuHRBJf0.js → TournamentGames-xrJB7h-M.js} +85 -81
- package/components/{TournamentGames-o7mTC32n.cjs → TournamentGames-zikPbhES.cjs} +2 -2
- package/components/{TournamentLeaderboard-BgywP9Jb.js → TournamentLeaderboard-BjBItfy9.js} +81 -81
- package/components/{TournamentLeaderboard-m4CZolTW.cjs → TournamentLeaderboard-D9naoaD9.cjs} +4 -4
- package/components/{TournamentLeaderboard-ncHvraaw.js → TournamentLeaderboard-Dc8xv6be.js} +165 -165
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +1 -1
- package/esnext/tournament-details-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
var De = (r, t, e) => new Promise((n, i) => {
|
|
2
2
|
var o = (u) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
s(e.next(u));
|
|
5
5
|
} catch (y) {
|
|
6
6
|
i(y);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, a = (u) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
s(e.throw(u));
|
|
11
11
|
} catch (y) {
|
|
12
12
|
i(y);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
|
|
15
|
+
s((e = e.apply(r, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { $ as ye, a as
|
|
18
|
-
function
|
|
17
|
+
import { $ as ye, a as Bt, b as Lt, d as Qe, c as Ht, e as At, p as D, u as jt, s as R, f as Ve, o as It, g as N, i as O, h as k, j as Wt, k as zt, l as V, m as Dt, n as c, q as h, r as v, t as Vt, v as Ft, w as C, x as F, y as m, z as w, A as ne, B as g, C as Ut, D as X, E as Fe, F as Zt, G as A, H as Gt, I as q } from "./TournamentDetails-qcyLTtSv.js";
|
|
18
|
+
function Xt({ withLocale: r, translations: t }) {
|
|
19
19
|
ye.subscribe((e) => {
|
|
20
|
-
e == null && (
|
|
20
|
+
e == null && (Lt.set(t), ye.set(r));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function qt(r, t) {
|
|
24
|
+
Bt(r, t);
|
|
25
25
|
}
|
|
26
26
|
function Ue(r) {
|
|
27
27
|
ye.set(r);
|
|
@@ -78,11 +78,45 @@ const Ze = {
|
|
|
78
78
|
nonBankerOnly: "Non Banker Only"
|
|
79
79
|
},
|
|
80
80
|
tr: {
|
|
81
|
-
totalPrizes: "
|
|
82
|
-
viewPrizes: "
|
|
83
|
-
moreGames: "
|
|
84
|
-
play: "
|
|
85
|
-
joinButton: "
|
|
81
|
+
totalPrizes: "Toplam Ödüller",
|
|
82
|
+
viewPrizes: "Ödülleri Görüntüle",
|
|
83
|
+
moreGames: "Daha Fazla Oyun",
|
|
84
|
+
play: "Oyna",
|
|
85
|
+
joinButton: "Katıl",
|
|
86
|
+
scoreCriteriaType: {
|
|
87
|
+
stake: "Bu turnuvanın puan kriteri <b>Ciro</b>'dur. Oluşturulan her X için (X= oyuncunun para biriminde veya temel para birimindeki eşdeğerinde oynanan bahis miktarı) oyuncu 1 puan alacaktır. En fazla ciroya sahip olan oyuncu en yüksek puana ve sıralamaya sahip olacaktır.",
|
|
88
|
+
mostRounds: "Bu turnuvanın puan kriteri <b>En Çok Tur</b>'dur. Oynanan her tur için oyuncu 1 puan alacaktır. En fazla oynanan tur/bahis sayısına sahip olan oyuncu, en yüksek puana ve sıralamaya sahip olacaktır.",
|
|
89
|
+
winStakeRatio: "Bu turnuvanın puan kriteri <b>Galibiyet/Durum Oranı</b>'dır. Puan, nitelikli turlar ve bahisler için kazanma/bahis oranlarının toplamı olarak hesaplanacaktır. En yüksek puanı alan oyuncu turnuvayı kazanacak.",
|
|
90
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
91
|
+
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
|
92
|
+
minimum score value.</span>
|
|
93
|
+
</li></ul>`,
|
|
94
|
+
maxWinStakeRatio: "Bu turnuvanın puan kriteri <b>Maksimum Galibiyet/Durum Oranı</b>'dır. En küçük bahsi koyarak en büyük kazancı elde eden oyuncu turnuvayı kazanacaktır (bahis = 10 EUR, galibiyet = 5000 EUR, skor 500 olacaktır). Yalnızca daha yüksek oran oyuncunun puanını güncelleyecektir."
|
|
95
|
+
},
|
|
96
|
+
miniBetCount: "Minimum bahis sayısı: <b>{betCount}</b>. Ödüllere hak kazanmak için oyuncunun en az <b>{betCount} tur</b> oynaması gerekir, aksi takdirde ödül verilmeyecektir.",
|
|
97
|
+
timePeriod: "Turnuva <b>{startTime}</b> tarihinde başlar ve <b>{endTime}</b> tarihinde sona erer",
|
|
98
|
+
terms: 'Bkz. <a href="{tcUrl}" target="_blank" style="color: var(--emw-color-primary, #FF1D4E); font-weight: 500;">Şartlar ve Koşullar.</a>',
|
|
99
|
+
productNoLimitsBet: "{productName} için minimum ve maksimum bahis limiti belirlenmemiştir.",
|
|
100
|
+
casinoRuleMinMaxBet: "Min bahis{minBet}, Maks bahis{maxBet}",
|
|
101
|
+
unlimited: "Sınırsız",
|
|
102
|
+
forCasino: "Casino Oyunları İçin",
|
|
103
|
+
forSportsbook: "Spor Bahisleri İçin",
|
|
104
|
+
sportsRuleMinMaxBet: "Min bahis{sportMinBet}, Maks bahis{sportMaxBet}",
|
|
105
|
+
sportsRuleMinMaxOdds: "Min Oran{sportMinOdds}, Maks Oran{sportMaxOdds}",
|
|
106
|
+
matchTyppePre: "Maç Öncesi Spor bahisleri",
|
|
107
|
+
matchTypeLive: "Canlı Spor bahisleri",
|
|
108
|
+
matchTypePreAndLive: "Maç Öncesi ve Canlı Spor bahisleri",
|
|
109
|
+
betTypeSingle: "Tekli bahis",
|
|
110
|
+
betTypeMultiple: "Kombine bahis",
|
|
111
|
+
betTypeSystem: "Sistem bahis",
|
|
112
|
+
typeOfSelection: "Seçim türü",
|
|
113
|
+
numberOfSelection: "Seçim sayısı",
|
|
114
|
+
oddsPerSelection: "Seçim başına oranlar",
|
|
115
|
+
betBuilderOnly: "Yalnızca Bahis Oluşturucu",
|
|
116
|
+
bankerOnly: "Yalnızca Banker",
|
|
117
|
+
typeOfSelectionAny: "Herhangi",
|
|
118
|
+
notBuilderOnly: "Bahis Oluşturucu Hariç",
|
|
119
|
+
nonBankerOnly: "Banker Hariç"
|
|
86
120
|
}
|
|
87
121
|
};
|
|
88
122
|
/*! *****************************************************************************
|
|
@@ -128,16 +162,16 @@ function we(r) {
|
|
|
128
162
|
function xe(r, t) {
|
|
129
163
|
var e = typeof Symbol == "function" && r[Symbol.iterator];
|
|
130
164
|
if (!e) return r;
|
|
131
|
-
var n = e.call(r), i, o = [],
|
|
165
|
+
var n = e.call(r), i, o = [], a;
|
|
132
166
|
try {
|
|
133
167
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
134
|
-
} catch (
|
|
135
|
-
|
|
168
|
+
} catch (s) {
|
|
169
|
+
a = { error: s };
|
|
136
170
|
} finally {
|
|
137
171
|
try {
|
|
138
172
|
i && !i.done && (e = n.return) && e.call(n);
|
|
139
173
|
} finally {
|
|
140
|
-
if (
|
|
174
|
+
if (a) throw a.error;
|
|
141
175
|
}
|
|
142
176
|
}
|
|
143
177
|
return o;
|
|
@@ -147,7 +181,7 @@ function Ce(r, t, e) {
|
|
|
147
181
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
148
182
|
return r.concat(o || t);
|
|
149
183
|
}
|
|
150
|
-
function
|
|
184
|
+
function j(r) {
|
|
151
185
|
return typeof r == "function";
|
|
152
186
|
}
|
|
153
187
|
function et(r) {
|
|
@@ -171,7 +205,7 @@ function _e(r, t) {
|
|
|
171
205
|
0 <= e && r.splice(e, 1);
|
|
172
206
|
}
|
|
173
207
|
}
|
|
174
|
-
var
|
|
208
|
+
var ae = function() {
|
|
175
209
|
function r(t) {
|
|
176
210
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
177
211
|
}
|
|
@@ -179,11 +213,11 @@ var se = function() {
|
|
|
179
213
|
var t, e, n, i, o;
|
|
180
214
|
if (!this.closed) {
|
|
181
215
|
this.closed = !0;
|
|
182
|
-
var
|
|
183
|
-
if (
|
|
184
|
-
if (this._parentage = null, Array.isArray(
|
|
216
|
+
var a = this._parentage;
|
|
217
|
+
if (a)
|
|
218
|
+
if (this._parentage = null, Array.isArray(a))
|
|
185
219
|
try {
|
|
186
|
-
for (var
|
|
220
|
+
for (var s = we(a), u = s.next(); !u.done; u = s.next()) {
|
|
187
221
|
var y = u.value;
|
|
188
222
|
y.remove(this);
|
|
189
223
|
}
|
|
@@ -191,17 +225,17 @@ var se = function() {
|
|
|
191
225
|
t = { error: x };
|
|
192
226
|
} finally {
|
|
193
227
|
try {
|
|
194
|
-
u && !u.done && (e =
|
|
228
|
+
u && !u.done && (e = s.return) && e.call(s);
|
|
195
229
|
} finally {
|
|
196
230
|
if (t) throw t.error;
|
|
197
231
|
}
|
|
198
232
|
}
|
|
199
233
|
else
|
|
200
|
-
|
|
201
|
-
var
|
|
202
|
-
if (
|
|
234
|
+
a.remove(this);
|
|
235
|
+
var T = this.initialTeardown;
|
|
236
|
+
if (j(T))
|
|
203
237
|
try {
|
|
204
|
-
|
|
238
|
+
T();
|
|
205
239
|
} catch (x) {
|
|
206
240
|
o = x instanceof ge ? x.errors : [x];
|
|
207
241
|
}
|
|
@@ -259,16 +293,16 @@ var se = function() {
|
|
|
259
293
|
var t = new r();
|
|
260
294
|
return t.closed = !0, t;
|
|
261
295
|
}(), r;
|
|
262
|
-
}(), tt =
|
|
296
|
+
}(), tt = ae.EMPTY;
|
|
263
297
|
function rt(r) {
|
|
264
|
-
return r instanceof
|
|
298
|
+
return r instanceof ae || r && "closed" in r && j(r.remove) && j(r.add) && j(r.unsubscribe);
|
|
265
299
|
}
|
|
266
300
|
function Ge(r) {
|
|
267
|
-
|
|
301
|
+
j(r) ? r() : r.unsubscribe();
|
|
268
302
|
}
|
|
269
|
-
var
|
|
303
|
+
var Nt = {
|
|
270
304
|
Promise: void 0
|
|
271
|
-
},
|
|
305
|
+
}, Yt = {
|
|
272
306
|
setTimeout: function(r, t) {
|
|
273
307
|
for (var e = [], n = 2; n < arguments.length; n++)
|
|
274
308
|
e[n - 2] = arguments[n];
|
|
@@ -279,12 +313,12 @@ var $t = {
|
|
|
279
313
|
},
|
|
280
314
|
delegate: void 0
|
|
281
315
|
};
|
|
282
|
-
function
|
|
283
|
-
|
|
316
|
+
function $t(r) {
|
|
317
|
+
Yt.setTimeout(function() {
|
|
284
318
|
throw r;
|
|
285
319
|
});
|
|
286
320
|
}
|
|
287
|
-
function
|
|
321
|
+
function Xe() {
|
|
288
322
|
}
|
|
289
323
|
function oe(r) {
|
|
290
324
|
r();
|
|
@@ -320,7 +354,7 @@ var nt = function(r) {
|
|
|
320
354
|
this.unsubscribe();
|
|
321
355
|
}
|
|
322
356
|
}, t;
|
|
323
|
-
}(
|
|
357
|
+
}(ae), Jt = function() {
|
|
324
358
|
function r(t) {
|
|
325
359
|
this.partialObserver = t;
|
|
326
360
|
}
|
|
@@ -354,26 +388,26 @@ var nt = function(r) {
|
|
|
354
388
|
}(), Se = function(r) {
|
|
355
389
|
K(t, r);
|
|
356
390
|
function t(e, n, i) {
|
|
357
|
-
var o = r.call(this) || this,
|
|
358
|
-
return
|
|
391
|
+
var o = r.call(this) || this, a;
|
|
392
|
+
return j(e) || !e ? a = {
|
|
359
393
|
next: e != null ? e : void 0,
|
|
360
394
|
error: n != null ? n : void 0,
|
|
361
395
|
complete: i != null ? i : void 0
|
|
362
|
-
} :
|
|
396
|
+
} : a = e, o.destination = new Jt(a), o;
|
|
363
397
|
}
|
|
364
398
|
return t;
|
|
365
399
|
}(nt);
|
|
366
400
|
function ie(r) {
|
|
367
|
-
|
|
401
|
+
$t(r);
|
|
368
402
|
}
|
|
369
403
|
function Kt(r) {
|
|
370
404
|
throw r;
|
|
371
405
|
}
|
|
372
406
|
var Qt = {
|
|
373
407
|
closed: !0,
|
|
374
|
-
next:
|
|
408
|
+
next: Xe,
|
|
375
409
|
error: Kt,
|
|
376
|
-
complete:
|
|
410
|
+
complete: Xe
|
|
377
411
|
}, er = function() {
|
|
378
412
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
379
413
|
}();
|
|
@@ -387,7 +421,7 @@ function rr(r) {
|
|
|
387
421
|
}, e);
|
|
388
422
|
};
|
|
389
423
|
}
|
|
390
|
-
var
|
|
424
|
+
var qe = function() {
|
|
391
425
|
function r(t) {
|
|
392
426
|
t && (this._subscribe = t);
|
|
393
427
|
}
|
|
@@ -397,8 +431,8 @@ var Xe = function() {
|
|
|
397
431
|
}, r.prototype.subscribe = function(t, e, n) {
|
|
398
432
|
var i = this, o = ir(t) ? t : new Se(t, e, n);
|
|
399
433
|
return oe(function() {
|
|
400
|
-
var
|
|
401
|
-
o.add(
|
|
434
|
+
var a = i, s = a.operator, u = a.source;
|
|
435
|
+
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
402
436
|
}), o;
|
|
403
437
|
}, r.prototype._trySubscribe = function(t) {
|
|
404
438
|
try {
|
|
@@ -408,19 +442,19 @@ var Xe = function() {
|
|
|
408
442
|
}
|
|
409
443
|
}, r.prototype.forEach = function(t, e) {
|
|
410
444
|
var n = this;
|
|
411
|
-
return e =
|
|
412
|
-
var
|
|
413
|
-
next: function(
|
|
445
|
+
return e = Ne(e), new e(function(i, o) {
|
|
446
|
+
var a = new Se({
|
|
447
|
+
next: function(s) {
|
|
414
448
|
try {
|
|
415
|
-
t(
|
|
449
|
+
t(s);
|
|
416
450
|
} catch (u) {
|
|
417
|
-
o(u),
|
|
451
|
+
o(u), a.unsubscribe();
|
|
418
452
|
}
|
|
419
453
|
},
|
|
420
454
|
error: o,
|
|
421
455
|
complete: i
|
|
422
456
|
});
|
|
423
|
-
n.subscribe(
|
|
457
|
+
n.subscribe(a);
|
|
424
458
|
});
|
|
425
459
|
}, r.prototype._subscribe = function(t) {
|
|
426
460
|
var e;
|
|
@@ -433,12 +467,12 @@ var Xe = function() {
|
|
|
433
467
|
return rr(t)(this);
|
|
434
468
|
}, r.prototype.toPromise = function(t) {
|
|
435
469
|
var e = this;
|
|
436
|
-
return t =
|
|
470
|
+
return t = Ne(t), new t(function(n, i) {
|
|
437
471
|
var o;
|
|
438
|
-
e.subscribe(function(
|
|
439
|
-
return o =
|
|
440
|
-
}, function(
|
|
441
|
-
return i(
|
|
472
|
+
e.subscribe(function(a) {
|
|
473
|
+
return o = a;
|
|
474
|
+
}, function(a) {
|
|
475
|
+
return i(a);
|
|
442
476
|
}, function() {
|
|
443
477
|
return n(o);
|
|
444
478
|
});
|
|
@@ -447,12 +481,12 @@ var Xe = function() {
|
|
|
447
481
|
return new r(t);
|
|
448
482
|
}, r;
|
|
449
483
|
}();
|
|
450
|
-
function
|
|
484
|
+
function Ne(r) {
|
|
451
485
|
var t;
|
|
452
|
-
return (t = r != null ? r :
|
|
486
|
+
return (t = r != null ? r : Nt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
453
487
|
}
|
|
454
488
|
function nr(r) {
|
|
455
|
-
return r &&
|
|
489
|
+
return r && j(r.next) && j(r.error) && j(r.complete);
|
|
456
490
|
}
|
|
457
491
|
function ir(r) {
|
|
458
492
|
return r && r instanceof nt || nr(r) && rt(r);
|
|
@@ -468,7 +502,7 @@ var or = et(function(r) {
|
|
|
468
502
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
469
503
|
}
|
|
470
504
|
return t.prototype.lift = function(e) {
|
|
471
|
-
var n = new
|
|
505
|
+
var n = new Ye(this, this);
|
|
472
506
|
return n.operator = e, n;
|
|
473
507
|
}, t.prototype._throwIfClosed = function() {
|
|
474
508
|
if (this.closed)
|
|
@@ -480,15 +514,15 @@ var or = et(function(r) {
|
|
|
480
514
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
481
515
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
482
516
|
try {
|
|
483
|
-
for (var
|
|
484
|
-
var u =
|
|
517
|
+
for (var a = we(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
518
|
+
var u = s.value;
|
|
485
519
|
u.next(e);
|
|
486
520
|
}
|
|
487
521
|
} catch (y) {
|
|
488
522
|
i = { error: y };
|
|
489
523
|
} finally {
|
|
490
524
|
try {
|
|
491
|
-
|
|
525
|
+
s && !s.done && (o = a.return) && o.call(a);
|
|
492
526
|
} finally {
|
|
493
527
|
if (i) throw i.error;
|
|
494
528
|
}
|
|
@@ -527,20 +561,20 @@ var or = et(function(r) {
|
|
|
527
561
|
}, t.prototype._subscribe = function(e) {
|
|
528
562
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
529
563
|
}, t.prototype._innerSubscribe = function(e) {
|
|
530
|
-
var n = this, i = this, o = i.hasError,
|
|
531
|
-
return o ||
|
|
532
|
-
n.currentObservers = null, _e(
|
|
564
|
+
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
565
|
+
return o || a ? tt : (this.currentObservers = null, s.push(e), new ae(function() {
|
|
566
|
+
n.currentObservers = null, _e(s, e);
|
|
533
567
|
}));
|
|
534
568
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
535
|
-
var n = this, i = n.hasError, o = n.thrownError,
|
|
536
|
-
i ? e.error(o) :
|
|
569
|
+
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
570
|
+
i ? e.error(o) : a && e.complete();
|
|
537
571
|
}, t.prototype.asObservable = function() {
|
|
538
|
-
var e = new
|
|
572
|
+
var e = new qe();
|
|
539
573
|
return e.source = this, e;
|
|
540
574
|
}, t.create = function(e, n) {
|
|
541
|
-
return new
|
|
575
|
+
return new Ye(e, n);
|
|
542
576
|
}, t;
|
|
543
|
-
}(
|
|
577
|
+
}(qe), Ye = function(r) {
|
|
544
578
|
K(t, r);
|
|
545
579
|
function t(e, n) {
|
|
546
580
|
var i = r.call(this) || this;
|
|
@@ -564,7 +598,7 @@ var or = et(function(r) {
|
|
|
564
598
|
return (ot.delegate || Date).now();
|
|
565
599
|
},
|
|
566
600
|
delegate: void 0
|
|
567
|
-
},
|
|
601
|
+
}, ar = function(r) {
|
|
568
602
|
K(t, r);
|
|
569
603
|
function t(e, n, i) {
|
|
570
604
|
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ot);
|
|
@@ -572,34 +606,34 @@ var or = et(function(r) {
|
|
|
572
606
|
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;
|
|
573
607
|
}
|
|
574
608
|
return t.prototype.next = function(e) {
|
|
575
|
-
var n = this, i = n.isStopped, o = n._buffer,
|
|
576
|
-
i || (o.push(e), !
|
|
609
|
+
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
|
|
610
|
+
i || (o.push(e), !a && o.push(s.now() + u)), this._trimBuffer(), r.prototype.next.call(this, e);
|
|
577
611
|
}, t.prototype._subscribe = function(e) {
|
|
578
612
|
this._throwIfClosed(), this._trimBuffer();
|
|
579
|
-
for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow,
|
|
580
|
-
e.next(
|
|
613
|
+
for (var n = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !e.closed; u += o ? 1 : 2)
|
|
614
|
+
e.next(s[u]);
|
|
581
615
|
return this._checkFinalizedStatuses(e), n;
|
|
582
616
|
}, t.prototype._trimBuffer = function() {
|
|
583
|
-
var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer,
|
|
584
|
-
if (n < 1 / 0 &&
|
|
585
|
-
for (var u = i.now(), y = 0,
|
|
586
|
-
y =
|
|
617
|
+
var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer, a = e._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
618
|
+
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
619
|
+
for (var u = i.now(), y = 0, T = 1; T < o.length && o[T] <= u; T += 2)
|
|
620
|
+
y = T;
|
|
587
621
|
y && o.splice(0, y + 1);
|
|
588
622
|
}
|
|
589
623
|
}, t;
|
|
590
624
|
}(it);
|
|
591
|
-
const
|
|
592
|
-
if (
|
|
593
|
-
const e = new
|
|
594
|
-
|
|
625
|
+
const $e = [], Je = {}, sr = (r, t = 0) => {
|
|
626
|
+
if ($e.indexOf(r) == -1) {
|
|
627
|
+
const e = new ar(t);
|
|
628
|
+
Je[r] = e, $e.push(r);
|
|
595
629
|
}
|
|
596
|
-
return
|
|
630
|
+
return Je[r];
|
|
597
631
|
};
|
|
598
|
-
window.emWidgets = { topic:
|
|
632
|
+
window.emWidgets = { topic: sr };
|
|
599
633
|
const lr = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
600
634
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
601
|
-
Qe.extend(
|
|
602
|
-
const Ke = (r) => Qe(r).format("MMMM D, HH:mm"), ur = () => typeof window == "undefined", cr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e",
|
|
635
|
+
Qe.extend(Ht);
|
|
636
|
+
const Ke = (r) => Qe(r).format("MMMM D, HH:mm"), ur = () => typeof window == "undefined", cr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e", pr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", fr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", mr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";
|
|
603
637
|
if (typeof window != "undefined") {
|
|
604
638
|
let r = function(t) {
|
|
605
639
|
return function(...e) {
|
|
@@ -612,7 +646,7 @@ if (typeof window != "undefined") {
|
|
|
612
646
|
}
|
|
613
647
|
};
|
|
614
648
|
};
|
|
615
|
-
customElements.define = r(customElements.define), import("./TournamentLeaderboard-
|
|
649
|
+
customElements.define = r(customElements.define), import("./TournamentLeaderboard-Dc8xv6be.js").then(({ default: t }) => {
|
|
616
650
|
!customElements.get("tournament-leaderboard") && customElements.define("tournament-leaderboard", t.element);
|
|
617
651
|
});
|
|
618
652
|
}
|
|
@@ -628,7 +662,7 @@ if (typeof window != "undefined") {
|
|
|
628
662
|
}
|
|
629
663
|
};
|
|
630
664
|
};
|
|
631
|
-
customElements.define = r(customElements.define), import("./TournamentDetails-
|
|
665
|
+
customElements.define = r(customElements.define), import("./TournamentDetails-qcyLTtSv.js").then((t) => t.T).then(({ default: t }) => {
|
|
632
666
|
!customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
|
|
633
667
|
});
|
|
634
668
|
}
|
|
@@ -644,11 +678,11 @@ if (typeof window != "undefined") {
|
|
|
644
678
|
}
|
|
645
679
|
};
|
|
646
680
|
};
|
|
647
|
-
customElements.define = r(customElements.define), import("./TournamentGames-
|
|
681
|
+
customElements.define = r(customElements.define), import("./TournamentGames-KOJ004rg.js").then(({ default: t }) => {
|
|
648
682
|
!customElements.get("tournament-games") && customElements.define("tournament-games", t.element);
|
|
649
683
|
});
|
|
650
684
|
}
|
|
651
|
-
var
|
|
685
|
+
var vr = N('<span class="Spinner svelte-gxy8gu"></span>'), gr = N("<button><!></button>"), yr = N('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div></div>'), br = N('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <tournament-leaderboard></tournament-leaderboard> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <tournament-games></tournament-games>', 3), wr = N('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'), xr = N('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');
|
|
652
686
|
const Cr = {
|
|
653
687
|
hash: "svelte-gxy8gu",
|
|
654
688
|
code: `.svelte-gxy8gu,
|
|
@@ -691,268 +725,268 @@ const Cr = {
|
|
|
691
725
|
@media (min-width: 1000px) {.ButtonPrimary.svelte-gxy8gu {display:block;width:300px;margin:auto;}
|
|
692
726
|
}.TournamentRulesWrapper.svelte-gxy8gu {border:1px solid var(--emw-color-bg-secondary, #333232);border-radius:4px;overflow:hidden;.TournamentRulesHeader:where(.svelte-gxy8gu) {width:100%;padding:10px;background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-weight:500;font-size:14px;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;transition:background 0.2s;}.TournamentRulesHeader:where(.svelte-gxy8gu):hover {background:var(--emw-color-bg-elements, #4A4A4A);}.TournamentRulesHeader:where(.svelte-gxy8gu):active {background-color:var(--emw-color-bg-secondary, #333232);}.Icon:where(.svelte-gxy8gu) {width:15px;height:15px;}.TournamemntRulesContent:where(.svelte-gxy8gu) {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-size:12px;font-weight:200;padding:10px;.TournamentRuleRow:where(.svelte-gxy8gu) {display:flex;gap:10px;margin:6px;.RuleText:where(.svelte-gxy8gu) {align-self:center;}}}}`
|
|
693
727
|
};
|
|
694
|
-
function
|
|
695
|
-
var
|
|
728
|
+
function at(r, t) {
|
|
729
|
+
var Pe, Re;
|
|
696
730
|
Dt(t, !0), At(r, Cr);
|
|
697
|
-
const e = () => Ut(Zt, "$_", n), [n, i] =
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
}), Ue(
|
|
731
|
+
const e = () => Ut(Zt, "$_", n), [n, i] = zt(), o = D(t, "initialState"), a = D(t, "endpoint"), s = D(t, "language", 7, "en"), u = D(t, "session"), y = D(t, "tournamentid"), T = D(t, "gamesLimit", 7, 6), U = D(t, "platformProp", 7, null);
|
|
732
|
+
Xt({ withLocale: "en", translations: {} }), Object.keys(Ze).forEach((l) => {
|
|
733
|
+
qt(l, Ze[l]);
|
|
734
|
+
}), Ue(s());
|
|
701
735
|
const Z = () => {
|
|
702
|
-
Ue(
|
|
736
|
+
Ue(s());
|
|
703
737
|
};
|
|
704
|
-
|
|
738
|
+
jt(() => {
|
|
705
739
|
Z();
|
|
706
740
|
});
|
|
707
|
-
let d =
|
|
708
|
-
const te = ur() ? (
|
|
741
|
+
let d = R(Ve(((Pe = o()) == null ? void 0 : Pe.tournament) || null)), Q = R(Ve([])), x = R(!1), ke = R(void 0), se = R(!1), Te = R(!1), Me = R(""), ee = R(!1), Oe = R(void 0), Y = R(!1);
|
|
742
|
+
const te = ur() ? (Re = U()) != null ? Re : "dk" : lr(window.navigator.userAgent), st = () => De(this, null, function* () {
|
|
709
743
|
C(x, !0);
|
|
710
|
-
const l = new URL(`${
|
|
744
|
+
const l = new URL(`${a()}/v1/tournaments/${y()}`), _ = new Headers();
|
|
711
745
|
u() && _.append("X-SessionId", u());
|
|
712
746
|
const I = { method: "GET", headers: _ };
|
|
713
|
-
l.searchParams.append("language",
|
|
714
|
-
var S, re,
|
|
715
|
-
C(d,
|
|
716
|
-
}).catch((
|
|
747
|
+
l.searchParams.append("language", s()), l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${T()},offset=0)`), l.searchParams.append("platform", te), fetch(l, I).then((p) => p.json()).then((p) => {
|
|
748
|
+
var S, re, E, G, W;
|
|
749
|
+
C(d, p == null ? void 0 : p.item, !0), C(Q, (re = (S = p == null ? void 0 : p.item) == null ? void 0 : S.games) == null ? void 0 : re.items, !0), C(ke, (G = (E = p == null ? void 0 : p.item) == null ? void 0 : E.games) == null ? void 0 : G.total, !0), C(Oe, (W = p == null ? void 0 : p.item) == null ? void 0 : W.metadata, !0);
|
|
750
|
+
}).catch((p) => console.log(p)).finally(() => {
|
|
717
751
|
C(x, !1);
|
|
718
752
|
});
|
|
719
753
|
}), lt = () => {
|
|
720
|
-
fetch(`${
|
|
754
|
+
fetch(`${a()}/tournaments/${c(d).id}`, { headers: { "X-SessionID": u() } }).then((l) => l.json()).then((l) => {
|
|
721
755
|
var _;
|
|
722
|
-
(_ = l == null ? void 0 : l.item) != null && _.playerEnrolled ? C(ee, !0) : (C(
|
|
756
|
+
(_ = l == null ? void 0 : l.item) != null && _.playerEnrolled ? C(ee, !0) : (C(Te, !0), C(Me, l.errorMessage, !0));
|
|
723
757
|
}).catch((l) => console.log(l));
|
|
724
758
|
}, ut = () => {
|
|
725
|
-
C(
|
|
726
|
-
const l = new URL(`${
|
|
727
|
-
l.searchParams.append("language",
|
|
759
|
+
C(se, !0);
|
|
760
|
+
const l = new URL(`${a()}/v1/bonus/claim`);
|
|
761
|
+
l.searchParams.append("language", s()), l.searchParams.append("platform", te);
|
|
728
762
|
const _ = new Headers();
|
|
729
763
|
_.append("Content-Type", "application/json"), _.append("X-SessionID", u());
|
|
730
764
|
let I = {};
|
|
731
765
|
c(d).wallets && c(d).wallets.length > 0 && (I = {
|
|
732
|
-
language:
|
|
766
|
+
language: s(),
|
|
733
767
|
bonusCode: c(d).wallets[0].code,
|
|
734
768
|
currency: c(d).baseCurrency,
|
|
735
769
|
type: "tournament"
|
|
736
770
|
});
|
|
737
|
-
const
|
|
771
|
+
const p = {
|
|
738
772
|
method: "PUT",
|
|
739
773
|
headers: _,
|
|
740
774
|
body: JSON.stringify(I)
|
|
741
775
|
};
|
|
742
|
-
fetch(l,
|
|
776
|
+
fetch(l, p).then((S) => S.json()).then((S) => {
|
|
743
777
|
S && (S.success == !0 ? C(ee, !0) : S.errorMessage.match("VersionMismatchException") && lt());
|
|
744
778
|
}).catch((S) => {
|
|
745
|
-
console.log(S), C(
|
|
746
|
-
}).finally(() => C(
|
|
779
|
+
console.log(S), C(Te, !0), C(Me, S.errorMessage, !0);
|
|
780
|
+
}).finally(() => C(se, !1));
|
|
747
781
|
}, ct = () => {
|
|
748
|
-
C(
|
|
782
|
+
C(Y, !c(Y));
|
|
749
783
|
};
|
|
750
784
|
It(() => {
|
|
751
|
-
o() || u() && y() &&
|
|
785
|
+
o() || u() && y() && a() && st();
|
|
752
786
|
});
|
|
753
787
|
var dt = {
|
|
754
788
|
get initialState() {
|
|
755
789
|
return o();
|
|
756
790
|
},
|
|
757
791
|
set initialState(l) {
|
|
758
|
-
o(l),
|
|
792
|
+
o(l), V();
|
|
759
793
|
},
|
|
760
794
|
get endpoint() {
|
|
761
|
-
return
|
|
795
|
+
return a();
|
|
762
796
|
},
|
|
763
797
|
set endpoint(l) {
|
|
764
|
-
|
|
798
|
+
a(l), V();
|
|
765
799
|
},
|
|
766
800
|
get language() {
|
|
767
|
-
return
|
|
801
|
+
return s();
|
|
768
802
|
},
|
|
769
803
|
set language(l = "en") {
|
|
770
|
-
|
|
804
|
+
s(l), V();
|
|
771
805
|
},
|
|
772
806
|
get session() {
|
|
773
807
|
return u();
|
|
774
808
|
},
|
|
775
809
|
set session(l) {
|
|
776
|
-
u(l),
|
|
810
|
+
u(l), V();
|
|
777
811
|
},
|
|
778
812
|
get tournamentid() {
|
|
779
813
|
return y();
|
|
780
814
|
},
|
|
781
815
|
set tournamentid(l) {
|
|
782
|
-
y(l),
|
|
816
|
+
y(l), V();
|
|
783
817
|
},
|
|
784
818
|
get gamesLimit() {
|
|
785
|
-
return
|
|
819
|
+
return T();
|
|
786
820
|
},
|
|
787
821
|
set gamesLimit(l = 6) {
|
|
788
|
-
|
|
822
|
+
T(l), V();
|
|
789
823
|
},
|
|
790
824
|
get platformProp() {
|
|
791
825
|
return U();
|
|
792
826
|
},
|
|
793
827
|
set platformProp(l = null) {
|
|
794
|
-
U(l),
|
|
828
|
+
U(l), V();
|
|
795
829
|
}
|
|
796
|
-
}, le = xr(),
|
|
830
|
+
}, le = xr(), Ee = h(le);
|
|
797
831
|
{
|
|
798
|
-
var
|
|
799
|
-
var _ = br(), I =
|
|
800
|
-
|
|
801
|
-
var S =
|
|
832
|
+
var pt = (l) => {
|
|
833
|
+
var _ = br(), I = F(_), p = h(I);
|
|
834
|
+
m(() => w(p, "tournament", c(d))), m(() => w(p, "language", s())), m(() => w(p, "enrolled", c(d).playerEnrolled)), ne(p, 1, "svelte-gxy8gu");
|
|
835
|
+
var S = v(p, 2);
|
|
802
836
|
{
|
|
803
|
-
var re = (
|
|
804
|
-
var
|
|
805
|
-
|
|
806
|
-
var
|
|
837
|
+
var re = (L) => {
|
|
838
|
+
var P = gr();
|
|
839
|
+
P.__click = ut;
|
|
840
|
+
var $ = h(P);
|
|
807
841
|
{
|
|
808
|
-
var
|
|
809
|
-
var
|
|
810
|
-
|
|
811
|
-
}, ce = (
|
|
812
|
-
var
|
|
813
|
-
|
|
842
|
+
var J = (H) => {
|
|
843
|
+
var z = vr();
|
|
844
|
+
k(H, z);
|
|
845
|
+
}, ce = (H) => {
|
|
846
|
+
var z = Gt();
|
|
847
|
+
m((de) => Fe(z, de), [() => e()("joinButton")]), k(H, z);
|
|
814
848
|
};
|
|
815
|
-
|
|
816
|
-
c(
|
|
849
|
+
O($, (H) => {
|
|
850
|
+
c(se) ? H(J) : H(ce, !1);
|
|
817
851
|
});
|
|
818
852
|
}
|
|
819
|
-
g(
|
|
820
|
-
ne(
|
|
821
|
-
}),
|
|
853
|
+
g(P), m(() => {
|
|
854
|
+
ne(P, 1, `ButtonPrimary ${c(d).playerEnrolled || c(ee) ? "Enrolled" : ""}`, "svelte-gxy8gu"), P.disabled = c(d).playerEnrolled || c(ee);
|
|
855
|
+
}), k(L, P);
|
|
822
856
|
};
|
|
823
|
-
|
|
824
|
-
!c(d).playerEnrolled && c(d).state !== "Closed" &&
|
|
857
|
+
O(S, (L) => {
|
|
858
|
+
!c(d).playerEnrolled && c(d).state !== "Closed" && L(re);
|
|
825
859
|
});
|
|
826
860
|
}
|
|
827
861
|
g(I);
|
|
828
|
-
var
|
|
829
|
-
|
|
830
|
-
var G =
|
|
862
|
+
var E = v(I, 2);
|
|
863
|
+
m(() => w(E, "endpoint", a())), m(() => w(E, "language", s())), m(() => w(E, "session", u())), m(() => w(E, "tournamentid", y())), m(() => w(E, "platform", te)), ne(E, 1, "svelte-gxy8gu");
|
|
864
|
+
var G = v(E, 2), W = h(G);
|
|
831
865
|
W.__click = ct;
|
|
832
|
-
var ue = h(W),
|
|
866
|
+
var ue = h(W), vt = h(ue, !0);
|
|
833
867
|
g(ue);
|
|
834
|
-
var gt =
|
|
868
|
+
var gt = v(ue, 2);
|
|
835
869
|
g(W);
|
|
836
|
-
var yt =
|
|
870
|
+
var yt = v(W, 2);
|
|
837
871
|
{
|
|
838
|
-
var bt = (
|
|
839
|
-
var
|
|
840
|
-
g(
|
|
841
|
-
var
|
|
872
|
+
var bt = (L) => {
|
|
873
|
+
var P = yr(), $ = h(P), J = h($), ce = h(J);
|
|
874
|
+
g(J);
|
|
875
|
+
var H = v(J, 2), z = h(H);
|
|
842
876
|
{
|
|
843
|
-
var de = (
|
|
844
|
-
var b =
|
|
845
|
-
A(M, () => e()("scoreCriteriaType.mostRounds")),
|
|
877
|
+
var de = (f) => {
|
|
878
|
+
var b = q(), M = F(b);
|
|
879
|
+
A(M, () => e()("scoreCriteriaType.mostRounds")), k(f, b);
|
|
846
880
|
};
|
|
847
|
-
|
|
848
|
-
c(d).scoreCriteria == "BetCount" &&
|
|
881
|
+
O(z, (f) => {
|
|
882
|
+
c(d).scoreCriteria == "BetCount" && f(de);
|
|
849
883
|
});
|
|
850
884
|
}
|
|
851
|
-
var
|
|
885
|
+
var Be = v(z, 2);
|
|
852
886
|
{
|
|
853
|
-
var wt = (
|
|
854
|
-
var b =
|
|
855
|
-
A(M, () => e()("scoreCriteriaType.winStakeRatio")),
|
|
887
|
+
var wt = (f) => {
|
|
888
|
+
var b = q(), M = F(b);
|
|
889
|
+
A(M, () => e()("scoreCriteriaType.winStakeRatio")), k(f, b);
|
|
856
890
|
};
|
|
857
|
-
|
|
858
|
-
c(d).scoreCriteria == "WinStakeRatio" &&
|
|
891
|
+
O(Be, (f) => {
|
|
892
|
+
c(d).scoreCriteria == "WinStakeRatio" && f(wt);
|
|
859
893
|
});
|
|
860
894
|
}
|
|
861
|
-
var
|
|
895
|
+
var Le = v(Be, 2);
|
|
862
896
|
{
|
|
863
|
-
var xt = (
|
|
864
|
-
var b =
|
|
865
|
-
A(M, () => e()("scoreCriteriaType.maxWinStakeRatio")),
|
|
897
|
+
var xt = (f) => {
|
|
898
|
+
var b = q(), M = F(b);
|
|
899
|
+
A(M, () => e()("scoreCriteriaType.maxWinStakeRatio")), k(f, b);
|
|
866
900
|
};
|
|
867
|
-
|
|
868
|
-
c(d).scoreCriteria == "MaxWinStakeRatio" &&
|
|
901
|
+
O(Le, (f) => {
|
|
902
|
+
c(d).scoreCriteria == "MaxWinStakeRatio" && f(xt);
|
|
869
903
|
});
|
|
870
904
|
}
|
|
871
|
-
var
|
|
905
|
+
var He = v(Le, 2);
|
|
872
906
|
{
|
|
873
|
-
var Ct = (
|
|
874
|
-
var b =
|
|
875
|
-
A(M, () => e()("scoreCriteriaType.stake")),
|
|
907
|
+
var Ct = (f) => {
|
|
908
|
+
var b = q(), M = F(b);
|
|
909
|
+
A(M, () => e()("scoreCriteriaType.stake")), k(f, b);
|
|
876
910
|
};
|
|
877
|
-
|
|
878
|
-
c(d).scoreCriteria == "Stake" &&
|
|
911
|
+
O(He, (f) => {
|
|
912
|
+
c(d).scoreCriteria == "Stake" && f(Ct);
|
|
879
913
|
});
|
|
880
914
|
}
|
|
881
|
-
var Ae =
|
|
915
|
+
var Ae = v(He, 2);
|
|
882
916
|
{
|
|
883
|
-
var _t = (
|
|
884
|
-
var b =
|
|
885
|
-
A(M, () => e()("scoreCriteriaType.win")),
|
|
917
|
+
var _t = (f) => {
|
|
918
|
+
var b = q(), M = F(b);
|
|
919
|
+
A(M, () => e()("scoreCriteriaType.win")), k(f, b);
|
|
886
920
|
};
|
|
887
|
-
|
|
888
|
-
c(d).scoreCriteria == "Win" &&
|
|
921
|
+
O(Ae, (f) => {
|
|
922
|
+
c(d).scoreCriteria == "Win" && f(_t);
|
|
889
923
|
});
|
|
890
924
|
}
|
|
891
|
-
var St =
|
|
925
|
+
var St = v(Ae, 2);
|
|
892
926
|
{
|
|
893
|
-
var
|
|
894
|
-
var b =
|
|
895
|
-
A(M, () => e()("scoreCriteriaType.winBetCount")),
|
|
927
|
+
var kt = (f) => {
|
|
928
|
+
var b = q(), M = F(b);
|
|
929
|
+
A(M, () => e()("scoreCriteriaType.winBetCount")), k(f, b);
|
|
896
930
|
};
|
|
897
|
-
|
|
898
|
-
c(d).scoreCriteria == "WinBetCount" &&
|
|
931
|
+
O(St, (f) => {
|
|
932
|
+
c(d).scoreCriteria == "WinBetCount" && f(kt);
|
|
899
933
|
});
|
|
900
934
|
}
|
|
901
|
-
g(
|
|
902
|
-
var
|
|
903
|
-
g(
|
|
904
|
-
var
|
|
905
|
-
A(Mt, () => e()("miniBetCount", { values: { betCount: c(d).minBetCount } })), g(
|
|
906
|
-
var
|
|
935
|
+
g(H), g($);
|
|
936
|
+
var pe = v($, 2), fe = h(pe), Tt = h(fe);
|
|
937
|
+
g(fe);
|
|
938
|
+
var je = v(fe, 2), Mt = h(je);
|
|
939
|
+
A(Mt, () => e()("miniBetCount", { values: { betCount: c(d).minBetCount } })), g(je), g(pe);
|
|
940
|
+
var me = v(pe, 2), he = h(me), Ot = h(he);
|
|
907
941
|
g(he);
|
|
908
|
-
var Ie =
|
|
909
|
-
A(
|
|
942
|
+
var Ie = v(he, 2), Et = h(Ie);
|
|
943
|
+
A(Et, () => e()("timePeriod", {
|
|
910
944
|
values: {
|
|
911
945
|
startTime: Ke(c(d).startTime),
|
|
912
946
|
endTime: Ke(c(d).endTime)
|
|
913
947
|
}
|
|
914
|
-
})), g(Ie), g(
|
|
915
|
-
var We =
|
|
916
|
-
g(
|
|
917
|
-
var
|
|
918
|
-
A(
|
|
919
|
-
|
|
920
|
-
}),
|
|
948
|
+
})), g(Ie), g(me);
|
|
949
|
+
var We = v(me, 2), ve = h(We), Pt = h(ve);
|
|
950
|
+
g(ve);
|
|
951
|
+
var ze = v(ve, 2), Rt = h(ze);
|
|
952
|
+
A(Rt, () => e()("terms", { values: { tcUrl: c(d).termsUrl || "#" } })), g(ze), g(We), g(P), m(() => {
|
|
953
|
+
X(ce, "src", fr), X(Tt, "src", pr), X(Ot, "src", hr), X(Pt, "src", mr);
|
|
954
|
+
}), k(L, P);
|
|
921
955
|
};
|
|
922
|
-
|
|
923
|
-
c(
|
|
956
|
+
O(yt, (L) => {
|
|
957
|
+
c(Y) && L(bt);
|
|
924
958
|
});
|
|
925
959
|
}
|
|
926
960
|
g(G);
|
|
927
|
-
var
|
|
928
|
-
|
|
929
|
-
(
|
|
930
|
-
|
|
961
|
+
var B = v(G, 2);
|
|
962
|
+
m(() => w(B, "endpoint", a())), m(() => w(B, "language", s())), m(() => w(B, "session", u())), m(() => w(B, "tournamentid", y())), m(() => w(B, "platform", te)), m(() => w(B, "initialGames", c(Q))), m(() => w(B, "totalGames", c(ke))), m(() => w(B, "tournamentMetadata", c(Oe) || {})), ne(B, 1, "svelte-gxy8gu"), m(
|
|
963
|
+
(L) => {
|
|
964
|
+
X(W, "aria-expanded", c(Y)), Fe(vt, L), X(gt, "src", c(Y) ? cr : dr);
|
|
931
965
|
},
|
|
932
966
|
[() => e()("rules")]
|
|
933
|
-
),
|
|
967
|
+
), k(l, _);
|
|
934
968
|
};
|
|
935
|
-
|
|
936
|
-
c(d) && l(
|
|
969
|
+
O(Ee, (l) => {
|
|
970
|
+
c(d) && l(pt);
|
|
937
971
|
});
|
|
938
972
|
}
|
|
939
|
-
var
|
|
973
|
+
var ft = v(Ee, 2);
|
|
940
974
|
{
|
|
941
|
-
var
|
|
975
|
+
var mt = (l) => {
|
|
942
976
|
var _ = wr();
|
|
943
|
-
|
|
977
|
+
k(l, _);
|
|
944
978
|
};
|
|
945
|
-
|
|
946
|
-
c(x) && l(
|
|
979
|
+
O(ft, (l) => {
|
|
980
|
+
c(x) && l(mt);
|
|
947
981
|
});
|
|
948
982
|
}
|
|
949
|
-
g(le),
|
|
983
|
+
g(le), k(r, le);
|
|
950
984
|
var ht = Wt(dt);
|
|
951
985
|
return i(), ht;
|
|
952
986
|
}
|
|
953
|
-
|
|
954
|
-
customElements.define("tournament-details-page",
|
|
955
|
-
|
|
987
|
+
Vt(["click"]);
|
|
988
|
+
customElements.define("tournament-details-page", Ft(
|
|
989
|
+
at,
|
|
956
990
|
{
|
|
957
991
|
initialState: {},
|
|
958
992
|
endpoint: {},
|
|
@@ -966,11 +1000,11 @@ customElements.define("tournament-details-page", zt(
|
|
|
966
1000
|
[],
|
|
967
1001
|
!1
|
|
968
1002
|
));
|
|
969
|
-
const
|
|
1003
|
+
const kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
970
1004
|
__proto__: null,
|
|
971
|
-
default:
|
|
1005
|
+
default: at
|
|
972
1006
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
973
1007
|
export {
|
|
974
|
-
|
|
1008
|
+
kr as T,
|
|
975
1009
|
lr as g
|
|
976
1010
|
};
|