@mjsz-vbr-elements/extended 2.23.3 → 2.24.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 +1071 -1072
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.24.1 - 13/05/2025, 09:22:14
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { shallowRef as re, isRef as me, watch as ne, getCurrentScope as Cr, onScopeDispose as Nr, toValue as U, readonly as
|
|
9
|
-
import { currentWeekStartEnd as
|
|
10
|
-
import { Image as ue, I18NProvider as ve, ErrorProvider as Le, ErrorNotice as $e, LoadingIndicator 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 U, readonly as Jt, onMounted as bt, nextTick as Ce, toRef as Xt, customRef as Tr, ref as V, getCurrentInstance as Qt, reactive as ge, computed as N, unref as n, toRefs as Er, renderSlot as we, normalizeProps as Ee, guardReactiveProps as Ae, openBlock as u, createElementBlock as x, createElementVNode as d, normalizeClass as R, toDisplayString as p, createTextVNode as Z, Fragment as j, createVNode as $, createCommentVNode as E, createBlock as L, withCtx as T, renderList as F, Transition as Zt, 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 er, toHandlers as Ur, withModifiers as Yr, resolveDynamicComponent as Kr, defineCustomElement as pe } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as Ct, subtractDays as tr, addDays as rr, isBefore as ht, isAfter as ft, startOfMonth as ot, endOfMonth as it, rawConvert as Br, convertGamePeriodResults as Vr, gameProps as ar, 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 He, FetchMoreObserver as qr, BaseSelect as ke, StatisticsTable as or, Paginator as ir, AdditionalStandingsText as Ue, ResponsiveTable as nr, DataTable as Hr, FloatingPanel as Wr } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as Q, convert as De, isBefore as Jr, isAfter as sr, offsetName as We, getLocalTimezone as Je, externalGameLinkResolver as Xe, WidgetError as lr, InvalidSeasonName as Ye, sortGames as cr, 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 ee, useI18n as ce, useSort as na, usePage as dr, 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 gr, COLUMNS_STANDINGS_P_3 as ua, COLUMNS_FIELD_PLAYERS as Oe, COLUMNS_FIELD_PLAYERS_PENALTY as ma, COLUMNS_GOALIES as Nt, 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 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 = {
|
|
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", noGames: "No games can be displayed" }, $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
16
|
schedule: fa,
|
|
17
17
|
registration: ya,
|
|
18
18
|
selection: wa,
|
|
@@ -23,7 +23,7 @@ const fa = "Schedule", ya = "Application form", wa = { report: "Report", video:
|
|
|
23
23
|
gamesTimeline: Sa,
|
|
24
24
|
countdown: $a,
|
|
25
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 = {
|
|
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", noGames: "Nincs megjeleníthető mérkőzés" }, 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
27
|
schedule: Ca,
|
|
28
28
|
registration: Na,
|
|
29
29
|
selection: Ta,
|
|
@@ -34,30 +34,30 @@ const fa = "Schedule", ya = "Application form", wa = { report: "Report", video:
|
|
|
34
34
|
gamesTimeline: Pa,
|
|
35
35
|
countdown: Ma,
|
|
36
36
|
recruitmentInfo: ja
|
|
37
|
-
}, ze = "gamesPlayed", Ne = "todaysGames", Te = "nextGames",
|
|
37
|
+
}, ze = "gamesPlayed", Ne = "todaysGames", Te = "nextGames", Ke = "weekGames";
|
|
38
38
|
function Oa(e, t) {
|
|
39
39
|
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Br(e.games, Vr);
|
|
40
40
|
}
|
|
41
|
-
const
|
|
42
|
-
min:
|
|
43
|
-
max:
|
|
41
|
+
const W = /* @__PURE__ */ new Date(), Re = (/* @__PURE__ */ new Map()).set(Ne, () => ({ min: W, max: W, month: null, id: null })).set(Ke, () => ({
|
|
42
|
+
min: Ct().startDate,
|
|
43
|
+
max: Ct().endDate,
|
|
44
44
|
month: null,
|
|
45
45
|
id: null
|
|
46
46
|
})).set(ze, (e = null) => {
|
|
47
|
-
const { year: t, month: r } =
|
|
47
|
+
const { year: t, month: r } = Tt(e);
|
|
48
48
|
return {
|
|
49
|
-
min:
|
|
50
|
-
max:
|
|
49
|
+
min: Et(new Date(t, r, 1), !0),
|
|
50
|
+
max: At(new Date(t, r, 1), !0),
|
|
51
51
|
id: `${t}-${r}`
|
|
52
52
|
};
|
|
53
53
|
}).set(Te, (e = null) => {
|
|
54
|
-
const { year: t, month: r } =
|
|
54
|
+
const { year: t, month: r } = Tt(e);
|
|
55
55
|
return {
|
|
56
|
-
min:
|
|
57
|
-
max:
|
|
56
|
+
min: Et(new Date(t, r, 1)),
|
|
57
|
+
max: At(new Date(t, r, 1)),
|
|
58
58
|
id: `${t}-${r}`
|
|
59
59
|
};
|
|
60
|
-
}), Ra = (/* @__PURE__ */ new Map()).set(Ne, () => []).set(ze, (e, t) => Ga(
|
|
60
|
+
}), Ra = (/* @__PURE__ */ new Map()).set(Ne, () => []).set(ze, (e, t) => Ga(tr(W, 1), e, t)).set(Te, (e, t) => Ua(rr(W, 1), e, t)).set(Ke, () => []);
|
|
61
61
|
function Ga(e, t, r) {
|
|
62
62
|
return ht(e, t) ? [] : ft(e, r) ? [t, r] : [t, e];
|
|
63
63
|
}
|
|
@@ -69,13 +69,13 @@ function Ya(e, t, r, a = "hu") {
|
|
|
69
69
|
const o = [], i = e;
|
|
70
70
|
for (; i.getTime() <= t.getTime(); ) {
|
|
71
71
|
const l = i.toLocaleString(a, { month: "short" });
|
|
72
|
-
|
|
72
|
+
s(l), i.setDate(1), i.setMonth(i.getMonth() + 1);
|
|
73
73
|
}
|
|
74
74
|
if (i.getMonth() === t.getMonth()) {
|
|
75
75
|
const l = t.toLocaleString(a, { month: "short" });
|
|
76
|
-
|
|
76
|
+
s(l);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function s(l) {
|
|
79
79
|
o.findIndex((c) => c.name === l) === -1 && o.push({
|
|
80
80
|
id: `${i.getFullYear()}-${i.getMonth()}`,
|
|
81
81
|
name: l
|
|
@@ -83,37 +83,37 @@ function Ya(e, t, r, a = "hu") {
|
|
|
83
83
|
}
|
|
84
84
|
return o;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Tt(e) {
|
|
87
87
|
if (!e)
|
|
88
|
-
return { year:
|
|
88
|
+
return { year: W.getFullYear(), month: W.getMonth() };
|
|
89
89
|
const [t, r] = e.split("-");
|
|
90
90
|
return { year: t, month: r };
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Et(e, t) {
|
|
93
93
|
if (t)
|
|
94
|
-
return
|
|
95
|
-
const r =
|
|
96
|
-
return ht(
|
|
94
|
+
return ot(e);
|
|
95
|
+
const r = rr(W, 1);
|
|
96
|
+
return ht(ot(e), r) ? r : ot(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function At(e, t = !1) {
|
|
99
99
|
if (t) {
|
|
100
|
-
const r =
|
|
101
|
-
return ft(
|
|
100
|
+
const r = tr(W, 1);
|
|
101
|
+
return ft(it(e), r) ? r : it(e);
|
|
102
102
|
}
|
|
103
|
-
return
|
|
103
|
+
return it(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function dt(e) {
|
|
106
106
|
return Cr() ? (Nr(e), !0) : !1;
|
|
107
107
|
}
|
|
108
|
-
const
|
|
108
|
+
const gt = typeof window < "u" && typeof document < "u";
|
|
109
109
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
110
|
-
const Ka = (e) => typeof e < "u", Ba = Object.prototype.toString, Va = (e) => Ba.call(e) === "[object Object]",
|
|
110
|
+
const Ka = (e) => typeof e < "u", Ba = Object.prototype.toString, Va = (e) => Ba.call(e) === "[object Object]", X = () => {
|
|
111
111
|
};
|
|
112
112
|
function Fa(...e) {
|
|
113
113
|
if (e.length !== 1)
|
|
114
|
-
return
|
|
114
|
+
return Xt(...e);
|
|
115
115
|
const t = e[0];
|
|
116
|
-
return typeof t == "function" ?
|
|
116
|
+
return typeof t == "function" ? Jt(Tr(() => ({ get: t, set: X }))) : V(t);
|
|
117
117
|
}
|
|
118
118
|
function yt(e, t) {
|
|
119
119
|
function r(...a) {
|
|
@@ -123,40 +123,40 @@ function yt(e, t) {
|
|
|
123
123
|
}
|
|
124
124
|
return r;
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const ur = (e) => e();
|
|
127
127
|
function qa(e, t = {}) {
|
|
128
|
-
let r, a, o =
|
|
128
|
+
let r, a, o = X;
|
|
129
129
|
const i = (c) => {
|
|
130
|
-
clearTimeout(c), o(), o =
|
|
130
|
+
clearTimeout(c), o(), o = X;
|
|
131
131
|
};
|
|
132
|
-
let
|
|
132
|
+
let s;
|
|
133
133
|
return (c) => {
|
|
134
134
|
const g = U(e), m = U(t.maxWait);
|
|
135
|
-
return r && i(r), g <= 0 || m !== void 0 && m <= 0 ? (a && (i(a), a = null), Promise.resolve(c())) : new Promise((
|
|
136
|
-
o = t.rejectOnCancel ?
|
|
137
|
-
r && i(r), a = null,
|
|
135
|
+
return r && i(r), g <= 0 || m !== void 0 && m <= 0 ? (a && (i(a), a = null), Promise.resolve(c())) : new Promise((b, w) => {
|
|
136
|
+
o = t.rejectOnCancel ? w : b, s = c, m && !a && (a = setTimeout(() => {
|
|
137
|
+
r && i(r), a = null, b(s());
|
|
138
138
|
}, m)), r = setTimeout(() => {
|
|
139
|
-
a && i(a), a = null,
|
|
139
|
+
a && i(a), a = null, b(c());
|
|
140
140
|
}, g);
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
function Ha(...e) {
|
|
145
|
-
let t = 0, r, a = !0, o =
|
|
146
|
-
!me(e[0]) && typeof e[0] == "object" ? { delay:
|
|
145
|
+
let t = 0, r, a = !0, o = X, i, s, l, c, g;
|
|
146
|
+
!me(e[0]) && typeof e[0] == "object" ? { delay: s, trailing: l = !0, leading: c = !0, rejectOnCancel: g = !1 } = e[0] : [s, l = !0, c = !0, g = !1] = e;
|
|
147
147
|
const m = () => {
|
|
148
|
-
r && (clearTimeout(r), r = void 0, o(), o =
|
|
148
|
+
r && (clearTimeout(r), r = void 0, o(), o = X);
|
|
149
149
|
};
|
|
150
|
-
return (
|
|
151
|
-
const
|
|
152
|
-
return m(),
|
|
153
|
-
o = g ?
|
|
154
|
-
t = Date.now(), a = !0,
|
|
155
|
-
}, Math.max(0,
|
|
156
|
-
})), !c && !r && (r = setTimeout(() => a = !0,
|
|
150
|
+
return (w) => {
|
|
151
|
+
const h = U(s), z = Date.now() - t, f = () => i = w();
|
|
152
|
+
return m(), h <= 0 ? (t = Date.now(), f()) : (z > h && (c || !a) ? (t = Date.now(), f()) : l && (i = new Promise((I, k) => {
|
|
153
|
+
o = g ? k : I, r = setTimeout(() => {
|
|
154
|
+
t = Date.now(), a = !0, I(f()), m();
|
|
155
|
+
}, Math.max(0, h - z));
|
|
156
|
+
})), !c && !r && (r = setTimeout(() => a = !0, h)), a = !1, i);
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
|
-
function Wa(e =
|
|
159
|
+
function Wa(e = ur, t = {}) {
|
|
160
160
|
const {
|
|
161
161
|
initialState: r = "active"
|
|
162
162
|
} = t, a = Fa(r === "active");
|
|
@@ -166,21 +166,21 @@ function Wa(e = mr, t = {}) {
|
|
|
166
166
|
function i() {
|
|
167
167
|
a.value = !0;
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const s = (...l) => {
|
|
170
170
|
a.value && e(...l);
|
|
171
171
|
};
|
|
172
|
-
return { isActive:
|
|
172
|
+
return { isActive: Jt(a), pause: o, resume: i, eventFilter: s };
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function ut(e, t = !1, r = "Timeout") {
|
|
175
175
|
return new Promise((a, o) => {
|
|
176
176
|
setTimeout(t ? () => o(r) : a, e);
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function nt(e) {
|
|
180
180
|
return Array.isArray(e) ? e : [e];
|
|
181
181
|
}
|
|
182
182
|
function Ja(e) {
|
|
183
|
-
return
|
|
183
|
+
return Qt();
|
|
184
184
|
}
|
|
185
185
|
function Xa(e, t = 200, r = {}) {
|
|
186
186
|
return yt(
|
|
@@ -196,7 +196,7 @@ function Qa(e, t = 200, r = !1, a = !0, o = !1) {
|
|
|
196
196
|
}
|
|
197
197
|
function Za(e, t, r = {}) {
|
|
198
198
|
const {
|
|
199
|
-
eventFilter: a =
|
|
199
|
+
eventFilter: a = ur,
|
|
200
200
|
...o
|
|
201
201
|
} = r;
|
|
202
202
|
return ne(
|
|
@@ -213,85 +213,85 @@ function eo(e, t, r = {}) {
|
|
|
213
213
|
eventFilter: a,
|
|
214
214
|
initialState: o = "active",
|
|
215
215
|
...i
|
|
216
|
-
} = r, { eventFilter:
|
|
216
|
+
} = r, { eventFilter: s, pause: l, resume: c, isActive: g } = Wa(a, { initialState: o });
|
|
217
217
|
return { stop: Za(
|
|
218
218
|
e,
|
|
219
219
|
t,
|
|
220
220
|
{
|
|
221
221
|
...i,
|
|
222
|
-
eventFilter:
|
|
222
|
+
eventFilter: s
|
|
223
223
|
}
|
|
224
224
|
), pause: l, resume: c, isActive: g };
|
|
225
225
|
}
|
|
226
226
|
function to(e, t = !0, r) {
|
|
227
227
|
Ja() ? bt(e, r) : t ? e() : Ce(e);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
function r(
|
|
231
|
-
let
|
|
232
|
-
const
|
|
233
|
-
|
|
229
|
+
function mt(e, t = !1) {
|
|
230
|
+
function r(b, { flush: w = "sync", deep: h = !1, timeout: z, throwOnTimeout: f } = {}) {
|
|
231
|
+
let I = null;
|
|
232
|
+
const _ = [new Promise((v) => {
|
|
233
|
+
I = ne(
|
|
234
234
|
e,
|
|
235
235
|
(y) => {
|
|
236
|
-
|
|
236
|
+
b(y) !== t && (I ? I() : Ce(() => I == null ? void 0 : I()), v(y));
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
flush:
|
|
240
|
-
deep:
|
|
239
|
+
flush: w,
|
|
240
|
+
deep: h,
|
|
241
241
|
immediate: !0
|
|
242
242
|
}
|
|
243
243
|
);
|
|
244
244
|
})];
|
|
245
|
-
return z != null &&
|
|
246
|
-
|
|
247
|
-
), Promise.race(
|
|
248
|
-
}
|
|
249
|
-
function a(
|
|
250
|
-
if (!me(
|
|
251
|
-
return r((y) => y ===
|
|
252
|
-
const { flush:
|
|
253
|
-
let
|
|
254
|
-
const
|
|
255
|
-
|
|
256
|
-
[e,
|
|
257
|
-
([
|
|
258
|
-
t !== (
|
|
245
|
+
return z != null && _.push(
|
|
246
|
+
ut(z, f).then(() => U(e)).finally(() => I == null ? void 0 : I())
|
|
247
|
+
), Promise.race(_);
|
|
248
|
+
}
|
|
249
|
+
function a(b, w) {
|
|
250
|
+
if (!me(b))
|
|
251
|
+
return r((y) => y === b, w);
|
|
252
|
+
const { flush: h = "sync", deep: z = !1, timeout: f, throwOnTimeout: I } = w ?? {};
|
|
253
|
+
let k = null;
|
|
254
|
+
const v = [new Promise((y) => {
|
|
255
|
+
k = ne(
|
|
256
|
+
[e, b],
|
|
257
|
+
([S, D]) => {
|
|
258
|
+
t !== (S === D) && (k ? k() : Ce(() => k == null ? void 0 : k()), y(S));
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
|
-
flush:
|
|
261
|
+
flush: h,
|
|
262
262
|
deep: z,
|
|
263
263
|
immediate: !0
|
|
264
264
|
}
|
|
265
265
|
);
|
|
266
266
|
})];
|
|
267
|
-
return
|
|
268
|
-
|
|
269
|
-
), Promise.race(
|
|
267
|
+
return f != null && v.push(
|
|
268
|
+
ut(f, I).then(() => U(e)).finally(() => (k == null || k(), U(e)))
|
|
269
|
+
), Promise.race(v);
|
|
270
270
|
}
|
|
271
|
-
function o(
|
|
272
|
-
return r((
|
|
271
|
+
function o(b) {
|
|
272
|
+
return r((w) => !!w, b);
|
|
273
273
|
}
|
|
274
|
-
function i(
|
|
275
|
-
return a(null,
|
|
274
|
+
function i(b) {
|
|
275
|
+
return a(null, b);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
return a(void 0,
|
|
277
|
+
function s(b) {
|
|
278
|
+
return a(void 0, b);
|
|
279
279
|
}
|
|
280
|
-
function l(
|
|
281
|
-
return r(Number.isNaN,
|
|
280
|
+
function l(b) {
|
|
281
|
+
return r(Number.isNaN, b);
|
|
282
282
|
}
|
|
283
|
-
function c(
|
|
284
|
-
return r((
|
|
285
|
-
const z = Array.from(
|
|
286
|
-
return z.includes(
|
|
287
|
-
},
|
|
283
|
+
function c(b, w) {
|
|
284
|
+
return r((h) => {
|
|
285
|
+
const z = Array.from(h);
|
|
286
|
+
return z.includes(b) || z.includes(U(b));
|
|
287
|
+
}, w);
|
|
288
288
|
}
|
|
289
|
-
function g(
|
|
290
|
-
return m(1,
|
|
289
|
+
function g(b) {
|
|
290
|
+
return m(1, b);
|
|
291
291
|
}
|
|
292
|
-
function m(
|
|
293
|
-
let
|
|
294
|
-
return r(() => (
|
|
292
|
+
function m(b = 1, w) {
|
|
293
|
+
let h = -1;
|
|
294
|
+
return r(() => (h += 1, h >= b), w);
|
|
295
295
|
}
|
|
296
296
|
return Array.isArray(U(e)) ? {
|
|
297
297
|
toMatch: r,
|
|
@@ -299,7 +299,7 @@ function pt(e, t = !1) {
|
|
|
299
299
|
changed: g,
|
|
300
300
|
changedTimes: m,
|
|
301
301
|
get not() {
|
|
302
|
-
return
|
|
302
|
+
return mt(e, !t);
|
|
303
303
|
}
|
|
304
304
|
} : {
|
|
305
305
|
toMatch: r,
|
|
@@ -307,42 +307,42 @@ function pt(e, t = !1) {
|
|
|
307
307
|
toBeTruthy: o,
|
|
308
308
|
toBeNull: i,
|
|
309
309
|
toBeNaN: l,
|
|
310
|
-
toBeUndefined:
|
|
310
|
+
toBeUndefined: s,
|
|
311
311
|
changed: g,
|
|
312
312
|
changedTimes: m,
|
|
313
313
|
get not() {
|
|
314
|
-
return
|
|
314
|
+
return mt(e, !t);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
function ro(e) {
|
|
319
|
-
return
|
|
319
|
+
return mt(e);
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Be(e, t = 1e3, r = {}) {
|
|
322
322
|
const {
|
|
323
323
|
immediate: a = !0,
|
|
324
324
|
immediateCallback: o = !1
|
|
325
325
|
} = r;
|
|
326
326
|
let i = null;
|
|
327
|
-
const
|
|
327
|
+
const s = re(!1);
|
|
328
328
|
function l() {
|
|
329
329
|
i && (clearInterval(i), i = null);
|
|
330
330
|
}
|
|
331
331
|
function c() {
|
|
332
|
-
|
|
332
|
+
s.value = !1, l();
|
|
333
333
|
}
|
|
334
334
|
function g() {
|
|
335
335
|
const m = U(t);
|
|
336
|
-
m <= 0 || (
|
|
336
|
+
m <= 0 || (s.value = !0, o && e(), l(), s.value && (i = setInterval(e, m)));
|
|
337
337
|
}
|
|
338
|
-
if (a &&
|
|
338
|
+
if (a && gt && g(), me(t) || typeof t == "function") {
|
|
339
339
|
const m = ne(t, () => {
|
|
340
|
-
|
|
340
|
+
s.value && gt && g();
|
|
341
341
|
});
|
|
342
|
-
|
|
342
|
+
dt(m);
|
|
343
343
|
}
|
|
344
|
-
return
|
|
345
|
-
isActive:
|
|
344
|
+
return dt(c), {
|
|
345
|
+
isActive: s,
|
|
346
346
|
pause: c,
|
|
347
347
|
resume: g
|
|
348
348
|
};
|
|
@@ -357,25 +357,25 @@ function ao(e, t, r) {
|
|
|
357
357
|
}
|
|
358
358
|
);
|
|
359
359
|
}
|
|
360
|
-
const wt =
|
|
360
|
+
const wt = gt ? window : void 0;
|
|
361
361
|
function xe(e) {
|
|
362
362
|
var t;
|
|
363
363
|
const r = U(e);
|
|
364
364
|
return (t = r == null ? void 0 : r.$el) != null ? t : r;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Ve(...e) {
|
|
367
367
|
const t = [], r = () => {
|
|
368
368
|
t.forEach((l) => l()), t.length = 0;
|
|
369
369
|
}, a = (l, c, g, m) => (l.addEventListener(c, g, m), () => l.removeEventListener(c, g, m)), o = N(() => {
|
|
370
|
-
const l =
|
|
370
|
+
const l = nt(U(e[0])).filter((c) => c != null);
|
|
371
371
|
return l.every((c) => typeof c != "string") ? l : void 0;
|
|
372
372
|
}), i = ao(
|
|
373
373
|
() => {
|
|
374
374
|
var l, c;
|
|
375
375
|
return [
|
|
376
376
|
(c = (l = o.value) == null ? void 0 : l.map((g) => xe(g))) != null ? c : [wt].filter((g) => g != null),
|
|
377
|
-
|
|
378
|
-
|
|
377
|
+
nt(U(o.value ? e[1] : e[0])),
|
|
378
|
+
nt(n(o.value ? e[2] : e[1])),
|
|
379
379
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
380
380
|
U(o.value ? e[3] : e[2])
|
|
381
381
|
];
|
|
@@ -383,54 +383,54 @@ function Fe(...e) {
|
|
|
383
383
|
([l, c, g, m]) => {
|
|
384
384
|
if (r(), !(l != null && l.length) || !(c != null && c.length) || !(g != null && g.length))
|
|
385
385
|
return;
|
|
386
|
-
const
|
|
386
|
+
const b = Va(m) ? { ...m } : m;
|
|
387
387
|
t.push(
|
|
388
388
|
...l.flatMap(
|
|
389
|
-
(
|
|
390
|
-
(
|
|
389
|
+
(w) => c.flatMap(
|
|
390
|
+
(h) => g.map((z) => a(w, h, z, b))
|
|
391
391
|
)
|
|
392
392
|
)
|
|
393
393
|
);
|
|
394
394
|
},
|
|
395
395
|
{ flush: "post" }
|
|
396
|
-
),
|
|
396
|
+
), s = () => {
|
|
397
397
|
i(), r();
|
|
398
398
|
};
|
|
399
|
-
return
|
|
399
|
+
return dt(r), s;
|
|
400
400
|
}
|
|
401
401
|
function Se(e, t) {
|
|
402
402
|
const {
|
|
403
403
|
interrupt: r = !0,
|
|
404
|
-
onError: a =
|
|
405
|
-
onFinished: o =
|
|
404
|
+
onError: a = X,
|
|
405
|
+
onFinished: o = X,
|
|
406
406
|
signal: i
|
|
407
|
-
} = {},
|
|
407
|
+
} = {}, s = {
|
|
408
408
|
aborted: "aborted",
|
|
409
409
|
fulfilled: "fulfilled",
|
|
410
410
|
pending: "pending",
|
|
411
411
|
rejected: "rejected"
|
|
412
|
-
}, l = Array.from(Array.from({ length: e.length }), () => ({ state:
|
|
412
|
+
}, l = Array.from(Array.from({ length: e.length }), () => ({ state: s.pending, data: null })), c = ge(l), g = re(-1);
|
|
413
413
|
if (!e || e.length === 0)
|
|
414
414
|
return o(), {
|
|
415
415
|
activeIndex: g,
|
|
416
416
|
result: c
|
|
417
417
|
};
|
|
418
|
-
function m(
|
|
419
|
-
g.value++, c[g.value].data =
|
|
418
|
+
function m(b, w) {
|
|
419
|
+
g.value++, c[g.value].data = w, c[g.value].state = b;
|
|
420
420
|
}
|
|
421
|
-
return e.reduce((
|
|
421
|
+
return e.reduce((b, w) => b.then((h) => {
|
|
422
422
|
var z;
|
|
423
423
|
if (i != null && i.aborted) {
|
|
424
|
-
m(
|
|
424
|
+
m(s.aborted, new Error("aborted"));
|
|
425
425
|
return;
|
|
426
426
|
}
|
|
427
|
-
if (((z = c[g.value]) == null ? void 0 : z.state) ===
|
|
427
|
+
if (((z = c[g.value]) == null ? void 0 : z.state) === s.rejected && r) {
|
|
428
428
|
o();
|
|
429
429
|
return;
|
|
430
430
|
}
|
|
431
|
-
const
|
|
432
|
-
return i ? Promise.race([
|
|
433
|
-
}).catch((
|
|
431
|
+
const f = w(h).then((I) => (m(s.fulfilled, I), g.value === e.length - 1 && o(), I));
|
|
432
|
+
return i ? Promise.race([f, oo(i)]) : f;
|
|
433
|
+
}).catch((h) => i != null && i.aborted ? (m(s.aborted, h), h) : (m(s.rejected, h), a(), h)), Promise.resolve()), {
|
|
434
434
|
activeIndex: g,
|
|
435
435
|
result: c
|
|
436
436
|
};
|
|
@@ -445,57 +445,57 @@ function io(e, t, r) {
|
|
|
445
445
|
const {
|
|
446
446
|
immediate: a = !0,
|
|
447
447
|
delay: o = 0,
|
|
448
|
-
onError: i =
|
|
449
|
-
onSuccess:
|
|
448
|
+
onError: i = X,
|
|
449
|
+
onSuccess: s = X,
|
|
450
450
|
resetOnExecute: l = !0,
|
|
451
451
|
shallow: c = !0,
|
|
452
452
|
throwError: g
|
|
453
|
-
} = r ?? {}, m = c ? re(t) :
|
|
454
|
-
async function z(
|
|
455
|
-
l && (m.value = t),
|
|
456
|
-
const
|
|
453
|
+
} = r ?? {}, m = c ? re(t) : V(t), b = re(!1), w = re(!1), h = re(void 0);
|
|
454
|
+
async function z(k = 0, ..._) {
|
|
455
|
+
l && (m.value = t), h.value = void 0, b.value = !1, w.value = !0, k > 0 && await ut(k);
|
|
456
|
+
const v = typeof e == "function" ? e(..._) : e;
|
|
457
457
|
try {
|
|
458
|
-
const y = await
|
|
459
|
-
m.value = y,
|
|
458
|
+
const y = await v;
|
|
459
|
+
m.value = y, b.value = !0, s(y);
|
|
460
460
|
} catch (y) {
|
|
461
|
-
if (
|
|
461
|
+
if (h.value = y, i(y), g)
|
|
462
462
|
throw y;
|
|
463
463
|
} finally {
|
|
464
|
-
|
|
464
|
+
w.value = !1;
|
|
465
465
|
}
|
|
466
466
|
return m.value;
|
|
467
467
|
}
|
|
468
468
|
a && z(o);
|
|
469
|
-
const
|
|
469
|
+
const f = {
|
|
470
470
|
state: m,
|
|
471
|
-
isReady:
|
|
472
|
-
isLoading:
|
|
473
|
-
error:
|
|
471
|
+
isReady: b,
|
|
472
|
+
isLoading: w,
|
|
473
|
+
error: h,
|
|
474
474
|
execute: z
|
|
475
475
|
};
|
|
476
|
-
function
|
|
477
|
-
return new Promise((
|
|
478
|
-
ro(
|
|
476
|
+
function I() {
|
|
477
|
+
return new Promise((k, _) => {
|
|
478
|
+
ro(w).toBe(!1).then(() => k(f)).catch(_);
|
|
479
479
|
});
|
|
480
480
|
}
|
|
481
481
|
return {
|
|
482
|
-
...
|
|
483
|
-
then(
|
|
484
|
-
return
|
|
482
|
+
...f,
|
|
483
|
+
then(k, _) {
|
|
484
|
+
return I().then(k, _);
|
|
485
485
|
}
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
488
|
function no(e) {
|
|
489
489
|
return JSON.parse(JSON.stringify(e));
|
|
490
490
|
}
|
|
491
|
-
const
|
|
491
|
+
const Lt = 1;
|
|
492
492
|
function so(e, t = {}) {
|
|
493
493
|
const {
|
|
494
494
|
throttle: r = 0,
|
|
495
495
|
idle: a = 200,
|
|
496
|
-
onStop: o =
|
|
497
|
-
onScroll: i =
|
|
498
|
-
offset:
|
|
496
|
+
onStop: o = X,
|
|
497
|
+
onScroll: i = X,
|
|
498
|
+
offset: s = {
|
|
499
499
|
left: 0,
|
|
500
500
|
right: 0,
|
|
501
501
|
top: 0,
|
|
@@ -507,108 +507,108 @@ function so(e, t = {}) {
|
|
|
507
507
|
},
|
|
508
508
|
behavior: c = "auto",
|
|
509
509
|
window: g = wt,
|
|
510
|
-
onError: m = (
|
|
511
|
-
console.error(
|
|
510
|
+
onError: m = (C) => {
|
|
511
|
+
console.error(C);
|
|
512
512
|
}
|
|
513
|
-
} = t,
|
|
513
|
+
} = t, b = re(0), w = re(0), h = N({
|
|
514
514
|
get() {
|
|
515
|
-
return
|
|
515
|
+
return b.value;
|
|
516
516
|
},
|
|
517
|
-
set(
|
|
518
|
-
|
|
517
|
+
set(C) {
|
|
518
|
+
f(C, void 0);
|
|
519
519
|
}
|
|
520
520
|
}), z = N({
|
|
521
521
|
get() {
|
|
522
|
-
return
|
|
522
|
+
return w.value;
|
|
523
523
|
},
|
|
524
|
-
set(
|
|
525
|
-
|
|
524
|
+
set(C) {
|
|
525
|
+
f(void 0, C);
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
|
-
function
|
|
529
|
-
var P,
|
|
528
|
+
function f(C, O) {
|
|
529
|
+
var P, Y, de, oe;
|
|
530
530
|
if (!g)
|
|
531
531
|
return;
|
|
532
|
-
const
|
|
533
|
-
if (!
|
|
532
|
+
const q = U(e);
|
|
533
|
+
if (!q)
|
|
534
534
|
return;
|
|
535
|
-
(de =
|
|
536
|
-
top: (P = U(
|
|
537
|
-
left: (
|
|
535
|
+
(de = q instanceof Document ? g.document.body : q) == null || de.scrollTo({
|
|
536
|
+
top: (P = U(O)) != null ? P : z.value,
|
|
537
|
+
left: (Y = U(C)) != null ? Y : h.value,
|
|
538
538
|
behavior: U(c)
|
|
539
539
|
});
|
|
540
|
-
const A = ((oe =
|
|
541
|
-
|
|
540
|
+
const A = ((oe = q == null ? void 0 : q.document) == null ? void 0 : oe.documentElement) || (q == null ? void 0 : q.documentElement) || q;
|
|
541
|
+
h != null && (b.value = A.scrollLeft), z != null && (w.value = A.scrollTop);
|
|
542
542
|
}
|
|
543
|
-
const
|
|
543
|
+
const I = re(!1), k = ge({
|
|
544
544
|
left: !0,
|
|
545
545
|
right: !1,
|
|
546
546
|
top: !0,
|
|
547
547
|
bottom: !1
|
|
548
|
-
}),
|
|
548
|
+
}), _ = ge({
|
|
549
549
|
left: !1,
|
|
550
550
|
right: !1,
|
|
551
551
|
top: !1,
|
|
552
552
|
bottom: !1
|
|
553
|
-
}),
|
|
554
|
-
|
|
555
|
-
}, y = Xa(
|
|
556
|
-
var
|
|
553
|
+
}), v = (C) => {
|
|
554
|
+
I.value && (I.value = !1, _.left = !1, _.right = !1, _.top = !1, _.bottom = !1, o(C));
|
|
555
|
+
}, y = Xa(v, r + a), S = (C) => {
|
|
556
|
+
var O;
|
|
557
557
|
if (!g)
|
|
558
558
|
return;
|
|
559
|
-
const P = ((
|
|
560
|
-
|
|
561
|
-
const G = Math.abs(A *
|
|
562
|
-
|
|
563
|
-
let
|
|
564
|
-
|
|
565
|
-
const ie = Math.abs(
|
|
566
|
-
|
|
567
|
-
}, D = (
|
|
568
|
-
var
|
|
559
|
+
const P = ((O = C == null ? void 0 : C.document) == null ? void 0 : O.documentElement) || (C == null ? void 0 : C.documentElement) || xe(C), { display: Y, flexDirection: de, direction: oe } = getComputedStyle(P), q = oe === "rtl" ? -1 : 1, A = P.scrollLeft;
|
|
560
|
+
_.left = A < b.value, _.right = A > b.value;
|
|
561
|
+
const G = Math.abs(A * q) <= (s.left || 0), se = Math.abs(A * q) + P.clientWidth >= P.scrollWidth - (s.right || 0) - Lt;
|
|
562
|
+
Y === "flex" && de === "row-reverse" ? (k.left = se, k.right = G) : (k.left = G, k.right = se), b.value = A;
|
|
563
|
+
let H = P.scrollTop;
|
|
564
|
+
C === g.document && !H && (H = g.document.body.scrollTop), _.top = H < w.value, _.bottom = H > w.value;
|
|
565
|
+
const ie = Math.abs(H) <= (s.top || 0), at = Math.abs(H) + P.clientHeight >= P.scrollHeight - (s.bottom || 0) - Lt;
|
|
566
|
+
Y === "flex" && de === "column-reverse" ? (k.top = at, k.bottom = ie) : (k.top = ie, k.bottom = at), w.value = H;
|
|
567
|
+
}, D = (C) => {
|
|
568
|
+
var O;
|
|
569
569
|
if (!g)
|
|
570
570
|
return;
|
|
571
|
-
const P = (
|
|
572
|
-
|
|
571
|
+
const P = (O = C.target.documentElement) != null ? O : C.target;
|
|
572
|
+
S(P), I.value = !0, y(C), i(C);
|
|
573
573
|
};
|
|
574
|
-
return
|
|
574
|
+
return Ve(
|
|
575
575
|
e,
|
|
576
576
|
"scroll",
|
|
577
577
|
r ? Qa(D, r, !0, !1) : D,
|
|
578
578
|
l
|
|
579
579
|
), to(() => {
|
|
580
580
|
try {
|
|
581
|
-
const
|
|
582
|
-
if (
|
|
581
|
+
const C = U(e);
|
|
582
|
+
if (!C)
|
|
583
583
|
return;
|
|
584
|
-
|
|
585
|
-
} catch (
|
|
586
|
-
m(
|
|
584
|
+
S(C);
|
|
585
|
+
} catch (C) {
|
|
586
|
+
m(C);
|
|
587
587
|
}
|
|
588
|
-
}),
|
|
588
|
+
}), Ve(
|
|
589
589
|
e,
|
|
590
590
|
"scrollend",
|
|
591
|
-
|
|
591
|
+
v,
|
|
592
592
|
l
|
|
593
593
|
), {
|
|
594
|
-
x:
|
|
594
|
+
x: h,
|
|
595
595
|
y: z,
|
|
596
|
-
isScrolling:
|
|
597
|
-
arrivedState:
|
|
598
|
-
directions:
|
|
596
|
+
isScrolling: I,
|
|
597
|
+
arrivedState: k,
|
|
598
|
+
directions: _,
|
|
599
599
|
measure() {
|
|
600
|
-
const
|
|
601
|
-
g &&
|
|
600
|
+
const C = U(e);
|
|
601
|
+
g && C && S(C);
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function mr(e = "history", t = {}) {
|
|
606
606
|
const {
|
|
607
607
|
initialValue: r = {},
|
|
608
608
|
removeNullishValues: a = !0,
|
|
609
609
|
removeFalsyValues: o = !1,
|
|
610
610
|
write: i = !0,
|
|
611
|
-
writeMode:
|
|
611
|
+
writeMode: s = "replace",
|
|
612
612
|
window: l = wt
|
|
613
613
|
} = t;
|
|
614
614
|
if (!l)
|
|
@@ -618,98 +618,98 @@ function pr(e = "history", t = {}) {
|
|
|
618
618
|
if (e === "history")
|
|
619
619
|
return l.location.search || "";
|
|
620
620
|
if (e === "hash") {
|
|
621
|
-
const
|
|
622
|
-
return y > 0 ?
|
|
621
|
+
const v = l.location.hash || "", y = v.indexOf("?");
|
|
622
|
+
return y > 0 ? v.slice(y) : "";
|
|
623
623
|
} else
|
|
624
624
|
return (l.location.hash || "").replace(/^#/, "");
|
|
625
625
|
}
|
|
626
|
-
function m(
|
|
627
|
-
const y =
|
|
626
|
+
function m(v) {
|
|
627
|
+
const y = v.toString();
|
|
628
628
|
if (e === "history")
|
|
629
629
|
return `${y ? `?${y}` : ""}${l.location.hash || ""}`;
|
|
630
630
|
if (e === "hash-params")
|
|
631
631
|
return `${l.location.search || ""}${y ? `#${y}` : ""}`;
|
|
632
|
-
const
|
|
633
|
-
return D > 0 ? `${l.location.search || ""}${
|
|
632
|
+
const S = l.location.hash || "#", D = S.indexOf("?");
|
|
633
|
+
return D > 0 ? `${l.location.search || ""}${S.slice(0, D)}${y ? `?${y}` : ""}` : `${l.location.search || ""}${S}${y ? `?${y}` : ""}`;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function b() {
|
|
636
636
|
return new URLSearchParams(g());
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function w(v) {
|
|
639
639
|
const y = new Set(Object.keys(c));
|
|
640
|
-
for (const
|
|
641
|
-
const D =
|
|
642
|
-
c[
|
|
640
|
+
for (const S of v.keys()) {
|
|
641
|
+
const D = v.getAll(S);
|
|
642
|
+
c[S] = D.length > 1 ? D : v.get(S) || "", y.delete(S);
|
|
643
643
|
}
|
|
644
|
-
Array.from(y).forEach((
|
|
644
|
+
Array.from(y).forEach((S) => delete c[S]);
|
|
645
645
|
}
|
|
646
|
-
const { pause:
|
|
646
|
+
const { pause: h, resume: z } = eo(
|
|
647
647
|
c,
|
|
648
648
|
() => {
|
|
649
|
-
const
|
|
649
|
+
const v = new URLSearchParams("");
|
|
650
650
|
Object.keys(c).forEach((y) => {
|
|
651
|
-
const
|
|
652
|
-
Array.isArray(
|
|
653
|
-
}),
|
|
651
|
+
const S = c[y];
|
|
652
|
+
Array.isArray(S) ? S.forEach((D) => v.append(y, D)) : a && S == null || o && !S ? v.delete(y) : v.set(y, S);
|
|
653
|
+
}), f(v, !1);
|
|
654
654
|
},
|
|
655
655
|
{ deep: !0 }
|
|
656
656
|
);
|
|
657
|
-
function
|
|
658
|
-
|
|
657
|
+
function f(v, y) {
|
|
658
|
+
h(), y && w(v), s === "replace" ? l.history.replaceState(
|
|
659
659
|
l.history.state,
|
|
660
660
|
l.document.title,
|
|
661
|
-
l.location.pathname + m(
|
|
661
|
+
l.location.pathname + m(v)
|
|
662
662
|
) : l.history.pushState(
|
|
663
663
|
l.history.state,
|
|
664
664
|
l.document.title,
|
|
665
|
-
l.location.pathname + m(
|
|
665
|
+
l.location.pathname + m(v)
|
|
666
666
|
), z();
|
|
667
667
|
}
|
|
668
|
-
function
|
|
669
|
-
i &&
|
|
668
|
+
function I() {
|
|
669
|
+
i && f(b(), !0);
|
|
670
670
|
}
|
|
671
|
-
const
|
|
672
|
-
|
|
673
|
-
const
|
|
674
|
-
return
|
|
671
|
+
const k = { passive: !0 };
|
|
672
|
+
Ve(l, "popstate", I, k), e !== "history" && Ve(l, "hashchange", I, k);
|
|
673
|
+
const _ = b();
|
|
674
|
+
return _.keys().next().value ? w(_) : Object.assign(c, r), c;
|
|
675
675
|
}
|
|
676
676
|
function lo(e, t, r, a = {}) {
|
|
677
|
-
var o, i,
|
|
677
|
+
var o, i, s;
|
|
678
678
|
const {
|
|
679
679
|
clone: l = !1,
|
|
680
680
|
passive: c = !1,
|
|
681
681
|
eventName: g,
|
|
682
682
|
deep: m = !1,
|
|
683
|
-
defaultValue:
|
|
684
|
-
shouldEmit:
|
|
685
|
-
} = a,
|
|
686
|
-
let
|
|
687
|
-
t || (t = "modelValue"),
|
|
688
|
-
const
|
|
689
|
-
|
|
683
|
+
defaultValue: b,
|
|
684
|
+
shouldEmit: w
|
|
685
|
+
} = a, h = Qt(), z = r || (h == null ? void 0 : h.emit) || ((o = h == null ? void 0 : h.$emit) == null ? void 0 : o.bind(h)) || ((s = (i = h == null ? void 0 : h.proxy) == null ? void 0 : i.$emit) == null ? void 0 : s.bind(h == null ? void 0 : h.proxy));
|
|
686
|
+
let f = g;
|
|
687
|
+
t || (t = "modelValue"), f = f || `update:${t.toString()}`;
|
|
688
|
+
const I = (v) => l ? typeof l == "function" ? l(v) : no(v) : v, k = () => Ka(e[t]) ? I(e[t]) : b, _ = (v) => {
|
|
689
|
+
w ? w(v) && z(f, v) : z(f, v);
|
|
690
690
|
};
|
|
691
691
|
if (c) {
|
|
692
|
-
const
|
|
693
|
-
let
|
|
692
|
+
const v = k(), y = V(v);
|
|
693
|
+
let S = !1;
|
|
694
694
|
return ne(
|
|
695
695
|
() => e[t],
|
|
696
696
|
(D) => {
|
|
697
|
-
|
|
697
|
+
S || (S = !0, y.value = I(D), Ce(() => S = !1));
|
|
698
698
|
}
|
|
699
699
|
), ne(
|
|
700
700
|
y,
|
|
701
701
|
(D) => {
|
|
702
|
-
!
|
|
702
|
+
!S && (D !== e[t] || m) && _(D);
|
|
703
703
|
},
|
|
704
704
|
{ deep: m }
|
|
705
705
|
), y;
|
|
706
706
|
} else
|
|
707
707
|
return N({
|
|
708
708
|
get() {
|
|
709
|
-
return
|
|
709
|
+
return k();
|
|
710
710
|
},
|
|
711
|
-
set(
|
|
712
|
-
|
|
711
|
+
set(v) {
|
|
712
|
+
_(v);
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
715
|
}
|
|
@@ -727,33 +727,33 @@ function xt(e, t, r = {}) {
|
|
|
727
727
|
function M(e) {
|
|
728
728
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function K(e) {
|
|
731
731
|
return function t(r) {
|
|
732
732
|
return arguments.length === 0 || M(r) ? t : e.apply(this, arguments);
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function B(e) {
|
|
736
736
|
return function t(r, a) {
|
|
737
737
|
switch (arguments.length) {
|
|
738
738
|
case 0:
|
|
739
739
|
return t;
|
|
740
740
|
case 1:
|
|
741
|
-
return M(r) ? t :
|
|
741
|
+
return M(r) ? t : K(function(o) {
|
|
742
742
|
return e(r, o);
|
|
743
743
|
});
|
|
744
744
|
default:
|
|
745
|
-
return M(r) && M(a) ? t : M(r) ?
|
|
745
|
+
return M(r) && M(a) ? t : M(r) ? K(function(o) {
|
|
746
746
|
return e(o, a);
|
|
747
|
-
}) : M(a) ?
|
|
747
|
+
}) : M(a) ? K(function(o) {
|
|
748
748
|
return e(r, o);
|
|
749
749
|
}) : e(r, a);
|
|
750
750
|
}
|
|
751
751
|
};
|
|
752
752
|
}
|
|
753
|
-
var co = /* @__PURE__ */
|
|
753
|
+
var co = /* @__PURE__ */ B(function(t, r) {
|
|
754
754
|
return Number(t) + Number(r);
|
|
755
755
|
});
|
|
756
|
-
function
|
|
756
|
+
function Qe(e, t) {
|
|
757
757
|
switch (e) {
|
|
758
758
|
case 0:
|
|
759
759
|
return function() {
|
|
@@ -776,44 +776,44 @@ function Ze(e, t) {
|
|
|
776
776
|
return t.apply(this, arguments);
|
|
777
777
|
};
|
|
778
778
|
case 5:
|
|
779
|
-
return function(r, a, o, i,
|
|
779
|
+
return function(r, a, o, i, s) {
|
|
780
780
|
return t.apply(this, arguments);
|
|
781
781
|
};
|
|
782
782
|
case 6:
|
|
783
|
-
return function(r, a, o, i,
|
|
783
|
+
return function(r, a, o, i, s, l) {
|
|
784
784
|
return t.apply(this, arguments);
|
|
785
785
|
};
|
|
786
786
|
case 7:
|
|
787
|
-
return function(r, a, o, i,
|
|
787
|
+
return function(r, a, o, i, s, l, c) {
|
|
788
788
|
return t.apply(this, arguments);
|
|
789
789
|
};
|
|
790
790
|
case 8:
|
|
791
|
-
return function(r, a, o, i,
|
|
791
|
+
return function(r, a, o, i, s, l, c, g) {
|
|
792
792
|
return t.apply(this, arguments);
|
|
793
793
|
};
|
|
794
794
|
case 9:
|
|
795
|
-
return function(r, a, o, i,
|
|
795
|
+
return function(r, a, o, i, s, l, c, g, m) {
|
|
796
796
|
return t.apply(this, arguments);
|
|
797
797
|
};
|
|
798
798
|
case 10:
|
|
799
|
-
return function(r, a, o, i,
|
|
799
|
+
return function(r, a, o, i, s, l, c, g, m, b) {
|
|
800
800
|
return t.apply(this, arguments);
|
|
801
801
|
};
|
|
802
802
|
default:
|
|
803
803
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
|
-
function
|
|
806
|
+
function pr(e, t, r) {
|
|
807
807
|
return function() {
|
|
808
|
-
for (var a = [], o = 0, i = e,
|
|
808
|
+
for (var a = [], o = 0, i = e, s = 0, l = !1; s < t.length || o < arguments.length; ) {
|
|
809
809
|
var c;
|
|
810
|
-
|
|
810
|
+
s < t.length && (!M(t[s]) || o >= arguments.length) ? c = t[s] : (c = arguments[o], o += 1), a[s] = c, M(c) ? l = !0 : i -= 1, s += 1;
|
|
811
811
|
}
|
|
812
|
-
return !l && i <= 0 ? r.apply(this, a) :
|
|
812
|
+
return !l && i <= 0 ? r.apply(this, a) : Qe(Math.max(0, i), pr(e, a, r));
|
|
813
813
|
};
|
|
814
814
|
}
|
|
815
|
-
var go = /* @__PURE__ */
|
|
816
|
-
return t === 1 ?
|
|
815
|
+
var go = /* @__PURE__ */ B(function(t, r) {
|
|
816
|
+
return t === 1 ? K(r) : Qe(t, pr(t, [], r));
|
|
817
817
|
});
|
|
818
818
|
function _t(e) {
|
|
819
819
|
return function t(r, a, o) {
|
|
@@ -821,35 +821,35 @@ function _t(e) {
|
|
|
821
821
|
case 0:
|
|
822
822
|
return t;
|
|
823
823
|
case 1:
|
|
824
|
-
return M(r) ? t :
|
|
825
|
-
return e(r, i,
|
|
824
|
+
return M(r) ? t : B(function(i, s) {
|
|
825
|
+
return e(r, i, s);
|
|
826
826
|
});
|
|
827
827
|
case 2:
|
|
828
|
-
return M(r) && M(a) ? t : M(r) ?
|
|
829
|
-
return e(i, a,
|
|
830
|
-
}) : M(a) ?
|
|
831
|
-
return e(r, i,
|
|
832
|
-
}) :
|
|
828
|
+
return M(r) && M(a) ? t : M(r) ? B(function(i, s) {
|
|
829
|
+
return e(i, a, s);
|
|
830
|
+
}) : M(a) ? B(function(i, s) {
|
|
831
|
+
return e(r, i, s);
|
|
832
|
+
}) : K(function(i) {
|
|
833
833
|
return e(r, a, i);
|
|
834
834
|
});
|
|
835
835
|
default:
|
|
836
|
-
return M(r) && M(a) && M(o) ? t : M(r) && M(a) ?
|
|
837
|
-
return e(i,
|
|
838
|
-
}) : M(r) && M(o) ?
|
|
839
|
-
return e(i, a,
|
|
840
|
-
}) : M(a) && M(o) ?
|
|
841
|
-
return e(r, i,
|
|
842
|
-
}) : M(r) ?
|
|
836
|
+
return M(r) && M(a) && M(o) ? t : M(r) && M(a) ? B(function(i, s) {
|
|
837
|
+
return e(i, s, o);
|
|
838
|
+
}) : M(r) && M(o) ? B(function(i, s) {
|
|
839
|
+
return e(i, a, s);
|
|
840
|
+
}) : M(a) && M(o) ? B(function(i, s) {
|
|
841
|
+
return e(r, i, s);
|
|
842
|
+
}) : M(r) ? K(function(i) {
|
|
843
843
|
return e(i, a, o);
|
|
844
|
-
}) : M(a) ?
|
|
844
|
+
}) : M(a) ? K(function(i) {
|
|
845
845
|
return e(r, i, o);
|
|
846
|
-
}) : M(o) ?
|
|
846
|
+
}) : M(o) ? K(function(i) {
|
|
847
847
|
return e(r, a, i);
|
|
848
848
|
}) : e(r, a, o);
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
|
-
const
|
|
852
|
+
const Ze = Array.isArray || function(t) {
|
|
853
853
|
return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
|
|
854
854
|
};
|
|
855
855
|
function uo(e) {
|
|
@@ -860,7 +860,7 @@ function mo(e, t, r) {
|
|
|
860
860
|
if (arguments.length === 0)
|
|
861
861
|
return r();
|
|
862
862
|
var a = arguments[arguments.length - 1];
|
|
863
|
-
if (!
|
|
863
|
+
if (!Ze(a)) {
|
|
864
864
|
for (var o = 0; o < e.length; ) {
|
|
865
865
|
if (typeof a[e[o]] == "function")
|
|
866
866
|
return a[e[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
@@ -874,7 +874,7 @@ function mo(e, t, r) {
|
|
|
874
874
|
return r.apply(this, arguments);
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
|
-
const
|
|
877
|
+
const Dt = {
|
|
878
878
|
init: function() {
|
|
879
879
|
return this.xf["@@transducer/init"]();
|
|
880
880
|
},
|
|
@@ -882,12 +882,12 @@ const Pt = {
|
|
|
882
882
|
return this.xf["@@transducer/result"](e);
|
|
883
883
|
}
|
|
884
884
|
};
|
|
885
|
-
function
|
|
885
|
+
function Pt(e) {
|
|
886
886
|
for (var t = [], r; !(r = e.next()).done; )
|
|
887
887
|
t.push(r.value);
|
|
888
888
|
return t;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Mt(e, t, r) {
|
|
891
891
|
for (var a = 0, o = r.length; a < o; ) {
|
|
892
892
|
if (e(t, r[a]))
|
|
893
893
|
return !0;
|
|
@@ -899,22 +899,22 @@ function po(e) {
|
|
|
899
899
|
var t = String(e).match(/^function (\w*)/);
|
|
900
900
|
return t == null ? "" : t[1];
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Fe(e, t) {
|
|
903
903
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
904
904
|
}
|
|
905
905
|
function vo(e, t) {
|
|
906
906
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
907
907
|
}
|
|
908
|
-
const
|
|
909
|
-
var
|
|
910
|
-
return
|
|
911
|
-
return
|
|
908
|
+
const st = typeof Object.is == "function" ? Object.is : vo;
|
|
909
|
+
var jt = Object.prototype.toString, vr = /* @__PURE__ */ function() {
|
|
910
|
+
return jt.call(arguments) === "[object Arguments]" ? function(t) {
|
|
911
|
+
return jt.call(t) === "[object Arguments]";
|
|
912
912
|
} : function(t) {
|
|
913
|
-
return
|
|
913
|
+
return Fe("callee", t);
|
|
914
914
|
};
|
|
915
915
|
}(), bo = !/* @__PURE__ */ {
|
|
916
916
|
toString: null
|
|
917
|
-
}.propertyIsEnumerable("toString"),
|
|
917
|
+
}.propertyIsEnumerable("toString"), Ot = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Rt = /* @__PURE__ */ function() {
|
|
918
918
|
return arguments.propertyIsEnumerable("length");
|
|
919
919
|
}(), ho = function(t, r) {
|
|
920
920
|
for (var a = 0; a < t.length; ) {
|
|
@@ -923,35 +923,35 @@ var Ot = Object.prototype.toString, br = /* @__PURE__ */ function() {
|
|
|
923
923
|
a += 1;
|
|
924
924
|
}
|
|
925
925
|
return !1;
|
|
926
|
-
},
|
|
926
|
+
}, pt = /* @__PURE__ */ K(typeof Object.keys == "function" && !Rt ? function(t) {
|
|
927
927
|
return Object(t) !== t ? [] : Object.keys(t);
|
|
928
928
|
} : function(t) {
|
|
929
929
|
if (Object(t) !== t)
|
|
930
930
|
return [];
|
|
931
|
-
var r, a, o = [], i =
|
|
931
|
+
var r, a, o = [], i = Rt && vr(t);
|
|
932
932
|
for (r in t)
|
|
933
|
-
|
|
933
|
+
Fe(r, t) && (!i || r !== "length") && (o[o.length] = r);
|
|
934
934
|
if (bo)
|
|
935
|
-
for (a =
|
|
936
|
-
r =
|
|
935
|
+
for (a = Ot.length - 1; a >= 0; )
|
|
936
|
+
r = Ot[a], Fe(r, t) && !ho(o, r) && (o[o.length] = r), a -= 1;
|
|
937
937
|
return o;
|
|
938
|
-
}),
|
|
938
|
+
}), Gt = /* @__PURE__ */ K(function(t) {
|
|
939
939
|
return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
|
|
940
940
|
});
|
|
941
|
-
function
|
|
942
|
-
var o =
|
|
943
|
-
function
|
|
941
|
+
function Ut(e, t, r, a) {
|
|
942
|
+
var o = Pt(e), i = Pt(t);
|
|
943
|
+
function s(l, c) {
|
|
944
944
|
return kt(l, c, r.slice(), a.slice());
|
|
945
945
|
}
|
|
946
|
-
return !
|
|
947
|
-
return !
|
|
946
|
+
return !Mt(function(l, c) {
|
|
947
|
+
return !Mt(s, c, l);
|
|
948
948
|
}, i, o);
|
|
949
949
|
}
|
|
950
950
|
function kt(e, t, r, a) {
|
|
951
|
-
if (
|
|
951
|
+
if (st(e, t))
|
|
952
952
|
return !0;
|
|
953
|
-
var o =
|
|
954
|
-
if (o !==
|
|
953
|
+
var o = Gt(e);
|
|
954
|
+
if (o !== Gt(t))
|
|
955
955
|
return !1;
|
|
956
956
|
if (typeof e["fantasy-land/equals"] == "function" || typeof t["fantasy-land/equals"] == "function")
|
|
957
957
|
return typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t) && typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e);
|
|
@@ -967,11 +967,11 @@ function kt(e, t, r, a) {
|
|
|
967
967
|
case "Boolean":
|
|
968
968
|
case "Number":
|
|
969
969
|
case "String":
|
|
970
|
-
if (!(typeof e == typeof t &&
|
|
970
|
+
if (!(typeof e == typeof t && st(e.valueOf(), t.valueOf())))
|
|
971
971
|
return !1;
|
|
972
972
|
break;
|
|
973
973
|
case "Date":
|
|
974
|
-
if (!
|
|
974
|
+
if (!st(e.valueOf(), t.valueOf()))
|
|
975
975
|
return !1;
|
|
976
976
|
break;
|
|
977
977
|
case "Error":
|
|
@@ -988,9 +988,9 @@ function kt(e, t, r, a) {
|
|
|
988
988
|
}
|
|
989
989
|
switch (o) {
|
|
990
990
|
case "Map":
|
|
991
|
-
return e.size !== t.size ? !1 :
|
|
991
|
+
return e.size !== t.size ? !1 : Ut(e.entries(), t.entries(), r.concat([e]), a.concat([t]));
|
|
992
992
|
case "Set":
|
|
993
|
-
return e.size !== t.size ? !1 :
|
|
993
|
+
return e.size !== t.size ? !1 : Ut(e.values(), t.values(), r.concat([e]), a.concat([t]));
|
|
994
994
|
case "Arguments":
|
|
995
995
|
case "Array":
|
|
996
996
|
case "Object":
|
|
@@ -1014,19 +1014,19 @@ function kt(e, t, r, a) {
|
|
|
1014
1014
|
default:
|
|
1015
1015
|
return !1;
|
|
1016
1016
|
}
|
|
1017
|
-
var
|
|
1018
|
-
if (
|
|
1017
|
+
var s = pt(e);
|
|
1018
|
+
if (s.length !== pt(t).length)
|
|
1019
1019
|
return !1;
|
|
1020
1020
|
var l = r.concat([e]), c = a.concat([t]);
|
|
1021
|
-
for (i =
|
|
1022
|
-
var g =
|
|
1023
|
-
if (!(
|
|
1021
|
+
for (i = s.length - 1; i >= 0; ) {
|
|
1022
|
+
var g = s[i];
|
|
1023
|
+
if (!(Fe(g, t) && kt(t[g], e[g], l, c)))
|
|
1024
1024
|
return !1;
|
|
1025
1025
|
i -= 1;
|
|
1026
1026
|
}
|
|
1027
1027
|
return !0;
|
|
1028
1028
|
}
|
|
1029
|
-
var fo = /* @__PURE__ */
|
|
1029
|
+
var fo = /* @__PURE__ */ B(function(t, r) {
|
|
1030
1030
|
return kt(t, r, [], []);
|
|
1031
1031
|
});
|
|
1032
1032
|
function yo(e, t) {
|
|
@@ -1046,14 +1046,14 @@ var _o = /* @__PURE__ */ function() {
|
|
|
1046
1046
|
function e(t, r) {
|
|
1047
1047
|
this.xf = r, this.f = t;
|
|
1048
1048
|
}
|
|
1049
|
-
return e.prototype["@@transducer/init"] =
|
|
1049
|
+
return e.prototype["@@transducer/init"] = Dt.init, e.prototype["@@transducer/result"] = Dt.result, e.prototype["@@transducer/step"] = function(t, r) {
|
|
1050
1050
|
return this.xf["@@transducer/step"](t, this.f(r));
|
|
1051
1051
|
}, e;
|
|
1052
1052
|
}(), ko = function(t) {
|
|
1053
1053
|
return function(r) {
|
|
1054
1054
|
return new _o(t, r);
|
|
1055
1055
|
};
|
|
1056
|
-
}, zt = /* @__PURE__ */
|
|
1056
|
+
}, zt = /* @__PURE__ */ B(/* @__PURE__ */ mo(["fantasy-land/map", "map"], ko, function(t, r) {
|
|
1057
1057
|
switch (Object.prototype.toString.call(r)) {
|
|
1058
1058
|
case "[object Function]":
|
|
1059
1059
|
return go(r.length, function() {
|
|
@@ -1062,41 +1062,41 @@ var _o = /* @__PURE__ */ function() {
|
|
|
1062
1062
|
case "[object Object]":
|
|
1063
1063
|
return wo(function(a, o) {
|
|
1064
1064
|
return a[o] = t(r[o]), a;
|
|
1065
|
-
}, {},
|
|
1065
|
+
}, {}, pt(r));
|
|
1066
1066
|
default:
|
|
1067
1067
|
return yo(t, r);
|
|
1068
1068
|
}
|
|
1069
1069
|
}));
|
|
1070
|
-
const
|
|
1070
|
+
const br = Number.isInteger || function(t) {
|
|
1071
1071
|
return t << 0 === t;
|
|
1072
1072
|
};
|
|
1073
|
-
function
|
|
1073
|
+
function et(e) {
|
|
1074
1074
|
return Object.prototype.toString.call(e) === "[object String]";
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1076
|
+
function tt(e, t) {
|
|
1077
1077
|
var r = e < 0 ? t.length + e : e;
|
|
1078
|
-
return
|
|
1078
|
+
return et(t) ? t.charAt(r) : t[r];
|
|
1079
1079
|
}
|
|
1080
|
-
var le = /* @__PURE__ */
|
|
1080
|
+
var le = /* @__PURE__ */ B(function(t, r) {
|
|
1081
1081
|
if (r != null)
|
|
1082
|
-
return
|
|
1083
|
-
}), zo = /* @__PURE__ */
|
|
1084
|
-
return
|
|
1085
|
-
}),
|
|
1082
|
+
return br(t) ? tt(t, r) : r[t];
|
|
1083
|
+
}), zo = /* @__PURE__ */ K(function(t) {
|
|
1084
|
+
return Ze(t) ? !0 : !t || typeof t != "object" || et(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
|
|
1085
|
+
}), Yt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1086
1086
|
function So(e, t, r) {
|
|
1087
|
-
return function(o, i,
|
|
1088
|
-
if (zo(
|
|
1089
|
-
return e(o, i,
|
|
1090
|
-
if (
|
|
1087
|
+
return function(o, i, s) {
|
|
1088
|
+
if (zo(s))
|
|
1089
|
+
return e(o, i, s);
|
|
1090
|
+
if (s == null)
|
|
1091
1091
|
return i;
|
|
1092
|
-
if (typeof
|
|
1093
|
-
return t(o, i,
|
|
1094
|
-
if (
|
|
1095
|
-
return r(o, i,
|
|
1096
|
-
if (typeof
|
|
1097
|
-
return r(o, i,
|
|
1098
|
-
if (typeof
|
|
1099
|
-
return t(o, i,
|
|
1092
|
+
if (typeof s["fantasy-land/reduce"] == "function")
|
|
1093
|
+
return t(o, i, s, "fantasy-land/reduce");
|
|
1094
|
+
if (s[Yt] != null)
|
|
1095
|
+
return r(o, i, s[Yt]());
|
|
1096
|
+
if (typeof s.next == "function")
|
|
1097
|
+
return r(o, i, s);
|
|
1098
|
+
if (typeof s.reduce == "function")
|
|
1099
|
+
return t(o, i, s, "reduce");
|
|
1100
1100
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1101
1101
|
};
|
|
1102
1102
|
}
|
|
@@ -1110,8 +1110,8 @@ function $o(e, t, r) {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
return e["@@transducer/result"](t);
|
|
1112
1112
|
}
|
|
1113
|
-
var Io = /* @__PURE__ */
|
|
1114
|
-
return
|
|
1113
|
+
var Io = /* @__PURE__ */ B(function(t, r) {
|
|
1114
|
+
return Qe(t.length, function() {
|
|
1115
1115
|
return t.apply(r, arguments);
|
|
1116
1116
|
});
|
|
1117
1117
|
});
|
|
@@ -1143,7 +1143,7 @@ var To = /* @__PURE__ */ So($o, No, Co), Eo = /* @__PURE__ */ function() {
|
|
|
1143
1143
|
function Ao(e) {
|
|
1144
1144
|
return new Eo(e);
|
|
1145
1145
|
}
|
|
1146
|
-
var
|
|
1146
|
+
var hr = /* @__PURE__ */ _t(function(e, t, r) {
|
|
1147
1147
|
return To(typeof e == "function" ? Ao(e) : e, t, r);
|
|
1148
1148
|
});
|
|
1149
1149
|
function Lo(e, t) {
|
|
@@ -1151,48 +1151,48 @@ function Lo(e, t) {
|
|
|
1151
1151
|
return t.call(this, e.apply(this, arguments));
|
|
1152
1152
|
};
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function fr(e, t) {
|
|
1155
1155
|
return function() {
|
|
1156
1156
|
var r = arguments.length;
|
|
1157
1157
|
if (r === 0)
|
|
1158
1158
|
return t();
|
|
1159
1159
|
var a = arguments[r - 1];
|
|
1160
|
-
return
|
|
1160
|
+
return Ze(a) || typeof a[e] != "function" ? t.apply(this, arguments) : a[e].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
1163
|
-
var Do = /* @__PURE__ */ _t(/* @__PURE__ */
|
|
1163
|
+
var Do = /* @__PURE__ */ _t(/* @__PURE__ */ fr("slice", function(t, r, a) {
|
|
1164
1164
|
return Array.prototype.slice.call(a, t, r);
|
|
1165
|
-
})), Po = /* @__PURE__ */
|
|
1165
|
+
})), Po = /* @__PURE__ */ K(/* @__PURE__ */ fr("tail", /* @__PURE__ */ Do(1, 1 / 0)));
|
|
1166
1166
|
function Me() {
|
|
1167
1167
|
if (arguments.length === 0)
|
|
1168
1168
|
throw new Error("pipe requires at least one argument");
|
|
1169
|
-
return
|
|
1169
|
+
return Qe(arguments[0].length, hr(Lo, arguments[0], Po(arguments)));
|
|
1170
1170
|
}
|
|
1171
|
-
var Mo = /* @__PURE__ */
|
|
1172
|
-
return
|
|
1171
|
+
var Mo = /* @__PURE__ */ K(function(t) {
|
|
1172
|
+
return et(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
|
|
1173
1173
|
});
|
|
1174
1174
|
function St() {
|
|
1175
1175
|
if (arguments.length === 0)
|
|
1176
1176
|
throw new Error("compose requires at least one argument");
|
|
1177
1177
|
return Me.apply(this, Mo(arguments));
|
|
1178
1178
|
}
|
|
1179
|
-
var
|
|
1180
|
-
return
|
|
1181
|
-
}),
|
|
1179
|
+
var J = /* @__PURE__ */ K(function(e) {
|
|
1180
|
+
return tt(0, e);
|
|
1181
|
+
}), yr = /* @__PURE__ */ _t(function(t, r, a) {
|
|
1182
1182
|
var o = t(r), i = t(a);
|
|
1183
1183
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1184
|
-
}), jo = /* @__PURE__ */
|
|
1185
|
-
return
|
|
1184
|
+
}), jo = /* @__PURE__ */ K(function(e) {
|
|
1185
|
+
return tt(-1, e);
|
|
1186
1186
|
});
|
|
1187
1187
|
function Oo(e) {
|
|
1188
1188
|
var t = Object.prototype.toString.call(e);
|
|
1189
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]";
|
|
1190
1190
|
}
|
|
1191
|
-
var Ro = /* @__PURE__ */
|
|
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() :
|
|
1191
|
+
var Ro = /* @__PURE__ */ K(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() : Ze(t) ? [] : et(t) ? "" : xo(t) ? {} : vr(t) ? /* @__PURE__ */ function() {
|
|
1193
1193
|
return arguments;
|
|
1194
1194
|
}() : Oo(t) ? t.constructor.from("") : void 0;
|
|
1195
|
-
}),
|
|
1195
|
+
}), vt = /* @__PURE__ */ K(function(t) {
|
|
1196
1196
|
return t != null && fo(t, Ro(t));
|
|
1197
1197
|
});
|
|
1198
1198
|
function Go(e, t) {
|
|
@@ -1200,29 +1200,29 @@ function Go(e, t) {
|
|
|
1200
1200
|
if (r == null)
|
|
1201
1201
|
return;
|
|
1202
1202
|
var o = e[a];
|
|
1203
|
-
|
|
1203
|
+
br(o) ? r = tt(o, r) : r = r[o];
|
|
1204
1204
|
}
|
|
1205
1205
|
return r;
|
|
1206
1206
|
}
|
|
1207
|
-
var
|
|
1208
|
-
for (var a = {}, o = {}, i = 0,
|
|
1207
|
+
var Kt = /* @__PURE__ */ hr(co, 0), wr = /* @__PURE__ */ B(function(t, r) {
|
|
1208
|
+
for (var a = {}, o = {}, i = 0, s = t.length; i < s; )
|
|
1209
1209
|
o[t[i]] = 1, i += 1;
|
|
1210
1210
|
for (var l in r)
|
|
1211
1211
|
o.hasOwnProperty(l) || (a[l] = r[l]);
|
|
1212
1212
|
return a;
|
|
1213
|
-
}),
|
|
1213
|
+
}), xr = /* @__PURE__ */ B(Go), $t = /* @__PURE__ */ B(function(t, r) {
|
|
1214
1214
|
for (var a = {}, o = 0; o < t.length; )
|
|
1215
1215
|
t[o] in r && (a[t[o]] = r[t[o]]), o += 1;
|
|
1216
1216
|
return a;
|
|
1217
|
-
}), _r = /* @__PURE__ */
|
|
1217
|
+
}), _r = /* @__PURE__ */ B(function(t, r) {
|
|
1218
1218
|
return Array.prototype.slice.call(r, 0).sort(t);
|
|
1219
|
-
}),
|
|
1219
|
+
}), qe = /* @__PURE__ */ B(function(t, r) {
|
|
1220
1220
|
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1221
|
-
var i = t(a),
|
|
1222
|
-
return i <
|
|
1221
|
+
var i = t(a), s = t(o);
|
|
1222
|
+
return i < s ? -1 : i > s ? 1 : 0;
|
|
1223
1223
|
});
|
|
1224
1224
|
});
|
|
1225
|
-
const
|
|
1225
|
+
const Bt = 20, Uo = {
|
|
1226
1226
|
__name: "DataProvider",
|
|
1227
1227
|
props: {
|
|
1228
1228
|
locale: {
|
|
@@ -1243,17 +1243,17 @@ const Vt = 20, Uo = {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
1245
|
setup(e) {
|
|
1246
|
-
const t = e, { timezone: r, locale: a } = Er(t), { onError: o } = Pe(), i =
|
|
1247
|
-
firstGame:
|
|
1248
|
-
lastGame:
|
|
1246
|
+
const t = e, { timezone: r, locale: a } = Er(t), { onError: o } = Pe(), i = mr("history"), s = V(i.panel || Ne), l = V(null), c = V(0), g = re({
|
|
1247
|
+
firstGame: W,
|
|
1248
|
+
lastGame: W
|
|
1249
1249
|
}), m = re({
|
|
1250
|
-
min:
|
|
1251
|
-
max:
|
|
1250
|
+
min: Q(W, "YYYY-MM-DD"),
|
|
1251
|
+
max: Q(W, "YYYY-MM-DD")
|
|
1252
1252
|
}), {
|
|
1253
|
-
state:
|
|
1254
|
-
isLoading:
|
|
1255
|
-
execute:
|
|
1256
|
-
} =
|
|
1253
|
+
state: b,
|
|
1254
|
+
isLoading: w,
|
|
1255
|
+
execute: h
|
|
1256
|
+
} = ee({
|
|
1257
1257
|
options: {
|
|
1258
1258
|
path: "/v2/games-calendar",
|
|
1259
1259
|
apiKey: t.apiKey,
|
|
@@ -1267,62 +1267,62 @@ const Vt = 20, Uo = {
|
|
|
1267
1267
|
transform: (y) => Oa(y, g),
|
|
1268
1268
|
onError: o
|
|
1269
1269
|
}), z = N(
|
|
1270
|
-
() => De(
|
|
1271
|
-
),
|
|
1270
|
+
() => De(b.value).schedule(r.value, a.value).more(0, c.value * Bt + Bt).groupByDays().value()
|
|
1271
|
+
), f = N(
|
|
1272
1272
|
() => Ya(
|
|
1273
|
-
...Ra.get(
|
|
1274
|
-
|
|
1273
|
+
...Ra.get(s.value)(g.value.firstGame, g.value.lastGame),
|
|
1274
|
+
s.value === ze,
|
|
1275
1275
|
a.value
|
|
1276
1276
|
)
|
|
1277
1277
|
);
|
|
1278
1278
|
ne(
|
|
1279
|
-
|
|
1279
|
+
s,
|
|
1280
1280
|
async (y) => {
|
|
1281
|
-
const { min:
|
|
1282
|
-
m.value = { min:
|
|
1281
|
+
const { min: S, max: D, id: C } = Re.get(y)(i.month);
|
|
1282
|
+
m.value = { min: Q(S, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, l.value = C, await h(), i.month || v();
|
|
1283
1283
|
},
|
|
1284
1284
|
{
|
|
1285
1285
|
immediate: !0
|
|
1286
1286
|
}
|
|
1287
1287
|
);
|
|
1288
|
-
function
|
|
1289
|
-
|
|
1288
|
+
function I(y) {
|
|
1289
|
+
s.value = y, i.panel = y, c.value = 0, i.month = null;
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1292
|
-
const { min:
|
|
1293
|
-
l.value =
|
|
1294
|
-
min:
|
|
1295
|
-
max:
|
|
1296
|
-
}, c.value = 0,
|
|
1291
|
+
function k(y) {
|
|
1292
|
+
const { min: S, max: D, id: C } = Re.get(s.value)(y.id);
|
|
1293
|
+
l.value = C, i.month = C, m.value = {
|
|
1294
|
+
min: Q(S, "YYYY-MM-DD"),
|
|
1295
|
+
max: Q(D, "YYYY-MM-DD")
|
|
1296
|
+
}, c.value = 0, h();
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function _() {
|
|
1299
1299
|
c.value += 1;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1302
|
-
var D,
|
|
1303
|
-
if (![ze, Te].includes(
|
|
1301
|
+
function v() {
|
|
1302
|
+
var D, C;
|
|
1303
|
+
if (![ze, Te].includes(s.value))
|
|
1304
1304
|
return;
|
|
1305
|
-
const { firstGame: y, lastGame:
|
|
1306
|
-
if (Jr(
|
|
1307
|
-
const { min:
|
|
1308
|
-
return m.value = { min:
|
|
1305
|
+
const { firstGame: y, lastGame: S } = g.value;
|
|
1306
|
+
if (Jr(W, y)) {
|
|
1307
|
+
const { min: O, max: P, id: Y } = Re.get(s.value)((D = J(f.value)) == null ? void 0 : D.id);
|
|
1308
|
+
return m.value = { min: Q(O, "YYYY-MM-DD"), max: Q(P, "YYYY-MM-DD") }, l.value = Y, h();
|
|
1309
1309
|
}
|
|
1310
|
-
if (
|
|
1311
|
-
const { min:
|
|
1312
|
-
m.value = { min:
|
|
1310
|
+
if (sr(W, S)) {
|
|
1311
|
+
const { min: O, max: P, id: Y } = Re.get(s.value)((C = jo(f.value)) == null ? void 0 : C.id);
|
|
1312
|
+
m.value = { min: Q(O, "YYYY-MM-DD"), max: Q(P, "YYYY-MM-DD") }, l.value = Y, h();
|
|
1313
1313
|
}
|
|
1314
1314
|
}
|
|
1315
|
-
return (y,
|
|
1316
|
-
today:
|
|
1317
|
-
months:
|
|
1318
|
-
isLoading:
|
|
1315
|
+
return (y, S) => we(y.$slots, "default", Ee(Ae({
|
|
1316
|
+
today: n(W),
|
|
1317
|
+
months: f.value,
|
|
1318
|
+
isLoading: n(w),
|
|
1319
1319
|
datesFilter: m.value,
|
|
1320
1320
|
selectedMonth: l.value,
|
|
1321
|
-
selectedPanel:
|
|
1321
|
+
selectedPanel: s.value,
|
|
1322
1322
|
games: z.value,
|
|
1323
|
-
more:
|
|
1324
|
-
setMonth:
|
|
1325
|
-
changePanel:
|
|
1323
|
+
more: _,
|
|
1324
|
+
setMonth: k,
|
|
1325
|
+
changePanel: I
|
|
1326
1326
|
})));
|
|
1327
1327
|
}
|
|
1328
1328
|
}, Yo = {
|
|
@@ -1335,7 +1335,7 @@ const Vt = 20, Uo = {
|
|
|
1335
1335
|
"stroke-linejoin": "round"
|
|
1336
1336
|
};
|
|
1337
1337
|
function Ko(e, t) {
|
|
1338
|
-
return u(),
|
|
1338
|
+
return u(), x("svg", Yo, t[0] || (t[0] = [
|
|
1339
1339
|
d("rect", {
|
|
1340
1340
|
x: "2",
|
|
1341
1341
|
y: "3",
|
|
@@ -1368,7 +1368,7 @@ const Bo = { render: Ko }, Vo = {
|
|
|
1368
1368
|
"stroke-linejoin": "round"
|
|
1369
1369
|
};
|
|
1370
1370
|
function Fo(e, t) {
|
|
1371
|
-
return u(),
|
|
1371
|
+
return u(), x("svg", Vo, t[0] || (t[0] = [
|
|
1372
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),
|
|
1373
1373
|
d("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1374
1374
|
]));
|
|
@@ -1405,7 +1405,7 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1405
1405
|
},
|
|
1406
1406
|
gameLink: {
|
|
1407
1407
|
type: Function,
|
|
1408
|
-
default:
|
|
1408
|
+
default: X
|
|
1409
1409
|
},
|
|
1410
1410
|
target: {
|
|
1411
1411
|
type: String,
|
|
@@ -1414,34 +1414,34 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1414
1414
|
},
|
|
1415
1415
|
setup(e) {
|
|
1416
1416
|
const { t } = ce();
|
|
1417
|
-
return (r, a) => (u(),
|
|
1417
|
+
return (r, a) => (u(), x("div", {
|
|
1418
1418
|
class: R(["card-item", { "is-optional": e.game.optional }])
|
|
1419
1419
|
}, [
|
|
1420
1420
|
d("div", Ho, [
|
|
1421
1421
|
d("a", {
|
|
1422
1422
|
href: e.gameLink(e.game)
|
|
1423
1423
|
}, p(e.game.gameName), 9, Wo),
|
|
1424
|
-
|
|
1425
|
-
e.game.broadcast ? (u(),
|
|
1426
|
-
a[0] || (a[0] =
|
|
1427
|
-
|
|
1428
|
-
a[1] || (a[1] =
|
|
1424
|
+
Z(" - " + p(e.game.championshipName) + " - " + p(e.game.divisionName) + " - " + p(e.game.location.locationName) + " ", 1),
|
|
1425
|
+
e.game.broadcast ? (u(), x(j, { key: 0 }, [
|
|
1426
|
+
a[0] || (a[0] = Z(" - ")),
|
|
1427
|
+
$(n(Bo), { height: "16" }),
|
|
1428
|
+
a[1] || (a[1] = Z(" "))
|
|
1429
1429
|
], 64)) : E("", !0),
|
|
1430
|
-
e.game.video ? (u(),
|
|
1431
|
-
a[2] || (a[2] =
|
|
1430
|
+
e.game.video ? (u(), x(j, { key: 1 }, [
|
|
1431
|
+
a[2] || (a[2] = Z(" - ")),
|
|
1432
1432
|
d("a", {
|
|
1433
1433
|
href: e.game.video,
|
|
1434
1434
|
target: "_blank"
|
|
1435
1435
|
}, [
|
|
1436
|
-
|
|
1436
|
+
$(n(qo), { height: "18" })
|
|
1437
1437
|
], 8, Jo)
|
|
1438
1438
|
], 64)) : E("", !0)
|
|
1439
1439
|
]),
|
|
1440
|
-
d("div", Xo, p(
|
|
1440
|
+
d("div", Xo, p(n(Q)(e.game.gameDate, "L LT", null, e.locale)) + " (" + p(n(We)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1441
1441
|
d("div", Qo, [
|
|
1442
1442
|
d("span", Zo, p(e.game.homeTeam.shortName), 1),
|
|
1443
1443
|
d("span", ei, p(e.game.homeTeam.longName), 1),
|
|
1444
|
-
(u(), L(
|
|
1444
|
+
(u(), L(n(ue), {
|
|
1445
1445
|
key: e.game.homeTeam.id,
|
|
1446
1446
|
class: "is-logo-image",
|
|
1447
1447
|
src: e.game.homeTeam.logo
|
|
@@ -1450,20 +1450,20 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1450
1450
|
d("div", {
|
|
1451
1451
|
class: R(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1452
1452
|
}, [
|
|
1453
|
-
e.game.gameStatus === 0 ? (u(),
|
|
1453
|
+
e.game.gameStatus === 0 ? (u(), x("span", ti, " - : - ")) : E("", !0),
|
|
1454
1454
|
d("a", {
|
|
1455
1455
|
href: e.gameLink(e.game),
|
|
1456
1456
|
target: e.target
|
|
1457
1457
|
}, [
|
|
1458
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(),
|
|
1459
|
-
e.game.gameStatus === 3 ? (u(),
|
|
1460
|
-
e.game.gameStatus === 4 ? (u(),
|
|
1458
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), x("span", ai, p(e.game.homeTeamScore) + " : " + p(e.game.awayTeamScore), 1)) : E("", !0),
|
|
1459
|
+
e.game.gameStatus === 3 ? (u(), x("span", oi, p(n(t)("game.status.jury")), 1)) : E("", !0),
|
|
1460
|
+
e.game.gameStatus === 4 ? (u(), x("span", ii, p(n(t)("game.status.delayed")), 1)) : E("", !0)
|
|
1461
1461
|
], 8, ri),
|
|
1462
|
-
e.game.gameStatus > 0 ? (u(),
|
|
1462
|
+
e.game.gameStatus > 0 ? (u(), x("div", ni, p(e.game.periodResults), 1)) : E("", !0)
|
|
1463
1463
|
], 2),
|
|
1464
1464
|
d("div", si, [
|
|
1465
|
-
Array.isArray(e.game.awayTeam) ? (u(),
|
|
1466
|
-
(u(), L(
|
|
1465
|
+
Array.isArray(e.game.awayTeam) ? (u(), x("span", li, "Torna")) : E("", !0),
|
|
1466
|
+
(u(), L(n(ue), {
|
|
1467
1467
|
key: e.game.awayTeam.id,
|
|
1468
1468
|
class: "is-logo-image",
|
|
1469
1469
|
src: e.game.awayTeam.logo
|
|
@@ -1473,7 +1473,7 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1473
1473
|
])
|
|
1474
1474
|
], 2));
|
|
1475
1475
|
}
|
|
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-100);--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}", at = ".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) => {
|
|
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-100);--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}", rt = ".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) => {
|
|
1477
1477
|
const r = e.__vccOpts || e;
|
|
1478
1478
|
for (const [a, o] of t)
|
|
1479
1479
|
r[a] = o;
|
|
@@ -1499,76 +1499,76 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1499
1499
|
type: String,
|
|
1500
1500
|
default: ""
|
|
1501
1501
|
},
|
|
1502
|
-
...
|
|
1502
|
+
...ar
|
|
1503
1503
|
},
|
|
1504
1504
|
setup(e) {
|
|
1505
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
1506
|
-
return (
|
|
1505
|
+
const t = e, r = { en: be, hu: he }, a = V(Je()), o = N(() => t.isGameTargetExternal ? "_blank" : "_self"), i = (s) => Xe(t.externalGameResolver || "/game/id/{id}", s);
|
|
1506
|
+
return (s, l) => (u(), L(n(ve), {
|
|
1507
1507
|
locale: t.locale,
|
|
1508
1508
|
messages: r
|
|
1509
1509
|
}, {
|
|
1510
1510
|
default: T(({ t: c }) => [
|
|
1511
|
-
|
|
1511
|
+
$(n(Le), null, {
|
|
1512
1512
|
default: T(({ error: g, hasError: m }) => [
|
|
1513
|
-
m ? (u(), L(
|
|
1513
|
+
m ? (u(), L(n($e), {
|
|
1514
1514
|
key: 0,
|
|
1515
1515
|
error: g
|
|
1516
1516
|
}, null, 8, ["error"])) : E("", !0),
|
|
1517
|
-
|
|
1517
|
+
$(Uo, {
|
|
1518
1518
|
locale: t.locale,
|
|
1519
1519
|
timezone: a.value,
|
|
1520
1520
|
"season-id": e.seasonId,
|
|
1521
1521
|
"api-key": e.apiKey
|
|
1522
1522
|
}, {
|
|
1523
1523
|
default: T(({
|
|
1524
|
-
games:
|
|
1525
|
-
months:
|
|
1526
|
-
isLoading:
|
|
1524
|
+
games: b,
|
|
1525
|
+
months: w,
|
|
1526
|
+
isLoading: h,
|
|
1527
1527
|
selectedPanel: z,
|
|
1528
|
-
selectedMonth:
|
|
1529
|
-
more:
|
|
1530
|
-
setMonth:
|
|
1531
|
-
changePanel:
|
|
1528
|
+
selectedMonth: f,
|
|
1529
|
+
more: I,
|
|
1530
|
+
setMonth: k,
|
|
1531
|
+
changePanel: _
|
|
1532
1532
|
}) => [
|
|
1533
1533
|
d("div", mi, [
|
|
1534
1534
|
d("button", {
|
|
1535
|
-
class: R(["tab-button", { "is-active": z ===
|
|
1536
|
-
onClick: (
|
|
1535
|
+
class: R(["tab-button", { "is-active": z === n(ze) }]),
|
|
1536
|
+
onClick: (v) => _(n(ze))
|
|
1537
1537
|
}, p(c("calendar.gamesPlayed")), 11, pi),
|
|
1538
1538
|
d("button", {
|
|
1539
|
-
class: R(["tab-button", { "is-active": z ===
|
|
1540
|
-
onClick: (
|
|
1539
|
+
class: R(["tab-button", { "is-active": z === n(Ne) }]),
|
|
1540
|
+
onClick: (v) => _(n(Ne))
|
|
1541
1541
|
}, p(c("calendar.todaysGames")), 11, vi),
|
|
1542
1542
|
d("button", {
|
|
1543
|
-
class: R(["tab-button", { "is-active": z ===
|
|
1544
|
-
onClick: (
|
|
1543
|
+
class: R(["tab-button", { "is-active": z === n(Te) }]),
|
|
1544
|
+
onClick: (v) => _(n(Te))
|
|
1545
1545
|
}, p(c("calendar.nextGames")), 11, bi),
|
|
1546
1546
|
d("button", {
|
|
1547
|
-
class: R(["tab-button", { "is-active": z ===
|
|
1548
|
-
onClick: (
|
|
1547
|
+
class: R(["tab-button", { "is-active": z === n(Ke) }]),
|
|
1548
|
+
onClick: (v) => _(n(Ke))
|
|
1549
1549
|
}, p(c("calendar.weekGames")), 11, hi)
|
|
1550
1550
|
]),
|
|
1551
1551
|
d("div", fi, [
|
|
1552
|
-
(u(!0),
|
|
1553
|
-
key:
|
|
1552
|
+
(u(!0), x(j, null, F(w, (v) => (u(), x("button", {
|
|
1553
|
+
key: v.id,
|
|
1554
1554
|
type: "button",
|
|
1555
|
-
class: R({ "is-active":
|
|
1556
|
-
disabled:
|
|
1557
|
-
onClick: (y) =>
|
|
1558
|
-
}, p(
|
|
1555
|
+
class: R({ "is-active": f === v.id }),
|
|
1556
|
+
disabled: h,
|
|
1557
|
+
onClick: (y) => k(v)
|
|
1558
|
+
}, p(v.name), 11, yi))), 128))
|
|
1559
1559
|
]),
|
|
1560
|
-
|
|
1560
|
+
b.totalItems === 0 && !h ? (u(), x("div", wi, p(c("calendar.noGame")), 1)) : E("", !0),
|
|
1561
1561
|
d("div", null, [
|
|
1562
|
-
|
|
1563
|
-
(u(!0),
|
|
1562
|
+
h ? (u(), L(n(He), { key: 0 })) : E("", !0),
|
|
1563
|
+
(u(!0), x(j, null, F(b.rows, (v, y) => (u(), x("div", {
|
|
1564
1564
|
key: y,
|
|
1565
1565
|
"data-gamedate": y
|
|
1566
1566
|
}, [
|
|
1567
|
-
d("span", _i, p(
|
|
1567
|
+
d("span", _i, p(n(Q)(new Date(y), "LL dddd", a.value, e.locale)), 1),
|
|
1568
1568
|
d("div", ki, [
|
|
1569
|
-
(u(!0),
|
|
1570
|
-
key:
|
|
1571
|
-
game:
|
|
1569
|
+
(u(!0), x(j, null, F(v, (S) => (u(), L(gi, {
|
|
1570
|
+
key: S.id,
|
|
1571
|
+
game: S,
|
|
1572
1572
|
locale: e.locale,
|
|
1573
1573
|
timezone: a.value,
|
|
1574
1574
|
"game-link": i,
|
|
@@ -1577,13 +1577,13 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1577
1577
|
])
|
|
1578
1578
|
], 8, xi))), 128))
|
|
1579
1579
|
]),
|
|
1580
|
-
!
|
|
1580
|
+
!h && b.currentItems < b.totalItems ? (u(), L(n(qr), {
|
|
1581
1581
|
key: 1,
|
|
1582
1582
|
options: { rootMargin: "400px" },
|
|
1583
|
-
onIntersect:
|
|
1583
|
+
onIntersect: I
|
|
1584
1584
|
}, {
|
|
1585
1585
|
default: T(() => [
|
|
1586
|
-
d("button", { onClick:
|
|
1586
|
+
d("button", { onClick: I }, p(c("calendar.more")), 9, zi)
|
|
1587
1587
|
]),
|
|
1588
1588
|
_: 2
|
|
1589
1589
|
}, 1032, ["onIntersect"])) : E("", !0)
|
|
@@ -1597,16 +1597,16 @@ const qo = { render: Fo }, Ho = { class: "is-info is-text-sm" }, Wo = ["href"],
|
|
|
1597
1597
|
_: 1
|
|
1598
1598
|
}, 8, ["locale"]));
|
|
1599
1599
|
}
|
|
1600
|
-
}, $i = /* @__PURE__ */ ye(Si, [["styles", [fe,
|
|
1600
|
+
}, $i = /* @__PURE__ */ ye(Si, [["styles", [fe, rt, je, ui]]]), Ie = "schedule", lt = "standings", _e = "players", Ge = "teams";
|
|
1601
1601
|
function Ii(e, t, r = null) {
|
|
1602
|
-
var i,
|
|
1603
|
-
t.championships =
|
|
1604
|
-
const a =
|
|
1602
|
+
var i, s, l, c;
|
|
1603
|
+
t.championships = qe(le("sectionId"))(e), t.selectedChampionshipId = (s = (i = t.championships) == null ? void 0 : i[0]) == null ? void 0 : s.sectionId;
|
|
1604
|
+
const a = qe(le("phaseId"))(((l = e == null ? void 0 : e[0]) == null ? void 0 : l.phases) ?? []), o = a.findIndex((g) => g.phaseId === Number(r));
|
|
1605
1605
|
t.phaseId = o > -1 ? Number(r) : (c = a[0]) == null ? void 0 : c.phaseId;
|
|
1606
1606
|
}
|
|
1607
1607
|
const Ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1608
1608
|
api: "/v2/games-list",
|
|
1609
|
-
columns:
|
|
1609
|
+
columns: gr,
|
|
1610
1610
|
sort: {}
|
|
1611
1611
|
}).set("standings", {
|
|
1612
1612
|
api: "/v2/standings",
|
|
@@ -1656,7 +1656,7 @@ const Ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1656
1656
|
}).set("goalies", {
|
|
1657
1657
|
api: "/v2/players-goalie",
|
|
1658
1658
|
params: { more: !0 },
|
|
1659
|
-
columns:
|
|
1659
|
+
columns: Nt,
|
|
1660
1660
|
sort: {
|
|
1661
1661
|
sortTarget: "svsPercent",
|
|
1662
1662
|
orders: [{ target: "svsPercent", direction: te }]
|
|
@@ -1664,7 +1664,7 @@ const Ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1664
1664
|
}).set("goaliesunderlimit", {
|
|
1665
1665
|
api: "/v2/players-goalie",
|
|
1666
1666
|
params: { less: !0 },
|
|
1667
|
-
columns:
|
|
1667
|
+
columns: Nt,
|
|
1668
1668
|
sort: {
|
|
1669
1669
|
sortTarget: "svsPercent",
|
|
1670
1670
|
orders: [{ target: "svsPercent", direction: te }]
|
|
@@ -1698,7 +1698,7 @@ const Ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1698
1698
|
orders: [{ target: "sp", direction: te }]
|
|
1699
1699
|
}
|
|
1700
1700
|
});
|
|
1701
|
-
function
|
|
1701
|
+
function Vt(e) {
|
|
1702
1702
|
return [
|
|
1703
1703
|
{
|
|
1704
1704
|
name: e("report.points"),
|
|
@@ -1730,7 +1730,7 @@ function Ft(e) {
|
|
|
1730
1730
|
}
|
|
1731
1731
|
];
|
|
1732
1732
|
}
|
|
1733
|
-
function
|
|
1733
|
+
function Ft(e) {
|
|
1734
1734
|
return [
|
|
1735
1735
|
// {
|
|
1736
1736
|
// name: t('report.teamAttendance'),
|
|
@@ -1756,11 +1756,11 @@ function qt(e) {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
function Ni(e, t) {
|
|
1758
1758
|
if (e.length === 0)
|
|
1759
|
-
throw new
|
|
1760
|
-
t.seasons = Ti(e), t.championshipId || (t.championshipId =
|
|
1759
|
+
throw new lr(Ye.message, Ye.options);
|
|
1760
|
+
t.seasons = Ti(e), t.championshipId || (t.championshipId = J(t.seasons).championshipId);
|
|
1761
1761
|
}
|
|
1762
1762
|
function Ti(e) {
|
|
1763
|
-
return St(_r(
|
|
1763
|
+
return St(_r(yr(le("seasonName"))), zt($t(["championshipId", "seasonName"])))(e);
|
|
1764
1764
|
}
|
|
1765
1765
|
const Ei = {
|
|
1766
1766
|
__name: "DataProvider",
|
|
@@ -1795,7 +1795,7 @@ const Ei = {
|
|
|
1795
1795
|
}
|
|
1796
1796
|
},
|
|
1797
1797
|
setup(e) {
|
|
1798
|
-
const t = e, r =
|
|
1798
|
+
const t = e, r = mr("history"), a = ge({
|
|
1799
1799
|
loading: !1,
|
|
1800
1800
|
seasons: [],
|
|
1801
1801
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1807,13 +1807,13 @@ const Ei = {
|
|
|
1807
1807
|
selectedPanel: Ie,
|
|
1808
1808
|
api: "/v2/games-list",
|
|
1809
1809
|
apiParams: {},
|
|
1810
|
-
columns:
|
|
1810
|
+
columns: gr,
|
|
1811
1811
|
sort: null,
|
|
1812
1812
|
report: "points"
|
|
1813
|
-
}), o =
|
|
1813
|
+
}), o = Xt(t, "timezone"), { onError: i } = Pe(), { sort: s, change: l } = na({
|
|
1814
1814
|
sortTarget: "",
|
|
1815
1815
|
orders: []
|
|
1816
|
-
}), { page: c, change: g } =
|
|
1816
|
+
}), { page: c, change: g } = dr(), { t: m } = ce(), { isLoading: b, execute: w } = ee({
|
|
1817
1817
|
options: {
|
|
1818
1818
|
path: "/v2/championship-seasons",
|
|
1819
1819
|
apiKey: t.apiKey,
|
|
@@ -1821,7 +1821,7 @@ const Ei = {
|
|
|
1821
1821
|
},
|
|
1822
1822
|
transform: (A) => Ni(A, a),
|
|
1823
1823
|
onError: i
|
|
1824
|
-
}), { isLoading:
|
|
1824
|
+
}), { isLoading: h, execute: z } = ee({
|
|
1825
1825
|
options: {
|
|
1826
1826
|
path: "/v2/championship-sections",
|
|
1827
1827
|
apiKey: t.apiKey,
|
|
@@ -1830,73 +1830,73 @@ const Ei = {
|
|
|
1830
1830
|
transform: (A) => Ii(A, a, t.initialPhaseId),
|
|
1831
1831
|
onError: i
|
|
1832
1832
|
}), {
|
|
1833
|
-
isLoading:
|
|
1834
|
-
state:
|
|
1835
|
-
execute:
|
|
1836
|
-
} =
|
|
1833
|
+
isLoading: f,
|
|
1834
|
+
state: I,
|
|
1835
|
+
execute: k
|
|
1836
|
+
} = ee({
|
|
1837
1837
|
options: {
|
|
1838
1838
|
path: N(() => a.api),
|
|
1839
1839
|
apiKey: t.apiKey,
|
|
1840
1840
|
resetOnExecute: !0,
|
|
1841
1841
|
params: N(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1842
1842
|
},
|
|
1843
|
-
transform: (A) =>
|
|
1843
|
+
transform: (A) => cr(A),
|
|
1844
1844
|
onError: i
|
|
1845
|
-
}),
|
|
1846
|
-
Se([
|
|
1847
|
-
const
|
|
1848
|
-
() => a.selectedPanel === _e ?
|
|
1845
|
+
}), _ = sa([h, b, f], { delay: 1e3 });
|
|
1846
|
+
Se([w, z, k]);
|
|
1847
|
+
const v = N(
|
|
1848
|
+
() => a.selectedPanel === _e ? Vt(m) : Ft(m)
|
|
1849
1849
|
), y = N(() => {
|
|
1850
1850
|
const A = a.championships.find((G) => G.sectionId === a.selectedChampionshipId);
|
|
1851
|
-
return Xr(
|
|
1852
|
-
}),
|
|
1851
|
+
return Xr(qe(le("phaseId"))((A == null ? void 0 : A.phases) ?? []));
|
|
1852
|
+
}), S = N(() => a.selectedPanel === Ie ? 0 : t.limit), D = N(
|
|
1853
1853
|
() => Qr(
|
|
1854
|
-
|
|
1854
|
+
I.value,
|
|
1855
1855
|
Zr,
|
|
1856
1856
|
ea,
|
|
1857
1857
|
ta,
|
|
1858
1858
|
ra(["mip"]),
|
|
1859
1859
|
aa(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1860
1860
|
)
|
|
1861
|
-
),
|
|
1862
|
-
function
|
|
1863
|
-
a.championshipId = A, r.championshipId = A, Se([z,
|
|
1861
|
+
), C = N(() => De(n(D)).sorted(s).addContinuousIndex().schedule(n(o), n(t.locale)).pagination(n(c), S.value).value());
|
|
1862
|
+
function O(A) {
|
|
1863
|
+
a.championshipId = A, r.championshipId = A, Se([z, k]);
|
|
1864
1864
|
}
|
|
1865
1865
|
function P(A) {
|
|
1866
1866
|
var G;
|
|
1867
|
-
a.selectedChampionshipId = A, a.phaseId = ((G = y.value[0]) == null ? void 0 : G.phaseId) ?? null,
|
|
1867
|
+
a.selectedChampionshipId = A, a.phaseId = ((G = y.value[0]) == null ? void 0 : G.phaseId) ?? null, k();
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1870
|
-
a.phaseId = A,
|
|
1869
|
+
function Y(A) {
|
|
1870
|
+
a.phaseId = A, k();
|
|
1871
1871
|
}
|
|
1872
1872
|
function de(A) {
|
|
1873
|
-
var se,
|
|
1873
|
+
var se, H;
|
|
1874
1874
|
a.selectedPanel = A;
|
|
1875
1875
|
let G = A;
|
|
1876
|
-
A === _e && (G = (se =
|
|
1876
|
+
A === _e && (G = (se = J(Vt(X))) == null ? void 0 : se.value), A === Ge && (G = (H = J(Ft(X))) == null ? void 0 : H.value), a.report = G, q(G);
|
|
1877
1877
|
}
|
|
1878
1878
|
function oe(A) {
|
|
1879
|
-
|
|
1879
|
+
q(A);
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1882
|
-
var se,
|
|
1881
|
+
function q(A) {
|
|
1882
|
+
var se, H;
|
|
1883
1883
|
const G = Ci.get(A);
|
|
1884
|
-
a.api = G.api, a.apiParams = G.params, a.columns = G.columns,
|
|
1884
|
+
a.api = G.api, a.apiParams = G.params, a.columns = G.columns, s.sortTarget = ((se = G.sort) == null ? void 0 : se.sortTarget) ?? "", s.orders = ((H = G.sort) == null ? void 0 : H.orders) ?? [], k(), g(1);
|
|
1885
1885
|
}
|
|
1886
1886
|
return (A, G) => we(A.$slots, "default", Ee(Ae({
|
|
1887
1887
|
...a,
|
|
1888
|
-
sort: s
|
|
1889
|
-
page:
|
|
1888
|
+
sort: n(s),
|
|
1889
|
+
page: n(c),
|
|
1890
1890
|
phases: y.value,
|
|
1891
|
-
isLoading:
|
|
1892
|
-
games:
|
|
1893
|
-
reports:
|
|
1894
|
-
onSort:
|
|
1891
|
+
isLoading: n(_),
|
|
1892
|
+
games: C.value,
|
|
1893
|
+
reports: v.value,
|
|
1894
|
+
onSort: n(l),
|
|
1895
1895
|
changePanel: de,
|
|
1896
|
-
changePhase:
|
|
1897
|
-
changeSeason:
|
|
1896
|
+
changePhase: Y,
|
|
1897
|
+
changeSeason: O,
|
|
1898
1898
|
onChangeReport: oe,
|
|
1899
|
-
onPaginatorChange:
|
|
1899
|
+
onPaginatorChange: n(g),
|
|
1900
1900
|
changeChampionship: P
|
|
1901
1901
|
})));
|
|
1902
1902
|
}
|
|
@@ -1918,16 +1918,16 @@ const Ei = {
|
|
|
1918
1918
|
emits: ["update:championshipId"],
|
|
1919
1919
|
setup(e, { emit: t }) {
|
|
1920
1920
|
const r = e, a = t, { t: o } = ce(), { championshipId: i } = xt(r, a);
|
|
1921
|
-
return (
|
|
1921
|
+
return (s, l) => (u(), x("div", Ai, [
|
|
1922
1922
|
d("div", null, [
|
|
1923
|
-
d("label", Li, p(
|
|
1924
|
-
|
|
1923
|
+
d("label", Li, p(n(o)("selection.season")), 1),
|
|
1924
|
+
$(n(ke), {
|
|
1925
1925
|
id: "season",
|
|
1926
|
-
modelValue:
|
|
1926
|
+
modelValue: n(i),
|
|
1927
1927
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => me(i) ? i.value = c : null)
|
|
1928
1928
|
}, {
|
|
1929
1929
|
default: T(() => [
|
|
1930
|
-
(u(!0),
|
|
1930
|
+
(u(!0), x(j, null, F(e.seasons, (c) => (u(), x("option", {
|
|
1931
1931
|
key: c.championshipId,
|
|
1932
1932
|
value: c.championshipId
|
|
1933
1933
|
}, p(c.seasonName), 9, Di))), 128))
|
|
@@ -1975,19 +1975,19 @@ const Ei = {
|
|
|
1975
1975
|
},
|
|
1976
1976
|
emits: ["update:phaseId", "update:report"],
|
|
1977
1977
|
setup(e, { emit: t }) {
|
|
1978
|
-
const r = e, a = t, { t: o } = ce(), { phaseId: i, report:
|
|
1979
|
-
return (l, c) => (u(),
|
|
1978
|
+
const r = e, a = t, { t: o } = ce(), { phaseId: i, report: s } = xt(r, a);
|
|
1979
|
+
return (l, c) => (u(), x("div", Mi, [
|
|
1980
1980
|
d("div", null, [
|
|
1981
|
-
d("label", ji, p(
|
|
1982
|
-
|
|
1981
|
+
d("label", ji, p(n(o)("selection.phases")), 1),
|
|
1982
|
+
$(n(ke), {
|
|
1983
1983
|
id: "phases",
|
|
1984
|
-
modelValue:
|
|
1984
|
+
modelValue: n(i),
|
|
1985
1985
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => me(i) ? i.value = g : null),
|
|
1986
|
-
disabled:
|
|
1986
|
+
disabled: n(i) === null
|
|
1987
1987
|
}, {
|
|
1988
1988
|
default: T(() => [
|
|
1989
|
-
|
|
1990
|
-
(u(!0),
|
|
1989
|
+
n(i) === null ? (u(), x("option", Oi, p(n(o)("selection.noPhases")), 1)) : E("", !0),
|
|
1990
|
+
(u(!0), x(j, null, F(e.phases, (g) => (u(), x("option", {
|
|
1991
1991
|
key: g.phaseId,
|
|
1992
1992
|
value: g.phaseId
|
|
1993
1993
|
}, p(g.phaseName), 9, Ri))), 128))
|
|
@@ -1995,15 +1995,15 @@ const Ei = {
|
|
|
1995
1995
|
_: 1
|
|
1996
1996
|
}, 8, ["modelValue", "disabled"])
|
|
1997
1997
|
]),
|
|
1998
|
-
e.isReportsVisible ? (u(),
|
|
1999
|
-
d("label", Ui, p(
|
|
2000
|
-
|
|
1998
|
+
e.isReportsVisible ? (u(), x("div", Gi, [
|
|
1999
|
+
d("label", Ui, p(n(o)("selection.report")), 1),
|
|
2000
|
+
$(n(ke), {
|
|
2001
2001
|
id: "report",
|
|
2002
|
-
modelValue: s
|
|
2003
|
-
"onUpdate:modelValue": c[1] || (c[1] = (g) => me(
|
|
2002
|
+
modelValue: n(s),
|
|
2003
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => me(s) ? s.value = g : null)
|
|
2004
2004
|
}, {
|
|
2005
2005
|
default: T(() => [
|
|
2006
|
-
(u(!0),
|
|
2006
|
+
(u(!0), x(j, null, F(e.reports, ({ value: g, name: m }) => (u(), x("option", {
|
|
2007
2007
|
key: g,
|
|
2008
2008
|
value: g
|
|
2009
2009
|
}, p(m), 9, Yi))), 128))
|
|
@@ -2046,20 +2046,20 @@ const Ei = {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
},
|
|
2048
2048
|
setup(e) {
|
|
2049
|
-
const t = e, r =
|
|
2050
|
-
return (c, g) => (u(),
|
|
2051
|
-
|
|
2049
|
+
const t = e, r = V(null), a = V(Je()), o = N(() => We(/* @__PURE__ */ new Date(), n(a), t.locale)), i = { en: be, hu: he }, s = (c) => Xe(t.externalGameResolver, c), l = (c) => oa(t.externalTeamResolver, c);
|
|
2050
|
+
return (c, g) => (u(), x("div", null, [
|
|
2051
|
+
$(n(ve), {
|
|
2052
2052
|
locale: t.locale,
|
|
2053
2053
|
messages: i
|
|
2054
2054
|
}, {
|
|
2055
2055
|
default: T(({ t: m }) => [
|
|
2056
|
-
|
|
2057
|
-
default: T(({ error:
|
|
2058
|
-
|
|
2056
|
+
$(n(Le), null, {
|
|
2057
|
+
default: T(({ error: b, hasError: w }) => [
|
|
2058
|
+
w ? (u(), L(n($e), {
|
|
2059
2059
|
key: 0,
|
|
2060
|
-
error:
|
|
2060
|
+
error: b
|
|
2061
2061
|
}, null, 8, ["error"])) : E("", !0),
|
|
2062
|
-
|
|
2062
|
+
$(Ei, {
|
|
2063
2063
|
locale: e.locale,
|
|
2064
2064
|
timezone: a.value,
|
|
2065
2065
|
"championship-name": e.championshipName,
|
|
@@ -2067,94 +2067,94 @@ const Ei = {
|
|
|
2067
2067
|
"initial-phase-id": e.initialPhaseId
|
|
2068
2068
|
}, {
|
|
2069
2069
|
default: T(({
|
|
2070
|
-
sort:
|
|
2070
|
+
sort: h,
|
|
2071
2071
|
page: z,
|
|
2072
|
-
games:
|
|
2073
|
-
phases:
|
|
2074
|
-
report:
|
|
2075
|
-
phaseId:
|
|
2076
|
-
columns:
|
|
2072
|
+
games: f,
|
|
2073
|
+
phases: I,
|
|
2074
|
+
report: k,
|
|
2075
|
+
phaseId: _,
|
|
2076
|
+
columns: v,
|
|
2077
2077
|
seasons: y,
|
|
2078
|
-
reports:
|
|
2078
|
+
reports: S,
|
|
2079
2079
|
isLoading: D,
|
|
2080
|
-
selectedPanel:
|
|
2081
|
-
championships:
|
|
2080
|
+
selectedPanel: C,
|
|
2081
|
+
championships: O,
|
|
2082
2082
|
championshipId: P,
|
|
2083
|
-
selectedChampionshipId:
|
|
2083
|
+
selectedChampionshipId: Y,
|
|
2084
2084
|
onSort: de,
|
|
2085
2085
|
changePanel: oe,
|
|
2086
|
-
changePhase:
|
|
2086
|
+
changePhase: q,
|
|
2087
2087
|
changeSeason: A,
|
|
2088
2088
|
onChangeReport: G,
|
|
2089
2089
|
onPaginatorChange: se,
|
|
2090
|
-
changeChampionship:
|
|
2090
|
+
changeChampionship: H
|
|
2091
2091
|
}) => [
|
|
2092
|
-
|
|
2092
|
+
$(Pi, {
|
|
2093
2093
|
seasons: y,
|
|
2094
2094
|
"championship-id": P,
|
|
2095
2095
|
"onUpdate:championshipId": A
|
|
2096
2096
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2097
2097
|
d("div", Fi, [
|
|
2098
|
-
(u(!0),
|
|
2098
|
+
(u(!0), x(j, null, F(O, (ie) => (u(), x("button", {
|
|
2099
2099
|
key: ie.phaseId,
|
|
2100
|
-
class: R(["tab-button", { "is-active": ie.sectionId ===
|
|
2101
|
-
onClick: (
|
|
2100
|
+
class: R(["tab-button", { "is-active": ie.sectionId === Y }]),
|
|
2101
|
+
onClick: (at) => H(ie.sectionId)
|
|
2102
2102
|
}, p(ie.sectionName), 11, qi))), 128))
|
|
2103
2103
|
]),
|
|
2104
|
-
|
|
2105
|
-
phases:
|
|
2106
|
-
"phase-id":
|
|
2107
|
-
reports:
|
|
2108
|
-
report:
|
|
2109
|
-
"is-reports-visible":
|
|
2110
|
-
"onUpdate:phaseId":
|
|
2104
|
+
$(Ki, {
|
|
2105
|
+
phases: I,
|
|
2106
|
+
"phase-id": _,
|
|
2107
|
+
reports: S,
|
|
2108
|
+
report: k,
|
|
2109
|
+
"is-reports-visible": C === n(_e) || C === n(Ge),
|
|
2110
|
+
"onUpdate:phaseId": q,
|
|
2111
2111
|
"onUpdate:report": G
|
|
2112
2112
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2113
2113
|
d("div", Hi, [
|
|
2114
2114
|
d("button", {
|
|
2115
|
-
class: R(["tab-button", { "is-active":
|
|
2116
|
-
onClick: (ie) => oe(
|
|
2115
|
+
class: R(["tab-button", { "is-active": C === n(Ie) }]),
|
|
2116
|
+
onClick: (ie) => oe(n(Ie))
|
|
2117
2117
|
}, p(m("selection.schedule")), 11, Wi),
|
|
2118
2118
|
d("button", {
|
|
2119
|
-
class: R(["tab-button", { "is-active":
|
|
2120
|
-
onClick: (ie) => oe(
|
|
2119
|
+
class: R(["tab-button", { "is-active": C === n(lt) }]),
|
|
2120
|
+
onClick: (ie) => oe(n(lt))
|
|
2121
2121
|
}, p(m("selection.standings")), 11, Ji),
|
|
2122
2122
|
d("button", {
|
|
2123
|
-
class: R(["tab-button", { "is-active":
|
|
2124
|
-
onClick: (ie) => oe(
|
|
2123
|
+
class: R(["tab-button", { "is-active": C === n(_e) }]),
|
|
2124
|
+
onClick: (ie) => oe(n(_e))
|
|
2125
2125
|
}, p(m("selection.playerStats")), 11, Xi),
|
|
2126
2126
|
d("button", {
|
|
2127
|
-
class: R(["tab-button", { "is-active":
|
|
2128
|
-
onClick: (ie) => oe(
|
|
2127
|
+
class: R(["tab-button", { "is-active": C === n(Ge) }]),
|
|
2128
|
+
onClick: (ie) => oe(n(Ge))
|
|
2129
2129
|
}, p(m("selection.teamStats")), 11, Qi)
|
|
2130
2130
|
]),
|
|
2131
|
-
|
|
2132
|
-
columns:
|
|
2133
|
-
rows:
|
|
2134
|
-
sort:
|
|
2131
|
+
$(n(or), {
|
|
2132
|
+
columns: v,
|
|
2133
|
+
rows: f.rows,
|
|
2134
|
+
sort: h,
|
|
2135
2135
|
"is-loading": D,
|
|
2136
2136
|
"offset-name": o.value,
|
|
2137
2137
|
"external-team-resolver": l,
|
|
2138
|
-
"external-game-resolver":
|
|
2138
|
+
"external-game-resolver": s,
|
|
2139
2139
|
"append-to": r.value,
|
|
2140
|
-
"hide-columns":
|
|
2140
|
+
"hide-columns": C === n(Ie) ? "broadcast" : "",
|
|
2141
2141
|
onSort: de
|
|
2142
2142
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2143
|
-
|
|
2143
|
+
C === n(_e) ? (u(), L(n(ir), {
|
|
2144
2144
|
key: 0,
|
|
2145
2145
|
page: z,
|
|
2146
2146
|
"items-per-page": t.limit,
|
|
2147
|
-
"total-items":
|
|
2147
|
+
"total-items": f.totalItems,
|
|
2148
2148
|
"range-length": 5,
|
|
2149
2149
|
onChange: se
|
|
2150
2150
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : E("", !0),
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
rows:
|
|
2151
|
+
C === n(lt) ? (u(), x(j, { key: 1 }, [
|
|
2152
|
+
$(n(Ue), {
|
|
2153
|
+
rows: f.rows,
|
|
2154
2154
|
"additional-key": "inheritedPoints"
|
|
2155
2155
|
}, null, 8, ["rows"]),
|
|
2156
|
-
|
|
2157
|
-
rows:
|
|
2156
|
+
$(n(Ue), {
|
|
2157
|
+
rows: f.rows,
|
|
2158
2158
|
"additional-key": "penaltyPoints"
|
|
2159
2159
|
}, null, 8, ["rows"])
|
|
2160
2160
|
], 64)) : E("", !0)
|
|
@@ -2173,20 +2173,20 @@ const Ei = {
|
|
|
2173
2173
|
}, 8, ["locale"])
|
|
2174
2174
|
]));
|
|
2175
2175
|
}
|
|
2176
|
-
}, en = /* @__PURE__ */ ye(Zi, [["styles", [fe,
|
|
2177
|
-
function tn(e, t =
|
|
2178
|
-
const r =
|
|
2176
|
+
}, en = /* @__PURE__ */ ye(Zi, [["styles", [fe, rt, je, kr, zr, Sr, $r, Bi, Vi]]]);
|
|
2177
|
+
function tn(e, t = X) {
|
|
2178
|
+
const r = V({
|
|
2179
2179
|
days: "00",
|
|
2180
2180
|
hours: "00",
|
|
2181
2181
|
minutes: "00",
|
|
2182
2182
|
seconds: "00"
|
|
2183
|
-
}), a = re(!1), o = re(null), { pause: i, resume:
|
|
2183
|
+
}), a = re(!1), o = re(null), { pause: i, resume: s } = Be(() => {
|
|
2184
2184
|
const l = (/* @__PURE__ */ new Date()).getTime();
|
|
2185
2185
|
let c = o.value - l;
|
|
2186
2186
|
c <= 0 && (i(), c = 0, a.value = !0, t()), r.value = rn(c);
|
|
2187
2187
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
2188
2188
|
return ne(() => U(e), (l) => {
|
|
2189
|
-
o.value = new Date(l).getTime(),
|
|
2189
|
+
o.value = new Date(l).getTime(), s();
|
|
2190
2190
|
}, { immediate: !1 }), { date: r, finished: a };
|
|
2191
2191
|
}
|
|
2192
2192
|
function rn(e) {
|
|
@@ -2207,15 +2207,15 @@ const an = ["data-number"], ae = {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
},
|
|
2209
2209
|
setup(e) {
|
|
2210
|
-
return (t, r) => (u(),
|
|
2210
|
+
return (t, r) => (u(), x("div", {
|
|
2211
2211
|
class: "is-number",
|
|
2212
2212
|
"data-number": e.number
|
|
2213
2213
|
}, [
|
|
2214
|
-
|
|
2214
|
+
$(Zt, {
|
|
2215
2215
|
name: `slide-${e.direction}`
|
|
2216
2216
|
}, {
|
|
2217
2217
|
default: T(() => [
|
|
2218
|
-
(u(),
|
|
2218
|
+
(u(), x("span", { key: e.number }, p(e.number), 1))
|
|
2219
2219
|
]),
|
|
2220
2220
|
_: 1
|
|
2221
2221
|
}, 8, ["name"])
|
|
@@ -2237,14 +2237,14 @@ const an = ["data-number"], ae = {
|
|
|
2237
2237
|
default: ""
|
|
2238
2238
|
},
|
|
2239
2239
|
// externalGameResolver, isGameTargetExternal
|
|
2240
|
-
...
|
|
2240
|
+
...ar
|
|
2241
2241
|
},
|
|
2242
2242
|
setup(e) {
|
|
2243
2243
|
const t = e, r = { en: be, hu: he }, {
|
|
2244
2244
|
state: a,
|
|
2245
2245
|
execute: o,
|
|
2246
2246
|
isLoading: i
|
|
2247
|
-
} =
|
|
2247
|
+
} = ee({
|
|
2248
2248
|
options: {
|
|
2249
2249
|
path: "/v2/game-data",
|
|
2250
2250
|
apiKey: t.apiKey,
|
|
@@ -2255,128 +2255,128 @@ const an = ["data-number"], ae = {
|
|
|
2255
2255
|
},
|
|
2256
2256
|
onSuccess: z
|
|
2257
2257
|
// onError,
|
|
2258
|
-
}), { pause:
|
|
2258
|
+
}), { pause: s, resume: l } = Be(() => {
|
|
2259
2259
|
o();
|
|
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:
|
|
2261
|
-
function z(
|
|
2262
|
-
|
|
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: b } = tn(N(() => a.value.gameDate), () => l()), w = N(() => Xe(t.externalGameResolver, { gameId: t.gameId })), h = N(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2261
|
+
function z(f) {
|
|
2262
|
+
f.gameStatus === 1 && l(), f.gameStatus > 1 && s();
|
|
2263
2263
|
}
|
|
2264
|
-
return (
|
|
2264
|
+
return (f, I) => (u(), L(n(ve), {
|
|
2265
2265
|
locale: e.locale,
|
|
2266
2266
|
messages: r
|
|
2267
2267
|
}, {
|
|
2268
|
-
default: T(({ t:
|
|
2269
|
-
var
|
|
2268
|
+
default: T(({ t: k }) => {
|
|
2269
|
+
var _, v, y, S;
|
|
2270
2270
|
return [
|
|
2271
2271
|
d("a", {
|
|
2272
|
-
href:
|
|
2273
|
-
target:
|
|
2272
|
+
href: w.value,
|
|
2273
|
+
target: h.value,
|
|
2274
2274
|
class: "game-countdown"
|
|
2275
2275
|
}, [
|
|
2276
2276
|
d("div", ln, [
|
|
2277
|
-
|
|
2278
|
-
|
|
2277
|
+
n(vt)(n(a)) ? E("", !0) : (u(), x(j, { key: 0 }, [
|
|
2278
|
+
Z(p(n(a).championshipName) + " - " + p(n(a).divisionName), 1)
|
|
2279
2279
|
], 64))
|
|
2280
2280
|
]),
|
|
2281
2281
|
d("div", cn, [
|
|
2282
2282
|
d("div", {
|
|
2283
|
-
class: R(["game-countdown-result", { "is-visible":
|
|
2283
|
+
class: R(["game-countdown-result", { "is-visible": n(b) }])
|
|
2284
2284
|
}, [
|
|
2285
2285
|
d("div", {
|
|
2286
2286
|
class: "is-period",
|
|
2287
|
-
textContent: p(
|
|
2287
|
+
textContent: p(k(n(a).period ? `game.period.${n(a).period}` : ""))
|
|
2288
2288
|
}, null, 8, dn),
|
|
2289
2289
|
d("div", {
|
|
2290
|
-
class: R(["is-home-score", { "is-live":
|
|
2290
|
+
class: R(["is-home-score", { "is-live": n(a).gameStatus === 1 }]),
|
|
2291
2291
|
style: { display: "flex" }
|
|
2292
2292
|
}, [
|
|
2293
2293
|
c.value[0] !== "0" ? (u(), L(ae, {
|
|
2294
2294
|
key: 0,
|
|
2295
2295
|
number: c.value[0]
|
|
2296
2296
|
}, null, 8, ["number"])) : E("", !0),
|
|
2297
|
-
|
|
2297
|
+
$(ae, {
|
|
2298
2298
|
number: c.value[1]
|
|
2299
2299
|
}, null, 8, ["number"])
|
|
2300
2300
|
], 2),
|
|
2301
2301
|
d("span", {
|
|
2302
|
-
class: R(["is-separator", { "is-live":
|
|
2302
|
+
class: R(["is-separator", { "is-live": n(a).gameStatus === 1 }])
|
|
2303
2303
|
}, ":", 2),
|
|
2304
2304
|
d("div", {
|
|
2305
|
-
class: R(["is-away-score", { "is-live":
|
|
2305
|
+
class: R(["is-away-score", { "is-live": n(a).gameStatus === 1 }]),
|
|
2306
2306
|
style: { display: "flex" }
|
|
2307
2307
|
}, [
|
|
2308
2308
|
g.value[0] !== "0" ? (u(), L(ae, {
|
|
2309
2309
|
key: 0,
|
|
2310
2310
|
number: g.value[0]
|
|
2311
2311
|
}, null, 8, ["number"])) : E("", !0),
|
|
2312
|
-
|
|
2312
|
+
$(ae, {
|
|
2313
2313
|
number: g.value[1]
|
|
2314
2314
|
}, null, 8, ["number"])
|
|
2315
2315
|
], 2),
|
|
2316
2316
|
d("div", {
|
|
2317
2317
|
class: "is-period-results",
|
|
2318
|
-
textContent: p(
|
|
2318
|
+
textContent: p(n(a).periodResults)
|
|
2319
2319
|
}, null, 8, gn)
|
|
2320
2320
|
], 2),
|
|
2321
2321
|
d("div", {
|
|
2322
|
-
class: R(["game-countdown-counter", { "is-visible": !
|
|
2322
|
+
class: R(["game-countdown-counter", { "is-visible": !n(b) && !n(i) }])
|
|
2323
2323
|
}, [
|
|
2324
2324
|
d("div", null, [
|
|
2325
2325
|
d("div", {
|
|
2326
|
-
textContent: p(
|
|
2326
|
+
textContent: p(k("countdown.days"))
|
|
2327
2327
|
}, null, 8, un),
|
|
2328
2328
|
d("div", mn, [
|
|
2329
|
-
|
|
2330
|
-
number:
|
|
2329
|
+
$(ae, {
|
|
2330
|
+
number: n(m).days[0],
|
|
2331
2331
|
direction: "decrease"
|
|
2332
2332
|
}, null, 8, ["number"]),
|
|
2333
|
-
|
|
2334
|
-
number:
|
|
2333
|
+
$(ae, {
|
|
2334
|
+
number: n(m).days[1],
|
|
2335
2335
|
direction: "decrease"
|
|
2336
2336
|
}, null, 8, ["number"])
|
|
2337
2337
|
])
|
|
2338
2338
|
]),
|
|
2339
2339
|
d("div", null, [
|
|
2340
2340
|
d("div", {
|
|
2341
|
-
textContent: p(
|
|
2341
|
+
textContent: p(k("countdown.hours"))
|
|
2342
2342
|
}, null, 8, pn),
|
|
2343
2343
|
d("div", vn, [
|
|
2344
|
-
|
|
2345
|
-
number:
|
|
2344
|
+
$(ae, {
|
|
2345
|
+
number: n(m).hours[0],
|
|
2346
2346
|
direction: "decrease"
|
|
2347
2347
|
}, null, 8, ["number"]),
|
|
2348
|
-
|
|
2349
|
-
number:
|
|
2348
|
+
$(ae, {
|
|
2349
|
+
number: n(m).hours[1],
|
|
2350
2350
|
direction: "decrease"
|
|
2351
2351
|
}, null, 8, ["number"])
|
|
2352
2352
|
])
|
|
2353
2353
|
]),
|
|
2354
2354
|
d("div", null, [
|
|
2355
2355
|
d("div", {
|
|
2356
|
-
textContent: p(
|
|
2356
|
+
textContent: p(k("countdown.minutes"))
|
|
2357
2357
|
}, null, 8, bn),
|
|
2358
2358
|
d("div", hn, [
|
|
2359
|
-
|
|
2360
|
-
number:
|
|
2359
|
+
$(ae, {
|
|
2360
|
+
number: n(m).minutes[0],
|
|
2361
2361
|
direction: "decrease"
|
|
2362
2362
|
}, null, 8, ["number"]),
|
|
2363
|
-
|
|
2364
|
-
number:
|
|
2363
|
+
$(ae, {
|
|
2364
|
+
number: n(m).minutes[1],
|
|
2365
2365
|
direction: "decrease"
|
|
2366
2366
|
}, null, 8, ["number"])
|
|
2367
2367
|
])
|
|
2368
2368
|
]),
|
|
2369
2369
|
d("div", null, [
|
|
2370
2370
|
d("div", {
|
|
2371
|
-
textContent: p(
|
|
2371
|
+
textContent: p(k("countdown.seconds"))
|
|
2372
2372
|
}, null, 8, fn),
|
|
2373
2373
|
d("div", yn, [
|
|
2374
|
-
|
|
2375
|
-
number:
|
|
2374
|
+
$(ae, {
|
|
2375
|
+
number: n(m).seconds[0],
|
|
2376
2376
|
direction: "decrease"
|
|
2377
2377
|
}, null, 8, ["number"]),
|
|
2378
|
-
|
|
2379
|
-
number:
|
|
2378
|
+
$(ae, {
|
|
2379
|
+
number: n(m).seconds[1],
|
|
2380
2380
|
direction: "decrease"
|
|
2381
2381
|
}, null, 8, ["number"])
|
|
2382
2382
|
])
|
|
@@ -2384,19 +2384,19 @@ const an = ["data-number"], ae = {
|
|
|
2384
2384
|
], 2)
|
|
2385
2385
|
]),
|
|
2386
2386
|
d("div", wn, [
|
|
2387
|
-
d("div", xn, p(
|
|
2388
|
-
(
|
|
2387
|
+
d("div", xn, p(n(Q)(n(a).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2388
|
+
(_ = n(a).homeTeam) != null && _.logo ? (u(), L(n(ue), {
|
|
2389
2389
|
key: 0,
|
|
2390
2390
|
class: "is-home-team-logo",
|
|
2391
|
-
src:
|
|
2391
|
+
src: n(a).homeTeam.logo
|
|
2392
2392
|
}, null, 8, ["src"])) : E("", !0),
|
|
2393
|
-
d("span", _n, p((
|
|
2394
|
-
|
|
2395
|
-
d("span", kn, p((y =
|
|
2396
|
-
(
|
|
2393
|
+
d("span", _n, p((v = n(a).homeTeam) == null ? void 0 : v.longName), 1),
|
|
2394
|
+
I[0] || (I[0] = d("span", { class: "is-separator" }, "-", -1)),
|
|
2395
|
+
d("span", kn, p((y = n(a).awayTeam) == null ? void 0 : y.longName), 1),
|
|
2396
|
+
(S = n(a).awayTeam) != null && S.logo ? (u(), L(n(ue), {
|
|
2397
2397
|
key: 1,
|
|
2398
2398
|
class: "is-away-team-logo",
|
|
2399
|
-
src:
|
|
2399
|
+
src: n(a).awayTeam.logo
|
|
2400
2400
|
}, null, 8, ["src"])) : E("", !0)
|
|
2401
2401
|
])
|
|
2402
2402
|
], 8, sn)
|
|
@@ -2415,7 +2415,7 @@ const an = ["data-number"], ae = {
|
|
|
2415
2415
|
"stroke-linejoin": "round"
|
|
2416
2416
|
};
|
|
2417
2417
|
function In(e, t) {
|
|
2418
|
-
return u(),
|
|
2418
|
+
return u(), x("svg", $n, t[0] || (t[0] = [
|
|
2419
2419
|
d("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2420
2420
|
]));
|
|
2421
2421
|
}
|
|
@@ -2429,11 +2429,11 @@ const Cn = { render: In }, Nn = {
|
|
|
2429
2429
|
"stroke-linejoin": "round"
|
|
2430
2430
|
};
|
|
2431
2431
|
function Tn(e, t) {
|
|
2432
|
-
return u(),
|
|
2432
|
+
return u(), x("svg", Nn, t[0] || (t[0] = [
|
|
2433
2433
|
d("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2434
2434
|
]));
|
|
2435
2435
|
}
|
|
2436
|
-
const
|
|
2436
|
+
const It = { render: Tn }, Ir = Symbol("CarouselContext");
|
|
2437
2437
|
function En({ apiKey: e }) {
|
|
2438
2438
|
const { execute: t } = io(
|
|
2439
2439
|
(r) => la("/v2/game-data", e, r).then((a) => ({ ...a, ...r })),
|
|
@@ -2449,7 +2449,7 @@ function En({ apiKey: e }) {
|
|
|
2449
2449
|
}
|
|
2450
2450
|
function An(e, t, r) {
|
|
2451
2451
|
const a = Ln(t, r);
|
|
2452
|
-
return e.reduce((i,
|
|
2452
|
+
return e.reduce((i, s) => (a.has(s.id) ? i.push({ ...a.get(s.id), ...s }) : i.push(s), i), []);
|
|
2453
2453
|
}
|
|
2454
2454
|
function Ln(e, t) {
|
|
2455
2455
|
const r = /* @__PURE__ */ new Map();
|
|
@@ -2457,7 +2457,7 @@ function Ln(e, t) {
|
|
|
2457
2457
|
r.set(a[t], a);
|
|
2458
2458
|
return r;
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2460
|
+
function qt(e) {
|
|
2461
2461
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2462
2462
|
}
|
|
2463
2463
|
const Dn = { class: "games-timeline" }, Pn = ["disabled"], Mn = { ref: "container" }, jn = ["disabled"], On = {
|
|
@@ -2469,74 +2469,74 @@ const Dn = { class: "games-timeline" }, Pn = ["disabled"], Mn = { ref: "containe
|
|
|
2469
2469
|
}
|
|
2470
2470
|
},
|
|
2471
2471
|
setup(e) {
|
|
2472
|
-
const t = e, r = Ar("container"), a =
|
|
2472
|
+
const t = e, r = Ar("container"), a = V(t.initialIndex), o = V([]);
|
|
2473
2473
|
Lr(Ir, {
|
|
2474
|
-
register: (
|
|
2475
|
-
o.value.includes(
|
|
2474
|
+
register: (w) => {
|
|
2475
|
+
o.value.includes(w) || (o.value.push(w), o.value = ia(o.value, (h) => xe(r.value).querySelector(`#${h}`)));
|
|
2476
2476
|
},
|
|
2477
|
-
unregister: (
|
|
2478
|
-
const
|
|
2479
|
-
|
|
2477
|
+
unregister: (w) => {
|
|
2478
|
+
const h = o.value.indexOf(w);
|
|
2479
|
+
h !== -1 && o.value.splice(h, 1);
|
|
2480
2480
|
}
|
|
2481
2481
|
});
|
|
2482
|
-
const { arrivedState:
|
|
2482
|
+
const { arrivedState: s } = so(r, { onStop: b }), l = N(
|
|
2483
2483
|
() => xe(r).querySelector(`#${o.value[a.value]}`)
|
|
2484
2484
|
);
|
|
2485
2485
|
bt(() => m()), ne(
|
|
2486
2486
|
() => t.initialIndex,
|
|
2487
|
-
(
|
|
2488
|
-
a.value =
|
|
2487
|
+
(w) => {
|
|
2488
|
+
a.value = w, Ce(() => m());
|
|
2489
2489
|
}
|
|
2490
2490
|
);
|
|
2491
2491
|
function c() {
|
|
2492
|
-
|
|
2492
|
+
s.left || (a.value--, m({ behavior: "smooth" }));
|
|
2493
2493
|
}
|
|
2494
2494
|
function g() {
|
|
2495
|
-
|
|
2495
|
+
s.right || (a.value++, m({ behavior: "smooth" }));
|
|
2496
2496
|
}
|
|
2497
|
-
function m(
|
|
2498
|
-
var
|
|
2499
|
-
(
|
|
2497
|
+
function m(w) {
|
|
2498
|
+
var h;
|
|
2499
|
+
(h = l.value) == null || h.scrollIntoView({ inline: "start", block: "nearest", ...w });
|
|
2500
2500
|
}
|
|
2501
|
-
function
|
|
2501
|
+
function b() {
|
|
2502
2502
|
var z;
|
|
2503
|
-
const
|
|
2504
|
-
(
|
|
2503
|
+
const w = (z = xe(r).getBoundingClientRect()) == null ? void 0 : z.left, h = Array.from(xe(r).children).findIndex(
|
|
2504
|
+
(f) => Math.round(f.getBoundingClientRect().left - w) >= 0
|
|
2505
2505
|
);
|
|
2506
|
-
a.value =
|
|
2506
|
+
a.value = h;
|
|
2507
2507
|
}
|
|
2508
|
-
return (
|
|
2508
|
+
return (w, h) => (u(), x("div", Dn, [
|
|
2509
2509
|
d("button", {
|
|
2510
2510
|
type: "button",
|
|
2511
|
-
disabled: s
|
|
2511
|
+
disabled: n(s).left,
|
|
2512
2512
|
onClick: c
|
|
2513
2513
|
}, [
|
|
2514
|
-
|
|
2514
|
+
$(n(Cn))
|
|
2515
2515
|
], 8, Pn),
|
|
2516
2516
|
d("div", Mn, [
|
|
2517
|
-
we(
|
|
2517
|
+
we(w.$slots, "default")
|
|
2518
2518
|
], 512),
|
|
2519
2519
|
d("button", {
|
|
2520
2520
|
type: "button",
|
|
2521
|
-
disabled: s
|
|
2521
|
+
disabled: n(s).right,
|
|
2522
2522
|
onClick: g
|
|
2523
2523
|
}, [
|
|
2524
|
-
|
|
2524
|
+
$(n(It))
|
|
2525
2525
|
], 8, jn)
|
|
2526
2526
|
]));
|
|
2527
2527
|
}
|
|
2528
|
-
},
|
|
2528
|
+
}, ct = {
|
|
2529
2529
|
__name: "CarouselItem",
|
|
2530
2530
|
setup(e) {
|
|
2531
2531
|
const t = `mjsz-vbr-carousel-item-${Dr()}`, r = Pr(Ir, null);
|
|
2532
|
-
return bt(() => r == null ? void 0 : r.register(t)), Mr(() => r == null ? void 0 : r.unregister(t)), (a, o) => (u(),
|
|
2532
|
+
return bt(() => r == null ? void 0 : r.register(t)), Mr(() => r == null ? void 0 : r.unregister(t)), (a, o) => (u(), x("div", {
|
|
2533
2533
|
id: t,
|
|
2534
2534
|
class: "is-slide"
|
|
2535
2535
|
}, [
|
|
2536
2536
|
we(a.$slots, "default")
|
|
2537
2537
|
]));
|
|
2538
2538
|
}
|
|
2539
|
-
}, Rn = { class: "games-timeline-schedule-link" },
|
|
2539
|
+
}, Rn = { class: "games-timeline-schedule-link" }, Ht = {
|
|
2540
2540
|
__name: "ExternalSchedule",
|
|
2541
2541
|
props: {
|
|
2542
2542
|
title: {
|
|
@@ -2554,13 +2554,13 @@ const Dn = { class: "games-timeline" }, Pn = ["disabled"], Mn = { ref: "containe
|
|
|
2554
2554
|
function o() {
|
|
2555
2555
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2556
2556
|
}
|
|
2557
|
-
return (i,
|
|
2557
|
+
return (i, s) => (u(), x("div", Rn, [
|
|
2558
2558
|
d("button", {
|
|
2559
2559
|
type: "button",
|
|
2560
2560
|
onClick: o
|
|
2561
2561
|
}, [
|
|
2562
|
-
|
|
2563
|
-
|
|
2562
|
+
Z(p(e.title), 1),
|
|
2563
|
+
$(n(It))
|
|
2564
2564
|
])
|
|
2565
2565
|
]));
|
|
2566
2566
|
}
|
|
@@ -2569,14 +2569,14 @@ const Dn = { class: "games-timeline" }, Pn = ["disabled"], Mn = { ref: "containe
|
|
|
2569
2569
|
viewBox: "0 0 24 24"
|
|
2570
2570
|
};
|
|
2571
2571
|
function Un(e, t) {
|
|
2572
|
-
return u(),
|
|
2572
|
+
return u(), x("svg", Gn, t[0] || (t[0] = [
|
|
2573
2573
|
d("path", {
|
|
2574
2574
|
fill: "currentColor",
|
|
2575
2575
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
2576
2576
|
}, null, -1)
|
|
2577
2577
|
]));
|
|
2578
2578
|
}
|
|
2579
|
-
const Yn = { render: Un }, Kn = { class: "score-display" }, Bn = { class: "is-score" },
|
|
2579
|
+
const Yn = { render: Un }, Kn = { class: "score-display" }, Bn = { class: "is-score" }, Wt = {
|
|
2580
2580
|
__name: "ScoreDisplay",
|
|
2581
2581
|
props: {
|
|
2582
2582
|
score: {
|
|
@@ -2585,11 +2585,11 @@ const Yn = { render: Un }, Kn = { class: "score-display" }, Bn = { class: "is-sc
|
|
|
2585
2585
|
}
|
|
2586
2586
|
},
|
|
2587
2587
|
setup(e) {
|
|
2588
|
-
return (t, r) => (u(),
|
|
2588
|
+
return (t, r) => (u(), x("div", Kn, [
|
|
2589
2589
|
d("div", Bn, [
|
|
2590
|
-
|
|
2590
|
+
$(Zt, { name: "is-slide-transition" }, {
|
|
2591
2591
|
default: T(() => [
|
|
2592
|
-
(u(),
|
|
2592
|
+
(u(), x("span", { key: e.score }, p(e.score), 1))
|
|
2593
2593
|
]),
|
|
2594
2594
|
_: 1
|
|
2595
2595
|
})
|
|
@@ -2617,64 +2617,64 @@ const Yn = { render: Un }, Kn = { class: "score-display" }, Bn = { class: "is-sc
|
|
|
2617
2617
|
emits: ["navigateTo"],
|
|
2618
2618
|
setup(e, { emit: t }) {
|
|
2619
2619
|
const r = e, a = t, { t: o } = ce(), i = N(() => {
|
|
2620
|
-
const { gameStatus: l, championshipName: c, divisionName: g, period: m, periodTime:
|
|
2621
|
-
return l !== 1 ? `${c} - ${g}` : m &&
|
|
2620
|
+
const { gameStatus: l, championshipName: c, divisionName: g, period: m, periodTime: b } = r.gameData;
|
|
2621
|
+
return l !== 1 ? `${c} - ${g}` : m && qt(m) ? `${o(`game.period.${m}`)} - ${b}` : m && !qt(m) ? o(`game.period.${m}`) : "";
|
|
2622
2622
|
});
|
|
2623
|
-
function
|
|
2623
|
+
function s() {
|
|
2624
2624
|
const { externalGameUrl: l, id: c } = r.gameData;
|
|
2625
2625
|
if (l)
|
|
2626
2626
|
return a("navigateTo", { url: l, target: "_blank" });
|
|
2627
|
-
const g =
|
|
2627
|
+
const g = Xe(r.externalGameResolver, { gameId: c });
|
|
2628
2628
|
a("navigateTo", { url: g, target: "_self" });
|
|
2629
2629
|
}
|
|
2630
|
-
return (l, c) => (u(),
|
|
2630
|
+
return (l, c) => (u(), x("div", {
|
|
2631
2631
|
class: "games-timeline-game",
|
|
2632
|
-
onClick:
|
|
2632
|
+
onClick: s
|
|
2633
2633
|
}, [
|
|
2634
2634
|
d("time", null, [
|
|
2635
|
-
|
|
2636
|
-
e.gameData.isShootout ? (u(),
|
|
2637
|
-
e.gameData.isOvertime ? (u(),
|
|
2638
|
-
e.gameData.externalGameUrl ? (u(), L(
|
|
2635
|
+
Z(p(e.gameData.gameDateTime) + " ", 1),
|
|
2636
|
+
e.gameData.isShootout ? (u(), x("span", Vn, p(n(o)("common.shootoutShort")), 1)) : E("", !0),
|
|
2637
|
+
e.gameData.isOvertime ? (u(), x("span", Fn, p(n(o)("common.overtimeShort")), 1)) : E("", !0),
|
|
2638
|
+
e.gameData.externalGameUrl ? (u(), L(n(Yn), {
|
|
2639
2639
|
key: 2,
|
|
2640
2640
|
width: "14",
|
|
2641
2641
|
height: "14"
|
|
2642
2642
|
})) : E("", !0)
|
|
2643
2643
|
]),
|
|
2644
2644
|
d("div", qn, [
|
|
2645
|
-
|
|
2645
|
+
$(n(ue), {
|
|
2646
2646
|
src: e.gameData.homeTeam.logo,
|
|
2647
2647
|
class: "is-team-logo"
|
|
2648
2648
|
}, null, 8, ["src"])
|
|
2649
2649
|
]),
|
|
2650
2650
|
d("div", Hn, p(e.gameData.homeTeam.longName), 1),
|
|
2651
2651
|
d("div", Wn, [
|
|
2652
|
-
e.gameData.homeTeamScore != null ? (u(), L(
|
|
2652
|
+
e.gameData.homeTeamScore != null ? (u(), L(Wt, {
|
|
2653
2653
|
key: 0,
|
|
2654
2654
|
class: R(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2655
2655
|
score: e.gameData.homeTeamScore
|
|
2656
2656
|
}, {
|
|
2657
2657
|
default: T(() => [
|
|
2658
|
-
|
|
2658
|
+
Z(p(e.gameData.homeTeamScore), 1)
|
|
2659
2659
|
]),
|
|
2660
2660
|
_: 1
|
|
2661
2661
|
}, 8, ["class", "score"])) : E("", !0)
|
|
2662
2662
|
]),
|
|
2663
2663
|
d("div", Jn, [
|
|
2664
|
-
|
|
2664
|
+
$(n(ue), {
|
|
2665
2665
|
src: e.gameData.awayTeam.logo,
|
|
2666
2666
|
class: "is-team-logo"
|
|
2667
2667
|
}, null, 8, ["src"])
|
|
2668
2668
|
]),
|
|
2669
2669
|
d("div", Xn, p(e.gameData.awayTeam.longName), 1),
|
|
2670
2670
|
d("div", Qn, [
|
|
2671
|
-
e.gameData.awayTeamScore != null ? (u(), L(
|
|
2671
|
+
e.gameData.awayTeamScore != null ? (u(), L(Wt, {
|
|
2672
2672
|
key: 0,
|
|
2673
2673
|
score: e.gameData.awayTeamScore,
|
|
2674
2674
|
class: R(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2675
2675
|
}, {
|
|
2676
2676
|
default: T(() => [
|
|
2677
|
-
|
|
2677
|
+
Z(p(e.gameData.awayTeamScore), 1)
|
|
2678
2678
|
]),
|
|
2679
2679
|
_: 1
|
|
2680
2680
|
}, 8, ["score", "class"])) : E("", !0)
|
|
@@ -2692,7 +2692,7 @@ const Yn = { render: Un }, Kn = { class: "score-display" }, Bn = { class: "is-sc
|
|
|
2692
2692
|
"stroke-linejoin": "round"
|
|
2693
2693
|
};
|
|
2694
2694
|
function rs(e, t) {
|
|
2695
|
-
return u(),
|
|
2695
|
+
return u(), x("svg", ts, t[0] || (t[0] = [
|
|
2696
2696
|
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),
|
|
2697
2697
|
d("line", {
|
|
2698
2698
|
x1: "12",
|
|
@@ -2716,19 +2716,22 @@ const as = { render: rs }, os = { class: "games-timeline-error-indicator" }, is
|
|
|
2716
2716
|
function o() {
|
|
2717
2717
|
r("tryAgain");
|
|
2718
2718
|
}
|
|
2719
|
-
return (i,
|
|
2720
|
-
|
|
2721
|
-
d("div", null, p(
|
|
2719
|
+
return (i, s) => (u(), x("div", os, [
|
|
2720
|
+
$(n(as)),
|
|
2721
|
+
d("div", null, p(n(a)("gamesTimeline.errorText")), 1),
|
|
2722
2722
|
d("button", {
|
|
2723
2723
|
type: "button",
|
|
2724
2724
|
onClick: o
|
|
2725
|
-
}, p(
|
|
2725
|
+
}, p(n(a)("gamesTimeline.errorCta")), 1)
|
|
2726
2726
|
]));
|
|
2727
2727
|
}
|
|
2728
|
-
}, ns = '.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;display:flex;align-items:center;gap:4px;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%)}', ss = {
|
|
2728
|
+
}, ns = '.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 .is-no-games{width:100%;text-align:center;color:var(--vbr-widget-games-timeline-game-date-color)}.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;display:flex;align-items:center;gap:4px;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%)}', ss = {
|
|
2729
2729
|
key: 0,
|
|
2730
2730
|
style: { width: "100%" }
|
|
2731
2731
|
}, ls = {
|
|
2732
|
+
key: 2,
|
|
2733
|
+
class: "is-no-games"
|
|
2734
|
+
}, cs = {
|
|
2732
2735
|
__name: "GamesTimeline.ce",
|
|
2733
2736
|
props: {
|
|
2734
2737
|
locale: {
|
|
@@ -2753,113 +2756,113 @@ const as = { render: rs }, os = { class: "games-timeline-error-indicator" }, is
|
|
|
2753
2756
|
}
|
|
2754
2757
|
},
|
|
2755
2758
|
setup(e) {
|
|
2756
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
2759
|
+
const t = e, r = { en: be, hu: he }, a = Je();
|
|
2757
2760
|
let o = [];
|
|
2758
|
-
const i =
|
|
2761
|
+
const i = V(!1), { isLoading: s, state: l, execute: c } = ee({
|
|
2759
2762
|
options: {
|
|
2760
2763
|
path: t.servicePath,
|
|
2761
2764
|
apiKey: t.apiKey,
|
|
2762
2765
|
params: {},
|
|
2763
2766
|
immediate: !0
|
|
2764
2767
|
},
|
|
2765
|
-
transform: (
|
|
2768
|
+
transform: (_) => An(_, l.value, "id").reverse(),
|
|
2766
2769
|
onError: () => {
|
|
2767
2770
|
i.value = !0;
|
|
2768
2771
|
},
|
|
2769
|
-
onSuccess:
|
|
2770
|
-
}), { resume:
|
|
2772
|
+
onSuccess: z
|
|
2773
|
+
}), { resume: g, pause: m } = Be(c, 1e3 * 60 * 5);
|
|
2771
2774
|
ca(
|
|
2772
2775
|
!0,
|
|
2773
2776
|
() => {
|
|
2774
|
-
|
|
2777
|
+
c(), g();
|
|
2775
2778
|
},
|
|
2776
2779
|
() => {
|
|
2777
|
-
|
|
2780
|
+
m(), o.map((_) => _ == null ? void 0 : _()), o = [];
|
|
2778
2781
|
}
|
|
2779
2782
|
);
|
|
2780
|
-
const
|
|
2781
|
-
() =>
|
|
2782
|
-
...
|
|
2783
|
-
gameDateTime: `${
|
|
2784
|
-
|
|
2783
|
+
const b = N(() => vt(l.value) ? 0 : l.value.findIndex((_) => !sr(new Date(_.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), w = N(
|
|
2784
|
+
() => l.value.map((_) => ({
|
|
2785
|
+
..._,
|
|
2786
|
+
gameDateTime: `${Q(_.gameDate, "L LT", a, t.locale)} (${We(
|
|
2787
|
+
_.gameDate,
|
|
2785
2788
|
a,
|
|
2786
2789
|
t.locale
|
|
2787
2790
|
)})`
|
|
2788
2791
|
}))
|
|
2789
|
-
), { execute:
|
|
2790
|
-
async function
|
|
2791
|
-
i.value = !1, o.map((
|
|
2792
|
-
const
|
|
2793
|
-
for (let
|
|
2794
|
-
const
|
|
2795
|
-
|
|
2796
|
-
const { pause:
|
|
2797
|
-
o.push(
|
|
2792
|
+
), { execute: h } = En({ apiKey: t.apiKey });
|
|
2793
|
+
async function z() {
|
|
2794
|
+
i.value = !1, o.map((v) => v == null ? void 0 : v()), o = [];
|
|
2795
|
+
const _ = l.value.filter((v) => v.gameStatus === 1);
|
|
2796
|
+
for (let v = 0; v < _.length; v++) {
|
|
2797
|
+
const y = _[v].id;
|
|
2798
|
+
h(0, { gameId: y }).then((D) => f(D));
|
|
2799
|
+
const { pause: S } = Be(() => h(0, { gameId: y }).then((D) => f(D)), 6e4);
|
|
2800
|
+
o.push(S);
|
|
2798
2801
|
}
|
|
2799
2802
|
}
|
|
2800
|
-
function
|
|
2801
|
-
const { gameId:
|
|
2802
|
-
|
|
2803
|
+
function f(_ = {}) {
|
|
2804
|
+
const { gameId: v, gameStatus: y, homeTeamScore: S, awayTeamScore: D, period: C, periodTime: O } = _, P = l.value.find((Y) => Y.id === v);
|
|
2805
|
+
P.gameStatus = y, P.homeTeamScore = S, P.awayTeamScore = D, P.period = C, P.periodTime = O, jr(l);
|
|
2803
2806
|
}
|
|
2804
|
-
function
|
|
2805
|
-
window.open(
|
|
2807
|
+
function I({ url: _, target: v }) {
|
|
2808
|
+
window.open(_, v);
|
|
2806
2809
|
}
|
|
2807
|
-
function
|
|
2808
|
-
i.value = !1,
|
|
2810
|
+
function k() {
|
|
2811
|
+
i.value = !1, c();
|
|
2809
2812
|
}
|
|
2810
|
-
return (
|
|
2813
|
+
return (_, v) => (u(), L(n(ve), {
|
|
2811
2814
|
locale: e.locale,
|
|
2812
2815
|
messages: r
|
|
2813
2816
|
}, {
|
|
2814
|
-
default: T(({ t:
|
|
2815
|
-
|
|
2817
|
+
default: T(({ t: y }) => [
|
|
2818
|
+
$(On, { "initial-index": b.value }, {
|
|
2816
2819
|
default: T(() => [
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
])) : i.value &&
|
|
2820
|
+
!i.value && n(s) ? (u(), x("div", ss, [
|
|
2821
|
+
$(n(He))
|
|
2822
|
+
])) : i.value && n(vt)(n(l)) ? (u(), L(is, {
|
|
2820
2823
|
key: 1,
|
|
2821
|
-
onTryAgain:
|
|
2822
|
-
})) : (u(),
|
|
2823
|
-
|
|
2824
|
+
onTryAgain: k
|
|
2825
|
+
})) : w.value.length === 0 ? (u(), x("div", ls, p(y("gamesTimeline.noGames")), 1)) : (u(), x(j, { key: 3 }, [
|
|
2826
|
+
$(ct, null, {
|
|
2824
2827
|
default: T(() => [
|
|
2825
|
-
|
|
2828
|
+
$(Ht, {
|
|
2826
2829
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2827
|
-
title:
|
|
2828
|
-
onNavigateTo:
|
|
2830
|
+
title: y("gamesTimeline.allSchedule"),
|
|
2831
|
+
onNavigateTo: I
|
|
2829
2832
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2830
2833
|
]),
|
|
2831
2834
|
_: 2
|
|
2832
2835
|
}, 1024),
|
|
2833
|
-
(u(!0),
|
|
2834
|
-
const
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2836
|
+
(u(!0), x(j, null, F(w.value, (S, D, C, O) => {
|
|
2837
|
+
const P = [
|
|
2838
|
+
S.gameDateTime,
|
|
2839
|
+
S.gameStatus,
|
|
2840
|
+
S.homeTeamScore,
|
|
2841
|
+
S.awayTeamScore,
|
|
2842
|
+
S.period,
|
|
2843
|
+
S.actualTime
|
|
2841
2844
|
];
|
|
2842
|
-
if (
|
|
2843
|
-
const
|
|
2844
|
-
key:
|
|
2845
|
+
if (O && O.key === S.id && Or(O, P)) return O;
|
|
2846
|
+
const Y = (u(), L(ct, {
|
|
2847
|
+
key: S.id
|
|
2845
2848
|
}, {
|
|
2846
2849
|
default: T(() => [
|
|
2847
|
-
|
|
2848
|
-
"game-data":
|
|
2850
|
+
$(es, {
|
|
2851
|
+
"game-data": S,
|
|
2849
2852
|
"external-game-resolver": e.externalGameResolver,
|
|
2850
|
-
onNavigateTo:
|
|
2853
|
+
onNavigateTo: I
|
|
2851
2854
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2852
2855
|
]),
|
|
2853
2856
|
_: 2
|
|
2854
2857
|
}, 1024));
|
|
2855
|
-
return
|
|
2856
|
-
},
|
|
2857
|
-
|
|
2858
|
+
return Y.memo = P, Y;
|
|
2859
|
+
}, v, 0), 128)),
|
|
2860
|
+
$(ct, null, {
|
|
2858
2861
|
default: T(() => [
|
|
2859
|
-
|
|
2862
|
+
$(Ht, {
|
|
2860
2863
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2861
|
-
title:
|
|
2862
|
-
onNavigateTo:
|
|
2864
|
+
title: y("gamesTimeline.allSchedule"),
|
|
2865
|
+
onNavigateTo: I
|
|
2863
2866
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2864
2867
|
]),
|
|
2865
2868
|
_: 2
|
|
@@ -2872,17 +2875,17 @@ const as = { render: rs }, os = { class: "games-timeline-error-indicator" }, is
|
|
|
2872
2875
|
_: 1
|
|
2873
2876
|
}, 8, ["locale"]));
|
|
2874
2877
|
}
|
|
2875
|
-
},
|
|
2876
|
-
function ds(e, t) {
|
|
2877
|
-
t.seasonsList = e, t.seasonId = Me(W, le("id"))(e);
|
|
2878
|
-
}
|
|
2878
|
+
}, ds = /* @__PURE__ */ ye(cs, [["styles", [fe, ns]]]);
|
|
2879
2879
|
function gs(e, t) {
|
|
2880
|
-
t.
|
|
2880
|
+
t.seasonsList = e, t.seasonId = Me(J, le("id"))(e);
|
|
2881
2881
|
}
|
|
2882
2882
|
function us(e, t) {
|
|
2883
|
-
t.
|
|
2883
|
+
t.championshipList = e, t.championshipId = Me(J, le("championshipId"))(e);
|
|
2884
|
+
}
|
|
2885
|
+
function ms(e, t) {
|
|
2886
|
+
t.sections = e, t.sectionId = Me(J, le("sectionId"))(e);
|
|
2884
2887
|
}
|
|
2885
|
-
const
|
|
2888
|
+
const ps = {
|
|
2886
2889
|
__name: "DataProvider",
|
|
2887
2890
|
props: {
|
|
2888
2891
|
apiKey: {
|
|
@@ -2902,64 +2905,64 @@ const ms = {
|
|
|
2902
2905
|
championshipId: null,
|
|
2903
2906
|
sections: [],
|
|
2904
2907
|
sectionId: null
|
|
2905
|
-
}), { onError: a } = Pe(), { isLoading: o, execute: i } =
|
|
2908
|
+
}), { onError: a } = Pe(), { isLoading: o, execute: i } = ee({
|
|
2906
2909
|
options: {
|
|
2907
2910
|
path: "/v2/all-season-list",
|
|
2908
2911
|
apiKey: t.apiKey,
|
|
2909
2912
|
params: {}
|
|
2910
2913
|
},
|
|
2911
|
-
transform: (
|
|
2914
|
+
transform: (f) => gs(f, r),
|
|
2912
2915
|
onError: a
|
|
2913
|
-
}), { isLoading:
|
|
2916
|
+
}), { isLoading: s, execute: l } = ee({
|
|
2914
2917
|
options: {
|
|
2915
2918
|
path: "/v2/championship-list",
|
|
2916
2919
|
apiKey: t.apiKey,
|
|
2917
2920
|
params: N(() => ({ seasonId: r.seasonId }))
|
|
2918
2921
|
},
|
|
2919
|
-
transform: (
|
|
2922
|
+
transform: (f) => us(f, r),
|
|
2920
2923
|
onError: a
|
|
2921
2924
|
}), {
|
|
2922
2925
|
isLoading: c,
|
|
2923
2926
|
execute: g
|
|
2924
|
-
} =
|
|
2927
|
+
} = ee({
|
|
2925
2928
|
options: {
|
|
2926
2929
|
path: "/v2/championship-sections",
|
|
2927
2930
|
apiKey: t.apiKey,
|
|
2928
2931
|
params: N(() => ({ championshipId: r.championshipId }))
|
|
2929
2932
|
},
|
|
2930
|
-
transform: (
|
|
2933
|
+
transform: (f) => ms(f, r),
|
|
2931
2934
|
onError: a
|
|
2932
2935
|
}), m = N(() => {
|
|
2933
|
-
var
|
|
2934
|
-
return ((
|
|
2936
|
+
var f, I;
|
|
2937
|
+
return ((I = (f = r.sections) == null ? void 0 : f.find((k) => k.sectionId === r.sectionId)) == null ? void 0 : I.phases) ?? [];
|
|
2935
2938
|
});
|
|
2936
2939
|
Se([i, l, g]);
|
|
2937
|
-
const
|
|
2938
|
-
function
|
|
2939
|
-
r.seasonId =
|
|
2940
|
+
const b = N(() => [o.value, s.value, c.value].some(Boolean));
|
|
2941
|
+
function w(f) {
|
|
2942
|
+
r.seasonId = f, Se([l, g]);
|
|
2940
2943
|
}
|
|
2941
|
-
function
|
|
2942
|
-
r.championshipId =
|
|
2944
|
+
function h(f) {
|
|
2945
|
+
r.championshipId = f, g();
|
|
2943
2946
|
}
|
|
2944
|
-
function z(
|
|
2945
|
-
r.sectionId =
|
|
2947
|
+
function z(f) {
|
|
2948
|
+
r.sectionId = f;
|
|
2946
2949
|
}
|
|
2947
|
-
return (
|
|
2950
|
+
return (f, I) => we(f.$slots, "default", Ee(Ae({
|
|
2948
2951
|
...r,
|
|
2949
|
-
isLoading:
|
|
2952
|
+
isLoading: b.value,
|
|
2950
2953
|
phaseData: m.value,
|
|
2951
|
-
onChangeSeason:
|
|
2954
|
+
onChangeSeason: w,
|
|
2952
2955
|
onChangeSection: z,
|
|
2953
|
-
onChangeChampionship:
|
|
2956
|
+
onChangeChampionship: h
|
|
2954
2957
|
})));
|
|
2955
2958
|
}
|
|
2956
|
-
},
|
|
2959
|
+
}, vs = { class: "is-mb-5" }, bs = {
|
|
2957
2960
|
for: "season",
|
|
2958
2961
|
class: "label"
|
|
2959
|
-
},
|
|
2962
|
+
}, hs = ["value"], fs = {
|
|
2960
2963
|
for: "season",
|
|
2961
2964
|
class: "label"
|
|
2962
|
-
},
|
|
2965
|
+
}, ys = ["value"], ws = {
|
|
2963
2966
|
__name: "Selector",
|
|
2964
2967
|
props: {
|
|
2965
2968
|
seasonsList: {
|
|
@@ -2981,46 +2984,46 @@ const ms = {
|
|
|
2981
2984
|
},
|
|
2982
2985
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2983
2986
|
setup(e, { emit: t }) {
|
|
2984
|
-
const r = e, a = t, { t: o } = ce(), { seasonId: i, championshipId:
|
|
2985
|
-
return (l, c) => (u(),
|
|
2986
|
-
d("div",
|
|
2987
|
-
d("label",
|
|
2988
|
-
|
|
2987
|
+
const r = e, a = t, { t: o } = ce(), { seasonId: i, championshipId: s } = xt(r, a);
|
|
2988
|
+
return (l, c) => (u(), x(j, null, [
|
|
2989
|
+
d("div", vs, [
|
|
2990
|
+
d("label", bs, p(n(o)("selection.seasons")), 1),
|
|
2991
|
+
$(n(ke), {
|
|
2989
2992
|
id: "season",
|
|
2990
|
-
modelValue:
|
|
2993
|
+
modelValue: n(i),
|
|
2991
2994
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => me(i) ? i.value = g : null)
|
|
2992
2995
|
}, {
|
|
2993
2996
|
default: T(() => [
|
|
2994
|
-
(u(!0),
|
|
2997
|
+
(u(!0), x(j, null, F(e.seasonsList, (g) => (u(), x("option", {
|
|
2995
2998
|
key: g.id,
|
|
2996
2999
|
value: g.id
|
|
2997
|
-
}, p(g.seasonName), 9,
|
|
3000
|
+
}, p(g.seasonName), 9, hs))), 128))
|
|
2998
3001
|
]),
|
|
2999
3002
|
_: 1
|
|
3000
3003
|
}, 8, ["modelValue"])
|
|
3001
3004
|
]),
|
|
3002
3005
|
d("div", null, [
|
|
3003
|
-
d("label",
|
|
3004
|
-
|
|
3006
|
+
d("label", fs, p(n(o)("selection.championships")), 1),
|
|
3007
|
+
$(n(ke), {
|
|
3005
3008
|
id: "season",
|
|
3006
|
-
modelValue: s
|
|
3007
|
-
"onUpdate:modelValue": c[1] || (c[1] = (g) => me(
|
|
3009
|
+
modelValue: n(s),
|
|
3010
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => me(s) ? s.value = g : null)
|
|
3008
3011
|
}, {
|
|
3009
3012
|
default: T(() => [
|
|
3010
|
-
(u(!0),
|
|
3013
|
+
(u(!0), x(j, null, F(e.championshipList, (g) => (u(), x("option", {
|
|
3011
3014
|
key: g.championshipId,
|
|
3012
3015
|
value: g.championshipId
|
|
3013
|
-
}, p(g.championshipName), 9,
|
|
3016
|
+
}, p(g.championshipName), 9, ys))), 128))
|
|
3014
3017
|
]),
|
|
3015
3018
|
_: 1
|
|
3016
3019
|
}, 8, ["modelValue"])
|
|
3017
3020
|
])
|
|
3018
3021
|
], 64));
|
|
3019
3022
|
}
|
|
3020
|
-
},
|
|
3023
|
+
}, xs = ".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}", _s = { class: "main-layout" }, ks = { class: "is-mb-5" }, zs = { for: "seasonId" }, Ss = ["textContent"], $s = { class: "is-mb-5" }, Is = { for: "championshipName" }, Cs = ["textContent"], Ns = { class: "is-mb-5" }, Ts = { for: "championshipId" }, Es = ["textContent"], As = { class: "is-mb-5" }, Ls = { for: "sections" }, Ds = {
|
|
3021
3024
|
id: "sections",
|
|
3022
3025
|
class: "toggle-group"
|
|
3023
|
-
},
|
|
3026
|
+
}, Ps = ["onClick"], Ms = { class: "is-mb-5" }, js = { for: "phases" }, Os = ["textContent"], Rs = {
|
|
3024
3027
|
__name: "IvrIdentifiers.ce",
|
|
3025
3028
|
props: {
|
|
3026
3029
|
locale: {
|
|
@@ -3034,81 +3037,81 @@ const ms = {
|
|
|
3034
3037
|
},
|
|
3035
3038
|
setup(e) {
|
|
3036
3039
|
const t = e, r = { en: be, hu: he };
|
|
3037
|
-
return (a, o) => (u(), L(
|
|
3040
|
+
return (a, o) => (u(), L(n(ve), {
|
|
3038
3041
|
locale: t.locale,
|
|
3039
3042
|
messages: r
|
|
3040
3043
|
}, {
|
|
3041
3044
|
default: T(({ t: i }) => [
|
|
3042
|
-
|
|
3043
|
-
default: T(({ error:
|
|
3044
|
-
l ? (u(), L(
|
|
3045
|
+
$(n(Le), null, {
|
|
3046
|
+
default: T(({ error: s, hasError: l }) => [
|
|
3047
|
+
l ? (u(), L(n($e), {
|
|
3045
3048
|
key: 0,
|
|
3046
|
-
error:
|
|
3049
|
+
error: s
|
|
3047
3050
|
}, null, 8, ["error"])) : E("", !0),
|
|
3048
|
-
|
|
3051
|
+
$(ps, null, {
|
|
3049
3052
|
default: T(({
|
|
3050
3053
|
seasonsList: c,
|
|
3051
3054
|
seasonId: g,
|
|
3052
3055
|
championshipList: m,
|
|
3053
|
-
championshipId:
|
|
3054
|
-
sections:
|
|
3055
|
-
sectionId:
|
|
3056
|
+
championshipId: b,
|
|
3057
|
+
sections: w,
|
|
3058
|
+
sectionId: h,
|
|
3056
3059
|
phaseData: z,
|
|
3057
|
-
onChangeSeason:
|
|
3058
|
-
onChangeSection:
|
|
3059
|
-
onChangeChampionship:
|
|
3060
|
+
onChangeSeason: f,
|
|
3061
|
+
onChangeSection: I,
|
|
3062
|
+
onChangeChampionship: k
|
|
3060
3063
|
}) => {
|
|
3061
|
-
var
|
|
3064
|
+
var _;
|
|
3062
3065
|
return [
|
|
3063
|
-
d("div",
|
|
3066
|
+
d("div", _s, [
|
|
3064
3067
|
d("div", null, [
|
|
3065
|
-
|
|
3068
|
+
$(ws, {
|
|
3066
3069
|
"seasons-list": c,
|
|
3067
3070
|
"season-id": g,
|
|
3068
3071
|
"championship-list": m,
|
|
3069
|
-
"championship-id":
|
|
3070
|
-
"onUpdate:seasonId":
|
|
3071
|
-
"onUpdate:championshipId":
|
|
3072
|
+
"championship-id": b,
|
|
3073
|
+
"onUpdate:seasonId": f,
|
|
3074
|
+
"onUpdate:championshipId": k
|
|
3072
3075
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
3073
3076
|
]),
|
|
3074
3077
|
d("div", null, [
|
|
3075
|
-
d("section",
|
|
3076
|
-
d("label",
|
|
3078
|
+
d("section", ks, [
|
|
3079
|
+
d("label", zs, p(i("selection.seasonId")), 1),
|
|
3077
3080
|
d("p", {
|
|
3078
3081
|
id: "seasonId",
|
|
3079
3082
|
textContent: p(g)
|
|
3080
|
-
}, null, 8,
|
|
3083
|
+
}, null, 8, Ss)
|
|
3081
3084
|
]),
|
|
3082
|
-
d("section",
|
|
3083
|
-
d("label",
|
|
3085
|
+
d("section", $s, [
|
|
3086
|
+
d("label", Is, p(i("selection.championshipName")), 1),
|
|
3084
3087
|
d("p", {
|
|
3085
3088
|
id: "championshipName",
|
|
3086
|
-
textContent: p((
|
|
3087
|
-
}, null, 8,
|
|
3089
|
+
textContent: p((_ = m.find((v) => v.championshipId === b)) == null ? void 0 : _.championshipName)
|
|
3090
|
+
}, null, 8, Cs)
|
|
3088
3091
|
]),
|
|
3089
|
-
d("section",
|
|
3090
|
-
d("label",
|
|
3092
|
+
d("section", Ns, [
|
|
3093
|
+
d("label", Ts, p(i("selection.championshipId")), 1),
|
|
3091
3094
|
d("p", {
|
|
3092
3095
|
id: "championshipId",
|
|
3093
|
-
textContent: p(
|
|
3094
|
-
}, null, 8,
|
|
3096
|
+
textContent: p(b)
|
|
3097
|
+
}, null, 8, Es)
|
|
3095
3098
|
]),
|
|
3096
|
-
d("section",
|
|
3097
|
-
d("label",
|
|
3098
|
-
d("div",
|
|
3099
|
-
(u(!0),
|
|
3100
|
-
key:
|
|
3101
|
-
class: R({ "is-active":
|
|
3102
|
-
onClick: (y) =>
|
|
3103
|
-
}, p(
|
|
3099
|
+
d("section", As, [
|
|
3100
|
+
d("label", Ls, p(i("selection.sections")) + ":", 1),
|
|
3101
|
+
d("div", Ds, [
|
|
3102
|
+
(u(!0), x(j, null, F(w, (v) => (u(), x("button", {
|
|
3103
|
+
key: v.sectionId,
|
|
3104
|
+
class: R({ "is-active": v.sectionId === h }),
|
|
3105
|
+
onClick: (y) => I(v.sectionId)
|
|
3106
|
+
}, p(v.sectionName), 11, Ps))), 128))
|
|
3104
3107
|
])
|
|
3105
3108
|
]),
|
|
3106
|
-
d("section",
|
|
3107
|
-
d("label",
|
|
3109
|
+
d("section", Ms, [
|
|
3110
|
+
d("label", js, p(i("selection.phasesDivision")) + ":", 1),
|
|
3108
3111
|
d("pre", {
|
|
3109
3112
|
id: "phases",
|
|
3110
3113
|
textContent: p(z)
|
|
3111
|
-
}, null, 8,
|
|
3114
|
+
}, null, 8, Os)
|
|
3112
3115
|
])
|
|
3113
3116
|
])
|
|
3114
3117
|
])
|
|
@@ -3123,49 +3126,45 @@ const ms = {
|
|
|
3123
3126
|
_: 1
|
|
3124
3127
|
}, 8, ["locale"]));
|
|
3125
3128
|
}
|
|
3126
|
-
},
|
|
3129
|
+
}, Gs = /* @__PURE__ */ ye(Rs, [["styles", [fe, rt, je, xs]], ["__scopeId", "data-v-10915a30"]]);
|
|
3127
3130
|
function Us(e) {
|
|
3128
|
-
return e.
|
|
3129
|
-
}
|
|
3130
|
-
function Ys({ organizationType: e, organizationCountry: t }) {
|
|
3131
|
-
return Gs.includes((e || "").toLowerCase()) && t === "Magyarország";
|
|
3131
|
+
return e.map(Ys).map(Ks).sort(Fs);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3134
|
-
const t = Object.keys(e).filter((o) => o.startsWith("recruitment") && o !== "recruitmentName" && o !== "recruitmentTeamName"), r =
|
|
3133
|
+
function Ys(e) {
|
|
3134
|
+
const t = Object.keys(e).filter((o) => o.startsWith("recruitment") && o !== "recruitmentName" && o !== "recruitmentTeamName" && o !== "recruitmentCity"), r = $t(t, e), a = Bs(r);
|
|
3135
3135
|
return {
|
|
3136
|
-
...
|
|
3136
|
+
...wr(t, e),
|
|
3137
3137
|
recruitment: {
|
|
3138
3138
|
...a
|
|
3139
3139
|
}
|
|
3140
3140
|
};
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function Ks(e) {
|
|
3143
3143
|
return {
|
|
3144
3144
|
...e,
|
|
3145
|
-
city: $t(["organizationAddresses", "headquarter", "city"], e) || "",
|
|
3146
3145
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
3147
3146
|
};
|
|
3148
3147
|
}
|
|
3149
|
-
function
|
|
3150
|
-
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 =
|
|
3148
|
+
function Bs(e) {
|
|
3149
|
+
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 = Vs(e.recruitmentContactUrl || ""), e;
|
|
3151
3150
|
}
|
|
3152
|
-
function
|
|
3151
|
+
function Vs(e) {
|
|
3153
3152
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
3154
3153
|
}
|
|
3155
|
-
function
|
|
3154
|
+
function Fs(e, t) {
|
|
3156
3155
|
const r = e.organizationName.toUpperCase(), a = t.organizationName.toUpperCase();
|
|
3157
3156
|
return r < a ? -1 : r > a ? 1 : 0;
|
|
3158
3157
|
}
|
|
3159
|
-
const
|
|
3158
|
+
const qs = `.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)}`, Hs = ".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}", Ws = { class: "recruitment-info-filter" }, Js = {
|
|
3160
3159
|
for: "organization",
|
|
3161
3160
|
class: "label"
|
|
3162
|
-
},
|
|
3161
|
+
}, Xs = ["placeholder"], Qs = {
|
|
3163
3162
|
key: 2,
|
|
3164
3163
|
class: "no-result"
|
|
3165
|
-
},
|
|
3164
|
+
}, Zs = { key: 0 }, el = ["innerHTML"], tl = { class: "recruitment-paginator-container" }, rl = {
|
|
3166
3165
|
key: 0,
|
|
3167
3166
|
style: { "text-align": "right" }
|
|
3168
|
-
},
|
|
3167
|
+
}, al = {
|
|
3169
3168
|
__name: "RecruitmentInfo.ce",
|
|
3170
3169
|
props: {
|
|
3171
3170
|
locale: {
|
|
@@ -3182,94 +3181,94 @@ const Hs = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3182
3181
|
}
|
|
3183
3182
|
},
|
|
3184
3183
|
setup(e) {
|
|
3185
|
-
const t = e, r = { en: be, hu: he }, { onError: a, error: o, hasError: i, reset:
|
|
3184
|
+
const t = e, r = { en: be, hu: he }, { onError: a, error: o, hasError: i, reset: s } = da(), {
|
|
3186
3185
|
state: l,
|
|
3187
3186
|
isLoading: c,
|
|
3188
3187
|
execute: g
|
|
3189
|
-
} =
|
|
3188
|
+
} = ee({
|
|
3190
3189
|
options: {
|
|
3191
|
-
path: "/v2/
|
|
3190
|
+
path: "/v2/recruitment-info",
|
|
3192
3191
|
apiKey: t.apiKey,
|
|
3193
3192
|
params: {},
|
|
3194
3193
|
immediate: !0
|
|
3195
3194
|
},
|
|
3196
3195
|
transform: Us,
|
|
3197
3196
|
onError: a
|
|
3198
|
-
}), m =
|
|
3199
|
-
() => De(l.value).filter(m.value, ["organizationName", "
|
|
3200
|
-
), z = N(() => [(
|
|
3197
|
+
}), m = V(""), { page: b, change: w } = dr(), h = N(
|
|
3198
|
+
() => De(l.value).filter(m.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(b.value, t.limit).value()
|
|
3199
|
+
), z = N(() => [(b.value - 1) * t.limit + 1, Math.min(b.value * t.limit, h.value.totalItems)]);
|
|
3201
3200
|
ne(m, () => {
|
|
3202
|
-
|
|
3201
|
+
b.value !== 1 && (b.value = 1);
|
|
3203
3202
|
});
|
|
3204
|
-
function
|
|
3205
|
-
|
|
3203
|
+
function f() {
|
|
3204
|
+
s(), g();
|
|
3206
3205
|
}
|
|
3207
|
-
return (
|
|
3206
|
+
return (I, k) => (u(), L(n(ve), {
|
|
3208
3207
|
locale: e.locale,
|
|
3209
3208
|
messages: r
|
|
3210
3209
|
}, {
|
|
3211
|
-
default: T(({ t:
|
|
3212
|
-
d("div",
|
|
3213
|
-
d("label",
|
|
3210
|
+
default: T(({ t: _ }) => [
|
|
3211
|
+
d("div", Ws, [
|
|
3212
|
+
d("label", Js, p(_("selection.filter")), 1),
|
|
3214
3213
|
Rr(d("input", {
|
|
3215
3214
|
id: "organization",
|
|
3216
|
-
"onUpdate:modelValue":
|
|
3217
|
-
placeholder:
|
|
3215
|
+
"onUpdate:modelValue": k[0] || (k[0] = (v) => m.value = v),
|
|
3216
|
+
placeholder: _("recruitmentInfo.filterByNameAndLocation"),
|
|
3218
3217
|
type: "text",
|
|
3219
3218
|
autocomplete: "off",
|
|
3220
3219
|
class: "base-input"
|
|
3221
|
-
}, null, 8,
|
|
3220
|
+
}, null, 8, Xs), [
|
|
3222
3221
|
[Gr, m.value]
|
|
3223
3222
|
])
|
|
3224
3223
|
]),
|
|
3225
|
-
|
|
3224
|
+
n(i) ? (u(), L(n($e), {
|
|
3226
3225
|
key: 0,
|
|
3227
|
-
error:
|
|
3226
|
+
error: n(o),
|
|
3228
3227
|
"use-retry": "",
|
|
3229
|
-
onRetry:
|
|
3228
|
+
onRetry: f
|
|
3230
3229
|
}, null, 8, ["error"])) : E("", !0),
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
(u(!0),
|
|
3234
|
-
key:
|
|
3230
|
+
n(c) ? (u(), L(n(He), { key: 1 })) : E("", !0),
|
|
3231
|
+
n(l).length > 0 && h.value.rows.length === 0 ? (u(), x("div", Qs, p(_("recruitmentInfo.noResult")), 1)) : E("", !0),
|
|
3232
|
+
(u(!0), x(j, null, F(h.value.rows, (v) => (u(), x("details", {
|
|
3233
|
+
key: v.organizationName,
|
|
3235
3234
|
class: "recruitment-info-card"
|
|
3236
3235
|
}, [
|
|
3237
3236
|
d("summary", null, [
|
|
3238
|
-
|
|
3239
|
-
src: `https://ivr-api.icehockey.hu${
|
|
3237
|
+
$(n(ue), {
|
|
3238
|
+
src: `https://ivr-api.icehockey.hu${v.organizationLogo}`,
|
|
3240
3239
|
"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"
|
|
3241
3240
|
}, null, 8, ["src"]),
|
|
3242
3241
|
d("strong", null, [
|
|
3243
|
-
|
|
3244
|
-
|
|
3242
|
+
Z(p(v.organizationName) + " ", 1),
|
|
3243
|
+
v.recruitmentTeamName ? (u(), x("span", Zs, "(" + p(v.recruitmentTeamName) + ")", 1)) : E("", !0)
|
|
3245
3244
|
])
|
|
3246
3245
|
]),
|
|
3247
3246
|
d("ul", null, [
|
|
3248
|
-
(u(!0),
|
|
3249
|
-
d("span", null, p(
|
|
3250
|
-
|
|
3251
|
-
d("div", { innerHTML: y }, null, 8,
|
|
3247
|
+
(u(!0), x(j, null, F(v.recruitment, (y, S) => (u(), x("li", { key: S }, [
|
|
3248
|
+
d("span", null, p(_(`recruitmentInfo.${S}`)) + ":", 1),
|
|
3249
|
+
k[1] || (k[1] = Z()),
|
|
3250
|
+
d("div", { innerHTML: y }, null, 8, el)
|
|
3252
3251
|
]))), 128))
|
|
3253
3252
|
])
|
|
3254
3253
|
]))), 128)),
|
|
3255
|
-
d("div",
|
|
3256
|
-
|
|
3257
|
-
page:
|
|
3254
|
+
d("div", tl, [
|
|
3255
|
+
$(n(ir), {
|
|
3256
|
+
page: n(b),
|
|
3258
3257
|
"items-per-page": t.limit,
|
|
3259
|
-
"total-items":
|
|
3258
|
+
"total-items": h.value.totalItems,
|
|
3260
3259
|
"range-length": 5,
|
|
3261
|
-
onChange:
|
|
3260
|
+
onChange: n(w)
|
|
3262
3261
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
3263
|
-
|
|
3262
|
+
h.value.totalItems > 0 ? (u(), x("div", rl, p(_("table.info", { min: z.value[0], max: z.value[1], total: h.value.totalItems })), 1)) : E("", !0)
|
|
3264
3263
|
])
|
|
3265
3264
|
]),
|
|
3266
3265
|
_: 1
|
|
3267
3266
|
}, 8, ["locale"]));
|
|
3268
3267
|
}
|
|
3269
|
-
},
|
|
3268
|
+
}, ol = /* @__PURE__ */ ye(al, [["styles", [fe, qs, je, Hs]]]), il = { class: "g-row" }, nl = {
|
|
3270
3269
|
for: "season",
|
|
3271
3270
|
class: "label"
|
|
3272
|
-
},
|
|
3271
|
+
}, sl = ["value"], ll = ["onClick"], cl = {
|
|
3273
3272
|
__name: "SeasonSelector",
|
|
3274
3273
|
props: {
|
|
3275
3274
|
seasons: {
|
|
@@ -3299,51 +3298,51 @@ const Hs = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3299
3298
|
a("onChangeSeason", l);
|
|
3300
3299
|
}
|
|
3301
3300
|
});
|
|
3302
|
-
function
|
|
3301
|
+
function s(l) {
|
|
3303
3302
|
a("onChangeSection", l);
|
|
3304
3303
|
}
|
|
3305
|
-
return (l, c) => (u(),
|
|
3306
|
-
d("div",
|
|
3304
|
+
return (l, c) => (u(), x(j, null, [
|
|
3305
|
+
d("div", il, [
|
|
3307
3306
|
d("div", null, [
|
|
3308
|
-
d("label",
|
|
3309
|
-
|
|
3307
|
+
d("label", nl, p(n(o)("selection.season")), 1),
|
|
3308
|
+
$(n(ke), {
|
|
3310
3309
|
id: "season",
|
|
3311
3310
|
modelValue: i.value,
|
|
3312
3311
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => i.value = g)
|
|
3313
3312
|
}, {
|
|
3314
3313
|
default: T(() => [
|
|
3315
|
-
(u(!0),
|
|
3314
|
+
(u(!0), x(j, null, F(e.seasons, (g) => (u(), x("option", {
|
|
3316
3315
|
key: g.championshipId,
|
|
3317
3316
|
value: g.championshipId
|
|
3318
|
-
}, p(g.seasonName), 9,
|
|
3317
|
+
}, p(g.seasonName), 9, sl))), 128))
|
|
3319
3318
|
]),
|
|
3320
3319
|
_: 1
|
|
3321
3320
|
}, 8, ["modelValue"])
|
|
3322
3321
|
])
|
|
3323
3322
|
]),
|
|
3324
3323
|
d("div", null, [
|
|
3325
|
-
(u(!0),
|
|
3324
|
+
(u(!0), x(j, null, F(e.sections, (g) => (u(), x("button", {
|
|
3326
3325
|
key: g.phaseId,
|
|
3327
3326
|
class: R(["tab-button", { "is-active": g.sectionId === e.sectionId }]),
|
|
3328
|
-
onClick: (m) =>
|
|
3329
|
-
}, p(g.sectionName), 11,
|
|
3327
|
+
onClick: (m) => s(g)
|
|
3328
|
+
}, p(g.sectionName), 11, ll))), 128))
|
|
3330
3329
|
])
|
|
3331
3330
|
], 64));
|
|
3332
3331
|
}
|
|
3333
3332
|
};
|
|
3334
|
-
function
|
|
3333
|
+
function dl(e, t) {
|
|
3335
3334
|
if (e.length === 0)
|
|
3336
|
-
throw new
|
|
3337
|
-
t.seasons =
|
|
3335
|
+
throw new lr(Ye.message, Ye.options);
|
|
3336
|
+
t.seasons = ul(e), t.championshipId || (t.championshipId = J(t.seasons).championshipId);
|
|
3338
3337
|
}
|
|
3339
|
-
function
|
|
3338
|
+
function gl(e, t) {
|
|
3340
3339
|
var r;
|
|
3341
|
-
t.sections =
|
|
3340
|
+
t.sections = qe(le("sectionId"))(e), t.sectionId = St(le("sectionId"), J)(t.sections), t.phaseId = ((r = xr([0, "phases", 0], e)) == null ? void 0 : r.phaseId) ?? null;
|
|
3342
3341
|
}
|
|
3343
|
-
function
|
|
3344
|
-
return St(_r(
|
|
3342
|
+
function ul(e) {
|
|
3343
|
+
return St(_r(yr(le("seasonName"))), zt($t(["championshipId", "seasonName"])))(e);
|
|
3345
3344
|
}
|
|
3346
|
-
const
|
|
3345
|
+
const ml = {
|
|
3347
3346
|
gameName: {
|
|
3348
3347
|
label: "table.gameName.short",
|
|
3349
3348
|
tooltip: "table.gameName.tooltip",
|
|
@@ -3380,13 +3379,13 @@ const pl = {
|
|
|
3380
3379
|
class: "is-text-left"
|
|
3381
3380
|
}
|
|
3382
3381
|
};
|
|
3383
|
-
function
|
|
3382
|
+
function pl(e) {
|
|
3384
3383
|
return (t) => zt((r) => ({
|
|
3385
3384
|
...r,
|
|
3386
3385
|
...r.registration && { registration: `${r.registration}/cid/${e}` }
|
|
3387
3386
|
}))(t);
|
|
3388
3387
|
}
|
|
3389
|
-
const
|
|
3388
|
+
const vl = {
|
|
3390
3389
|
__name: "DataProvider",
|
|
3391
3390
|
props: {
|
|
3392
3391
|
championshipName: {
|
|
@@ -3421,51 +3420,51 @@ const bl = {
|
|
|
3421
3420
|
sections: [],
|
|
3422
3421
|
sectionId: null,
|
|
3423
3422
|
phaseId: null
|
|
3424
|
-
}), { onError: a } = Pe(), { isLoading: o, execute: i } =
|
|
3423
|
+
}), { onError: a } = Pe(), { isLoading: o, execute: i } = ee({
|
|
3425
3424
|
options: {
|
|
3426
3425
|
path: "/v2/championship-seasons",
|
|
3427
3426
|
apiKey: t.apiKey,
|
|
3428
3427
|
params: { championshipName: t.championshipName }
|
|
3429
3428
|
},
|
|
3430
|
-
transform: (
|
|
3429
|
+
transform: (f) => dl(f, r),
|
|
3431
3430
|
onError: a
|
|
3432
|
-
}), { isLoading:
|
|
3431
|
+
}), { isLoading: s, execute: l } = ee({
|
|
3433
3432
|
options: {
|
|
3434
3433
|
path: "/v2/championship-sections",
|
|
3435
3434
|
apiKey: t.apiKey,
|
|
3436
3435
|
params: N(() => ({ championshipId: r.championshipId }))
|
|
3437
3436
|
},
|
|
3438
|
-
transform: (
|
|
3437
|
+
transform: (f) => gl(f, r),
|
|
3439
3438
|
onError: a
|
|
3440
3439
|
}), {
|
|
3441
3440
|
isLoading: c,
|
|
3442
3441
|
state: g,
|
|
3443
3442
|
execute: m
|
|
3444
|
-
} =
|
|
3443
|
+
} = ee({
|
|
3445
3444
|
options: {
|
|
3446
3445
|
path: "/v2/games-list",
|
|
3447
3446
|
apiKey: t.apiKey,
|
|
3448
3447
|
params: N(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3449
3448
|
},
|
|
3450
|
-
transform: (
|
|
3449
|
+
transform: (f) => Me(cr, pl(r.championshipId))(f),
|
|
3451
3450
|
onError: a
|
|
3452
|
-
}),
|
|
3451
|
+
}), b = N(() => De(g.value).schedule(t.timezone, t.locale).value());
|
|
3453
3452
|
Se([i, l, m]);
|
|
3454
|
-
const
|
|
3455
|
-
function
|
|
3456
|
-
r.championshipId =
|
|
3457
|
-
}
|
|
3458
|
-
function z(
|
|
3459
|
-
r.sectionId =
|
|
3460
|
-
}
|
|
3461
|
-
return (
|
|
3462
|
-
rows:
|
|
3463
|
-
isLoading:
|
|
3464
|
-
values:
|
|
3465
|
-
listeners: { onChangeSection: z, onChangeSeason:
|
|
3453
|
+
const w = N(() => [s.value, o.value, c.value].some(Boolean));
|
|
3454
|
+
function h(f) {
|
|
3455
|
+
r.championshipId = f, Se([l, m]);
|
|
3456
|
+
}
|
|
3457
|
+
function z(f) {
|
|
3458
|
+
r.sectionId = f.sectionId, r.phaseId = xr(["phases", 0, "phaseId"], f), m();
|
|
3459
|
+
}
|
|
3460
|
+
return (f, I) => we(f.$slots, "default", Ee(Ae({
|
|
3461
|
+
rows: b.value,
|
|
3462
|
+
isLoading: w.value,
|
|
3463
|
+
values: n(wr)(["phaseId"], r),
|
|
3464
|
+
listeners: { onChangeSection: z, onChangeSeason: h }
|
|
3466
3465
|
})));
|
|
3467
3466
|
}
|
|
3468
|
-
},
|
|
3467
|
+
}, bl = ["href"], hl = ["href"], fl = {
|
|
3469
3468
|
__name: "ScheduleCupDataTable",
|
|
3470
3469
|
props: {
|
|
3471
3470
|
columns: {
|
|
@@ -3486,21 +3485,21 @@ const bl = {
|
|
|
3486
3485
|
}
|
|
3487
3486
|
},
|
|
3488
3487
|
setup(e) {
|
|
3489
|
-
const t = e, r =
|
|
3488
|
+
const t = e, r = V(null), { columns: a } = ga(
|
|
3490
3489
|
t.columns,
|
|
3491
3490
|
null,
|
|
3492
3491
|
N(() => ({
|
|
3493
3492
|
offsetName: t.offsetName
|
|
3494
3493
|
}))
|
|
3495
3494
|
), { t: o } = ce();
|
|
3496
|
-
return (i,
|
|
3495
|
+
return (i, s) => (u(), x("div", {
|
|
3497
3496
|
ref_key: "tooltipContainer",
|
|
3498
3497
|
ref: r
|
|
3499
3498
|
}, [
|
|
3500
|
-
|
|
3499
|
+
$(n(nr), null, {
|
|
3501
3500
|
default: T(() => [
|
|
3502
|
-
|
|
3503
|
-
columns:
|
|
3501
|
+
$(n(Hr), {
|
|
3502
|
+
columns: n(a),
|
|
3504
3503
|
rows: e.rows,
|
|
3505
3504
|
"is-loading": e.isLoading,
|
|
3506
3505
|
"append-to": r.value
|
|
@@ -3508,25 +3507,25 @@ const bl = {
|
|
|
3508
3507
|
"cell-homeTeamName": T(({ row: l }) => {
|
|
3509
3508
|
var c;
|
|
3510
3509
|
return [
|
|
3511
|
-
|
|
3510
|
+
Z(p(((c = l.homeTeam) == null ? void 0 : c.longName) ?? ""), 1)
|
|
3512
3511
|
];
|
|
3513
3512
|
}),
|
|
3514
3513
|
"cell-location": T(({ row: l }) => {
|
|
3515
3514
|
var c;
|
|
3516
3515
|
return [
|
|
3517
|
-
|
|
3516
|
+
Z(p(((c = l.location) == null ? void 0 : c.locationName) ?? ""), 1)
|
|
3518
3517
|
];
|
|
3519
3518
|
}),
|
|
3520
3519
|
"cell-document": T(({ row: l }) => [
|
|
3521
|
-
l.schedule ? (u(),
|
|
3520
|
+
l.schedule ? (u(), x("a", {
|
|
3522
3521
|
key: 0,
|
|
3523
3522
|
href: l.schedule,
|
|
3524
3523
|
target: "_blank"
|
|
3525
|
-
}, p(
|
|
3524
|
+
}, p(n(o)("schedule")), 9, bl)) : l.registration ? (u(), x("a", {
|
|
3526
3525
|
key: 1,
|
|
3527
3526
|
href: l.registration,
|
|
3528
3527
|
target: "_blank"
|
|
3529
|
-
}, p(
|
|
3528
|
+
}, p(n(o)("registration")), 9, hl)) : E("", !0)
|
|
3530
3529
|
]),
|
|
3531
3530
|
_: 1
|
|
3532
3531
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3535,7 +3534,7 @@ const bl = {
|
|
|
3535
3534
|
})
|
|
3536
3535
|
], 512));
|
|
3537
3536
|
}
|
|
3538
|
-
},
|
|
3537
|
+
}, yl = {
|
|
3539
3538
|
__name: "ScheduleCup.ce",
|
|
3540
3539
|
props: {
|
|
3541
3540
|
locale: {
|
|
@@ -3556,27 +3555,27 @@ const bl = {
|
|
|
3556
3555
|
// },
|
|
3557
3556
|
},
|
|
3558
3557
|
setup(e) {
|
|
3559
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
3560
|
-
return (i,
|
|
3558
|
+
const t = e, r = { en: be, hu: he }, a = V(Je()), o = N(() => We(/* @__PURE__ */ new Date(), a.value, t.locale));
|
|
3559
|
+
return (i, s) => (u(), L(n(ve), {
|
|
3561
3560
|
locale: t.locale,
|
|
3562
3561
|
messages: r
|
|
3563
3562
|
}, {
|
|
3564
3563
|
default: T(() => [
|
|
3565
|
-
|
|
3564
|
+
$(n(Le), null, {
|
|
3566
3565
|
default: T(({ error: l, hasError: c }) => [
|
|
3567
|
-
c ? (u(), L(
|
|
3566
|
+
c ? (u(), L(n($e), {
|
|
3568
3567
|
key: 0,
|
|
3569
3568
|
error: l
|
|
3570
3569
|
}, null, 8, ["error"])) : E("", !0),
|
|
3571
|
-
|
|
3570
|
+
$(vl, {
|
|
3572
3571
|
"championship-name": e.championshipName,
|
|
3573
3572
|
locale: e.locale,
|
|
3574
3573
|
timezone: a.value
|
|
3575
3574
|
}, {
|
|
3576
|
-
default: T(({ rows: g, isLoading: m, values:
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
columns:
|
|
3575
|
+
default: T(({ rows: g, isLoading: m, values: b, listeners: w }) => [
|
|
3576
|
+
$(cl, er(b, Ur(w)), null, 16),
|
|
3577
|
+
$(fl, {
|
|
3578
|
+
columns: n(ml),
|
|
3580
3579
|
rows: g.rows,
|
|
3581
3580
|
"is-loading": m,
|
|
3582
3581
|
"offset-name": o.value
|
|
@@ -3591,19 +3590,19 @@ const bl = {
|
|
|
3591
3590
|
_: 1
|
|
3592
3591
|
}, 8, ["locale"]));
|
|
3593
3592
|
}
|
|
3594
|
-
},
|
|
3593
|
+
}, wl = /* @__PURE__ */ ye(yl, [["styles", [fe, rt, je, kr, zr, Sr, $r]]]), xl = {
|
|
3595
3594
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3596
3595
|
viewBox: "0 0 24 24"
|
|
3597
3596
|
};
|
|
3598
|
-
function
|
|
3599
|
-
return u(),
|
|
3597
|
+
function _l(e, t) {
|
|
3598
|
+
return u(), x("svg", xl, t[0] || (t[0] = [
|
|
3600
3599
|
d("path", {
|
|
3601
3600
|
fill: "currentColor",
|
|
3602
3601
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3603
3602
|
}, null, -1)
|
|
3604
3603
|
]));
|
|
3605
3604
|
}
|
|
3606
|
-
const
|
|
3605
|
+
const kl = { render: _l }, zl = ["onClick", "onFocus", "onBlur"], Sl = { class: "is-dropdown-menu" }, $l = ["onClick"], Il = /* @__PURE__ */ Object.assign({
|
|
3607
3606
|
inheritAttrs: !1
|
|
3608
3607
|
}, {
|
|
3609
3608
|
__name: "ChampionshipSelector",
|
|
@@ -3624,41 +3623,41 @@ const zl = { render: kl }, Sl = ["onClick", "onFocus", "onBlur"], $l = { class:
|
|
|
3624
3623
|
emits: ["change"],
|
|
3625
3624
|
setup(e, { emit: t }) {
|
|
3626
3625
|
const r = t;
|
|
3627
|
-
return (a, o) => (u(), L(
|
|
3626
|
+
return (a, o) => (u(), L(n(Wr), {
|
|
3628
3627
|
offset: 2,
|
|
3629
3628
|
placement: "bottom-end",
|
|
3630
3629
|
theme: "content",
|
|
3631
3630
|
"append-to": e.target,
|
|
3632
3631
|
"is-arrow-visible": !1
|
|
3633
3632
|
}, {
|
|
3634
|
-
default: T(({ setRef: i, show:
|
|
3633
|
+
default: T(({ setRef: i, show: s, hide: l }) => [
|
|
3635
3634
|
d("button", {
|
|
3636
3635
|
ref: i,
|
|
3637
3636
|
type: "button",
|
|
3638
|
-
onClick: Yr(
|
|
3639
|
-
onFocus:
|
|
3637
|
+
onClick: Yr(s, ["stop"]),
|
|
3638
|
+
onFocus: s,
|
|
3640
3639
|
onBlur: l
|
|
3641
3640
|
}, [
|
|
3642
|
-
|
|
3643
|
-
], 40,
|
|
3641
|
+
$(n(kl), { style: { display: "block", height: "20px" } })
|
|
3642
|
+
], 40, zl)
|
|
3644
3643
|
]),
|
|
3645
3644
|
content: T(() => [
|
|
3646
|
-
d("ul",
|
|
3647
|
-
(u(!0),
|
|
3645
|
+
d("ul", Sl, [
|
|
3646
|
+
(u(!0), x(j, null, F(e.data, (i) => (u(), x("li", {
|
|
3648
3647
|
key: i.championshipId,
|
|
3649
3648
|
class: R(["is-dropdown-item", { "is-selected": e.selected === i.phaseId }]),
|
|
3650
|
-
onClick: (
|
|
3651
|
-
}, p(i.name) + " - " + p(i.phase), 11,
|
|
3649
|
+
onClick: (s) => r("change", i)
|
|
3650
|
+
}, p(i.name) + " - " + p(i.phase), 11, $l))), 128))
|
|
3652
3651
|
])
|
|
3653
3652
|
]),
|
|
3654
3653
|
_: 1
|
|
3655
3654
|
}, 8, ["append-to"]));
|
|
3656
3655
|
}
|
|
3657
3656
|
});
|
|
3658
|
-
function
|
|
3659
|
-
return e.map((t) => ({ ...t, w:
|
|
3657
|
+
function Cl(e) {
|
|
3658
|
+
return e.map((t) => ({ ...t, w: Kt([t.w, t.otw, t.sow]), l: Kt([t.l, t.otl, t.sol]) }));
|
|
3660
3659
|
}
|
|
3661
|
-
const
|
|
3660
|
+
const Nl = {
|
|
3662
3661
|
__name: "DataProvider",
|
|
3663
3662
|
props: {
|
|
3664
3663
|
apiKey: {
|
|
@@ -3671,15 +3670,15 @@ const Tl = {
|
|
|
3671
3670
|
}
|
|
3672
3671
|
},
|
|
3673
3672
|
setup(e) {
|
|
3674
|
-
var
|
|
3673
|
+
var b, w, h;
|
|
3675
3674
|
const t = e, { onError: r, reset: a } = Pe(), o = ge({
|
|
3676
|
-
championshipId:
|
|
3677
|
-
phaseId:
|
|
3678
|
-
path: ((
|
|
3679
|
-
championshipName:
|
|
3680
|
-
phaseName: ((
|
|
3681
|
-
isPlayoffs: ((
|
|
3682
|
-
}), { state: i, isLoading:
|
|
3675
|
+
championshipId: J(t.data).championshipId,
|
|
3676
|
+
phaseId: J(t.data).phaseId,
|
|
3677
|
+
path: ((b = J(t.data)) == null ? void 0 : b.path) ?? "",
|
|
3678
|
+
championshipName: J(t.data).name,
|
|
3679
|
+
phaseName: ((w = J(t.data)) == null ? void 0 : w.phase) ?? null,
|
|
3680
|
+
isPlayoffs: ((h = J(t.data)) == null ? void 0 : h.isPlayoffs) ?? !1
|
|
3681
|
+
}), { state: i, isLoading: s, execute: l } = ee({
|
|
3683
3682
|
options: {
|
|
3684
3683
|
path: N(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3685
3684
|
apiKey: t.apiKey,
|
|
@@ -3687,7 +3686,7 @@ const Tl = {
|
|
|
3687
3686
|
resetOnExecute: !0,
|
|
3688
3687
|
immediate: !0
|
|
3689
3688
|
},
|
|
3690
|
-
transform: (z) =>
|
|
3689
|
+
transform: (z) => Cl(z),
|
|
3691
3690
|
onError: r
|
|
3692
3691
|
}), c = N(() => De(i.value).addContinuousIndex().value()), g = N(() => ({
|
|
3693
3692
|
tag: o.path ? "a" : "p",
|
|
@@ -3695,12 +3694,12 @@ const Tl = {
|
|
|
3695
3694
|
...o.path && { href: o.path }
|
|
3696
3695
|
}
|
|
3697
3696
|
}));
|
|
3698
|
-
function m({ championshipId: z, phaseId:
|
|
3699
|
-
o.championshipId = z, o.path =
|
|
3697
|
+
function m({ championshipId: z, phaseId: f, name: I, path: k, phase: _, isPlayoffs: v }) {
|
|
3698
|
+
o.championshipId = z, o.path = k || "", o.phaseId = f, o.championshipName = I, o.phaseName = _, o.isPlayoffs = v || !1, a(), l();
|
|
3700
3699
|
}
|
|
3701
|
-
return (z,
|
|
3700
|
+
return (z, f) => we(z.$slots, "default", Ee(Ae({ convertedRows: c.value, isLoading: n(s), ...o, componentProps: g.value, onChange: m })));
|
|
3702
3701
|
}
|
|
3703
|
-
},
|
|
3702
|
+
}, Tl = { class: "section-title" }, El = { class: "is-team" }, Al = { class: "is-team-name-short" }, Ll = { class: "is-team-name-long" }, Dl = { class: "is-badge is-extra-large is-dark" }, Pl = { class: "is-team" }, Ml = { class: "is-team-name-short" }, jl = { class: "is-team-name-long" }, Ol = {
|
|
3704
3703
|
__name: "PlayoffsList",
|
|
3705
3704
|
props: {
|
|
3706
3705
|
playoffs: {
|
|
@@ -3714,35 +3713,35 @@ const Tl = {
|
|
|
3714
3713
|
},
|
|
3715
3714
|
setup(e) {
|
|
3716
3715
|
const { t } = ce();
|
|
3717
|
-
return (r, a) => (u(), L(
|
|
3716
|
+
return (r, a) => (u(), L(n(nr), { class: "playoffs-minimal" }, {
|
|
3718
3717
|
default: T(() => [
|
|
3719
|
-
e.isLoading ? (u(), L(
|
|
3720
|
-
(u(!0),
|
|
3718
|
+
e.isLoading ? (u(), L(n(He), { key: 0 })) : E("", !0),
|
|
3719
|
+
(u(!0), x(j, null, F(e.playoffs, (o) => (u(), x("div", {
|
|
3721
3720
|
key: `${o.divisionStage2Name}-${o.divisionStageNumber}`,
|
|
3722
3721
|
class: "section"
|
|
3723
3722
|
}, [
|
|
3724
|
-
d("div",
|
|
3723
|
+
d("div", Tl, p(n(t)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
|
|
3725
3724
|
d("ul", null, [
|
|
3726
|
-
d("li",
|
|
3727
|
-
d("span",
|
|
3728
|
-
d("span",
|
|
3725
|
+
d("li", El, [
|
|
3726
|
+
d("span", Al, p(o.homeTeam.shortName), 1),
|
|
3727
|
+
d("span", Ll, p(o.homeTeam.longName), 1)
|
|
3729
3728
|
]),
|
|
3730
3729
|
d("li", null, [
|
|
3731
|
-
|
|
3730
|
+
$(n(ue), {
|
|
3732
3731
|
src: o.homeTeam.logo
|
|
3733
3732
|
}, null, 8, ["src"])
|
|
3734
3733
|
]),
|
|
3735
3734
|
d("li", null, [
|
|
3736
|
-
d("span",
|
|
3735
|
+
d("span", Dl, p(o.seriesStandings), 1)
|
|
3737
3736
|
]),
|
|
3738
3737
|
d("li", null, [
|
|
3739
|
-
|
|
3738
|
+
$(n(ue), {
|
|
3740
3739
|
src: o.awayTeam.logo
|
|
3741
3740
|
}, null, 8, ["src"])
|
|
3742
3741
|
]),
|
|
3743
|
-
d("li",
|
|
3744
|
-
d("span",
|
|
3745
|
-
d("span",
|
|
3742
|
+
d("li", Pl, [
|
|
3743
|
+
d("span", Ml, p(o.awayTeam.shortName), 1),
|
|
3744
|
+
d("span", jl, p(o.awayTeam.longName), 1)
|
|
3746
3745
|
])
|
|
3747
3746
|
])
|
|
3748
3747
|
]))), 128))
|
|
@@ -3750,7 +3749,7 @@ const Tl = {
|
|
|
3750
3749
|
_: 1
|
|
3751
3750
|
}));
|
|
3752
3751
|
}
|
|
3753
|
-
}, Gl = ".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}", Ul = '.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)}', Yl = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Kl = ".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}", Bl = ".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}", Vl = ".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}}", Fl = { class: "standings-selector" }, ql = { class: "standings-selector-title" }, Hl = {
|
|
3752
|
+
}, Rl = ".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}", Gl = '.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)}', Ul = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Yl = ".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}", Kl = ".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}", Bl = ".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}}", Vl = { class: "standings-selector" }, Fl = { class: "standings-selector-title" }, ql = {
|
|
3754
3753
|
__name: "StandingsSelector.ce",
|
|
3755
3754
|
props: {
|
|
3756
3755
|
locale: {
|
|
@@ -3767,52 +3766,52 @@ const Tl = {
|
|
|
3767
3766
|
}
|
|
3768
3767
|
},
|
|
3769
3768
|
setup(e) {
|
|
3770
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
3771
|
-
return (i,
|
|
3769
|
+
const t = e, r = { en: be, hu: he }, a = V(null), o = N(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3770
|
+
return (i, s) => (u(), L(n(ve), {
|
|
3772
3771
|
locale: t.locale,
|
|
3773
3772
|
messages: r
|
|
3774
3773
|
}, {
|
|
3775
3774
|
default: T(() => [
|
|
3776
|
-
|
|
3775
|
+
$(n(Le), null, {
|
|
3777
3776
|
default: T(({ error: l, hasError: c }) => [
|
|
3778
|
-
|
|
3779
|
-
default: T(({ convertedRows: g, isLoading: m, path:
|
|
3780
|
-
d("div",
|
|
3781
|
-
d("div",
|
|
3782
|
-
(u(), L(Kr(
|
|
3777
|
+
$(Nl, { data: o.value }, {
|
|
3778
|
+
default: T(({ convertedRows: g, isLoading: m, path: b, phaseName: w, componentProps: h, championshipName: z, phaseId: f, isPlayoffs: I, onChange: k }) => [
|
|
3779
|
+
d("div", Vl, [
|
|
3780
|
+
d("div", Fl, [
|
|
3781
|
+
(u(), L(Kr(h.tag), er(h.props, { class: "is-title-text" }), {
|
|
3783
3782
|
default: T(() => [
|
|
3784
3783
|
d("b", null, p(z), 1),
|
|
3785
|
-
|
|
3786
|
-
|
|
3784
|
+
Z(" - " + p(w) + " ", 1),
|
|
3785
|
+
b ? (u(), L(n(It), { key: 0 })) : E("", !0)
|
|
3787
3786
|
]),
|
|
3788
3787
|
_: 2
|
|
3789
3788
|
}, 1040)),
|
|
3790
|
-
o.value.length > 1 ? (u(), L(
|
|
3789
|
+
o.value.length > 1 ? (u(), L(Il, {
|
|
3791
3790
|
key: 0,
|
|
3792
3791
|
data: o.value,
|
|
3793
|
-
selected:
|
|
3792
|
+
selected: f,
|
|
3794
3793
|
target: a.value,
|
|
3795
|
-
onChange:
|
|
3794
|
+
onChange: k
|
|
3796
3795
|
}, null, 8, ["data", "selected", "target", "onChange"])) : E("", !0)
|
|
3797
3796
|
]),
|
|
3798
|
-
|
|
3797
|
+
I ? (u(), L(Ol, {
|
|
3799
3798
|
key: 0,
|
|
3800
3799
|
playoffs: g.rows,
|
|
3801
3800
|
"is-loading": m
|
|
3802
|
-
}, null, 8, ["playoffs", "is-loading"])) : (u(), L(
|
|
3801
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), L(n(or), {
|
|
3803
3802
|
key: 1,
|
|
3804
3803
|
"is-loading": m,
|
|
3805
|
-
columns:
|
|
3804
|
+
columns: n(Fr),
|
|
3806
3805
|
rows: g.rows,
|
|
3807
3806
|
"append-to": a.value,
|
|
3808
3807
|
"external-team-resolver": () => {
|
|
3809
3808
|
}
|
|
3810
3809
|
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3811
|
-
|
|
3810
|
+
$(n(Ue), {
|
|
3812
3811
|
rows: g.rows,
|
|
3813
3812
|
"additional-key": "inheritedPoints"
|
|
3814
3813
|
}, null, 8, ["rows"]),
|
|
3815
|
-
|
|
3814
|
+
$(n(Ue), {
|
|
3816
3815
|
rows: g.rows,
|
|
3817
3816
|
"additional-key": "penaltyPoints"
|
|
3818
3817
|
}, null, 8, ["rows"])
|
|
@@ -3824,7 +3823,7 @@ const Tl = {
|
|
|
3824
3823
|
]),
|
|
3825
3824
|
_: 1
|
|
3826
3825
|
}, 8, ["data"]),
|
|
3827
|
-
c ? (u(), L(
|
|
3826
|
+
c ? (u(), L(n($e), {
|
|
3828
3827
|
key: 0,
|
|
3829
3828
|
error: l
|
|
3830
3829
|
}, null, 8, ["error"])) : E("", !0)
|
|
@@ -3835,30 +3834,30 @@ const Tl = {
|
|
|
3835
3834
|
_: 1
|
|
3836
3835
|
}, 8, ["locale"]));
|
|
3837
3836
|
}
|
|
3838
|
-
},
|
|
3839
|
-
function
|
|
3840
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3837
|
+
}, Hl = /* @__PURE__ */ ye(ql, [["styles", [fe, Rl, Gl, Ul, Yl, Kl, Bl]]]), Wl = pe($i), Jl = pe(en), Xl = pe(wl), Ql = pe(Gs), Zl = pe(ds), ec = pe(Hl), tc = pe(Sn), rc = pe(ol);
|
|
3838
|
+
function ac() {
|
|
3839
|
+
customElements.define("mjsz-vbr-calendar", Wl), customElements.define("mjsz-vbr-championship", Jl), customElements.define("mjsz-vbr-schedule-cup", Xl), customElements.define("mjsz-vbr-ibr-identifiers", Ql), customElements.define("mjsz-vbr-games-timeline", Zl), customElements.define("mjsz-vbr-standings-selector", ec), customElements.define("mjsz-vbr-countdown", tc), customElements.define("mjsz-vbr-recruitment-info", rc);
|
|
3841
3840
|
}
|
|
3842
|
-
const
|
|
3843
|
-
install: () =>
|
|
3841
|
+
const gc = {
|
|
3842
|
+
install: () => ac()
|
|
3844
3843
|
};
|
|
3845
3844
|
export {
|
|
3846
3845
|
$i as Calendar,
|
|
3847
|
-
|
|
3846
|
+
Wl as CalendarCE,
|
|
3848
3847
|
en as Championship,
|
|
3849
|
-
|
|
3848
|
+
Jl as ChampionshipCE,
|
|
3850
3849
|
Sn as Countdown,
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3850
|
+
tc as CountdownCE,
|
|
3851
|
+
ds as GamesTimeline,
|
|
3852
|
+
Zl as GamesTimelineCE,
|
|
3853
|
+
Gs as IVRIdentifiers,
|
|
3854
|
+
Ql as IVRIdentifiersCE,
|
|
3855
|
+
ol as RecruitmentInfo,
|
|
3856
|
+
rc as RecruitmentInfoCE,
|
|
3857
|
+
wl as ScheduleCup,
|
|
3858
|
+
Xl as ScheduleCupCE,
|
|
3859
|
+
Hl as StandingsSelector,
|
|
3860
|
+
ec as StandingsSelectorCE,
|
|
3861
|
+
gc as default,
|
|
3862
|
+
ac as register
|
|
3864
3863
|
};
|