@mjsz-vbr-elements/extended 2.21.1 → 2.22.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 +797 -784
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.22.1 - 12/03/2025, 20:01:31
|
|
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 {
|
|
9
|
-
import { currentWeekStartEnd as Nt, subtractDays as
|
|
10
|
-
import { Image as
|
|
11
|
-
import { format as
|
|
12
|
-
import { useError as Pe, useServices as
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
8
|
+
import { shallowRef as re, isRef as me, watch as ne, getCurrentScope as Cr, onScopeDispose as Nr, toValue as Y, readonly as Xt, onMounted as ht, nextTick as Ce, toRef as Qt, customRef as Tr, ref as B, getCurrentInstance as Zt, reactive as ge, computed as N, unref as s, toRefs as Er, renderSlot as we, normalizeProps as Ee, guardReactiveProps as Ae, openBlock as u, createElementBlock as _, createElementVNode as d, normalizeClass as R, toDisplayString as p, createTextVNode as Q, Fragment as O, createVNode as S, createCommentVNode as A, createBlock as L, withCtx as T, renderList as V, Transition as er, useTemplateRef as Ar, provide as Lr, useId as Dr, inject as Pr, onUnmounted as Mr, triggerRef as jr, isMemoSame as Or, withDirectives as Rr, vModelText as Gr, mergeProps as tr, toHandlers as Yr, withModifiers as Ur, resolveDynamicComponent as Kr, defineCustomElement as pe } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as Nt, subtractDays as rr, addDays as ar, isBefore as ft, isAfter as yt, startOfMonth as nt, endOfMonth as st, rawConvert as Br, convertGamePeriodResults as Vr, gameProps as or, COLUMNS_STANDINGS_SHORT as Fr } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as ue, I18NProvider as ve, ErrorProvider as Le, ErrorNotice as $e, LoadingIndicator as Je, FetchMoreObserver as qr, BaseSelect as ke, StatisticsTable as ir, Paginator as nr, AdditionalStandingsText as Ue, ResponsiveTable as sr, DataTable as Hr, FloatingPanel as Wr } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as X, convert as De, isBefore as Jr, isAfter as lr, offsetName as Xe, getLocalTimezone as Qe, externalGameLinkResolver as Ze, WidgetError as cr, InvalidSeasonName as Ke, sortGames as dr, convertPhaseName as Xr, rawConvert as Qr, playerName as Zr, teamName as ea, scheduleOptionalRowClass as ta, convertTimesMinToMinSec as ra, convertTimesSecToMin as aa, externalTeamLinkResolver as oa, sortByDomNode as ia } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { useError as Pe, useServices as Z, useI18n as ce, useSort as na, usePage as gr, useLazyLoadingState as sa, fetchVBRData as la, useVisibilityChange as ca, useErrorProvider as da, useColumns as ga } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { COLUMNS_SCHEDULE as ur, COLUMNS_STANDINGS_P_3 as ua, COLUMNS_FIELD_PLAYERS as Oe, COLUMNS_FIELD_PLAYERS_PENALTY as ma, COLUMNS_GOALIES as Tt, COLUMNS_TEAMS_FAIRPLAY as pa, COLUMNS_TEAMS_PENALTY_KILLING as va, COLUMNS_TEAMS_POWERPLAY as ba, COLUMNS_SCORING_EFFICIENCY as ha } from "@mjsz-vbr-elements/core/columns";
|
|
14
14
|
import { SORT_STATE_DESCEND as te } from "@mjsz-vbr-elements/core/constants";
|
|
15
|
-
const
|
|
16
|
-
schedule:
|
|
17
|
-
registration:
|
|
18
|
-
selection:
|
|
19
|
-
report:
|
|
20
|
-
playoffs:
|
|
21
|
-
table:
|
|
22
|
-
calendar:
|
|
23
|
-
gamesTimeline:
|
|
24
|
-
countdown:
|
|
25
|
-
recruitmentInfo:
|
|
26
|
-
},
|
|
27
|
-
schedule:
|
|
28
|
-
registration:
|
|
29
|
-
selection:
|
|
30
|
-
report:
|
|
31
|
-
playoffs:
|
|
32
|
-
table:
|
|
33
|
-
calendar:
|
|
34
|
-
gamesTimeline:
|
|
35
|
-
countdown:
|
|
36
|
-
recruitmentInfo:
|
|
15
|
+
const fa = "Schedule", ya = "Application form", wa = { 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):" }, xa = { 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" }, _a = { 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" }, ka = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, za = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, Sa = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, $a = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, Ia = { 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" }, be = {
|
|
16
|
+
schedule: fa,
|
|
17
|
+
registration: ya,
|
|
18
|
+
selection: wa,
|
|
19
|
+
report: xa,
|
|
20
|
+
playoffs: _a,
|
|
21
|
+
table: ka,
|
|
22
|
+
calendar: za,
|
|
23
|
+
gamesTimeline: Sa,
|
|
24
|
+
countdown: $a,
|
|
25
|
+
recruitmentInfo: Ia
|
|
26
|
+
}, Ca = "Sorsolás", Na = "Jelentkezés", Ta = { 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):" }, Ea = { 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" }, Aa = { 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ő" }, La = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Da = { 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" }, Pa = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra" }, Ma = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, ja = { 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" }, he = {
|
|
27
|
+
schedule: Ca,
|
|
28
|
+
registration: Na,
|
|
29
|
+
selection: Ta,
|
|
30
|
+
report: Ea,
|
|
31
|
+
playoffs: Aa,
|
|
32
|
+
table: La,
|
|
33
|
+
calendar: Da,
|
|
34
|
+
gamesTimeline: Pa,
|
|
35
|
+
countdown: Ma,
|
|
36
|
+
recruitmentInfo: ja
|
|
37
37
|
}, ze = "gamesPlayed", Ne = "todaysGames", Te = "nextGames", Be = "weekGames";
|
|
38
|
-
function
|
|
39
|
-
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame },
|
|
38
|
+
function Oa(e, t) {
|
|
39
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Br(e.games, Vr);
|
|
40
40
|
}
|
|
41
41
|
const H = /* @__PURE__ */ new Date(), Re = (/* @__PURE__ */ new Map()).set(Ne, () => ({ min: H, max: H, month: null, id: null })).set(Be, () => ({
|
|
42
42
|
min: Nt().startDate,
|
|
@@ -57,14 +57,14 @@ const H = /* @__PURE__ */ new Date(), Re = (/* @__PURE__ */ new Map()).set(Ne, (
|
|
|
57
57
|
max: Lt(new Date(t, r, 1)),
|
|
58
58
|
id: `${t}-${r}`
|
|
59
59
|
};
|
|
60
|
-
}),
|
|
61
|
-
function
|
|
60
|
+
}), Ra = (/* @__PURE__ */ new Map()).set(Ne, () => []).set(ze, (e, t) => Ga(rr(H, 1), e, t)).set(Te, (e, t) => Ya(ar(H, 1), e, t)).set(Be, () => []);
|
|
61
|
+
function Ga(e, t, r) {
|
|
62
62
|
return ft(e, t) ? [] : yt(e, r) ? [t, r] : [t, e];
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Ya(e, t, r) {
|
|
65
65
|
return ft(e, t) ? [t, r] : yt(e, r) ? [] : [e, r];
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Ua(e, t, r, a = "hu") {
|
|
68
68
|
e = new Date(e), t = new Date(t);
|
|
69
69
|
const o = [], i = e;
|
|
70
70
|
for (; i.getTime() <= t.getTime(); ) {
|
|
@@ -92,23 +92,29 @@ function Et(e) {
|
|
|
92
92
|
function At(e, t) {
|
|
93
93
|
if (t)
|
|
94
94
|
return nt(e);
|
|
95
|
-
const r =
|
|
95
|
+
const r = ar(H, 1);
|
|
96
96
|
return ft(nt(e), r) ? r : nt(e);
|
|
97
97
|
}
|
|
98
98
|
function Lt(e, t = !1) {
|
|
99
99
|
if (t) {
|
|
100
|
-
const r =
|
|
100
|
+
const r = rr(H, 1);
|
|
101
101
|
return yt(st(e), r) ? r : st(e);
|
|
102
102
|
}
|
|
103
103
|
return st(e);
|
|
104
104
|
}
|
|
105
105
|
function ut(e) {
|
|
106
|
-
return
|
|
106
|
+
return Cr() ? (Nr(e), !0) : !1;
|
|
107
107
|
}
|
|
108
108
|
const mt = typeof window < "u" && typeof document < "u";
|
|
109
109
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
110
|
-
const
|
|
110
|
+
const Ka = (e) => typeof e < "u", Ba = Object.prototype.toString, Va = (e) => Ba.call(e) === "[object Object]", J = () => {
|
|
111
111
|
};
|
|
112
|
+
function Fa(...e) {
|
|
113
|
+
if (e.length !== 1)
|
|
114
|
+
return Qt(...e);
|
|
115
|
+
const t = e[0];
|
|
116
|
+
return typeof t == "function" ? Xt(Tr(() => ({ get: t, set: J }))) : B(t);
|
|
117
|
+
}
|
|
112
118
|
function wt(e, t) {
|
|
113
119
|
function r(...a) {
|
|
114
120
|
return new Promise((o, i) => {
|
|
@@ -117,15 +123,15 @@ function wt(e, t) {
|
|
|
117
123
|
}
|
|
118
124
|
return r;
|
|
119
125
|
}
|
|
120
|
-
const
|
|
121
|
-
function
|
|
122
|
-
let r, a, o =
|
|
126
|
+
const mr = (e) => e();
|
|
127
|
+
function qa(e, t = {}) {
|
|
128
|
+
let r, a, o = J;
|
|
123
129
|
const i = (c) => {
|
|
124
|
-
clearTimeout(c), o(), o =
|
|
130
|
+
clearTimeout(c), o(), o = J;
|
|
125
131
|
};
|
|
126
132
|
let n;
|
|
127
133
|
return (c) => {
|
|
128
|
-
const g =
|
|
134
|
+
const g = Y(e), m = Y(t.maxWait);
|
|
129
135
|
return r && i(r), g <= 0 || m !== void 0 && m <= 0 ? (a && (i(a), a = null), Promise.resolve(c())) : new Promise((v, x) => {
|
|
130
136
|
o = t.rejectOnCancel ? x : v, n = c, m && !a && (a = setTimeout(() => {
|
|
131
137
|
r && i(r), a = null, v(n());
|
|
@@ -135,14 +141,14 @@ function Fa(e, t = {}) {
|
|
|
135
141
|
});
|
|
136
142
|
};
|
|
137
143
|
}
|
|
138
|
-
function
|
|
139
|
-
let t = 0, r, a = !0, o =
|
|
140
|
-
!
|
|
144
|
+
function Ha(...e) {
|
|
145
|
+
let t = 0, r, a = !0, o = J, i, n, l, c, g;
|
|
146
|
+
!me(e[0]) && typeof e[0] == "object" ? { delay: n, trailing: l = !0, leading: c = !0, rejectOnCancel: g = !1 } = e[0] : [n, l = !0, c = !0, g = !1] = e;
|
|
141
147
|
const m = () => {
|
|
142
|
-
r && (clearTimeout(r), r = void 0, o(), o =
|
|
148
|
+
r && (clearTimeout(r), r = void 0, o(), o = J);
|
|
143
149
|
};
|
|
144
150
|
return (x) => {
|
|
145
|
-
const b =
|
|
151
|
+
const b = Y(n), z = Date.now() - t, h = () => i = x();
|
|
146
152
|
return m(), b <= 0 ? (t = Date.now(), h()) : (z > b && (c || !a) ? (t = Date.now(), h()) : l && (i = new Promise((C, w) => {
|
|
147
153
|
o = g ? w : C, r = setTimeout(() => {
|
|
148
154
|
t = Date.now(), a = !0, C(h()), m();
|
|
@@ -150,48 +156,50 @@ function Va(...e) {
|
|
|
150
156
|
})), !c && !r && (r = setTimeout(() => a = !0, b)), a = !1, i);
|
|
151
157
|
};
|
|
152
158
|
}
|
|
153
|
-
function
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
|
|
159
|
+
function Wa(e = mr, t = {}) {
|
|
160
|
+
const {
|
|
161
|
+
initialState: r = "active"
|
|
162
|
+
} = t, a = Fa(r === "active");
|
|
163
|
+
function o() {
|
|
164
|
+
a.value = !1;
|
|
157
165
|
}
|
|
158
|
-
function
|
|
159
|
-
|
|
166
|
+
function i() {
|
|
167
|
+
a.value = !0;
|
|
160
168
|
}
|
|
161
|
-
const
|
|
162
|
-
|
|
169
|
+
const n = (...l) => {
|
|
170
|
+
a.value && e(...l);
|
|
163
171
|
};
|
|
164
|
-
return { isActive:
|
|
172
|
+
return { isActive: Xt(a), pause: o, resume: i, eventFilter: n };
|
|
165
173
|
}
|
|
166
174
|
function pt(e, t = !1, r = "Timeout") {
|
|
167
175
|
return new Promise((a, o) => {
|
|
168
176
|
setTimeout(t ? () => o(r) : a, e);
|
|
169
177
|
});
|
|
170
178
|
}
|
|
171
|
-
function Ha(e) {
|
|
172
|
-
return Xt();
|
|
173
|
-
}
|
|
174
179
|
function lt(e) {
|
|
175
180
|
return Array.isArray(e) ? e : [e];
|
|
176
181
|
}
|
|
177
|
-
function
|
|
182
|
+
function Ja(e) {
|
|
183
|
+
return Zt();
|
|
184
|
+
}
|
|
185
|
+
function Xa(e, t = 200, r = {}) {
|
|
178
186
|
return wt(
|
|
179
|
-
|
|
187
|
+
qa(t, r),
|
|
180
188
|
e
|
|
181
189
|
);
|
|
182
190
|
}
|
|
183
|
-
function
|
|
191
|
+
function Qa(e, t = 200, r = !1, a = !0, o = !1) {
|
|
184
192
|
return wt(
|
|
185
|
-
|
|
193
|
+
Ha(t, r, a, o),
|
|
186
194
|
e
|
|
187
195
|
);
|
|
188
196
|
}
|
|
189
|
-
function
|
|
197
|
+
function Za(e, t, r = {}) {
|
|
190
198
|
const {
|
|
191
|
-
eventFilter: a =
|
|
199
|
+
eventFilter: a = mr,
|
|
192
200
|
...o
|
|
193
201
|
} = r;
|
|
194
|
-
return
|
|
202
|
+
return ne(
|
|
195
203
|
e,
|
|
196
204
|
wt(
|
|
197
205
|
a,
|
|
@@ -200,28 +208,29 @@ function Xa(e, t, r = {}) {
|
|
|
200
208
|
o
|
|
201
209
|
);
|
|
202
210
|
}
|
|
203
|
-
function
|
|
211
|
+
function eo(e, t, r = {}) {
|
|
204
212
|
const {
|
|
205
213
|
eventFilter: a,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
214
|
+
initialState: o = "active",
|
|
215
|
+
...i
|
|
216
|
+
} = r, { eventFilter: n, pause: l, resume: c, isActive: g } = Wa(a, { initialState: o });
|
|
217
|
+
return { stop: Za(
|
|
209
218
|
e,
|
|
210
219
|
t,
|
|
211
220
|
{
|
|
212
|
-
...
|
|
213
|
-
eventFilter:
|
|
221
|
+
...i,
|
|
222
|
+
eventFilter: n
|
|
214
223
|
}
|
|
215
|
-
), pause:
|
|
224
|
+
), pause: l, resume: c, isActive: g };
|
|
216
225
|
}
|
|
217
|
-
function
|
|
218
|
-
|
|
226
|
+
function to(e, t = !0, r) {
|
|
227
|
+
Ja() ? ht(e, r) : t ? e() : Ce(e);
|
|
219
228
|
}
|
|
220
229
|
function vt(e, t = !1) {
|
|
221
230
|
function r(v, { flush: x = "sync", deep: b = !1, timeout: z, throwOnTimeout: h } = {}) {
|
|
222
231
|
let C = null;
|
|
223
232
|
const k = [new Promise((f) => {
|
|
224
|
-
C =
|
|
233
|
+
C = ne(
|
|
225
234
|
e,
|
|
226
235
|
(y) => {
|
|
227
236
|
v(y) !== t && (C ? C() : Ce(() => C == null ? void 0 : C()), f(y));
|
|
@@ -234,16 +243,16 @@ function vt(e, t = !1) {
|
|
|
234
243
|
);
|
|
235
244
|
})];
|
|
236
245
|
return z != null && k.push(
|
|
237
|
-
pt(z, h).then(() =>
|
|
246
|
+
pt(z, h).then(() => Y(e)).finally(() => C == null ? void 0 : C())
|
|
238
247
|
), Promise.race(k);
|
|
239
248
|
}
|
|
240
249
|
function a(v, x) {
|
|
241
|
-
if (!
|
|
250
|
+
if (!me(v))
|
|
242
251
|
return r((y) => y === v, x);
|
|
243
252
|
const { flush: b = "sync", deep: z = !1, timeout: h, throwOnTimeout: C } = x ?? {};
|
|
244
253
|
let w = null;
|
|
245
254
|
const f = [new Promise((y) => {
|
|
246
|
-
w =
|
|
255
|
+
w = ne(
|
|
247
256
|
[e, v],
|
|
248
257
|
([I, D]) => {
|
|
249
258
|
t !== (I === D) && (w ? w() : Ce(() => w == null ? void 0 : w()), y(I));
|
|
@@ -256,7 +265,7 @@ function vt(e, t = !1) {
|
|
|
256
265
|
);
|
|
257
266
|
})];
|
|
258
267
|
return h != null && f.push(
|
|
259
|
-
pt(h, C).then(() =>
|
|
268
|
+
pt(h, C).then(() => Y(e)).finally(() => (w == null || w(), Y(e)))
|
|
260
269
|
), Promise.race(f);
|
|
261
270
|
}
|
|
262
271
|
function o(v) {
|
|
@@ -274,7 +283,7 @@ function vt(e, t = !1) {
|
|
|
274
283
|
function c(v, x) {
|
|
275
284
|
return r((b) => {
|
|
276
285
|
const z = Array.from(b);
|
|
277
|
-
return z.includes(v) || z.includes(
|
|
286
|
+
return z.includes(v) || z.includes(Y(v));
|
|
278
287
|
}, x);
|
|
279
288
|
}
|
|
280
289
|
function g(v) {
|
|
@@ -284,7 +293,7 @@ function vt(e, t = !1) {
|
|
|
284
293
|
let b = -1;
|
|
285
294
|
return r(() => (b += 1, b >= v), x);
|
|
286
295
|
}
|
|
287
|
-
return Array.isArray(
|
|
296
|
+
return Array.isArray(Y(e)) ? {
|
|
288
297
|
toMatch: r,
|
|
289
298
|
toContains: c,
|
|
290
299
|
changed: g,
|
|
@@ -306,16 +315,16 @@ function vt(e, t = !1) {
|
|
|
306
315
|
}
|
|
307
316
|
};
|
|
308
317
|
}
|
|
309
|
-
function
|
|
318
|
+
function ro(e) {
|
|
310
319
|
return vt(e);
|
|
311
320
|
}
|
|
312
|
-
function
|
|
321
|
+
function Ve(e, t = 1e3, r = {}) {
|
|
313
322
|
const {
|
|
314
323
|
immediate: a = !0,
|
|
315
324
|
immediateCallback: o = !1
|
|
316
325
|
} = r;
|
|
317
326
|
let i = null;
|
|
318
|
-
const n =
|
|
327
|
+
const n = re(!1);
|
|
319
328
|
function l() {
|
|
320
329
|
i && (clearInterval(i), i = null);
|
|
321
330
|
}
|
|
@@ -323,11 +332,11 @@ function Fe(e, t = 1e3, r = {}) {
|
|
|
323
332
|
n.value = !1, l();
|
|
324
333
|
}
|
|
325
334
|
function g() {
|
|
326
|
-
const m =
|
|
335
|
+
const m = Y(t);
|
|
327
336
|
m <= 0 || (n.value = !0, o && e(), l(), n.value && (i = setInterval(e, m)));
|
|
328
337
|
}
|
|
329
|
-
if (a && mt && g(),
|
|
330
|
-
const m =
|
|
338
|
+
if (a && mt && g(), me(t) || typeof t == "function") {
|
|
339
|
+
const m = ne(t, () => {
|
|
331
340
|
n.value && mt && g();
|
|
332
341
|
});
|
|
333
342
|
ut(m);
|
|
@@ -338,8 +347,8 @@ function Fe(e, t = 1e3, r = {}) {
|
|
|
338
347
|
resume: g
|
|
339
348
|
};
|
|
340
349
|
}
|
|
341
|
-
function
|
|
342
|
-
return
|
|
350
|
+
function ao(e, t, r) {
|
|
351
|
+
return ne(
|
|
343
352
|
e,
|
|
344
353
|
t,
|
|
345
354
|
{
|
|
@@ -349,32 +358,32 @@ function to(e, t, r) {
|
|
|
349
358
|
);
|
|
350
359
|
}
|
|
351
360
|
const xt = mt ? window : void 0;
|
|
352
|
-
function
|
|
361
|
+
function xe(e) {
|
|
353
362
|
var t;
|
|
354
|
-
const r =
|
|
363
|
+
const r = Y(e);
|
|
355
364
|
return (t = r == null ? void 0 : r.$el) != null ? t : r;
|
|
356
365
|
}
|
|
357
|
-
function
|
|
366
|
+
function Fe(...e) {
|
|
358
367
|
const t = [], r = () => {
|
|
359
368
|
t.forEach((l) => l()), t.length = 0;
|
|
360
369
|
}, a = (l, c, g, m) => (l.addEventListener(c, g, m), () => l.removeEventListener(c, g, m)), o = N(() => {
|
|
361
|
-
const l = lt(
|
|
370
|
+
const l = lt(Y(e[0])).filter((c) => c != null);
|
|
362
371
|
return l.every((c) => typeof c != "string") ? l : void 0;
|
|
363
|
-
}), i =
|
|
372
|
+
}), i = ao(
|
|
364
373
|
() => {
|
|
365
374
|
var l, c;
|
|
366
375
|
return [
|
|
367
|
-
(c = (l = o.value) == null ? void 0 : l.map((g) =>
|
|
368
|
-
lt(
|
|
376
|
+
(c = (l = o.value) == null ? void 0 : l.map((g) => xe(g))) != null ? c : [xt].filter((g) => g != null),
|
|
377
|
+
lt(Y(o.value ? e[1] : e[0])),
|
|
369
378
|
lt(s(o.value ? e[2] : e[1])),
|
|
370
379
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
371
|
-
|
|
380
|
+
Y(o.value ? e[3] : e[2])
|
|
372
381
|
];
|
|
373
382
|
},
|
|
374
383
|
([l, c, g, m]) => {
|
|
375
384
|
if (r(), !(l != null && l.length) || !(c != null && c.length) || !(g != null && g.length))
|
|
376
385
|
return;
|
|
377
|
-
const v =
|
|
386
|
+
const v = Va(m) ? { ...m } : m;
|
|
378
387
|
t.push(
|
|
379
388
|
...l.flatMap(
|
|
380
389
|
(x) => c.flatMap(
|
|
@@ -392,15 +401,15 @@ function Ve(...e) {
|
|
|
392
401
|
function Se(e, t) {
|
|
393
402
|
const {
|
|
394
403
|
interrupt: r = !0,
|
|
395
|
-
onError: a =
|
|
396
|
-
onFinished: o =
|
|
404
|
+
onError: a = J,
|
|
405
|
+
onFinished: o = J,
|
|
397
406
|
signal: i
|
|
398
407
|
} = {}, n = {
|
|
399
408
|
aborted: "aborted",
|
|
400
409
|
fulfilled: "fulfilled",
|
|
401
410
|
pending: "pending",
|
|
402
411
|
rejected: "rejected"
|
|
403
|
-
}, l = Array.from(Array.from({ length: e.length }), () => ({ state: n.pending, data: null })), c =
|
|
412
|
+
}, l = Array.from(Array.from({ length: e.length }), () => ({ state: n.pending, data: null })), c = ge(l), g = re(-1);
|
|
404
413
|
if (!e || e.length === 0)
|
|
405
414
|
return o(), {
|
|
406
415
|
activeIndex: g,
|
|
@@ -420,28 +429,28 @@ function Se(e, t) {
|
|
|
420
429
|
return;
|
|
421
430
|
}
|
|
422
431
|
const h = x(b).then((C) => (m(n.fulfilled, C), g.value === e.length - 1 && o(), C));
|
|
423
|
-
return i ? Promise.race([h,
|
|
432
|
+
return i ? Promise.race([h, oo(i)]) : h;
|
|
424
433
|
}).catch((b) => i != null && i.aborted ? (m(n.aborted, b), b) : (m(n.rejected, b), a(), b)), Promise.resolve()), {
|
|
425
434
|
activeIndex: g,
|
|
426
435
|
result: c
|
|
427
436
|
};
|
|
428
437
|
}
|
|
429
|
-
function
|
|
438
|
+
function oo(e) {
|
|
430
439
|
return new Promise((t, r) => {
|
|
431
440
|
const a = new Error("aborted");
|
|
432
441
|
e.aborted ? r(a) : e.addEventListener("abort", () => r(a), { once: !0 });
|
|
433
442
|
});
|
|
434
443
|
}
|
|
435
|
-
function
|
|
444
|
+
function io(e, t, r) {
|
|
436
445
|
const {
|
|
437
446
|
immediate: a = !0,
|
|
438
447
|
delay: o = 0,
|
|
439
|
-
onError: i =
|
|
440
|
-
onSuccess: n =
|
|
448
|
+
onError: i = J,
|
|
449
|
+
onSuccess: n = J,
|
|
441
450
|
resetOnExecute: l = !0,
|
|
442
451
|
shallow: c = !0,
|
|
443
452
|
throwError: g
|
|
444
|
-
} = r ?? {}, m = c ?
|
|
453
|
+
} = r ?? {}, m = c ? re(t) : B(t), v = re(!1), x = re(!1), b = re(void 0);
|
|
445
454
|
async function z(w = 0, ...k) {
|
|
446
455
|
l && (m.value = t), b.value = void 0, v.value = !1, x.value = !0, w > 0 && await pt(w);
|
|
447
456
|
const f = typeof e == "function" ? e(...k) : e;
|
|
@@ -466,7 +475,7 @@ function ao(e, t, r) {
|
|
|
466
475
|
};
|
|
467
476
|
function C() {
|
|
468
477
|
return new Promise((w, k) => {
|
|
469
|
-
|
|
478
|
+
ro(x).toBe(!1).then(() => w(h)).catch(k);
|
|
470
479
|
});
|
|
471
480
|
}
|
|
472
481
|
return {
|
|
@@ -476,16 +485,16 @@ function ao(e, t, r) {
|
|
|
476
485
|
}
|
|
477
486
|
};
|
|
478
487
|
}
|
|
479
|
-
function
|
|
488
|
+
function no(e) {
|
|
480
489
|
return JSON.parse(JSON.stringify(e));
|
|
481
490
|
}
|
|
482
491
|
const Dt = 1;
|
|
483
|
-
function
|
|
492
|
+
function so(e, t = {}) {
|
|
484
493
|
const {
|
|
485
494
|
throttle: r = 0,
|
|
486
495
|
idle: a = 200,
|
|
487
|
-
onStop: o =
|
|
488
|
-
onScroll: i =
|
|
496
|
+
onStop: o = J,
|
|
497
|
+
onScroll: i = J,
|
|
489
498
|
offset: n = {
|
|
490
499
|
left: 0,
|
|
491
500
|
right: 0,
|
|
@@ -501,7 +510,7 @@ function io(e, t = {}) {
|
|
|
501
510
|
onError: m = ($) => {
|
|
502
511
|
console.error($);
|
|
503
512
|
}
|
|
504
|
-
} = t, v =
|
|
513
|
+
} = t, v = re(0), x = re(0), b = N({
|
|
505
514
|
get() {
|
|
506
515
|
return v.value;
|
|
507
516
|
},
|
|
@@ -517,44 +526,44 @@ function io(e, t = {}) {
|
|
|
517
526
|
}
|
|
518
527
|
});
|
|
519
528
|
function h($, j) {
|
|
520
|
-
var P, ee,
|
|
529
|
+
var P, ee, de, oe;
|
|
521
530
|
if (!g)
|
|
522
531
|
return;
|
|
523
|
-
const
|
|
524
|
-
if (!
|
|
532
|
+
const F = Y(e);
|
|
533
|
+
if (!F)
|
|
525
534
|
return;
|
|
526
|
-
(
|
|
527
|
-
top: (P =
|
|
528
|
-
left: (ee =
|
|
529
|
-
behavior:
|
|
535
|
+
(de = F instanceof Document ? g.document.body : F) == null || de.scrollTo({
|
|
536
|
+
top: (P = Y(j)) != null ? P : z.value,
|
|
537
|
+
left: (ee = Y($)) != null ? ee : b.value,
|
|
538
|
+
behavior: Y(c)
|
|
530
539
|
});
|
|
531
|
-
const E = ((
|
|
540
|
+
const E = ((oe = F == null ? void 0 : F.document) == null ? void 0 : oe.documentElement) || (F == null ? void 0 : F.documentElement) || F;
|
|
532
541
|
b != null && (v.value = E.scrollLeft), z != null && (x.value = E.scrollTop);
|
|
533
542
|
}
|
|
534
|
-
const C =
|
|
543
|
+
const C = re(!1), w = ge({
|
|
535
544
|
left: !0,
|
|
536
545
|
right: !1,
|
|
537
546
|
top: !0,
|
|
538
547
|
bottom: !1
|
|
539
|
-
}), k =
|
|
548
|
+
}), k = ge({
|
|
540
549
|
left: !1,
|
|
541
550
|
right: !1,
|
|
542
551
|
top: !1,
|
|
543
552
|
bottom: !1
|
|
544
553
|
}), f = ($) => {
|
|
545
554
|
C.value && (C.value = !1, k.left = !1, k.right = !1, k.top = !1, k.bottom = !1, o($));
|
|
546
|
-
}, y =
|
|
555
|
+
}, y = Xa(f, r + a), I = ($) => {
|
|
547
556
|
var j;
|
|
548
557
|
if (!g)
|
|
549
558
|
return;
|
|
550
|
-
const P = ((j = $ == null ? void 0 : $.document) == null ? void 0 : j.documentElement) || ($ == null ? void 0 : $.documentElement) ||
|
|
559
|
+
const P = ((j = $ == null ? void 0 : $.document) == null ? void 0 : j.documentElement) || ($ == null ? void 0 : $.documentElement) || xe($), { display: ee, flexDirection: de, direction: oe } = getComputedStyle(P), F = oe === "rtl" ? -1 : 1, E = P.scrollLeft;
|
|
551
560
|
k.left = E < v.value, k.right = E > v.value;
|
|
552
|
-
const
|
|
553
|
-
ee === "flex" &&
|
|
561
|
+
const G = Math.abs(E * F) <= (n.left || 0), se = Math.abs(E * F) + P.clientWidth >= P.scrollWidth - (n.right || 0) - Dt;
|
|
562
|
+
ee === "flex" && de === "row-reverse" ? (w.left = se, w.right = G) : (w.left = G, w.right = se), v.value = E;
|
|
554
563
|
let q = P.scrollTop;
|
|
555
564
|
$ === g.document && !q && (q = g.document.body.scrollTop), k.top = q < x.value, k.bottom = q > x.value;
|
|
556
|
-
const
|
|
557
|
-
ee === "flex" &&
|
|
565
|
+
const ie = Math.abs(q) <= (n.top || 0), it = Math.abs(q) + P.clientHeight >= P.scrollHeight - (n.bottom || 0) - Dt;
|
|
566
|
+
ee === "flex" && de === "column-reverse" ? (w.top = it, w.bottom = ie) : (w.top = ie, w.bottom = it), x.value = q;
|
|
558
567
|
}, D = ($) => {
|
|
559
568
|
var j;
|
|
560
569
|
if (!g)
|
|
@@ -562,21 +571,21 @@ function io(e, t = {}) {
|
|
|
562
571
|
const P = (j = $.target.documentElement) != null ? j : $.target;
|
|
563
572
|
I(P), C.value = !0, y($), i($);
|
|
564
573
|
};
|
|
565
|
-
return
|
|
574
|
+
return Fe(
|
|
566
575
|
e,
|
|
567
576
|
"scroll",
|
|
568
|
-
r ?
|
|
577
|
+
r ? Qa(D, r, !0, !1) : D,
|
|
569
578
|
l
|
|
570
|
-
),
|
|
579
|
+
), to(() => {
|
|
571
580
|
try {
|
|
572
|
-
const $ =
|
|
581
|
+
const $ = Y(e);
|
|
573
582
|
if (!$)
|
|
574
583
|
return;
|
|
575
584
|
I($);
|
|
576
585
|
} catch ($) {
|
|
577
586
|
m($);
|
|
578
587
|
}
|
|
579
|
-
}),
|
|
588
|
+
}), Fe(
|
|
580
589
|
e,
|
|
581
590
|
"scrollend",
|
|
582
591
|
f,
|
|
@@ -588,12 +597,12 @@ function io(e, t = {}) {
|
|
|
588
597
|
arrivedState: w,
|
|
589
598
|
directions: k,
|
|
590
599
|
measure() {
|
|
591
|
-
const $ =
|
|
600
|
+
const $ = Y(e);
|
|
592
601
|
g && $ && I($);
|
|
593
602
|
}
|
|
594
603
|
};
|
|
595
604
|
}
|
|
596
|
-
function
|
|
605
|
+
function pr(e = "history", t = {}) {
|
|
597
606
|
const {
|
|
598
607
|
initialValue: r = {},
|
|
599
608
|
removeNullishValues: a = !0,
|
|
@@ -603,8 +612,8 @@ function ur(e = "history", t = {}) {
|
|
|
603
612
|
window: l = xt
|
|
604
613
|
} = t;
|
|
605
614
|
if (!l)
|
|
606
|
-
return
|
|
607
|
-
const c =
|
|
615
|
+
return ge(r);
|
|
616
|
+
const c = ge({});
|
|
608
617
|
function g() {
|
|
609
618
|
if (e === "history")
|
|
610
619
|
return l.location.search || "";
|
|
@@ -634,7 +643,7 @@ function ur(e = "history", t = {}) {
|
|
|
634
643
|
}
|
|
635
644
|
Array.from(y).forEach((I) => delete c[I]);
|
|
636
645
|
}
|
|
637
|
-
const { pause: b, resume: z } =
|
|
646
|
+
const { pause: b, resume: z } = eo(
|
|
638
647
|
c,
|
|
639
648
|
() => {
|
|
640
649
|
const f = new URLSearchParams("");
|
|
@@ -660,11 +669,11 @@ function ur(e = "history", t = {}) {
|
|
|
660
669
|
i && h(v(), !0);
|
|
661
670
|
}
|
|
662
671
|
const w = { passive: !0 };
|
|
663
|
-
|
|
672
|
+
Fe(l, "popstate", C, w), e !== "history" && Fe(l, "hashchange", C, w);
|
|
664
673
|
const k = v();
|
|
665
674
|
return k.keys().next().value ? x(k) : Object.assign(c, r), c;
|
|
666
675
|
}
|
|
667
|
-
function
|
|
676
|
+
function lo(e, t, r, a = {}) {
|
|
668
677
|
var o, i, n;
|
|
669
678
|
const {
|
|
670
679
|
clone: l = !1,
|
|
@@ -673,21 +682,21 @@ function no(e, t, r, a = {}) {
|
|
|
673
682
|
deep: m = !1,
|
|
674
683
|
defaultValue: v,
|
|
675
684
|
shouldEmit: x
|
|
676
|
-
} = a, b =
|
|
685
|
+
} = a, b = Zt(), z = r || (b == null ? void 0 : b.emit) || ((o = b == null ? void 0 : b.$emit) == null ? void 0 : o.bind(b)) || ((n = (i = b == null ? void 0 : b.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(b == null ? void 0 : b.proxy));
|
|
677
686
|
let h = g;
|
|
678
687
|
t || (t = "modelValue"), h = h || `update:${t.toString()}`;
|
|
679
|
-
const C = (f) => l ? typeof l == "function" ? l(f) :
|
|
688
|
+
const C = (f) => l ? typeof l == "function" ? l(f) : no(f) : f, w = () => Ka(e[t]) ? C(e[t]) : v, k = (f) => {
|
|
680
689
|
x ? x(f) && z(h, f) : z(h, f);
|
|
681
690
|
};
|
|
682
691
|
if (c) {
|
|
683
|
-
const f = w(), y =
|
|
692
|
+
const f = w(), y = B(f);
|
|
684
693
|
let I = !1;
|
|
685
|
-
return
|
|
694
|
+
return ne(
|
|
686
695
|
() => e[t],
|
|
687
696
|
(D) => {
|
|
688
697
|
I || (I = !0, y.value = C(D), Ce(() => I = !1));
|
|
689
698
|
}
|
|
690
|
-
),
|
|
699
|
+
), ne(
|
|
691
700
|
y,
|
|
692
701
|
(D) => {
|
|
693
702
|
!I && (D !== e[t] || m) && k(D);
|
|
@@ -707,7 +716,7 @@ function no(e, t, r, a = {}) {
|
|
|
707
716
|
function _t(e, t, r = {}) {
|
|
708
717
|
const a = {};
|
|
709
718
|
for (const o in e)
|
|
710
|
-
a[o] =
|
|
719
|
+
a[o] = lo(
|
|
711
720
|
e,
|
|
712
721
|
o,
|
|
713
722
|
t,
|
|
@@ -718,30 +727,30 @@ function _t(e, t, r = {}) {
|
|
|
718
727
|
function M(e) {
|
|
719
728
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
720
729
|
}
|
|
721
|
-
function
|
|
730
|
+
function U(e) {
|
|
722
731
|
return function t(r) {
|
|
723
732
|
return arguments.length === 0 || M(r) ? t : e.apply(this, arguments);
|
|
724
733
|
};
|
|
725
734
|
}
|
|
726
|
-
function
|
|
735
|
+
function K(e) {
|
|
727
736
|
return function t(r, a) {
|
|
728
737
|
switch (arguments.length) {
|
|
729
738
|
case 0:
|
|
730
739
|
return t;
|
|
731
740
|
case 1:
|
|
732
|
-
return M(r) ? t :
|
|
741
|
+
return M(r) ? t : U(function(o) {
|
|
733
742
|
return e(r, o);
|
|
734
743
|
});
|
|
735
744
|
default:
|
|
736
|
-
return M(r) && M(a) ? t : M(r) ?
|
|
745
|
+
return M(r) && M(a) ? t : M(r) ? U(function(o) {
|
|
737
746
|
return e(o, a);
|
|
738
|
-
}) : M(a) ?
|
|
747
|
+
}) : M(a) ? U(function(o) {
|
|
739
748
|
return e(r, o);
|
|
740
749
|
}) : e(r, a);
|
|
741
750
|
}
|
|
742
751
|
};
|
|
743
752
|
}
|
|
744
|
-
var
|
|
753
|
+
var co = /* @__PURE__ */ K(function(t, r) {
|
|
745
754
|
return Number(t) + Number(r);
|
|
746
755
|
});
|
|
747
756
|
function et(e, t) {
|
|
@@ -794,17 +803,17 @@ function et(e, t) {
|
|
|
794
803
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
795
804
|
}
|
|
796
805
|
}
|
|
797
|
-
function
|
|
806
|
+
function vr(e, t, r) {
|
|
798
807
|
return function() {
|
|
799
808
|
for (var a = [], o = 0, i = e, n = 0, l = !1; n < t.length || o < arguments.length; ) {
|
|
800
809
|
var c;
|
|
801
810
|
n < t.length && (!M(t[n]) || o >= arguments.length) ? c = t[n] : (c = arguments[o], o += 1), a[n] = c, M(c) ? l = !0 : i -= 1, n += 1;
|
|
802
811
|
}
|
|
803
|
-
return !l && i <= 0 ? r.apply(this, a) : et(Math.max(0, i),
|
|
812
|
+
return !l && i <= 0 ? r.apply(this, a) : et(Math.max(0, i), vr(e, a, r));
|
|
804
813
|
};
|
|
805
814
|
}
|
|
806
|
-
var
|
|
807
|
-
return t === 1 ?
|
|
815
|
+
var go = /* @__PURE__ */ K(function(t, r) {
|
|
816
|
+
return t === 1 ? U(r) : et(t, vr(t, [], r));
|
|
808
817
|
});
|
|
809
818
|
function kt(e) {
|
|
810
819
|
return function t(r, a, o) {
|
|
@@ -812,29 +821,29 @@ function kt(e) {
|
|
|
812
821
|
case 0:
|
|
813
822
|
return t;
|
|
814
823
|
case 1:
|
|
815
|
-
return M(r) ? t :
|
|
824
|
+
return M(r) ? t : K(function(i, n) {
|
|
816
825
|
return e(r, i, n);
|
|
817
826
|
});
|
|
818
827
|
case 2:
|
|
819
|
-
return M(r) && M(a) ? t : M(r) ?
|
|
828
|
+
return M(r) && M(a) ? t : M(r) ? K(function(i, n) {
|
|
820
829
|
return e(i, a, n);
|
|
821
|
-
}) : M(a) ?
|
|
830
|
+
}) : M(a) ? K(function(i, n) {
|
|
822
831
|
return e(r, i, n);
|
|
823
|
-
}) :
|
|
832
|
+
}) : U(function(i) {
|
|
824
833
|
return e(r, a, i);
|
|
825
834
|
});
|
|
826
835
|
default:
|
|
827
|
-
return M(r) && M(a) && M(o) ? t : M(r) && M(a) ?
|
|
836
|
+
return M(r) && M(a) && M(o) ? t : M(r) && M(a) ? K(function(i, n) {
|
|
828
837
|
return e(i, n, o);
|
|
829
|
-
}) : M(r) && M(o) ?
|
|
838
|
+
}) : M(r) && M(o) ? K(function(i, n) {
|
|
830
839
|
return e(i, a, n);
|
|
831
|
-
}) : M(a) && M(o) ?
|
|
840
|
+
}) : M(a) && M(o) ? K(function(i, n) {
|
|
832
841
|
return e(r, i, n);
|
|
833
|
-
}) : M(r) ?
|
|
842
|
+
}) : M(r) ? U(function(i) {
|
|
834
843
|
return e(i, a, o);
|
|
835
|
-
}) : M(a) ?
|
|
844
|
+
}) : M(a) ? U(function(i) {
|
|
836
845
|
return e(r, i, o);
|
|
837
|
-
}) : M(o) ?
|
|
846
|
+
}) : M(o) ? U(function(i) {
|
|
838
847
|
return e(r, a, i);
|
|
839
848
|
}) : e(r, a, o);
|
|
840
849
|
}
|
|
@@ -843,10 +852,10 @@ function kt(e) {
|
|
|
843
852
|
const tt = Array.isArray || function(t) {
|
|
844
853
|
return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
|
|
845
854
|
};
|
|
846
|
-
function
|
|
855
|
+
function uo(e) {
|
|
847
856
|
return e != null && typeof e["@@transducer/step"] == "function";
|
|
848
857
|
}
|
|
849
|
-
function
|
|
858
|
+
function mo(e, t, r) {
|
|
850
859
|
return function() {
|
|
851
860
|
if (arguments.length === 0)
|
|
852
861
|
return r();
|
|
@@ -857,7 +866,7 @@ function go(e, t, r) {
|
|
|
857
866
|
return a[e[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
858
867
|
o += 1;
|
|
859
868
|
}
|
|
860
|
-
if (
|
|
869
|
+
if (uo(a)) {
|
|
861
870
|
var i = t.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
862
871
|
return i(a);
|
|
863
872
|
}
|
|
@@ -886,47 +895,47 @@ function jt(e, t, r) {
|
|
|
886
895
|
}
|
|
887
896
|
return !1;
|
|
888
897
|
}
|
|
889
|
-
function
|
|
898
|
+
function po(e) {
|
|
890
899
|
var t = String(e).match(/^function (\w*)/);
|
|
891
900
|
return t == null ? "" : t[1];
|
|
892
901
|
}
|
|
893
902
|
function qe(e, t) {
|
|
894
903
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
895
904
|
}
|
|
896
|
-
function
|
|
905
|
+
function vo(e, t) {
|
|
897
906
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
898
907
|
}
|
|
899
|
-
const ct = typeof Object.is == "function" ? Object.is :
|
|
900
|
-
var Ot = Object.prototype.toString,
|
|
908
|
+
const ct = typeof Object.is == "function" ? Object.is : vo;
|
|
909
|
+
var Ot = Object.prototype.toString, br = /* @__PURE__ */ function() {
|
|
901
910
|
return Ot.call(arguments) === "[object Arguments]" ? function(t) {
|
|
902
911
|
return Ot.call(t) === "[object Arguments]";
|
|
903
912
|
} : function(t) {
|
|
904
913
|
return qe("callee", t);
|
|
905
914
|
};
|
|
906
|
-
}(),
|
|
915
|
+
}(), bo = !/* @__PURE__ */ {
|
|
907
916
|
toString: null
|
|
908
917
|
}.propertyIsEnumerable("toString"), Rt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Gt = /* @__PURE__ */ function() {
|
|
909
918
|
return arguments.propertyIsEnumerable("length");
|
|
910
|
-
}(),
|
|
919
|
+
}(), ho = function(t, r) {
|
|
911
920
|
for (var a = 0; a < t.length; ) {
|
|
912
921
|
if (t[a] === r)
|
|
913
922
|
return !0;
|
|
914
923
|
a += 1;
|
|
915
924
|
}
|
|
916
925
|
return !1;
|
|
917
|
-
}, bt = /* @__PURE__ */
|
|
926
|
+
}, bt = /* @__PURE__ */ U(typeof Object.keys == "function" && !Gt ? function(t) {
|
|
918
927
|
return Object(t) !== t ? [] : Object.keys(t);
|
|
919
928
|
} : function(t) {
|
|
920
929
|
if (Object(t) !== t)
|
|
921
930
|
return [];
|
|
922
|
-
var r, a, o = [], i = Gt &&
|
|
931
|
+
var r, a, o = [], i = Gt && br(t);
|
|
923
932
|
for (r in t)
|
|
924
933
|
qe(r, t) && (!i || r !== "length") && (o[o.length] = r);
|
|
925
|
-
if (
|
|
934
|
+
if (bo)
|
|
926
935
|
for (a = Rt.length - 1; a >= 0; )
|
|
927
|
-
r = Rt[a], qe(r, t) && !
|
|
936
|
+
r = Rt[a], qe(r, t) && !ho(o, r) && (o[o.length] = r), a -= 1;
|
|
928
937
|
return o;
|
|
929
|
-
}), Yt = /* @__PURE__ */
|
|
938
|
+
}), Yt = /* @__PURE__ */ U(function(t) {
|
|
930
939
|
return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
|
|
931
940
|
});
|
|
932
941
|
function Ut(e, t, r, a) {
|
|
@@ -952,7 +961,7 @@ function zt(e, t, r, a) {
|
|
|
952
961
|
case "Arguments":
|
|
953
962
|
case "Array":
|
|
954
963
|
case "Object":
|
|
955
|
-
if (typeof e.constructor == "function" &&
|
|
964
|
+
if (typeof e.constructor == "function" && po(e.constructor) === "Promise")
|
|
956
965
|
return e === t;
|
|
957
966
|
break;
|
|
958
967
|
case "Boolean":
|
|
@@ -1017,48 +1026,48 @@ function zt(e, t, r, a) {
|
|
|
1017
1026
|
}
|
|
1018
1027
|
return !0;
|
|
1019
1028
|
}
|
|
1020
|
-
var
|
|
1029
|
+
var fo = /* @__PURE__ */ K(function(t, r) {
|
|
1021
1030
|
return zt(t, r, [], []);
|
|
1022
1031
|
});
|
|
1023
|
-
function
|
|
1032
|
+
function yo(e, t) {
|
|
1024
1033
|
for (var r = 0, a = t.length, o = Array(a); r < a; )
|
|
1025
1034
|
o[r] = e(t[r]), r += 1;
|
|
1026
1035
|
return o;
|
|
1027
1036
|
}
|
|
1028
|
-
function
|
|
1037
|
+
function wo(e, t, r) {
|
|
1029
1038
|
for (var a = 0, o = r.length; a < o; )
|
|
1030
1039
|
t = e(t, r[a]), a += 1;
|
|
1031
1040
|
return t;
|
|
1032
1041
|
}
|
|
1033
|
-
function
|
|
1042
|
+
function xo(e) {
|
|
1034
1043
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
1035
1044
|
}
|
|
1036
|
-
var
|
|
1045
|
+
var _o = /* @__PURE__ */ function() {
|
|
1037
1046
|
function e(t, r) {
|
|
1038
1047
|
this.xf = r, this.f = t;
|
|
1039
1048
|
}
|
|
1040
1049
|
return e.prototype["@@transducer/init"] = Pt.init, e.prototype["@@transducer/result"] = Pt.result, e.prototype["@@transducer/step"] = function(t, r) {
|
|
1041
1050
|
return this.xf["@@transducer/step"](t, this.f(r));
|
|
1042
1051
|
}, e;
|
|
1043
|
-
}(),
|
|
1052
|
+
}(), ko = function(t) {
|
|
1044
1053
|
return function(r) {
|
|
1045
|
-
return new
|
|
1054
|
+
return new _o(t, r);
|
|
1046
1055
|
};
|
|
1047
|
-
}, St = /* @__PURE__ */
|
|
1056
|
+
}, St = /* @__PURE__ */ K(/* @__PURE__ */ mo(["fantasy-land/map", "map"], ko, function(t, r) {
|
|
1048
1057
|
switch (Object.prototype.toString.call(r)) {
|
|
1049
1058
|
case "[object Function]":
|
|
1050
|
-
return
|
|
1059
|
+
return go(r.length, function() {
|
|
1051
1060
|
return t.call(this, r.apply(this, arguments));
|
|
1052
1061
|
});
|
|
1053
1062
|
case "[object Object]":
|
|
1054
|
-
return
|
|
1063
|
+
return wo(function(a, o) {
|
|
1055
1064
|
return a[o] = t(r[o]), a;
|
|
1056
1065
|
}, {}, bt(r));
|
|
1057
1066
|
default:
|
|
1058
|
-
return
|
|
1067
|
+
return yo(t, r);
|
|
1059
1068
|
}
|
|
1060
1069
|
}));
|
|
1061
|
-
const
|
|
1070
|
+
const hr = Number.isInteger || function(t) {
|
|
1062
1071
|
return t << 0 === t;
|
|
1063
1072
|
};
|
|
1064
1073
|
function rt(e) {
|
|
@@ -1068,15 +1077,15 @@ function at(e, t) {
|
|
|
1068
1077
|
var r = e < 0 ? t.length + e : e;
|
|
1069
1078
|
return rt(t) ? t.charAt(r) : t[r];
|
|
1070
1079
|
}
|
|
1071
|
-
var
|
|
1080
|
+
var le = /* @__PURE__ */ K(function(t, r) {
|
|
1072
1081
|
if (r != null)
|
|
1073
|
-
return
|
|
1074
|
-
}),
|
|
1082
|
+
return hr(t) ? at(t, r) : r[t];
|
|
1083
|
+
}), zo = /* @__PURE__ */ U(function(t) {
|
|
1075
1084
|
return tt(t) ? !0 : !t || typeof t != "object" || rt(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
|
|
1076
1085
|
}), Kt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1077
|
-
function
|
|
1086
|
+
function So(e, t, r) {
|
|
1078
1087
|
return function(o, i, n) {
|
|
1079
|
-
if (
|
|
1088
|
+
if (zo(n))
|
|
1080
1089
|
return e(o, i, n);
|
|
1081
1090
|
if (n == null)
|
|
1082
1091
|
return i;
|
|
@@ -1091,7 +1100,7 @@ function ko(e, t, r) {
|
|
|
1091
1100
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1092
1101
|
};
|
|
1093
1102
|
}
|
|
1094
|
-
function
|
|
1103
|
+
function $o(e, t, r) {
|
|
1095
1104
|
for (var a = 0, o = r.length; a < o; ) {
|
|
1096
1105
|
if (t = e["@@transducer/step"](t, r[a]), t && t["@@transducer/reduced"]) {
|
|
1097
1106
|
t = t["@@transducer/value"];
|
|
@@ -1101,12 +1110,12 @@ function zo(e, t, r) {
|
|
|
1101
1110
|
}
|
|
1102
1111
|
return e["@@transducer/result"](t);
|
|
1103
1112
|
}
|
|
1104
|
-
var
|
|
1113
|
+
var Io = /* @__PURE__ */ K(function(t, r) {
|
|
1105
1114
|
return et(t.length, function() {
|
|
1106
1115
|
return t.apply(r, arguments);
|
|
1107
1116
|
});
|
|
1108
1117
|
});
|
|
1109
|
-
function
|
|
1118
|
+
function Co(e, t, r) {
|
|
1110
1119
|
for (var a = r.next(); !a.done; ) {
|
|
1111
1120
|
if (t = e["@@transducer/step"](t, a.value), t && t["@@transducer/reduced"]) {
|
|
1112
1121
|
t = t["@@transducer/value"];
|
|
@@ -1116,10 +1125,10 @@ function $o(e, t, r) {
|
|
|
1116
1125
|
}
|
|
1117
1126
|
return e["@@transducer/result"](t);
|
|
1118
1127
|
}
|
|
1119
|
-
function
|
|
1120
|
-
return e["@@transducer/result"](r[a](
|
|
1128
|
+
function No(e, t, r, a) {
|
|
1129
|
+
return e["@@transducer/result"](r[a](Io(e["@@transducer/step"], e), t));
|
|
1121
1130
|
}
|
|
1122
|
-
var
|
|
1131
|
+
var To = /* @__PURE__ */ So($o, No, Co), Eo = /* @__PURE__ */ function() {
|
|
1123
1132
|
function e(t) {
|
|
1124
1133
|
this.f = t;
|
|
1125
1134
|
}
|
|
@@ -1131,18 +1140,18 @@ var Co = /* @__PURE__ */ ko(zo, Io, $o), No = /* @__PURE__ */ function() {
|
|
|
1131
1140
|
return this.f(t, r);
|
|
1132
1141
|
}, e;
|
|
1133
1142
|
}();
|
|
1134
|
-
function
|
|
1135
|
-
return new
|
|
1143
|
+
function Ao(e) {
|
|
1144
|
+
return new Eo(e);
|
|
1136
1145
|
}
|
|
1137
|
-
var
|
|
1138
|
-
return
|
|
1146
|
+
var fr = /* @__PURE__ */ kt(function(e, t, r) {
|
|
1147
|
+
return To(typeof e == "function" ? Ao(e) : e, t, r);
|
|
1139
1148
|
});
|
|
1140
|
-
function
|
|
1149
|
+
function Lo(e, t) {
|
|
1141
1150
|
return function() {
|
|
1142
1151
|
return t.call(this, e.apply(this, arguments));
|
|
1143
1152
|
};
|
|
1144
1153
|
}
|
|
1145
|
-
function
|
|
1154
|
+
function yr(e, t) {
|
|
1146
1155
|
return function() {
|
|
1147
1156
|
var r = arguments.length;
|
|
1148
1157
|
if (r === 0)
|
|
@@ -1151,69 +1160,69 @@ function hr(e, t) {
|
|
|
1151
1160
|
return tt(a) || typeof a[e] != "function" ? t.apply(this, arguments) : a[e].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1152
1161
|
};
|
|
1153
1162
|
}
|
|
1154
|
-
var
|
|
1163
|
+
var Do = /* @__PURE__ */ kt(/* @__PURE__ */ yr("slice", function(t, r, a) {
|
|
1155
1164
|
return Array.prototype.slice.call(a, t, r);
|
|
1156
|
-
})),
|
|
1165
|
+
})), Po = /* @__PURE__ */ U(/* @__PURE__ */ yr("tail", /* @__PURE__ */ Do(1, 1 / 0)));
|
|
1157
1166
|
function Me() {
|
|
1158
1167
|
if (arguments.length === 0)
|
|
1159
1168
|
throw new Error("pipe requires at least one argument");
|
|
1160
|
-
return et(arguments[0].length,
|
|
1169
|
+
return et(arguments[0].length, fr(Lo, arguments[0], Po(arguments)));
|
|
1161
1170
|
}
|
|
1162
|
-
var
|
|
1171
|
+
var Mo = /* @__PURE__ */ U(function(t) {
|
|
1163
1172
|
return rt(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
|
|
1164
1173
|
});
|
|
1165
1174
|
function $t() {
|
|
1166
1175
|
if (arguments.length === 0)
|
|
1167
1176
|
throw new Error("compose requires at least one argument");
|
|
1168
|
-
return Me.apply(this,
|
|
1177
|
+
return Me.apply(this, Mo(arguments));
|
|
1169
1178
|
}
|
|
1170
|
-
var W = /* @__PURE__ */
|
|
1179
|
+
var W = /* @__PURE__ */ U(function(e) {
|
|
1171
1180
|
return at(0, e);
|
|
1172
|
-
}),
|
|
1181
|
+
}), wr = /* @__PURE__ */ kt(function(t, r, a) {
|
|
1173
1182
|
var o = t(r), i = t(a);
|
|
1174
1183
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1175
|
-
}),
|
|
1184
|
+
}), jo = /* @__PURE__ */ U(function(e) {
|
|
1176
1185
|
return at(-1, e);
|
|
1177
1186
|
});
|
|
1178
|
-
function
|
|
1187
|
+
function Oo(e) {
|
|
1179
1188
|
var t = Object.prototype.toString.call(e);
|
|
1180
1189
|
return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
|
|
1181
1190
|
}
|
|
1182
|
-
var
|
|
1183
|
-
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : tt(t) ? [] : rt(t) ? "" :
|
|
1191
|
+
var Ro = /* @__PURE__ */ U(function(t) {
|
|
1192
|
+
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : tt(t) ? [] : rt(t) ? "" : xo(t) ? {} : br(t) ? /* @__PURE__ */ function() {
|
|
1184
1193
|
return arguments;
|
|
1185
|
-
}() :
|
|
1186
|
-
}), Ge = /* @__PURE__ */
|
|
1187
|
-
return t != null &&
|
|
1194
|
+
}() : Oo(t) ? t.constructor.from("") : void 0;
|
|
1195
|
+
}), Ge = /* @__PURE__ */ U(function(t) {
|
|
1196
|
+
return t != null && fo(t, Ro(t));
|
|
1188
1197
|
});
|
|
1189
|
-
function
|
|
1198
|
+
function Go(e, t) {
|
|
1190
1199
|
for (var r = t, a = 0; a < e.length; a += 1) {
|
|
1191
1200
|
if (r == null)
|
|
1192
1201
|
return;
|
|
1193
1202
|
var o = e[a];
|
|
1194
|
-
|
|
1203
|
+
hr(o) ? r = at(o, r) : r = r[o];
|
|
1195
1204
|
}
|
|
1196
1205
|
return r;
|
|
1197
1206
|
}
|
|
1198
|
-
var Bt = /* @__PURE__ */
|
|
1207
|
+
var Bt = /* @__PURE__ */ fr(co, 0), xr = /* @__PURE__ */ K(function(t, r) {
|
|
1199
1208
|
for (var a = {}, o = {}, i = 0, n = t.length; i < n; )
|
|
1200
1209
|
o[t[i]] = 1, i += 1;
|
|
1201
1210
|
for (var l in r)
|
|
1202
1211
|
o.hasOwnProperty(l) || (a[l] = r[l]);
|
|
1203
1212
|
return a;
|
|
1204
|
-
}), He = /* @__PURE__ */
|
|
1213
|
+
}), He = /* @__PURE__ */ K(Go), It = /* @__PURE__ */ K(function(t, r) {
|
|
1205
1214
|
for (var a = {}, o = 0; o < t.length; )
|
|
1206
1215
|
t[o] in r && (a[t[o]] = r[t[o]]), o += 1;
|
|
1207
1216
|
return a;
|
|
1208
|
-
}),
|
|
1217
|
+
}), _r = /* @__PURE__ */ K(function(t, r) {
|
|
1209
1218
|
return Array.prototype.slice.call(r, 0).sort(t);
|
|
1210
|
-
}), We = /* @__PURE__ */
|
|
1219
|
+
}), We = /* @__PURE__ */ K(function(t, r) {
|
|
1211
1220
|
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1212
1221
|
var i = t(a), n = t(o);
|
|
1213
1222
|
return i < n ? -1 : i > n ? 1 : 0;
|
|
1214
1223
|
});
|
|
1215
1224
|
});
|
|
1216
|
-
const
|
|
1225
|
+
const Vt = 20, Yo = {
|
|
1217
1226
|
__name: "DataProvider",
|
|
1218
1227
|
props: {
|
|
1219
1228
|
locale: {
|
|
@@ -1234,17 +1243,17 @@ const Ft = 20, Ro = {
|
|
|
1234
1243
|
}
|
|
1235
1244
|
},
|
|
1236
1245
|
setup(e) {
|
|
1237
|
-
const t = e, { timezone: r, locale: a } =
|
|
1246
|
+
const t = e, { timezone: r, locale: a } = Er(t), { onError: o } = Pe(), i = pr("history"), n = B(i.panel || Ne), l = B(null), c = B(0), g = re({
|
|
1238
1247
|
firstGame: H,
|
|
1239
1248
|
lastGame: H
|
|
1240
|
-
}), m =
|
|
1241
|
-
min:
|
|
1242
|
-
max:
|
|
1249
|
+
}), m = re({
|
|
1250
|
+
min: X(H, "YYYY-MM-DD"),
|
|
1251
|
+
max: X(H, "YYYY-MM-DD")
|
|
1243
1252
|
}), {
|
|
1244
1253
|
state: v,
|
|
1245
1254
|
isLoading: x,
|
|
1246
1255
|
execute: b
|
|
1247
|
-
} =
|
|
1256
|
+
} = Z({
|
|
1248
1257
|
options: {
|
|
1249
1258
|
path: "/v2/games-calendar",
|
|
1250
1259
|
apiKey: t.apiKey,
|
|
@@ -1255,22 +1264,22 @@ const Ft = 20, Ro = {
|
|
|
1255
1264
|
})),
|
|
1256
1265
|
resetOnExecute: !0
|
|
1257
1266
|
},
|
|
1258
|
-
transform: (y) =>
|
|
1267
|
+
transform: (y) => Oa(y, g),
|
|
1259
1268
|
onError: o
|
|
1260
1269
|
}), z = N(
|
|
1261
|
-
() => De(v.value).schedule(r.value, a.value).more(0, c.value *
|
|
1270
|
+
() => De(v.value).schedule(r.value, a.value).more(0, c.value * Vt + Vt).groupByDays().value()
|
|
1262
1271
|
), h = N(
|
|
1263
|
-
() =>
|
|
1264
|
-
...
|
|
1272
|
+
() => Ua(
|
|
1273
|
+
...Ra.get(n.value)(g.value.firstGame, g.value.lastGame),
|
|
1265
1274
|
n.value === ze,
|
|
1266
1275
|
a.value
|
|
1267
1276
|
)
|
|
1268
1277
|
);
|
|
1269
|
-
|
|
1278
|
+
ne(
|
|
1270
1279
|
n,
|
|
1271
1280
|
async (y) => {
|
|
1272
1281
|
const { min: I, max: D, id: $ } = Re.get(y)(i.month);
|
|
1273
|
-
m.value = { min:
|
|
1282
|
+
m.value = { min: X(I, "YYYY-MM-DD"), max: X(D, "YYYY-MM-DD") }, l.value = $, await b(), i.month || f();
|
|
1274
1283
|
},
|
|
1275
1284
|
{
|
|
1276
1285
|
immediate: !0
|
|
@@ -1282,8 +1291,8 @@ const Ft = 20, Ro = {
|
|
|
1282
1291
|
function w(y) {
|
|
1283
1292
|
const { min: I, max: D, id: $ } = Re.get(n.value)(y.id);
|
|
1284
1293
|
l.value = $, i.month = $, m.value = {
|
|
1285
|
-
min:
|
|
1286
|
-
max:
|
|
1294
|
+
min: X(I, "YYYY-MM-DD"),
|
|
1295
|
+
max: X(D, "YYYY-MM-DD")
|
|
1287
1296
|
}, c.value = 0, b();
|
|
1288
1297
|
}
|
|
1289
1298
|
function k() {
|
|
@@ -1294,16 +1303,16 @@ const Ft = 20, Ro = {
|
|
|
1294
1303
|
if (![ze, Te].includes(n.value))
|
|
1295
1304
|
return;
|
|
1296
1305
|
const { firstGame: y, lastGame: I } = g.value;
|
|
1297
|
-
if (
|
|
1306
|
+
if (Jr(H, y)) {
|
|
1298
1307
|
const { min: j, max: P, id: ee } = Re.get(n.value)((D = W(h.value)) == null ? void 0 : D.id);
|
|
1299
|
-
return m.value = { min:
|
|
1308
|
+
return m.value = { min: X(j, "YYYY-MM-DD"), max: X(P, "YYYY-MM-DD") }, l.value = ee, b();
|
|
1300
1309
|
}
|
|
1301
|
-
if (
|
|
1302
|
-
const { min: j, max: P, id: ee } = Re.get(n.value)(($ =
|
|
1303
|
-
m.value = { min:
|
|
1310
|
+
if (lr(H, I)) {
|
|
1311
|
+
const { min: j, max: P, id: ee } = Re.get(n.value)(($ = jo(h.value)) == null ? void 0 : $.id);
|
|
1312
|
+
m.value = { min: X(j, "YYYY-MM-DD"), max: X(P, "YYYY-MM-DD") }, l.value = ee, b();
|
|
1304
1313
|
}
|
|
1305
1314
|
}
|
|
1306
|
-
return (y, I) =>
|
|
1315
|
+
return (y, I) => we(y.$slots, "default", Ee(Ae({
|
|
1307
1316
|
today: s(H),
|
|
1308
1317
|
months: h.value,
|
|
1309
1318
|
isLoading: s(x),
|
|
@@ -1316,7 +1325,7 @@ const Ft = 20, Ro = {
|
|
|
1316
1325
|
changePanel: C
|
|
1317
1326
|
})));
|
|
1318
1327
|
}
|
|
1319
|
-
},
|
|
1328
|
+
}, Uo = {
|
|
1320
1329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1321
1330
|
viewBox: "0 0 24 24",
|
|
1322
1331
|
fill: "none",
|
|
@@ -1325,8 +1334,8 @@ const Ft = 20, Ro = {
|
|
|
1325
1334
|
"stroke-linecap": "round",
|
|
1326
1335
|
"stroke-linejoin": "round"
|
|
1327
1336
|
};
|
|
1328
|
-
function
|
|
1329
|
-
return u(), _("svg",
|
|
1337
|
+
function Ko(e, t) {
|
|
1338
|
+
return u(), _("svg", Uo, t[0] || (t[0] = [
|
|
1330
1339
|
d("rect", {
|
|
1331
1340
|
x: "2",
|
|
1332
1341
|
y: "3",
|
|
@@ -1349,7 +1358,7 @@ function Yo(e, t) {
|
|
|
1349
1358
|
}, null, -1)
|
|
1350
1359
|
]));
|
|
1351
1360
|
}
|
|
1352
|
-
const
|
|
1361
|
+
const Bo = { render: Ko }, Vo = {
|
|
1353
1362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1354
1363
|
viewBox: "0 0 24 24",
|
|
1355
1364
|
fill: "none",
|
|
@@ -1358,28 +1367,28 @@ const Uo = { render: Yo }, Ko = {
|
|
|
1358
1367
|
"stroke-linecap": "round",
|
|
1359
1368
|
"stroke-linejoin": "round"
|
|
1360
1369
|
};
|
|
1361
|
-
function
|
|
1362
|
-
return u(), _("svg",
|
|
1370
|
+
function Fo(e, t) {
|
|
1371
|
+
return u(), _("svg", Vo, t[0] || (t[0] = [
|
|
1363
1372
|
d("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),
|
|
1364
1373
|
d("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1365
1374
|
]));
|
|
1366
1375
|
}
|
|
1367
|
-
const
|
|
1376
|
+
const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"], Jo = ["href"], Xo = { class: "is-info is-text-sm" }, Qo = { class: "is-home-team is-text-base" }, Zo = { class: "is-team-name-short" }, ei = { class: "is-team-name-long" }, ti = {
|
|
1368
1377
|
key: 0,
|
|
1369
1378
|
class: "is-text-xl is-text-bold"
|
|
1370
|
-
},
|
|
1379
|
+
}, ri = ["href", "target"], ai = {
|
|
1371
1380
|
key: 0,
|
|
1372
1381
|
class: "is-text-xl is-text-bold"
|
|
1373
|
-
},
|
|
1382
|
+
}, oi = {
|
|
1374
1383
|
key: 1,
|
|
1375
1384
|
class: "is-text-xl is-text-bold"
|
|
1376
|
-
},
|
|
1385
|
+
}, ii = {
|
|
1377
1386
|
key: 2,
|
|
1378
1387
|
class: "is-text-xl is-text-bold"
|
|
1379
|
-
},
|
|
1388
|
+
}, ni = {
|
|
1380
1389
|
key: 1,
|
|
1381
1390
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1382
|
-
},
|
|
1391
|
+
}, si = { class: "is-away-team is-text-base" }, li = { key: 0 }, ci = { class: "is-team-name-short" }, di = { class: "is-team-name-long" }, gi = {
|
|
1383
1392
|
__name: "Item",
|
|
1384
1393
|
props: {
|
|
1385
1394
|
game: {
|
|
@@ -1396,7 +1405,7 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1396
1405
|
},
|
|
1397
1406
|
gameLink: {
|
|
1398
1407
|
type: Function,
|
|
1399
|
-
default:
|
|
1408
|
+
default: J
|
|
1400
1409
|
},
|
|
1401
1410
|
target: {
|
|
1402
1411
|
type: String,
|
|
@@ -1404,78 +1413,78 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1404
1413
|
}
|
|
1405
1414
|
},
|
|
1406
1415
|
setup(e) {
|
|
1407
|
-
const { t } =
|
|
1416
|
+
const { t } = ce();
|
|
1408
1417
|
return (r, a) => (u(), _("div", {
|
|
1409
|
-
class:
|
|
1418
|
+
class: R(["card-item", { "is-optional": e.game.optional }])
|
|
1410
1419
|
}, [
|
|
1411
|
-
d("div",
|
|
1420
|
+
d("div", Ho, [
|
|
1412
1421
|
d("a", {
|
|
1413
1422
|
href: e.gameLink(e.game)
|
|
1414
|
-
}, p(e.game.gameName), 9,
|
|
1415
|
-
|
|
1416
|
-
e.game.broadcast ? (u(), _(
|
|
1417
|
-
a[0] || (a[0] =
|
|
1418
|
-
S(s(
|
|
1419
|
-
a[1] || (a[1] =
|
|
1423
|
+
}, p(e.game.gameName), 9, Wo),
|
|
1424
|
+
Q(" - " + p(e.game.championshipName) + " - " + p(e.game.divisionName) + " - " + p(e.game.location.locationName) + " ", 1),
|
|
1425
|
+
e.game.broadcast ? (u(), _(O, { key: 0 }, [
|
|
1426
|
+
a[0] || (a[0] = Q(" - ")),
|
|
1427
|
+
S(s(Bo), { height: "16" }),
|
|
1428
|
+
a[1] || (a[1] = Q(" "))
|
|
1420
1429
|
], 64)) : A("", !0),
|
|
1421
|
-
e.game.video ? (u(), _(
|
|
1422
|
-
a[2] || (a[2] =
|
|
1430
|
+
e.game.video ? (u(), _(O, { key: 1 }, [
|
|
1431
|
+
a[2] || (a[2] = Q(" - ")),
|
|
1423
1432
|
d("a", {
|
|
1424
1433
|
href: e.game.video,
|
|
1425
1434
|
target: "_blank"
|
|
1426
1435
|
}, [
|
|
1427
|
-
S(s(
|
|
1428
|
-
], 8,
|
|
1436
|
+
S(s(qo), { height: "18" })
|
|
1437
|
+
], 8, Jo)
|
|
1429
1438
|
], 64)) : A("", !0)
|
|
1430
1439
|
]),
|
|
1431
|
-
d("div",
|
|
1432
|
-
d("div",
|
|
1433
|
-
d("span",
|
|
1434
|
-
d("span",
|
|
1435
|
-
(u(), L(s(
|
|
1440
|
+
d("div", Xo, p(s(X)(e.game.gameDate, "L LT", null, e.locale)) + " (" + p(s(Xe)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1441
|
+
d("div", Qo, [
|
|
1442
|
+
d("span", Zo, p(e.game.homeTeam.shortName), 1),
|
|
1443
|
+
d("span", ei, p(e.game.homeTeam.longName), 1),
|
|
1444
|
+
(u(), L(s(ue), {
|
|
1436
1445
|
key: e.game.homeTeam.id,
|
|
1437
1446
|
class: "is-logo-image",
|
|
1438
1447
|
src: e.game.homeTeam.logo
|
|
1439
1448
|
}, null, 8, ["src"]))
|
|
1440
1449
|
]),
|
|
1441
1450
|
d("div", {
|
|
1442
|
-
class:
|
|
1451
|
+
class: R(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1443
1452
|
}, [
|
|
1444
|
-
e.game.gameStatus === 0 ? (u(), _("span",
|
|
1453
|
+
e.game.gameStatus === 0 ? (u(), _("span", ti, " - : - ")) : A("", !0),
|
|
1445
1454
|
d("a", {
|
|
1446
1455
|
href: e.gameLink(e.game),
|
|
1447
1456
|
target: e.target
|
|
1448
1457
|
}, [
|
|
1449
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), _("span",
|
|
1450
|
-
e.game.gameStatus === 3 ? (u(), _("span",
|
|
1451
|
-
e.game.gameStatus === 4 ? (u(), _("span",
|
|
1452
|
-
], 8,
|
|
1453
|
-
e.game.gameStatus > 0 ? (u(), _("div",
|
|
1458
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), _("span", ai, p(e.game.homeTeamScore) + " : " + p(e.game.awayTeamScore), 1)) : A("", !0),
|
|
1459
|
+
e.game.gameStatus === 3 ? (u(), _("span", oi, p(s(t)("game.status.jury")), 1)) : A("", !0),
|
|
1460
|
+
e.game.gameStatus === 4 ? (u(), _("span", ii, p(s(t)("game.status.delayed")), 1)) : A("", !0)
|
|
1461
|
+
], 8, ri),
|
|
1462
|
+
e.game.gameStatus > 0 ? (u(), _("div", ni, p(e.game.periodResults), 1)) : A("", !0)
|
|
1454
1463
|
], 2),
|
|
1455
|
-
d("div",
|
|
1456
|
-
Array.isArray(e.game.awayTeam) ? (u(), _("span",
|
|
1457
|
-
(u(), L(s(
|
|
1464
|
+
d("div", si, [
|
|
1465
|
+
Array.isArray(e.game.awayTeam) ? (u(), _("span", li, "Torna")) : A("", !0),
|
|
1466
|
+
(u(), L(s(ue), {
|
|
1458
1467
|
key: e.game.awayTeam.id,
|
|
1459
1468
|
class: "is-logo-image",
|
|
1460
1469
|
src: e.game.awayTeam.logo
|
|
1461
1470
|
}, null, 8, ["src"])),
|
|
1462
|
-
d("span",
|
|
1463
|
-
d("span",
|
|
1471
|
+
d("span", ci, p(e.game.awayTeam.shortName), 1),
|
|
1472
|
+
d("span", di, p(e.game.awayTeam.longName), 1)
|
|
1464
1473
|
])
|
|
1465
1474
|
], 2));
|
|
1466
1475
|
}
|
|
1467
|
-
}, he = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-loading-indicator-text-color: var(--vbr-widget-hover-color);--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-title-color: var(--vbr-widget-primary-color-50);--vbr-widget-top-list-title-separator-color: var(--vbr-widget-primary-color-700);--vbr-widget-top-list-value-color: var(--vbr-widget-primary-color-300);--vbr-widget-top-list-player-separator-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-image-border-color: var(--vbr-widget-primary-color-600);--vbr-widget-top-list-image-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-selector-border-color: var(--vbr-widget-primary-color-400);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--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 )}html,body{-webkit-font-smoothing:antialiased}.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)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-loading-indicator-text-color);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice button{text-decoration:underline}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", ot = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", je = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;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='%23343a40' 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 .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, di = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", fe = (e, t) => {
|
|
1476
|
+
}, fe = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-loading-indicator-text-color: var(--vbr-widget-hover-color);--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-title-color: var(--vbr-widget-primary-color-50);--vbr-widget-top-list-title-separator-color: var(--vbr-widget-primary-color-700);--vbr-widget-top-list-value-color: var(--vbr-widget-primary-color-300);--vbr-widget-top-list-player-separator-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-image-border-color: var(--vbr-widget-primary-color-600);--vbr-widget-top-list-image-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-selector-border-color: var(--vbr-widget-primary-color-400);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--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 )}html,body{-webkit-font-smoothing:antialiased}.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)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-loading-indicator-text-color);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice button{text-decoration:underline}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", ot = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", je = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;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='%23343a40' 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 .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, ui = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", ye = (e, t) => {
|
|
1468
1477
|
const r = e.__vccOpts || e;
|
|
1469
1478
|
for (const [a, o] of t)
|
|
1470
1479
|
r[a] = o;
|
|
1471
1480
|
return r;
|
|
1472
|
-
},
|
|
1481
|
+
}, mi = {
|
|
1473
1482
|
id: "top",
|
|
1474
1483
|
class: "flex overflow-x-auto is-mb-5"
|
|
1475
|
-
},
|
|
1484
|
+
}, pi = ["onClick"], vi = ["onClick"], bi = ["onClick"], hi = ["onClick"], fi = { class: "toggle-group" }, yi = ["disabled", "onClick"], wi = {
|
|
1476
1485
|
key: 0,
|
|
1477
1486
|
class: "is-text-center"
|
|
1478
|
-
},
|
|
1487
|
+
}, xi = ["data-gamedate"], _i = { class: "is-text-base" }, ki = { class: "is-card" }, zi = ["onClick"], Si = {
|
|
1479
1488
|
__name: "Calendar.ce",
|
|
1480
1489
|
props: {
|
|
1481
1490
|
locale: {
|
|
@@ -1490,11 +1499,11 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1490
1499
|
type: String,
|
|
1491
1500
|
default: ""
|
|
1492
1501
|
},
|
|
1493
|
-
...
|
|
1502
|
+
...or
|
|
1494
1503
|
},
|
|
1495
1504
|
setup(e) {
|
|
1496
|
-
const t = e, r = { en:
|
|
1497
|
-
return (n, l) => (u(), L(s(
|
|
1505
|
+
const t = e, r = { en: be, hu: he }, a = B(Qe()), o = N(() => t.isGameTargetExternal ? "_blank" : "_self"), i = (n) => Ze(t.externalGameResolver || "/game/id/{id}", n);
|
|
1506
|
+
return (n, l) => (u(), L(s(ve), {
|
|
1498
1507
|
locale: t.locale,
|
|
1499
1508
|
messages: r
|
|
1500
1509
|
}, {
|
|
@@ -1505,7 +1514,7 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1505
1514
|
key: 0,
|
|
1506
1515
|
error: g
|
|
1507
1516
|
}, null, 8, ["error"])) : A("", !0),
|
|
1508
|
-
S(
|
|
1517
|
+
S(Yo, {
|
|
1509
1518
|
locale: t.locale,
|
|
1510
1519
|
timezone: a.value,
|
|
1511
1520
|
"season-id": e.seasonId,
|
|
@@ -1521,43 +1530,43 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1521
1530
|
setMonth: w,
|
|
1522
1531
|
changePanel: k
|
|
1523
1532
|
}) => [
|
|
1524
|
-
d("div",
|
|
1533
|
+
d("div", mi, [
|
|
1525
1534
|
d("button", {
|
|
1526
|
-
class:
|
|
1535
|
+
class: R(["tab-button", { "is-active": z === s(ze) }]),
|
|
1527
1536
|
onClick: (f) => k(s(ze))
|
|
1528
|
-
}, p(c("calendar.gamesPlayed")), 11,
|
|
1537
|
+
}, p(c("calendar.gamesPlayed")), 11, pi),
|
|
1529
1538
|
d("button", {
|
|
1530
|
-
class:
|
|
1539
|
+
class: R(["tab-button", { "is-active": z === s(Ne) }]),
|
|
1531
1540
|
onClick: (f) => k(s(Ne))
|
|
1532
|
-
}, p(c("calendar.todaysGames")), 11,
|
|
1541
|
+
}, p(c("calendar.todaysGames")), 11, vi),
|
|
1533
1542
|
d("button", {
|
|
1534
|
-
class:
|
|
1543
|
+
class: R(["tab-button", { "is-active": z === s(Te) }]),
|
|
1535
1544
|
onClick: (f) => k(s(Te))
|
|
1536
|
-
}, p(c("calendar.nextGames")), 11,
|
|
1545
|
+
}, p(c("calendar.nextGames")), 11, bi),
|
|
1537
1546
|
d("button", {
|
|
1538
|
-
class:
|
|
1547
|
+
class: R(["tab-button", { "is-active": z === s(Be) }]),
|
|
1539
1548
|
onClick: (f) => k(s(Be))
|
|
1540
|
-
}, p(c("calendar.weekGames")), 11,
|
|
1549
|
+
}, p(c("calendar.weekGames")), 11, hi)
|
|
1541
1550
|
]),
|
|
1542
|
-
d("div",
|
|
1543
|
-
(u(!0), _(
|
|
1551
|
+
d("div", fi, [
|
|
1552
|
+
(u(!0), _(O, null, V(x, (f) => (u(), _("button", {
|
|
1544
1553
|
key: f.id,
|
|
1545
1554
|
type: "button",
|
|
1546
|
-
class:
|
|
1555
|
+
class: R({ "is-active": h === f.id }),
|
|
1547
1556
|
disabled: b,
|
|
1548
1557
|
onClick: (y) => w(f)
|
|
1549
|
-
}, p(f.name), 11,
|
|
1558
|
+
}, p(f.name), 11, yi))), 128))
|
|
1550
1559
|
]),
|
|
1551
|
-
v.totalItems === 0 && !b ? (u(), _("div",
|
|
1560
|
+
v.totalItems === 0 && !b ? (u(), _("div", wi, p(c("calendar.noGame")), 1)) : A("", !0),
|
|
1552
1561
|
d("div", null, [
|
|
1553
1562
|
b ? (u(), L(s(Je), { key: 0 })) : A("", !0),
|
|
1554
|
-
(u(!0), _(
|
|
1563
|
+
(u(!0), _(O, null, V(v.rows, (f, y) => (u(), _("div", {
|
|
1555
1564
|
key: y,
|
|
1556
1565
|
"data-gamedate": y
|
|
1557
1566
|
}, [
|
|
1558
|
-
d("span",
|
|
1559
|
-
d("div",
|
|
1560
|
-
(u(!0), _(
|
|
1567
|
+
d("span", _i, p(s(X)(new Date(y), "LL dddd", a.value, e.locale)), 1),
|
|
1568
|
+
d("div", ki, [
|
|
1569
|
+
(u(!0), _(O, null, V(f, (I) => (u(), L(gi, {
|
|
1561
1570
|
key: I.id,
|
|
1562
1571
|
game: I,
|
|
1563
1572
|
locale: e.locale,
|
|
@@ -1566,15 +1575,15 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1566
1575
|
target: o.value
|
|
1567
1576
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1568
1577
|
])
|
|
1569
|
-
], 8,
|
|
1578
|
+
], 8, xi))), 128))
|
|
1570
1579
|
]),
|
|
1571
|
-
!b && v.currentItems < v.totalItems ? (u(), L(s(
|
|
1580
|
+
!b && v.currentItems < v.totalItems ? (u(), L(s(qr), {
|
|
1572
1581
|
key: 1,
|
|
1573
1582
|
options: { rootMargin: "400px" },
|
|
1574
1583
|
onIntersect: C
|
|
1575
1584
|
}, {
|
|
1576
1585
|
default: T(() => [
|
|
1577
|
-
d("button", { onClick: C }, p(c("calendar.more")), 9,
|
|
1586
|
+
d("button", { onClick: C }, p(c("calendar.more")), 9, zi)
|
|
1578
1587
|
]),
|
|
1579
1588
|
_: 2
|
|
1580
1589
|
}, 1032, ["onIntersect"])) : A("", !0)
|
|
@@ -1588,20 +1597,20 @@ const Fo = { render: Bo }, Vo = { class: "is-info is-text-sm" }, qo = ["href"],
|
|
|
1588
1597
|
_: 1
|
|
1589
1598
|
}, 8, ["locale"]));
|
|
1590
1599
|
}
|
|
1591
|
-
},
|
|
1592
|
-
function
|
|
1600
|
+
}, $i = /* @__PURE__ */ ye(Si, [["styles", [fe, ot, je, ui]]]), Ie = "schedule", dt = "standings", _e = "players", Ye = "teams";
|
|
1601
|
+
function Ii(e, t, r = null) {
|
|
1593
1602
|
var i, n, l, c;
|
|
1594
|
-
t.championships = We(
|
|
1595
|
-
const a = We(
|
|
1603
|
+
t.championships = We(le("sectionId"))(e), t.selectedChampionshipId = (n = (i = t.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
|
|
1604
|
+
const a = We(le("phaseId"))(((l = e == null ? void 0 : e[0]) == null ? void 0 : l.phases) ?? []), o = a.findIndex((g) => g.phaseId === Number(r));
|
|
1596
1605
|
t.phaseId = o > -1 ? Number(r) : (c = a[0]) == null ? void 0 : c.phaseId;
|
|
1597
1606
|
}
|
|
1598
|
-
const
|
|
1607
|
+
const Ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1599
1608
|
api: "/v2/games-list",
|
|
1600
|
-
columns:
|
|
1609
|
+
columns: ur,
|
|
1601
1610
|
sort: {}
|
|
1602
1611
|
}).set("standings", {
|
|
1603
1612
|
api: "/v2/standings",
|
|
1604
|
-
columns:
|
|
1613
|
+
columns: ua,
|
|
1605
1614
|
sort: {}
|
|
1606
1615
|
}).set("points", {
|
|
1607
1616
|
api: "/v2/players-stats",
|
|
@@ -1639,7 +1648,7 @@ const $i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1639
1648
|
}
|
|
1640
1649
|
}).set("playerspenalties", {
|
|
1641
1650
|
api: "/v2/players-penalty",
|
|
1642
|
-
columns:
|
|
1651
|
+
columns: ma,
|
|
1643
1652
|
sort: {
|
|
1644
1653
|
sortTarget: "pim",
|
|
1645
1654
|
orders: [{ target: "pim", direction: te }]
|
|
@@ -1662,34 +1671,34 @@ const $i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1662
1671
|
}
|
|
1663
1672
|
}).set("teamFairplay", {
|
|
1664
1673
|
api: "/v2/team-fairplay",
|
|
1665
|
-
columns:
|
|
1674
|
+
columns: pa,
|
|
1666
1675
|
sort: {
|
|
1667
1676
|
sortTarget: "pim",
|
|
1668
1677
|
orders: [{ target: "pim", direction: te }]
|
|
1669
1678
|
}
|
|
1670
1679
|
}).set("teamPenaltiKilling", {
|
|
1671
1680
|
api: "/v2/team-powerplay",
|
|
1672
|
-
columns:
|
|
1681
|
+
columns: va,
|
|
1673
1682
|
sort: {
|
|
1674
1683
|
sortTarget: "pkPercent",
|
|
1675
1684
|
orders: [{ target: "pkPercent", direction: te }]
|
|
1676
1685
|
}
|
|
1677
1686
|
}).set("teamPowerplay", {
|
|
1678
1687
|
api: "/v2/team-powerplay",
|
|
1679
|
-
columns:
|
|
1688
|
+
columns: ba,
|
|
1680
1689
|
sort: {
|
|
1681
1690
|
sortTarget: "ppPercent",
|
|
1682
1691
|
orders: [{ target: "ppPercent", direction: te }]
|
|
1683
1692
|
}
|
|
1684
1693
|
}).set("teamScoringEfficiency", {
|
|
1685
1694
|
api: "/v2/team-scoring-efficiency",
|
|
1686
|
-
columns:
|
|
1695
|
+
columns: ha,
|
|
1687
1696
|
sort: {
|
|
1688
1697
|
sortTarget: "sp",
|
|
1689
1698
|
orders: [{ target: "sp", direction: te }]
|
|
1690
1699
|
}
|
|
1691
1700
|
});
|
|
1692
|
-
function
|
|
1701
|
+
function Ft(e) {
|
|
1693
1702
|
return [
|
|
1694
1703
|
{
|
|
1695
1704
|
name: e("report.points"),
|
|
@@ -1745,15 +1754,15 @@ function qt(e) {
|
|
|
1745
1754
|
}
|
|
1746
1755
|
];
|
|
1747
1756
|
}
|
|
1748
|
-
function
|
|
1757
|
+
function Ni(e, t) {
|
|
1749
1758
|
if (e.length === 0)
|
|
1750
|
-
throw new
|
|
1751
|
-
t.seasons =
|
|
1759
|
+
throw new cr(Ke.message, Ke.options);
|
|
1760
|
+
t.seasons = Ti(e), t.championshipId || (t.championshipId = W(t.seasons).championshipId);
|
|
1752
1761
|
}
|
|
1753
|
-
function
|
|
1754
|
-
return $t(wr(
|
|
1762
|
+
function Ti(e) {
|
|
1763
|
+
return $t(_r(wr(le("seasonName"))), St(It(["championshipId", "seasonName"])))(e);
|
|
1755
1764
|
}
|
|
1756
|
-
const
|
|
1765
|
+
const Ei = {
|
|
1757
1766
|
__name: "DataProvider",
|
|
1758
1767
|
props: {
|
|
1759
1768
|
championshipName: {
|
|
@@ -1786,7 +1795,7 @@ const Ni = {
|
|
|
1786
1795
|
}
|
|
1787
1796
|
},
|
|
1788
1797
|
setup(e) {
|
|
1789
|
-
const t = e, r =
|
|
1798
|
+
const t = e, r = pr("history"), a = ge({
|
|
1790
1799
|
loading: !1,
|
|
1791
1800
|
seasons: [],
|
|
1792
1801
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1798,83 +1807,83 @@ const Ni = {
|
|
|
1798
1807
|
selectedPanel: Ie,
|
|
1799
1808
|
api: "/v2/games-list",
|
|
1800
1809
|
apiParams: {},
|
|
1801
|
-
columns:
|
|
1810
|
+
columns: ur,
|
|
1802
1811
|
sort: null,
|
|
1803
1812
|
report: "points"
|
|
1804
|
-
}), o =
|
|
1813
|
+
}), o = Qt(t, "timezone"), { onError: i } = Pe(), { sort: n, change: l } = na({
|
|
1805
1814
|
sortTarget: "",
|
|
1806
1815
|
orders: []
|
|
1807
|
-
}), { page: c, change: g } =
|
|
1816
|
+
}), { page: c, change: g } = gr(), { t: m } = ce(), { isLoading: v, execute: x } = Z({
|
|
1808
1817
|
options: {
|
|
1809
1818
|
path: "/v2/championship-seasons",
|
|
1810
1819
|
apiKey: t.apiKey,
|
|
1811
1820
|
params: { championshipName: t.championshipName }
|
|
1812
1821
|
},
|
|
1813
|
-
transform: (E) =>
|
|
1822
|
+
transform: (E) => Ni(E, a),
|
|
1814
1823
|
onError: i
|
|
1815
|
-
}), { isLoading: b, execute: z } =
|
|
1824
|
+
}), { isLoading: b, execute: z } = Z({
|
|
1816
1825
|
options: {
|
|
1817
1826
|
path: "/v2/championship-sections",
|
|
1818
1827
|
apiKey: t.apiKey,
|
|
1819
1828
|
params: N(() => ({ championshipId: a.championshipId }))
|
|
1820
1829
|
},
|
|
1821
|
-
transform: (E) =>
|
|
1830
|
+
transform: (E) => Ii(E, a, t.initialPhaseId),
|
|
1822
1831
|
onError: i
|
|
1823
1832
|
}), {
|
|
1824
1833
|
isLoading: h,
|
|
1825
1834
|
state: C,
|
|
1826
1835
|
execute: w
|
|
1827
|
-
} =
|
|
1836
|
+
} = Z({
|
|
1828
1837
|
options: {
|
|
1829
1838
|
path: N(() => a.api),
|
|
1830
1839
|
apiKey: t.apiKey,
|
|
1831
1840
|
resetOnExecute: !0,
|
|
1832
1841
|
params: N(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1833
1842
|
},
|
|
1834
|
-
transform: (E) =>
|
|
1843
|
+
transform: (E) => dr(E),
|
|
1835
1844
|
onError: i
|
|
1836
|
-
}), k =
|
|
1845
|
+
}), k = sa([b, v, h], { delay: 1e3 });
|
|
1837
1846
|
Se([x, z, w]);
|
|
1838
1847
|
const f = N(
|
|
1839
|
-
() => a.selectedPanel ===
|
|
1848
|
+
() => a.selectedPanel === _e ? Ft(m) : qt(m)
|
|
1840
1849
|
), y = N(() => {
|
|
1841
|
-
const E = a.championships.find((
|
|
1842
|
-
return
|
|
1850
|
+
const E = a.championships.find((G) => G.sectionId === a.selectedChampionshipId);
|
|
1851
|
+
return Xr(We(le("phaseId"))((E == null ? void 0 : E.phases) ?? []));
|
|
1843
1852
|
}), I = N(() => a.selectedPanel === Ie ? 0 : t.limit), D = N(
|
|
1844
|
-
() =>
|
|
1853
|
+
() => Qr(
|
|
1845
1854
|
C.value,
|
|
1846
|
-
Qr,
|
|
1847
1855
|
Zr,
|
|
1848
1856
|
ea,
|
|
1849
|
-
ta
|
|
1850
|
-
ra(["
|
|
1857
|
+
ta,
|
|
1858
|
+
ra(["mip"]),
|
|
1859
|
+
aa(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1851
1860
|
)
|
|
1852
1861
|
), $ = N(() => De(s(D)).sorted(n).addContinuousIndex().schedule(s(o), s(t.locale)).pagination(s(c), I.value).value());
|
|
1853
1862
|
function j(E) {
|
|
1854
1863
|
a.championshipId = E, r.championshipId = E, Se([z, w]);
|
|
1855
1864
|
}
|
|
1856
1865
|
function P(E) {
|
|
1857
|
-
var
|
|
1858
|
-
a.selectedChampionshipId = E, a.phaseId = ((
|
|
1866
|
+
var G;
|
|
1867
|
+
a.selectedChampionshipId = E, a.phaseId = ((G = y.value[0]) == null ? void 0 : G.phaseId) ?? null, w();
|
|
1859
1868
|
}
|
|
1860
1869
|
function ee(E) {
|
|
1861
1870
|
a.phaseId = E, w();
|
|
1862
1871
|
}
|
|
1863
|
-
function
|
|
1864
|
-
var
|
|
1872
|
+
function de(E) {
|
|
1873
|
+
var se, q;
|
|
1865
1874
|
a.selectedPanel = E;
|
|
1866
|
-
let
|
|
1867
|
-
E ===
|
|
1875
|
+
let G = E;
|
|
1876
|
+
E === _e && (G = (se = W(Ft(J))) == null ? void 0 : se.value), E === Ye && (G = (q = W(qt(J))) == null ? void 0 : q.value), a.report = G, F(G);
|
|
1868
1877
|
}
|
|
1869
|
-
function
|
|
1870
|
-
|
|
1878
|
+
function oe(E) {
|
|
1879
|
+
F(E);
|
|
1871
1880
|
}
|
|
1872
|
-
function
|
|
1873
|
-
var
|
|
1874
|
-
const
|
|
1875
|
-
a.api =
|
|
1881
|
+
function F(E) {
|
|
1882
|
+
var se, q;
|
|
1883
|
+
const G = Ci.get(E);
|
|
1884
|
+
a.api = G.api, a.apiParams = G.params, a.columns = G.columns, n.sortTarget = ((se = G.sort) == null ? void 0 : se.sortTarget) ?? "", n.orders = ((q = G.sort) == null ? void 0 : q.orders) ?? [], w(), g(1);
|
|
1876
1885
|
}
|
|
1877
|
-
return (E,
|
|
1886
|
+
return (E, G) => we(E.$slots, "default", Ee(Ae({
|
|
1878
1887
|
...a,
|
|
1879
1888
|
sort: s(n),
|
|
1880
1889
|
page: s(c),
|
|
@@ -1883,18 +1892,18 @@ const Ni = {
|
|
|
1883
1892
|
games: $.value,
|
|
1884
1893
|
reports: f.value,
|
|
1885
1894
|
onSort: s(l),
|
|
1886
|
-
changePanel:
|
|
1895
|
+
changePanel: de,
|
|
1887
1896
|
changePhase: ee,
|
|
1888
1897
|
changeSeason: j,
|
|
1889
|
-
onChangeReport:
|
|
1898
|
+
onChangeReport: oe,
|
|
1890
1899
|
onPaginatorChange: s(g),
|
|
1891
1900
|
changeChampionship: P
|
|
1892
1901
|
})));
|
|
1893
1902
|
}
|
|
1894
|
-
},
|
|
1903
|
+
}, Ai = { class: "g-row" }, Li = {
|
|
1895
1904
|
for: "season",
|
|
1896
1905
|
class: "label"
|
|
1897
|
-
},
|
|
1906
|
+
}, Di = ["value"], Pi = {
|
|
1898
1907
|
__name: "SeasonSelector",
|
|
1899
1908
|
props: {
|
|
1900
1909
|
seasons: {
|
|
@@ -1908,39 +1917,39 @@ const Ni = {
|
|
|
1908
1917
|
},
|
|
1909
1918
|
emits: ["update:championshipId"],
|
|
1910
1919
|
setup(e, { emit: t }) {
|
|
1911
|
-
const r = e, a = t, { t: o } =
|
|
1912
|
-
return (n, l) => (u(), _("div",
|
|
1920
|
+
const r = e, a = t, { t: o } = ce(), { championshipId: i } = _t(r, a);
|
|
1921
|
+
return (n, l) => (u(), _("div", Ai, [
|
|
1913
1922
|
d("div", null, [
|
|
1914
|
-
d("label",
|
|
1923
|
+
d("label", Li, p(s(o)("selection.season")), 1),
|
|
1915
1924
|
S(s(ke), {
|
|
1916
1925
|
id: "season",
|
|
1917
1926
|
modelValue: s(i),
|
|
1918
|
-
"onUpdate:modelValue": l[0] || (l[0] = (c) =>
|
|
1927
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => me(i) ? i.value = c : null)
|
|
1919
1928
|
}, {
|
|
1920
1929
|
default: T(() => [
|
|
1921
|
-
(u(!0), _(
|
|
1930
|
+
(u(!0), _(O, null, V(e.seasons, (c) => (u(), _("option", {
|
|
1922
1931
|
key: c.championshipId,
|
|
1923
1932
|
value: c.championshipId
|
|
1924
|
-
}, p(c.seasonName), 9,
|
|
1933
|
+
}, p(c.seasonName), 9, Di))), 128))
|
|
1925
1934
|
]),
|
|
1926
1935
|
_: 1
|
|
1927
1936
|
}, 8, ["modelValue"])
|
|
1928
1937
|
])
|
|
1929
1938
|
]));
|
|
1930
1939
|
}
|
|
1931
|
-
},
|
|
1940
|
+
}, Mi = {
|
|
1932
1941
|
class: "g-row",
|
|
1933
1942
|
style: { "column-gap": "8px" }
|
|
1934
|
-
},
|
|
1943
|
+
}, ji = {
|
|
1935
1944
|
for: "phases",
|
|
1936
1945
|
class: "label"
|
|
1937
|
-
},
|
|
1946
|
+
}, Oi = {
|
|
1938
1947
|
key: 0,
|
|
1939
1948
|
value: null
|
|
1940
|
-
},
|
|
1949
|
+
}, Ri = ["value"], Gi = { key: 0 }, Yi = {
|
|
1941
1950
|
for: "report",
|
|
1942
1951
|
class: "label"
|
|
1943
|
-
},
|
|
1952
|
+
}, Ui = ["value"], Ki = {
|
|
1944
1953
|
__name: "Selector",
|
|
1945
1954
|
props: {
|
|
1946
1955
|
phases: {
|
|
@@ -1966,45 +1975,45 @@ const Ni = {
|
|
|
1966
1975
|
},
|
|
1967
1976
|
emits: ["update:phaseId", "update:report"],
|
|
1968
1977
|
setup(e, { emit: t }) {
|
|
1969
|
-
const r = e, a = t, { t: o } =
|
|
1970
|
-
return (l, c) => (u(), _("div",
|
|
1978
|
+
const r = e, a = t, { t: o } = ce(), { phaseId: i, report: n } = _t(r, a);
|
|
1979
|
+
return (l, c) => (u(), _("div", Mi, [
|
|
1971
1980
|
d("div", null, [
|
|
1972
|
-
d("label",
|
|
1981
|
+
d("label", ji, p(s(o)("selection.phases")), 1),
|
|
1973
1982
|
S(s(ke), {
|
|
1974
1983
|
id: "phases",
|
|
1975
1984
|
modelValue: s(i),
|
|
1976
|
-
"onUpdate:modelValue": c[0] || (c[0] = (g) =>
|
|
1985
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => me(i) ? i.value = g : null),
|
|
1977
1986
|
disabled: s(i) === null
|
|
1978
1987
|
}, {
|
|
1979
1988
|
default: T(() => [
|
|
1980
|
-
s(i) === null ? (u(), _("option",
|
|
1981
|
-
(u(!0), _(
|
|
1989
|
+
s(i) === null ? (u(), _("option", Oi, p(s(o)("selection.noPhases")), 1)) : A("", !0),
|
|
1990
|
+
(u(!0), _(O, null, V(e.phases, (g) => (u(), _("option", {
|
|
1982
1991
|
key: g.phaseId,
|
|
1983
1992
|
value: g.phaseId
|
|
1984
|
-
}, p(g.phaseName), 9,
|
|
1993
|
+
}, p(g.phaseName), 9, Ri))), 128))
|
|
1985
1994
|
]),
|
|
1986
1995
|
_: 1
|
|
1987
1996
|
}, 8, ["modelValue", "disabled"])
|
|
1988
1997
|
]),
|
|
1989
|
-
e.isReportsVisible ? (u(), _("div",
|
|
1990
|
-
d("label",
|
|
1998
|
+
e.isReportsVisible ? (u(), _("div", Gi, [
|
|
1999
|
+
d("label", Yi, p(s(o)("selection.report")), 1),
|
|
1991
2000
|
S(s(ke), {
|
|
1992
2001
|
id: "report",
|
|
1993
2002
|
modelValue: s(n),
|
|
1994
|
-
"onUpdate:modelValue": c[1] || (c[1] = (g) =>
|
|
2003
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => me(n) ? n.value = g : null)
|
|
1995
2004
|
}, {
|
|
1996
2005
|
default: T(() => [
|
|
1997
|
-
(u(!0), _(
|
|
2006
|
+
(u(!0), _(O, null, V(e.reports, ({ value: g, name: m }) => (u(), _("option", {
|
|
1998
2007
|
key: g,
|
|
1999
2008
|
value: g
|
|
2000
|
-
}, p(m), 9,
|
|
2009
|
+
}, p(m), 9, Ui))), 128))
|
|
2001
2010
|
]),
|
|
2002
2011
|
_: 1
|
|
2003
2012
|
}, 8, ["modelValue"])
|
|
2004
2013
|
])) : A("", !0)
|
|
2005
2014
|
]));
|
|
2006
2015
|
}
|
|
2007
|
-
}, xr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", _r = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", kr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', zr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ui = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Ki = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Bi = { class: "section-selector" }, Fi = ["onClick"], Vi = { class: "section-selector" }, qi = ["onClick"], Hi = ["onClick"], Wi = ["onClick"], Ji = ["onClick"], Xi = {
|
|
2016
|
+
}, kr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", zr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Sr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', $r = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Bi = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Vi = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Fi = { class: "section-selector" }, qi = ["onClick"], Hi = { class: "section-selector" }, Wi = ["onClick"], Ji = ["onClick"], Xi = ["onClick"], Qi = ["onClick"], Zi = {
|
|
2008
2017
|
__name: "Championship.ce",
|
|
2009
2018
|
props: {
|
|
2010
2019
|
locale: {
|
|
@@ -2037,9 +2046,9 @@ const Ni = {
|
|
|
2037
2046
|
}
|
|
2038
2047
|
},
|
|
2039
2048
|
setup(e) {
|
|
2040
|
-
const t = e, r =
|
|
2049
|
+
const t = e, r = B(null), a = B(Qe()), o = N(() => Xe(/* @__PURE__ */ new Date(), s(a), t.locale)), i = { en: be, hu: he }, n = (c) => Ze(t.externalGameResolver, c), l = (c) => oa(t.externalTeamResolver, c);
|
|
2041
2050
|
return (c, g) => (u(), _("div", null, [
|
|
2042
|
-
S(s(
|
|
2051
|
+
S(s(ve), {
|
|
2043
2052
|
locale: t.locale,
|
|
2044
2053
|
messages: i
|
|
2045
2054
|
}, {
|
|
@@ -2050,7 +2059,7 @@ const Ni = {
|
|
|
2050
2059
|
key: 0,
|
|
2051
2060
|
error: v
|
|
2052
2061
|
}, null, 8, ["error"])) : A("", !0),
|
|
2053
|
-
S(
|
|
2062
|
+
S(Ei, {
|
|
2054
2063
|
locale: e.locale,
|
|
2055
2064
|
timezone: a.value,
|
|
2056
2065
|
"championship-name": e.championshipName,
|
|
@@ -2072,54 +2081,54 @@ const Ni = {
|
|
|
2072
2081
|
championships: j,
|
|
2073
2082
|
championshipId: P,
|
|
2074
2083
|
selectedChampionshipId: ee,
|
|
2075
|
-
onSort:
|
|
2076
|
-
changePanel:
|
|
2077
|
-
changePhase:
|
|
2084
|
+
onSort: de,
|
|
2085
|
+
changePanel: oe,
|
|
2086
|
+
changePhase: F,
|
|
2078
2087
|
changeSeason: E,
|
|
2079
|
-
onChangeReport:
|
|
2080
|
-
onPaginatorChange:
|
|
2088
|
+
onChangeReport: G,
|
|
2089
|
+
onPaginatorChange: se,
|
|
2081
2090
|
changeChampionship: q
|
|
2082
2091
|
}) => [
|
|
2083
|
-
S(
|
|
2092
|
+
S(Pi, {
|
|
2084
2093
|
seasons: y,
|
|
2085
2094
|
"championship-id": P,
|
|
2086
2095
|
"onUpdate:championshipId": E
|
|
2087
2096
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2088
|
-
d("div",
|
|
2089
|
-
(u(!0), _(
|
|
2090
|
-
key:
|
|
2091
|
-
class:
|
|
2092
|
-
onClick: (it) => q(
|
|
2093
|
-
}, p(
|
|
2097
|
+
d("div", Fi, [
|
|
2098
|
+
(u(!0), _(O, null, V(j, (ie) => (u(), _("button", {
|
|
2099
|
+
key: ie.phaseId,
|
|
2100
|
+
class: R(["tab-button", { "is-active": ie.sectionId === ee }]),
|
|
2101
|
+
onClick: (it) => q(ie.sectionId)
|
|
2102
|
+
}, p(ie.sectionName), 11, qi))), 128))
|
|
2094
2103
|
]),
|
|
2095
|
-
S(
|
|
2104
|
+
S(Ki, {
|
|
2096
2105
|
phases: C,
|
|
2097
2106
|
"phase-id": k,
|
|
2098
2107
|
reports: I,
|
|
2099
2108
|
report: w,
|
|
2100
|
-
"is-reports-visible": $ === s(
|
|
2101
|
-
"onUpdate:phaseId":
|
|
2102
|
-
"onUpdate:report":
|
|
2109
|
+
"is-reports-visible": $ === s(_e) || $ === s(Ye),
|
|
2110
|
+
"onUpdate:phaseId": F,
|
|
2111
|
+
"onUpdate:report": G
|
|
2103
2112
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2104
|
-
d("div",
|
|
2113
|
+
d("div", Hi, [
|
|
2105
2114
|
d("button", {
|
|
2106
|
-
class:
|
|
2107
|
-
onClick: (
|
|
2108
|
-
}, p(m("selection.schedule")), 11,
|
|
2115
|
+
class: R(["tab-button", { "is-active": $ === s(Ie) }]),
|
|
2116
|
+
onClick: (ie) => oe(s(Ie))
|
|
2117
|
+
}, p(m("selection.schedule")), 11, Wi),
|
|
2109
2118
|
d("button", {
|
|
2110
|
-
class:
|
|
2111
|
-
onClick: (
|
|
2112
|
-
}, p(m("selection.standings")), 11,
|
|
2119
|
+
class: R(["tab-button", { "is-active": $ === s(dt) }]),
|
|
2120
|
+
onClick: (ie) => oe(s(dt))
|
|
2121
|
+
}, p(m("selection.standings")), 11, Ji),
|
|
2113
2122
|
d("button", {
|
|
2114
|
-
class:
|
|
2115
|
-
onClick: (
|
|
2116
|
-
}, p(m("selection.playerStats")), 11,
|
|
2123
|
+
class: R(["tab-button", { "is-active": $ === s(_e) }]),
|
|
2124
|
+
onClick: (ie) => oe(s(_e))
|
|
2125
|
+
}, p(m("selection.playerStats")), 11, Xi),
|
|
2117
2126
|
d("button", {
|
|
2118
|
-
class:
|
|
2119
|
-
onClick: (
|
|
2120
|
-
}, p(m("selection.teamStats")), 11,
|
|
2127
|
+
class: R(["tab-button", { "is-active": $ === s(Ye) }]),
|
|
2128
|
+
onClick: (ie) => oe(s(Ye))
|
|
2129
|
+
}, p(m("selection.teamStats")), 11, Qi)
|
|
2121
2130
|
]),
|
|
2122
|
-
S(s(
|
|
2131
|
+
S(s(ir), {
|
|
2123
2132
|
columns: f,
|
|
2124
2133
|
rows: h.rows,
|
|
2125
2134
|
sort: b,
|
|
@@ -2129,17 +2138,17 @@ const Ni = {
|
|
|
2129
2138
|
"external-game-resolver": n,
|
|
2130
2139
|
"append-to": r.value,
|
|
2131
2140
|
"hide-columns": $ === s(Ie) ? "broadcast" : "",
|
|
2132
|
-
onSort:
|
|
2141
|
+
onSort: de
|
|
2133
2142
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2134
|
-
$ === s(
|
|
2143
|
+
$ === s(_e) ? (u(), L(s(nr), {
|
|
2135
2144
|
key: 0,
|
|
2136
2145
|
page: z,
|
|
2137
2146
|
"items-per-page": t.limit,
|
|
2138
2147
|
"total-items": h.totalItems,
|
|
2139
2148
|
"range-length": 5,
|
|
2140
|
-
onChange:
|
|
2149
|
+
onChange: se
|
|
2141
2150
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : A("", !0),
|
|
2142
|
-
$ === s(dt) ? (u(), _(
|
|
2151
|
+
$ === s(dt) ? (u(), _(O, { key: 1 }, [
|
|
2143
2152
|
S(s(Ue), {
|
|
2144
2153
|
rows: h.rows,
|
|
2145
2154
|
"additional-key": "inheritedPoints"
|
|
@@ -2164,23 +2173,23 @@ const Ni = {
|
|
|
2164
2173
|
}, 8, ["locale"])
|
|
2165
2174
|
]));
|
|
2166
2175
|
}
|
|
2167
|
-
},
|
|
2168
|
-
function
|
|
2169
|
-
const r =
|
|
2176
|
+
}, en = /* @__PURE__ */ ye(Zi, [["styles", [fe, ot, je, kr, zr, Sr, $r, Bi, Vi]]]);
|
|
2177
|
+
function tn(e, t = J) {
|
|
2178
|
+
const r = B({
|
|
2170
2179
|
days: "00",
|
|
2171
2180
|
hours: "00",
|
|
2172
2181
|
minutes: "00",
|
|
2173
2182
|
seconds: "00"
|
|
2174
|
-
}), a =
|
|
2183
|
+
}), a = re(!1), o = re(null), { pause: i, resume: n } = Ve(() => {
|
|
2175
2184
|
const l = (/* @__PURE__ */ new Date()).getTime();
|
|
2176
2185
|
let c = o.value - l;
|
|
2177
|
-
c <= 0 && (i(), c = 0, a.value = !0, t()), r.value =
|
|
2186
|
+
c <= 0 && (i(), c = 0, a.value = !0, t()), r.value = rn(c);
|
|
2178
2187
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
2179
|
-
return
|
|
2188
|
+
return ne(() => Y(e), (l) => {
|
|
2180
2189
|
o.value = new Date(l).getTime(), n();
|
|
2181
2190
|
}, { immediate: !1 }), { date: r, finished: a };
|
|
2182
2191
|
}
|
|
2183
|
-
function
|
|
2192
|
+
function rn(e) {
|
|
2184
2193
|
return {
|
|
2185
2194
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
2186
2195
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2188,7 +2197,7 @@ function en(e) {
|
|
|
2188
2197
|
seconds: Math.floor(e % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
|
|
2189
2198
|
};
|
|
2190
2199
|
}
|
|
2191
|
-
const
|
|
2200
|
+
const an = ["data-number"], ae = {
|
|
2192
2201
|
__name: "Number",
|
|
2193
2202
|
props: {
|
|
2194
2203
|
number: [Number, String],
|
|
@@ -2202,7 +2211,7 @@ const tn = ["data-number"], re = {
|
|
|
2202
2211
|
class: "is-number",
|
|
2203
2212
|
"data-number": e.number
|
|
2204
2213
|
}, [
|
|
2205
|
-
S(
|
|
2214
|
+
S(er, {
|
|
2206
2215
|
name: `slide-${e.direction}`
|
|
2207
2216
|
}, {
|
|
2208
2217
|
default: T(() => [
|
|
@@ -2210,9 +2219,9 @@ const tn = ["data-number"], re = {
|
|
|
2210
2219
|
]),
|
|
2211
2220
|
_: 1
|
|
2212
2221
|
}, 8, ["name"])
|
|
2213
|
-
], 8,
|
|
2222
|
+
], 8, an));
|
|
2214
2223
|
}
|
|
2215
|
-
},
|
|
2224
|
+
}, on = '.game-countdown{display:grid;grid-template-rows:var(--vbr-widget-countdown-title-height) 1fr var(--vbr-widget-countdown-gamedata-height);box-shadow:0 2px 4px #0003}.game-countdown .game-countdown-title{text-align:center;font-size:var(--vbr-widget-typography-font-size-300);font-weight:700;line-height:var(--vbr-widget-countdown-title-height);color:var(--vbr-widget-primary-color-200);background-color:var(--vbr-widget-countdown-title-bg)}.game-countdown .game-countdown-container{display:grid;grid-template-areas:"stack";place-items:center;background-color:var(--vbr-widget-countdown-result-bg)}.game-countdown .game-countdown-container>div{visibility:hidden}.game-countdown .game-countdown-container>div.is-visible{visibility:visible}.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 .5rem;align-items:center;color:var(--vbr-widget-primary-color-300);font-weight:700}.game-countdown .game-countdown-result .is-separator{grid-area:separator;font-size:3.125rem;line-height:1;font-size:clamp(2rem,10vw,5rem)}.game-countdown .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}.game-countdown .game-countdown-result .is-home-score{grid-area:home-score}.game-countdown .game-countdown-result .is-away-score{grid-area:away-score}.game-countdown .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--vbr-widget-typography-font-size-300);text-align:center}.game-countdown .game-countdown-result .is-period{grid-area:period;font-size:var(--vbr-widget-typography-font-size-50);font-weight:700;text-align:center;text-transform:uppercase}.game-countdown .game-countdown-result .is-live{color:var(--vbr-widget-live-game-color)}.game-countdown .game-countdown-counter{grid-area:stack;display:flex;gap:1rem;justify-content:space-around;padding:1rem;font-size:var(--vbr-widget-typography-font-size-50);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-primary-color-300)}.game-countdown .game-countdown-counter .is-number{color:var(--vbr-widget-live-game-color)}.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:1rem;background-color:var(--vbr-widget-countdown-gamedata-bg);font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;line-height:var(--vbr-widget-typography-font-lineheight-400);color:var(--vbr-widget-primary-color-50)}.game-countdown .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--vbr-widget-primary-color-200);font-size:var(--vbr-widget-typography-font-size-100)}.game-countdown .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}.game-countdown .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}.game-countdown .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-countdown .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}.game-countdown .game-countdown-gamedata .is-away-team{grid-area:away-team}.game-countdown .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}.game-countdown .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}.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}.game-countdown .is-number>span{grid-area:stack;font-size:clamp(3.125rem,10vw,5rem);line-height:1;font-weight:700}@keyframes fade-in{0%{opacity:0}to{opacity:1}}', nn = ".slide-increase-enter-active,.slide-increase-leave-active{transition:all .8s var(--ease-spring-1)}.slide-increase-enter-from{transform:translateY(100%)}.slide-increase-enter-to,.slide-increase-leave-from{transform:translateY(0)}.slide-increase-leave-to{transform:translateY(-100%)}.slide-decrease-enter-active,.slide-decrease-leave-active{transition:all .8s var(--ease-spring-1)}.slide-decrease-enter-from{transform:translateY(-100%)}.slide-decrease-enter-to,.slide-decrease-leave-from{transform:translateY(0)}.slide-decrease-leave-to{transform:translateY(100%)}", sn = ["href", "target"], ln = { class: "game-countdown-title" }, cn = { class: "game-countdown-container" }, dn = ["textContent"], gn = ["textContent"], un = ["textContent"], mn = { style: { display: "flex" } }, pn = ["textContent"], vn = { style: { display: "flex" } }, bn = ["textContent"], hn = { style: { display: "flex" } }, fn = ["textContent"], yn = { style: { display: "flex" } }, wn = { class: "game-countdown-gamedata" }, xn = { class: "is-game-date" }, _n = { class: "is-home-team" }, kn = { class: "is-away-team" }, zn = {
|
|
2216
2225
|
__name: "Countdown.ce",
|
|
2217
2226
|
props: {
|
|
2218
2227
|
locale: {
|
|
@@ -2228,14 +2237,14 @@ const tn = ["data-number"], re = {
|
|
|
2228
2237
|
default: ""
|
|
2229
2238
|
},
|
|
2230
2239
|
// externalGameResolver, isGameTargetExternal
|
|
2231
|
-
...
|
|
2240
|
+
...or
|
|
2232
2241
|
},
|
|
2233
2242
|
setup(e) {
|
|
2234
|
-
const t = e, r = { en:
|
|
2243
|
+
const t = e, r = { en: be, hu: he }, {
|
|
2235
2244
|
state: a,
|
|
2236
2245
|
execute: o,
|
|
2237
2246
|
isLoading: i
|
|
2238
|
-
} =
|
|
2247
|
+
} = Z({
|
|
2239
2248
|
options: {
|
|
2240
2249
|
path: "/v2/game-data",
|
|
2241
2250
|
apiKey: t.apiKey,
|
|
@@ -2246,13 +2255,13 @@ const tn = ["data-number"], re = {
|
|
|
2246
2255
|
},
|
|
2247
2256
|
onSuccess: z
|
|
2248
2257
|
// onError,
|
|
2249
|
-
}), { pause: n, resume: l } =
|
|
2258
|
+
}), { pause: n, resume: l } = Ve(() => {
|
|
2250
2259
|
o();
|
|
2251
|
-
}, 3e4, { immediate: !1 }), c = N(() => (a.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), g = N(() => (a.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: m, finished: v } =
|
|
2260
|
+
}, 3e4, { immediate: !1 }), c = N(() => (a.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), g = N(() => (a.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: m, finished: v } = tn(N(() => a.value.gameDate), () => l()), x = N(() => Ze(t.externalGameResolver, { gameId: t.gameId })), b = N(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2252
2261
|
function z(h) {
|
|
2253
2262
|
h.gameStatus === 1 && l(), h.gameStatus > 1 && n();
|
|
2254
2263
|
}
|
|
2255
|
-
return (h, C) => (u(), L(s(
|
|
2264
|
+
return (h, C) => (u(), L(s(ve), {
|
|
2256
2265
|
locale: e.locale,
|
|
2257
2266
|
messages: r
|
|
2258
2267
|
}, {
|
|
@@ -2264,64 +2273,64 @@ const tn = ["data-number"], re = {
|
|
|
2264
2273
|
target: b.value,
|
|
2265
2274
|
class: "game-countdown"
|
|
2266
2275
|
}, [
|
|
2267
|
-
d("div",
|
|
2268
|
-
s(Ge)(s(a)) ? A("", !0) : (u(), _(
|
|
2269
|
-
|
|
2276
|
+
d("div", ln, [
|
|
2277
|
+
s(Ge)(s(a)) ? A("", !0) : (u(), _(O, { key: 0 }, [
|
|
2278
|
+
Q(p(s(a).championshipName) + " - " + p(s(a).divisionName), 1)
|
|
2270
2279
|
], 64))
|
|
2271
2280
|
]),
|
|
2272
|
-
d("div",
|
|
2281
|
+
d("div", cn, [
|
|
2273
2282
|
d("div", {
|
|
2274
|
-
class:
|
|
2283
|
+
class: R(["game-countdown-result", { "is-visible": s(v) }])
|
|
2275
2284
|
}, [
|
|
2276
2285
|
d("div", {
|
|
2277
2286
|
class: "is-period",
|
|
2278
2287
|
textContent: p(w(s(a).period ? `game.period.${s(a).period}` : ""))
|
|
2279
|
-
}, null, 8,
|
|
2288
|
+
}, null, 8, dn),
|
|
2280
2289
|
d("div", {
|
|
2281
|
-
class:
|
|
2290
|
+
class: R(["is-home-score", { "is-live": s(a).gameStatus === 1 }]),
|
|
2282
2291
|
style: { display: "flex" }
|
|
2283
2292
|
}, [
|
|
2284
|
-
c.value[0] !== "0" ? (u(), L(
|
|
2293
|
+
c.value[0] !== "0" ? (u(), L(ae, {
|
|
2285
2294
|
key: 0,
|
|
2286
2295
|
number: c.value[0]
|
|
2287
2296
|
}, null, 8, ["number"])) : A("", !0),
|
|
2288
|
-
S(
|
|
2297
|
+
S(ae, {
|
|
2289
2298
|
number: c.value[1]
|
|
2290
2299
|
}, null, 8, ["number"])
|
|
2291
2300
|
], 2),
|
|
2292
2301
|
d("span", {
|
|
2293
|
-
class:
|
|
2302
|
+
class: R(["is-separator", { "is-live": s(a).gameStatus === 1 }])
|
|
2294
2303
|
}, ":", 2),
|
|
2295
2304
|
d("div", {
|
|
2296
|
-
class:
|
|
2305
|
+
class: R(["is-away-score", { "is-live": s(a).gameStatus === 1 }]),
|
|
2297
2306
|
style: { display: "flex" }
|
|
2298
2307
|
}, [
|
|
2299
|
-
g.value[0] !== "0" ? (u(), L(
|
|
2308
|
+
g.value[0] !== "0" ? (u(), L(ae, {
|
|
2300
2309
|
key: 0,
|
|
2301
2310
|
number: g.value[0]
|
|
2302
2311
|
}, null, 8, ["number"])) : A("", !0),
|
|
2303
|
-
S(
|
|
2312
|
+
S(ae, {
|
|
2304
2313
|
number: g.value[1]
|
|
2305
2314
|
}, null, 8, ["number"])
|
|
2306
2315
|
], 2),
|
|
2307
2316
|
d("div", {
|
|
2308
2317
|
class: "is-period-results",
|
|
2309
2318
|
textContent: p(s(a).periodResults)
|
|
2310
|
-
}, null, 8,
|
|
2319
|
+
}, null, 8, gn)
|
|
2311
2320
|
], 2),
|
|
2312
2321
|
d("div", {
|
|
2313
|
-
class:
|
|
2322
|
+
class: R(["game-countdown-counter", { "is-visible": !s(v) && !s(i) }])
|
|
2314
2323
|
}, [
|
|
2315
2324
|
d("div", null, [
|
|
2316
2325
|
d("div", {
|
|
2317
2326
|
textContent: p(w("countdown.days"))
|
|
2318
|
-
}, null, 8,
|
|
2319
|
-
d("div",
|
|
2320
|
-
S(
|
|
2327
|
+
}, null, 8, un),
|
|
2328
|
+
d("div", mn, [
|
|
2329
|
+
S(ae, {
|
|
2321
2330
|
number: s(m).days[0],
|
|
2322
2331
|
direction: "decrease"
|
|
2323
2332
|
}, null, 8, ["number"]),
|
|
2324
|
-
S(
|
|
2333
|
+
S(ae, {
|
|
2325
2334
|
number: s(m).days[1],
|
|
2326
2335
|
direction: "decrease"
|
|
2327
2336
|
}, null, 8, ["number"])
|
|
@@ -2330,13 +2339,13 @@ const tn = ["data-number"], re = {
|
|
|
2330
2339
|
d("div", null, [
|
|
2331
2340
|
d("div", {
|
|
2332
2341
|
textContent: p(w("countdown.hours"))
|
|
2333
|
-
}, null, 8,
|
|
2334
|
-
d("div",
|
|
2335
|
-
S(
|
|
2342
|
+
}, null, 8, pn),
|
|
2343
|
+
d("div", vn, [
|
|
2344
|
+
S(ae, {
|
|
2336
2345
|
number: s(m).hours[0],
|
|
2337
2346
|
direction: "decrease"
|
|
2338
2347
|
}, null, 8, ["number"]),
|
|
2339
|
-
S(
|
|
2348
|
+
S(ae, {
|
|
2340
2349
|
number: s(m).hours[1],
|
|
2341
2350
|
direction: "decrease"
|
|
2342
2351
|
}, null, 8, ["number"])
|
|
@@ -2345,13 +2354,13 @@ const tn = ["data-number"], re = {
|
|
|
2345
2354
|
d("div", null, [
|
|
2346
2355
|
d("div", {
|
|
2347
2356
|
textContent: p(w("countdown.minutes"))
|
|
2348
|
-
}, null, 8,
|
|
2349
|
-
d("div",
|
|
2350
|
-
S(
|
|
2357
|
+
}, null, 8, bn),
|
|
2358
|
+
d("div", hn, [
|
|
2359
|
+
S(ae, {
|
|
2351
2360
|
number: s(m).minutes[0],
|
|
2352
2361
|
direction: "decrease"
|
|
2353
2362
|
}, null, 8, ["number"]),
|
|
2354
|
-
S(
|
|
2363
|
+
S(ae, {
|
|
2355
2364
|
number: s(m).minutes[1],
|
|
2356
2365
|
direction: "decrease"
|
|
2357
2366
|
}, null, 8, ["number"])
|
|
@@ -2360,13 +2369,13 @@ const tn = ["data-number"], re = {
|
|
|
2360
2369
|
d("div", null, [
|
|
2361
2370
|
d("div", {
|
|
2362
2371
|
textContent: p(w("countdown.seconds"))
|
|
2363
|
-
}, null, 8,
|
|
2364
|
-
d("div",
|
|
2365
|
-
S(
|
|
2372
|
+
}, null, 8, fn),
|
|
2373
|
+
d("div", yn, [
|
|
2374
|
+
S(ae, {
|
|
2366
2375
|
number: s(m).seconds[0],
|
|
2367
2376
|
direction: "decrease"
|
|
2368
2377
|
}, null, 8, ["number"]),
|
|
2369
|
-
S(
|
|
2378
|
+
S(ae, {
|
|
2370
2379
|
number: s(m).seconds[1],
|
|
2371
2380
|
direction: "decrease"
|
|
2372
2381
|
}, null, 8, ["number"])
|
|
@@ -2374,29 +2383,29 @@ const tn = ["data-number"], re = {
|
|
|
2374
2383
|
])
|
|
2375
2384
|
], 2)
|
|
2376
2385
|
]),
|
|
2377
|
-
d("div",
|
|
2378
|
-
d("div",
|
|
2379
|
-
(k = s(a).homeTeam) != null && k.logo ? (u(), L(s(
|
|
2386
|
+
d("div", wn, [
|
|
2387
|
+
d("div", xn, p(s(X)(s(a).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2388
|
+
(k = s(a).homeTeam) != null && k.logo ? (u(), L(s(ue), {
|
|
2380
2389
|
key: 0,
|
|
2381
2390
|
class: "is-home-team-logo",
|
|
2382
2391
|
src: s(a).homeTeam.logo
|
|
2383
2392
|
}, null, 8, ["src"])) : A("", !0),
|
|
2384
|
-
d("span",
|
|
2393
|
+
d("span", _n, p((f = s(a).homeTeam) == null ? void 0 : f.longName), 1),
|
|
2385
2394
|
C[0] || (C[0] = d("span", { class: "is-separator" }, "-", -1)),
|
|
2386
|
-
d("span",
|
|
2387
|
-
(I = s(a).awayTeam) != null && I.logo ? (u(), L(s(
|
|
2395
|
+
d("span", kn, p((y = s(a).awayTeam) == null ? void 0 : y.longName), 1),
|
|
2396
|
+
(I = s(a).awayTeam) != null && I.logo ? (u(), L(s(ue), {
|
|
2388
2397
|
key: 1,
|
|
2389
2398
|
class: "is-away-team-logo",
|
|
2390
2399
|
src: s(a).awayTeam.logo
|
|
2391
2400
|
}, null, 8, ["src"])) : A("", !0)
|
|
2392
2401
|
])
|
|
2393
|
-
], 8,
|
|
2402
|
+
], 8, sn)
|
|
2394
2403
|
];
|
|
2395
2404
|
}),
|
|
2396
2405
|
_: 1
|
|
2397
2406
|
}, 8, ["locale"]));
|
|
2398
2407
|
}
|
|
2399
|
-
},
|
|
2408
|
+
}, Sn = /* @__PURE__ */ ye(zn, [["styles", [fe, on, nn]]]), $n = {
|
|
2400
2409
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2401
2410
|
viewBox: "0 0 24 24",
|
|
2402
2411
|
fill: "none",
|
|
@@ -2405,12 +2414,12 @@ const tn = ["data-number"], re = {
|
|
|
2405
2414
|
"stroke-linecap": "round",
|
|
2406
2415
|
"stroke-linejoin": "round"
|
|
2407
2416
|
};
|
|
2408
|
-
function
|
|
2409
|
-
return u(), _("svg",
|
|
2417
|
+
function In(e, t) {
|
|
2418
|
+
return u(), _("svg", $n, t[0] || (t[0] = [
|
|
2410
2419
|
d("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2411
2420
|
]));
|
|
2412
2421
|
}
|
|
2413
|
-
const
|
|
2422
|
+
const Cn = { render: In }, Nn = {
|
|
2414
2423
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2415
2424
|
viewBox: "0 0 24 24",
|
|
2416
2425
|
fill: "none",
|
|
@@ -2419,15 +2428,15 @@ const $n = { render: Sn }, In = {
|
|
|
2419
2428
|
"stroke-linecap": "round",
|
|
2420
2429
|
"stroke-linejoin": "round"
|
|
2421
2430
|
};
|
|
2422
|
-
function
|
|
2423
|
-
return u(), _("svg",
|
|
2431
|
+
function Tn(e, t) {
|
|
2432
|
+
return u(), _("svg", Nn, t[0] || (t[0] = [
|
|
2424
2433
|
d("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2425
2434
|
]));
|
|
2426
2435
|
}
|
|
2427
|
-
const Ct = { render:
|
|
2428
|
-
function
|
|
2429
|
-
const { execute: t } =
|
|
2430
|
-
(r) =>
|
|
2436
|
+
const Ct = { render: Tn }, Ir = Symbol("CarouselContext");
|
|
2437
|
+
function En({ apiKey: e }) {
|
|
2438
|
+
const { execute: t } = io(
|
|
2439
|
+
(r) => la("/v2/game-data", e, r).then((a) => ({ ...a, ...r })),
|
|
2431
2440
|
{},
|
|
2432
2441
|
{
|
|
2433
2442
|
immediate: !1,
|
|
@@ -2438,11 +2447,11 @@ function Nn({ apiKey: e }) {
|
|
|
2438
2447
|
execute: t
|
|
2439
2448
|
};
|
|
2440
2449
|
}
|
|
2441
|
-
function
|
|
2442
|
-
const a =
|
|
2450
|
+
function An(e, t, r) {
|
|
2451
|
+
const a = Ln(t, r);
|
|
2443
2452
|
return e.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2444
2453
|
}
|
|
2445
|
-
function
|
|
2454
|
+
function Ln(e, t) {
|
|
2446
2455
|
const r = /* @__PURE__ */ new Map();
|
|
2447
2456
|
for (const a of e)
|
|
2448
2457
|
r.set(a[t], a);
|
|
@@ -2451,7 +2460,7 @@ function En(e, t) {
|
|
|
2451
2460
|
function Ht(e) {
|
|
2452
2461
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2453
2462
|
}
|
|
2454
|
-
const
|
|
2463
|
+
const Dn = { class: "games-timeline" }, Pn = ["disabled"], Mn = { ref: "container" }, jn = ["disabled"], On = {
|
|
2455
2464
|
__name: "Carousel",
|
|
2456
2465
|
props: {
|
|
2457
2466
|
initialIndex: {
|
|
@@ -2460,20 +2469,20 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2460
2469
|
}
|
|
2461
2470
|
},
|
|
2462
2471
|
setup(e) {
|
|
2463
|
-
const t = e, r =
|
|
2464
|
-
|
|
2472
|
+
const t = e, r = Ar("container"), a = B(t.initialIndex), o = B([]);
|
|
2473
|
+
Lr(Ir, {
|
|
2465
2474
|
register: (x) => {
|
|
2466
|
-
o.value.includes(x) || (o.value.push(x), o.value =
|
|
2475
|
+
o.value.includes(x) || (o.value.push(x), o.value = ia(o.value, (b) => xe(r.value).querySelector(`#${b}`)));
|
|
2467
2476
|
},
|
|
2468
2477
|
unregister: (x) => {
|
|
2469
2478
|
const b = o.value.indexOf(x);
|
|
2470
2479
|
b !== -1 && o.value.splice(b, 1);
|
|
2471
2480
|
}
|
|
2472
2481
|
});
|
|
2473
|
-
const { arrivedState: n } =
|
|
2474
|
-
() =>
|
|
2482
|
+
const { arrivedState: n } = so(r, { onStop: v }), l = N(
|
|
2483
|
+
() => xe(r).querySelector(`#${o.value[a.value]}`)
|
|
2475
2484
|
);
|
|
2476
|
-
ht(() => m()),
|
|
2485
|
+
ht(() => m()), ne(
|
|
2477
2486
|
() => t.initialIndex,
|
|
2478
2487
|
(x) => {
|
|
2479
2488
|
a.value = x, Ce(() => m());
|
|
@@ -2491,21 +2500,21 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2491
2500
|
}
|
|
2492
2501
|
function v() {
|
|
2493
2502
|
var z;
|
|
2494
|
-
const x = (z =
|
|
2503
|
+
const x = (z = xe(r).getBoundingClientRect()) == null ? void 0 : z.left, b = Array.from(xe(r).children).findIndex(
|
|
2495
2504
|
(h) => Math.round(h.getBoundingClientRect().left - x) >= 0
|
|
2496
2505
|
);
|
|
2497
2506
|
a.value = b;
|
|
2498
2507
|
}
|
|
2499
|
-
return (x, b) => (u(), _("div",
|
|
2508
|
+
return (x, b) => (u(), _("div", Dn, [
|
|
2500
2509
|
d("button", {
|
|
2501
2510
|
type: "button",
|
|
2502
2511
|
disabled: s(n).left,
|
|
2503
2512
|
onClick: c
|
|
2504
2513
|
}, [
|
|
2505
|
-
S(s(
|
|
2506
|
-
], 8,
|
|
2507
|
-
d("div",
|
|
2508
|
-
|
|
2514
|
+
S(s(Cn))
|
|
2515
|
+
], 8, Pn),
|
|
2516
|
+
d("div", Mn, [
|
|
2517
|
+
we(x.$slots, "default")
|
|
2509
2518
|
], 512),
|
|
2510
2519
|
d("button", {
|
|
2511
2520
|
type: "button",
|
|
@@ -2513,21 +2522,21 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2513
2522
|
onClick: g
|
|
2514
2523
|
}, [
|
|
2515
2524
|
S(s(Ct))
|
|
2516
|
-
], 8,
|
|
2525
|
+
], 8, jn)
|
|
2517
2526
|
]));
|
|
2518
2527
|
}
|
|
2519
2528
|
}, gt = {
|
|
2520
2529
|
__name: "CarouselItem",
|
|
2521
2530
|
setup(e) {
|
|
2522
|
-
const t = `mjsz-vbr-carousel-item-${
|
|
2523
|
-
return ht(() => r == null ? void 0 : r.register(t)),
|
|
2531
|
+
const t = `mjsz-vbr-carousel-item-${Dr()}`, r = Pr(Ir, null);
|
|
2532
|
+
return ht(() => r == null ? void 0 : r.register(t)), Mr(() => r == null ? void 0 : r.unregister(t)), (a, o) => (u(), _("div", {
|
|
2524
2533
|
id: t,
|
|
2525
2534
|
class: "is-slide"
|
|
2526
2535
|
}, [
|
|
2527
|
-
|
|
2536
|
+
we(a.$slots, "default")
|
|
2528
2537
|
]));
|
|
2529
2538
|
}
|
|
2530
|
-
},
|
|
2539
|
+
}, Rn = { class: "games-timeline-schedule-link" }, Wt = {
|
|
2531
2540
|
__name: "ExternalSchedule",
|
|
2532
2541
|
props: {
|
|
2533
2542
|
title: {
|
|
@@ -2545,17 +2554,17 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2545
2554
|
function o() {
|
|
2546
2555
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2547
2556
|
}
|
|
2548
|
-
return (i, n) => (u(), _("div",
|
|
2557
|
+
return (i, n) => (u(), _("div", Rn, [
|
|
2549
2558
|
d("button", {
|
|
2550
2559
|
type: "button",
|
|
2551
2560
|
onClick: o
|
|
2552
2561
|
}, [
|
|
2553
|
-
|
|
2562
|
+
Q(p(e.title), 1),
|
|
2554
2563
|
S(s(Ct))
|
|
2555
2564
|
])
|
|
2556
2565
|
]));
|
|
2557
2566
|
}
|
|
2558
|
-
},
|
|
2567
|
+
}, Gn = { class: "score-display" }, Yn = { class: "is-score" }, Jt = {
|
|
2559
2568
|
__name: "ScoreDisplay",
|
|
2560
2569
|
props: {
|
|
2561
2570
|
score: {
|
|
@@ -2564,9 +2573,9 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2564
2573
|
}
|
|
2565
2574
|
},
|
|
2566
2575
|
setup(e) {
|
|
2567
|
-
return (t, r) => (u(), _("div",
|
|
2568
|
-
d("div",
|
|
2569
|
-
S(
|
|
2576
|
+
return (t, r) => (u(), _("div", Gn, [
|
|
2577
|
+
d("div", Yn, [
|
|
2578
|
+
S(er, { name: "is-slide-transition" }, {
|
|
2570
2579
|
default: T(() => [
|
|
2571
2580
|
(u(), _("span", { key: e.score }, p(e.score), 1))
|
|
2572
2581
|
]),
|
|
@@ -2575,13 +2584,13 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2575
2584
|
])
|
|
2576
2585
|
]));
|
|
2577
2586
|
}
|
|
2578
|
-
},
|
|
2587
|
+
}, Un = {
|
|
2579
2588
|
key: 0,
|
|
2580
2589
|
class: "is-badge"
|
|
2581
|
-
},
|
|
2590
|
+
}, Kn = {
|
|
2582
2591
|
key: 1,
|
|
2583
2592
|
class: "is-badge"
|
|
2584
|
-
},
|
|
2593
|
+
}, Bn = { class: "is-home-team-logo" }, Vn = { class: "is-home-team-name" }, Fn = { class: "is-home-team-score" }, qn = { class: "is-away-team-logo" }, Hn = { class: "is-away-team-name" }, Wn = { class: "is-away-team-score" }, Jn = { class: "is-status" }, Xn = {
|
|
2585
2594
|
__name: "Game",
|
|
2586
2595
|
props: {
|
|
2587
2596
|
gameData: {
|
|
@@ -2595,7 +2604,7 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2595
2604
|
},
|
|
2596
2605
|
emits: ["navigateTo"],
|
|
2597
2606
|
setup(e, { emit: t }) {
|
|
2598
|
-
const r = e, a = t, { t: o } =
|
|
2607
|
+
const r = e, a = t, { t: o } = ce(), i = N(() => {
|
|
2599
2608
|
const { gameStatus: l, championshipName: c, divisionName: g, period: m, periodTime: v } = r.gameData;
|
|
2600
2609
|
return l !== 1 ? `${c} - ${g}` : m && Ht(m) ? `${o(`game.period.${m}`)} - ${v}` : m && !Ht(m) ? o(`game.period.${m}`) : "";
|
|
2601
2610
|
});
|
|
@@ -2611,52 +2620,52 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2611
2620
|
onClick: n
|
|
2612
2621
|
}, [
|
|
2613
2622
|
d("time", null, [
|
|
2614
|
-
|
|
2615
|
-
e.gameData.isShootout ? (u(), _("span",
|
|
2616
|
-
e.gameData.isOvertime ? (u(), _("span",
|
|
2623
|
+
Q(p(e.gameData.gameDateTime) + " ", 1),
|
|
2624
|
+
e.gameData.isShootout ? (u(), _("span", Un, p(s(o)("common.shootoutShort")), 1)) : A("", !0),
|
|
2625
|
+
e.gameData.isOvertime ? (u(), _("span", Kn, p(s(o)("common.overtimeShort")), 1)) : A("", !0)
|
|
2617
2626
|
]),
|
|
2618
|
-
d("div",
|
|
2619
|
-
S(s(
|
|
2627
|
+
d("div", Bn, [
|
|
2628
|
+
S(s(ue), {
|
|
2620
2629
|
src: e.gameData.homeTeam.logo,
|
|
2621
2630
|
class: "is-team-logo"
|
|
2622
2631
|
}, null, 8, ["src"])
|
|
2623
2632
|
]),
|
|
2624
|
-
d("div",
|
|
2625
|
-
d("div",
|
|
2633
|
+
d("div", Vn, p(e.gameData.homeTeam.longName), 1),
|
|
2634
|
+
d("div", Fn, [
|
|
2626
2635
|
e.gameData.homeTeamScore != null ? (u(), L(Jt, {
|
|
2627
2636
|
key: 0,
|
|
2628
|
-
class:
|
|
2637
|
+
class: R(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2629
2638
|
score: e.gameData.homeTeamScore
|
|
2630
2639
|
}, {
|
|
2631
2640
|
default: T(() => [
|
|
2632
|
-
|
|
2641
|
+
Q(p(e.gameData.homeTeamScore), 1)
|
|
2633
2642
|
]),
|
|
2634
2643
|
_: 1
|
|
2635
2644
|
}, 8, ["class", "score"])) : A("", !0)
|
|
2636
2645
|
]),
|
|
2637
|
-
d("div",
|
|
2638
|
-
S(s(
|
|
2646
|
+
d("div", qn, [
|
|
2647
|
+
S(s(ue), {
|
|
2639
2648
|
src: e.gameData.awayTeam.logo,
|
|
2640
2649
|
class: "is-team-logo"
|
|
2641
2650
|
}, null, 8, ["src"])
|
|
2642
2651
|
]),
|
|
2643
|
-
d("div",
|
|
2644
|
-
d("div",
|
|
2652
|
+
d("div", Hn, p(e.gameData.awayTeam.longName), 1),
|
|
2653
|
+
d("div", Wn, [
|
|
2645
2654
|
e.gameData.awayTeamScore != null ? (u(), L(Jt, {
|
|
2646
2655
|
key: 0,
|
|
2647
2656
|
score: e.gameData.awayTeamScore,
|
|
2648
|
-
class:
|
|
2657
|
+
class: R(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2649
2658
|
}, {
|
|
2650
2659
|
default: T(() => [
|
|
2651
|
-
|
|
2660
|
+
Q(p(e.gameData.awayTeamScore), 1)
|
|
2652
2661
|
]),
|
|
2653
2662
|
_: 1
|
|
2654
2663
|
}, 8, ["score", "class"])) : A("", !0)
|
|
2655
2664
|
]),
|
|
2656
|
-
d("div",
|
|
2665
|
+
d("div", Jn, p(i.value), 1)
|
|
2657
2666
|
]));
|
|
2658
2667
|
}
|
|
2659
|
-
},
|
|
2668
|
+
}, Qn = {
|
|
2660
2669
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2661
2670
|
viewBox: "0 0 24 24",
|
|
2662
2671
|
fill: "none",
|
|
@@ -2665,8 +2674,8 @@ const An = { class: "games-timeline" }, Ln = ["disabled"], Dn = { ref: "containe
|
|
|
2665
2674
|
"stroke-linecap": "round",
|
|
2666
2675
|
"stroke-linejoin": "round"
|
|
2667
2676
|
};
|
|
2668
|
-
function
|
|
2669
|
-
return u(), _("svg",
|
|
2677
|
+
function Zn(e, t) {
|
|
2678
|
+
return u(), _("svg", Qn, t[0] || (t[0] = [
|
|
2670
2679
|
d("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),
|
|
2671
2680
|
d("line", {
|
|
2672
2681
|
x1: "12",
|
|
@@ -2682,16 +2691,16 @@ function Xn(e, t) {
|
|
|
2682
2691
|
}, null, -1)
|
|
2683
2692
|
]));
|
|
2684
2693
|
}
|
|
2685
|
-
const
|
|
2694
|
+
const es = { render: Zn }, ts = { class: "games-timeline-error-indicator" }, rs = {
|
|
2686
2695
|
__name: "TryAgain",
|
|
2687
2696
|
emits: ["tryAgain"],
|
|
2688
2697
|
setup(e, { emit: t }) {
|
|
2689
|
-
const r = t, { t: a } =
|
|
2698
|
+
const r = t, { t: a } = ce();
|
|
2690
2699
|
function o() {
|
|
2691
2700
|
r("tryAgain");
|
|
2692
2701
|
}
|
|
2693
|
-
return (i, n) => (u(), _("div",
|
|
2694
|
-
S(s(
|
|
2702
|
+
return (i, n) => (u(), _("div", ts, [
|
|
2703
|
+
S(s(es)),
|
|
2695
2704
|
d("div", null, p(s(a)("gamesTimeline.errorText")), 1),
|
|
2696
2705
|
d("button", {
|
|
2697
2706
|
type: "button",
|
|
@@ -2699,10 +2708,10 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2699
2708
|
}, p(s(a)("gamesTimeline.errorCta")), 1)
|
|
2700
2709
|
]));
|
|
2701
2710
|
}
|
|
2702
|
-
},
|
|
2711
|
+
}, as = '.games-timeline{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}.games-timeline>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.games-timeline>div::-webkit-scrollbar{display:none}.games-timeline .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){.games-timeline .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){.games-timeline .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){.games-timeline .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){.games-timeline .is-slide{flex-basis:20%}}.games-timeline>button{position:relative;display:grid;place-content:center;height:100%}.games-timeline>button svg{display:block;height:22px;width:22px;color:var(--vbr-widget-games-timeline-arrow-color);transition:all .2s}.games-timeline>button:hover svg{color:var(--vbr-widget-games-timeline-arrow-hover-color)}.games-timeline>button:disabled{cursor:not-allowed}.games-timeline>button:disabled svg{color:var(--vbr-widget-games-timeline-arrow-disabled-color)}.games-timeline>button:before,.games-timeline>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}.games-timeline>button:first-of-type:after{right:0;border-right:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:1px 0 3px #0000001a}.games-timeline>button:last-of-type:before{left:0;border-left:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:-1px 0 3px #0000001a}.games-timeline>button:disabled:first-of-type:after,.games-timeline>button:disabled:last-of-type:before{opacity:0}.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(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;font-size:var(--vbr-widget-games-timeline-game-date-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-date-color)}.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(--vbr-widget-games-timeline-game-team-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-team-color);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(--vbr-widget-games-timeline-game-status-size);color:var(--vbr-widget-games-timeline-game-status-color);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(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--vbr-widget-games-timeline-external-link-size);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-games-timeline-external-link-color)}.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(--vbr-widget-typography-font-size-400);font-weight:500;color:var(--vbr-widget-error-notice-color)}.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%)}', os = {
|
|
2703
2712
|
key: 0,
|
|
2704
2713
|
style: { width: "100%" }
|
|
2705
|
-
},
|
|
2714
|
+
}, is = {
|
|
2706
2715
|
__name: "GamesTimeline.ce",
|
|
2707
2716
|
props: {
|
|
2708
2717
|
locale: {
|
|
@@ -2727,22 +2736,22 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2727
2736
|
}
|
|
2728
2737
|
},
|
|
2729
2738
|
setup(e) {
|
|
2730
|
-
const t = e, r = { en:
|
|
2739
|
+
const t = e, r = { en: be, hu: he }, a = Qe();
|
|
2731
2740
|
let o = [];
|
|
2732
|
-
const i =
|
|
2741
|
+
const i = B(!1), { state: n, execute: l } = Z({
|
|
2733
2742
|
options: {
|
|
2734
2743
|
path: t.servicePath,
|
|
2735
2744
|
apiKey: t.apiKey,
|
|
2736
2745
|
params: {},
|
|
2737
2746
|
immediate: !0
|
|
2738
2747
|
},
|
|
2739
|
-
transform: (w) =>
|
|
2748
|
+
transform: (w) => An(w, n.value, "id").reverse(),
|
|
2740
2749
|
onError: () => {
|
|
2741
2750
|
i.value = !0;
|
|
2742
2751
|
},
|
|
2743
2752
|
onSuccess: b
|
|
2744
|
-
}), { resume: c, pause: g } =
|
|
2745
|
-
|
|
2753
|
+
}), { resume: c, pause: g } = Ve(l, 1e3 * 60 * 5);
|
|
2754
|
+
ca(
|
|
2746
2755
|
!0,
|
|
2747
2756
|
() => {
|
|
2748
2757
|
l(), c();
|
|
@@ -2751,29 +2760,29 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2751
2760
|
g(), o.map((w) => w == null ? void 0 : w()), o = [];
|
|
2752
2761
|
}
|
|
2753
2762
|
);
|
|
2754
|
-
const m = N(() => Ge(n.value) ? 0 : n.value.findIndex((w) => !
|
|
2763
|
+
const m = N(() => Ge(n.value) ? 0 : n.value.findIndex((w) => !lr(new Date(w.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), v = N(
|
|
2755
2764
|
() => n.value.map((w) => ({
|
|
2756
2765
|
...w,
|
|
2757
|
-
gameDateTime: `${
|
|
2766
|
+
gameDateTime: `${X(w.gameDate, "L LT", a, t.locale)} (${Xe(
|
|
2758
2767
|
w.gameDate,
|
|
2759
2768
|
a,
|
|
2760
2769
|
t.locale
|
|
2761
2770
|
)})`
|
|
2762
2771
|
}))
|
|
2763
|
-
), { execute: x } =
|
|
2772
|
+
), { execute: x } = En({ apiKey: t.apiKey });
|
|
2764
2773
|
async function b() {
|
|
2765
2774
|
i.value = !1, o.map((k) => k == null ? void 0 : k()), o = [];
|
|
2766
2775
|
const w = n.value.filter((k) => k.gameStatus === 1);
|
|
2767
2776
|
for (let k = 0; k < w.length; k++) {
|
|
2768
2777
|
const f = w[k].id;
|
|
2769
2778
|
x(0, { gameId: f }).then((I) => z(I));
|
|
2770
|
-
const { pause: y } =
|
|
2779
|
+
const { pause: y } = Ve(() => x(0, { gameId: f }).then((I) => z(I)), 6e4);
|
|
2771
2780
|
o.push(y);
|
|
2772
2781
|
}
|
|
2773
2782
|
}
|
|
2774
2783
|
function z(w = {}) {
|
|
2775
2784
|
const { gameId: k, gameStatus: f, homeTeamScore: y, awayTeamScore: I, period: D, periodTime: $ } = w, j = n.value.find((P) => P.id === k);
|
|
2776
|
-
j.gameStatus = f, j.homeTeamScore = y, j.awayTeamScore = I, j.period = D, j.periodTime = $,
|
|
2785
|
+
j.gameStatus = f, j.homeTeamScore = y, j.awayTeamScore = I, j.period = D, j.periodTime = $, jr(n);
|
|
2777
2786
|
}
|
|
2778
2787
|
function h({ url: w, target: k }) {
|
|
2779
2788
|
window.open(w, k);
|
|
@@ -2781,19 +2790,19 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2781
2790
|
function C() {
|
|
2782
2791
|
i.value = !1, l();
|
|
2783
2792
|
}
|
|
2784
|
-
return (w, k) => (u(), L(s(
|
|
2793
|
+
return (w, k) => (u(), L(s(ve), {
|
|
2785
2794
|
locale: e.locale,
|
|
2786
2795
|
messages: r
|
|
2787
2796
|
}, {
|
|
2788
2797
|
default: T(({ t: f }) => [
|
|
2789
|
-
S(
|
|
2798
|
+
S(On, { "initial-index": m.value }, {
|
|
2790
2799
|
default: T(() => [
|
|
2791
|
-
s(Ge)(s(n)) && !i.value ? (u(), _("div",
|
|
2800
|
+
s(Ge)(s(n)) && !i.value ? (u(), _("div", os, [
|
|
2792
2801
|
S(s(Je))
|
|
2793
|
-
])) : i.value && s(Ge)(s(n)) ? (u(), L(
|
|
2802
|
+
])) : i.value && s(Ge)(s(n)) ? (u(), L(rs, {
|
|
2794
2803
|
key: 1,
|
|
2795
2804
|
onTryAgain: C
|
|
2796
|
-
})) : (u(), _(
|
|
2805
|
+
})) : (u(), _(O, { key: 2 }, [
|
|
2797
2806
|
S(gt, null, {
|
|
2798
2807
|
default: T(() => [
|
|
2799
2808
|
S(Wt, {
|
|
@@ -2804,7 +2813,7 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2804
2813
|
]),
|
|
2805
2814
|
_: 2
|
|
2806
2815
|
}, 1024),
|
|
2807
|
-
(u(!0), _(
|
|
2816
|
+
(u(!0), _(O, null, V(v.value, (y, I, D, $) => {
|
|
2808
2817
|
const j = [
|
|
2809
2818
|
y.gameDateTime,
|
|
2810
2819
|
y.gameStatus,
|
|
@@ -2813,12 +2822,12 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2813
2822
|
y.period,
|
|
2814
2823
|
y.actualTime
|
|
2815
2824
|
];
|
|
2816
|
-
if ($ && $.key === y.id &&
|
|
2825
|
+
if ($ && $.key === y.id && Or($, j)) return $;
|
|
2817
2826
|
const P = (u(), L(gt, {
|
|
2818
2827
|
key: y.id
|
|
2819
2828
|
}, {
|
|
2820
2829
|
default: T(() => [
|
|
2821
|
-
S(
|
|
2830
|
+
S(Xn, {
|
|
2822
2831
|
"game-data": y,
|
|
2823
2832
|
"external-game-resolver": e.externalGameResolver,
|
|
2824
2833
|
onNavigateTo: h
|
|
@@ -2846,17 +2855,17 @@ const Qn = { render: Xn }, Zn = { class: "games-timeline-error-indicator" }, es
|
|
|
2846
2855
|
_: 1
|
|
2847
2856
|
}, 8, ["locale"]));
|
|
2848
2857
|
}
|
|
2849
|
-
},
|
|
2850
|
-
function
|
|
2851
|
-
t.seasonsList = e, t.seasonId = Me(W,
|
|
2858
|
+
}, ns = /* @__PURE__ */ ye(is, [["styles", [fe, as]]]);
|
|
2859
|
+
function ss(e, t) {
|
|
2860
|
+
t.seasonsList = e, t.seasonId = Me(W, le("id"))(e);
|
|
2852
2861
|
}
|
|
2853
|
-
function
|
|
2854
|
-
t.championshipList = e, t.championshipId = Me(W,
|
|
2862
|
+
function ls(e, t) {
|
|
2863
|
+
t.championshipList = e, t.championshipId = Me(W, le("championshipId"))(e);
|
|
2855
2864
|
}
|
|
2856
|
-
function
|
|
2857
|
-
t.sections = e, t.sectionId = Me(W,
|
|
2865
|
+
function cs(e, t) {
|
|
2866
|
+
t.sections = e, t.sectionId = Me(W, le("sectionId"))(e);
|
|
2858
2867
|
}
|
|
2859
|
-
const
|
|
2868
|
+
const ds = {
|
|
2860
2869
|
__name: "DataProvider",
|
|
2861
2870
|
props: {
|
|
2862
2871
|
apiKey: {
|
|
@@ -2869,39 +2878,39 @@ const ls = {
|
|
|
2869
2878
|
}
|
|
2870
2879
|
},
|
|
2871
2880
|
setup(e) {
|
|
2872
|
-
const t = e, r =
|
|
2881
|
+
const t = e, r = ge({
|
|
2873
2882
|
seasonsList: [],
|
|
2874
2883
|
seasonId: null,
|
|
2875
2884
|
championshipList: [],
|
|
2876
2885
|
championshipId: null,
|
|
2877
2886
|
sections: [],
|
|
2878
2887
|
sectionId: null
|
|
2879
|
-
}), { onError: a } = Pe(), { isLoading: o, execute: i } =
|
|
2888
|
+
}), { onError: a } = Pe(), { isLoading: o, execute: i } = Z({
|
|
2880
2889
|
options: {
|
|
2881
2890
|
path: "/v2/all-season-list",
|
|
2882
2891
|
apiKey: t.apiKey,
|
|
2883
2892
|
params: {}
|
|
2884
2893
|
},
|
|
2885
|
-
transform: (h) =>
|
|
2894
|
+
transform: (h) => ss(h, r),
|
|
2886
2895
|
onError: a
|
|
2887
|
-
}), { isLoading: n, execute: l } =
|
|
2896
|
+
}), { isLoading: n, execute: l } = Z({
|
|
2888
2897
|
options: {
|
|
2889
2898
|
path: "/v2/championship-list",
|
|
2890
2899
|
apiKey: t.apiKey,
|
|
2891
2900
|
params: N(() => ({ seasonId: r.seasonId }))
|
|
2892
2901
|
},
|
|
2893
|
-
transform: (h) =>
|
|
2902
|
+
transform: (h) => ls(h, r),
|
|
2894
2903
|
onError: a
|
|
2895
2904
|
}), {
|
|
2896
2905
|
isLoading: c,
|
|
2897
2906
|
execute: g
|
|
2898
|
-
} =
|
|
2907
|
+
} = Z({
|
|
2899
2908
|
options: {
|
|
2900
2909
|
path: "/v2/championship-sections",
|
|
2901
2910
|
apiKey: t.apiKey,
|
|
2902
2911
|
params: N(() => ({ championshipId: r.championshipId }))
|
|
2903
2912
|
},
|
|
2904
|
-
transform: (h) =>
|
|
2913
|
+
transform: (h) => cs(h, r),
|
|
2905
2914
|
onError: a
|
|
2906
2915
|
}), m = N(() => {
|
|
2907
2916
|
var h, C;
|
|
@@ -2918,7 +2927,7 @@ const ls = {
|
|
|
2918
2927
|
function z(h) {
|
|
2919
2928
|
r.sectionId = h;
|
|
2920
2929
|
}
|
|
2921
|
-
return (h, C) =>
|
|
2930
|
+
return (h, C) => we(h.$slots, "default", Ee(Ae({
|
|
2922
2931
|
...r,
|
|
2923
2932
|
isLoading: v.value,
|
|
2924
2933
|
phaseData: m.value,
|
|
@@ -2927,13 +2936,13 @@ const ls = {
|
|
|
2927
2936
|
onChangeChampionship: b
|
|
2928
2937
|
})));
|
|
2929
2938
|
}
|
|
2930
|
-
},
|
|
2939
|
+
}, gs = { class: "is-mb-5" }, us = {
|
|
2931
2940
|
for: "season",
|
|
2932
2941
|
class: "label"
|
|
2933
|
-
},
|
|
2942
|
+
}, ms = ["value"], ps = {
|
|
2934
2943
|
for: "season",
|
|
2935
2944
|
class: "label"
|
|
2936
|
-
},
|
|
2945
|
+
}, vs = ["value"], bs = {
|
|
2937
2946
|
__name: "Selector",
|
|
2938
2947
|
props: {
|
|
2939
2948
|
seasonsList: {
|
|
@@ -2955,46 +2964,46 @@ const ls = {
|
|
|
2955
2964
|
},
|
|
2956
2965
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2957
2966
|
setup(e, { emit: t }) {
|
|
2958
|
-
const r = e, a = t, { t: o } =
|
|
2959
|
-
return (l, c) => (u(), _(
|
|
2960
|
-
d("div",
|
|
2961
|
-
d("label",
|
|
2967
|
+
const r = e, a = t, { t: o } = ce(), { seasonId: i, championshipId: n } = _t(r, a);
|
|
2968
|
+
return (l, c) => (u(), _(O, null, [
|
|
2969
|
+
d("div", gs, [
|
|
2970
|
+
d("label", us, p(s(o)("selection.seasons")), 1),
|
|
2962
2971
|
S(s(ke), {
|
|
2963
2972
|
id: "season",
|
|
2964
2973
|
modelValue: s(i),
|
|
2965
|
-
"onUpdate:modelValue": c[0] || (c[0] = (g) =>
|
|
2974
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => me(i) ? i.value = g : null)
|
|
2966
2975
|
}, {
|
|
2967
2976
|
default: T(() => [
|
|
2968
|
-
(u(!0), _(
|
|
2977
|
+
(u(!0), _(O, null, V(e.seasonsList, (g) => (u(), _("option", {
|
|
2969
2978
|
key: g.id,
|
|
2970
2979
|
value: g.id
|
|
2971
|
-
}, p(g.seasonName), 9,
|
|
2980
|
+
}, p(g.seasonName), 9, ms))), 128))
|
|
2972
2981
|
]),
|
|
2973
2982
|
_: 1
|
|
2974
2983
|
}, 8, ["modelValue"])
|
|
2975
2984
|
]),
|
|
2976
2985
|
d("div", null, [
|
|
2977
|
-
d("label",
|
|
2986
|
+
d("label", ps, p(s(o)("selection.championships")), 1),
|
|
2978
2987
|
S(s(ke), {
|
|
2979
2988
|
id: "season",
|
|
2980
2989
|
modelValue: s(n),
|
|
2981
|
-
"onUpdate:modelValue": c[1] || (c[1] = (g) =>
|
|
2990
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => me(n) ? n.value = g : null)
|
|
2982
2991
|
}, {
|
|
2983
2992
|
default: T(() => [
|
|
2984
|
-
(u(!0), _(
|
|
2993
|
+
(u(!0), _(O, null, V(e.championshipList, (g) => (u(), _("option", {
|
|
2985
2994
|
key: g.championshipId,
|
|
2986
2995
|
value: g.championshipId
|
|
2987
|
-
}, p(g.championshipName), 9,
|
|
2996
|
+
}, p(g.championshipName), 9, vs))), 128))
|
|
2988
2997
|
]),
|
|
2989
2998
|
_: 1
|
|
2990
2999
|
}, 8, ["modelValue"])
|
|
2991
3000
|
])
|
|
2992
3001
|
], 64));
|
|
2993
3002
|
}
|
|
2994
|
-
},
|
|
3003
|
+
}, hs = ".main-layout[data-v-10915a30]{display:flex;flex-wrap:wrap;gap:20px}.main-layout>div[data-v-10915a30]:nth-child(2){flex:1}pre[data-v-10915a30]{padding:10px;white-space:pre-wrap;overflow-x:auto;background-color:var(--vbr-widget-primary-color-50);border-radius:5px}", fs = { class: "main-layout" }, ys = { class: "is-mb-5" }, ws = { for: "seasonId" }, xs = ["textContent"], _s = { class: "is-mb-5" }, ks = { for: "championshipName" }, zs = ["textContent"], Ss = { class: "is-mb-5" }, $s = { for: "championshipId" }, Is = ["textContent"], Cs = { class: "is-mb-5" }, Ns = { for: "sections" }, Ts = {
|
|
2995
3004
|
id: "sections",
|
|
2996
3005
|
class: "toggle-group"
|
|
2997
|
-
},
|
|
3006
|
+
}, Es = ["onClick"], As = { class: "is-mb-5" }, Ls = { for: "phases" }, Ds = ["textContent"], Ps = {
|
|
2998
3007
|
__name: "IvrIdentifiers.ce",
|
|
2999
3008
|
props: {
|
|
3000
3009
|
locale: {
|
|
@@ -3007,8 +3016,8 @@ const ls = {
|
|
|
3007
3016
|
}
|
|
3008
3017
|
},
|
|
3009
3018
|
setup(e) {
|
|
3010
|
-
const t = e, r = { en:
|
|
3011
|
-
return (a, o) => (u(), L(s(
|
|
3019
|
+
const t = e, r = { en: be, hu: he };
|
|
3020
|
+
return (a, o) => (u(), L(s(ve), {
|
|
3012
3021
|
locale: t.locale,
|
|
3013
3022
|
messages: r
|
|
3014
3023
|
}, {
|
|
@@ -3019,7 +3028,7 @@ const ls = {
|
|
|
3019
3028
|
key: 0,
|
|
3020
3029
|
error: n
|
|
3021
3030
|
}, null, 8, ["error"])) : A("", !0),
|
|
3022
|
-
S(
|
|
3031
|
+
S(ds, null, {
|
|
3023
3032
|
default: T(({
|
|
3024
3033
|
seasonsList: c,
|
|
3025
3034
|
seasonId: g,
|
|
@@ -3034,9 +3043,9 @@ const ls = {
|
|
|
3034
3043
|
}) => {
|
|
3035
3044
|
var k;
|
|
3036
3045
|
return [
|
|
3037
|
-
d("div",
|
|
3046
|
+
d("div", fs, [
|
|
3038
3047
|
d("div", null, [
|
|
3039
|
-
S(
|
|
3048
|
+
S(bs, {
|
|
3040
3049
|
"seasons-list": c,
|
|
3041
3050
|
"season-id": g,
|
|
3042
3051
|
"championship-list": m,
|
|
@@ -3046,43 +3055,43 @@ const ls = {
|
|
|
3046
3055
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
3047
3056
|
]),
|
|
3048
3057
|
d("div", null, [
|
|
3049
|
-
d("section",
|
|
3050
|
-
d("label",
|
|
3058
|
+
d("section", ys, [
|
|
3059
|
+
d("label", ws, p(i("selection.seasonId")), 1),
|
|
3051
3060
|
d("p", {
|
|
3052
3061
|
id: "seasonId",
|
|
3053
3062
|
textContent: p(g)
|
|
3054
|
-
}, null, 8,
|
|
3063
|
+
}, null, 8, xs)
|
|
3055
3064
|
]),
|
|
3056
|
-
d("section",
|
|
3057
|
-
d("label",
|
|
3065
|
+
d("section", _s, [
|
|
3066
|
+
d("label", ks, p(i("selection.championshipName")), 1),
|
|
3058
3067
|
d("p", {
|
|
3059
3068
|
id: "championshipName",
|
|
3060
3069
|
textContent: p((k = m.find((f) => f.championshipId === v)) == null ? void 0 : k.championshipName)
|
|
3061
|
-
}, null, 8,
|
|
3070
|
+
}, null, 8, zs)
|
|
3062
3071
|
]),
|
|
3063
|
-
d("section",
|
|
3064
|
-
d("label",
|
|
3072
|
+
d("section", Ss, [
|
|
3073
|
+
d("label", $s, p(i("selection.championshipId")), 1),
|
|
3065
3074
|
d("p", {
|
|
3066
3075
|
id: "championshipId",
|
|
3067
3076
|
textContent: p(v)
|
|
3068
|
-
}, null, 8,
|
|
3077
|
+
}, null, 8, Is)
|
|
3069
3078
|
]),
|
|
3070
|
-
d("section",
|
|
3071
|
-
d("label",
|
|
3072
|
-
d("div",
|
|
3073
|
-
(u(!0), _(
|
|
3079
|
+
d("section", Cs, [
|
|
3080
|
+
d("label", Ns, p(i("selection.sections")) + ":", 1),
|
|
3081
|
+
d("div", Ts, [
|
|
3082
|
+
(u(!0), _(O, null, V(x, (f) => (u(), _("button", {
|
|
3074
3083
|
key: f.sectionId,
|
|
3075
|
-
class:
|
|
3084
|
+
class: R({ "is-active": f.sectionId === b }),
|
|
3076
3085
|
onClick: (y) => C(f.sectionId)
|
|
3077
|
-
}, p(f.sectionName), 11,
|
|
3086
|
+
}, p(f.sectionName), 11, Es))), 128))
|
|
3078
3087
|
])
|
|
3079
3088
|
]),
|
|
3080
|
-
d("section",
|
|
3081
|
-
d("label",
|
|
3089
|
+
d("section", As, [
|
|
3090
|
+
d("label", Ls, p(i("selection.phasesDivision")) + ":", 1),
|
|
3082
3091
|
d("pre", {
|
|
3083
3092
|
id: "phases",
|
|
3084
3093
|
textContent: p(z)
|
|
3085
|
-
}, null, 8,
|
|
3094
|
+
}, null, 8, Ds)
|
|
3086
3095
|
])
|
|
3087
3096
|
])
|
|
3088
3097
|
])
|
|
@@ -3097,45 +3106,49 @@ const ls = {
|
|
|
3097
3106
|
_: 1
|
|
3098
3107
|
}, 8, ["locale"]));
|
|
3099
3108
|
}
|
|
3100
|
-
},
|
|
3101
|
-
function
|
|
3102
|
-
return e.filter(
|
|
3109
|
+
}, Ms = /* @__PURE__ */ ye(Ps, [["styles", [fe, ot, je, hs]], ["__scopeId", "data-v-10915a30"]]), js = ["sportegyesület", "sportvállalkozás", "alapítvány", "sportiskola"];
|
|
3110
|
+
function Os(e) {
|
|
3111
|
+
return e.filter(Rs).map(Gs).map(Ys).sort(Bs);
|
|
3103
3112
|
}
|
|
3104
|
-
function
|
|
3105
|
-
return e
|
|
3113
|
+
function Rs({ organizationType: e, organizationCountry: t }) {
|
|
3114
|
+
return js.includes((e || "").toLowerCase()) && t === "Magyarország";
|
|
3106
3115
|
}
|
|
3107
|
-
function
|
|
3108
|
-
const t = Object.keys(e).filter((o) => o.startsWith("recruitment")), r = It(t, e), a =
|
|
3116
|
+
function Gs(e) {
|
|
3117
|
+
const t = Object.keys(e).filter((o) => o.startsWith("recruitment") && o !== "recruitmentName"), r = It(t, e), a = Us(r);
|
|
3109
3118
|
return {
|
|
3110
|
-
...
|
|
3119
|
+
...xr(t, e),
|
|
3111
3120
|
recruitment: {
|
|
3112
3121
|
...a
|
|
3113
3122
|
}
|
|
3114
3123
|
};
|
|
3115
3124
|
}
|
|
3116
|
-
function
|
|
3125
|
+
function Ys(e) {
|
|
3117
3126
|
return {
|
|
3118
3127
|
...e,
|
|
3119
3128
|
city: He(["organizationAddresses", "headquarter", "city"], e) || "",
|
|
3120
3129
|
recruitmentTeamName: He(["recruitment", "recruitmentTeamName"], e) || ""
|
|
3121
3130
|
};
|
|
3122
3131
|
}
|
|
3123
|
-
function
|
|
3124
|
-
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 =
|
|
3132
|
+
function Us(e) {
|
|
3133
|
+
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 = Ks(e.recruitmentContactUrl || ""), e;
|
|
3125
3134
|
}
|
|
3126
|
-
function
|
|
3135
|
+
function Ks(e) {
|
|
3127
3136
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
3128
3137
|
}
|
|
3129
|
-
|
|
3138
|
+
function Bs(e, t) {
|
|
3139
|
+
const r = e.organizationName.toUpperCase(), a = t.organizationName.toUpperCase();
|
|
3140
|
+
return r < a ? -1 : r > a ? 1 : 0;
|
|
3141
|
+
}
|
|
3142
|
+
const Vs = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-widget-base-input-border-radius);box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a;transition:all .28s;margin-block-end:1em}.recruitment-info-card summary{display:grid;grid-template-columns:var(--logo-width) 1fr auto;grid-template-rows:var(--logo-width);align-items:center;gap:8px;cursor:pointer;padding:1em}.recruitment-info-card summary img{display:block;width:var(--logo-width);height:auto}.recruitment-info-card summary:after{content:"";width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3C!-- Icon from Google Material Icons by Material Design Authors - https://github.com/material-icons/material-icons/blob/master/LICENSE --%3E%3Cpath fill='currentColor' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6l-6-6z'/%3E%3C/svg%3E");background-size:cover;margin-inline-start:auto;transition:1s var(--ease-spring-1)}.recruitment-info-card[open]>summary:after{transform:rotate(180deg)}.recruitment-info-card[open]{background-color:var(--vbr-widget-primary-color-50)}.recruitment-info-card ul{display:grid;grid-template-columns:max-content 1fr;gap:10px 16px;padding:0 1em 1em}.recruitment-info-card li{display:contents;color:var(--vbr-widget-primary-color-400)}.recruitment-info-card li>div{color:var(--vbr-widget-primary-color-900)}.recruitment-info-card li span{justify-self:end}.recruitment-info-filter{margin-block-end:1rem}.recruitment-info-filter input{max-width:38%}.no-result{font-weight:700;padding-block:1em;text-align:center;color:var(--vbr-widget-primary-color-300)}.recruitment-paginator-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:center;color:var(--vbr-widget-primary-color-500)}`, Fs = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", qs = { class: "recruitment-info-filter" }, Hs = {
|
|
3130
3143
|
for: "organization",
|
|
3131
3144
|
class: "label"
|
|
3132
|
-
},
|
|
3145
|
+
}, Ws = ["placeholder"], Js = {
|
|
3133
3146
|
key: 2,
|
|
3134
3147
|
class: "no-result"
|
|
3135
|
-
},
|
|
3148
|
+
}, Xs = { key: 0 }, Qs = ["innerHTML"], Zs = { class: "recruitment-paginator-container" }, el = {
|
|
3136
3149
|
key: 0,
|
|
3137
3150
|
style: { "text-align": "right" }
|
|
3138
|
-
},
|
|
3151
|
+
}, tl = {
|
|
3139
3152
|
__name: "RecruitmentInfo.ce",
|
|
3140
3153
|
props: {
|
|
3141
3154
|
locale: {
|
|
@@ -3152,44 +3165,44 @@ const Ys = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3152
3165
|
}
|
|
3153
3166
|
},
|
|
3154
3167
|
setup(e) {
|
|
3155
|
-
const t = e, r = { en:
|
|
3168
|
+
const t = e, r = { en: be, hu: he }, { onError: a, error: o, hasError: i, reset: n } = da(), {
|
|
3156
3169
|
state: l,
|
|
3157
3170
|
isLoading: c,
|
|
3158
3171
|
execute: g
|
|
3159
|
-
} =
|
|
3172
|
+
} = Z({
|
|
3160
3173
|
options: {
|
|
3161
3174
|
path: "/v2/club-info",
|
|
3162
3175
|
apiKey: t.apiKey,
|
|
3163
3176
|
params: {},
|
|
3164
3177
|
immediate: !0
|
|
3165
3178
|
},
|
|
3166
|
-
transform:
|
|
3179
|
+
transform: Os,
|
|
3167
3180
|
onError: a
|
|
3168
|
-
}), m =
|
|
3181
|
+
}), m = B(""), { page: v, change: x } = gr(), b = N(
|
|
3169
3182
|
() => De(l.value).filter(m.value, ["organizationName", "city", "recruitmentTeamName"]).pagination(v.value, t.limit).value()
|
|
3170
3183
|
), z = N(() => [(v.value - 1) * t.limit + 1, Math.min(v.value * t.limit, b.value.totalItems)]);
|
|
3171
|
-
|
|
3184
|
+
ne(m, () => {
|
|
3172
3185
|
v.value !== 1 && (v.value = 1);
|
|
3173
3186
|
});
|
|
3174
3187
|
function h() {
|
|
3175
3188
|
n(), g();
|
|
3176
3189
|
}
|
|
3177
|
-
return (C, w) => (u(), L(s(
|
|
3190
|
+
return (C, w) => (u(), L(s(ve), {
|
|
3178
3191
|
locale: e.locale,
|
|
3179
3192
|
messages: r
|
|
3180
3193
|
}, {
|
|
3181
3194
|
default: T(({ t: k }) => [
|
|
3182
|
-
d("div",
|
|
3183
|
-
d("label",
|
|
3184
|
-
|
|
3195
|
+
d("div", qs, [
|
|
3196
|
+
d("label", Hs, p(k("selection.filter")), 1),
|
|
3197
|
+
Rr(d("input", {
|
|
3185
3198
|
id: "organization",
|
|
3186
3199
|
"onUpdate:modelValue": w[0] || (w[0] = (f) => m.value = f),
|
|
3187
3200
|
placeholder: k("recruitmentInfo.filterByNameAndLocation"),
|
|
3188
3201
|
type: "text",
|
|
3189
3202
|
autocomplete: "off",
|
|
3190
3203
|
class: "base-input"
|
|
3191
|
-
}, null, 8,
|
|
3192
|
-
[
|
|
3204
|
+
}, null, 8, Ws), [
|
|
3205
|
+
[Gr, m.value]
|
|
3193
3206
|
])
|
|
3194
3207
|
]),
|
|
3195
3208
|
s(i) ? (u(), L(s($e), {
|
|
@@ -3199,50 +3212,50 @@ const Ys = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3199
3212
|
onRetry: h
|
|
3200
3213
|
}, null, 8, ["error"])) : A("", !0),
|
|
3201
3214
|
s(c) ? (u(), L(s(Je), { key: 1 })) : A("", !0),
|
|
3202
|
-
s(l).length > 0 && b.value.rows.length === 0 ? (u(), _("div",
|
|
3203
|
-
(u(!0), _(
|
|
3215
|
+
s(l).length > 0 && b.value.rows.length === 0 ? (u(), _("div", Js, p(k("recruitmentInfo.noResult")), 1)) : A("", !0),
|
|
3216
|
+
(u(!0), _(O, null, V(b.value.rows, (f) => {
|
|
3204
3217
|
var y, I;
|
|
3205
3218
|
return u(), _("details", {
|
|
3206
3219
|
key: f.organizationName,
|
|
3207
3220
|
class: "recruitment-info-card"
|
|
3208
3221
|
}, [
|
|
3209
3222
|
d("summary", null, [
|
|
3210
|
-
S(s(
|
|
3223
|
+
S(s(ue), {
|
|
3211
3224
|
src: `https://ivr-api.icehockey.hu${f.organizationLogo}`,
|
|
3212
3225
|
"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"
|
|
3213
3226
|
}, null, 8, ["src"]),
|
|
3214
3227
|
d("strong", null, [
|
|
3215
|
-
|
|
3216
|
-
(y = f.recruitment) != null && y.recruitmentTeamName ? (u(), _("span",
|
|
3228
|
+
Q(p(f.organizationName) + " ", 1),
|
|
3229
|
+
(y = f.recruitment) != null && y.recruitmentTeamName ? (u(), _("span", Xs, "(" + p((I = f.recruitment) == null ? void 0 : I.recruitmentTeamName) + ")", 1)) : A("", !0)
|
|
3217
3230
|
])
|
|
3218
3231
|
]),
|
|
3219
3232
|
d("ul", null, [
|
|
3220
|
-
(u(!0), _(
|
|
3233
|
+
(u(!0), _(O, null, V(f.recruitment, (D, $) => (u(), _("li", { key: $ }, [
|
|
3221
3234
|
d("span", null, p(k(`recruitmentInfo.${$}`)) + ":", 1),
|
|
3222
|
-
w[1] || (w[1] =
|
|
3223
|
-
d("div", { innerHTML: D }, null, 8,
|
|
3235
|
+
w[1] || (w[1] = Q()),
|
|
3236
|
+
d("div", { innerHTML: D }, null, 8, Qs)
|
|
3224
3237
|
]))), 128))
|
|
3225
3238
|
])
|
|
3226
3239
|
]);
|
|
3227
3240
|
}), 128)),
|
|
3228
|
-
d("div",
|
|
3229
|
-
S(s(
|
|
3241
|
+
d("div", Zs, [
|
|
3242
|
+
S(s(nr), {
|
|
3230
3243
|
page: s(v),
|
|
3231
3244
|
"items-per-page": t.limit,
|
|
3232
3245
|
"total-items": b.value.totalItems,
|
|
3233
3246
|
"range-length": 5,
|
|
3234
3247
|
onChange: s(x)
|
|
3235
3248
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
3236
|
-
b.value.totalItems > 0 ? (u(), _("div",
|
|
3249
|
+
b.value.totalItems > 0 ? (u(), _("div", el, p(k("table.info", { min: z.value[0], max: z.value[1], total: b.value.totalItems })), 1)) : A("", !0)
|
|
3237
3250
|
])
|
|
3238
3251
|
]),
|
|
3239
3252
|
_: 1
|
|
3240
3253
|
}, 8, ["locale"]));
|
|
3241
3254
|
}
|
|
3242
|
-
},
|
|
3255
|
+
}, rl = /* @__PURE__ */ ye(tl, [["styles", [fe, Vs, je, Fs]]]), al = { class: "g-row" }, ol = {
|
|
3243
3256
|
for: "season",
|
|
3244
3257
|
class: "label"
|
|
3245
|
-
},
|
|
3258
|
+
}, il = ["value"], nl = ["onClick"], sl = {
|
|
3246
3259
|
__name: "SeasonSelector",
|
|
3247
3260
|
props: {
|
|
3248
3261
|
seasons: {
|
|
@@ -3264,7 +3277,7 @@ const Ys = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3264
3277
|
},
|
|
3265
3278
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
3266
3279
|
setup(e, { emit: t }) {
|
|
3267
|
-
const r = e, a = t, { t: o } =
|
|
3280
|
+
const r = e, a = t, { t: o } = ce(), i = N({
|
|
3268
3281
|
get() {
|
|
3269
3282
|
return r.championshipId;
|
|
3270
3283
|
},
|
|
@@ -3275,48 +3288,48 @@ const Ys = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3275
3288
|
function n(l) {
|
|
3276
3289
|
a("onChangeSection", l);
|
|
3277
3290
|
}
|
|
3278
|
-
return (l, c) => (u(), _(
|
|
3279
|
-
d("div",
|
|
3291
|
+
return (l, c) => (u(), _(O, null, [
|
|
3292
|
+
d("div", al, [
|
|
3280
3293
|
d("div", null, [
|
|
3281
|
-
d("label",
|
|
3294
|
+
d("label", ol, p(s(o)("selection.season")), 1),
|
|
3282
3295
|
S(s(ke), {
|
|
3283
3296
|
id: "season",
|
|
3284
3297
|
modelValue: i.value,
|
|
3285
3298
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => i.value = g)
|
|
3286
3299
|
}, {
|
|
3287
3300
|
default: T(() => [
|
|
3288
|
-
(u(!0), _(
|
|
3301
|
+
(u(!0), _(O, null, V(e.seasons, (g) => (u(), _("option", {
|
|
3289
3302
|
key: g.championshipId,
|
|
3290
3303
|
value: g.championshipId
|
|
3291
|
-
}, p(g.seasonName), 9,
|
|
3304
|
+
}, p(g.seasonName), 9, il))), 128))
|
|
3292
3305
|
]),
|
|
3293
3306
|
_: 1
|
|
3294
3307
|
}, 8, ["modelValue"])
|
|
3295
3308
|
])
|
|
3296
3309
|
]),
|
|
3297
3310
|
d("div", null, [
|
|
3298
|
-
(u(!0), _(
|
|
3311
|
+
(u(!0), _(O, null, V(e.sections, (g) => (u(), _("button", {
|
|
3299
3312
|
key: g.phaseId,
|
|
3300
|
-
class:
|
|
3313
|
+
class: R(["tab-button", { "is-active": g.sectionId === e.sectionId }]),
|
|
3301
3314
|
onClick: (m) => n(g)
|
|
3302
|
-
}, p(g.sectionName), 11,
|
|
3315
|
+
}, p(g.sectionName), 11, nl))), 128))
|
|
3303
3316
|
])
|
|
3304
3317
|
], 64));
|
|
3305
3318
|
}
|
|
3306
3319
|
};
|
|
3307
|
-
function
|
|
3320
|
+
function ll(e, t) {
|
|
3308
3321
|
if (e.length === 0)
|
|
3309
|
-
throw new
|
|
3310
|
-
t.seasons =
|
|
3322
|
+
throw new cr(Ke.message, Ke.options);
|
|
3323
|
+
t.seasons = dl(e), t.championshipId || (t.championshipId = W(t.seasons).championshipId);
|
|
3311
3324
|
}
|
|
3312
|
-
function
|
|
3325
|
+
function cl(e, t) {
|
|
3313
3326
|
var r;
|
|
3314
|
-
t.sections = We(
|
|
3327
|
+
t.sections = We(le("sectionId"))(e), t.sectionId = $t(le("sectionId"), W)(t.sections), t.phaseId = ((r = He([0, "phases", 0], e)) == null ? void 0 : r.phaseId) ?? null;
|
|
3315
3328
|
}
|
|
3316
|
-
function
|
|
3317
|
-
return $t(wr(
|
|
3329
|
+
function dl(e) {
|
|
3330
|
+
return $t(_r(wr(le("seasonName"))), St(It(["championshipId", "seasonName"])))(e);
|
|
3318
3331
|
}
|
|
3319
|
-
const
|
|
3332
|
+
const gl = {
|
|
3320
3333
|
gameName: {
|
|
3321
3334
|
label: "table.gameName.short",
|
|
3322
3335
|
tooltip: "table.gameName.tooltip",
|
|
@@ -3353,13 +3366,13 @@ const sl = {
|
|
|
3353
3366
|
class: "is-text-left"
|
|
3354
3367
|
}
|
|
3355
3368
|
};
|
|
3356
|
-
function
|
|
3369
|
+
function ul(e) {
|
|
3357
3370
|
return (t) => St((r) => ({
|
|
3358
3371
|
...r,
|
|
3359
3372
|
...r.registration && { registration: `${r.registration}/cid/${e}` }
|
|
3360
3373
|
}))(t);
|
|
3361
3374
|
}
|
|
3362
|
-
const
|
|
3375
|
+
const ml = {
|
|
3363
3376
|
__name: "DataProvider",
|
|
3364
3377
|
props: {
|
|
3365
3378
|
championshipName: {
|
|
@@ -3388,39 +3401,39 @@ const cl = {
|
|
|
3388
3401
|
}
|
|
3389
3402
|
},
|
|
3390
3403
|
setup(e) {
|
|
3391
|
-
const t = e, r =
|
|
3404
|
+
const t = e, r = ge({
|
|
3392
3405
|
seasons: [],
|
|
3393
3406
|
championshipId: null,
|
|
3394
3407
|
sections: [],
|
|
3395
3408
|
sectionId: null,
|
|
3396
3409
|
phaseId: null
|
|
3397
|
-
}), { onError: a } = Pe(), { isLoading: o, execute: i } =
|
|
3410
|
+
}), { onError: a } = Pe(), { isLoading: o, execute: i } = Z({
|
|
3398
3411
|
options: {
|
|
3399
3412
|
path: "/v2/championship-seasons",
|
|
3400
3413
|
apiKey: t.apiKey,
|
|
3401
3414
|
params: { championshipName: t.championshipName }
|
|
3402
3415
|
},
|
|
3403
|
-
transform: (h) =>
|
|
3416
|
+
transform: (h) => ll(h, r),
|
|
3404
3417
|
onError: a
|
|
3405
|
-
}), { isLoading: n, execute: l } =
|
|
3418
|
+
}), { isLoading: n, execute: l } = Z({
|
|
3406
3419
|
options: {
|
|
3407
3420
|
path: "/v2/championship-sections",
|
|
3408
3421
|
apiKey: t.apiKey,
|
|
3409
3422
|
params: N(() => ({ championshipId: r.championshipId }))
|
|
3410
3423
|
},
|
|
3411
|
-
transform: (h) =>
|
|
3424
|
+
transform: (h) => cl(h, r),
|
|
3412
3425
|
onError: a
|
|
3413
3426
|
}), {
|
|
3414
3427
|
isLoading: c,
|
|
3415
3428
|
state: g,
|
|
3416
3429
|
execute: m
|
|
3417
|
-
} =
|
|
3430
|
+
} = Z({
|
|
3418
3431
|
options: {
|
|
3419
3432
|
path: "/v2/games-list",
|
|
3420
3433
|
apiKey: t.apiKey,
|
|
3421
3434
|
params: N(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3422
3435
|
},
|
|
3423
|
-
transform: (h) => Me(
|
|
3436
|
+
transform: (h) => Me(dr, ul(r.championshipId))(h),
|
|
3424
3437
|
onError: a
|
|
3425
3438
|
}), v = N(() => De(g.value).schedule(t.timezone, t.locale).value());
|
|
3426
3439
|
Se([i, l, m]);
|
|
@@ -3431,14 +3444,14 @@ const cl = {
|
|
|
3431
3444
|
function z(h) {
|
|
3432
3445
|
r.sectionId = h.sectionId, r.phaseId = He(["phases", 0, "phaseId"], h), m();
|
|
3433
3446
|
}
|
|
3434
|
-
return (h, C) =>
|
|
3447
|
+
return (h, C) => we(h.$slots, "default", Ee(Ae({
|
|
3435
3448
|
rows: v.value,
|
|
3436
3449
|
isLoading: x.value,
|
|
3437
|
-
values: s(
|
|
3450
|
+
values: s(xr)(["phaseId"], r),
|
|
3438
3451
|
listeners: { onChangeSection: z, onChangeSeason: b }
|
|
3439
3452
|
})));
|
|
3440
3453
|
}
|
|
3441
|
-
},
|
|
3454
|
+
}, pl = ["href"], vl = ["href"], bl = {
|
|
3442
3455
|
__name: "ScheduleCupDataTable",
|
|
3443
3456
|
props: {
|
|
3444
3457
|
columns: {
|
|
@@ -3459,20 +3472,20 @@ const cl = {
|
|
|
3459
3472
|
}
|
|
3460
3473
|
},
|
|
3461
3474
|
setup(e) {
|
|
3462
|
-
const t = e, r =
|
|
3475
|
+
const t = e, r = B(null), { columns: a } = ga(
|
|
3463
3476
|
t.columns,
|
|
3464
3477
|
null,
|
|
3465
3478
|
N(() => ({
|
|
3466
3479
|
offsetName: t.offsetName
|
|
3467
3480
|
}))
|
|
3468
|
-
), { t: o } =
|
|
3481
|
+
), { t: o } = ce();
|
|
3469
3482
|
return (i, n) => (u(), _("div", {
|
|
3470
3483
|
ref_key: "tooltipContainer",
|
|
3471
3484
|
ref: r
|
|
3472
3485
|
}, [
|
|
3473
|
-
S(s(
|
|
3486
|
+
S(s(sr), null, {
|
|
3474
3487
|
default: T(() => [
|
|
3475
|
-
S(s(
|
|
3488
|
+
S(s(Hr), {
|
|
3476
3489
|
columns: s(a),
|
|
3477
3490
|
rows: e.rows,
|
|
3478
3491
|
"is-loading": e.isLoading,
|
|
@@ -3481,13 +3494,13 @@ const cl = {
|
|
|
3481
3494
|
"cell-homeTeamName": T(({ row: l }) => {
|
|
3482
3495
|
var c;
|
|
3483
3496
|
return [
|
|
3484
|
-
|
|
3497
|
+
Q(p(((c = l.homeTeam) == null ? void 0 : c.longName) ?? ""), 1)
|
|
3485
3498
|
];
|
|
3486
3499
|
}),
|
|
3487
3500
|
"cell-location": T(({ row: l }) => {
|
|
3488
3501
|
var c;
|
|
3489
3502
|
return [
|
|
3490
|
-
|
|
3503
|
+
Q(p(((c = l.location) == null ? void 0 : c.locationName) ?? ""), 1)
|
|
3491
3504
|
];
|
|
3492
3505
|
}),
|
|
3493
3506
|
"cell-document": T(({ row: l }) => [
|
|
@@ -3495,11 +3508,11 @@ const cl = {
|
|
|
3495
3508
|
key: 0,
|
|
3496
3509
|
href: l.schedule,
|
|
3497
3510
|
target: "_blank"
|
|
3498
|
-
}, p(s(o)("schedule")), 9,
|
|
3511
|
+
}, p(s(o)("schedule")), 9, pl)) : l.registration ? (u(), _("a", {
|
|
3499
3512
|
key: 1,
|
|
3500
3513
|
href: l.registration,
|
|
3501
3514
|
target: "_blank"
|
|
3502
|
-
}, p(s(o)("registration")), 9,
|
|
3515
|
+
}, p(s(o)("registration")), 9, vl)) : A("", !0)
|
|
3503
3516
|
]),
|
|
3504
3517
|
_: 1
|
|
3505
3518
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3508,7 +3521,7 @@ const cl = {
|
|
|
3508
3521
|
})
|
|
3509
3522
|
], 512));
|
|
3510
3523
|
}
|
|
3511
|
-
},
|
|
3524
|
+
}, hl = {
|
|
3512
3525
|
__name: "ScheduleCup.ce",
|
|
3513
3526
|
props: {
|
|
3514
3527
|
locale: {
|
|
@@ -3529,8 +3542,8 @@ const cl = {
|
|
|
3529
3542
|
// },
|
|
3530
3543
|
},
|
|
3531
3544
|
setup(e) {
|
|
3532
|
-
const t = e, r = { en:
|
|
3533
|
-
return (i, n) => (u(), L(s(
|
|
3545
|
+
const t = e, r = { en: be, hu: he }, a = B(Qe()), o = N(() => Xe(/* @__PURE__ */ new Date(), a.value, t.locale));
|
|
3546
|
+
return (i, n) => (u(), L(s(ve), {
|
|
3534
3547
|
locale: t.locale,
|
|
3535
3548
|
messages: r
|
|
3536
3549
|
}, {
|
|
@@ -3541,15 +3554,15 @@ const cl = {
|
|
|
3541
3554
|
key: 0,
|
|
3542
3555
|
error: l
|
|
3543
3556
|
}, null, 8, ["error"])) : A("", !0),
|
|
3544
|
-
S(
|
|
3557
|
+
S(ml, {
|
|
3545
3558
|
"championship-name": e.championshipName,
|
|
3546
3559
|
locale: e.locale,
|
|
3547
3560
|
timezone: a.value
|
|
3548
3561
|
}, {
|
|
3549
3562
|
default: T(({ rows: g, isLoading: m, values: v, listeners: x }) => [
|
|
3550
|
-
S(
|
|
3551
|
-
S(
|
|
3552
|
-
columns: s(
|
|
3563
|
+
S(sl, tr(v, Yr(x)), null, 16),
|
|
3564
|
+
S(bl, {
|
|
3565
|
+
columns: s(gl),
|
|
3553
3566
|
rows: g.rows,
|
|
3554
3567
|
"is-loading": m,
|
|
3555
3568
|
"offset-name": o.value
|
|
@@ -3564,19 +3577,19 @@ const cl = {
|
|
|
3564
3577
|
_: 1
|
|
3565
3578
|
}, 8, ["locale"]));
|
|
3566
3579
|
}
|
|
3567
|
-
},
|
|
3580
|
+
}, fl = /* @__PURE__ */ ye(hl, [["styles", [fe, ot, je, kr, zr, Sr, $r]]]), yl = {
|
|
3568
3581
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3569
3582
|
viewBox: "0 0 24 24"
|
|
3570
3583
|
};
|
|
3571
|
-
function
|
|
3572
|
-
return u(), _("svg",
|
|
3584
|
+
function wl(e, t) {
|
|
3585
|
+
return u(), _("svg", yl, t[0] || (t[0] = [
|
|
3573
3586
|
d("path", {
|
|
3574
3587
|
fill: "currentColor",
|
|
3575
3588
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3576
3589
|
}, null, -1)
|
|
3577
3590
|
]));
|
|
3578
3591
|
}
|
|
3579
|
-
const
|
|
3592
|
+
const xl = { render: wl }, _l = ["onClick", "onFocus", "onBlur"], kl = { class: "is-dropdown-menu" }, zl = ["onClick"], Sl = /* @__PURE__ */ Object.assign({
|
|
3580
3593
|
inheritAttrs: !1
|
|
3581
3594
|
}, {
|
|
3582
3595
|
__name: "ChampionshipSelector",
|
|
@@ -3597,7 +3610,7 @@ const hl = { render: bl }, fl = ["onClick", "onFocus", "onBlur"], yl = { class:
|
|
|
3597
3610
|
emits: ["change"],
|
|
3598
3611
|
setup(e, { emit: t }) {
|
|
3599
3612
|
const r = t;
|
|
3600
|
-
return (a, o) => (u(), L(s(
|
|
3613
|
+
return (a, o) => (u(), L(s(Wr), {
|
|
3601
3614
|
offset: 2,
|
|
3602
3615
|
placement: "bottom-end",
|
|
3603
3616
|
theme: "content",
|
|
@@ -3608,30 +3621,30 @@ const hl = { render: bl }, fl = ["onClick", "onFocus", "onBlur"], yl = { class:
|
|
|
3608
3621
|
d("button", {
|
|
3609
3622
|
ref: i,
|
|
3610
3623
|
type: "button",
|
|
3611
|
-
onClick:
|
|
3624
|
+
onClick: Ur(n, ["stop"]),
|
|
3612
3625
|
onFocus: n,
|
|
3613
3626
|
onBlur: l
|
|
3614
3627
|
}, [
|
|
3615
|
-
S(s(
|
|
3616
|
-
], 40,
|
|
3628
|
+
S(s(xl), { style: { display: "block", height: "20px" } })
|
|
3629
|
+
], 40, _l)
|
|
3617
3630
|
]),
|
|
3618
3631
|
content: T(() => [
|
|
3619
|
-
d("ul",
|
|
3620
|
-
(u(!0), _(
|
|
3632
|
+
d("ul", kl, [
|
|
3633
|
+
(u(!0), _(O, null, V(e.data, (i) => (u(), _("li", {
|
|
3621
3634
|
key: i.championshipId,
|
|
3622
|
-
class:
|
|
3635
|
+
class: R(["is-dropdown-item", { "is-selected": e.selected === i.phaseId }]),
|
|
3623
3636
|
onClick: (n) => r("change", i)
|
|
3624
|
-
}, p(i.name) + " - " + p(i.phase), 11,
|
|
3637
|
+
}, p(i.name) + " - " + p(i.phase), 11, zl))), 128))
|
|
3625
3638
|
])
|
|
3626
3639
|
]),
|
|
3627
3640
|
_: 1
|
|
3628
3641
|
}, 8, ["append-to"]));
|
|
3629
3642
|
}
|
|
3630
3643
|
});
|
|
3631
|
-
function
|
|
3644
|
+
function $l(e) {
|
|
3632
3645
|
return e.map((t) => ({ ...t, w: Bt([t.w, t.otw, t.sow]), l: Bt([t.l, t.otl, t.sol]) }));
|
|
3633
3646
|
}
|
|
3634
|
-
const
|
|
3647
|
+
const Il = {
|
|
3635
3648
|
__name: "DataProvider",
|
|
3636
3649
|
props: {
|
|
3637
3650
|
apiKey: {
|
|
@@ -3645,14 +3658,14 @@ const kl = {
|
|
|
3645
3658
|
},
|
|
3646
3659
|
setup(e) {
|
|
3647
3660
|
var v, x, b;
|
|
3648
|
-
const t = e, { onError: r, reset: a } = Pe(), o =
|
|
3661
|
+
const t = e, { onError: r, reset: a } = Pe(), o = ge({
|
|
3649
3662
|
championshipId: W(t.data).championshipId,
|
|
3650
3663
|
phaseId: W(t.data).phaseId,
|
|
3651
3664
|
path: ((v = W(t.data)) == null ? void 0 : v.path) ?? "",
|
|
3652
3665
|
championshipName: W(t.data).name,
|
|
3653
3666
|
phaseName: ((x = W(t.data)) == null ? void 0 : x.phase) ?? null,
|
|
3654
3667
|
isPlayoffs: ((b = W(t.data)) == null ? void 0 : b.isPlayoffs) ?? !1
|
|
3655
|
-
}), { state: i, isLoading: n, execute: l } =
|
|
3668
|
+
}), { state: i, isLoading: n, execute: l } = Z({
|
|
3656
3669
|
options: {
|
|
3657
3670
|
path: N(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3658
3671
|
apiKey: t.apiKey,
|
|
@@ -3660,7 +3673,7 @@ const kl = {
|
|
|
3660
3673
|
resetOnExecute: !0,
|
|
3661
3674
|
immediate: !0
|
|
3662
3675
|
},
|
|
3663
|
-
transform: (z) =>
|
|
3676
|
+
transform: (z) => $l(z),
|
|
3664
3677
|
onError: r
|
|
3665
3678
|
}), c = N(() => De(i.value).addContinuousIndex().value()), g = N(() => ({
|
|
3666
3679
|
tag: o.path ? "a" : "p",
|
|
@@ -3671,9 +3684,9 @@ const kl = {
|
|
|
3671
3684
|
function m({ championshipId: z, phaseId: h, name: C, path: w, phase: k, isPlayoffs: f }) {
|
|
3672
3685
|
o.championshipId = z, o.path = w || "", o.phaseId = h, o.championshipName = C, o.phaseName = k, o.isPlayoffs = f || !1, a(), l();
|
|
3673
3686
|
}
|
|
3674
|
-
return (z, h) =>
|
|
3687
|
+
return (z, h) => we(z.$slots, "default", Ee(Ae({ convertedRows: c.value, isLoading: s(n), ...o, componentProps: g.value, onChange: m })));
|
|
3675
3688
|
}
|
|
3676
|
-
},
|
|
3689
|
+
}, Cl = { class: "section-title" }, Nl = { class: "is-team" }, Tl = { class: "is-team-name-short" }, El = { class: "is-team-name-long" }, Al = { class: "is-badge is-extra-large is-dark" }, Ll = { class: "is-team" }, Dl = { class: "is-team-name-short" }, Pl = { class: "is-team-name-long" }, Ml = {
|
|
3677
3690
|
__name: "PlayoffsList",
|
|
3678
3691
|
props: {
|
|
3679
3692
|
playoffs: {
|
|
@@ -3686,36 +3699,36 @@ const kl = {
|
|
|
3686
3699
|
}
|
|
3687
3700
|
},
|
|
3688
3701
|
setup(e) {
|
|
3689
|
-
const { t } =
|
|
3690
|
-
return (r, a) => (u(), L(s(
|
|
3702
|
+
const { t } = ce();
|
|
3703
|
+
return (r, a) => (u(), L(s(sr), { class: "playoffs-minimal" }, {
|
|
3691
3704
|
default: T(() => [
|
|
3692
3705
|
e.isLoading ? (u(), L(s(Je), { key: 0 })) : A("", !0),
|
|
3693
|
-
(u(!0), _(
|
|
3706
|
+
(u(!0), _(O, null, V(e.playoffs, (o) => (u(), _("div", {
|
|
3694
3707
|
key: `${o.divisionStage2Name}-${o.divisionStageNumber}`,
|
|
3695
3708
|
class: "section"
|
|
3696
3709
|
}, [
|
|
3697
|
-
d("div",
|
|
3710
|
+
d("div", Cl, p(s(t)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
|
|
3698
3711
|
d("ul", null, [
|
|
3699
|
-
d("li",
|
|
3700
|
-
d("span",
|
|
3701
|
-
d("span",
|
|
3712
|
+
d("li", Nl, [
|
|
3713
|
+
d("span", Tl, p(o.homeTeam.shortName), 1),
|
|
3714
|
+
d("span", El, p(o.homeTeam.longName), 1)
|
|
3702
3715
|
]),
|
|
3703
3716
|
d("li", null, [
|
|
3704
|
-
S(s(
|
|
3717
|
+
S(s(ue), {
|
|
3705
3718
|
src: o.homeTeam.logo
|
|
3706
3719
|
}, null, 8, ["src"])
|
|
3707
3720
|
]),
|
|
3708
3721
|
d("li", null, [
|
|
3709
|
-
d("span",
|
|
3722
|
+
d("span", Al, p(o.seriesStandings), 1)
|
|
3710
3723
|
]),
|
|
3711
3724
|
d("li", null, [
|
|
3712
|
-
S(s(
|
|
3725
|
+
S(s(ue), {
|
|
3713
3726
|
src: o.awayTeam.logo
|
|
3714
3727
|
}, null, 8, ["src"])
|
|
3715
3728
|
]),
|
|
3716
|
-
d("li",
|
|
3717
|
-
d("span",
|
|
3718
|
-
d("span",
|
|
3729
|
+
d("li", Ll, [
|
|
3730
|
+
d("span", Dl, p(o.awayTeam.shortName), 1),
|
|
3731
|
+
d("span", Pl, p(o.awayTeam.longName), 1)
|
|
3719
3732
|
])
|
|
3720
3733
|
])
|
|
3721
3734
|
]))), 128))
|
|
@@ -3723,7 +3736,7 @@ const kl = {
|
|
|
3723
3736
|
_: 1
|
|
3724
3737
|
}));
|
|
3725
3738
|
}
|
|
3726
|
-
}, Ll = ".standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--vbr-widget-standings-selector-title-padding);text-transform:var(--vbr-widget-standings-selector-title-transform);font-size:var(--vbr-widget-standings-selector-title-size);color:var(--vbr-widget-standings-selector-title-color);background:var(--vbr-widget-standings-selector-title-bg-color)}.standings-selector .is-title-text svg{height:16px;vertical-align:middle}", Dl = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Pl = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Ml = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", jl = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Ol = ".playoffs .table-grid{display:grid;grid-template-columns:70px 160px 60px minmax(160px,1fr) minmax(40px,60px) 30px minmax(160px,1fr) minmax(180px,1.2fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid:hover>div{background-color:var(--vbr-widget-table-hover-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-playoffs-header-size);font-weight:700;color:var(--vbr-widget-playoffs-header-color);background-color:var(--vbr-widget-playoffs-header-bg)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-playoffs-details-bg)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", Rl = { class: "standings-selector" }, Gl = { class: "standings-selector-title" }, Yl = {
|
|
3739
|
+
}, jl = ".standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--vbr-widget-standings-selector-title-padding);text-transform:var(--vbr-widget-standings-selector-title-transform);font-size:var(--vbr-widget-standings-selector-title-size);color:var(--vbr-widget-standings-selector-title-color);background:var(--vbr-widget-standings-selector-title-bg-color)}.standings-selector .is-title-text svg{height:16px;vertical-align:middle}", Ol = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Rl = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Gl = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Yl = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Ul = ".playoffs .table-grid{display:grid;grid-template-columns:70px 160px 60px minmax(160px,1fr) minmax(40px,60px) 30px minmax(160px,1fr) minmax(180px,1.2fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid:hover>div{background-color:var(--vbr-widget-table-hover-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-playoffs-header-size);font-weight:700;color:var(--vbr-widget-playoffs-header-color);background-color:var(--vbr-widget-playoffs-header-bg)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-playoffs-details-bg)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", Kl = { class: "standings-selector" }, Bl = { class: "standings-selector-title" }, Vl = {
|
|
3727
3740
|
__name: "StandingsSelector.ce",
|
|
3728
3741
|
props: {
|
|
3729
3742
|
locale: {
|
|
@@ -3740,27 +3753,27 @@ const kl = {
|
|
|
3740
3753
|
}
|
|
3741
3754
|
},
|
|
3742
3755
|
setup(e) {
|
|
3743
|
-
const t = e, r = { en:
|
|
3744
|
-
return (i, n) => (u(), L(s(
|
|
3756
|
+
const t = e, r = { en: be, hu: he }, a = B(null), o = N(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3757
|
+
return (i, n) => (u(), L(s(ve), {
|
|
3745
3758
|
locale: t.locale,
|
|
3746
3759
|
messages: r
|
|
3747
3760
|
}, {
|
|
3748
3761
|
default: T(() => [
|
|
3749
3762
|
S(s(Le), null, {
|
|
3750
3763
|
default: T(({ error: l, hasError: c }) => [
|
|
3751
|
-
S(
|
|
3764
|
+
S(Il, { data: o.value }, {
|
|
3752
3765
|
default: T(({ convertedRows: g, isLoading: m, path: v, phaseName: x, componentProps: b, championshipName: z, phaseId: h, isPlayoffs: C, onChange: w }) => [
|
|
3753
|
-
d("div",
|
|
3754
|
-
d("div",
|
|
3755
|
-
(u(), L(
|
|
3766
|
+
d("div", Kl, [
|
|
3767
|
+
d("div", Bl, [
|
|
3768
|
+
(u(), L(Kr(b.tag), tr(b.props, { class: "is-title-text" }), {
|
|
3756
3769
|
default: T(() => [
|
|
3757
3770
|
d("b", null, p(z), 1),
|
|
3758
|
-
|
|
3771
|
+
Q(" - " + p(x) + " ", 1),
|
|
3759
3772
|
v ? (u(), L(s(Ct), { key: 0 })) : A("", !0)
|
|
3760
3773
|
]),
|
|
3761
3774
|
_: 2
|
|
3762
3775
|
}, 1040)),
|
|
3763
|
-
o.value.length > 1 ? (u(), L(
|
|
3776
|
+
o.value.length > 1 ? (u(), L(Sl, {
|
|
3764
3777
|
key: 0,
|
|
3765
3778
|
data: o.value,
|
|
3766
3779
|
selected: h,
|
|
@@ -3768,11 +3781,11 @@ const kl = {
|
|
|
3768
3781
|
onChange: w
|
|
3769
3782
|
}, null, 8, ["data", "selected", "target", "onChange"])) : A("", !0)
|
|
3770
3783
|
]),
|
|
3771
|
-
C ? (u(), L(
|
|
3784
|
+
C ? (u(), L(Ml, {
|
|
3772
3785
|
key: 0,
|
|
3773
3786
|
playoffs: g.rows,
|
|
3774
3787
|
"is-loading": m
|
|
3775
|
-
}, null, 8, ["playoffs", "is-loading"])) : (u(), L(s(
|
|
3788
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), L(s(ir), {
|
|
3776
3789
|
key: 1,
|
|
3777
3790
|
"is-loading": m,
|
|
3778
3791
|
columns: s(Fr),
|
|
@@ -3808,30 +3821,30 @@ const kl = {
|
|
|
3808
3821
|
_: 1
|
|
3809
3822
|
}, 8, ["locale"]));
|
|
3810
3823
|
}
|
|
3811
|
-
},
|
|
3812
|
-
function
|
|
3813
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3824
|
+
}, Fl = /* @__PURE__ */ ye(Vl, [["styles", [fe, jl, Ol, Rl, Gl, Yl, Ul]]]), ql = pe($i), Hl = pe(en), Wl = pe(fl), Jl = pe(Ms), Xl = pe(ns), Ql = pe(Fl), Zl = pe(Sn), ec = pe(rl);
|
|
3825
|
+
function tc() {
|
|
3826
|
+
customElements.define("mjsz-vbr-calendar", ql), customElements.define("mjsz-vbr-championship", Hl), customElements.define("mjsz-vbr-schedule-cup", Wl), customElements.define("mjsz-vbr-ibr-identifiers", Jl), customElements.define("mjsz-vbr-games-timeline", Xl), customElements.define("mjsz-vbr-standings-selector", Ql), customElements.define("mjsz-vbr-countdown", Zl), customElements.define("mjsz-vbr-recruitment-info", ec);
|
|
3814
3827
|
}
|
|
3815
|
-
const
|
|
3816
|
-
install: () =>
|
|
3828
|
+
const cc = {
|
|
3829
|
+
install: () => tc()
|
|
3817
3830
|
};
|
|
3818
3831
|
export {
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3832
|
+
$i as Calendar,
|
|
3833
|
+
ql as CalendarCE,
|
|
3834
|
+
en as Championship,
|
|
3835
|
+
Hl as ChampionshipCE,
|
|
3836
|
+
Sn as Countdown,
|
|
3837
|
+
Zl as CountdownCE,
|
|
3838
|
+
ns as GamesTimeline,
|
|
3839
|
+
Xl as GamesTimelineCE,
|
|
3840
|
+
Ms as IVRIdentifiers,
|
|
3841
|
+
Jl as IVRIdentifiersCE,
|
|
3842
|
+
rl as RecruitmentInfo,
|
|
3843
|
+
ec as RecruitmentInfoCE,
|
|
3844
|
+
fl as ScheduleCup,
|
|
3845
|
+
Wl as ScheduleCupCE,
|
|
3846
|
+
Fl as StandingsSelector,
|
|
3847
|
+
Ql as StandingsSelectorCE,
|
|
3848
|
+
cc as default,
|
|
3849
|
+
tc as register
|
|
3837
3850
|
};
|