@everymatrix/tournament-details-page 0.1.2 → 0.1.4
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-DgrFAkq4.js → TournamentDetails-BMenCmyc.js} +2 -2
- package/components/{TournamentDetails-DXDC_ZT1.js → TournamentDetails-DKJiK4kF.js} +2 -2
- package/components/{TournamentDetails--114uLDg.cjs → TournamentDetails-DpAkBfOc.cjs} +2 -2
- package/components/{TournamentDetailsPage-BL5YSX6c.js → TournamentDetailsPage-CuPo8QmD.js} +3 -3
- package/components/{TournamentDetailsPage-DBFnctSf.cjs → TournamentDetailsPage-Cwwspvbg.cjs} +1 -1
- package/components/{TournamentDetailsPage-CqwgEfgR.js → TournamentDetailsPage-h9UAjavK.js} +3 -3
- package/components/{TournamentGames-CWA8cn1W.js → TournamentGames-BcBd8Ehe.js} +149 -140
- package/components/{TournamentGames-32LeAEHF.js → TournamentGames-DPAJjMG1.js} +113 -104
- package/components/{TournamentGames--p8n0yMO.cjs → TournamentGames-H4Vm5pYZ.cjs} +11 -2
- package/components/TournamentLeaderboard-CBzkoTK0.js +870 -0
- package/components/TournamentLeaderboard-Dvecnzo5.cjs +34 -0
- package/components/TournamentLeaderboard-YkG0Ta4Y.js +854 -0
- 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
- package/components/TournamentLeaderboard-BCKfK_kj.js +0 -848
- package/components/TournamentLeaderboard-DFXwvz7Z.js +0 -832
- package/components/TournamentLeaderboard-Q44uv2lQ.cjs +0 -31
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var ge = (A, p, m) => new Promise((te,
|
|
2
|
-
var L = (
|
|
1
|
+
var ge = (A, p, m) => new Promise((te, H) => {
|
|
2
|
+
var L = (d) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
w(m.next(d));
|
|
5
5
|
} catch (B) {
|
|
6
|
-
|
|
6
|
+
H(B);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, W = (d) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
w(m.throw(d));
|
|
11
11
|
} catch (B) {
|
|
12
|
-
|
|
12
|
+
H(B);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, w = (d) => d.done ? te(d.value) : Promise.resolve(d.value).then(L, W);
|
|
15
|
+
w((m = m.apply(A, p)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as Je, $ as Ke, p as Xe, b as Qe, d as
|
|
18
|
-
function
|
|
17
|
+
import { a as Je, $ as Ke, p as Xe, b as Qe, d as y, u as Ve, e as he, j as C, L as Ye, P as Ze, w as P, i as M, g as a, t as D, y as k, H as E, f as u, h as $e, C as et, D as tt, s as at, k as x, m as T, n as l, v as Y, z as Z, q as $, r as ee, x as _, l as pe, A as nt, B as ot, E as i, N as be } from "./TournamentDetailsPage-h9UAjavK.js";
|
|
18
|
+
function xe(A, p) {
|
|
19
19
|
Je(A, p);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _e(A) {
|
|
22
22
|
Ke.set(A);
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const we = {
|
|
25
25
|
en: {
|
|
26
26
|
previousButton: "Previous",
|
|
27
27
|
nextButton: "Next",
|
|
@@ -43,8 +43,8 @@ const ye = {
|
|
|
43
43
|
noAvailableGames: "Henüz oyun yapılandırılmamış!"
|
|
44
44
|
}
|
|
45
45
|
}, rt = () => typeof window == "undefined";
|
|
46
|
-
var st =
|
|
47
|
-
const
|
|
46
|
+
var st = _('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'), it = _('<p class="svelte-p7mf8l"> </p>'), lt = _("<div></div>"), pt = _('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'), mt = _("<p> </p>"), ut = _('<div class="TournamentGameThumbnail svelte-p7mf8l"><div class="ImageContainer svelte-p7mf8l"><img class="svelte-p7mf8l"/> <div class="PlayButtonOverlay svelte-p7mf8l"><button class="PlayGameButton svelte-p7mf8l"> </button></div></div></div>'), ct = _('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'), vt = _("<button> </button>"), ft = _('<div><button class="PaginationButton svelte-p7mf8l"> </button> <div class="PageNumberWrapper svelte-p7mf8l"></div> <button class="PaginationButton svelte-p7mf8l"> </button></div>'), dt = _('<div class="PaginationSkeleton svelte-p7mf8l"><div class="PaginationSkeletonButton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationSkeletonButton svelte-p7mf8l"></div></div>'), gt = _('<div class="TournamentGamesWrapper svelte-p7mf8l"><div class="GamesDescription svelte-p7mf8l"><p class="GamesDescriptionTitle svelte-p7mf8l"> </p> <p class="GamesDescriptionSubTitle svelte-p7mf8l"> </p></div> <!> <!> <div><!></div> <!> <!></div>');
|
|
47
|
+
const ht = {
|
|
48
48
|
hash: "svelte-p7mf8l",
|
|
49
49
|
code: `.svelte-p7mf8l,
|
|
50
50
|
.svelte-p7mf8l::before,
|
|
@@ -72,71 +72,80 @@ const bt = {
|
|
|
72
72
|
|
|
73
73
|
@media (min-width: 750px) {.TournamentGamesTabs.svelte-p7mf8l {width:fit-content;}.PaginationWrapper.svelte-p7mf8l, .PaginationSkeleton.svelte-p7mf8l {justify-content:end;gap:10px;}.PaginationButton.svelte-p7mf8l {min-width:75px;}.PaginationSkeleton.svelte-p7mf8l {justify-content:end;gap:10px;.PaginationSkeletonButton:where(.svelte-p7mf8l) {width:auto;min-width:55px;}.PaginationNumberSkeleton:where(.svelte-p7mf8l) {width:35px;}}
|
|
74
74
|
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@media (max-width: 475px) {.TournamentGamesContainer.svelte-p7mf8l {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(150px, 100%), 1fr));}.PaginationWrapper.svelte-p7mf8l {& .PaginationButton:where(.svelte-p7mf8l) {font-size:11px;&.Number {font-size:11px;}}}.TournamentGamesTabs.svelte-p7mf8l {font-size:12px;}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media (max-width: 380px) {.TournamentGamesContainer.svelte-p7mf8l {grid-template-columns:repeat(auto-fill, minmax(min(145px, 100%), 1fr));}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@media (min-width: 1500px) {.TournamentGamesContainer.svelte-p7mf8l {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(215px, 100%), 1fr));}
|
|
75
84
|
}.Hidden.svelte-p7mf8l {display:none;}`
|
|
76
85
|
};
|
|
77
|
-
function
|
|
78
|
-
var
|
|
79
|
-
Xe(p, !0), Qe(A,
|
|
80
|
-
const m = () => et(tt, "$_", te), [te,
|
|
86
|
+
function bt(A, p) {
|
|
87
|
+
var de;
|
|
88
|
+
Xe(p, !0), Qe(A, ht);
|
|
89
|
+
const m = () => et(tt, "$_", te), [te, H] = at(), L = y(p, "initialGames"), W = y(p, "endpoint"), w = y(p, "language", 7, "en"), d = y(p, "session"), B = y(p, "tournamentid"), g = y(p, "gamesLimit", 7, 6), z = y(p, "totalGames"), ae = y(p, "platformProp", 7, null), O = y(p, "tournamentMetadata"), I = y(p, "translationurl"), ye = () => {
|
|
81
90
|
let e = new URL(I());
|
|
82
91
|
fetch(e.href).then((t) => t.json()).then((t) => {
|
|
83
92
|
Object.keys(t).forEach((n) => {
|
|
84
|
-
|
|
93
|
+
xe(n, t[n]);
|
|
85
94
|
});
|
|
86
95
|
}).catch((t) => {
|
|
87
96
|
console.log(t);
|
|
88
97
|
});
|
|
89
98
|
};
|
|
90
|
-
Object.keys(
|
|
91
|
-
|
|
92
|
-
}),
|
|
93
|
-
const
|
|
94
|
-
|
|
99
|
+
Object.keys(we).forEach((e) => {
|
|
100
|
+
xe(e, we[e]);
|
|
101
|
+
}), _e(w());
|
|
102
|
+
const Pe = () => {
|
|
103
|
+
_e(w());
|
|
95
104
|
};
|
|
96
105
|
Ve(() => {
|
|
97
|
-
I() &&
|
|
98
|
-
}),
|
|
99
|
-
|
|
106
|
+
I() && ye();
|
|
107
|
+
}), he(() => {
|
|
108
|
+
Pe();
|
|
100
109
|
});
|
|
101
|
-
let ne =
|
|
102
|
-
const
|
|
110
|
+
let ne = C(Ye(L() || [])), U = C(!1), h = C(0), F = C(void 0), q = C(!0);
|
|
111
|
+
const ke = rt() ? (de = ae()) != null ? de : "dk" : Ze(window.navigator.userAgent), oe = () => ge(this, null, function* () {
|
|
103
112
|
if (re.has(a(J)))
|
|
104
113
|
return;
|
|
105
|
-
|
|
106
|
-
const e = new URL(`${
|
|
107
|
-
|
|
114
|
+
x(U, !0);
|
|
115
|
+
const e = new URL(`${W()}/v1/tournaments/${B()}`), t = new Headers();
|
|
116
|
+
d() && t.append("X-SessionId", d());
|
|
108
117
|
const n = { method: "GET", headers: t };
|
|
109
|
-
e.searchParams.append("filter", `id=${B()}`), e.searchParams.append("language",
|
|
110
|
-
var
|
|
111
|
-
|
|
112
|
-
}).catch((o) => console.log(o)).finally(() =>
|
|
118
|
+
e.searchParams.append("filter", `id=${B()}`), e.searchParams.append("language", w()), e.searchParams.append("expand", "games"), e.searchParams.append("pagination", `games(limit=${g()},offset=${a(h)})`), e.searchParams.append("platform", ke), fetch(e, n).then((o) => o.json()).then((o) => {
|
|
119
|
+
var f, r;
|
|
120
|
+
x(ne, (r = (f = o == null ? void 0 : o.item) == null ? void 0 : f.games) == null ? void 0 : r.items, !0), re.set(a(J), a(ne)), a(q) || x(q, !0);
|
|
121
|
+
}).catch((o) => console.log(o)).finally(() => x(U, !1));
|
|
113
122
|
}), Te = () => {
|
|
114
|
-
const e = Math.ceil(
|
|
123
|
+
const e = Math.ceil(z() / g()), t = Math.floor(a(h) / g()) + 1;
|
|
115
124
|
if (e <= 5)
|
|
116
|
-
return Array.from({ length: e }, (o,
|
|
125
|
+
return Array.from({ length: e }, (o, f) => f + 1);
|
|
117
126
|
const n = [];
|
|
118
127
|
return n.push(1), t <= 3 ? (n.push(2, 3), n.push("..."), n.push(e)) : t >= e - 2 ? (n.push("..."), n.push(e - 2, e - 1, e)) : (n.push("..."), n.push(t - 1, t, t + 1), n.push("..."), n.push(e)), n;
|
|
119
128
|
}, Ge = () => {
|
|
120
|
-
a(
|
|
129
|
+
a(h) < z() && (x(h, a(h) + g()), oe());
|
|
121
130
|
}, Se = () => {
|
|
122
|
-
a(
|
|
131
|
+
a(h) !== 0 && (x(h, a(h) - g()), oe());
|
|
123
132
|
}, Ae = (e) => {
|
|
124
|
-
|
|
125
|
-
}, Be = pe(Te), J = pe(() => Math.floor(a(
|
|
133
|
+
x(h, (e - 1) * g()), oe();
|
|
134
|
+
}, Be = pe(Te), J = pe(() => Math.floor(a(h) / g()) + 1);
|
|
126
135
|
let re = /* @__PURE__ */ new Map([[1, L()]]), Ne = pe(() => {
|
|
127
136
|
var e;
|
|
128
137
|
return (e = re.get(a(J))) != null ? e : [];
|
|
129
|
-
}), N =
|
|
138
|
+
}), N = C("casino");
|
|
130
139
|
const De = () => {
|
|
131
140
|
var n;
|
|
132
|
-
if (!
|
|
133
|
-
const e = (n =
|
|
141
|
+
if (!O()) return;
|
|
142
|
+
const e = (n = O().sports) == null ? void 0 : n.rules;
|
|
134
143
|
let t;
|
|
135
144
|
if (e)
|
|
136
145
|
try {
|
|
137
|
-
t = JSON.parse(e),
|
|
146
|
+
t = JSON.parse(e), x(F, t[w()] || t["*"], !0);
|
|
138
147
|
} catch (o) {
|
|
139
|
-
console.log(o),
|
|
148
|
+
console.log(o), x(F, `${m()("sportsRulesParseError")}`);
|
|
140
149
|
}
|
|
141
150
|
}, je = (e) => {
|
|
142
151
|
window.postMessage(
|
|
@@ -150,8 +159,8 @@ function ht(A, p) {
|
|
|
150
159
|
window.location.href
|
|
151
160
|
);
|
|
152
161
|
};
|
|
153
|
-
|
|
154
|
-
Object.keys(
|
|
162
|
+
he(() => {
|
|
163
|
+
Object.keys(O()).length !== 0 && De();
|
|
155
164
|
});
|
|
156
165
|
var Me = {
|
|
157
166
|
get initialGames() {
|
|
@@ -161,22 +170,22 @@ function ht(A, p) {
|
|
|
161
170
|
L(e), T();
|
|
162
171
|
},
|
|
163
172
|
get endpoint() {
|
|
164
|
-
return
|
|
173
|
+
return W();
|
|
165
174
|
},
|
|
166
175
|
set endpoint(e) {
|
|
167
|
-
|
|
176
|
+
W(e), T();
|
|
168
177
|
},
|
|
169
178
|
get language() {
|
|
170
|
-
return
|
|
179
|
+
return w();
|
|
171
180
|
},
|
|
172
181
|
set language(e = "en") {
|
|
173
|
-
|
|
182
|
+
w(e), T();
|
|
174
183
|
},
|
|
175
184
|
get session() {
|
|
176
|
-
return
|
|
185
|
+
return d();
|
|
177
186
|
},
|
|
178
187
|
set session(e) {
|
|
179
|
-
|
|
188
|
+
d(e), T();
|
|
180
189
|
},
|
|
181
190
|
get tournamentid() {
|
|
182
191
|
return B();
|
|
@@ -191,10 +200,10 @@ function ht(A, p) {
|
|
|
191
200
|
g(e), T();
|
|
192
201
|
},
|
|
193
202
|
get totalGames() {
|
|
194
|
-
return
|
|
203
|
+
return z();
|
|
195
204
|
},
|
|
196
205
|
set totalGames(e) {
|
|
197
|
-
|
|
206
|
+
z(e), T();
|
|
198
207
|
},
|
|
199
208
|
get platformProp() {
|
|
200
209
|
return ae();
|
|
@@ -203,10 +212,10 @@ function ht(A, p) {
|
|
|
203
212
|
ae(e), T();
|
|
204
213
|
},
|
|
205
214
|
get tournamentMetadata() {
|
|
206
|
-
return
|
|
215
|
+
return O();
|
|
207
216
|
},
|
|
208
217
|
set tournamentMetadata(e) {
|
|
209
|
-
|
|
218
|
+
O(e), T();
|
|
210
219
|
},
|
|
211
220
|
get translationurl() {
|
|
212
221
|
return I();
|
|
@@ -216,151 +225,151 @@ function ht(A, p) {
|
|
|
216
225
|
}
|
|
217
226
|
}, se = gt(), ie = l(se), le = l(ie), Ee = l(le, !0);
|
|
218
227
|
i(le);
|
|
219
|
-
var me =
|
|
228
|
+
var me = P(le, 2), Le = l(me, !0);
|
|
220
229
|
i(me), i(ie);
|
|
221
|
-
var
|
|
230
|
+
var ue = P(ie, 2);
|
|
222
231
|
{
|
|
223
|
-
var
|
|
232
|
+
var ze = (e) => {
|
|
224
233
|
var t = st(), n = l(t);
|
|
225
234
|
let o;
|
|
226
|
-
n.__click = () =>
|
|
227
|
-
var
|
|
235
|
+
n.__click = () => x(N, "casino");
|
|
236
|
+
var f = l(n, !0);
|
|
228
237
|
i(n);
|
|
229
|
-
var r =
|
|
238
|
+
var r = P(n, 2);
|
|
230
239
|
let s;
|
|
231
|
-
r.__click = () =>
|
|
232
|
-
var
|
|
240
|
+
r.__click = () => x(N, "sports");
|
|
241
|
+
var c = l(r, !0);
|
|
233
242
|
i(r), i(t), D(
|
|
234
|
-
(
|
|
235
|
-
o = E(n, 1, "Tab svelte-p7mf8l", null, o, { Active: a(N) === "casino" }),
|
|
243
|
+
(b, v) => {
|
|
244
|
+
o = E(n, 1, "Tab svelte-p7mf8l", null, o, { Active: a(N) === "casino" }), k(f, b), s = E(r, 1, "Tab svelte-p7mf8l", null, s, { Active: a(N) === "sports" }), k(c, v);
|
|
236
245
|
},
|
|
237
246
|
[() => m()("casinoTab"), () => m()("sportsbookTab")]
|
|
238
|
-
),
|
|
247
|
+
), u(e, t);
|
|
239
248
|
};
|
|
240
|
-
M(
|
|
241
|
-
Object.keys(
|
|
249
|
+
M(ue, (e) => {
|
|
250
|
+
Object.keys(O()).length !== 0 && e(ze);
|
|
242
251
|
});
|
|
243
252
|
}
|
|
244
|
-
var
|
|
253
|
+
var ce = P(ue, 2);
|
|
245
254
|
{
|
|
246
|
-
var
|
|
255
|
+
var Oe = (e) => {
|
|
247
256
|
var t = lt();
|
|
248
257
|
let n;
|
|
249
|
-
Y(t, 21, () => a(F), Z, (o,
|
|
258
|
+
Y(t, 21, () => a(F), Z, (o, f) => {
|
|
250
259
|
var r = it(), s = l(r);
|
|
251
|
-
i(r), D((
|
|
252
|
-
var
|
|
253
|
-
return
|
|
254
|
-
}, [() => m()("contribution")]),
|
|
255
|
-
}), i(t), D(() => n = E(t, 1, "TournamentRulesWrapper svelte-p7mf8l", null, n, { Hidden: a(N) === "casino" })),
|
|
260
|
+
i(r), D((c) => {
|
|
261
|
+
var b;
|
|
262
|
+
return k(s, `${(b = a(f).rule) != null ? b : ""} ${c != null ? c : ""}`);
|
|
263
|
+
}, [() => m()("contribution")]), u(o, r);
|
|
264
|
+
}), i(t), D(() => n = E(t, 1, "TournamentRulesWrapper svelte-p7mf8l", null, n, { Hidden: a(N) === "casino" })), u(e, t);
|
|
256
265
|
};
|
|
257
|
-
M(
|
|
258
|
-
a(F) && e(
|
|
266
|
+
M(ce, (e) => {
|
|
267
|
+
a(F) && e(Oe);
|
|
259
268
|
});
|
|
260
269
|
}
|
|
261
|
-
var K =
|
|
262
|
-
let
|
|
263
|
-
var
|
|
270
|
+
var K = P(ce, 2);
|
|
271
|
+
let ve;
|
|
272
|
+
var Ce = l(K);
|
|
264
273
|
{
|
|
265
|
-
var
|
|
274
|
+
var We = (e) => {
|
|
266
275
|
var t = $(), n = ee(t);
|
|
267
|
-
Y(n, 17, () => Array(g()), Z, (o,
|
|
268
|
-
var
|
|
269
|
-
|
|
270
|
-
}),
|
|
271
|
-
},
|
|
276
|
+
Y(n, 17, () => Array(g()), Z, (o, f, r, s) => {
|
|
277
|
+
var c = pt();
|
|
278
|
+
u(o, c);
|
|
279
|
+
}), u(e, t);
|
|
280
|
+
}, Re = (e) => {
|
|
272
281
|
var t = $(), n = ee(t);
|
|
273
282
|
{
|
|
274
283
|
var o = (r) => {
|
|
275
284
|
var s = mt();
|
|
276
|
-
let
|
|
277
|
-
var
|
|
285
|
+
let c;
|
|
286
|
+
var b = l(s, !0);
|
|
278
287
|
i(s), D(
|
|
279
|
-
(
|
|
280
|
-
|
|
288
|
+
(v) => {
|
|
289
|
+
c = E(s, 1, "NoGamesAvailable svelte-p7mf8l", null, c, { Hidden: a(N) === "sports" }), k(b, v);
|
|
281
290
|
},
|
|
282
291
|
[() => m()("noAvailableGames")]
|
|
283
|
-
),
|
|
284
|
-
},
|
|
285
|
-
var s = $(),
|
|
286
|
-
Y(
|
|
287
|
-
var j =
|
|
288
|
-
j.__click = () => je(a(
|
|
289
|
-
var X = l(j),
|
|
292
|
+
), u(r, s);
|
|
293
|
+
}, f = (r) => {
|
|
294
|
+
var s = $(), c = ee(s);
|
|
295
|
+
Y(c, 17, () => a(Ne), Z, (b, v) => {
|
|
296
|
+
var j = ut();
|
|
297
|
+
j.__click = () => je(a(v));
|
|
298
|
+
var X = l(j), R = l(X), Q = P(R, 2), G = l(Q), S = l(G, !0);
|
|
290
299
|
i(G), i(Q), i(X), i(j), D(
|
|
291
300
|
(V) => {
|
|
292
|
-
|
|
301
|
+
be(R, "src", `https:${a(v).thumbnail}`), be(R, "alt", a(v).name), k(S, V);
|
|
293
302
|
},
|
|
294
303
|
[() => m()("play")]
|
|
295
|
-
),
|
|
296
|
-
}),
|
|
304
|
+
), u(b, j);
|
|
305
|
+
}), u(r, s);
|
|
297
306
|
};
|
|
298
307
|
M(
|
|
299
308
|
n,
|
|
300
309
|
(r) => {
|
|
301
310
|
var s;
|
|
302
|
-
!a(U) && ((s = a(ne)) == null ? void 0 : s.length) === 0 ? r(o) : r(
|
|
311
|
+
!a(U) && ((s = a(ne)) == null ? void 0 : s.length) === 0 ? r(o) : r(f, !1);
|
|
303
312
|
},
|
|
304
313
|
!0
|
|
305
314
|
);
|
|
306
315
|
}
|
|
307
|
-
|
|
316
|
+
u(e, t);
|
|
308
317
|
};
|
|
309
|
-
M(
|
|
310
|
-
a(U) ? e(
|
|
318
|
+
M(Ce, (e) => {
|
|
319
|
+
a(U) ? e(We) : e(Re, !1);
|
|
311
320
|
});
|
|
312
321
|
}
|
|
313
322
|
i(K);
|
|
314
|
-
var
|
|
323
|
+
var fe = P(K, 2);
|
|
315
324
|
{
|
|
316
|
-
var
|
|
317
|
-
var t =
|
|
325
|
+
var He = (e) => {
|
|
326
|
+
var t = ft();
|
|
318
327
|
let n;
|
|
319
328
|
var o = l(t);
|
|
320
329
|
o.__click = Se;
|
|
321
|
-
var
|
|
330
|
+
var f = l(o, !0);
|
|
322
331
|
i(o);
|
|
323
|
-
var r =
|
|
324
|
-
Y(r, 21, () => a(Be), Z, (
|
|
332
|
+
var r = P(o, 2);
|
|
333
|
+
Y(r, 21, () => a(Be), Z, (b, v) => {
|
|
325
334
|
var j = $(), X = ee(j);
|
|
326
335
|
{
|
|
327
|
-
var
|
|
328
|
-
var S =
|
|
329
|
-
|
|
336
|
+
var R = (G) => {
|
|
337
|
+
var S = ct();
|
|
338
|
+
u(G, S);
|
|
330
339
|
}, Q = (G) => {
|
|
331
|
-
var S =
|
|
340
|
+
var S = vt();
|
|
332
341
|
let V;
|
|
333
|
-
S.__click = () => Ae(a(
|
|
342
|
+
S.__click = () => Ae(a(v));
|
|
334
343
|
var qe = l(S, !0);
|
|
335
344
|
i(S), D(() => {
|
|
336
|
-
V = E(S, 1, "PaginationButton Number svelte-p7mf8l", null, V, { Active: a(
|
|
337
|
-
}),
|
|
345
|
+
V = E(S, 1, "PaginationButton Number svelte-p7mf8l", null, V, { Active: a(v) === a(J) }), k(qe, a(v));
|
|
346
|
+
}), u(G, S);
|
|
338
347
|
};
|
|
339
348
|
M(X, (G) => {
|
|
340
|
-
typeof a(
|
|
349
|
+
typeof a(v) != "number" ? G(R) : G(Q, !1);
|
|
341
350
|
});
|
|
342
351
|
}
|
|
343
|
-
|
|
352
|
+
u(b, j);
|
|
344
353
|
}), i(r);
|
|
345
|
-
var s =
|
|
354
|
+
var s = P(r, 2);
|
|
346
355
|
s.__click = Ge;
|
|
347
|
-
var
|
|
356
|
+
var c = l(s, !0);
|
|
348
357
|
i(s), i(t), D(
|
|
349
|
-
(
|
|
350
|
-
n = E(t, 1, "PaginationWrapper svelte-p7mf8l", null, n, { Hidden: a(N) === "sports" }), o.disabled = a(
|
|
358
|
+
(b, v) => {
|
|
359
|
+
n = E(t, 1, "PaginationWrapper svelte-p7mf8l", null, n, { Hidden: a(N) === "sports" }), o.disabled = a(h) === 0, k(f, b), s.disabled = a(h) >= z() - g(), k(c, v);
|
|
351
360
|
},
|
|
352
361
|
[() => m()("previousButton"), () => m()("nextButton")]
|
|
353
|
-
),
|
|
362
|
+
), u(e, t);
|
|
354
363
|
};
|
|
355
|
-
M(
|
|
356
|
-
a(q) &&
|
|
364
|
+
M(fe, (e) => {
|
|
365
|
+
a(q) && z() > g() && e(He);
|
|
357
366
|
});
|
|
358
367
|
}
|
|
359
|
-
var Ie =
|
|
368
|
+
var Ie = P(fe, 2);
|
|
360
369
|
{
|
|
361
370
|
var Ue = (e) => {
|
|
362
|
-
var t =
|
|
363
|
-
|
|
371
|
+
var t = dt();
|
|
372
|
+
u(e, t);
|
|
364
373
|
};
|
|
365
374
|
M(Ie, (e) => {
|
|
366
375
|
a(q) || e(Ue);
|
|
@@ -368,19 +377,19 @@ function ht(A, p) {
|
|
|
368
377
|
}
|
|
369
378
|
i(se), D(
|
|
370
379
|
(e, t) => {
|
|
371
|
-
|
|
380
|
+
k(Ee, e), k(Le, t), ve = E(K, 1, "TournamentGamesContainer svelte-p7mf8l", null, ve, { Hidden: a(N) === "sports" });
|
|
372
381
|
},
|
|
373
382
|
[
|
|
374
383
|
() => m()("gamesDescriptionTitle"),
|
|
375
384
|
() => m()("gamesDescriptionSubtitle")
|
|
376
385
|
]
|
|
377
|
-
),
|
|
386
|
+
), u(A, se);
|
|
378
387
|
var Fe = $e(Me);
|
|
379
|
-
return
|
|
388
|
+
return H(), Fe;
|
|
380
389
|
}
|
|
381
390
|
nt(["click"]);
|
|
382
391
|
customElements.define("tournament-games", ot(
|
|
383
|
-
|
|
392
|
+
bt,
|
|
384
393
|
{
|
|
385
394
|
initialGames: {},
|
|
386
395
|
endpoint: {},
|
|
@@ -398,5 +407,5 @@ customElements.define("tournament-games", ot(
|
|
|
398
407
|
!1
|
|
399
408
|
));
|
|
400
409
|
export {
|
|
401
|
-
|
|
410
|
+
bt as default
|
|
402
411
|
};
|