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