@mjsz-vbr-elements/extended 2.34.1 → 2.35.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 +1351 -1640
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,361 +1,361 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.35.0 - 16/12/2025, 08:48:49
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { shallowRef as
|
|
9
|
-
import { Image as
|
|
10
|
-
import { gameProps as
|
|
11
|
-
import { format as
|
|
12
|
-
import { currentWeekStartEnd as
|
|
13
|
-
import { useError as
|
|
14
|
-
import { COLUMNS_SCHEDULE 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 },
|
|
41
|
-
}
|
|
42
|
-
const
|
|
43
|
-
min:
|
|
44
|
-
max:
|
|
8
|
+
import { shallowRef as U, isRef as ye, watch as J, shallowReadonly as St, ref as j, toValue as O, getCurrentScope as cr, onScopeDispose as mr, onMounted as je, nextTick as xe, readonly as $t, getCurrentInstance as it, toRef as Tt, customRef as dr, reactive as ie, computed as N, unref as a, toRefs as vr, renderSlot as be, normalizeProps as Ye, guardReactiveProps as Ke, createElementBlock as x, openBlock as u, createElementVNode as l, normalizeClass as oe, createTextVNode as W, createCommentVNode as D, toDisplayString as b, Fragment as Y, createVNode as S, createBlock as L, withCtx as E, renderList as X, Transition as Ct, useTemplateRef as ur, provide as hr, useId as pr, inject as gr, onUnmounted as wr, triggerRef as br, setBlockTracking as Te, isMemoSame as fr, withDirectives as yr, vModelText as xr, mergeProps as Nt, toHandlers as kr, resolveDynamicComponent as _r, defineCustomElement as me } from "vue";
|
|
9
|
+
import { Image as ae, I18NProvider as de, ErrorProvider as Be, ErrorNotice as ze, LoadingIndicator as Fe, FetchMoreObserver as zr, FormField as Ee, BaseSelect as et, StatisticsTable as It, Paginator as Pt, AdditionalStandingsText as De, ResponsiveTable as Et, DataTable as Sr, FloatingPanel as $r } from "@mjsz-vbr-elements/core/components";
|
|
10
|
+
import { gameProps as Tr } from "@mjsz-vbr-elements/core/props";
|
|
11
|
+
import { format as F, convert as Se, isBefore as Cr, head as Z, isAfter as Dt, last as Nr, offsetName as Ue, getLocalTimezone as Ve, externalGameLinkResolver as He, filterAndSortSections as Lt, sortByPhaseId as Mt, WidgetError as At, InvalidSeasonName as Le, convertSeasons as Ot, sortGames as Rt, convertPhaseName as Ir, rawConvert as Pr, playerName as Er, teamName as Dr, scheduleOptionalRowClass as Lr, convertTimesMinToMinSec as Mr, convertTimesSecToMin as Ar, externalTeamLinkResolver as Or, isEmpty as tt, sortByDomNode as Rr, pick as Gr, omit as Gt, selectFirstSectionId as jr, path as jt, pipe as Yr, sum as vt } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { currentWeekStartEnd as ut, subtractDays as Yt, addDays as Kt, isBefore as nt, isAfter as lt, startOfMonth as qe, endOfMonth as Qe, rawConvert as Kr, convertGamePeriodResults as Br, gameProps as Fr, COLUMNS_STANDINGS_SHORT as Ur } from "@mjsz-vbr-elements/core";
|
|
13
|
+
import { useError as We, useServices as ee, useI18n as ne, useSort as Vr, usePage as Bt, useLazyLoadingState as Hr, fetchVBRData as Wr, useVisibilityChange as Jr, useErrorProvider as qr, useColumns as Qr } from "@mjsz-vbr-elements/core/composables";
|
|
14
|
+
import { COLUMNS_SCHEDULE as Ft, COLUMNS_STANDINGS_P_PER as Xr, COLUMNS_STANDINGS_P_3 as Zr, COLUMNS_FIELD_PLAYERS as Ce, COLUMNS_FIELD_PLAYERS_PENALTY as eo, COLUMNS_GOALIES as ht, COLUMNS_TEAMS_FAIRPLAY as to, COLUMNS_TEAMS_PENALTY_KILLING as ro, COLUMNS_TEAMS_POWERPLAY as oo, COLUMNS_SCORING_EFFICIENCY as ao } from "@mjsz-vbr-elements/core/columns";
|
|
15
|
+
import { SORT_STATE_DESCEND as H } from "@mjsz-vbr-elements/core/constants";
|
|
16
|
+
const io = "Schedule", no = "Application form", lo = { 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):" }, so = { 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" }, co = { 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" }, mo = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, vo = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, uo = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, ho = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, po = { 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" }, ve = {
|
|
17
|
+
schedule: io,
|
|
18
|
+
registration: no,
|
|
19
|
+
selection: lo,
|
|
20
|
+
report: so,
|
|
21
|
+
playoffs: co,
|
|
22
|
+
table: mo,
|
|
23
|
+
calendar: vo,
|
|
24
|
+
gamesTimeline: uo,
|
|
25
|
+
countdown: ho,
|
|
26
|
+
recruitmentInfo: po
|
|
27
|
+
}, go = "Sorsolás", wo = "Jelentkezés", bo = { 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):" }, fo = { 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" }, yo = { 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ő" }, xo = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, ko = { 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" }, _o = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra", noGames: "Nincs megjeleníthető mérkőzés" }, zo = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, So = { 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" }, ue = {
|
|
28
|
+
schedule: go,
|
|
29
|
+
registration: wo,
|
|
30
|
+
selection: bo,
|
|
31
|
+
report: fo,
|
|
32
|
+
playoffs: yo,
|
|
33
|
+
table: xo,
|
|
34
|
+
calendar: ko,
|
|
35
|
+
gamesTimeline: _o,
|
|
36
|
+
countdown: zo,
|
|
37
|
+
recruitmentInfo: So
|
|
38
|
+
}, ce = "gamesPlayed", ke = "todaysGames", _e = "nextGames", Me = "weekGames";
|
|
39
|
+
function $o(e, t) {
|
|
40
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Kr(e.games, Br);
|
|
41
|
+
}
|
|
42
|
+
const K = /* @__PURE__ */ new Date(), Ne = (/* @__PURE__ */ new Map()).set(ke, () => ({ min: K, max: K, month: null, id: null })).set(Me, () => ({
|
|
43
|
+
min: ut().startDate,
|
|
44
|
+
max: ut().endDate,
|
|
45
45
|
month: null,
|
|
46
46
|
id: null
|
|
47
|
-
})).set(
|
|
48
|
-
const { year: t, month: o } =
|
|
47
|
+
})).set(ce, (e = null) => {
|
|
48
|
+
const { year: t, month: o } = pt(e);
|
|
49
49
|
return {
|
|
50
|
-
min:
|
|
51
|
-
max:
|
|
50
|
+
min: gt(new Date(t, o, 1), !0),
|
|
51
|
+
max: wt(new Date(t, o, 1), !0),
|
|
52
52
|
id: `${t}-${o}`
|
|
53
53
|
};
|
|
54
|
-
}).set(
|
|
55
|
-
const { year: t, month: o } =
|
|
54
|
+
}).set(_e, (e = null) => {
|
|
55
|
+
const { year: t, month: o } = pt(e);
|
|
56
56
|
return {
|
|
57
|
-
min:
|
|
58
|
-
max:
|
|
57
|
+
min: gt(new Date(t, o, 1)),
|
|
58
|
+
max: wt(new Date(t, o, 1)),
|
|
59
59
|
id: `${t}-${o}`
|
|
60
60
|
};
|
|
61
|
-
}),
|
|
62
|
-
function
|
|
63
|
-
return
|
|
61
|
+
}), To = (/* @__PURE__ */ new Map()).set(ke, () => []).set(ce, (e, t) => Co(Yt(K, 1), e, t)).set(_e, (e, t) => No(Kt(K, 1), e, t)).set(Me, () => []);
|
|
62
|
+
function Co(e, t, o) {
|
|
63
|
+
return nt(e, t) ? [] : lt(e, o) ? [t, o] : [t, e];
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
65
|
+
function No(e, t, o) {
|
|
66
|
+
return nt(e, t) ? [t, o] : lt(e, o) ? [] : [e, o];
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Io(e, t, o, r = "hu") {
|
|
69
69
|
e = new Date(e), t = new Date(t);
|
|
70
|
-
const
|
|
71
|
-
for (;
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
if (
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
function
|
|
80
|
-
|
|
81
|
-
id: `${
|
|
82
|
-
name:
|
|
70
|
+
const i = [], s = e;
|
|
71
|
+
for (; s.getTime() <= t.getTime(); ) {
|
|
72
|
+
const n = s.toLocaleString(r, { month: "short" });
|
|
73
|
+
c(n), s.setDate(1), s.setMonth(s.getMonth() + 1);
|
|
74
|
+
}
|
|
75
|
+
if (s.getMonth() === t.getMonth()) {
|
|
76
|
+
const n = t.toLocaleString(r, { month: "short" });
|
|
77
|
+
c(n);
|
|
78
|
+
}
|
|
79
|
+
function c(n) {
|
|
80
|
+
i.findIndex((d) => d.name === n) === -1 && i.push({
|
|
81
|
+
id: `${s.getFullYear()}-${s.getMonth()}`,
|
|
82
|
+
name: n
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
return
|
|
85
|
+
return i;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function pt(e) {
|
|
88
88
|
if (!e)
|
|
89
|
-
return { year:
|
|
89
|
+
return { year: K.getFullYear(), month: K.getMonth() };
|
|
90
90
|
const [t, o] = e.split("-");
|
|
91
91
|
return { year: t, month: o };
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function gt(e, t) {
|
|
94
94
|
if (t)
|
|
95
|
-
return
|
|
96
|
-
const o =
|
|
97
|
-
return
|
|
95
|
+
return qe(e);
|
|
96
|
+
const o = Kt(K, 1);
|
|
97
|
+
return nt(qe(e), o) ? o : qe(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function wt(e, t = !1) {
|
|
100
100
|
if (t) {
|
|
101
|
-
const o = Yt(
|
|
102
|
-
return lt(
|
|
101
|
+
const o = Yt(K, 1);
|
|
102
|
+
return lt(Qe(e), o) ? o : Qe(e);
|
|
103
103
|
}
|
|
104
|
-
return
|
|
104
|
+
return Qe(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
107
|
-
return
|
|
106
|
+
function Ae(e) {
|
|
107
|
+
return cr() ? (mr(e), !0) : !1;
|
|
108
108
|
}
|
|
109
|
-
const
|
|
109
|
+
const rt = typeof window < "u" && typeof document < "u";
|
|
110
110
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
111
|
-
const
|
|
111
|
+
const Po = (e) => typeof e < "u", Eo = (e) => e != null, Do = Object.prototype.toString, Lo = (e) => Do.call(e) === "[object Object]", B = () => {
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function Mo(...e) {
|
|
114
114
|
if (e.length !== 1)
|
|
115
|
-
return
|
|
115
|
+
return Tt(...e);
|
|
116
116
|
const t = e[0];
|
|
117
|
-
return typeof t == "function" ?
|
|
117
|
+
return typeof t == "function" ? $t(dr(() => ({ get: t, set: B }))) : j(t);
|
|
118
118
|
}
|
|
119
119
|
function st(e, t) {
|
|
120
120
|
function o(...r) {
|
|
121
|
-
return new Promise((
|
|
122
|
-
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(
|
|
121
|
+
return new Promise((i, s) => {
|
|
122
|
+
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(i).catch(s);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
return o;
|
|
126
126
|
}
|
|
127
|
-
const
|
|
128
|
-
function
|
|
129
|
-
let o, r,
|
|
130
|
-
const
|
|
131
|
-
clearTimeout(d),
|
|
127
|
+
const Ut = (e) => e();
|
|
128
|
+
function Ao(e, t = {}) {
|
|
129
|
+
let o, r, i = B;
|
|
130
|
+
const s = (d) => {
|
|
131
|
+
clearTimeout(d), i(), i = B;
|
|
132
132
|
};
|
|
133
|
-
let
|
|
133
|
+
let c;
|
|
134
134
|
return (d) => {
|
|
135
|
-
const
|
|
136
|
-
return o &&
|
|
137
|
-
|
|
138
|
-
o &&
|
|
139
|
-
},
|
|
140
|
-
r &&
|
|
141
|
-
},
|
|
135
|
+
const v = O(e), m = O(t.maxWait);
|
|
136
|
+
return o && s(o), v <= 0 || m !== void 0 && m <= 0 ? (r && (s(r), r = void 0), Promise.resolve(d())) : new Promise((g, w) => {
|
|
137
|
+
i = t.rejectOnCancel ? w : g, c = d, m && !r && (r = setTimeout(() => {
|
|
138
|
+
o && s(o), r = void 0, g(c());
|
|
139
|
+
}, m)), o = setTimeout(() => {
|
|
140
|
+
r && s(r), r = void 0, g(d());
|
|
141
|
+
}, v);
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
let t = 0, o, r = !0,
|
|
147
|
-
!
|
|
148
|
-
const
|
|
149
|
-
o && (clearTimeout(o), o = void 0,
|
|
145
|
+
function Oo(...e) {
|
|
146
|
+
let t = 0, o, r = !0, i = B, s, c, n, d, v;
|
|
147
|
+
!ye(e[0]) && typeof e[0] == "object" ? { delay: c, trailing: n = !0, leading: d = !0, rejectOnCancel: v = !1 } = e[0] : [c, n = !0, d = !0, v = !1] = e;
|
|
148
|
+
const m = () => {
|
|
149
|
+
o && (clearTimeout(o), o = void 0, i(), i = B);
|
|
150
150
|
};
|
|
151
|
-
return (
|
|
152
|
-
const
|
|
153
|
-
return
|
|
154
|
-
|
|
155
|
-
t = Date.now(), r = !0,
|
|
156
|
-
}, Math.max(0,
|
|
157
|
-
})), !d && !o && (o = setTimeout(() => r = !0,
|
|
151
|
+
return (w) => {
|
|
152
|
+
const p = O(c), _ = Date.now() - t, y = () => s = w();
|
|
153
|
+
return m(), p <= 0 ? (t = Date.now(), y()) : (_ > p && (d || !r) ? (t = Date.now(), y()) : n && (s = new Promise((T, k) => {
|
|
154
|
+
i = v ? k : T, o = setTimeout(() => {
|
|
155
|
+
t = Date.now(), r = !0, T(y()), m();
|
|
156
|
+
}, Math.max(0, p - _));
|
|
157
|
+
})), !d && !o && (o = setTimeout(() => r = !0, p)), r = !1, s);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Ro(e = Ut, t = {}) {
|
|
161
161
|
const {
|
|
162
162
|
initialState: o = "active"
|
|
163
|
-
} = t, r =
|
|
164
|
-
function
|
|
163
|
+
} = t, r = Mo(o === "active");
|
|
164
|
+
function i() {
|
|
165
165
|
r.value = !1;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function s() {
|
|
168
168
|
r.value = !0;
|
|
169
169
|
}
|
|
170
|
-
const
|
|
171
|
-
r.value && e(...
|
|
170
|
+
const c = (...n) => {
|
|
171
|
+
r.value && e(...n);
|
|
172
172
|
};
|
|
173
|
-
return { isActive:
|
|
173
|
+
return { isActive: $t(r), pause: i, resume: s, eventFilter: c };
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
return new Promise((r,
|
|
177
|
-
setTimeout(t ? () =>
|
|
175
|
+
function ot(e, t = !1, o = "Timeout") {
|
|
176
|
+
return new Promise((r, i) => {
|
|
177
|
+
setTimeout(t ? () => i(o) : r, e);
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Ie(e) {
|
|
181
181
|
return Array.isArray(e) ? e : [e];
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
return
|
|
183
|
+
function Go(e) {
|
|
184
|
+
return it();
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Vt(e, t = 200, o = {}) {
|
|
187
187
|
return st(
|
|
188
|
-
|
|
188
|
+
Ao(t, o),
|
|
189
189
|
e
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
const r =
|
|
192
|
+
function jo(e, t = 200, o = {}) {
|
|
193
|
+
const r = j(O(e)), i = Vt(() => {
|
|
194
194
|
r.value = e.value;
|
|
195
195
|
}, t, o);
|
|
196
|
-
return
|
|
196
|
+
return J(e, () => i()), St(r);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Yo(e, t = 200, o = !1, r = !0, i = !1) {
|
|
199
199
|
return st(
|
|
200
|
-
|
|
200
|
+
Oo(t, o, r, i),
|
|
201
201
|
e
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Ko(e, t, o = {}) {
|
|
205
205
|
const {
|
|
206
|
-
eventFilter: r =
|
|
207
|
-
...
|
|
206
|
+
eventFilter: r = Ut,
|
|
207
|
+
...i
|
|
208
208
|
} = o;
|
|
209
|
-
return
|
|
209
|
+
return J(
|
|
210
210
|
e,
|
|
211
211
|
st(
|
|
212
212
|
r,
|
|
213
213
|
t
|
|
214
214
|
),
|
|
215
|
-
|
|
215
|
+
i
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Bo(e, t, o = {}) {
|
|
219
219
|
const {
|
|
220
220
|
eventFilter: r,
|
|
221
|
-
initialState:
|
|
222
|
-
...
|
|
223
|
-
} = o, { eventFilter:
|
|
224
|
-
return { stop:
|
|
221
|
+
initialState: i = "active",
|
|
222
|
+
...s
|
|
223
|
+
} = o, { eventFilter: c, pause: n, resume: d, isActive: v } = Ro(r, { initialState: i });
|
|
224
|
+
return { stop: Ko(
|
|
225
225
|
e,
|
|
226
226
|
t,
|
|
227
227
|
{
|
|
228
|
-
...
|
|
229
|
-
eventFilter:
|
|
228
|
+
...s,
|
|
229
|
+
eventFilter: c
|
|
230
230
|
}
|
|
231
|
-
), pause:
|
|
231
|
+
), pause: n, resume: d, isActive: v };
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
233
|
+
function Fo(e, t = !0, o) {
|
|
234
|
+
Go() ? je(e, o) : t ? e() : xe(e);
|
|
235
235
|
}
|
|
236
236
|
function at(e, t = !1) {
|
|
237
|
-
function o(g, { flush:
|
|
238
|
-
let
|
|
239
|
-
const
|
|
240
|
-
|
|
237
|
+
function o(g, { flush: w = "sync", deep: p = !1, timeout: _, throwOnTimeout: y } = {}) {
|
|
238
|
+
let T = null;
|
|
239
|
+
const P = [new Promise((f) => {
|
|
240
|
+
T = J(
|
|
241
241
|
e,
|
|
242
|
-
(
|
|
243
|
-
g(
|
|
242
|
+
(h) => {
|
|
243
|
+
g(h) !== t && (T ? T() : xe(() => T?.()), f(h));
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
|
-
flush:
|
|
247
|
-
deep:
|
|
246
|
+
flush: w,
|
|
247
|
+
deep: p,
|
|
248
248
|
immediate: !0
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
})];
|
|
252
|
-
return
|
|
253
|
-
|
|
254
|
-
), Promise.race(
|
|
255
|
-
}
|
|
256
|
-
function r(g,
|
|
257
|
-
if (!
|
|
258
|
-
return o((
|
|
259
|
-
const { flush:
|
|
260
|
-
let
|
|
261
|
-
const
|
|
262
|
-
|
|
252
|
+
return _ != null && P.push(
|
|
253
|
+
ot(_, y).then(() => O(e)).finally(() => T?.())
|
|
254
|
+
), Promise.race(P);
|
|
255
|
+
}
|
|
256
|
+
function r(g, w) {
|
|
257
|
+
if (!ye(g))
|
|
258
|
+
return o((h) => h === g, w);
|
|
259
|
+
const { flush: p = "sync", deep: _ = !1, timeout: y, throwOnTimeout: T } = w ?? {};
|
|
260
|
+
let k = null;
|
|
261
|
+
const f = [new Promise((h) => {
|
|
262
|
+
k = J(
|
|
263
263
|
[e, g],
|
|
264
|
-
([
|
|
265
|
-
t !== (
|
|
264
|
+
([z, $]) => {
|
|
265
|
+
t !== (z === $) && (k ? k() : xe(() => k?.()), h(z));
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
|
-
flush:
|
|
269
|
-
deep:
|
|
268
|
+
flush: p,
|
|
269
|
+
deep: _,
|
|
270
270
|
immediate: !0
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
273
|
})];
|
|
274
|
-
return
|
|
275
|
-
|
|
276
|
-
), Promise.race(
|
|
274
|
+
return y != null && f.push(
|
|
275
|
+
ot(y, T).then(() => O(e)).finally(() => (k?.(), O(e)))
|
|
276
|
+
), Promise.race(f);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
279
|
-
return o((
|
|
278
|
+
function i(g) {
|
|
279
|
+
return o((w) => !!w, g);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function s(g) {
|
|
282
282
|
return r(null, g);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function c(g) {
|
|
285
285
|
return r(void 0, g);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function n(g) {
|
|
288
288
|
return o(Number.isNaN, g);
|
|
289
289
|
}
|
|
290
|
-
function d(g,
|
|
291
|
-
return o((
|
|
292
|
-
const
|
|
293
|
-
return
|
|
294
|
-
},
|
|
290
|
+
function d(g, w) {
|
|
291
|
+
return o((p) => {
|
|
292
|
+
const _ = Array.from(p);
|
|
293
|
+
return _.includes(g) || _.includes(O(g));
|
|
294
|
+
}, w);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
296
|
+
function v(g) {
|
|
297
|
+
return m(1, g);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
let
|
|
301
|
-
return o(() => (
|
|
299
|
+
function m(g = 1, w) {
|
|
300
|
+
let p = -1;
|
|
301
|
+
return o(() => (p += 1, p >= g), w);
|
|
302
302
|
}
|
|
303
303
|
return Array.isArray(O(e)) ? {
|
|
304
304
|
toMatch: o,
|
|
305
305
|
toContains: d,
|
|
306
|
-
changed:
|
|
307
|
-
changedTimes:
|
|
306
|
+
changed: v,
|
|
307
|
+
changedTimes: m,
|
|
308
308
|
get not() {
|
|
309
309
|
return at(e, !t);
|
|
310
310
|
}
|
|
311
311
|
} : {
|
|
312
312
|
toMatch: o,
|
|
313
313
|
toBe: r,
|
|
314
|
-
toBeTruthy:
|
|
315
|
-
toBeNull:
|
|
316
|
-
toBeNaN:
|
|
317
|
-
toBeUndefined:
|
|
318
|
-
changed:
|
|
319
|
-
changedTimes:
|
|
314
|
+
toBeTruthy: i,
|
|
315
|
+
toBeNull: s,
|
|
316
|
+
toBeNaN: n,
|
|
317
|
+
toBeUndefined: c,
|
|
318
|
+
changed: v,
|
|
319
|
+
changedTimes: m,
|
|
320
320
|
get not() {
|
|
321
321
|
return at(e, !t);
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Uo(e) {
|
|
326
326
|
return at(e);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Oe(e, t = 1e3, o = {}) {
|
|
329
329
|
const {
|
|
330
330
|
immediate: r = !0,
|
|
331
|
-
immediateCallback:
|
|
331
|
+
immediateCallback: i = !1
|
|
332
332
|
} = o;
|
|
333
|
-
let
|
|
334
|
-
const
|
|
335
|
-
function
|
|
336
|
-
|
|
333
|
+
let s = null;
|
|
334
|
+
const c = U(!1);
|
|
335
|
+
function n() {
|
|
336
|
+
s && (clearInterval(s), s = null);
|
|
337
337
|
}
|
|
338
338
|
function d() {
|
|
339
|
-
|
|
339
|
+
c.value = !1, n();
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
const
|
|
343
|
-
|
|
341
|
+
function v() {
|
|
342
|
+
const m = O(t);
|
|
343
|
+
m <= 0 || (c.value = !0, i && e(), n(), c.value && (s = setInterval(e, m)));
|
|
344
344
|
}
|
|
345
|
-
if (r &&
|
|
346
|
-
const
|
|
347
|
-
|
|
345
|
+
if (r && rt && v(), ye(t) || typeof t == "function") {
|
|
346
|
+
const m = J(t, () => {
|
|
347
|
+
c.value && rt && v();
|
|
348
348
|
});
|
|
349
|
-
|
|
349
|
+
Ae(m);
|
|
350
350
|
}
|
|
351
|
-
return
|
|
352
|
-
isActive:
|
|
351
|
+
return Ae(d), {
|
|
352
|
+
isActive: St(c),
|
|
353
353
|
pause: d,
|
|
354
|
-
resume:
|
|
354
|
+
resume: v
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
return
|
|
357
|
+
function Vo(e, t, o) {
|
|
358
|
+
return J(
|
|
359
359
|
e,
|
|
360
360
|
t,
|
|
361
361
|
{
|
|
@@ -364,425 +364,425 @@ function qr(e, t, o) {
|
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
const
|
|
368
|
-
function
|
|
367
|
+
const Je = rt ? window : void 0;
|
|
368
|
+
function se(e) {
|
|
369
369
|
var t;
|
|
370
370
|
const o = O(e);
|
|
371
371
|
return (t = o?.$el) != null ? t : o;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Re(...e) {
|
|
374
374
|
const t = [], o = () => {
|
|
375
|
-
t.forEach((
|
|
376
|
-
}, r = (
|
|
377
|
-
const
|
|
378
|
-
return
|
|
379
|
-
}),
|
|
375
|
+
t.forEach((n) => n()), t.length = 0;
|
|
376
|
+
}, r = (n, d, v, m) => (n.addEventListener(d, v, m), () => n.removeEventListener(d, v, m)), i = N(() => {
|
|
377
|
+
const n = Ie(O(e[0])).filter((d) => d != null);
|
|
378
|
+
return n.every((d) => typeof d != "string") ? n : void 0;
|
|
379
|
+
}), s = Vo(
|
|
380
380
|
() => {
|
|
381
|
-
var
|
|
381
|
+
var n, d;
|
|
382
382
|
return [
|
|
383
|
-
(d = (
|
|
384
|
-
|
|
385
|
-
|
|
383
|
+
(d = (n = i.value) == null ? void 0 : n.map((v) => se(v))) != null ? d : [Je].filter((v) => v != null),
|
|
384
|
+
Ie(O(i.value ? e[1] : e[0])),
|
|
385
|
+
Ie(a(i.value ? e[2] : e[1])),
|
|
386
386
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
387
|
-
O(
|
|
387
|
+
O(i.value ? e[3] : e[2])
|
|
388
388
|
];
|
|
389
389
|
},
|
|
390
|
-
([
|
|
391
|
-
if (o(), !
|
|
390
|
+
([n, d, v, m]) => {
|
|
391
|
+
if (o(), !n?.length || !d?.length || !v?.length)
|
|
392
392
|
return;
|
|
393
|
-
const g =
|
|
393
|
+
const g = Lo(m) ? { ...m } : m;
|
|
394
394
|
t.push(
|
|
395
|
-
...
|
|
396
|
-
(
|
|
397
|
-
(
|
|
395
|
+
...n.flatMap(
|
|
396
|
+
(w) => d.flatMap(
|
|
397
|
+
(p) => v.map((_) => r(w, p, _, g))
|
|
398
398
|
)
|
|
399
399
|
)
|
|
400
400
|
);
|
|
401
401
|
},
|
|
402
402
|
{ flush: "post" }
|
|
403
|
-
),
|
|
404
|
-
|
|
403
|
+
), c = () => {
|
|
404
|
+
s(), o();
|
|
405
405
|
};
|
|
406
|
-
return
|
|
406
|
+
return Ae(o), c;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
const e =
|
|
410
|
-
return t &&
|
|
408
|
+
function Ho() {
|
|
409
|
+
const e = U(!1), t = it();
|
|
410
|
+
return t && je(() => {
|
|
411
411
|
e.value = !0;
|
|
412
412
|
}, t), e;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
const t =
|
|
414
|
+
function Wo(e) {
|
|
415
|
+
const t = Ho();
|
|
416
416
|
return N(() => (t.value, !!e()));
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
const { window: r =
|
|
420
|
-
let
|
|
421
|
-
const
|
|
422
|
-
|
|
418
|
+
function Jo(e, t, o = {}) {
|
|
419
|
+
const { window: r = Je, ...i } = o;
|
|
420
|
+
let s;
|
|
421
|
+
const c = Wo(() => r && "MutationObserver" in r), n = () => {
|
|
422
|
+
s && (s.disconnect(), s = void 0);
|
|
423
423
|
}, d = N(() => {
|
|
424
|
-
const
|
|
425
|
-
return new Set(
|
|
426
|
-
}),
|
|
424
|
+
const w = O(e), p = Ie(w).map(se).filter(Eo);
|
|
425
|
+
return new Set(p);
|
|
426
|
+
}), v = J(
|
|
427
427
|
() => d.value,
|
|
428
|
-
(
|
|
429
|
-
|
|
428
|
+
(w) => {
|
|
429
|
+
n(), c.value && w.size && (s = new MutationObserver(t), w.forEach((p) => s.observe(p, i)));
|
|
430
430
|
},
|
|
431
431
|
{ immediate: !0, flush: "post" }
|
|
432
|
-
),
|
|
433
|
-
|
|
432
|
+
), m = () => s?.takeRecords(), g = () => {
|
|
433
|
+
v(), n();
|
|
434
434
|
};
|
|
435
|
-
return
|
|
436
|
-
isSupported:
|
|
435
|
+
return Ae(g), {
|
|
436
|
+
isSupported: c,
|
|
437
437
|
stop: g,
|
|
438
|
-
takeRecords:
|
|
438
|
+
takeRecords: m
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Ge(e, t) {
|
|
442
442
|
const {
|
|
443
443
|
interrupt: o = !0,
|
|
444
|
-
onError: r =
|
|
445
|
-
onFinished:
|
|
446
|
-
signal:
|
|
447
|
-
} = {},
|
|
444
|
+
onError: r = B,
|
|
445
|
+
onFinished: i = B,
|
|
446
|
+
signal: s
|
|
447
|
+
} = {}, c = {
|
|
448
448
|
aborted: "aborted",
|
|
449
449
|
fulfilled: "fulfilled",
|
|
450
450
|
pending: "pending",
|
|
451
451
|
rejected: "rejected"
|
|
452
|
-
},
|
|
452
|
+
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: c.pending, data: null })), d = ie(n), v = U(-1);
|
|
453
453
|
if (!e || e.length === 0)
|
|
454
|
-
return
|
|
455
|
-
activeIndex:
|
|
454
|
+
return i(), {
|
|
455
|
+
activeIndex: v,
|
|
456
456
|
result: d
|
|
457
457
|
};
|
|
458
|
-
function
|
|
459
|
-
|
|
458
|
+
function m(g, w) {
|
|
459
|
+
v.value++, d[v.value].data = w, d[v.value].state = g;
|
|
460
460
|
}
|
|
461
|
-
return e.reduce((g,
|
|
462
|
-
var
|
|
463
|
-
if (
|
|
464
|
-
|
|
461
|
+
return e.reduce((g, w) => g.then((p) => {
|
|
462
|
+
var _;
|
|
463
|
+
if (s?.aborted) {
|
|
464
|
+
m(c.aborted, new Error("aborted"));
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
|
-
if (((
|
|
468
|
-
|
|
467
|
+
if (((_ = d[v.value]) == null ? void 0 : _.state) === c.rejected && o) {
|
|
468
|
+
i();
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
|
-
const
|
|
472
|
-
return
|
|
473
|
-
}).catch((
|
|
474
|
-
activeIndex:
|
|
471
|
+
const y = w(p).then((T) => (m(c.fulfilled, T), v.value === e.length - 1 && i(), T));
|
|
472
|
+
return s ? Promise.race([y, qo(s)]) : y;
|
|
473
|
+
}).catch((p) => s?.aborted ? (m(c.aborted, p), p) : (m(c.rejected, p), r(), p)), Promise.resolve()), {
|
|
474
|
+
activeIndex: v,
|
|
475
475
|
result: d
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function qo(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 Qo(e, t, o) {
|
|
485
485
|
const {
|
|
486
486
|
immediate: r = !0,
|
|
487
|
-
delay:
|
|
488
|
-
onError:
|
|
489
|
-
onSuccess:
|
|
490
|
-
resetOnExecute:
|
|
487
|
+
delay: i = 0,
|
|
488
|
+
onError: s = B,
|
|
489
|
+
onSuccess: c = B,
|
|
490
|
+
resetOnExecute: n = !0,
|
|
491
491
|
shallow: d = !0,
|
|
492
|
-
throwError:
|
|
493
|
-
} = o ?? {},
|
|
494
|
-
async function
|
|
495
|
-
|
|
496
|
-
const
|
|
492
|
+
throwError: v
|
|
493
|
+
} = o ?? {}, m = d ? U(t) : j(t), g = U(!1), w = U(!1), p = U(void 0);
|
|
494
|
+
async function _(k = 0, ...P) {
|
|
495
|
+
n && (m.value = t), p.value = void 0, g.value = !1, w.value = !0, k > 0 && await ot(k);
|
|
496
|
+
const f = typeof e == "function" ? e(...P) : e;
|
|
497
497
|
try {
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
} catch (
|
|
501
|
-
if (
|
|
502
|
-
throw
|
|
498
|
+
const h = await f;
|
|
499
|
+
m.value = h, g.value = !0, c(h);
|
|
500
|
+
} catch (h) {
|
|
501
|
+
if (p.value = h, s(h), v)
|
|
502
|
+
throw h;
|
|
503
503
|
} finally {
|
|
504
|
-
|
|
504
|
+
w.value = !1;
|
|
505
505
|
}
|
|
506
|
-
return
|
|
506
|
+
return m.value;
|
|
507
507
|
}
|
|
508
|
-
r &&
|
|
509
|
-
const
|
|
510
|
-
state:
|
|
508
|
+
r && _(i);
|
|
509
|
+
const y = {
|
|
510
|
+
state: m,
|
|
511
511
|
isReady: g,
|
|
512
|
-
isLoading:
|
|
513
|
-
error:
|
|
514
|
-
execute:
|
|
515
|
-
executeImmediate: (...
|
|
512
|
+
isLoading: w,
|
|
513
|
+
error: p,
|
|
514
|
+
execute: _,
|
|
515
|
+
executeImmediate: (...k) => _(0, ...k)
|
|
516
516
|
};
|
|
517
|
-
function
|
|
518
|
-
return new Promise((
|
|
519
|
-
|
|
517
|
+
function T() {
|
|
518
|
+
return new Promise((k, P) => {
|
|
519
|
+
Uo(w).toBe(!1).then(() => k(y)).catch(P);
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
|
-
...
|
|
524
|
-
then(
|
|
525
|
-
return
|
|
523
|
+
...y,
|
|
524
|
+
then(k, P) {
|
|
525
|
+
return T().then(k, P);
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function Xo(e) {
|
|
530
530
|
return JSON.parse(JSON.stringify(e));
|
|
531
531
|
}
|
|
532
|
-
const
|
|
533
|
-
function
|
|
532
|
+
const bt = 1;
|
|
533
|
+
function Zo(e, t = {}) {
|
|
534
534
|
const {
|
|
535
535
|
throttle: o = 0,
|
|
536
536
|
idle: r = 200,
|
|
537
|
-
onStop:
|
|
538
|
-
onScroll:
|
|
539
|
-
offset:
|
|
537
|
+
onStop: i = B,
|
|
538
|
+
onScroll: s = B,
|
|
539
|
+
offset: c = {
|
|
540
540
|
left: 0,
|
|
541
541
|
right: 0,
|
|
542
542
|
top: 0,
|
|
543
543
|
bottom: 0
|
|
544
544
|
},
|
|
545
|
-
observe:
|
|
545
|
+
observe: n = {
|
|
546
546
|
mutation: !1
|
|
547
547
|
},
|
|
548
548
|
eventListenerOptions: d = {
|
|
549
549
|
capture: !1,
|
|
550
550
|
passive: !0
|
|
551
551
|
},
|
|
552
|
-
behavior:
|
|
553
|
-
window:
|
|
554
|
-
onError: g = (
|
|
555
|
-
console.error(
|
|
552
|
+
behavior: v = "auto",
|
|
553
|
+
window: m = Je,
|
|
554
|
+
onError: g = (C) => {
|
|
555
|
+
console.error(C);
|
|
556
556
|
}
|
|
557
|
-
} = t,
|
|
558
|
-
mutation:
|
|
559
|
-
} :
|
|
557
|
+
} = t, w = typeof n == "boolean" ? {
|
|
558
|
+
mutation: n
|
|
559
|
+
} : n, p = U(0), _ = U(0), y = N({
|
|
560
560
|
get() {
|
|
561
|
-
return
|
|
561
|
+
return p.value;
|
|
562
562
|
},
|
|
563
|
-
set(
|
|
564
|
-
|
|
563
|
+
set(C) {
|
|
564
|
+
k(C, void 0);
|
|
565
565
|
}
|
|
566
|
-
}),
|
|
566
|
+
}), T = N({
|
|
567
567
|
get() {
|
|
568
|
-
return
|
|
568
|
+
return _.value;
|
|
569
569
|
},
|
|
570
|
-
set(
|
|
571
|
-
|
|
570
|
+
set(C) {
|
|
571
|
+
k(void 0, C);
|
|
572
572
|
}
|
|
573
573
|
});
|
|
574
|
-
function
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
574
|
+
function k(C, G) {
|
|
575
|
+
var R, q, te, M;
|
|
576
|
+
if (!m)
|
|
577
577
|
return;
|
|
578
578
|
const A = O(e);
|
|
579
579
|
if (!A)
|
|
580
580
|
return;
|
|
581
|
-
(
|
|
582
|
-
top: (
|
|
583
|
-
left: (
|
|
584
|
-
behavior: O(
|
|
581
|
+
(te = A instanceof Document ? m.document.body : A) == null || te.scrollTo({
|
|
582
|
+
top: (R = O(G)) != null ? R : T.value,
|
|
583
|
+
left: (q = O(C)) != null ? q : y.value,
|
|
584
|
+
behavior: O(v)
|
|
585
585
|
});
|
|
586
586
|
const re = ((M = A?.document) == null ? void 0 : M.documentElement) || A?.documentElement || A;
|
|
587
|
-
|
|
587
|
+
y != null && (p.value = re.scrollLeft), T != null && (_.value = re.scrollTop);
|
|
588
588
|
}
|
|
589
|
-
const
|
|
589
|
+
const P = U(!1), f = ie({
|
|
590
590
|
left: !0,
|
|
591
591
|
right: !1,
|
|
592
592
|
top: !0,
|
|
593
593
|
bottom: !1
|
|
594
|
-
}),
|
|
594
|
+
}), h = ie({
|
|
595
595
|
left: !1,
|
|
596
596
|
right: !1,
|
|
597
597
|
top: !1,
|
|
598
598
|
bottom: !1
|
|
599
|
-
}),
|
|
600
|
-
|
|
601
|
-
}, $ =
|
|
599
|
+
}), z = (C) => {
|
|
600
|
+
P.value && (P.value = !1, h.left = !1, h.right = !1, h.top = !1, h.bottom = !1, i(C));
|
|
601
|
+
}, $ = Vt(z, o + r), I = (C) => {
|
|
602
602
|
var G;
|
|
603
|
-
if (!
|
|
603
|
+
if (!m)
|
|
604
604
|
return;
|
|
605
|
-
const
|
|
606
|
-
|
|
607
|
-
const
|
|
608
|
-
|
|
609
|
-
let
|
|
610
|
-
|
|
611
|
-
const
|
|
612
|
-
|
|
613
|
-
},
|
|
605
|
+
const R = ((G = C?.document) == null ? void 0 : G.documentElement) || C?.documentElement || se(C), { display: q, flexDirection: te, direction: M } = getComputedStyle(R), A = M === "rtl" ? -1 : 1, re = R.scrollLeft;
|
|
606
|
+
h.left = re < p.value, h.right = re > p.value;
|
|
607
|
+
const $e = Math.abs(re * A) <= (c.left || 0), ge = Math.abs(re * A) + R.clientWidth >= R.scrollWidth - (c.right || 0) - bt;
|
|
608
|
+
q === "flex" && te === "row-reverse" ? (f.left = ge, f.right = $e) : (f.left = $e, f.right = ge), p.value = re;
|
|
609
|
+
let le = R.scrollTop;
|
|
610
|
+
C === m.document && !le && (le = m.document.body.scrollTop), h.top = le < _.value, h.bottom = le > _.value;
|
|
611
|
+
const mt = Math.abs(le) <= (c.top || 0), dt = Math.abs(le) + R.clientHeight >= R.scrollHeight - (c.bottom || 0) - bt;
|
|
612
|
+
q === "flex" && te === "column-reverse" ? (f.top = dt, f.bottom = mt) : (f.top = mt, f.bottom = dt), _.value = le;
|
|
613
|
+
}, V = (C) => {
|
|
614
614
|
var G;
|
|
615
|
-
if (!
|
|
615
|
+
if (!m)
|
|
616
616
|
return;
|
|
617
|
-
const
|
|
618
|
-
|
|
617
|
+
const R = (G = C.target.documentElement) != null ? G : C.target;
|
|
618
|
+
I(R), P.value = !0, $(C), s(C);
|
|
619
619
|
};
|
|
620
|
-
return
|
|
620
|
+
return Re(
|
|
621
621
|
e,
|
|
622
622
|
"scroll",
|
|
623
|
-
o ?
|
|
623
|
+
o ? Yo(V, o, !0, !1) : V,
|
|
624
624
|
d
|
|
625
|
-
),
|
|
625
|
+
), Fo(() => {
|
|
626
626
|
try {
|
|
627
|
-
const
|
|
628
|
-
if (!
|
|
627
|
+
const C = O(e);
|
|
628
|
+
if (!C)
|
|
629
629
|
return;
|
|
630
|
-
|
|
631
|
-
} catch (
|
|
632
|
-
g(
|
|
630
|
+
I(C);
|
|
631
|
+
} catch (C) {
|
|
632
|
+
g(C);
|
|
633
633
|
}
|
|
634
|
-
}),
|
|
634
|
+
}), w?.mutation && e != null && e !== m && e !== document && Jo(
|
|
635
635
|
e,
|
|
636
636
|
() => {
|
|
637
|
-
const
|
|
638
|
-
|
|
637
|
+
const C = O(e);
|
|
638
|
+
C && I(C);
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
641
|
attributes: !0,
|
|
642
642
|
childList: !0,
|
|
643
643
|
subtree: !0
|
|
644
644
|
}
|
|
645
|
-
),
|
|
645
|
+
), Re(
|
|
646
646
|
e,
|
|
647
647
|
"scrollend",
|
|
648
|
-
|
|
648
|
+
z,
|
|
649
649
|
d
|
|
650
650
|
), {
|
|
651
|
-
x:
|
|
652
|
-
y:
|
|
653
|
-
isScrolling:
|
|
654
|
-
arrivedState:
|
|
655
|
-
directions:
|
|
651
|
+
x: y,
|
|
652
|
+
y: T,
|
|
653
|
+
isScrolling: P,
|
|
654
|
+
arrivedState: f,
|
|
655
|
+
directions: h,
|
|
656
656
|
measure() {
|
|
657
|
-
const
|
|
658
|
-
|
|
657
|
+
const C = O(e);
|
|
658
|
+
m && C && I(C);
|
|
659
659
|
}
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Ht(e = "history", t = {}) {
|
|
663
663
|
const {
|
|
664
664
|
initialValue: o = {},
|
|
665
665
|
removeNullishValues: r = !0,
|
|
666
|
-
removeFalsyValues:
|
|
667
|
-
write:
|
|
668
|
-
writeMode:
|
|
669
|
-
window:
|
|
670
|
-
stringify: d = (
|
|
666
|
+
removeFalsyValues: i = !1,
|
|
667
|
+
write: s = !0,
|
|
668
|
+
writeMode: c = "replace",
|
|
669
|
+
window: n = Je,
|
|
670
|
+
stringify: d = (h) => h.toString()
|
|
671
671
|
} = t;
|
|
672
|
-
if (!
|
|
673
|
-
return
|
|
674
|
-
const
|
|
675
|
-
function
|
|
672
|
+
if (!n)
|
|
673
|
+
return ie(o);
|
|
674
|
+
const v = ie({});
|
|
675
|
+
function m() {
|
|
676
676
|
if (e === "history")
|
|
677
|
-
return
|
|
677
|
+
return n.location.search || "";
|
|
678
678
|
if (e === "hash") {
|
|
679
|
-
const
|
|
680
|
-
return
|
|
679
|
+
const h = n.location.hash || "", z = h.indexOf("?");
|
|
680
|
+
return z > 0 ? h.slice(z) : "";
|
|
681
681
|
} else
|
|
682
|
-
return (
|
|
682
|
+
return (n.location.hash || "").replace(/^#/, "");
|
|
683
683
|
}
|
|
684
|
-
function g(
|
|
685
|
-
const
|
|
684
|
+
function g(h) {
|
|
685
|
+
const z = d(h);
|
|
686
686
|
if (e === "history")
|
|
687
|
-
return `${
|
|
687
|
+
return `${z ? `?${z}` : ""}${n.location.hash || ""}`;
|
|
688
688
|
if (e === "hash-params")
|
|
689
|
-
return `${
|
|
690
|
-
const $ =
|
|
691
|
-
return
|
|
689
|
+
return `${n.location.search || ""}${z ? `#${z}` : ""}`;
|
|
690
|
+
const $ = n.location.hash || "#", I = $.indexOf("?");
|
|
691
|
+
return I > 0 ? `${n.location.search || ""}${$.slice(0, I)}${z ? `?${z}` : ""}` : `${n.location.search || ""}${$}${z ? `?${z}` : ""}`;
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
return new URLSearchParams(
|
|
693
|
+
function w() {
|
|
694
|
+
return new URLSearchParams(m());
|
|
695
695
|
}
|
|
696
|
-
function h
|
|
697
|
-
const
|
|
698
|
-
for (const $ of
|
|
699
|
-
const
|
|
700
|
-
|
|
696
|
+
function p(h) {
|
|
697
|
+
const z = new Set(Object.keys(v));
|
|
698
|
+
for (const $ of h.keys()) {
|
|
699
|
+
const I = h.getAll($);
|
|
700
|
+
v[$] = I.length > 1 ? I : h.get($) || "", z.delete($);
|
|
701
701
|
}
|
|
702
|
-
Array.from(
|
|
702
|
+
Array.from(z).forEach(($) => delete v[$]);
|
|
703
703
|
}
|
|
704
|
-
const { pause:
|
|
705
|
-
|
|
704
|
+
const { pause: _, resume: y } = Bo(
|
|
705
|
+
v,
|
|
706
706
|
() => {
|
|
707
|
-
const
|
|
708
|
-
Object.keys(
|
|
709
|
-
const $ =
|
|
710
|
-
Array.isArray($) ? $.forEach((
|
|
711
|
-
}),
|
|
707
|
+
const h = new URLSearchParams("");
|
|
708
|
+
Object.keys(v).forEach((z) => {
|
|
709
|
+
const $ = v[z];
|
|
710
|
+
Array.isArray($) ? $.forEach((I) => h.append(z, I)) : r && $ == null || i && !$ ? h.delete(z) : h.set(z, $);
|
|
711
|
+
}), T(h, !1);
|
|
712
712
|
},
|
|
713
713
|
{ deep: !0 }
|
|
714
714
|
);
|
|
715
|
-
function
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
) :
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
),
|
|
725
|
-
}
|
|
726
|
-
function
|
|
727
|
-
|
|
728
|
-
}
|
|
729
|
-
const
|
|
730
|
-
|
|
731
|
-
const
|
|
732
|
-
return
|
|
733
|
-
}
|
|
734
|
-
function
|
|
735
|
-
var
|
|
715
|
+
function T(h, z) {
|
|
716
|
+
_(), z && p(h), c === "replace" ? n.history.replaceState(
|
|
717
|
+
n.history.state,
|
|
718
|
+
n.document.title,
|
|
719
|
+
n.location.pathname + g(h)
|
|
720
|
+
) : n.history.pushState(
|
|
721
|
+
n.history.state,
|
|
722
|
+
n.document.title,
|
|
723
|
+
n.location.pathname + g(h)
|
|
724
|
+
), y();
|
|
725
|
+
}
|
|
726
|
+
function k() {
|
|
727
|
+
s && T(w(), !0);
|
|
728
|
+
}
|
|
729
|
+
const P = { passive: !0 };
|
|
730
|
+
Re(n, "popstate", k, P), e !== "history" && Re(n, "hashchange", k, P);
|
|
731
|
+
const f = w();
|
|
732
|
+
return f.keys().next().value ? p(f) : Object.assign(v, o), v;
|
|
733
|
+
}
|
|
734
|
+
function ea(e, t, o, r = {}) {
|
|
735
|
+
var i, s, c;
|
|
736
736
|
const {
|
|
737
|
-
clone:
|
|
737
|
+
clone: n = !1,
|
|
738
738
|
passive: d = !1,
|
|
739
|
-
eventName:
|
|
740
|
-
deep:
|
|
739
|
+
eventName: v,
|
|
740
|
+
deep: m = !1,
|
|
741
741
|
defaultValue: g,
|
|
742
|
-
shouldEmit:
|
|
743
|
-
} = r,
|
|
744
|
-
let
|
|
745
|
-
t || (t = "modelValue"),
|
|
746
|
-
const
|
|
747
|
-
|
|
742
|
+
shouldEmit: w
|
|
743
|
+
} = r, p = it(), _ = o || p?.emit || ((i = p?.$emit) == null ? void 0 : i.bind(p)) || ((c = (s = p?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : c.bind(p?.proxy));
|
|
744
|
+
let y = v;
|
|
745
|
+
t || (t = "modelValue"), y = y || `update:${t.toString()}`;
|
|
746
|
+
const T = (f) => n ? typeof n == "function" ? n(f) : Xo(f) : f, k = () => Po(e[t]) ? T(e[t]) : g, P = (f) => {
|
|
747
|
+
w ? w(f) && _(y, f) : _(y, f);
|
|
748
748
|
};
|
|
749
749
|
if (d) {
|
|
750
|
-
const
|
|
751
|
-
let
|
|
752
|
-
return
|
|
750
|
+
const f = k(), h = j(f);
|
|
751
|
+
let z = !1;
|
|
752
|
+
return J(
|
|
753
753
|
() => e[t],
|
|
754
754
|
($) => {
|
|
755
|
-
|
|
755
|
+
z || (z = !0, h.value = T($), xe(() => z = !1));
|
|
756
756
|
}
|
|
757
|
-
),
|
|
758
|
-
|
|
757
|
+
), J(
|
|
758
|
+
h,
|
|
759
759
|
($) => {
|
|
760
|
-
!
|
|
760
|
+
!z && ($ !== e[t] || m) && P($);
|
|
761
761
|
},
|
|
762
|
-
{ deep:
|
|
763
|
-
),
|
|
762
|
+
{ deep: m }
|
|
763
|
+
), h;
|
|
764
764
|
} else
|
|
765
765
|
return N({
|
|
766
766
|
get() {
|
|
767
|
-
return
|
|
767
|
+
return k();
|
|
768
768
|
},
|
|
769
|
-
set(
|
|
770
|
-
|
|
769
|
+
set(f) {
|
|
770
|
+
P(f);
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function ta(e, t, o = {}) {
|
|
775
775
|
const r = {};
|
|
776
|
-
for (const
|
|
777
|
-
r[
|
|
776
|
+
for (const i in e)
|
|
777
|
+
r[i] = ea(
|
|
778
778
|
e,
|
|
779
|
-
|
|
779
|
+
i,
|
|
780
780
|
t,
|
|
781
781
|
o
|
|
782
782
|
);
|
|
783
783
|
return r;
|
|
784
784
|
}
|
|
785
|
-
const
|
|
785
|
+
const ft = 20, ra = {
|
|
786
786
|
__name: "DataProvider",
|
|
787
787
|
props: {
|
|
788
788
|
locale: {
|
|
@@ -803,88 +803,88 @@ const yt = 20, na = {
|
|
|
803
803
|
}
|
|
804
804
|
},
|
|
805
805
|
setup(e) {
|
|
806
|
-
const t = e, { timezone: o, locale: r } =
|
|
807
|
-
firstGame:
|
|
808
|
-
lastGame:
|
|
809
|
-
}),
|
|
810
|
-
min:
|
|
811
|
-
max:
|
|
806
|
+
const t = e, { timezone: o, locale: r } = vr(t), { onError: i } = We(), s = Ht("history"), c = j(s.panel || ke), n = j(null), d = j(0), v = U({
|
|
807
|
+
firstGame: K,
|
|
808
|
+
lastGame: K
|
|
809
|
+
}), m = U({
|
|
810
|
+
min: F(K, "YYYY-MM-DD"),
|
|
811
|
+
max: F(K, "YYYY-MM-DD")
|
|
812
812
|
}), {
|
|
813
813
|
state: g,
|
|
814
|
-
isLoading:
|
|
815
|
-
execute:
|
|
816
|
-
} =
|
|
814
|
+
isLoading: w,
|
|
815
|
+
execute: p
|
|
816
|
+
} = ee({
|
|
817
817
|
options: {
|
|
818
818
|
path: "/v2/calendar",
|
|
819
819
|
apiKey: t.apiKey,
|
|
820
820
|
params: N(() => ({
|
|
821
821
|
seasonId: t.seasonId,
|
|
822
|
-
firstDate:
|
|
823
|
-
lastDate:
|
|
822
|
+
firstDate: m.value.min,
|
|
823
|
+
lastDate: m.value.max
|
|
824
824
|
})),
|
|
825
825
|
resetOnExecute: !0
|
|
826
826
|
},
|
|
827
|
-
transform: (
|
|
828
|
-
onError:
|
|
829
|
-
}),
|
|
830
|
-
() =>
|
|
831
|
-
),
|
|
832
|
-
() =>
|
|
833
|
-
...
|
|
834
|
-
|
|
827
|
+
transform: (h) => $o(h, v),
|
|
828
|
+
onError: i
|
|
829
|
+
}), _ = N(
|
|
830
|
+
() => Se(g.value).reverse(c.value === ce).schedule(o.value, r.value).more(0, d.value * ft + ft).groupByDays().value()
|
|
831
|
+
), y = N(
|
|
832
|
+
() => Io(
|
|
833
|
+
...To.get(c.value)(v.value.firstGame, v.value.lastGame),
|
|
834
|
+
c.value === ce,
|
|
835
835
|
r.value
|
|
836
836
|
)
|
|
837
837
|
);
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
async (
|
|
841
|
-
const { min:
|
|
842
|
-
|
|
838
|
+
J(
|
|
839
|
+
c,
|
|
840
|
+
async (h) => {
|
|
841
|
+
const { min: z, max: $, id: I } = Ne.get(h)(s.month);
|
|
842
|
+
m.value = { min: F(z, "YYYY-MM-DD"), max: F($, "YYYY-MM-DD") }, n.value = I, await p(), s.month || f();
|
|
843
843
|
},
|
|
844
844
|
{
|
|
845
845
|
immediate: !0
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
|
-
function
|
|
849
|
-
|
|
848
|
+
function T(h) {
|
|
849
|
+
c.value = h, s.panel = h, d.value = 0, s.month = null;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
852
|
-
const { min:
|
|
853
|
-
|
|
854
|
-
min:
|
|
855
|
-
max:
|
|
856
|
-
}, d.value = 0,
|
|
851
|
+
function k(h) {
|
|
852
|
+
const { min: z, max: $, id: I } = Ne.get(c.value)(h.id);
|
|
853
|
+
n.value = I, s.month = I, m.value = {
|
|
854
|
+
min: F(z, "YYYY-MM-DD"),
|
|
855
|
+
max: F($, "YYYY-MM-DD")
|
|
856
|
+
}, d.value = 0, p();
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function P() {
|
|
859
859
|
d.value += 1;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
862
|
-
if (![
|
|
861
|
+
function f() {
|
|
862
|
+
if (![ce, _e].includes(c.value))
|
|
863
863
|
return;
|
|
864
|
-
const { firstGame:
|
|
865
|
-
if (
|
|
866
|
-
const { min: $, max:
|
|
867
|
-
return
|
|
864
|
+
const { firstGame: h, lastGame: z } = v.value;
|
|
865
|
+
if (Cr(K, h)) {
|
|
866
|
+
const { min: $, max: I, id: V } = Ne.get(c.value)(Z(y.value)?.id);
|
|
867
|
+
return m.value = { min: F($, "YYYY-MM-DD"), max: F(I, "YYYY-MM-DD") }, n.value = V, p();
|
|
868
868
|
}
|
|
869
|
-
if (
|
|
870
|
-
const { min: $, max:
|
|
871
|
-
|
|
869
|
+
if (Dt(K, z)) {
|
|
870
|
+
const { min: $, max: I, id: V } = Ne.get(c.value)(Nr(y.value)?.id);
|
|
871
|
+
m.value = { min: F($, "YYYY-MM-DD"), max: F(I, "YYYY-MM-DD") }, n.value = V, p();
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
|
-
return (
|
|
875
|
-
today: a(
|
|
876
|
-
months:
|
|
877
|
-
isLoading: a(
|
|
878
|
-
datesFilter:
|
|
879
|
-
selectedMonth:
|
|
880
|
-
selectedPanel:
|
|
881
|
-
games:
|
|
882
|
-
more:
|
|
883
|
-
setMonth:
|
|
884
|
-
changePanel:
|
|
874
|
+
return (h, z) => be(h.$slots, "default", Ye(Ke({
|
|
875
|
+
today: a(K),
|
|
876
|
+
months: y.value,
|
|
877
|
+
isLoading: a(w),
|
|
878
|
+
datesFilter: m.value,
|
|
879
|
+
selectedMonth: n.value,
|
|
880
|
+
selectedPanel: c.value,
|
|
881
|
+
games: _.value,
|
|
882
|
+
more: P,
|
|
883
|
+
setMonth: k,
|
|
884
|
+
changePanel: T
|
|
885
885
|
})));
|
|
886
886
|
}
|
|
887
|
-
},
|
|
887
|
+
}, oa = {
|
|
888
888
|
xmlns: "http://www.w3.org/2000/svg",
|
|
889
889
|
viewBox: "0 0 24 24",
|
|
890
890
|
fill: "none",
|
|
@@ -893,8 +893,8 @@ const yt = 20, na = {
|
|
|
893
893
|
"stroke-linecap": "round",
|
|
894
894
|
"stroke-linejoin": "round"
|
|
895
895
|
};
|
|
896
|
-
function
|
|
897
|
-
return u(), x("svg",
|
|
896
|
+
function Wt(e, t) {
|
|
897
|
+
return u(), x("svg", oa, [...t[0] || (t[0] = [
|
|
898
898
|
l("rect", {
|
|
899
899
|
x: "2",
|
|
900
900
|
y: "3",
|
|
@@ -917,27 +917,27 @@ function qt(e, t) {
|
|
|
917
917
|
}, null, -1)
|
|
918
918
|
])]);
|
|
919
919
|
}
|
|
920
|
-
const
|
|
920
|
+
const aa = { render: Wt }, ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
921
921
|
__proto__: null,
|
|
922
|
-
default:
|
|
923
|
-
render:
|
|
924
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
922
|
+
default: aa,
|
|
923
|
+
render: Wt
|
|
924
|
+
}, Symbol.toStringTag, { value: "Module" })), na = {
|
|
925
925
|
xmlns: "http://www.w3.org/2000/svg",
|
|
926
926
|
viewBox: "0 0 24 24"
|
|
927
927
|
};
|
|
928
|
-
function
|
|
929
|
-
return u(), x("svg",
|
|
928
|
+
function Jt(e, t) {
|
|
929
|
+
return u(), x("svg", na, [...t[0] || (t[0] = [
|
|
930
930
|
l("path", {
|
|
931
931
|
fill: "currentColor",
|
|
932
932
|
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"
|
|
933
933
|
}, null, -1)
|
|
934
934
|
])]);
|
|
935
935
|
}
|
|
936
|
-
const
|
|
936
|
+
const la = { render: Jt }, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
937
937
|
__proto__: null,
|
|
938
|
-
default:
|
|
939
|
-
render:
|
|
940
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
938
|
+
default: la,
|
|
939
|
+
render: Jt
|
|
940
|
+
}, Symbol.toStringTag, { value: "Module" })), ca = {
|
|
941
941
|
xmlns: "http://www.w3.org/2000/svg",
|
|
942
942
|
viewBox: "0 0 24 24",
|
|
943
943
|
fill: "none",
|
|
@@ -946,32 +946,32 @@ const ma = { render: Qt }, da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
946
946
|
"stroke-linecap": "round",
|
|
947
947
|
"stroke-linejoin": "round"
|
|
948
948
|
};
|
|
949
|
-
function
|
|
950
|
-
return u(), x("svg",
|
|
949
|
+
function qt(e, t) {
|
|
950
|
+
return u(), x("svg", ca, [...t[0] || (t[0] = [
|
|
951
951
|
l("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
952
952
|
])]);
|
|
953
953
|
}
|
|
954
|
-
const
|
|
954
|
+
const ma = { render: qt }, da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
955
955
|
__proto__: null,
|
|
956
|
-
default:
|
|
957
|
-
render:
|
|
958
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
956
|
+
default: ma,
|
|
957
|
+
render: qt
|
|
958
|
+
}, Symbol.toStringTag, { value: "Module" })), va = {
|
|
959
959
|
xmlns: "http://www.w3.org/2000/svg",
|
|
960
960
|
viewBox: "0 0 24 24"
|
|
961
961
|
};
|
|
962
|
-
function
|
|
963
|
-
return u(), x("svg",
|
|
962
|
+
function Qt(e, t) {
|
|
963
|
+
return u(), x("svg", va, [...t[0] || (t[0] = [
|
|
964
964
|
l("path", {
|
|
965
965
|
fill: "currentColor",
|
|
966
966
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
967
967
|
}, null, -1)
|
|
968
968
|
])]);
|
|
969
969
|
}
|
|
970
|
-
const
|
|
970
|
+
const ua = { render: Qt }, ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
971
971
|
__proto__: null,
|
|
972
|
-
default:
|
|
973
|
-
render:
|
|
974
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
972
|
+
default: ua,
|
|
973
|
+
render: Qt
|
|
974
|
+
}, Symbol.toStringTag, { value: "Module" })), pa = {
|
|
975
975
|
xmlns: "http://www.w3.org/2000/svg",
|
|
976
976
|
viewBox: "0 0 24 24",
|
|
977
977
|
fill: "none",
|
|
@@ -980,16 +980,16 @@ const ga = { render: Zt }, wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
980
980
|
"stroke-linecap": "round",
|
|
981
981
|
"stroke-linejoin": "round"
|
|
982
982
|
};
|
|
983
|
-
function
|
|
984
|
-
return u(), x("svg",
|
|
983
|
+
function Xt(e, t) {
|
|
984
|
+
return u(), x("svg", pa, [...t[0] || (t[0] = [
|
|
985
985
|
l("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
986
986
|
])]);
|
|
987
987
|
}
|
|
988
|
-
const
|
|
988
|
+
const ga = { render: Xt }, ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
989
989
|
__proto__: null,
|
|
990
|
-
default:
|
|
991
|
-
render:
|
|
992
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
990
|
+
default: ga,
|
|
991
|
+
render: Xt
|
|
992
|
+
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
993
993
|
xmlns: "http://www.w3.org/2000/svg",
|
|
994
994
|
viewBox: "0 0 24 24",
|
|
995
995
|
fill: "none",
|
|
@@ -998,8 +998,8 @@ const fa = { render: eo }, ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
998
998
|
"stroke-linecap": "round",
|
|
999
999
|
"stroke-linejoin": "round"
|
|
1000
1000
|
};
|
|
1001
|
-
function
|
|
1002
|
-
return u(), x("svg",
|
|
1001
|
+
function Zt(e, t) {
|
|
1002
|
+
return u(), x("svg", wa, [...t[0] || (t[0] = [
|
|
1003
1003
|
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),
|
|
1004
1004
|
l("line", {
|
|
1005
1005
|
x1: "12",
|
|
@@ -1015,11 +1015,11 @@ function to(e, t) {
|
|
|
1015
1015
|
}, null, -1)
|
|
1016
1016
|
])]);
|
|
1017
1017
|
}
|
|
1018
|
-
const
|
|
1018
|
+
const ba = { render: Zt }, fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1019
1019
|
__proto__: null,
|
|
1020
|
-
default:
|
|
1021
|
-
render:
|
|
1022
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1020
|
+
default: ba,
|
|
1021
|
+
render: Zt
|
|
1022
|
+
}, Symbol.toStringTag, { value: "Module" })), ya = {
|
|
1023
1023
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1024
1024
|
viewBox: "0 0 24 24",
|
|
1025
1025
|
fill: "none",
|
|
@@ -1028,47 +1028,47 @@ const xa = { render: to }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1028
1028
|
"stroke-linecap": "round",
|
|
1029
1029
|
"stroke-linejoin": "round"
|
|
1030
1030
|
};
|
|
1031
|
-
function
|
|
1032
|
-
return u(), x("svg",
|
|
1031
|
+
function er(e, t) {
|
|
1032
|
+
return u(), x("svg", ya, [...t[0] || (t[0] = [
|
|
1033
1033
|
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),
|
|
1034
1034
|
l("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1035
1035
|
])]);
|
|
1036
1036
|
}
|
|
1037
|
-
const
|
|
1037
|
+
const xa = { render: er }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1038
1038
|
__proto__: null,
|
|
1039
|
-
default:
|
|
1040
|
-
render:
|
|
1041
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1039
|
+
default: xa,
|
|
1040
|
+
render: er
|
|
1041
|
+
}, Symbol.toStringTag, { value: "Module" })), _a = {
|
|
1042
1042
|
class: "text-muted text-sm text-center",
|
|
1043
1043
|
style: { "grid-area": "name" }
|
|
1044
|
-
},
|
|
1044
|
+
}, za = ["href"], Sa = ["href"], $a = {
|
|
1045
1045
|
class: "text-muted text-sm text-center",
|
|
1046
1046
|
style: { "grid-area": "date" }
|
|
1047
|
-
},
|
|
1047
|
+
}, Ta = {
|
|
1048
1048
|
class: "responsive-team-name",
|
|
1049
1049
|
style: { "grid-area": "home-team" }
|
|
1050
|
-
},
|
|
1050
|
+
}, Ca = { class: "text-end text-highlighted font-bold" }, Na = { class: "team-name-short" }, Ia = { class: "team-name-long" }, Pa = { style: { "grid-area": "home-team-logo" } }, Ea = {
|
|
1051
1051
|
class: "text-center",
|
|
1052
1052
|
style: { "grid-area": "game-data" }
|
|
1053
|
-
},
|
|
1053
|
+
}, Da = {
|
|
1054
1054
|
key: 0,
|
|
1055
1055
|
class: "text-xl font-bold text-highlighted"
|
|
1056
|
-
},
|
|
1056
|
+
}, La = ["href", "target"], Ma = {
|
|
1057
1057
|
key: 0,
|
|
1058
1058
|
class: "text-xl font-bold"
|
|
1059
|
-
},
|
|
1059
|
+
}, Aa = {
|
|
1060
1060
|
key: 1,
|
|
1061
1061
|
class: "text-xl font-bold"
|
|
1062
|
-
},
|
|
1062
|
+
}, Oa = {
|
|
1063
1063
|
key: 2,
|
|
1064
1064
|
class: "text-xl font-bold"
|
|
1065
|
-
},
|
|
1065
|
+
}, Ra = {
|
|
1066
1066
|
key: 1,
|
|
1067
1067
|
class: "text-sm text-muted is-whitespace-nowrap"
|
|
1068
|
-
},
|
|
1068
|
+
}, Ga = { style: { "grid-area": "away-team-logo" } }, ja = {
|
|
1069
1069
|
class: "responsive-team-name",
|
|
1070
1070
|
style: { "grid-area": "away-team" }
|
|
1071
|
-
},
|
|
1071
|
+
}, Ya = { class: "text-highlighted font-bold" }, Ka = { key: 0 }, Ba = { class: "team-name-short" }, Fa = { class: "team-name-long" }, Ua = {
|
|
1072
1072
|
__name: "Item",
|
|
1073
1073
|
props: {
|
|
1074
1074
|
game: {
|
|
@@ -1085,7 +1085,7 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1085
1085
|
},
|
|
1086
1086
|
gameLink: {
|
|
1087
1087
|
type: Function,
|
|
1088
|
-
default:
|
|
1088
|
+
default: B
|
|
1089
1089
|
},
|
|
1090
1090
|
target: {
|
|
1091
1091
|
type: String,
|
|
@@ -1093,81 +1093,81 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1093
1093
|
}
|
|
1094
1094
|
},
|
|
1095
1095
|
setup(e) {
|
|
1096
|
-
const { t } =
|
|
1096
|
+
const { t } = ne();
|
|
1097
1097
|
return (o, r) => (u(), x("div", {
|
|
1098
|
-
class:
|
|
1098
|
+
class: oe(["card-item", { "is-optional": e.game.optional }])
|
|
1099
1099
|
}, [
|
|
1100
|
-
l("div",
|
|
1100
|
+
l("div", _a, [
|
|
1101
1101
|
l("a", {
|
|
1102
1102
|
href: e.gameLink(e.game)
|
|
1103
|
-
}, b(e.game.gameName), 9,
|
|
1104
|
-
|
|
1105
|
-
e.game.broadcast ? (u(), x(
|
|
1106
|
-
r[0] || (r[0] =
|
|
1107
|
-
|
|
1108
|
-
r[1] || (r[1] =
|
|
1103
|
+
}, b(e.game.gameName), 9, za),
|
|
1104
|
+
W(" - " + b(e.game.championshipName) + " - " + b(e.game.divisionName) + " - " + b(e.game.location.locationName) + " ", 1),
|
|
1105
|
+
e.game.broadcast ? (u(), x(Y, { key: 0 }, [
|
|
1106
|
+
r[0] || (r[0] = W(" - ", -1)),
|
|
1107
|
+
S(a(ia), { height: "16" }),
|
|
1108
|
+
r[1] || (r[1] = W(" ", -1))
|
|
1109
1109
|
], 64)) : D("", !0),
|
|
1110
|
-
e.game.video ? (u(), x(
|
|
1111
|
-
r[2] || (r[2] =
|
|
1110
|
+
e.game.video ? (u(), x(Y, { key: 1 }, [
|
|
1111
|
+
r[2] || (r[2] = W(" - ", -1)),
|
|
1112
1112
|
l("a", {
|
|
1113
1113
|
href: e.game.video,
|
|
1114
1114
|
target: "_blank"
|
|
1115
1115
|
}, [
|
|
1116
|
-
|
|
1117
|
-
], 8,
|
|
1116
|
+
S(a(ka), { height: "18" })
|
|
1117
|
+
], 8, Sa)
|
|
1118
1118
|
], 64)) : D("", !0)
|
|
1119
1119
|
]),
|
|
1120
|
-
l("div",
|
|
1121
|
-
l("div",
|
|
1122
|
-
l("div",
|
|
1123
|
-
l("span",
|
|
1124
|
-
l("span",
|
|
1120
|
+
l("div", $a, b(a(F)(e.game.gameDate, "L LT", null, e.locale)) + " (" + b(a(Ue)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1121
|
+
l("div", Ta, [
|
|
1122
|
+
l("div", Ca, [
|
|
1123
|
+
l("span", Na, b(e.game.homeTeam.shortName), 1),
|
|
1124
|
+
l("span", Ia, b(e.game.homeTeam.longName), 1)
|
|
1125
1125
|
])
|
|
1126
1126
|
]),
|
|
1127
|
-
l("div",
|
|
1128
|
-
(u(), L(a(
|
|
1127
|
+
l("div", Pa, [
|
|
1128
|
+
(u(), L(a(ae), {
|
|
1129
1129
|
key: e.game.homeTeam.id,
|
|
1130
1130
|
class: "is-logo-image",
|
|
1131
1131
|
src: e.game.homeTeam.logo
|
|
1132
1132
|
}, null, 8, ["src"]))
|
|
1133
1133
|
]),
|
|
1134
|
-
l("div",
|
|
1135
|
-
e.game.gameStatus === 0 ? (u(), x("span",
|
|
1134
|
+
l("div", Ea, [
|
|
1135
|
+
e.game.gameStatus === 0 ? (u(), x("span", Da, " - : - ")) : D("", !0),
|
|
1136
1136
|
l("a", {
|
|
1137
1137
|
href: e.gameLink(e.game),
|
|
1138
1138
|
target: e.target,
|
|
1139
|
-
class:
|
|
1139
|
+
class: oe(["game-result", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1140
1140
|
}, [
|
|
1141
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), x("span",
|
|
1142
|
-
e.game.gameStatus === 3 ? (u(), x("span",
|
|
1143
|
-
e.game.gameStatus === 4 ? (u(), x("span",
|
|
1144
|
-
], 10,
|
|
1145
|
-
e.game.gameStatus > 0 ? (u(), x("div",
|
|
1141
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), x("span", Ma, b(e.game.homeTeamScore) + " : " + b(e.game.awayTeamScore), 1)) : D("", !0),
|
|
1142
|
+
e.game.gameStatus === 3 ? (u(), x("span", Aa, b(a(t)("game.status.jury")), 1)) : D("", !0),
|
|
1143
|
+
e.game.gameStatus === 4 ? (u(), x("span", Oa, b(a(t)("game.status.delayed")), 1)) : D("", !0)
|
|
1144
|
+
], 10, La),
|
|
1145
|
+
e.game.gameStatus > 0 ? (u(), x("div", Ra, b(e.game.periodResults), 1)) : D("", !0)
|
|
1146
1146
|
]),
|
|
1147
|
-
l("div",
|
|
1148
|
-
(u(), L(a(
|
|
1147
|
+
l("div", Ga, [
|
|
1148
|
+
(u(), L(a(ae), {
|
|
1149
1149
|
key: e.game.awayTeam.id,
|
|
1150
1150
|
src: e.game.awayTeam.logo
|
|
1151
1151
|
}, null, 8, ["src"]))
|
|
1152
1152
|
]),
|
|
1153
|
-
l("div",
|
|
1154
|
-
l("div",
|
|
1155
|
-
Array.isArray(e.game.awayTeam) ? (u(), x("span",
|
|
1156
|
-
l("span",
|
|
1157
|
-
l("span",
|
|
1153
|
+
l("div", ja, [
|
|
1154
|
+
l("div", Ya, [
|
|
1155
|
+
Array.isArray(e.game.awayTeam) ? (u(), x("span", Ka, "Torna")) : D("", !0),
|
|
1156
|
+
l("span", Ba, b(e.game.awayTeam.shortName), 1),
|
|
1157
|
+
l("span", Fa, b(e.game.awayTeam.longName), 1)
|
|
1158
1158
|
])
|
|
1159
1159
|
])
|
|
1160
1160
|
], 2));
|
|
1161
1161
|
}
|
|
1162
|
-
}, ve = '@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:inline-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-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--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)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@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)}.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}}", Qa = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--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: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--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)}}", Xa = "@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}}", Za = '@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) .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}}}', ue = (e, t) => {
|
|
1162
|
+
}, he = '@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-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--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)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@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)}.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}}}', Va = "@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}}", Ha = "@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}}", Wa = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--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: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--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)}}", Ja = "@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}}", qa = '@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) .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}}}', pe = (e, t) => {
|
|
1163
1163
|
const o = e.__vccOpts || e;
|
|
1164
|
-
for (const [r,
|
|
1165
|
-
o[r] =
|
|
1164
|
+
for (const [r, i] of t)
|
|
1165
|
+
o[r] = i;
|
|
1166
1166
|
return o;
|
|
1167
|
-
},
|
|
1167
|
+
}, Qa = { class: "tabs underlined mb-md" }, Xa = ["aria-label"], Za = ["aria-selected", "onClick"], ei = ["aria-selected", "onClick"], ti = ["aria-selected", "onClick"], ri = ["aria-selected", "onClick"], oi = { class: "tabs filled mb-md" }, ai = ["aria-label"], ii = ["aria-selected", "disabled", "onClick"], ni = {
|
|
1168
1168
|
key: 0,
|
|
1169
1169
|
class: "text-center text-muted"
|
|
1170
|
-
},
|
|
1170
|
+
}, li = ["data-gamedate"], si = { class: "block h6 text-highlighted mt-xl mb-md" }, ci = { class: "card" }, mi = ["onClick"], di = {
|
|
1171
1171
|
__name: "Calendar.ce",
|
|
1172
1172
|
props: {
|
|
1173
1173
|
locale: {
|
|
@@ -1182,38 +1182,38 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1182
1182
|
type: String,
|
|
1183
1183
|
default: ""
|
|
1184
1184
|
},
|
|
1185
|
-
...
|
|
1185
|
+
...Tr
|
|
1186
1186
|
},
|
|
1187
1187
|
setup(e) {
|
|
1188
|
-
const t = e, o = { en:
|
|
1189
|
-
return (
|
|
1188
|
+
const t = e, o = { en: ve, hu: ue }, r = j(Ve()), i = N(() => t.isGameTargetExternal ? "_blank" : "_self"), s = (c) => He(t.externalGameResolver || "/game/id/{id}", c);
|
|
1189
|
+
return (c, n) => (u(), L(a(de), {
|
|
1190
1190
|
locale: t.locale,
|
|
1191
1191
|
messages: o
|
|
1192
1192
|
}, {
|
|
1193
|
-
default:
|
|
1194
|
-
|
|
1195
|
-
default:
|
|
1196
|
-
|
|
1193
|
+
default: E(({ t: d }) => [
|
|
1194
|
+
S(a(Be), null, {
|
|
1195
|
+
default: E(({ error: v, hasError: m }) => [
|
|
1196
|
+
m ? (u(), L(a(ze), {
|
|
1197
1197
|
key: 0,
|
|
1198
|
-
error:
|
|
1198
|
+
error: v
|
|
1199
1199
|
}, null, 8, ["error"])) : D("", !0),
|
|
1200
|
-
|
|
1200
|
+
S(ra, {
|
|
1201
1201
|
locale: t.locale,
|
|
1202
1202
|
timezone: r.value,
|
|
1203
1203
|
"season-id": e.seasonId,
|
|
1204
1204
|
"api-key": e.apiKey
|
|
1205
1205
|
}, {
|
|
1206
|
-
default:
|
|
1206
|
+
default: E(({
|
|
1207
1207
|
games: g,
|
|
1208
|
-
months:
|
|
1209
|
-
isLoading:
|
|
1210
|
-
selectedPanel:
|
|
1211
|
-
selectedMonth:
|
|
1212
|
-
more:
|
|
1213
|
-
setMonth:
|
|
1214
|
-
changePanel:
|
|
1208
|
+
months: w,
|
|
1209
|
+
isLoading: p,
|
|
1210
|
+
selectedPanel: _,
|
|
1211
|
+
selectedMonth: y,
|
|
1212
|
+
more: T,
|
|
1213
|
+
setMonth: k,
|
|
1214
|
+
changePanel: P
|
|
1215
1215
|
}) => [
|
|
1216
|
-
l("nav",
|
|
1216
|
+
l("nav", Qa, [
|
|
1217
1217
|
l("div", {
|
|
1218
1218
|
id: "top",
|
|
1219
1219
|
role: "tablist",
|
|
@@ -1223,70 +1223,70 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1223
1223
|
l("button", {
|
|
1224
1224
|
role: "tab",
|
|
1225
1225
|
type: "button",
|
|
1226
|
-
"aria-selected":
|
|
1227
|
-
onClick: (
|
|
1228
|
-
}, b(d("calendar.gamesPlayed")), 9,
|
|
1226
|
+
"aria-selected": _ === a(ce),
|
|
1227
|
+
onClick: (f) => P(a(ce))
|
|
1228
|
+
}, b(d("calendar.gamesPlayed")), 9, Za),
|
|
1229
1229
|
l("button", {
|
|
1230
1230
|
role: "tab",
|
|
1231
1231
|
type: "button",
|
|
1232
|
-
"aria-selected":
|
|
1233
|
-
onClick: (
|
|
1234
|
-
}, b(d("calendar.todaysGames")), 9,
|
|
1232
|
+
"aria-selected": _ === a(ke),
|
|
1233
|
+
onClick: (f) => P(a(ke))
|
|
1234
|
+
}, b(d("calendar.todaysGames")), 9, ei),
|
|
1235
1235
|
l("button", {
|
|
1236
1236
|
role: "tab",
|
|
1237
1237
|
type: "button",
|
|
1238
|
-
"aria-selected":
|
|
1239
|
-
onClick: (
|
|
1240
|
-
}, b(d("calendar.nextGames")), 9,
|
|
1238
|
+
"aria-selected": _ === a(_e),
|
|
1239
|
+
onClick: (f) => P(a(_e))
|
|
1240
|
+
}, b(d("calendar.nextGames")), 9, ti),
|
|
1241
1241
|
l("button", {
|
|
1242
1242
|
role: "tab",
|
|
1243
1243
|
type: "button",
|
|
1244
|
-
"aria-selected":
|
|
1245
|
-
onClick: (
|
|
1246
|
-
}, b(d("calendar.weekGames")), 9,
|
|
1247
|
-
], 8,
|
|
1244
|
+
"aria-selected": _ === a(Me),
|
|
1245
|
+
onClick: (f) => P(a(Me))
|
|
1246
|
+
}, b(d("calendar.weekGames")), 9, ri)
|
|
1247
|
+
], 8, Xa)
|
|
1248
1248
|
]),
|
|
1249
|
-
l("nav",
|
|
1249
|
+
l("nav", oi, [
|
|
1250
1250
|
l("div", {
|
|
1251
1251
|
role: "tablist",
|
|
1252
1252
|
"aria-label": d("selection.sections")
|
|
1253
1253
|
}, [
|
|
1254
|
-
(u(!0), x(
|
|
1255
|
-
key:
|
|
1254
|
+
(u(!0), x(Y, null, X(w, (f) => (u(), x("button", {
|
|
1255
|
+
key: f.id,
|
|
1256
1256
|
type: "button",
|
|
1257
|
-
"aria-selected":
|
|
1258
|
-
disabled:
|
|
1259
|
-
onClick: (
|
|
1260
|
-
}, b(
|
|
1261
|
-
], 8,
|
|
1257
|
+
"aria-selected": y === f.id,
|
|
1258
|
+
disabled: p,
|
|
1259
|
+
onClick: (h) => k(f)
|
|
1260
|
+
}, b(f.name), 9, ii))), 128))
|
|
1261
|
+
], 8, ai)
|
|
1262
1262
|
]),
|
|
1263
|
-
g.totalItems === 0 && !
|
|
1263
|
+
g.totalItems === 0 && !p ? (u(), x("div", ni, b(d("calendar.noGame")), 1)) : D("", !0),
|
|
1264
1264
|
l("div", null, [
|
|
1265
|
-
|
|
1266
|
-
(u(!0), x(
|
|
1267
|
-
key:
|
|
1268
|
-
"data-gamedate":
|
|
1265
|
+
p ? (u(), L(a(Fe), { key: 0 })) : D("", !0),
|
|
1266
|
+
(u(!0), x(Y, null, X(g.rows, (f, h) => (u(), x("div", {
|
|
1267
|
+
key: h,
|
|
1268
|
+
"data-gamedate": h
|
|
1269
1269
|
}, [
|
|
1270
|
-
l("span",
|
|
1271
|
-
l("div",
|
|
1272
|
-
(u(!0), x(
|
|
1273
|
-
key:
|
|
1274
|
-
game:
|
|
1270
|
+
l("span", si, b(a(F)(new Date(h), "LL dddd", r.value, e.locale)), 1),
|
|
1271
|
+
l("div", ci, [
|
|
1272
|
+
(u(!0), x(Y, null, X(f, (z) => (u(), L(Ua, {
|
|
1273
|
+
key: z.id,
|
|
1274
|
+
game: z,
|
|
1275
1275
|
locale: e.locale,
|
|
1276
1276
|
timezone: r.value,
|
|
1277
|
-
"game-link":
|
|
1278
|
-
target:
|
|
1277
|
+
"game-link": s,
|
|
1278
|
+
target: i.value
|
|
1279
1279
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1280
1280
|
])
|
|
1281
|
-
], 8,
|
|
1281
|
+
], 8, li))), 128))
|
|
1282
1282
|
]),
|
|
1283
|
-
!
|
|
1283
|
+
!p && g.currentItems < g.totalItems ? (u(), L(a(zr), {
|
|
1284
1284
|
key: 1,
|
|
1285
1285
|
options: { rootMargin: "400px" },
|
|
1286
|
-
onIntersect:
|
|
1286
|
+
onIntersect: T
|
|
1287
1287
|
}, {
|
|
1288
|
-
default:
|
|
1289
|
-
l("button", { onClick:
|
|
1288
|
+
default: E(() => [
|
|
1289
|
+
l("button", { onClick: T }, b(d("calendar.more")), 9, mi)
|
|
1290
1290
|
]),
|
|
1291
1291
|
_: 2
|
|
1292
1292
|
}, 1032, ["onIntersect"])) : D("", !0)
|
|
@@ -1300,7 +1300,7 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1300
1300
|
_: 1
|
|
1301
1301
|
}, 8, ["locale"]));
|
|
1302
1302
|
}
|
|
1303
|
-
},
|
|
1303
|
+
}, vi = /* @__PURE__ */ pe(di, [["styles", [he, Va, Ha, Wa, Ja, qa]]]), ui = { class: "" }, hi = ["value"], pi = { class: "tabs underlined mb-md" }, gi = ["aria-label"], wi = ["aria-selected", "onClick"], tr = {
|
|
1304
1304
|
__name: "SeasonSelector",
|
|
1305
1305
|
props: {
|
|
1306
1306
|
seasons: {
|
|
@@ -1322,35 +1322,35 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1322
1322
|
},
|
|
1323
1323
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
1324
1324
|
setup(e, { emit: t }) {
|
|
1325
|
-
const o = e, r = t, { t:
|
|
1325
|
+
const o = e, r = t, { t: i } = ne(), s = N({
|
|
1326
1326
|
get() {
|
|
1327
1327
|
return o.championshipId;
|
|
1328
1328
|
},
|
|
1329
|
-
set(
|
|
1330
|
-
r("onChangeSeason",
|
|
1329
|
+
set(n) {
|
|
1330
|
+
r("onChangeSeason", n);
|
|
1331
1331
|
}
|
|
1332
1332
|
});
|
|
1333
|
-
function
|
|
1334
|
-
r("onChangeSection",
|
|
1333
|
+
function c(n) {
|
|
1334
|
+
r("onChangeSection", n);
|
|
1335
1335
|
}
|
|
1336
|
-
return (
|
|
1337
|
-
l("div",
|
|
1338
|
-
|
|
1339
|
-
label: a(
|
|
1336
|
+
return (n, d) => (u(), x(Y, null, [
|
|
1337
|
+
l("div", ui, [
|
|
1338
|
+
S(a(Ee), {
|
|
1339
|
+
label: a(i)("selection.season"),
|
|
1340
1340
|
name: "season",
|
|
1341
1341
|
class: "mb-md"
|
|
1342
1342
|
}, {
|
|
1343
|
-
default:
|
|
1344
|
-
|
|
1343
|
+
default: E(() => [
|
|
1344
|
+
S(a(et), {
|
|
1345
1345
|
id: "season",
|
|
1346
|
-
modelValue:
|
|
1347
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1346
|
+
modelValue: s.value,
|
|
1347
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => s.value = v)
|
|
1348
1348
|
}, {
|
|
1349
|
-
default:
|
|
1350
|
-
(u(!0), x(
|
|
1351
|
-
key:
|
|
1352
|
-
value:
|
|
1353
|
-
}, b(
|
|
1349
|
+
default: E(() => [
|
|
1350
|
+
(u(!0), x(Y, null, X(e.seasons, (v) => (u(), x("option", {
|
|
1351
|
+
key: v.championshipId,
|
|
1352
|
+
value: v.championshipId
|
|
1353
|
+
}, b(v.seasonName), 9, hi))), 128))
|
|
1354
1354
|
]),
|
|
1355
1355
|
_: 1
|
|
1356
1356
|
}, 8, ["modelValue"])
|
|
@@ -1358,76 +1358,76 @@ const za = { render: oo }, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1358
1358
|
_: 1
|
|
1359
1359
|
}, 8, ["label"])
|
|
1360
1360
|
]),
|
|
1361
|
-
l("nav",
|
|
1361
|
+
l("nav", pi, [
|
|
1362
1362
|
l("div", {
|
|
1363
1363
|
role: "tablist",
|
|
1364
|
-
"aria-label": a(
|
|
1364
|
+
"aria-label": a(i)("selection.sections")
|
|
1365
1365
|
}, [
|
|
1366
|
-
(u(!0), x(
|
|
1367
|
-
key:
|
|
1366
|
+
(u(!0), x(Y, null, X(e.sections, (v) => (u(), x("button", {
|
|
1367
|
+
key: v.phaseId,
|
|
1368
1368
|
role: "tab",
|
|
1369
|
-
"aria-selected":
|
|
1370
|
-
onClick: (
|
|
1371
|
-
}, b(
|
|
1372
|
-
], 8,
|
|
1369
|
+
"aria-selected": v.sectionId === e.sectionId,
|
|
1370
|
+
onClick: (m) => c(v)
|
|
1371
|
+
}, b(v.sectionName), 9, wi))), 128))
|
|
1372
|
+
], 8, gi)
|
|
1373
1373
|
])
|
|
1374
1374
|
], 64));
|
|
1375
1375
|
}
|
|
1376
|
-
},
|
|
1377
|
-
function
|
|
1378
|
-
const r =
|
|
1376
|
+
}, fe = "schedule", Xe = "standings", we = "players", Pe = "teams";
|
|
1377
|
+
function bi(e, t, o = null) {
|
|
1378
|
+
const r = Lt(e);
|
|
1379
1379
|
t.championships = r, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1380
|
-
const
|
|
1381
|
-
t.phaseId =
|
|
1380
|
+
const i = Mt(r?.[0]?.phases ?? []), s = i.findIndex((c) => c.phaseId === Number(o));
|
|
1381
|
+
t.phaseId = s > -1 ? Number(o) : i[0]?.phaseId;
|
|
1382
1382
|
}
|
|
1383
|
-
const
|
|
1383
|
+
const fi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1384
1384
|
api: "/v2/games-list",
|
|
1385
|
-
columns: () =>
|
|
1385
|
+
columns: () => Ft,
|
|
1386
1386
|
sort: {}
|
|
1387
1387
|
}).set("standings", {
|
|
1388
1388
|
api: "/v2/standings",
|
|
1389
|
-
columns: (e) => e ?
|
|
1389
|
+
columns: (e) => e ? Xr : Zr,
|
|
1390
1390
|
sort: {}
|
|
1391
1391
|
}).set("points", {
|
|
1392
1392
|
api: "/v2/players-stats",
|
|
1393
|
-
columns: () =>
|
|
1393
|
+
columns: () => Ce,
|
|
1394
1394
|
sort: {
|
|
1395
1395
|
sortTarget: "points",
|
|
1396
|
-
orders: [{ target: "points", direction:
|
|
1396
|
+
orders: [{ target: "points", direction: H }]
|
|
1397
1397
|
}
|
|
1398
1398
|
}).set("goals", {
|
|
1399
1399
|
api: "/v2/players-stats",
|
|
1400
|
-
columns: () =>
|
|
1400
|
+
columns: () => Ce,
|
|
1401
1401
|
sort: {
|
|
1402
1402
|
sortTarget: "goals",
|
|
1403
1403
|
orders: [
|
|
1404
|
-
{ target: "goals", direction:
|
|
1405
|
-
{ target: "assists", direction:
|
|
1404
|
+
{ target: "goals", direction: H },
|
|
1405
|
+
{ target: "assists", direction: H }
|
|
1406
1406
|
]
|
|
1407
1407
|
}
|
|
1408
1408
|
}).set("assists", {
|
|
1409
1409
|
api: "/v2/players-stats",
|
|
1410
|
-
columns: () =>
|
|
1410
|
+
columns: () => Ce,
|
|
1411
1411
|
sort: {
|
|
1412
1412
|
sortTarget: "assists",
|
|
1413
1413
|
orders: [
|
|
1414
|
-
{ target: "assists", direction:
|
|
1415
|
-
{ target: "goals", direction:
|
|
1414
|
+
{ target: "assists", direction: H },
|
|
1415
|
+
{ target: "goals", direction: H }
|
|
1416
1416
|
]
|
|
1417
1417
|
}
|
|
1418
1418
|
}).set("plusminus", {
|
|
1419
1419
|
api: "/v2/players-stats",
|
|
1420
|
-
columns: () =>
|
|
1420
|
+
columns: () => Ce,
|
|
1421
1421
|
sort: {
|
|
1422
1422
|
sortTarget: "plusMinus",
|
|
1423
|
-
orders: [{ target: "plusMinus", direction:
|
|
1423
|
+
orders: [{ target: "plusMinus", direction: H }]
|
|
1424
1424
|
}
|
|
1425
1425
|
}).set("playerspenalties", {
|
|
1426
1426
|
api: "/v2/players-penalty",
|
|
1427
|
-
columns: () =>
|
|
1427
|
+
columns: () => eo,
|
|
1428
1428
|
sort: {
|
|
1429
1429
|
sortTarget: "pim",
|
|
1430
|
-
orders: [{ target: "pim", direction:
|
|
1430
|
+
orders: [{ target: "pim", direction: H }]
|
|
1431
1431
|
}
|
|
1432
1432
|
}).set("goalies", {
|
|
1433
1433
|
api: "/v2/players-goalie",
|
|
@@ -1435,7 +1435,7 @@ const _n = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1435
1435
|
columns: () => ht,
|
|
1436
1436
|
sort: {
|
|
1437
1437
|
sortTarget: "svsPercent",
|
|
1438
|
-
orders: [{ target: "svsPercent", direction:
|
|
1438
|
+
orders: [{ target: "svsPercent", direction: H }]
|
|
1439
1439
|
}
|
|
1440
1440
|
}).set("goaliesunderlimit", {
|
|
1441
1441
|
api: "/v2/players-goalie",
|
|
@@ -1443,38 +1443,38 @@ const _n = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1443
1443
|
columns: () => ht,
|
|
1444
1444
|
sort: {
|
|
1445
1445
|
sortTarget: "svsPercent",
|
|
1446
|
-
orders: [{ target: "svsPercent", direction:
|
|
1446
|
+
orders: [{ target: "svsPercent", direction: H }]
|
|
1447
1447
|
}
|
|
1448
1448
|
}).set("teamFairplay", {
|
|
1449
1449
|
api: "/v2/team-fairplay",
|
|
1450
|
-
columns: () =>
|
|
1450
|
+
columns: () => to,
|
|
1451
1451
|
sort: {
|
|
1452
1452
|
sortTarget: "pim",
|
|
1453
|
-
orders: [{ target: "pim", direction:
|
|
1453
|
+
orders: [{ target: "pim", direction: H }]
|
|
1454
1454
|
}
|
|
1455
1455
|
}).set("teamPenaltiKilling", {
|
|
1456
1456
|
api: "/v2/team-powerplay",
|
|
1457
|
-
columns: () =>
|
|
1457
|
+
columns: () => ro,
|
|
1458
1458
|
sort: {
|
|
1459
1459
|
sortTarget: "pkPercent",
|
|
1460
|
-
orders: [{ target: "pkPercent", direction:
|
|
1460
|
+
orders: [{ target: "pkPercent", direction: H }]
|
|
1461
1461
|
}
|
|
1462
1462
|
}).set("teamPowerplay", {
|
|
1463
1463
|
api: "/v2/team-powerplay",
|
|
1464
|
-
columns: () =>
|
|
1464
|
+
columns: () => oo,
|
|
1465
1465
|
sort: {
|
|
1466
1466
|
sortTarget: "ppPercent",
|
|
1467
|
-
orders: [{ target: "ppPercent", direction:
|
|
1467
|
+
orders: [{ target: "ppPercent", direction: H }]
|
|
1468
1468
|
}
|
|
1469
1469
|
}).set("teamScoringEfficiency", {
|
|
1470
1470
|
api: "/v2/team-scoring-efficiency",
|
|
1471
|
-
columns: () =>
|
|
1471
|
+
columns: () => ao,
|
|
1472
1472
|
sort: {
|
|
1473
1473
|
sortTarget: "sp",
|
|
1474
|
-
orders: [{ target: "sp", direction:
|
|
1474
|
+
orders: [{ target: "sp", direction: H }]
|
|
1475
1475
|
}
|
|
1476
1476
|
});
|
|
1477
|
-
function
|
|
1477
|
+
function yt(e) {
|
|
1478
1478
|
return [
|
|
1479
1479
|
{
|
|
1480
1480
|
name: e("report.points"),
|
|
@@ -1506,7 +1506,7 @@ function xt(e) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
];
|
|
1508
1508
|
}
|
|
1509
|
-
function
|
|
1509
|
+
function xt(e) {
|
|
1510
1510
|
return [
|
|
1511
1511
|
// {
|
|
1512
1512
|
// name: t('report.teamAttendance'),
|
|
@@ -1530,12 +1530,12 @@ function kt(e) {
|
|
|
1530
1530
|
}
|
|
1531
1531
|
];
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function yi(e, t) {
|
|
1534
1534
|
if (e.length === 0)
|
|
1535
|
-
throw new
|
|
1536
|
-
t.seasons =
|
|
1535
|
+
throw new At(Le.message, Le.options);
|
|
1536
|
+
t.seasons = Ot(e), t.championshipId || (t.championshipId = Z(t.seasons).championshipId);
|
|
1537
1537
|
}
|
|
1538
|
-
const
|
|
1538
|
+
const xi = {
|
|
1539
1539
|
__name: "DataProvider",
|
|
1540
1540
|
props: {
|
|
1541
1541
|
championshipName: {
|
|
@@ -1572,7 +1572,7 @@ const Sn = {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
},
|
|
1574
1574
|
setup(e) {
|
|
1575
|
-
const t = e, o =
|
|
1575
|
+
const t = e, o = Ht("history"), r = ie({
|
|
1576
1576
|
loading: !1,
|
|
1577
1577
|
seasons: [],
|
|
1578
1578
|
championshipId: Number(o.championshipId) || 0,
|
|
@@ -1581,103 +1581,103 @@ const Sn = {
|
|
|
1581
1581
|
selectedChampionshipId: null,
|
|
1582
1582
|
sections: [],
|
|
1583
1583
|
section: o.section || null,
|
|
1584
|
-
selectedPanel:
|
|
1584
|
+
selectedPanel: fe,
|
|
1585
1585
|
api: "/v2/games-list",
|
|
1586
1586
|
apiParams: {},
|
|
1587
|
-
columns:
|
|
1587
|
+
columns: Ft,
|
|
1588
1588
|
sort: null,
|
|
1589
1589
|
report: "points"
|
|
1590
|
-
}),
|
|
1590
|
+
}), i = Tt(t, "timezone"), { onError: s } = We(), { sort: c, change: n } = Vr({
|
|
1591
1591
|
sortTarget: "",
|
|
1592
1592
|
orders: []
|
|
1593
|
-
}), { page: d, change:
|
|
1593
|
+
}), { page: d, change: v } = Bt(), { t: m } = ne(), { isLoading: g, execute: w } = ee({
|
|
1594
1594
|
options: {
|
|
1595
1595
|
path: "/v2/championship-seasons",
|
|
1596
1596
|
apiKey: t.apiKey,
|
|
1597
1597
|
params: { championshipName: t.championshipName }
|
|
1598
1598
|
},
|
|
1599
|
-
transform: (M) =>
|
|
1600
|
-
onError:
|
|
1601
|
-
}), { isLoading:
|
|
1599
|
+
transform: (M) => yi(M, r),
|
|
1600
|
+
onError: s
|
|
1601
|
+
}), { isLoading: p, execute: _ } = ee({
|
|
1602
1602
|
options: {
|
|
1603
1603
|
path: "/v2/championship-sections",
|
|
1604
1604
|
apiKey: t.apiKey,
|
|
1605
1605
|
params: N(() => ({ championshipId: r.championshipId }))
|
|
1606
1606
|
},
|
|
1607
|
-
transform: (M) =>
|
|
1608
|
-
onError:
|
|
1607
|
+
transform: (M) => bi(M, r, t.initialPhaseId),
|
|
1608
|
+
onError: s
|
|
1609
1609
|
}), {
|
|
1610
|
-
isLoading:
|
|
1611
|
-
state:
|
|
1612
|
-
execute:
|
|
1613
|
-
} =
|
|
1610
|
+
isLoading: y,
|
|
1611
|
+
state: T,
|
|
1612
|
+
execute: k
|
|
1613
|
+
} = ee({
|
|
1614
1614
|
options: {
|
|
1615
1615
|
path: N(() => r.api),
|
|
1616
1616
|
apiKey: t.apiKey,
|
|
1617
1617
|
resetOnExecute: !0,
|
|
1618
1618
|
params: N(() => ({ championshipId: r.championshipId, phaseId: r.phaseId, ...r.apiParams }))
|
|
1619
1619
|
},
|
|
1620
|
-
transform: (M) =>
|
|
1621
|
-
onError:
|
|
1622
|
-
}),
|
|
1623
|
-
|
|
1624
|
-
const
|
|
1625
|
-
() => r.selectedPanel ===
|
|
1626
|
-
),
|
|
1620
|
+
transform: (M) => Rt(M),
|
|
1621
|
+
onError: s
|
|
1622
|
+
}), P = Hr([p, g, y], { delay: 1e3 });
|
|
1623
|
+
Ge([w, _, k]);
|
|
1624
|
+
const f = N(
|
|
1625
|
+
() => r.selectedPanel === we ? yt(m) : xt(m)
|
|
1626
|
+
), h = N(() => {
|
|
1627
1627
|
const M = r.championships.find((A) => A.sectionId === r.selectedChampionshipId);
|
|
1628
|
-
return
|
|
1629
|
-
}),
|
|
1630
|
-
() =>
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1628
|
+
return Ir(Mt(M?.phases ?? []));
|
|
1629
|
+
}), z = N(() => r.selectedPanel === fe ? 0 : t.limit), $ = N(
|
|
1630
|
+
() => Pr(
|
|
1631
|
+
T.value,
|
|
1632
|
+
Er,
|
|
1633
|
+
Dr,
|
|
1634
|
+
Lr,
|
|
1635
|
+
Mr(["mip"]),
|
|
1636
|
+
Ar(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1637
1637
|
)
|
|
1638
|
-
),
|
|
1639
|
-
function
|
|
1640
|
-
r.championshipId = M, o.championshipId = M,
|
|
1638
|
+
), I = N(() => Se(a($)).sorted(c).addContinuousIndex().schedule(a(i), a(t.locale)).pagination(a(d), z.value).value());
|
|
1639
|
+
function V(M) {
|
|
1640
|
+
r.championshipId = M, o.championshipId = M, Ge([_, k]);
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1643
|
-
r.selectedChampionshipId = M.sectionId, r.phaseId =
|
|
1642
|
+
function C(M) {
|
|
1643
|
+
r.selectedChampionshipId = M.sectionId, r.phaseId = h.value[0]?.phaseId ?? null, k();
|
|
1644
1644
|
}
|
|
1645
1645
|
function G(M) {
|
|
1646
|
-
r.phaseId = M,
|
|
1646
|
+
r.phaseId = M, k();
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function R(M) {
|
|
1649
1649
|
r.selectedPanel = M;
|
|
1650
1650
|
let A = M;
|
|
1651
|
-
M ===
|
|
1651
|
+
M === we && (A = Z(yt(B))?.value), M === Pe && (A = Z(xt(B))?.value), r.report = A, te(A);
|
|
1652
1652
|
}
|
|
1653
|
-
function
|
|
1654
|
-
|
|
1653
|
+
function q(M) {
|
|
1654
|
+
te(M);
|
|
1655
1655
|
}
|
|
1656
|
-
function
|
|
1657
|
-
const A =
|
|
1658
|
-
r.api = A.api, r.apiParams = A.params, r.columns = A.columns(t.allPeriodVisible),
|
|
1656
|
+
function te(M) {
|
|
1657
|
+
const A = fi.get(M);
|
|
1658
|
+
r.api = A.api, r.apiParams = A.params, r.columns = A.columns(t.allPeriodVisible), c.sortTarget = A.sort?.sortTarget ?? "", c.orders = A.sort?.orders ?? [], k(), v(1);
|
|
1659
1659
|
}
|
|
1660
|
-
return (M, A) => be(M.$slots, "default",
|
|
1660
|
+
return (M, A) => be(M.$slots, "default", Ye(Ke({
|
|
1661
1661
|
...r,
|
|
1662
|
-
sort: a(
|
|
1662
|
+
sort: a(c),
|
|
1663
1663
|
page: a(d),
|
|
1664
|
-
phases:
|
|
1665
|
-
isLoading: a(
|
|
1666
|
-
games:
|
|
1667
|
-
reports:
|
|
1668
|
-
onSort: a(
|
|
1669
|
-
changePanel:
|
|
1664
|
+
phases: h.value,
|
|
1665
|
+
isLoading: a(P),
|
|
1666
|
+
games: I.value,
|
|
1667
|
+
reports: f.value,
|
|
1668
|
+
onSort: a(n),
|
|
1669
|
+
changePanel: R,
|
|
1670
1670
|
changePhase: G,
|
|
1671
|
-
changeSeason:
|
|
1672
|
-
onChangeReport:
|
|
1673
|
-
onPaginatorChange: a(
|
|
1674
|
-
changeChampionship:
|
|
1671
|
+
changeSeason: V,
|
|
1672
|
+
onChangeReport: q,
|
|
1673
|
+
onPaginatorChange: a(v),
|
|
1674
|
+
changeChampionship: C
|
|
1675
1675
|
})));
|
|
1676
1676
|
}
|
|
1677
|
-
},
|
|
1677
|
+
}, ki = { class: "flex-container" }, _i = {
|
|
1678
1678
|
key: 0,
|
|
1679
1679
|
value: null
|
|
1680
|
-
},
|
|
1680
|
+
}, zi = ["value"], Si = ["value"], $i = {
|
|
1681
1681
|
__name: "Selector",
|
|
1682
1682
|
props: {
|
|
1683
1683
|
phases: {
|
|
@@ -1703,48 +1703,48 @@ const Sn = {
|
|
|
1703
1703
|
},
|
|
1704
1704
|
emits: ["update:phaseId", "update:report"],
|
|
1705
1705
|
setup(e, { emit: t }) {
|
|
1706
|
-
const o = e, r = t, { t:
|
|
1707
|
-
return (
|
|
1708
|
-
|
|
1709
|
-
label: a(
|
|
1706
|
+
const o = e, r = t, { t: i } = ne(), { phaseId: s, report: c } = ta(o, r);
|
|
1707
|
+
return (n, d) => (u(), x("div", ki, [
|
|
1708
|
+
S(a(Ee), {
|
|
1709
|
+
label: a(i)("selection.phases"),
|
|
1710
1710
|
name: "phases",
|
|
1711
1711
|
class: "mb-md"
|
|
1712
1712
|
}, {
|
|
1713
|
-
default:
|
|
1714
|
-
|
|
1713
|
+
default: E(() => [
|
|
1714
|
+
S(a(et), {
|
|
1715
1715
|
id: "phases",
|
|
1716
|
-
modelValue: a(
|
|
1717
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1718
|
-
disabled: a(
|
|
1716
|
+
modelValue: a(s),
|
|
1717
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => ye(s) ? s.value = v : null),
|
|
1718
|
+
disabled: a(s) === null
|
|
1719
1719
|
}, {
|
|
1720
|
-
default:
|
|
1721
|
-
a(
|
|
1722
|
-
(u(!0), x(
|
|
1723
|
-
key:
|
|
1724
|
-
value:
|
|
1725
|
-
}, b(
|
|
1720
|
+
default: E(() => [
|
|
1721
|
+
a(s) === null ? (u(), x("option", _i, b(a(i)("selection.noPhases")), 1)) : D("", !0),
|
|
1722
|
+
(u(!0), x(Y, null, X(e.phases, (v) => (u(), x("option", {
|
|
1723
|
+
key: v.phaseId,
|
|
1724
|
+
value: v.phaseId
|
|
1725
|
+
}, b(v.phaseName), 9, zi))), 128))
|
|
1726
1726
|
]),
|
|
1727
1727
|
_: 1
|
|
1728
1728
|
}, 8, ["modelValue", "disabled"])
|
|
1729
1729
|
]),
|
|
1730
1730
|
_: 1
|
|
1731
1731
|
}, 8, ["label"]),
|
|
1732
|
-
e.isReportsVisible ? (u(), L(a(
|
|
1732
|
+
e.isReportsVisible ? (u(), L(a(Ee), {
|
|
1733
1733
|
key: 0,
|
|
1734
|
-
label: a(
|
|
1734
|
+
label: a(i)("selection.report"),
|
|
1735
1735
|
name: "report"
|
|
1736
1736
|
}, {
|
|
1737
|
-
default:
|
|
1738
|
-
|
|
1737
|
+
default: E(() => [
|
|
1738
|
+
S(a(et), {
|
|
1739
1739
|
id: "report",
|
|
1740
|
-
modelValue: a(
|
|
1741
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
1740
|
+
modelValue: a(c),
|
|
1741
|
+
"onUpdate:modelValue": d[1] || (d[1] = (v) => ye(c) ? c.value = v : null)
|
|
1742
1742
|
}, {
|
|
1743
|
-
default:
|
|
1744
|
-
(u(!0), x(
|
|
1745
|
-
key:
|
|
1746
|
-
value:
|
|
1747
|
-
}, b(
|
|
1743
|
+
default: E(() => [
|
|
1744
|
+
(u(!0), x(Y, null, X(e.reports, ({ value: v, name: m }) => (u(), x("option", {
|
|
1745
|
+
key: v,
|
|
1746
|
+
value: v
|
|
1747
|
+
}, b(m), 9, Si))), 128))
|
|
1748
1748
|
]),
|
|
1749
1749
|
_: 1
|
|
1750
1750
|
}, 8, ["modelValue"])
|
|
@@ -1753,7 +1753,7 @@ const Sn = {
|
|
|
1753
1753
|
}, 8, ["label"])) : D("", !0)
|
|
1754
1754
|
]));
|
|
1755
1755
|
}
|
|
1756
|
-
}, ao = "@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%}}", no = '@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{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 .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)}}', io = "@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)}}", lo = "@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}}", so = `@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%}}`, co = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--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: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--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)}}", En = "@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)}}", Pn = "@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}}", Dn = "@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}}", Ln = { class: "tabs underlined" }, Mn = ["aria-label"], An = ["aria-selected", "onClick"], On = ["aria-selected", "onClick"], Rn = ["aria-selected", "onClick"], jn = ["aria-selected", "onClick"], Gn = {
|
|
1756
|
+
}, rr = "@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%}}", or = '@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 .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)}}', ar = "@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)}}", ir = "@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}}", nr = `@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%}}`, lr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--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: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--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)}}", Ti = "@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)}}", Ci = "@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}}", Ni = "@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}}", Ii = { class: "tabs underlined" }, Pi = ["aria-label"], Ei = ["aria-selected", "onClick"], Di = ["aria-selected", "onClick"], Li = ["aria-selected", "onClick"], Mi = ["aria-selected", "onClick"], Ai = {
|
|
1757
1757
|
__name: "Championship.ce",
|
|
1758
1758
|
props: {
|
|
1759
1759
|
locale: {
|
|
@@ -1790,20 +1790,20 @@ const Sn = {
|
|
|
1790
1790
|
}
|
|
1791
1791
|
},
|
|
1792
1792
|
setup(e) {
|
|
1793
|
-
const t = e, o =
|
|
1794
|
-
return (d,
|
|
1795
|
-
|
|
1793
|
+
const t = e, o = j(null), r = j(Ve()), i = N(() => Ue(/* @__PURE__ */ new Date(), a(r), t.locale)), s = { en: ve, hu: ue }, c = (d) => He(t.externalGameResolver, d), n = (d) => Or(t.externalTeamResolver, d);
|
|
1794
|
+
return (d, v) => (u(), x("div", null, [
|
|
1795
|
+
S(a(de), {
|
|
1796
1796
|
locale: t.locale,
|
|
1797
|
-
messages:
|
|
1797
|
+
messages: s
|
|
1798
1798
|
}, {
|
|
1799
|
-
default:
|
|
1800
|
-
|
|
1801
|
-
default:
|
|
1802
|
-
|
|
1799
|
+
default: E(({ t: m }) => [
|
|
1800
|
+
S(a(Be), null, {
|
|
1801
|
+
default: E(({ error: g, hasError: w }) => [
|
|
1802
|
+
w ? (u(), L(a(ze), {
|
|
1803
1803
|
key: 0,
|
|
1804
1804
|
error: g
|
|
1805
1805
|
}, null, 8, ["error"])) : D("", !0),
|
|
1806
|
-
|
|
1806
|
+
S(xi, {
|
|
1807
1807
|
locale: e.locale,
|
|
1808
1808
|
timezone: r.value,
|
|
1809
1809
|
"championship-name": e.championshipName,
|
|
@@ -1811,104 +1811,104 @@ const Sn = {
|
|
|
1811
1811
|
"initial-phase-id": e.initialPhaseId,
|
|
1812
1812
|
"all-period-visible": e.totalPeriodPlayedVisible
|
|
1813
1813
|
}, {
|
|
1814
|
-
default:
|
|
1815
|
-
sort:
|
|
1816
|
-
page:
|
|
1817
|
-
games:
|
|
1818
|
-
phases:
|
|
1819
|
-
report:
|
|
1820
|
-
phaseId:
|
|
1821
|
-
columns:
|
|
1822
|
-
seasons:
|
|
1823
|
-
reports:
|
|
1814
|
+
default: E(({
|
|
1815
|
+
sort: p,
|
|
1816
|
+
page: _,
|
|
1817
|
+
games: y,
|
|
1818
|
+
phases: T,
|
|
1819
|
+
report: k,
|
|
1820
|
+
phaseId: P,
|
|
1821
|
+
columns: f,
|
|
1822
|
+
seasons: h,
|
|
1823
|
+
reports: z,
|
|
1824
1824
|
isLoading: $,
|
|
1825
|
-
selectedPanel:
|
|
1826
|
-
championships:
|
|
1827
|
-
championshipId:
|
|
1825
|
+
selectedPanel: I,
|
|
1826
|
+
championships: V,
|
|
1827
|
+
championshipId: C,
|
|
1828
1828
|
selectedChampionshipId: G,
|
|
1829
|
-
onSort:
|
|
1830
|
-
changePanel:
|
|
1831
|
-
changePhase:
|
|
1829
|
+
onSort: R,
|
|
1830
|
+
changePanel: q,
|
|
1831
|
+
changePhase: te,
|
|
1832
1832
|
changeSeason: M,
|
|
1833
1833
|
onChangeReport: A,
|
|
1834
1834
|
onPaginatorChange: re,
|
|
1835
|
-
changeChampionship:
|
|
1835
|
+
changeChampionship: $e
|
|
1836
1836
|
}) => [
|
|
1837
|
-
|
|
1838
|
-
seasons:
|
|
1839
|
-
sections:
|
|
1840
|
-
"championship-id":
|
|
1837
|
+
S(tr, {
|
|
1838
|
+
seasons: h,
|
|
1839
|
+
sections: V,
|
|
1840
|
+
"championship-id": C,
|
|
1841
1841
|
"section-id": G,
|
|
1842
1842
|
onOnChangeSeason: M,
|
|
1843
|
-
onOnChangeSection:
|
|
1843
|
+
onOnChangeSection: $e
|
|
1844
1844
|
}, null, 8, ["seasons", "sections", "championship-id", "section-id", "onOnChangeSeason", "onOnChangeSection"]),
|
|
1845
|
-
|
|
1846
|
-
phases:
|
|
1847
|
-
"phase-id":
|
|
1848
|
-
reports:
|
|
1849
|
-
report:
|
|
1850
|
-
"is-reports-visible":
|
|
1851
|
-
"onUpdate:phaseId":
|
|
1845
|
+
S($i, {
|
|
1846
|
+
phases: T,
|
|
1847
|
+
"phase-id": P,
|
|
1848
|
+
reports: z,
|
|
1849
|
+
report: k,
|
|
1850
|
+
"is-reports-visible": I === a(we) || I === a(Pe),
|
|
1851
|
+
"onUpdate:phaseId": te,
|
|
1852
1852
|
"onUpdate:report": A
|
|
1853
1853
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
1854
|
-
l("nav",
|
|
1854
|
+
l("nav", Ii, [
|
|
1855
1855
|
l("div", {
|
|
1856
1856
|
role: "tablist",
|
|
1857
|
-
"aria-label":
|
|
1857
|
+
"aria-label": m("selection.sections")
|
|
1858
1858
|
}, [
|
|
1859
1859
|
l("button", {
|
|
1860
1860
|
role: "tab",
|
|
1861
1861
|
type: "button",
|
|
1862
|
-
"aria-selected":
|
|
1863
|
-
onClick: (
|
|
1864
|
-
}, b(
|
|
1862
|
+
"aria-selected": I === a(fe),
|
|
1863
|
+
onClick: (ge) => q(a(fe))
|
|
1864
|
+
}, b(m("selection.schedule")), 9, Ei),
|
|
1865
1865
|
l("button", {
|
|
1866
1866
|
role: "tab",
|
|
1867
1867
|
type: "button",
|
|
1868
|
-
"aria-selected":
|
|
1869
|
-
onClick: (
|
|
1870
|
-
}, b(
|
|
1868
|
+
"aria-selected": I === a(Xe),
|
|
1869
|
+
onClick: (ge) => q(a(Xe))
|
|
1870
|
+
}, b(m("selection.standings")), 9, Di),
|
|
1871
1871
|
l("button", {
|
|
1872
1872
|
role: "tab",
|
|
1873
1873
|
type: "button",
|
|
1874
|
-
"aria-selected":
|
|
1875
|
-
onClick: (
|
|
1876
|
-
}, b(
|
|
1874
|
+
"aria-selected": I === a(we),
|
|
1875
|
+
onClick: (ge) => q(a(we))
|
|
1876
|
+
}, b(m("selection.playerStats")), 9, Li),
|
|
1877
1877
|
l("button", {
|
|
1878
1878
|
role: "tab",
|
|
1879
1879
|
type: "button",
|
|
1880
|
-
"aria-selected":
|
|
1881
|
-
onClick: (
|
|
1882
|
-
}, b(
|
|
1883
|
-
], 8,
|
|
1880
|
+
"aria-selected": I === a(Pe),
|
|
1881
|
+
onClick: (ge) => q(a(Pe))
|
|
1882
|
+
}, b(m("selection.teamStats")), 9, Mi)
|
|
1883
|
+
], 8, Pi)
|
|
1884
1884
|
]),
|
|
1885
|
-
|
|
1886
|
-
columns:
|
|
1887
|
-
rows:
|
|
1888
|
-
sort:
|
|
1885
|
+
S(a(It), {
|
|
1886
|
+
columns: f,
|
|
1887
|
+
rows: y.rows,
|
|
1888
|
+
sort: p,
|
|
1889
1889
|
"is-loading": $,
|
|
1890
|
-
"offset-name":
|
|
1891
|
-
"external-team-resolver":
|
|
1892
|
-
"external-game-resolver":
|
|
1890
|
+
"offset-name": i.value,
|
|
1891
|
+
"external-team-resolver": n,
|
|
1892
|
+
"external-game-resolver": c,
|
|
1893
1893
|
"append-to": o.value,
|
|
1894
|
-
"hide-columns":
|
|
1895
|
-
onSort:
|
|
1894
|
+
"hide-columns": I === a(fe) ? "broadcast" : "",
|
|
1895
|
+
onSort: R
|
|
1896
1896
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
1897
|
-
|
|
1897
|
+
I === a(we) ? (u(), L(a(Pt), {
|
|
1898
1898
|
key: 0,
|
|
1899
|
-
page:
|
|
1899
|
+
page: _,
|
|
1900
1900
|
"items-per-page": t.limit,
|
|
1901
|
-
"total-items":
|
|
1901
|
+
"total-items": y.totalItems,
|
|
1902
1902
|
"range-length": 5,
|
|
1903
1903
|
onChange: re
|
|
1904
1904
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : D("", !0),
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
rows:
|
|
1905
|
+
I === a(Xe) ? (u(), x(Y, { key: 1 }, [
|
|
1906
|
+
S(a(De), {
|
|
1907
|
+
rows: y.rows,
|
|
1908
1908
|
"additional-key": "inheritedPoints"
|
|
1909
1909
|
}, null, 8, ["rows"]),
|
|
1910
|
-
|
|
1911
|
-
rows:
|
|
1910
|
+
S(a(De), {
|
|
1911
|
+
rows: y.rows,
|
|
1912
1912
|
"additional-key": "penaltyPoints"
|
|
1913
1913
|
}, null, 8, ["rows"])
|
|
1914
1914
|
], 64)) : D("", !0)
|
|
@@ -1927,23 +1927,23 @@ const Sn = {
|
|
|
1927
1927
|
}, 8, ["locale"])
|
|
1928
1928
|
]));
|
|
1929
1929
|
}
|
|
1930
|
-
},
|
|
1931
|
-
function
|
|
1932
|
-
const o =
|
|
1930
|
+
}, Oi = /* @__PURE__ */ pe(Ai, [["styles", [he, rr, or, ar, ir, nr, lr, Ti, Ci, Ni]]]);
|
|
1931
|
+
function Ri(e, t = B) {
|
|
1932
|
+
const o = j({
|
|
1933
1933
|
days: "00",
|
|
1934
1934
|
hours: "00",
|
|
1935
1935
|
minutes: "00",
|
|
1936
1936
|
seconds: "00"
|
|
1937
|
-
}), r =
|
|
1938
|
-
const
|
|
1939
|
-
let d =
|
|
1940
|
-
d <= 0 && (
|
|
1937
|
+
}), r = U(!1), i = U(null), { pause: s, resume: c } = Oe(() => {
|
|
1938
|
+
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
1939
|
+
let d = i.value - n;
|
|
1940
|
+
d <= 0 && (s(), d = 0, r.value = !0, t()), o.value = Gi(d);
|
|
1941
1941
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
1942
|
-
return
|
|
1943
|
-
|
|
1942
|
+
return J(() => O(e), (n) => {
|
|
1943
|
+
i.value = new Date(n).getTime(), c();
|
|
1944
1944
|
}, { immediate: !1 }), { date: o, finished: r };
|
|
1945
1945
|
}
|
|
1946
|
-
function
|
|
1946
|
+
function Gi(e) {
|
|
1947
1947
|
return {
|
|
1948
1948
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
1949
1949
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -1951,7 +1951,7 @@ function Vn(e) {
|
|
|
1951
1951
|
seconds: Math.floor(e % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
|
|
1952
1952
|
};
|
|
1953
1953
|
}
|
|
1954
|
-
const
|
|
1954
|
+
const ji = ["data-number"], Q = {
|
|
1955
1955
|
__name: "Number",
|
|
1956
1956
|
props: {
|
|
1957
1957
|
number: [Number, String],
|
|
@@ -1965,17 +1965,17 @@ const Un = ["data-number"], Z = {
|
|
|
1965
1965
|
class: "is-number",
|
|
1966
1966
|
"data-number": e.number
|
|
1967
1967
|
}, [
|
|
1968
|
-
|
|
1968
|
+
S(Ct, {
|
|
1969
1969
|
name: `slide-${e.direction}`
|
|
1970
1970
|
}, {
|
|
1971
|
-
default:
|
|
1971
|
+
default: E(() => [
|
|
1972
1972
|
(u(), x("span", { key: e.number }, b(e.number), 1))
|
|
1973
1973
|
]),
|
|
1974
1974
|
_: 1
|
|
1975
1975
|
}, 8, ["name"])
|
|
1976
|
-
], 8,
|
|
1976
|
+
], 8, ji));
|
|
1977
1977
|
}
|
|
1978
|
-
},
|
|
1978
|
+
}, Yi = '@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}}', Ki = ["href", "target"], Bi = { class: "game-countdown-title" }, Fi = { class: "game-countdown-container" }, Ui = ["textContent"], Vi = ["textContent"], Hi = ["textContent"], Wi = { style: { display: "flex" } }, Ji = ["textContent"], qi = { style: { display: "flex" } }, Qi = ["textContent"], Xi = { style: { display: "flex" } }, Zi = ["textContent"], en = { style: { display: "flex" } }, tn = { class: "game-countdown-gamedata" }, rn = { class: "is-game-date" }, on = { class: "is-home-team" }, an = { class: "is-away-team" }, nn = {
|
|
1979
1979
|
__name: "Countdown.ce",
|
|
1980
1980
|
props: {
|
|
1981
1981
|
locale: {
|
|
@@ -1991,14 +1991,14 @@ const Un = ["data-number"], Z = {
|
|
|
1991
1991
|
default: ""
|
|
1992
1992
|
},
|
|
1993
1993
|
// externalGameResolver, isGameTargetExternal
|
|
1994
|
-
...
|
|
1994
|
+
...Fr
|
|
1995
1995
|
},
|
|
1996
1996
|
setup(e) {
|
|
1997
|
-
const t = e, o = { en:
|
|
1997
|
+
const t = e, o = { en: ve, hu: ue }, {
|
|
1998
1998
|
state: r,
|
|
1999
|
-
execute:
|
|
2000
|
-
isLoading:
|
|
2001
|
-
} =
|
|
1999
|
+
execute: i,
|
|
2000
|
+
isLoading: s
|
|
2001
|
+
} = ee({
|
|
2002
2002
|
options: {
|
|
2003
2003
|
path: "/v2/game-data",
|
|
2004
2004
|
apiKey: t.apiKey,
|
|
@@ -2007,159 +2007,159 @@ const Un = ["data-number"], Z = {
|
|
|
2007
2007
|
},
|
|
2008
2008
|
immediate: !0
|
|
2009
2009
|
},
|
|
2010
|
-
onSuccess:
|
|
2010
|
+
onSuccess: _
|
|
2011
2011
|
// onError,
|
|
2012
|
-
}), { pause:
|
|
2013
|
-
|
|
2014
|
-
}, 3e4, { immediate: !1 }), d = N(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")),
|
|
2015
|
-
function
|
|
2016
|
-
|
|
2012
|
+
}), { pause: c, resume: n } = Oe(() => {
|
|
2013
|
+
i();
|
|
2014
|
+
}, 3e4, { immediate: !1 }), d = N(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), v = N(() => (r.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: m, finished: g } = Ri(N(() => r.value.gameDate), () => n()), w = N(() => He(t.externalGameResolver, { gameId: t.gameId })), p = N(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2015
|
+
function _(y) {
|
|
2016
|
+
y.gameStatus === 1 && n(), y.gameStatus > 1 && c();
|
|
2017
2017
|
}
|
|
2018
|
-
return (
|
|
2018
|
+
return (y, T) => (u(), L(a(de), {
|
|
2019
2019
|
locale: e.locale,
|
|
2020
2020
|
messages: o
|
|
2021
2021
|
}, {
|
|
2022
|
-
default:
|
|
2022
|
+
default: E(({ t: k }) => [
|
|
2023
2023
|
l("a", {
|
|
2024
|
-
href:
|
|
2025
|
-
target:
|
|
2024
|
+
href: w.value,
|
|
2025
|
+
target: p.value,
|
|
2026
2026
|
class: "game-countdown"
|
|
2027
2027
|
}, [
|
|
2028
|
-
l("div",
|
|
2029
|
-
a(tt)(a(r)) ? D("", !0) : (u(), x(
|
|
2030
|
-
|
|
2028
|
+
l("div", Bi, [
|
|
2029
|
+
a(tt)(a(r)) ? D("", !0) : (u(), x(Y, { key: 0 }, [
|
|
2030
|
+
W(b(a(r).championshipName) + " - " + b(a(r).divisionName), 1)
|
|
2031
2031
|
], 64))
|
|
2032
2032
|
]),
|
|
2033
|
-
l("div",
|
|
2033
|
+
l("div", Fi, [
|
|
2034
2034
|
l("div", {
|
|
2035
|
-
class:
|
|
2035
|
+
class: oe(["game-countdown-result", { "is-visible": a(g) }])
|
|
2036
2036
|
}, [
|
|
2037
2037
|
l("div", {
|
|
2038
2038
|
class: "is-period",
|
|
2039
|
-
textContent: b(
|
|
2040
|
-
}, null, 8,
|
|
2039
|
+
textContent: b(k(a(r).period ? `game.period.${a(r).period}` : ""))
|
|
2040
|
+
}, null, 8, Ui),
|
|
2041
2041
|
l("div", {
|
|
2042
|
-
class:
|
|
2042
|
+
class: oe(["is-home-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2043
2043
|
style: { display: "flex" }
|
|
2044
2044
|
}, [
|
|
2045
|
-
d.value[0] !== "0" ? (u(), L(
|
|
2045
|
+
d.value[0] !== "0" ? (u(), L(Q, {
|
|
2046
2046
|
key: 0,
|
|
2047
2047
|
number: d.value[0]
|
|
2048
2048
|
}, null, 8, ["number"])) : D("", !0),
|
|
2049
|
-
|
|
2049
|
+
S(Q, {
|
|
2050
2050
|
number: d.value[1]
|
|
2051
2051
|
}, null, 8, ["number"])
|
|
2052
2052
|
], 2),
|
|
2053
2053
|
l("span", {
|
|
2054
|
-
class:
|
|
2054
|
+
class: oe(["is-separator", { "is-live": a(r).gameStatus === 1 }])
|
|
2055
2055
|
}, ":", 2),
|
|
2056
2056
|
l("div", {
|
|
2057
|
-
class:
|
|
2057
|
+
class: oe(["is-away-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2058
2058
|
style: { display: "flex" }
|
|
2059
2059
|
}, [
|
|
2060
|
-
|
|
2060
|
+
v.value[0] !== "0" ? (u(), L(Q, {
|
|
2061
2061
|
key: 0,
|
|
2062
|
-
number:
|
|
2062
|
+
number: v.value[0]
|
|
2063
2063
|
}, null, 8, ["number"])) : D("", !0),
|
|
2064
|
-
|
|
2065
|
-
number:
|
|
2064
|
+
S(Q, {
|
|
2065
|
+
number: v.value[1]
|
|
2066
2066
|
}, null, 8, ["number"])
|
|
2067
2067
|
], 2),
|
|
2068
2068
|
l("div", {
|
|
2069
2069
|
class: "is-period-results",
|
|
2070
2070
|
textContent: b(a(r).periodResults)
|
|
2071
|
-
}, null, 8,
|
|
2071
|
+
}, null, 8, Vi)
|
|
2072
2072
|
], 2),
|
|
2073
2073
|
l("div", {
|
|
2074
|
-
class:
|
|
2074
|
+
class: oe(["game-countdown-counter", { "is-visible": !a(g) && !a(s) }])
|
|
2075
2075
|
}, [
|
|
2076
2076
|
l("div", null, [
|
|
2077
2077
|
l("div", {
|
|
2078
|
-
textContent: b(
|
|
2079
|
-
}, null, 8,
|
|
2080
|
-
l("div",
|
|
2081
|
-
|
|
2082
|
-
number: a(
|
|
2078
|
+
textContent: b(k("countdown.days"))
|
|
2079
|
+
}, null, 8, Hi),
|
|
2080
|
+
l("div", Wi, [
|
|
2081
|
+
S(Q, {
|
|
2082
|
+
number: a(m).days[0],
|
|
2083
2083
|
direction: "decrease"
|
|
2084
2084
|
}, null, 8, ["number"]),
|
|
2085
|
-
|
|
2086
|
-
number: a(
|
|
2085
|
+
S(Q, {
|
|
2086
|
+
number: a(m).days[1],
|
|
2087
2087
|
direction: "decrease"
|
|
2088
2088
|
}, null, 8, ["number"])
|
|
2089
2089
|
])
|
|
2090
2090
|
]),
|
|
2091
2091
|
l("div", null, [
|
|
2092
2092
|
l("div", {
|
|
2093
|
-
textContent: b(
|
|
2094
|
-
}, null, 8,
|
|
2095
|
-
l("div",
|
|
2096
|
-
|
|
2097
|
-
number: a(
|
|
2093
|
+
textContent: b(k("countdown.hours"))
|
|
2094
|
+
}, null, 8, Ji),
|
|
2095
|
+
l("div", qi, [
|
|
2096
|
+
S(Q, {
|
|
2097
|
+
number: a(m).hours[0],
|
|
2098
2098
|
direction: "decrease"
|
|
2099
2099
|
}, null, 8, ["number"]),
|
|
2100
|
-
|
|
2101
|
-
number: a(
|
|
2100
|
+
S(Q, {
|
|
2101
|
+
number: a(m).hours[1],
|
|
2102
2102
|
direction: "decrease"
|
|
2103
2103
|
}, null, 8, ["number"])
|
|
2104
2104
|
])
|
|
2105
2105
|
]),
|
|
2106
2106
|
l("div", null, [
|
|
2107
2107
|
l("div", {
|
|
2108
|
-
textContent: b(
|
|
2109
|
-
}, null, 8,
|
|
2110
|
-
l("div",
|
|
2111
|
-
|
|
2112
|
-
number: a(
|
|
2108
|
+
textContent: b(k("countdown.minutes"))
|
|
2109
|
+
}, null, 8, Qi),
|
|
2110
|
+
l("div", Xi, [
|
|
2111
|
+
S(Q, {
|
|
2112
|
+
number: a(m).minutes[0],
|
|
2113
2113
|
direction: "decrease"
|
|
2114
2114
|
}, null, 8, ["number"]),
|
|
2115
|
-
|
|
2116
|
-
number: a(
|
|
2115
|
+
S(Q, {
|
|
2116
|
+
number: a(m).minutes[1],
|
|
2117
2117
|
direction: "decrease"
|
|
2118
2118
|
}, null, 8, ["number"])
|
|
2119
2119
|
])
|
|
2120
2120
|
]),
|
|
2121
2121
|
l("div", null, [
|
|
2122
2122
|
l("div", {
|
|
2123
|
-
textContent: b(
|
|
2124
|
-
}, null, 8,
|
|
2125
|
-
l("div",
|
|
2126
|
-
|
|
2127
|
-
number: a(
|
|
2123
|
+
textContent: b(k("countdown.seconds"))
|
|
2124
|
+
}, null, 8, Zi),
|
|
2125
|
+
l("div", en, [
|
|
2126
|
+
S(Q, {
|
|
2127
|
+
number: a(m).seconds[0],
|
|
2128
2128
|
direction: "decrease"
|
|
2129
2129
|
}, null, 8, ["number"]),
|
|
2130
|
-
|
|
2131
|
-
number: a(
|
|
2130
|
+
S(Q, {
|
|
2131
|
+
number: a(m).seconds[1],
|
|
2132
2132
|
direction: "decrease"
|
|
2133
2133
|
}, null, 8, ["number"])
|
|
2134
2134
|
])
|
|
2135
2135
|
])
|
|
2136
2136
|
], 2)
|
|
2137
2137
|
]),
|
|
2138
|
-
l("div",
|
|
2139
|
-
l("div",
|
|
2140
|
-
a(r).homeTeam?.logo ? (u(), L(a(
|
|
2138
|
+
l("div", tn, [
|
|
2139
|
+
l("div", rn, b(a(F)(a(r).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2140
|
+
a(r).homeTeam?.logo ? (u(), L(a(ae), {
|
|
2141
2141
|
key: 0,
|
|
2142
2142
|
class: "is-home-team-logo",
|
|
2143
2143
|
src: a(r).homeTeam.logo
|
|
2144
2144
|
}, null, 8, ["src"])) : D("", !0),
|
|
2145
|
-
l("span",
|
|
2146
|
-
|
|
2147
|
-
l("span",
|
|
2148
|
-
a(r).awayTeam?.logo ? (u(), L(a(
|
|
2145
|
+
l("span", on, b(a(r).homeTeam?.longName), 1),
|
|
2146
|
+
T[0] || (T[0] = l("span", { class: "is-separator" }, "-", -1)),
|
|
2147
|
+
l("span", an, b(a(r).awayTeam?.longName), 1),
|
|
2148
|
+
a(r).awayTeam?.logo ? (u(), L(a(ae), {
|
|
2149
2149
|
key: 1,
|
|
2150
2150
|
class: "is-away-team-logo",
|
|
2151
2151
|
src: a(r).awayTeam.logo
|
|
2152
2152
|
}, null, 8, ["src"])) : D("", !0)
|
|
2153
2153
|
])
|
|
2154
|
-
], 8,
|
|
2154
|
+
], 8, Ki)
|
|
2155
2155
|
]),
|
|
2156
2156
|
_: 1
|
|
2157
2157
|
}, 8, ["locale"]));
|
|
2158
2158
|
}
|
|
2159
|
-
},
|
|
2160
|
-
function
|
|
2161
|
-
const { execute: t } =
|
|
2162
|
-
(o) =>
|
|
2159
|
+
}, ln = /* @__PURE__ */ pe(nn, [["styles", [he, Yi]]]), sr = Symbol("CarouselContext");
|
|
2160
|
+
function sn({ apiKey: e }) {
|
|
2161
|
+
const { execute: t } = Qo(
|
|
2162
|
+
(o) => Wr("/v2/game-data", e, o).then((r) => ({ ...r, ...o })),
|
|
2163
2163
|
{},
|
|
2164
2164
|
{
|
|
2165
2165
|
immediate: !1,
|
|
@@ -2170,20 +2170,20 @@ function di({ apiKey: e }) {
|
|
|
2170
2170
|
execute: t
|
|
2171
2171
|
};
|
|
2172
2172
|
}
|
|
2173
|
-
function
|
|
2174
|
-
const r =
|
|
2175
|
-
return e.reduce((
|
|
2173
|
+
function cn(e, t, o) {
|
|
2174
|
+
const r = mn(t, o);
|
|
2175
|
+
return e.reduce((s, c) => (r.has(c.id) ? s.push({ ...r.get(c.id), ...c }) : s.push(c), s), []);
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2177
|
+
function mn(e, t) {
|
|
2178
2178
|
const o = /* @__PURE__ */ new Map();
|
|
2179
2179
|
for (const r of e)
|
|
2180
2180
|
o.set(r[t], r);
|
|
2181
2181
|
return o;
|
|
2182
2182
|
}
|
|
2183
|
-
function
|
|
2183
|
+
function kt(e) {
|
|
2184
2184
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2185
2185
|
}
|
|
2186
|
-
const
|
|
2186
|
+
const dn = { class: "games-timeline" }, vn = ["disabled"], un = { ref: "container" }, hn = ["disabled"], pn = {
|
|
2187
2187
|
__name: "Carousel",
|
|
2188
2188
|
props: {
|
|
2189
2189
|
initialIndex: {
|
|
@@ -2192,72 +2192,72 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2192
2192
|
}
|
|
2193
2193
|
},
|
|
2194
2194
|
setup(e) {
|
|
2195
|
-
const t = e, o =
|
|
2196
|
-
|
|
2197
|
-
register: (
|
|
2198
|
-
|
|
2195
|
+
const t = e, o = ur("container"), r = j(t.initialIndex), i = j([]);
|
|
2196
|
+
hr(sr, {
|
|
2197
|
+
register: (w) => {
|
|
2198
|
+
i.value.includes(w) || (i.value.push(w), i.value = Rr(i.value, (p) => se(o.value).querySelector(`#${p}`)));
|
|
2199
2199
|
},
|
|
2200
|
-
unregister: (
|
|
2201
|
-
const
|
|
2202
|
-
|
|
2200
|
+
unregister: (w) => {
|
|
2201
|
+
const p = i.value.indexOf(w);
|
|
2202
|
+
p !== -1 && i.value.splice(p, 1);
|
|
2203
2203
|
}
|
|
2204
2204
|
});
|
|
2205
|
-
const { arrivedState:
|
|
2206
|
-
() =>
|
|
2205
|
+
const { arrivedState: c } = Zo(o, { onStop: g }), n = N(
|
|
2206
|
+
() => se(o).querySelector(`#${i.value[r.value]}`)
|
|
2207
2207
|
);
|
|
2208
|
-
|
|
2208
|
+
je(() => m()), J(
|
|
2209
2209
|
() => t.initialIndex,
|
|
2210
|
-
(
|
|
2211
|
-
r.value =
|
|
2210
|
+
(w) => {
|
|
2211
|
+
r.value = w, xe(() => m());
|
|
2212
2212
|
}
|
|
2213
2213
|
);
|
|
2214
2214
|
function d() {
|
|
2215
|
-
|
|
2215
|
+
c.left || (r.value--, m({ behavior: "smooth" }));
|
|
2216
2216
|
}
|
|
2217
|
-
function
|
|
2218
|
-
|
|
2217
|
+
function v() {
|
|
2218
|
+
c.right || (r.value++, m({ behavior: "smooth" }));
|
|
2219
2219
|
}
|
|
2220
|
-
function
|
|
2221
|
-
|
|
2220
|
+
function m(w) {
|
|
2221
|
+
n.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...w });
|
|
2222
2222
|
}
|
|
2223
2223
|
function g() {
|
|
2224
|
-
const
|
|
2225
|
-
(
|
|
2224
|
+
const w = se(o).getBoundingClientRect()?.left, p = Array.from(se(o).children).findIndex(
|
|
2225
|
+
(_) => Math.round(_.getBoundingClientRect().left - w) >= 0
|
|
2226
2226
|
);
|
|
2227
|
-
r.value =
|
|
2227
|
+
r.value = p;
|
|
2228
2228
|
}
|
|
2229
|
-
return (
|
|
2229
|
+
return (w, p) => (u(), x("div", dn, [
|
|
2230
2230
|
l("button", {
|
|
2231
2231
|
type: "button",
|
|
2232
|
-
disabled: a(
|
|
2232
|
+
disabled: a(c).left,
|
|
2233
2233
|
onClick: d
|
|
2234
2234
|
}, [
|
|
2235
|
-
|
|
2236
|
-
], 8,
|
|
2237
|
-
l("div",
|
|
2238
|
-
be(
|
|
2235
|
+
S(a(da))
|
|
2236
|
+
], 8, vn),
|
|
2237
|
+
l("div", un, [
|
|
2238
|
+
be(w.$slots, "default")
|
|
2239
2239
|
], 512),
|
|
2240
2240
|
l("button", {
|
|
2241
2241
|
type: "button",
|
|
2242
|
-
disabled: a(
|
|
2243
|
-
onClick:
|
|
2242
|
+
disabled: a(c).right,
|
|
2243
|
+
onClick: v
|
|
2244
2244
|
}, [
|
|
2245
|
-
|
|
2246
|
-
], 8,
|
|
2245
|
+
S(a(ct))
|
|
2246
|
+
], 8, hn)
|
|
2247
2247
|
]));
|
|
2248
2248
|
}
|
|
2249
|
-
},
|
|
2249
|
+
}, Ze = {
|
|
2250
2250
|
__name: "CarouselItem",
|
|
2251
2251
|
setup(e) {
|
|
2252
|
-
const t = `mjsz-vbr-carousel-item-${
|
|
2253
|
-
return
|
|
2252
|
+
const t = `mjsz-vbr-carousel-item-${pr()}`, o = gr(sr, null);
|
|
2253
|
+
return je(() => o?.register(t)), wr(() => o?.unregister(t)), (r, i) => (u(), x("div", {
|
|
2254
2254
|
id: t,
|
|
2255
2255
|
class: "is-slide"
|
|
2256
2256
|
}, [
|
|
2257
2257
|
be(r.$slots, "default")
|
|
2258
2258
|
]));
|
|
2259
2259
|
}
|
|
2260
|
-
},
|
|
2260
|
+
}, gn = { class: "games-timeline-schedule-link" }, _t = {
|
|
2261
2261
|
__name: "ExternalSchedule",
|
|
2262
2262
|
props: {
|
|
2263
2263
|
title: {
|
|
@@ -2272,20 +2272,20 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2272
2272
|
emits: ["navigateTo"],
|
|
2273
2273
|
setup(e, { emit: t }) {
|
|
2274
2274
|
const o = e, r = t;
|
|
2275
|
-
function
|
|
2275
|
+
function i() {
|
|
2276
2276
|
r("navigateTo", { url: o.externalScheduleUrl, target: "_self" });
|
|
2277
2277
|
}
|
|
2278
|
-
return (
|
|
2278
|
+
return (s, c) => (u(), x("div", gn, [
|
|
2279
2279
|
l("button", {
|
|
2280
2280
|
type: "button",
|
|
2281
|
-
onClick:
|
|
2281
|
+
onClick: i
|
|
2282
2282
|
}, [
|
|
2283
|
-
|
|
2284
|
-
|
|
2283
|
+
W(b(e.title), 1),
|
|
2284
|
+
S(a(ct))
|
|
2285
2285
|
])
|
|
2286
2286
|
]));
|
|
2287
2287
|
}
|
|
2288
|
-
},
|
|
2288
|
+
}, wn = { class: "score-display" }, bn = { class: "is-score" }, zt = {
|
|
2289
2289
|
__name: "ScoreDisplay",
|
|
2290
2290
|
props: {
|
|
2291
2291
|
score: {
|
|
@@ -2294,10 +2294,10 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2294
2294
|
}
|
|
2295
2295
|
},
|
|
2296
2296
|
setup(e) {
|
|
2297
|
-
return (t, o) => (u(), x("div",
|
|
2298
|
-
l("div",
|
|
2299
|
-
|
|
2300
|
-
default:
|
|
2297
|
+
return (t, o) => (u(), x("div", wn, [
|
|
2298
|
+
l("div", bn, [
|
|
2299
|
+
S(Ct, { name: "is-slide-transition" }, {
|
|
2300
|
+
default: E(() => [
|
|
2301
2301
|
(u(), x("span", { key: e.score }, b(e.score), 1))
|
|
2302
2302
|
]),
|
|
2303
2303
|
_: 1
|
|
@@ -2305,13 +2305,13 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2305
2305
|
])
|
|
2306
2306
|
]));
|
|
2307
2307
|
}
|
|
2308
|
-
},
|
|
2308
|
+
}, fn = {
|
|
2309
2309
|
key: 0,
|
|
2310
2310
|
class: "badge xs"
|
|
2311
|
-
},
|
|
2311
|
+
}, yn = {
|
|
2312
2312
|
key: 1,
|
|
2313
2313
|
class: "badge xs"
|
|
2314
|
-
},
|
|
2314
|
+
}, xn = { class: "is-home-team-logo" }, kn = { class: "is-home-team-name" }, _n = { class: "is-home-team-score" }, zn = { class: "is-away-team-logo" }, Sn = { class: "is-away-team-name" }, $n = { class: "is-away-team-score" }, Tn = { class: "is-status" }, Cn = {
|
|
2315
2315
|
__name: "Game",
|
|
2316
2316
|
props: {
|
|
2317
2317
|
gameData: {
|
|
@@ -2325,96 +2325,96 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2325
2325
|
},
|
|
2326
2326
|
emits: ["navigateTo"],
|
|
2327
2327
|
setup(e, { emit: t }) {
|
|
2328
|
-
const o = e, r = t, { t:
|
|
2329
|
-
const { gameStatus:
|
|
2330
|
-
return
|
|
2328
|
+
const o = e, r = t, { t: i } = ne(), s = N(() => {
|
|
2329
|
+
const { gameStatus: n, championshipName: d, divisionName: v, period: m, periodTime: g } = o.gameData;
|
|
2330
|
+
return n !== 1 ? `${d} - ${v}` : m && kt(m) ? `${i(`game.period.${m}`)} - ${g}` : m && !kt(m) ? i(`game.period.${m}`) : "";
|
|
2331
2331
|
});
|
|
2332
|
-
function
|
|
2333
|
-
const { externalGameUrl:
|
|
2334
|
-
if (
|
|
2335
|
-
return r("navigateTo", { url:
|
|
2336
|
-
const
|
|
2337
|
-
r("navigateTo", { url:
|
|
2338
|
-
}
|
|
2339
|
-
return (
|
|
2332
|
+
function c() {
|
|
2333
|
+
const { externalGameUrl: n, id: d } = o.gameData;
|
|
2334
|
+
if (n)
|
|
2335
|
+
return r("navigateTo", { url: n, target: "_blank" });
|
|
2336
|
+
const v = He(o.externalGameResolver, { gameId: d });
|
|
2337
|
+
r("navigateTo", { url: v, target: "_self" });
|
|
2338
|
+
}
|
|
2339
|
+
return (n, d) => (u(), x("div", {
|
|
2340
2340
|
class: "games-timeline-game",
|
|
2341
|
-
onClick:
|
|
2341
|
+
onClick: c
|
|
2342
2342
|
}, [
|
|
2343
2343
|
l("time", null, [
|
|
2344
|
-
|
|
2345
|
-
e.gameData.isShootout ? (u(), x("span",
|
|
2346
|
-
e.gameData.isOvertime ? (u(), x("span",
|
|
2347
|
-
e.gameData.externalGameUrl ? (u(), L(a(
|
|
2344
|
+
W(b(e.gameData.gameDateTime) + " ", 1),
|
|
2345
|
+
e.gameData.isShootout ? (u(), x("span", fn, b(a(i)("common.shootoutShort")), 1)) : D("", !0),
|
|
2346
|
+
e.gameData.isOvertime ? (u(), x("span", yn, b(a(i)("common.overtimeShort")), 1)) : D("", !0),
|
|
2347
|
+
e.gameData.externalGameUrl ? (u(), L(a(sa), {
|
|
2348
2348
|
key: 2,
|
|
2349
2349
|
width: "14",
|
|
2350
2350
|
height: "14"
|
|
2351
2351
|
})) : D("", !0)
|
|
2352
2352
|
]),
|
|
2353
|
-
l("div",
|
|
2354
|
-
|
|
2353
|
+
l("div", xn, [
|
|
2354
|
+
S(a(ae), {
|
|
2355
2355
|
src: e.gameData.homeTeam.logo,
|
|
2356
2356
|
class: "is-team-logo"
|
|
2357
2357
|
}, null, 8, ["src"])
|
|
2358
2358
|
]),
|
|
2359
|
-
l("div",
|
|
2360
|
-
l("div",
|
|
2361
|
-
e.gameData.homeTeamScore != null ? (u(), L(
|
|
2359
|
+
l("div", kn, b(e.gameData.homeTeam.longName), 1),
|
|
2360
|
+
l("div", _n, [
|
|
2361
|
+
e.gameData.homeTeamScore != null ? (u(), L(zt, {
|
|
2362
2362
|
key: 0,
|
|
2363
|
-
class:
|
|
2363
|
+
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]]),
|
|
2364
2364
|
score: e.gameData.homeTeamScore
|
|
2365
2365
|
}, {
|
|
2366
|
-
default:
|
|
2367
|
-
|
|
2366
|
+
default: E(() => [
|
|
2367
|
+
W(b(e.gameData.homeTeamScore), 1)
|
|
2368
2368
|
]),
|
|
2369
2369
|
_: 1
|
|
2370
2370
|
}, 8, ["class", "score"])) : D("", !0)
|
|
2371
2371
|
]),
|
|
2372
|
-
l("div",
|
|
2373
|
-
|
|
2372
|
+
l("div", zn, [
|
|
2373
|
+
S(a(ae), {
|
|
2374
2374
|
src: e.gameData.awayTeam.logo,
|
|
2375
2375
|
class: "is-team-logo"
|
|
2376
2376
|
}, null, 8, ["src"])
|
|
2377
2377
|
]),
|
|
2378
|
-
l("div",
|
|
2379
|
-
l("div",
|
|
2380
|
-
e.gameData.awayTeamScore != null ? (u(), L(
|
|
2378
|
+
l("div", Sn, b(e.gameData.awayTeam.longName), 1),
|
|
2379
|
+
l("div", $n, [
|
|
2380
|
+
e.gameData.awayTeamScore != null ? (u(), L(zt, {
|
|
2381
2381
|
key: 0,
|
|
2382
2382
|
score: e.gameData.awayTeamScore,
|
|
2383
|
-
class:
|
|
2383
|
+
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]])
|
|
2384
2384
|
}, {
|
|
2385
|
-
default:
|
|
2386
|
-
|
|
2385
|
+
default: E(() => [
|
|
2386
|
+
W(b(e.gameData.awayTeamScore), 1)
|
|
2387
2387
|
]),
|
|
2388
2388
|
_: 1
|
|
2389
2389
|
}, 8, ["score", "class"])) : D("", !0)
|
|
2390
2390
|
]),
|
|
2391
|
-
l("div",
|
|
2391
|
+
l("div", Tn, b(s.value), 1)
|
|
2392
2392
|
]));
|
|
2393
2393
|
}
|
|
2394
|
-
},
|
|
2394
|
+
}, Nn = { class: "games-timeline-error-indicator" }, In = {
|
|
2395
2395
|
__name: "TryAgain",
|
|
2396
2396
|
emits: ["tryAgain"],
|
|
2397
2397
|
setup(e, { emit: t }) {
|
|
2398
|
-
const o = t, { t: r } =
|
|
2399
|
-
function
|
|
2398
|
+
const o = t, { t: r } = ne();
|
|
2399
|
+
function i() {
|
|
2400
2400
|
o("tryAgain");
|
|
2401
2401
|
}
|
|
2402
|
-
return (
|
|
2403
|
-
|
|
2402
|
+
return (s, c) => (u(), x("div", Nn, [
|
|
2403
|
+
S(a(fa)),
|
|
2404
2404
|
l("div", null, b(a(r)("gamesTimeline.errorText")), 1),
|
|
2405
2405
|
l("button", {
|
|
2406
2406
|
type: "button",
|
|
2407
|
-
onClick:
|
|
2407
|
+
onClick: i
|
|
2408
2408
|
}, b(a(r)("gamesTimeline.errorCta")), 1)
|
|
2409
2409
|
]));
|
|
2410
2410
|
}
|
|
2411
|
-
},
|
|
2411
|
+
}, Pn = '@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%)}}', En = "@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)}}", Dn = {
|
|
2412
2412
|
key: 0,
|
|
2413
2413
|
style: { width: "100%" }
|
|
2414
|
-
},
|
|
2414
|
+
}, Ln = {
|
|
2415
2415
|
key: 2,
|
|
2416
2416
|
class: "is-no-games"
|
|
2417
|
-
},
|
|
2417
|
+
}, Mn = {
|
|
2418
2418
|
__name: "GamesTimeline.ce",
|
|
2419
2419
|
props: {
|
|
2420
2420
|
locale: {
|
|
@@ -2439,87 +2439,87 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2439
2439
|
}
|
|
2440
2440
|
},
|
|
2441
2441
|
setup(e) {
|
|
2442
|
-
const t = e, o = { en:
|
|
2443
|
-
let
|
|
2444
|
-
const
|
|
2442
|
+
const t = e, o = { en: ve, hu: ue }, r = Ve();
|
|
2443
|
+
let i = [];
|
|
2444
|
+
const s = j(!1), { isLoading: c, state: n, execute: d } = ee({
|
|
2445
2445
|
options: {
|
|
2446
2446
|
path: t.servicePath,
|
|
2447
2447
|
apiKey: t.apiKey,
|
|
2448
2448
|
params: {},
|
|
2449
2449
|
immediate: !0
|
|
2450
2450
|
},
|
|
2451
|
-
transform: (
|
|
2451
|
+
transform: (f) => cn(f, n.value, "id").reverse(),
|
|
2452
2452
|
onError: () => {
|
|
2453
|
-
|
|
2453
|
+
s.value = !0;
|
|
2454
2454
|
},
|
|
2455
|
-
onSuccess:
|
|
2456
|
-
}), { resume:
|
|
2457
|
-
|
|
2455
|
+
onSuccess: y
|
|
2456
|
+
}), { resume: v, pause: m } = Oe(d, 1e3 * 60 * 5), g = jo(c, 500);
|
|
2457
|
+
Jr(
|
|
2458
2458
|
!0,
|
|
2459
2459
|
() => {
|
|
2460
|
-
d(),
|
|
2460
|
+
d(), v();
|
|
2461
2461
|
},
|
|
2462
2462
|
() => {
|
|
2463
|
-
|
|
2463
|
+
m(), i.map((f) => f?.()), i = [];
|
|
2464
2464
|
}
|
|
2465
2465
|
);
|
|
2466
|
-
const
|
|
2467
|
-
() =>
|
|
2468
|
-
...
|
|
2469
|
-
gameDateTime: `${
|
|
2470
|
-
|
|
2466
|
+
const w = N(() => tt(n.value) ? 0 : n.value.findIndex((f) => !Dt(new Date(f.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), p = N(
|
|
2467
|
+
() => n.value.map((f) => ({
|
|
2468
|
+
...f,
|
|
2469
|
+
gameDateTime: `${F(f.gameDate, "L LT", r, t.locale)} (${Ue(
|
|
2470
|
+
f.gameDate,
|
|
2471
2471
|
r,
|
|
2472
2472
|
t.locale
|
|
2473
2473
|
)})`
|
|
2474
2474
|
}))
|
|
2475
|
-
), { execute:
|
|
2476
|
-
async function
|
|
2477
|
-
|
|
2478
|
-
const
|
|
2479
|
-
for (let
|
|
2480
|
-
const
|
|
2481
|
-
|
|
2482
|
-
const { pause: $ } =
|
|
2483
|
-
|
|
2475
|
+
), { execute: _ } = sn({ apiKey: t.apiKey });
|
|
2476
|
+
async function y() {
|
|
2477
|
+
s.value = !1, i.map((h) => h?.()), i = [];
|
|
2478
|
+
const f = n.value.filter((h) => h.gameStatus === 1);
|
|
2479
|
+
for (let h = 0; h < f.length; h++) {
|
|
2480
|
+
const z = f[h].id;
|
|
2481
|
+
_(0, { gameId: z }).then((I) => T(I));
|
|
2482
|
+
const { pause: $ } = Oe(() => _(0, { gameId: z }).then((I) => T(I)), 6e4);
|
|
2483
|
+
i.push($);
|
|
2484
2484
|
}
|
|
2485
2485
|
}
|
|
2486
|
-
function
|
|
2487
|
-
const { gameId:
|
|
2488
|
-
G.gameStatus =
|
|
2486
|
+
function T(f = {}) {
|
|
2487
|
+
const { gameId: h, gameStatus: z, homeTeamScore: $, awayTeamScore: I, period: V, periodTime: C } = f, G = n.value.find((R) => R.id === h);
|
|
2488
|
+
G.gameStatus = z, G.homeTeamScore = $, G.awayTeamScore = I, G.period = V, G.periodTime = C, br(n);
|
|
2489
2489
|
}
|
|
2490
|
-
function
|
|
2491
|
-
window.open(
|
|
2490
|
+
function k({ url: f, target: h }) {
|
|
2491
|
+
window.open(f, h);
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2494
|
-
|
|
2493
|
+
function P() {
|
|
2494
|
+
s.value = !1, d();
|
|
2495
2495
|
}
|
|
2496
|
-
return (
|
|
2496
|
+
return (f, h) => (u(), L(a(de), {
|
|
2497
2497
|
locale: e.locale,
|
|
2498
2498
|
messages: o
|
|
2499
2499
|
}, {
|
|
2500
|
-
default:
|
|
2501
|
-
(u(), L(
|
|
2500
|
+
default: E(({ t: z }) => [
|
|
2501
|
+
(u(), L(pn, {
|
|
2502
2502
|
key: a(g),
|
|
2503
|
-
"initial-index":
|
|
2503
|
+
"initial-index": w.value
|
|
2504
2504
|
}, {
|
|
2505
|
-
default:
|
|
2506
|
-
!
|
|
2507
|
-
|
|
2508
|
-
])) :
|
|
2505
|
+
default: E(() => [
|
|
2506
|
+
!s.value && a(g) ? (u(), x("div", Dn, [
|
|
2507
|
+
S(a(Fe))
|
|
2508
|
+
])) : s.value && a(tt)(a(n)) ? (u(), L(In, {
|
|
2509
2509
|
key: 1,
|
|
2510
|
-
onTryAgain:
|
|
2511
|
-
})) :
|
|
2512
|
-
|
|
2513
|
-
default:
|
|
2514
|
-
|
|
2510
|
+
onTryAgain: P
|
|
2511
|
+
})) : p.value.length === 0 ? (u(), x("div", Ln, b(z("gamesTimeline.noGames")), 1)) : (u(), x(Y, { key: 3 }, [
|
|
2512
|
+
h[0] || (Te(-1, !0), (h[0] = S(Ze, null, {
|
|
2513
|
+
default: E(() => [
|
|
2514
|
+
S(_t, {
|
|
2515
2515
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2516
|
-
title:
|
|
2517
|
-
onNavigateTo:
|
|
2516
|
+
title: z("gamesTimeline.allSchedule"),
|
|
2517
|
+
onNavigateTo: k
|
|
2518
2518
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2519
2519
|
]),
|
|
2520
2520
|
_: 2
|
|
2521
|
-
}, 1024)).cacheIndex = 0,
|
|
2522
|
-
(u(!0), x(
|
|
2521
|
+
}, 1024)).cacheIndex = 0, Te(1), h[0]),
|
|
2522
|
+
(u(!0), x(Y, null, X(p.value, ($, I, V, C) => {
|
|
2523
2523
|
const G = [
|
|
2524
2524
|
$.gameDateTime,
|
|
2525
2525
|
$.gameStatus,
|
|
@@ -2528,31 +2528,31 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2528
2528
|
$.period,
|
|
2529
2529
|
$.actualTime
|
|
2530
2530
|
];
|
|
2531
|
-
if (
|
|
2532
|
-
const
|
|
2531
|
+
if (C && C.key === $.id && fr(C, G)) return C;
|
|
2532
|
+
const R = (u(), L(Ze, {
|
|
2533
2533
|
key: $.id
|
|
2534
2534
|
}, {
|
|
2535
|
-
default:
|
|
2536
|
-
|
|
2535
|
+
default: E(() => [
|
|
2536
|
+
S(Cn, {
|
|
2537
2537
|
"game-data": $,
|
|
2538
2538
|
"external-game-resolver": e.externalGameResolver,
|
|
2539
|
-
onNavigateTo:
|
|
2539
|
+
onNavigateTo: k
|
|
2540
2540
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2541
2541
|
]),
|
|
2542
2542
|
_: 2
|
|
2543
2543
|
}, 1024));
|
|
2544
|
-
return
|
|
2545
|
-
},
|
|
2546
|
-
|
|
2547
|
-
default:
|
|
2548
|
-
|
|
2544
|
+
return R.memo = G, R;
|
|
2545
|
+
}, h, 1), 128)),
|
|
2546
|
+
h[3] || (Te(-1, !0), (h[3] = S(Ze, null, {
|
|
2547
|
+
default: E(() => [
|
|
2548
|
+
S(_t, {
|
|
2549
2549
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2550
|
-
title:
|
|
2551
|
-
onNavigateTo:
|
|
2550
|
+
title: z("gamesTimeline.allSchedule"),
|
|
2551
|
+
onNavigateTo: k
|
|
2552
2552
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2553
2553
|
]),
|
|
2554
2554
|
_: 2
|
|
2555
|
-
}, 1024)).cacheIndex = 3,
|
|
2555
|
+
}, 1024)).cacheIndex = 3, Te(1), h[3])
|
|
2556
2556
|
], 64))
|
|
2557
2557
|
]),
|
|
2558
2558
|
_: 2
|
|
@@ -2561,299 +2561,12 @@ const pi = { class: "games-timeline" }, hi = ["disabled"], gi = { ref: "containe
|
|
|
2561
2561
|
_: 1
|
|
2562
2562
|
}, 8, ["locale"]));
|
|
2563
2563
|
}
|
|
2564
|
-
},
|
|
2565
|
-
function
|
|
2566
|
-
|
|
2567
|
-
}
|
|
2568
|
-
function Ki(e, t) {
|
|
2569
|
-
t.championshipList = e, t.championshipId = mt("championshipId")(e);
|
|
2570
|
-
}
|
|
2571
|
-
function Yi(e, t) {
|
|
2572
|
-
t.sections = e, t.sectionId = mt("sectionId")(e);
|
|
2564
|
+
}, An = /* @__PURE__ */ pe(Mn, [["styles", [he, Pn, En]]]);
|
|
2565
|
+
function On(e) {
|
|
2566
|
+
return e.map(Rn).map(Gn).sort(Kn);
|
|
2573
2567
|
}
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
props: {
|
|
2577
|
-
apiKey: {
|
|
2578
|
-
type: String,
|
|
2579
|
-
default: ""
|
|
2580
|
-
},
|
|
2581
|
-
locale: {
|
|
2582
|
-
type: String,
|
|
2583
|
-
default: "hu"
|
|
2584
|
-
}
|
|
2585
|
-
},
|
|
2586
|
-
setup(e) {
|
|
2587
|
-
const t = e, o = ne({
|
|
2588
|
-
seasonsList: [],
|
|
2589
|
-
seasonId: null,
|
|
2590
|
-
championshipList: [],
|
|
2591
|
-
championshipId: null,
|
|
2592
|
-
sections: [],
|
|
2593
|
-
sectionId: null
|
|
2594
|
-
}), { onError: r } = Pe(), { isLoading: n, execute: c } = H({
|
|
2595
|
-
options: {
|
|
2596
|
-
path: "/v2/all-season-list",
|
|
2597
|
-
apiKey: t.apiKey,
|
|
2598
|
-
params: {}
|
|
2599
|
-
},
|
|
2600
|
-
transform: (w) => Gi(w, o),
|
|
2601
|
-
onError: r
|
|
2602
|
-
}), { isLoading: m, execute: i } = H({
|
|
2603
|
-
options: {
|
|
2604
|
-
path: "/v2/championship-list",
|
|
2605
|
-
apiKey: t.apiKey,
|
|
2606
|
-
params: N(() => ({ seasonId: o.seasonId }))
|
|
2607
|
-
},
|
|
2608
|
-
transform: (w) => Ki(w, o),
|
|
2609
|
-
onError: r
|
|
2610
|
-
}), {
|
|
2611
|
-
isLoading: d,
|
|
2612
|
-
execute: s
|
|
2613
|
-
} = H({
|
|
2614
|
-
options: {
|
|
2615
|
-
path: "/v2/championship-sections",
|
|
2616
|
-
apiKey: t.apiKey,
|
|
2617
|
-
params: N(() => ({ championshipId: o.championshipId }))
|
|
2618
|
-
},
|
|
2619
|
-
transform: (w) => Yi(w, o),
|
|
2620
|
-
onError: r
|
|
2621
|
-
}), v = N(() => o.sections?.find((w) => w.sectionId === o.sectionId)?.phases ?? []);
|
|
2622
|
-
xe([c, i, s]);
|
|
2623
|
-
const g = N(() => [n.value, m.value, d.value].some(Boolean));
|
|
2624
|
-
function f(w) {
|
|
2625
|
-
o.seasonId = w, xe([i, s]);
|
|
2626
|
-
}
|
|
2627
|
-
function h(w) {
|
|
2628
|
-
o.championshipId = w, s();
|
|
2629
|
-
}
|
|
2630
|
-
function z(w) {
|
|
2631
|
-
o.sectionId = w;
|
|
2632
|
-
}
|
|
2633
|
-
return (w, C) => be(w.$slots, "default", Ie(Te({
|
|
2634
|
-
...o,
|
|
2635
|
-
isLoading: g.value,
|
|
2636
|
-
phaseData: v.value,
|
|
2637
|
-
onChangeSeason: f,
|
|
2638
|
-
onChangeSection: z,
|
|
2639
|
-
onChangeChampionship: h
|
|
2640
|
-
})));
|
|
2641
|
-
}
|
|
2642
|
-
}, Ui = ["value"], Bi = ["value"], Fi = {
|
|
2643
|
-
__name: "Selector",
|
|
2644
|
-
props: {
|
|
2645
|
-
seasonsList: {
|
|
2646
|
-
type: Array,
|
|
2647
|
-
default: () => []
|
|
2648
|
-
},
|
|
2649
|
-
seasonId: {
|
|
2650
|
-
type: Number,
|
|
2651
|
-
default: null
|
|
2652
|
-
},
|
|
2653
|
-
championshipList: {
|
|
2654
|
-
type: Array,
|
|
2655
|
-
default: () => []
|
|
2656
|
-
},
|
|
2657
|
-
championshipId: {
|
|
2658
|
-
type: Number,
|
|
2659
|
-
default: null
|
|
2660
|
-
}
|
|
2661
|
-
},
|
|
2662
|
-
emits: ["update:seasonId", "update:championshipId"],
|
|
2663
|
-
setup(e, { emit: t }) {
|
|
2664
|
-
const o = e, r = t, { t: n } = le(), { seasonId: c, championshipId: m } = Jt(o, r);
|
|
2665
|
-
return (i, d) => (u(), x(R, null, [
|
|
2666
|
-
k(a(te), {
|
|
2667
|
-
label: a(n)("selection.seasons"),
|
|
2668
|
-
name: "season",
|
|
2669
|
-
class: "full-width mb-md"
|
|
2670
|
-
}, {
|
|
2671
|
-
default: I(() => [
|
|
2672
|
-
k(a(Se), {
|
|
2673
|
-
id: "season",
|
|
2674
|
-
modelValue: a(c),
|
|
2675
|
-
"onUpdate:modelValue": d[0] || (d[0] = (s) => we(c) ? c.value = s : null)
|
|
2676
|
-
}, {
|
|
2677
|
-
default: I(() => [
|
|
2678
|
-
(u(!0), x(R, null, V(e.seasonsList, (s) => (u(), x("option", {
|
|
2679
|
-
key: s.id,
|
|
2680
|
-
value: s.id
|
|
2681
|
-
}, b(s.seasonName), 9, Ui))), 128))
|
|
2682
|
-
]),
|
|
2683
|
-
_: 1
|
|
2684
|
-
}, 8, ["modelValue"])
|
|
2685
|
-
]),
|
|
2686
|
-
_: 1
|
|
2687
|
-
}, 8, ["label"]),
|
|
2688
|
-
k(a(te), {
|
|
2689
|
-
label: a(n)("selection.championships"),
|
|
2690
|
-
name: "championship",
|
|
2691
|
-
class: "full-width"
|
|
2692
|
-
}, {
|
|
2693
|
-
default: I(() => [
|
|
2694
|
-
k(a(Se), {
|
|
2695
|
-
id: "championship",
|
|
2696
|
-
modelValue: a(m),
|
|
2697
|
-
"onUpdate:modelValue": d[1] || (d[1] = (s) => we(m) ? m.value = s : null)
|
|
2698
|
-
}, {
|
|
2699
|
-
default: I(() => [
|
|
2700
|
-
(u(!0), x(R, null, V(e.championshipList, (s) => (u(), x("option", {
|
|
2701
|
-
key: s.championshipId,
|
|
2702
|
-
value: s.championshipId
|
|
2703
|
-
}, b(s.championshipName), 9, Bi))), 128))
|
|
2704
|
-
]),
|
|
2705
|
-
_: 1
|
|
2706
|
-
}, 8, ["modelValue"])
|
|
2707
|
-
]),
|
|
2708
|
-
_: 1
|
|
2709
|
-
}, 8, ["label"])
|
|
2710
|
-
], 64));
|
|
2711
|
-
}
|
|
2712
|
-
}, vo = `@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%}}`, Hi = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--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: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--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)}}", Wi = "@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}}", Ji = ".main-layout[data-v-74258668]{display:grid;gap:var(--size-16)}@media (width > 60ch){.main-layout[data-v-74258668]{grid-template-columns:25ch 1fr}}", qi = { class: "main-layout" }, Qi = ["textContent"], Xi = ["textContent"], Zi = ["textContent"], el = {
|
|
2713
|
-
id: "sections",
|
|
2714
|
-
class: "tabs filled"
|
|
2715
|
-
}, tl = ["aria-label"], ol = ["aria-selected", "onClick"], rl = ["textContent"], al = {
|
|
2716
|
-
__name: "IvrIdentifiers.ce",
|
|
2717
|
-
props: {
|
|
2718
|
-
locale: {
|
|
2719
|
-
type: String,
|
|
2720
|
-
default: "hu"
|
|
2721
|
-
},
|
|
2722
|
-
apiKey: {
|
|
2723
|
-
type: String,
|
|
2724
|
-
default: ""
|
|
2725
|
-
}
|
|
2726
|
-
},
|
|
2727
|
-
setup(e) {
|
|
2728
|
-
const t = e, o = { en: me, hu: de };
|
|
2729
|
-
return (r, n) => (u(), L(a(ce), {
|
|
2730
|
-
locale: t.locale,
|
|
2731
|
-
messages: o
|
|
2732
|
-
}, {
|
|
2733
|
-
default: I(({ t: c }) => [
|
|
2734
|
-
k(a(Ne), null, {
|
|
2735
|
-
default: I(({ error: m, hasError: i }) => [
|
|
2736
|
-
i ? (u(), L(a(ke), {
|
|
2737
|
-
key: 0,
|
|
2738
|
-
error: m
|
|
2739
|
-
}, null, 8, ["error"])) : D("", !0),
|
|
2740
|
-
k(Vi, null, {
|
|
2741
|
-
default: I(({
|
|
2742
|
-
seasonsList: d,
|
|
2743
|
-
seasonId: s,
|
|
2744
|
-
championshipList: v,
|
|
2745
|
-
championshipId: g,
|
|
2746
|
-
sections: f,
|
|
2747
|
-
sectionId: h,
|
|
2748
|
-
phaseData: z,
|
|
2749
|
-
onChangeSeason: w,
|
|
2750
|
-
onChangeSection: C,
|
|
2751
|
-
onChangeChampionship: _
|
|
2752
|
-
}) => [
|
|
2753
|
-
l("div", qi, [
|
|
2754
|
-
l("div", null, [
|
|
2755
|
-
k(Fi, {
|
|
2756
|
-
"seasons-list": d,
|
|
2757
|
-
"season-id": s,
|
|
2758
|
-
"championship-list": v,
|
|
2759
|
-
"championship-id": g,
|
|
2760
|
-
"onUpdate:seasonId": w,
|
|
2761
|
-
"onUpdate:championshipId": _
|
|
2762
|
-
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2763
|
-
]),
|
|
2764
|
-
l("div", null, [
|
|
2765
|
-
k(a(te), {
|
|
2766
|
-
label: c("selection.championships"),
|
|
2767
|
-
name: "seasonId",
|
|
2768
|
-
class: "mb-md"
|
|
2769
|
-
}, {
|
|
2770
|
-
default: I(() => [
|
|
2771
|
-
l("span", {
|
|
2772
|
-
id: "seasonId",
|
|
2773
|
-
textContent: b(s)
|
|
2774
|
-
}, null, 8, Qi)
|
|
2775
|
-
]),
|
|
2776
|
-
_: 2
|
|
2777
|
-
}, 1032, ["label"]),
|
|
2778
|
-
k(a(te), {
|
|
2779
|
-
label: c("selection.championshipName"),
|
|
2780
|
-
name: "championshipName",
|
|
2781
|
-
class: "mb-md"
|
|
2782
|
-
}, {
|
|
2783
|
-
default: I(() => [
|
|
2784
|
-
l("span", {
|
|
2785
|
-
id: "championshipName",
|
|
2786
|
-
textContent: b(v.find((T) => T.championshipId === g)?.championshipName)
|
|
2787
|
-
}, null, 8, Xi)
|
|
2788
|
-
]),
|
|
2789
|
-
_: 2
|
|
2790
|
-
}, 1032, ["label"]),
|
|
2791
|
-
k(a(te), {
|
|
2792
|
-
label: c("selection.championshipId"),
|
|
2793
|
-
name: "championshipId",
|
|
2794
|
-
class: "mb-md"
|
|
2795
|
-
}, {
|
|
2796
|
-
default: I(() => [
|
|
2797
|
-
l("span", {
|
|
2798
|
-
id: "championshipId",
|
|
2799
|
-
textContent: b(g)
|
|
2800
|
-
}, null, 8, Zi)
|
|
2801
|
-
]),
|
|
2802
|
-
_: 2
|
|
2803
|
-
}, 1032, ["label"]),
|
|
2804
|
-
k(a(te), {
|
|
2805
|
-
label: c("selection.sections"),
|
|
2806
|
-
name: "sections",
|
|
2807
|
-
class: "mb-md"
|
|
2808
|
-
}, {
|
|
2809
|
-
default: I(() => [
|
|
2810
|
-
l("nav", el, [
|
|
2811
|
-
l("div", {
|
|
2812
|
-
role: "tablist",
|
|
2813
|
-
"aria-label": c("selection.sections")
|
|
2814
|
-
}, [
|
|
2815
|
-
(u(!0), x(R, null, V(f, (T) => (u(), x("button", {
|
|
2816
|
-
key: T.phaseId,
|
|
2817
|
-
role: "tab",
|
|
2818
|
-
"aria-selected": T.sectionId === h,
|
|
2819
|
-
onClick: (y) => C(T.sectionId)
|
|
2820
|
-
}, b(T.sectionName), 9, ol))), 128))
|
|
2821
|
-
], 8, tl)
|
|
2822
|
-
])
|
|
2823
|
-
]),
|
|
2824
|
-
_: 2
|
|
2825
|
-
}, 1032, ["label"]),
|
|
2826
|
-
k(a(te), {
|
|
2827
|
-
label: c("selection.phasesDivision"),
|
|
2828
|
-
name: "phases",
|
|
2829
|
-
class: "mb-md"
|
|
2830
|
-
}, {
|
|
2831
|
-
default: I(() => [
|
|
2832
|
-
l("pre", {
|
|
2833
|
-
id: "phases",
|
|
2834
|
-
textContent: b(z)
|
|
2835
|
-
}, null, 8, rl)
|
|
2836
|
-
]),
|
|
2837
|
-
_: 2
|
|
2838
|
-
}, 1032, ["label"])
|
|
2839
|
-
])
|
|
2840
|
-
])
|
|
2841
|
-
]),
|
|
2842
|
-
_: 2
|
|
2843
|
-
}, 1024)
|
|
2844
|
-
]),
|
|
2845
|
-
_: 2
|
|
2846
|
-
}, 1024)
|
|
2847
|
-
]),
|
|
2848
|
-
_: 1
|
|
2849
|
-
}, 8, ["locale"]));
|
|
2850
|
-
}
|
|
2851
|
-
}, nl = /* @__PURE__ */ ue(al, [["styles", [ve, vo, Hi, Wi, Ji]], ["__scopeId", "data-v-74258668"]]);
|
|
2852
|
-
function il(e) {
|
|
2853
|
-
return e.map(ll).map(sl).sort(dl);
|
|
2854
|
-
}
|
|
2855
|
-
function ll(e) {
|
|
2856
|
-
const t = Object.keys(e).filter((n) => n.startsWith("recruitment") && n !== "recruitmentName" && n !== "recruitmentTeamName" && n !== "recruitmentCity"), o = Uo(t, e), r = cl(o);
|
|
2568
|
+
function Rn(e) {
|
|
2569
|
+
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o = Gr(t, e), r = jn(o);
|
|
2857
2570
|
return {
|
|
2858
2571
|
...Gt(t, e),
|
|
2859
2572
|
recruitment: {
|
|
@@ -2861,29 +2574,29 @@ function ll(e) {
|
|
|
2861
2574
|
}
|
|
2862
2575
|
};
|
|
2863
2576
|
}
|
|
2864
|
-
function
|
|
2577
|
+
function Gn(e) {
|
|
2865
2578
|
return {
|
|
2866
2579
|
...e,
|
|
2867
2580
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
2868
2581
|
};
|
|
2869
2582
|
}
|
|
2870
|
-
function
|
|
2871
|
-
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 =
|
|
2583
|
+
function jn(e) {
|
|
2584
|
+
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 = Yn(e.recruitmentContactUrl || ""), e;
|
|
2872
2585
|
}
|
|
2873
|
-
function
|
|
2586
|
+
function Yn(e) {
|
|
2874
2587
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
2875
2588
|
}
|
|
2876
|
-
function
|
|
2589
|
+
function Kn(e, t) {
|
|
2877
2590
|
const o = e.organizationName.toUpperCase(), r = t.organizationName.toUpperCase();
|
|
2878
2591
|
return o < r ? -1 : o > r ? 1 : 0;
|
|
2879
2592
|
}
|
|
2880
|
-
const
|
|
2593
|
+
const Bn = `@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%}}`, Fn = "@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)}}", Un = "@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}}", Vn = "@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}}}", Hn = "@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}}", Wn = ["placeholder"], Jn = {
|
|
2881
2594
|
key: 2,
|
|
2882
2595
|
class: "text-muted text-center font-bold"
|
|
2883
|
-
},
|
|
2596
|
+
}, qn = ["id", "aria-controls"], Qn = { key: 0 }, Xn = ["id", "aria-labelledby"], Zn = { class: "definition-list dotted mb-md" }, el = { class: "term" }, tl = ["innerHTML"], rl = { class: "grid-container text-muted" }, ol = {
|
|
2884
2597
|
key: 0,
|
|
2885
2598
|
class: "text-end"
|
|
2886
|
-
},
|
|
2599
|
+
}, al = {
|
|
2887
2600
|
__name: "RecruitmentInfo.ce",
|
|
2888
2601
|
props: {
|
|
2889
2602
|
locale: {
|
|
@@ -2900,80 +2613,80 @@ const vl = "@layer components.variables{:where(:host){--mvw-card-color: light-da
|
|
|
2900
2613
|
}
|
|
2901
2614
|
},
|
|
2902
2615
|
setup(e) {
|
|
2903
|
-
const t = e, o = { en:
|
|
2904
|
-
state:
|
|
2616
|
+
const t = e, o = { en: ve, hu: ue }, { onError: r, error: i, hasError: s, reset: c } = qr(), {
|
|
2617
|
+
state: n,
|
|
2905
2618
|
isLoading: d,
|
|
2906
|
-
execute:
|
|
2907
|
-
} =
|
|
2619
|
+
execute: v
|
|
2620
|
+
} = ee({
|
|
2908
2621
|
options: {
|
|
2909
2622
|
path: "/v2/recruitment-info",
|
|
2910
2623
|
apiKey: t.apiKey,
|
|
2911
2624
|
params: {},
|
|
2912
2625
|
immediate: !0
|
|
2913
2626
|
},
|
|
2914
|
-
transform:
|
|
2627
|
+
transform: On,
|
|
2915
2628
|
onError: r
|
|
2916
|
-
}),
|
|
2917
|
-
() =>
|
|
2918
|
-
),
|
|
2919
|
-
|
|
2629
|
+
}), m = j(""), { page: g, change: w } = Bt(), p = N(
|
|
2630
|
+
() => Se(n.value).filter(m.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(g.value, t.limit).value()
|
|
2631
|
+
), _ = N(() => [(g.value - 1) * t.limit + 1, Math.min(g.value * t.limit, p.value.totalItems)]);
|
|
2632
|
+
J(m, () => {
|
|
2920
2633
|
g.value !== 1 && (g.value = 1);
|
|
2921
2634
|
});
|
|
2922
|
-
function
|
|
2923
|
-
|
|
2635
|
+
function y() {
|
|
2636
|
+
c(), v();
|
|
2924
2637
|
}
|
|
2925
|
-
return (
|
|
2638
|
+
return (T, k) => (u(), L(a(de), {
|
|
2926
2639
|
locale: e.locale,
|
|
2927
2640
|
messages: o
|
|
2928
2641
|
}, {
|
|
2929
|
-
default:
|
|
2930
|
-
|
|
2931
|
-
label:
|
|
2642
|
+
default: E(({ t: P }) => [
|
|
2643
|
+
S(a(Ee), {
|
|
2644
|
+
label: P("selection.filter"),
|
|
2932
2645
|
name: "filter",
|
|
2933
2646
|
class: "full-width mb-md",
|
|
2934
2647
|
style: { "max-width": "220px" }
|
|
2935
2648
|
}, {
|
|
2936
|
-
default:
|
|
2937
|
-
|
|
2649
|
+
default: E(() => [
|
|
2650
|
+
yr(l("input", {
|
|
2938
2651
|
id: "filter",
|
|
2939
|
-
"onUpdate:modelValue":
|
|
2940
|
-
placeholder:
|
|
2652
|
+
"onUpdate:modelValue": k[0] || (k[0] = (f) => m.value = f),
|
|
2653
|
+
placeholder: P("recruitmentInfo.filterByNameAndLocation"),
|
|
2941
2654
|
type: "text",
|
|
2942
2655
|
autocomplete: "off"
|
|
2943
|
-
}, null, 8,
|
|
2944
|
-
[
|
|
2656
|
+
}, null, 8, Wn), [
|
|
2657
|
+
[xr, m.value]
|
|
2945
2658
|
])
|
|
2946
2659
|
]),
|
|
2947
2660
|
_: 2
|
|
2948
2661
|
}, 1032, ["label"]),
|
|
2949
|
-
a(
|
|
2662
|
+
a(s) ? (u(), L(a(ze), {
|
|
2950
2663
|
key: 0,
|
|
2951
|
-
error: a(
|
|
2664
|
+
error: a(i),
|
|
2952
2665
|
"use-retry": "",
|
|
2953
|
-
onRetry:
|
|
2666
|
+
onRetry: y
|
|
2954
2667
|
}, null, 8, ["error"])) : D("", !0),
|
|
2955
2668
|
a(d) ? (u(), L(a(Fe), { key: 1 })) : D("", !0),
|
|
2956
|
-
a(
|
|
2957
|
-
(u(!0), x(
|
|
2958
|
-
key:
|
|
2669
|
+
a(n).length > 0 && p.value.rows.length === 0 ? (u(), x("div", Jn, b(P("recruitmentInfo.noResult")), 1)) : D("", !0),
|
|
2670
|
+
(u(!0), x(Y, null, X(p.value.rows, (f, h) => (u(), x("details", {
|
|
2671
|
+
key: f.organizationName,
|
|
2959
2672
|
class: "tonal elevated mb-md"
|
|
2960
2673
|
}, [
|
|
2961
2674
|
l("summary", {
|
|
2962
|
-
id: `summary-${
|
|
2963
|
-
"aria-controls": `content-${
|
|
2675
|
+
id: `summary-${h}`,
|
|
2676
|
+
"aria-controls": `content-${h}`
|
|
2964
2677
|
}, [
|
|
2965
|
-
|
|
2966
|
-
src: `https://ivr-api.icehockey.hu${
|
|
2678
|
+
S(a(ae), {
|
|
2679
|
+
src: `https://ivr-api.icehockey.hu${f.organizationLogo}`,
|
|
2967
2680
|
"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",
|
|
2968
2681
|
width: 30,
|
|
2969
2682
|
height: 30,
|
|
2970
2683
|
style: { "object-fit": "contain" }
|
|
2971
2684
|
}, null, 8, ["src"]),
|
|
2972
2685
|
l("strong", null, [
|
|
2973
|
-
|
|
2974
|
-
|
|
2686
|
+
W(b(f.organizationName) + " ", 1),
|
|
2687
|
+
f.recruitmentTeamName ? (u(), x("span", Qn, "(" + b(f.recruitmentTeamName) + ")", 1)) : D("", !0)
|
|
2975
2688
|
]),
|
|
2976
|
-
|
|
2689
|
+
k[1] || (k[1] = l("svg", {
|
|
2977
2690
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2978
2691
|
width: "16",
|
|
2979
2692
|
height: "16",
|
|
@@ -2984,49 +2697,49 @@ const vl = "@layer components.variables{:where(:host){--mvw-card-color: light-da
|
|
|
2984
2697
|
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"
|
|
2985
2698
|
})
|
|
2986
2699
|
], -1))
|
|
2987
|
-
], 8,
|
|
2700
|
+
], 8, qn),
|
|
2988
2701
|
l("div", {
|
|
2989
|
-
id: `content-${
|
|
2702
|
+
id: `content-${h}`,
|
|
2990
2703
|
class: "content",
|
|
2991
2704
|
role: "region",
|
|
2992
|
-
"aria-labelledby": `summary-${
|
|
2705
|
+
"aria-labelledby": `summary-${h}`
|
|
2993
2706
|
}, [
|
|
2994
|
-
l("ul",
|
|
2995
|
-
(u(!0), x(
|
|
2996
|
-
l("span",
|
|
2997
|
-
|
|
2707
|
+
l("ul", Zn, [
|
|
2708
|
+
(u(!0), x(Y, null, X(f.recruitment, (z, $) => (u(), x("li", { key: $ }, [
|
|
2709
|
+
l("span", el, b(P(`recruitmentInfo.${$}`)), 1),
|
|
2710
|
+
k[2] || (k[2] = l("hr", null, null, -1)),
|
|
2998
2711
|
l("span", {
|
|
2999
2712
|
class: "description",
|
|
3000
|
-
innerHTML:
|
|
3001
|
-
}, null, 8,
|
|
2713
|
+
innerHTML: z
|
|
2714
|
+
}, null, 8, tl)
|
|
3002
2715
|
]))), 128))
|
|
3003
2716
|
])
|
|
3004
|
-
], 8,
|
|
2717
|
+
], 8, Xn)
|
|
3005
2718
|
]))), 128)),
|
|
3006
|
-
l("div",
|
|
3007
|
-
|
|
2719
|
+
l("div", rl, [
|
|
2720
|
+
S(a(Pt), {
|
|
3008
2721
|
page: a(g),
|
|
3009
2722
|
"items-per-page": t.limit,
|
|
3010
|
-
"total-items":
|
|
2723
|
+
"total-items": p.value.totalItems,
|
|
3011
2724
|
"range-length": 5,
|
|
3012
|
-
onChange: a(
|
|
2725
|
+
onChange: a(w)
|
|
3013
2726
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
3014
|
-
|
|
2727
|
+
p.value.totalItems > 0 ? (u(), x("div", ol, b(P("table.info", { min: _.value[0], max: _.value[1], total: p.value.totalItems })), 1)) : D("", !0)
|
|
3015
2728
|
])
|
|
3016
2729
|
]),
|
|
3017
2730
|
_: 1
|
|
3018
2731
|
}, 8, ["locale"]));
|
|
3019
2732
|
}
|
|
3020
|
-
},
|
|
3021
|
-
function
|
|
2733
|
+
}, il = /* @__PURE__ */ pe(al, [["styles", [he, Bn, Fn, Un, Vn, Hn]]]);
|
|
2734
|
+
function nl(e, t) {
|
|
3022
2735
|
if (e.length === 0)
|
|
3023
|
-
throw new
|
|
3024
|
-
t.seasons =
|
|
2736
|
+
throw new At(Le.message, Le.options);
|
|
2737
|
+
t.seasons = Ot(e), t.championshipId || (t.championshipId = Z(t.seasons).championshipId);
|
|
3025
2738
|
}
|
|
3026
|
-
function
|
|
3027
|
-
t.sections =
|
|
2739
|
+
function ll(e, t) {
|
|
2740
|
+
t.sections = Lt(e), t.sectionId = jr(t.sections), t.phaseId = jt([0, "phases", 0], e)?.phaseId ?? null;
|
|
3028
2741
|
}
|
|
3029
|
-
const
|
|
2742
|
+
const sl = {
|
|
3030
2743
|
gameName: {
|
|
3031
2744
|
label: "table.gameName.short",
|
|
3032
2745
|
tooltip: "table.gameName.tooltip",
|
|
@@ -3063,13 +2776,13 @@ const Nl = {
|
|
|
3063
2776
|
class: "text-start"
|
|
3064
2777
|
}
|
|
3065
2778
|
};
|
|
3066
|
-
function
|
|
2779
|
+
function cl(e) {
|
|
3067
2780
|
return (t) => t.map((o) => ({
|
|
3068
2781
|
...o,
|
|
3069
2782
|
...o.registration && { registration: `${o.registration}/cid/${e}` }
|
|
3070
2783
|
}));
|
|
3071
2784
|
}
|
|
3072
|
-
const
|
|
2785
|
+
const ml = {
|
|
3073
2786
|
__name: "DataProvider",
|
|
3074
2787
|
props: {
|
|
3075
2788
|
championshipName: {
|
|
@@ -3098,57 +2811,57 @@ const Pl = {
|
|
|
3098
2811
|
}
|
|
3099
2812
|
},
|
|
3100
2813
|
setup(e) {
|
|
3101
|
-
const t = e, o =
|
|
2814
|
+
const t = e, o = ie({
|
|
3102
2815
|
seasons: [],
|
|
3103
2816
|
championshipId: null,
|
|
3104
2817
|
sections: [],
|
|
3105
2818
|
sectionId: null,
|
|
3106
2819
|
phaseId: null
|
|
3107
|
-
}), { onError: r } =
|
|
2820
|
+
}), { onError: r } = We(), { isLoading: i, execute: s } = ee({
|
|
3108
2821
|
options: {
|
|
3109
2822
|
path: "/v2/championship-seasons",
|
|
3110
2823
|
apiKey: t.apiKey,
|
|
3111
2824
|
params: { championshipName: t.championshipName }
|
|
3112
2825
|
},
|
|
3113
|
-
transform: (
|
|
2826
|
+
transform: (y) => nl(y, o),
|
|
3114
2827
|
onError: r
|
|
3115
|
-
}), { isLoading:
|
|
2828
|
+
}), { isLoading: c, execute: n } = ee({
|
|
3116
2829
|
options: {
|
|
3117
2830
|
path: "/v2/championship-sections",
|
|
3118
2831
|
apiKey: t.apiKey,
|
|
3119
2832
|
params: N(() => ({ championshipId: o.championshipId }))
|
|
3120
2833
|
},
|
|
3121
|
-
transform: (
|
|
2834
|
+
transform: (y) => ll(y, o),
|
|
3122
2835
|
onError: r
|
|
3123
2836
|
}), {
|
|
3124
2837
|
isLoading: d,
|
|
3125
|
-
state:
|
|
3126
|
-
execute:
|
|
3127
|
-
} =
|
|
2838
|
+
state: v,
|
|
2839
|
+
execute: m
|
|
2840
|
+
} = ee({
|
|
3128
2841
|
options: {
|
|
3129
2842
|
path: "/v2/games-list",
|
|
3130
2843
|
apiKey: t.apiKey,
|
|
3131
2844
|
params: N(() => ({ championshipId: o.championshipId, phaseId: o.phaseId }))
|
|
3132
2845
|
},
|
|
3133
|
-
transform: (
|
|
2846
|
+
transform: (y) => Yr(Rt, cl(o.championshipId))(y),
|
|
3134
2847
|
onError: r
|
|
3135
|
-
}), g = N(() =>
|
|
3136
|
-
|
|
3137
|
-
const
|
|
3138
|
-
function
|
|
3139
|
-
o.championshipId =
|
|
2848
|
+
}), g = N(() => Se(v.value).schedule(t.timezone, t.locale).value());
|
|
2849
|
+
Ge([s, n, m]);
|
|
2850
|
+
const w = N(() => [c.value, i.value, d.value].some(Boolean));
|
|
2851
|
+
function p(y) {
|
|
2852
|
+
o.championshipId = y, Ge([n, m]);
|
|
3140
2853
|
}
|
|
3141
|
-
function
|
|
3142
|
-
o.sectionId =
|
|
2854
|
+
function _(y) {
|
|
2855
|
+
o.sectionId = y.sectionId, o.phaseId = jt(["phases", 0, "phaseId"], y), m();
|
|
3143
2856
|
}
|
|
3144
|
-
return (
|
|
2857
|
+
return (y, T) => be(y.$slots, "default", Ye(Ke({
|
|
3145
2858
|
rows: g.value,
|
|
3146
|
-
isLoading:
|
|
2859
|
+
isLoading: w.value,
|
|
3147
2860
|
values: a(Gt)(["phaseId"], o),
|
|
3148
|
-
listeners: { onChangeSection:
|
|
2861
|
+
listeners: { onChangeSection: _, onChangeSeason: p }
|
|
3149
2862
|
})));
|
|
3150
2863
|
}
|
|
3151
|
-
},
|
|
2864
|
+
}, dl = ["href"], vl = ["href"], ul = {
|
|
3152
2865
|
__name: "ScheduleCupDataTable",
|
|
3153
2866
|
props: {
|
|
3154
2867
|
columns: {
|
|
@@ -3169,41 +2882,41 @@ const Pl = {
|
|
|
3169
2882
|
}
|
|
3170
2883
|
},
|
|
3171
2884
|
setup(e) {
|
|
3172
|
-
const t = e, o =
|
|
2885
|
+
const t = e, o = j(null), { columns: r } = Qr(
|
|
3173
2886
|
t.columns,
|
|
3174
2887
|
null,
|
|
3175
2888
|
N(() => ({
|
|
3176
2889
|
offsetName: t.offsetName
|
|
3177
2890
|
}))
|
|
3178
|
-
), { t:
|
|
3179
|
-
return (
|
|
2891
|
+
), { t: i } = ne();
|
|
2892
|
+
return (s, c) => (u(), x("div", {
|
|
3180
2893
|
ref_key: "tooltipContainer",
|
|
3181
2894
|
ref: o
|
|
3182
2895
|
}, [
|
|
3183
|
-
|
|
3184
|
-
default:
|
|
3185
|
-
|
|
2896
|
+
S(a(Et), null, {
|
|
2897
|
+
default: E(() => [
|
|
2898
|
+
S(a(Sr), {
|
|
3186
2899
|
columns: a(r),
|
|
3187
2900
|
rows: e.rows,
|
|
3188
2901
|
"is-loading": e.isLoading,
|
|
3189
2902
|
"append-to": o.value
|
|
3190
2903
|
}, {
|
|
3191
|
-
"cell-homeTeamName":
|
|
3192
|
-
|
|
2904
|
+
"cell-homeTeamName": E(({ row: n }) => [
|
|
2905
|
+
W(b(n.homeTeam?.longName ?? ""), 1)
|
|
3193
2906
|
]),
|
|
3194
|
-
"cell-location":
|
|
3195
|
-
|
|
2907
|
+
"cell-location": E(({ row: n }) => [
|
|
2908
|
+
W(b(n.location?.locationName ?? ""), 1)
|
|
3196
2909
|
]),
|
|
3197
|
-
"cell-document":
|
|
3198
|
-
|
|
2910
|
+
"cell-document": E(({ row: n }) => [
|
|
2911
|
+
n.schedule ? (u(), x("a", {
|
|
3199
2912
|
key: 0,
|
|
3200
|
-
href:
|
|
2913
|
+
href: n.schedule,
|
|
3201
2914
|
target: "_blank"
|
|
3202
|
-
}, b(a(
|
|
2915
|
+
}, b(a(i)("schedule")), 9, dl)) : n.registration ? (u(), x("a", {
|
|
3203
2916
|
key: 1,
|
|
3204
|
-
href:
|
|
2917
|
+
href: n.registration,
|
|
3205
2918
|
target: "_blank"
|
|
3206
|
-
}, b(a(
|
|
2919
|
+
}, b(a(i)("registration")), 9, vl)) : D("", !0)
|
|
3207
2920
|
]),
|
|
3208
2921
|
_: 1
|
|
3209
2922
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3212,7 +2925,7 @@ const Pl = {
|
|
|
3212
2925
|
})
|
|
3213
2926
|
], 512));
|
|
3214
2927
|
}
|
|
3215
|
-
},
|
|
2928
|
+
}, hl = "@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}}", pl = {
|
|
3216
2929
|
__name: "ScheduleCup.ce",
|
|
3217
2930
|
props: {
|
|
3218
2931
|
locale: {
|
|
@@ -3233,30 +2946,30 @@ const Pl = {
|
|
|
3233
2946
|
// },
|
|
3234
2947
|
},
|
|
3235
2948
|
setup(e) {
|
|
3236
|
-
const t = e, o = { en:
|
|
3237
|
-
return (
|
|
2949
|
+
const t = e, o = { en: ve, hu: ue }, r = j(Ve()), i = N(() => Ue(/* @__PURE__ */ new Date(), r.value, t.locale));
|
|
2950
|
+
return (s, c) => (u(), L(a(de), {
|
|
3238
2951
|
locale: t.locale,
|
|
3239
2952
|
messages: o
|
|
3240
2953
|
}, {
|
|
3241
|
-
default:
|
|
3242
|
-
|
|
3243
|
-
default:
|
|
3244
|
-
d ? (u(), L(a(
|
|
2954
|
+
default: E(() => [
|
|
2955
|
+
S(a(Be), null, {
|
|
2956
|
+
default: E(({ error: n, hasError: d }) => [
|
|
2957
|
+
d ? (u(), L(a(ze), {
|
|
3245
2958
|
key: 0,
|
|
3246
|
-
error:
|
|
2959
|
+
error: n
|
|
3247
2960
|
}, null, 8, ["error"])) : D("", !0),
|
|
3248
|
-
|
|
2961
|
+
S(ml, {
|
|
3249
2962
|
"championship-name": e.championshipName,
|
|
3250
2963
|
locale: e.locale,
|
|
3251
2964
|
timezone: r.value
|
|
3252
2965
|
}, {
|
|
3253
|
-
default:
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
columns: a(
|
|
3257
|
-
rows:
|
|
3258
|
-
"is-loading":
|
|
3259
|
-
"offset-name":
|
|
2966
|
+
default: E(({ rows: v, isLoading: m, values: g, listeners: w }) => [
|
|
2967
|
+
S(tr, Nt(g, kr(w)), null, 16),
|
|
2968
|
+
S(ul, {
|
|
2969
|
+
columns: a(sl),
|
|
2970
|
+
rows: v.rows,
|
|
2971
|
+
"is-loading": m,
|
|
2972
|
+
"offset-name": i.value
|
|
3260
2973
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3261
2974
|
]),
|
|
3262
2975
|
_: 1
|
|
@@ -3268,7 +2981,7 @@ const Pl = {
|
|
|
3268
2981
|
_: 1
|
|
3269
2982
|
}, 8, ["locale"]));
|
|
3270
2983
|
}
|
|
3271
|
-
},
|
|
2984
|
+
}, gl = /* @__PURE__ */ pe(pl, [["styles", [he, rr, or, ar, ir, nr, lr, hl]]]), wl = ["data-state", "onClick"], bl = { class: "list" }, fl = ["aria-selected", "onClick"], yl = { class: "text" }, xl = /* @__PURE__ */ Object.assign({
|
|
3272
2985
|
inheritAttrs: !1
|
|
3273
2986
|
}, {
|
|
3274
2987
|
__name: "ChampionshipSelector",
|
|
@@ -3289,37 +3002,37 @@ const Pl = {
|
|
|
3289
3002
|
emits: ["change"],
|
|
3290
3003
|
setup(e, { emit: t }) {
|
|
3291
3004
|
const o = t;
|
|
3292
|
-
return (r,
|
|
3005
|
+
return (r, i) => (u(), L(a($r), {
|
|
3293
3006
|
offset: 2,
|
|
3294
3007
|
placement: "bottom-end",
|
|
3295
3008
|
theme: "content",
|
|
3296
3009
|
"append-to": e.target,
|
|
3297
3010
|
"is-arrow-visible": !1
|
|
3298
3011
|
}, {
|
|
3299
|
-
default:
|
|
3012
|
+
default: E(({ setRef: s, open: c, toggle: n }) => [
|
|
3300
3013
|
l("button", {
|
|
3301
|
-
ref:
|
|
3014
|
+
ref: s,
|
|
3302
3015
|
type: "button",
|
|
3303
|
-
"data-state":
|
|
3016
|
+
"data-state": c ? "open" : "closed",
|
|
3304
3017
|
class: "icon-button",
|
|
3305
|
-
onClick:
|
|
3018
|
+
onClick: n
|
|
3306
3019
|
}, [
|
|
3307
|
-
|
|
3308
|
-
], 8,
|
|
3020
|
+
S(a(ha), { style: { display: "block", height: "20px" } })
|
|
3021
|
+
], 8, wl)
|
|
3309
3022
|
]),
|
|
3310
|
-
content:
|
|
3311
|
-
l("ul",
|
|
3312
|
-
(u(!0), x(
|
|
3313
|
-
key:
|
|
3023
|
+
content: E(({ close: s }) => [
|
|
3024
|
+
l("ul", bl, [
|
|
3025
|
+
(u(!0), x(Y, null, X(e.data, (c) => (u(), x("li", {
|
|
3026
|
+
key: c.championshipId
|
|
3314
3027
|
}, [
|
|
3315
3028
|
l("button", {
|
|
3316
|
-
class:
|
|
3317
|
-
"aria-selected": e.selected ===
|
|
3029
|
+
class: oe({ "is-selected": e.selected === c.phaseId }),
|
|
3030
|
+
"aria-selected": e.selected === c.phaseId,
|
|
3318
3031
|
type: "button",
|
|
3319
|
-
onClick: (
|
|
3032
|
+
onClick: (n) => o("change", { item: c, close: s(n) })
|
|
3320
3033
|
}, [
|
|
3321
|
-
l("div",
|
|
3322
|
-
], 10,
|
|
3034
|
+
l("div", yl, b(c.name) + " - " + b(c.phase), 1)
|
|
3035
|
+
], 10, fl)
|
|
3323
3036
|
]))), 128))
|
|
3324
3037
|
])
|
|
3325
3038
|
]),
|
|
@@ -3327,10 +3040,10 @@ const Pl = {
|
|
|
3327
3040
|
}, 8, ["append-to"]));
|
|
3328
3041
|
}
|
|
3329
3042
|
});
|
|
3330
|
-
function
|
|
3331
|
-
return e.map((t) => ({ ...t, w:
|
|
3043
|
+
function kl(e) {
|
|
3044
|
+
return e.map((t) => ({ ...t, w: vt([t.w, t.otw, t.sow]), l: vt([t.l, t.otl, t.sol]) }));
|
|
3332
3045
|
}
|
|
3333
|
-
const
|
|
3046
|
+
const _l = {
|
|
3334
3047
|
__name: "DataProvider",
|
|
3335
3048
|
props: {
|
|
3336
3049
|
apiKey: {
|
|
@@ -3343,35 +3056,35 @@ const Bl = {
|
|
|
3343
3056
|
}
|
|
3344
3057
|
},
|
|
3345
3058
|
setup(e) {
|
|
3346
|
-
const t = e, { onError: o, reset: r } =
|
|
3347
|
-
championshipId:
|
|
3348
|
-
phaseId:
|
|
3349
|
-
path:
|
|
3350
|
-
championshipName:
|
|
3351
|
-
phaseName:
|
|
3352
|
-
isPlayoffs:
|
|
3353
|
-
}), { state:
|
|
3059
|
+
const t = e, { onError: o, reset: r } = We(), i = ie({
|
|
3060
|
+
championshipId: Z(t.data).championshipId,
|
|
3061
|
+
phaseId: Z(t.data).phaseId,
|
|
3062
|
+
path: Z(t.data)?.path ?? "",
|
|
3063
|
+
championshipName: Z(t.data).name,
|
|
3064
|
+
phaseName: Z(t.data)?.phase ?? null,
|
|
3065
|
+
isPlayoffs: Z(t.data)?.isPlayoffs ?? !1
|
|
3066
|
+
}), { state: s, isLoading: c, execute: n } = ee({
|
|
3354
3067
|
options: {
|
|
3355
|
-
path: N(() =>
|
|
3068
|
+
path: N(() => i.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3356
3069
|
apiKey: t.apiKey,
|
|
3357
|
-
params: N(() => ({ championshipId:
|
|
3070
|
+
params: N(() => ({ championshipId: i.championshipId, ...!i.isPlayoffs && { phaseId: i.phaseId } })),
|
|
3358
3071
|
resetOnExecute: !0,
|
|
3359
3072
|
immediate: !0
|
|
3360
3073
|
},
|
|
3361
|
-
transform: (g) =>
|
|
3074
|
+
transform: (g) => kl(g),
|
|
3362
3075
|
onError: o
|
|
3363
|
-
}), d = N(() =>
|
|
3364
|
-
tag:
|
|
3076
|
+
}), d = N(() => Se(s.value).addContinuousIndex().value()), v = N(() => ({
|
|
3077
|
+
tag: i.path ? "a" : "span",
|
|
3365
3078
|
props: {
|
|
3366
|
-
...
|
|
3079
|
+
...i.path && { href: i.path }
|
|
3367
3080
|
}
|
|
3368
3081
|
}));
|
|
3369
|
-
function
|
|
3370
|
-
|
|
3082
|
+
function m({ item: { championshipId: g, phaseId: w, name: p, path: _, phase: y, isPlayoffs: T }, close: k }) {
|
|
3083
|
+
i.championshipId = g, i.path = _ || "", i.phaseId = w, i.championshipName = p, i.phaseName = y, i.isPlayoffs = T || !1, r(), n(), k?.();
|
|
3371
3084
|
}
|
|
3372
|
-
return (g,
|
|
3085
|
+
return (g, w) => be(g.$slots, "default", Ye(Ke({ convertedRows: d.value, isLoading: a(c), ...i, componentProps: v.value, onChange: m })));
|
|
3373
3086
|
}
|
|
3374
|
-
},
|
|
3087
|
+
}, zl = { class: "playoffs" }, Sl = { class: "section-title" }, $l = { class: "responsive-team-name font-bold text-highlighted" }, Tl = { class: "team-name-short" }, Cl = { class: "team-name-long" }, Nl = { class: "badge lg inverted" }, Il = { class: "responsive-team-name font-bold text-highlighted" }, Pl = { class: "team-name-short" }, El = { class: "team-name-long" }, Dl = {
|
|
3375
3088
|
__name: "PlayoffsList",
|
|
3376
3089
|
props: {
|
|
3377
3090
|
playoffs: {
|
|
@@ -3384,40 +3097,40 @@ const Bl = {
|
|
|
3384
3097
|
}
|
|
3385
3098
|
},
|
|
3386
3099
|
setup(e) {
|
|
3387
|
-
const { t } =
|
|
3388
|
-
return (o, r) => (u(), L(a(
|
|
3389
|
-
default:
|
|
3390
|
-
l("div",
|
|
3100
|
+
const { t } = ne();
|
|
3101
|
+
return (o, r) => (u(), L(a(Et), null, {
|
|
3102
|
+
default: E(() => [
|
|
3103
|
+
l("div", zl, [
|
|
3391
3104
|
e.isLoading ? (u(), L(a(Fe), { key: 0 })) : D("", !0),
|
|
3392
|
-
(u(!0), x(
|
|
3393
|
-
key: `${
|
|
3105
|
+
(u(!0), x(Y, null, X(e.playoffs, (i) => (u(), x("div", {
|
|
3106
|
+
key: `${i.divisionStage2Name}-${i.divisionStageNumber}`,
|
|
3394
3107
|
class: "section"
|
|
3395
3108
|
}, [
|
|
3396
|
-
l("div",
|
|
3109
|
+
l("div", Sl, b(a(t)(`playoffs.${i.divisionStage2Name}${i.divisionStageNumber || ""}`)), 1),
|
|
3397
3110
|
l("ul", null, [
|
|
3398
|
-
l("li",
|
|
3111
|
+
l("li", $l, [
|
|
3399
3112
|
l("div", null, [
|
|
3400
|
-
l("span",
|
|
3401
|
-
l("span",
|
|
3113
|
+
l("span", Tl, b(i.homeTeam.shortName), 1),
|
|
3114
|
+
l("span", Cl, b(i.homeTeam.longName), 1)
|
|
3402
3115
|
])
|
|
3403
3116
|
]),
|
|
3404
3117
|
l("li", null, [
|
|
3405
|
-
|
|
3406
|
-
src:
|
|
3118
|
+
S(a(ae), {
|
|
3119
|
+
src: i.homeTeam.logo
|
|
3407
3120
|
}, null, 8, ["src"])
|
|
3408
3121
|
]),
|
|
3409
3122
|
l("li", null, [
|
|
3410
|
-
l("span",
|
|
3123
|
+
l("span", Nl, b(i.seriesStandings), 1)
|
|
3411
3124
|
]),
|
|
3412
3125
|
l("li", null, [
|
|
3413
|
-
|
|
3414
|
-
src:
|
|
3126
|
+
S(a(ae), {
|
|
3127
|
+
src: i.awayTeam.logo
|
|
3415
3128
|
}, null, 8, ["src"])
|
|
3416
3129
|
]),
|
|
3417
|
-
l("li",
|
|
3130
|
+
l("li", Il, [
|
|
3418
3131
|
l("div", null, [
|
|
3419
|
-
l("span",
|
|
3420
|
-
l("span",
|
|
3132
|
+
l("span", Pl, b(i.awayTeam.shortName), 1),
|
|
3133
|
+
l("span", El, b(i.awayTeam.longName), 1)
|
|
3421
3134
|
])
|
|
3422
3135
|
])
|
|
3423
3136
|
])
|
|
@@ -3427,7 +3140,7 @@ const Bl = {
|
|
|
3427
3140
|
_: 1
|
|
3428
3141
|
}));
|
|
3429
3142
|
}
|
|
3430
|
-
}, os = "@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{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}}", rs = "@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%}}", as = '@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{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 .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)}}', ns = "@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)}}", is = "@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)}}", ls = "@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)}}", ss = "@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)}}", cs = "@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}}", ms = { class: "standings-selector" }, ds = { class: "standings-selector-title" }, vs = {
|
|
3143
|
+
}, Ll = "@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{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}}", Ml = "@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%}}", Al = '@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 .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)}}', Ol = "@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)}}", Rl = "@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)}}", Gl = "@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)}}", jl = "@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)}}", Yl = "@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}}", Kl = { class: "standings-selector" }, Bl = { class: "standings-selector-title" }, Fl = {
|
|
3431
3144
|
__name: "StandingsSelector.ce",
|
|
3432
3145
|
props: {
|
|
3433
3146
|
locale: {
|
|
@@ -3444,53 +3157,53 @@ const Bl = {
|
|
|
3444
3157
|
}
|
|
3445
3158
|
},
|
|
3446
3159
|
setup(e) {
|
|
3447
|
-
const t = e, o = { en:
|
|
3448
|
-
return (
|
|
3160
|
+
const t = e, o = { en: ve, hu: ue }, r = j(null), i = N(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3161
|
+
return (s, c) => (u(), L(a(de), {
|
|
3449
3162
|
locale: t.locale,
|
|
3450
3163
|
messages: o
|
|
3451
3164
|
}, {
|
|
3452
|
-
default:
|
|
3453
|
-
|
|
3454
|
-
default:
|
|
3455
|
-
|
|
3456
|
-
default:
|
|
3457
|
-
l("div",
|
|
3458
|
-
l("div",
|
|
3459
|
-
(u(), L(
|
|
3460
|
-
default:
|
|
3461
|
-
l("b", null, b(
|
|
3462
|
-
|
|
3165
|
+
default: E(() => [
|
|
3166
|
+
S(a(Be), null, {
|
|
3167
|
+
default: E(({ error: n, hasError: d }) => [
|
|
3168
|
+
S(_l, { data: i.value }, {
|
|
3169
|
+
default: E(({ convertedRows: v, isLoading: m, path: g, phaseName: w, componentProps: p, championshipName: _, phaseId: y, isPlayoffs: T, onChange: k }) => [
|
|
3170
|
+
l("div", Kl, [
|
|
3171
|
+
l("div", Bl, [
|
|
3172
|
+
(u(), L(_r(p.tag), Nt(p.props, { class: "is-title-text" }), {
|
|
3173
|
+
default: E(() => [
|
|
3174
|
+
l("b", null, b(_), 1),
|
|
3175
|
+
W(" - " + b(w) + " ", 1),
|
|
3463
3176
|
g ? (u(), L(a(ct), { key: 0 })) : D("", !0)
|
|
3464
3177
|
]),
|
|
3465
3178
|
_: 2
|
|
3466
3179
|
}, 1040)),
|
|
3467
|
-
|
|
3180
|
+
i.value.length > 1 ? (u(), L(xl, {
|
|
3468
3181
|
key: 0,
|
|
3469
|
-
data:
|
|
3470
|
-
selected:
|
|
3182
|
+
data: i.value,
|
|
3183
|
+
selected: y,
|
|
3471
3184
|
target: r.value,
|
|
3472
|
-
onChange:
|
|
3185
|
+
onChange: k
|
|
3473
3186
|
}, null, 8, ["data", "selected", "target", "onChange"])) : D("", !0)
|
|
3474
3187
|
]),
|
|
3475
|
-
|
|
3188
|
+
T ? (u(), L(Dl, {
|
|
3476
3189
|
key: 0,
|
|
3477
|
-
playoffs:
|
|
3478
|
-
"is-loading":
|
|
3479
|
-
}, null, 8, ["playoffs", "is-loading"])) : (u(), L(a(
|
|
3190
|
+
playoffs: v.rows,
|
|
3191
|
+
"is-loading": m
|
|
3192
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), L(a(It), {
|
|
3480
3193
|
key: 1,
|
|
3481
|
-
"is-loading":
|
|
3482
|
-
columns: a(
|
|
3483
|
-
rows:
|
|
3194
|
+
"is-loading": m,
|
|
3195
|
+
columns: a(Ur),
|
|
3196
|
+
rows: v.rows,
|
|
3484
3197
|
"append-to": r.value,
|
|
3485
3198
|
"external-team-resolver": () => {
|
|
3486
3199
|
}
|
|
3487
3200
|
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3488
|
-
|
|
3489
|
-
rows:
|
|
3201
|
+
S(a(De), {
|
|
3202
|
+
rows: v.rows,
|
|
3490
3203
|
"additional-key": "inheritedPoints"
|
|
3491
3204
|
}, null, 8, ["rows"]),
|
|
3492
|
-
|
|
3493
|
-
rows:
|
|
3205
|
+
S(a(De), {
|
|
3206
|
+
rows: v.rows,
|
|
3494
3207
|
"additional-key": "penaltyPoints"
|
|
3495
3208
|
}, null, 8, ["rows"])
|
|
3496
3209
|
]),
|
|
@@ -3501,9 +3214,9 @@ const Bl = {
|
|
|
3501
3214
|
]),
|
|
3502
3215
|
_: 1
|
|
3503
3216
|
}, 8, ["data"]),
|
|
3504
|
-
d ? (u(), L(a(
|
|
3217
|
+
d ? (u(), L(a(ze), {
|
|
3505
3218
|
key: 0,
|
|
3506
|
-
error:
|
|
3219
|
+
error: n
|
|
3507
3220
|
}, null, 8, ["error"])) : D("", !0)
|
|
3508
3221
|
]),
|
|
3509
3222
|
_: 1
|
|
@@ -3512,30 +3225,28 @@ const Bl = {
|
|
|
3512
3225
|
_: 1
|
|
3513
3226
|
}, 8, ["locale"]));
|
|
3514
3227
|
}
|
|
3515
|
-
},
|
|
3516
|
-
function
|
|
3517
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3228
|
+
}, Ul = /* @__PURE__ */ pe(Fl, [["styles", [he, Ll, Ml, Al, Ol, Rl, Gl, jl, Yl]]]), Vl = me(vi), Hl = me(Oi), Wl = me(gl), Jl = me(An), ql = me(Ul), Ql = me(ln), Xl = me(il);
|
|
3229
|
+
function Zl() {
|
|
3230
|
+
customElements.define("mjsz-vbr-calendar", Vl), customElements.define("mjsz-vbr-championship", Hl), customElements.define("mjsz-vbr-schedule-cup", Wl), customElements.define("mjsz-vbr-games-timeline", Jl), customElements.define("mjsz-vbr-standings-selector", ql), customElements.define("mjsz-vbr-countdown", Ql), customElements.define("mjsz-vbr-recruitment-info", Xl);
|
|
3518
3231
|
}
|
|
3519
|
-
const
|
|
3520
|
-
install: () =>
|
|
3232
|
+
const ss = {
|
|
3233
|
+
install: () => Zl()
|
|
3521
3234
|
};
|
|
3522
3235
|
export {
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
Es as default,
|
|
3540
|
-
ks as register
|
|
3236
|
+
vi as Calendar,
|
|
3237
|
+
Vl as CalendarCE,
|
|
3238
|
+
Oi as Championship,
|
|
3239
|
+
Hl as ChampionshipCE,
|
|
3240
|
+
ln as Countdown,
|
|
3241
|
+
Ql as CountdownCE,
|
|
3242
|
+
An as GamesTimeline,
|
|
3243
|
+
Jl as GamesTimelineCE,
|
|
3244
|
+
il as RecruitmentInfo,
|
|
3245
|
+
Xl as RecruitmentInfoCE,
|
|
3246
|
+
gl as ScheduleCup,
|
|
3247
|
+
Wl as ScheduleCupCE,
|
|
3248
|
+
Ul as StandingsSelector,
|
|
3249
|
+
ql as StandingsSelectorCE,
|
|
3250
|
+
ss as default,
|
|
3251
|
+
Zl as register
|
|
3541
3252
|
};
|