@everymatrix/tournament-details-page 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{TournamentDetails-C_f9o603.js → TournamentDetails-BVnS_IYF.js} +247 -666
- package/components/TournamentDetails-BoaqYHo1.cjs +3 -0
- package/components/TournamentDetails-CYrQWwZn.cjs +3 -0
- package/components/{TournamentDetails-HtQSmioM.js → TournamentDetails-hOUvqDF2.js} +250 -669
- package/components/TournamentDetailsPage-BgoG6goQ.cjs +36 -0
- package/components/{TournamentDetailsPage-Bd3xnU6b.js → TournamentDetailsPage-DcS7Pa0U.js} +338 -434
- package/components/{TournamentDetailsPage-Wc_qqtHS.js → TournamentDetailsPage-LxAzPvhv.js} +351 -402
- package/components/TournamentDetailsPage-WnIR1yO-.cjs +36 -0
- package/components/{TournamentGames-DqePP6sz.js → TournamentGames-B5Vr9KT7.js} +484 -468
- package/components/{TournamentGames-n3vpJ0SA.js → TournamentGames-Bgha2ST9.js} +448 -432
- package/components/TournamentGames-DXcN8tkz.cjs +51 -0
- package/components/TournamentGames-DpOh7T_F.cjs +51 -0
- package/components/TournamentLeaderboard-8MMMRNQy.cjs +46 -0
- package/components/TournamentLeaderboard-C_Ne8wC4.js +7718 -0
- package/components/TournamentLeaderboard-DpfSasWx.cjs +46 -0
- package/components/TournamentLeaderboard-cxKLflDm.js +7614 -0
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +2 -2
- package/esnext/tournament-details-page.cjs +1 -1
- package/esnext/tournament-details-page.js +2 -2
- package/package.json +1 -1
- package/components/TournamentDetails-CNV6FJFf.cjs +0 -3
- package/components/TournamentDetails-h5LnXQfE.cjs +0 -3
- package/components/TournamentDetailsPage-6yyclmUS.cjs +0 -44
- package/components/TournamentDetailsPage-DEsqiKjD.cjs +0 -44
- package/components/TournamentGames-CVFiICNX.cjs +0 -51
- package/components/TournamentGames-Chs_XOxu.cjs +0 -51
- package/components/TournamentLeaderboard-B_9ojgZo.js +0 -7455
- package/components/TournamentLeaderboard-CJLCAutr.cjs +0 -38
- package/components/TournamentLeaderboard-CP3IAn1u.js +0 -7557
- package/components/TournamentLeaderboard-Dz-5i1SK.cjs +0 -38
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as ht, a as We, p as Ne, b as yt, f as h, r as gt, s as Ee, u as _t, h as Ae, i as Y, j as wt, K as xt, A as M, k as F, t as R, n as C, m as U, H as u, w as S, x as Re, y as A, z as O, C as _, B as St, $ as Pt, D as y, E as Tt, F as kt, G as b, L as re, M as ne, N as oe, O as ae, P as me, Q as Gt, q as Oe } from "./TournamentLeaderboard-cxKLflDm.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -18,23 +18,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
18
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
20
|
***************************************************************************** */
|
|
21
|
-
var
|
|
22
|
-
return
|
|
21
|
+
var he = function(r, t) {
|
|
22
|
+
return he = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
|
|
23
23
|
e.__proto__ = n;
|
|
24
24
|
} || function(e, n) {
|
|
25
|
-
for (var
|
|
26
|
-
},
|
|
25
|
+
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
26
|
+
}, he(r, t);
|
|
27
27
|
};
|
|
28
|
-
function
|
|
28
|
+
function q(r, t) {
|
|
29
29
|
if (typeof t != "function" && t !== null)
|
|
30
30
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
31
|
-
|
|
31
|
+
he(r, t);
|
|
32
32
|
function e() {
|
|
33
33
|
this.constructor = r;
|
|
34
34
|
}
|
|
35
35
|
r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function ye(r) {
|
|
38
38
|
var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], n = 0;
|
|
39
39
|
if (e) return e.call(r);
|
|
40
40
|
if (r && typeof r.length == "number") return {
|
|
@@ -44,116 +44,116 @@ function be(r) {
|
|
|
44
44
|
};
|
|
45
45
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function ge(r, t) {
|
|
48
48
|
var e = typeof Symbol == "function" && r[Symbol.iterator];
|
|
49
49
|
if (!e) return r;
|
|
50
|
-
var n = e.call(r),
|
|
50
|
+
var n = e.call(r), o, a = [], s;
|
|
51
51
|
try {
|
|
52
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
53
|
-
} catch (
|
|
54
|
-
|
|
52
|
+
for (; (t === void 0 || t-- > 0) && !(o = n.next()).done; ) a.push(o.value);
|
|
53
|
+
} catch (l) {
|
|
54
|
+
s = { error: l };
|
|
55
55
|
} finally {
|
|
56
56
|
try {
|
|
57
|
-
|
|
57
|
+
o && !o.done && (e = n.return) && e.call(n);
|
|
58
58
|
} finally {
|
|
59
|
-
if (
|
|
59
|
+
if (s) throw s.error;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
return
|
|
62
|
+
return a;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
if (arguments.length === 2) for (var n = 0,
|
|
66
|
-
(
|
|
67
|
-
return r.concat(
|
|
64
|
+
function _e(r, t, e) {
|
|
65
|
+
if (arguments.length === 2) for (var n = 0, o = t.length, a; n < o; n++)
|
|
66
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
67
|
+
return r.concat(a || t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function W(r) {
|
|
70
70
|
return typeof r == "function";
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function ze(r) {
|
|
73
73
|
var t = function(n) {
|
|
74
74
|
Error.call(n), n.stack = new Error().stack;
|
|
75
75
|
}, e = r(t);
|
|
76
76
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var be = ze(function(r) {
|
|
79
79
|
return function(e) {
|
|
80
80
|
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
81
|
-
` + e.map(function(n,
|
|
82
|
-
return
|
|
81
|
+
` + e.map(function(n, o) {
|
|
82
|
+
return o + 1 + ") " + n.toString();
|
|
83
83
|
}).join(`
|
|
84
84
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
85
85
|
};
|
|
86
86
|
});
|
|
87
|
-
function
|
|
87
|
+
function we(r, t) {
|
|
88
88
|
if (r) {
|
|
89
89
|
var e = r.indexOf(t);
|
|
90
90
|
0 <= e && r.splice(e, 1);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var le = function() {
|
|
94
94
|
function r(t) {
|
|
95
95
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
96
96
|
}
|
|
97
97
|
return r.prototype.unsubscribe = function() {
|
|
98
|
-
var t, e, n,
|
|
98
|
+
var t, e, n, o, a;
|
|
99
99
|
if (!this.closed) {
|
|
100
100
|
this.closed = !0;
|
|
101
|
-
var
|
|
102
|
-
if (
|
|
103
|
-
if (this._parentage = null, Array.isArray(
|
|
101
|
+
var s = this._parentage;
|
|
102
|
+
if (s)
|
|
103
|
+
if (this._parentage = null, Array.isArray(s))
|
|
104
104
|
try {
|
|
105
|
-
for (var
|
|
105
|
+
for (var l = ye(s), d = l.next(); !d.done; d = l.next()) {
|
|
106
106
|
var w = d.value;
|
|
107
107
|
w.remove(this);
|
|
108
108
|
}
|
|
109
|
-
} catch (
|
|
110
|
-
t = { error:
|
|
109
|
+
} catch (k) {
|
|
110
|
+
t = { error: k };
|
|
111
111
|
} finally {
|
|
112
112
|
try {
|
|
113
|
-
d && !d.done && (e =
|
|
113
|
+
d && !d.done && (e = l.return) && e.call(l);
|
|
114
114
|
} finally {
|
|
115
115
|
if (t) throw t.error;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
else
|
|
119
|
-
|
|
119
|
+
s.remove(this);
|
|
120
120
|
var v = this.initialTeardown;
|
|
121
|
-
if (
|
|
121
|
+
if (W(v))
|
|
122
122
|
try {
|
|
123
123
|
v();
|
|
124
|
-
} catch (
|
|
125
|
-
|
|
124
|
+
} catch (k) {
|
|
125
|
+
a = k instanceof be ? k.errors : [k];
|
|
126
126
|
}
|
|
127
|
-
var
|
|
128
|
-
if (
|
|
127
|
+
var T = this._finalizers;
|
|
128
|
+
if (T) {
|
|
129
129
|
this._finalizers = null;
|
|
130
130
|
try {
|
|
131
|
-
for (var
|
|
132
|
-
var
|
|
131
|
+
for (var j = ye(T), p = j.next(); !p.done; p = j.next()) {
|
|
132
|
+
var H = p.value;
|
|
133
133
|
try {
|
|
134
|
-
|
|
135
|
-
} catch (
|
|
136
|
-
|
|
134
|
+
je(H);
|
|
135
|
+
} catch (k) {
|
|
136
|
+
a = a ?? [], k instanceof be ? a = _e(_e([], ge(a)), ge(k.errors)) : a.push(k);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
} catch (
|
|
140
|
-
n = { error:
|
|
139
|
+
} catch (k) {
|
|
140
|
+
n = { error: k };
|
|
141
141
|
} finally {
|
|
142
142
|
try {
|
|
143
|
-
|
|
143
|
+
p && !p.done && (o = j.return) && o.call(j);
|
|
144
144
|
} finally {
|
|
145
145
|
if (n) throw n.error;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
if (
|
|
150
|
-
throw new
|
|
149
|
+
if (a)
|
|
150
|
+
throw new be(a);
|
|
151
151
|
}
|
|
152
152
|
}, r.prototype.add = function(t) {
|
|
153
153
|
var e;
|
|
154
154
|
if (t && t !== this)
|
|
155
155
|
if (this.closed)
|
|
156
|
-
|
|
156
|
+
je(t);
|
|
157
157
|
else {
|
|
158
158
|
if (t instanceof r) {
|
|
159
159
|
if (t.closed || t._hasParent(this))
|
|
@@ -170,52 +170,52 @@ var oe = function() {
|
|
|
170
170
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
171
171
|
}, r.prototype._removeParent = function(t) {
|
|
172
172
|
var e = this._parentage;
|
|
173
|
-
e === t ? this._parentage = null : Array.isArray(e) &&
|
|
173
|
+
e === t ? this._parentage = null : Array.isArray(e) && we(e, t);
|
|
174
174
|
}, r.prototype.remove = function(t) {
|
|
175
175
|
var e = this._finalizers;
|
|
176
|
-
e &&
|
|
176
|
+
e && we(e, t), t instanceof r && t._removeParent(this);
|
|
177
177
|
}, r.EMPTY = function() {
|
|
178
178
|
var t = new r();
|
|
179
179
|
return t.closed = !0, t;
|
|
180
180
|
}(), r;
|
|
181
|
-
}(),
|
|
182
|
-
function
|
|
183
|
-
return r instanceof
|
|
181
|
+
}(), Fe = le.EMPTY;
|
|
182
|
+
function Ue(r) {
|
|
183
|
+
return r instanceof le || r && "closed" in r && W(r.remove) && W(r.add) && W(r.unsubscribe);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
function je(r) {
|
|
186
|
+
W(r) ? r() : r.unsubscribe();
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var Et = {
|
|
189
189
|
Promise: void 0
|
|
190
|
-
},
|
|
190
|
+
}, At = {
|
|
191
191
|
setTimeout: function(r, t) {
|
|
192
192
|
for (var e = [], n = 2; n < arguments.length; n++)
|
|
193
193
|
e[n - 2] = arguments[n];
|
|
194
|
-
return setTimeout.apply(void 0,
|
|
194
|
+
return setTimeout.apply(void 0, _e([r, t], ge(e)));
|
|
195
195
|
},
|
|
196
196
|
clearTimeout: function(r) {
|
|
197
197
|
return clearTimeout(r);
|
|
198
198
|
},
|
|
199
199
|
delegate: void 0
|
|
200
200
|
};
|
|
201
|
-
function
|
|
202
|
-
|
|
201
|
+
function Ot(r) {
|
|
202
|
+
At.setTimeout(function() {
|
|
203
203
|
throw r;
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Be() {
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function se(r) {
|
|
209
209
|
r();
|
|
210
210
|
}
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var He = function(r) {
|
|
212
|
+
q(t, r);
|
|
213
213
|
function t(e) {
|
|
214
214
|
var n = r.call(this) || this;
|
|
215
|
-
return n.isStopped = !1, e ? (n.destination = e,
|
|
215
|
+
return n.isStopped = !1, e ? (n.destination = e, Ue(e) && e.add(n)) : n.destination = Mt, n;
|
|
216
216
|
}
|
|
217
|
-
return t.create = function(e, n,
|
|
218
|
-
return new
|
|
217
|
+
return t.create = function(e, n, o) {
|
|
218
|
+
return new xe(e, n, o);
|
|
219
219
|
}, t.prototype.next = function(e) {
|
|
220
220
|
this.isStopped || this._next(e);
|
|
221
221
|
}, t.prototype.error = function(e) {
|
|
@@ -239,7 +239,7 @@ var Ye = function(r) {
|
|
|
239
239
|
this.unsubscribe();
|
|
240
240
|
}
|
|
241
241
|
}, t;
|
|
242
|
-
}(
|
|
242
|
+
}(le), jt = function() {
|
|
243
243
|
function r(t) {
|
|
244
244
|
this.partialObserver = t;
|
|
245
245
|
}
|
|
@@ -249,7 +249,7 @@ var Ye = function(r) {
|
|
|
249
249
|
try {
|
|
250
250
|
e.next(t);
|
|
251
251
|
} catch (n) {
|
|
252
|
-
|
|
252
|
+
ie(n);
|
|
253
253
|
}
|
|
254
254
|
}, r.prototype.error = function(t) {
|
|
255
255
|
var e = this.partialObserver;
|
|
@@ -257,56 +257,56 @@ var Ye = function(r) {
|
|
|
257
257
|
try {
|
|
258
258
|
e.error(t);
|
|
259
259
|
} catch (n) {
|
|
260
|
-
|
|
260
|
+
ie(n);
|
|
261
261
|
}
|
|
262
262
|
else
|
|
263
|
-
|
|
263
|
+
ie(t);
|
|
264
264
|
}, r.prototype.complete = function() {
|
|
265
265
|
var t = this.partialObserver;
|
|
266
266
|
if (t.complete)
|
|
267
267
|
try {
|
|
268
268
|
t.complete();
|
|
269
269
|
} catch (e) {
|
|
270
|
-
|
|
270
|
+
ie(e);
|
|
271
271
|
}
|
|
272
272
|
}, r;
|
|
273
|
-
}(),
|
|
274
|
-
|
|
275
|
-
function t(e, n,
|
|
276
|
-
var
|
|
277
|
-
return
|
|
273
|
+
}(), xe = function(r) {
|
|
274
|
+
q(t, r);
|
|
275
|
+
function t(e, n, o) {
|
|
276
|
+
var a = r.call(this) || this, s;
|
|
277
|
+
return W(e) || !e ? s = {
|
|
278
278
|
next: e ?? void 0,
|
|
279
279
|
error: n ?? void 0,
|
|
280
|
-
complete:
|
|
281
|
-
} :
|
|
280
|
+
complete: o ?? void 0
|
|
281
|
+
} : s = e, a.destination = new jt(s), a;
|
|
282
282
|
}
|
|
283
283
|
return t;
|
|
284
|
-
}(
|
|
285
|
-
function
|
|
286
|
-
|
|
284
|
+
}(He);
|
|
285
|
+
function ie(r) {
|
|
286
|
+
Ot(r);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Bt(r) {
|
|
289
289
|
throw r;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var Mt = {
|
|
292
292
|
closed: !0,
|
|
293
|
-
next:
|
|
294
|
-
error:
|
|
295
|
-
complete:
|
|
296
|
-
},
|
|
293
|
+
next: Be,
|
|
294
|
+
error: Bt,
|
|
295
|
+
complete: Be
|
|
296
|
+
}, Ct = function() {
|
|
297
297
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
298
298
|
}();
|
|
299
|
-
function
|
|
299
|
+
function Dt(r) {
|
|
300
300
|
return r;
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
return r.length === 0 ?
|
|
304
|
-
return r.reduce(function(n,
|
|
305
|
-
return
|
|
302
|
+
function Lt(r) {
|
|
303
|
+
return r.length === 0 ? Dt : r.length === 1 ? r[0] : function(e) {
|
|
304
|
+
return r.reduce(function(n, o) {
|
|
305
|
+
return o(n);
|
|
306
306
|
}, e);
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
var
|
|
309
|
+
var Me = function() {
|
|
310
310
|
function r(t) {
|
|
311
311
|
t && (this._subscribe = t);
|
|
312
312
|
}
|
|
@@ -314,11 +314,11 @@ var je = function() {
|
|
|
314
314
|
var e = new r();
|
|
315
315
|
return e.source = this, e.operator = t, e;
|
|
316
316
|
}, r.prototype.subscribe = function(t, e, n) {
|
|
317
|
-
var
|
|
318
|
-
return
|
|
319
|
-
var
|
|
320
|
-
|
|
321
|
-
}),
|
|
317
|
+
var o = this, a = Wt(t) ? t : new xe(t, e, n);
|
|
318
|
+
return se(function() {
|
|
319
|
+
var s = o, l = s.operator, d = s.source;
|
|
320
|
+
a.add(l ? l.call(a, d) : d ? o._subscribe(a) : o._trySubscribe(a));
|
|
321
|
+
}), a;
|
|
322
322
|
}, r.prototype._trySubscribe = function(t) {
|
|
323
323
|
try {
|
|
324
324
|
return this._subscribe(t);
|
|
@@ -327,105 +327,105 @@ var je = function() {
|
|
|
327
327
|
}
|
|
328
328
|
}, r.prototype.forEach = function(t, e) {
|
|
329
329
|
var n = this;
|
|
330
|
-
return e =
|
|
331
|
-
var
|
|
332
|
-
next: function(
|
|
330
|
+
return e = Ce(e), new e(function(o, a) {
|
|
331
|
+
var s = new xe({
|
|
332
|
+
next: function(l) {
|
|
333
333
|
try {
|
|
334
|
-
t(
|
|
334
|
+
t(l);
|
|
335
335
|
} catch (d) {
|
|
336
|
-
|
|
336
|
+
a(d), s.unsubscribe();
|
|
337
337
|
}
|
|
338
338
|
},
|
|
339
|
-
error:
|
|
340
|
-
complete:
|
|
339
|
+
error: a,
|
|
340
|
+
complete: o
|
|
341
341
|
});
|
|
342
|
-
n.subscribe(
|
|
342
|
+
n.subscribe(s);
|
|
343
343
|
});
|
|
344
344
|
}, r.prototype._subscribe = function(t) {
|
|
345
345
|
var e;
|
|
346
346
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
347
|
-
}, r.prototype[
|
|
347
|
+
}, r.prototype[Ct] = function() {
|
|
348
348
|
return this;
|
|
349
349
|
}, r.prototype.pipe = function() {
|
|
350
350
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
351
351
|
t[e] = arguments[e];
|
|
352
|
-
return
|
|
352
|
+
return Lt(t)(this);
|
|
353
353
|
}, r.prototype.toPromise = function(t) {
|
|
354
354
|
var e = this;
|
|
355
|
-
return t =
|
|
356
|
-
var
|
|
357
|
-
e.subscribe(function(
|
|
358
|
-
return
|
|
359
|
-
}, function(
|
|
360
|
-
return
|
|
355
|
+
return t = Ce(t), new t(function(n, o) {
|
|
356
|
+
var a;
|
|
357
|
+
e.subscribe(function(s) {
|
|
358
|
+
return a = s;
|
|
359
|
+
}, function(s) {
|
|
360
|
+
return o(s);
|
|
361
361
|
}, function() {
|
|
362
|
-
return n(
|
|
362
|
+
return n(a);
|
|
363
363
|
});
|
|
364
364
|
});
|
|
365
365
|
}, r.create = function(t) {
|
|
366
366
|
return new r(t);
|
|
367
367
|
}, r;
|
|
368
368
|
}();
|
|
369
|
-
function
|
|
369
|
+
function Ce(r) {
|
|
370
370
|
var t;
|
|
371
|
-
return (t = r ??
|
|
371
|
+
return (t = r ?? Et.Promise) !== null && t !== void 0 ? t : Promise;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
return r &&
|
|
373
|
+
function It(r) {
|
|
374
|
+
return r && W(r.next) && W(r.error) && W(r.complete);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return r && r instanceof
|
|
376
|
+
function Wt(r) {
|
|
377
|
+
return r && r instanceof He || It(r) && Ue(r);
|
|
378
378
|
}
|
|
379
|
-
var
|
|
379
|
+
var Nt = ze(function(r) {
|
|
380
380
|
return function() {
|
|
381
381
|
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
382
382
|
};
|
|
383
|
-
}),
|
|
384
|
-
|
|
383
|
+
}), Ye = function(r) {
|
|
384
|
+
q(t, r);
|
|
385
385
|
function t() {
|
|
386
386
|
var e = r.call(this) || this;
|
|
387
387
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
388
388
|
}
|
|
389
389
|
return t.prototype.lift = function(e) {
|
|
390
|
-
var n = new
|
|
390
|
+
var n = new De(this, this);
|
|
391
391
|
return n.operator = e, n;
|
|
392
392
|
}, t.prototype._throwIfClosed = function() {
|
|
393
393
|
if (this.closed)
|
|
394
|
-
throw new
|
|
394
|
+
throw new Nt();
|
|
395
395
|
}, t.prototype.next = function(e) {
|
|
396
396
|
var n = this;
|
|
397
|
-
|
|
398
|
-
var
|
|
397
|
+
se(function() {
|
|
398
|
+
var o, a;
|
|
399
399
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
400
400
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
401
401
|
try {
|
|
402
|
-
for (var
|
|
403
|
-
var d =
|
|
402
|
+
for (var s = ye(n.currentObservers), l = s.next(); !l.done; l = s.next()) {
|
|
403
|
+
var d = l.value;
|
|
404
404
|
d.next(e);
|
|
405
405
|
}
|
|
406
406
|
} catch (w) {
|
|
407
|
-
|
|
407
|
+
o = { error: w };
|
|
408
408
|
} finally {
|
|
409
409
|
try {
|
|
410
|
-
|
|
410
|
+
l && !l.done && (a = s.return) && a.call(s);
|
|
411
411
|
} finally {
|
|
412
|
-
if (
|
|
412
|
+
if (o) throw o.error;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
}, t.prototype.error = function(e) {
|
|
418
418
|
var n = this;
|
|
419
|
-
|
|
419
|
+
se(function() {
|
|
420
420
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
421
421
|
n.hasError = n.isStopped = !0, n.thrownError = e;
|
|
422
|
-
for (var
|
|
423
|
-
|
|
422
|
+
for (var o = n.observers; o.length; )
|
|
423
|
+
o.shift().error(e);
|
|
424
424
|
}
|
|
425
425
|
});
|
|
426
426
|
}, t.prototype.complete = function() {
|
|
427
427
|
var e = this;
|
|
428
|
-
|
|
428
|
+
se(function() {
|
|
429
429
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
430
430
|
e.isStopped = !0;
|
|
431
431
|
for (var n = e.observers; n.length; )
|
|
@@ -446,74 +446,68 @@ var Ut = Fe(function(r) {
|
|
|
446
446
|
}, t.prototype._subscribe = function(e) {
|
|
447
447
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
448
448
|
}, t.prototype._innerSubscribe = function(e) {
|
|
449
|
-
var n = this,
|
|
450
|
-
return
|
|
451
|
-
n.currentObservers = null,
|
|
449
|
+
var n = this, o = this, a = o.hasError, s = o.isStopped, l = o.observers;
|
|
450
|
+
return a || s ? Fe : (this.currentObservers = null, l.push(e), new le(function() {
|
|
451
|
+
n.currentObservers = null, we(l, e);
|
|
452
452
|
}));
|
|
453
453
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
454
|
-
var n = this,
|
|
455
|
-
|
|
454
|
+
var n = this, o = n.hasError, a = n.thrownError, s = n.isStopped;
|
|
455
|
+
o ? e.error(a) : s && e.complete();
|
|
456
456
|
}, t.prototype.asObservable = function() {
|
|
457
|
-
var e = new
|
|
457
|
+
var e = new Me();
|
|
458
458
|
return e.source = this, e;
|
|
459
459
|
}, t.create = function(e, n) {
|
|
460
|
-
return new
|
|
460
|
+
return new De(e, n);
|
|
461
461
|
}, t;
|
|
462
|
-
}(
|
|
463
|
-
|
|
462
|
+
}(Me), De = function(r) {
|
|
463
|
+
q(t, r);
|
|
464
464
|
function t(e, n) {
|
|
465
|
-
var
|
|
466
|
-
return
|
|
465
|
+
var o = r.call(this) || this;
|
|
466
|
+
return o.destination = e, o.source = n, o;
|
|
467
467
|
}
|
|
468
468
|
return t.prototype.next = function(e) {
|
|
469
|
-
var n,
|
|
470
|
-
(
|
|
469
|
+
var n, o;
|
|
470
|
+
(o = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || o === void 0 || o.call(n, e);
|
|
471
471
|
}, t.prototype.error = function(e) {
|
|
472
|
-
var n,
|
|
473
|
-
(
|
|
472
|
+
var n, o;
|
|
473
|
+
(o = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || o === void 0 || o.call(n, e);
|
|
474
474
|
}, t.prototype.complete = function() {
|
|
475
475
|
var e, n;
|
|
476
476
|
(n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
|
|
477
477
|
}, t.prototype._subscribe = function(e) {
|
|
478
|
-
var n,
|
|
479
|
-
return (
|
|
478
|
+
var n, o;
|
|
479
|
+
return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && o !== void 0 ? o : Fe;
|
|
480
480
|
}, t;
|
|
481
|
-
}(
|
|
481
|
+
}(Ye), Ke = {
|
|
482
482
|
now: function() {
|
|
483
483
|
return (Ke.delegate || Date).now();
|
|
484
484
|
},
|
|
485
485
|
delegate: void 0
|
|
486
|
-
},
|
|
487
|
-
|
|
488
|
-
function t(e, n,
|
|
489
|
-
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0),
|
|
490
|
-
var
|
|
491
|
-
return
|
|
486
|
+
}, Rt = function(r) {
|
|
487
|
+
q(t, r);
|
|
488
|
+
function t(e, n, o) {
|
|
489
|
+
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), o === void 0 && (o = Ke);
|
|
490
|
+
var a = r.call(this) || this;
|
|
491
|
+
return a._bufferSize = e, a._windowTime = n, a._timestampProvider = o, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, e), a._windowTime = Math.max(1, n), a;
|
|
492
492
|
}
|
|
493
493
|
return t.prototype.next = function(e) {
|
|
494
|
-
var n = this,
|
|
495
|
-
|
|
494
|
+
var n = this, o = n.isStopped, a = n._buffer, s = n._infiniteTimeWindow, l = n._timestampProvider, d = n._windowTime;
|
|
495
|
+
o || (a.push(e), !s && a.push(l.now() + d)), this._trimBuffer(), r.prototype.next.call(this, e);
|
|
496
496
|
}, t.prototype._subscribe = function(e) {
|
|
497
497
|
this._throwIfClosed(), this._trimBuffer();
|
|
498
|
-
for (var n = this._innerSubscribe(e),
|
|
499
|
-
e.next(
|
|
498
|
+
for (var n = this._innerSubscribe(e), o = this, a = o._infiniteTimeWindow, s = o._buffer, l = s.slice(), d = 0; d < l.length && !e.closed; d += a ? 1 : 2)
|
|
499
|
+
e.next(l[d]);
|
|
500
500
|
return this._checkFinalizedStatuses(e), n;
|
|
501
501
|
}, t.prototype._trimBuffer = function() {
|
|
502
|
-
var e = this, n = e._bufferSize,
|
|
503
|
-
if (n < 1 / 0 &&
|
|
504
|
-
for (var d =
|
|
502
|
+
var e = this, n = e._bufferSize, o = e._timestampProvider, a = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * n;
|
|
503
|
+
if (n < 1 / 0 && l < a.length && a.splice(0, a.length - l), !s) {
|
|
504
|
+
for (var d = o.now(), w = 0, v = 1; v < a.length && a[v] <= d; v += 2)
|
|
505
505
|
w = v;
|
|
506
|
-
w &&
|
|
506
|
+
w && a.splice(0, w + 1);
|
|
507
507
|
}
|
|
508
508
|
}, t;
|
|
509
|
-
}(
|
|
510
|
-
|
|
511
|
-
St(r, t);
|
|
512
|
-
}
|
|
513
|
-
function Ce(r) {
|
|
514
|
-
Pt.set(r);
|
|
515
|
-
}
|
|
516
|
-
const De = {
|
|
509
|
+
}(Ye);
|
|
510
|
+
const zt = {
|
|
517
511
|
en: {
|
|
518
512
|
previousButton: "Previous",
|
|
519
513
|
nextButton: "Next",
|
|
@@ -544,19 +538,18 @@ const De = {
|
|
|
544
538
|
sportsRulesParseError: "Fejl ved parsing af turneringsregler",
|
|
545
539
|
noAvailableGames: "Der er endnu ikke konfigureret nogen spil!"
|
|
546
540
|
}
|
|
547
|
-
},
|
|
548
|
-
if (
|
|
549
|
-
const e = new
|
|
550
|
-
|
|
541
|
+
}, Le = [], Ie = {}, Ft = (r, t = 0) => {
|
|
542
|
+
if (Le.indexOf(r) == -1) {
|
|
543
|
+
const e = new Rt(t);
|
|
544
|
+
Ie[r] = e, Le.push(r);
|
|
551
545
|
}
|
|
552
|
-
return
|
|
546
|
+
return Ie[r];
|
|
553
547
|
};
|
|
554
|
-
typeof window < "u" && (window.emWidgets = { topic:
|
|
555
|
-
const
|
|
548
|
+
typeof window < "u" && (window.emWidgets = { topic: Ft });
|
|
549
|
+
const Ut = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
556
550
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
const ar = {
|
|
551
|
+
var Ht = O('<div class="TournamentGamesTabs svelte-2ya82b"><button> </button> <button> </button></div>'), Yt = O('<p class="svelte-2ya82b"> </p>'), Kt = O("<div></div>"), qt = O('<div class="TournamentGameThumbnailSkeleton svelte-2ya82b"></div>'), Jt = O("<p> </p>"), Qt = O('<div class="TournamentGameThumbnail svelte-2ya82b"><div class="ImageContainer svelte-2ya82b"><img class="svelte-2ya82b"/> <div class="PlayButtonOverlay svelte-2ya82b"><button class="PlayGameButton svelte-2ya82b"> </button></div></div></div>'), Vt = O('<span class="PaginationButton Elipsis svelte-2ya82b">...</span>'), Xt = O("<button> </button>"), Zt = O('<div><button class="PaginationButton svelte-2ya82b"> </button> <div class="PageNumberWrapper svelte-2ya82b"></div> <button class="PaginationButton svelte-2ya82b"> </button></div>'), $t = O('<div class="PaginationSkeleton svelte-2ya82b"><div class="PaginationSkeletonButton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationSkeletonButton svelte-2ya82b"></div></div>'), er = O('<div class="TournamentGamesWrapper svelte-2ya82b"><div class="GamesDescription svelte-2ya82b"><p class="GamesDescriptionTitle svelte-2ya82b"> </p> <p class="GamesDescriptionSubTitle svelte-2ya82b"> </p></div> <!> <!> <div><!></div> <!> <!></div>');
|
|
552
|
+
const tr = {
|
|
560
553
|
hash: "svelte-2ya82b",
|
|
561
554
|
code: `.svelte-2ya82b,
|
|
562
555
|
.svelte-2ya82b::before,
|
|
@@ -595,281 +588,303 @@ const ar = {
|
|
|
595
588
|
@media (min-width: 1500px) {.TournamentGamesContainer.svelte-2ya82b {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(215px, 100%), 1fr));}
|
|
596
589
|
}.Hidden.svelte-2ya82b {display:none;}`
|
|
597
590
|
};
|
|
598
|
-
function
|
|
599
|
-
|
|
600
|
-
const e = () =>
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
Le(p, s[p]);
|
|
605
|
-
});
|
|
606
|
-
}).catch((s) => {
|
|
607
|
-
console.log(s);
|
|
608
|
-
});
|
|
609
|
-
};
|
|
610
|
-
Object.keys(De).forEach((o) => {
|
|
611
|
-
Le(o, De[o]);
|
|
612
|
-
}), Ce(u());
|
|
613
|
-
const Ve = () => {
|
|
614
|
-
Ce(u());
|
|
591
|
+
function qe(r, t) {
|
|
592
|
+
Ne(t, !0), yt(r, tr);
|
|
593
|
+
const e = () => St(Pt, "$_", n), [n, o] = Tt(), a = h(t, "initialGames"), s = h(t, "endpoint"), l = h(t, "language", 7, "en"), d = h(t, "session"), w = h(t, "tournamentid"), v = h(t, "gamesLimit", 7, 6), T = h(t, "totalGames"), j = h(t, "platformProp", 7, null), p = h(t, "tournamentMetadata"), H = h(t, "translationurl");
|
|
594
|
+
gt(zt), Ee(l());
|
|
595
|
+
const k = () => {
|
|
596
|
+
Ee(l());
|
|
615
597
|
};
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}),
|
|
619
|
-
|
|
598
|
+
_t(() => {
|
|
599
|
+
H() && kt(H());
|
|
600
|
+
}), Ae(() => {
|
|
601
|
+
k();
|
|
620
602
|
});
|
|
621
|
-
let
|
|
622
|
-
const Qe =
|
|
623
|
-
if (
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
603
|
+
let ue = Y(wt(a() || [])), J = Y(!1), G = Y(0), Q = Y(void 0), V = Y(!0);
|
|
604
|
+
const Qe = xt() ? j() ?? "dk" : Ut(window.navigator.userAgent), ce = async () => {
|
|
605
|
+
if (!pe.has(u(X))) {
|
|
606
|
+
A(J, !0);
|
|
607
|
+
try {
|
|
608
|
+
const i = await Gt({
|
|
609
|
+
endpoint: s(),
|
|
610
|
+
language: l(),
|
|
611
|
+
platform: Qe,
|
|
612
|
+
session: d(),
|
|
613
|
+
tournamentid: w(),
|
|
614
|
+
filterById: !0,
|
|
615
|
+
gamesLimit: v(),
|
|
616
|
+
gamesOffset: u(G)
|
|
617
|
+
});
|
|
618
|
+
A(ue, i?.games?.items, !0), pe.set(u(X), u(ue)), u(V) || A(V, !0);
|
|
619
|
+
} catch (i) {
|
|
620
|
+
console.log(i);
|
|
621
|
+
} finally {
|
|
622
|
+
A(J, !1);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}, Ve = () => {
|
|
626
|
+
const i = Math.ceil(T() / v()), c = Math.floor(u(G) / v()) + 1;
|
|
627
|
+
if (i <= 5)
|
|
628
|
+
return Array.from({ length: i }, (x, B) => B + 1);
|
|
629
|
+
const f = [];
|
|
630
|
+
return f.push(1), c <= 3 ? (f.push(2, 3), f.push("..."), f.push(i)) : c >= i - 2 ? (f.push("..."), f.push(i - 2, i - 1, i)) : (f.push("..."), f.push(c - 1, c, c + 1), f.push("..."), f.push(i)), f;
|
|
631
|
+
}, Xe = () => {
|
|
632
|
+
u(G) < T() && (A(G, u(G) + v()), ce());
|
|
632
633
|
}, Ze = () => {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
O(G, (o - 1) * v()), ie();
|
|
644
|
-
}, rt = $(Ze), V = $(() => Math.floor(c(G) / v()) + 1);
|
|
645
|
-
let se = /* @__PURE__ */ new Map([[1, i()]]), nt = $(() => se.get(c(V)) ?? []), D = U("casino");
|
|
646
|
-
const ot = () => {
|
|
647
|
-
if (!f()) return;
|
|
648
|
-
const o = f().sports?.rules;
|
|
649
|
-
let s;
|
|
650
|
-
if (o)
|
|
634
|
+
u(G) !== 0 && (A(G, u(G) - v()), ce());
|
|
635
|
+
}, $e = (i) => {
|
|
636
|
+
A(G, (i - 1) * v()), ce();
|
|
637
|
+
}, et = me(Ve), X = me(() => Math.floor(u(G) / v()) + 1);
|
|
638
|
+
let pe = /* @__PURE__ */ new Map([[1, a()]]), tt = me(() => pe.get(u(X)) ?? []), N = Y("casino");
|
|
639
|
+
const rt = () => {
|
|
640
|
+
if (!p()) return;
|
|
641
|
+
const i = p().sports?.rules;
|
|
642
|
+
let c;
|
|
643
|
+
if (i)
|
|
651
644
|
try {
|
|
652
|
-
|
|
653
|
-
} catch (
|
|
654
|
-
console.log(
|
|
645
|
+
c = JSON.parse(i), A(Q, c[l()] || c["*"], !0);
|
|
646
|
+
} catch (f) {
|
|
647
|
+
console.log(f), A(Q, `${e()("sportsRulesParseError")}`);
|
|
655
648
|
}
|
|
656
|
-
},
|
|
649
|
+
}, nt = (i) => {
|
|
657
650
|
window.postMessage(
|
|
658
651
|
{
|
|
659
652
|
type: "Tournaments:PlayGame",
|
|
660
|
-
launchUrl:
|
|
661
|
-
id:
|
|
662
|
-
thumbnail:
|
|
663
|
-
name:
|
|
653
|
+
launchUrl: i.launchUrl,
|
|
654
|
+
id: i.gameId,
|
|
655
|
+
thumbnail: i.thumbnail,
|
|
656
|
+
name: i.name
|
|
664
657
|
},
|
|
665
658
|
window.location.href
|
|
666
659
|
);
|
|
667
660
|
};
|
|
668
|
-
|
|
669
|
-
Object.keys(
|
|
661
|
+
Ae(() => {
|
|
662
|
+
Object.keys(p()).length !== 0 && rt();
|
|
670
663
|
});
|
|
671
|
-
var
|
|
664
|
+
var ot = {
|
|
672
665
|
get initialGames() {
|
|
673
|
-
return
|
|
666
|
+
return a();
|
|
674
667
|
},
|
|
675
|
-
set initialGames(
|
|
676
|
-
i
|
|
668
|
+
set initialGames(i) {
|
|
669
|
+
a(i), y();
|
|
677
670
|
},
|
|
678
671
|
get endpoint() {
|
|
679
|
-
return
|
|
672
|
+
return s();
|
|
680
673
|
},
|
|
681
|
-
set endpoint(
|
|
682
|
-
|
|
674
|
+
set endpoint(i) {
|
|
675
|
+
s(i), y();
|
|
683
676
|
},
|
|
684
677
|
get language() {
|
|
685
|
-
return
|
|
678
|
+
return l();
|
|
686
679
|
},
|
|
687
|
-
set language(
|
|
688
|
-
|
|
680
|
+
set language(i = "en") {
|
|
681
|
+
l(i), y();
|
|
689
682
|
},
|
|
690
683
|
get session() {
|
|
691
684
|
return d();
|
|
692
685
|
},
|
|
693
|
-
set session(
|
|
694
|
-
d(
|
|
686
|
+
set session(i) {
|
|
687
|
+
d(i), y();
|
|
695
688
|
},
|
|
696
689
|
get tournamentid() {
|
|
697
690
|
return w();
|
|
698
691
|
},
|
|
699
|
-
set tournamentid(
|
|
700
|
-
w(
|
|
692
|
+
set tournamentid(i) {
|
|
693
|
+
w(i), y();
|
|
701
694
|
},
|
|
702
695
|
get gamesLimit() {
|
|
703
696
|
return v();
|
|
704
697
|
},
|
|
705
|
-
set gamesLimit(
|
|
706
|
-
v(
|
|
698
|
+
set gamesLimit(i = 6) {
|
|
699
|
+
v(i), y();
|
|
707
700
|
},
|
|
708
701
|
get totalGames() {
|
|
709
|
-
return
|
|
702
|
+
return T();
|
|
710
703
|
},
|
|
711
|
-
set totalGames(
|
|
712
|
-
|
|
704
|
+
set totalGames(i) {
|
|
705
|
+
T(i), y();
|
|
713
706
|
},
|
|
714
707
|
get platformProp() {
|
|
715
|
-
return
|
|
708
|
+
return j();
|
|
716
709
|
},
|
|
717
|
-
set platformProp(
|
|
718
|
-
|
|
710
|
+
set platformProp(i = null) {
|
|
711
|
+
j(i), y();
|
|
719
712
|
},
|
|
720
713
|
get tournamentMetadata() {
|
|
721
|
-
return
|
|
714
|
+
return p();
|
|
722
715
|
},
|
|
723
|
-
set tournamentMetadata(
|
|
724
|
-
|
|
716
|
+
set tournamentMetadata(i) {
|
|
717
|
+
p(i), y();
|
|
725
718
|
},
|
|
726
719
|
get translationurl() {
|
|
727
|
-
return
|
|
720
|
+
return H();
|
|
728
721
|
},
|
|
729
|
-
set translationurl(
|
|
730
|
-
|
|
722
|
+
set translationurl(i) {
|
|
723
|
+
H(i), y();
|
|
731
724
|
}
|
|
732
|
-
},
|
|
733
|
-
b(
|
|
734
|
-
var
|
|
735
|
-
b(
|
|
736
|
-
var
|
|
725
|
+
}, fe = er(), de = _(fe), ve = _(de), at = _(ve, !0);
|
|
726
|
+
b(ve);
|
|
727
|
+
var Se = M(ve, 2), it = _(Se, !0);
|
|
728
|
+
b(Se), b(de);
|
|
729
|
+
var Pe = M(de, 2);
|
|
737
730
|
{
|
|
738
|
-
var
|
|
739
|
-
var
|
|
740
|
-
let
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
731
|
+
var st = (i) => {
|
|
732
|
+
var c = Ht(), f = _(c);
|
|
733
|
+
let x;
|
|
734
|
+
f.__click = () => A(N, "casino");
|
|
735
|
+
var B = _(f, !0);
|
|
736
|
+
b(f);
|
|
737
|
+
var m = M(f, 2);
|
|
738
|
+
let g;
|
|
739
|
+
m.__click = () => A(N, "sports");
|
|
740
|
+
var E = _(m, !0);
|
|
741
|
+
b(m), b(c), R(
|
|
742
|
+
(D, P) => {
|
|
743
|
+
x = U(f, 1, "Tab svelte-2ya82b", null, x, { Active: u(N) === "casino" }), C(B, D), g = U(m, 1, "Tab svelte-2ya82b", null, g, { Active: u(N) === "sports" }), C(E, P);
|
|
749
744
|
},
|
|
750
745
|
[() => e()("casinoTab"), () => e()("sportsbookTab")]
|
|
751
|
-
),
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
|
|
746
|
+
), S(i, c);
|
|
747
|
+
};
|
|
748
|
+
F(Pe, (i) => {
|
|
749
|
+
Object.keys(p()).length !== 0 && i(st);
|
|
755
750
|
});
|
|
756
751
|
}
|
|
757
|
-
var
|
|
752
|
+
var Te = M(Pe, 2);
|
|
758
753
|
{
|
|
759
|
-
var
|
|
760
|
-
var
|
|
761
|
-
let
|
|
762
|
-
|
|
763
|
-
var
|
|
764
|
-
b(
|
|
765
|
-
}), b(
|
|
754
|
+
var lt = (i) => {
|
|
755
|
+
var c = Kt();
|
|
756
|
+
let f;
|
|
757
|
+
re(c, 21, () => u(Q), ne, (x, B) => {
|
|
758
|
+
var m = Yt(), g = _(m);
|
|
759
|
+
b(m), R((E) => C(g, `${u(B).rule ?? ""} ${E ?? ""}`), [() => e()("contribution")]), S(x, m);
|
|
760
|
+
}), b(c), R(() => f = U(c, 1, "TournamentRulesWrapper svelte-2ya82b", null, f, { Hidden: u(N) === "casino" })), S(i, c);
|
|
766
761
|
};
|
|
767
|
-
|
|
768
|
-
|
|
762
|
+
F(Te, (i) => {
|
|
763
|
+
u(Q) && i(lt);
|
|
769
764
|
});
|
|
770
765
|
}
|
|
771
|
-
var
|
|
772
|
-
let
|
|
773
|
-
var
|
|
766
|
+
var Z = M(Te, 2);
|
|
767
|
+
let ke;
|
|
768
|
+
var ut = _(Z);
|
|
774
769
|
{
|
|
775
|
-
var
|
|
776
|
-
var
|
|
777
|
-
|
|
778
|
-
var E =
|
|
779
|
-
S(
|
|
780
|
-
}), S(
|
|
781
|
-
},
|
|
782
|
-
var
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
(
|
|
797
|
-
|
|
770
|
+
var ct = (i) => {
|
|
771
|
+
var c = oe(), f = ae(c);
|
|
772
|
+
re(f, 17, () => Array(v()), ne, (x, B, m, g) => {
|
|
773
|
+
var E = qt();
|
|
774
|
+
S(x, E);
|
|
775
|
+
}), S(i, c);
|
|
776
|
+
}, pt = (i) => {
|
|
777
|
+
var c = oe(), f = ae(c);
|
|
778
|
+
{
|
|
779
|
+
var x = (m) => {
|
|
780
|
+
var g = Jt();
|
|
781
|
+
let E;
|
|
782
|
+
var D = _(g, !0);
|
|
783
|
+
b(g), R(
|
|
784
|
+
(P) => {
|
|
785
|
+
E = U(g, 1, "NoGamesAvailable svelte-2ya82b", null, E, { Hidden: u(N) === "sports" }), C(D, P);
|
|
786
|
+
},
|
|
787
|
+
[() => e()("noAvailableGames")]
|
|
788
|
+
), S(m, g);
|
|
789
|
+
}, B = (m) => {
|
|
790
|
+
var g = oe(), E = ae(g);
|
|
791
|
+
re(E, 17, () => u(tt), ne, (D, P) => {
|
|
792
|
+
var z = Qt();
|
|
793
|
+
z.__click = () => nt(u(P));
|
|
794
|
+
var $ = _(z), K = _($), ee = M(K, 2), L = _(ee), I = _(L, !0);
|
|
795
|
+
b(L), b(ee), b($), b(z), R(
|
|
796
|
+
(te) => {
|
|
797
|
+
Oe(K, "src", `https:${u(P).thumbnail}`), Oe(K, "alt", u(P).name), C(I, te);
|
|
798
|
+
},
|
|
799
|
+
[() => e()("play")]
|
|
800
|
+
), S(D, z);
|
|
801
|
+
}), S(m, g);
|
|
802
|
+
};
|
|
803
|
+
F(
|
|
804
|
+
f,
|
|
805
|
+
(m) => {
|
|
806
|
+
!u(J) && u(ue)?.length === 0 ? m(x) : m(B, !1);
|
|
798
807
|
},
|
|
799
|
-
|
|
800
|
-
)
|
|
801
|
-
}
|
|
808
|
+
!0
|
|
809
|
+
);
|
|
810
|
+
}
|
|
811
|
+
S(i, c);
|
|
802
812
|
};
|
|
803
|
-
|
|
804
|
-
|
|
813
|
+
F(ut, (i) => {
|
|
814
|
+
u(J) ? i(ct) : i(pt, !1);
|
|
805
815
|
});
|
|
806
816
|
}
|
|
807
|
-
b(
|
|
808
|
-
var
|
|
817
|
+
b(Z);
|
|
818
|
+
var Ge = M(Z, 2);
|
|
809
819
|
{
|
|
810
|
-
var
|
|
811
|
-
var
|
|
812
|
-
let
|
|
813
|
-
var
|
|
814
|
-
|
|
815
|
-
var
|
|
816
|
-
|
|
817
|
-
|
|
820
|
+
var ft = (i) => {
|
|
821
|
+
var c = Zt();
|
|
822
|
+
let f;
|
|
823
|
+
var x = _(c);
|
|
824
|
+
x.__click = Ze;
|
|
825
|
+
var B = _(x, !0);
|
|
826
|
+
b(x);
|
|
827
|
+
var m = M(x, 2);
|
|
828
|
+
re(m, 21, () => u(et), ne, (D, P) => {
|
|
829
|
+
var z = oe(), $ = ae(z);
|
|
818
830
|
{
|
|
819
|
-
var
|
|
820
|
-
var
|
|
821
|
-
S(
|
|
822
|
-
},
|
|
823
|
-
var
|
|
824
|
-
let
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
831
|
+
var K = (L) => {
|
|
832
|
+
var I = Vt();
|
|
833
|
+
S(L, I);
|
|
834
|
+
}, ee = (L) => {
|
|
835
|
+
var I = Xt();
|
|
836
|
+
let te;
|
|
837
|
+
I.__click = () => $e(u(P));
|
|
838
|
+
var bt = _(I, !0);
|
|
839
|
+
b(I), R(() => {
|
|
840
|
+
te = U(I, 1, "PaginationButton Number svelte-2ya82b", null, te, { Active: u(P) === u(X) }), C(bt, u(P));
|
|
841
|
+
}), S(L, I);
|
|
829
842
|
};
|
|
830
|
-
|
|
831
|
-
typeof
|
|
843
|
+
F($, (L) => {
|
|
844
|
+
typeof u(P) != "number" ? L(K) : L(ee, !1);
|
|
832
845
|
});
|
|
833
846
|
}
|
|
834
|
-
S(
|
|
835
|
-
}), b(
|
|
836
|
-
var
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
847
|
+
S(D, z);
|
|
848
|
+
}), b(m);
|
|
849
|
+
var g = M(m, 2);
|
|
850
|
+
g.__click = Xe;
|
|
851
|
+
var E = _(g, !0);
|
|
852
|
+
b(g), b(c), R(
|
|
853
|
+
(D, P) => {
|
|
854
|
+
f = U(c, 1, "PaginationWrapper svelte-2ya82b", null, f, { Hidden: u(N) === "sports" }), x.disabled = u(G) === 0, C(B, D), g.disabled = u(G) >= T() - v(), C(E, P);
|
|
840
855
|
},
|
|
841
856
|
[() => e()("previousButton"), () => e()("nextButton")]
|
|
842
|
-
),
|
|
857
|
+
), S(i, c);
|
|
843
858
|
};
|
|
844
|
-
|
|
845
|
-
|
|
859
|
+
F(Ge, (i) => {
|
|
860
|
+
u(V) && T() > v() && i(ft);
|
|
846
861
|
});
|
|
847
862
|
}
|
|
848
|
-
var
|
|
863
|
+
var dt = M(Ge, 2);
|
|
849
864
|
{
|
|
850
|
-
var
|
|
851
|
-
var
|
|
852
|
-
S(
|
|
865
|
+
var vt = (i) => {
|
|
866
|
+
var c = $t();
|
|
867
|
+
S(i, c);
|
|
853
868
|
};
|
|
854
|
-
|
|
855
|
-
|
|
869
|
+
F(dt, (i) => {
|
|
870
|
+
u(V) || i(vt);
|
|
856
871
|
});
|
|
857
872
|
}
|
|
858
|
-
b(
|
|
859
|
-
(
|
|
860
|
-
|
|
873
|
+
b(fe), R(
|
|
874
|
+
(i, c) => {
|
|
875
|
+
C(at, i), C(it, c), ke = U(Z, 1, "TournamentGamesContainer svelte-2ya82b", null, ke, { Hidden: u(N) === "sports" });
|
|
861
876
|
},
|
|
862
877
|
[
|
|
863
878
|
() => e()("gamesDescriptionTitle"),
|
|
864
879
|
() => e()("gamesDescriptionSubtitle")
|
|
865
880
|
]
|
|
866
|
-
), S(r,
|
|
867
|
-
var
|
|
868
|
-
return
|
|
881
|
+
), S(r, fe);
|
|
882
|
+
var mt = Re(ot);
|
|
883
|
+
return o(), mt;
|
|
869
884
|
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
885
|
+
ht(["click"]);
|
|
886
|
+
We(
|
|
887
|
+
qe,
|
|
873
888
|
{
|
|
874
889
|
initialGames: {},
|
|
875
890
|
endpoint: {},
|
|
@@ -884,74 +899,74 @@ Ne(
|
|
|
884
899
|
},
|
|
885
900
|
[],
|
|
886
901
|
[],
|
|
887
|
-
|
|
902
|
+
!0
|
|
888
903
|
);
|
|
889
|
-
function
|
|
890
|
-
|
|
891
|
-
let e = h(t, "initialGames"), n = h(t, "endpoint"),
|
|
892
|
-
var
|
|
904
|
+
function Je(r, t) {
|
|
905
|
+
Ne(t, !0);
|
|
906
|
+
let e = h(t, "initialGames"), n = h(t, "endpoint"), o = h(t, "language", 7, "en"), a = h(t, "session"), s = h(t, "tournamentid"), l = h(t, "gamesLimit", 7, 6), d = h(t, "totalGames"), w = h(t, "platformProp", 7, null), v = h(t, "tournamentMetadata"), T = h(t, "translationurl");
|
|
907
|
+
var j = {
|
|
893
908
|
get initialGames() {
|
|
894
909
|
return e();
|
|
895
910
|
},
|
|
896
|
-
set initialGames(
|
|
897
|
-
e(
|
|
911
|
+
set initialGames(p) {
|
|
912
|
+
e(p), y();
|
|
898
913
|
},
|
|
899
914
|
get endpoint() {
|
|
900
915
|
return n();
|
|
901
916
|
},
|
|
902
|
-
set endpoint(
|
|
903
|
-
n(
|
|
917
|
+
set endpoint(p) {
|
|
918
|
+
n(p), y();
|
|
904
919
|
},
|
|
905
920
|
get language() {
|
|
906
|
-
return
|
|
921
|
+
return o();
|
|
907
922
|
},
|
|
908
|
-
set language(
|
|
909
|
-
|
|
923
|
+
set language(p = "en") {
|
|
924
|
+
o(p), y();
|
|
910
925
|
},
|
|
911
926
|
get session() {
|
|
912
|
-
return
|
|
927
|
+
return a();
|
|
913
928
|
},
|
|
914
|
-
set session(
|
|
915
|
-
|
|
929
|
+
set session(p) {
|
|
930
|
+
a(p), y();
|
|
916
931
|
},
|
|
917
932
|
get tournamentid() {
|
|
918
|
-
return
|
|
933
|
+
return s();
|
|
919
934
|
},
|
|
920
|
-
set tournamentid(
|
|
921
|
-
|
|
935
|
+
set tournamentid(p) {
|
|
936
|
+
s(p), y();
|
|
922
937
|
},
|
|
923
938
|
get gamesLimit() {
|
|
924
|
-
return
|
|
939
|
+
return l();
|
|
925
940
|
},
|
|
926
|
-
set gamesLimit(
|
|
927
|
-
|
|
941
|
+
set gamesLimit(p = 6) {
|
|
942
|
+
l(p), y();
|
|
928
943
|
},
|
|
929
944
|
get totalGames() {
|
|
930
945
|
return d();
|
|
931
946
|
},
|
|
932
|
-
set totalGames(
|
|
933
|
-
d(
|
|
947
|
+
set totalGames(p) {
|
|
948
|
+
d(p), y();
|
|
934
949
|
},
|
|
935
950
|
get platformProp() {
|
|
936
951
|
return w();
|
|
937
952
|
},
|
|
938
|
-
set platformProp(
|
|
939
|
-
w(
|
|
953
|
+
set platformProp(p = null) {
|
|
954
|
+
w(p), y();
|
|
940
955
|
},
|
|
941
956
|
get tournamentMetadata() {
|
|
942
957
|
return v();
|
|
943
958
|
},
|
|
944
|
-
set tournamentMetadata(
|
|
945
|
-
v(
|
|
959
|
+
set tournamentMetadata(p) {
|
|
960
|
+
v(p), y();
|
|
946
961
|
},
|
|
947
962
|
get translationurl() {
|
|
948
|
-
return
|
|
963
|
+
return T();
|
|
949
964
|
},
|
|
950
|
-
set translationurl(
|
|
951
|
-
|
|
965
|
+
set translationurl(p) {
|
|
966
|
+
T(p), y();
|
|
952
967
|
}
|
|
953
968
|
};
|
|
954
|
-
return
|
|
969
|
+
return qe(r, {
|
|
955
970
|
get initialGames() {
|
|
956
971
|
return e();
|
|
957
972
|
},
|
|
@@ -959,19 +974,19 @@ function qe(r, t) {
|
|
|
959
974
|
return n();
|
|
960
975
|
},
|
|
961
976
|
get language() {
|
|
962
|
-
return
|
|
977
|
+
return o();
|
|
963
978
|
},
|
|
964
979
|
get translationurl() {
|
|
965
|
-
return
|
|
980
|
+
return T();
|
|
966
981
|
},
|
|
967
982
|
get session() {
|
|
968
|
-
return
|
|
983
|
+
return a();
|
|
969
984
|
},
|
|
970
985
|
get tournamentid() {
|
|
971
|
-
return
|
|
986
|
+
return s();
|
|
972
987
|
},
|
|
973
988
|
get gamesLimit() {
|
|
974
|
-
return
|
|
989
|
+
return l();
|
|
975
990
|
},
|
|
976
991
|
get totalGames() {
|
|
977
992
|
return d();
|
|
@@ -982,10 +997,10 @@ function qe(r, t) {
|
|
|
982
997
|
get tournamentMetadata() {
|
|
983
998
|
return v();
|
|
984
999
|
}
|
|
985
|
-
}),
|
|
1000
|
+
}), Re(j);
|
|
986
1001
|
}
|
|
987
|
-
customElements.define("tournament-games",
|
|
988
|
-
|
|
1002
|
+
customElements.define("tournament-games", We(
|
|
1003
|
+
Je,
|
|
989
1004
|
{
|
|
990
1005
|
initialGames: {},
|
|
991
1006
|
endpoint: {},
|
|
@@ -999,14 +1014,15 @@ customElements.define("tournament-games", Ne(
|
|
|
999
1014
|
translationurl: {}
|
|
1000
1015
|
},
|
|
1001
1016
|
[],
|
|
1002
|
-
[]
|
|
1017
|
+
[],
|
|
1018
|
+
!1
|
|
1003
1019
|
));
|
|
1004
|
-
const
|
|
1020
|
+
const nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1005
1021
|
__proto__: null,
|
|
1006
|
-
default:
|
|
1022
|
+
default: Je
|
|
1007
1023
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1008
1024
|
export {
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1025
|
+
Rt as R,
|
|
1026
|
+
qe as T,
|
|
1027
|
+
nr as a
|
|
1012
1028
|
};
|