@mjsz-vbr-elements/extended 2.40.5 → 2.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +1246 -1161
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.42.0 - 11/03/2026, 07:59:19
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { shallowRef as H, isRef as ye, watch as
|
|
9
|
-
import { Image as ne, I18NProvider as
|
|
10
|
-
import { gameProps as
|
|
11
|
-
import { format as V, convert as
|
|
12
|
-
import { currentWeekStartEnd as ut, subtractDays 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 U = /* @__PURE__ */ new Date(),
|
|
8
|
+
import { shallowRef as H, isRef as ye, watch as W, shallowReadonly as St, ref as G, toValue as A, getCurrentScope as ur, onScopeDispose as hr, onMounted as Fe, nextTick as xe, readonly as $t, getCurrentInstance as lt, toRef as Ct, customRef as pr, reactive as se, computed as T, unref as a, toRefs as gr, renderSlot as ke, normalizeProps as Ue, guardReactiveProps as Ke, createElementBlock as y, openBlock as u, createElementVNode as l, normalizeClass as oe, createTextVNode as q, toDisplayString as f, createCommentVNode as E, Fragment as B, createVNode as S, createBlock as D, withCtx as P, renderList as ee, withDirectives as Tt, vModelText as Nt, Transition as It, useTemplateRef as Et, provide as wr, useId as fr, inject as br, onUnmounted as yr, normalizeStyle as xr, triggerRef as kr, setBlockTracking as Pe, isMemoSame as _r, mergeProps as Pt, toHandlers as zr, resolveDynamicComponent as Sr, defineCustomElement as ve } from "vue";
|
|
9
|
+
import { Image as ne, I18NProvider as ue, ErrorProvider as Ve, ErrorNotice as Te, LoadingIndicator as qe, FetchMoreObserver as $r, FormField as _e, BaseSelect as rt, StatisticsTable as Dt, Paginator as Lt, AdditionalStandingsText as Oe, ResponsiveTable as Mt, DataTable as Cr, FloatingPanel as Tr } from "@mjsz-vbr-elements/core/components";
|
|
10
|
+
import { gameProps as Nr } from "@mjsz-vbr-elements/core/props";
|
|
11
|
+
import { format as V, convert as Ne, isBefore as Ir, head as te, isAfter as At, last as Er, offsetName as He, getLocalTimezone as We, externalGameLinkResolver as Je, reject as Pr, filterAndSortSections as Ot, sortByPhaseId as Rt, WidgetError as jt, InvalidSeasonName as Re, convertSeasons as Gt, sortGames as Yt, convertPhaseName as Dr, rawConvert as Lr, playerName as Mr, teamName as Ar, scheduleOptionalRowClass as Or, convertTimesMinToMinSec as Rr, convertTimesSecToMin as jr, externalPlayerLinkResolver as Gr, externalTeamLinkResolver as Yr, isEmpty as ot, sortByDomNode as Br, pick as Fr, omit as Bt, selectFirstSectionId as Ur, path as Ft, pipe as Kr, sum as vt } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { currentWeekStartEnd as ut, subtractDays as Ut, addDays as Kt, isBefore as st, isAfter as ct, startOfMonth as Xe, endOfMonth as Ze, rawConvert as Vr, convertGamePeriodResults as qr, convertGameNames as Hr, gameProps as Wr, COLUMNS_STANDINGS_SHORT as Jr } from "@mjsz-vbr-elements/core";
|
|
13
|
+
import { useError as Qe, useServices as re, useI18n as ce, useSort as Qr, usePage as Vt, useLazyLoadingState as Xr, fetchVBRData as Zr, useVisibilityChange as eo, useErrorProvider as to, useColumns as ro } from "@mjsz-vbr-elements/core/composables";
|
|
14
|
+
import { COLUMNS_SCHEDULE as qt, COLUMNS_STANDINGS_P_PER as oo, COLUMNS_STANDINGS_P_3 as ao, COLUMNS_FIELD_PLAYERS as De, COLUMNS_FIELD_PLAYERS_PENALTY as io, COLUMNS_GOALIES as ht, COLUMNS_TEAMS_FAIRPLAY as no, COLUMNS_TEAMS_PENALTY_KILLING as lo, COLUMNS_TEAMS_POWERPLAY as so, COLUMNS_SCORING_EFFICIENCY as co } from "@mjsz-vbr-elements/core/columns";
|
|
15
|
+
import { SORT_STATE_DESCEND as Q } from "@mjsz-vbr-elements/core/constants";
|
|
16
|
+
const mo = "Schedule", vo = "Application form", uo = { report: "Report", video: "Video", season: "Season", seasons: "Seasons", section: "Section", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", filter: "Filter", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away", schedule: "Schedule", standings: "Standings", playerStats: "Player Statistics", teamStats: "Team Statistics", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, ho = { points: "Points", goals: "Goals", assists: "Assists", penalties: "Penalties", goalies: "Goalies", goaliesLimit: "Goalies under 40%", teamAttendance: "Attendance", teamFairplay: "Fairplay", teamPenaltyKilling: "Penalty Killing", teamPowerplay: "Powerplay", teamScoringEfficiency: "Scoring Efficiency" }, po = { Negyeddöntő1: "Quarterfinal 1", Negyeddöntő2: "Quarterfinal 2", Negyeddöntő3: "Quarterfinal 3", Negyeddöntő4: "Quarterfinal 4", Elődöntő1: "Semifinal 1", Elődöntő2: "Semifinal 2", Döntő: "Final" }, go = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, wo = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, fo = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, bo = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, yo = { filterByNameAndLocation: "Filter by name or location", noResult: "No results to display", recruitmentTeamName: "Team name", recruitmentArenaName: "Icerink", recruitmentArenaAddress: "Icerink address", recruitmentContactName: "Contact", recruitmentContactPhone: "Phone", recruitmentContactEmail: "E-mail", recruitmentContactUrl: "Website" }, he = {
|
|
17
|
+
schedule: mo,
|
|
18
|
+
registration: vo,
|
|
19
|
+
selection: uo,
|
|
20
|
+
report: ho,
|
|
21
|
+
playoffs: po,
|
|
22
|
+
table: go,
|
|
23
|
+
calendar: wo,
|
|
24
|
+
gamesTimeline: fo,
|
|
25
|
+
countdown: bo,
|
|
26
|
+
recruitmentInfo: yo
|
|
27
|
+
}, xo = "Sorsolás", ko = "Jelentkezés", _o = { report: "Riport", video: "Videó", season: "Szezon", seasons: "Szezonok", section: "Szakasz", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", filter: "Szűrés", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég", schedule: "Menetrend", standings: "Tabella", playerStats: "Játékos statisztika", teamStats: "Csapat Statisztika", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, zo = { points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, So = { Negyeddöntő1: "Negyeddöntő 1", Negyeddöntő2: "Negyeddöntő 2", Negyeddöntő3: "Negyeddöntő 3", Negyeddöntő4: "Negyeddöntő 4", Elődöntő1: "Elődöntő 1", Elődöntő2: "Elődöntő 2", Döntő: "Döntő" }, $o = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Co = { gamesPlayed: "Lejátszott mérkőzések", todaysGames: "Mai mérkőzések", nextGames: "Következő mérkőzések", weekGames: "A hét mérkőzései", noGame: "Nincs megjeleníthető mérkőzés", more: "Még több" }, To = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra", noGames: "Nincs megjeleníthető mérkőzés" }, No = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, Io = { filterByNameAndLocation: "Szűrés név vagy település szerint", noResult: "Nincs megjeleníthető találat", recruitmentTeamName: "Csapat név", recruitmentArenaName: "Jégpálya", recruitmentArenaAddress: "Jégpálya címe", recruitmentContactName: "Kapcsolattartó", recruitmentContactPhone: "Telefonszám", recruitmentContactEmail: "E-mail", recruitmentContactUrl: "Honlap" }, pe = {
|
|
28
|
+
schedule: xo,
|
|
29
|
+
registration: ko,
|
|
30
|
+
selection: _o,
|
|
31
|
+
report: zo,
|
|
32
|
+
playoffs: So,
|
|
33
|
+
table: $o,
|
|
34
|
+
calendar: Co,
|
|
35
|
+
gamesTimeline: To,
|
|
36
|
+
countdown: No,
|
|
37
|
+
recruitmentInfo: Io
|
|
38
|
+
}, de = "gamesPlayed", Se = "todaysGames", $e = "nextGames", je = "weekGames";
|
|
39
|
+
function Eo(e, t) {
|
|
40
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Vr(e.games, qr, Hr);
|
|
41
|
+
}
|
|
42
|
+
const U = /* @__PURE__ */ new Date(), Le = (/* @__PURE__ */ new Map()).set(Se, () => ({ min: U, max: U, month: null, id: null })).set(je, () => ({
|
|
43
43
|
min: ut().startDate,
|
|
44
44
|
max: ut().endDate,
|
|
45
45
|
month: null,
|
|
46
46
|
id: null
|
|
47
|
-
})).set(
|
|
47
|
+
})).set(de, (e = null) => {
|
|
48
48
|
const { year: t, month: o } = pt(e);
|
|
49
49
|
return {
|
|
50
50
|
min: gt(new Date(t, o, 1), !0),
|
|
@@ -58,27 +58,27 @@ const U = /* @__PURE__ */ new Date(), Pe = (/* @__PURE__ */ new Map()).set(Se, (
|
|
|
58
58
|
max: wt(new Date(t, o, 1)),
|
|
59
59
|
id: `${t}-${o}`
|
|
60
60
|
};
|
|
61
|
-
}),
|
|
62
|
-
function
|
|
61
|
+
}), Po = (/* @__PURE__ */ new Map()).set(Se, () => []).set(de, (e, t) => Do(Ut(U, 1), e, t)).set($e, (e, t) => Lo(Kt(U, 1), e, t)).set(je, () => []);
|
|
62
|
+
function Do(e, t, o) {
|
|
63
63
|
return st(e, t) ? [] : ct(e, o) ? [t, o] : [t, e];
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Lo(e, t, o) {
|
|
66
66
|
return st(e, t) ? [t, o] : ct(e, o) ? [] : [e, o];
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Mo(e, t, o, r = "hu") {
|
|
69
69
|
e = new Date(e), t = new Date(t);
|
|
70
|
-
const i = [],
|
|
71
|
-
for (;
|
|
72
|
-
const n =
|
|
73
|
-
m(n),
|
|
70
|
+
const i = [], s = e;
|
|
71
|
+
for (; s.getTime() <= t.getTime(); ) {
|
|
72
|
+
const n = s.toLocaleString(r, { month: "short" });
|
|
73
|
+
m(n), s.setDate(1), s.setMonth(s.getMonth() + 1);
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
75
|
+
if (s.getMonth() === t.getMonth()) {
|
|
76
76
|
const n = t.toLocaleString(r, { month: "short" });
|
|
77
77
|
m(n);
|
|
78
78
|
}
|
|
79
79
|
function m(n) {
|
|
80
|
-
i.findIndex((
|
|
81
|
-
id: `${
|
|
80
|
+
i.findIndex((d) => d.name === n) === -1 && i.push({
|
|
81
|
+
id: `${s.getFullYear()}-${s.getMonth()}`,
|
|
82
82
|
name: n
|
|
83
83
|
});
|
|
84
84
|
}
|
|
@@ -93,120 +93,120 @@ function pt(e) {
|
|
|
93
93
|
function gt(e, t) {
|
|
94
94
|
if (t)
|
|
95
95
|
return Xe(e);
|
|
96
|
-
const o =
|
|
96
|
+
const o = Kt(U, 1);
|
|
97
97
|
return st(Xe(e), o) ? o : Xe(e);
|
|
98
98
|
}
|
|
99
99
|
function wt(e, t = !1) {
|
|
100
100
|
if (t) {
|
|
101
|
-
const o =
|
|
101
|
+
const o = Ut(U, 1);
|
|
102
102
|
return ct(Ze(e), o) ? o : Ze(e);
|
|
103
103
|
}
|
|
104
104
|
return Ze(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
107
|
-
return
|
|
106
|
+
function Ce(e) {
|
|
107
|
+
return ur() ? (hr(e), !0) : !1;
|
|
108
108
|
}
|
|
109
109
|
const at = typeof window < "u" && typeof document < "u";
|
|
110
110
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
111
|
-
const
|
|
111
|
+
const Ao = (e) => typeof e < "u", Oo = (e) => e != null, Ro = Object.prototype.toString, jo = (e) => Ro.call(e) === "[object Object]", K = () => {
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function Go(...e) {
|
|
114
114
|
if (e.length !== 1)
|
|
115
115
|
return Ct(...e);
|
|
116
116
|
const t = e[0];
|
|
117
|
-
return typeof t == "function" ? $t(
|
|
117
|
+
return typeof t == "function" ? $t(pr(() => ({ get: t, set: K }))) : G(t);
|
|
118
118
|
}
|
|
119
119
|
function mt(e, t) {
|
|
120
120
|
function o(...r) {
|
|
121
|
-
return new Promise((i,
|
|
122
|
-
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(i).catch(
|
|
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
127
|
const Ht = (e) => e();
|
|
128
|
-
function
|
|
128
|
+
function Yo(e, t = {}) {
|
|
129
129
|
let o, r, i = K;
|
|
130
|
-
const
|
|
131
|
-
clearTimeout(
|
|
130
|
+
const s = (d) => {
|
|
131
|
+
clearTimeout(d), i(), i = K;
|
|
132
132
|
};
|
|
133
133
|
let m;
|
|
134
|
-
return (
|
|
135
|
-
const
|
|
136
|
-
return o &&
|
|
137
|
-
i = t.rejectOnCancel ? w :
|
|
138
|
-
o &&
|
|
139
|
-
},
|
|
140
|
-
r &&
|
|
141
|
-
},
|
|
134
|
+
return (d) => {
|
|
135
|
+
const v = A(e), c = A(t.maxWait);
|
|
136
|
+
return o && s(o), v <= 0 || c !== void 0 && c <= 0 ? (r && (s(r), r = void 0), Promise.resolve(d())) : new Promise((h, w) => {
|
|
137
|
+
i = t.rejectOnCancel ? w : h, m = d, c && !r && (r = setTimeout(() => {
|
|
138
|
+
o && s(o), r = void 0, h(m());
|
|
139
|
+
}, c)), o = setTimeout(() => {
|
|
140
|
+
r && s(r), r = void 0, h(d());
|
|
141
|
+
}, v);
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
let t = 0, o, r = !0, i = K,
|
|
147
|
-
!ye(e[0]) && typeof e[0] == "object" ? { delay: m, trailing: n = !0, leading:
|
|
148
|
-
const
|
|
145
|
+
function Bo(...e) {
|
|
146
|
+
let t = 0, o, r = !0, i = K, s, m, n, d, v;
|
|
147
|
+
!ye(e[0]) && typeof e[0] == "object" ? { delay: m, trailing: n = !0, leading: d = !0, rejectOnCancel: v = !1 } = e[0] : [m, n = !0, d = !0, v = !1] = e;
|
|
148
|
+
const c = () => {
|
|
149
149
|
o && (clearTimeout(o), o = void 0, i(), i = K);
|
|
150
150
|
};
|
|
151
151
|
return (w) => {
|
|
152
|
-
const g = A(m), _ = Date.now() - t,
|
|
153
|
-
return
|
|
154
|
-
i =
|
|
155
|
-
t = Date.now(), r = !0, C(
|
|
152
|
+
const g = A(m), _ = Date.now() - t, x = () => s = w();
|
|
153
|
+
return c(), g <= 0 ? (t = Date.now(), x()) : (_ > g && (d || !r) ? (t = Date.now(), x()) : n && (s = new Promise((C, z) => {
|
|
154
|
+
i = v ? z : C, o = setTimeout(() => {
|
|
155
|
+
t = Date.now(), r = !0, C(x()), c();
|
|
156
156
|
}, Math.max(0, g - _));
|
|
157
|
-
})), !
|
|
157
|
+
})), !d && !o && (o = setTimeout(() => r = !0, g)), r = !1, s);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Fo(e = Ht, t = {}) {
|
|
161
161
|
const {
|
|
162
162
|
initialState: o = "active"
|
|
163
|
-
} = t, r =
|
|
163
|
+
} = t, r = Go(o === "active");
|
|
164
164
|
function i() {
|
|
165
165
|
r.value = !1;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function s() {
|
|
168
168
|
r.value = !0;
|
|
169
169
|
}
|
|
170
170
|
const m = (...n) => {
|
|
171
171
|
r.value && e(...n);
|
|
172
172
|
};
|
|
173
|
-
return { isActive: $t(r), pause: i, resume:
|
|
173
|
+
return { isActive: $t(r), pause: i, resume: s, eventFilter: m };
|
|
174
174
|
}
|
|
175
175
|
function it(e, t = !1, o = "Timeout") {
|
|
176
176
|
return new Promise((r, i) => {
|
|
177
177
|
setTimeout(t ? () => i(o) : r, e);
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Me(e) {
|
|
181
181
|
return Array.isArray(e) ? e : [e];
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Uo(e) {
|
|
184
184
|
return lt();
|
|
185
185
|
}
|
|
186
186
|
function Wt(e, t = 200, o = {}) {
|
|
187
187
|
return mt(
|
|
188
|
-
|
|
188
|
+
Yo(t, o),
|
|
189
189
|
e
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Ko(e, t = 200, o = {}) {
|
|
193
193
|
const r = G(A(e)), i = Wt(() => {
|
|
194
194
|
r.value = e.value;
|
|
195
195
|
}, t, o);
|
|
196
|
-
return
|
|
196
|
+
return W(e, () => i()), St(r);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Vo(e, t = 200, o = !1, r = !0, i = !1) {
|
|
199
199
|
return mt(
|
|
200
|
-
|
|
200
|
+
Bo(t, o, r, i),
|
|
201
201
|
e
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function qo(e, t, o = {}) {
|
|
205
205
|
const {
|
|
206
206
|
eventFilter: r = Ht,
|
|
207
207
|
...i
|
|
208
208
|
} = o;
|
|
209
|
-
return
|
|
209
|
+
return W(
|
|
210
210
|
e,
|
|
211
211
|
mt(
|
|
212
212
|
r,
|
|
@@ -215,32 +215,32 @@ function Fo(e, t, o = {}) {
|
|
|
215
215
|
i
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Ho(e, t, o = {}) {
|
|
219
219
|
const {
|
|
220
220
|
eventFilter: r,
|
|
221
221
|
initialState: i = "active",
|
|
222
|
-
...
|
|
223
|
-
} = o, { eventFilter: m, pause: n, resume:
|
|
224
|
-
return { stop:
|
|
222
|
+
...s
|
|
223
|
+
} = o, { eventFilter: m, pause: n, resume: d, isActive: v } = Fo(r, { initialState: i });
|
|
224
|
+
return { stop: qo(
|
|
225
225
|
e,
|
|
226
226
|
t,
|
|
227
227
|
{
|
|
228
|
-
...
|
|
228
|
+
...s,
|
|
229
229
|
eventFilter: m
|
|
230
230
|
}
|
|
231
|
-
), pause: n, resume:
|
|
231
|
+
), pause: n, resume: d, isActive: v };
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
233
|
+
function Wo(e, t = !0, o) {
|
|
234
|
+
Uo() ? Fe(e, o) : t ? e() : xe(e);
|
|
235
235
|
}
|
|
236
236
|
function nt(e, t = !1) {
|
|
237
|
-
function o(
|
|
237
|
+
function o(h, { flush: w = "sync", deep: g = !1, timeout: _, throwOnTimeout: x } = {}) {
|
|
238
238
|
let C = null;
|
|
239
|
-
const
|
|
240
|
-
C =
|
|
239
|
+
const N = [new Promise((b) => {
|
|
240
|
+
C = W(
|
|
241
241
|
e,
|
|
242
|
-
(
|
|
243
|
-
p
|
|
242
|
+
(p) => {
|
|
243
|
+
h(p) !== t && (C ? C() : xe(() => C?.()), b(p));
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
flush: w,
|
|
@@ -249,20 +249,20 @@ function nt(e, t = !1) {
|
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
})];
|
|
252
|
-
return _ != null &&
|
|
253
|
-
it(_,
|
|
254
|
-
), Promise.race(
|
|
255
|
-
}
|
|
256
|
-
function r(
|
|
257
|
-
if (!ye(
|
|
258
|
-
return o((
|
|
259
|
-
const { flush: g = "sync", deep: _ = !1, timeout:
|
|
252
|
+
return _ != null && N.push(
|
|
253
|
+
it(_, x).then(() => A(e)).finally(() => C?.())
|
|
254
|
+
), Promise.race(N);
|
|
255
|
+
}
|
|
256
|
+
function r(h, w) {
|
|
257
|
+
if (!ye(h))
|
|
258
|
+
return o((p) => p === h, w);
|
|
259
|
+
const { flush: g = "sync", deep: _ = !1, timeout: x, throwOnTimeout: C } = w ?? {};
|
|
260
260
|
let z = null;
|
|
261
|
-
const
|
|
262
|
-
z =
|
|
263
|
-
[e,
|
|
261
|
+
const b = [new Promise((p) => {
|
|
262
|
+
z = W(
|
|
263
|
+
[e, h],
|
|
264
264
|
([k, $]) => {
|
|
265
|
-
t !== (k === $) && (z ? z() :
|
|
265
|
+
t !== (k === $) && (z ? z() : xe(() => z?.()), p(k));
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
flush: g,
|
|
@@ -271,40 +271,40 @@ function nt(e, t = !1) {
|
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
273
|
})];
|
|
274
|
-
return
|
|
275
|
-
it(
|
|
276
|
-
), Promise.race(
|
|
274
|
+
return x != null && b.push(
|
|
275
|
+
it(x, C).then(() => A(e)).finally(() => (z?.(), A(e)))
|
|
276
|
+
), Promise.race(b);
|
|
277
277
|
}
|
|
278
|
-
function i(
|
|
279
|
-
return o((w) => !!w,
|
|
278
|
+
function i(h) {
|
|
279
|
+
return o((w) => !!w, h);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return r(null,
|
|
281
|
+
function s(h) {
|
|
282
|
+
return r(null, h);
|
|
283
283
|
}
|
|
284
|
-
function m(
|
|
285
|
-
return r(void 0,
|
|
284
|
+
function m(h) {
|
|
285
|
+
return r(void 0, h);
|
|
286
286
|
}
|
|
287
|
-
function n(
|
|
288
|
-
return o(Number.isNaN,
|
|
287
|
+
function n(h) {
|
|
288
|
+
return o(Number.isNaN, h);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function d(h, w) {
|
|
291
291
|
return o((g) => {
|
|
292
292
|
const _ = Array.from(g);
|
|
293
|
-
return _.includes(
|
|
293
|
+
return _.includes(h) || _.includes(A(h));
|
|
294
294
|
}, w);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
296
|
+
function v(h) {
|
|
297
|
+
return c(1, h);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function c(h = 1, w) {
|
|
300
300
|
let g = -1;
|
|
301
|
-
return o(() => (g += 1, g >=
|
|
301
|
+
return o(() => (g += 1, g >= h), w);
|
|
302
302
|
}
|
|
303
303
|
return Array.isArray(A(e)) ? {
|
|
304
304
|
toMatch: o,
|
|
305
|
-
toContains:
|
|
306
|
-
changed:
|
|
307
|
-
changedTimes:
|
|
305
|
+
toContains: d,
|
|
306
|
+
changed: v,
|
|
307
|
+
changedTimes: c,
|
|
308
308
|
get not() {
|
|
309
309
|
return nt(e, !t);
|
|
310
310
|
}
|
|
@@ -312,50 +312,50 @@ function nt(e, t = !1) {
|
|
|
312
312
|
toMatch: o,
|
|
313
313
|
toBe: r,
|
|
314
314
|
toBeTruthy: i,
|
|
315
|
-
toBeNull:
|
|
315
|
+
toBeNull: s,
|
|
316
316
|
toBeNaN: n,
|
|
317
317
|
toBeUndefined: m,
|
|
318
|
-
changed:
|
|
319
|
-
changedTimes:
|
|
318
|
+
changed: v,
|
|
319
|
+
changedTimes: c,
|
|
320
320
|
get not() {
|
|
321
321
|
return nt(e, !t);
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Jo(e) {
|
|
326
326
|
return nt(e);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Ge(e, t = 1e3, o = {}) {
|
|
329
329
|
const {
|
|
330
330
|
immediate: r = !0,
|
|
331
331
|
immediateCallback: i = !1
|
|
332
332
|
} = o;
|
|
333
|
-
let
|
|
333
|
+
let s = null;
|
|
334
334
|
const m = H(!1);
|
|
335
335
|
function n() {
|
|
336
|
-
|
|
336
|
+
s && (clearInterval(s), s = null);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function d() {
|
|
339
339
|
m.value = !1, n();
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
const
|
|
343
|
-
|
|
341
|
+
function v() {
|
|
342
|
+
const c = A(t);
|
|
343
|
+
c <= 0 || (m.value = !0, i && e(), n(), m.value && (s = setInterval(e, c)));
|
|
344
344
|
}
|
|
345
|
-
if (r && at &&
|
|
346
|
-
const
|
|
347
|
-
m.value && at &&
|
|
345
|
+
if (r && at && v(), ye(t) || typeof t == "function") {
|
|
346
|
+
const c = W(t, () => {
|
|
347
|
+
m.value && at && v();
|
|
348
348
|
});
|
|
349
|
-
|
|
349
|
+
Ce(c);
|
|
350
350
|
}
|
|
351
|
-
return
|
|
351
|
+
return Ce(d), {
|
|
352
352
|
isActive: St(m),
|
|
353
|
-
pause:
|
|
354
|
-
resume:
|
|
353
|
+
pause: d,
|
|
354
|
+
resume: v
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
return
|
|
357
|
+
function Qo(e, t, o) {
|
|
358
|
+
return W(
|
|
359
359
|
e,
|
|
360
360
|
t,
|
|
361
361
|
{
|
|
@@ -364,178 +364,204 @@ function Ho(e, t, o) {
|
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
const
|
|
368
|
-
function
|
|
367
|
+
const Ie = at ? window : void 0;
|
|
368
|
+
function ie(e) {
|
|
369
369
|
var t;
|
|
370
370
|
const o = A(e);
|
|
371
371
|
return (t = o?.$el) != null ? t : o;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Ye(...e) {
|
|
374
374
|
const t = [], o = () => {
|
|
375
375
|
t.forEach((n) => n()), t.length = 0;
|
|
376
|
-
}, r = (n,
|
|
377
|
-
const n =
|
|
378
|
-
return n.every((
|
|
379
|
-
}),
|
|
376
|
+
}, r = (n, d, v, c) => (n.addEventListener(d, v, c), () => n.removeEventListener(d, v, c)), i = T(() => {
|
|
377
|
+
const n = Me(A(e[0])).filter((d) => d != null);
|
|
378
|
+
return n.every((d) => typeof d != "string") ? n : void 0;
|
|
379
|
+
}), s = Qo(
|
|
380
380
|
() => {
|
|
381
|
-
var n,
|
|
381
|
+
var n, d;
|
|
382
382
|
return [
|
|
383
|
-
(
|
|
384
|
-
|
|
385
|
-
|
|
383
|
+
(d = (n = i.value) == null ? void 0 : n.map((v) => ie(v))) != null ? d : [Ie].filter((v) => v != null),
|
|
384
|
+
Me(A(i.value ? e[1] : e[0])),
|
|
385
|
+
Me(a(i.value ? e[2] : e[1])),
|
|
386
386
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
387
387
|
A(i.value ? e[3] : e[2])
|
|
388
388
|
];
|
|
389
389
|
},
|
|
390
|
-
([n,
|
|
391
|
-
if (o(), !n?.length || !
|
|
390
|
+
([n, d, v, c]) => {
|
|
391
|
+
if (o(), !n?.length || !d?.length || !v?.length)
|
|
392
392
|
return;
|
|
393
|
-
const
|
|
393
|
+
const h = jo(c) ? { ...c } : c;
|
|
394
394
|
t.push(
|
|
395
395
|
...n.flatMap(
|
|
396
|
-
(w) =>
|
|
397
|
-
(g) =>
|
|
396
|
+
(w) => d.flatMap(
|
|
397
|
+
(g) => v.map((_) => r(w, g, _, h))
|
|
398
398
|
)
|
|
399
399
|
)
|
|
400
400
|
);
|
|
401
401
|
},
|
|
402
402
|
{ flush: "post" }
|
|
403
403
|
), m = () => {
|
|
404
|
-
|
|
404
|
+
s(), o();
|
|
405
405
|
};
|
|
406
|
-
return
|
|
406
|
+
return Ce(o), m;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Xo() {
|
|
409
409
|
const e = H(!1), t = lt();
|
|
410
|
-
return t &&
|
|
410
|
+
return t && Fe(() => {
|
|
411
411
|
e.value = !0;
|
|
412
412
|
}, t), e;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
const t =
|
|
416
|
-
return
|
|
417
|
-
}
|
|
418
|
-
function
|
|
419
|
-
const { window: r =
|
|
420
|
-
let
|
|
421
|
-
const m =
|
|
422
|
-
|
|
423
|
-
},
|
|
424
|
-
const w = A(e), g =
|
|
414
|
+
function Jt(e) {
|
|
415
|
+
const t = Xo();
|
|
416
|
+
return T(() => (t.value, !!e()));
|
|
417
|
+
}
|
|
418
|
+
function Zo(e, t, o = {}) {
|
|
419
|
+
const { window: r = Ie, ...i } = o;
|
|
420
|
+
let s;
|
|
421
|
+
const m = Jt(() => r && "MutationObserver" in r), n = () => {
|
|
422
|
+
s && (s.disconnect(), s = void 0);
|
|
423
|
+
}, d = T(() => {
|
|
424
|
+
const w = A(e), g = Me(w).map(ie).filter(Oo);
|
|
425
425
|
return new Set(g);
|
|
426
|
-
}),
|
|
427
|
-
() =>
|
|
426
|
+
}), v = W(
|
|
427
|
+
() => d.value,
|
|
428
428
|
(w) => {
|
|
429
|
-
n(), m.value && w.size && (
|
|
429
|
+
n(), m.value && w.size && (s = new MutationObserver(t), w.forEach((g) => s.observe(g, i)));
|
|
430
430
|
},
|
|
431
431
|
{ immediate: !0, flush: "post" }
|
|
432
|
-
),
|
|
433
|
-
|
|
432
|
+
), c = () => s?.takeRecords(), h = () => {
|
|
433
|
+
v(), n();
|
|
434
434
|
};
|
|
435
|
-
return
|
|
435
|
+
return Ce(h), {
|
|
436
436
|
isSupported: m,
|
|
437
|
-
stop:
|
|
438
|
-
takeRecords:
|
|
437
|
+
stop: h,
|
|
438
|
+
takeRecords: c
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Be(e, t) {
|
|
442
442
|
const {
|
|
443
443
|
interrupt: o = !0,
|
|
444
444
|
onError: r = K,
|
|
445
445
|
onFinished: i = K,
|
|
446
|
-
signal:
|
|
446
|
+
signal: s
|
|
447
447
|
} = {}, m = {
|
|
448
448
|
aborted: "aborted",
|
|
449
449
|
fulfilled: "fulfilled",
|
|
450
450
|
pending: "pending",
|
|
451
451
|
rejected: "rejected"
|
|
452
|
-
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: m.pending, data: null })),
|
|
452
|
+
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: m.pending, data: null })), d = se(n), v = H(-1);
|
|
453
453
|
if (!e || e.length === 0)
|
|
454
454
|
return i(), {
|
|
455
|
-
activeIndex:
|
|
456
|
-
result:
|
|
455
|
+
activeIndex: v,
|
|
456
|
+
result: d
|
|
457
457
|
};
|
|
458
|
-
function
|
|
459
|
-
|
|
458
|
+
function c(h, w) {
|
|
459
|
+
v.value++, d[v.value].data = w, d[v.value].state = h;
|
|
460
460
|
}
|
|
461
|
-
return e.reduce((
|
|
461
|
+
return e.reduce((h, w) => h.then((g) => {
|
|
462
462
|
var _;
|
|
463
|
-
if (
|
|
464
|
-
|
|
463
|
+
if (s?.aborted) {
|
|
464
|
+
c(m.aborted, new Error("aborted"));
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
|
-
if (((_ = v
|
|
467
|
+
if (((_ = d[v.value]) == null ? void 0 : _.state) === m.rejected && o) {
|
|
468
468
|
i();
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
|
-
const
|
|
472
|
-
return
|
|
473
|
-
}).catch((g) =>
|
|
474
|
-
activeIndex:
|
|
475
|
-
result:
|
|
471
|
+
const x = w(g).then((C) => (c(m.fulfilled, C), v.value === e.length - 1 && i(), C));
|
|
472
|
+
return s ? Promise.race([x, ea(s)]) : x;
|
|
473
|
+
}).catch((g) => s?.aborted ? (c(m.aborted, g), g) : (c(m.rejected, g), r(), g)), Promise.resolve()), {
|
|
474
|
+
activeIndex: v,
|
|
475
|
+
result: d
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function ea(e) {
|
|
479
479
|
return new Promise((t, o) => {
|
|
480
480
|
const r = new Error("aborted");
|
|
481
481
|
e.aborted ? o(r) : e.addEventListener("abort", () => o(r), { once: !0 });
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function ta(e, t, o) {
|
|
485
485
|
const {
|
|
486
486
|
immediate: r = !0,
|
|
487
487
|
delay: i = 0,
|
|
488
|
-
onError:
|
|
488
|
+
onError: s = K,
|
|
489
489
|
onSuccess: m = K,
|
|
490
490
|
resetOnExecute: n = !0,
|
|
491
|
-
shallow:
|
|
492
|
-
throwError:
|
|
493
|
-
} = o ?? {},
|
|
494
|
-
async function _(z = 0, ...
|
|
495
|
-
n && (
|
|
496
|
-
const
|
|
491
|
+
shallow: d = !0,
|
|
492
|
+
throwError: v
|
|
493
|
+
} = o ?? {}, c = d ? H(t) : G(t), h = H(!1), w = H(!1), g = H(void 0);
|
|
494
|
+
async function _(z = 0, ...N) {
|
|
495
|
+
n && (c.value = t), g.value = void 0, h.value = !1, w.value = !0, z > 0 && await it(z);
|
|
496
|
+
const b = typeof e == "function" ? e(...N) : e;
|
|
497
497
|
try {
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
} catch (
|
|
501
|
-
if (g.value =
|
|
502
|
-
throw
|
|
498
|
+
const p = await b;
|
|
499
|
+
c.value = p, h.value = !0, m(p);
|
|
500
|
+
} catch (p) {
|
|
501
|
+
if (g.value = p, s(p), v)
|
|
502
|
+
throw p;
|
|
503
503
|
} finally {
|
|
504
504
|
w.value = !1;
|
|
505
505
|
}
|
|
506
|
-
return
|
|
506
|
+
return c.value;
|
|
507
507
|
}
|
|
508
508
|
r && _(i);
|
|
509
|
-
const
|
|
510
|
-
state:
|
|
511
|
-
isReady:
|
|
509
|
+
const x = {
|
|
510
|
+
state: c,
|
|
511
|
+
isReady: h,
|
|
512
512
|
isLoading: w,
|
|
513
513
|
error: g,
|
|
514
514
|
execute: _,
|
|
515
515
|
executeImmediate: (...z) => _(0, ...z)
|
|
516
516
|
};
|
|
517
517
|
function C() {
|
|
518
|
-
return new Promise((z,
|
|
519
|
-
|
|
518
|
+
return new Promise((z, N) => {
|
|
519
|
+
Jo(w).toBe(!1).then(() => z(x)).catch(N);
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
|
-
...
|
|
524
|
-
then(z,
|
|
525
|
-
return C().then(z,
|
|
523
|
+
...x,
|
|
524
|
+
then(z, N) {
|
|
525
|
+
return C().then(z, N);
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function ra(e) {
|
|
530
530
|
return JSON.parse(JSON.stringify(e));
|
|
531
531
|
}
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
function oa(e, t, o = {}) {
|
|
533
|
+
const { window: r = Ie, ...i } = o;
|
|
534
|
+
let s;
|
|
535
|
+
const m = Jt(() => r && "ResizeObserver" in r), n = () => {
|
|
536
|
+
s && (s.disconnect(), s = void 0);
|
|
537
|
+
}, d = T(() => {
|
|
538
|
+
const h = A(e);
|
|
539
|
+
return Array.isArray(h) ? h.map((w) => ie(w)) : [ie(h)];
|
|
540
|
+
}), v = W(
|
|
541
|
+
d,
|
|
542
|
+
(h) => {
|
|
543
|
+
if (n(), m.value && r) {
|
|
544
|
+
s = new ResizeObserver(t);
|
|
545
|
+
for (const w of h)
|
|
546
|
+
w && s.observe(w, i);
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{ immediate: !0, flush: "post" }
|
|
550
|
+
), c = () => {
|
|
551
|
+
n(), v();
|
|
552
|
+
};
|
|
553
|
+
return Ce(c), {
|
|
554
|
+
isSupported: m,
|
|
555
|
+
stop: c
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
const ft = 1;
|
|
559
|
+
function aa(e, t = {}) {
|
|
534
560
|
const {
|
|
535
561
|
throttle: o = 0,
|
|
536
562
|
idle: r = 200,
|
|
537
563
|
onStop: i = K,
|
|
538
|
-
onScroll:
|
|
564
|
+
onScroll: s = K,
|
|
539
565
|
offset: m = {
|
|
540
566
|
left: 0,
|
|
541
567
|
right: 0,
|
|
@@ -545,144 +571,144 @@ function ea(e, t = {}) {
|
|
|
545
571
|
observe: n = {
|
|
546
572
|
mutation: !1
|
|
547
573
|
},
|
|
548
|
-
eventListenerOptions:
|
|
574
|
+
eventListenerOptions: d = {
|
|
549
575
|
capture: !1,
|
|
550
576
|
passive: !0
|
|
551
577
|
},
|
|
552
|
-
behavior:
|
|
553
|
-
window:
|
|
554
|
-
onError:
|
|
555
|
-
console.error(
|
|
578
|
+
behavior: v = "auto",
|
|
579
|
+
window: c = Ie,
|
|
580
|
+
onError: h = (I) => {
|
|
581
|
+
console.error(I);
|
|
556
582
|
}
|
|
557
583
|
} = t, w = typeof n == "boolean" ? {
|
|
558
584
|
mutation: n
|
|
559
|
-
} : n, g = H(0), _ = H(0),
|
|
585
|
+
} : n, g = H(0), _ = H(0), x = T({
|
|
560
586
|
get() {
|
|
561
587
|
return g.value;
|
|
562
588
|
},
|
|
563
|
-
set(
|
|
564
|
-
z(
|
|
589
|
+
set(I) {
|
|
590
|
+
z(I, void 0);
|
|
565
591
|
}
|
|
566
|
-
}), C =
|
|
592
|
+
}), C = T({
|
|
567
593
|
get() {
|
|
568
594
|
return _.value;
|
|
569
595
|
},
|
|
570
|
-
set(
|
|
571
|
-
z(void 0,
|
|
596
|
+
set(I) {
|
|
597
|
+
z(void 0, I);
|
|
572
598
|
}
|
|
573
599
|
});
|
|
574
|
-
function z(
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
600
|
+
function z(I, Y) {
|
|
601
|
+
var j, ae, X, le;
|
|
602
|
+
if (!c)
|
|
577
603
|
return;
|
|
578
604
|
const F = A(e);
|
|
579
605
|
if (!F)
|
|
580
606
|
return;
|
|
581
|
-
(
|
|
582
|
-
top: (
|
|
583
|
-
left: (ae = A(
|
|
584
|
-
behavior: A(
|
|
607
|
+
(X = F instanceof Document ? c.document.body : F) == null || X.scrollTo({
|
|
608
|
+
top: (j = A(Y)) != null ? j : C.value,
|
|
609
|
+
left: (ae = A(I)) != null ? ae : x.value,
|
|
610
|
+
behavior: A(v)
|
|
585
611
|
});
|
|
586
|
-
const
|
|
587
|
-
|
|
612
|
+
const J = ((le = F?.document) == null ? void 0 : le.documentElement) || F?.documentElement || F;
|
|
613
|
+
x != null && (g.value = J.scrollLeft), C != null && (_.value = J.scrollTop);
|
|
588
614
|
}
|
|
589
|
-
const
|
|
615
|
+
const N = H(!1), b = se({
|
|
590
616
|
left: !0,
|
|
591
617
|
right: !1,
|
|
592
618
|
top: !0,
|
|
593
619
|
bottom: !1
|
|
594
|
-
}),
|
|
620
|
+
}), p = se({
|
|
595
621
|
left: !1,
|
|
596
622
|
right: !1,
|
|
597
623
|
top: !1,
|
|
598
624
|
bottom: !1
|
|
599
|
-
}), k = (
|
|
600
|
-
|
|
601
|
-
}, $ = Wt(k, o + r), M = (
|
|
602
|
-
var
|
|
603
|
-
if (!
|
|
625
|
+
}), k = (I) => {
|
|
626
|
+
N.value && (N.value = !1, p.left = !1, p.right = !1, p.top = !1, p.bottom = !1, i(I));
|
|
627
|
+
}, $ = Wt(k, o + r), M = (I) => {
|
|
628
|
+
var Y;
|
|
629
|
+
if (!c)
|
|
604
630
|
return;
|
|
605
|
-
const
|
|
606
|
-
|
|
607
|
-
const
|
|
608
|
-
ae === "flex" &&
|
|
609
|
-
let
|
|
610
|
-
|
|
611
|
-
const
|
|
612
|
-
ae === "flex" &&
|
|
613
|
-
},
|
|
614
|
-
var
|
|
615
|
-
if (!
|
|
631
|
+
const j = ((Y = I?.document) == null ? void 0 : Y.documentElement) || I?.documentElement || ie(I), { display: ae, flexDirection: X, direction: le } = getComputedStyle(j), F = le === "rtl" ? -1 : 1, J = j.scrollLeft;
|
|
632
|
+
p.left = J < g.value, p.right = J > g.value;
|
|
633
|
+
const fe = Math.abs(J * F) <= (m.left || 0), L = Math.abs(J * F) + j.clientWidth >= j.scrollWidth - (m.right || 0) - ft;
|
|
634
|
+
ae === "flex" && X === "row-reverse" ? (b.left = L, b.right = fe) : (b.left = fe, b.right = L), g.value = J;
|
|
635
|
+
let O = j.scrollTop;
|
|
636
|
+
I === c.document && !O && (O = c.document.body.scrollTop), p.top = O < _.value, p.bottom = O > _.value;
|
|
637
|
+
const Ee = Math.abs(O) <= (m.top || 0), be = Math.abs(O) + j.clientHeight >= j.scrollHeight - (m.bottom || 0) - ft;
|
|
638
|
+
ae === "flex" && X === "column-reverse" ? (b.top = be, b.bottom = Ee) : (b.top = Ee, b.bottom = be), _.value = O;
|
|
639
|
+
}, R = (I) => {
|
|
640
|
+
var Y;
|
|
641
|
+
if (!c)
|
|
616
642
|
return;
|
|
617
|
-
const
|
|
618
|
-
M(
|
|
643
|
+
const j = (Y = I.target.documentElement) != null ? Y : I.target;
|
|
644
|
+
M(j), N.value = !0, $(I), s(I);
|
|
619
645
|
};
|
|
620
|
-
return
|
|
646
|
+
return Ye(
|
|
621
647
|
e,
|
|
622
648
|
"scroll",
|
|
623
|
-
o ?
|
|
624
|
-
|
|
625
|
-
),
|
|
649
|
+
o ? Vo(R, o, !0, !1) : R,
|
|
650
|
+
d
|
|
651
|
+
), Wo(() => {
|
|
626
652
|
try {
|
|
627
|
-
const
|
|
628
|
-
if (!
|
|
653
|
+
const I = A(e);
|
|
654
|
+
if (!I)
|
|
629
655
|
return;
|
|
630
|
-
M(
|
|
631
|
-
} catch (
|
|
632
|
-
|
|
656
|
+
M(I);
|
|
657
|
+
} catch (I) {
|
|
658
|
+
h(I);
|
|
633
659
|
}
|
|
634
|
-
}), w?.mutation && e != null && e !==
|
|
660
|
+
}), w?.mutation && e != null && e !== c && e !== document && Zo(
|
|
635
661
|
e,
|
|
636
662
|
() => {
|
|
637
|
-
const
|
|
638
|
-
|
|
663
|
+
const I = A(e);
|
|
664
|
+
I && M(I);
|
|
639
665
|
},
|
|
640
666
|
{
|
|
641
667
|
attributes: !0,
|
|
642
668
|
childList: !0,
|
|
643
669
|
subtree: !0
|
|
644
670
|
}
|
|
645
|
-
),
|
|
671
|
+
), Ye(
|
|
646
672
|
e,
|
|
647
673
|
"scrollend",
|
|
648
674
|
k,
|
|
649
|
-
|
|
675
|
+
d
|
|
650
676
|
), {
|
|
651
|
-
x
|
|
677
|
+
x,
|
|
652
678
|
y: C,
|
|
653
|
-
isScrolling:
|
|
654
|
-
arrivedState:
|
|
655
|
-
directions:
|
|
679
|
+
isScrolling: N,
|
|
680
|
+
arrivedState: b,
|
|
681
|
+
directions: p,
|
|
656
682
|
measure() {
|
|
657
|
-
const
|
|
658
|
-
|
|
683
|
+
const I = A(e);
|
|
684
|
+
c && I && M(I);
|
|
659
685
|
}
|
|
660
686
|
};
|
|
661
687
|
}
|
|
662
|
-
function
|
|
688
|
+
function Qt(e = "history", t = {}) {
|
|
663
689
|
const {
|
|
664
690
|
initialValue: o = {},
|
|
665
691
|
removeNullishValues: r = !0,
|
|
666
692
|
removeFalsyValues: i = !1,
|
|
667
|
-
write:
|
|
693
|
+
write: s = !0,
|
|
668
694
|
writeMode: m = "replace",
|
|
669
|
-
window: n =
|
|
670
|
-
stringify:
|
|
695
|
+
window: n = Ie,
|
|
696
|
+
stringify: d = (p) => p.toString()
|
|
671
697
|
} = t;
|
|
672
698
|
if (!n)
|
|
673
699
|
return se(o);
|
|
674
|
-
const
|
|
675
|
-
function
|
|
700
|
+
const v = se({});
|
|
701
|
+
function c() {
|
|
676
702
|
if (e === "history")
|
|
677
703
|
return n.location.search || "";
|
|
678
704
|
if (e === "hash") {
|
|
679
|
-
const
|
|
680
|
-
return k > 0 ?
|
|
705
|
+
const p = n.location.hash || "", k = p.indexOf("?");
|
|
706
|
+
return k > 0 ? p.slice(k) : "";
|
|
681
707
|
} else
|
|
682
708
|
return (n.location.hash || "").replace(/^#/, "");
|
|
683
709
|
}
|
|
684
|
-
function p
|
|
685
|
-
const k =
|
|
710
|
+
function h(p) {
|
|
711
|
+
const k = d(p);
|
|
686
712
|
if (e === "history")
|
|
687
713
|
return `${k ? `?${k}` : ""}${n.location.hash || ""}`;
|
|
688
714
|
if (e === "hash-params")
|
|
@@ -691,90 +717,90 @@ function qt(e = "history", t = {}) {
|
|
|
691
717
|
return M > 0 ? `${n.location.search || ""}${$.slice(0, M)}${k ? `?${k}` : ""}` : `${n.location.search || ""}${$}${k ? `?${k}` : ""}`;
|
|
692
718
|
}
|
|
693
719
|
function w() {
|
|
694
|
-
return new URLSearchParams(
|
|
720
|
+
return new URLSearchParams(c());
|
|
695
721
|
}
|
|
696
|
-
function g(
|
|
697
|
-
const k = new Set(Object.keys(
|
|
698
|
-
for (const $ of
|
|
699
|
-
const M =
|
|
700
|
-
|
|
722
|
+
function g(p) {
|
|
723
|
+
const k = new Set(Object.keys(v));
|
|
724
|
+
for (const $ of p.keys()) {
|
|
725
|
+
const M = p.getAll($);
|
|
726
|
+
v[$] = M.length > 1 ? M : p.get($) || "", k.delete($);
|
|
701
727
|
}
|
|
702
|
-
Array.from(k).forEach(($) => delete
|
|
728
|
+
Array.from(k).forEach(($) => delete v[$]);
|
|
703
729
|
}
|
|
704
|
-
const { pause: _, resume:
|
|
705
|
-
|
|
730
|
+
const { pause: _, resume: x } = Ho(
|
|
731
|
+
v,
|
|
706
732
|
() => {
|
|
707
|
-
const
|
|
708
|
-
Object.keys(
|
|
709
|
-
const $ =
|
|
710
|
-
Array.isArray($) ? $.forEach((M) =>
|
|
711
|
-
}), C(
|
|
733
|
+
const p = new URLSearchParams("");
|
|
734
|
+
Object.keys(v).forEach((k) => {
|
|
735
|
+
const $ = v[k];
|
|
736
|
+
Array.isArray($) ? $.forEach((M) => p.append(k, M)) : r && $ == null || i && !$ ? p.delete(k) : p.set(k, $);
|
|
737
|
+
}), C(p, !1);
|
|
712
738
|
},
|
|
713
739
|
{ deep: !0 }
|
|
714
740
|
);
|
|
715
|
-
function C(
|
|
716
|
-
_(), k && g(
|
|
741
|
+
function C(p, k) {
|
|
742
|
+
_(), k && g(p), m === "replace" ? n.history.replaceState(
|
|
717
743
|
n.history.state,
|
|
718
744
|
n.document.title,
|
|
719
|
-
n.location.pathname + p
|
|
745
|
+
n.location.pathname + h(p)
|
|
720
746
|
) : n.history.pushState(
|
|
721
747
|
n.history.state,
|
|
722
748
|
n.document.title,
|
|
723
|
-
n.location.pathname + p
|
|
724
|
-
),
|
|
749
|
+
n.location.pathname + h(p)
|
|
750
|
+
), x();
|
|
725
751
|
}
|
|
726
752
|
function z() {
|
|
727
|
-
|
|
753
|
+
s && C(w(), !0);
|
|
728
754
|
}
|
|
729
|
-
const
|
|
730
|
-
|
|
731
|
-
const
|
|
732
|
-
return
|
|
755
|
+
const N = { passive: !0 };
|
|
756
|
+
Ye(n, "popstate", z, N), e !== "history" && Ye(n, "hashchange", z, N);
|
|
757
|
+
const b = w();
|
|
758
|
+
return b.keys().next().value ? g(b) : Object.assign(v, o), v;
|
|
733
759
|
}
|
|
734
|
-
function
|
|
735
|
-
var i,
|
|
760
|
+
function ia(e, t, o, r = {}) {
|
|
761
|
+
var i, s, m;
|
|
736
762
|
const {
|
|
737
763
|
clone: n = !1,
|
|
738
|
-
passive:
|
|
739
|
-
eventName:
|
|
740
|
-
deep:
|
|
741
|
-
defaultValue:
|
|
764
|
+
passive: d = !1,
|
|
765
|
+
eventName: v,
|
|
766
|
+
deep: c = !1,
|
|
767
|
+
defaultValue: h,
|
|
742
768
|
shouldEmit: w
|
|
743
|
-
} = r, g = lt(), _ = o || g?.emit || ((i = g?.$emit) == null ? void 0 : i.bind(g)) || ((m = (
|
|
744
|
-
let
|
|
745
|
-
t || (t = "modelValue"),
|
|
746
|
-
const C = (
|
|
747
|
-
w ? w(
|
|
769
|
+
} = r, g = lt(), _ = o || g?.emit || ((i = g?.$emit) == null ? void 0 : i.bind(g)) || ((m = (s = g?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : m.bind(g?.proxy));
|
|
770
|
+
let x = v;
|
|
771
|
+
t || (t = "modelValue"), x = x || `update:${t.toString()}`;
|
|
772
|
+
const C = (b) => n ? typeof n == "function" ? n(b) : ra(b) : b, z = () => Ao(e[t]) ? C(e[t]) : h, N = (b) => {
|
|
773
|
+
w ? w(b) && _(x, b) : _(x, b);
|
|
748
774
|
};
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
775
|
+
if (d) {
|
|
776
|
+
const b = z(), p = G(b);
|
|
751
777
|
let k = !1;
|
|
752
|
-
return
|
|
778
|
+
return W(
|
|
753
779
|
() => e[t],
|
|
754
780
|
($) => {
|
|
755
|
-
k || (k = !0,
|
|
781
|
+
k || (k = !0, p.value = C($), xe(() => k = !1));
|
|
756
782
|
}
|
|
757
|
-
),
|
|
758
|
-
|
|
783
|
+
), W(
|
|
784
|
+
p,
|
|
759
785
|
($) => {
|
|
760
|
-
!k && ($ !== e[t] ||
|
|
786
|
+
!k && ($ !== e[t] || c) && N($);
|
|
761
787
|
},
|
|
762
|
-
{ deep:
|
|
763
|
-
),
|
|
788
|
+
{ deep: c }
|
|
789
|
+
), p;
|
|
764
790
|
} else
|
|
765
|
-
return
|
|
791
|
+
return T({
|
|
766
792
|
get() {
|
|
767
793
|
return z();
|
|
768
794
|
},
|
|
769
|
-
set(
|
|
770
|
-
|
|
795
|
+
set(b) {
|
|
796
|
+
N(b);
|
|
771
797
|
}
|
|
772
798
|
});
|
|
773
799
|
}
|
|
774
|
-
function
|
|
800
|
+
function na(e, t, o = {}) {
|
|
775
801
|
const r = {};
|
|
776
802
|
for (const i in e)
|
|
777
|
-
r[i] =
|
|
803
|
+
r[i] = ia(
|
|
778
804
|
e,
|
|
779
805
|
i,
|
|
780
806
|
t,
|
|
@@ -782,7 +808,7 @@ function ra(e, t, o = {}) {
|
|
|
782
808
|
);
|
|
783
809
|
return r;
|
|
784
810
|
}
|
|
785
|
-
const
|
|
811
|
+
const bt = 20, la = {
|
|
786
812
|
__name: "DataProvider",
|
|
787
813
|
props: {
|
|
788
814
|
locale: {
|
|
@@ -803,88 +829,88 @@ const ft = 20, oa = {
|
|
|
803
829
|
}
|
|
804
830
|
},
|
|
805
831
|
setup(e) {
|
|
806
|
-
const t = e, { timezone: o, locale: r } =
|
|
832
|
+
const t = e, { timezone: o, locale: r } = gr(t), { onError: i } = Qe(), s = Qt("history"), m = G(s.panel || Se), n = G(null), d = G(0), v = H({
|
|
807
833
|
firstGame: U,
|
|
808
834
|
lastGame: U
|
|
809
|
-
}),
|
|
835
|
+
}), c = H({
|
|
810
836
|
min: V(U, "YYYY-MM-DD"),
|
|
811
837
|
max: V(U, "YYYY-MM-DD")
|
|
812
838
|
}), {
|
|
813
|
-
state:
|
|
839
|
+
state: h,
|
|
814
840
|
isLoading: w,
|
|
815
841
|
execute: g
|
|
816
842
|
} = re({
|
|
817
843
|
options: {
|
|
818
844
|
path: "/v2/calendar",
|
|
819
845
|
apiKey: t.apiKey,
|
|
820
|
-
params:
|
|
846
|
+
params: T(() => ({
|
|
821
847
|
seasonId: t.seasonId,
|
|
822
|
-
firstDate:
|
|
823
|
-
lastDate:
|
|
848
|
+
firstDate: c.value.min,
|
|
849
|
+
lastDate: c.value.max
|
|
824
850
|
})),
|
|
825
851
|
resetOnExecute: !0
|
|
826
852
|
},
|
|
827
|
-
transform: (
|
|
853
|
+
transform: (p) => Eo(p, v),
|
|
828
854
|
onError: i
|
|
829
|
-
}), _ =
|
|
830
|
-
() =>
|
|
831
|
-
),
|
|
832
|
-
() =>
|
|
833
|
-
...
|
|
834
|
-
m.value ===
|
|
855
|
+
}), _ = T(
|
|
856
|
+
() => Ne(h.value).reverse(m.value === de).schedule(o.value, r.value).more(0, d.value * bt + bt).groupByDays().value()
|
|
857
|
+
), x = T(
|
|
858
|
+
() => Mo(
|
|
859
|
+
...Po.get(m.value)(v.value.firstGame, v.value.lastGame),
|
|
860
|
+
m.value === de,
|
|
835
861
|
r.value
|
|
836
862
|
)
|
|
837
863
|
);
|
|
838
|
-
|
|
864
|
+
W(
|
|
839
865
|
m,
|
|
840
|
-
async (
|
|
841
|
-
const { min: k, max: $, id: M } =
|
|
842
|
-
|
|
866
|
+
async (p) => {
|
|
867
|
+
const { min: k, max: $, id: M } = Le.get(p)(s.month);
|
|
868
|
+
c.value = { min: V(k, "YYYY-MM-DD"), max: V($, "YYYY-MM-DD") }, n.value = M, await g(), s.month || b();
|
|
843
869
|
},
|
|
844
870
|
{
|
|
845
871
|
immediate: !0
|
|
846
872
|
}
|
|
847
873
|
);
|
|
848
|
-
function C(
|
|
849
|
-
m.value =
|
|
874
|
+
function C(p) {
|
|
875
|
+
m.value = p, s.panel = p, d.value = 0, s.month = null;
|
|
850
876
|
}
|
|
851
|
-
function z(
|
|
852
|
-
const { min: k, max: $, id: M } =
|
|
853
|
-
n.value = M,
|
|
877
|
+
function z(p) {
|
|
878
|
+
const { min: k, max: $, id: M } = Le.get(m.value)(p.id);
|
|
879
|
+
n.value = M, s.month = M, c.value = {
|
|
854
880
|
min: V(k, "YYYY-MM-DD"),
|
|
855
881
|
max: V($, "YYYY-MM-DD")
|
|
856
|
-
},
|
|
882
|
+
}, d.value = 0, g();
|
|
857
883
|
}
|
|
858
|
-
function
|
|
859
|
-
|
|
884
|
+
function N() {
|
|
885
|
+
d.value += 1;
|
|
860
886
|
}
|
|
861
|
-
function
|
|
862
|
-
if (![
|
|
887
|
+
function b() {
|
|
888
|
+
if (![de, $e].includes(m.value))
|
|
863
889
|
return;
|
|
864
|
-
const { firstGame:
|
|
865
|
-
if (
|
|
866
|
-
const { min: $, max: M, id:
|
|
867
|
-
return
|
|
890
|
+
const { firstGame: p, lastGame: k } = v.value;
|
|
891
|
+
if (Ir(U, p)) {
|
|
892
|
+
const { min: $, max: M, id: R } = Le.get(m.value)(te(x.value)?.id);
|
|
893
|
+
return c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = R, g();
|
|
868
894
|
}
|
|
869
|
-
if (
|
|
870
|
-
const { min: $, max: M, id:
|
|
871
|
-
|
|
895
|
+
if (At(U, k)) {
|
|
896
|
+
const { min: $, max: M, id: R } = Le.get(m.value)(Er(x.value)?.id);
|
|
897
|
+
c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = R, g();
|
|
872
898
|
}
|
|
873
899
|
}
|
|
874
|
-
return (
|
|
900
|
+
return (p, k) => ke(p.$slots, "default", Ue(Ke({
|
|
875
901
|
today: a(U),
|
|
876
|
-
months:
|
|
902
|
+
months: x.value,
|
|
877
903
|
isLoading: a(w),
|
|
878
|
-
datesFilter:
|
|
904
|
+
datesFilter: c.value,
|
|
879
905
|
selectedMonth: n.value,
|
|
880
906
|
selectedPanel: m.value,
|
|
881
907
|
games: _.value,
|
|
882
|
-
more:
|
|
908
|
+
more: N,
|
|
883
909
|
setMonth: z,
|
|
884
910
|
changePanel: C
|
|
885
911
|
})));
|
|
886
912
|
}
|
|
887
|
-
},
|
|
913
|
+
}, sa = {
|
|
888
914
|
xmlns: "http://www.w3.org/2000/svg",
|
|
889
915
|
viewBox: "0 0 24 24",
|
|
890
916
|
fill: "none",
|
|
@@ -893,8 +919,8 @@ const ft = 20, oa = {
|
|
|
893
919
|
"stroke-linecap": "round",
|
|
894
920
|
"stroke-linejoin": "round"
|
|
895
921
|
};
|
|
896
|
-
function
|
|
897
|
-
return u(),
|
|
922
|
+
function Xt(e, t) {
|
|
923
|
+
return u(), y("svg", sa, [...t[0] || (t[0] = [
|
|
898
924
|
l("rect", {
|
|
899
925
|
x: "2",
|
|
900
926
|
y: "3",
|
|
@@ -917,27 +943,27 @@ function Jt(e, t) {
|
|
|
917
943
|
}, null, -1)
|
|
918
944
|
])]);
|
|
919
945
|
}
|
|
920
|
-
const
|
|
946
|
+
const ca = { render: Xt }, ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
921
947
|
__proto__: null,
|
|
922
|
-
default:
|
|
923
|
-
render:
|
|
924
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
948
|
+
default: ca,
|
|
949
|
+
render: Xt
|
|
950
|
+
}, Symbol.toStringTag, { value: "Module" })), da = {
|
|
925
951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
926
952
|
viewBox: "0 0 24 24"
|
|
927
953
|
};
|
|
928
|
-
function
|
|
929
|
-
return u(),
|
|
954
|
+
function Zt(e, t) {
|
|
955
|
+
return u(), y("svg", da, [...t[0] || (t[0] = [
|
|
930
956
|
l("path", {
|
|
931
957
|
fill: "currentColor",
|
|
932
958
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
933
959
|
}, null, -1)
|
|
934
960
|
])]);
|
|
935
961
|
}
|
|
936
|
-
const
|
|
962
|
+
const va = { render: Zt }, ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
937
963
|
__proto__: null,
|
|
938
|
-
default:
|
|
939
|
-
render:
|
|
940
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
964
|
+
default: va,
|
|
965
|
+
render: Zt
|
|
966
|
+
}, Symbol.toStringTag, { value: "Module" })), ha = {
|
|
941
967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
942
968
|
viewBox: "0 0 24 24",
|
|
943
969
|
fill: "none",
|
|
@@ -946,32 +972,32 @@ const sa = { render: Qt }, ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
946
972
|
"stroke-linecap": "round",
|
|
947
973
|
"stroke-linejoin": "round"
|
|
948
974
|
};
|
|
949
|
-
function
|
|
950
|
-
return u(),
|
|
975
|
+
function er(e, t) {
|
|
976
|
+
return u(), y("svg", ha, [...t[0] || (t[0] = [
|
|
951
977
|
l("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
952
978
|
])]);
|
|
953
979
|
}
|
|
954
|
-
const
|
|
980
|
+
const pa = { render: er }, ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
955
981
|
__proto__: null,
|
|
956
|
-
default:
|
|
957
|
-
render:
|
|
958
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
982
|
+
default: pa,
|
|
983
|
+
render: er
|
|
984
|
+
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
959
985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
960
986
|
viewBox: "0 0 24 24"
|
|
961
987
|
};
|
|
962
|
-
function
|
|
963
|
-
return u(),
|
|
988
|
+
function tr(e, t) {
|
|
989
|
+
return u(), y("svg", wa, [...t[0] || (t[0] = [
|
|
964
990
|
l("path", {
|
|
965
991
|
fill: "currentColor",
|
|
966
992
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
967
993
|
}, null, -1)
|
|
968
994
|
])]);
|
|
969
995
|
}
|
|
970
|
-
const
|
|
996
|
+
const fa = { render: tr }, ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
971
997
|
__proto__: null,
|
|
972
|
-
default:
|
|
973
|
-
render:
|
|
974
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
998
|
+
default: fa,
|
|
999
|
+
render: tr
|
|
1000
|
+
}, Symbol.toStringTag, { value: "Module" })), ya = {
|
|
975
1001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
976
1002
|
viewBox: "0 0 24 24",
|
|
977
1003
|
fill: "none",
|
|
@@ -980,16 +1006,16 @@ const ha = { render: Zt }, pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
980
1006
|
"stroke-linecap": "round",
|
|
981
1007
|
"stroke-linejoin": "round"
|
|
982
1008
|
};
|
|
983
|
-
function
|
|
984
|
-
return u(),
|
|
1009
|
+
function rr(e, t) {
|
|
1010
|
+
return u(), y("svg", ya, [...t[0] || (t[0] = [
|
|
985
1011
|
l("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
986
1012
|
])]);
|
|
987
1013
|
}
|
|
988
|
-
const
|
|
1014
|
+
const xa = { render: rr }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
989
1015
|
__proto__: null,
|
|
990
|
-
default:
|
|
991
|
-
render:
|
|
992
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1016
|
+
default: xa,
|
|
1017
|
+
render: rr
|
|
1018
|
+
}, Symbol.toStringTag, { value: "Module" })), ka = {
|
|
993
1019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
994
1020
|
viewBox: "0 0 24 24",
|
|
995
1021
|
fill: "none",
|
|
@@ -998,8 +1024,8 @@ const wa = { render: er }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
998
1024
|
"stroke-linecap": "round",
|
|
999
1025
|
"stroke-linejoin": "round"
|
|
1000
1026
|
};
|
|
1001
|
-
function
|
|
1002
|
-
return u(),
|
|
1027
|
+
function or(e, t) {
|
|
1028
|
+
return u(), y("svg", ka, [...t[0] || (t[0] = [
|
|
1003
1029
|
l("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1),
|
|
1004
1030
|
l("line", {
|
|
1005
1031
|
x1: "12",
|
|
@@ -1015,11 +1041,11 @@ function tr(e, t) {
|
|
|
1015
1041
|
}, null, -1)
|
|
1016
1042
|
])]);
|
|
1017
1043
|
}
|
|
1018
|
-
const
|
|
1044
|
+
const _a = { render: or }, za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1019
1045
|
__proto__: null,
|
|
1020
|
-
default:
|
|
1021
|
-
render:
|
|
1022
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1046
|
+
default: _a,
|
|
1047
|
+
render: or
|
|
1048
|
+
}, Symbol.toStringTag, { value: "Module" })), Sa = {
|
|
1023
1049
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1024
1050
|
viewBox: "0 0 24 24",
|
|
1025
1051
|
fill: "none",
|
|
@@ -1028,47 +1054,47 @@ const fa = { render: tr }, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1028
1054
|
"stroke-linecap": "round",
|
|
1029
1055
|
"stroke-linejoin": "round"
|
|
1030
1056
|
};
|
|
1031
|
-
function
|
|
1032
|
-
return u(),
|
|
1057
|
+
function ar(e, t) {
|
|
1058
|
+
return u(), y("svg", Sa, [...t[0] || (t[0] = [
|
|
1033
1059
|
l("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1),
|
|
1034
1060
|
l("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1035
1061
|
])]);
|
|
1036
1062
|
}
|
|
1037
|
-
const
|
|
1063
|
+
const $a = { render: ar }, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1038
1064
|
__proto__: null,
|
|
1039
|
-
default:
|
|
1040
|
-
render:
|
|
1041
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1065
|
+
default: $a,
|
|
1066
|
+
render: ar
|
|
1067
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = {
|
|
1042
1068
|
class: "text-muted text-sm text-center",
|
|
1043
1069
|
style: { "grid-area": "name" }
|
|
1044
|
-
},
|
|
1070
|
+
}, Na = ["href"], Ia = ["href"], Ea = {
|
|
1045
1071
|
class: "text-muted text-sm text-center",
|
|
1046
1072
|
style: { "grid-area": "date" }
|
|
1047
|
-
},
|
|
1073
|
+
}, Pa = {
|
|
1048
1074
|
class: "responsive-team-name",
|
|
1049
1075
|
style: { "grid-area": "home-team" }
|
|
1050
|
-
},
|
|
1076
|
+
}, Da = { class: "text-end text-highlighted font-bold" }, La = { class: "team-name-short" }, Ma = { class: "team-name-long" }, Aa = { style: { "grid-area": "home-team-logo" } }, Oa = {
|
|
1051
1077
|
class: "text-center",
|
|
1052
1078
|
style: { "grid-area": "game-data" }
|
|
1053
|
-
},
|
|
1079
|
+
}, Ra = {
|
|
1054
1080
|
key: 0,
|
|
1055
1081
|
class: "text-xl font-bold text-highlighted"
|
|
1056
|
-
},
|
|
1082
|
+
}, ja = ["href", "target"], Ga = {
|
|
1057
1083
|
key: 0,
|
|
1058
1084
|
class: "text-xl font-bold"
|
|
1059
|
-
},
|
|
1085
|
+
}, Ya = {
|
|
1060
1086
|
key: 1,
|
|
1061
1087
|
class: "text-xl font-bold"
|
|
1062
|
-
},
|
|
1088
|
+
}, Ba = {
|
|
1063
1089
|
key: 2,
|
|
1064
1090
|
class: "text-xl font-bold"
|
|
1065
|
-
},
|
|
1091
|
+
}, Fa = {
|
|
1066
1092
|
key: 1,
|
|
1067
1093
|
class: "text-sm text-muted is-whitespace-nowrap"
|
|
1068
|
-
},
|
|
1094
|
+
}, Ua = { style: { "grid-area": "away-team-logo" } }, Ka = {
|
|
1069
1095
|
class: "responsive-team-name",
|
|
1070
1096
|
style: { "grid-area": "away-team" }
|
|
1071
|
-
},
|
|
1097
|
+
}, Va = { class: "text-highlighted font-bold" }, qa = { key: 0 }, Ha = { class: "team-name-short" }, Wa = { class: "team-name-long" }, Ja = {
|
|
1072
1098
|
__name: "Item",
|
|
1073
1099
|
props: {
|
|
1074
1100
|
game: {
|
|
@@ -1094,80 +1120,83 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1094
1120
|
},
|
|
1095
1121
|
setup(e) {
|
|
1096
1122
|
const { t } = ce();
|
|
1097
|
-
return (o, r) => (u(),
|
|
1123
|
+
return (o, r) => (u(), y("div", {
|
|
1098
1124
|
class: oe(["card-item", { "is-optional": e.game.optional }])
|
|
1099
1125
|
}, [
|
|
1100
|
-
l("div",
|
|
1126
|
+
l("div", Ta, [
|
|
1101
1127
|
l("a", {
|
|
1102
1128
|
href: e.gameLink(e.game)
|
|
1103
|
-
},
|
|
1104
|
-
q(" - " +
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
l("div", Ta, [
|
|
1122
|
-
l("div", Na, [
|
|
1123
|
-
l("span", Ia, b(e.game.homeTeam.shortName), 1),
|
|
1124
|
-
l("span", Ea, b(e.game.homeTeam.longName), 1)
|
|
1129
|
+
}, f(e.game.gameName), 9, Na),
|
|
1130
|
+
q(" - " + f(e.game.gameNames) + " ", 1),
|
|
1131
|
+
l("div", null, [
|
|
1132
|
+
q(f(e.game.location.locationName) + " ", 1),
|
|
1133
|
+
e.game.broadcast ? (u(), y(B, { key: 0 }, [
|
|
1134
|
+
r[0] || (r[0] = q(" - ", -1)),
|
|
1135
|
+
S(a(ma), { height: "16" }),
|
|
1136
|
+
r[1] || (r[1] = q(" ", -1))
|
|
1137
|
+
], 64)) : E("", !0),
|
|
1138
|
+
e.game.video ? (u(), y(B, { key: 1 }, [
|
|
1139
|
+
r[2] || (r[2] = q(" - ", -1)),
|
|
1140
|
+
l("a", {
|
|
1141
|
+
href: e.game.video,
|
|
1142
|
+
target: "_blank"
|
|
1143
|
+
}, [
|
|
1144
|
+
S(a(Ca), { height: "18" })
|
|
1145
|
+
], 8, Ia)
|
|
1146
|
+
], 64)) : E("", !0)
|
|
1125
1147
|
])
|
|
1126
1148
|
]),
|
|
1149
|
+
l("div", Ea, f(a(V)(e.game.gameDate, "L LT", null, e.locale)) + " (" + f(a(He)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1127
1150
|
l("div", Pa, [
|
|
1128
|
-
(
|
|
1151
|
+
l("div", Da, [
|
|
1152
|
+
l("span", La, f(e.game.homeTeam.shortName), 1),
|
|
1153
|
+
l("span", Ma, f(e.game.homeTeam.longName), 1)
|
|
1154
|
+
])
|
|
1155
|
+
]),
|
|
1156
|
+
l("div", Aa, [
|
|
1157
|
+
(u(), D(a(ne), {
|
|
1129
1158
|
key: e.game.homeTeam.id,
|
|
1130
1159
|
class: "is-logo-image",
|
|
1131
1160
|
src: e.game.homeTeam.logo
|
|
1132
1161
|
}, null, 8, ["src"]))
|
|
1133
1162
|
]),
|
|
1134
|
-
l("div",
|
|
1135
|
-
e.game.gameStatus === 0 ? (u(),
|
|
1163
|
+
l("div", Oa, [
|
|
1164
|
+
e.game.gameStatus === 0 ? (u(), y("span", Ra, " - : - ")) : E("", !0),
|
|
1136
1165
|
l("a", {
|
|
1137
1166
|
href: e.gameLink(e.game),
|
|
1138
1167
|
target: e.target,
|
|
1139
1168
|
class: oe(["game-result", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1140
1169
|
}, [
|
|
1141
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(),
|
|
1142
|
-
e.game.gameStatus === 3 ? (u(),
|
|
1143
|
-
e.game.gameStatus === 4 ? (u(),
|
|
1144
|
-
], 10,
|
|
1145
|
-
e.game.gameStatus > 0 ? (u(),
|
|
1170
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), y("span", Ga, f(e.game.homeTeamScore) + " : " + f(e.game.awayTeamScore), 1)) : E("", !0),
|
|
1171
|
+
e.game.gameStatus === 3 ? (u(), y("span", Ya, f(a(t)("game.status.jury")), 1)) : E("", !0),
|
|
1172
|
+
e.game.gameStatus === 4 ? (u(), y("span", Ba, f(a(t)("game.status.delayed")), 1)) : E("", !0)
|
|
1173
|
+
], 10, ja),
|
|
1174
|
+
e.game.gameStatus > 0 ? (u(), y("div", Fa, f(e.game.periodResults), 1)) : E("", !0)
|
|
1146
1175
|
]),
|
|
1147
|
-
l("div",
|
|
1148
|
-
(u(),
|
|
1176
|
+
l("div", Ua, [
|
|
1177
|
+
(u(), D(a(ne), {
|
|
1149
1178
|
key: e.game.awayTeam.id,
|
|
1150
1179
|
src: e.game.awayTeam.logo
|
|
1151
1180
|
}, null, 8, ["src"]))
|
|
1152
1181
|
]),
|
|
1153
|
-
l("div",
|
|
1154
|
-
l("div",
|
|
1155
|
-
Array.isArray(e.game.awayTeam) ? (u(),
|
|
1156
|
-
l("span",
|
|
1157
|
-
l("span",
|
|
1182
|
+
l("div", Ka, [
|
|
1183
|
+
l("div", Va, [
|
|
1184
|
+
Array.isArray(e.game.awayTeam) ? (u(), y("span", qa, "Torna")) : E("", !0),
|
|
1185
|
+
l("span", Ha, f(e.game.awayTeam.shortName), 1),
|
|
1186
|
+
l("span", Wa, f(e.game.awayTeam.longName), 1)
|
|
1158
1187
|
])
|
|
1159
1188
|
])
|
|
1160
1189
|
], 2));
|
|
1161
1190
|
}
|
|
1162
|
-
}, we = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Ha = "@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}}", Wa = "@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: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", 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) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', be = (e, t) => {
|
|
1191
|
+
}, ge = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Qa = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Xa = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Za = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", ei = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", ti = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', we = (e, t) => {
|
|
1163
1192
|
const o = e.__vccOpts || e;
|
|
1164
1193
|
for (const [r, i] of t)
|
|
1165
1194
|
o[r] = i;
|
|
1166
1195
|
return o;
|
|
1167
|
-
},
|
|
1196
|
+
}, ri = { class: "tabs underlined mb-md" }, oi = ["aria-label"], ai = ["aria-selected", "onClick"], ii = ["aria-selected", "onClick"], ni = ["aria-selected", "onClick"], li = ["aria-selected", "onClick"], si = { class: "tabs filled mb-md" }, ci = ["aria-label"], mi = ["aria-selected", "disabled", "onClick"], di = {
|
|
1168
1197
|
key: 0,
|
|
1169
1198
|
class: "text-center text-muted"
|
|
1170
|
-
},
|
|
1199
|
+
}, vi = ["data-gamedate"], ui = { class: "block h6 text-highlighted mt-xl mb-md" }, hi = { class: "card" }, pi = ["onClick"], gi = {
|
|
1171
1200
|
__name: "Calendar.ce",
|
|
1172
1201
|
props: {
|
|
1173
1202
|
locale: {
|
|
@@ -1182,114 +1211,114 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1182
1211
|
type: String,
|
|
1183
1212
|
default: ""
|
|
1184
1213
|
},
|
|
1185
|
-
...
|
|
1214
|
+
...Nr
|
|
1186
1215
|
},
|
|
1187
1216
|
setup(e) {
|
|
1188
|
-
const t = e, o = { en:
|
|
1189
|
-
return (m, n) => (u(),
|
|
1217
|
+
const t = e, o = { en: he, hu: pe }, r = G(We()), i = T(() => t.isGameTargetExternal ? "_blank" : "_self"), s = (m) => Je(t.externalGameResolver || "/game/id/{id}", m);
|
|
1218
|
+
return (m, n) => (u(), D(a(ue), {
|
|
1190
1219
|
locale: t.locale,
|
|
1191
1220
|
messages: o
|
|
1192
1221
|
}, {
|
|
1193
|
-
default:
|
|
1194
|
-
S(a(
|
|
1195
|
-
default:
|
|
1196
|
-
|
|
1222
|
+
default: P(({ t: d }) => [
|
|
1223
|
+
S(a(Ve), null, {
|
|
1224
|
+
default: P(({ error: v, hasError: c }) => [
|
|
1225
|
+
c ? (u(), D(a(Te), {
|
|
1197
1226
|
key: 0,
|
|
1198
|
-
error:
|
|
1199
|
-
}, null, 8, ["error"])) :
|
|
1200
|
-
S(
|
|
1227
|
+
error: v
|
|
1228
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
1229
|
+
S(la, {
|
|
1201
1230
|
locale: t.locale,
|
|
1202
1231
|
timezone: r.value,
|
|
1203
1232
|
"season-id": e.seasonId,
|
|
1204
1233
|
"api-key": e.apiKey
|
|
1205
1234
|
}, {
|
|
1206
|
-
default:
|
|
1207
|
-
games:
|
|
1235
|
+
default: P(({
|
|
1236
|
+
games: h,
|
|
1208
1237
|
months: w,
|
|
1209
1238
|
isLoading: g,
|
|
1210
1239
|
selectedPanel: _,
|
|
1211
|
-
selectedMonth:
|
|
1240
|
+
selectedMonth: x,
|
|
1212
1241
|
more: C,
|
|
1213
1242
|
setMonth: z,
|
|
1214
|
-
changePanel:
|
|
1243
|
+
changePanel: N
|
|
1215
1244
|
}) => [
|
|
1216
|
-
l("nav",
|
|
1245
|
+
l("nav", ri, [
|
|
1217
1246
|
l("div", {
|
|
1218
1247
|
id: "top",
|
|
1219
1248
|
role: "tablist",
|
|
1220
|
-
"aria-label":
|
|
1249
|
+
"aria-label": d("selection.sections"),
|
|
1221
1250
|
class: "flex overflow-x-auto"
|
|
1222
1251
|
}, [
|
|
1223
1252
|
l("button", {
|
|
1224
1253
|
role: "tab",
|
|
1225
1254
|
type: "button",
|
|
1226
|
-
"aria-selected": _ === a(
|
|
1227
|
-
onClick: (
|
|
1228
|
-
},
|
|
1255
|
+
"aria-selected": _ === a(de),
|
|
1256
|
+
onClick: (b) => N(a(de))
|
|
1257
|
+
}, f(d("calendar.gamesPlayed")), 9, ai),
|
|
1229
1258
|
l("button", {
|
|
1230
1259
|
role: "tab",
|
|
1231
1260
|
type: "button",
|
|
1232
1261
|
"aria-selected": _ === a(Se),
|
|
1233
|
-
onClick: (
|
|
1234
|
-
},
|
|
1262
|
+
onClick: (b) => N(a(Se))
|
|
1263
|
+
}, f(d("calendar.todaysGames")), 9, ii),
|
|
1235
1264
|
l("button", {
|
|
1236
1265
|
role: "tab",
|
|
1237
1266
|
type: "button",
|
|
1238
1267
|
"aria-selected": _ === a($e),
|
|
1239
|
-
onClick: (
|
|
1240
|
-
},
|
|
1268
|
+
onClick: (b) => N(a($e))
|
|
1269
|
+
}, f(d("calendar.nextGames")), 9, ni),
|
|
1241
1270
|
l("button", {
|
|
1242
1271
|
role: "tab",
|
|
1243
1272
|
type: "button",
|
|
1244
|
-
"aria-selected": _ === a(
|
|
1245
|
-
onClick: (
|
|
1246
|
-
},
|
|
1247
|
-
], 8,
|
|
1273
|
+
"aria-selected": _ === a(je),
|
|
1274
|
+
onClick: (b) => N(a(je))
|
|
1275
|
+
}, f(d("calendar.weekGames")), 9, li)
|
|
1276
|
+
], 8, oi)
|
|
1248
1277
|
]),
|
|
1249
|
-
l("nav",
|
|
1278
|
+
l("nav", si, [
|
|
1250
1279
|
l("div", {
|
|
1251
1280
|
role: "tablist",
|
|
1252
|
-
"aria-label":
|
|
1281
|
+
"aria-label": d("selection.sections")
|
|
1253
1282
|
}, [
|
|
1254
|
-
(u(!0),
|
|
1255
|
-
key:
|
|
1283
|
+
(u(!0), y(B, null, ee(w, (b) => (u(), y("button", {
|
|
1284
|
+
key: b.id,
|
|
1256
1285
|
type: "button",
|
|
1257
|
-
"aria-selected":
|
|
1286
|
+
"aria-selected": x === b.id,
|
|
1258
1287
|
disabled: g,
|
|
1259
|
-
onClick: (
|
|
1260
|
-
}, b
|
|
1261
|
-
], 8,
|
|
1288
|
+
onClick: (p) => z(b)
|
|
1289
|
+
}, f(b.name), 9, mi))), 128))
|
|
1290
|
+
], 8, ci)
|
|
1262
1291
|
]),
|
|
1263
|
-
|
|
1292
|
+
h.totalItems === 0 && !g ? (u(), y("div", di, f(d("calendar.noGame")), 1)) : E("", !0),
|
|
1264
1293
|
l("div", null, [
|
|
1265
|
-
g ? (u(),
|
|
1266
|
-
(u(!0),
|
|
1267
|
-
key:
|
|
1268
|
-
"data-gamedate":
|
|
1294
|
+
g ? (u(), D(a(qe), { key: 0 })) : E("", !0),
|
|
1295
|
+
(u(!0), y(B, null, ee(h.rows, (b, p) => (u(), y("div", {
|
|
1296
|
+
key: p,
|
|
1297
|
+
"data-gamedate": p
|
|
1269
1298
|
}, [
|
|
1270
|
-
l("span",
|
|
1271
|
-
l("div",
|
|
1272
|
-
(u(!0),
|
|
1299
|
+
l("span", ui, f(a(V)(new Date(p), "LL dddd", r.value, e.locale)), 1),
|
|
1300
|
+
l("div", hi, [
|
|
1301
|
+
(u(!0), y(B, null, ee(b, (k) => (u(), D(Ja, {
|
|
1273
1302
|
key: k.id,
|
|
1274
1303
|
game: k,
|
|
1275
1304
|
locale: e.locale,
|
|
1276
1305
|
timezone: r.value,
|
|
1277
|
-
"game-link":
|
|
1306
|
+
"game-link": s,
|
|
1278
1307
|
target: i.value
|
|
1279
1308
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1280
1309
|
])
|
|
1281
|
-
], 8,
|
|
1310
|
+
], 8, vi))), 128))
|
|
1282
1311
|
]),
|
|
1283
|
-
!g &&
|
|
1312
|
+
!g && h.currentItems < h.totalItems ? (u(), D(a($r), {
|
|
1284
1313
|
key: 1,
|
|
1285
1314
|
options: { rootMargin: "400px" },
|
|
1286
1315
|
onIntersect: C
|
|
1287
1316
|
}, {
|
|
1288
|
-
default:
|
|
1289
|
-
l("button", { onClick: C },
|
|
1317
|
+
default: P(() => [
|
|
1318
|
+
l("button", { onClick: C }, f(d("calendar.more")), 9, pi)
|
|
1290
1319
|
]),
|
|
1291
1320
|
_: 2
|
|
1292
|
-
}, 1032, ["onIntersect"])) :
|
|
1321
|
+
}, 1032, ["onIntersect"])) : E("", !0)
|
|
1293
1322
|
]),
|
|
1294
1323
|
_: 2
|
|
1295
1324
|
}, 1032, ["locale", "timezone", "season-id", "api-key"])
|
|
@@ -1300,7 +1329,7 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1300
1329
|
_: 1
|
|
1301
1330
|
}, 8, ["locale"]));
|
|
1302
1331
|
}
|
|
1303
|
-
},
|
|
1332
|
+
}, wi = /* @__PURE__ */ we(gi, [["styles", [ge, Qa, Xa, Za, ei, ti]]]), fi = { class: "" }, bi = ["value"], yi = { class: "tabs underlined mb-md" }, xi = ["aria-label"], ki = ["aria-selected", "onClick"], ir = {
|
|
1304
1333
|
__name: "SeasonSelector",
|
|
1305
1334
|
props: {
|
|
1306
1335
|
seasons: {
|
|
@@ -1322,7 +1351,7 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1322
1351
|
},
|
|
1323
1352
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
1324
1353
|
setup(e, { emit: t }) {
|
|
1325
|
-
const o = e, r = t, { t: i } = ce(),
|
|
1354
|
+
const o = e, r = t, { t: i } = ce(), s = T({
|
|
1326
1355
|
get() {
|
|
1327
1356
|
return o.championshipId;
|
|
1328
1357
|
},
|
|
@@ -1333,24 +1362,24 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1333
1362
|
function m(n) {
|
|
1334
1363
|
r("onChangeSection", n);
|
|
1335
1364
|
}
|
|
1336
|
-
return (n,
|
|
1337
|
-
l("div",
|
|
1338
|
-
S(a(
|
|
1365
|
+
return (n, d) => (u(), y(B, null, [
|
|
1366
|
+
l("div", fi, [
|
|
1367
|
+
S(a(_e), {
|
|
1339
1368
|
label: a(i)("selection.season"),
|
|
1340
1369
|
name: "season",
|
|
1341
1370
|
class: "mb-md"
|
|
1342
1371
|
}, {
|
|
1343
|
-
default:
|
|
1372
|
+
default: P(() => [
|
|
1344
1373
|
S(a(rt), {
|
|
1345
1374
|
id: "season",
|
|
1346
|
-
modelValue:
|
|
1347
|
-
"onUpdate:modelValue":
|
|
1375
|
+
modelValue: s.value,
|
|
1376
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => s.value = v)
|
|
1348
1377
|
}, {
|
|
1349
|
-
default:
|
|
1350
|
-
(u(!0),
|
|
1351
|
-
key:
|
|
1352
|
-
value:
|
|
1353
|
-
},
|
|
1378
|
+
default: P(() => [
|
|
1379
|
+
(u(!0), y(B, null, ee(e.seasons, (v) => (u(), y("option", {
|
|
1380
|
+
key: v.championshipId,
|
|
1381
|
+
value: v.championshipId
|
|
1382
|
+
}, f(v.seasonName), 9, bi))), 128))
|
|
1354
1383
|
]),
|
|
1355
1384
|
_: 1
|
|
1356
1385
|
}, 8, ["modelValue"])
|
|
@@ -1358,76 +1387,76 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1358
1387
|
_: 1
|
|
1359
1388
|
}, 8, ["label"])
|
|
1360
1389
|
]),
|
|
1361
|
-
l("nav",
|
|
1390
|
+
l("nav", yi, [
|
|
1362
1391
|
l("div", {
|
|
1363
1392
|
role: "tablist",
|
|
1364
1393
|
"aria-label": a(i)("selection.sections")
|
|
1365
1394
|
}, [
|
|
1366
|
-
(u(!0),
|
|
1367
|
-
key:
|
|
1395
|
+
(u(!0), y(B, null, ee(e.sections, (v) => (u(), y("button", {
|
|
1396
|
+
key: v.phaseId,
|
|
1368
1397
|
role: "tab",
|
|
1369
|
-
"aria-selected":
|
|
1370
|
-
onClick: (
|
|
1371
|
-
},
|
|
1372
|
-
], 8,
|
|
1398
|
+
"aria-selected": v.sectionId === e.sectionId,
|
|
1399
|
+
onClick: (c) => m(v)
|
|
1400
|
+
}, f(v.sectionName), 9, ki))), 128))
|
|
1401
|
+
], 8, xi)
|
|
1373
1402
|
])
|
|
1374
1403
|
], 64));
|
|
1375
1404
|
}
|
|
1376
|
-
},
|
|
1377
|
-
function
|
|
1378
|
-
const r =
|
|
1405
|
+
}, ze = "schedule", et = "standings", me = "players", Ae = "teams";
|
|
1406
|
+
function _i(e, t, o = null) {
|
|
1407
|
+
const r = Ot(e);
|
|
1379
1408
|
t.championships = r, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1380
|
-
const i =
|
|
1381
|
-
t.phaseId =
|
|
1409
|
+
const i = Rt(r?.[0]?.phases ?? []), s = i.findIndex((m) => m.phaseId === Number(o));
|
|
1410
|
+
t.phaseId = s > -1 ? Number(o) : i[0]?.phaseId;
|
|
1382
1411
|
}
|
|
1383
|
-
const
|
|
1412
|
+
const zi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1384
1413
|
api: "/v2/games-list",
|
|
1385
|
-
columns: () =>
|
|
1414
|
+
columns: () => qt,
|
|
1386
1415
|
sort: {}
|
|
1387
1416
|
}).set("standings", {
|
|
1388
1417
|
api: "/v2/standings",
|
|
1389
|
-
columns: (e) => e ?
|
|
1418
|
+
columns: (e) => e ? oo : ao,
|
|
1390
1419
|
sort: {}
|
|
1391
1420
|
}).set("points", {
|
|
1392
1421
|
api: "/v2/players-stats",
|
|
1393
|
-
columns: () =>
|
|
1422
|
+
columns: () => De,
|
|
1394
1423
|
sort: {
|
|
1395
1424
|
sortTarget: "points",
|
|
1396
|
-
orders: [{ target: "points", direction:
|
|
1425
|
+
orders: [{ target: "points", direction: Q }]
|
|
1397
1426
|
}
|
|
1398
1427
|
}).set("goals", {
|
|
1399
1428
|
api: "/v2/players-stats",
|
|
1400
|
-
columns: () =>
|
|
1429
|
+
columns: () => De,
|
|
1401
1430
|
sort: {
|
|
1402
1431
|
sortTarget: "goals",
|
|
1403
1432
|
orders: [
|
|
1404
|
-
{ target: "goals", direction:
|
|
1405
|
-
{ target: "assists", direction:
|
|
1433
|
+
{ target: "goals", direction: Q },
|
|
1434
|
+
{ target: "assists", direction: Q }
|
|
1406
1435
|
]
|
|
1407
1436
|
}
|
|
1408
1437
|
}).set("assists", {
|
|
1409
1438
|
api: "/v2/players-stats",
|
|
1410
|
-
columns: () =>
|
|
1439
|
+
columns: () => De,
|
|
1411
1440
|
sort: {
|
|
1412
1441
|
sortTarget: "assists",
|
|
1413
1442
|
orders: [
|
|
1414
|
-
{ target: "assists", direction:
|
|
1415
|
-
{ target: "goals", direction:
|
|
1443
|
+
{ target: "assists", direction: Q },
|
|
1444
|
+
{ target: "goals", direction: Q }
|
|
1416
1445
|
]
|
|
1417
1446
|
}
|
|
1418
1447
|
}).set("plusminus", {
|
|
1419
1448
|
api: "/v2/players-stats",
|
|
1420
|
-
columns: () =>
|
|
1449
|
+
columns: () => De,
|
|
1421
1450
|
sort: {
|
|
1422
1451
|
sortTarget: "plusMinus",
|
|
1423
|
-
orders: [{ target: "plusMinus", direction:
|
|
1452
|
+
orders: [{ target: "plusMinus", direction: Q }]
|
|
1424
1453
|
}
|
|
1425
1454
|
}).set("playerspenalties", {
|
|
1426
1455
|
api: "/v2/players-penalty",
|
|
1427
|
-
columns: () =>
|
|
1456
|
+
columns: () => io,
|
|
1428
1457
|
sort: {
|
|
1429
1458
|
sortTarget: "pim",
|
|
1430
|
-
orders: [{ target: "pim", direction:
|
|
1459
|
+
orders: [{ target: "pim", direction: Q }]
|
|
1431
1460
|
}
|
|
1432
1461
|
}).set("goalies", {
|
|
1433
1462
|
api: "/v2/players-goalie",
|
|
@@ -1435,7 +1464,7 @@ const yi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1435
1464
|
columns: () => ht,
|
|
1436
1465
|
sort: {
|
|
1437
1466
|
sortTarget: "svsPercent",
|
|
1438
|
-
orders: [{ target: "svsPercent", direction:
|
|
1467
|
+
orders: [{ target: "svsPercent", direction: Q }]
|
|
1439
1468
|
}
|
|
1440
1469
|
}).set("goaliesunderlimit", {
|
|
1441
1470
|
api: "/v2/players-goalie",
|
|
@@ -1443,35 +1472,35 @@ const yi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1443
1472
|
columns: () => ht,
|
|
1444
1473
|
sort: {
|
|
1445
1474
|
sortTarget: "svsPercent",
|
|
1446
|
-
orders: [{ target: "svsPercent", direction:
|
|
1475
|
+
orders: [{ target: "svsPercent", direction: Q }]
|
|
1447
1476
|
}
|
|
1448
1477
|
}).set("teamFairplay", {
|
|
1449
1478
|
api: "/v2/team-fairplay",
|
|
1450
|
-
columns: () =>
|
|
1479
|
+
columns: () => no,
|
|
1451
1480
|
sort: {
|
|
1452
1481
|
sortTarget: "pim",
|
|
1453
|
-
orders: [{ target: "pim", direction:
|
|
1482
|
+
orders: [{ target: "pim", direction: Q }]
|
|
1454
1483
|
}
|
|
1455
1484
|
}).set("teamPenaltiKilling", {
|
|
1456
1485
|
api: "/v2/team-powerplay",
|
|
1457
|
-
columns: () =>
|
|
1486
|
+
columns: () => lo,
|
|
1458
1487
|
sort: {
|
|
1459
1488
|
sortTarget: "pkPercent",
|
|
1460
|
-
orders: [{ target: "pkPercent", direction:
|
|
1489
|
+
orders: [{ target: "pkPercent", direction: Q }]
|
|
1461
1490
|
}
|
|
1462
1491
|
}).set("teamPowerplay", {
|
|
1463
1492
|
api: "/v2/team-powerplay",
|
|
1464
|
-
columns: () =>
|
|
1493
|
+
columns: () => so,
|
|
1465
1494
|
sort: {
|
|
1466
1495
|
sortTarget: "ppPercent",
|
|
1467
|
-
orders: [{ target: "ppPercent", direction:
|
|
1496
|
+
orders: [{ target: "ppPercent", direction: Q }]
|
|
1468
1497
|
}
|
|
1469
1498
|
}).set("teamScoringEfficiency", {
|
|
1470
1499
|
api: "/v2/team-scoring-efficiency",
|
|
1471
|
-
columns: () =>
|
|
1500
|
+
columns: () => co,
|
|
1472
1501
|
sort: {
|
|
1473
1502
|
sortTarget: "sp",
|
|
1474
|
-
orders: [{ target: "sp", direction:
|
|
1503
|
+
orders: [{ target: "sp", direction: Q }]
|
|
1475
1504
|
}
|
|
1476
1505
|
});
|
|
1477
1506
|
function yt(e) {
|
|
@@ -1530,12 +1559,13 @@ function xt(e) {
|
|
|
1530
1559
|
}
|
|
1531
1560
|
];
|
|
1532
1561
|
}
|
|
1533
|
-
|
|
1562
|
+
const Si = (e, t) => Pr((o) => e.includes(o.value), t);
|
|
1563
|
+
function $i(e, t) {
|
|
1534
1564
|
if (e.length === 0)
|
|
1535
|
-
throw new
|
|
1536
|
-
t.seasons =
|
|
1565
|
+
throw new jt(Re.message, Re.options);
|
|
1566
|
+
t.seasons = Gt(e), t.championshipId || (t.championshipId = te(t.seasons).championshipId);
|
|
1537
1567
|
}
|
|
1538
|
-
const
|
|
1568
|
+
const Ci = {
|
|
1539
1569
|
__name: "DataProvider",
|
|
1540
1570
|
props: {
|
|
1541
1571
|
championshipName: {
|
|
@@ -1573,10 +1603,14 @@ const ki = {
|
|
|
1573
1603
|
externalPlayerResolver: {
|
|
1574
1604
|
type: [String, Function],
|
|
1575
1605
|
default: ""
|
|
1606
|
+
},
|
|
1607
|
+
isGoalieStatsDisabled: {
|
|
1608
|
+
type: Boolean,
|
|
1609
|
+
default: !1
|
|
1576
1610
|
}
|
|
1577
1611
|
},
|
|
1578
1612
|
setup(e) {
|
|
1579
|
-
const t = e, o =
|
|
1613
|
+
const t = e, o = Qt("history"), r = se({
|
|
1580
1614
|
loading: !1,
|
|
1581
1615
|
seasons: [],
|
|
1582
1616
|
championshipId: Number(o.championshipId) || 0,
|
|
@@ -1585,110 +1619,113 @@ const ki = {
|
|
|
1585
1619
|
selectedChampionshipId: null,
|
|
1586
1620
|
sections: [],
|
|
1587
1621
|
section: o.section || null,
|
|
1588
|
-
selectedPanel:
|
|
1622
|
+
selectedPanel: ze,
|
|
1589
1623
|
api: "/v2/games-list",
|
|
1590
1624
|
apiParams: {},
|
|
1591
|
-
columns:
|
|
1625
|
+
columns: qt,
|
|
1592
1626
|
sort: null,
|
|
1593
1627
|
report: "points"
|
|
1594
|
-
}), i = Ct(t, "timezone"),
|
|
1628
|
+
}), i = Ct(t, "timezone"), s = G(""), { onError: m } = Qe(), { sort: n, change: d } = Qr({
|
|
1595
1629
|
sortTarget: "",
|
|
1596
1630
|
orders: []
|
|
1597
|
-
}), { page:
|
|
1631
|
+
}), { page: v, change: c } = Vt(), { t: h } = ce(), { isLoading: w, execute: g } = re({
|
|
1598
1632
|
options: {
|
|
1599
1633
|
path: "/v2/championship-seasons",
|
|
1600
1634
|
apiKey: t.apiKey,
|
|
1601
1635
|
params: { championshipName: t.championshipName }
|
|
1602
1636
|
},
|
|
1603
|
-
transform: (
|
|
1637
|
+
transform: (L) => $i(L, r),
|
|
1604
1638
|
onError: m
|
|
1605
|
-
}), { isLoading: _, execute:
|
|
1639
|
+
}), { isLoading: _, execute: x } = re({
|
|
1606
1640
|
options: {
|
|
1607
1641
|
path: "/v2/championship-sections",
|
|
1608
1642
|
apiKey: t.apiKey,
|
|
1609
|
-
params:
|
|
1643
|
+
params: T(() => ({ championshipId: r.championshipId }))
|
|
1610
1644
|
},
|
|
1611
|
-
transform: (
|
|
1645
|
+
transform: (L) => _i(L, r, t.initialPhaseId),
|
|
1612
1646
|
onError: m
|
|
1613
1647
|
}), {
|
|
1614
1648
|
isLoading: C,
|
|
1615
1649
|
state: z,
|
|
1616
|
-
execute:
|
|
1650
|
+
execute: N
|
|
1617
1651
|
} = re({
|
|
1618
1652
|
options: {
|
|
1619
|
-
path:
|
|
1653
|
+
path: T(() => r.api),
|
|
1620
1654
|
apiKey: t.apiKey,
|
|
1621
1655
|
resetOnExecute: !0,
|
|
1622
|
-
params:
|
|
1656
|
+
params: T(() => ({ championshipId: r.championshipId, phaseId: r.phaseId, ...r.apiParams }))
|
|
1623
1657
|
},
|
|
1624
|
-
transform: (
|
|
1658
|
+
transform: (L) => Yt(L),
|
|
1625
1659
|
onError: m
|
|
1626
|
-
}),
|
|
1627
|
-
|
|
1628
|
-
const
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
() =>
|
|
1660
|
+
}), b = Xr([_, w, C], { delay: 1e3 });
|
|
1661
|
+
Be([g, x, N]);
|
|
1662
|
+
const p = T(() => {
|
|
1663
|
+
const L = yt(h);
|
|
1664
|
+
return t.isGoalieStatsDisabled ? Si(["goalies", "goaliesunderlimit"], L) : L;
|
|
1665
|
+
}), k = T(
|
|
1666
|
+
() => r.selectedPanel === me ? p.value : xt(h)
|
|
1667
|
+
), $ = T(() => {
|
|
1668
|
+
const L = r.championships.find((O) => O.sectionId === r.selectedChampionshipId);
|
|
1669
|
+
return Dr(Rt(L?.phases ?? []));
|
|
1670
|
+
}), M = T(() => r.selectedPanel === ze ? 0 : t.limit), R = T(
|
|
1671
|
+
() => Lr(
|
|
1635
1672
|
z.value,
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1673
|
+
Mr,
|
|
1674
|
+
Ar,
|
|
1675
|
+
Or,
|
|
1676
|
+
Rr(["mip"]),
|
|
1677
|
+
jr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1641
1678
|
)
|
|
1642
|
-
),
|
|
1643
|
-
function
|
|
1644
|
-
r.championshipId =
|
|
1679
|
+
), I = T(() => Ne(a(R)).filter(a(s), ["name"]).sorted(n).addContinuousIndex().schedule(a(i), a(t.locale)).pagination(a(v), M.value).value());
|
|
1680
|
+
function Y(L) {
|
|
1681
|
+
r.championshipId = L, o.championshipId = L, Be([x, N]);
|
|
1645
1682
|
}
|
|
1646
|
-
function j(
|
|
1647
|
-
r.selectedChampionshipId =
|
|
1683
|
+
function j(L) {
|
|
1684
|
+
r.selectedChampionshipId = L.sectionId, r.phaseId = $.value[0]?.phaseId ?? null, N();
|
|
1648
1685
|
}
|
|
1649
|
-
function
|
|
1650
|
-
r.phaseId =
|
|
1686
|
+
function ae(L) {
|
|
1687
|
+
r.phaseId = L, N();
|
|
1651
1688
|
}
|
|
1652
|
-
function
|
|
1653
|
-
r.selectedPanel =
|
|
1654
|
-
let
|
|
1655
|
-
|
|
1689
|
+
function X(L) {
|
|
1690
|
+
r.selectedPanel = L;
|
|
1691
|
+
let O = L;
|
|
1692
|
+
L === me && (O = te(yt(K))?.value), L === Ae && (O = te(xt(K))?.value), r.report = O, J(O);
|
|
1656
1693
|
}
|
|
1657
|
-
function
|
|
1658
|
-
|
|
1694
|
+
function le(L) {
|
|
1695
|
+
J(L);
|
|
1659
1696
|
}
|
|
1660
|
-
function
|
|
1661
|
-
|
|
1697
|
+
function F(L) {
|
|
1698
|
+
s.value = L, c(1);
|
|
1662
1699
|
}
|
|
1663
|
-
function
|
|
1664
|
-
const
|
|
1665
|
-
r.api =
|
|
1700
|
+
function J(L) {
|
|
1701
|
+
const O = zi.get(L);
|
|
1702
|
+
r.api = O.api, r.apiParams = O.params, r.columns = O.columns(t.allPeriodVisible), n.sortTarget = O.sort?.sortTarget ?? "", n.orders = O.sort?.orders ?? [], s.value = "", N(), c(1);
|
|
1666
1703
|
}
|
|
1667
|
-
const
|
|
1668
|
-
return (
|
|
1704
|
+
const fe = (L) => Gr(t.externalPlayerResolver, { ...L, championshipId: r.championshipId });
|
|
1705
|
+
return (L, O) => ke(L.$slots, "default", Ue(Ke({
|
|
1669
1706
|
...r,
|
|
1670
1707
|
sort: a(n),
|
|
1671
|
-
page: a(
|
|
1672
|
-
query:
|
|
1673
|
-
phases:
|
|
1674
|
-
isLoading: a(
|
|
1675
|
-
games:
|
|
1676
|
-
reports:
|
|
1677
|
-
onSort: a(
|
|
1678
|
-
changePanel:
|
|
1679
|
-
changePhase:
|
|
1680
|
-
changeSeason:
|
|
1681
|
-
onUpdateQuery:
|
|
1682
|
-
onChangeReport:
|
|
1683
|
-
onPaginatorChange: a(
|
|
1708
|
+
page: a(v),
|
|
1709
|
+
query: s.value,
|
|
1710
|
+
phases: $.value,
|
|
1711
|
+
isLoading: a(b),
|
|
1712
|
+
games: I.value,
|
|
1713
|
+
reports: k.value,
|
|
1714
|
+
onSort: a(d),
|
|
1715
|
+
changePanel: X,
|
|
1716
|
+
changePhase: ae,
|
|
1717
|
+
changeSeason: Y,
|
|
1718
|
+
onUpdateQuery: F,
|
|
1719
|
+
onChangeReport: le,
|
|
1720
|
+
onPaginatorChange: a(c),
|
|
1684
1721
|
changeChampionship: j,
|
|
1685
|
-
resolveExternalPlayerLink:
|
|
1722
|
+
resolveExternalPlayerLink: fe
|
|
1686
1723
|
})));
|
|
1687
1724
|
}
|
|
1688
|
-
},
|
|
1725
|
+
}, Ti = { class: "flex-container" }, Ni = {
|
|
1689
1726
|
key: 0,
|
|
1690
1727
|
value: null
|
|
1691
|
-
},
|
|
1728
|
+
}, Ii = ["value"], Ei = ["value"], Pi = ["placeholder"], Di = {
|
|
1692
1729
|
__name: "Selector",
|
|
1693
1730
|
props: {
|
|
1694
1731
|
phases: {
|
|
@@ -1722,75 +1759,75 @@ const ki = {
|
|
|
1722
1759
|
},
|
|
1723
1760
|
emits: ["update:phaseId", "update:report", "update:query"],
|
|
1724
1761
|
setup(e, { emit: t }) {
|
|
1725
|
-
const o = e, r = t, { t: i } = ce(), { phaseId:
|
|
1726
|
-
return (
|
|
1727
|
-
S(a(
|
|
1762
|
+
const o = e, r = t, { t: i } = ce(), { phaseId: s, report: m, query: n } = na(o, r);
|
|
1763
|
+
return (d, v) => (u(), y("div", Ti, [
|
|
1764
|
+
S(a(_e), {
|
|
1728
1765
|
label: a(i)("selection.phases"),
|
|
1729
1766
|
name: "phases",
|
|
1730
1767
|
class: "mb-md"
|
|
1731
1768
|
}, {
|
|
1732
|
-
default:
|
|
1769
|
+
default: P(() => [
|
|
1733
1770
|
S(a(rt), {
|
|
1734
1771
|
id: "phases",
|
|
1735
|
-
modelValue: a(
|
|
1736
|
-
"onUpdate:modelValue":
|
|
1737
|
-
disabled: a(
|
|
1772
|
+
modelValue: a(s),
|
|
1773
|
+
"onUpdate:modelValue": v[0] || (v[0] = (c) => ye(s) ? s.value = c : null),
|
|
1774
|
+
disabled: a(s) === null
|
|
1738
1775
|
}, {
|
|
1739
|
-
default:
|
|
1740
|
-
a(
|
|
1741
|
-
(u(!0),
|
|
1742
|
-
key:
|
|
1743
|
-
value:
|
|
1744
|
-
},
|
|
1776
|
+
default: P(() => [
|
|
1777
|
+
a(s) === null ? (u(), y("option", Ni, f(a(i)("selection.noPhases")), 1)) : E("", !0),
|
|
1778
|
+
(u(!0), y(B, null, ee(e.phases, (c) => (u(), y("option", {
|
|
1779
|
+
key: c.phaseId,
|
|
1780
|
+
value: c.phaseId
|
|
1781
|
+
}, f(c.phaseName), 9, Ii))), 128))
|
|
1745
1782
|
]),
|
|
1746
1783
|
_: 1
|
|
1747
1784
|
}, 8, ["modelValue", "disabled"])
|
|
1748
1785
|
]),
|
|
1749
1786
|
_: 1
|
|
1750
1787
|
}, 8, ["label"]),
|
|
1751
|
-
e.isReportsVisible ? (u(),
|
|
1788
|
+
e.isReportsVisible ? (u(), D(a(_e), {
|
|
1752
1789
|
key: 0,
|
|
1753
1790
|
label: a(i)("selection.report"),
|
|
1754
1791
|
name: "report"
|
|
1755
1792
|
}, {
|
|
1756
|
-
default:
|
|
1793
|
+
default: P(() => [
|
|
1757
1794
|
S(a(rt), {
|
|
1758
1795
|
id: "report",
|
|
1759
1796
|
modelValue: a(m),
|
|
1760
|
-
"onUpdate:modelValue":
|
|
1797
|
+
"onUpdate:modelValue": v[1] || (v[1] = (c) => ye(m) ? m.value = c : null)
|
|
1761
1798
|
}, {
|
|
1762
|
-
default:
|
|
1763
|
-
(u(!0),
|
|
1764
|
-
key:
|
|
1765
|
-
value:
|
|
1766
|
-
},
|
|
1799
|
+
default: P(() => [
|
|
1800
|
+
(u(!0), y(B, null, ee(e.reports, ({ value: c, name: h }) => (u(), y("option", {
|
|
1801
|
+
key: c,
|
|
1802
|
+
value: c
|
|
1803
|
+
}, f(h), 9, Ei))), 128))
|
|
1767
1804
|
]),
|
|
1768
1805
|
_: 1
|
|
1769
1806
|
}, 8, ["modelValue"])
|
|
1770
1807
|
]),
|
|
1771
1808
|
_: 1
|
|
1772
|
-
}, 8, ["label"])) :
|
|
1773
|
-
e.isNameFilterVisible ? (u(),
|
|
1809
|
+
}, 8, ["label"])) : E("", !0),
|
|
1810
|
+
e.isNameFilterVisible ? (u(), D(a(_e), {
|
|
1774
1811
|
key: 1,
|
|
1775
1812
|
label: a(i)("selection.filter"),
|
|
1776
1813
|
name: "filter"
|
|
1777
1814
|
}, {
|
|
1778
|
-
default:
|
|
1815
|
+
default: P(() => [
|
|
1779
1816
|
Tt(l("input", {
|
|
1780
1817
|
id: "filter",
|
|
1781
|
-
"onUpdate:modelValue":
|
|
1818
|
+
"onUpdate:modelValue": v[2] || (v[2] = (c) => ye(n) ? n.value = c : null),
|
|
1782
1819
|
placeholder: a(i)("selection.filterName"),
|
|
1783
1820
|
type: "search",
|
|
1784
1821
|
autocomplete: "off"
|
|
1785
|
-
}, null, 8,
|
|
1822
|
+
}, null, 8, Pi), [
|
|
1786
1823
|
[Nt, a(n)]
|
|
1787
1824
|
])
|
|
1788
1825
|
]),
|
|
1789
1826
|
_: 1
|
|
1790
|
-
}, 8, ["label"])) :
|
|
1827
|
+
}, 8, ["label"])) : E("", !0)
|
|
1791
1828
|
]));
|
|
1792
1829
|
}
|
|
1793
|
-
}, ar = "@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%}}", ir = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', nr = "@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)}}", lr = "@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}}", sr = `@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%}}`, cr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Ni = "@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)}}", Ii = "@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}}", Ei = "@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}}", Pi = { class: "tabs underlined" }, Li = ["aria-label"], Di = ["aria-selected", "onClick"], Mi = ["aria-selected", "onClick"], Ai = ["aria-selected", "onClick"], Oi = ["aria-selected", "onClick"], Ri = {
|
|
1830
|
+
}, nr = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", lr = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', sr = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", cr = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", mr = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, dr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Li = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Mi = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", Ai = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Oi = { class: "tabs underlined" }, Ri = ["aria-label"], ji = ["aria-selected", "onClick"], Gi = ["aria-selected", "onClick"], Yi = ["aria-selected", "onClick"], Bi = ["aria-selected", "onClick"], Fi = {
|
|
1794
1831
|
__name: "Championship.ce",
|
|
1795
1832
|
props: {
|
|
1796
1833
|
locale: {
|
|
@@ -1832,143 +1869,148 @@ const ki = {
|
|
|
1832
1869
|
isPlayerLinked: {
|
|
1833
1870
|
type: Boolean,
|
|
1834
1871
|
default: !1
|
|
1872
|
+
},
|
|
1873
|
+
isGoalieStatsDisabled: {
|
|
1874
|
+
type: Boolean,
|
|
1875
|
+
default: !1
|
|
1835
1876
|
}
|
|
1836
1877
|
},
|
|
1837
1878
|
setup(e) {
|
|
1838
|
-
const t = e, o = G(null), r = G(We()), i =
|
|
1839
|
-
return (
|
|
1840
|
-
S(a(
|
|
1879
|
+
const t = e, o = G(null), r = G(We()), i = T(() => He(/* @__PURE__ */ new Date(), a(r), t.locale)), s = { en: he, hu: pe }, m = (d) => Je(t.externalGameResolver, d), n = (d) => Yr(t.externalTeamResolver, d);
|
|
1880
|
+
return (d, v) => (u(), y("div", null, [
|
|
1881
|
+
S(a(ue), {
|
|
1841
1882
|
locale: t.locale,
|
|
1842
|
-
messages:
|
|
1883
|
+
messages: s
|
|
1843
1884
|
}, {
|
|
1844
|
-
default:
|
|
1845
|
-
S(a(
|
|
1846
|
-
default:
|
|
1847
|
-
w ? (u(),
|
|
1885
|
+
default: P(({ t: c }) => [
|
|
1886
|
+
S(a(Ve), null, {
|
|
1887
|
+
default: P(({ error: h, hasError: w }) => [
|
|
1888
|
+
w ? (u(), D(a(Te), {
|
|
1848
1889
|
key: 0,
|
|
1849
|
-
error:
|
|
1850
|
-
}, null, 8, ["error"])) :
|
|
1851
|
-
S(
|
|
1890
|
+
error: h
|
|
1891
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
1892
|
+
S(Ci, {
|
|
1852
1893
|
locale: e.locale,
|
|
1853
1894
|
timezone: r.value,
|
|
1854
1895
|
"championship-name": e.championshipName,
|
|
1855
1896
|
limit: e.limit,
|
|
1856
1897
|
"initial-phase-id": e.initialPhaseId,
|
|
1857
1898
|
"all-period-visible": e.totalPeriodPlayedVisible,
|
|
1858
|
-
"external-player-resolver": e.externalPlayerResolver
|
|
1899
|
+
"external-player-resolver": e.externalPlayerResolver,
|
|
1900
|
+
"is-goalie-stats-disabled": e.isGoalieStatsDisabled
|
|
1859
1901
|
}, {
|
|
1860
|
-
default:
|
|
1902
|
+
default: P(({
|
|
1861
1903
|
sort: g,
|
|
1862
1904
|
page: _,
|
|
1863
|
-
games:
|
|
1905
|
+
games: x,
|
|
1864
1906
|
query: C,
|
|
1865
1907
|
phases: z,
|
|
1866
|
-
report:
|
|
1867
|
-
phaseId:
|
|
1868
|
-
columns:
|
|
1908
|
+
report: N,
|
|
1909
|
+
phaseId: b,
|
|
1910
|
+
columns: p,
|
|
1869
1911
|
seasons: k,
|
|
1870
1912
|
reports: $,
|
|
1871
1913
|
isLoading: M,
|
|
1872
|
-
selectedPanel:
|
|
1873
|
-
championships:
|
|
1874
|
-
championshipId:
|
|
1875
|
-
selectedChampionshipId:
|
|
1914
|
+
selectedPanel: R,
|
|
1915
|
+
championships: I,
|
|
1916
|
+
championshipId: Y,
|
|
1917
|
+
selectedChampionshipId: j,
|
|
1876
1918
|
onSort: ae,
|
|
1877
|
-
changePanel:
|
|
1919
|
+
changePanel: X,
|
|
1878
1920
|
changePhase: le,
|
|
1879
1921
|
changeSeason: F,
|
|
1880
|
-
onUpdateQuery:
|
|
1881
|
-
onChangeReport:
|
|
1882
|
-
onPaginatorChange:
|
|
1883
|
-
changeChampionship:
|
|
1884
|
-
resolveExternalPlayerLink:
|
|
1922
|
+
onUpdateQuery: J,
|
|
1923
|
+
onChangeReport: fe,
|
|
1924
|
+
onPaginatorChange: L,
|
|
1925
|
+
changeChampionship: O,
|
|
1926
|
+
resolveExternalPlayerLink: Ee
|
|
1885
1927
|
}) => [
|
|
1886
|
-
S(
|
|
1928
|
+
S(ir, {
|
|
1887
1929
|
seasons: k,
|
|
1888
|
-
sections:
|
|
1889
|
-
"championship-id":
|
|
1890
|
-
"section-id":
|
|
1930
|
+
sections: I,
|
|
1931
|
+
"championship-id": Y,
|
|
1932
|
+
"section-id": j,
|
|
1891
1933
|
onOnChangeSeason: F,
|
|
1892
|
-
onOnChangeSection:
|
|
1934
|
+
onOnChangeSection: O
|
|
1893
1935
|
}, null, 8, ["seasons", "sections", "championship-id", "section-id", "onOnChangeSeason", "onOnChangeSection"]),
|
|
1894
|
-
S(
|
|
1936
|
+
S(Di, {
|
|
1895
1937
|
query: C,
|
|
1896
1938
|
phases: z,
|
|
1897
|
-
"phase-id":
|
|
1939
|
+
"phase-id": b,
|
|
1898
1940
|
reports: $,
|
|
1899
|
-
report:
|
|
1900
|
-
"is-reports-visible":
|
|
1901
|
-
"is-name-filter-visible":
|
|
1941
|
+
report: N,
|
|
1942
|
+
"is-reports-visible": R === a(me) || R === a(Ae),
|
|
1943
|
+
"is-name-filter-visible": R === a(me),
|
|
1902
1944
|
"onUpdate:phaseId": le,
|
|
1903
|
-
"onUpdate:report":
|
|
1904
|
-
"onUpdate:query":
|
|
1945
|
+
"onUpdate:report": fe,
|
|
1946
|
+
"onUpdate:query": J
|
|
1905
1947
|
}, null, 8, ["query", "phases", "phase-id", "reports", "report", "is-reports-visible", "is-name-filter-visible", "onUpdate:phaseId", "onUpdate:report", "onUpdate:query"]),
|
|
1906
|
-
l("nav",
|
|
1948
|
+
l("nav", Oi, [
|
|
1907
1949
|
l("div", {
|
|
1908
1950
|
role: "tablist",
|
|
1909
|
-
"aria-label":
|
|
1951
|
+
"aria-label": c("selection.sections")
|
|
1910
1952
|
}, [
|
|
1911
1953
|
l("button", {
|
|
1912
1954
|
role: "tab",
|
|
1913
1955
|
type: "button",
|
|
1914
|
-
"aria-selected":
|
|
1915
|
-
onClick: (
|
|
1916
|
-
},
|
|
1956
|
+
"aria-selected": R === a(ze),
|
|
1957
|
+
onClick: (be) => X(a(ze))
|
|
1958
|
+
}, f(c("selection.schedule")), 9, ji),
|
|
1917
1959
|
l("button", {
|
|
1918
1960
|
role: "tab",
|
|
1919
1961
|
type: "button",
|
|
1920
|
-
"aria-selected":
|
|
1921
|
-
onClick: (
|
|
1922
|
-
},
|
|
1962
|
+
"aria-selected": R === a(et),
|
|
1963
|
+
onClick: (be) => X(a(et))
|
|
1964
|
+
}, f(c("selection.standings")), 9, Gi),
|
|
1923
1965
|
l("button", {
|
|
1924
1966
|
role: "tab",
|
|
1925
1967
|
type: "button",
|
|
1926
|
-
"aria-selected":
|
|
1927
|
-
onClick: (
|
|
1928
|
-
},
|
|
1968
|
+
"aria-selected": R === a(me),
|
|
1969
|
+
onClick: (be) => X(a(me))
|
|
1970
|
+
}, f(c("selection.playerStats")), 9, Yi),
|
|
1929
1971
|
l("button", {
|
|
1930
1972
|
role: "tab",
|
|
1931
1973
|
type: "button",
|
|
1932
|
-
"aria-selected":
|
|
1933
|
-
onClick: (
|
|
1934
|
-
},
|
|
1935
|
-
], 8,
|
|
1974
|
+
"aria-selected": R === a(Ae),
|
|
1975
|
+
onClick: (be) => X(a(Ae))
|
|
1976
|
+
}, f(c("selection.teamStats")), 9, Bi)
|
|
1977
|
+
], 8, Ri)
|
|
1936
1978
|
]),
|
|
1937
|
-
S(a(
|
|
1938
|
-
columns:
|
|
1939
|
-
rows:
|
|
1979
|
+
S(a(Dt), {
|
|
1980
|
+
columns: p,
|
|
1981
|
+
rows: x.rows,
|
|
1940
1982
|
sort: g,
|
|
1941
1983
|
"is-loading": M,
|
|
1942
1984
|
"offset-name": i.value,
|
|
1943
1985
|
"is-player-linked": e.isPlayerLinked,
|
|
1944
1986
|
"external-team-resolver": n,
|
|
1945
1987
|
"external-game-resolver": m,
|
|
1946
|
-
"external-player-resolver":
|
|
1988
|
+
"external-player-resolver": Ee,
|
|
1947
1989
|
"append-to": o.value,
|
|
1948
|
-
"hide-columns":
|
|
1990
|
+
"hide-columns": R === a(ze) ? "broadcast" : "",
|
|
1949
1991
|
onSort: ae
|
|
1950
1992
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "is-player-linked", "external-player-resolver", "append-to", "hide-columns", "onSort"]),
|
|
1951
|
-
|
|
1993
|
+
R === a(me) ? (u(), D(a(Lt), {
|
|
1952
1994
|
key: 0,
|
|
1953
1995
|
page: _,
|
|
1954
1996
|
"items-per-page": t.limit,
|
|
1955
|
-
"total-items":
|
|
1997
|
+
"total-items": x.totalItems,
|
|
1956
1998
|
"range-length": 5,
|
|
1957
|
-
onChange:
|
|
1958
|
-
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) :
|
|
1959
|
-
|
|
1960
|
-
S(a(
|
|
1961
|
-
rows:
|
|
1999
|
+
onChange: L
|
|
2000
|
+
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : E("", !0),
|
|
2001
|
+
R === a(et) ? (u(), y(B, { key: 1 }, [
|
|
2002
|
+
S(a(Oe), {
|
|
2003
|
+
rows: x.rows,
|
|
1962
2004
|
"additional-key": "inheritedPoints"
|
|
1963
2005
|
}, null, 8, ["rows"]),
|
|
1964
|
-
S(a(
|
|
1965
|
-
rows:
|
|
2006
|
+
S(a(Oe), {
|
|
2007
|
+
rows: x.rows,
|
|
1966
2008
|
"additional-key": "penaltyPoints"
|
|
1967
2009
|
}, null, 8, ["rows"])
|
|
1968
|
-
], 64)) :
|
|
2010
|
+
], 64)) : E("", !0)
|
|
1969
2011
|
]),
|
|
1970
2012
|
_: 2
|
|
1971
|
-
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id", "all-period-visible", "external-player-resolver"]),
|
|
2013
|
+
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id", "all-period-visible", "external-player-resolver", "is-goalie-stats-disabled"]),
|
|
1972
2014
|
l("div", {
|
|
1973
2015
|
ref_key: "tooltipContainer",
|
|
1974
2016
|
ref: o
|
|
@@ -1981,23 +2023,23 @@ const ki = {
|
|
|
1981
2023
|
}, 8, ["locale"])
|
|
1982
2024
|
]));
|
|
1983
2025
|
}
|
|
1984
|
-
},
|
|
1985
|
-
function
|
|
2026
|
+
}, Ui = /* @__PURE__ */ we(Fi, [["styles", [ge, nr, lr, sr, cr, mr, dr, Li, Mi, Ai]]]);
|
|
2027
|
+
function Ki(e, t = K) {
|
|
1986
2028
|
const o = G({
|
|
1987
2029
|
days: "00",
|
|
1988
2030
|
hours: "00",
|
|
1989
2031
|
minutes: "00",
|
|
1990
2032
|
seconds: "00"
|
|
1991
|
-
}), r = H(!1), i = H(null), { pause:
|
|
2033
|
+
}), r = H(!1), i = H(null), { pause: s, resume: m } = Ge(() => {
|
|
1992
2034
|
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
1993
|
-
let
|
|
1994
|
-
|
|
2035
|
+
let d = i.value - n;
|
|
2036
|
+
d <= 0 && (s(), d = 0, r.value = !0, t()), o.value = Vi(d);
|
|
1995
2037
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
1996
|
-
return
|
|
2038
|
+
return W(() => A(e), (n) => {
|
|
1997
2039
|
i.value = new Date(n).getTime(), m();
|
|
1998
2040
|
}, { immediate: !1 }), { date: o, finished: r };
|
|
1999
2041
|
}
|
|
2000
|
-
function
|
|
2042
|
+
function Vi(e) {
|
|
2001
2043
|
return {
|
|
2002
2044
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
2003
2045
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2005,7 +2047,7 @@ function Yi(e) {
|
|
|
2005
2047
|
seconds: Math.floor(e % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
|
|
2006
2048
|
};
|
|
2007
2049
|
}
|
|
2008
|
-
const
|
|
2050
|
+
const qi = ["data-number"], Z = {
|
|
2009
2051
|
__name: "Number",
|
|
2010
2052
|
props: {
|
|
2011
2053
|
number: [Number, String],
|
|
@@ -2015,21 +2057,21 @@ const Bi = ["data-number"], Z = {
|
|
|
2015
2057
|
}
|
|
2016
2058
|
},
|
|
2017
2059
|
setup(e) {
|
|
2018
|
-
return (t, o) => (u(),
|
|
2060
|
+
return (t, o) => (u(), y("div", {
|
|
2019
2061
|
class: "is-number",
|
|
2020
2062
|
"data-number": e.number
|
|
2021
2063
|
}, [
|
|
2022
2064
|
S(It, {
|
|
2023
2065
|
name: `slide-${e.direction}`
|
|
2024
2066
|
}, {
|
|
2025
|
-
default:
|
|
2026
|
-
(u(),
|
|
2067
|
+
default: P(() => [
|
|
2068
|
+
(u(), y("span", { key: e.number }, f(e.number), 1))
|
|
2027
2069
|
]),
|
|
2028
2070
|
_: 1
|
|
2029
2071
|
}, 8, ["name"])
|
|
2030
|
-
], 8,
|
|
2072
|
+
], 8, qi));
|
|
2031
2073
|
}
|
|
2032
|
-
},
|
|
2074
|
+
}, Hi = '@layer components.variables{:where(:host){--mvw-countdown-title-height: calc(var(--size-16) * 2);--mvw-countdown-title-bg: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-countdown-gamedata-height: calc(var(--size-16) * 4);--mvw-countdown-active-color: light-dark(var(--mvw-color-secondary-500), var(--mvw-color-secondary-800));--mvw-countdown-gamedata-bg: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-countdown-result-bg: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200))}}@layer components{:where(.game-countdown){display:grid;grid-template-rows:var(--mvw-countdown-title-height) 1fr var(--mvw-countdown-gamedata-height);box-shadow:0 2px 4px #0003}:where(.game-countdown) .game-countdown-title{text-align:center;font-size:var(--font-size-400);font-weight:700;line-height:var(--mvw-countdown-title-height);color:var(--mvw-text-faded);background-color:var(--mvw-countdown-title-bg)}:where(.game-countdown) .game-countdown-container{display:grid;grid-template-areas:"stack";place-items:center;background-color:var(--mvw-countdown-result-bg)}:where(.game-countdown) .game-countdown-container>div{visibility:hidden}:where(.game-countdown) .game-countdown-container>div.is-visible{visibility:visible}:where(.game-countdown) .game-countdown-result{grid-area:stack;display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"period period period" "home-score separator away-score" "period-results period-results period-results";gap:0 var(--size-8);align-items:center;color:var(--mvw-text-dimmed);font-weight:700}:where(.game-countdown) .game-countdown-result .is-separator{grid-area:separator;line-height:1;font-size:clamp(2rem,10vw,5rem)}:where(.game-countdown) .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}:where(.game-countdown) .game-countdown-result .is-home-score{grid-area:home-score}:where(.game-countdown) .game-countdown-result .is-away-score{grid-area:away-score}:where(.game-countdown) .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--font-size-400);text-align:center}:where(.game-countdown) .game-countdown-result .is-period{grid-area:period;font-size:var(--font-size-50);font-weight:700;text-align:center;text-transform:uppercase}:where(.game-countdown) .game-countdown-result .is-live{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-counter{grid-area:stack;display:flex;gap:var(--size-16);justify-content:space-around;padding:var(--size-16);font-size:var(--font-size-100);font-weight:700;text-transform:uppercase;color:var(--mvw-text-dimmed)}:where(.game-countdown) .game-countdown-counter .is-number{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-gamedata{display:grid;grid-template-columns:40px 1fr auto 1fr 40px;grid-template-areas:"home-team-logo game-date game-date game-date away-team-logo" "home-team-logo home-team separator away-team away-team-logo";gap:0 .5rem;align-content:center;align-items:center;padding-inline:var(--size-16);background-color:var(--mvw-countdown-gamedata-bg);font-size:var(--mvw-font-size-500);font-weight:700;line-height:var(--font-lineheight-400);color:light-dark(var(--mvw-color-primary-50),var(--mvw-color-primary-800))}:where(.game-countdown) .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--mvw-text-faded);font-size:var(--font-size-200)}:where(.game-countdown) .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}:where(.game-countdown) .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}:where(.game-countdown) .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.game-countdown) .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}:where(.game-countdown) .game-countdown-gamedata .is-away-team{grid-area:away-team}:where(.game-countdown) .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}:where(.game-countdown) .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}:where(.game-countdown) .is-number{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);animation:.4s fade-in ease-out;@keyframes fade-in{0%{opacity:0}to{opacity:1}}}:where(.game-countdown) .is-number>span{grid-area:stack;font-size:clamp(3.125rem,10vw,5rem);line-height:1;font-weight:700}}', Wi = ["href", "target"], Ji = { class: "game-countdown-title" }, Qi = { class: "game-countdown-container" }, Xi = ["textContent"], Zi = ["textContent"], en = ["textContent"], tn = { style: { display: "flex" } }, rn = ["textContent"], on = { style: { display: "flex" } }, an = ["textContent"], nn = { style: { display: "flex" } }, ln = ["textContent"], sn = { style: { display: "flex" } }, cn = { class: "game-countdown-gamedata" }, mn = { class: "is-game-date" }, dn = { class: "is-home-team" }, vn = { class: "is-away-team" }, un = {
|
|
2033
2075
|
__name: "Countdown.ce",
|
|
2034
2076
|
props: {
|
|
2035
2077
|
locale: {
|
|
@@ -2045,13 +2087,13 @@ const Bi = ["data-number"], Z = {
|
|
|
2045
2087
|
default: ""
|
|
2046
2088
|
},
|
|
2047
2089
|
// externalGameResolver, isGameTargetExternal
|
|
2048
|
-
...
|
|
2090
|
+
...Wr
|
|
2049
2091
|
},
|
|
2050
2092
|
setup(e) {
|
|
2051
|
-
const t = e, o = { en:
|
|
2093
|
+
const t = e, o = { en: he, hu: pe }, {
|
|
2052
2094
|
state: r,
|
|
2053
2095
|
execute: i,
|
|
2054
|
-
isLoading:
|
|
2096
|
+
isLoading: s
|
|
2055
2097
|
} = re({
|
|
2056
2098
|
options: {
|
|
2057
2099
|
path: "/v2/game-data",
|
|
@@ -2063,45 +2105,45 @@ const Bi = ["data-number"], Z = {
|
|
|
2063
2105
|
},
|
|
2064
2106
|
onSuccess: _
|
|
2065
2107
|
// onError,
|
|
2066
|
-
}), { pause: m, resume: n } =
|
|
2108
|
+
}), { pause: m, resume: n } = Ge(() => {
|
|
2067
2109
|
i();
|
|
2068
|
-
}, 3e4, { immediate: !1 }),
|
|
2069
|
-
function _(
|
|
2070
|
-
|
|
2110
|
+
}, 3e4, { immediate: !1 }), d = T(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), v = T(() => (r.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: c, finished: h } = Ki(T(() => r.value.gameDate), () => n()), w = T(() => Je(t.externalGameResolver, { gameId: t.gameId })), g = T(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2111
|
+
function _(x) {
|
|
2112
|
+
x.gameStatus === 1 && n(), x.gameStatus > 1 && m();
|
|
2071
2113
|
}
|
|
2072
|
-
return (
|
|
2114
|
+
return (x, C) => (u(), D(a(ue), {
|
|
2073
2115
|
locale: e.locale,
|
|
2074
2116
|
messages: o
|
|
2075
2117
|
}, {
|
|
2076
|
-
default:
|
|
2118
|
+
default: P(({ t: z }) => [
|
|
2077
2119
|
l("a", {
|
|
2078
2120
|
href: w.value,
|
|
2079
2121
|
target: g.value,
|
|
2080
2122
|
class: "game-countdown"
|
|
2081
2123
|
}, [
|
|
2082
|
-
l("div",
|
|
2083
|
-
a(ot)(a(r)) ?
|
|
2084
|
-
q(
|
|
2124
|
+
l("div", Ji, [
|
|
2125
|
+
a(ot)(a(r)) ? E("", !0) : (u(), y(B, { key: 0 }, [
|
|
2126
|
+
q(f(a(r).championshipName) + " - " + f(a(r).divisionName), 1)
|
|
2085
2127
|
], 64))
|
|
2086
2128
|
]),
|
|
2087
|
-
l("div",
|
|
2129
|
+
l("div", Qi, [
|
|
2088
2130
|
l("div", {
|
|
2089
|
-
class: oe(["game-countdown-result", { "is-visible": a(
|
|
2131
|
+
class: oe(["game-countdown-result", { "is-visible": a(h) }])
|
|
2090
2132
|
}, [
|
|
2091
2133
|
l("div", {
|
|
2092
2134
|
class: "is-period",
|
|
2093
|
-
textContent:
|
|
2094
|
-
}, null, 8,
|
|
2135
|
+
textContent: f(z(a(r).period ? `game.period.${a(r).period}` : ""))
|
|
2136
|
+
}, null, 8, Xi),
|
|
2095
2137
|
l("div", {
|
|
2096
2138
|
class: oe(["is-home-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2097
2139
|
style: { display: "flex" }
|
|
2098
2140
|
}, [
|
|
2099
|
-
|
|
2141
|
+
d.value[0] !== "0" ? (u(), D(Z, {
|
|
2100
2142
|
key: 0,
|
|
2101
|
-
number:
|
|
2102
|
-
}, null, 8, ["number"])) :
|
|
2143
|
+
number: d.value[0]
|
|
2144
|
+
}, null, 8, ["number"])) : E("", !0),
|
|
2103
2145
|
S(Z, {
|
|
2104
|
-
number:
|
|
2146
|
+
number: d.value[1]
|
|
2105
2147
|
}, null, 8, ["number"])
|
|
2106
2148
|
], 2),
|
|
2107
2149
|
l("span", {
|
|
@@ -2111,109 +2153,109 @@ const Bi = ["data-number"], Z = {
|
|
|
2111
2153
|
class: oe(["is-away-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2112
2154
|
style: { display: "flex" }
|
|
2113
2155
|
}, [
|
|
2114
|
-
|
|
2156
|
+
v.value[0] !== "0" ? (u(), D(Z, {
|
|
2115
2157
|
key: 0,
|
|
2116
|
-
number:
|
|
2117
|
-
}, null, 8, ["number"])) :
|
|
2158
|
+
number: v.value[0]
|
|
2159
|
+
}, null, 8, ["number"])) : E("", !0),
|
|
2118
2160
|
S(Z, {
|
|
2119
|
-
number:
|
|
2161
|
+
number: v.value[1]
|
|
2120
2162
|
}, null, 8, ["number"])
|
|
2121
2163
|
], 2),
|
|
2122
2164
|
l("div", {
|
|
2123
2165
|
class: "is-period-results",
|
|
2124
|
-
textContent:
|
|
2125
|
-
}, null, 8,
|
|
2166
|
+
textContent: f(a(r).periodResults)
|
|
2167
|
+
}, null, 8, Zi)
|
|
2126
2168
|
], 2),
|
|
2127
2169
|
l("div", {
|
|
2128
|
-
class: oe(["game-countdown-counter", { "is-visible": !a(
|
|
2170
|
+
class: oe(["game-countdown-counter", { "is-visible": !a(h) && !a(s) }])
|
|
2129
2171
|
}, [
|
|
2130
2172
|
l("div", null, [
|
|
2131
2173
|
l("div", {
|
|
2132
|
-
textContent:
|
|
2133
|
-
}, null, 8,
|
|
2134
|
-
l("div",
|
|
2174
|
+
textContent: f(z("countdown.days"))
|
|
2175
|
+
}, null, 8, en),
|
|
2176
|
+
l("div", tn, [
|
|
2135
2177
|
S(Z, {
|
|
2136
|
-
number: a(
|
|
2178
|
+
number: a(c).days[0],
|
|
2137
2179
|
direction: "decrease"
|
|
2138
2180
|
}, null, 8, ["number"]),
|
|
2139
2181
|
S(Z, {
|
|
2140
|
-
number: a(
|
|
2182
|
+
number: a(c).days[1],
|
|
2141
2183
|
direction: "decrease"
|
|
2142
2184
|
}, null, 8, ["number"])
|
|
2143
2185
|
])
|
|
2144
2186
|
]),
|
|
2145
2187
|
l("div", null, [
|
|
2146
2188
|
l("div", {
|
|
2147
|
-
textContent:
|
|
2148
|
-
}, null, 8,
|
|
2149
|
-
l("div",
|
|
2189
|
+
textContent: f(z("countdown.hours"))
|
|
2190
|
+
}, null, 8, rn),
|
|
2191
|
+
l("div", on, [
|
|
2150
2192
|
S(Z, {
|
|
2151
|
-
number: a(
|
|
2193
|
+
number: a(c).hours[0],
|
|
2152
2194
|
direction: "decrease"
|
|
2153
2195
|
}, null, 8, ["number"]),
|
|
2154
2196
|
S(Z, {
|
|
2155
|
-
number: a(
|
|
2197
|
+
number: a(c).hours[1],
|
|
2156
2198
|
direction: "decrease"
|
|
2157
2199
|
}, null, 8, ["number"])
|
|
2158
2200
|
])
|
|
2159
2201
|
]),
|
|
2160
2202
|
l("div", null, [
|
|
2161
2203
|
l("div", {
|
|
2162
|
-
textContent:
|
|
2163
|
-
}, null, 8,
|
|
2164
|
-
l("div",
|
|
2204
|
+
textContent: f(z("countdown.minutes"))
|
|
2205
|
+
}, null, 8, an),
|
|
2206
|
+
l("div", nn, [
|
|
2165
2207
|
S(Z, {
|
|
2166
|
-
number: a(
|
|
2208
|
+
number: a(c).minutes[0],
|
|
2167
2209
|
direction: "decrease"
|
|
2168
2210
|
}, null, 8, ["number"]),
|
|
2169
2211
|
S(Z, {
|
|
2170
|
-
number: a(
|
|
2212
|
+
number: a(c).minutes[1],
|
|
2171
2213
|
direction: "decrease"
|
|
2172
2214
|
}, null, 8, ["number"])
|
|
2173
2215
|
])
|
|
2174
2216
|
]),
|
|
2175
2217
|
l("div", null, [
|
|
2176
2218
|
l("div", {
|
|
2177
|
-
textContent:
|
|
2178
|
-
}, null, 8,
|
|
2179
|
-
l("div",
|
|
2219
|
+
textContent: f(z("countdown.seconds"))
|
|
2220
|
+
}, null, 8, ln),
|
|
2221
|
+
l("div", sn, [
|
|
2180
2222
|
S(Z, {
|
|
2181
|
-
number: a(
|
|
2223
|
+
number: a(c).seconds[0],
|
|
2182
2224
|
direction: "decrease"
|
|
2183
2225
|
}, null, 8, ["number"]),
|
|
2184
2226
|
S(Z, {
|
|
2185
|
-
number: a(
|
|
2227
|
+
number: a(c).seconds[1],
|
|
2186
2228
|
direction: "decrease"
|
|
2187
2229
|
}, null, 8, ["number"])
|
|
2188
2230
|
])
|
|
2189
2231
|
])
|
|
2190
2232
|
], 2)
|
|
2191
2233
|
]),
|
|
2192
|
-
l("div",
|
|
2193
|
-
l("div",
|
|
2194
|
-
a(r).homeTeam?.logo ? (u(),
|
|
2234
|
+
l("div", cn, [
|
|
2235
|
+
l("div", mn, f(a(V)(a(r).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2236
|
+
a(r).homeTeam?.logo ? (u(), D(a(ne), {
|
|
2195
2237
|
key: 0,
|
|
2196
2238
|
class: "is-home-team-logo",
|
|
2197
2239
|
src: a(r).homeTeam.logo
|
|
2198
|
-
}, null, 8, ["src"])) :
|
|
2199
|
-
l("span",
|
|
2240
|
+
}, null, 8, ["src"])) : E("", !0),
|
|
2241
|
+
l("span", dn, f(a(r).homeTeam?.longName), 1),
|
|
2200
2242
|
C[0] || (C[0] = l("span", { class: "is-separator" }, "-", -1)),
|
|
2201
|
-
l("span",
|
|
2202
|
-
a(r).awayTeam?.logo ? (u(),
|
|
2243
|
+
l("span", vn, f(a(r).awayTeam?.longName), 1),
|
|
2244
|
+
a(r).awayTeam?.logo ? (u(), D(a(ne), {
|
|
2203
2245
|
key: 1,
|
|
2204
2246
|
class: "is-away-team-logo",
|
|
2205
2247
|
src: a(r).awayTeam.logo
|
|
2206
|
-
}, null, 8, ["src"])) :
|
|
2248
|
+
}, null, 8, ["src"])) : E("", !0)
|
|
2207
2249
|
])
|
|
2208
|
-
], 8,
|
|
2250
|
+
], 8, Wi)
|
|
2209
2251
|
]),
|
|
2210
2252
|
_: 1
|
|
2211
2253
|
}, 8, ["locale"]));
|
|
2212
2254
|
}
|
|
2213
|
-
},
|
|
2214
|
-
function
|
|
2215
|
-
const { execute: t } =
|
|
2216
|
-
(o) =>
|
|
2255
|
+
}, hn = /* @__PURE__ */ we(un, [["styles", [ge, Hi]]]), vr = Symbol("CarouselContext");
|
|
2256
|
+
function pn({ apiKey: e }) {
|
|
2257
|
+
const { execute: t } = ta(
|
|
2258
|
+
(o) => Zr("/v2/game-data", e, o).then((r) => ({ ...r, ...o })),
|
|
2217
2259
|
{},
|
|
2218
2260
|
{
|
|
2219
2261
|
immediate: !1,
|
|
@@ -2224,11 +2266,11 @@ function mn({ apiKey: e }) {
|
|
|
2224
2266
|
execute: t
|
|
2225
2267
|
};
|
|
2226
2268
|
}
|
|
2227
|
-
function
|
|
2228
|
-
const r =
|
|
2229
|
-
return e.reduce((
|
|
2269
|
+
function gn(e, t, o) {
|
|
2270
|
+
const r = wn(t, o);
|
|
2271
|
+
return e.reduce((s, m) => (r.has(m.id) ? s.push({ ...r.get(m.id), ...m }) : s.push(m), s), []);
|
|
2230
2272
|
}
|
|
2231
|
-
function
|
|
2273
|
+
function wn(e, t) {
|
|
2232
2274
|
const o = /* @__PURE__ */ new Map();
|
|
2233
2275
|
for (const r of e)
|
|
2234
2276
|
o.set(r[t], r);
|
|
@@ -2237,7 +2279,7 @@ function vn(e, t) {
|
|
|
2237
2279
|
function kt(e) {
|
|
2238
2280
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2239
2281
|
}
|
|
2240
|
-
const
|
|
2282
|
+
const fn = { class: "games-timeline" }, bn = ["disabled"], yn = { ref: "container" }, xn = ["disabled"], kn = {
|
|
2241
2283
|
__name: "Carousel",
|
|
2242
2284
|
props: {
|
|
2243
2285
|
initialIndex: {
|
|
@@ -2246,72 +2288,72 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2246
2288
|
}
|
|
2247
2289
|
},
|
|
2248
2290
|
setup(e) {
|
|
2249
|
-
const t = e, o =
|
|
2250
|
-
|
|
2291
|
+
const t = e, o = Et("container"), r = G(t.initialIndex), i = G([]);
|
|
2292
|
+
wr(vr, {
|
|
2251
2293
|
register: (w) => {
|
|
2252
|
-
i.value.includes(w) || (i.value.push(w), i.value =
|
|
2294
|
+
i.value.includes(w) || (i.value.push(w), i.value = Br(i.value, (g) => ie(o.value).querySelector(`#${g}`)));
|
|
2253
2295
|
},
|
|
2254
2296
|
unregister: (w) => {
|
|
2255
2297
|
const g = i.value.indexOf(w);
|
|
2256
2298
|
g !== -1 && i.value.splice(g, 1);
|
|
2257
2299
|
}
|
|
2258
2300
|
});
|
|
2259
|
-
const { arrivedState: m } =
|
|
2260
|
-
() =>
|
|
2301
|
+
const { arrivedState: m } = aa(o, { onStop: h }), n = T(
|
|
2302
|
+
() => ie(o).querySelector(`#${i.value[r.value]}`)
|
|
2261
2303
|
);
|
|
2262
|
-
|
|
2304
|
+
Fe(() => c()), W(
|
|
2263
2305
|
() => t.initialIndex,
|
|
2264
2306
|
(w) => {
|
|
2265
|
-
r.value = w,
|
|
2307
|
+
r.value = w, xe(() => c());
|
|
2266
2308
|
}
|
|
2267
2309
|
);
|
|
2268
|
-
function v() {
|
|
2269
|
-
m.left || (r.value--, s({ behavior: "smooth" }));
|
|
2270
|
-
}
|
|
2271
2310
|
function d() {
|
|
2272
|
-
m.
|
|
2311
|
+
m.left || (r.value--, c({ behavior: "smooth" }));
|
|
2273
2312
|
}
|
|
2274
|
-
function
|
|
2313
|
+
function v() {
|
|
2314
|
+
m.right || (r.value++, c({ behavior: "smooth" }));
|
|
2315
|
+
}
|
|
2316
|
+
function c(w) {
|
|
2275
2317
|
n.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...w });
|
|
2276
2318
|
}
|
|
2277
|
-
function
|
|
2278
|
-
const w =
|
|
2319
|
+
function h() {
|
|
2320
|
+
const w = ie(o).getBoundingClientRect()?.left, g = Array.from(ie(o).children).findIndex(
|
|
2279
2321
|
(_) => Math.round(_.getBoundingClientRect().left - w) >= 0
|
|
2280
2322
|
);
|
|
2281
2323
|
r.value = g;
|
|
2282
2324
|
}
|
|
2283
|
-
return (w, g) => (u(),
|
|
2325
|
+
return (w, g) => (u(), y("div", fn, [
|
|
2284
2326
|
l("button", {
|
|
2285
2327
|
type: "button",
|
|
2286
2328
|
disabled: a(m).left,
|
|
2287
|
-
onClick:
|
|
2329
|
+
onClick: d
|
|
2288
2330
|
}, [
|
|
2289
|
-
S(a(
|
|
2290
|
-
], 8,
|
|
2291
|
-
l("div",
|
|
2292
|
-
|
|
2331
|
+
S(a(ga))
|
|
2332
|
+
], 8, bn),
|
|
2333
|
+
l("div", yn, [
|
|
2334
|
+
ke(w.$slots, "default")
|
|
2293
2335
|
], 512),
|
|
2294
2336
|
l("button", {
|
|
2295
2337
|
type: "button",
|
|
2296
2338
|
disabled: a(m).right,
|
|
2297
|
-
onClick:
|
|
2339
|
+
onClick: v
|
|
2298
2340
|
}, [
|
|
2299
2341
|
S(a(dt))
|
|
2300
|
-
], 8,
|
|
2342
|
+
], 8, xn)
|
|
2301
2343
|
]));
|
|
2302
2344
|
}
|
|
2303
2345
|
}, tt = {
|
|
2304
2346
|
__name: "CarouselItem",
|
|
2305
2347
|
setup(e) {
|
|
2306
|
-
const t = `mjsz-vbr-carousel-item-${
|
|
2307
|
-
return
|
|
2348
|
+
const t = `mjsz-vbr-carousel-item-${fr()}`, o = br(vr, null);
|
|
2349
|
+
return Fe(() => o?.register(t)), yr(() => o?.unregister(t)), (r, i) => (u(), y("div", {
|
|
2308
2350
|
id: t,
|
|
2309
2351
|
class: "is-slide"
|
|
2310
2352
|
}, [
|
|
2311
|
-
|
|
2353
|
+
ke(r.$slots, "default")
|
|
2312
2354
|
]));
|
|
2313
2355
|
}
|
|
2314
|
-
},
|
|
2356
|
+
}, _n = { class: "games-timeline-schedule-link" }, _t = {
|
|
2315
2357
|
__name: "ExternalSchedule",
|
|
2316
2358
|
props: {
|
|
2317
2359
|
title: {
|
|
@@ -2329,17 +2371,46 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2329
2371
|
function i() {
|
|
2330
2372
|
r("navigateTo", { url: o.externalScheduleUrl, target: "_self" });
|
|
2331
2373
|
}
|
|
2332
|
-
return (
|
|
2374
|
+
return (s, m) => (u(), y("div", _n, [
|
|
2333
2375
|
l("button", {
|
|
2334
2376
|
type: "button",
|
|
2335
2377
|
onClick: i
|
|
2336
2378
|
}, [
|
|
2337
|
-
q(
|
|
2379
|
+
q(f(e.title), 1),
|
|
2338
2380
|
S(a(dt))
|
|
2339
2381
|
])
|
|
2340
2382
|
]));
|
|
2341
2383
|
}
|
|
2342
|
-
},
|
|
2384
|
+
}, zn = ["data-overflow"], Sn = {
|
|
2385
|
+
key: 0,
|
|
2386
|
+
"aria-hidden": "true"
|
|
2387
|
+
}, $n = {
|
|
2388
|
+
__name: "Marquee",
|
|
2389
|
+
props: {
|
|
2390
|
+
statusText: {
|
|
2391
|
+
type: String
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
setup(e) {
|
|
2395
|
+
const t = Et("root"), o = G(!1), r = G(0);
|
|
2396
|
+
return oa(t, async (i) => {
|
|
2397
|
+
const s = i[0], m = s.target.firstChild?.clientWidth ?? 0, { width: n } = s.contentRect;
|
|
2398
|
+
m > n && (o.value = !0, await xe(), r.value = s.target.firstChild?.clientWidth ?? 0);
|
|
2399
|
+
}), (i, s) => (u(), y("div", {
|
|
2400
|
+
ref: "root",
|
|
2401
|
+
class: "marquee",
|
|
2402
|
+
"data-overflow": o.value
|
|
2403
|
+
}, [
|
|
2404
|
+
l("div", {
|
|
2405
|
+
class: "marquee-track",
|
|
2406
|
+
style: xr({ "--_width": `${r.value}px` })
|
|
2407
|
+
}, [
|
|
2408
|
+
l("span", null, f(e.statusText), 1),
|
|
2409
|
+
o.value ? (u(), y("span", Sn, f(e.statusText), 1)) : E("", !0)
|
|
2410
|
+
], 4)
|
|
2411
|
+
], 8, zn));
|
|
2412
|
+
}
|
|
2413
|
+
}, Cn = { class: "score-display" }, Tn = { class: "is-score" }, zt = {
|
|
2343
2414
|
__name: "ScoreDisplay",
|
|
2344
2415
|
props: {
|
|
2345
2416
|
score: {
|
|
@@ -2348,24 +2419,27 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2348
2419
|
}
|
|
2349
2420
|
},
|
|
2350
2421
|
setup(e) {
|
|
2351
|
-
return (t, o) => (u(),
|
|
2352
|
-
l("div",
|
|
2422
|
+
return (t, o) => (u(), y("div", Cn, [
|
|
2423
|
+
l("div", Tn, [
|
|
2353
2424
|
S(It, { name: "is-slide-transition" }, {
|
|
2354
|
-
default:
|
|
2355
|
-
(u(),
|
|
2425
|
+
default: P(() => [
|
|
2426
|
+
(u(), y("span", { key: e.score }, f(e.score), 1))
|
|
2356
2427
|
]),
|
|
2357
2428
|
_: 1
|
|
2358
2429
|
})
|
|
2359
2430
|
])
|
|
2360
2431
|
]));
|
|
2361
2432
|
}
|
|
2362
|
-
},
|
|
2433
|
+
}, Nn = {
|
|
2363
2434
|
key: 0,
|
|
2364
2435
|
class: "badge xs"
|
|
2365
|
-
},
|
|
2436
|
+
}, In = {
|
|
2366
2437
|
key: 1,
|
|
2367
2438
|
class: "badge xs"
|
|
2368
|
-
},
|
|
2439
|
+
}, En = { class: "is-home-team-logo" }, Pn = { class: "is-home-team-name" }, Dn = { class: "is-home-team-score" }, Ln = { class: "is-away-team-logo" }, Mn = { class: "is-away-team-name" }, An = { class: "is-away-team-score" }, On = {
|
|
2440
|
+
key: 0,
|
|
2441
|
+
class: "is-status"
|
|
2442
|
+
}, Rn = {
|
|
2369
2443
|
__name: "Game",
|
|
2370
2444
|
props: {
|
|
2371
2445
|
gameData: {
|
|
@@ -2379,73 +2453,84 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2379
2453
|
},
|
|
2380
2454
|
emits: ["navigateTo"],
|
|
2381
2455
|
setup(e, { emit: t }) {
|
|
2382
|
-
const o = e, r = t, { t: i } = ce(),
|
|
2383
|
-
const { gameStatus:
|
|
2384
|
-
return
|
|
2456
|
+
const o = e, r = t, { t: i } = ce(), s = T(() => {
|
|
2457
|
+
const { gameStatus: d, championshipName: v, divisionName: c, period: h, periodTime: w, sectionName: g } = o.gameData;
|
|
2458
|
+
return d !== 1 ? n({ championshipName: v, divisionName: c, sectionName: g }) : h && kt(h) ? `${i(`game.period.${h}`)} - ${w}` : h && !kt(h) ? i(`game.period.${h}`) : "";
|
|
2385
2459
|
});
|
|
2386
2460
|
function m() {
|
|
2387
|
-
const { externalGameUrl:
|
|
2388
|
-
if (
|
|
2389
|
-
return r("navigateTo", { url:
|
|
2390
|
-
const
|
|
2391
|
-
r("navigateTo", { url:
|
|
2461
|
+
const { externalGameUrl: d, id: v } = o.gameData;
|
|
2462
|
+
if (d)
|
|
2463
|
+
return r("navigateTo", { url: d, target: "_blank" });
|
|
2464
|
+
const c = Je(o.externalGameResolver, { gameId: v });
|
|
2465
|
+
r("navigateTo", { url: c, target: "_self" });
|
|
2466
|
+
}
|
|
2467
|
+
function n(d) {
|
|
2468
|
+
return [
|
|
2469
|
+
d.championshipName,
|
|
2470
|
+
...d.championshipName !== d.sectionName ? [d.sectionName] : [],
|
|
2471
|
+
d.divisionName
|
|
2472
|
+
].join(" - ");
|
|
2392
2473
|
}
|
|
2393
|
-
return (
|
|
2474
|
+
return (d, v) => (u(), y("div", {
|
|
2394
2475
|
class: "games-timeline-game",
|
|
2395
2476
|
onClick: m
|
|
2396
2477
|
}, [
|
|
2397
2478
|
l("time", null, [
|
|
2398
|
-
q(
|
|
2399
|
-
e.gameData.isShootout ? (u(),
|
|
2400
|
-
e.gameData.isOvertime ? (u(),
|
|
2401
|
-
e.gameData.externalGameUrl ? (u(),
|
|
2479
|
+
q(f(e.gameData.gameDateTime) + " ", 1),
|
|
2480
|
+
e.gameData.isShootout ? (u(), y("span", Nn, f(a(i)("common.shootoutShort")), 1)) : E("", !0),
|
|
2481
|
+
e.gameData.isOvertime ? (u(), y("span", In, f(a(i)("common.overtimeShort")), 1)) : E("", !0),
|
|
2482
|
+
e.gameData.externalGameUrl ? (u(), D(a(ua), {
|
|
2402
2483
|
key: 2,
|
|
2403
2484
|
width: "14",
|
|
2404
2485
|
height: "14"
|
|
2405
|
-
})) :
|
|
2486
|
+
})) : E("", !0)
|
|
2406
2487
|
]),
|
|
2407
|
-
l("div",
|
|
2488
|
+
l("div", En, [
|
|
2408
2489
|
S(a(ne), {
|
|
2409
2490
|
src: e.gameData.homeTeam.logo,
|
|
2410
2491
|
class: "is-team-logo"
|
|
2411
2492
|
}, null, 8, ["src"])
|
|
2412
2493
|
]),
|
|
2413
|
-
l("div",
|
|
2414
|
-
l("div",
|
|
2415
|
-
e.gameData.homeTeamScore != null ? (u(),
|
|
2494
|
+
l("div", Pn, f(e.gameData.homeTeam.longName), 1),
|
|
2495
|
+
l("div", Dn, [
|
|
2496
|
+
e.gameData.homeTeamScore != null ? (u(), D(zt, {
|
|
2416
2497
|
key: 0,
|
|
2417
2498
|
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]]),
|
|
2418
2499
|
score: e.gameData.homeTeamScore
|
|
2419
2500
|
}, {
|
|
2420
|
-
default:
|
|
2421
|
-
q(
|
|
2501
|
+
default: P(() => [
|
|
2502
|
+
q(f(e.gameData.homeTeamScore), 1)
|
|
2422
2503
|
]),
|
|
2423
2504
|
_: 1
|
|
2424
|
-
}, 8, ["class", "score"])) :
|
|
2505
|
+
}, 8, ["class", "score"])) : E("", !0)
|
|
2425
2506
|
]),
|
|
2426
|
-
l("div",
|
|
2507
|
+
l("div", Ln, [
|
|
2427
2508
|
S(a(ne), {
|
|
2428
2509
|
src: e.gameData.awayTeam.logo,
|
|
2429
2510
|
class: "is-team-logo"
|
|
2430
2511
|
}, null, 8, ["src"])
|
|
2431
2512
|
]),
|
|
2432
|
-
l("div",
|
|
2433
|
-
l("div",
|
|
2434
|
-
e.gameData.awayTeamScore != null ? (u(),
|
|
2513
|
+
l("div", Mn, f(e.gameData.awayTeam.longName), 1),
|
|
2514
|
+
l("div", An, [
|
|
2515
|
+
e.gameData.awayTeamScore != null ? (u(), D(zt, {
|
|
2435
2516
|
key: 0,
|
|
2436
2517
|
score: e.gameData.awayTeamScore,
|
|
2437
2518
|
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]])
|
|
2438
2519
|
}, {
|
|
2439
|
-
default:
|
|
2440
|
-
q(
|
|
2520
|
+
default: P(() => [
|
|
2521
|
+
q(f(e.gameData.awayTeamScore), 1)
|
|
2441
2522
|
]),
|
|
2442
2523
|
_: 1
|
|
2443
|
-
}, 8, ["score", "class"])) :
|
|
2524
|
+
}, 8, ["score", "class"])) : E("", !0)
|
|
2444
2525
|
]),
|
|
2445
|
-
|
|
2526
|
+
e.gameData.gameStatus === 1 ? (u(), y("div", On, f(s.value), 1)) : (u(), D($n, {
|
|
2527
|
+
key: 1,
|
|
2528
|
+
"status-text": s.value,
|
|
2529
|
+
class: "is-status"
|
|
2530
|
+
}, null, 8, ["status-text"]))
|
|
2446
2531
|
]));
|
|
2447
2532
|
}
|
|
2448
|
-
},
|
|
2533
|
+
}, jn = { class: "games-timeline-error-indicator" }, Gn = {
|
|
2449
2534
|
__name: "TryAgain",
|
|
2450
2535
|
emits: ["tryAgain"],
|
|
2451
2536
|
setup(e, { emit: t }) {
|
|
@@ -2453,22 +2538,22 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2453
2538
|
function i() {
|
|
2454
2539
|
o("tryAgain");
|
|
2455
2540
|
}
|
|
2456
|
-
return (
|
|
2457
|
-
S(a(
|
|
2458
|
-
l("div", null,
|
|
2541
|
+
return (s, m) => (u(), y("div", jn, [
|
|
2542
|
+
S(a(za)),
|
|
2543
|
+
l("div", null, f(a(r)("gamesTimeline.errorText")), 1),
|
|
2459
2544
|
l("button", {
|
|
2460
2545
|
type: "button",
|
|
2461
2546
|
onClick: i
|
|
2462
|
-
},
|
|
2547
|
+
}, f(a(r)("gamesTimeline.errorCta")), 1)
|
|
2463
2548
|
]));
|
|
2464
2549
|
}
|
|
2465
|
-
},
|
|
2550
|
+
}, Yn = '@layer components.variables{:where(:host){--mvw-games-timeline-game-date-size: var(--font-size-100);--mvw-games-timeline-game-team-size: var(--font-size-300);--mvw-games-timeline-game-status-size: var(--font-size-200);--mvw-games-timeline-game-hover-bg-color: linear-gradient( light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)), light-dark( hsl(from var(--mvw-color-white) h s calc(l - 5) ), hsl(from var(--mvw-color-primary-950) h s calc(l + 5) ) ) 50%, light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)) )}}@layer components{:where(.games-timeline){display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}:where(.games-timeline)>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}:where(.games-timeline)>div::-webkit-scrollbar{display:none}:where(.games-timeline) .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){:where(.games-timeline) .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){:where(.games-timeline) .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){:where(.games-timeline) .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){:where(.games-timeline) .is-slide{flex-basis:20%}}:where(.games-timeline)>button{position:relative;display:grid;place-content:center;height:100%}:where(.games-timeline)>button svg{display:block;height:22px;width:22px;color:var(--mvw-text-dimmed);transition:all .2s}:where(.games-timeline)>button:hover svg{color:var(--mvw-text-muted)}:where(.games-timeline)>button:disabled{cursor:not-allowed}:where(.games-timeline)>button:disabled svg{color:var(--mvw-text-faded)}:where(.games-timeline)>button:before,:where(.games-timeline)>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}:where(.games-timeline)>button:first-of-type:after{right:0;border-right:1px solid var(--mvw-border-faded);box-shadow:1px 0 3px #0000001a}:where(.games-timeline)>button:last-of-type:before{left:0;border-left:1px solid var(--mvw-border-faded);box-shadow:-1px 0 3px #0000001a}:where(.games-timeline)>button:disabled:first-of-type:after,:where(.games-timeline)>button:disabled:last-of-type:before{opacity:0}:where(.games-timeline) .is-no-games{width:100%;text-align:center;color:var(--mvw-text-muted)}.games-timeline-game{display:grid;grid-template-columns:20px 1fr 20px;grid-template-areas:"gamedate gamedate gamedate" "home-logo home-team home-score" "away-logo away-team away-score" "status status status";grid-template-rows:1fr 1fr 1fr 1fr;gap:5px;justify-items:center;align-items:center;padding:.625rem;line-height:1;cursor:pointer}.games-timeline-game:hover{background-image:var(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;display:flex;align-items:center;gap:4px;font-size:var(--mvw-games-timeline-game-date-size);font-weight:700;color:var(--mvw-text-muted)}.games-timeline-game .is-home-team-logo{grid-area:home-logo}.games-timeline-game .is-away-team-logo{grid-area:away-logo}.games-timeline-game :is(.is-home-team-logo,.is-away-team-logo) .is-team-logo{display:block;width:20px;height:20px}.games-timeline-game :is(.is-home-team-name,.is-away-team-name){justify-self:start;font-size:var(--mvw-games-timeline-game-team-size);font-weight:700;color:var(--mvw-text-default);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}.games-timeline-game .is-home-team-name{grid-area:home-team}.games-timeline-game .is-away-team-name{grid-area:away-team}.games-timeline-game .is-home-team-score{grid-area:home-score}.games-timeline-game .is-away-team-score{grid-area:away-score}.games-timeline-game .is-status{grid-area:status;font-size:var(--mvw-games-timeline-game-status-size);color:var(--mvw-text-dimmed);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;text-align:center}.games-timeline-schedule-link{display:grid;place-content:center;height:100%}.games-timeline-schedule-link:hover{background-image:var(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--font-size-200);font-weight:700;text-transform:uppercase;color:var(--mvw-text-toned)}.games-timeline-schedule-link button svg{display:inline-block;width:14px}.games-timeline-error-indicator{display:flex;gap:.5rem;align-items:center;place-content:center;width:100%;font-size:var(--font-size-400);font-weight:500;color:var(--mvw-color-error)}.games-timeline-error-indicator svg{display:block;width:20px}.games-timeline-error-indicator button{text-decoration:underline}.score-display{height:20px;padding:0 5px!important}.score-display .is-score{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%)}.score-display .is-score>span{grid-area:stack;line-height:20px}.score-display .is-slide-transition-enter-active,.score-display .is-slide-transition-leave-active{transition:all .42s linear}.score-display .is-slide-transition-enter-from{transform:translateY(100%)}.score-display .is-slide-transition-enter-to,.score-display .is-slide-transition-leave-from{transform:translateY(0)}.score-display .is-slide-transition-leave-to{transform:translateY(-100%)}}', Bn = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Fn = "@layer components{:where(.marquee){--_width: 0px;--_speed: 8s;--_direction: forwards;overflow:clip;-webkit-mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent);mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent)}:where(.marquee) .marquee-track{display:flex;gap:var(--size-16);padding-left:var(--size-16);width:max-content;line-height:initial;--px-width: tan(atan2(var(--_width), 1px));--duration: calc(var(--px-width) / 1000 * var(--_speed))}:where(.marquee)[data-overflow=true]:hover .marquee-track{animation:marquee-move var(--duration) linear infinite var(--_direction)}:where(.marquee)[data-overflow=false] .marquee-track{margin:0 auto;padding:0}@keyframes marquee-move{to{transform:translate(-50%)}}}", Un = {
|
|
2466
2551
|
key: 0,
|
|
2467
2552
|
style: { width: "100%" }
|
|
2468
|
-
},
|
|
2553
|
+
}, Kn = {
|
|
2469
2554
|
key: 2,
|
|
2470
2555
|
class: "is-no-games"
|
|
2471
|
-
},
|
|
2556
|
+
}, Vn = {
|
|
2472
2557
|
__name: "GamesTimeline.ce",
|
|
2473
2558
|
props: {
|
|
2474
2559
|
locale: {
|
|
@@ -2493,78 +2578,78 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2493
2578
|
}
|
|
2494
2579
|
},
|
|
2495
2580
|
setup(e) {
|
|
2496
|
-
const t = e, o = { en:
|
|
2581
|
+
const t = e, o = { en: he, hu: pe }, r = We();
|
|
2497
2582
|
let i = [];
|
|
2498
|
-
const
|
|
2583
|
+
const s = G(!1), { isLoading: m, state: n, execute: d } = re({
|
|
2499
2584
|
options: {
|
|
2500
2585
|
path: t.servicePath,
|
|
2501
2586
|
apiKey: t.apiKey,
|
|
2502
2587
|
params: {},
|
|
2503
2588
|
immediate: !0
|
|
2504
2589
|
},
|
|
2505
|
-
transform: (
|
|
2590
|
+
transform: (b) => gn(b, n.value, "id").reverse(),
|
|
2506
2591
|
onError: () => {
|
|
2507
|
-
|
|
2592
|
+
s.value = !0;
|
|
2508
2593
|
},
|
|
2509
|
-
onSuccess:
|
|
2510
|
-
}), { resume:
|
|
2511
|
-
|
|
2594
|
+
onSuccess: x
|
|
2595
|
+
}), { resume: v, pause: c } = Ge(d, 1e3 * 60 * 5), h = Ko(m, 500);
|
|
2596
|
+
eo(
|
|
2512
2597
|
!0,
|
|
2513
2598
|
() => {
|
|
2514
|
-
|
|
2599
|
+
d(), v();
|
|
2515
2600
|
},
|
|
2516
2601
|
() => {
|
|
2517
|
-
|
|
2602
|
+
c(), i.map((b) => b?.()), i = [];
|
|
2518
2603
|
}
|
|
2519
2604
|
);
|
|
2520
|
-
const w =
|
|
2521
|
-
() => n.value.map((
|
|
2522
|
-
...
|
|
2523
|
-
gameDateTime: `${V(
|
|
2524
|
-
|
|
2605
|
+
const w = T(() => ot(n.value) ? 0 : n.value.findIndex((b) => !At(new Date(b.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), g = T(
|
|
2606
|
+
() => n.value.map((b) => ({
|
|
2607
|
+
...b,
|
|
2608
|
+
gameDateTime: `${V(b.gameDate, "L LT", r, t.locale)} (${He(
|
|
2609
|
+
b.gameDate,
|
|
2525
2610
|
r,
|
|
2526
2611
|
t.locale
|
|
2527
2612
|
)})`
|
|
2528
2613
|
}))
|
|
2529
|
-
), { execute: _ } =
|
|
2530
|
-
async function
|
|
2531
|
-
|
|
2532
|
-
const
|
|
2533
|
-
for (let
|
|
2534
|
-
const k =
|
|
2614
|
+
), { execute: _ } = pn({ apiKey: t.apiKey });
|
|
2615
|
+
async function x() {
|
|
2616
|
+
s.value = !1, i.map((p) => p?.()), i = [];
|
|
2617
|
+
const b = n.value.filter((p) => p.gameStatus === 1);
|
|
2618
|
+
for (let p = 0; p < b.length; p++) {
|
|
2619
|
+
const k = b[p].id;
|
|
2535
2620
|
_(0, { gameId: k }).then((M) => C(M));
|
|
2536
|
-
const { pause: $ } =
|
|
2621
|
+
const { pause: $ } = Ge(() => _(0, { gameId: k }).then((M) => C(M)), 6e4);
|
|
2537
2622
|
i.push($);
|
|
2538
2623
|
}
|
|
2539
2624
|
}
|
|
2540
|
-
function C(
|
|
2541
|
-
const { gameId:
|
|
2542
|
-
|
|
2625
|
+
function C(b = {}) {
|
|
2626
|
+
const { gameId: p, gameStatus: k, homeTeamScore: $, awayTeamScore: M, period: R, periodTime: I } = b, Y = n.value.find((j) => j.id === p);
|
|
2627
|
+
Y.gameStatus = k, Y.homeTeamScore = $, Y.awayTeamScore = M, Y.period = R, Y.periodTime = I, kr(n);
|
|
2543
2628
|
}
|
|
2544
|
-
function z({ url:
|
|
2545
|
-
window.open(
|
|
2629
|
+
function z({ url: b, target: p }) {
|
|
2630
|
+
window.open(b, p);
|
|
2546
2631
|
}
|
|
2547
|
-
function
|
|
2548
|
-
|
|
2632
|
+
function N() {
|
|
2633
|
+
s.value = !1, d();
|
|
2549
2634
|
}
|
|
2550
|
-
return (
|
|
2635
|
+
return (b, p) => (u(), D(a(ue), {
|
|
2551
2636
|
locale: e.locale,
|
|
2552
2637
|
messages: o
|
|
2553
2638
|
}, {
|
|
2554
|
-
default:
|
|
2555
|
-
(u(),
|
|
2556
|
-
key: a(
|
|
2639
|
+
default: P(({ t: k }) => [
|
|
2640
|
+
(u(), D(kn, {
|
|
2641
|
+
key: a(h),
|
|
2557
2642
|
"initial-index": w.value
|
|
2558
2643
|
}, {
|
|
2559
|
-
default:
|
|
2560
|
-
!
|
|
2561
|
-
S(a(
|
|
2562
|
-
])) :
|
|
2644
|
+
default: P(() => [
|
|
2645
|
+
!s.value && a(h) ? (u(), y("div", Un, [
|
|
2646
|
+
S(a(qe))
|
|
2647
|
+
])) : s.value && a(ot)(a(n)) ? (u(), D(Gn, {
|
|
2563
2648
|
key: 1,
|
|
2564
|
-
onTryAgain:
|
|
2565
|
-
})) : g.value.length === 0 ? (u(),
|
|
2566
|
-
|
|
2567
|
-
default:
|
|
2649
|
+
onTryAgain: N
|
|
2650
|
+
})) : g.value.length === 0 ? (u(), y("div", Kn, f(k("gamesTimeline.noGames")), 1)) : (u(), y(B, { key: 3 }, [
|
|
2651
|
+
p[0] || (Pe(-1, !0), (p[0] = S(tt, null, {
|
|
2652
|
+
default: P(() => [
|
|
2568
2653
|
S(_t, {
|
|
2569
2654
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2570
2655
|
title: k("gamesTimeline.allSchedule"),
|
|
@@ -2572,9 +2657,9 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2572
2657
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2573
2658
|
]),
|
|
2574
2659
|
_: 2
|
|
2575
|
-
}, 1024)).cacheIndex = 0,
|
|
2576
|
-
(u(!0),
|
|
2577
|
-
const
|
|
2660
|
+
}, 1024)).cacheIndex = 0, Pe(1), p[0]),
|
|
2661
|
+
(u(!0), y(B, null, ee(g.value, ($, M, R, I) => {
|
|
2662
|
+
const Y = [
|
|
2578
2663
|
$.gameDateTime,
|
|
2579
2664
|
$.gameStatus,
|
|
2580
2665
|
$.homeTeamScore,
|
|
@@ -2582,12 +2667,12 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2582
2667
|
$.period,
|
|
2583
2668
|
$.actualTime
|
|
2584
2669
|
];
|
|
2585
|
-
if (
|
|
2586
|
-
const
|
|
2670
|
+
if (I && I.key === $.id && _r(I, Y)) return I;
|
|
2671
|
+
const j = (u(), D(tt, {
|
|
2587
2672
|
key: $.id
|
|
2588
2673
|
}, {
|
|
2589
|
-
default:
|
|
2590
|
-
S(
|
|
2674
|
+
default: P(() => [
|
|
2675
|
+
S(Rn, {
|
|
2591
2676
|
"game-data": $,
|
|
2592
2677
|
"external-game-resolver": e.externalGameResolver,
|
|
2593
2678
|
onNavigateTo: z
|
|
@@ -2595,10 +2680,10 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2595
2680
|
]),
|
|
2596
2681
|
_: 2
|
|
2597
2682
|
}, 1024));
|
|
2598
|
-
return
|
|
2599
|
-
},
|
|
2600
|
-
|
|
2601
|
-
default:
|
|
2683
|
+
return j.memo = Y, j;
|
|
2684
|
+
}, p, 1), 128)),
|
|
2685
|
+
p[3] || (Pe(-1, !0), (p[3] = S(tt, null, {
|
|
2686
|
+
default: P(() => [
|
|
2602
2687
|
S(_t, {
|
|
2603
2688
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2604
2689
|
title: k("gamesTimeline.allSchedule"),
|
|
@@ -2606,7 +2691,7 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2606
2691
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2607
2692
|
]),
|
|
2608
2693
|
_: 2
|
|
2609
|
-
}, 1024)).cacheIndex = 3,
|
|
2694
|
+
}, 1024)).cacheIndex = 3, Pe(1), p[3])
|
|
2610
2695
|
], 64))
|
|
2611
2696
|
]),
|
|
2612
2697
|
_: 2
|
|
@@ -2615,42 +2700,42 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2615
2700
|
_: 1
|
|
2616
2701
|
}, 8, ["locale"]));
|
|
2617
2702
|
}
|
|
2618
|
-
},
|
|
2619
|
-
function
|
|
2620
|
-
return e.map(
|
|
2703
|
+
}, qn = /* @__PURE__ */ we(Vn, [["styles", [ge, Yn, Bn, Fn]]]);
|
|
2704
|
+
function Hn(e) {
|
|
2705
|
+
return e.map(Wn).map(Jn).sort(Zn);
|
|
2621
2706
|
}
|
|
2622
|
-
function
|
|
2623
|
-
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o =
|
|
2707
|
+
function Wn(e) {
|
|
2708
|
+
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o = Fr(t, e), r = Qn(o);
|
|
2624
2709
|
return {
|
|
2625
|
-
...
|
|
2710
|
+
...Bt(t, e),
|
|
2626
2711
|
recruitment: {
|
|
2627
2712
|
...r
|
|
2628
2713
|
}
|
|
2629
2714
|
};
|
|
2630
2715
|
}
|
|
2631
|
-
function
|
|
2716
|
+
function Jn(e) {
|
|
2632
2717
|
return {
|
|
2633
2718
|
...e,
|
|
2634
2719
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
2635
2720
|
};
|
|
2636
2721
|
}
|
|
2637
|
-
function
|
|
2638
|
-
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl =
|
|
2722
|
+
function Qn(e) {
|
|
2723
|
+
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl = Xn(e.recruitmentContactUrl || ""), e;
|
|
2639
2724
|
}
|
|
2640
|
-
function
|
|
2725
|
+
function Xn(e) {
|
|
2641
2726
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
2642
2727
|
}
|
|
2643
|
-
function
|
|
2728
|
+
function Zn(e, t) {
|
|
2644
2729
|
const o = e.organizationName.toUpperCase(), r = t.organizationName.toUpperCase();
|
|
2645
2730
|
return o < r ? -1 : o > r ? 1 : 0;
|
|
2646
2731
|
}
|
|
2647
|
-
const
|
|
2732
|
+
const el = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, tl = "@layer components.variables{:where(:host){--mvw-card-color: light-dark(var(--mvw-color-primary-950), var(--mvw-color-primary-200));--mvw-card-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-card-tonal-active-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900))}}@layer components{:where(details){--_accordion-transition-time: .2s;--_bg-color: var(--mvw-card-bg-color);--_shadow: none;container-type:inline-size;display:block;background-color:var(--_bg-color);border-radius:var(--radius-2);color:var(--mvw-card-color);box-shadow:var(--_shadow);transition:all var(--_accordion-transition-time) ease-out}@media (prefers-reduced-motion: no-preference){:where(details){interpolate-size:allow-keywords}}:where(details)::details-content{block-size:0;opacity:0;overflow-y:clip;transition:content-visibility var(--_accordion-transition-time) allow-discrete,opacity var(--_accordion-transition-time),block-size var(--_accordion-transition-time)}:where(details)[open]::details-content{block-size:auto;opacity:1}:where(details)>summary{background-color:inherit;cursor:pointer;font-weight:700;padding-block:var(--size-16);-webkit-user-select:none;user-select:none;align-items:center;display:flex;gap:var(--size-8);list-style:none}:where(details)>summary::marker,:where(details)>summary::-webkit-details-marker{display:none}:where(details)>summary strong{flex:1}:where(details)>summary svg{transition:rotate .8s var(--ease-spring-1, ease)}:where(details)[open]>summary svg{rotate:180deg}:where(details).elevated{--_shadow: var(--shadow-3)}:where(details).tonal[open]{background-color:var(--mvw-card-tonal-active-bg-color)}:where(details):where(.tonal)>*{padding-inline:var(--size-16)}}", rl = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", ol = "@layer components{:where(.definition-list){--_border-style: solid;--_border-width: 1px;--_border-color: var(--mvw-border-muted);display:grid;gap:var(--size-8);padding:0}:where(.definition-list).dotted{--_border-style: dotted;--_border-width: 2px}:where(.definition-list) li{display:grid;margin:0;padding:0}:where(.definition-list) li .term{display:block;font-weight:700;overflow:hidden;position:relative;color:var(--mvw-text-muted)}:where(.definition-list) li hr{display:none;margin:0}@container (width > 30ch){:where(.definition-list){gap:var(--size-8)}:where(.definition-list) li{align-items:baseline;display:grid;gap:var(--size-8);grid-template-columns:1fr auto}:where(.definition-list) li:has(hr){grid-template-columns:auto 1fr auto}:where(.definition-list) li hr{background-color:transparent;border-block-end:var(--_border-width) var(--_border-style) var(--_border-color);block-size:2px;display:block}:where(.definition-list) li .term{inline-size:max-content}:where(.definition-list) li .term:after{display:inline-block}:where(.definition-list) li .description{color:var(--text-color-2);text-align:end}}}", al = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", il = ["placeholder"], nl = {
|
|
2648
2733
|
key: 2,
|
|
2649
2734
|
class: "text-muted text-center font-bold"
|
|
2650
|
-
},
|
|
2735
|
+
}, ll = ["id", "aria-controls"], sl = { key: 0 }, cl = ["id", "aria-labelledby"], ml = { class: "definition-list dotted mb-md" }, dl = { class: "term" }, vl = ["innerHTML"], ul = { class: "grid-container text-muted" }, hl = {
|
|
2651
2736
|
key: 0,
|
|
2652
2737
|
class: "text-end"
|
|
2653
|
-
},
|
|
2738
|
+
}, pl = {
|
|
2654
2739
|
__name: "RecruitmentInfo.ce",
|
|
2655
2740
|
props: {
|
|
2656
2741
|
locale: {
|
|
@@ -2667,10 +2752,10 @@ const Kn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2667
2752
|
}
|
|
2668
2753
|
},
|
|
2669
2754
|
setup(e) {
|
|
2670
|
-
const t = e, o = { en:
|
|
2755
|
+
const t = e, o = { en: he, hu: pe }, { onError: r, error: i, hasError: s, reset: m } = to(), {
|
|
2671
2756
|
state: n,
|
|
2672
|
-
isLoading:
|
|
2673
|
-
execute:
|
|
2757
|
+
isLoading: d,
|
|
2758
|
+
execute: v
|
|
2674
2759
|
} = re({
|
|
2675
2760
|
options: {
|
|
2676
2761
|
path: "/v2/recruitment-info",
|
|
@@ -2678,67 +2763,67 @@ const Kn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2678
2763
|
params: {},
|
|
2679
2764
|
immediate: !0
|
|
2680
2765
|
},
|
|
2681
|
-
transform:
|
|
2766
|
+
transform: Hn,
|
|
2682
2767
|
onError: r
|
|
2683
|
-
}),
|
|
2684
|
-
() =>
|
|
2685
|
-
), _ =
|
|
2686
|
-
|
|
2687
|
-
|
|
2768
|
+
}), c = G(""), { page: h, change: w } = Vt(), g = T(
|
|
2769
|
+
() => Ne(n.value).filter(c.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(h.value, t.limit).value()
|
|
2770
|
+
), _ = T(() => [(h.value - 1) * t.limit + 1, Math.min(h.value * t.limit, g.value.totalItems)]);
|
|
2771
|
+
W(c, () => {
|
|
2772
|
+
h.value !== 1 && (h.value = 1);
|
|
2688
2773
|
});
|
|
2689
|
-
function
|
|
2690
|
-
m(),
|
|
2774
|
+
function x() {
|
|
2775
|
+
m(), v();
|
|
2691
2776
|
}
|
|
2692
|
-
return (C, z) => (u(),
|
|
2777
|
+
return (C, z) => (u(), D(a(ue), {
|
|
2693
2778
|
locale: e.locale,
|
|
2694
2779
|
messages: o
|
|
2695
2780
|
}, {
|
|
2696
|
-
default:
|
|
2697
|
-
S(a(
|
|
2698
|
-
label:
|
|
2781
|
+
default: P(({ t: N }) => [
|
|
2782
|
+
S(a(_e), {
|
|
2783
|
+
label: N("selection.filter"),
|
|
2699
2784
|
name: "filter",
|
|
2700
2785
|
class: "full-width mb-md",
|
|
2701
2786
|
style: { "max-width": "220px" }
|
|
2702
2787
|
}, {
|
|
2703
|
-
default:
|
|
2788
|
+
default: P(() => [
|
|
2704
2789
|
Tt(l("input", {
|
|
2705
2790
|
id: "filter",
|
|
2706
|
-
"onUpdate:modelValue": z[0] || (z[0] = (
|
|
2707
|
-
placeholder:
|
|
2791
|
+
"onUpdate:modelValue": z[0] || (z[0] = (b) => c.value = b),
|
|
2792
|
+
placeholder: N("recruitmentInfo.filterByNameAndLocation"),
|
|
2708
2793
|
type: "search",
|
|
2709
2794
|
autocomplete: "off"
|
|
2710
|
-
}, null, 8,
|
|
2711
|
-
[Nt,
|
|
2795
|
+
}, null, 8, il), [
|
|
2796
|
+
[Nt, c.value]
|
|
2712
2797
|
])
|
|
2713
2798
|
]),
|
|
2714
2799
|
_: 2
|
|
2715
2800
|
}, 1032, ["label"]),
|
|
2716
|
-
a(
|
|
2801
|
+
a(s) ? (u(), D(a(Te), {
|
|
2717
2802
|
key: 0,
|
|
2718
2803
|
error: a(i),
|
|
2719
2804
|
"use-retry": "",
|
|
2720
|
-
onRetry:
|
|
2721
|
-
}, null, 8, ["error"])) :
|
|
2722
|
-
a(
|
|
2723
|
-
a(n).length > 0 && g.value.rows.length === 0 ? (u(),
|
|
2724
|
-
(u(!0),
|
|
2725
|
-
key:
|
|
2805
|
+
onRetry: x
|
|
2806
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
2807
|
+
a(d) ? (u(), D(a(qe), { key: 1 })) : E("", !0),
|
|
2808
|
+
a(n).length > 0 && g.value.rows.length === 0 ? (u(), y("div", nl, f(N("recruitmentInfo.noResult")), 1)) : E("", !0),
|
|
2809
|
+
(u(!0), y(B, null, ee(g.value.rows, (b, p) => (u(), y("details", {
|
|
2810
|
+
key: b.organizationName,
|
|
2726
2811
|
class: "tonal elevated mb-md"
|
|
2727
2812
|
}, [
|
|
2728
2813
|
l("summary", {
|
|
2729
|
-
id: `summary-${
|
|
2730
|
-
"aria-controls": `content-${
|
|
2814
|
+
id: `summary-${p}`,
|
|
2815
|
+
"aria-controls": `content-${p}`
|
|
2731
2816
|
}, [
|
|
2732
2817
|
S(a(ne), {
|
|
2733
|
-
src: `https://ivr-api.icehockey.hu${
|
|
2818
|
+
src: `https://ivr-api.icehockey.hu${b.organizationLogo}`,
|
|
2734
2819
|
"default-src": "data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg' fill='%23cfd8dc'%3E%3Ccircle cx='15' cy='15' r='15' /%3E%3C/svg%3E",
|
|
2735
2820
|
width: 30,
|
|
2736
2821
|
height: 30,
|
|
2737
2822
|
style: { "object-fit": "contain" }
|
|
2738
2823
|
}, null, 8, ["src"]),
|
|
2739
2824
|
l("strong", null, [
|
|
2740
|
-
q(b
|
|
2741
|
-
|
|
2825
|
+
q(f(b.organizationName) + " ", 1),
|
|
2826
|
+
b.recruitmentTeamName ? (u(), y("span", sl, "(" + f(b.recruitmentTeamName) + ")", 1)) : E("", !0)
|
|
2742
2827
|
]),
|
|
2743
2828
|
z[1] || (z[1] = l("svg", {
|
|
2744
2829
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2751,49 +2836,49 @@ const Kn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2751
2836
|
d: "M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414"
|
|
2752
2837
|
})
|
|
2753
2838
|
], -1))
|
|
2754
|
-
], 8,
|
|
2839
|
+
], 8, ll),
|
|
2755
2840
|
l("div", {
|
|
2756
|
-
id: `content-${
|
|
2841
|
+
id: `content-${p}`,
|
|
2757
2842
|
class: "content",
|
|
2758
2843
|
role: "region",
|
|
2759
|
-
"aria-labelledby": `summary-${
|
|
2844
|
+
"aria-labelledby": `summary-${p}`
|
|
2760
2845
|
}, [
|
|
2761
|
-
l("ul",
|
|
2762
|
-
(u(!0),
|
|
2763
|
-
l("span",
|
|
2846
|
+
l("ul", ml, [
|
|
2847
|
+
(u(!0), y(B, null, ee(b.recruitment, (k, $) => (u(), y("li", { key: $ }, [
|
|
2848
|
+
l("span", dl, f(N(`recruitmentInfo.${$}`)), 1),
|
|
2764
2849
|
z[2] || (z[2] = l("hr", null, null, -1)),
|
|
2765
2850
|
l("span", {
|
|
2766
2851
|
class: "description",
|
|
2767
2852
|
innerHTML: k
|
|
2768
|
-
}, null, 8,
|
|
2853
|
+
}, null, 8, vl)
|
|
2769
2854
|
]))), 128))
|
|
2770
2855
|
])
|
|
2771
|
-
], 8,
|
|
2856
|
+
], 8, cl)
|
|
2772
2857
|
]))), 128)),
|
|
2773
|
-
l("div",
|
|
2858
|
+
l("div", ul, [
|
|
2774
2859
|
S(a(Lt), {
|
|
2775
|
-
page: a(
|
|
2860
|
+
page: a(h),
|
|
2776
2861
|
"items-per-page": t.limit,
|
|
2777
2862
|
"total-items": g.value.totalItems,
|
|
2778
2863
|
"range-length": 5,
|
|
2779
2864
|
onChange: a(w)
|
|
2780
2865
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2781
|
-
g.value.totalItems > 0 ? (u(),
|
|
2866
|
+
g.value.totalItems > 0 ? (u(), y("div", hl, f(N("table.info", { min: _.value[0], max: _.value[1], total: g.value.totalItems })), 1)) : E("", !0)
|
|
2782
2867
|
])
|
|
2783
2868
|
]),
|
|
2784
2869
|
_: 1
|
|
2785
2870
|
}, 8, ["locale"]));
|
|
2786
2871
|
}
|
|
2787
|
-
},
|
|
2788
|
-
function
|
|
2872
|
+
}, gl = /* @__PURE__ */ we(pl, [["styles", [ge, el, tl, rl, ol, al]]]);
|
|
2873
|
+
function wl(e, t) {
|
|
2789
2874
|
if (e.length === 0)
|
|
2790
|
-
throw new
|
|
2791
|
-
t.seasons =
|
|
2875
|
+
throw new jt(Re.message, Re.options);
|
|
2876
|
+
t.seasons = Gt(e), t.championshipId || (t.championshipId = te(t.seasons).championshipId);
|
|
2792
2877
|
}
|
|
2793
|
-
function
|
|
2794
|
-
t.sections =
|
|
2878
|
+
function fl(e, t) {
|
|
2879
|
+
t.sections = Ot(e), t.sectionId = Ur(t.sections), t.phaseId = Ft([0, "phases", 0], e)?.phaseId ?? null;
|
|
2795
2880
|
}
|
|
2796
|
-
const
|
|
2881
|
+
const bl = {
|
|
2797
2882
|
gameName: {
|
|
2798
2883
|
label: "table.gameName.short",
|
|
2799
2884
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2830,13 +2915,13 @@ const ml = {
|
|
|
2830
2915
|
class: "text-start"
|
|
2831
2916
|
}
|
|
2832
2917
|
};
|
|
2833
|
-
function
|
|
2918
|
+
function yl(e) {
|
|
2834
2919
|
return (t) => t.map((o) => ({
|
|
2835
2920
|
...o,
|
|
2836
2921
|
...o.registration && { registration: `${o.registration}/cid/${e}` }
|
|
2837
2922
|
}));
|
|
2838
2923
|
}
|
|
2839
|
-
const
|
|
2924
|
+
const xl = {
|
|
2840
2925
|
__name: "DataProvider",
|
|
2841
2926
|
props: {
|
|
2842
2927
|
championshipName: {
|
|
@@ -2871,51 +2956,51 @@ const vl = {
|
|
|
2871
2956
|
sections: [],
|
|
2872
2957
|
sectionId: null,
|
|
2873
2958
|
phaseId: null
|
|
2874
|
-
}), { onError: r } =
|
|
2959
|
+
}), { onError: r } = Qe(), { isLoading: i, execute: s } = re({
|
|
2875
2960
|
options: {
|
|
2876
2961
|
path: "/v2/championship-seasons",
|
|
2877
2962
|
apiKey: t.apiKey,
|
|
2878
2963
|
params: { championshipName: t.championshipName }
|
|
2879
2964
|
},
|
|
2880
|
-
transform: (
|
|
2965
|
+
transform: (x) => wl(x, o),
|
|
2881
2966
|
onError: r
|
|
2882
2967
|
}), { isLoading: m, execute: n } = re({
|
|
2883
2968
|
options: {
|
|
2884
2969
|
path: "/v2/championship-sections",
|
|
2885
2970
|
apiKey: t.apiKey,
|
|
2886
|
-
params:
|
|
2971
|
+
params: T(() => ({ championshipId: o.championshipId }))
|
|
2887
2972
|
},
|
|
2888
|
-
transform: (
|
|
2973
|
+
transform: (x) => fl(x, o),
|
|
2889
2974
|
onError: r
|
|
2890
2975
|
}), {
|
|
2891
|
-
isLoading:
|
|
2892
|
-
state:
|
|
2893
|
-
execute:
|
|
2976
|
+
isLoading: d,
|
|
2977
|
+
state: v,
|
|
2978
|
+
execute: c
|
|
2894
2979
|
} = re({
|
|
2895
2980
|
options: {
|
|
2896
2981
|
path: "/v2/games-list",
|
|
2897
2982
|
apiKey: t.apiKey,
|
|
2898
|
-
params:
|
|
2983
|
+
params: T(() => ({ championshipId: o.championshipId, phaseId: o.phaseId }))
|
|
2899
2984
|
},
|
|
2900
|
-
transform: (
|
|
2985
|
+
transform: (x) => Kr(Yt, yl(o.championshipId))(x),
|
|
2901
2986
|
onError: r
|
|
2902
|
-
}),
|
|
2903
|
-
|
|
2904
|
-
const w =
|
|
2905
|
-
function g(
|
|
2906
|
-
o.championshipId =
|
|
2987
|
+
}), h = T(() => Ne(v.value).schedule(t.timezone, t.locale).value());
|
|
2988
|
+
Be([s, n, c]);
|
|
2989
|
+
const w = T(() => [m.value, i.value, d.value].some(Boolean));
|
|
2990
|
+
function g(x) {
|
|
2991
|
+
o.championshipId = x, Be([n, c]);
|
|
2907
2992
|
}
|
|
2908
|
-
function _(
|
|
2909
|
-
o.sectionId =
|
|
2993
|
+
function _(x) {
|
|
2994
|
+
o.sectionId = x.sectionId, o.phaseId = Ft(["phases", 0, "phaseId"], x), c();
|
|
2910
2995
|
}
|
|
2911
|
-
return (
|
|
2912
|
-
rows:
|
|
2996
|
+
return (x, C) => ke(x.$slots, "default", Ue(Ke({
|
|
2997
|
+
rows: h.value,
|
|
2913
2998
|
isLoading: w.value,
|
|
2914
|
-
values: a(
|
|
2999
|
+
values: a(Bt)(["phaseId"], o),
|
|
2915
3000
|
listeners: { onChangeSection: _, onChangeSeason: g }
|
|
2916
3001
|
})));
|
|
2917
3002
|
}
|
|
2918
|
-
},
|
|
3003
|
+
}, kl = ["href"], _l = ["href"], zl = {
|
|
2919
3004
|
__name: "ScheduleCupDataTable",
|
|
2920
3005
|
props: {
|
|
2921
3006
|
columns: {
|
|
@@ -2936,41 +3021,41 @@ const vl = {
|
|
|
2936
3021
|
}
|
|
2937
3022
|
},
|
|
2938
3023
|
setup(e) {
|
|
2939
|
-
const t = e, o = G(null), { columns: r } =
|
|
3024
|
+
const t = e, o = G(null), { columns: r } = ro(
|
|
2940
3025
|
t.columns,
|
|
2941
3026
|
null,
|
|
2942
|
-
|
|
3027
|
+
T(() => ({
|
|
2943
3028
|
offsetName: t.offsetName
|
|
2944
3029
|
}))
|
|
2945
3030
|
), { t: i } = ce();
|
|
2946
|
-
return (
|
|
3031
|
+
return (s, m) => (u(), y("div", {
|
|
2947
3032
|
ref_key: "tooltipContainer",
|
|
2948
3033
|
ref: o
|
|
2949
3034
|
}, [
|
|
2950
|
-
S(a(
|
|
2951
|
-
default:
|
|
2952
|
-
S(a(
|
|
3035
|
+
S(a(Mt), null, {
|
|
3036
|
+
default: P(() => [
|
|
3037
|
+
S(a(Cr), {
|
|
2953
3038
|
columns: a(r),
|
|
2954
3039
|
rows: e.rows,
|
|
2955
3040
|
"is-loading": e.isLoading,
|
|
2956
3041
|
"append-to": o.value
|
|
2957
3042
|
}, {
|
|
2958
|
-
"cell-homeTeamName":
|
|
2959
|
-
q(
|
|
3043
|
+
"cell-homeTeamName": P(({ row: n }) => [
|
|
3044
|
+
q(f(n.homeTeam?.longName ?? ""), 1)
|
|
2960
3045
|
]),
|
|
2961
|
-
"cell-location":
|
|
2962
|
-
q(
|
|
3046
|
+
"cell-location": P(({ row: n }) => [
|
|
3047
|
+
q(f(n.location?.locationName ?? ""), 1)
|
|
2963
3048
|
]),
|
|
2964
|
-
"cell-document":
|
|
2965
|
-
n.schedule ? (u(),
|
|
3049
|
+
"cell-document": P(({ row: n }) => [
|
|
3050
|
+
n.schedule ? (u(), y("a", {
|
|
2966
3051
|
key: 0,
|
|
2967
3052
|
href: n.schedule,
|
|
2968
3053
|
target: "_blank"
|
|
2969
|
-
},
|
|
3054
|
+
}, f(a(i)("schedule")), 9, kl)) : n.registration ? (u(), y("a", {
|
|
2970
3055
|
key: 1,
|
|
2971
3056
|
href: n.registration,
|
|
2972
3057
|
target: "_blank"
|
|
2973
|
-
},
|
|
3058
|
+
}, f(a(i)("registration")), 9, _l)) : E("", !0)
|
|
2974
3059
|
]),
|
|
2975
3060
|
_: 1
|
|
2976
3061
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -2979,7 +3064,7 @@ const vl = {
|
|
|
2979
3064
|
})
|
|
2980
3065
|
], 512));
|
|
2981
3066
|
}
|
|
2982
|
-
},
|
|
3067
|
+
}, Sl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", $l = {
|
|
2983
3068
|
__name: "ScheduleCup.ce",
|
|
2984
3069
|
props: {
|
|
2985
3070
|
locale: {
|
|
@@ -3000,29 +3085,29 @@ const vl = {
|
|
|
3000
3085
|
// },
|
|
3001
3086
|
},
|
|
3002
3087
|
setup(e) {
|
|
3003
|
-
const t = e, o = { en:
|
|
3004
|
-
return (
|
|
3088
|
+
const t = e, o = { en: he, hu: pe }, r = G(We()), i = T(() => He(/* @__PURE__ */ new Date(), r.value, t.locale));
|
|
3089
|
+
return (s, m) => (u(), D(a(ue), {
|
|
3005
3090
|
locale: t.locale,
|
|
3006
3091
|
messages: o
|
|
3007
3092
|
}, {
|
|
3008
|
-
default:
|
|
3009
|
-
S(a(
|
|
3010
|
-
default:
|
|
3011
|
-
|
|
3093
|
+
default: P(() => [
|
|
3094
|
+
S(a(Ve), null, {
|
|
3095
|
+
default: P(({ error: n, hasError: d }) => [
|
|
3096
|
+
d ? (u(), D(a(Te), {
|
|
3012
3097
|
key: 0,
|
|
3013
3098
|
error: n
|
|
3014
|
-
}, null, 8, ["error"])) :
|
|
3015
|
-
S(
|
|
3099
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
3100
|
+
S(xl, {
|
|
3016
3101
|
"championship-name": e.championshipName,
|
|
3017
3102
|
locale: e.locale,
|
|
3018
3103
|
timezone: r.value
|
|
3019
3104
|
}, {
|
|
3020
|
-
default:
|
|
3021
|
-
S(
|
|
3022
|
-
S(
|
|
3023
|
-
columns: a(
|
|
3024
|
-
rows:
|
|
3025
|
-
"is-loading":
|
|
3105
|
+
default: P(({ rows: v, isLoading: c, values: h, listeners: w }) => [
|
|
3106
|
+
S(ir, Pt(h, zr(w)), null, 16),
|
|
3107
|
+
S(zl, {
|
|
3108
|
+
columns: a(bl),
|
|
3109
|
+
rows: v.rows,
|
|
3110
|
+
"is-loading": c,
|
|
3026
3111
|
"offset-name": i.value
|
|
3027
3112
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3028
3113
|
]),
|
|
@@ -3035,7 +3120,7 @@ const vl = {
|
|
|
3035
3120
|
_: 1
|
|
3036
3121
|
}, 8, ["locale"]));
|
|
3037
3122
|
}
|
|
3038
|
-
},
|
|
3123
|
+
}, Cl = /* @__PURE__ */ we($l, [["styles", [ge, nr, lr, sr, cr, mr, dr, Sl]]]), Tl = ["data-state", "onClick"], Nl = { class: "list" }, Il = ["aria-selected", "onClick"], El = { class: "text" }, Pl = /* @__PURE__ */ Object.assign({
|
|
3039
3124
|
inheritAttrs: !1
|
|
3040
3125
|
}, {
|
|
3041
3126
|
__name: "ChampionshipSelector",
|
|
@@ -3056,37 +3141,37 @@ const vl = {
|
|
|
3056
3141
|
emits: ["change"],
|
|
3057
3142
|
setup(e, { emit: t }) {
|
|
3058
3143
|
const o = t;
|
|
3059
|
-
return (r, i) => (u(),
|
|
3144
|
+
return (r, i) => (u(), D(a(Tr), {
|
|
3060
3145
|
offset: 2,
|
|
3061
3146
|
placement: "bottom-end",
|
|
3062
3147
|
theme: "content",
|
|
3063
3148
|
"append-to": e.target,
|
|
3064
3149
|
"is-arrow-visible": !1
|
|
3065
3150
|
}, {
|
|
3066
|
-
default:
|
|
3151
|
+
default: P(({ setRef: s, open: m, toggle: n }) => [
|
|
3067
3152
|
l("button", {
|
|
3068
|
-
ref:
|
|
3153
|
+
ref: s,
|
|
3069
3154
|
type: "button",
|
|
3070
3155
|
"data-state": m ? "open" : "closed",
|
|
3071
3156
|
class: "icon-button",
|
|
3072
3157
|
onClick: n
|
|
3073
3158
|
}, [
|
|
3074
|
-
S(a(
|
|
3075
|
-
], 8,
|
|
3159
|
+
S(a(ba), { style: { display: "block", height: "20px" } })
|
|
3160
|
+
], 8, Tl)
|
|
3076
3161
|
]),
|
|
3077
|
-
content:
|
|
3078
|
-
l("ul",
|
|
3079
|
-
(u(!0),
|
|
3162
|
+
content: P(({ close: s }) => [
|
|
3163
|
+
l("ul", Nl, [
|
|
3164
|
+
(u(!0), y(B, null, ee(e.data, (m) => (u(), y("li", {
|
|
3080
3165
|
key: m.championshipId
|
|
3081
3166
|
}, [
|
|
3082
3167
|
l("button", {
|
|
3083
3168
|
class: oe({ "is-selected": e.selected === m.phaseId }),
|
|
3084
3169
|
"aria-selected": e.selected === m.phaseId,
|
|
3085
3170
|
type: "button",
|
|
3086
|
-
onClick: (n) => o("change", { item: m, close:
|
|
3171
|
+
onClick: (n) => o("change", { item: m, close: s(n) })
|
|
3087
3172
|
}, [
|
|
3088
|
-
l("div",
|
|
3089
|
-
], 10,
|
|
3173
|
+
l("div", El, f(m.name) + " - " + f(m.phase), 1)
|
|
3174
|
+
], 10, Il)
|
|
3090
3175
|
]))), 128))
|
|
3091
3176
|
])
|
|
3092
3177
|
]),
|
|
@@ -3094,10 +3179,10 @@ const vl = {
|
|
|
3094
3179
|
}, 8, ["append-to"]));
|
|
3095
3180
|
}
|
|
3096
3181
|
});
|
|
3097
|
-
function
|
|
3182
|
+
function Dl(e) {
|
|
3098
3183
|
return e.map((t) => ({ ...t, w: vt([t.w, t.otw, t.sow]), l: vt([t.l, t.otl, t.sol]) }));
|
|
3099
3184
|
}
|
|
3100
|
-
const
|
|
3185
|
+
const Ll = {
|
|
3101
3186
|
__name: "DataProvider",
|
|
3102
3187
|
props: {
|
|
3103
3188
|
apiKey: {
|
|
@@ -3110,35 +3195,35 @@ const Sl = {
|
|
|
3110
3195
|
}
|
|
3111
3196
|
},
|
|
3112
3197
|
setup(e) {
|
|
3113
|
-
const t = e, { onError: o, reset: r } =
|
|
3198
|
+
const t = e, { onError: o, reset: r } = Qe(), i = se({
|
|
3114
3199
|
championshipId: te(t.data).championshipId,
|
|
3115
3200
|
phaseId: te(t.data).phaseId,
|
|
3116
3201
|
path: te(t.data)?.path ?? "",
|
|
3117
3202
|
championshipName: te(t.data).name,
|
|
3118
3203
|
phaseName: te(t.data)?.phase ?? null,
|
|
3119
3204
|
isPlayoffs: te(t.data)?.isPlayoffs ?? !1
|
|
3120
|
-
}), { state:
|
|
3205
|
+
}), { state: s, isLoading: m, execute: n } = re({
|
|
3121
3206
|
options: {
|
|
3122
|
-
path:
|
|
3207
|
+
path: T(() => i.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3123
3208
|
apiKey: t.apiKey,
|
|
3124
|
-
params:
|
|
3209
|
+
params: T(() => ({ championshipId: i.championshipId, ...!i.isPlayoffs && { phaseId: i.phaseId } })),
|
|
3125
3210
|
resetOnExecute: !0,
|
|
3126
3211
|
immediate: !0
|
|
3127
3212
|
},
|
|
3128
|
-
transform: (
|
|
3213
|
+
transform: (h) => Dl(h),
|
|
3129
3214
|
onError: o
|
|
3130
|
-
}),
|
|
3215
|
+
}), d = T(() => Ne(s.value).addContinuousIndex().value()), v = T(() => ({
|
|
3131
3216
|
tag: i.path ? "a" : "span",
|
|
3132
3217
|
props: {
|
|
3133
3218
|
...i.path && { href: i.path }
|
|
3134
3219
|
}
|
|
3135
3220
|
}));
|
|
3136
|
-
function
|
|
3137
|
-
i.championshipId =
|
|
3221
|
+
function c({ item: { championshipId: h, phaseId: w, name: g, path: _, phase: x, isPlayoffs: C }, close: z }) {
|
|
3222
|
+
i.championshipId = h, i.path = _ || "", i.phaseId = w, i.championshipName = g, i.phaseName = x, i.isPlayoffs = C || !1, r(), n(), z?.();
|
|
3138
3223
|
}
|
|
3139
|
-
return (
|
|
3224
|
+
return (h, w) => ke(h.$slots, "default", Ue(Ke({ convertedRows: d.value, isLoading: a(m), ...i, componentProps: v.value, onChange: c })));
|
|
3140
3225
|
}
|
|
3141
|
-
},
|
|
3226
|
+
}, Ml = { class: "playoffs" }, Al = { class: "section-title" }, Ol = { class: "responsive-team-name font-bold text-highlighted" }, Rl = { class: "team-name-short" }, jl = { class: "team-name-long" }, Gl = { class: "badge lg inverted" }, Yl = { class: "responsive-team-name font-bold text-highlighted" }, Bl = { class: "team-name-short" }, Fl = { class: "team-name-long" }, Ul = {
|
|
3142
3227
|
__name: "PlayoffsList",
|
|
3143
3228
|
props: {
|
|
3144
3229
|
playoffs: {
|
|
@@ -3152,20 +3237,20 @@ const Sl = {
|
|
|
3152
3237
|
},
|
|
3153
3238
|
setup(e) {
|
|
3154
3239
|
const { t } = ce();
|
|
3155
|
-
return (o, r) => (u(),
|
|
3156
|
-
default:
|
|
3157
|
-
l("div",
|
|
3158
|
-
e.isLoading ? (u(),
|
|
3159
|
-
(u(!0),
|
|
3240
|
+
return (o, r) => (u(), D(a(Mt), null, {
|
|
3241
|
+
default: P(() => [
|
|
3242
|
+
l("div", Ml, [
|
|
3243
|
+
e.isLoading ? (u(), D(a(qe), { key: 0 })) : E("", !0),
|
|
3244
|
+
(u(!0), y(B, null, ee(e.playoffs, (i) => (u(), y("div", {
|
|
3160
3245
|
key: `${i.divisionStage2Name}-${i.divisionStageNumber}`,
|
|
3161
3246
|
class: "section"
|
|
3162
3247
|
}, [
|
|
3163
|
-
l("div",
|
|
3248
|
+
l("div", Al, f(a(t)(`playoffs.${i.divisionStage2Name}${i.divisionStageNumber || ""}`)), 1),
|
|
3164
3249
|
l("ul", null, [
|
|
3165
|
-
l("li",
|
|
3250
|
+
l("li", Ol, [
|
|
3166
3251
|
l("div", null, [
|
|
3167
|
-
l("span",
|
|
3168
|
-
l("span",
|
|
3252
|
+
l("span", Rl, f(i.homeTeam.shortName), 1),
|
|
3253
|
+
l("span", jl, f(i.homeTeam.longName), 1)
|
|
3169
3254
|
])
|
|
3170
3255
|
]),
|
|
3171
3256
|
l("li", null, [
|
|
@@ -3174,17 +3259,17 @@ const Sl = {
|
|
|
3174
3259
|
}, null, 8, ["src"])
|
|
3175
3260
|
]),
|
|
3176
3261
|
l("li", null, [
|
|
3177
|
-
l("span",
|
|
3262
|
+
l("span", Gl, f(i.seriesStandings), 1)
|
|
3178
3263
|
]),
|
|
3179
3264
|
l("li", null, [
|
|
3180
3265
|
S(a(ne), {
|
|
3181
3266
|
src: i.awayTeam.logo
|
|
3182
3267
|
}, null, 8, ["src"])
|
|
3183
3268
|
]),
|
|
3184
|
-
l("li",
|
|
3269
|
+
l("li", Yl, [
|
|
3185
3270
|
l("div", null, [
|
|
3186
|
-
l("span",
|
|
3187
|
-
l("span",
|
|
3271
|
+
l("span", Bl, f(i.awayTeam.shortName), 1),
|
|
3272
|
+
l("span", Fl, f(i.awayTeam.longName), 1)
|
|
3188
3273
|
])
|
|
3189
3274
|
])
|
|
3190
3275
|
])
|
|
@@ -3194,7 +3279,7 @@ const Sl = {
|
|
|
3194
3279
|
_: 1
|
|
3195
3280
|
}));
|
|
3196
3281
|
}
|
|
3197
|
-
}, Al = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{display:inline-block;height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Ol = "@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%}}", Rl = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', jl = "@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)}}", Gl = '@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', Yl = "@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)}}", Bl = "@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)}}", Fl = "@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}}", Ul = { class: "standings-selector" }, Kl = { class: "standings-selector-title" }, Vl = {
|
|
3282
|
+
}, Kl = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{display:inline-block;height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Vl = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", ql = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', Hl = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Wl = '@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', Jl = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ql = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Xl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Zl = { class: "standings-selector" }, es = { class: "standings-selector-title" }, ts = {
|
|
3198
3283
|
__name: "StandingsSelector.ce",
|
|
3199
3284
|
props: {
|
|
3200
3285
|
locale: {
|
|
@@ -3211,53 +3296,53 @@ const Sl = {
|
|
|
3211
3296
|
}
|
|
3212
3297
|
},
|
|
3213
3298
|
setup(e) {
|
|
3214
|
-
const t = e, o = { en:
|
|
3215
|
-
return (
|
|
3299
|
+
const t = e, o = { en: he, hu: pe }, r = G(null), i = T(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3300
|
+
return (s, m) => (u(), D(a(ue), {
|
|
3216
3301
|
locale: t.locale,
|
|
3217
3302
|
messages: o
|
|
3218
3303
|
}, {
|
|
3219
|
-
default:
|
|
3220
|
-
S(a(
|
|
3221
|
-
default:
|
|
3222
|
-
S(
|
|
3223
|
-
default:
|
|
3224
|
-
l("div",
|
|
3225
|
-
l("div",
|
|
3226
|
-
(u(),
|
|
3227
|
-
default:
|
|
3228
|
-
l("b", null,
|
|
3229
|
-
q(" - " +
|
|
3230
|
-
|
|
3304
|
+
default: P(() => [
|
|
3305
|
+
S(a(Ve), null, {
|
|
3306
|
+
default: P(({ error: n, hasError: d }) => [
|
|
3307
|
+
S(Ll, { data: i.value }, {
|
|
3308
|
+
default: P(({ convertedRows: v, isLoading: c, path: h, phaseName: w, componentProps: g, championshipName: _, phaseId: x, isPlayoffs: C, onChange: z }) => [
|
|
3309
|
+
l("div", Zl, [
|
|
3310
|
+
l("div", es, [
|
|
3311
|
+
(u(), D(Sr(g.tag), Pt(g.props, { class: "is-title-text" }), {
|
|
3312
|
+
default: P(() => [
|
|
3313
|
+
l("b", null, f(_), 1),
|
|
3314
|
+
q(" - " + f(w) + " ", 1),
|
|
3315
|
+
h ? (u(), D(a(dt), { key: 0 })) : E("", !0)
|
|
3231
3316
|
]),
|
|
3232
3317
|
_: 2
|
|
3233
3318
|
}, 1040)),
|
|
3234
|
-
i.value.length > 1 ? (u(),
|
|
3319
|
+
i.value.length > 1 ? (u(), D(Pl, {
|
|
3235
3320
|
key: 0,
|
|
3236
3321
|
data: i.value,
|
|
3237
|
-
selected:
|
|
3322
|
+
selected: x,
|
|
3238
3323
|
target: r.value,
|
|
3239
3324
|
onChange: z
|
|
3240
|
-
}, null, 8, ["data", "selected", "target", "onChange"])) :
|
|
3325
|
+
}, null, 8, ["data", "selected", "target", "onChange"])) : E("", !0)
|
|
3241
3326
|
]),
|
|
3242
|
-
C ? (u(),
|
|
3327
|
+
C ? (u(), D(Ul, {
|
|
3243
3328
|
key: 0,
|
|
3244
|
-
playoffs:
|
|
3245
|
-
"is-loading":
|
|
3246
|
-
}, null, 8, ["playoffs", "is-loading"])) : (u(),
|
|
3329
|
+
playoffs: v.rows,
|
|
3330
|
+
"is-loading": c
|
|
3331
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), D(a(Dt), {
|
|
3247
3332
|
key: 1,
|
|
3248
|
-
"is-loading":
|
|
3249
|
-
columns: a(
|
|
3250
|
-
rows:
|
|
3333
|
+
"is-loading": c,
|
|
3334
|
+
columns: a(Jr),
|
|
3335
|
+
rows: v.rows,
|
|
3251
3336
|
"append-to": r.value,
|
|
3252
3337
|
"external-team-resolver": () => {
|
|
3253
3338
|
}
|
|
3254
3339
|
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3255
|
-
S(a(
|
|
3256
|
-
rows:
|
|
3340
|
+
S(a(Oe), {
|
|
3341
|
+
rows: v.rows,
|
|
3257
3342
|
"additional-key": "inheritedPoints"
|
|
3258
3343
|
}, null, 8, ["rows"]),
|
|
3259
|
-
S(a(
|
|
3260
|
-
rows:
|
|
3344
|
+
S(a(Oe), {
|
|
3345
|
+
rows: v.rows,
|
|
3261
3346
|
"additional-key": "penaltyPoints"
|
|
3262
3347
|
}, null, 8, ["rows"])
|
|
3263
3348
|
]),
|
|
@@ -3268,10 +3353,10 @@ const Sl = {
|
|
|
3268
3353
|
]),
|
|
3269
3354
|
_: 1
|
|
3270
3355
|
}, 8, ["data"]),
|
|
3271
|
-
|
|
3356
|
+
d ? (u(), D(a(Te), {
|
|
3272
3357
|
key: 0,
|
|
3273
3358
|
error: n
|
|
3274
|
-
}, null, 8, ["error"])) :
|
|
3359
|
+
}, null, 8, ["error"])) : E("", !0)
|
|
3275
3360
|
]),
|
|
3276
3361
|
_: 1
|
|
3277
3362
|
})
|
|
@@ -3279,28 +3364,28 @@ const Sl = {
|
|
|
3279
3364
|
_: 1
|
|
3280
3365
|
}, 8, ["locale"]));
|
|
3281
3366
|
}
|
|
3282
|
-
},
|
|
3283
|
-
function
|
|
3284
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3367
|
+
}, rs = /* @__PURE__ */ we(ts, [["styles", [ge, Kl, Vl, ql, Hl, Wl, Jl, Ql, Xl]]]), os = ve(wi), as = ve(Ui), is = ve(Cl), ns = ve(qn), ls = ve(rs), ss = ve(hn), cs = ve(gl);
|
|
3368
|
+
function ms() {
|
|
3369
|
+
customElements.define("mjsz-vbr-calendar", os), customElements.define("mjsz-vbr-championship", as), customElements.define("mjsz-vbr-schedule-cup", is), customElements.define("mjsz-vbr-games-timeline", ns), customElements.define("mjsz-vbr-standings-selector", ls), customElements.define("mjsz-vbr-countdown", ss), customElements.define("mjsz-vbr-recruitment-info", cs);
|
|
3285
3370
|
}
|
|
3286
|
-
const
|
|
3287
|
-
install: () =>
|
|
3371
|
+
const bs = {
|
|
3372
|
+
install: () => ms()
|
|
3288
3373
|
};
|
|
3289
3374
|
export {
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3375
|
+
wi as Calendar,
|
|
3376
|
+
os as CalendarCE,
|
|
3377
|
+
Ui as Championship,
|
|
3378
|
+
as as ChampionshipCE,
|
|
3379
|
+
hn as Countdown,
|
|
3380
|
+
ss as CountdownCE,
|
|
3381
|
+
qn as GamesTimeline,
|
|
3382
|
+
ns as GamesTimelineCE,
|
|
3383
|
+
gl as RecruitmentInfo,
|
|
3384
|
+
cs as RecruitmentInfoCE,
|
|
3385
|
+
Cl as ScheduleCup,
|
|
3386
|
+
is as ScheduleCupCE,
|
|
3387
|
+
rs as StandingsSelector,
|
|
3388
|
+
ls as StandingsSelectorCE,
|
|
3389
|
+
bs as default,
|
|
3390
|
+
ms as register
|
|
3306
3391
|
};
|