@everymatrix/tournament-details-page 0.2.2 → 0.2.3
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/{ChartIcon-DpI8g8MS.js → ChartIcon-Bhz3dlNt.js} +1 -1
- package/components/{ChartIcon-BnuWrPCu.js → ChartIcon-Bpak0Ha5.js} +1 -1
- package/components/{ChartIcon-BOJYO_mg.cjs → ChartIcon-CQ9xzPNv.cjs} +1 -1
- package/components/{ChartIcon-RZGJve9X.cjs → ChartIcon-jHYM_pz4.cjs} +1 -1
- package/components/{CoinStackIcon-D7VDNLPL.js → CoinStackIcon-6LCcPwql.js} +1 -1
- package/components/{CoinStackIcon-JPra1r-T.js → CoinStackIcon-Ccp3qOAA.js} +1 -1
- package/components/{CoinStackIcon-D9m5o_fi.cjs → CoinStackIcon-gHBgq0A7.cjs} +1 -1
- package/components/{CoinStackIcon-DFr0r7ql.cjs → CoinStackIcon-w0E7Vjou.cjs} +1 -1
- package/components/{DocumentsIcon-DFbkU_nq.js → DocumentsIcon-CCY_TgTL.js} +1 -1
- package/components/{DocumentsIcon-BMHGy7l5.cjs → DocumentsIcon-D7v18JHm.cjs} +1 -1
- package/components/{DocumentsIcon-CbpU2Gyn.js → DocumentsIcon-SkzMlDao.js} +1 -1
- package/components/{DocumentsIcon-BGDIx1Br.cjs → DocumentsIcon-TikJpiUM.cjs} +1 -1
- package/components/{FootballIcon-Dh004HAn.cjs → FootballIcon-2V3-bZP6.cjs} +1 -1
- package/components/{FootballIcon-Ba3k9QwJ.cjs → FootballIcon-BxC3qLd6.cjs} +1 -1
- package/components/{FootballIcon-BXfYxMAS.js → FootballIcon-CNGC-ysJ.js} +1 -1
- package/components/{FootballIcon-t-RiDqHO.js → FootballIcon-DiVQPE5J.js} +1 -1
- package/components/{PeopleIcon-Dij57H9Y.cjs → PeopleIcon-CIePqv40.cjs} +1 -1
- package/components/{PeopleIcon-2b-6fziq.js → PeopleIcon-CeTcZT9N.js} +1 -1
- package/components/{PeopleIcon-BL0lywpf.js → PeopleIcon-DE_VDpzu.js} +1 -1
- package/components/{PeopleIcon-Bi5uKQ9t.cjs → PeopleIcon-nbIehGXq.cjs} +1 -1
- package/components/{RankArrowIcon-DxqeIh-2.js → RankArrowIcon-CwlkgpW2.js} +1 -1
- package/components/{RankArrowIcon-BLPI8Ihl.js → RankArrowIcon-DeVP6SqV.js} +1 -1
- package/components/{RankArrowIcon-C1FqD2OV.cjs → RankArrowIcon-Dfflx6jx.cjs} +1 -1
- package/components/{RankArrowIcon-D9MUkVQC.cjs → RankArrowIcon-N3Rja8qO.cjs} +1 -1
- package/components/{SlotMachineIcon-_w58r-b5.cjs → SlotMachineIcon-B8LXNyS_.cjs} +1 -1
- package/components/{SlotMachineIcon-Cuv-0tTj.cjs → SlotMachineIcon-BB--rwxm.cjs} +1 -1
- package/components/{SlotMachineIcon-DbLnS5Dy.js → SlotMachineIcon-Bcda_Xmo.js} +1 -1
- package/components/{SlotMachineIcon-rm59GZar.js → SlotMachineIcon-BfZMN8W8.js} +1 -1
- package/components/{StatusBadge-94g1_G1j.js → StatusBadge-48pKkesj.js} +1801 -1768
- package/components/{StatusBadge-DuF7NK69.js → StatusBadge-BUU_5AgK.js} +1415 -1382
- package/components/StatusBadge-Bi4UTGIK.cjs +11 -0
- package/components/StatusBadge-CiBujliJ.cjs +11 -0
- package/components/TournamentActions-CZGHUCTG.js +110 -0
- package/components/TournamentActions-DYS3Zas8.cjs +18 -0
- package/components/TournamentActions-DrwI70Qj.js +108 -0
- package/components/TournamentActions-yR_aN1JY.cjs +18 -0
- package/components/{TournamentDetailsPage-BknZ3XLG.js → TournamentDetailsPage-Bp60Uk-8.js} +291 -207
- package/components/{TournamentDetailsPage-DbL7sBZM.cjs → TournamentDetailsPage-BuiUVQhu.cjs} +4 -4
- package/components/{TournamentDetailsPage-DKQGDSr1.cjs → TournamentDetailsPage-DEpxQPEA.cjs} +4 -4
- package/components/{TournamentDetailsPage-AkoBgtU-.js → TournamentDetailsPage-Dnv8IQ1B.js} +342 -258
- package/components/{TournamentDetailsSkeleton-BTCHrmxN.cjs → TournamentDetailsSkeleton-B7Qc2qaP.cjs} +1 -1
- package/components/{TournamentDetailsSkeleton-Dtd2H__T.cjs → TournamentDetailsSkeleton-CFgmljN6.cjs} +1 -1
- package/components/{TournamentDetailsSkeleton-CmKNNW5d.js → TournamentDetailsSkeleton-Dn6_fjHV.js} +17 -17
- package/components/{TournamentDetailsSkeleton-D0L8P1tb.js → TournamentDetailsSkeleton-qTpuepan.js} +17 -17
- package/components/TournamentGames-BHzZyU1T.cjs +19 -0
- package/components/{TournamentGames-BGr8V4Dd.js → TournamentGames-BSbbbGfz.js} +154 -147
- package/components/{TournamentGames-BhXlS-fA.js → TournamentGames-D9NuiZl1.js} +133 -126
- package/components/TournamentGames-Zkp7iS-3.cjs +19 -0
- package/components/{TournamentImage-BFh29Z7_.js → TournamentImage-B8k7urkf.js} +61 -51
- package/components/{TournamentImage-CxfcEUy6.cjs → TournamentImage-BxojXrGF.cjs} +2 -2
- package/components/{TournamentImage-D26UWHyP.cjs → TournamentImage-By_eps51.cjs} +2 -2
- package/components/{TournamentImage-Hm-i2BLZ.js → TournamentImage-DAfP40BM.js} +59 -49
- package/components/TournamentLeaderboard-BHGPwbuz.cjs +44 -0
- package/components/TournamentLeaderboard-Bk72WFe2.js +1500 -0
- package/components/TournamentLeaderboard-C1uFc5GZ.cjs +44 -0
- package/components/TournamentLeaderboard-cnaAJbty.js +1561 -0
- package/components/{TournamentRules-DwcmzDOu.js → TournamentRules-B392M3KD.js} +69 -69
- package/components/{TournamentRules-iglqjP1P.cjs → TournamentRules-BpcwEy6C.cjs} +3 -3
- package/components/{TournamentRules-Dxup5GZ2.js → TournamentRules-D8ePsXfz.js} +72 -72
- package/components/{TournamentRules-Bu4jfxhb.cjs → TournamentRules-DRhqdG_B.cjs} +3 -3
- package/components/TournamentSummary-BvxGV6na.cjs +3 -0
- package/components/TournamentSummary-DAVQCaqt.js +145 -0
- package/components/TournamentSummary-DPIK4FyI.cjs +3 -0
- package/components/TournamentSummary-DRt9iIEz.js +150 -0
- package/components/{TournamentTabs-DHZPrDgf.js → TournamentTabs-BVNuWoQ4.js} +14 -14
- package/components/{TournamentTabs-ryceiGS3.cjs → TournamentTabs-C5mZ8N3x.cjs} +1 -1
- package/components/{TournamentTabs-BVEr7PbQ.cjs → TournamentTabs-D4lAhT6v.cjs} +1 -1
- package/components/{TournamentTabs-B5Hc7DnJ.js → TournamentTabs-DOIFHU3l.js} +18 -18
- package/components/{TrophyIcon-DddCZpjC.cjs → TrophyIcon-95ROc4Lc.cjs} +1 -1
- package/components/{TrophyIcon-DbEHhyTe.js → TrophyIcon-BolnMSK-.js} +4 -4
- package/components/{TrophyIcon-DJyC3k-2.js → TrophyIcon-BqeMso6k.js} +4 -4
- package/components/{TrophyIcon-eLIudkPn.cjs → TrophyIcon-BuT5Q6K0.cjs} +1 -1
- package/components/translations-Bgd_tQSB.cjs +1 -0
- package/components/translations-CPDBBwzN.cjs +1 -0
- package/components/{translations-BQS5XycD.js → translations-CoULEJN6.js} +37 -5
- package/components/{translations-DPzojb4V.js → translations-CzV51BzW.js} +37 -5
- 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/StatusBadge-Bdc22cMY.cjs +0 -8
- package/components/StatusBadge-BsjzjNer.cjs +0 -8
- package/components/TournamentGames-Ch4ODv3u.cjs +0 -19
- package/components/TournamentGames-D8h0gDfK.cjs +0 -19
- package/components/TournamentLeaderboard-1i-FoUCN.cjs +0 -38
- package/components/TournamentLeaderboard-B6IMbAZ_.cjs +0 -38
- package/components/TournamentLeaderboard-BJ0mlW5c.js +0 -1384
- package/components/TournamentLeaderboard-BM3HZ0jQ.js +0 -1441
- package/components/TournamentSummary-B7I6gN81.js +0 -145
- package/components/TournamentSummary-C24QhbUw.cjs +0 -3
- package/components/TournamentSummary-HgOjtkW2.cjs +0 -3
- package/components/TournamentSummary-ozfHjUkk.js +0 -150
- package/components/translations-BSe2qToO.cjs +0 -1
- package/components/translations-FufS-X5l.cjs +0 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { c as se, g as le, a as ie, p as C, O as N, i as $, t as _, b as v, d as oe, f as c, q as R, I as he, h as n, l as z, j as r, s, M as u, r as l, N as m, u as I, V as pe, $ as de, k as _e } from "./StatusBadge-BUU_5AgK.js";
|
|
2
|
+
import { c as ve, d as ue, g as me } from "./TournamentLeaderboard-Bk72WFe2.js";
|
|
3
|
+
import { T as ce } from "./TrophyIcon-BolnMSK-.js";
|
|
4
|
+
import { P as ge } from "./PeopleIcon-CeTcZT9N.js";
|
|
5
|
+
import { C as be } from "./ChartIcon-Bhz3dlNt.js";
|
|
6
|
+
import { R as fe } from "./RankArrowIcon-DeVP6SqV.js";
|
|
7
|
+
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
8
|
+
}, globalThis.customElements = { define() {
|
|
9
|
+
}, get() {
|
|
10
|
+
}, whenDefined() {
|
|
11
|
+
} });
|
|
12
|
+
var xe = c('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'), we = c('<span class="tournament-details__highlight svelte-193trhb"> </span>'), ke = c('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'), ye = c('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'), Te = c('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'), Ie = c('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'), Le = c('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'), Ce = c('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');
|
|
13
|
+
const $e = {
|
|
14
|
+
hash: "svelte-193trhb",
|
|
15
|
+
code: `.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-flex;align-items:center;flex-shrink:0;width:16px;height:1lh;margin-right:8px;vertical-align:top;color:var(--text-subtle, #dfe3e8);}.tournament-details__meta:where(.svelte-193trhb) .tournament-details__icon:where(.svelte-193trhb) {margin-right:0;}.tournament-details__trend:where(.svelte-193trhb) {display:inline-flex;align-items:center;}.tournament-details__trend-icon:where(.svelte-193trhb) {display:inline-flex;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
|
|
16
|
+
@media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
|
|
17
|
+
}`
|
|
18
|
+
};
|
|
19
|
+
function Re(H, T) {
|
|
20
|
+
le(T, !0), ie(H, $e);
|
|
21
|
+
const d = () => pe(de, "$_", V), [V, B] = he(), i = C(T, "tournament", 7), S = C(T, "enrolled", 7, !1), g = C(T, "rank", 7, null), k = C(T, "rankTrend", 7, null), j = I(() => me(i().prizes)), L = I(() => i().overview?.participants ?? 0), O = I(() => g() !== void 0 && g() !== null ? String(g()) : "-"), P = I(() => r(L) > 0 ? String(r(L)) : "-"), F = I(() => {
|
|
22
|
+
const e = [];
|
|
23
|
+
return i().wallet?.casino && e.push({ type: "casino", src: ve }), i().wallet?.sports && e.push({ type: "sports", src: ue }), e;
|
|
24
|
+
});
|
|
25
|
+
var G = {
|
|
26
|
+
get tournament() {
|
|
27
|
+
return i();
|
|
28
|
+
},
|
|
29
|
+
set tournament(e) {
|
|
30
|
+
i(e), R();
|
|
31
|
+
},
|
|
32
|
+
get enrolled() {
|
|
33
|
+
return S();
|
|
34
|
+
},
|
|
35
|
+
set enrolled(e = !1) {
|
|
36
|
+
S(e), R();
|
|
37
|
+
},
|
|
38
|
+
get rank() {
|
|
39
|
+
return g();
|
|
40
|
+
},
|
|
41
|
+
set rank(e = null) {
|
|
42
|
+
g(e), R();
|
|
43
|
+
},
|
|
44
|
+
get rankTrend() {
|
|
45
|
+
return k();
|
|
46
|
+
},
|
|
47
|
+
set rankTrend(e = null) {
|
|
48
|
+
k(e), R();
|
|
49
|
+
}
|
|
50
|
+
}, D = Ce(), E = n(D), U = n(E);
|
|
51
|
+
N(U, 17, () => r(F), (e) => e.type, (e, t) => {
|
|
52
|
+
var a = xe();
|
|
53
|
+
_(() => {
|
|
54
|
+
z(a, "src", r(t).src), z(a, "data-product", r(t).type);
|
|
55
|
+
}), v(e, a);
|
|
56
|
+
});
|
|
57
|
+
var J = s(U, 2), K = u(J, !0);
|
|
58
|
+
l(E);
|
|
59
|
+
var q = s(E, 2);
|
|
60
|
+
{
|
|
61
|
+
var Q = (e) => {
|
|
62
|
+
var t = ke(), a = n(t), b = n(a);
|
|
63
|
+
ce(b, { width: 16, height: 16 }), l(a);
|
|
64
|
+
var o = s(a, 2), f = u(o), x = s(o, 2);
|
|
65
|
+
N(x, 18, () => r(j), (h) => h, (h, w, p) => {
|
|
66
|
+
var y = we(), M = u(y);
|
|
67
|
+
_(() => m(M, `${w ?? ""}${r(p) < r(j).length - 1 ? "," : ""}`)), v(h, y);
|
|
68
|
+
}), l(t), _((h) => m(f, `${h ?? ""} :`), [() => d()("topRewardsLabel")]), v(e, t);
|
|
69
|
+
};
|
|
70
|
+
$(q, (e) => {
|
|
71
|
+
r(j).length > 0 && e(Q);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
var A = s(q, 2);
|
|
75
|
+
{
|
|
76
|
+
var W = (e) => {
|
|
77
|
+
var t = ye(), a = n(t), b = u(a), o = s(a, 2), f = u(o, !0);
|
|
78
|
+
l(t), _(
|
|
79
|
+
(x, h) => {
|
|
80
|
+
m(b, `${x ?? ""} :`), m(f, h);
|
|
81
|
+
},
|
|
82
|
+
[
|
|
83
|
+
() => d()("scoreCriteria"),
|
|
84
|
+
() => d()(i().scoreCriteria, { default: i().scoreCriteria })
|
|
85
|
+
]
|
|
86
|
+
), v(e, t);
|
|
87
|
+
};
|
|
88
|
+
$(A, (e) => {
|
|
89
|
+
i().scoreCriteria && e(W);
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
var X = s(A, 2);
|
|
93
|
+
{
|
|
94
|
+
var Y = (e) => {
|
|
95
|
+
var t = Ie(), a = n(t), b = n(a);
|
|
96
|
+
be(b, { width: 16, height: 16 }), l(a);
|
|
97
|
+
var o = s(a, 2), f = u(o, !0), x = s(o, 2);
|
|
98
|
+
{
|
|
99
|
+
var h = (w) => {
|
|
100
|
+
var p = Te(), y = n(p), M = n(y);
|
|
101
|
+
fe(M, { width: 10, height: 8 }), l(y);
|
|
102
|
+
var te = s(y, 2), ae = u(te, !0);
|
|
103
|
+
l(p), _(
|
|
104
|
+
(re, ne) => {
|
|
105
|
+
_e(p, 1, `tournament-details__trend tournament-details__trend--${k() ?? ""}`, "svelte-193trhb"), z(p, "title", re), m(ae, ne);
|
|
106
|
+
},
|
|
107
|
+
[
|
|
108
|
+
() => d()(k() === "up" ? "rankUpLabel" : "rankDownLabel"),
|
|
109
|
+
() => d()(k() === "up" ? "rankUpLabel" : "rankDownLabel")
|
|
110
|
+
]
|
|
111
|
+
), v(w, p);
|
|
112
|
+
};
|
|
113
|
+
$(x, (w) => {
|
|
114
|
+
k() && g() !== null && g() !== void 0 && w(h);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
l(t), _(
|
|
118
|
+
(w, p) => {
|
|
119
|
+
z(t, "aria-label", w), m(f, p);
|
|
120
|
+
},
|
|
121
|
+
[
|
|
122
|
+
() => d()("playerRankLabel", { values: { rank: r(O), total: r(P) } }),
|
|
123
|
+
() => d()("playerRank", { values: { rank: r(O), total: r(P) } })
|
|
124
|
+
]
|
|
125
|
+
), v(e, t);
|
|
126
|
+
}, Z = (e) => {
|
|
127
|
+
var t = Le(), a = n(t), b = n(a);
|
|
128
|
+
ge(b, { width: 16, height: 16 }), l(a);
|
|
129
|
+
var o = s(a, 2), f = u(o, !0);
|
|
130
|
+
l(t), _((x) => m(f, x), [
|
|
131
|
+
() => d()("joinedCount", { values: { count: r(L) } })
|
|
132
|
+
]), v(e, t);
|
|
133
|
+
};
|
|
134
|
+
$(X, (e) => {
|
|
135
|
+
S() ? e(Y) : r(L) > 0 && e(Z, 1);
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
l(D), _(() => m(K, i().nameOrTitle)), v(H, D);
|
|
139
|
+
var ee = oe(G);
|
|
140
|
+
return B(), ee;
|
|
141
|
+
}
|
|
142
|
+
se(Re, { tournament: {}, enrolled: {}, rank: {}, rankTrend: {} }, [], [], { mode: "open" });
|
|
143
|
+
export {
|
|
144
|
+
Re as T
|
|
145
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-Bi4UTGIK.cjs"),k=require("./TournamentLeaderboard-C1uFc5GZ.cjs"),V=require("./TrophyIcon-95ROc4Lc.cjs"),W=require("./PeopleIcon-CIePqv40.cjs"),X=require("./ChartIcon-jHYM_pz4.cjs"),Y=require("./RankArrowIcon-Dfflx6jx.cjs");var Z=e.from_html('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'),$=e.from_html('<span class="tournament-details__highlight svelte-193trhb"> </span>'),ee=e.from_html('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'),te=e.from_html('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'),re=e.from_html('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'),ae=e.from_html('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'),ne=e.from_html('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'),se=e.from_html('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');const le={hash:"svelte-193trhb",code:`.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-flex;align-items:center;flex-shrink:0;width:16px;height:1lh;margin-right:8px;vertical-align:top;color:var(--text-subtle, #dfe3e8);}.tournament-details__meta:where(.svelte-193trhb) .tournament-details__icon:where(.svelte-193trhb) {margin-right:0;}.tournament-details__trend:where(.svelte-193trhb) {display:inline-flex;align-items:center;}.tournament-details__trend-icon:where(.svelte-193trhb) {display:inline-flex;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
|
|
2
|
+
@media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
|
|
3
|
+
}`};function z(T,v){e.push(v,!0),e.append_styles(T,le);const h=()=>e.store_get(e.$format,"$_",D),[D,E]=e.setup_stores(),s=e.prop(v,"tournament",7),b=e.prop(v,"enrolled",7,!1),d=e.prop(v,"rank",7,null),u=e.prop(v,"rankTrend",7,null),f=e.user_derived(()=>k.getTopRewards(s().prizes)),g=e.user_derived(()=>{var t,r;return(r=(t=s().overview)==null?void 0:t.participants)!=null?r:0}),I=e.user_derived(()=>d()!==void 0&&d()!==null?String(d()):"-"),L=e.user_derived(()=>e.get(g)>0?String(e.get(g)):"-"),j=e.user_derived(()=>{var r,a;const t=[];return(r=s().wallet)!=null&&r.casino&&t.push({type:"casino",src:k.casinoImage}),(a=s().wallet)!=null&&a.sports&&t.push({type:"sports",src:k.sportsImage}),t});var A={get tournament(){return s()},set tournament(t){s(t),e.flushSync()},get enrolled(){return b()},set enrolled(t=!1){b(t),e.flushSync()},get rank(){return d()},set rank(t=null){d(t),e.flushSync()},get rankTrend(){return u()},set rankTrend(t=null){u(t),e.flushSync()}},x=se(),w=e.child(x),S=e.child(w);e.each(S,17,()=>e.get(j),t=>t.type,(t,r)=>{var a=Z();e.template_effect(()=>{e.set_attribute(a,"src",e.get(r).src),e.set_attribute(a,"data-product",e.get(r).type)}),e.append(t,a)});var H=e.sibling(S,2),M=e.only_child(H,!0);e.reset(w);var C=e.sibling(w,2);{var P=t=>{var r=ee(),a=e.child(r),p=e.child(a);V.TrophyIcon(p,{width:16,height:16}),e.reset(a);var l=e.sibling(a,2),c=e.only_child(l),i=e.sibling(l,2);e.each(i,18,()=>e.get(f),n=>n,(n,o,_)=>{var m=$(),y=e.only_child(m);e.template_effect(()=>e.set_text(y,`${o!=null?o:""}${e.get(_)<e.get(f).length-1?",":""}`)),e.append(n,m)}),e.reset(r),e.template_effect(n=>e.set_text(c,`${n!=null?n:""} :`),[()=>h()("topRewardsLabel")]),e.append(t,r)};e.if_block(C,t=>{e.get(f).length>0&&t(P)})}var q=e.sibling(C,2);{var U=t=>{var r=te(),a=e.child(r),p=e.only_child(a),l=e.sibling(a,2),c=e.only_child(l,!0);e.reset(r),e.template_effect((i,n)=>{e.set_text(p,`${i!=null?i:""} :`),e.set_text(c,n)},[()=>h()("scoreCriteria"),()=>h()(s().scoreCriteria,{default:s().scoreCriteria})]),e.append(t,r)};e.if_block(q,t=>{s().scoreCriteria&&t(U)})}var B=e.sibling(q,2);{var O=t=>{var r=ae(),a=e.child(r),p=e.child(a);X.ChartIcon(p,{width:16,height:16}),e.reset(a);var l=e.sibling(a,2),c=e.only_child(l,!0),i=e.sibling(l,2);{var n=o=>{var _=re(),m=e.child(_),y=e.child(m);Y.RankArrowIcon(y,{width:10,height:8}),e.reset(m);var J=e.sibling(m,2),K=e.only_child(J,!0);e.reset(_),e.template_effect((N,Q)=>{var R;e.set_class(_,1,`tournament-details__trend tournament-details__trend--${(R=u())!=null?R:""}`,"svelte-193trhb"),e.set_attribute(_,"title",N),e.set_text(K,Q)},[()=>h()(u()==="up"?"rankUpLabel":"rankDownLabel"),()=>h()(u()==="up"?"rankUpLabel":"rankDownLabel")]),e.append(o,_)};e.if_block(i,o=>{u()&&d()!==null&&d()!==void 0&&o(n)})}e.reset(r),e.template_effect((o,_)=>{e.set_attribute(r,"aria-label",o),e.set_text(c,_)},[()=>h()("playerRankLabel",{values:{rank:e.get(I),total:e.get(L)}}),()=>h()("playerRank",{values:{rank:e.get(I),total:e.get(L)}})]),e.append(t,r)},F=t=>{var r=ne(),a=e.child(r),p=e.child(a);W.PeopleIcon(p,{width:16,height:16}),e.reset(a);var l=e.sibling(a,2),c=e.only_child(l,!0);e.reset(r),e.template_effect(i=>e.set_text(c,i),[()=>h()("joinedCount",{values:{count:e.get(g)}})]),e.append(t,r)};e.if_block(B,t=>{b()?t(O):e.get(g)>0&&t(F,1)})}e.reset(x),e.template_effect(()=>e.set_text(M,s().nameOrTitle)),e.append(T,x);var G=e.pop(A);return E(),G}e.create_custom_element(z,{tournament:{},enrolled:{},rank:{},rankTrend:{}},[],[],{mode:"open"});exports.TournamentSummary=z;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { c as le, g as ie, a as oe, p as C, O as B, i as R, t as u, b as m, d as he, f as b, q as z, I as pe, h as s, l as S, j as r, s as l, M as c, r as i, N as g, u as I, V as de, $ as _e, k as ve } from "./StatusBadge-48pKkesj.js";
|
|
2
|
+
import { c as ue, d as me, g as ce } from "./TournamentLeaderboard-cnaAJbty.js";
|
|
3
|
+
import { T as ge } from "./TrophyIcon-BqeMso6k.js";
|
|
4
|
+
import { P as be } from "./PeopleIcon-DE_VDpzu.js";
|
|
5
|
+
import { C as fe } from "./ChartIcon-Bpak0Ha5.js";
|
|
6
|
+
import { R as xe } from "./RankArrowIcon-CwlkgpW2.js";
|
|
7
|
+
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
8
|
+
}, globalThis.customElements = { define() {
|
|
9
|
+
}, get() {
|
|
10
|
+
}, whenDefined() {
|
|
11
|
+
} });
|
|
12
|
+
var we = b('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'), ke = b('<span class="tournament-details__highlight svelte-193trhb"> </span>'), ye = b('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'), Te = b('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'), Ie = b('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'), Le = b('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'), Ce = b('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'), Re = b('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');
|
|
13
|
+
const ze = {
|
|
14
|
+
hash: "svelte-193trhb",
|
|
15
|
+
code: `.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-flex;align-items:center;flex-shrink:0;width:16px;height:1lh;margin-right:8px;vertical-align:top;color:var(--text-subtle, #dfe3e8);}.tournament-details__meta:where(.svelte-193trhb) .tournament-details__icon:where(.svelte-193trhb) {margin-right:0;}.tournament-details__trend:where(.svelte-193trhb) {display:inline-flex;align-items:center;}.tournament-details__trend-icon:where(.svelte-193trhb) {display:inline-flex;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
|
|
16
|
+
@media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
|
|
17
|
+
}`
|
|
18
|
+
};
|
|
19
|
+
function Se(O, T) {
|
|
20
|
+
ie(T, !0), oe(O, ze);
|
|
21
|
+
const v = () => de(_e, "$_", F), [F, G] = pe(), o = C(T, "tournament", 7), j = C(T, "enrolled", 7, !1), f = C(T, "rank", 7, null), k = C(T, "rankTrend", 7, null), D = I(() => ce(o().prizes)), L = I(() => {
|
|
22
|
+
var e, t;
|
|
23
|
+
return (t = (e = o().overview) == null ? void 0 : e.participants) != null ? t : 0;
|
|
24
|
+
}), P = I(() => f() !== void 0 && f() !== null ? String(f()) : "-"), U = I(() => r(L) > 0 ? String(r(L)) : "-"), J = I(() => {
|
|
25
|
+
var t, a;
|
|
26
|
+
const e = [];
|
|
27
|
+
return (t = o().wallet) != null && t.casino && e.push({ type: "casino", src: ue }), (a = o().wallet) != null && a.sports && e.push({ type: "sports", src: me }), e;
|
|
28
|
+
});
|
|
29
|
+
var K = {
|
|
30
|
+
get tournament() {
|
|
31
|
+
return o();
|
|
32
|
+
},
|
|
33
|
+
set tournament(e) {
|
|
34
|
+
o(e), z();
|
|
35
|
+
},
|
|
36
|
+
get enrolled() {
|
|
37
|
+
return j();
|
|
38
|
+
},
|
|
39
|
+
set enrolled(e = !1) {
|
|
40
|
+
j(e), z();
|
|
41
|
+
},
|
|
42
|
+
get rank() {
|
|
43
|
+
return f();
|
|
44
|
+
},
|
|
45
|
+
set rank(e = null) {
|
|
46
|
+
f(e), z();
|
|
47
|
+
},
|
|
48
|
+
get rankTrend() {
|
|
49
|
+
return k();
|
|
50
|
+
},
|
|
51
|
+
set rankTrend(e = null) {
|
|
52
|
+
k(e), z();
|
|
53
|
+
}
|
|
54
|
+
}, E = Re(), M = s(E), q = s(M);
|
|
55
|
+
B(q, 17, () => r(J), (e) => e.type, (e, t) => {
|
|
56
|
+
var a = we();
|
|
57
|
+
u(() => {
|
|
58
|
+
S(a, "src", r(t).src), S(a, "data-product", r(t).type);
|
|
59
|
+
}), m(e, a);
|
|
60
|
+
});
|
|
61
|
+
var Q = l(q, 2), W = c(Q, !0);
|
|
62
|
+
i(M);
|
|
63
|
+
var A = l(M, 2);
|
|
64
|
+
{
|
|
65
|
+
var X = (e) => {
|
|
66
|
+
var t = ye(), a = s(t), x = s(a);
|
|
67
|
+
ge(x, { width: 16, height: 16 }), i(a);
|
|
68
|
+
var h = l(a, 2), w = c(h), p = l(h, 2);
|
|
69
|
+
B(p, 18, () => r(D), (n) => n, (n, d, _) => {
|
|
70
|
+
var y = ke(), H = c(y);
|
|
71
|
+
u(() => g(H, `${d != null ? d : ""}${r(_) < r(D).length - 1 ? "," : ""}`)), m(n, y);
|
|
72
|
+
}), i(t), u((n) => g(w, `${n != null ? n : ""} :`), [() => v()("topRewardsLabel")]), m(e, t);
|
|
73
|
+
};
|
|
74
|
+
R(A, (e) => {
|
|
75
|
+
r(D).length > 0 && e(X);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
var N = l(A, 2);
|
|
79
|
+
{
|
|
80
|
+
var Y = (e) => {
|
|
81
|
+
var t = Te(), a = s(t), x = c(a), h = l(a, 2), w = c(h, !0);
|
|
82
|
+
i(t), u(
|
|
83
|
+
(p, n) => {
|
|
84
|
+
g(x, `${p != null ? p : ""} :`), g(w, n);
|
|
85
|
+
},
|
|
86
|
+
[
|
|
87
|
+
() => v()("scoreCriteria"),
|
|
88
|
+
() => v()(o().scoreCriteria, { default: o().scoreCriteria })
|
|
89
|
+
]
|
|
90
|
+
), m(e, t);
|
|
91
|
+
};
|
|
92
|
+
R(N, (e) => {
|
|
93
|
+
o().scoreCriteria && e(Y);
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
var Z = l(N, 2);
|
|
97
|
+
{
|
|
98
|
+
var $ = (e) => {
|
|
99
|
+
var t = Le(), a = s(t), x = s(a);
|
|
100
|
+
fe(x, { width: 16, height: 16 }), i(a);
|
|
101
|
+
var h = l(a, 2), w = c(h, !0), p = l(h, 2);
|
|
102
|
+
{
|
|
103
|
+
var n = (d) => {
|
|
104
|
+
var _ = Ie(), y = s(_), H = s(y);
|
|
105
|
+
xe(H, { width: 10, height: 8 }), i(y);
|
|
106
|
+
var ae = l(y, 2), re = c(ae, !0);
|
|
107
|
+
i(_), u(
|
|
108
|
+
(ne, se) => {
|
|
109
|
+
var V;
|
|
110
|
+
ve(_, 1, `tournament-details__trend tournament-details__trend--${(V = k()) != null ? V : ""}`, "svelte-193trhb"), S(_, "title", ne), g(re, se);
|
|
111
|
+
},
|
|
112
|
+
[
|
|
113
|
+
() => v()(k() === "up" ? "rankUpLabel" : "rankDownLabel"),
|
|
114
|
+
() => v()(k() === "up" ? "rankUpLabel" : "rankDownLabel")
|
|
115
|
+
]
|
|
116
|
+
), m(d, _);
|
|
117
|
+
};
|
|
118
|
+
R(p, (d) => {
|
|
119
|
+
k() && f() !== null && f() !== void 0 && d(n);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
i(t), u(
|
|
123
|
+
(d, _) => {
|
|
124
|
+
S(t, "aria-label", d), g(w, _);
|
|
125
|
+
},
|
|
126
|
+
[
|
|
127
|
+
() => v()("playerRankLabel", { values: { rank: r(P), total: r(U) } }),
|
|
128
|
+
() => v()("playerRank", { values: { rank: r(P), total: r(U) } })
|
|
129
|
+
]
|
|
130
|
+
), m(e, t);
|
|
131
|
+
}, ee = (e) => {
|
|
132
|
+
var t = Ce(), a = s(t), x = s(a);
|
|
133
|
+
be(x, { width: 16, height: 16 }), i(a);
|
|
134
|
+
var h = l(a, 2), w = c(h, !0);
|
|
135
|
+
i(t), u((p) => g(w, p), [
|
|
136
|
+
() => v()("joinedCount", { values: { count: r(L) } })
|
|
137
|
+
]), m(e, t);
|
|
138
|
+
};
|
|
139
|
+
R(Z, (e) => {
|
|
140
|
+
j() ? e($) : r(L) > 0 && e(ee, 1);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
i(E), u(() => g(W, o().nameOrTitle)), m(O, E);
|
|
144
|
+
var te = he(K);
|
|
145
|
+
return G(), te;
|
|
146
|
+
}
|
|
147
|
+
le(Se, { tournament: {}, enrolled: {}, rank: {}, rankTrend: {} }, [], [], { mode: "open" });
|
|
148
|
+
export {
|
|
149
|
+
Se as T
|
|
150
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as O } from "./TournamentLeaderboard-
|
|
1
|
+
import { C as y, c as z, g as k, a as L, p as b, O as C, j as a, b as g, d as $, f as u, u as j, q as d, I as E, M as D, t as M, k as S, l as A, N as H, U as I, r as q, V as B, $ as N } from "./StatusBadge-BUU_5AgK.js";
|
|
2
|
+
import { D as O } from "./TournamentLeaderboard-Bk72WFe2.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
6
6
|
}, whenDefined() {
|
|
7
7
|
} });
|
|
8
|
-
var U = u('<button type="button" role="tab"> </button>'),
|
|
8
|
+
var U = u('<button type="button" role="tab"> </button>'), V = u('<div class="tournament-details__tabs svelte-1t9luwz" role="tablist"></div>');
|
|
9
9
|
const F = {
|
|
10
10
|
hash: "svelte-1t9luwz",
|
|
11
11
|
code: `.tournament-details__tabs.svelte-1t9luwz {box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:6px 8px;gap:4px;background:var(--bg-overlay-neutral-level-2, rgba(251, 251, 251, 0.1));border:1px solid var(--border-subtle, rgba(251, 251, 251, 0.05));border-radius:100px;width:fit-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar {display:none;}}.tournament-details__tab.svelte-1t9luwz {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 47px;border:0;border-radius:36px;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer;line-height:145%;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;&:focus-visible {outline:none;}&.active {background:var(--tabs-bg-selected, rgba(251, 251, 251, 0.2));color:var(--text-default, rgba(223, 227, 232, 1));}&:hover:not(.active) {background:var(--bg-tabs-hover, rgba(251, 251, 251, 0.1));}}
|
|
@@ -15,7 +15,7 @@ const F = {
|
|
|
15
15
|
};
|
|
16
16
|
function G(c, s) {
|
|
17
17
|
k(s, !0), L(c, F);
|
|
18
|
-
const v = () =>
|
|
18
|
+
const v = () => B(N, "$_", m), [m, x] = E(), n = b(s, "activeTab", 7), o = b(s, "onTabChange", 7), l = b(s, "gamesLabel", 7, "gamesTab"), f = j(() => O.map((e) => e.id === "games" ? { ...e, label: l() } : e));
|
|
19
19
|
var h = {
|
|
20
20
|
get activeTab() {
|
|
21
21
|
return n();
|
|
@@ -24,10 +24,10 @@ function G(c, s) {
|
|
|
24
24
|
n(e), d();
|
|
25
25
|
},
|
|
26
26
|
get onTabChange() {
|
|
27
|
-
return
|
|
27
|
+
return o();
|
|
28
28
|
},
|
|
29
29
|
set onTabChange(e) {
|
|
30
|
-
|
|
30
|
+
o(e), d();
|
|
31
31
|
},
|
|
32
32
|
get gamesLabel() {
|
|
33
33
|
return l();
|
|
@@ -35,19 +35,19 @@ function G(c, s) {
|
|
|
35
35
|
set gamesLabel(e = "gamesTab") {
|
|
36
36
|
l(e), d();
|
|
37
37
|
}
|
|
38
|
-
}, i =
|
|
39
|
-
|
|
38
|
+
}, i = V();
|
|
39
|
+
C(i, 21, () => a(f), (e) => e.id, (e, r) => {
|
|
40
40
|
var t = U();
|
|
41
41
|
let p;
|
|
42
42
|
var w = D(t, !0);
|
|
43
|
-
|
|
43
|
+
M(
|
|
44
44
|
(T) => {
|
|
45
|
-
p =
|
|
45
|
+
p = S(t, 1, "tournament-details__tab svelte-1t9luwz", null, p, { active: n() === a(r).id }), A(t, "aria-selected", n() === a(r).id), H(w, T);
|
|
46
46
|
},
|
|
47
|
-
[() => v()(a(
|
|
48
|
-
),
|
|
49
|
-
}),
|
|
50
|
-
var _ =
|
|
47
|
+
[() => v()(a(r).label)]
|
|
48
|
+
), I("click", t, () => o()?.(a(r).id)), g(e, t);
|
|
49
|
+
}), q(i), g(c, i);
|
|
50
|
+
var _ = $(h);
|
|
51
51
|
return x(), _;
|
|
52
52
|
}
|
|
53
53
|
y(["click"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var z=Object.defineProperty,k=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var g=(n,t,o)=>t in n?z(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,m=(n,t)=>{for(var o in t||(t={}))S.call(t,o)&&g(n,o,t[o]);if(p)for(var o of p(t))C.call(t,o)&&g(n,o,t[o]);return n},v=(n,t)=>k(n,L(t));typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
var z=Object.defineProperty,k=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var g=(n,t,o)=>t in n?z(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,m=(n,t)=>{for(var o in t||(t={}))S.call(t,o)&&g(n,o,t[o]);if(p)for(var o of p(t))C.call(t,o)&&g(n,o,t[o]);return n},v=(n,t)=>k(n,L(t));typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-Bi4UTGIK.cjs"),$=require("./TournamentLeaderboard-C1uFc5GZ.cjs");var E=e.from_html('<button type="button" role="tab"> </button>'),j=e.from_html('<div class="tournament-details__tabs svelte-1t9luwz" role="tablist"></div>');const q={hash:"svelte-1t9luwz",code:`.tournament-details__tabs.svelte-1t9luwz {box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:6px 8px;gap:4px;background:var(--bg-overlay-neutral-level-2, rgba(251, 251, 251, 0.1));border:1px solid var(--border-subtle, rgba(251, 251, 251, 0.05));border-radius:100px;width:fit-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar {display:none;}}.tournament-details__tab.svelte-1t9luwz {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 47px;border:0;border-radius:36px;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer;line-height:145%;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;&:focus-visible {outline:none;}&.active {background:var(--tabs-bg-selected, rgba(251, 251, 251, 0.2));color:var(--text-default, rgba(223, 227, 232, 1));}&:hover:not(.active) {background:var(--bg-tabs-hover, rgba(251, 251, 251, 0.1));}}
|
|
2
2
|
|
|
3
3
|
@media (max-width: 767px) {.tournament-details__tabs.svelte-1t9luwz {width:100%;justify-content:flex-start;gap:2px;padding:4px 8px;}.tournament-details__tab.svelte-1t9luwz {flex:1 0 auto;padding:6px 8px;font-size:10px;font-weight:700;}
|
|
4
4
|
}`};function x(n,t){e.push(t,!0),e.append_styles(n,q);const o=()=>e.store_get(e.$format,"$_",h),[h,f]=e.setup_stores(),s=e.prop(t,"activeTab",7),b=e.prop(t,"onTabChange",7),d=e.prop(t,"gamesLabel",7,"gamesTab"),_=e.user_derived(()=>$.DETAILS_TABS.map(a=>a.id==="games"?v(m({},a),{label:d()}):a));var w={get activeTab(){return s()},set activeTab(a){s(a),e.flushSync()},get onTabChange(){return b()},set onTabChange(a){b(a),e.flushSync()},get gamesLabel(){return d()},set gamesLabel(a="gamesTab"){d(a),e.flushSync()}},c=j();e.each(c,21,()=>e.get(_),a=>a.id,(a,l)=>{var r=E();let u;var y=e.only_child(r,!0);e.template_effect(i=>{u=e.set_class(r,1,"tournament-details__tab svelte-1t9luwz",null,u,{active:s()===e.get(l).id}),e.set_attribute(r,"aria-selected",s()===e.get(l).id),e.set_text(y,i)},[()=>o()(e.get(l).label)]),e.delegated("click",r,()=>{var i;return(i=b())==null?void 0:i(e.get(l).id)}),e.append(a,r)}),e.reset(c),e.append(n,c);var T=e.pop(w);return f(),T}e.delegate(["click"]);e.create_custom_element(x,{activeTab:{},onTabChange:{},gamesLabel:{}},[],[],{mode:"open"});exports.TournamentTabs=x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-CiBujliJ.cjs"),_=require("./TournamentLeaderboard-BHGPwbuz.cjs");var w=e.from_html('<button type="button" role="tab"> </button>'),T=e.from_html('<div class="tournament-details__tabs svelte-1t9luwz" role="tablist"></div>');const y={hash:"svelte-1t9luwz",code:`.tournament-details__tabs.svelte-1t9luwz {box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:6px 8px;gap:4px;background:var(--bg-overlay-neutral-level-2, rgba(251, 251, 251, 0.1));border:1px solid var(--border-subtle, rgba(251, 251, 251, 0.05));border-radius:100px;width:fit-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar {display:none;}}.tournament-details__tab.svelte-1t9luwz {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 47px;border:0;border-radius:36px;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer;line-height:145%;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;&:focus-visible {outline:none;}&.active {background:var(--tabs-bg-selected, rgba(251, 251, 251, 0.2));color:var(--text-default, rgba(223, 227, 232, 1));}&:hover:not(.active) {background:var(--bg-tabs-hover, rgba(251, 251, 251, 0.1));}}
|
|
2
2
|
|
|
3
3
|
@media (max-width: 767px) {.tournament-details__tabs.svelte-1t9luwz {width:100%;justify-content:flex-start;gap:2px;padding:4px 8px;}.tournament-details__tab.svelte-1t9luwz {flex:1 0 auto;padding:6px 8px;font-size:10px;font-weight:700;}
|
|
4
4
|
}`};function c(b,n){e.push(n,!0),e.append_styles(b,y);const u=()=>e.store_get(e.$format,"$_",p),[p,g]=e.setup_stores(),o=e.prop(n,"activeTab",7),s=e.prop(n,"onTabChange",7),l=e.prop(n,"gamesLabel",7,"gamesTab"),m=e.user_derived(()=>_.DETAILS_TABS.map(t=>t.id==="games"?{...t,label:l()}:t));var v={get activeTab(){return o()},set activeTab(t){o(t),e.flushSync()},get onTabChange(){return s()},set onTabChange(t){s(t),e.flushSync()},get gamesLabel(){return l()},set gamesLabel(t="gamesTab"){l(t),e.flushSync()}},i=T();e.each(i,21,()=>e.get(m),t=>t.id,(t,r)=>{var a=w();let d;var h=e.only_child(a,!0);e.template_effect(f=>{d=e.set_class(a,1,"tournament-details__tab svelte-1t9luwz",null,d,{active:o()===e.get(r).id}),e.set_attribute(a,"aria-selected",o()===e.get(r).id),e.set_text(h,f)},[()=>u()(e.get(r).label)]),e.delegated("click",a,()=>s()?.(e.get(r).id)),e.append(t,a)}),e.reset(i),e.append(b,i);var x=e.pop(v);return g(),x}e.delegate(["click"]);e.create_custom_element(c,{activeTab:{},onTabChange:{},gamesLabel:{}},[],[],{mode:"open"});exports.TournamentTabs=c;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var C = Object.defineProperty, $ = Object.defineProperties;
|
|
2
2
|
var j = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var v = Object.getOwnPropertySymbols;
|
|
4
4
|
var E = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var m = (a, e, s) => e in a ?
|
|
5
|
+
var m = (a, e, s) => e in a ? C(a, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[e] = s, x = (a, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
7
|
E.call(e, s) && m(a, s, e[s]);
|
|
8
8
|
if (v)
|
|
9
9
|
for (var s of v(e))
|
|
10
10
|
D.call(e, s) && m(a, s, e[s]);
|
|
11
11
|
return a;
|
|
12
|
-
}, f = (a, e) =>
|
|
13
|
-
import {
|
|
14
|
-
import { D as
|
|
12
|
+
}, f = (a, e) => $(a, j(e));
|
|
13
|
+
import { C as M, c as S, g as A, a as H, p, O as I, j as r, b as h, d as q, f as _, u as B, q as g, I as N, M as O, t as U, k as V, l as F, N as G, U as J, r as K, V as P, $ as Q } from "./StatusBadge-48pKkesj.js";
|
|
14
|
+
import { D as R } from "./TournamentLeaderboard-cnaAJbty.js";
|
|
15
15
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
16
16
|
}, globalThis.customElements = { define() {
|
|
17
17
|
}, get() {
|
|
@@ -26,14 +26,14 @@ const Y = {
|
|
|
26
26
|
}`
|
|
27
27
|
};
|
|
28
28
|
function Z(a, e) {
|
|
29
|
-
|
|
30
|
-
const s = () => Q
|
|
29
|
+
A(e, !0), H(a, Y);
|
|
30
|
+
const s = () => P(Q, "$_", w), [w, T] = N(), o = p(e, "activeTab", 7), b = p(e, "onTabChange", 7), d = p(e, "gamesLabel", 7, "gamesTab"), y = B(() => R.map((t) => t.id === "games" ? f(x({}, t), { label: d() }) : t));
|
|
31
31
|
var z = {
|
|
32
32
|
get activeTab() {
|
|
33
|
-
return
|
|
33
|
+
return o();
|
|
34
34
|
},
|
|
35
35
|
set activeTab(t) {
|
|
36
|
-
|
|
36
|
+
o(t), g();
|
|
37
37
|
},
|
|
38
38
|
get onTabChange() {
|
|
39
39
|
return b();
|
|
@@ -48,25 +48,25 @@ function Z(a, e) {
|
|
|
48
48
|
d(t), g();
|
|
49
49
|
}
|
|
50
50
|
}, c = X();
|
|
51
|
-
|
|
51
|
+
I(c, 21, () => r(y), (t) => t.id, (t, l) => {
|
|
52
52
|
var n = W();
|
|
53
53
|
let u;
|
|
54
54
|
var L = O(n, !0);
|
|
55
55
|
U(
|
|
56
56
|
(i) => {
|
|
57
|
-
u =
|
|
57
|
+
u = V(n, 1, "tournament-details__tab svelte-1t9luwz", null, u, { active: o() === r(l).id }), F(n, "aria-selected", o() === r(l).id), G(L, i);
|
|
58
58
|
},
|
|
59
|
-
[() => s()(
|
|
60
|
-
),
|
|
59
|
+
[() => s()(r(l).label)]
|
|
60
|
+
), J("click", n, () => {
|
|
61
61
|
var i;
|
|
62
|
-
return (i = b()) == null ? void 0 : i(
|
|
62
|
+
return (i = b()) == null ? void 0 : i(r(l).id);
|
|
63
63
|
}), h(t, n);
|
|
64
|
-
}),
|
|
65
|
-
var k =
|
|
64
|
+
}), K(c), h(a, c);
|
|
65
|
+
var k = q(z);
|
|
66
66
|
return T(), k;
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
M(["click"]);
|
|
69
|
+
S(Z, { activeTab: {}, onTabChange: {}, gamesLabel: {} }, [], [], { mode: "open" });
|
|
70
70
|
export {
|
|
71
71
|
Z as T
|
|
72
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-Bi4UTGIK.cjs");var s=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');function r(o,C){e.push(C,!0);let t=e.prop(C,"width",7,15),h=e.prop(C,"height",7,15);var l={get width(){return t()},set width(n=15){t(n),e.flushSync()},get height(){return h()},set height(n=15){h(n),e.flushSync()}},i=s();return e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",h())}),e.append(o,i),e.pop(l)}e.create_custom_element(r,{width:{},height:{}},[],[],{mode:"open"});exports.TrophyIcon=r;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as o, g as d, p as s, t as g, b as p, d as u,
|
|
1
|
+
import { c as o, g as d, p as s, t as g, b as p, d as u, Z as f, q as l, l as r } from "./StatusBadge-BUU_5AgK.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
5
5
|
}, whenDefined() {
|
|
6
6
|
} });
|
|
7
7
|
var m = f('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');
|
|
8
|
-
function
|
|
8
|
+
function w(a, e) {
|
|
9
9
|
d(e, !0);
|
|
10
10
|
let C = s(e, "width", 7, 15), t = s(e, "height", 7, 15);
|
|
11
11
|
var n = {
|
|
@@ -26,7 +26,7 @@ function v(a, e) {
|
|
|
26
26
|
r(h, "width", C()), r(h, "height", t());
|
|
27
27
|
}), p(a, h), u(n);
|
|
28
28
|
}
|
|
29
|
-
o(
|
|
29
|
+
o(w, { width: {}, height: {} }, [], [], { mode: "open" });
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
w as T
|
|
32
32
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as o, g as d, p as s, t as g, b as p, d as u,
|
|
1
|
+
import { c as o, g as d, p as s, t as g, b as p, d as u, Z as f, q as l, l as r } from "./StatusBadge-48pKkesj.js";
|
|
2
2
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
5
5
|
}, whenDefined() {
|
|
6
6
|
} });
|
|
7
7
|
var m = f('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');
|
|
8
|
-
function
|
|
8
|
+
function w(a, e) {
|
|
9
9
|
d(e, !0);
|
|
10
10
|
let C = s(e, "width", 7, 15), t = s(e, "height", 7, 15);
|
|
11
11
|
var n = {
|
|
@@ -26,7 +26,7 @@ function v(a, e) {
|
|
|
26
26
|
r(h, "width", C()), r(h, "height", t());
|
|
27
27
|
}), p(a, h), u(n);
|
|
28
28
|
}
|
|
29
|
-
o(
|
|
29
|
+
o(w, { width: {}, height: {} }, [], [], { mode: "open" });
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
w as T
|
|
32
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-CiBujliJ.cjs");var s=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');function r(o,C){e.push(C,!0);let t=e.prop(C,"width",7,15),h=e.prop(C,"height",7,15);var l={get width(){return t()},set width(n=15){t(n),e.flushSync()},get height(){return h()},set height(n=15){h(n),e.flushSync()}},i=s();return e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",h())}),e.append(o,i),e.pop(l)}e.create_custom_element(r,{width:{},height:{}},[],[],{mode:"open"});exports.TrophyIcon=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e={en:{tournamentStatus:{new:"New",scheduled:"Scheduled",ongoing:"Ongoing",ended:"Ended",endsIn:"Ends in",startsIn:"Starts in"}},tr:{tournamentStatus:{new:"Yeni",scheduled:"Planlandı",ongoing:"Devam Ediyor",ended:"Sona Erdi",endsIn:"Bitiş",startsIn:"Başlangıç"}},da:{tournamentStatus:{new:"Ny",scheduled:"Planlagt",ongoing:"I gang",ended:"Afsluttet",endsIn:"Slutter om",startsIn:"Starter om"}}},n={en:{rank:"Rank",user:"User",points:"Points",prize:"Prize",notEnrolledRank:"You are currently not enrolled in this tournament.",leaderboardNotAvailable:"Leaderboard will be available soon.",myRanking:"My Ranking",showMore:"Show More",showLess:"Show Less",emptyLeaderboard:"Currently there are no players enrolled in this tournament",joinButton:"Join",previousButton:"Previous",nextButton:"Next",youLabel:"You",notQualified:"Not Qualified",goToMyPosition:"Go to my position",noLeaderboardTitle:"No Leaderboard yet",noLeaderboardDescription:"Player positions will appear here once scores are recorded.",leaderboardLoggedOutTitle:"No Leaderboard yet",leaderboardLoggedOutDescription:"You must be logged in to see the leaderboard"},tr:{rank:"Sıralama",user:"Kullanıcı",points:"Puan",prize:"Ödül",notEnrolledRank:"Şu anda bu turnuvaya kayıtlı değilsiniz.",leaderboardNotAvailable:"Liderlik tablosu yakında kullanıma sunulacak.",myRanking:"Sıralamam",showMore:"Daha Fazla Göster",showLess:"Daha Az Göster",emptyLeaderboard:"Şu anda bu turnuvaya kayıtlı oyuncu bulunmuyor.",joinButton:"Katıl",previousButton:"Önceki",nextButton:"Sonraki",youLabel:"Sen",notQualified:"Hak Kazanılmadı",goToMyPosition:"Sıralamama git",noLeaderboardTitle:"Henüz liderlik tablosu yok",noLeaderboardDescription:"Puanlar kaydedildiğinde oyuncu sıralamaları burada görünecek.",leaderboardLoggedOutTitle:"Henüz liderlik tablosu yok",leaderboardLoggedOutDescription:"Liderlik tablosunu görmek için giriş yapmalısınız"},da:{rank:"Rang",user:"Bruger",points:"Point",prize:"Præmie",notEnrolledRank:"Du er i øjeblikket ikke tilmeldt denne turnering.",leaderboardNotAvailable:"Leaderboard vil være tilgængelig snart.",myRanking:"Min placering",showMore:"Vis mere",showLess:"Vis mindre",emptyLeaderboard:"Der er i øjeblikket ingen spillere tilmeldt denne turnering",previousButton:"Forrige",nextButton:"Næste",youLabel:"Dig",notQualified:"Ikke kvalificeret",goToMyPosition:"Gå til min placering",noLeaderboardTitle:"Ingen rangliste endnu",noLeaderboardDescription:"Spillernes placeringer vises her, når der er registreret point.",joinButton:"Deltag",leaderboardLoggedOutTitle:"Henüz liderlik tablosu yok",leaderboardLoggedOutDescription:"Liderlik tablosunu görmek için giriş yapmalısınız"}},o={en:{previousButton:"Previous",nextButton:"Next",casinoTab:"Casino",sportsbookTab:"Sportsbook",gamesDescriptionTitle:"Participating games",gamesDescriptionSubtitle:"Discover the games",sportsRulesParseError:"Error parsing tournament rules",noAvailableGames:"No games have been configured yet!",sportsTab:"Sports",contribution:"Contribution",newBadge:"New",noAvailableEvents:"No events have been configured yet!"},tr:{previousButton:"Önceki",nextButton:"Sonraki",casinoTab:"Casino",sportsbookTab:"Spor Bahisleri",gamesDescriptionTitle:"Katılımcı oyunlar",gamesDescriptionSubtitle:"Oyunları keşfedin",sportsRulesParseError:"Turnuva kuralları ayrıştırma hatası",noAvailableGames:"Henüz oyun yapılandırılmamış!",sportsTab:"Spor",contribution:"Katkı",newBadge:"Yeni",noAvailableEvents:"Henüz etkinlik yapılandırılmamış!"},da:{previousButton:"Forrige",nextButton:"Næste",casinoTab:"Casino",sportsbookTab:"Sportsbook",gamesDescriptionTitle:"Deltagende spil",gamesDescriptionSubtitle:"Opdag spillene",sportsRulesParseError:"Fejl ved parsing af turneringsregler",noAvailableGames:"Der er endnu ikke konfigureret nogen spil!",sportsTab:"Sport",contribution:"Bidrag",newBadge:"Ny",noAvailableEvents:"Der er endnu ikke konfigureret nogen begivenheder!"}},r={en:{registerButton:"Register",login:"Login",joinButton:"Join",enrolledLabel:"Enrolled",Closed:"Ended",enrolledTooltip:"You're taking part in this tournament"},tr:{registerButton:"Kayıt Ol",login:"Giriş Yap",joinButton:"Katıl",enrolledLabel:"Kayıtlı",Closed:"Sona Erdi",enrolledTooltip:"Bu turnuvaya katılıyorsunuz"},da:{registerButton:"Registrer",login:"Log ind",joinButton:"Deltag",enrolledLabel:"Tilmeldt",Closed:"Afsluttet",enrolledTooltip:"Du deltager i denne turnering"}};exports.STATUS_BADGE_TRANSLATIONS=e;exports.TRANSLATIONS=n;exports.TRANSLATIONS$1=o;exports.TRANSLATIONS$2=r;
|