@everymatrix/tournament-details-page 0.0.5 → 0.0.6
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 +7 -0
- package/components/{TournamentDetails-ByOP8vGa.js → TournamentDetails-DIfQFrc8.js} +1814 -1812
- package/components/{TournamentDetails-DIGjTSwQ.js → TournamentDetails-wSkU01Xy.js} +1913 -1911
- package/components/{TournamentDetailsPage-Dlv02xHw.js → TournamentDetailsPage-9QiBj_5p.js} +161 -161
- package/components/{TournamentDetailsPage-CpVOLote.cjs → TournamentDetailsPage-du8_rjJX.cjs} +4 -4
- package/components/{TournamentDetailsPage-CPVEgDYR.js → TournamentDetailsPage-rE5SsAXj.js} +107 -107
- package/components/{TournamentGames-3vEVB6E0.js → TournamentGames-Dxvil6j2.js} +146 -139
- package/components/{TournamentGames-0cZY55hS.js → TournamentGames-EuHRBJf0.js} +131 -124
- package/components/TournamentGames-o7mTC32n.cjs +27 -0
- package/components/{TournamentLeaderboard-D7ktm7ED.js → TournamentLeaderboard-BgywP9Jb.js} +135 -135
- package/components/{TournamentLeaderboard-CXLrlJUG.cjs → TournamentLeaderboard-m4CZolTW.cjs} +7 -7
- package/components/{TournamentLeaderboard-nb3ySbAn.js → TournamentLeaderboard-ncHvraaw.js} +218 -218
- 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/TournamentDetails-2nXu_Fl0.cjs +0 -7
- package/components/TournamentGames-54X0-O5B.cjs +0 -26
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var ce = (T, d,
|
|
2
|
-
var
|
|
1
|
+
var ce = (T, d, m) => new Promise((V, H) => {
|
|
2
|
+
var j = (u) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
x(m.next(u));
|
|
5
5
|
} catch (G) {
|
|
6
|
-
|
|
6
|
+
H(G);
|
|
7
7
|
}
|
|
8
|
-
}, W = (
|
|
8
|
+
}, W = (u) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
x(m.throw(u));
|
|
11
11
|
} catch (G) {
|
|
12
|
-
|
|
12
|
+
H(G);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, x = (u) => u.done ? V(u.value) : Promise.resolve(u.value).then(j, W);
|
|
15
|
+
x((m = m.apply(T, d)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as Fe, $ as
|
|
18
|
-
import { g as
|
|
19
|
-
function
|
|
17
|
+
import { a as Fe, $ as Xe, m as Ue, e as Je, p as P, u as de, s as z, f as qe, g as _, r as w, q as i, i as D, n as a, y as B, C as Ke, E as y, A as M, h as c, j as Qe, k as Ve, F as Ye, w as k, l as S, J, K as q, I as K, x as Q, L as oe, t as Ze, v as $e, B as r, D as fe } from "./TournamentDetails-wSkU01Xy.js";
|
|
18
|
+
import { g as et } from "./TournamentDetailsPage-9QiBj_5p.js";
|
|
19
|
+
function tt(T, d) {
|
|
20
20
|
Fe(T, d);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
22
|
+
function ue(T) {
|
|
23
|
+
Xe.set(T);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const ge = {
|
|
26
26
|
en: {
|
|
27
27
|
previousButton: "Previous",
|
|
28
28
|
nextButton: "Next",
|
|
@@ -40,7 +40,7 @@ const ue = {
|
|
|
40
40
|
sportsbookTab: "Sportsbook"
|
|
41
41
|
}
|
|
42
42
|
}, at = () => typeof window == "undefined";
|
|
43
|
-
var nt = _('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'), ot = _('<p class="svelte-p7mf8l"> </p>'), st = _("<div></div>"), rt = _('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'), lt = _('<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>'), it = _('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'), pt = _("<button> </button>"), mt = _('<div><button class="PaginationButton svelte-p7mf8l"> </button> <div class="PageNumberWrapper svelte-p7mf8l"></div> <button class="PaginationButton svelte-p7mf8l"> </button></div>'), vt = _(
|
|
43
|
+
var nt = _('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'), ot = _('<p class="svelte-p7mf8l"> </p>'), st = _("<div></div>"), rt = _('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'), lt = _('<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>'), it = _('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'), pt = _("<button> </button>"), mt = _('<div><button class="PaginationButton svelte-p7mf8l"> </button> <div class="PageNumberWrapper svelte-p7mf8l"></div> <button class="PaginationButton svelte-p7mf8l"> </button></div>'), vt = _("<p> </p>"), ct = _('<div class="PaginationSkeleton svelte-p7mf8l"><div class="PaginationSkeletonButton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationSkeletonButton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div></div>'), dt = _('<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>');
|
|
44
44
|
const ft = {
|
|
45
45
|
hash: "svelte-p7mf8l",
|
|
46
46
|
code: `.svelte-p7mf8l,
|
|
@@ -50,7 +50,7 @@ const ft = {
|
|
|
50
50
|
var(--emw-color-primary, #FF1D4E),
|
|
51
51
|
transparent
|
|
52
52
|
);background-size:100% 200%;
|
|
53
|
-
animation: pulse 1.5s ease-in-out infinite;}.ImageContainer:where(.svelte-p7mf8l) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;}img:where(.svelte-p7mf8l) {position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:6px;}.PlayButtonOverlay:where(.svelte-p7mf8l) {position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(0, 0, 0, 0.6);display:flex;justify-content:center;align-items:center;opacity:0;&:hover {opacity:1;transition:opacity 0.5s;}.PlayGameButton:where(.svelte-p7mf8l) {background-color:var(--emw-color-primary, #FF1D4E);border-radius:6px;color:var(--emw-color-typography, #ffffff);padding:10px;border:none;outline:none;min-width:50%;cursor:pointer;&:hover {background-color:var(--emw-color-primary-hover, #ff3a65);cursor:pointer;}&:active {transform:scale(0.9);}}}}.PaginationWrapper.svelte-p7mf8l {display:flex;justify-content:space-between;.PageNumberWrapper:where(.svelte-p7mf8l) {display:flex;gap:3px;}.PaginationButton:where(.svelte-p7mf8l) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography, #ffffff);border-radius:6px;border:none;outline:none;padding:10px;width:auto;cursor:pointer;&.Number {background-color:transparent;min-width:0;padding:0 10px;}&:hover {background-color:var(--emw-color-bg-elements, #4A4A4A);cursor:pointer;}&:active {transform:scale(0.9);}&:disabled {opacity:60%;pointer-events:none;}&.Active {background-color:var(--emw-color-bg-elements, #4A4A4A);}&.Elipsis {pointer-events:none;background-color:transparent;min-width:0;padding:0;align-self:center;}}}.NoGamesAvailable.svelte-p7mf8l {color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:300;}.PaginationSkeleton.svelte-p7mf8l {display:flex;justify-content:space-between;gap:6px;}.PaginationSkeletonButton.svelte-p7mf8l {width:80px;height:
|
|
53
|
+
animation: pulse 1.5s ease-in-out infinite;}.ImageContainer:where(.svelte-p7mf8l) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;}img:where(.svelte-p7mf8l) {position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:6px;}.PlayButtonOverlay:where(.svelte-p7mf8l) {position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(0, 0, 0, 0.6);display:flex;justify-content:center;align-items:center;opacity:0;&:hover {opacity:1;transition:opacity 0.5s;}.PlayGameButton:where(.svelte-p7mf8l) {background-color:var(--emw-color-primary, #FF1D4E);border-radius:6px;color:var(--emw-color-typography, #ffffff);padding:10px;border:none;outline:none;min-width:50%;cursor:pointer;&:hover {background-color:var(--emw-color-primary-hover, #ff3a65);cursor:pointer;}&:active {transform:scale(0.9);}}}}.PaginationWrapper.svelte-p7mf8l {display:flex;justify-content:space-between;.PageNumberWrapper:where(.svelte-p7mf8l) {display:flex;gap:3px;}.PaginationButton:where(.svelte-p7mf8l) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography, #ffffff);border-radius:6px;border:none;outline:none;padding:10px;width:auto;cursor:pointer;&.Number {background-color:transparent;min-width:0;padding:0 10px;}&:hover {background-color:var(--emw-color-bg-elements, #4A4A4A);cursor:pointer;}&:active {transform:scale(0.9);}&:disabled {opacity:60%;pointer-events:none;}&.Active {background-color:var(--emw-color-bg-elements, #4A4A4A);}&.Elipsis {pointer-events:none;background-color:transparent;min-width:0;padding:0;align-self:center;}}}.NoGamesAvailable.svelte-p7mf8l {color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:300;}.PaginationSkeleton.svelte-p7mf8l {display:flex;justify-content:space-between;gap:6px;}.PaginationSkeletonButton.svelte-p7mf8l {width:80px;height:35px;border-radius:6px;background-color:var(--emw-color-bg-elements, #4A4A4A);overflow:hidden;position:relative;}.PaginationNumberSkeleton.svelte-p7mf8l {width:40px;height:35px;border-radius:6px;background-color:var(--emw-color-bg-elements, #4A4A4A);overflow:hidden;position:relative;}.SkeletonShimmer.svelte-p7mf8l {width:100%;height:100%;background:linear-gradient(
|
|
54
54
|
90deg,
|
|
55
55
|
transparent 0%,
|
|
56
56
|
var(--emw-color-skeleton, #333232) 50%,
|
|
@@ -67,69 +67,69 @@ const ft = {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
@media (min-width: 750px) {.TournamentGamesTabs.svelte-p7mf8l {width:fit-content;}.PaginationWrapper.svelte-p7mf8l {justify-content:end;gap:10px;}.PaginationButton.svelte-p7mf8l {width:auto;min-width:
|
|
70
|
+
@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;}}
|
|
71
|
+
|
|
71
72
|
}.Hidden.svelte-p7mf8l {display:none;}`
|
|
72
73
|
};
|
|
73
74
|
function ut(T, d) {
|
|
74
75
|
var me;
|
|
75
|
-
|
|
76
|
-
const
|
|
77
|
-
Object.keys(
|
|
78
|
-
|
|
79
|
-
});
|
|
80
|
-
const
|
|
81
|
-
|
|
76
|
+
Ue(d, !0), Je(T, ft);
|
|
77
|
+
const m = () => Ke(Ye, "$_", V), [V, H] = Ve(), j = P(d, "initialGames"), W = P(d, "endpoint"), x = P(d, "language", 7, "en"), u = P(d, "session"), G = P(d, "tournamentid"), b = P(d, "gamesLimit", 7, 6), C = P(d, "totalGames"), Y = P(d, "platformProp", 7, null), E = P(d, "tournamentMetadata");
|
|
78
|
+
Object.keys(ge).forEach((e) => {
|
|
79
|
+
tt(e, ge[e]);
|
|
80
|
+
}), ue(x());
|
|
81
|
+
const be = () => {
|
|
82
|
+
ue(x());
|
|
82
83
|
};
|
|
83
84
|
de(() => {
|
|
84
|
-
|
|
85
|
+
be();
|
|
85
86
|
});
|
|
86
|
-
let R = z(
|
|
87
|
-
const
|
|
88
|
-
if ($.has(a(
|
|
87
|
+
let R = z(qe(j() || [])), L = z(!1), g = z(0), I = z(void 0);
|
|
88
|
+
const he = at() ? (me = Y()) != null ? me : "dk" : et(window.navigator.userAgent), Z = () => ce(this, null, function* () {
|
|
89
|
+
if ($.has(a(F)))
|
|
89
90
|
return;
|
|
90
|
-
|
|
91
|
+
k(L, !0);
|
|
91
92
|
const e = new URL(`${W()}/v1/tournaments/${G()}`), t = new Headers();
|
|
92
|
-
|
|
93
|
+
u() && t.append("X-SessionId", u());
|
|
93
94
|
const n = { method: "GET", headers: t };
|
|
94
|
-
e.searchParams.append("filter", `id=${G()}`), e.searchParams.append("language",
|
|
95
|
+
e.searchParams.append("filter", `id=${G()}`), e.searchParams.append("language", x()), e.searchParams.append("expand", "games"), e.searchParams.append("pagination", `games(limit=${b()},offset=${a(g)})`), e.searchParams.append("platform", he), fetch(e, n).then((s) => s.json()).then((s) => {
|
|
95
96
|
var l, o;
|
|
96
|
-
|
|
97
|
-
}).catch((s) => console.log(s)).finally(() =>
|
|
98
|
-
}),
|
|
99
|
-
const e = Math.ceil(C() /
|
|
97
|
+
k(R, (o = (l = s == null ? void 0 : s.item) == null ? void 0 : l.games) == null ? void 0 : o.items, !0), $.set(a(F), a(R));
|
|
98
|
+
}).catch((s) => console.log(s)).finally(() => k(L, !1));
|
|
99
|
+
}), _e = () => {
|
|
100
|
+
const e = Math.ceil(C() / b()), t = Math.floor(a(g) / b()) + 1;
|
|
100
101
|
if (e <= 5)
|
|
101
102
|
return Array.from({ length: e }, (s, l) => l + 1);
|
|
102
103
|
const n = [];
|
|
103
104
|
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;
|
|
104
|
-
}, _e = () => {
|
|
105
|
-
a(u) < C() && (y(u, a(u) + g()), Z());
|
|
106
105
|
}, xe = () => {
|
|
107
|
-
a(
|
|
108
|
-
}, we = (
|
|
109
|
-
|
|
110
|
-
}, ye =
|
|
111
|
-
|
|
106
|
+
a(g) < C() && (k(g, a(g) + b()), Z());
|
|
107
|
+
}, we = () => {
|
|
108
|
+
a(g) !== 0 && (k(g, a(g) - b()), Z());
|
|
109
|
+
}, ye = (e) => {
|
|
110
|
+
k(g, (e - 1) * b()), Z();
|
|
111
|
+
}, ke = oe(_e), F = oe(() => Math.floor(a(g) / b()) + 1);
|
|
112
|
+
let $ = /* @__PURE__ */ new Map([[1, j()]]), Pe = oe(() => {
|
|
112
113
|
var e;
|
|
113
|
-
return (e = $.get(a(
|
|
114
|
-
}),
|
|
115
|
-
const
|
|
114
|
+
return (e = $.get(a(F))) != null ? e : [];
|
|
115
|
+
}), A = z("casino");
|
|
116
|
+
const Se = () => {
|
|
116
117
|
var n;
|
|
117
|
-
if (!
|
|
118
|
-
const e = (n =
|
|
118
|
+
if (!E()) return;
|
|
119
|
+
const e = (n = E().sports) == null ? void 0 : n.rules;
|
|
119
120
|
let t;
|
|
120
121
|
if (e)
|
|
121
122
|
try {
|
|
122
|
-
t = JSON.parse(e),
|
|
123
|
+
t = JSON.parse(e), k(I, t[x()] || t["*"], !0);
|
|
123
124
|
} catch (s) {
|
|
124
|
-
console.log(s),
|
|
125
|
+
console.log(s), k(I, `${m()("sportsRulesParseError")}`);
|
|
125
126
|
}
|
|
126
|
-
},
|
|
127
|
+
}, Te = (e) => {
|
|
127
128
|
window.postMessage(
|
|
128
129
|
{
|
|
129
130
|
type: "Tournaments:PlayGame",
|
|
130
131
|
launchUrl: e.launchUrl,
|
|
131
132
|
id: e.gameId,
|
|
132
|
-
platform: e.platform,
|
|
133
133
|
thumbnail: e.thumbnail,
|
|
134
134
|
name: e.name
|
|
135
135
|
},
|
|
@@ -137,14 +137,14 @@ function ut(T, d) {
|
|
|
137
137
|
);
|
|
138
138
|
};
|
|
139
139
|
de(() => {
|
|
140
|
-
Object.keys(
|
|
140
|
+
Object.keys(E()).length !== 0 && Se();
|
|
141
141
|
});
|
|
142
|
-
var
|
|
142
|
+
var Ge = {
|
|
143
143
|
get initialGames() {
|
|
144
|
-
return
|
|
144
|
+
return j();
|
|
145
145
|
},
|
|
146
146
|
set initialGames(e) {
|
|
147
|
-
|
|
147
|
+
j(e), S();
|
|
148
148
|
},
|
|
149
149
|
get endpoint() {
|
|
150
150
|
return W();
|
|
@@ -153,16 +153,16 @@ function ut(T, d) {
|
|
|
153
153
|
W(e), S();
|
|
154
154
|
},
|
|
155
155
|
get language() {
|
|
156
|
-
return
|
|
156
|
+
return x();
|
|
157
157
|
},
|
|
158
158
|
set language(e = "en") {
|
|
159
|
-
|
|
159
|
+
x(e), S();
|
|
160
160
|
},
|
|
161
161
|
get session() {
|
|
162
|
-
return
|
|
162
|
+
return u();
|
|
163
163
|
},
|
|
164
164
|
set session(e) {
|
|
165
|
-
|
|
165
|
+
u(e), S();
|
|
166
166
|
},
|
|
167
167
|
get tournamentid() {
|
|
168
168
|
return G();
|
|
@@ -171,10 +171,10 @@ function ut(T, d) {
|
|
|
171
171
|
G(e), S();
|
|
172
172
|
},
|
|
173
173
|
get gamesLimit() {
|
|
174
|
-
return
|
|
174
|
+
return b();
|
|
175
175
|
},
|
|
176
176
|
set gamesLimit(e = 6) {
|
|
177
|
-
|
|
177
|
+
b(e), S();
|
|
178
178
|
},
|
|
179
179
|
get totalGames() {
|
|
180
180
|
return C();
|
|
@@ -189,137 +189,144 @@ function ut(T, d) {
|
|
|
189
189
|
Y(e), S();
|
|
190
190
|
},
|
|
191
191
|
get tournamentMetadata() {
|
|
192
|
-
return
|
|
192
|
+
return E();
|
|
193
193
|
},
|
|
194
194
|
set tournamentMetadata(e) {
|
|
195
|
-
|
|
195
|
+
E(e), S();
|
|
196
196
|
}
|
|
197
|
-
}, ee = dt(), te = i(ee), ae = i(te),
|
|
197
|
+
}, ee = dt(), te = i(ee), ae = i(te), Ae = i(ae, !0);
|
|
198
198
|
r(ae);
|
|
199
|
-
var se =
|
|
199
|
+
var se = w(ae, 2), Be = i(se, !0);
|
|
200
200
|
r(se), r(te);
|
|
201
|
-
var re =
|
|
201
|
+
var re = w(te, 2);
|
|
202
202
|
{
|
|
203
|
-
var
|
|
203
|
+
var Ne = (e) => {
|
|
204
204
|
var t = nt(), n = i(t);
|
|
205
205
|
let s;
|
|
206
|
-
n.__click = () =>
|
|
206
|
+
n.__click = () => k(A, "casino");
|
|
207
207
|
var l = i(n, !0);
|
|
208
208
|
r(n);
|
|
209
|
-
var o =
|
|
210
|
-
let
|
|
211
|
-
o.__click = () =>
|
|
209
|
+
var o = w(n, 2);
|
|
210
|
+
let p;
|
|
211
|
+
o.__click = () => k(A, "sports");
|
|
212
212
|
var v = i(o, !0);
|
|
213
|
-
r(o), r(t),
|
|
214
|
-
(
|
|
215
|
-
s =
|
|
213
|
+
r(o), r(t), B(
|
|
214
|
+
(f, h) => {
|
|
215
|
+
s = M(n, 1, "Tab svelte-p7mf8l", null, s, { Active: a(A) === "casino" }), y(l, f), p = M(o, 1, "Tab svelte-p7mf8l", null, p, { Active: a(A) === "sports" }), y(v, h);
|
|
216
216
|
},
|
|
217
|
-
[() =>
|
|
217
|
+
[() => m()("casinoTab"), () => m()("sportsbookTab")]
|
|
218
218
|
), c(e, t);
|
|
219
219
|
};
|
|
220
220
|
D(re, (e) => {
|
|
221
|
-
Object.keys(
|
|
221
|
+
Object.keys(E()).length !== 0 && e(Ne);
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
var le =
|
|
224
|
+
var le = w(re, 2);
|
|
225
225
|
{
|
|
226
|
-
var
|
|
226
|
+
var De = (e) => {
|
|
227
227
|
var t = st();
|
|
228
228
|
let n;
|
|
229
|
-
J(t, 21, () => a(
|
|
230
|
-
var o = ot(),
|
|
231
|
-
r(o),
|
|
232
|
-
var
|
|
233
|
-
return
|
|
234
|
-
}, [() =>
|
|
235
|
-
}), r(t),
|
|
229
|
+
J(t, 21, () => a(I), q, (s, l) => {
|
|
230
|
+
var o = ot(), p = i(o);
|
|
231
|
+
r(o), B((v) => {
|
|
232
|
+
var f;
|
|
233
|
+
return y(p, `${(f = a(l).rule) != null ? f : ""} ${v != null ? v : ""}`);
|
|
234
|
+
}, [() => m()("contribution")]), c(s, o);
|
|
235
|
+
}), r(t), B(() => n = M(t, 1, "TournamentRulesWrapper svelte-p7mf8l", null, n, { Hidden: a(A) === "casino" })), c(e, t);
|
|
236
236
|
};
|
|
237
237
|
D(le, (e) => {
|
|
238
|
-
a(
|
|
238
|
+
a(I) && e(De);
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
|
-
var X =
|
|
241
|
+
var X = w(le, 2);
|
|
242
242
|
let ie;
|
|
243
|
-
var
|
|
243
|
+
var Me = i(X);
|
|
244
244
|
{
|
|
245
|
-
var
|
|
245
|
+
var je = (e) => {
|
|
246
246
|
var t = K(), n = Q(t);
|
|
247
|
-
J(n, 17, () => Array(
|
|
247
|
+
J(n, 17, () => Array(b()), q, (s, l, o, p) => {
|
|
248
248
|
var v = rt();
|
|
249
249
|
c(s, v);
|
|
250
250
|
}), c(e, t);
|
|
251
|
-
},
|
|
251
|
+
}, Ee = (e) => {
|
|
252
252
|
var t = K(), n = Q(t);
|
|
253
|
-
J(n, 17, () => a(
|
|
253
|
+
J(n, 17, () => a(Pe), q, (s, l) => {
|
|
254
254
|
var o = lt();
|
|
255
|
-
o.__click = () =>
|
|
256
|
-
var
|
|
257
|
-
r(h), r(
|
|
255
|
+
o.__click = () => Te(a(l));
|
|
256
|
+
var p = i(o), v = i(p), f = w(v, 2), h = i(f), U = i(h, !0);
|
|
257
|
+
r(h), r(f), r(p), r(o), B(
|
|
258
258
|
(ne) => {
|
|
259
|
-
fe(v, "src", `https:${a(l).thumbnail}`), fe(v, "alt", a(l).name),
|
|
259
|
+
fe(v, "src", `https:${a(l).thumbnail}`), fe(v, "alt", a(l).name), y(U, ne);
|
|
260
260
|
},
|
|
261
|
-
[() =>
|
|
261
|
+
[() => m()("play")]
|
|
262
262
|
), c(s, o);
|
|
263
263
|
}), c(e, t);
|
|
264
264
|
};
|
|
265
|
-
D(
|
|
265
|
+
D(Me, (e) => {
|
|
266
266
|
var t;
|
|
267
|
-
a(
|
|
267
|
+
a(L) || ((t = a(R)) == null ? void 0 : t.length) === 0 ? e(je) : e(Ee, !1);
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
270
|
r(X);
|
|
271
|
-
var pe =
|
|
271
|
+
var pe = w(X, 2);
|
|
272
272
|
{
|
|
273
|
-
var
|
|
273
|
+
var Le = (e) => {
|
|
274
274
|
var t = mt();
|
|
275
275
|
let n;
|
|
276
276
|
var s = i(t);
|
|
277
|
-
s.__click =
|
|
277
|
+
s.__click = we;
|
|
278
278
|
var l = i(s, !0);
|
|
279
279
|
r(s);
|
|
280
|
-
var o =
|
|
281
|
-
J(o, 21, () => a(
|
|
280
|
+
var o = w(s, 2);
|
|
281
|
+
J(o, 21, () => a(ke), q, (f, h) => {
|
|
282
282
|
var U = K(), ne = Q(U);
|
|
283
283
|
{
|
|
284
|
-
var
|
|
284
|
+
var ze = (O) => {
|
|
285
285
|
var N = it();
|
|
286
|
-
c(
|
|
287
|
-
},
|
|
286
|
+
c(O, N);
|
|
287
|
+
}, He = (O) => {
|
|
288
288
|
var N = pt();
|
|
289
289
|
let ve;
|
|
290
|
-
N.__click = () =>
|
|
290
|
+
N.__click = () => ye(a(h));
|
|
291
291
|
var Ie = i(N, !0);
|
|
292
|
-
r(N),
|
|
293
|
-
ve =
|
|
294
|
-
}), c(
|
|
292
|
+
r(N), B(() => {
|
|
293
|
+
ve = M(N, 1, "PaginationButton Number svelte-p7mf8l", null, ve, { Active: a(h) === a(F) }), y(Ie, a(h));
|
|
294
|
+
}), c(O, N);
|
|
295
295
|
};
|
|
296
|
-
D(ne, (
|
|
297
|
-
typeof a(h) != "number" ?
|
|
296
|
+
D(ne, (O) => {
|
|
297
|
+
typeof a(h) != "number" ? O(ze) : O(He, !1);
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
|
-
c(
|
|
300
|
+
c(f, U);
|
|
301
301
|
}), r(o);
|
|
302
|
-
var
|
|
303
|
-
|
|
304
|
-
var v = i(
|
|
305
|
-
r(
|
|
306
|
-
(
|
|
307
|
-
n =
|
|
302
|
+
var p = w(o, 2);
|
|
303
|
+
p.__click = xe;
|
|
304
|
+
var v = i(p, !0);
|
|
305
|
+
r(p), r(t), B(
|
|
306
|
+
(f, h) => {
|
|
307
|
+
n = M(t, 1, "PaginationWrapper svelte-p7mf8l", null, n, { Hidden: a(A) === "sports" }), s.disabled = a(g) === 0, y(l, f), p.disabled = a(g) >= C() - b(), y(v, h);
|
|
308
308
|
},
|
|
309
|
-
[() =>
|
|
309
|
+
[() => m()("previousButton"), () => m()("nextButton")]
|
|
310
310
|
), c(e, t);
|
|
311
|
-
},
|
|
311
|
+
}, Oe = (e) => {
|
|
312
312
|
var t = K(), n = Q(t);
|
|
313
313
|
{
|
|
314
314
|
var s = (l) => {
|
|
315
|
-
var o = vt()
|
|
316
|
-
|
|
315
|
+
var o = vt();
|
|
316
|
+
let p;
|
|
317
|
+
var v = i(o, !0);
|
|
318
|
+
r(o), B(
|
|
319
|
+
(f) => {
|
|
320
|
+
p = M(o, 1, "NoGamesAvailable svelte-p7mf8l", null, p, { Hidden: a(A) === "sports" }), y(v, f);
|
|
321
|
+
},
|
|
322
|
+
[() => m()("noAvailableGames")]
|
|
323
|
+
), c(l, o);
|
|
317
324
|
};
|
|
318
325
|
D(
|
|
319
326
|
n,
|
|
320
327
|
(l) => {
|
|
321
328
|
var o;
|
|
322
|
-
!a(
|
|
329
|
+
!a(L) && ((o = a(R)) == null ? void 0 : o.length) === 0 && l(s);
|
|
323
330
|
},
|
|
324
331
|
!0
|
|
325
332
|
);
|
|
@@ -328,33 +335,33 @@ function ut(T, d) {
|
|
|
328
335
|
};
|
|
329
336
|
D(pe, (e) => {
|
|
330
337
|
var t;
|
|
331
|
-
!a(
|
|
338
|
+
!a(L) && ((t = a(R)) == null ? void 0 : t.length) > 0 ? e(Le) : e(Oe, !1);
|
|
332
339
|
});
|
|
333
340
|
}
|
|
334
|
-
var
|
|
341
|
+
var We = w(pe, 2);
|
|
335
342
|
{
|
|
336
|
-
var
|
|
343
|
+
var Ce = (e) => {
|
|
337
344
|
var t = ct();
|
|
338
345
|
c(e, t);
|
|
339
346
|
};
|
|
340
|
-
D(
|
|
341
|
-
a(
|
|
347
|
+
D(We, (e) => {
|
|
348
|
+
a(L) && e(Ce);
|
|
342
349
|
});
|
|
343
350
|
}
|
|
344
|
-
r(ee),
|
|
351
|
+
r(ee), B(
|
|
345
352
|
(e, t) => {
|
|
346
|
-
|
|
353
|
+
y(Ae, e), y(Be, t), ie = M(X, 1, "TournamentGamesContainer svelte-p7mf8l", null, ie, { Hidden: a(A) === "sports" });
|
|
347
354
|
},
|
|
348
355
|
[
|
|
349
|
-
() =>
|
|
350
|
-
() =>
|
|
356
|
+
() => m()("gamesDescriptionTitle"),
|
|
357
|
+
() => m()("gamesDescriptionSubtitle")
|
|
351
358
|
]
|
|
352
359
|
), c(T, ee);
|
|
353
|
-
var
|
|
354
|
-
return
|
|
360
|
+
var Re = Qe(Ge);
|
|
361
|
+
return H(), Re;
|
|
355
362
|
}
|
|
356
|
-
|
|
357
|
-
customElements.define("tournament-games",
|
|
363
|
+
Ze(["click"]);
|
|
364
|
+
customElements.define("tournament-games", $e(
|
|
358
365
|
ut,
|
|
359
366
|
{
|
|
360
367
|
initialGames: {},
|