@mjsz-vbr-elements/extended 2.41.0 → 2.42.0
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/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +626 -613
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.42.0 - 11/03/2026, 07:59:19
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { shallowRef as H, isRef as ye, watch as W, shallowReadonly as St, ref as
|
|
9
|
-
import { Image as
|
|
8
|
+
import { shallowRef as H, isRef as ye, watch as W, shallowReadonly as St, ref as G, toValue as A, getCurrentScope as ur, onScopeDispose as hr, onMounted as Fe, nextTick as xe, readonly as $t, getCurrentInstance as lt, toRef as Ct, customRef as pr, reactive as se, computed as T, unref as a, toRefs as gr, renderSlot as ke, normalizeProps as Ue, guardReactiveProps as Ke, createElementBlock as y, openBlock as u, createElementVNode as l, normalizeClass as oe, createTextVNode as q, toDisplayString as f, createCommentVNode as E, Fragment as B, createVNode as S, createBlock as D, withCtx as P, renderList as ee, withDirectives as Tt, vModelText as Nt, Transition as It, useTemplateRef as Et, provide as wr, useId as fr, inject as br, onUnmounted as yr, normalizeStyle as xr, triggerRef as kr, setBlockTracking as Pe, isMemoSame as _r, mergeProps as Pt, toHandlers as zr, resolveDynamicComponent as Sr, defineCustomElement as ve } from "vue";
|
|
9
|
+
import { Image as ne, I18NProvider as ue, ErrorProvider as Ve, ErrorNotice as Te, LoadingIndicator as qe, FetchMoreObserver as $r, FormField as _e, BaseSelect as rt, StatisticsTable as Dt, Paginator as Lt, AdditionalStandingsText as Oe, ResponsiveTable as Mt, DataTable as Cr, FloatingPanel as Tr } from "@mjsz-vbr-elements/core/components";
|
|
10
10
|
import { gameProps as Nr } from "@mjsz-vbr-elements/core/props";
|
|
11
|
-
import { format as V, convert as Ne, isBefore as Ir, head as te, isAfter as At, last as Er, offsetName as He, getLocalTimezone as We, externalGameLinkResolver as Je, filterAndSortSections as Ot, sortByPhaseId as Rt, WidgetError as jt, InvalidSeasonName as Re, convertSeasons as Gt, sortGames as Yt, convertPhaseName as
|
|
12
|
-
import { currentWeekStartEnd as ut, subtractDays as Ut, addDays as Kt, isBefore as st, isAfter as ct, startOfMonth as Xe, endOfMonth as Ze, rawConvert as
|
|
13
|
-
import { useError as Qe, useServices as re, useI18n as
|
|
14
|
-
import { COLUMNS_SCHEDULE as qt, COLUMNS_STANDINGS_P_PER as
|
|
15
|
-
import { SORT_STATE_DESCEND as
|
|
16
|
-
const
|
|
17
|
-
schedule:
|
|
18
|
-
registration:
|
|
19
|
-
selection:
|
|
20
|
-
report:
|
|
21
|
-
playoffs:
|
|
22
|
-
table:
|
|
23
|
-
calendar:
|
|
24
|
-
gamesTimeline:
|
|
25
|
-
countdown:
|
|
26
|
-
recruitmentInfo:
|
|
27
|
-
},
|
|
28
|
-
schedule:
|
|
29
|
-
registration:
|
|
30
|
-
selection:
|
|
31
|
-
report:
|
|
32
|
-
playoffs:
|
|
33
|
-
table:
|
|
34
|
-
calendar:
|
|
35
|
-
gamesTimeline:
|
|
36
|
-
countdown:
|
|
37
|
-
recruitmentInfo:
|
|
38
|
-
},
|
|
39
|
-
function
|
|
40
|
-
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame },
|
|
11
|
+
import { format as V, convert as Ne, isBefore as Ir, head as te, isAfter as At, last as Er, offsetName as He, getLocalTimezone as We, externalGameLinkResolver as Je, reject as Pr, filterAndSortSections as Ot, sortByPhaseId as Rt, WidgetError as jt, InvalidSeasonName as Re, convertSeasons as Gt, sortGames as Yt, convertPhaseName as Dr, rawConvert as Lr, playerName as Mr, teamName as Ar, scheduleOptionalRowClass as Or, convertTimesMinToMinSec as Rr, convertTimesSecToMin as jr, externalPlayerLinkResolver as Gr, externalTeamLinkResolver as Yr, isEmpty as ot, sortByDomNode as Br, pick as Fr, omit as Bt, selectFirstSectionId as Ur, path as Ft, pipe as Kr, sum as vt } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { currentWeekStartEnd as ut, subtractDays as Ut, addDays as Kt, isBefore as st, isAfter as ct, startOfMonth as Xe, endOfMonth as Ze, rawConvert as Vr, convertGamePeriodResults as qr, convertGameNames as Hr, gameProps as Wr, COLUMNS_STANDINGS_SHORT as Jr } from "@mjsz-vbr-elements/core";
|
|
13
|
+
import { useError as Qe, useServices as re, useI18n as ce, useSort as Qr, usePage as Vt, useLazyLoadingState as Xr, fetchVBRData as Zr, useVisibilityChange as eo, useErrorProvider as to, useColumns as ro } from "@mjsz-vbr-elements/core/composables";
|
|
14
|
+
import { COLUMNS_SCHEDULE as qt, COLUMNS_STANDINGS_P_PER as oo, COLUMNS_STANDINGS_P_3 as ao, COLUMNS_FIELD_PLAYERS as De, COLUMNS_FIELD_PLAYERS_PENALTY as io, COLUMNS_GOALIES as ht, COLUMNS_TEAMS_FAIRPLAY as no, COLUMNS_TEAMS_PENALTY_KILLING as lo, COLUMNS_TEAMS_POWERPLAY as so, COLUMNS_SCORING_EFFICIENCY as co } from "@mjsz-vbr-elements/core/columns";
|
|
15
|
+
import { SORT_STATE_DESCEND as Q } from "@mjsz-vbr-elements/core/constants";
|
|
16
|
+
const mo = "Schedule", vo = "Application form", uo = { report: "Report", video: "Video", season: "Season", seasons: "Seasons", section: "Section", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", filter: "Filter", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away", schedule: "Schedule", standings: "Standings", playerStats: "Player Statistics", teamStats: "Team Statistics", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, ho = { points: "Points", goals: "Goals", assists: "Assists", penalties: "Penalties", goalies: "Goalies", goaliesLimit: "Goalies under 40%", teamAttendance: "Attendance", teamFairplay: "Fairplay", teamPenaltyKilling: "Penalty Killing", teamPowerplay: "Powerplay", teamScoringEfficiency: "Scoring Efficiency" }, po = { Negyeddöntő1: "Quarterfinal 1", Negyeddöntő2: "Quarterfinal 2", Negyeddöntő3: "Quarterfinal 3", Negyeddöntő4: "Quarterfinal 4", Elődöntő1: "Semifinal 1", Elődöntő2: "Semifinal 2", Döntő: "Final" }, go = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, wo = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, fo = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, bo = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, yo = { filterByNameAndLocation: "Filter by name or location", noResult: "No results to display", recruitmentTeamName: "Team name", recruitmentArenaName: "Icerink", recruitmentArenaAddress: "Icerink address", recruitmentContactName: "Contact", recruitmentContactPhone: "Phone", recruitmentContactEmail: "E-mail", recruitmentContactUrl: "Website" }, he = {
|
|
17
|
+
schedule: mo,
|
|
18
|
+
registration: vo,
|
|
19
|
+
selection: uo,
|
|
20
|
+
report: ho,
|
|
21
|
+
playoffs: po,
|
|
22
|
+
table: go,
|
|
23
|
+
calendar: wo,
|
|
24
|
+
gamesTimeline: fo,
|
|
25
|
+
countdown: bo,
|
|
26
|
+
recruitmentInfo: yo
|
|
27
|
+
}, xo = "Sorsolás", ko = "Jelentkezés", _o = { report: "Riport", video: "Videó", season: "Szezon", seasons: "Szezonok", section: "Szakasz", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", filter: "Szűrés", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég", schedule: "Menetrend", standings: "Tabella", playerStats: "Játékos statisztika", teamStats: "Csapat Statisztika", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, zo = { points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, So = { Negyeddöntő1: "Negyeddöntő 1", Negyeddöntő2: "Negyeddöntő 2", Negyeddöntő3: "Negyeddöntő 3", Negyeddöntő4: "Negyeddöntő 4", Elődöntő1: "Elődöntő 1", Elődöntő2: "Elődöntő 2", Döntő: "Döntő" }, $o = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Co = { gamesPlayed: "Lejátszott mérkőzések", todaysGames: "Mai mérkőzések", nextGames: "Következő mérkőzések", weekGames: "A hét mérkőzései", noGame: "Nincs megjeleníthető mérkőzés", more: "Még több" }, To = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra", noGames: "Nincs megjeleníthető mérkőzés" }, No = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, Io = { filterByNameAndLocation: "Szűrés név vagy település szerint", noResult: "Nincs megjeleníthető találat", recruitmentTeamName: "Csapat név", recruitmentArenaName: "Jégpálya", recruitmentArenaAddress: "Jégpálya címe", recruitmentContactName: "Kapcsolattartó", recruitmentContactPhone: "Telefonszám", recruitmentContactEmail: "E-mail", recruitmentContactUrl: "Honlap" }, pe = {
|
|
28
|
+
schedule: xo,
|
|
29
|
+
registration: ko,
|
|
30
|
+
selection: _o,
|
|
31
|
+
report: zo,
|
|
32
|
+
playoffs: So,
|
|
33
|
+
table: $o,
|
|
34
|
+
calendar: Co,
|
|
35
|
+
gamesTimeline: To,
|
|
36
|
+
countdown: No,
|
|
37
|
+
recruitmentInfo: Io
|
|
38
|
+
}, de = "gamesPlayed", Se = "todaysGames", $e = "nextGames", je = "weekGames";
|
|
39
|
+
function Eo(e, t) {
|
|
40
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Vr(e.games, qr, Hr);
|
|
41
41
|
}
|
|
42
42
|
const U = /* @__PURE__ */ new Date(), Le = (/* @__PURE__ */ new Map()).set(Se, () => ({ min: U, max: U, month: null, id: null })).set(je, () => ({
|
|
43
43
|
min: ut().startDate,
|
|
44
44
|
max: ut().endDate,
|
|
45
45
|
month: null,
|
|
46
46
|
id: null
|
|
47
|
-
})).set(
|
|
47
|
+
})).set(de, (e = null) => {
|
|
48
48
|
const { year: t, month: o } = pt(e);
|
|
49
49
|
return {
|
|
50
50
|
min: gt(new Date(t, o, 1), !0),
|
|
@@ -58,14 +58,14 @@ const U = /* @__PURE__ */ new Date(), Le = (/* @__PURE__ */ new Map()).set(Se, (
|
|
|
58
58
|
max: wt(new Date(t, o, 1)),
|
|
59
59
|
id: `${t}-${o}`
|
|
60
60
|
};
|
|
61
|
-
}),
|
|
62
|
-
function
|
|
61
|
+
}), Po = (/* @__PURE__ */ new Map()).set(Se, () => []).set(de, (e, t) => Do(Ut(U, 1), e, t)).set($e, (e, t) => Lo(Kt(U, 1), e, t)).set(je, () => []);
|
|
62
|
+
function Do(e, t, o) {
|
|
63
63
|
return st(e, t) ? [] : ct(e, o) ? [t, o] : [t, e];
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Lo(e, t, o) {
|
|
66
66
|
return st(e, t) ? [t, o] : ct(e, o) ? [] : [e, o];
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Mo(e, t, o, r = "hu") {
|
|
69
69
|
e = new Date(e), t = new Date(t);
|
|
70
70
|
const i = [], s = e;
|
|
71
71
|
for (; s.getTime() <= t.getTime(); ) {
|
|
@@ -108,13 +108,13 @@ function Ce(e) {
|
|
|
108
108
|
}
|
|
109
109
|
const at = typeof window < "u" && typeof document < "u";
|
|
110
110
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
111
|
-
const
|
|
111
|
+
const Ao = (e) => typeof e < "u", Oo = (e) => e != null, Ro = Object.prototype.toString, jo = (e) => Ro.call(e) === "[object Object]", K = () => {
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function Go(...e) {
|
|
114
114
|
if (e.length !== 1)
|
|
115
115
|
return Ct(...e);
|
|
116
116
|
const t = e[0];
|
|
117
|
-
return typeof t == "function" ? $t(pr(() => ({ get: t, set: K }))) :
|
|
117
|
+
return typeof t == "function" ? $t(pr(() => ({ get: t, set: K }))) : G(t);
|
|
118
118
|
}
|
|
119
119
|
function mt(e, t) {
|
|
120
120
|
function o(...r) {
|
|
@@ -125,7 +125,7 @@ function mt(e, t) {
|
|
|
125
125
|
return o;
|
|
126
126
|
}
|
|
127
127
|
const Ht = (e) => e();
|
|
128
|
-
function
|
|
128
|
+
function Yo(e, t = {}) {
|
|
129
129
|
let o, r, i = K;
|
|
130
130
|
const s = (d) => {
|
|
131
131
|
clearTimeout(d), i(), i = K;
|
|
@@ -142,7 +142,7 @@ function Go(e, t = {}) {
|
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Bo(...e) {
|
|
146
146
|
let t = 0, o, r = !0, i = K, s, m, n, d, v;
|
|
147
147
|
!ye(e[0]) && typeof e[0] == "object" ? { delay: m, trailing: n = !0, leading: d = !0, rejectOnCancel: v = !1 } = e[0] : [m, n = !0, d = !0, v = !1] = e;
|
|
148
148
|
const c = () => {
|
|
@@ -157,10 +157,10 @@ function Yo(...e) {
|
|
|
157
157
|
})), !d && !o && (o = setTimeout(() => r = !0, g)), r = !1, s);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Fo(e = Ht, t = {}) {
|
|
161
161
|
const {
|
|
162
162
|
initialState: o = "active"
|
|
163
|
-
} = t, r =
|
|
163
|
+
} = t, r = Go(o === "active");
|
|
164
164
|
function i() {
|
|
165
165
|
r.value = !1;
|
|
166
166
|
}
|
|
@@ -180,28 +180,28 @@ function it(e, t = !1, o = "Timeout") {
|
|
|
180
180
|
function Me(e) {
|
|
181
181
|
return Array.isArray(e) ? e : [e];
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Uo(e) {
|
|
184
184
|
return lt();
|
|
185
185
|
}
|
|
186
186
|
function Wt(e, t = 200, o = {}) {
|
|
187
187
|
return mt(
|
|
188
|
-
|
|
188
|
+
Yo(t, o),
|
|
189
189
|
e
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
const r =
|
|
192
|
+
function Ko(e, t = 200, o = {}) {
|
|
193
|
+
const r = G(A(e)), i = Wt(() => {
|
|
194
194
|
r.value = e.value;
|
|
195
195
|
}, t, o);
|
|
196
196
|
return W(e, () => i()), St(r);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Vo(e, t = 200, o = !1, r = !0, i = !1) {
|
|
199
199
|
return mt(
|
|
200
|
-
|
|
200
|
+
Bo(t, o, r, i),
|
|
201
201
|
e
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function qo(e, t, o = {}) {
|
|
205
205
|
const {
|
|
206
206
|
eventFilter: r = Ht,
|
|
207
207
|
...i
|
|
@@ -215,13 +215,13 @@ function Vo(e, t, o = {}) {
|
|
|
215
215
|
i
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Ho(e, t, o = {}) {
|
|
219
219
|
const {
|
|
220
220
|
eventFilter: r,
|
|
221
221
|
initialState: i = "active",
|
|
222
222
|
...s
|
|
223
|
-
} = o, { eventFilter: m, pause: n, resume: d, isActive: v } =
|
|
224
|
-
return { stop:
|
|
223
|
+
} = o, { eventFilter: m, pause: n, resume: d, isActive: v } = Fo(r, { initialState: i });
|
|
224
|
+
return { stop: qo(
|
|
225
225
|
e,
|
|
226
226
|
t,
|
|
227
227
|
{
|
|
@@ -230,13 +230,13 @@ function qo(e, t, o = {}) {
|
|
|
230
230
|
}
|
|
231
231
|
), pause: n, resume: d, isActive: v };
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
233
|
+
function Wo(e, t = !0, o) {
|
|
234
|
+
Uo() ? Fe(e, o) : t ? e() : xe(e);
|
|
235
235
|
}
|
|
236
236
|
function nt(e, t = !1) {
|
|
237
237
|
function o(h, { flush: w = "sync", deep: g = !1, timeout: _, throwOnTimeout: x } = {}) {
|
|
238
238
|
let C = null;
|
|
239
|
-
const
|
|
239
|
+
const N = [new Promise((b) => {
|
|
240
240
|
C = W(
|
|
241
241
|
e,
|
|
242
242
|
(p) => {
|
|
@@ -249,9 +249,9 @@ function nt(e, t = !1) {
|
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
})];
|
|
252
|
-
return _ != null &&
|
|
252
|
+
return _ != null && N.push(
|
|
253
253
|
it(_, x).then(() => A(e)).finally(() => C?.())
|
|
254
|
-
), Promise.race(
|
|
254
|
+
), Promise.race(N);
|
|
255
255
|
}
|
|
256
256
|
function r(h, w) {
|
|
257
257
|
if (!ye(h))
|
|
@@ -322,7 +322,7 @@ function nt(e, t = !1) {
|
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Jo(e) {
|
|
326
326
|
return nt(e);
|
|
327
327
|
}
|
|
328
328
|
function Ge(e, t = 1e3, o = {}) {
|
|
@@ -354,7 +354,7 @@ function Ge(e, t = 1e3, o = {}) {
|
|
|
354
354
|
resume: v
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Qo(e, t, o) {
|
|
358
358
|
return W(
|
|
359
359
|
e,
|
|
360
360
|
t,
|
|
@@ -365,7 +365,7 @@ function Jo(e, t, o) {
|
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
367
|
const Ie = at ? window : void 0;
|
|
368
|
-
function
|
|
368
|
+
function ie(e) {
|
|
369
369
|
var t;
|
|
370
370
|
const o = A(e);
|
|
371
371
|
return (t = o?.$el) != null ? t : o;
|
|
@@ -373,14 +373,14 @@ function ne(e) {
|
|
|
373
373
|
function Ye(...e) {
|
|
374
374
|
const t = [], o = () => {
|
|
375
375
|
t.forEach((n) => n()), t.length = 0;
|
|
376
|
-
}, r = (n, d, v, c) => (n.addEventListener(d, v, c), () => n.removeEventListener(d, v, c)), i =
|
|
376
|
+
}, r = (n, d, v, c) => (n.addEventListener(d, v, c), () => n.removeEventListener(d, v, c)), i = T(() => {
|
|
377
377
|
const n = Me(A(e[0])).filter((d) => d != null);
|
|
378
378
|
return n.every((d) => typeof d != "string") ? n : void 0;
|
|
379
|
-
}), s =
|
|
379
|
+
}), s = Qo(
|
|
380
380
|
() => {
|
|
381
381
|
var n, d;
|
|
382
382
|
return [
|
|
383
|
-
(d = (n = i.value) == null ? void 0 : n.map((v) =>
|
|
383
|
+
(d = (n = i.value) == null ? void 0 : n.map((v) => ie(v))) != null ? d : [Ie].filter((v) => v != null),
|
|
384
384
|
Me(A(i.value ? e[1] : e[0])),
|
|
385
385
|
Me(a(i.value ? e[2] : e[1])),
|
|
386
386
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -390,7 +390,7 @@ function Ye(...e) {
|
|
|
390
390
|
([n, d, v, c]) => {
|
|
391
391
|
if (o(), !n?.length || !d?.length || !v?.length)
|
|
392
392
|
return;
|
|
393
|
-
const h =
|
|
393
|
+
const h = jo(c) ? { ...c } : c;
|
|
394
394
|
t.push(
|
|
395
395
|
...n.flatMap(
|
|
396
396
|
(w) => d.flatMap(
|
|
@@ -405,23 +405,23 @@ function Ye(...e) {
|
|
|
405
405
|
};
|
|
406
406
|
return Ce(o), m;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Xo() {
|
|
409
409
|
const e = H(!1), t = lt();
|
|
410
410
|
return t && Fe(() => {
|
|
411
411
|
e.value = !0;
|
|
412
412
|
}, t), e;
|
|
413
413
|
}
|
|
414
414
|
function Jt(e) {
|
|
415
|
-
const t =
|
|
416
|
-
return
|
|
415
|
+
const t = Xo();
|
|
416
|
+
return T(() => (t.value, !!e()));
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function Zo(e, t, o = {}) {
|
|
419
419
|
const { window: r = Ie, ...i } = o;
|
|
420
420
|
let s;
|
|
421
421
|
const m = Jt(() => r && "MutationObserver" in r), n = () => {
|
|
422
422
|
s && (s.disconnect(), s = void 0);
|
|
423
|
-
}, d =
|
|
424
|
-
const w = A(e), g = Me(w).map(
|
|
423
|
+
}, d = T(() => {
|
|
424
|
+
const w = A(e), g = Me(w).map(ie).filter(Oo);
|
|
425
425
|
return new Set(g);
|
|
426
426
|
}), v = W(
|
|
427
427
|
() => d.value,
|
|
@@ -449,7 +449,7 @@ function Be(e, t) {
|
|
|
449
449
|
fulfilled: "fulfilled",
|
|
450
450
|
pending: "pending",
|
|
451
451
|
rejected: "rejected"
|
|
452
|
-
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: m.pending, data: null })), d =
|
|
452
|
+
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: m.pending, data: null })), d = se(n), v = H(-1);
|
|
453
453
|
if (!e || e.length === 0)
|
|
454
454
|
return i(), {
|
|
455
455
|
activeIndex: v,
|
|
@@ -469,19 +469,19 @@ function Be(e, t) {
|
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
471
|
const x = w(g).then((C) => (c(m.fulfilled, C), v.value === e.length - 1 && i(), C));
|
|
472
|
-
return s ? Promise.race([x,
|
|
472
|
+
return s ? Promise.race([x, ea(s)]) : x;
|
|
473
473
|
}).catch((g) => s?.aborted ? (c(m.aborted, g), g) : (c(m.rejected, g), r(), g)), Promise.resolve()), {
|
|
474
474
|
activeIndex: v,
|
|
475
475
|
result: d
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function ea(e) {
|
|
479
479
|
return new Promise((t, o) => {
|
|
480
480
|
const r = new Error("aborted");
|
|
481
481
|
e.aborted ? o(r) : e.addEventListener("abort", () => o(r), { once: !0 });
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function ta(e, t, o) {
|
|
485
485
|
const {
|
|
486
486
|
immediate: r = !0,
|
|
487
487
|
delay: i = 0,
|
|
@@ -490,10 +490,10 @@ function ea(e, t, o) {
|
|
|
490
490
|
resetOnExecute: n = !0,
|
|
491
491
|
shallow: d = !0,
|
|
492
492
|
throwError: v
|
|
493
|
-
} = o ?? {}, c = d ? H(t) :
|
|
494
|
-
async function _(z = 0, ...
|
|
493
|
+
} = o ?? {}, c = d ? H(t) : G(t), h = H(!1), w = H(!1), g = H(void 0);
|
|
494
|
+
async function _(z = 0, ...N) {
|
|
495
495
|
n && (c.value = t), g.value = void 0, h.value = !1, w.value = !0, z > 0 && await it(z);
|
|
496
|
-
const b = typeof e == "function" ? e(...
|
|
496
|
+
const b = typeof e == "function" ? e(...N) : e;
|
|
497
497
|
try {
|
|
498
498
|
const p = await b;
|
|
499
499
|
c.value = p, h.value = !0, m(p);
|
|
@@ -515,28 +515,28 @@ function ea(e, t, o) {
|
|
|
515
515
|
executeImmediate: (...z) => _(0, ...z)
|
|
516
516
|
};
|
|
517
517
|
function C() {
|
|
518
|
-
return new Promise((z,
|
|
519
|
-
|
|
518
|
+
return new Promise((z, N) => {
|
|
519
|
+
Jo(w).toBe(!1).then(() => z(x)).catch(N);
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
523
|
...x,
|
|
524
|
-
then(z,
|
|
525
|
-
return C().then(z,
|
|
524
|
+
then(z, N) {
|
|
525
|
+
return C().then(z, N);
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function ra(e) {
|
|
530
530
|
return JSON.parse(JSON.stringify(e));
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function oa(e, t, o = {}) {
|
|
533
533
|
const { window: r = Ie, ...i } = o;
|
|
534
534
|
let s;
|
|
535
535
|
const m = Jt(() => r && "ResizeObserver" in r), n = () => {
|
|
536
536
|
s && (s.disconnect(), s = void 0);
|
|
537
|
-
}, d =
|
|
537
|
+
}, d = T(() => {
|
|
538
538
|
const h = A(e);
|
|
539
|
-
return Array.isArray(h) ? h.map((w) =>
|
|
539
|
+
return Array.isArray(h) ? h.map((w) => ie(w)) : [ie(h)];
|
|
540
540
|
}), v = W(
|
|
541
541
|
d,
|
|
542
542
|
(h) => {
|
|
@@ -556,7 +556,7 @@ function ra(e, t, o = {}) {
|
|
|
556
556
|
};
|
|
557
557
|
}
|
|
558
558
|
const ft = 1;
|
|
559
|
-
function
|
|
559
|
+
function aa(e, t = {}) {
|
|
560
560
|
const {
|
|
561
561
|
throttle: o = 0,
|
|
562
562
|
idle: r = 200,
|
|
@@ -577,91 +577,91 @@ function oa(e, t = {}) {
|
|
|
577
577
|
},
|
|
578
578
|
behavior: v = "auto",
|
|
579
579
|
window: c = Ie,
|
|
580
|
-
onError: h = (
|
|
581
|
-
console.error(
|
|
580
|
+
onError: h = (I) => {
|
|
581
|
+
console.error(I);
|
|
582
582
|
}
|
|
583
583
|
} = t, w = typeof n == "boolean" ? {
|
|
584
584
|
mutation: n
|
|
585
|
-
} : n, g = H(0), _ = H(0), x =
|
|
585
|
+
} : n, g = H(0), _ = H(0), x = T({
|
|
586
586
|
get() {
|
|
587
587
|
return g.value;
|
|
588
588
|
},
|
|
589
|
-
set(
|
|
590
|
-
z(
|
|
589
|
+
set(I) {
|
|
590
|
+
z(I, void 0);
|
|
591
591
|
}
|
|
592
|
-
}), C =
|
|
592
|
+
}), C = T({
|
|
593
593
|
get() {
|
|
594
594
|
return _.value;
|
|
595
595
|
},
|
|
596
|
-
set(
|
|
597
|
-
z(void 0,
|
|
596
|
+
set(I) {
|
|
597
|
+
z(void 0, I);
|
|
598
598
|
}
|
|
599
599
|
});
|
|
600
|
-
function z(
|
|
601
|
-
var
|
|
600
|
+
function z(I, Y) {
|
|
601
|
+
var j, ae, X, le;
|
|
602
602
|
if (!c)
|
|
603
603
|
return;
|
|
604
604
|
const F = A(e);
|
|
605
605
|
if (!F)
|
|
606
606
|
return;
|
|
607
|
-
(
|
|
608
|
-
top: (
|
|
609
|
-
left: (ae = A(
|
|
607
|
+
(X = F instanceof Document ? c.document.body : F) == null || X.scrollTo({
|
|
608
|
+
top: (j = A(Y)) != null ? j : C.value,
|
|
609
|
+
left: (ae = A(I)) != null ? ae : x.value,
|
|
610
610
|
behavior: A(v)
|
|
611
611
|
});
|
|
612
|
-
const
|
|
613
|
-
x != null && (g.value =
|
|
612
|
+
const J = ((le = F?.document) == null ? void 0 : le.documentElement) || F?.documentElement || F;
|
|
613
|
+
x != null && (g.value = J.scrollLeft), C != null && (_.value = J.scrollTop);
|
|
614
614
|
}
|
|
615
|
-
const
|
|
615
|
+
const N = H(!1), b = se({
|
|
616
616
|
left: !0,
|
|
617
617
|
right: !1,
|
|
618
618
|
top: !0,
|
|
619
619
|
bottom: !1
|
|
620
|
-
}), p =
|
|
620
|
+
}), p = se({
|
|
621
621
|
left: !1,
|
|
622
622
|
right: !1,
|
|
623
623
|
top: !1,
|
|
624
624
|
bottom: !1
|
|
625
|
-
}), k = (
|
|
626
|
-
|
|
627
|
-
}, $ = Wt(k, o + r), M = (
|
|
628
|
-
var
|
|
625
|
+
}), k = (I) => {
|
|
626
|
+
N.value && (N.value = !1, p.left = !1, p.right = !1, p.top = !1, p.bottom = !1, i(I));
|
|
627
|
+
}, $ = Wt(k, o + r), M = (I) => {
|
|
628
|
+
var Y;
|
|
629
629
|
if (!c)
|
|
630
630
|
return;
|
|
631
|
-
const
|
|
632
|
-
p.left =
|
|
633
|
-
const
|
|
634
|
-
ae === "flex" &&
|
|
635
|
-
let
|
|
636
|
-
|
|
637
|
-
const Ee = Math.abs(
|
|
638
|
-
ae === "flex" &&
|
|
639
|
-
},
|
|
640
|
-
var
|
|
631
|
+
const j = ((Y = I?.document) == null ? void 0 : Y.documentElement) || I?.documentElement || ie(I), { display: ae, flexDirection: X, direction: le } = getComputedStyle(j), F = le === "rtl" ? -1 : 1, J = j.scrollLeft;
|
|
632
|
+
p.left = J < g.value, p.right = J > g.value;
|
|
633
|
+
const fe = Math.abs(J * F) <= (m.left || 0), L = Math.abs(J * F) + j.clientWidth >= j.scrollWidth - (m.right || 0) - ft;
|
|
634
|
+
ae === "flex" && X === "row-reverse" ? (b.left = L, b.right = fe) : (b.left = fe, b.right = L), g.value = J;
|
|
635
|
+
let O = j.scrollTop;
|
|
636
|
+
I === c.document && !O && (O = c.document.body.scrollTop), p.top = O < _.value, p.bottom = O > _.value;
|
|
637
|
+
const Ee = Math.abs(O) <= (m.top || 0), be = Math.abs(O) + j.clientHeight >= j.scrollHeight - (m.bottom || 0) - ft;
|
|
638
|
+
ae === "flex" && X === "column-reverse" ? (b.top = be, b.bottom = Ee) : (b.top = Ee, b.bottom = be), _.value = O;
|
|
639
|
+
}, R = (I) => {
|
|
640
|
+
var Y;
|
|
641
641
|
if (!c)
|
|
642
642
|
return;
|
|
643
|
-
const
|
|
644
|
-
M(
|
|
643
|
+
const j = (Y = I.target.documentElement) != null ? Y : I.target;
|
|
644
|
+
M(j), N.value = !0, $(I), s(I);
|
|
645
645
|
};
|
|
646
646
|
return Ye(
|
|
647
647
|
e,
|
|
648
648
|
"scroll",
|
|
649
|
-
o ?
|
|
649
|
+
o ? Vo(R, o, !0, !1) : R,
|
|
650
650
|
d
|
|
651
|
-
),
|
|
651
|
+
), Wo(() => {
|
|
652
652
|
try {
|
|
653
|
-
const
|
|
654
|
-
if (!
|
|
653
|
+
const I = A(e);
|
|
654
|
+
if (!I)
|
|
655
655
|
return;
|
|
656
|
-
M(
|
|
657
|
-
} catch (
|
|
658
|
-
h(
|
|
656
|
+
M(I);
|
|
657
|
+
} catch (I) {
|
|
658
|
+
h(I);
|
|
659
659
|
}
|
|
660
|
-
}), w?.mutation && e != null && e !== c && e !== document &&
|
|
660
|
+
}), w?.mutation && e != null && e !== c && e !== document && Zo(
|
|
661
661
|
e,
|
|
662
662
|
() => {
|
|
663
|
-
const
|
|
664
|
-
|
|
663
|
+
const I = A(e);
|
|
664
|
+
I && M(I);
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
667
|
attributes: !0,
|
|
@@ -676,12 +676,12 @@ function oa(e, t = {}) {
|
|
|
676
676
|
), {
|
|
677
677
|
x,
|
|
678
678
|
y: C,
|
|
679
|
-
isScrolling:
|
|
679
|
+
isScrolling: N,
|
|
680
680
|
arrivedState: b,
|
|
681
681
|
directions: p,
|
|
682
682
|
measure() {
|
|
683
|
-
const
|
|
684
|
-
c &&
|
|
683
|
+
const I = A(e);
|
|
684
|
+
c && I && M(I);
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
687
|
}
|
|
@@ -696,8 +696,8 @@ function Qt(e = "history", t = {}) {
|
|
|
696
696
|
stringify: d = (p) => p.toString()
|
|
697
697
|
} = t;
|
|
698
698
|
if (!n)
|
|
699
|
-
return
|
|
700
|
-
const v =
|
|
699
|
+
return se(o);
|
|
700
|
+
const v = se({});
|
|
701
701
|
function c() {
|
|
702
702
|
if (e === "history")
|
|
703
703
|
return n.location.search || "";
|
|
@@ -727,7 +727,7 @@ function Qt(e = "history", t = {}) {
|
|
|
727
727
|
}
|
|
728
728
|
Array.from(k).forEach(($) => delete v[$]);
|
|
729
729
|
}
|
|
730
|
-
const { pause: _, resume: x } =
|
|
730
|
+
const { pause: _, resume: x } = Ho(
|
|
731
731
|
v,
|
|
732
732
|
() => {
|
|
733
733
|
const p = new URLSearchParams("");
|
|
@@ -752,12 +752,12 @@ function Qt(e = "history", t = {}) {
|
|
|
752
752
|
function z() {
|
|
753
753
|
s && C(w(), !0);
|
|
754
754
|
}
|
|
755
|
-
const
|
|
756
|
-
Ye(n, "popstate", z,
|
|
755
|
+
const N = { passive: !0 };
|
|
756
|
+
Ye(n, "popstate", z, N), e !== "history" && Ye(n, "hashchange", z, N);
|
|
757
757
|
const b = w();
|
|
758
758
|
return b.keys().next().value ? g(b) : Object.assign(v, o), v;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function ia(e, t, o, r = {}) {
|
|
761
761
|
var i, s, m;
|
|
762
762
|
const {
|
|
763
763
|
clone: n = !1,
|
|
@@ -769,11 +769,11 @@ function aa(e, t, o, r = {}) {
|
|
|
769
769
|
} = r, g = lt(), _ = o || g?.emit || ((i = g?.$emit) == null ? void 0 : i.bind(g)) || ((m = (s = g?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : m.bind(g?.proxy));
|
|
770
770
|
let x = v;
|
|
771
771
|
t || (t = "modelValue"), x = x || `update:${t.toString()}`;
|
|
772
|
-
const C = (b) => n ? typeof n == "function" ? n(b) :
|
|
772
|
+
const C = (b) => n ? typeof n == "function" ? n(b) : ra(b) : b, z = () => Ao(e[t]) ? C(e[t]) : h, N = (b) => {
|
|
773
773
|
w ? w(b) && _(x, b) : _(x, b);
|
|
774
774
|
};
|
|
775
775
|
if (d) {
|
|
776
|
-
const b = z(), p =
|
|
776
|
+
const b = z(), p = G(b);
|
|
777
777
|
let k = !1;
|
|
778
778
|
return W(
|
|
779
779
|
() => e[t],
|
|
@@ -783,24 +783,24 @@ function aa(e, t, o, r = {}) {
|
|
|
783
783
|
), W(
|
|
784
784
|
p,
|
|
785
785
|
($) => {
|
|
786
|
-
!k && ($ !== e[t] || c) &&
|
|
786
|
+
!k && ($ !== e[t] || c) && N($);
|
|
787
787
|
},
|
|
788
788
|
{ deep: c }
|
|
789
789
|
), p;
|
|
790
790
|
} else
|
|
791
|
-
return
|
|
791
|
+
return T({
|
|
792
792
|
get() {
|
|
793
793
|
return z();
|
|
794
794
|
},
|
|
795
795
|
set(b) {
|
|
796
|
-
|
|
796
|
+
N(b);
|
|
797
797
|
}
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function na(e, t, o = {}) {
|
|
801
801
|
const r = {};
|
|
802
802
|
for (const i in e)
|
|
803
|
-
r[i] =
|
|
803
|
+
r[i] = ia(
|
|
804
804
|
e,
|
|
805
805
|
i,
|
|
806
806
|
t,
|
|
@@ -808,7 +808,7 @@ function ia(e, t, o = {}) {
|
|
|
808
808
|
);
|
|
809
809
|
return r;
|
|
810
810
|
}
|
|
811
|
-
const bt = 20,
|
|
811
|
+
const bt = 20, la = {
|
|
812
812
|
__name: "DataProvider",
|
|
813
813
|
props: {
|
|
814
814
|
locale: {
|
|
@@ -829,7 +829,7 @@ const bt = 20, na = {
|
|
|
829
829
|
}
|
|
830
830
|
},
|
|
831
831
|
setup(e) {
|
|
832
|
-
const t = e, { timezone: o, locale: r } = gr(t), { onError: i } = Qe(), s = Qt("history"), m =
|
|
832
|
+
const t = e, { timezone: o, locale: r } = gr(t), { onError: i } = Qe(), s = Qt("history"), m = G(s.panel || Se), n = G(null), d = G(0), v = H({
|
|
833
833
|
firstGame: U,
|
|
834
834
|
lastGame: U
|
|
835
835
|
}), c = H({
|
|
@@ -843,21 +843,21 @@ const bt = 20, na = {
|
|
|
843
843
|
options: {
|
|
844
844
|
path: "/v2/calendar",
|
|
845
845
|
apiKey: t.apiKey,
|
|
846
|
-
params:
|
|
846
|
+
params: T(() => ({
|
|
847
847
|
seasonId: t.seasonId,
|
|
848
848
|
firstDate: c.value.min,
|
|
849
849
|
lastDate: c.value.max
|
|
850
850
|
})),
|
|
851
851
|
resetOnExecute: !0
|
|
852
852
|
},
|
|
853
|
-
transform: (p) =>
|
|
853
|
+
transform: (p) => Eo(p, v),
|
|
854
854
|
onError: i
|
|
855
|
-
}), _ =
|
|
856
|
-
() => Ne(h.value).reverse(m.value ===
|
|
857
|
-
), x =
|
|
858
|
-
() =>
|
|
859
|
-
...
|
|
860
|
-
m.value ===
|
|
855
|
+
}), _ = T(
|
|
856
|
+
() => Ne(h.value).reverse(m.value === de).schedule(o.value, r.value).more(0, d.value * bt + bt).groupByDays().value()
|
|
857
|
+
), x = T(
|
|
858
|
+
() => Mo(
|
|
859
|
+
...Po.get(m.value)(v.value.firstGame, v.value.lastGame),
|
|
860
|
+
m.value === de,
|
|
861
861
|
r.value
|
|
862
862
|
)
|
|
863
863
|
);
|
|
@@ -881,20 +881,20 @@ const bt = 20, na = {
|
|
|
881
881
|
max: V($, "YYYY-MM-DD")
|
|
882
882
|
}, d.value = 0, g();
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function N() {
|
|
885
885
|
d.value += 1;
|
|
886
886
|
}
|
|
887
887
|
function b() {
|
|
888
|
-
if (![
|
|
888
|
+
if (![de, $e].includes(m.value))
|
|
889
889
|
return;
|
|
890
890
|
const { firstGame: p, lastGame: k } = v.value;
|
|
891
891
|
if (Ir(U, p)) {
|
|
892
|
-
const { min: $, max: M, id:
|
|
893
|
-
return c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value =
|
|
892
|
+
const { min: $, max: M, id: R } = Le.get(m.value)(te(x.value)?.id);
|
|
893
|
+
return c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = R, g();
|
|
894
894
|
}
|
|
895
895
|
if (At(U, k)) {
|
|
896
|
-
const { min: $, max: M, id:
|
|
897
|
-
c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value =
|
|
896
|
+
const { min: $, max: M, id: R } = Le.get(m.value)(Er(x.value)?.id);
|
|
897
|
+
c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = R, g();
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
return (p, k) => ke(p.$slots, "default", Ue(Ke({
|
|
@@ -905,12 +905,12 @@ const bt = 20, na = {
|
|
|
905
905
|
selectedMonth: n.value,
|
|
906
906
|
selectedPanel: m.value,
|
|
907
907
|
games: _.value,
|
|
908
|
-
more:
|
|
908
|
+
more: N,
|
|
909
909
|
setMonth: z,
|
|
910
910
|
changePanel: C
|
|
911
911
|
})));
|
|
912
912
|
}
|
|
913
|
-
},
|
|
913
|
+
}, sa = {
|
|
914
914
|
xmlns: "http://www.w3.org/2000/svg",
|
|
915
915
|
viewBox: "0 0 24 24",
|
|
916
916
|
fill: "none",
|
|
@@ -920,7 +920,7 @@ const bt = 20, na = {
|
|
|
920
920
|
"stroke-linejoin": "round"
|
|
921
921
|
};
|
|
922
922
|
function Xt(e, t) {
|
|
923
|
-
return u(), y("svg",
|
|
923
|
+
return u(), y("svg", sa, [...t[0] || (t[0] = [
|
|
924
924
|
l("rect", {
|
|
925
925
|
x: "2",
|
|
926
926
|
y: "3",
|
|
@@ -943,27 +943,27 @@ function Xt(e, t) {
|
|
|
943
943
|
}, null, -1)
|
|
944
944
|
])]);
|
|
945
945
|
}
|
|
946
|
-
const
|
|
946
|
+
const ca = { render: Xt }, ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
947
947
|
__proto__: null,
|
|
948
|
-
default:
|
|
948
|
+
default: ca,
|
|
949
949
|
render: Xt
|
|
950
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
950
|
+
}, Symbol.toStringTag, { value: "Module" })), da = {
|
|
951
951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
952
952
|
viewBox: "0 0 24 24"
|
|
953
953
|
};
|
|
954
954
|
function Zt(e, t) {
|
|
955
|
-
return u(), y("svg",
|
|
955
|
+
return u(), y("svg", da, [...t[0] || (t[0] = [
|
|
956
956
|
l("path", {
|
|
957
957
|
fill: "currentColor",
|
|
958
958
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
959
959
|
}, null, -1)
|
|
960
960
|
])]);
|
|
961
961
|
}
|
|
962
|
-
const
|
|
962
|
+
const va = { render: Zt }, ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
963
963
|
__proto__: null,
|
|
964
|
-
default:
|
|
964
|
+
default: va,
|
|
965
965
|
render: Zt
|
|
966
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
966
|
+
}, Symbol.toStringTag, { value: "Module" })), ha = {
|
|
967
967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
968
968
|
viewBox: "0 0 24 24",
|
|
969
969
|
fill: "none",
|
|
@@ -973,31 +973,31 @@ const da = { render: Zt }, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
973
973
|
"stroke-linejoin": "round"
|
|
974
974
|
};
|
|
975
975
|
function er(e, t) {
|
|
976
|
-
return u(), y("svg",
|
|
976
|
+
return u(), y("svg", ha, [...t[0] || (t[0] = [
|
|
977
977
|
l("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
978
978
|
])]);
|
|
979
979
|
}
|
|
980
|
-
const
|
|
980
|
+
const pa = { render: er }, ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
981
981
|
__proto__: null,
|
|
982
|
-
default:
|
|
982
|
+
default: pa,
|
|
983
983
|
render: er
|
|
984
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
984
|
+
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
985
985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
986
986
|
viewBox: "0 0 24 24"
|
|
987
987
|
};
|
|
988
988
|
function tr(e, t) {
|
|
989
|
-
return u(), y("svg",
|
|
989
|
+
return u(), y("svg", wa, [...t[0] || (t[0] = [
|
|
990
990
|
l("path", {
|
|
991
991
|
fill: "currentColor",
|
|
992
992
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
993
993
|
}, null, -1)
|
|
994
994
|
])]);
|
|
995
995
|
}
|
|
996
|
-
const
|
|
996
|
+
const fa = { render: tr }, ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
997
997
|
__proto__: null,
|
|
998
|
-
default:
|
|
998
|
+
default: fa,
|
|
999
999
|
render: tr
|
|
1000
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1000
|
+
}, Symbol.toStringTag, { value: "Module" })), ya = {
|
|
1001
1001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1002
1002
|
viewBox: "0 0 24 24",
|
|
1003
1003
|
fill: "none",
|
|
@@ -1007,15 +1007,15 @@ const wa = { render: tr }, fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1007
1007
|
"stroke-linejoin": "round"
|
|
1008
1008
|
};
|
|
1009
1009
|
function rr(e, t) {
|
|
1010
|
-
return u(), y("svg",
|
|
1010
|
+
return u(), y("svg", ya, [...t[0] || (t[0] = [
|
|
1011
1011
|
l("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
1012
1012
|
])]);
|
|
1013
1013
|
}
|
|
1014
|
-
const
|
|
1014
|
+
const xa = { render: rr }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1015
1015
|
__proto__: null,
|
|
1016
|
-
default:
|
|
1016
|
+
default: xa,
|
|
1017
1017
|
render: rr
|
|
1018
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1018
|
+
}, Symbol.toStringTag, { value: "Module" })), ka = {
|
|
1019
1019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1020
1020
|
viewBox: "0 0 24 24",
|
|
1021
1021
|
fill: "none",
|
|
@@ -1025,7 +1025,7 @@ const ya = { render: rr }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1025
1025
|
"stroke-linejoin": "round"
|
|
1026
1026
|
};
|
|
1027
1027
|
function or(e, t) {
|
|
1028
|
-
return u(), y("svg",
|
|
1028
|
+
return u(), y("svg", ka, [...t[0] || (t[0] = [
|
|
1029
1029
|
l("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1),
|
|
1030
1030
|
l("line", {
|
|
1031
1031
|
x1: "12",
|
|
@@ -1041,11 +1041,11 @@ function or(e, t) {
|
|
|
1041
1041
|
}, null, -1)
|
|
1042
1042
|
])]);
|
|
1043
1043
|
}
|
|
1044
|
-
const
|
|
1044
|
+
const _a = { render: or }, za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1045
1045
|
__proto__: null,
|
|
1046
|
-
default:
|
|
1046
|
+
default: _a,
|
|
1047
1047
|
render: or
|
|
1048
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1048
|
+
}, Symbol.toStringTag, { value: "Module" })), Sa = {
|
|
1049
1049
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1050
1050
|
viewBox: "0 0 24 24",
|
|
1051
1051
|
fill: "none",
|
|
@@ -1055,46 +1055,46 @@ const ka = { render: or }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1055
1055
|
"stroke-linejoin": "round"
|
|
1056
1056
|
};
|
|
1057
1057
|
function ar(e, t) {
|
|
1058
|
-
return u(), y("svg",
|
|
1058
|
+
return u(), y("svg", Sa, [...t[0] || (t[0] = [
|
|
1059
1059
|
l("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1),
|
|
1060
1060
|
l("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1061
1061
|
])]);
|
|
1062
1062
|
}
|
|
1063
|
-
const
|
|
1063
|
+
const $a = { render: ar }, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1064
1064
|
__proto__: null,
|
|
1065
|
-
default:
|
|
1065
|
+
default: $a,
|
|
1066
1066
|
render: ar
|
|
1067
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1067
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = {
|
|
1068
1068
|
class: "text-muted text-sm text-center",
|
|
1069
1069
|
style: { "grid-area": "name" }
|
|
1070
|
-
},
|
|
1070
|
+
}, Na = ["href"], Ia = ["href"], Ea = {
|
|
1071
1071
|
class: "text-muted text-sm text-center",
|
|
1072
1072
|
style: { "grid-area": "date" }
|
|
1073
|
-
},
|
|
1073
|
+
}, Pa = {
|
|
1074
1074
|
class: "responsive-team-name",
|
|
1075
1075
|
style: { "grid-area": "home-team" }
|
|
1076
|
-
},
|
|
1076
|
+
}, Da = { class: "text-end text-highlighted font-bold" }, La = { class: "team-name-short" }, Ma = { class: "team-name-long" }, Aa = { style: { "grid-area": "home-team-logo" } }, Oa = {
|
|
1077
1077
|
class: "text-center",
|
|
1078
1078
|
style: { "grid-area": "game-data" }
|
|
1079
|
-
},
|
|
1079
|
+
}, Ra = {
|
|
1080
1080
|
key: 0,
|
|
1081
1081
|
class: "text-xl font-bold text-highlighted"
|
|
1082
|
-
},
|
|
1082
|
+
}, ja = ["href", "target"], Ga = {
|
|
1083
1083
|
key: 0,
|
|
1084
1084
|
class: "text-xl font-bold"
|
|
1085
|
-
},
|
|
1085
|
+
}, Ya = {
|
|
1086
1086
|
key: 1,
|
|
1087
1087
|
class: "text-xl font-bold"
|
|
1088
|
-
},
|
|
1088
|
+
}, Ba = {
|
|
1089
1089
|
key: 2,
|
|
1090
1090
|
class: "text-xl font-bold"
|
|
1091
|
-
},
|
|
1091
|
+
}, Fa = {
|
|
1092
1092
|
key: 1,
|
|
1093
1093
|
class: "text-sm text-muted is-whitespace-nowrap"
|
|
1094
|
-
},
|
|
1094
|
+
}, Ua = { style: { "grid-area": "away-team-logo" } }, Ka = {
|
|
1095
1095
|
class: "responsive-team-name",
|
|
1096
1096
|
style: { "grid-area": "away-team" }
|
|
1097
|
-
},
|
|
1097
|
+
}, Va = { class: "text-highlighted font-bold" }, qa = { key: 0 }, Ha = { class: "team-name-short" }, Wa = { class: "team-name-long" }, Ja = {
|
|
1098
1098
|
__name: "Item",
|
|
1099
1099
|
props: {
|
|
1100
1100
|
game: {
|
|
@@ -1119,20 +1119,20 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1119
1119
|
}
|
|
1120
1120
|
},
|
|
1121
1121
|
setup(e) {
|
|
1122
|
-
const { t } =
|
|
1122
|
+
const { t } = ce();
|
|
1123
1123
|
return (o, r) => (u(), y("div", {
|
|
1124
1124
|
class: oe(["card-item", { "is-optional": e.game.optional }])
|
|
1125
1125
|
}, [
|
|
1126
|
-
l("div",
|
|
1126
|
+
l("div", Ta, [
|
|
1127
1127
|
l("a", {
|
|
1128
1128
|
href: e.gameLink(e.game)
|
|
1129
|
-
}, f(e.game.gameName), 9,
|
|
1129
|
+
}, f(e.game.gameName), 9, Na),
|
|
1130
1130
|
q(" - " + f(e.game.gameNames) + " ", 1),
|
|
1131
1131
|
l("div", null, [
|
|
1132
1132
|
q(f(e.game.location.locationName) + " ", 1),
|
|
1133
1133
|
e.game.broadcast ? (u(), y(B, { key: 0 }, [
|
|
1134
1134
|
r[0] || (r[0] = q(" - ", -1)),
|
|
1135
|
-
S(a(
|
|
1135
|
+
S(a(ma), { height: "16" }),
|
|
1136
1136
|
r[1] || (r[1] = q(" ", -1))
|
|
1137
1137
|
], 64)) : E("", !0),
|
|
1138
1138
|
e.game.video ? (u(), y(B, { key: 1 }, [
|
|
@@ -1141,62 +1141,62 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1141
1141
|
href: e.game.video,
|
|
1142
1142
|
target: "_blank"
|
|
1143
1143
|
}, [
|
|
1144
|
-
S(a(
|
|
1145
|
-
], 8,
|
|
1144
|
+
S(a(Ca), { height: "18" })
|
|
1145
|
+
], 8, Ia)
|
|
1146
1146
|
], 64)) : E("", !0)
|
|
1147
1147
|
])
|
|
1148
1148
|
]),
|
|
1149
|
-
l("div",
|
|
1150
|
-
l("div",
|
|
1151
|
-
l("div",
|
|
1152
|
-
l("span",
|
|
1153
|
-
l("span",
|
|
1149
|
+
l("div", Ea, f(a(V)(e.game.gameDate, "L LT", null, e.locale)) + " (" + f(a(He)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1150
|
+
l("div", Pa, [
|
|
1151
|
+
l("div", Da, [
|
|
1152
|
+
l("span", La, f(e.game.homeTeam.shortName), 1),
|
|
1153
|
+
l("span", Ma, f(e.game.homeTeam.longName), 1)
|
|
1154
1154
|
])
|
|
1155
1155
|
]),
|
|
1156
|
-
l("div",
|
|
1157
|
-
(u(), D(a(
|
|
1156
|
+
l("div", Aa, [
|
|
1157
|
+
(u(), D(a(ne), {
|
|
1158
1158
|
key: e.game.homeTeam.id,
|
|
1159
1159
|
class: "is-logo-image",
|
|
1160
1160
|
src: e.game.homeTeam.logo
|
|
1161
1161
|
}, null, 8, ["src"]))
|
|
1162
1162
|
]),
|
|
1163
|
-
l("div",
|
|
1164
|
-
e.game.gameStatus === 0 ? (u(), y("span",
|
|
1163
|
+
l("div", Oa, [
|
|
1164
|
+
e.game.gameStatus === 0 ? (u(), y("span", Ra, " - : - ")) : E("", !0),
|
|
1165
1165
|
l("a", {
|
|
1166
1166
|
href: e.gameLink(e.game),
|
|
1167
1167
|
target: e.target,
|
|
1168
1168
|
class: oe(["game-result", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1169
1169
|
}, [
|
|
1170
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), y("span",
|
|
1171
|
-
e.game.gameStatus === 3 ? (u(), y("span",
|
|
1172
|
-
e.game.gameStatus === 4 ? (u(), y("span",
|
|
1173
|
-
], 10,
|
|
1174
|
-
e.game.gameStatus > 0 ? (u(), y("div",
|
|
1170
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), y("span", Ga, f(e.game.homeTeamScore) + " : " + f(e.game.awayTeamScore), 1)) : E("", !0),
|
|
1171
|
+
e.game.gameStatus === 3 ? (u(), y("span", Ya, f(a(t)("game.status.jury")), 1)) : E("", !0),
|
|
1172
|
+
e.game.gameStatus === 4 ? (u(), y("span", Ba, f(a(t)("game.status.delayed")), 1)) : E("", !0)
|
|
1173
|
+
], 10, ja),
|
|
1174
|
+
e.game.gameStatus > 0 ? (u(), y("div", Fa, f(e.game.periodResults), 1)) : E("", !0)
|
|
1175
1175
|
]),
|
|
1176
|
-
l("div",
|
|
1177
|
-
(u(), D(a(
|
|
1176
|
+
l("div", Ua, [
|
|
1177
|
+
(u(), D(a(ne), {
|
|
1178
1178
|
key: e.game.awayTeam.id,
|
|
1179
1179
|
src: e.game.awayTeam.logo
|
|
1180
1180
|
}, null, 8, ["src"]))
|
|
1181
1181
|
]),
|
|
1182
|
-
l("div",
|
|
1183
|
-
l("div",
|
|
1184
|
-
Array.isArray(e.game.awayTeam) ? (u(), y("span",
|
|
1185
|
-
l("span",
|
|
1186
|
-
l("span",
|
|
1182
|
+
l("div", Ka, [
|
|
1183
|
+
l("div", Va, [
|
|
1184
|
+
Array.isArray(e.game.awayTeam) ? (u(), y("span", qa, "Torna")) : E("", !0),
|
|
1185
|
+
l("span", Ha, f(e.game.awayTeam.shortName), 1),
|
|
1186
|
+
l("span", Wa, f(e.game.awayTeam.longName), 1)
|
|
1187
1187
|
])
|
|
1188
1188
|
])
|
|
1189
1189
|
], 2));
|
|
1190
1190
|
}
|
|
1191
|
-
}, we = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Ja = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Qa = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Xa = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Za = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", ei = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', fe = (e, t) => {
|
|
1191
|
+
}, ge = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Qa = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Xa = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Za = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", ei = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", ti = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', we = (e, t) => {
|
|
1192
1192
|
const o = e.__vccOpts || e;
|
|
1193
1193
|
for (const [r, i] of t)
|
|
1194
1194
|
o[r] = i;
|
|
1195
1195
|
return o;
|
|
1196
|
-
},
|
|
1196
|
+
}, ri = { class: "tabs underlined mb-md" }, oi = ["aria-label"], ai = ["aria-selected", "onClick"], ii = ["aria-selected", "onClick"], ni = ["aria-selected", "onClick"], li = ["aria-selected", "onClick"], si = { class: "tabs filled mb-md" }, ci = ["aria-label"], mi = ["aria-selected", "disabled", "onClick"], di = {
|
|
1197
1197
|
key: 0,
|
|
1198
1198
|
class: "text-center text-muted"
|
|
1199
|
-
},
|
|
1199
|
+
}, vi = ["data-gamedate"], ui = { class: "block h6 text-highlighted mt-xl mb-md" }, hi = { class: "card" }, pi = ["onClick"], gi = {
|
|
1200
1200
|
__name: "Calendar.ce",
|
|
1201
1201
|
props: {
|
|
1202
1202
|
locale: {
|
|
@@ -1214,8 +1214,8 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1214
1214
|
...Nr
|
|
1215
1215
|
},
|
|
1216
1216
|
setup(e) {
|
|
1217
|
-
const t = e, o = { en:
|
|
1218
|
-
return (m, n) => (u(), D(a(
|
|
1217
|
+
const t = e, o = { en: he, hu: pe }, r = G(We()), i = T(() => t.isGameTargetExternal ? "_blank" : "_self"), s = (m) => Je(t.externalGameResolver || "/game/id/{id}", m);
|
|
1218
|
+
return (m, n) => (u(), D(a(ue), {
|
|
1219
1219
|
locale: t.locale,
|
|
1220
1220
|
messages: o
|
|
1221
1221
|
}, {
|
|
@@ -1226,7 +1226,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1226
1226
|
key: 0,
|
|
1227
1227
|
error: v
|
|
1228
1228
|
}, null, 8, ["error"])) : E("", !0),
|
|
1229
|
-
S(
|
|
1229
|
+
S(la, {
|
|
1230
1230
|
locale: t.locale,
|
|
1231
1231
|
timezone: r.value,
|
|
1232
1232
|
"season-id": e.seasonId,
|
|
@@ -1240,9 +1240,9 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1240
1240
|
selectedMonth: x,
|
|
1241
1241
|
more: C,
|
|
1242
1242
|
setMonth: z,
|
|
1243
|
-
changePanel:
|
|
1243
|
+
changePanel: N
|
|
1244
1244
|
}) => [
|
|
1245
|
-
l("nav",
|
|
1245
|
+
l("nav", ri, [
|
|
1246
1246
|
l("div", {
|
|
1247
1247
|
id: "top",
|
|
1248
1248
|
role: "tablist",
|
|
@@ -1252,30 +1252,30 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1252
1252
|
l("button", {
|
|
1253
1253
|
role: "tab",
|
|
1254
1254
|
type: "button",
|
|
1255
|
-
"aria-selected": _ === a(
|
|
1256
|
-
onClick: (b) =>
|
|
1257
|
-
}, f(d("calendar.gamesPlayed")), 9,
|
|
1255
|
+
"aria-selected": _ === a(de),
|
|
1256
|
+
onClick: (b) => N(a(de))
|
|
1257
|
+
}, f(d("calendar.gamesPlayed")), 9, ai),
|
|
1258
1258
|
l("button", {
|
|
1259
1259
|
role: "tab",
|
|
1260
1260
|
type: "button",
|
|
1261
1261
|
"aria-selected": _ === a(Se),
|
|
1262
|
-
onClick: (b) =>
|
|
1263
|
-
}, f(d("calendar.todaysGames")), 9,
|
|
1262
|
+
onClick: (b) => N(a(Se))
|
|
1263
|
+
}, f(d("calendar.todaysGames")), 9, ii),
|
|
1264
1264
|
l("button", {
|
|
1265
1265
|
role: "tab",
|
|
1266
1266
|
type: "button",
|
|
1267
1267
|
"aria-selected": _ === a($e),
|
|
1268
|
-
onClick: (b) =>
|
|
1269
|
-
}, f(d("calendar.nextGames")), 9,
|
|
1268
|
+
onClick: (b) => N(a($e))
|
|
1269
|
+
}, f(d("calendar.nextGames")), 9, ni),
|
|
1270
1270
|
l("button", {
|
|
1271
1271
|
role: "tab",
|
|
1272
1272
|
type: "button",
|
|
1273
1273
|
"aria-selected": _ === a(je),
|
|
1274
|
-
onClick: (b) =>
|
|
1275
|
-
}, f(d("calendar.weekGames")), 9,
|
|
1276
|
-
], 8,
|
|
1274
|
+
onClick: (b) => N(a(je))
|
|
1275
|
+
}, f(d("calendar.weekGames")), 9, li)
|
|
1276
|
+
], 8, oi)
|
|
1277
1277
|
]),
|
|
1278
|
-
l("nav",
|
|
1278
|
+
l("nav", si, [
|
|
1279
1279
|
l("div", {
|
|
1280
1280
|
role: "tablist",
|
|
1281
1281
|
"aria-label": d("selection.sections")
|
|
@@ -1286,19 +1286,19 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1286
1286
|
"aria-selected": x === b.id,
|
|
1287
1287
|
disabled: g,
|
|
1288
1288
|
onClick: (p) => z(b)
|
|
1289
|
-
}, f(b.name), 9,
|
|
1290
|
-
], 8,
|
|
1289
|
+
}, f(b.name), 9, mi))), 128))
|
|
1290
|
+
], 8, ci)
|
|
1291
1291
|
]),
|
|
1292
|
-
h.totalItems === 0 && !g ? (u(), y("div",
|
|
1292
|
+
h.totalItems === 0 && !g ? (u(), y("div", di, f(d("calendar.noGame")), 1)) : E("", !0),
|
|
1293
1293
|
l("div", null, [
|
|
1294
1294
|
g ? (u(), D(a(qe), { key: 0 })) : E("", !0),
|
|
1295
1295
|
(u(!0), y(B, null, ee(h.rows, (b, p) => (u(), y("div", {
|
|
1296
1296
|
key: p,
|
|
1297
1297
|
"data-gamedate": p
|
|
1298
1298
|
}, [
|
|
1299
|
-
l("span",
|
|
1300
|
-
l("div",
|
|
1301
|
-
(u(!0), y(B, null, ee(b, (k) => (u(), D(
|
|
1299
|
+
l("span", ui, f(a(V)(new Date(p), "LL dddd", r.value, e.locale)), 1),
|
|
1300
|
+
l("div", hi, [
|
|
1301
|
+
(u(!0), y(B, null, ee(b, (k) => (u(), D(Ja, {
|
|
1302
1302
|
key: k.id,
|
|
1303
1303
|
game: k,
|
|
1304
1304
|
locale: e.locale,
|
|
@@ -1307,7 +1307,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1307
1307
|
target: i.value
|
|
1308
1308
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1309
1309
|
])
|
|
1310
|
-
], 8,
|
|
1310
|
+
], 8, vi))), 128))
|
|
1311
1311
|
]),
|
|
1312
1312
|
!g && h.currentItems < h.totalItems ? (u(), D(a($r), {
|
|
1313
1313
|
key: 1,
|
|
@@ -1315,7 +1315,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1315
1315
|
onIntersect: C
|
|
1316
1316
|
}, {
|
|
1317
1317
|
default: P(() => [
|
|
1318
|
-
l("button", { onClick: C }, f(d("calendar.more")), 9,
|
|
1318
|
+
l("button", { onClick: C }, f(d("calendar.more")), 9, pi)
|
|
1319
1319
|
]),
|
|
1320
1320
|
_: 2
|
|
1321
1321
|
}, 1032, ["onIntersect"])) : E("", !0)
|
|
@@ -1329,7 +1329,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1329
1329
|
_: 1
|
|
1330
1330
|
}, 8, ["locale"]));
|
|
1331
1331
|
}
|
|
1332
|
-
},
|
|
1332
|
+
}, wi = /* @__PURE__ */ we(gi, [["styles", [ge, Qa, Xa, Za, ei, ti]]]), fi = { class: "" }, bi = ["value"], yi = { class: "tabs underlined mb-md" }, xi = ["aria-label"], ki = ["aria-selected", "onClick"], ir = {
|
|
1333
1333
|
__name: "SeasonSelector",
|
|
1334
1334
|
props: {
|
|
1335
1335
|
seasons: {
|
|
@@ -1351,7 +1351,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1351
1351
|
},
|
|
1352
1352
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
1353
1353
|
setup(e, { emit: t }) {
|
|
1354
|
-
const o = e, r = t, { t: i } =
|
|
1354
|
+
const o = e, r = t, { t: i } = ce(), s = T({
|
|
1355
1355
|
get() {
|
|
1356
1356
|
return o.championshipId;
|
|
1357
1357
|
},
|
|
@@ -1363,7 +1363,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1363
1363
|
r("onChangeSection", n);
|
|
1364
1364
|
}
|
|
1365
1365
|
return (n, d) => (u(), y(B, null, [
|
|
1366
|
-
l("div",
|
|
1366
|
+
l("div", fi, [
|
|
1367
1367
|
S(a(_e), {
|
|
1368
1368
|
label: a(i)("selection.season"),
|
|
1369
1369
|
name: "season",
|
|
@@ -1379,7 +1379,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1379
1379
|
(u(!0), y(B, null, ee(e.seasons, (v) => (u(), y("option", {
|
|
1380
1380
|
key: v.championshipId,
|
|
1381
1381
|
value: v.championshipId
|
|
1382
|
-
}, f(v.seasonName), 9,
|
|
1382
|
+
}, f(v.seasonName), 9, bi))), 128))
|
|
1383
1383
|
]),
|
|
1384
1384
|
_: 1
|
|
1385
1385
|
}, 8, ["modelValue"])
|
|
@@ -1387,7 +1387,7 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1387
1387
|
_: 1
|
|
1388
1388
|
}, 8, ["label"])
|
|
1389
1389
|
]),
|
|
1390
|
-
l("nav",
|
|
1390
|
+
l("nav", yi, [
|
|
1391
1391
|
l("div", {
|
|
1392
1392
|
role: "tablist",
|
|
1393
1393
|
"aria-label": a(i)("selection.sections")
|
|
@@ -1397,32 +1397,32 @@ const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1397
1397
|
role: "tab",
|
|
1398
1398
|
"aria-selected": v.sectionId === e.sectionId,
|
|
1399
1399
|
onClick: (c) => m(v)
|
|
1400
|
-
}, f(v.sectionName), 9,
|
|
1401
|
-
], 8,
|
|
1400
|
+
}, f(v.sectionName), 9, ki))), 128))
|
|
1401
|
+
], 8, xi)
|
|
1402
1402
|
])
|
|
1403
1403
|
], 64));
|
|
1404
1404
|
}
|
|
1405
|
-
}, ze = "schedule", et = "standings",
|
|
1406
|
-
function
|
|
1405
|
+
}, ze = "schedule", et = "standings", me = "players", Ae = "teams";
|
|
1406
|
+
function _i(e, t, o = null) {
|
|
1407
1407
|
const r = Ot(e);
|
|
1408
1408
|
t.championships = r, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1409
1409
|
const i = Rt(r?.[0]?.phases ?? []), s = i.findIndex((m) => m.phaseId === Number(o));
|
|
1410
1410
|
t.phaseId = s > -1 ? Number(o) : i[0]?.phaseId;
|
|
1411
1411
|
}
|
|
1412
|
-
const
|
|
1412
|
+
const zi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1413
1413
|
api: "/v2/games-list",
|
|
1414
1414
|
columns: () => qt,
|
|
1415
1415
|
sort: {}
|
|
1416
1416
|
}).set("standings", {
|
|
1417
1417
|
api: "/v2/standings",
|
|
1418
|
-
columns: (e) => e ?
|
|
1418
|
+
columns: (e) => e ? oo : ao,
|
|
1419
1419
|
sort: {}
|
|
1420
1420
|
}).set("points", {
|
|
1421
1421
|
api: "/v2/players-stats",
|
|
1422
1422
|
columns: () => De,
|
|
1423
1423
|
sort: {
|
|
1424
1424
|
sortTarget: "points",
|
|
1425
|
-
orders: [{ target: "points", direction:
|
|
1425
|
+
orders: [{ target: "points", direction: Q }]
|
|
1426
1426
|
}
|
|
1427
1427
|
}).set("goals", {
|
|
1428
1428
|
api: "/v2/players-stats",
|
|
@@ -1430,8 +1430,8 @@ const _i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1430
1430
|
sort: {
|
|
1431
1431
|
sortTarget: "goals",
|
|
1432
1432
|
orders: [
|
|
1433
|
-
{ target: "goals", direction:
|
|
1434
|
-
{ target: "assists", direction:
|
|
1433
|
+
{ target: "goals", direction: Q },
|
|
1434
|
+
{ target: "assists", direction: Q }
|
|
1435
1435
|
]
|
|
1436
1436
|
}
|
|
1437
1437
|
}).set("assists", {
|
|
@@ -1440,8 +1440,8 @@ const _i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1440
1440
|
sort: {
|
|
1441
1441
|
sortTarget: "assists",
|
|
1442
1442
|
orders: [
|
|
1443
|
-
{ target: "assists", direction:
|
|
1444
|
-
{ target: "goals", direction:
|
|
1443
|
+
{ target: "assists", direction: Q },
|
|
1444
|
+
{ target: "goals", direction: Q }
|
|
1445
1445
|
]
|
|
1446
1446
|
}
|
|
1447
1447
|
}).set("plusminus", {
|
|
@@ -1449,14 +1449,14 @@ const _i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1449
1449
|
columns: () => De,
|
|
1450
1450
|
sort: {
|
|
1451
1451
|
sortTarget: "plusMinus",
|
|
1452
|
-
orders: [{ target: "plusMinus", direction:
|
|
1452
|
+
orders: [{ target: "plusMinus", direction: Q }]
|
|
1453
1453
|
}
|
|
1454
1454
|
}).set("playerspenalties", {
|
|
1455
1455
|
api: "/v2/players-penalty",
|
|
1456
|
-
columns: () =>
|
|
1456
|
+
columns: () => io,
|
|
1457
1457
|
sort: {
|
|
1458
1458
|
sortTarget: "pim",
|
|
1459
|
-
orders: [{ target: "pim", direction:
|
|
1459
|
+
orders: [{ target: "pim", direction: Q }]
|
|
1460
1460
|
}
|
|
1461
1461
|
}).set("goalies", {
|
|
1462
1462
|
api: "/v2/players-goalie",
|
|
@@ -1464,7 +1464,7 @@ const _i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1464
1464
|
columns: () => ht,
|
|
1465
1465
|
sort: {
|
|
1466
1466
|
sortTarget: "svsPercent",
|
|
1467
|
-
orders: [{ target: "svsPercent", direction:
|
|
1467
|
+
orders: [{ target: "svsPercent", direction: Q }]
|
|
1468
1468
|
}
|
|
1469
1469
|
}).set("goaliesunderlimit", {
|
|
1470
1470
|
api: "/v2/players-goalie",
|
|
@@ -1472,35 +1472,35 @@ const _i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1472
1472
|
columns: () => ht,
|
|
1473
1473
|
sort: {
|
|
1474
1474
|
sortTarget: "svsPercent",
|
|
1475
|
-
orders: [{ target: "svsPercent", direction:
|
|
1475
|
+
orders: [{ target: "svsPercent", direction: Q }]
|
|
1476
1476
|
}
|
|
1477
1477
|
}).set("teamFairplay", {
|
|
1478
1478
|
api: "/v2/team-fairplay",
|
|
1479
|
-
columns: () =>
|
|
1479
|
+
columns: () => no,
|
|
1480
1480
|
sort: {
|
|
1481
1481
|
sortTarget: "pim",
|
|
1482
|
-
orders: [{ target: "pim", direction:
|
|
1482
|
+
orders: [{ target: "pim", direction: Q }]
|
|
1483
1483
|
}
|
|
1484
1484
|
}).set("teamPenaltiKilling", {
|
|
1485
1485
|
api: "/v2/team-powerplay",
|
|
1486
|
-
columns: () =>
|
|
1486
|
+
columns: () => lo,
|
|
1487
1487
|
sort: {
|
|
1488
1488
|
sortTarget: "pkPercent",
|
|
1489
|
-
orders: [{ target: "pkPercent", direction:
|
|
1489
|
+
orders: [{ target: "pkPercent", direction: Q }]
|
|
1490
1490
|
}
|
|
1491
1491
|
}).set("teamPowerplay", {
|
|
1492
1492
|
api: "/v2/team-powerplay",
|
|
1493
|
-
columns: () =>
|
|
1493
|
+
columns: () => so,
|
|
1494
1494
|
sort: {
|
|
1495
1495
|
sortTarget: "ppPercent",
|
|
1496
|
-
orders: [{ target: "ppPercent", direction:
|
|
1496
|
+
orders: [{ target: "ppPercent", direction: Q }]
|
|
1497
1497
|
}
|
|
1498
1498
|
}).set("teamScoringEfficiency", {
|
|
1499
1499
|
api: "/v2/team-scoring-efficiency",
|
|
1500
|
-
columns: () =>
|
|
1500
|
+
columns: () => co,
|
|
1501
1501
|
sort: {
|
|
1502
1502
|
sortTarget: "sp",
|
|
1503
|
-
orders: [{ target: "sp", direction:
|
|
1503
|
+
orders: [{ target: "sp", direction: Q }]
|
|
1504
1504
|
}
|
|
1505
1505
|
});
|
|
1506
1506
|
function yt(e) {
|
|
@@ -1559,12 +1559,13 @@ function xt(e) {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
];
|
|
1561
1561
|
}
|
|
1562
|
-
|
|
1562
|
+
const Si = (e, t) => Pr((o) => e.includes(o.value), t);
|
|
1563
|
+
function $i(e, t) {
|
|
1563
1564
|
if (e.length === 0)
|
|
1564
1565
|
throw new jt(Re.message, Re.options);
|
|
1565
1566
|
t.seasons = Gt(e), t.championshipId || (t.championshipId = te(t.seasons).championshipId);
|
|
1566
1567
|
}
|
|
1567
|
-
const
|
|
1568
|
+
const Ci = {
|
|
1568
1569
|
__name: "DataProvider",
|
|
1569
1570
|
props: {
|
|
1570
1571
|
championshipName: {
|
|
@@ -1602,10 +1603,14 @@ const Si = {
|
|
|
1602
1603
|
externalPlayerResolver: {
|
|
1603
1604
|
type: [String, Function],
|
|
1604
1605
|
default: ""
|
|
1606
|
+
},
|
|
1607
|
+
isGoalieStatsDisabled: {
|
|
1608
|
+
type: Boolean,
|
|
1609
|
+
default: !1
|
|
1605
1610
|
}
|
|
1606
1611
|
},
|
|
1607
1612
|
setup(e) {
|
|
1608
|
-
const t = e, o = Qt("history"), r =
|
|
1613
|
+
const t = e, o = Qt("history"), r = se({
|
|
1609
1614
|
loading: !1,
|
|
1610
1615
|
seasons: [],
|
|
1611
1616
|
championshipId: Number(o.championshipId) || 0,
|
|
@@ -1620,104 +1625,107 @@ const Si = {
|
|
|
1620
1625
|
columns: qt,
|
|
1621
1626
|
sort: null,
|
|
1622
1627
|
report: "points"
|
|
1623
|
-
}), i = Ct(t, "timezone"), s =
|
|
1628
|
+
}), i = Ct(t, "timezone"), s = G(""), { onError: m } = Qe(), { sort: n, change: d } = Qr({
|
|
1624
1629
|
sortTarget: "",
|
|
1625
1630
|
orders: []
|
|
1626
|
-
}), { page: v, change: c } = Vt(), { t: h } =
|
|
1631
|
+
}), { page: v, change: c } = Vt(), { t: h } = ce(), { isLoading: w, execute: g } = re({
|
|
1627
1632
|
options: {
|
|
1628
1633
|
path: "/v2/championship-seasons",
|
|
1629
1634
|
apiKey: t.apiKey,
|
|
1630
1635
|
params: { championshipName: t.championshipName }
|
|
1631
1636
|
},
|
|
1632
|
-
transform: (L) =>
|
|
1637
|
+
transform: (L) => $i(L, r),
|
|
1633
1638
|
onError: m
|
|
1634
1639
|
}), { isLoading: _, execute: x } = re({
|
|
1635
1640
|
options: {
|
|
1636
1641
|
path: "/v2/championship-sections",
|
|
1637
1642
|
apiKey: t.apiKey,
|
|
1638
|
-
params:
|
|
1643
|
+
params: T(() => ({ championshipId: r.championshipId }))
|
|
1639
1644
|
},
|
|
1640
|
-
transform: (L) =>
|
|
1645
|
+
transform: (L) => _i(L, r, t.initialPhaseId),
|
|
1641
1646
|
onError: m
|
|
1642
1647
|
}), {
|
|
1643
1648
|
isLoading: C,
|
|
1644
1649
|
state: z,
|
|
1645
|
-
execute:
|
|
1650
|
+
execute: N
|
|
1646
1651
|
} = re({
|
|
1647
1652
|
options: {
|
|
1648
|
-
path:
|
|
1653
|
+
path: T(() => r.api),
|
|
1649
1654
|
apiKey: t.apiKey,
|
|
1650
1655
|
resetOnExecute: !0,
|
|
1651
|
-
params:
|
|
1656
|
+
params: T(() => ({ championshipId: r.championshipId, phaseId: r.phaseId, ...r.apiParams }))
|
|
1652
1657
|
},
|
|
1653
1658
|
transform: (L) => Yt(L),
|
|
1654
1659
|
onError: m
|
|
1655
|
-
}), b =
|
|
1656
|
-
Be([g, x,
|
|
1657
|
-
const p =
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
() =>
|
|
1660
|
+
}), b = Xr([_, w, C], { delay: 1e3 });
|
|
1661
|
+
Be([g, x, N]);
|
|
1662
|
+
const p = T(() => {
|
|
1663
|
+
const L = yt(h);
|
|
1664
|
+
return t.isGoalieStatsDisabled ? Si(["goalies", "goaliesunderlimit"], L) : L;
|
|
1665
|
+
}), k = T(
|
|
1666
|
+
() => r.selectedPanel === me ? p.value : xt(h)
|
|
1667
|
+
), $ = T(() => {
|
|
1668
|
+
const L = r.championships.find((O) => O.sectionId === r.selectedChampionshipId);
|
|
1669
|
+
return Dr(Rt(L?.phases ?? []));
|
|
1670
|
+
}), M = T(() => r.selectedPanel === ze ? 0 : t.limit), R = T(
|
|
1671
|
+
() => Lr(
|
|
1664
1672
|
z.value,
|
|
1665
|
-
Lr,
|
|
1666
1673
|
Mr,
|
|
1667
1674
|
Ar,
|
|
1668
|
-
Or
|
|
1669
|
-
Rr(["
|
|
1675
|
+
Or,
|
|
1676
|
+
Rr(["mip"]),
|
|
1677
|
+
jr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1670
1678
|
)
|
|
1671
|
-
),
|
|
1672
|
-
function
|
|
1673
|
-
r.championshipId = L, o.championshipId = L, Be([x,
|
|
1674
|
-
}
|
|
1675
|
-
function G(L) {
|
|
1676
|
-
r.selectedChampionshipId = L.sectionId, r.phaseId = k.value[0]?.phaseId ?? null, T();
|
|
1679
|
+
), I = T(() => Ne(a(R)).filter(a(s), ["name"]).sorted(n).addContinuousIndex().schedule(a(i), a(t.locale)).pagination(a(v), M.value).value());
|
|
1680
|
+
function Y(L) {
|
|
1681
|
+
r.championshipId = L, o.championshipId = L, Be([x, N]);
|
|
1677
1682
|
}
|
|
1678
|
-
function
|
|
1679
|
-
r.
|
|
1683
|
+
function j(L) {
|
|
1684
|
+
r.selectedChampionshipId = L.sectionId, r.phaseId = $.value[0]?.phaseId ?? null, N();
|
|
1680
1685
|
}
|
|
1681
1686
|
function ae(L) {
|
|
1687
|
+
r.phaseId = L, N();
|
|
1688
|
+
}
|
|
1689
|
+
function X(L) {
|
|
1682
1690
|
r.selectedPanel = L;
|
|
1683
|
-
let
|
|
1684
|
-
L ===
|
|
1691
|
+
let O = L;
|
|
1692
|
+
L === me && (O = te(yt(K))?.value), L === Ae && (O = te(xt(K))?.value), r.report = O, J(O);
|
|
1685
1693
|
}
|
|
1686
|
-
function
|
|
1687
|
-
|
|
1694
|
+
function le(L) {
|
|
1695
|
+
J(L);
|
|
1688
1696
|
}
|
|
1689
|
-
function
|
|
1697
|
+
function F(L) {
|
|
1690
1698
|
s.value = L, c(1);
|
|
1691
1699
|
}
|
|
1692
|
-
function
|
|
1693
|
-
const
|
|
1694
|
-
r.api =
|
|
1700
|
+
function J(L) {
|
|
1701
|
+
const O = zi.get(L);
|
|
1702
|
+
r.api = O.api, r.apiParams = O.params, r.columns = O.columns(t.allPeriodVisible), n.sortTarget = O.sort?.sortTarget ?? "", n.orders = O.sort?.orders ?? [], s.value = "", N(), c(1);
|
|
1695
1703
|
}
|
|
1696
|
-
const
|
|
1697
|
-
return (L,
|
|
1704
|
+
const fe = (L) => Gr(t.externalPlayerResolver, { ...L, championshipId: r.championshipId });
|
|
1705
|
+
return (L, O) => ke(L.$slots, "default", Ue(Ke({
|
|
1698
1706
|
...r,
|
|
1699
1707
|
sort: a(n),
|
|
1700
1708
|
page: a(v),
|
|
1701
1709
|
query: s.value,
|
|
1702
|
-
phases:
|
|
1710
|
+
phases: $.value,
|
|
1703
1711
|
isLoading: a(b),
|
|
1704
|
-
games:
|
|
1705
|
-
reports:
|
|
1712
|
+
games: I.value,
|
|
1713
|
+
reports: k.value,
|
|
1706
1714
|
onSort: a(d),
|
|
1707
|
-
changePanel:
|
|
1708
|
-
changePhase:
|
|
1709
|
-
changeSeason:
|
|
1710
|
-
onUpdateQuery:
|
|
1711
|
-
onChangeReport:
|
|
1715
|
+
changePanel: X,
|
|
1716
|
+
changePhase: ae,
|
|
1717
|
+
changeSeason: Y,
|
|
1718
|
+
onUpdateQuery: F,
|
|
1719
|
+
onChangeReport: le,
|
|
1712
1720
|
onPaginatorChange: a(c),
|
|
1713
|
-
changeChampionship:
|
|
1714
|
-
resolveExternalPlayerLink:
|
|
1721
|
+
changeChampionship: j,
|
|
1722
|
+
resolveExternalPlayerLink: fe
|
|
1715
1723
|
})));
|
|
1716
1724
|
}
|
|
1717
|
-
},
|
|
1725
|
+
}, Ti = { class: "flex-container" }, Ni = {
|
|
1718
1726
|
key: 0,
|
|
1719
1727
|
value: null
|
|
1720
|
-
},
|
|
1728
|
+
}, Ii = ["value"], Ei = ["value"], Pi = ["placeholder"], Di = {
|
|
1721
1729
|
__name: "Selector",
|
|
1722
1730
|
props: {
|
|
1723
1731
|
phases: {
|
|
@@ -1751,8 +1759,8 @@ const Si = {
|
|
|
1751
1759
|
},
|
|
1752
1760
|
emits: ["update:phaseId", "update:report", "update:query"],
|
|
1753
1761
|
setup(e, { emit: t }) {
|
|
1754
|
-
const o = e, r = t, { t: i } =
|
|
1755
|
-
return (d, v) => (u(), y("div",
|
|
1762
|
+
const o = e, r = t, { t: i } = ce(), { phaseId: s, report: m, query: n } = na(o, r);
|
|
1763
|
+
return (d, v) => (u(), y("div", Ti, [
|
|
1756
1764
|
S(a(_e), {
|
|
1757
1765
|
label: a(i)("selection.phases"),
|
|
1758
1766
|
name: "phases",
|
|
@@ -1766,11 +1774,11 @@ const Si = {
|
|
|
1766
1774
|
disabled: a(s) === null
|
|
1767
1775
|
}, {
|
|
1768
1776
|
default: P(() => [
|
|
1769
|
-
a(s) === null ? (u(), y("option",
|
|
1777
|
+
a(s) === null ? (u(), y("option", Ni, f(a(i)("selection.noPhases")), 1)) : E("", !0),
|
|
1770
1778
|
(u(!0), y(B, null, ee(e.phases, (c) => (u(), y("option", {
|
|
1771
1779
|
key: c.phaseId,
|
|
1772
1780
|
value: c.phaseId
|
|
1773
|
-
}, f(c.phaseName), 9,
|
|
1781
|
+
}, f(c.phaseName), 9, Ii))), 128))
|
|
1774
1782
|
]),
|
|
1775
1783
|
_: 1
|
|
1776
1784
|
}, 8, ["modelValue", "disabled"])
|
|
@@ -1792,7 +1800,7 @@ const Si = {
|
|
|
1792
1800
|
(u(!0), y(B, null, ee(e.reports, ({ value: c, name: h }) => (u(), y("option", {
|
|
1793
1801
|
key: c,
|
|
1794
1802
|
value: c
|
|
1795
|
-
}, f(h), 9,
|
|
1803
|
+
}, f(h), 9, Ei))), 128))
|
|
1796
1804
|
]),
|
|
1797
1805
|
_: 1
|
|
1798
1806
|
}, 8, ["modelValue"])
|
|
@@ -1811,7 +1819,7 @@ const Si = {
|
|
|
1811
1819
|
placeholder: a(i)("selection.filterName"),
|
|
1812
1820
|
type: "search",
|
|
1813
1821
|
autocomplete: "off"
|
|
1814
|
-
}, null, 8,
|
|
1822
|
+
}, null, 8, Pi), [
|
|
1815
1823
|
[Nt, a(n)]
|
|
1816
1824
|
])
|
|
1817
1825
|
]),
|
|
@@ -1819,7 +1827,7 @@ const Si = {
|
|
|
1819
1827
|
}, 8, ["label"])) : E("", !0)
|
|
1820
1828
|
]));
|
|
1821
1829
|
}
|
|
1822
|
-
}, nr = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", lr = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', sr = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", cr = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", mr = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, dr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Pi = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Di = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", Li = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Mi = { class: "tabs underlined" }, Ai = ["aria-label"], Oi = ["aria-selected", "onClick"], Ri = ["aria-selected", "onClick"], ji = ["aria-selected", "onClick"], Gi = ["aria-selected", "onClick"], Yi = {
|
|
1830
|
+
}, nr = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", lr = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', sr = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", cr = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", mr = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, dr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Li = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Mi = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", Ai = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Oi = { class: "tabs underlined" }, Ri = ["aria-label"], ji = ["aria-selected", "onClick"], Gi = ["aria-selected", "onClick"], Yi = ["aria-selected", "onClick"], Bi = ["aria-selected", "onClick"], Fi = {
|
|
1823
1831
|
__name: "Championship.ce",
|
|
1824
1832
|
props: {
|
|
1825
1833
|
locale: {
|
|
@@ -1861,12 +1869,16 @@ const Si = {
|
|
|
1861
1869
|
isPlayerLinked: {
|
|
1862
1870
|
type: Boolean,
|
|
1863
1871
|
default: !1
|
|
1872
|
+
},
|
|
1873
|
+
isGoalieStatsDisabled: {
|
|
1874
|
+
type: Boolean,
|
|
1875
|
+
default: !1
|
|
1864
1876
|
}
|
|
1865
1877
|
},
|
|
1866
1878
|
setup(e) {
|
|
1867
|
-
const t = e, o =
|
|
1879
|
+
const t = e, o = G(null), r = G(We()), i = T(() => He(/* @__PURE__ */ new Date(), a(r), t.locale)), s = { en: he, hu: pe }, m = (d) => Je(t.externalGameResolver, d), n = (d) => Yr(t.externalTeamResolver, d);
|
|
1868
1880
|
return (d, v) => (u(), y("div", null, [
|
|
1869
|
-
S(a(
|
|
1881
|
+
S(a(ue), {
|
|
1870
1882
|
locale: t.locale,
|
|
1871
1883
|
messages: s
|
|
1872
1884
|
}, {
|
|
@@ -1877,14 +1889,15 @@ const Si = {
|
|
|
1877
1889
|
key: 0,
|
|
1878
1890
|
error: h
|
|
1879
1891
|
}, null, 8, ["error"])) : E("", !0),
|
|
1880
|
-
S(
|
|
1892
|
+
S(Ci, {
|
|
1881
1893
|
locale: e.locale,
|
|
1882
1894
|
timezone: r.value,
|
|
1883
1895
|
"championship-name": e.championshipName,
|
|
1884
1896
|
limit: e.limit,
|
|
1885
1897
|
"initial-phase-id": e.initialPhaseId,
|
|
1886
1898
|
"all-period-visible": e.totalPeriodPlayedVisible,
|
|
1887
|
-
"external-player-resolver": e.externalPlayerResolver
|
|
1899
|
+
"external-player-resolver": e.externalPlayerResolver,
|
|
1900
|
+
"is-goalie-stats-disabled": e.isGoalieStatsDisabled
|
|
1888
1901
|
}, {
|
|
1889
1902
|
default: P(({
|
|
1890
1903
|
sort: g,
|
|
@@ -1892,47 +1905,47 @@ const Si = {
|
|
|
1892
1905
|
games: x,
|
|
1893
1906
|
query: C,
|
|
1894
1907
|
phases: z,
|
|
1895
|
-
report:
|
|
1908
|
+
report: N,
|
|
1896
1909
|
phaseId: b,
|
|
1897
1910
|
columns: p,
|
|
1898
1911
|
seasons: k,
|
|
1899
1912
|
reports: $,
|
|
1900
1913
|
isLoading: M,
|
|
1901
|
-
selectedPanel:
|
|
1902
|
-
championships:
|
|
1903
|
-
championshipId:
|
|
1904
|
-
selectedChampionshipId:
|
|
1914
|
+
selectedPanel: R,
|
|
1915
|
+
championships: I,
|
|
1916
|
+
championshipId: Y,
|
|
1917
|
+
selectedChampionshipId: j,
|
|
1905
1918
|
onSort: ae,
|
|
1906
|
-
changePanel:
|
|
1907
|
-
changePhase:
|
|
1919
|
+
changePanel: X,
|
|
1920
|
+
changePhase: le,
|
|
1908
1921
|
changeSeason: F,
|
|
1909
|
-
onUpdateQuery:
|
|
1910
|
-
onChangeReport:
|
|
1911
|
-
onPaginatorChange:
|
|
1912
|
-
changeChampionship:
|
|
1922
|
+
onUpdateQuery: J,
|
|
1923
|
+
onChangeReport: fe,
|
|
1924
|
+
onPaginatorChange: L,
|
|
1925
|
+
changeChampionship: O,
|
|
1913
1926
|
resolveExternalPlayerLink: Ee
|
|
1914
1927
|
}) => [
|
|
1915
1928
|
S(ir, {
|
|
1916
1929
|
seasons: k,
|
|
1917
|
-
sections:
|
|
1918
|
-
"championship-id":
|
|
1919
|
-
"section-id":
|
|
1930
|
+
sections: I,
|
|
1931
|
+
"championship-id": Y,
|
|
1932
|
+
"section-id": j,
|
|
1920
1933
|
onOnChangeSeason: F,
|
|
1921
|
-
onOnChangeSection:
|
|
1934
|
+
onOnChangeSection: O
|
|
1922
1935
|
}, null, 8, ["seasons", "sections", "championship-id", "section-id", "onOnChangeSeason", "onOnChangeSection"]),
|
|
1923
|
-
S(
|
|
1936
|
+
S(Di, {
|
|
1924
1937
|
query: C,
|
|
1925
1938
|
phases: z,
|
|
1926
1939
|
"phase-id": b,
|
|
1927
1940
|
reports: $,
|
|
1928
|
-
report:
|
|
1929
|
-
"is-reports-visible":
|
|
1930
|
-
"is-name-filter-visible":
|
|
1931
|
-
"onUpdate:phaseId":
|
|
1932
|
-
"onUpdate:report":
|
|
1933
|
-
"onUpdate:query":
|
|
1941
|
+
report: N,
|
|
1942
|
+
"is-reports-visible": R === a(me) || R === a(Ae),
|
|
1943
|
+
"is-name-filter-visible": R === a(me),
|
|
1944
|
+
"onUpdate:phaseId": le,
|
|
1945
|
+
"onUpdate:report": fe,
|
|
1946
|
+
"onUpdate:query": J
|
|
1934
1947
|
}, null, 8, ["query", "phases", "phase-id", "reports", "report", "is-reports-visible", "is-name-filter-visible", "onUpdate:phaseId", "onUpdate:report", "onUpdate:query"]),
|
|
1935
|
-
l("nav",
|
|
1948
|
+
l("nav", Oi, [
|
|
1936
1949
|
l("div", {
|
|
1937
1950
|
role: "tablist",
|
|
1938
1951
|
"aria-label": c("selection.sections")
|
|
@@ -1940,28 +1953,28 @@ const Si = {
|
|
|
1940
1953
|
l("button", {
|
|
1941
1954
|
role: "tab",
|
|
1942
1955
|
type: "button",
|
|
1943
|
-
"aria-selected":
|
|
1944
|
-
onClick: (be) =>
|
|
1945
|
-
}, f(c("selection.schedule")), 9,
|
|
1956
|
+
"aria-selected": R === a(ze),
|
|
1957
|
+
onClick: (be) => X(a(ze))
|
|
1958
|
+
}, f(c("selection.schedule")), 9, ji),
|
|
1946
1959
|
l("button", {
|
|
1947
1960
|
role: "tab",
|
|
1948
1961
|
type: "button",
|
|
1949
|
-
"aria-selected":
|
|
1950
|
-
onClick: (be) =>
|
|
1951
|
-
}, f(c("selection.standings")), 9,
|
|
1962
|
+
"aria-selected": R === a(et),
|
|
1963
|
+
onClick: (be) => X(a(et))
|
|
1964
|
+
}, f(c("selection.standings")), 9, Gi),
|
|
1952
1965
|
l("button", {
|
|
1953
1966
|
role: "tab",
|
|
1954
1967
|
type: "button",
|
|
1955
|
-
"aria-selected":
|
|
1956
|
-
onClick: (be) =>
|
|
1957
|
-
}, f(c("selection.playerStats")), 9,
|
|
1968
|
+
"aria-selected": R === a(me),
|
|
1969
|
+
onClick: (be) => X(a(me))
|
|
1970
|
+
}, f(c("selection.playerStats")), 9, Yi),
|
|
1958
1971
|
l("button", {
|
|
1959
1972
|
role: "tab",
|
|
1960
1973
|
type: "button",
|
|
1961
|
-
"aria-selected":
|
|
1962
|
-
onClick: (be) =>
|
|
1963
|
-
}, f(c("selection.teamStats")), 9,
|
|
1964
|
-
], 8,
|
|
1974
|
+
"aria-selected": R === a(Ae),
|
|
1975
|
+
onClick: (be) => X(a(Ae))
|
|
1976
|
+
}, f(c("selection.teamStats")), 9, Bi)
|
|
1977
|
+
], 8, Ri)
|
|
1965
1978
|
]),
|
|
1966
1979
|
S(a(Dt), {
|
|
1967
1980
|
columns: p,
|
|
@@ -1974,18 +1987,18 @@ const Si = {
|
|
|
1974
1987
|
"external-game-resolver": m,
|
|
1975
1988
|
"external-player-resolver": Ee,
|
|
1976
1989
|
"append-to": o.value,
|
|
1977
|
-
"hide-columns":
|
|
1990
|
+
"hide-columns": R === a(ze) ? "broadcast" : "",
|
|
1978
1991
|
onSort: ae
|
|
1979
1992
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "is-player-linked", "external-player-resolver", "append-to", "hide-columns", "onSort"]),
|
|
1980
|
-
|
|
1993
|
+
R === a(me) ? (u(), D(a(Lt), {
|
|
1981
1994
|
key: 0,
|
|
1982
1995
|
page: _,
|
|
1983
1996
|
"items-per-page": t.limit,
|
|
1984
1997
|
"total-items": x.totalItems,
|
|
1985
1998
|
"range-length": 5,
|
|
1986
|
-
onChange:
|
|
1999
|
+
onChange: L
|
|
1987
2000
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : E("", !0),
|
|
1988
|
-
|
|
2001
|
+
R === a(et) ? (u(), y(B, { key: 1 }, [
|
|
1989
2002
|
S(a(Oe), {
|
|
1990
2003
|
rows: x.rows,
|
|
1991
2004
|
"additional-key": "inheritedPoints"
|
|
@@ -1997,7 +2010,7 @@ const Si = {
|
|
|
1997
2010
|
], 64)) : E("", !0)
|
|
1998
2011
|
]),
|
|
1999
2012
|
_: 2
|
|
2000
|
-
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id", "all-period-visible", "external-player-resolver"]),
|
|
2013
|
+
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id", "all-period-visible", "external-player-resolver", "is-goalie-stats-disabled"]),
|
|
2001
2014
|
l("div", {
|
|
2002
2015
|
ref_key: "tooltipContainer",
|
|
2003
2016
|
ref: o
|
|
@@ -2010,9 +2023,9 @@ const Si = {
|
|
|
2010
2023
|
}, 8, ["locale"])
|
|
2011
2024
|
]));
|
|
2012
2025
|
}
|
|
2013
|
-
},
|
|
2014
|
-
function
|
|
2015
|
-
const o =
|
|
2026
|
+
}, Ui = /* @__PURE__ */ we(Fi, [["styles", [ge, nr, lr, sr, cr, mr, dr, Li, Mi, Ai]]]);
|
|
2027
|
+
function Ki(e, t = K) {
|
|
2028
|
+
const o = G({
|
|
2016
2029
|
days: "00",
|
|
2017
2030
|
hours: "00",
|
|
2018
2031
|
minutes: "00",
|
|
@@ -2020,13 +2033,13 @@ function Fi(e, t = K) {
|
|
|
2020
2033
|
}), r = H(!1), i = H(null), { pause: s, resume: m } = Ge(() => {
|
|
2021
2034
|
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
2022
2035
|
let d = i.value - n;
|
|
2023
|
-
d <= 0 && (s(), d = 0, r.value = !0, t()), o.value =
|
|
2036
|
+
d <= 0 && (s(), d = 0, r.value = !0, t()), o.value = Vi(d);
|
|
2024
2037
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
2025
2038
|
return W(() => A(e), (n) => {
|
|
2026
2039
|
i.value = new Date(n).getTime(), m();
|
|
2027
2040
|
}, { immediate: !1 }), { date: o, finished: r };
|
|
2028
2041
|
}
|
|
2029
|
-
function
|
|
2042
|
+
function Vi(e) {
|
|
2030
2043
|
return {
|
|
2031
2044
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
2032
2045
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2034,7 +2047,7 @@ function Ui(e) {
|
|
|
2034
2047
|
seconds: Math.floor(e % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
|
|
2035
2048
|
};
|
|
2036
2049
|
}
|
|
2037
|
-
const
|
|
2050
|
+
const qi = ["data-number"], Z = {
|
|
2038
2051
|
__name: "Number",
|
|
2039
2052
|
props: {
|
|
2040
2053
|
number: [Number, String],
|
|
@@ -2056,9 +2069,9 @@ const Ki = ["data-number"], Z = {
|
|
|
2056
2069
|
]),
|
|
2057
2070
|
_: 1
|
|
2058
2071
|
}, 8, ["name"])
|
|
2059
|
-
], 8,
|
|
2072
|
+
], 8, qi));
|
|
2060
2073
|
}
|
|
2061
|
-
},
|
|
2074
|
+
}, Hi = '@layer components.variables{:where(:host){--mvw-countdown-title-height: calc(var(--size-16) * 2);--mvw-countdown-title-bg: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-countdown-gamedata-height: calc(var(--size-16) * 4);--mvw-countdown-active-color: light-dark(var(--mvw-color-secondary-500), var(--mvw-color-secondary-800));--mvw-countdown-gamedata-bg: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-countdown-result-bg: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200))}}@layer components{:where(.game-countdown){display:grid;grid-template-rows:var(--mvw-countdown-title-height) 1fr var(--mvw-countdown-gamedata-height);box-shadow:0 2px 4px #0003}:where(.game-countdown) .game-countdown-title{text-align:center;font-size:var(--font-size-400);font-weight:700;line-height:var(--mvw-countdown-title-height);color:var(--mvw-text-faded);background-color:var(--mvw-countdown-title-bg)}:where(.game-countdown) .game-countdown-container{display:grid;grid-template-areas:"stack";place-items:center;background-color:var(--mvw-countdown-result-bg)}:where(.game-countdown) .game-countdown-container>div{visibility:hidden}:where(.game-countdown) .game-countdown-container>div.is-visible{visibility:visible}:where(.game-countdown) .game-countdown-result{grid-area:stack;display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"period period period" "home-score separator away-score" "period-results period-results period-results";gap:0 var(--size-8);align-items:center;color:var(--mvw-text-dimmed);font-weight:700}:where(.game-countdown) .game-countdown-result .is-separator{grid-area:separator;line-height:1;font-size:clamp(2rem,10vw,5rem)}:where(.game-countdown) .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}:where(.game-countdown) .game-countdown-result .is-home-score{grid-area:home-score}:where(.game-countdown) .game-countdown-result .is-away-score{grid-area:away-score}:where(.game-countdown) .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--font-size-400);text-align:center}:where(.game-countdown) .game-countdown-result .is-period{grid-area:period;font-size:var(--font-size-50);font-weight:700;text-align:center;text-transform:uppercase}:where(.game-countdown) .game-countdown-result .is-live{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-counter{grid-area:stack;display:flex;gap:var(--size-16);justify-content:space-around;padding:var(--size-16);font-size:var(--font-size-100);font-weight:700;text-transform:uppercase;color:var(--mvw-text-dimmed)}:where(.game-countdown) .game-countdown-counter .is-number{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-gamedata{display:grid;grid-template-columns:40px 1fr auto 1fr 40px;grid-template-areas:"home-team-logo game-date game-date game-date away-team-logo" "home-team-logo home-team separator away-team away-team-logo";gap:0 .5rem;align-content:center;align-items:center;padding-inline:var(--size-16);background-color:var(--mvw-countdown-gamedata-bg);font-size:var(--mvw-font-size-500);font-weight:700;line-height:var(--font-lineheight-400);color:light-dark(var(--mvw-color-primary-50),var(--mvw-color-primary-800))}:where(.game-countdown) .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--mvw-text-faded);font-size:var(--font-size-200)}:where(.game-countdown) .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}:where(.game-countdown) .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}:where(.game-countdown) .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.game-countdown) .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}:where(.game-countdown) .game-countdown-gamedata .is-away-team{grid-area:away-team}:where(.game-countdown) .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}:where(.game-countdown) .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}:where(.game-countdown) .is-number{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);animation:.4s fade-in ease-out;@keyframes fade-in{0%{opacity:0}to{opacity:1}}}:where(.game-countdown) .is-number>span{grid-area:stack;font-size:clamp(3.125rem,10vw,5rem);line-height:1;font-weight:700}}', Wi = ["href", "target"], Ji = { class: "game-countdown-title" }, Qi = { class: "game-countdown-container" }, Xi = ["textContent"], Zi = ["textContent"], en = ["textContent"], tn = { style: { display: "flex" } }, rn = ["textContent"], on = { style: { display: "flex" } }, an = ["textContent"], nn = { style: { display: "flex" } }, ln = ["textContent"], sn = { style: { display: "flex" } }, cn = { class: "game-countdown-gamedata" }, mn = { class: "is-game-date" }, dn = { class: "is-home-team" }, vn = { class: "is-away-team" }, un = {
|
|
2062
2075
|
__name: "Countdown.ce",
|
|
2063
2076
|
props: {
|
|
2064
2077
|
locale: {
|
|
@@ -2074,10 +2087,10 @@ const Ki = ["data-number"], Z = {
|
|
|
2074
2087
|
default: ""
|
|
2075
2088
|
},
|
|
2076
2089
|
// externalGameResolver, isGameTargetExternal
|
|
2077
|
-
...
|
|
2090
|
+
...Wr
|
|
2078
2091
|
},
|
|
2079
2092
|
setup(e) {
|
|
2080
|
-
const t = e, o = { en:
|
|
2093
|
+
const t = e, o = { en: he, hu: pe }, {
|
|
2081
2094
|
state: r,
|
|
2082
2095
|
execute: i,
|
|
2083
2096
|
isLoading: s
|
|
@@ -2094,11 +2107,11 @@ const Ki = ["data-number"], Z = {
|
|
|
2094
2107
|
// onError,
|
|
2095
2108
|
}), { pause: m, resume: n } = Ge(() => {
|
|
2096
2109
|
i();
|
|
2097
|
-
}, 3e4, { immediate: !1 }), d =
|
|
2110
|
+
}, 3e4, { immediate: !1 }), d = T(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), v = T(() => (r.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: c, finished: h } = Ki(T(() => r.value.gameDate), () => n()), w = T(() => Je(t.externalGameResolver, { gameId: t.gameId })), g = T(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2098
2111
|
function _(x) {
|
|
2099
2112
|
x.gameStatus === 1 && n(), x.gameStatus > 1 && m();
|
|
2100
2113
|
}
|
|
2101
|
-
return (x, C) => (u(), D(a(
|
|
2114
|
+
return (x, C) => (u(), D(a(ue), {
|
|
2102
2115
|
locale: e.locale,
|
|
2103
2116
|
messages: o
|
|
2104
2117
|
}, {
|
|
@@ -2108,19 +2121,19 @@ const Ki = ["data-number"], Z = {
|
|
|
2108
2121
|
target: g.value,
|
|
2109
2122
|
class: "game-countdown"
|
|
2110
2123
|
}, [
|
|
2111
|
-
l("div",
|
|
2124
|
+
l("div", Ji, [
|
|
2112
2125
|
a(ot)(a(r)) ? E("", !0) : (u(), y(B, { key: 0 }, [
|
|
2113
2126
|
q(f(a(r).championshipName) + " - " + f(a(r).divisionName), 1)
|
|
2114
2127
|
], 64))
|
|
2115
2128
|
]),
|
|
2116
|
-
l("div",
|
|
2129
|
+
l("div", Qi, [
|
|
2117
2130
|
l("div", {
|
|
2118
2131
|
class: oe(["game-countdown-result", { "is-visible": a(h) }])
|
|
2119
2132
|
}, [
|
|
2120
2133
|
l("div", {
|
|
2121
2134
|
class: "is-period",
|
|
2122
2135
|
textContent: f(z(a(r).period ? `game.period.${a(r).period}` : ""))
|
|
2123
|
-
}, null, 8,
|
|
2136
|
+
}, null, 8, Xi),
|
|
2124
2137
|
l("div", {
|
|
2125
2138
|
class: oe(["is-home-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2126
2139
|
style: { display: "flex" }
|
|
@@ -2151,7 +2164,7 @@ const Ki = ["data-number"], Z = {
|
|
|
2151
2164
|
l("div", {
|
|
2152
2165
|
class: "is-period-results",
|
|
2153
2166
|
textContent: f(a(r).periodResults)
|
|
2154
|
-
}, null, 8,
|
|
2167
|
+
}, null, 8, Zi)
|
|
2155
2168
|
], 2),
|
|
2156
2169
|
l("div", {
|
|
2157
2170
|
class: oe(["game-countdown-counter", { "is-visible": !a(h) && !a(s) }])
|
|
@@ -2159,8 +2172,8 @@ const Ki = ["data-number"], Z = {
|
|
|
2159
2172
|
l("div", null, [
|
|
2160
2173
|
l("div", {
|
|
2161
2174
|
textContent: f(z("countdown.days"))
|
|
2162
|
-
}, null, 8,
|
|
2163
|
-
l("div",
|
|
2175
|
+
}, null, 8, en),
|
|
2176
|
+
l("div", tn, [
|
|
2164
2177
|
S(Z, {
|
|
2165
2178
|
number: a(c).days[0],
|
|
2166
2179
|
direction: "decrease"
|
|
@@ -2174,8 +2187,8 @@ const Ki = ["data-number"], Z = {
|
|
|
2174
2187
|
l("div", null, [
|
|
2175
2188
|
l("div", {
|
|
2176
2189
|
textContent: f(z("countdown.hours"))
|
|
2177
|
-
}, null, 8,
|
|
2178
|
-
l("div",
|
|
2190
|
+
}, null, 8, rn),
|
|
2191
|
+
l("div", on, [
|
|
2179
2192
|
S(Z, {
|
|
2180
2193
|
number: a(c).hours[0],
|
|
2181
2194
|
direction: "decrease"
|
|
@@ -2189,8 +2202,8 @@ const Ki = ["data-number"], Z = {
|
|
|
2189
2202
|
l("div", null, [
|
|
2190
2203
|
l("div", {
|
|
2191
2204
|
textContent: f(z("countdown.minutes"))
|
|
2192
|
-
}, null, 8,
|
|
2193
|
-
l("div",
|
|
2205
|
+
}, null, 8, an),
|
|
2206
|
+
l("div", nn, [
|
|
2194
2207
|
S(Z, {
|
|
2195
2208
|
number: a(c).minutes[0],
|
|
2196
2209
|
direction: "decrease"
|
|
@@ -2204,8 +2217,8 @@ const Ki = ["data-number"], Z = {
|
|
|
2204
2217
|
l("div", null, [
|
|
2205
2218
|
l("div", {
|
|
2206
2219
|
textContent: f(z("countdown.seconds"))
|
|
2207
|
-
}, null, 8,
|
|
2208
|
-
l("div",
|
|
2220
|
+
}, null, 8, ln),
|
|
2221
|
+
l("div", sn, [
|
|
2209
2222
|
S(Z, {
|
|
2210
2223
|
number: a(c).seconds[0],
|
|
2211
2224
|
direction: "decrease"
|
|
@@ -2218,31 +2231,31 @@ const Ki = ["data-number"], Z = {
|
|
|
2218
2231
|
])
|
|
2219
2232
|
], 2)
|
|
2220
2233
|
]),
|
|
2221
|
-
l("div",
|
|
2222
|
-
l("div",
|
|
2223
|
-
a(r).homeTeam?.logo ? (u(), D(a(
|
|
2234
|
+
l("div", cn, [
|
|
2235
|
+
l("div", mn, f(a(V)(a(r).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2236
|
+
a(r).homeTeam?.logo ? (u(), D(a(ne), {
|
|
2224
2237
|
key: 0,
|
|
2225
2238
|
class: "is-home-team-logo",
|
|
2226
2239
|
src: a(r).homeTeam.logo
|
|
2227
2240
|
}, null, 8, ["src"])) : E("", !0),
|
|
2228
|
-
l("span",
|
|
2241
|
+
l("span", dn, f(a(r).homeTeam?.longName), 1),
|
|
2229
2242
|
C[0] || (C[0] = l("span", { class: "is-separator" }, "-", -1)),
|
|
2230
|
-
l("span",
|
|
2231
|
-
a(r).awayTeam?.logo ? (u(), D(a(
|
|
2243
|
+
l("span", vn, f(a(r).awayTeam?.longName), 1),
|
|
2244
|
+
a(r).awayTeam?.logo ? (u(), D(a(ne), {
|
|
2232
2245
|
key: 1,
|
|
2233
2246
|
class: "is-away-team-logo",
|
|
2234
2247
|
src: a(r).awayTeam.logo
|
|
2235
2248
|
}, null, 8, ["src"])) : E("", !0)
|
|
2236
2249
|
])
|
|
2237
|
-
], 8,
|
|
2250
|
+
], 8, Wi)
|
|
2238
2251
|
]),
|
|
2239
2252
|
_: 1
|
|
2240
2253
|
}, 8, ["locale"]));
|
|
2241
2254
|
}
|
|
2242
|
-
},
|
|
2243
|
-
function
|
|
2244
|
-
const { execute: t } =
|
|
2245
|
-
(o) =>
|
|
2255
|
+
}, hn = /* @__PURE__ */ we(un, [["styles", [ge, Hi]]]), vr = Symbol("CarouselContext");
|
|
2256
|
+
function pn({ apiKey: e }) {
|
|
2257
|
+
const { execute: t } = ta(
|
|
2258
|
+
(o) => Zr("/v2/game-data", e, o).then((r) => ({ ...r, ...o })),
|
|
2246
2259
|
{},
|
|
2247
2260
|
{
|
|
2248
2261
|
immediate: !1,
|
|
@@ -2253,11 +2266,11 @@ function un({ apiKey: e }) {
|
|
|
2253
2266
|
execute: t
|
|
2254
2267
|
};
|
|
2255
2268
|
}
|
|
2256
|
-
function
|
|
2257
|
-
const r =
|
|
2269
|
+
function gn(e, t, o) {
|
|
2270
|
+
const r = wn(t, o);
|
|
2258
2271
|
return e.reduce((s, m) => (r.has(m.id) ? s.push({ ...r.get(m.id), ...m }) : s.push(m), s), []);
|
|
2259
2272
|
}
|
|
2260
|
-
function
|
|
2273
|
+
function wn(e, t) {
|
|
2261
2274
|
const o = /* @__PURE__ */ new Map();
|
|
2262
2275
|
for (const r of e)
|
|
2263
2276
|
o.set(r[t], r);
|
|
@@ -2266,7 +2279,7 @@ function pn(e, t) {
|
|
|
2266
2279
|
function kt(e) {
|
|
2267
2280
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2268
2281
|
}
|
|
2269
|
-
const
|
|
2282
|
+
const fn = { class: "games-timeline" }, bn = ["disabled"], yn = { ref: "container" }, xn = ["disabled"], kn = {
|
|
2270
2283
|
__name: "Carousel",
|
|
2271
2284
|
props: {
|
|
2272
2285
|
initialIndex: {
|
|
@@ -2275,18 +2288,18 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2275
2288
|
}
|
|
2276
2289
|
},
|
|
2277
2290
|
setup(e) {
|
|
2278
|
-
const t = e, o = Et("container"), r =
|
|
2291
|
+
const t = e, o = Et("container"), r = G(t.initialIndex), i = G([]);
|
|
2279
2292
|
wr(vr, {
|
|
2280
2293
|
register: (w) => {
|
|
2281
|
-
i.value.includes(w) || (i.value.push(w), i.value =
|
|
2294
|
+
i.value.includes(w) || (i.value.push(w), i.value = Br(i.value, (g) => ie(o.value).querySelector(`#${g}`)));
|
|
2282
2295
|
},
|
|
2283
2296
|
unregister: (w) => {
|
|
2284
2297
|
const g = i.value.indexOf(w);
|
|
2285
2298
|
g !== -1 && i.value.splice(g, 1);
|
|
2286
2299
|
}
|
|
2287
2300
|
});
|
|
2288
|
-
const { arrivedState: m } =
|
|
2289
|
-
() =>
|
|
2301
|
+
const { arrivedState: m } = aa(o, { onStop: h }), n = T(
|
|
2302
|
+
() => ie(o).querySelector(`#${i.value[r.value]}`)
|
|
2290
2303
|
);
|
|
2291
2304
|
Fe(() => c()), W(
|
|
2292
2305
|
() => t.initialIndex,
|
|
@@ -2304,20 +2317,20 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2304
2317
|
n.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...w });
|
|
2305
2318
|
}
|
|
2306
2319
|
function h() {
|
|
2307
|
-
const w =
|
|
2320
|
+
const w = ie(o).getBoundingClientRect()?.left, g = Array.from(ie(o).children).findIndex(
|
|
2308
2321
|
(_) => Math.round(_.getBoundingClientRect().left - w) >= 0
|
|
2309
2322
|
);
|
|
2310
2323
|
r.value = g;
|
|
2311
2324
|
}
|
|
2312
|
-
return (w, g) => (u(), y("div",
|
|
2325
|
+
return (w, g) => (u(), y("div", fn, [
|
|
2313
2326
|
l("button", {
|
|
2314
2327
|
type: "button",
|
|
2315
2328
|
disabled: a(m).left,
|
|
2316
2329
|
onClick: d
|
|
2317
2330
|
}, [
|
|
2318
|
-
S(a(
|
|
2319
|
-
], 8,
|
|
2320
|
-
l("div",
|
|
2331
|
+
S(a(ga))
|
|
2332
|
+
], 8, bn),
|
|
2333
|
+
l("div", yn, [
|
|
2321
2334
|
ke(w.$slots, "default")
|
|
2322
2335
|
], 512),
|
|
2323
2336
|
l("button", {
|
|
@@ -2326,7 +2339,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2326
2339
|
onClick: v
|
|
2327
2340
|
}, [
|
|
2328
2341
|
S(a(dt))
|
|
2329
|
-
], 8,
|
|
2342
|
+
], 8, xn)
|
|
2330
2343
|
]));
|
|
2331
2344
|
}
|
|
2332
2345
|
}, tt = {
|
|
@@ -2340,7 +2353,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2340
2353
|
ke(r.$slots, "default")
|
|
2341
2354
|
]));
|
|
2342
2355
|
}
|
|
2343
|
-
},
|
|
2356
|
+
}, _n = { class: "games-timeline-schedule-link" }, _t = {
|
|
2344
2357
|
__name: "ExternalSchedule",
|
|
2345
2358
|
props: {
|
|
2346
2359
|
title: {
|
|
@@ -2358,7 +2371,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2358
2371
|
function i() {
|
|
2359
2372
|
r("navigateTo", { url: o.externalScheduleUrl, target: "_self" });
|
|
2360
2373
|
}
|
|
2361
|
-
return (s, m) => (u(), y("div",
|
|
2374
|
+
return (s, m) => (u(), y("div", _n, [
|
|
2362
2375
|
l("button", {
|
|
2363
2376
|
type: "button",
|
|
2364
2377
|
onClick: i
|
|
@@ -2368,10 +2381,10 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2368
2381
|
])
|
|
2369
2382
|
]));
|
|
2370
2383
|
}
|
|
2371
|
-
},
|
|
2384
|
+
}, zn = ["data-overflow"], Sn = {
|
|
2372
2385
|
key: 0,
|
|
2373
2386
|
"aria-hidden": "true"
|
|
2374
|
-
},
|
|
2387
|
+
}, $n = {
|
|
2375
2388
|
__name: "Marquee",
|
|
2376
2389
|
props: {
|
|
2377
2390
|
statusText: {
|
|
@@ -2379,8 +2392,8 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2379
2392
|
}
|
|
2380
2393
|
},
|
|
2381
2394
|
setup(e) {
|
|
2382
|
-
const t = Et("root"), o =
|
|
2383
|
-
return
|
|
2395
|
+
const t = Et("root"), o = G(!1), r = G(0);
|
|
2396
|
+
return oa(t, async (i) => {
|
|
2384
2397
|
const s = i[0], m = s.target.firstChild?.clientWidth ?? 0, { width: n } = s.contentRect;
|
|
2385
2398
|
m > n && (o.value = !0, await xe(), r.value = s.target.firstChild?.clientWidth ?? 0);
|
|
2386
2399
|
}), (i, s) => (u(), y("div", {
|
|
@@ -2393,11 +2406,11 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2393
2406
|
style: xr({ "--_width": `${r.value}px` })
|
|
2394
2407
|
}, [
|
|
2395
2408
|
l("span", null, f(e.statusText), 1),
|
|
2396
|
-
o.value ? (u(), y("span",
|
|
2409
|
+
o.value ? (u(), y("span", Sn, f(e.statusText), 1)) : E("", !0)
|
|
2397
2410
|
], 4)
|
|
2398
|
-
], 8,
|
|
2411
|
+
], 8, zn));
|
|
2399
2412
|
}
|
|
2400
|
-
},
|
|
2413
|
+
}, Cn = { class: "score-display" }, Tn = { class: "is-score" }, zt = {
|
|
2401
2414
|
__name: "ScoreDisplay",
|
|
2402
2415
|
props: {
|
|
2403
2416
|
score: {
|
|
@@ -2406,8 +2419,8 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2406
2419
|
}
|
|
2407
2420
|
},
|
|
2408
2421
|
setup(e) {
|
|
2409
|
-
return (t, o) => (u(), y("div",
|
|
2410
|
-
l("div",
|
|
2422
|
+
return (t, o) => (u(), y("div", Cn, [
|
|
2423
|
+
l("div", Tn, [
|
|
2411
2424
|
S(It, { name: "is-slide-transition" }, {
|
|
2412
2425
|
default: P(() => [
|
|
2413
2426
|
(u(), y("span", { key: e.score }, f(e.score), 1))
|
|
@@ -2417,16 +2430,16 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2417
2430
|
])
|
|
2418
2431
|
]));
|
|
2419
2432
|
}
|
|
2420
|
-
},
|
|
2433
|
+
}, Nn = {
|
|
2421
2434
|
key: 0,
|
|
2422
2435
|
class: "badge xs"
|
|
2423
|
-
},
|
|
2436
|
+
}, In = {
|
|
2424
2437
|
key: 1,
|
|
2425
2438
|
class: "badge xs"
|
|
2426
|
-
},
|
|
2439
|
+
}, En = { class: "is-home-team-logo" }, Pn = { class: "is-home-team-name" }, Dn = { class: "is-home-team-score" }, Ln = { class: "is-away-team-logo" }, Mn = { class: "is-away-team-name" }, An = { class: "is-away-team-score" }, On = {
|
|
2427
2440
|
key: 0,
|
|
2428
2441
|
class: "is-status"
|
|
2429
|
-
},
|
|
2442
|
+
}, Rn = {
|
|
2430
2443
|
__name: "Game",
|
|
2431
2444
|
props: {
|
|
2432
2445
|
gameData: {
|
|
@@ -2440,7 +2453,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2440
2453
|
},
|
|
2441
2454
|
emits: ["navigateTo"],
|
|
2442
2455
|
setup(e, { emit: t }) {
|
|
2443
|
-
const o = e, r = t, { t: i } =
|
|
2456
|
+
const o = e, r = t, { t: i } = ce(), s = T(() => {
|
|
2444
2457
|
const { gameStatus: d, championshipName: v, divisionName: c, period: h, periodTime: w, sectionName: g } = o.gameData;
|
|
2445
2458
|
return d !== 1 ? n({ championshipName: v, divisionName: c, sectionName: g }) : h && kt(h) ? `${i(`game.period.${h}`)} - ${w}` : h && !kt(h) ? i(`game.period.${h}`) : "";
|
|
2446
2459
|
});
|
|
@@ -2464,22 +2477,22 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2464
2477
|
}, [
|
|
2465
2478
|
l("time", null, [
|
|
2466
2479
|
q(f(e.gameData.gameDateTime) + " ", 1),
|
|
2467
|
-
e.gameData.isShootout ? (u(), y("span",
|
|
2468
|
-
e.gameData.isOvertime ? (u(), y("span",
|
|
2469
|
-
e.gameData.externalGameUrl ? (u(), D(a(
|
|
2480
|
+
e.gameData.isShootout ? (u(), y("span", Nn, f(a(i)("common.shootoutShort")), 1)) : E("", !0),
|
|
2481
|
+
e.gameData.isOvertime ? (u(), y("span", In, f(a(i)("common.overtimeShort")), 1)) : E("", !0),
|
|
2482
|
+
e.gameData.externalGameUrl ? (u(), D(a(ua), {
|
|
2470
2483
|
key: 2,
|
|
2471
2484
|
width: "14",
|
|
2472
2485
|
height: "14"
|
|
2473
2486
|
})) : E("", !0)
|
|
2474
2487
|
]),
|
|
2475
|
-
l("div",
|
|
2476
|
-
S(a(
|
|
2488
|
+
l("div", En, [
|
|
2489
|
+
S(a(ne), {
|
|
2477
2490
|
src: e.gameData.homeTeam.logo,
|
|
2478
2491
|
class: "is-team-logo"
|
|
2479
2492
|
}, null, 8, ["src"])
|
|
2480
2493
|
]),
|
|
2481
|
-
l("div",
|
|
2482
|
-
l("div",
|
|
2494
|
+
l("div", Pn, f(e.gameData.homeTeam.longName), 1),
|
|
2495
|
+
l("div", Dn, [
|
|
2483
2496
|
e.gameData.homeTeamScore != null ? (u(), D(zt, {
|
|
2484
2497
|
key: 0,
|
|
2485
2498
|
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]]),
|
|
@@ -2491,14 +2504,14 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2491
2504
|
_: 1
|
|
2492
2505
|
}, 8, ["class", "score"])) : E("", !0)
|
|
2493
2506
|
]),
|
|
2494
|
-
l("div",
|
|
2495
|
-
S(a(
|
|
2507
|
+
l("div", Ln, [
|
|
2508
|
+
S(a(ne), {
|
|
2496
2509
|
src: e.gameData.awayTeam.logo,
|
|
2497
2510
|
class: "is-team-logo"
|
|
2498
2511
|
}, null, 8, ["src"])
|
|
2499
2512
|
]),
|
|
2500
|
-
l("div",
|
|
2501
|
-
l("div",
|
|
2513
|
+
l("div", Mn, f(e.gameData.awayTeam.longName), 1),
|
|
2514
|
+
l("div", An, [
|
|
2502
2515
|
e.gameData.awayTeamScore != null ? (u(), D(zt, {
|
|
2503
2516
|
key: 0,
|
|
2504
2517
|
score: e.gameData.awayTeamScore,
|
|
@@ -2510,23 +2523,23 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2510
2523
|
_: 1
|
|
2511
2524
|
}, 8, ["score", "class"])) : E("", !0)
|
|
2512
2525
|
]),
|
|
2513
|
-
e.gameData.gameStatus === 1 ? (u(), y("div",
|
|
2526
|
+
e.gameData.gameStatus === 1 ? (u(), y("div", On, f(s.value), 1)) : (u(), D($n, {
|
|
2514
2527
|
key: 1,
|
|
2515
2528
|
"status-text": s.value,
|
|
2516
2529
|
class: "is-status"
|
|
2517
2530
|
}, null, 8, ["status-text"]))
|
|
2518
2531
|
]));
|
|
2519
2532
|
}
|
|
2520
|
-
},
|
|
2533
|
+
}, jn = { class: "games-timeline-error-indicator" }, Gn = {
|
|
2521
2534
|
__name: "TryAgain",
|
|
2522
2535
|
emits: ["tryAgain"],
|
|
2523
2536
|
setup(e, { emit: t }) {
|
|
2524
|
-
const o = t, { t: r } =
|
|
2537
|
+
const o = t, { t: r } = ce();
|
|
2525
2538
|
function i() {
|
|
2526
2539
|
o("tryAgain");
|
|
2527
2540
|
}
|
|
2528
|
-
return (s, m) => (u(), y("div",
|
|
2529
|
-
S(a(
|
|
2541
|
+
return (s, m) => (u(), y("div", jn, [
|
|
2542
|
+
S(a(za)),
|
|
2530
2543
|
l("div", null, f(a(r)("gamesTimeline.errorText")), 1),
|
|
2531
2544
|
l("button", {
|
|
2532
2545
|
type: "button",
|
|
@@ -2534,13 +2547,13 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2534
2547
|
}, f(a(r)("gamesTimeline.errorCta")), 1)
|
|
2535
2548
|
]));
|
|
2536
2549
|
}
|
|
2537
|
-
},
|
|
2550
|
+
}, Yn = '@layer components.variables{:where(:host){--mvw-games-timeline-game-date-size: var(--font-size-100);--mvw-games-timeline-game-team-size: var(--font-size-300);--mvw-games-timeline-game-status-size: var(--font-size-200);--mvw-games-timeline-game-hover-bg-color: linear-gradient( light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)), light-dark( hsl(from var(--mvw-color-white) h s calc(l - 5) ), hsl(from var(--mvw-color-primary-950) h s calc(l + 5) ) ) 50%, light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)) )}}@layer components{:where(.games-timeline){display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}:where(.games-timeline)>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}:where(.games-timeline)>div::-webkit-scrollbar{display:none}:where(.games-timeline) .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){:where(.games-timeline) .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){:where(.games-timeline) .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){:where(.games-timeline) .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){:where(.games-timeline) .is-slide{flex-basis:20%}}:where(.games-timeline)>button{position:relative;display:grid;place-content:center;height:100%}:where(.games-timeline)>button svg{display:block;height:22px;width:22px;color:var(--mvw-text-dimmed);transition:all .2s}:where(.games-timeline)>button:hover svg{color:var(--mvw-text-muted)}:where(.games-timeline)>button:disabled{cursor:not-allowed}:where(.games-timeline)>button:disabled svg{color:var(--mvw-text-faded)}:where(.games-timeline)>button:before,:where(.games-timeline)>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}:where(.games-timeline)>button:first-of-type:after{right:0;border-right:1px solid var(--mvw-border-faded);box-shadow:1px 0 3px #0000001a}:where(.games-timeline)>button:last-of-type:before{left:0;border-left:1px solid var(--mvw-border-faded);box-shadow:-1px 0 3px #0000001a}:where(.games-timeline)>button:disabled:first-of-type:after,:where(.games-timeline)>button:disabled:last-of-type:before{opacity:0}:where(.games-timeline) .is-no-games{width:100%;text-align:center;color:var(--mvw-text-muted)}.games-timeline-game{display:grid;grid-template-columns:20px 1fr 20px;grid-template-areas:"gamedate gamedate gamedate" "home-logo home-team home-score" "away-logo away-team away-score" "status status status";grid-template-rows:1fr 1fr 1fr 1fr;gap:5px;justify-items:center;align-items:center;padding:.625rem;line-height:1;cursor:pointer}.games-timeline-game:hover{background-image:var(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;display:flex;align-items:center;gap:4px;font-size:var(--mvw-games-timeline-game-date-size);font-weight:700;color:var(--mvw-text-muted)}.games-timeline-game .is-home-team-logo{grid-area:home-logo}.games-timeline-game .is-away-team-logo{grid-area:away-logo}.games-timeline-game :is(.is-home-team-logo,.is-away-team-logo) .is-team-logo{display:block;width:20px;height:20px}.games-timeline-game :is(.is-home-team-name,.is-away-team-name){justify-self:start;font-size:var(--mvw-games-timeline-game-team-size);font-weight:700;color:var(--mvw-text-default);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}.games-timeline-game .is-home-team-name{grid-area:home-team}.games-timeline-game .is-away-team-name{grid-area:away-team}.games-timeline-game .is-home-team-score{grid-area:home-score}.games-timeline-game .is-away-team-score{grid-area:away-score}.games-timeline-game .is-status{grid-area:status;font-size:var(--mvw-games-timeline-game-status-size);color:var(--mvw-text-dimmed);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;text-align:center}.games-timeline-schedule-link{display:grid;place-content:center;height:100%}.games-timeline-schedule-link:hover{background-image:var(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--font-size-200);font-weight:700;text-transform:uppercase;color:var(--mvw-text-toned)}.games-timeline-schedule-link button svg{display:inline-block;width:14px}.games-timeline-error-indicator{display:flex;gap:.5rem;align-items:center;place-content:center;width:100%;font-size:var(--font-size-400);font-weight:500;color:var(--mvw-color-error)}.games-timeline-error-indicator svg{display:block;width:20px}.games-timeline-error-indicator button{text-decoration:underline}.score-display{height:20px;padding:0 5px!important}.score-display .is-score{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%)}.score-display .is-score>span{grid-area:stack;line-height:20px}.score-display .is-slide-transition-enter-active,.score-display .is-slide-transition-leave-active{transition:all .42s linear}.score-display .is-slide-transition-enter-from{transform:translateY(100%)}.score-display .is-slide-transition-enter-to,.score-display .is-slide-transition-leave-from{transform:translateY(0)}.score-display .is-slide-transition-leave-to{transform:translateY(-100%)}}', Bn = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Fn = "@layer components{:where(.marquee){--_width: 0px;--_speed: 8s;--_direction: forwards;overflow:clip;-webkit-mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent);mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent)}:where(.marquee) .marquee-track{display:flex;gap:var(--size-16);padding-left:var(--size-16);width:max-content;line-height:initial;--px-width: tan(atan2(var(--_width), 1px));--duration: calc(var(--px-width) / 1000 * var(--_speed))}:where(.marquee)[data-overflow=true]:hover .marquee-track{animation:marquee-move var(--duration) linear infinite var(--_direction)}:where(.marquee)[data-overflow=false] .marquee-track{margin:0 auto;padding:0}@keyframes marquee-move{to{transform:translate(-50%)}}}", Un = {
|
|
2538
2551
|
key: 0,
|
|
2539
2552
|
style: { width: "100%" }
|
|
2540
|
-
},
|
|
2553
|
+
}, Kn = {
|
|
2541
2554
|
key: 2,
|
|
2542
2555
|
class: "is-no-games"
|
|
2543
|
-
},
|
|
2556
|
+
}, Vn = {
|
|
2544
2557
|
__name: "GamesTimeline.ce",
|
|
2545
2558
|
props: {
|
|
2546
2559
|
locale: {
|
|
@@ -2565,22 +2578,22 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2565
2578
|
}
|
|
2566
2579
|
},
|
|
2567
2580
|
setup(e) {
|
|
2568
|
-
const t = e, o = { en:
|
|
2581
|
+
const t = e, o = { en: he, hu: pe }, r = We();
|
|
2569
2582
|
let i = [];
|
|
2570
|
-
const s =
|
|
2583
|
+
const s = G(!1), { isLoading: m, state: n, execute: d } = re({
|
|
2571
2584
|
options: {
|
|
2572
2585
|
path: t.servicePath,
|
|
2573
2586
|
apiKey: t.apiKey,
|
|
2574
2587
|
params: {},
|
|
2575
2588
|
immediate: !0
|
|
2576
2589
|
},
|
|
2577
|
-
transform: (b) =>
|
|
2590
|
+
transform: (b) => gn(b, n.value, "id").reverse(),
|
|
2578
2591
|
onError: () => {
|
|
2579
2592
|
s.value = !0;
|
|
2580
2593
|
},
|
|
2581
2594
|
onSuccess: x
|
|
2582
|
-
}), { resume: v, pause: c } = Ge(d, 1e3 * 60 * 5), h =
|
|
2583
|
-
|
|
2595
|
+
}), { resume: v, pause: c } = Ge(d, 1e3 * 60 * 5), h = Ko(m, 500);
|
|
2596
|
+
eo(
|
|
2584
2597
|
!0,
|
|
2585
2598
|
() => {
|
|
2586
2599
|
d(), v();
|
|
@@ -2589,7 +2602,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2589
2602
|
c(), i.map((b) => b?.()), i = [];
|
|
2590
2603
|
}
|
|
2591
2604
|
);
|
|
2592
|
-
const w =
|
|
2605
|
+
const w = T(() => ot(n.value) ? 0 : n.value.findIndex((b) => !At(new Date(b.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), g = T(
|
|
2593
2606
|
() => n.value.map((b) => ({
|
|
2594
2607
|
...b,
|
|
2595
2608
|
gameDateTime: `${V(b.gameDate, "L LT", r, t.locale)} (${He(
|
|
@@ -2598,7 +2611,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2598
2611
|
t.locale
|
|
2599
2612
|
)})`
|
|
2600
2613
|
}))
|
|
2601
|
-
), { execute: _ } =
|
|
2614
|
+
), { execute: _ } = pn({ apiKey: t.apiKey });
|
|
2602
2615
|
async function x() {
|
|
2603
2616
|
s.value = !1, i.map((p) => p?.()), i = [];
|
|
2604
2617
|
const b = n.value.filter((p) => p.gameStatus === 1);
|
|
@@ -2610,31 +2623,31 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2610
2623
|
}
|
|
2611
2624
|
}
|
|
2612
2625
|
function C(b = {}) {
|
|
2613
|
-
const { gameId: p, gameStatus: k, homeTeamScore: $, awayTeamScore: M, period:
|
|
2614
|
-
|
|
2626
|
+
const { gameId: p, gameStatus: k, homeTeamScore: $, awayTeamScore: M, period: R, periodTime: I } = b, Y = n.value.find((j) => j.id === p);
|
|
2627
|
+
Y.gameStatus = k, Y.homeTeamScore = $, Y.awayTeamScore = M, Y.period = R, Y.periodTime = I, kr(n);
|
|
2615
2628
|
}
|
|
2616
2629
|
function z({ url: b, target: p }) {
|
|
2617
2630
|
window.open(b, p);
|
|
2618
2631
|
}
|
|
2619
|
-
function
|
|
2632
|
+
function N() {
|
|
2620
2633
|
s.value = !1, d();
|
|
2621
2634
|
}
|
|
2622
|
-
return (b, p) => (u(), D(a(
|
|
2635
|
+
return (b, p) => (u(), D(a(ue), {
|
|
2623
2636
|
locale: e.locale,
|
|
2624
2637
|
messages: o
|
|
2625
2638
|
}, {
|
|
2626
2639
|
default: P(({ t: k }) => [
|
|
2627
|
-
(u(), D(
|
|
2640
|
+
(u(), D(kn, {
|
|
2628
2641
|
key: a(h),
|
|
2629
2642
|
"initial-index": w.value
|
|
2630
2643
|
}, {
|
|
2631
2644
|
default: P(() => [
|
|
2632
|
-
!s.value && a(h) ? (u(), y("div",
|
|
2645
|
+
!s.value && a(h) ? (u(), y("div", Un, [
|
|
2633
2646
|
S(a(qe))
|
|
2634
|
-
])) : s.value && a(ot)(a(n)) ? (u(), D(
|
|
2647
|
+
])) : s.value && a(ot)(a(n)) ? (u(), D(Gn, {
|
|
2635
2648
|
key: 1,
|
|
2636
|
-
onTryAgain:
|
|
2637
|
-
})) : g.value.length === 0 ? (u(), y("div",
|
|
2649
|
+
onTryAgain: N
|
|
2650
|
+
})) : g.value.length === 0 ? (u(), y("div", Kn, f(k("gamesTimeline.noGames")), 1)) : (u(), y(B, { key: 3 }, [
|
|
2638
2651
|
p[0] || (Pe(-1, !0), (p[0] = S(tt, null, {
|
|
2639
2652
|
default: P(() => [
|
|
2640
2653
|
S(_t, {
|
|
@@ -2645,8 +2658,8 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2645
2658
|
]),
|
|
2646
2659
|
_: 2
|
|
2647
2660
|
}, 1024)).cacheIndex = 0, Pe(1), p[0]),
|
|
2648
|
-
(u(!0), y(B, null, ee(g.value, ($, M,
|
|
2649
|
-
const
|
|
2661
|
+
(u(!0), y(B, null, ee(g.value, ($, M, R, I) => {
|
|
2662
|
+
const Y = [
|
|
2650
2663
|
$.gameDateTime,
|
|
2651
2664
|
$.gameStatus,
|
|
2652
2665
|
$.homeTeamScore,
|
|
@@ -2654,12 +2667,12 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2654
2667
|
$.period,
|
|
2655
2668
|
$.actualTime
|
|
2656
2669
|
];
|
|
2657
|
-
if (
|
|
2658
|
-
const
|
|
2670
|
+
if (I && I.key === $.id && _r(I, Y)) return I;
|
|
2671
|
+
const j = (u(), D(tt, {
|
|
2659
2672
|
key: $.id
|
|
2660
2673
|
}, {
|
|
2661
2674
|
default: P(() => [
|
|
2662
|
-
S(
|
|
2675
|
+
S(Rn, {
|
|
2663
2676
|
"game-data": $,
|
|
2664
2677
|
"external-game-resolver": e.externalGameResolver,
|
|
2665
2678
|
onNavigateTo: z
|
|
@@ -2667,7 +2680,7 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2667
2680
|
]),
|
|
2668
2681
|
_: 2
|
|
2669
2682
|
}, 1024));
|
|
2670
|
-
return
|
|
2683
|
+
return j.memo = Y, j;
|
|
2671
2684
|
}, p, 1), 128)),
|
|
2672
2685
|
p[3] || (Pe(-1, !0), (p[3] = S(tt, null, {
|
|
2673
2686
|
default: P(() => [
|
|
@@ -2687,12 +2700,12 @@ const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "containe
|
|
|
2687
2700
|
_: 1
|
|
2688
2701
|
}, 8, ["locale"]));
|
|
2689
2702
|
}
|
|
2690
|
-
},
|
|
2691
|
-
function
|
|
2692
|
-
return e.map(
|
|
2703
|
+
}, qn = /* @__PURE__ */ we(Vn, [["styles", [ge, Yn, Bn, Fn]]]);
|
|
2704
|
+
function Hn(e) {
|
|
2705
|
+
return e.map(Wn).map(Jn).sort(Zn);
|
|
2693
2706
|
}
|
|
2694
|
-
function
|
|
2695
|
-
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o =
|
|
2707
|
+
function Wn(e) {
|
|
2708
|
+
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o = Fr(t, e), r = Qn(o);
|
|
2696
2709
|
return {
|
|
2697
2710
|
...Bt(t, e),
|
|
2698
2711
|
recruitment: {
|
|
@@ -2700,29 +2713,29 @@ function qn(e) {
|
|
|
2700
2713
|
}
|
|
2701
2714
|
};
|
|
2702
2715
|
}
|
|
2703
|
-
function
|
|
2716
|
+
function Jn(e) {
|
|
2704
2717
|
return {
|
|
2705
2718
|
...e,
|
|
2706
2719
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
2707
2720
|
};
|
|
2708
2721
|
}
|
|
2709
|
-
function
|
|
2710
|
-
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl =
|
|
2722
|
+
function Qn(e) {
|
|
2723
|
+
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl = Xn(e.recruitmentContactUrl || ""), e;
|
|
2711
2724
|
}
|
|
2712
|
-
function
|
|
2725
|
+
function Xn(e) {
|
|
2713
2726
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
2714
2727
|
}
|
|
2715
|
-
function
|
|
2728
|
+
function Zn(e, t) {
|
|
2716
2729
|
const o = e.organizationName.toUpperCase(), r = t.organizationName.toUpperCase();
|
|
2717
2730
|
return o < r ? -1 : o > r ? 1 : 0;
|
|
2718
2731
|
}
|
|
2719
|
-
const
|
|
2732
|
+
const el = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, tl = "@layer components.variables{:where(:host){--mvw-card-color: light-dark(var(--mvw-color-primary-950), var(--mvw-color-primary-200));--mvw-card-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-card-tonal-active-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900))}}@layer components{:where(details){--_accordion-transition-time: .2s;--_bg-color: var(--mvw-card-bg-color);--_shadow: none;container-type:inline-size;display:block;background-color:var(--_bg-color);border-radius:var(--radius-2);color:var(--mvw-card-color);box-shadow:var(--_shadow);transition:all var(--_accordion-transition-time) ease-out}@media (prefers-reduced-motion: no-preference){:where(details){interpolate-size:allow-keywords}}:where(details)::details-content{block-size:0;opacity:0;overflow-y:clip;transition:content-visibility var(--_accordion-transition-time) allow-discrete,opacity var(--_accordion-transition-time),block-size var(--_accordion-transition-time)}:where(details)[open]::details-content{block-size:auto;opacity:1}:where(details)>summary{background-color:inherit;cursor:pointer;font-weight:700;padding-block:var(--size-16);-webkit-user-select:none;user-select:none;align-items:center;display:flex;gap:var(--size-8);list-style:none}:where(details)>summary::marker,:where(details)>summary::-webkit-details-marker{display:none}:where(details)>summary strong{flex:1}:where(details)>summary svg{transition:rotate .8s var(--ease-spring-1, ease)}:where(details)[open]>summary svg{rotate:180deg}:where(details).elevated{--_shadow: var(--shadow-3)}:where(details).tonal[open]{background-color:var(--mvw-card-tonal-active-bg-color)}:where(details):where(.tonal)>*{padding-inline:var(--size-16)}}", rl = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", ol = "@layer components{:where(.definition-list){--_border-style: solid;--_border-width: 1px;--_border-color: var(--mvw-border-muted);display:grid;gap:var(--size-8);padding:0}:where(.definition-list).dotted{--_border-style: dotted;--_border-width: 2px}:where(.definition-list) li{display:grid;margin:0;padding:0}:where(.definition-list) li .term{display:block;font-weight:700;overflow:hidden;position:relative;color:var(--mvw-text-muted)}:where(.definition-list) li hr{display:none;margin:0}@container (width > 30ch){:where(.definition-list){gap:var(--size-8)}:where(.definition-list) li{align-items:baseline;display:grid;gap:var(--size-8);grid-template-columns:1fr auto}:where(.definition-list) li:has(hr){grid-template-columns:auto 1fr auto}:where(.definition-list) li hr{background-color:transparent;border-block-end:var(--_border-width) var(--_border-style) var(--_border-color);block-size:2px;display:block}:where(.definition-list) li .term{inline-size:max-content}:where(.definition-list) li .term:after{display:inline-block}:where(.definition-list) li .description{color:var(--text-color-2);text-align:end}}}", al = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", il = ["placeholder"], nl = {
|
|
2720
2733
|
key: 2,
|
|
2721
2734
|
class: "text-muted text-center font-bold"
|
|
2722
|
-
},
|
|
2735
|
+
}, ll = ["id", "aria-controls"], sl = { key: 0 }, cl = ["id", "aria-labelledby"], ml = { class: "definition-list dotted mb-md" }, dl = { class: "term" }, vl = ["innerHTML"], ul = { class: "grid-container text-muted" }, hl = {
|
|
2723
2736
|
key: 0,
|
|
2724
2737
|
class: "text-end"
|
|
2725
|
-
},
|
|
2738
|
+
}, pl = {
|
|
2726
2739
|
__name: "RecruitmentInfo.ce",
|
|
2727
2740
|
props: {
|
|
2728
2741
|
locale: {
|
|
@@ -2739,7 +2752,7 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2739
2752
|
}
|
|
2740
2753
|
},
|
|
2741
2754
|
setup(e) {
|
|
2742
|
-
const t = e, o = { en:
|
|
2755
|
+
const t = e, o = { en: he, hu: pe }, { onError: r, error: i, hasError: s, reset: m } = to(), {
|
|
2743
2756
|
state: n,
|
|
2744
2757
|
isLoading: d,
|
|
2745
2758
|
execute: v
|
|
@@ -2750,24 +2763,24 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2750
2763
|
params: {},
|
|
2751
2764
|
immediate: !0
|
|
2752
2765
|
},
|
|
2753
|
-
transform:
|
|
2766
|
+
transform: Hn,
|
|
2754
2767
|
onError: r
|
|
2755
|
-
}), c =
|
|
2768
|
+
}), c = G(""), { page: h, change: w } = Vt(), g = T(
|
|
2756
2769
|
() => Ne(n.value).filter(c.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(h.value, t.limit).value()
|
|
2757
|
-
), _ =
|
|
2770
|
+
), _ = T(() => [(h.value - 1) * t.limit + 1, Math.min(h.value * t.limit, g.value.totalItems)]);
|
|
2758
2771
|
W(c, () => {
|
|
2759
2772
|
h.value !== 1 && (h.value = 1);
|
|
2760
2773
|
});
|
|
2761
2774
|
function x() {
|
|
2762
2775
|
m(), v();
|
|
2763
2776
|
}
|
|
2764
|
-
return (C, z) => (u(), D(a(
|
|
2777
|
+
return (C, z) => (u(), D(a(ue), {
|
|
2765
2778
|
locale: e.locale,
|
|
2766
2779
|
messages: o
|
|
2767
2780
|
}, {
|
|
2768
|
-
default: P(({ t:
|
|
2781
|
+
default: P(({ t: N }) => [
|
|
2769
2782
|
S(a(_e), {
|
|
2770
|
-
label:
|
|
2783
|
+
label: N("selection.filter"),
|
|
2771
2784
|
name: "filter",
|
|
2772
2785
|
class: "full-width mb-md",
|
|
2773
2786
|
style: { "max-width": "220px" }
|
|
@@ -2776,10 +2789,10 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2776
2789
|
Tt(l("input", {
|
|
2777
2790
|
id: "filter",
|
|
2778
2791
|
"onUpdate:modelValue": z[0] || (z[0] = (b) => c.value = b),
|
|
2779
|
-
placeholder:
|
|
2792
|
+
placeholder: N("recruitmentInfo.filterByNameAndLocation"),
|
|
2780
2793
|
type: "search",
|
|
2781
2794
|
autocomplete: "off"
|
|
2782
|
-
}, null, 8,
|
|
2795
|
+
}, null, 8, il), [
|
|
2783
2796
|
[Nt, c.value]
|
|
2784
2797
|
])
|
|
2785
2798
|
]),
|
|
@@ -2792,7 +2805,7 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2792
2805
|
onRetry: x
|
|
2793
2806
|
}, null, 8, ["error"])) : E("", !0),
|
|
2794
2807
|
a(d) ? (u(), D(a(qe), { key: 1 })) : E("", !0),
|
|
2795
|
-
a(n).length > 0 && g.value.rows.length === 0 ? (u(), y("div",
|
|
2808
|
+
a(n).length > 0 && g.value.rows.length === 0 ? (u(), y("div", nl, f(N("recruitmentInfo.noResult")), 1)) : E("", !0),
|
|
2796
2809
|
(u(!0), y(B, null, ee(g.value.rows, (b, p) => (u(), y("details", {
|
|
2797
2810
|
key: b.organizationName,
|
|
2798
2811
|
class: "tonal elevated mb-md"
|
|
@@ -2801,7 +2814,7 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2801
2814
|
id: `summary-${p}`,
|
|
2802
2815
|
"aria-controls": `content-${p}`
|
|
2803
2816
|
}, [
|
|
2804
|
-
S(a(
|
|
2817
|
+
S(a(ne), {
|
|
2805
2818
|
src: `https://ivr-api.icehockey.hu${b.organizationLogo}`,
|
|
2806
2819
|
"default-src": "data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg' fill='%23cfd8dc'%3E%3Ccircle cx='15' cy='15' r='15' /%3E%3C/svg%3E",
|
|
2807
2820
|
width: 30,
|
|
@@ -2810,7 +2823,7 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2810
2823
|
}, null, 8, ["src"]),
|
|
2811
2824
|
l("strong", null, [
|
|
2812
2825
|
q(f(b.organizationName) + " ", 1),
|
|
2813
|
-
b.recruitmentTeamName ? (u(), y("span",
|
|
2826
|
+
b.recruitmentTeamName ? (u(), y("span", sl, "(" + f(b.recruitmentTeamName) + ")", 1)) : E("", !0)
|
|
2814
2827
|
]),
|
|
2815
2828
|
z[1] || (z[1] = l("svg", {
|
|
2816
2829
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2823,26 +2836,26 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2823
2836
|
d: "M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414"
|
|
2824
2837
|
})
|
|
2825
2838
|
], -1))
|
|
2826
|
-
], 8,
|
|
2839
|
+
], 8, ll),
|
|
2827
2840
|
l("div", {
|
|
2828
2841
|
id: `content-${p}`,
|
|
2829
2842
|
class: "content",
|
|
2830
2843
|
role: "region",
|
|
2831
2844
|
"aria-labelledby": `summary-${p}`
|
|
2832
2845
|
}, [
|
|
2833
|
-
l("ul",
|
|
2846
|
+
l("ul", ml, [
|
|
2834
2847
|
(u(!0), y(B, null, ee(b.recruitment, (k, $) => (u(), y("li", { key: $ }, [
|
|
2835
|
-
l("span",
|
|
2848
|
+
l("span", dl, f(N(`recruitmentInfo.${$}`)), 1),
|
|
2836
2849
|
z[2] || (z[2] = l("hr", null, null, -1)),
|
|
2837
2850
|
l("span", {
|
|
2838
2851
|
class: "description",
|
|
2839
2852
|
innerHTML: k
|
|
2840
|
-
}, null, 8,
|
|
2853
|
+
}, null, 8, vl)
|
|
2841
2854
|
]))), 128))
|
|
2842
2855
|
])
|
|
2843
|
-
], 8,
|
|
2856
|
+
], 8, cl)
|
|
2844
2857
|
]))), 128)),
|
|
2845
|
-
l("div",
|
|
2858
|
+
l("div", ul, [
|
|
2846
2859
|
S(a(Lt), {
|
|
2847
2860
|
page: a(h),
|
|
2848
2861
|
"items-per-page": t.limit,
|
|
@@ -2850,22 +2863,22 @@ const Xn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2850
2863
|
"range-length": 5,
|
|
2851
2864
|
onChange: a(w)
|
|
2852
2865
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2853
|
-
g.value.totalItems > 0 ? (u(), y("div",
|
|
2866
|
+
g.value.totalItems > 0 ? (u(), y("div", hl, f(N("table.info", { min: _.value[0], max: _.value[1], total: g.value.totalItems })), 1)) : E("", !0)
|
|
2854
2867
|
])
|
|
2855
2868
|
]),
|
|
2856
2869
|
_: 1
|
|
2857
2870
|
}, 8, ["locale"]));
|
|
2858
2871
|
}
|
|
2859
|
-
},
|
|
2860
|
-
function
|
|
2872
|
+
}, gl = /* @__PURE__ */ we(pl, [["styles", [ge, el, tl, rl, ol, al]]]);
|
|
2873
|
+
function wl(e, t) {
|
|
2861
2874
|
if (e.length === 0)
|
|
2862
2875
|
throw new jt(Re.message, Re.options);
|
|
2863
2876
|
t.seasons = Gt(e), t.championshipId || (t.championshipId = te(t.seasons).championshipId);
|
|
2864
2877
|
}
|
|
2865
|
-
function
|
|
2866
|
-
t.sections = Ot(e), t.sectionId =
|
|
2878
|
+
function fl(e, t) {
|
|
2879
|
+
t.sections = Ot(e), t.sectionId = Ur(t.sections), t.phaseId = Ft([0, "phases", 0], e)?.phaseId ?? null;
|
|
2867
2880
|
}
|
|
2868
|
-
const
|
|
2881
|
+
const bl = {
|
|
2869
2882
|
gameName: {
|
|
2870
2883
|
label: "table.gameName.short",
|
|
2871
2884
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2902,13 +2915,13 @@ const wl = {
|
|
|
2902
2915
|
class: "text-start"
|
|
2903
2916
|
}
|
|
2904
2917
|
};
|
|
2905
|
-
function
|
|
2918
|
+
function yl(e) {
|
|
2906
2919
|
return (t) => t.map((o) => ({
|
|
2907
2920
|
...o,
|
|
2908
2921
|
...o.registration && { registration: `${o.registration}/cid/${e}` }
|
|
2909
2922
|
}));
|
|
2910
2923
|
}
|
|
2911
|
-
const
|
|
2924
|
+
const xl = {
|
|
2912
2925
|
__name: "DataProvider",
|
|
2913
2926
|
props: {
|
|
2914
2927
|
championshipName: {
|
|
@@ -2937,7 +2950,7 @@ const bl = {
|
|
|
2937
2950
|
}
|
|
2938
2951
|
},
|
|
2939
2952
|
setup(e) {
|
|
2940
|
-
const t = e, o =
|
|
2953
|
+
const t = e, o = se({
|
|
2941
2954
|
seasons: [],
|
|
2942
2955
|
championshipId: null,
|
|
2943
2956
|
sections: [],
|
|
@@ -2949,15 +2962,15 @@ const bl = {
|
|
|
2949
2962
|
apiKey: t.apiKey,
|
|
2950
2963
|
params: { championshipName: t.championshipName }
|
|
2951
2964
|
},
|
|
2952
|
-
transform: (x) =>
|
|
2965
|
+
transform: (x) => wl(x, o),
|
|
2953
2966
|
onError: r
|
|
2954
2967
|
}), { isLoading: m, execute: n } = re({
|
|
2955
2968
|
options: {
|
|
2956
2969
|
path: "/v2/championship-sections",
|
|
2957
2970
|
apiKey: t.apiKey,
|
|
2958
|
-
params:
|
|
2971
|
+
params: T(() => ({ championshipId: o.championshipId }))
|
|
2959
2972
|
},
|
|
2960
|
-
transform: (x) =>
|
|
2973
|
+
transform: (x) => fl(x, o),
|
|
2961
2974
|
onError: r
|
|
2962
2975
|
}), {
|
|
2963
2976
|
isLoading: d,
|
|
@@ -2967,13 +2980,13 @@ const bl = {
|
|
|
2967
2980
|
options: {
|
|
2968
2981
|
path: "/v2/games-list",
|
|
2969
2982
|
apiKey: t.apiKey,
|
|
2970
|
-
params:
|
|
2983
|
+
params: T(() => ({ championshipId: o.championshipId, phaseId: o.phaseId }))
|
|
2971
2984
|
},
|
|
2972
|
-
transform: (x) =>
|
|
2985
|
+
transform: (x) => Kr(Yt, yl(o.championshipId))(x),
|
|
2973
2986
|
onError: r
|
|
2974
|
-
}), h =
|
|
2987
|
+
}), h = T(() => Ne(v.value).schedule(t.timezone, t.locale).value());
|
|
2975
2988
|
Be([s, n, c]);
|
|
2976
|
-
const w =
|
|
2989
|
+
const w = T(() => [m.value, i.value, d.value].some(Boolean));
|
|
2977
2990
|
function g(x) {
|
|
2978
2991
|
o.championshipId = x, Be([n, c]);
|
|
2979
2992
|
}
|
|
@@ -2987,7 +3000,7 @@ const bl = {
|
|
|
2987
3000
|
listeners: { onChangeSection: _, onChangeSeason: g }
|
|
2988
3001
|
})));
|
|
2989
3002
|
}
|
|
2990
|
-
},
|
|
3003
|
+
}, kl = ["href"], _l = ["href"], zl = {
|
|
2991
3004
|
__name: "ScheduleCupDataTable",
|
|
2992
3005
|
props: {
|
|
2993
3006
|
columns: {
|
|
@@ -3008,13 +3021,13 @@ const bl = {
|
|
|
3008
3021
|
}
|
|
3009
3022
|
},
|
|
3010
3023
|
setup(e) {
|
|
3011
|
-
const t = e, o =
|
|
3024
|
+
const t = e, o = G(null), { columns: r } = ro(
|
|
3012
3025
|
t.columns,
|
|
3013
3026
|
null,
|
|
3014
|
-
|
|
3027
|
+
T(() => ({
|
|
3015
3028
|
offsetName: t.offsetName
|
|
3016
3029
|
}))
|
|
3017
|
-
), { t: i } =
|
|
3030
|
+
), { t: i } = ce();
|
|
3018
3031
|
return (s, m) => (u(), y("div", {
|
|
3019
3032
|
ref_key: "tooltipContainer",
|
|
3020
3033
|
ref: o
|
|
@@ -3038,11 +3051,11 @@ const bl = {
|
|
|
3038
3051
|
key: 0,
|
|
3039
3052
|
href: n.schedule,
|
|
3040
3053
|
target: "_blank"
|
|
3041
|
-
}, f(a(i)("schedule")), 9,
|
|
3054
|
+
}, f(a(i)("schedule")), 9, kl)) : n.registration ? (u(), y("a", {
|
|
3042
3055
|
key: 1,
|
|
3043
3056
|
href: n.registration,
|
|
3044
3057
|
target: "_blank"
|
|
3045
|
-
}, f(a(i)("registration")), 9,
|
|
3058
|
+
}, f(a(i)("registration")), 9, _l)) : E("", !0)
|
|
3046
3059
|
]),
|
|
3047
3060
|
_: 1
|
|
3048
3061
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3051,7 +3064,7 @@ const bl = {
|
|
|
3051
3064
|
})
|
|
3052
3065
|
], 512));
|
|
3053
3066
|
}
|
|
3054
|
-
},
|
|
3067
|
+
}, Sl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", $l = {
|
|
3055
3068
|
__name: "ScheduleCup.ce",
|
|
3056
3069
|
props: {
|
|
3057
3070
|
locale: {
|
|
@@ -3072,8 +3085,8 @@ const bl = {
|
|
|
3072
3085
|
// },
|
|
3073
3086
|
},
|
|
3074
3087
|
setup(e) {
|
|
3075
|
-
const t = e, o = { en:
|
|
3076
|
-
return (s, m) => (u(), D(a(
|
|
3088
|
+
const t = e, o = { en: he, hu: pe }, r = G(We()), i = T(() => He(/* @__PURE__ */ new Date(), r.value, t.locale));
|
|
3089
|
+
return (s, m) => (u(), D(a(ue), {
|
|
3077
3090
|
locale: t.locale,
|
|
3078
3091
|
messages: o
|
|
3079
3092
|
}, {
|
|
@@ -3084,15 +3097,15 @@ const bl = {
|
|
|
3084
3097
|
key: 0,
|
|
3085
3098
|
error: n
|
|
3086
3099
|
}, null, 8, ["error"])) : E("", !0),
|
|
3087
|
-
S(
|
|
3100
|
+
S(xl, {
|
|
3088
3101
|
"championship-name": e.championshipName,
|
|
3089
3102
|
locale: e.locale,
|
|
3090
3103
|
timezone: r.value
|
|
3091
3104
|
}, {
|
|
3092
3105
|
default: P(({ rows: v, isLoading: c, values: h, listeners: w }) => [
|
|
3093
3106
|
S(ir, Pt(h, zr(w)), null, 16),
|
|
3094
|
-
S(
|
|
3095
|
-
columns: a(
|
|
3107
|
+
S(zl, {
|
|
3108
|
+
columns: a(bl),
|
|
3096
3109
|
rows: v.rows,
|
|
3097
3110
|
"is-loading": c,
|
|
3098
3111
|
"offset-name": i.value
|
|
@@ -3107,7 +3120,7 @@ const bl = {
|
|
|
3107
3120
|
_: 1
|
|
3108
3121
|
}, 8, ["locale"]));
|
|
3109
3122
|
}
|
|
3110
|
-
},
|
|
3123
|
+
}, Cl = /* @__PURE__ */ we($l, [["styles", [ge, nr, lr, sr, cr, mr, dr, Sl]]]), Tl = ["data-state", "onClick"], Nl = { class: "list" }, Il = ["aria-selected", "onClick"], El = { class: "text" }, Pl = /* @__PURE__ */ Object.assign({
|
|
3111
3124
|
inheritAttrs: !1
|
|
3112
3125
|
}, {
|
|
3113
3126
|
__name: "ChampionshipSelector",
|
|
@@ -3143,11 +3156,11 @@ const bl = {
|
|
|
3143
3156
|
class: "icon-button",
|
|
3144
3157
|
onClick: n
|
|
3145
3158
|
}, [
|
|
3146
|
-
S(a(
|
|
3147
|
-
], 8,
|
|
3159
|
+
S(a(ba), { style: { display: "block", height: "20px" } })
|
|
3160
|
+
], 8, Tl)
|
|
3148
3161
|
]),
|
|
3149
3162
|
content: P(({ close: s }) => [
|
|
3150
|
-
l("ul",
|
|
3163
|
+
l("ul", Nl, [
|
|
3151
3164
|
(u(!0), y(B, null, ee(e.data, (m) => (u(), y("li", {
|
|
3152
3165
|
key: m.championshipId
|
|
3153
3166
|
}, [
|
|
@@ -3157,8 +3170,8 @@ const bl = {
|
|
|
3157
3170
|
type: "button",
|
|
3158
3171
|
onClick: (n) => o("change", { item: m, close: s(n) })
|
|
3159
3172
|
}, [
|
|
3160
|
-
l("div",
|
|
3161
|
-
], 10,
|
|
3173
|
+
l("div", El, f(m.name) + " - " + f(m.phase), 1)
|
|
3174
|
+
], 10, Il)
|
|
3162
3175
|
]))), 128))
|
|
3163
3176
|
])
|
|
3164
3177
|
]),
|
|
@@ -3166,10 +3179,10 @@ const bl = {
|
|
|
3166
3179
|
}, 8, ["append-to"]));
|
|
3167
3180
|
}
|
|
3168
3181
|
});
|
|
3169
|
-
function
|
|
3182
|
+
function Dl(e) {
|
|
3170
3183
|
return e.map((t) => ({ ...t, w: vt([t.w, t.otw, t.sow]), l: vt([t.l, t.otl, t.sol]) }));
|
|
3171
3184
|
}
|
|
3172
|
-
const
|
|
3185
|
+
const Ll = {
|
|
3173
3186
|
__name: "DataProvider",
|
|
3174
3187
|
props: {
|
|
3175
3188
|
apiKey: {
|
|
@@ -3182,7 +3195,7 @@ const Pl = {
|
|
|
3182
3195
|
}
|
|
3183
3196
|
},
|
|
3184
3197
|
setup(e) {
|
|
3185
|
-
const t = e, { onError: o, reset: r } = Qe(), i =
|
|
3198
|
+
const t = e, { onError: o, reset: r } = Qe(), i = se({
|
|
3186
3199
|
championshipId: te(t.data).championshipId,
|
|
3187
3200
|
phaseId: te(t.data).phaseId,
|
|
3188
3201
|
path: te(t.data)?.path ?? "",
|
|
@@ -3191,15 +3204,15 @@ const Pl = {
|
|
|
3191
3204
|
isPlayoffs: te(t.data)?.isPlayoffs ?? !1
|
|
3192
3205
|
}), { state: s, isLoading: m, execute: n } = re({
|
|
3193
3206
|
options: {
|
|
3194
|
-
path:
|
|
3207
|
+
path: T(() => i.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3195
3208
|
apiKey: t.apiKey,
|
|
3196
|
-
params:
|
|
3209
|
+
params: T(() => ({ championshipId: i.championshipId, ...!i.isPlayoffs && { phaseId: i.phaseId } })),
|
|
3197
3210
|
resetOnExecute: !0,
|
|
3198
3211
|
immediate: !0
|
|
3199
3212
|
},
|
|
3200
|
-
transform: (h) =>
|
|
3213
|
+
transform: (h) => Dl(h),
|
|
3201
3214
|
onError: o
|
|
3202
|
-
}), d =
|
|
3215
|
+
}), d = T(() => Ne(s.value).addContinuousIndex().value()), v = T(() => ({
|
|
3203
3216
|
tag: i.path ? "a" : "span",
|
|
3204
3217
|
props: {
|
|
3205
3218
|
...i.path && { href: i.path }
|
|
@@ -3210,7 +3223,7 @@ const Pl = {
|
|
|
3210
3223
|
}
|
|
3211
3224
|
return (h, w) => ke(h.$slots, "default", Ue(Ke({ convertedRows: d.value, isLoading: a(m), ...i, componentProps: v.value, onChange: c })));
|
|
3212
3225
|
}
|
|
3213
|
-
},
|
|
3226
|
+
}, Ml = { class: "playoffs" }, Al = { class: "section-title" }, Ol = { class: "responsive-team-name font-bold text-highlighted" }, Rl = { class: "team-name-short" }, jl = { class: "team-name-long" }, Gl = { class: "badge lg inverted" }, Yl = { class: "responsive-team-name font-bold text-highlighted" }, Bl = { class: "team-name-short" }, Fl = { class: "team-name-long" }, Ul = {
|
|
3214
3227
|
__name: "PlayoffsList",
|
|
3215
3228
|
props: {
|
|
3216
3229
|
playoffs: {
|
|
@@ -3223,40 +3236,40 @@ const Pl = {
|
|
|
3223
3236
|
}
|
|
3224
3237
|
},
|
|
3225
3238
|
setup(e) {
|
|
3226
|
-
const { t } =
|
|
3239
|
+
const { t } = ce();
|
|
3227
3240
|
return (o, r) => (u(), D(a(Mt), null, {
|
|
3228
3241
|
default: P(() => [
|
|
3229
|
-
l("div",
|
|
3242
|
+
l("div", Ml, [
|
|
3230
3243
|
e.isLoading ? (u(), D(a(qe), { key: 0 })) : E("", !0),
|
|
3231
3244
|
(u(!0), y(B, null, ee(e.playoffs, (i) => (u(), y("div", {
|
|
3232
3245
|
key: `${i.divisionStage2Name}-${i.divisionStageNumber}`,
|
|
3233
3246
|
class: "section"
|
|
3234
3247
|
}, [
|
|
3235
|
-
l("div",
|
|
3248
|
+
l("div", Al, f(a(t)(`playoffs.${i.divisionStage2Name}${i.divisionStageNumber || ""}`)), 1),
|
|
3236
3249
|
l("ul", null, [
|
|
3237
|
-
l("li",
|
|
3250
|
+
l("li", Ol, [
|
|
3238
3251
|
l("div", null, [
|
|
3239
|
-
l("span",
|
|
3240
|
-
l("span",
|
|
3252
|
+
l("span", Rl, f(i.homeTeam.shortName), 1),
|
|
3253
|
+
l("span", jl, f(i.homeTeam.longName), 1)
|
|
3241
3254
|
])
|
|
3242
3255
|
]),
|
|
3243
3256
|
l("li", null, [
|
|
3244
|
-
S(a(
|
|
3257
|
+
S(a(ne), {
|
|
3245
3258
|
src: i.homeTeam.logo
|
|
3246
3259
|
}, null, 8, ["src"])
|
|
3247
3260
|
]),
|
|
3248
3261
|
l("li", null, [
|
|
3249
|
-
l("span",
|
|
3262
|
+
l("span", Gl, f(i.seriesStandings), 1)
|
|
3250
3263
|
]),
|
|
3251
3264
|
l("li", null, [
|
|
3252
|
-
S(a(
|
|
3265
|
+
S(a(ne), {
|
|
3253
3266
|
src: i.awayTeam.logo
|
|
3254
3267
|
}, null, 8, ["src"])
|
|
3255
3268
|
]),
|
|
3256
|
-
l("li",
|
|
3269
|
+
l("li", Yl, [
|
|
3257
3270
|
l("div", null, [
|
|
3258
|
-
l("span",
|
|
3259
|
-
l("span",
|
|
3271
|
+
l("span", Bl, f(i.awayTeam.shortName), 1),
|
|
3272
|
+
l("span", Fl, f(i.awayTeam.longName), 1)
|
|
3260
3273
|
])
|
|
3261
3274
|
])
|
|
3262
3275
|
])
|
|
@@ -3266,7 +3279,7 @@ const Pl = {
|
|
|
3266
3279
|
_: 1
|
|
3267
3280
|
}));
|
|
3268
3281
|
}
|
|
3269
|
-
}, Fl = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{display:inline-block;height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Ul = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", Kl = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', Vl = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", ql = '@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', Hl = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Wl = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Jl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Ql = { class: "standings-selector" }, Xl = { class: "standings-selector-title" }, Zl = {
|
|
3282
|
+
}, Kl = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{display:inline-block;height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Vl = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", ql = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', Hl = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Wl = '@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', Jl = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ql = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Xl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Zl = { class: "standings-selector" }, es = { class: "standings-selector-title" }, ts = {
|
|
3270
3283
|
__name: "StandingsSelector.ce",
|
|
3271
3284
|
props: {
|
|
3272
3285
|
locale: {
|
|
@@ -3283,18 +3296,18 @@ const Pl = {
|
|
|
3283
3296
|
}
|
|
3284
3297
|
},
|
|
3285
3298
|
setup(e) {
|
|
3286
|
-
const t = e, o = { en:
|
|
3287
|
-
return (s, m) => (u(), D(a(
|
|
3299
|
+
const t = e, o = { en: he, hu: pe }, r = G(null), i = T(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3300
|
+
return (s, m) => (u(), D(a(ue), {
|
|
3288
3301
|
locale: t.locale,
|
|
3289
3302
|
messages: o
|
|
3290
3303
|
}, {
|
|
3291
3304
|
default: P(() => [
|
|
3292
3305
|
S(a(Ve), null, {
|
|
3293
3306
|
default: P(({ error: n, hasError: d }) => [
|
|
3294
|
-
S(
|
|
3307
|
+
S(Ll, { data: i.value }, {
|
|
3295
3308
|
default: P(({ convertedRows: v, isLoading: c, path: h, phaseName: w, componentProps: g, championshipName: _, phaseId: x, isPlayoffs: C, onChange: z }) => [
|
|
3296
|
-
l("div",
|
|
3297
|
-
l("div",
|
|
3309
|
+
l("div", Zl, [
|
|
3310
|
+
l("div", es, [
|
|
3298
3311
|
(u(), D(Sr(g.tag), Pt(g.props, { class: "is-title-text" }), {
|
|
3299
3312
|
default: P(() => [
|
|
3300
3313
|
l("b", null, f(_), 1),
|
|
@@ -3303,7 +3316,7 @@ const Pl = {
|
|
|
3303
3316
|
]),
|
|
3304
3317
|
_: 2
|
|
3305
3318
|
}, 1040)),
|
|
3306
|
-
i.value.length > 1 ? (u(), D(
|
|
3319
|
+
i.value.length > 1 ? (u(), D(Pl, {
|
|
3307
3320
|
key: 0,
|
|
3308
3321
|
data: i.value,
|
|
3309
3322
|
selected: x,
|
|
@@ -3311,14 +3324,14 @@ const Pl = {
|
|
|
3311
3324
|
onChange: z
|
|
3312
3325
|
}, null, 8, ["data", "selected", "target", "onChange"])) : E("", !0)
|
|
3313
3326
|
]),
|
|
3314
|
-
C ? (u(), D(
|
|
3327
|
+
C ? (u(), D(Ul, {
|
|
3315
3328
|
key: 0,
|
|
3316
3329
|
playoffs: v.rows,
|
|
3317
3330
|
"is-loading": c
|
|
3318
3331
|
}, null, 8, ["playoffs", "is-loading"])) : (u(), D(a(Dt), {
|
|
3319
3332
|
key: 1,
|
|
3320
3333
|
"is-loading": c,
|
|
3321
|
-
columns: a(
|
|
3334
|
+
columns: a(Jr),
|
|
3322
3335
|
rows: v.rows,
|
|
3323
3336
|
"append-to": r.value,
|
|
3324
3337
|
"external-team-resolver": () => {
|
|
@@ -3351,28 +3364,28 @@ const Pl = {
|
|
|
3351
3364
|
_: 1
|
|
3352
3365
|
}, 8, ["locale"]));
|
|
3353
3366
|
}
|
|
3354
|
-
},
|
|
3355
|
-
function
|
|
3356
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3367
|
+
}, rs = /* @__PURE__ */ we(ts, [["styles", [ge, Kl, Vl, ql, Hl, Wl, Jl, Ql, Xl]]]), os = ve(wi), as = ve(Ui), is = ve(Cl), ns = ve(qn), ls = ve(rs), ss = ve(hn), cs = ve(gl);
|
|
3368
|
+
function ms() {
|
|
3369
|
+
customElements.define("mjsz-vbr-calendar", os), customElements.define("mjsz-vbr-championship", as), customElements.define("mjsz-vbr-schedule-cup", is), customElements.define("mjsz-vbr-games-timeline", ns), customElements.define("mjsz-vbr-standings-selector", ls), customElements.define("mjsz-vbr-countdown", ss), customElements.define("mjsz-vbr-recruitment-info", cs);
|
|
3357
3370
|
}
|
|
3358
|
-
const
|
|
3359
|
-
install: () =>
|
|
3371
|
+
const bs = {
|
|
3372
|
+
install: () => ms()
|
|
3360
3373
|
};
|
|
3361
3374
|
export {
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3375
|
+
wi as Calendar,
|
|
3376
|
+
os as CalendarCE,
|
|
3377
|
+
Ui as Championship,
|
|
3378
|
+
as as ChampionshipCE,
|
|
3379
|
+
hn as Countdown,
|
|
3380
|
+
ss as CountdownCE,
|
|
3381
|
+
qn as GamesTimeline,
|
|
3382
|
+
ns as GamesTimelineCE,
|
|
3383
|
+
gl as RecruitmentInfo,
|
|
3384
|
+
cs as RecruitmentInfoCE,
|
|
3385
|
+
Cl as ScheduleCup,
|
|
3386
|
+
is as ScheduleCupCE,
|
|
3387
|
+
rs as StandingsSelector,
|
|
3388
|
+
ls as StandingsSelectorCE,
|
|
3389
|
+
bs as default,
|
|
3390
|
+
ms as register
|
|
3378
3391
|
};
|