@mjsz-vbr-elements/extended 2.14.5 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +1221 -1151
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.15.0 - 03/02/2025, 15:40:07
|
|
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 { ref as
|
|
9
|
-
import { currentWeekStartEnd as
|
|
10
|
-
import { Image as
|
|
11
|
-
import { format as
|
|
12
|
-
import { useError as
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
14
|
-
import { SORT_STATE_DESCEND as
|
|
15
|
-
const
|
|
16
|
-
schedule:
|
|
8
|
+
import { ref as O, isRef as de, watch as le, getCurrentScope as wr, onScopeDispose as xr, toValue as Y, readonly as _r, onMounted as pt, nextTick as Se, getCurrentInstance as Ht, reactive as ce, computed as A, shallowRef as je, unref as d, toRefs as kr, renderSlot as ge, normalizeProps as Te, guardReactiveProps as Ne, openBlock as u, createElementBlock as _, createElementVNode as g, normalizeClass as B, createTextVNode as ae, toDisplayString as f, Fragment as R, createVNode as T, createCommentVNode as P, createBlock as D, withCtx as C, renderList as W, toRef as zr, useTemplateRef as Sr, provide as Ir, useId as $r, inject as Tr, onUnmounted as Nr, Transition as Cr, triggerRef as Ar, isMemoSame as Er, mergeProps as Wt, toHandlers as Dr, withModifiers as Pr, resolveDynamicComponent as Lr, defineCustomElement as fe } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as St, subtractDays as Jt, addDays as Xt, isBefore as ut, isAfter as mt, startOfMonth as et, endOfMonth as tt, rawConvert as Mr, convertGamePeriodResults as jr, gameProps as Or, COLUMNS_STANDINGS_SHORT as Gr } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as me, I18NProvider as ye, ErrorProvider as Ce, ErrorNotice as Ae, LoadingIndicator as vt, FetchMoreObserver as Rr, BaseSelect as ve, StatisticsTable as Qt, Paginator as Yr, AdditionalStandingsText as Oe, ResponsiveTable as Zt, DataTable as Ur, FloatingPanel as Kr } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as Q, convert as Be, isBefore as Br, isAfter as er, offsetName as Ve, getLocalTimezone as Fe, externalGameLinkResolver as bt, WidgetError as tr, InvalidSeasonName as Ge, sortGames as rr, convertPhaseName as Vr, rawConvert as Fr, playerName as qr, teamName as Hr, scheduleOptionalRowClass as Wr, convertTimesMinToMinSec as Jr, convertTimesSecToMin as Xr, externalTeamLinkResolver as Qr, sortByDomNode as Zr } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { useError as Ee, useServices as ee, useI18n as ne, useSort as ea, usePage as ta, useLazyLoadingState as ra, fetchVBRData as aa, useVisibilityChange as oa, useColumns as ia } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { COLUMNS_SCHEDULE as ar, COLUMNS_STANDINGS_P_3 as na, COLUMNS_FIELD_PLAYERS as Pe, COLUMNS_FIELD_PLAYERS_PENALTY as sa, COLUMNS_GOALIES as It, COLUMNS_TEAMS_FAIRPLAY as la, COLUMNS_TEAMS_PENALTY_KILLING as ca, COLUMNS_TEAMS_POWERPLAY as da, COLUMNS_SCORING_EFFICIENCY as ga } from "@mjsz-vbr-elements/core/columns";
|
|
14
|
+
import { SORT_STATE_DESCEND as X } from "@mjsz-vbr-elements/core/constants";
|
|
15
|
+
const pa = "Schedule", ua = "Application form", ma = { 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", 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):" }, va = { 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" }, ba = { 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" }, ha = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, fa = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, ya = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, we = {
|
|
16
|
+
schedule: pa,
|
|
17
17
|
registration: ua,
|
|
18
|
-
selection:
|
|
19
|
-
report:
|
|
20
|
-
playoffs:
|
|
21
|
-
table:
|
|
22
|
-
calendar:
|
|
23
|
-
gamesTimeline:
|
|
24
|
-
},
|
|
25
|
-
schedule:
|
|
26
|
-
registration:
|
|
27
|
-
selection:
|
|
28
|
-
report:
|
|
29
|
-
playoffs:
|
|
30
|
-
table:
|
|
31
|
-
calendar:
|
|
32
|
-
gamesTimeline:
|
|
33
|
-
},
|
|
34
|
-
function
|
|
35
|
-
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame },
|
|
36
|
-
}
|
|
37
|
-
const q = /* @__PURE__ */ new Date(),
|
|
38
|
-
min:
|
|
39
|
-
max:
|
|
18
|
+
selection: ma,
|
|
19
|
+
report: va,
|
|
20
|
+
playoffs: ba,
|
|
21
|
+
table: ha,
|
|
22
|
+
calendar: fa,
|
|
23
|
+
gamesTimeline: ya
|
|
24
|
+
}, wa = "Sorsolás", xa = "Jelentkezés", _a = { 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", 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):" }, ka = { 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" }, za = { 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ő" }, Sa = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Ia = { 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" }, $a = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra" }, xe = {
|
|
25
|
+
schedule: wa,
|
|
26
|
+
registration: xa,
|
|
27
|
+
selection: _a,
|
|
28
|
+
report: ka,
|
|
29
|
+
playoffs: za,
|
|
30
|
+
table: Sa,
|
|
31
|
+
calendar: Ia,
|
|
32
|
+
gamesTimeline: $a
|
|
33
|
+
}, be = "gamesPlayed", Ie = "todaysGames", $e = "nextGames", Re = "weekGames";
|
|
34
|
+
function Ta(t, e) {
|
|
35
|
+
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Mr(t.games, jr);
|
|
36
|
+
}
|
|
37
|
+
const q = /* @__PURE__ */ new Date(), Le = (/* @__PURE__ */ new Map()).set(Ie, () => ({ min: q, max: q, month: null, id: null })).set(Re, () => ({
|
|
38
|
+
min: St().startDate,
|
|
39
|
+
max: St().endDate,
|
|
40
40
|
month: null,
|
|
41
41
|
id: null
|
|
42
|
-
})).set(
|
|
43
|
-
const { year: e, month: r } =
|
|
42
|
+
})).set(be, (t = null) => {
|
|
43
|
+
const { year: e, month: r } = $t(t);
|
|
44
44
|
return {
|
|
45
|
-
min:
|
|
46
|
-
max:
|
|
45
|
+
min: Tt(new Date(e, r, 1), !0),
|
|
46
|
+
max: Nt(new Date(e, r, 1), !0),
|
|
47
47
|
id: `${e}-${r}`
|
|
48
48
|
};
|
|
49
|
-
}).set(
|
|
50
|
-
const { year: e, month: r } =
|
|
49
|
+
}).set($e, (t = null) => {
|
|
50
|
+
const { year: e, month: r } = $t(t);
|
|
51
51
|
return {
|
|
52
|
-
min:
|
|
53
|
-
max:
|
|
52
|
+
min: Tt(new Date(e, r, 1)),
|
|
53
|
+
max: Nt(new Date(e, r, 1)),
|
|
54
54
|
id: `${e}-${r}`
|
|
55
55
|
};
|
|
56
|
-
}),
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
}), Na = (/* @__PURE__ */ new Map()).set(Ie, () => []).set(be, (t, e) => Ca(Jt(q, 1), t, e)).set($e, (t, e) => Aa(Xt(q, 1), t, e)).set(Re, () => []);
|
|
57
|
+
function Ca(t, e, r) {
|
|
58
|
+
return ut(t, e) ? [] : mt(t, r) ? [e, r] : [e, t];
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function Aa(t, e, r) {
|
|
61
|
+
return ut(t, e) ? [e, r] : mt(t, r) ? [] : [t, r];
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Ea(t, e, r, a = "hu") {
|
|
64
64
|
t = new Date(t), e = new Date(e);
|
|
65
65
|
const o = [], i = t;
|
|
66
66
|
for (; i.getTime() <= e.getTime(); ) {
|
|
@@ -79,33 +79,33 @@ function Aa(t, e, r, a = "hu") {
|
|
|
79
79
|
}
|
|
80
80
|
return o;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function $t(t) {
|
|
83
83
|
if (!t)
|
|
84
84
|
return { year: q.getFullYear(), month: q.getMonth() };
|
|
85
85
|
const [e, r] = t.split("-");
|
|
86
86
|
return { year: e, month: r };
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Tt(t, e) {
|
|
89
89
|
if (e)
|
|
90
90
|
return et(t);
|
|
91
|
-
const r =
|
|
92
|
-
return
|
|
91
|
+
const r = Xt(q, 1);
|
|
92
|
+
return ut(et(t), r) ? r : et(t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Nt(t, e = !1) {
|
|
95
95
|
if (e) {
|
|
96
|
-
const r =
|
|
96
|
+
const r = Jt(q, 1);
|
|
97
97
|
return mt(tt(t), r) ? r : tt(t);
|
|
98
98
|
}
|
|
99
99
|
return tt(t);
|
|
100
100
|
}
|
|
101
101
|
function st(t) {
|
|
102
|
-
return
|
|
102
|
+
return wr() ? (xr(t), !0) : !1;
|
|
103
103
|
}
|
|
104
104
|
const lt = typeof window < "u" && typeof document < "u";
|
|
105
105
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
106
|
-
const
|
|
106
|
+
const Da = (t) => typeof t < "u", Pa = Object.prototype.toString, La = (t) => Pa.call(t) === "[object Object]", Z = () => {
|
|
107
107
|
};
|
|
108
|
-
function
|
|
108
|
+
function ht(t, e) {
|
|
109
109
|
function r(...a) {
|
|
110
110
|
return new Promise((o, i) => {
|
|
111
111
|
Promise.resolve(t(() => e.apply(this, a), { fn: e, thisArg: this, args: a })).then(o).catch(i);
|
|
@@ -113,41 +113,41 @@ function bt(t, e) {
|
|
|
113
113
|
}
|
|
114
114
|
return r;
|
|
115
115
|
}
|
|
116
|
-
const
|
|
117
|
-
function
|
|
116
|
+
const or = (t) => t();
|
|
117
|
+
function Ma(t, e = {}) {
|
|
118
118
|
let r, a, o = Z;
|
|
119
119
|
const i = (l) => {
|
|
120
120
|
clearTimeout(l), o(), o = Z;
|
|
121
121
|
};
|
|
122
122
|
let n;
|
|
123
123
|
return (l) => {
|
|
124
|
-
const c = Y(t),
|
|
125
|
-
return r && i(r), c <= 0 ||
|
|
126
|
-
o = e.rejectOnCancel ?
|
|
124
|
+
const c = Y(t), p = Y(e.maxWait);
|
|
125
|
+
return r && i(r), c <= 0 || p !== void 0 && p <= 0 ? (a && (i(a), a = null), Promise.resolve(l())) : new Promise((m, y) => {
|
|
126
|
+
o = e.rejectOnCancel ? y : m, n = l, p && !a && (a = setTimeout(() => {
|
|
127
127
|
r && i(r), a = null, m(n());
|
|
128
|
-
},
|
|
128
|
+
}, p)), r = setTimeout(() => {
|
|
129
129
|
a && i(a), a = null, m(l());
|
|
130
130
|
}, c);
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ja(...t) {
|
|
135
135
|
let e = 0, r, a = !0, o = Z, i, n, s, l, c;
|
|
136
136
|
!de(t[0]) && typeof t[0] == "object" ? { delay: n, trailing: s = !0, leading: l = !0, rejectOnCancel: c = !1 } = t[0] : [n, s = !0, l = !0, c = !1] = t;
|
|
137
|
-
const
|
|
137
|
+
const p = () => {
|
|
138
138
|
r && (clearTimeout(r), r = void 0, o(), o = Z);
|
|
139
139
|
};
|
|
140
|
-
return (
|
|
141
|
-
const
|
|
142
|
-
return
|
|
143
|
-
o = c ? x :
|
|
144
|
-
e = Date.now(), a = !0,
|
|
145
|
-
}, Math.max(0,
|
|
146
|
-
})), !l && !r && (r = setTimeout(() => a = !0,
|
|
140
|
+
return (y) => {
|
|
141
|
+
const v = Y(n), k = Date.now() - e, b = () => i = y();
|
|
142
|
+
return p(), v <= 0 ? (e = Date.now(), b()) : (k > v && (l || !a) ? (e = Date.now(), b()) : s && (i = new Promise((I, x) => {
|
|
143
|
+
o = c ? x : I, r = setTimeout(() => {
|
|
144
|
+
e = Date.now(), a = !0, I(b()), p();
|
|
145
|
+
}, Math.max(0, v - k));
|
|
146
|
+
})), !l && !r && (r = setTimeout(() => a = !0, v)), a = !1, i);
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
-
function
|
|
150
|
-
const e =
|
|
149
|
+
function Oa(t = or) {
|
|
150
|
+
const e = O(!0);
|
|
151
151
|
function r() {
|
|
152
152
|
e.value = !1;
|
|
153
153
|
}
|
|
@@ -157,51 +157,51 @@ function ja(t = tr) {
|
|
|
157
157
|
const o = (...i) => {
|
|
158
158
|
e.value && t(...i);
|
|
159
159
|
};
|
|
160
|
-
return { isActive:
|
|
160
|
+
return { isActive: _r(e), pause: r, resume: a, eventFilter: o };
|
|
161
161
|
}
|
|
162
162
|
function ct(t, e = !1, r = "Timeout") {
|
|
163
163
|
return new Promise((a, o) => {
|
|
164
164
|
setTimeout(e ? () => o(r) : a, t);
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
return
|
|
167
|
+
function Ga(t) {
|
|
168
|
+
return Ht();
|
|
169
169
|
}
|
|
170
170
|
function rt(t) {
|
|
171
171
|
return Array.isArray(t) ? t : [t];
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
return
|
|
175
|
-
|
|
173
|
+
function Ra(t, e = 200, r = {}) {
|
|
174
|
+
return ht(
|
|
175
|
+
Ma(e, r),
|
|
176
176
|
t
|
|
177
177
|
);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
181
|
-
|
|
179
|
+
function Ya(t, e = 200, r = !1, a = !0, o = !1) {
|
|
180
|
+
return ht(
|
|
181
|
+
ja(e, r, a, o),
|
|
182
182
|
t
|
|
183
183
|
);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Ua(t, e, r = {}) {
|
|
186
186
|
const {
|
|
187
|
-
eventFilter: a =
|
|
187
|
+
eventFilter: a = or,
|
|
188
188
|
...o
|
|
189
189
|
} = r;
|
|
190
|
-
return
|
|
190
|
+
return le(
|
|
191
191
|
t,
|
|
192
|
-
|
|
192
|
+
ht(
|
|
193
193
|
a,
|
|
194
194
|
e
|
|
195
195
|
),
|
|
196
196
|
o
|
|
197
197
|
);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ka(t, e, r = {}) {
|
|
200
200
|
const {
|
|
201
201
|
eventFilter: a,
|
|
202
202
|
...o
|
|
203
|
-
} = r, { eventFilter: i, pause: n, resume: s, isActive: l } =
|
|
204
|
-
return { stop:
|
|
203
|
+
} = r, { eventFilter: i, pause: n, resume: s, isActive: l } = Oa(a);
|
|
204
|
+
return { stop: Ua(
|
|
205
205
|
t,
|
|
206
206
|
e,
|
|
207
207
|
{
|
|
@@ -210,53 +210,53 @@ function Ua(t, e, r = {}) {
|
|
|
210
210
|
}
|
|
211
211
|
), pause: n, resume: s, isActive: l };
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
|
|
213
|
+
function Ba(t, e = !0, r) {
|
|
214
|
+
Ga() ? pt(t, r) : e ? t() : Se(t);
|
|
215
215
|
}
|
|
216
216
|
function dt(t, e = !1) {
|
|
217
|
-
function r(m, { flush:
|
|
218
|
-
let
|
|
219
|
-
const z = [new Promise((
|
|
220
|
-
|
|
217
|
+
function r(m, { flush: y = "sync", deep: v = !1, timeout: k, throwOnTimeout: b } = {}) {
|
|
218
|
+
let I = null;
|
|
219
|
+
const z = [new Promise((w) => {
|
|
220
|
+
I = le(
|
|
221
221
|
t,
|
|
222
|
-
(
|
|
223
|
-
m(
|
|
222
|
+
(h) => {
|
|
223
|
+
m(h) !== e && (I ? I() : Se(() => I == null ? void 0 : I()), w(h));
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
|
-
flush:
|
|
227
|
-
deep:
|
|
226
|
+
flush: y,
|
|
227
|
+
deep: v,
|
|
228
228
|
immediate: !0
|
|
229
229
|
}
|
|
230
230
|
);
|
|
231
231
|
})];
|
|
232
|
-
return
|
|
233
|
-
ct(
|
|
232
|
+
return k != null && z.push(
|
|
233
|
+
ct(k, b).then(() => Y(t)).finally(() => I == null ? void 0 : I())
|
|
234
234
|
), Promise.race(z);
|
|
235
235
|
}
|
|
236
|
-
function a(m,
|
|
236
|
+
function a(m, y) {
|
|
237
237
|
if (!de(m))
|
|
238
|
-
return r((
|
|
239
|
-
const { flush:
|
|
238
|
+
return r((h) => h === m, y);
|
|
239
|
+
const { flush: v = "sync", deep: k = !1, timeout: b, throwOnTimeout: I } = y ?? {};
|
|
240
240
|
let x = null;
|
|
241
|
-
const
|
|
242
|
-
x =
|
|
241
|
+
const w = [new Promise((h) => {
|
|
242
|
+
x = le(
|
|
243
243
|
[t, m],
|
|
244
|
-
([
|
|
245
|
-
e !== (
|
|
244
|
+
([$, E]) => {
|
|
245
|
+
e !== ($ === E) && (x ? x() : Se(() => x == null ? void 0 : x()), h($));
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
|
-
flush:
|
|
249
|
-
deep:
|
|
248
|
+
flush: v,
|
|
249
|
+
deep: k,
|
|
250
250
|
immediate: !0
|
|
251
251
|
}
|
|
252
252
|
);
|
|
253
253
|
})];
|
|
254
|
-
return
|
|
255
|
-
ct(
|
|
256
|
-
), Promise.race(
|
|
254
|
+
return b != null && w.push(
|
|
255
|
+
ct(b, I).then(() => Y(t)).finally(() => (x == null || x(), Y(t)))
|
|
256
|
+
), Promise.race(w);
|
|
257
257
|
}
|
|
258
258
|
function o(m) {
|
|
259
|
-
return r((
|
|
259
|
+
return r((y) => !!y, m);
|
|
260
260
|
}
|
|
261
261
|
function i(m) {
|
|
262
262
|
return a(null, m);
|
|
@@ -267,24 +267,24 @@ function dt(t, e = !1) {
|
|
|
267
267
|
function s(m) {
|
|
268
268
|
return r(Number.isNaN, m);
|
|
269
269
|
}
|
|
270
|
-
function l(m,
|
|
271
|
-
return r((
|
|
272
|
-
const
|
|
273
|
-
return
|
|
274
|
-
},
|
|
270
|
+
function l(m, y) {
|
|
271
|
+
return r((v) => {
|
|
272
|
+
const k = Array.from(v);
|
|
273
|
+
return k.includes(m) || k.includes(Y(m));
|
|
274
|
+
}, y);
|
|
275
275
|
}
|
|
276
276
|
function c(m) {
|
|
277
|
-
return
|
|
277
|
+
return p(1, m);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
280
|
-
let
|
|
281
|
-
return r(() => (
|
|
279
|
+
function p(m = 1, y) {
|
|
280
|
+
let v = -1;
|
|
281
|
+
return r(() => (v += 1, v >= m), y);
|
|
282
282
|
}
|
|
283
283
|
return Array.isArray(Y(t)) ? {
|
|
284
284
|
toMatch: r,
|
|
285
285
|
toContains: l,
|
|
286
286
|
changed: c,
|
|
287
|
-
changedTimes:
|
|
287
|
+
changedTimes: p,
|
|
288
288
|
get not() {
|
|
289
289
|
return dt(t, !e);
|
|
290
290
|
}
|
|
@@ -296,7 +296,7 @@ function dt(t, e = !1) {
|
|
|
296
296
|
toBeNaN: s,
|
|
297
297
|
toBeUndefined: n,
|
|
298
298
|
changed: c,
|
|
299
|
-
changedTimes:
|
|
299
|
+
changedTimes: p,
|
|
300
300
|
get not() {
|
|
301
301
|
return dt(t, !e);
|
|
302
302
|
}
|
|
@@ -311,7 +311,7 @@ function Ct(t, e = 1e3, r = {}) {
|
|
|
311
311
|
immediateCallback: o = !1
|
|
312
312
|
} = r;
|
|
313
313
|
let i = null;
|
|
314
|
-
const n =
|
|
314
|
+
const n = O(!1);
|
|
315
315
|
function s() {
|
|
316
316
|
i && (clearInterval(i), i = null);
|
|
317
317
|
}
|
|
@@ -319,14 +319,14 @@ function Ct(t, e = 1e3, r = {}) {
|
|
|
319
319
|
n.value = !1, s();
|
|
320
320
|
}
|
|
321
321
|
function c() {
|
|
322
|
-
const
|
|
323
|
-
|
|
322
|
+
const p = Y(e);
|
|
323
|
+
p <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, p)));
|
|
324
324
|
}
|
|
325
325
|
if (a && lt && c(), de(e) || typeof e == "function") {
|
|
326
|
-
const
|
|
326
|
+
const p = le(e, () => {
|
|
327
327
|
n.value && lt && c();
|
|
328
328
|
});
|
|
329
|
-
st(
|
|
329
|
+
st(p);
|
|
330
330
|
}
|
|
331
331
|
return st(l), {
|
|
332
332
|
isActive: n,
|
|
@@ -335,7 +335,7 @@ function Ct(t, e = 1e3, r = {}) {
|
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
function Fa(t, e, r) {
|
|
338
|
-
return
|
|
338
|
+
return le(
|
|
339
339
|
t,
|
|
340
340
|
e,
|
|
341
341
|
{
|
|
@@ -344,37 +344,37 @@ function Fa(t, e, r) {
|
|
|
344
344
|
}
|
|
345
345
|
);
|
|
346
346
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
347
|
+
const ft = lt ? window : void 0;
|
|
348
|
+
function pe(t) {
|
|
349
349
|
var e;
|
|
350
350
|
const r = Y(t);
|
|
351
351
|
return (e = r == null ? void 0 : r.$el) != null ? e : r;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function Ye(...t) {
|
|
354
354
|
const e = [], r = () => {
|
|
355
355
|
e.forEach((s) => s()), e.length = 0;
|
|
356
|
-
}, a = (s, l, c,
|
|
356
|
+
}, a = (s, l, c, p) => (s.addEventListener(l, c, p), () => s.removeEventListener(l, c, p)), o = A(() => {
|
|
357
357
|
const s = rt(Y(t[0])).filter((l) => l != null);
|
|
358
358
|
return s.every((l) => typeof l != "string") ? s : void 0;
|
|
359
359
|
}), i = Fa(
|
|
360
360
|
() => {
|
|
361
361
|
var s, l;
|
|
362
362
|
return [
|
|
363
|
-
(l = (s = o.value) == null ? void 0 : s.map((c) =>
|
|
363
|
+
(l = (s = o.value) == null ? void 0 : s.map((c) => pe(c))) != null ? l : [ft].filter((c) => c != null),
|
|
364
364
|
rt(Y(o.value ? t[1] : t[0])),
|
|
365
365
|
rt(d(o.value ? t[2] : t[1])),
|
|
366
366
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
367
367
|
Y(o.value ? t[3] : t[2])
|
|
368
368
|
];
|
|
369
369
|
},
|
|
370
|
-
([s, l, c,
|
|
370
|
+
([s, l, c, p]) => {
|
|
371
371
|
if (r(), !(s != null && s.length) || !(l != null && l.length) || !(c != null && c.length))
|
|
372
372
|
return;
|
|
373
|
-
const m = La(
|
|
373
|
+
const m = La(p) ? { ...p } : p;
|
|
374
374
|
e.push(
|
|
375
375
|
...s.flatMap(
|
|
376
|
-
(
|
|
377
|
-
(
|
|
376
|
+
(y) => l.flatMap(
|
|
377
|
+
(v) => c.map((k) => a(y, v, k, m))
|
|
378
378
|
)
|
|
379
379
|
)
|
|
380
380
|
);
|
|
@@ -385,7 +385,7 @@ function Re(...t) {
|
|
|
385
385
|
};
|
|
386
386
|
return st(r), n;
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function he(t, e) {
|
|
389
389
|
const {
|
|
390
390
|
interrupt: r = !0,
|
|
391
391
|
onError: a = Z,
|
|
@@ -396,39 +396,39 @@ function be(t, e) {
|
|
|
396
396
|
fulfilled: "fulfilled",
|
|
397
397
|
pending: "pending",
|
|
398
398
|
rejected: "rejected"
|
|
399
|
-
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l =
|
|
399
|
+
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l = ce(s), c = O(-1);
|
|
400
400
|
if (!t || t.length === 0)
|
|
401
401
|
return o(), {
|
|
402
402
|
activeIndex: c,
|
|
403
403
|
result: l
|
|
404
404
|
};
|
|
405
|
-
function
|
|
406
|
-
c.value++, l[c.value].data =
|
|
405
|
+
function p(m, y) {
|
|
406
|
+
c.value++, l[c.value].data = y, l[c.value].state = m;
|
|
407
407
|
}
|
|
408
|
-
return t.reduce((m,
|
|
409
|
-
var
|
|
408
|
+
return t.reduce((m, y) => m.then((v) => {
|
|
409
|
+
var k;
|
|
410
410
|
if (i != null && i.aborted) {
|
|
411
|
-
|
|
411
|
+
p(n.aborted, new Error("aborted"));
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
|
-
if (((
|
|
414
|
+
if (((k = l[c.value]) == null ? void 0 : k.state) === n.rejected && r) {
|
|
415
415
|
o();
|
|
416
416
|
return;
|
|
417
417
|
}
|
|
418
|
-
const
|
|
419
|
-
return i ? Promise.race([
|
|
420
|
-
}).catch((
|
|
418
|
+
const b = y(v).then((I) => (p(n.fulfilled, I), c.value === t.length - 1 && o(), I));
|
|
419
|
+
return i ? Promise.race([b, qa(i)]) : b;
|
|
420
|
+
}).catch((v) => i != null && i.aborted ? (p(n.aborted, v), v) : (p(n.rejected, v), a(), v)), Promise.resolve()), {
|
|
421
421
|
activeIndex: c,
|
|
422
422
|
result: l
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
|
-
function
|
|
425
|
+
function qa(t) {
|
|
426
426
|
return new Promise((e, r) => {
|
|
427
427
|
const a = new Error("aborted");
|
|
428
428
|
t.aborted ? r(a) : t.addEventListener("abort", () => r(a), { once: !0 });
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function Ha(t, e, r) {
|
|
432
432
|
const {
|
|
433
433
|
immediate: a = !0,
|
|
434
434
|
delay: o = 0,
|
|
@@ -437,46 +437,46 @@ function qa(t, e, r) {
|
|
|
437
437
|
resetOnExecute: s = !0,
|
|
438
438
|
shallow: l = !0,
|
|
439
439
|
throwError: c
|
|
440
|
-
} = r ?? {},
|
|
441
|
-
async function
|
|
442
|
-
s && (
|
|
443
|
-
const
|
|
440
|
+
} = r ?? {}, p = l ? je(e) : O(e), m = O(!1), y = O(!1), v = je(void 0);
|
|
441
|
+
async function k(x = 0, ...z) {
|
|
442
|
+
s && (p.value = e), v.value = void 0, m.value = !1, y.value = !0, x > 0 && await ct(x);
|
|
443
|
+
const w = typeof t == "function" ? t(...z) : t;
|
|
444
444
|
try {
|
|
445
|
-
const
|
|
446
|
-
|
|
447
|
-
} catch (
|
|
448
|
-
if (
|
|
449
|
-
throw
|
|
445
|
+
const h = await w;
|
|
446
|
+
p.value = h, m.value = !0, n(h);
|
|
447
|
+
} catch (h) {
|
|
448
|
+
if (v.value = h, i(h), c)
|
|
449
|
+
throw h;
|
|
450
450
|
} finally {
|
|
451
|
-
|
|
451
|
+
y.value = !1;
|
|
452
452
|
}
|
|
453
|
-
return
|
|
453
|
+
return p.value;
|
|
454
454
|
}
|
|
455
|
-
a &&
|
|
456
|
-
const
|
|
457
|
-
state:
|
|
455
|
+
a && k(o);
|
|
456
|
+
const b = {
|
|
457
|
+
state: p,
|
|
458
458
|
isReady: m,
|
|
459
|
-
isLoading:
|
|
460
|
-
error:
|
|
461
|
-
execute:
|
|
459
|
+
isLoading: y,
|
|
460
|
+
error: v,
|
|
461
|
+
execute: k
|
|
462
462
|
};
|
|
463
|
-
function
|
|
463
|
+
function I() {
|
|
464
464
|
return new Promise((x, z) => {
|
|
465
|
-
Va(
|
|
465
|
+
Va(y).toBe(!1).then(() => x(b)).catch(z);
|
|
466
466
|
});
|
|
467
467
|
}
|
|
468
468
|
return {
|
|
469
|
-
...
|
|
469
|
+
...b,
|
|
470
470
|
then(x, z) {
|
|
471
|
-
return
|
|
471
|
+
return I().then(x, z);
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Wa(t) {
|
|
476
476
|
return JSON.parse(JSON.stringify(t));
|
|
477
477
|
}
|
|
478
|
-
const
|
|
479
|
-
function
|
|
478
|
+
const At = 1;
|
|
479
|
+
function Ja(t, e = {}) {
|
|
480
480
|
const {
|
|
481
481
|
throttle: r = 0,
|
|
482
482
|
idle: a = 200,
|
|
@@ -493,217 +493,217 @@ function Wa(t, e = {}) {
|
|
|
493
493
|
passive: !0
|
|
494
494
|
},
|
|
495
495
|
behavior: l = "auto",
|
|
496
|
-
window: c =
|
|
497
|
-
onError:
|
|
498
|
-
console.error(
|
|
496
|
+
window: c = ft,
|
|
497
|
+
onError: p = (S) => {
|
|
498
|
+
console.error(S);
|
|
499
499
|
}
|
|
500
|
-
} = e, m =
|
|
500
|
+
} = e, m = O(0), y = O(0), v = A({
|
|
501
501
|
get() {
|
|
502
502
|
return m.value;
|
|
503
503
|
},
|
|
504
|
-
set(
|
|
505
|
-
|
|
504
|
+
set(S) {
|
|
505
|
+
b(S, void 0);
|
|
506
506
|
}
|
|
507
|
-
}),
|
|
507
|
+
}), k = A({
|
|
508
508
|
get() {
|
|
509
|
-
return
|
|
509
|
+
return y.value;
|
|
510
510
|
},
|
|
511
|
-
set(
|
|
512
|
-
|
|
511
|
+
set(S) {
|
|
512
|
+
b(void 0, S);
|
|
513
513
|
}
|
|
514
514
|
});
|
|
515
|
-
function
|
|
516
|
-
var
|
|
515
|
+
function b(S, j) {
|
|
516
|
+
var L, J, se, te;
|
|
517
517
|
if (!c)
|
|
518
518
|
return;
|
|
519
|
-
const
|
|
520
|
-
if (!
|
|
519
|
+
const V = Y(t);
|
|
520
|
+
if (!V)
|
|
521
521
|
return;
|
|
522
|
-
(
|
|
523
|
-
top: (
|
|
524
|
-
left: (
|
|
522
|
+
(se = V instanceof Document ? c.document.body : V) == null || se.scrollTo({
|
|
523
|
+
top: (L = Y(j)) != null ? L : k.value,
|
|
524
|
+
left: (J = Y(S)) != null ? J : v.value,
|
|
525
525
|
behavior: Y(l)
|
|
526
526
|
});
|
|
527
|
-
const
|
|
528
|
-
|
|
527
|
+
const N = ((te = V == null ? void 0 : V.document) == null ? void 0 : te.documentElement) || (V == null ? void 0 : V.documentElement) || V;
|
|
528
|
+
v != null && (m.value = N.scrollLeft), k != null && (y.value = N.scrollTop);
|
|
529
529
|
}
|
|
530
|
-
const
|
|
530
|
+
const I = O(!1), x = ce({
|
|
531
531
|
left: !0,
|
|
532
532
|
right: !1,
|
|
533
533
|
top: !0,
|
|
534
534
|
bottom: !1
|
|
535
|
-
}), z =
|
|
535
|
+
}), z = ce({
|
|
536
536
|
left: !1,
|
|
537
537
|
right: !1,
|
|
538
538
|
top: !1,
|
|
539
539
|
bottom: !1
|
|
540
|
-
}),
|
|
541
|
-
|
|
542
|
-
},
|
|
543
|
-
var
|
|
540
|
+
}), w = (S) => {
|
|
541
|
+
I.value && (I.value = !1, z.left = !1, z.right = !1, z.top = !1, z.bottom = !1, o(S));
|
|
542
|
+
}, h = Ra(w, r + a), $ = (S) => {
|
|
543
|
+
var j;
|
|
544
544
|
if (!c)
|
|
545
545
|
return;
|
|
546
|
-
const
|
|
547
|
-
z.left =
|
|
548
|
-
const
|
|
549
|
-
|
|
550
|
-
let
|
|
551
|
-
|
|
552
|
-
const re =
|
|
553
|
-
|
|
554
|
-
}, E = (
|
|
555
|
-
var
|
|
546
|
+
const L = ((j = S == null ? void 0 : S.document) == null ? void 0 : j.documentElement) || (S == null ? void 0 : S.documentElement) || pe(S), { display: J, flexDirection: se, direction: te } = getComputedStyle(L), V = te === "rtl" ? -1 : 1, N = L.scrollLeft;
|
|
547
|
+
z.left = N < m.value, z.right = N > m.value;
|
|
548
|
+
const G = N * V <= (n.left || 0), oe = N * V + L.clientWidth >= L.scrollWidth - (n.right || 0) - At;
|
|
549
|
+
J === "flex" && se === "row-reverse" ? (x.left = oe, x.right = G) : (x.left = G, x.right = oe), m.value = N;
|
|
550
|
+
let F = L.scrollTop;
|
|
551
|
+
S === c.document && !F && (F = c.document.body.scrollTop), z.top = F < y.value, z.bottom = F > y.value;
|
|
552
|
+
const re = F <= (n.top || 0), Ze = F + L.clientHeight >= L.scrollHeight - (n.bottom || 0) - At;
|
|
553
|
+
J === "flex" && se === "column-reverse" ? (x.top = Ze, x.bottom = re) : (x.top = re, x.bottom = Ze), y.value = F;
|
|
554
|
+
}, E = (S) => {
|
|
555
|
+
var j;
|
|
556
556
|
if (!c)
|
|
557
557
|
return;
|
|
558
|
-
const
|
|
559
|
-
|
|
558
|
+
const L = (j = S.target.documentElement) != null ? j : S.target;
|
|
559
|
+
$(L), I.value = !0, h(S), i(S);
|
|
560
560
|
};
|
|
561
|
-
return
|
|
561
|
+
return Ye(
|
|
562
562
|
t,
|
|
563
563
|
"scroll",
|
|
564
|
-
r ?
|
|
564
|
+
r ? Ya(E, r, !0, !1) : E,
|
|
565
565
|
s
|
|
566
|
-
),
|
|
566
|
+
), Ba(() => {
|
|
567
567
|
try {
|
|
568
|
-
const
|
|
569
|
-
if (!
|
|
568
|
+
const S = Y(t);
|
|
569
|
+
if (!S)
|
|
570
570
|
return;
|
|
571
|
-
|
|
572
|
-
} catch (
|
|
573
|
-
|
|
571
|
+
$(S);
|
|
572
|
+
} catch (S) {
|
|
573
|
+
p(S);
|
|
574
574
|
}
|
|
575
|
-
}),
|
|
575
|
+
}), Ye(
|
|
576
576
|
t,
|
|
577
577
|
"scrollend",
|
|
578
|
-
|
|
578
|
+
w,
|
|
579
579
|
s
|
|
580
580
|
), {
|
|
581
|
-
x:
|
|
582
|
-
y:
|
|
583
|
-
isScrolling:
|
|
581
|
+
x: v,
|
|
582
|
+
y: k,
|
|
583
|
+
isScrolling: I,
|
|
584
584
|
arrivedState: x,
|
|
585
585
|
directions: z,
|
|
586
586
|
measure() {
|
|
587
|
-
const
|
|
588
|
-
c &&
|
|
587
|
+
const S = Y(t);
|
|
588
|
+
c && S && $(S);
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function ir(t = "history", e = {}) {
|
|
593
593
|
const {
|
|
594
594
|
initialValue: r = {},
|
|
595
595
|
removeNullishValues: a = !0,
|
|
596
596
|
removeFalsyValues: o = !1,
|
|
597
597
|
write: i = !0,
|
|
598
598
|
writeMode: n = "replace",
|
|
599
|
-
window: s =
|
|
599
|
+
window: s = ft
|
|
600
600
|
} = e;
|
|
601
601
|
if (!s)
|
|
602
|
-
return
|
|
603
|
-
const l =
|
|
602
|
+
return ce(r);
|
|
603
|
+
const l = ce({});
|
|
604
604
|
function c() {
|
|
605
605
|
if (t === "history")
|
|
606
606
|
return s.location.search || "";
|
|
607
607
|
if (t === "hash") {
|
|
608
|
-
const
|
|
609
|
-
return
|
|
608
|
+
const w = s.location.hash || "", h = w.indexOf("?");
|
|
609
|
+
return h > 0 ? w.slice(h) : "";
|
|
610
610
|
} else
|
|
611
611
|
return (s.location.hash || "").replace(/^#/, "");
|
|
612
612
|
}
|
|
613
|
-
function
|
|
614
|
-
const
|
|
613
|
+
function p(w) {
|
|
614
|
+
const h = w.toString();
|
|
615
615
|
if (t === "history")
|
|
616
|
-
return `${
|
|
616
|
+
return `${h ? `?${h}` : ""}${s.location.hash || ""}`;
|
|
617
617
|
if (t === "hash-params")
|
|
618
|
-
return `${s.location.search || ""}${
|
|
619
|
-
const
|
|
620
|
-
return E > 0 ? `${s.location.search || ""}${
|
|
618
|
+
return `${s.location.search || ""}${h ? `#${h}` : ""}`;
|
|
619
|
+
const $ = s.location.hash || "#", E = $.indexOf("?");
|
|
620
|
+
return E > 0 ? `${s.location.search || ""}${$.slice(0, E)}${h ? `?${h}` : ""}` : `${s.location.search || ""}${$}${h ? `?${h}` : ""}`;
|
|
621
621
|
}
|
|
622
622
|
function m() {
|
|
623
623
|
return new URLSearchParams(c());
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
const
|
|
627
|
-
for (const
|
|
628
|
-
const E =
|
|
629
|
-
l[
|
|
625
|
+
function y(w) {
|
|
626
|
+
const h = new Set(Object.keys(l));
|
|
627
|
+
for (const $ of w.keys()) {
|
|
628
|
+
const E = w.getAll($);
|
|
629
|
+
l[$] = E.length > 1 ? E : w.get($) || "", h.delete($);
|
|
630
630
|
}
|
|
631
|
-
Array.from(
|
|
631
|
+
Array.from(h).forEach(($) => delete l[$]);
|
|
632
632
|
}
|
|
633
|
-
const { pause:
|
|
633
|
+
const { pause: v, resume: k } = Ka(
|
|
634
634
|
l,
|
|
635
635
|
() => {
|
|
636
|
-
const
|
|
637
|
-
Object.keys(l).forEach((
|
|
638
|
-
const
|
|
639
|
-
Array.isArray(
|
|
640
|
-
}),
|
|
636
|
+
const w = new URLSearchParams("");
|
|
637
|
+
Object.keys(l).forEach((h) => {
|
|
638
|
+
const $ = l[h];
|
|
639
|
+
Array.isArray($) ? $.forEach((E) => w.append(h, E)) : a && $ == null || o && !$ ? w.delete(h) : w.set(h, $);
|
|
640
|
+
}), b(w, !1);
|
|
641
641
|
},
|
|
642
642
|
{ deep: !0 }
|
|
643
643
|
);
|
|
644
|
-
function
|
|
645
|
-
|
|
644
|
+
function b(w, h) {
|
|
645
|
+
v(), h && y(w), n === "replace" ? s.history.replaceState(
|
|
646
646
|
s.history.state,
|
|
647
647
|
s.document.title,
|
|
648
|
-
s.location.pathname +
|
|
648
|
+
s.location.pathname + p(w)
|
|
649
649
|
) : s.history.pushState(
|
|
650
650
|
s.history.state,
|
|
651
651
|
s.document.title,
|
|
652
|
-
s.location.pathname +
|
|
653
|
-
),
|
|
652
|
+
s.location.pathname + p(w)
|
|
653
|
+
), k();
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
i &&
|
|
655
|
+
function I() {
|
|
656
|
+
i && b(m(), !0);
|
|
657
657
|
}
|
|
658
658
|
const x = { passive: !0 };
|
|
659
|
-
|
|
659
|
+
Ye(s, "popstate", I, x), t !== "history" && Ye(s, "hashchange", I, x);
|
|
660
660
|
const z = m();
|
|
661
|
-
return z.keys().next().value ?
|
|
661
|
+
return z.keys().next().value ? y(z) : Object.assign(l, r), l;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Xa(t, e, r, a = {}) {
|
|
664
664
|
var o, i, n;
|
|
665
665
|
const {
|
|
666
666
|
clone: s = !1,
|
|
667
667
|
passive: l = !1,
|
|
668
668
|
eventName: c,
|
|
669
|
-
deep:
|
|
669
|
+
deep: p = !1,
|
|
670
670
|
defaultValue: m,
|
|
671
|
-
shouldEmit:
|
|
672
|
-
} = a,
|
|
673
|
-
let
|
|
674
|
-
e || (e = "modelValue"),
|
|
675
|
-
const
|
|
676
|
-
|
|
671
|
+
shouldEmit: y
|
|
672
|
+
} = a, v = Ht(), k = r || (v == null ? void 0 : v.emit) || ((o = v == null ? void 0 : v.$emit) == null ? void 0 : o.bind(v)) || ((n = (i = v == null ? void 0 : v.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(v == null ? void 0 : v.proxy));
|
|
673
|
+
let b = c;
|
|
674
|
+
e || (e = "modelValue"), b = b || `update:${e.toString()}`;
|
|
675
|
+
const I = (w) => s ? typeof s == "function" ? s(w) : Wa(w) : w, x = () => Da(t[e]) ? I(t[e]) : m, z = (w) => {
|
|
676
|
+
y ? y(w) && k(b, w) : k(b, w);
|
|
677
677
|
};
|
|
678
678
|
if (l) {
|
|
679
|
-
const
|
|
680
|
-
let
|
|
681
|
-
return
|
|
679
|
+
const w = x(), h = O(w);
|
|
680
|
+
let $ = !1;
|
|
681
|
+
return le(
|
|
682
682
|
() => t[e],
|
|
683
683
|
(E) => {
|
|
684
|
-
|
|
684
|
+
$ || ($ = !0, h.value = I(E), Se(() => $ = !1));
|
|
685
685
|
}
|
|
686
|
-
),
|
|
687
|
-
|
|
686
|
+
), le(
|
|
687
|
+
h,
|
|
688
688
|
(E) => {
|
|
689
|
-
|
|
689
|
+
!$ && (E !== t[e] || p) && z(E);
|
|
690
690
|
},
|
|
691
|
-
{ deep:
|
|
692
|
-
),
|
|
691
|
+
{ deep: p }
|
|
692
|
+
), h;
|
|
693
693
|
} else
|
|
694
694
|
return A({
|
|
695
695
|
get() {
|
|
696
696
|
return x();
|
|
697
697
|
},
|
|
698
|
-
set(
|
|
699
|
-
z(
|
|
698
|
+
set(w) {
|
|
699
|
+
z(w);
|
|
700
700
|
}
|
|
701
701
|
});
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function yt(t, e, r = {}) {
|
|
704
704
|
const a = {};
|
|
705
705
|
for (const o in t)
|
|
706
|
-
a[o] =
|
|
706
|
+
a[o] = Xa(
|
|
707
707
|
t,
|
|
708
708
|
o,
|
|
709
709
|
e,
|
|
@@ -711,12 +711,12 @@ function ft(t, e, r = {}) {
|
|
|
711
711
|
);
|
|
712
712
|
return a;
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function M(t) {
|
|
715
715
|
return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
|
|
716
716
|
}
|
|
717
717
|
function U(t) {
|
|
718
718
|
return function e(r) {
|
|
719
|
-
return arguments.length === 0 ||
|
|
719
|
+
return arguments.length === 0 || M(r) ? e : t.apply(this, arguments);
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
function K(t) {
|
|
@@ -725,19 +725,19 @@ function K(t) {
|
|
|
725
725
|
case 0:
|
|
726
726
|
return e;
|
|
727
727
|
case 1:
|
|
728
|
-
return
|
|
728
|
+
return M(r) ? e : U(function(o) {
|
|
729
729
|
return t(r, o);
|
|
730
730
|
});
|
|
731
731
|
default:
|
|
732
|
-
return
|
|
732
|
+
return M(r) && M(a) ? e : M(r) ? U(function(o) {
|
|
733
733
|
return t(o, a);
|
|
734
|
-
}) :
|
|
734
|
+
}) : M(a) ? U(function(o) {
|
|
735
735
|
return t(r, o);
|
|
736
736
|
}) : t(r, a);
|
|
737
737
|
}
|
|
738
738
|
};
|
|
739
739
|
}
|
|
740
|
-
var
|
|
740
|
+
var Qa = /* @__PURE__ */ K(function(e, r) {
|
|
741
741
|
return Number(e) + Number(r);
|
|
742
742
|
});
|
|
743
743
|
function qe(t, e) {
|
|
@@ -779,58 +779,58 @@ function qe(t, e) {
|
|
|
779
779
|
return e.apply(this, arguments);
|
|
780
780
|
};
|
|
781
781
|
case 9:
|
|
782
|
-
return function(r, a, o, i, n, s, l, c,
|
|
782
|
+
return function(r, a, o, i, n, s, l, c, p) {
|
|
783
783
|
return e.apply(this, arguments);
|
|
784
784
|
};
|
|
785
785
|
case 10:
|
|
786
|
-
return function(r, a, o, i, n, s, l, c,
|
|
786
|
+
return function(r, a, o, i, n, s, l, c, p, m) {
|
|
787
787
|
return e.apply(this, arguments);
|
|
788
788
|
};
|
|
789
789
|
default:
|
|
790
790
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function nr(t, e, r) {
|
|
794
794
|
return function() {
|
|
795
795
|
for (var a = [], o = 0, i = t, n = 0, s = !1; n < e.length || o < arguments.length; ) {
|
|
796
796
|
var l;
|
|
797
|
-
n < e.length && (!
|
|
797
|
+
n < e.length && (!M(e[n]) || o >= arguments.length) ? l = e[n] : (l = arguments[o], o += 1), a[n] = l, M(l) ? s = !0 : i -= 1, n += 1;
|
|
798
798
|
}
|
|
799
|
-
return !s && i <= 0 ? r.apply(this, a) : qe(Math.max(0, i),
|
|
799
|
+
return !s && i <= 0 ? r.apply(this, a) : qe(Math.max(0, i), nr(t, a, r));
|
|
800
800
|
};
|
|
801
801
|
}
|
|
802
|
-
var
|
|
803
|
-
return e === 1 ? U(r) : qe(e,
|
|
802
|
+
var Za = /* @__PURE__ */ K(function(e, r) {
|
|
803
|
+
return e === 1 ? U(r) : qe(e, nr(e, [], r));
|
|
804
804
|
});
|
|
805
|
-
function
|
|
805
|
+
function wt(t) {
|
|
806
806
|
return function e(r, a, o) {
|
|
807
807
|
switch (arguments.length) {
|
|
808
808
|
case 0:
|
|
809
809
|
return e;
|
|
810
810
|
case 1:
|
|
811
|
-
return
|
|
811
|
+
return M(r) ? e : K(function(i, n) {
|
|
812
812
|
return t(r, i, n);
|
|
813
813
|
});
|
|
814
814
|
case 2:
|
|
815
|
-
return
|
|
815
|
+
return M(r) && M(a) ? e : M(r) ? K(function(i, n) {
|
|
816
816
|
return t(i, a, n);
|
|
817
|
-
}) :
|
|
817
|
+
}) : M(a) ? K(function(i, n) {
|
|
818
818
|
return t(r, i, n);
|
|
819
819
|
}) : U(function(i) {
|
|
820
820
|
return t(r, a, i);
|
|
821
821
|
});
|
|
822
822
|
default:
|
|
823
|
-
return
|
|
823
|
+
return M(r) && M(a) && M(o) ? e : M(r) && M(a) ? K(function(i, n) {
|
|
824
824
|
return t(i, n, o);
|
|
825
|
-
}) :
|
|
825
|
+
}) : M(r) && M(o) ? K(function(i, n) {
|
|
826
826
|
return t(i, a, n);
|
|
827
|
-
}) :
|
|
827
|
+
}) : M(a) && M(o) ? K(function(i, n) {
|
|
828
828
|
return t(r, i, n);
|
|
829
|
-
}) :
|
|
829
|
+
}) : M(r) ? U(function(i) {
|
|
830
830
|
return t(i, a, o);
|
|
831
|
-
}) :
|
|
831
|
+
}) : M(a) ? U(function(i) {
|
|
832
832
|
return t(r, i, o);
|
|
833
|
-
}) :
|
|
833
|
+
}) : M(o) ? U(function(i) {
|
|
834
834
|
return t(r, a, i);
|
|
835
835
|
}) : t(r, a, o);
|
|
836
836
|
}
|
|
@@ -839,10 +839,10 @@ function yt(t) {
|
|
|
839
839
|
const He = Array.isArray || function(e) {
|
|
840
840
|
return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
|
|
841
841
|
};
|
|
842
|
-
function
|
|
842
|
+
function eo(t) {
|
|
843
843
|
return t != null && typeof t["@@transducer/step"] == "function";
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function to(t, e, r) {
|
|
846
846
|
return function() {
|
|
847
847
|
if (arguments.length === 0)
|
|
848
848
|
return r();
|
|
@@ -853,7 +853,7 @@ function eo(t, e, r) {
|
|
|
853
853
|
return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
854
854
|
o += 1;
|
|
855
855
|
}
|
|
856
|
-
if (
|
|
856
|
+
if (eo(a)) {
|
|
857
857
|
var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
858
858
|
return i(a);
|
|
859
859
|
}
|
|
@@ -861,7 +861,7 @@ function eo(t, e, r) {
|
|
|
861
861
|
return r.apply(this, arguments);
|
|
862
862
|
};
|
|
863
863
|
}
|
|
864
|
-
const
|
|
864
|
+
const Et = {
|
|
865
865
|
init: function() {
|
|
866
866
|
return this.xf["@@transducer/init"]();
|
|
867
867
|
},
|
|
@@ -869,12 +869,12 @@ const Nt = {
|
|
|
869
869
|
return this.xf["@@transducer/result"](t);
|
|
870
870
|
}
|
|
871
871
|
};
|
|
872
|
-
function
|
|
872
|
+
function Dt(t) {
|
|
873
873
|
for (var e = [], r; !(r = t.next()).done; )
|
|
874
874
|
e.push(r.value);
|
|
875
875
|
return e;
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function Pt(t, e, r) {
|
|
878
878
|
for (var a = 0, o = r.length; a < o; ) {
|
|
879
879
|
if (t(e, r[a]))
|
|
880
880
|
return !0;
|
|
@@ -882,63 +882,63 @@ function Et(t, e, r) {
|
|
|
882
882
|
}
|
|
883
883
|
return !1;
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function ro(t) {
|
|
886
886
|
var e = String(t).match(/^function (\w*)/);
|
|
887
887
|
return e == null ? "" : e[1];
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Ue(t, e) {
|
|
890
890
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
891
891
|
}
|
|
892
|
-
function
|
|
892
|
+
function ao(t, e) {
|
|
893
893
|
return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
|
|
894
894
|
}
|
|
895
|
-
const at = typeof Object.is == "function" ? Object.is :
|
|
896
|
-
var
|
|
897
|
-
return
|
|
898
|
-
return
|
|
895
|
+
const at = typeof Object.is == "function" ? Object.is : ao;
|
|
896
|
+
var Lt = Object.prototype.toString, sr = /* @__PURE__ */ function() {
|
|
897
|
+
return Lt.call(arguments) === "[object Arguments]" ? function(e) {
|
|
898
|
+
return Lt.call(e) === "[object Arguments]";
|
|
899
899
|
} : function(e) {
|
|
900
|
-
return
|
|
900
|
+
return Ue("callee", e);
|
|
901
901
|
};
|
|
902
|
-
}(),
|
|
902
|
+
}(), oo = !/* @__PURE__ */ {
|
|
903
903
|
toString: null
|
|
904
|
-
}.propertyIsEnumerable("toString"),
|
|
904
|
+
}.propertyIsEnumerable("toString"), Mt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], jt = /* @__PURE__ */ function() {
|
|
905
905
|
return arguments.propertyIsEnumerable("length");
|
|
906
|
-
}(),
|
|
906
|
+
}(), io = function(e, r) {
|
|
907
907
|
for (var a = 0; a < e.length; ) {
|
|
908
908
|
if (e[a] === r)
|
|
909
909
|
return !0;
|
|
910
910
|
a += 1;
|
|
911
911
|
}
|
|
912
912
|
return !1;
|
|
913
|
-
}, gt = /* @__PURE__ */ U(typeof Object.keys == "function" && !
|
|
913
|
+
}, gt = /* @__PURE__ */ U(typeof Object.keys == "function" && !jt ? function(e) {
|
|
914
914
|
return Object(e) !== e ? [] : Object.keys(e);
|
|
915
915
|
} : function(e) {
|
|
916
916
|
if (Object(e) !== e)
|
|
917
917
|
return [];
|
|
918
|
-
var r, a, o = [], i =
|
|
918
|
+
var r, a, o = [], i = jt && sr(e);
|
|
919
919
|
for (r in e)
|
|
920
|
-
|
|
921
|
-
if (
|
|
922
|
-
for (a =
|
|
923
|
-
r =
|
|
920
|
+
Ue(r, e) && (!i || r !== "length") && (o[o.length] = r);
|
|
921
|
+
if (oo)
|
|
922
|
+
for (a = Mt.length - 1; a >= 0; )
|
|
923
|
+
r = Mt[a], Ue(r, e) && !io(o, r) && (o[o.length] = r), a -= 1;
|
|
924
924
|
return o;
|
|
925
|
-
}),
|
|
925
|
+
}), Ot = /* @__PURE__ */ U(function(e) {
|
|
926
926
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
927
927
|
});
|
|
928
|
-
function
|
|
929
|
-
var o =
|
|
928
|
+
function Gt(t, e, r, a) {
|
|
929
|
+
var o = Dt(t), i = Dt(e);
|
|
930
930
|
function n(s, l) {
|
|
931
|
-
return
|
|
931
|
+
return xt(s, l, r.slice(), a.slice());
|
|
932
932
|
}
|
|
933
|
-
return !
|
|
934
|
-
return !
|
|
933
|
+
return !Pt(function(s, l) {
|
|
934
|
+
return !Pt(n, l, s);
|
|
935
935
|
}, i, o);
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function xt(t, e, r, a) {
|
|
938
938
|
if (at(t, e))
|
|
939
939
|
return !0;
|
|
940
|
-
var o =
|
|
941
|
-
if (o !==
|
|
940
|
+
var o = Ot(t);
|
|
941
|
+
if (o !== Ot(e))
|
|
942
942
|
return !1;
|
|
943
943
|
if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
|
|
944
944
|
return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
|
|
@@ -948,7 +948,7 @@ function wt(t, e, r, a) {
|
|
|
948
948
|
case "Arguments":
|
|
949
949
|
case "Array":
|
|
950
950
|
case "Object":
|
|
951
|
-
if (typeof t.constructor == "function" &&
|
|
951
|
+
if (typeof t.constructor == "function" && ro(t.constructor) === "Promise")
|
|
952
952
|
return t === e;
|
|
953
953
|
break;
|
|
954
954
|
case "Boolean":
|
|
@@ -975,9 +975,9 @@ function wt(t, e, r, a) {
|
|
|
975
975
|
}
|
|
976
976
|
switch (o) {
|
|
977
977
|
case "Map":
|
|
978
|
-
return t.size !== e.size ? !1 :
|
|
978
|
+
return t.size !== e.size ? !1 : Gt(t.entries(), e.entries(), r.concat([t]), a.concat([e]));
|
|
979
979
|
case "Set":
|
|
980
|
-
return t.size !== e.size ? !1 :
|
|
980
|
+
return t.size !== e.size ? !1 : Gt(t.values(), e.values(), r.concat([t]), a.concat([e]));
|
|
981
981
|
case "Arguments":
|
|
982
982
|
case "Array":
|
|
983
983
|
case "Object":
|
|
@@ -1007,54 +1007,54 @@ function wt(t, e, r, a) {
|
|
|
1007
1007
|
var s = r.concat([t]), l = a.concat([e]);
|
|
1008
1008
|
for (i = n.length - 1; i >= 0; ) {
|
|
1009
1009
|
var c = n[i];
|
|
1010
|
-
if (!(
|
|
1010
|
+
if (!(Ue(c, e) && xt(e[c], t[c], s, l)))
|
|
1011
1011
|
return !1;
|
|
1012
1012
|
i -= 1;
|
|
1013
1013
|
}
|
|
1014
1014
|
return !0;
|
|
1015
1015
|
}
|
|
1016
|
-
var
|
|
1017
|
-
return
|
|
1016
|
+
var no = /* @__PURE__ */ K(function(e, r) {
|
|
1017
|
+
return xt(e, r, [], []);
|
|
1018
1018
|
});
|
|
1019
|
-
function
|
|
1019
|
+
function so(t, e) {
|
|
1020
1020
|
for (var r = 0, a = e.length, o = Array(a); r < a; )
|
|
1021
1021
|
o[r] = t(e[r]), r += 1;
|
|
1022
1022
|
return o;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function lo(t, e, r) {
|
|
1025
1025
|
for (var a = 0, o = r.length; a < o; )
|
|
1026
1026
|
e = t(e, r[a]), a += 1;
|
|
1027
1027
|
return e;
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function co(t) {
|
|
1030
1030
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
1031
1031
|
}
|
|
1032
|
-
var
|
|
1032
|
+
var go = /* @__PURE__ */ function() {
|
|
1033
1033
|
function t(e, r) {
|
|
1034
1034
|
this.xf = r, this.f = e;
|
|
1035
1035
|
}
|
|
1036
|
-
return t.prototype["@@transducer/init"] =
|
|
1036
|
+
return t.prototype["@@transducer/init"] = Et.init, t.prototype["@@transducer/result"] = Et.result, t.prototype["@@transducer/step"] = function(e, r) {
|
|
1037
1037
|
return this.xf["@@transducer/step"](e, this.f(r));
|
|
1038
1038
|
}, t;
|
|
1039
|
-
}(),
|
|
1039
|
+
}(), po = function(e) {
|
|
1040
1040
|
return function(r) {
|
|
1041
|
-
return new
|
|
1041
|
+
return new go(e, r);
|
|
1042
1042
|
};
|
|
1043
|
-
},
|
|
1043
|
+
}, _t = /* @__PURE__ */ K(/* @__PURE__ */ to(["fantasy-land/map", "map"], po, function(e, r) {
|
|
1044
1044
|
switch (Object.prototype.toString.call(r)) {
|
|
1045
1045
|
case "[object Function]":
|
|
1046
|
-
return
|
|
1046
|
+
return Za(r.length, function() {
|
|
1047
1047
|
return e.call(this, r.apply(this, arguments));
|
|
1048
1048
|
});
|
|
1049
1049
|
case "[object Object]":
|
|
1050
|
-
return
|
|
1050
|
+
return lo(function(a, o) {
|
|
1051
1051
|
return a[o] = e(r[o]), a;
|
|
1052
1052
|
}, {}, gt(r));
|
|
1053
1053
|
default:
|
|
1054
|
-
return
|
|
1054
|
+
return so(e, r);
|
|
1055
1055
|
}
|
|
1056
1056
|
}));
|
|
1057
|
-
const
|
|
1057
|
+
const lr = Number.isInteger || function(e) {
|
|
1058
1058
|
return e << 0 === e;
|
|
1059
1059
|
};
|
|
1060
1060
|
function We(t) {
|
|
@@ -1066,11 +1066,11 @@ function Je(t, e) {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
var ie = /* @__PURE__ */ K(function(e, r) {
|
|
1068
1068
|
if (r != null)
|
|
1069
|
-
return
|
|
1069
|
+
return lr(e) ? Je(e, r) : r[e];
|
|
1070
1070
|
}), uo = /* @__PURE__ */ U(function(e) {
|
|
1071
1071
|
return He(e) ? !0 : !e || typeof e != "object" || We(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
|
|
1072
|
-
}),
|
|
1073
|
-
function
|
|
1072
|
+
}), Rt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1073
|
+
function mo(t, e, r) {
|
|
1074
1074
|
return function(o, i, n) {
|
|
1075
1075
|
if (uo(n))
|
|
1076
1076
|
return t(o, i, n);
|
|
@@ -1078,8 +1078,8 @@ function po(t, e, r) {
|
|
|
1078
1078
|
return i;
|
|
1079
1079
|
if (typeof n["fantasy-land/reduce"] == "function")
|
|
1080
1080
|
return e(o, i, n, "fantasy-land/reduce");
|
|
1081
|
-
if (n[
|
|
1082
|
-
return r(o, i, n[
|
|
1081
|
+
if (n[Rt] != null)
|
|
1082
|
+
return r(o, i, n[Rt]());
|
|
1083
1083
|
if (typeof n.next == "function")
|
|
1084
1084
|
return r(o, i, n);
|
|
1085
1085
|
if (typeof n.reduce == "function")
|
|
@@ -1087,7 +1087,7 @@ function po(t, e, r) {
|
|
|
1087
1087
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1088
1088
|
};
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function vo(t, e, r) {
|
|
1091
1091
|
for (var a = 0, o = r.length; a < o; ) {
|
|
1092
1092
|
if (e = t["@@transducer/step"](e, r[a]), e && e["@@transducer/reduced"]) {
|
|
1093
1093
|
e = e["@@transducer/value"];
|
|
@@ -1097,12 +1097,12 @@ function mo(t, e, r) {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
return t["@@transducer/result"](e);
|
|
1099
1099
|
}
|
|
1100
|
-
var
|
|
1100
|
+
var bo = /* @__PURE__ */ K(function(e, r) {
|
|
1101
1101
|
return qe(e.length, function() {
|
|
1102
1102
|
return e.apply(r, arguments);
|
|
1103
1103
|
});
|
|
1104
1104
|
});
|
|
1105
|
-
function
|
|
1105
|
+
function ho(t, e, r) {
|
|
1106
1106
|
for (var a = r.next(); !a.done; ) {
|
|
1107
1107
|
if (e = t["@@transducer/step"](e, a.value), e && e["@@transducer/reduced"]) {
|
|
1108
1108
|
e = e["@@transducer/value"];
|
|
@@ -1112,10 +1112,10 @@ function bo(t, e, r) {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
return t["@@transducer/result"](e);
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return t["@@transducer/result"](r[a](
|
|
1115
|
+
function fo(t, e, r, a) {
|
|
1116
|
+
return t["@@transducer/result"](r[a](bo(t["@@transducer/step"], t), e));
|
|
1117
1117
|
}
|
|
1118
|
-
var
|
|
1118
|
+
var yo = /* @__PURE__ */ mo(vo, fo, ho), wo = /* @__PURE__ */ function() {
|
|
1119
1119
|
function t(e) {
|
|
1120
1120
|
this.f = e;
|
|
1121
1121
|
}
|
|
@@ -1127,18 +1127,18 @@ var fo = /* @__PURE__ */ po(mo, ho, bo), yo = /* @__PURE__ */ function() {
|
|
|
1127
1127
|
return this.f(e, r);
|
|
1128
1128
|
}, t;
|
|
1129
1129
|
}();
|
|
1130
|
-
function
|
|
1131
|
-
return new
|
|
1130
|
+
function xo(t) {
|
|
1131
|
+
return new wo(t);
|
|
1132
1132
|
}
|
|
1133
|
-
var
|
|
1134
|
-
return
|
|
1133
|
+
var cr = /* @__PURE__ */ wt(function(t, e, r) {
|
|
1134
|
+
return yo(typeof t == "function" ? xo(t) : t, e, r);
|
|
1135
1135
|
});
|
|
1136
|
-
function
|
|
1136
|
+
function _o(t, e) {
|
|
1137
1137
|
return function() {
|
|
1138
1138
|
return e.call(this, t.apply(this, arguments));
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function dr(t, e) {
|
|
1142
1142
|
return function() {
|
|
1143
1143
|
var r = arguments.length;
|
|
1144
1144
|
if (r === 0)
|
|
@@ -1147,69 +1147,69 @@ function sr(t, e) {
|
|
|
1147
1147
|
return He(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1148
1148
|
};
|
|
1149
1149
|
}
|
|
1150
|
-
var
|
|
1150
|
+
var ko = /* @__PURE__ */ wt(/* @__PURE__ */ dr("slice", function(e, r, a) {
|
|
1151
1151
|
return Array.prototype.slice.call(a, e, r);
|
|
1152
|
-
})),
|
|
1153
|
-
function
|
|
1152
|
+
})), zo = /* @__PURE__ */ U(/* @__PURE__ */ dr("tail", /* @__PURE__ */ ko(1, 1 / 0)));
|
|
1153
|
+
function De() {
|
|
1154
1154
|
if (arguments.length === 0)
|
|
1155
1155
|
throw new Error("pipe requires at least one argument");
|
|
1156
|
-
return qe(arguments[0].length,
|
|
1156
|
+
return qe(arguments[0].length, cr(_o, arguments[0], zo(arguments)));
|
|
1157
1157
|
}
|
|
1158
|
-
var
|
|
1158
|
+
var So = /* @__PURE__ */ U(function(e) {
|
|
1159
1159
|
return We(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
|
|
1160
1160
|
});
|
|
1161
|
-
function
|
|
1161
|
+
function kt() {
|
|
1162
1162
|
if (arguments.length === 0)
|
|
1163
1163
|
throw new Error("compose requires at least one argument");
|
|
1164
|
-
return
|
|
1164
|
+
return De.apply(this, So(arguments));
|
|
1165
1165
|
}
|
|
1166
|
-
var
|
|
1166
|
+
var H = /* @__PURE__ */ U(function(t) {
|
|
1167
1167
|
return Je(0, t);
|
|
1168
|
-
}),
|
|
1168
|
+
}), gr = /* @__PURE__ */ wt(function(e, r, a) {
|
|
1169
1169
|
var o = e(r), i = e(a);
|
|
1170
1170
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1171
|
-
}),
|
|
1171
|
+
}), Io = /* @__PURE__ */ U(function(t) {
|
|
1172
1172
|
return Je(-1, t);
|
|
1173
1173
|
});
|
|
1174
|
-
function
|
|
1174
|
+
function $o(t) {
|
|
1175
1175
|
var e = Object.prototype.toString.call(t);
|
|
1176
1176
|
return e === "[object Uint8ClampedArray]" || e === "[object Int8Array]" || e === "[object Uint8Array]" || e === "[object Int16Array]" || e === "[object Uint16Array]" || e === "[object Int32Array]" || e === "[object Uint32Array]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object BigInt64Array]" || e === "[object BigUint64Array]";
|
|
1177
1177
|
}
|
|
1178
|
-
var
|
|
1179
|
-
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : He(e) ? [] : We(e) ? "" :
|
|
1178
|
+
var To = /* @__PURE__ */ U(function(e) {
|
|
1179
|
+
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : He(e) ? [] : We(e) ? "" : co(e) ? {} : sr(e) ? /* @__PURE__ */ function() {
|
|
1180
1180
|
return arguments;
|
|
1181
|
-
}() :
|
|
1181
|
+
}() : $o(e) ? e.constructor.from("") : void 0;
|
|
1182
1182
|
}), ot = /* @__PURE__ */ U(function(e) {
|
|
1183
|
-
return e != null &&
|
|
1183
|
+
return e != null && no(e, To(e));
|
|
1184
1184
|
});
|
|
1185
|
-
function
|
|
1185
|
+
function No(t, e) {
|
|
1186
1186
|
for (var r = e, a = 0; a < t.length; a += 1) {
|
|
1187
1187
|
if (r == null)
|
|
1188
1188
|
return;
|
|
1189
1189
|
var o = t[a];
|
|
1190
|
-
|
|
1190
|
+
lr(o) ? r = Je(o, r) : r = r[o];
|
|
1191
1191
|
}
|
|
1192
1192
|
return r;
|
|
1193
1193
|
}
|
|
1194
|
-
var
|
|
1194
|
+
var Yt = /* @__PURE__ */ cr(Qa, 0), Co = /* @__PURE__ */ K(function(e, r) {
|
|
1195
1195
|
for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
|
|
1196
1196
|
o[e[i]] = 1, i += 1;
|
|
1197
1197
|
for (var s in r)
|
|
1198
1198
|
o.hasOwnProperty(s) || (a[s] = r[s]);
|
|
1199
1199
|
return a;
|
|
1200
|
-
}),
|
|
1200
|
+
}), pr = /* @__PURE__ */ K(No), ur = /* @__PURE__ */ K(function(e, r) {
|
|
1201
1201
|
for (var a = {}, o = 0; o < e.length; )
|
|
1202
1202
|
e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
|
|
1203
1203
|
return a;
|
|
1204
|
-
}),
|
|
1204
|
+
}), mr = /* @__PURE__ */ K(function(e, r) {
|
|
1205
1205
|
return Array.prototype.slice.call(r, 0).sort(e);
|
|
1206
|
-
}),
|
|
1206
|
+
}), Ke = /* @__PURE__ */ K(function(e, r) {
|
|
1207
1207
|
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1208
1208
|
var i = e(a), n = e(o);
|
|
1209
1209
|
return i < n ? -1 : i > n ? 1 : 0;
|
|
1210
1210
|
});
|
|
1211
1211
|
});
|
|
1212
|
-
const
|
|
1212
|
+
const Ut = 20, Ao = {
|
|
1213
1213
|
__name: "DataProvider",
|
|
1214
1214
|
props: {
|
|
1215
1215
|
locale: {
|
|
@@ -1230,89 +1230,89 @@ const Rt = 20, No = {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
},
|
|
1232
1232
|
setup(t) {
|
|
1233
|
-
const e = t, { timezone: r, locale: a } =
|
|
1233
|
+
const e = t, { timezone: r, locale: a } = kr(e), { onError: o } = Ee(), i = ir("history"), n = O(i.panel || Ie), s = O(null), l = O(0), c = je({
|
|
1234
1234
|
firstGame: q,
|
|
1235
1235
|
lastGame: q
|
|
1236
|
-
}),
|
|
1237
|
-
min:
|
|
1238
|
-
max:
|
|
1236
|
+
}), p = je({
|
|
1237
|
+
min: Q(q, "YYYY-MM-DD"),
|
|
1238
|
+
max: Q(q, "YYYY-MM-DD")
|
|
1239
1239
|
}), {
|
|
1240
1240
|
state: m,
|
|
1241
|
-
isLoading:
|
|
1242
|
-
execute:
|
|
1241
|
+
isLoading: y,
|
|
1242
|
+
execute: v
|
|
1243
1243
|
} = ee({
|
|
1244
1244
|
options: {
|
|
1245
1245
|
path: "/v2/games-calendar",
|
|
1246
1246
|
apiKey: e.apiKey,
|
|
1247
1247
|
params: A(() => ({
|
|
1248
1248
|
seasonId: e.seasonId,
|
|
1249
|
-
firstDate:
|
|
1250
|
-
lastDate:
|
|
1249
|
+
firstDate: p.value.min,
|
|
1250
|
+
lastDate: p.value.max
|
|
1251
1251
|
})),
|
|
1252
1252
|
resetOnExecute: !0
|
|
1253
1253
|
},
|
|
1254
|
-
transform: (
|
|
1254
|
+
transform: (h) => Ta(h, c),
|
|
1255
1255
|
onError: o
|
|
1256
|
-
}),
|
|
1257
|
-
() =>
|
|
1258
|
-
),
|
|
1259
|
-
() =>
|
|
1260
|
-
...
|
|
1261
|
-
n.value ===
|
|
1256
|
+
}), k = A(
|
|
1257
|
+
() => Be(m.value).schedule(r.value, a.value).more(0, l.value * Ut + Ut).groupByDays().value()
|
|
1258
|
+
), b = A(
|
|
1259
|
+
() => Ea(
|
|
1260
|
+
...Na.get(n.value)(c.value.firstGame, c.value.lastGame),
|
|
1261
|
+
n.value === be,
|
|
1262
1262
|
a.value
|
|
1263
1263
|
)
|
|
1264
1264
|
);
|
|
1265
|
-
|
|
1265
|
+
le(
|
|
1266
1266
|
n,
|
|
1267
|
-
async (
|
|
1268
|
-
const { min:
|
|
1269
|
-
|
|
1267
|
+
async (h) => {
|
|
1268
|
+
const { min: $, max: E, id: S } = Le.get(h)(i.month);
|
|
1269
|
+
p.value = { min: Q($, "YYYY-MM-DD"), max: Q(E, "YYYY-MM-DD") }, s.value = S, await v(), i.month || w();
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
1272
|
immediate: !0
|
|
1273
1273
|
}
|
|
1274
1274
|
);
|
|
1275
|
-
function
|
|
1276
|
-
n.value =
|
|
1275
|
+
function I(h) {
|
|
1276
|
+
n.value = h, i.panel = h, l.value = 0, i.month = null;
|
|
1277
1277
|
}
|
|
1278
|
-
function x(
|
|
1279
|
-
const { min:
|
|
1280
|
-
s.value =
|
|
1281
|
-
min:
|
|
1282
|
-
max:
|
|
1283
|
-
}, l.value = 0,
|
|
1278
|
+
function x(h) {
|
|
1279
|
+
const { min: $, max: E, id: S } = Le.get(n.value)(h.id);
|
|
1280
|
+
s.value = S, i.month = S, p.value = {
|
|
1281
|
+
min: Q($, "YYYY-MM-DD"),
|
|
1282
|
+
max: Q(E, "YYYY-MM-DD")
|
|
1283
|
+
}, l.value = 0, v();
|
|
1284
1284
|
}
|
|
1285
1285
|
function z() {
|
|
1286
1286
|
l.value += 1;
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1289
|
-
var E,
|
|
1290
|
-
if (![
|
|
1288
|
+
function w() {
|
|
1289
|
+
var E, S;
|
|
1290
|
+
if (![be, $e].includes(n.value))
|
|
1291
1291
|
return;
|
|
1292
|
-
const { firstGame:
|
|
1293
|
-
if (
|
|
1294
|
-
const { min:
|
|
1295
|
-
return
|
|
1292
|
+
const { firstGame: h, lastGame: $ } = c.value;
|
|
1293
|
+
if (Br(q, h)) {
|
|
1294
|
+
const { min: j, max: L, id: J } = Le.get(n.value)((E = H(b.value)) == null ? void 0 : E.id);
|
|
1295
|
+
return p.value = { min: Q(j, "YYYY-MM-DD"), max: Q(L, "YYYY-MM-DD") }, s.value = J, v();
|
|
1296
1296
|
}
|
|
1297
|
-
if (
|
|
1298
|
-
const { min:
|
|
1299
|
-
|
|
1297
|
+
if (er(q, $)) {
|
|
1298
|
+
const { min: j, max: L, id: J } = Le.get(n.value)((S = Io(b.value)) == null ? void 0 : S.id);
|
|
1299
|
+
p.value = { min: Q(j, "YYYY-MM-DD"), max: Q(L, "YYYY-MM-DD") }, s.value = J, v();
|
|
1300
1300
|
}
|
|
1301
1301
|
}
|
|
1302
|
-
return (
|
|
1302
|
+
return (h, $) => ge(h.$slots, "default", Te(Ne({
|
|
1303
1303
|
today: d(q),
|
|
1304
|
-
months:
|
|
1305
|
-
isLoading: d(
|
|
1306
|
-
datesFilter:
|
|
1304
|
+
months: b.value,
|
|
1305
|
+
isLoading: d(y),
|
|
1306
|
+
datesFilter: p.value,
|
|
1307
1307
|
selectedMonth: s.value,
|
|
1308
1308
|
selectedPanel: n.value,
|
|
1309
|
-
games:
|
|
1309
|
+
games: k.value,
|
|
1310
1310
|
more: z,
|
|
1311
1311
|
setMonth: x,
|
|
1312
|
-
changePanel:
|
|
1312
|
+
changePanel: I
|
|
1313
1313
|
})));
|
|
1314
1314
|
}
|
|
1315
|
-
},
|
|
1315
|
+
}, Eo = {
|
|
1316
1316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1317
1317
|
viewBox: "0 0 24 24",
|
|
1318
1318
|
fill: "none",
|
|
@@ -1321,9 +1321,9 @@ const Rt = 20, No = {
|
|
|
1321
1321
|
"stroke-linecap": "round",
|
|
1322
1322
|
"stroke-linejoin": "round"
|
|
1323
1323
|
};
|
|
1324
|
-
function
|
|
1325
|
-
return
|
|
1326
|
-
|
|
1324
|
+
function Do(t, e) {
|
|
1325
|
+
return u(), _("svg", Eo, e[0] || (e[0] = [
|
|
1326
|
+
g("rect", {
|
|
1327
1327
|
x: "2",
|
|
1328
1328
|
y: "3",
|
|
1329
1329
|
width: "20",
|
|
@@ -1331,13 +1331,13 @@ function Eo(t, e) {
|
|
|
1331
1331
|
rx: "2",
|
|
1332
1332
|
ry: "2"
|
|
1333
1333
|
}, null, -1),
|
|
1334
|
-
|
|
1334
|
+
g("line", {
|
|
1335
1335
|
x1: "8",
|
|
1336
1336
|
y1: "21",
|
|
1337
1337
|
x2: "16",
|
|
1338
1338
|
y2: "21"
|
|
1339
1339
|
}, null, -1),
|
|
1340
|
-
|
|
1340
|
+
g("line", {
|
|
1341
1341
|
x1: "12",
|
|
1342
1342
|
y1: "17",
|
|
1343
1343
|
x2: "12",
|
|
@@ -1345,7 +1345,7 @@ function Eo(t, e) {
|
|
|
1345
1345
|
}, null, -1)
|
|
1346
1346
|
]));
|
|
1347
1347
|
}
|
|
1348
|
-
const
|
|
1348
|
+
const Po = { render: Do }, Lo = {
|
|
1349
1349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1350
1350
|
viewBox: "0 0 24 24",
|
|
1351
1351
|
fill: "none",
|
|
@@ -1354,25 +1354,25 @@ const Do = { render: Eo }, Lo = {
|
|
|
1354
1354
|
"stroke-linecap": "round",
|
|
1355
1355
|
"stroke-linejoin": "round"
|
|
1356
1356
|
};
|
|
1357
|
-
function
|
|
1358
|
-
return
|
|
1359
|
-
|
|
1360
|
-
|
|
1357
|
+
function Mo(t, e) {
|
|
1358
|
+
return u(), _("svg", Lo, e[0] || (e[0] = [
|
|
1359
|
+
g("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),
|
|
1360
|
+
g("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1361
1361
|
]));
|
|
1362
1362
|
}
|
|
1363
|
-
const
|
|
1363
|
+
const jo = { render: Mo }, Oo = { class: "is-info is-text-sm" }, Go = ["href"], Ro = { class: "is-info is-text-sm" }, Yo = { class: "is-home-team is-text-base" }, Uo = { class: "is-team-name-short" }, Ko = { class: "is-team-name-long" }, Bo = ["href", "target"], Vo = {
|
|
1364
1364
|
key: 0,
|
|
1365
1365
|
class: "is-text-xl is-text-bold"
|
|
1366
1366
|
}, Fo = {
|
|
1367
1367
|
key: 1,
|
|
1368
1368
|
class: "is-text-xl is-text-bold"
|
|
1369
|
-
},
|
|
1369
|
+
}, qo = {
|
|
1370
1370
|
key: 2,
|
|
1371
1371
|
class: "is-text-xl is-text-bold"
|
|
1372
|
-
},
|
|
1372
|
+
}, Ho = {
|
|
1373
1373
|
key: 0,
|
|
1374
1374
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1375
|
-
},
|
|
1375
|
+
}, Wo = { class: "is-away-team is-text-base" }, Jo = { key: 0 }, Xo = { class: "is-team-name-short" }, Qo = { class: "is-team-name-long" }, Zo = {
|
|
1376
1376
|
__name: "Item",
|
|
1377
1377
|
props: {
|
|
1378
1378
|
game: {
|
|
@@ -1397,74 +1397,74 @@ const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"],
|
|
|
1397
1397
|
}
|
|
1398
1398
|
},
|
|
1399
1399
|
setup(t) {
|
|
1400
|
-
const { t: e } =
|
|
1401
|
-
return (r, a) => (
|
|
1402
|
-
class:
|
|
1400
|
+
const { t: e } = ne();
|
|
1401
|
+
return (r, a) => (u(), _("div", {
|
|
1402
|
+
class: B(["card-item", { "is-optional": t.game.optional }])
|
|
1403
1403
|
}, [
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
t.game.broadcast ? (
|
|
1407
|
-
a[0] || (a[0] =
|
|
1408
|
-
|
|
1409
|
-
a[1] || (a[1] =
|
|
1410
|
-
], 64)) :
|
|
1411
|
-
t.game.video ? (
|
|
1412
|
-
a[2] || (a[2] =
|
|
1413
|
-
|
|
1404
|
+
g("div", Oo, [
|
|
1405
|
+
ae(f(t.game.gameName) + " - " + f(t.game.championshipName) + " - " + f(t.game.divisionName) + " - " + f(t.game.location.locationName) + " ", 1),
|
|
1406
|
+
t.game.broadcast ? (u(), _(R, { key: 0 }, [
|
|
1407
|
+
a[0] || (a[0] = ae(" - ")),
|
|
1408
|
+
T(d(Po), { height: "16" }),
|
|
1409
|
+
a[1] || (a[1] = ae(" "))
|
|
1410
|
+
], 64)) : P("", !0),
|
|
1411
|
+
t.game.video ? (u(), _(R, { key: 1 }, [
|
|
1412
|
+
a[2] || (a[2] = ae(" - ")),
|
|
1413
|
+
g("a", {
|
|
1414
1414
|
href: t.game.video,
|
|
1415
1415
|
target: "_blank"
|
|
1416
1416
|
}, [
|
|
1417
|
-
|
|
1418
|
-
], 8,
|
|
1419
|
-
], 64)) :
|
|
1417
|
+
T(d(jo), { height: "18" })
|
|
1418
|
+
], 8, Go)
|
|
1419
|
+
], 64)) : P("", !0)
|
|
1420
1420
|
]),
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
(
|
|
1421
|
+
g("div", Ro, f(d(Q)(t.game.gameDate, "L LT", null, t.locale)) + " (" + f(d(Ve)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1422
|
+
g("div", Yo, [
|
|
1423
|
+
g("span", Uo, f(t.game.homeTeam.shortName), 1),
|
|
1424
|
+
g("span", Ko, f(t.game.homeTeam.longName), 1),
|
|
1425
|
+
(u(), D(d(me), {
|
|
1426
1426
|
key: t.game.homeTeam.id,
|
|
1427
1427
|
class: "is-logo-image",
|
|
1428
1428
|
src: t.game.homeTeam.logo
|
|
1429
1429
|
}, null, 8, ["src"]))
|
|
1430
1430
|
]),
|
|
1431
|
-
|
|
1432
|
-
class:
|
|
1431
|
+
g("div", {
|
|
1432
|
+
class: B(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
|
|
1433
1433
|
}, [
|
|
1434
|
-
|
|
1434
|
+
g("a", {
|
|
1435
1435
|
href: t.gameLink(t.game),
|
|
1436
1436
|
target: t.target
|
|
1437
1437
|
}, [
|
|
1438
|
-
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (
|
|
1439
|
-
t.game.gameStatus === 3 ? (
|
|
1440
|
-
t.game.gameStatus === 4 ? (
|
|
1441
|
-
], 8,
|
|
1442
|
-
t.game.gameStatus > 0 ? (
|
|
1438
|
+
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (u(), _("span", Vo, f(t.game.homeTeamScore) + " - " + f(t.game.awayTeamScore), 1)) : P("", !0),
|
|
1439
|
+
t.game.gameStatus === 3 ? (u(), _("span", Fo, f(d(e)("game.status.jury")), 1)) : P("", !0),
|
|
1440
|
+
t.game.gameStatus === 4 ? (u(), _("span", qo, f(d(e)("game.status.delayed")), 1)) : P("", !0)
|
|
1441
|
+
], 8, Bo),
|
|
1442
|
+
t.game.gameStatus > 0 ? (u(), _("div", Ho, f(t.game.periodResults), 1)) : P("", !0)
|
|
1443
1443
|
], 2),
|
|
1444
|
-
|
|
1445
|
-
Array.isArray(t.game.awayTeam) ? (
|
|
1446
|
-
(
|
|
1444
|
+
g("div", Wo, [
|
|
1445
|
+
Array.isArray(t.game.awayTeam) ? (u(), _("span", Jo, "Torna")) : P("", !0),
|
|
1446
|
+
(u(), D(d(me), {
|
|
1447
1447
|
key: t.game.awayTeam.id,
|
|
1448
1448
|
class: "is-logo-image",
|
|
1449
1449
|
src: t.game.awayTeam.logo
|
|
1450
1450
|
}, null, 8, ["src"])),
|
|
1451
|
-
|
|
1452
|
-
|
|
1451
|
+
g("span", Xo, f(t.game.awayTeam.shortName), 1),
|
|
1452
|
+
g("span", Qo, f(t.game.awayTeam.longName), 1)
|
|
1453
1453
|
])
|
|
1454
1454
|
], 2));
|
|
1455
1455
|
}
|
|
1456
|
-
}, xe = "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: .6275rem;--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-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-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-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--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-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}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s 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)}.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)}.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;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 .icon{margin-right:15px}.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}", Xe = ".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}", Qe = `.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)}`, Zo = ".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}", _e = (t, e) => {
|
|
1456
|
+
}, _e = "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: .6275rem;--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-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-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-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--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-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)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s 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)}.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-primary-color-400);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;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 .icon{margin-right:15px}.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}", Xe = ".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}", Qe = `.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)}`, ei = ".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}", ke = (t, e) => {
|
|
1457
1457
|
const r = t.__vccOpts || t;
|
|
1458
1458
|
for (const [a, o] of e)
|
|
1459
1459
|
r[a] = o;
|
|
1460
1460
|
return r;
|
|
1461
|
-
},
|
|
1461
|
+
}, ti = {
|
|
1462
1462
|
id: "top",
|
|
1463
1463
|
class: "flex overflow-x-auto is-mb-5"
|
|
1464
|
-
},
|
|
1464
|
+
}, ri = ["onClick"], ai = ["onClick"], oi = ["onClick"], ii = ["onClick"], ni = { class: "toggle-group" }, si = ["disabled", "onClick"], li = {
|
|
1465
1465
|
key: 0,
|
|
1466
1466
|
class: "is-text-center"
|
|
1467
|
-
},
|
|
1467
|
+
}, ci = ["data-gamedate"], di = { class: "is-text-base" }, gi = { class: "is-card" }, pi = ["onClick"], ui = {
|
|
1468
1468
|
__name: "Calendar.ce",
|
|
1469
1469
|
props: {
|
|
1470
1470
|
locale: {
|
|
@@ -1479,94 +1479,94 @@ const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"],
|
|
|
1479
1479
|
type: String,
|
|
1480
1480
|
default: ""
|
|
1481
1481
|
},
|
|
1482
|
-
...
|
|
1482
|
+
...Or
|
|
1483
1483
|
},
|
|
1484
1484
|
setup(t) {
|
|
1485
|
-
const e = t, r = { en:
|
|
1486
|
-
return (n, s) => (
|
|
1485
|
+
const e = t, r = { en: we, hu: xe }, a = O(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => bt(e.externalGameResolver || "/game/id/{id}", n);
|
|
1486
|
+
return (n, s) => (u(), D(d(ye), {
|
|
1487
1487
|
locale: e.locale,
|
|
1488
1488
|
messages: r
|
|
1489
1489
|
}, {
|
|
1490
|
-
default:
|
|
1491
|
-
|
|
1492
|
-
default:
|
|
1493
|
-
|
|
1490
|
+
default: C(({ t: l }) => [
|
|
1491
|
+
T(d(Ce), null, {
|
|
1492
|
+
default: C(({ error: c, hasError: p }) => [
|
|
1493
|
+
p ? (u(), D(d(Ae), {
|
|
1494
1494
|
key: 0,
|
|
1495
1495
|
error: c
|
|
1496
|
-
}, null, 8, ["error"])) :
|
|
1497
|
-
|
|
1496
|
+
}, null, 8, ["error"])) : P("", !0),
|
|
1497
|
+
T(Ao, {
|
|
1498
1498
|
locale: e.locale,
|
|
1499
1499
|
timezone: a.value,
|
|
1500
1500
|
"season-id": t.seasonId,
|
|
1501
1501
|
"api-key": t.apiKey
|
|
1502
1502
|
}, {
|
|
1503
|
-
default:
|
|
1503
|
+
default: C(({
|
|
1504
1504
|
games: m,
|
|
1505
|
-
months:
|
|
1506
|
-
isLoading:
|
|
1507
|
-
selectedPanel:
|
|
1508
|
-
selectedMonth:
|
|
1509
|
-
more:
|
|
1505
|
+
months: y,
|
|
1506
|
+
isLoading: v,
|
|
1507
|
+
selectedPanel: k,
|
|
1508
|
+
selectedMonth: b,
|
|
1509
|
+
more: I,
|
|
1510
1510
|
setMonth: x,
|
|
1511
1511
|
changePanel: z
|
|
1512
1512
|
}) => [
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
class:
|
|
1516
|
-
onClick: (
|
|
1517
|
-
},
|
|
1518
|
-
|
|
1519
|
-
class:
|
|
1520
|
-
onClick: (
|
|
1521
|
-
},
|
|
1522
|
-
|
|
1523
|
-
class:
|
|
1524
|
-
onClick: (
|
|
1525
|
-
},
|
|
1526
|
-
|
|
1527
|
-
class:
|
|
1528
|
-
onClick: (
|
|
1529
|
-
},
|
|
1513
|
+
g("div", ti, [
|
|
1514
|
+
g("button", {
|
|
1515
|
+
class: B(["tab-button", { "is-active": k === d(be) }]),
|
|
1516
|
+
onClick: (w) => z(d(be))
|
|
1517
|
+
}, f(l("calendar.gamesPlayed")), 11, ri),
|
|
1518
|
+
g("button", {
|
|
1519
|
+
class: B(["tab-button", { "is-active": k === d(Ie) }]),
|
|
1520
|
+
onClick: (w) => z(d(Ie))
|
|
1521
|
+
}, f(l("calendar.todaysGames")), 11, ai),
|
|
1522
|
+
g("button", {
|
|
1523
|
+
class: B(["tab-button", { "is-active": k === d($e) }]),
|
|
1524
|
+
onClick: (w) => z(d($e))
|
|
1525
|
+
}, f(l("calendar.nextGames")), 11, oi),
|
|
1526
|
+
g("button", {
|
|
1527
|
+
class: B(["tab-button", { "is-active": k === d(Re) }]),
|
|
1528
|
+
onClick: (w) => z(d(Re))
|
|
1529
|
+
}, f(l("calendar.weekGames")), 11, ii)
|
|
1530
1530
|
]),
|
|
1531
|
-
|
|
1532
|
-
(
|
|
1533
|
-
key:
|
|
1531
|
+
g("div", ni, [
|
|
1532
|
+
(u(!0), _(R, null, W(y, (w) => (u(), _("button", {
|
|
1533
|
+
key: w.id,
|
|
1534
1534
|
type: "button",
|
|
1535
|
-
class:
|
|
1536
|
-
disabled:
|
|
1537
|
-
onClick: (
|
|
1538
|
-
}, w
|
|
1535
|
+
class: B({ "is-active": b === w.id }),
|
|
1536
|
+
disabled: v,
|
|
1537
|
+
onClick: (h) => x(w)
|
|
1538
|
+
}, f(w.name), 11, si))), 128))
|
|
1539
1539
|
]),
|
|
1540
|
-
m.totalItems === 0 && !
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
(
|
|
1544
|
-
key:
|
|
1545
|
-
"data-gamedate":
|
|
1540
|
+
m.totalItems === 0 && !v ? (u(), _("div", li, f(l("calendar.noGame")), 1)) : P("", !0),
|
|
1541
|
+
g("div", null, [
|
|
1542
|
+
v ? (u(), D(d(vt), { key: 0 })) : P("", !0),
|
|
1543
|
+
(u(!0), _(R, null, W(m.rows, (w, h) => (u(), _("div", {
|
|
1544
|
+
key: h,
|
|
1545
|
+
"data-gamedate": h
|
|
1546
1546
|
}, [
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
(
|
|
1550
|
-
key:
|
|
1551
|
-
game:
|
|
1547
|
+
g("span", di, f(d(Q)(new Date(h), "LL dddd", a.value, t.locale)), 1),
|
|
1548
|
+
g("div", gi, [
|
|
1549
|
+
(u(!0), _(R, null, W(w, ($) => (u(), D(Zo, {
|
|
1550
|
+
key: $.id,
|
|
1551
|
+
game: $,
|
|
1552
1552
|
locale: t.locale,
|
|
1553
1553
|
timezone: a.value,
|
|
1554
1554
|
"game-link": i,
|
|
1555
1555
|
target: o.value
|
|
1556
1556
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1557
1557
|
])
|
|
1558
|
-
], 8,
|
|
1558
|
+
], 8, ci))), 128))
|
|
1559
1559
|
]),
|
|
1560
|
-
!
|
|
1560
|
+
!v && m.currentItems < m.totalItems ? (u(), D(d(Rr), {
|
|
1561
1561
|
key: 1,
|
|
1562
1562
|
options: { rootMargin: "400px" },
|
|
1563
|
-
onIntersect:
|
|
1563
|
+
onIntersect: I
|
|
1564
1564
|
}, {
|
|
1565
|
-
default:
|
|
1566
|
-
|
|
1565
|
+
default: C(() => [
|
|
1566
|
+
g("button", { onClick: I }, f(l("calendar.more")), 9, pi)
|
|
1567
1567
|
]),
|
|
1568
1568
|
_: 2
|
|
1569
|
-
}, 1032, ["onIntersect"])) :
|
|
1569
|
+
}, 1032, ["onIntersect"])) : P("", !0)
|
|
1570
1570
|
]),
|
|
1571
1571
|
_: 2
|
|
1572
1572
|
}, 1032, ["locale", "timezone", "season-id", "api-key"])
|
|
@@ -1577,108 +1577,108 @@ const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"],
|
|
|
1577
1577
|
_: 1
|
|
1578
1578
|
}, 8, ["locale"]));
|
|
1579
1579
|
}
|
|
1580
|
-
},
|
|
1581
|
-
function
|
|
1580
|
+
}, mi = /* @__PURE__ */ ke(ui, [["styles", [_e, Xe, Qe, ei]]]), ze = "schedule", it = "standings", ue = "players", Me = "teams";
|
|
1581
|
+
function vi(t, e, r = null) {
|
|
1582
1582
|
var i, n, s, l;
|
|
1583
|
-
e.championships =
|
|
1584
|
-
const a =
|
|
1583
|
+
e.championships = Ke(ie("sectionId"))(t), e.selectedChampionshipId = (n = (i = e.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
|
|
1584
|
+
const a = Ke(ie("phaseId"))(((s = t == null ? void 0 : t[0]) == null ? void 0 : s.phases) ?? []), o = a.findIndex((c) => c.phaseId === Number(r));
|
|
1585
1585
|
e.phaseId = o > -1 ? Number(r) : (l = a[0]) == null ? void 0 : l.phaseId;
|
|
1586
1586
|
}
|
|
1587
|
-
const
|
|
1587
|
+
const bi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1588
1588
|
api: "/v2/games-list",
|
|
1589
|
-
columns:
|
|
1589
|
+
columns: ar,
|
|
1590
1590
|
sort: {}
|
|
1591
1591
|
}).set("standings", {
|
|
1592
1592
|
api: "/v2/standings",
|
|
1593
|
-
columns:
|
|
1593
|
+
columns: na,
|
|
1594
1594
|
sort: {}
|
|
1595
1595
|
}).set("points", {
|
|
1596
1596
|
api: "/v2/players-stats",
|
|
1597
|
-
columns:
|
|
1597
|
+
columns: Pe,
|
|
1598
1598
|
sort: {
|
|
1599
1599
|
sortTarget: "points",
|
|
1600
|
-
orders: [{ target: "points", direction:
|
|
1600
|
+
orders: [{ target: "points", direction: X }]
|
|
1601
1601
|
}
|
|
1602
1602
|
}).set("goals", {
|
|
1603
1603
|
api: "/v2/players-stats",
|
|
1604
|
-
columns:
|
|
1604
|
+
columns: Pe,
|
|
1605
1605
|
sort: {
|
|
1606
1606
|
sortTarget: "goals",
|
|
1607
1607
|
orders: [
|
|
1608
|
-
{ target: "goals", direction:
|
|
1609
|
-
{ target: "assists", direction:
|
|
1608
|
+
{ target: "goals", direction: X },
|
|
1609
|
+
{ target: "assists", direction: X }
|
|
1610
1610
|
]
|
|
1611
1611
|
}
|
|
1612
1612
|
}).set("assists", {
|
|
1613
1613
|
api: "/v2/players-stats",
|
|
1614
|
-
columns:
|
|
1614
|
+
columns: Pe,
|
|
1615
1615
|
sort: {
|
|
1616
1616
|
sortTarget: "assists",
|
|
1617
1617
|
orders: [
|
|
1618
|
-
{ target: "assists", direction:
|
|
1619
|
-
{ target: "goals", direction:
|
|
1618
|
+
{ target: "assists", direction: X },
|
|
1619
|
+
{ target: "goals", direction: X }
|
|
1620
1620
|
]
|
|
1621
1621
|
}
|
|
1622
1622
|
}).set("plusminus", {
|
|
1623
1623
|
api: "/v2/players-stats",
|
|
1624
|
-
columns:
|
|
1624
|
+
columns: Pe,
|
|
1625
1625
|
sort: {
|
|
1626
1626
|
sortTarget: "plusMinus",
|
|
1627
|
-
orders: [{ target: "plusMinus", direction:
|
|
1627
|
+
orders: [{ target: "plusMinus", direction: X }]
|
|
1628
1628
|
}
|
|
1629
1629
|
}).set("playerspenalties", {
|
|
1630
1630
|
api: "/v2/players-penalty",
|
|
1631
|
-
columns:
|
|
1631
|
+
columns: sa,
|
|
1632
1632
|
sort: {
|
|
1633
1633
|
sortTarget: "pim",
|
|
1634
|
-
orders: [{ target: "pim", direction:
|
|
1634
|
+
orders: [{ target: "pim", direction: X }]
|
|
1635
1635
|
}
|
|
1636
1636
|
}).set("goalies", {
|
|
1637
1637
|
api: "/v2/players-goalie",
|
|
1638
1638
|
params: { more: !0 },
|
|
1639
|
-
columns:
|
|
1639
|
+
columns: It,
|
|
1640
1640
|
sort: {
|
|
1641
1641
|
sortTarget: "svsPercent",
|
|
1642
|
-
orders: [{ target: "svsPercent", direction:
|
|
1642
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1643
1643
|
}
|
|
1644
1644
|
}).set("goaliesunderlimit", {
|
|
1645
1645
|
api: "/v2/players-goalie",
|
|
1646
1646
|
params: { less: !0 },
|
|
1647
|
-
columns:
|
|
1647
|
+
columns: It,
|
|
1648
1648
|
sort: {
|
|
1649
1649
|
sortTarget: "svsPercent",
|
|
1650
|
-
orders: [{ target: "svsPercent", direction:
|
|
1650
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1651
1651
|
}
|
|
1652
1652
|
}).set("teamFairplay", {
|
|
1653
1653
|
api: "/v2/team-fairplay",
|
|
1654
|
-
columns:
|
|
1654
|
+
columns: la,
|
|
1655
1655
|
sort: {
|
|
1656
1656
|
sortTarget: "pim",
|
|
1657
|
-
orders: [{ target: "pim", direction:
|
|
1657
|
+
orders: [{ target: "pim", direction: X }]
|
|
1658
1658
|
}
|
|
1659
1659
|
}).set("teamPenaltiKilling", {
|
|
1660
1660
|
api: "/v2/team-powerplay",
|
|
1661
|
-
columns:
|
|
1661
|
+
columns: ca,
|
|
1662
1662
|
sort: {
|
|
1663
1663
|
sortTarget: "pkPercent",
|
|
1664
|
-
orders: [{ target: "pkPercent", direction:
|
|
1664
|
+
orders: [{ target: "pkPercent", direction: X }]
|
|
1665
1665
|
}
|
|
1666
1666
|
}).set("teamPowerplay", {
|
|
1667
1667
|
api: "/v2/team-powerplay",
|
|
1668
|
-
columns:
|
|
1668
|
+
columns: da,
|
|
1669
1669
|
sort: {
|
|
1670
1670
|
sortTarget: "ppPercent",
|
|
1671
|
-
orders: [{ target: "ppPercent", direction:
|
|
1671
|
+
orders: [{ target: "ppPercent", direction: X }]
|
|
1672
1672
|
}
|
|
1673
1673
|
}).set("teamScoringEfficiency", {
|
|
1674
1674
|
api: "/v2/team-scoring-efficiency",
|
|
1675
|
-
columns:
|
|
1675
|
+
columns: ga,
|
|
1676
1676
|
sort: {
|
|
1677
1677
|
sortTarget: "sp",
|
|
1678
|
-
orders: [{ target: "sp", direction:
|
|
1678
|
+
orders: [{ target: "sp", direction: X }]
|
|
1679
1679
|
}
|
|
1680
1680
|
});
|
|
1681
|
-
function
|
|
1681
|
+
function Kt(t) {
|
|
1682
1682
|
return [
|
|
1683
1683
|
{
|
|
1684
1684
|
name: t("report.points"),
|
|
@@ -1710,7 +1710,7 @@ function Yt(t) {
|
|
|
1710
1710
|
}
|
|
1711
1711
|
];
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function Bt(t) {
|
|
1714
1714
|
return [
|
|
1715
1715
|
// {
|
|
1716
1716
|
// name: t('report.teamAttendance'),
|
|
@@ -1734,15 +1734,15 @@ function Ut(t) {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
];
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function hi(t, e) {
|
|
1738
1738
|
if (t.length === 0)
|
|
1739
|
-
throw new
|
|
1740
|
-
e.seasons =
|
|
1739
|
+
throw new tr(Ge.message, Ge.options);
|
|
1740
|
+
e.seasons = fi(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1743
|
-
return
|
|
1742
|
+
function fi(t) {
|
|
1743
|
+
return kt(mr(gr(ie("seasonName"))), _t(ur(["championshipId", "seasonName"])))(t);
|
|
1744
1744
|
}
|
|
1745
|
-
const
|
|
1745
|
+
const yi = {
|
|
1746
1746
|
__name: "DataProvider",
|
|
1747
1747
|
props: {
|
|
1748
1748
|
championshipName: {
|
|
@@ -1775,7 +1775,7 @@ const fi = {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
},
|
|
1777
1777
|
setup(t) {
|
|
1778
|
-
const e = t, r =
|
|
1778
|
+
const e = t, r = ir("history"), a = ce({
|
|
1779
1779
|
loading: !1,
|
|
1780
1780
|
seasons: [],
|
|
1781
1781
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1784,34 +1784,34 @@ const fi = {
|
|
|
1784
1784
|
selectedChampionshipId: null,
|
|
1785
1785
|
sections: [],
|
|
1786
1786
|
section: r.section || null,
|
|
1787
|
-
selectedPanel:
|
|
1787
|
+
selectedPanel: ze,
|
|
1788
1788
|
api: "/v2/games-list",
|
|
1789
1789
|
apiParams: {},
|
|
1790
|
-
columns:
|
|
1790
|
+
columns: ar,
|
|
1791
1791
|
sort: null,
|
|
1792
1792
|
report: "points"
|
|
1793
|
-
}), o =
|
|
1793
|
+
}), o = zr(e, "timezone"), { onError: i } = Ee(), { sort: n, change: s } = ea({
|
|
1794
1794
|
sortTarget: "",
|
|
1795
1795
|
orders: []
|
|
1796
|
-
}), { page: l, change: c } =
|
|
1796
|
+
}), { page: l, change: c } = ta(), { t: p } = ne(), { isLoading: m, execute: y } = ee({
|
|
1797
1797
|
options: {
|
|
1798
1798
|
path: "/v2/championship-seasons",
|
|
1799
1799
|
apiKey: e.apiKey,
|
|
1800
1800
|
params: { championshipName: e.championshipName }
|
|
1801
1801
|
},
|
|
1802
|
-
transform: (
|
|
1802
|
+
transform: (N) => hi(N, a),
|
|
1803
1803
|
onError: i
|
|
1804
|
-
}), { isLoading:
|
|
1804
|
+
}), { isLoading: v, execute: k } = ee({
|
|
1805
1805
|
options: {
|
|
1806
1806
|
path: "/v2/championship-sections",
|
|
1807
1807
|
apiKey: e.apiKey,
|
|
1808
1808
|
params: A(() => ({ championshipId: a.championshipId }))
|
|
1809
1809
|
},
|
|
1810
|
-
transform: (
|
|
1810
|
+
transform: (N) => vi(N, a, e.initialPhaseId),
|
|
1811
1811
|
onError: i
|
|
1812
1812
|
}), {
|
|
1813
|
-
isLoading:
|
|
1814
|
-
state:
|
|
1813
|
+
isLoading: b,
|
|
1814
|
+
state: I,
|
|
1815
1815
|
execute: x
|
|
1816
1816
|
} = ee({
|
|
1817
1817
|
options: {
|
|
@@ -1820,70 +1820,70 @@ const fi = {
|
|
|
1820
1820
|
resetOnExecute: !0,
|
|
1821
1821
|
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1822
1822
|
},
|
|
1823
|
-
transform: (
|
|
1823
|
+
transform: (N) => rr(N),
|
|
1824
1824
|
onError: i
|
|
1825
|
-
}), z =
|
|
1826
|
-
|
|
1827
|
-
const
|
|
1828
|
-
() => a.selectedPanel ===
|
|
1829
|
-
),
|
|
1830
|
-
const
|
|
1831
|
-
return Vr(
|
|
1832
|
-
}),
|
|
1825
|
+
}), z = ra([v, m, b], { delay: 1e3 });
|
|
1826
|
+
he([y, k, x]);
|
|
1827
|
+
const w = A(
|
|
1828
|
+
() => a.selectedPanel === ue ? Kt(p) : Bt(p)
|
|
1829
|
+
), h = A(() => {
|
|
1830
|
+
const N = a.championships.find((G) => G.sectionId === a.selectedChampionshipId);
|
|
1831
|
+
return Vr(Ke(ie("phaseId"))((N == null ? void 0 : N.phases) ?? []));
|
|
1832
|
+
}), $ = A(() => a.selectedPanel === ze ? 0 : e.limit), E = A(
|
|
1833
1833
|
() => Fr(
|
|
1834
|
-
|
|
1835
|
-
Br,
|
|
1834
|
+
I.value,
|
|
1836
1835
|
qr,
|
|
1837
1836
|
Hr,
|
|
1838
|
-
Wr
|
|
1839
|
-
Jr(["
|
|
1837
|
+
Wr,
|
|
1838
|
+
Jr(["mip"]),
|
|
1839
|
+
Xr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1840
1840
|
)
|
|
1841
|
-
),
|
|
1842
|
-
function
|
|
1843
|
-
a.championshipId =
|
|
1841
|
+
), S = A(() => Be(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), $.value).value());
|
|
1842
|
+
function j(N) {
|
|
1843
|
+
a.championshipId = N, r.championshipId = N, he([k, x]);
|
|
1844
1844
|
}
|
|
1845
|
-
function
|
|
1846
|
-
var
|
|
1847
|
-
a.selectedChampionshipId =
|
|
1845
|
+
function L(N) {
|
|
1846
|
+
var G;
|
|
1847
|
+
a.selectedChampionshipId = N, a.phaseId = ((G = h.value[0]) == null ? void 0 : G.phaseId) ?? null, x();
|
|
1848
1848
|
}
|
|
1849
|
-
function
|
|
1850
|
-
a.phaseId =
|
|
1849
|
+
function J(N) {
|
|
1850
|
+
a.phaseId = N, x();
|
|
1851
1851
|
}
|
|
1852
|
-
function
|
|
1853
|
-
var
|
|
1854
|
-
a.selectedPanel =
|
|
1855
|
-
let
|
|
1856
|
-
|
|
1852
|
+
function se(N) {
|
|
1853
|
+
var oe, F;
|
|
1854
|
+
a.selectedPanel = N;
|
|
1855
|
+
let G = N;
|
|
1856
|
+
N === ue && (G = (oe = H(Kt(Z))) == null ? void 0 : oe.value), N === Me && (G = (F = H(Bt(Z))) == null ? void 0 : F.value), a.report = G, V(G);
|
|
1857
1857
|
}
|
|
1858
|
-
function te(
|
|
1859
|
-
|
|
1858
|
+
function te(N) {
|
|
1859
|
+
V(N);
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1862
|
-
var
|
|
1863
|
-
const
|
|
1864
|
-
a.api =
|
|
1861
|
+
function V(N) {
|
|
1862
|
+
var oe, F;
|
|
1863
|
+
const G = bi.get(N);
|
|
1864
|
+
a.api = G.api, a.apiParams = G.params, a.columns = G.columns, n.sortTarget = ((oe = G.sort) == null ? void 0 : oe.sortTarget) ?? "", n.orders = ((F = G.sort) == null ? void 0 : F.orders) ?? [], x(), c(1);
|
|
1865
1865
|
}
|
|
1866
|
-
return (
|
|
1866
|
+
return (N, G) => ge(N.$slots, "default", Te(Ne({
|
|
1867
1867
|
...a,
|
|
1868
1868
|
sort: d(n),
|
|
1869
1869
|
page: d(l),
|
|
1870
|
-
phases:
|
|
1870
|
+
phases: h.value,
|
|
1871
1871
|
isLoading: d(z),
|
|
1872
|
-
games:
|
|
1873
|
-
reports:
|
|
1872
|
+
games: S.value,
|
|
1873
|
+
reports: w.value,
|
|
1874
1874
|
onSort: d(s),
|
|
1875
|
-
changePanel:
|
|
1876
|
-
changePhase:
|
|
1877
|
-
changeSeason:
|
|
1875
|
+
changePanel: se,
|
|
1876
|
+
changePhase: J,
|
|
1877
|
+
changeSeason: j,
|
|
1878
1878
|
onChangeReport: te,
|
|
1879
1879
|
onPaginatorChange: d(c),
|
|
1880
|
-
changeChampionship:
|
|
1880
|
+
changeChampionship: L
|
|
1881
1881
|
})));
|
|
1882
1882
|
}
|
|
1883
|
-
},
|
|
1883
|
+
}, wi = { class: "g-row" }, xi = {
|
|
1884
1884
|
for: "season",
|
|
1885
1885
|
class: "label"
|
|
1886
|
-
},
|
|
1886
|
+
}, _i = ["value"], ki = {
|
|
1887
1887
|
__name: "SeasonSelector",
|
|
1888
1888
|
props: {
|
|
1889
1889
|
seasons: {
|
|
@@ -1897,39 +1897,39 @@ const fi = {
|
|
|
1897
1897
|
},
|
|
1898
1898
|
emits: ["update:championshipId"],
|
|
1899
1899
|
setup(t, { emit: e }) {
|
|
1900
|
-
const r = t, a = e, { t: o } =
|
|
1901
|
-
return (n, s) => (
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1900
|
+
const r = t, a = e, { t: o } = ne(), { championshipId: i } = yt(r, a);
|
|
1901
|
+
return (n, s) => (u(), _("div", wi, [
|
|
1902
|
+
g("div", null, [
|
|
1903
|
+
g("label", xi, f(d(o)("selection.season")), 1),
|
|
1904
|
+
T(d(ve), {
|
|
1905
1905
|
id: "season",
|
|
1906
1906
|
modelValue: d(i),
|
|
1907
1907
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => de(i) ? i.value = l : null)
|
|
1908
1908
|
}, {
|
|
1909
|
-
default:
|
|
1910
|
-
(
|
|
1909
|
+
default: C(() => [
|
|
1910
|
+
(u(!0), _(R, null, W(t.seasons, (l) => (u(), _("option", {
|
|
1911
1911
|
key: l.championshipId,
|
|
1912
1912
|
value: l.championshipId
|
|
1913
|
-
},
|
|
1913
|
+
}, f(l.seasonName), 9, _i))), 128))
|
|
1914
1914
|
]),
|
|
1915
1915
|
_: 1
|
|
1916
1916
|
}, 8, ["modelValue"])
|
|
1917
1917
|
])
|
|
1918
1918
|
]));
|
|
1919
1919
|
}
|
|
1920
|
-
},
|
|
1920
|
+
}, zi = {
|
|
1921
1921
|
class: "g-row",
|
|
1922
1922
|
style: { "column-gap": "8px" }
|
|
1923
|
-
},
|
|
1923
|
+
}, Si = {
|
|
1924
1924
|
for: "phases",
|
|
1925
1925
|
class: "label"
|
|
1926
|
-
},
|
|
1926
|
+
}, Ii = {
|
|
1927
1927
|
key: 0,
|
|
1928
1928
|
value: null
|
|
1929
|
-
},
|
|
1929
|
+
}, $i = ["value"], Ti = { key: 0 }, Ni = {
|
|
1930
1930
|
for: "report",
|
|
1931
1931
|
class: "label"
|
|
1932
|
-
},
|
|
1932
|
+
}, Ci = ["value"], Ai = {
|
|
1933
1933
|
__name: "Selector",
|
|
1934
1934
|
props: {
|
|
1935
1935
|
phases: {
|
|
@@ -1955,45 +1955,45 @@ const fi = {
|
|
|
1955
1955
|
},
|
|
1956
1956
|
emits: ["update:phaseId", "update:report"],
|
|
1957
1957
|
setup(t, { emit: e }) {
|
|
1958
|
-
const r = t, a = e, { t: o } =
|
|
1959
|
-
return (s, l) => (
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1958
|
+
const r = t, a = e, { t: o } = ne(), { phaseId: i, report: n } = yt(r, a);
|
|
1959
|
+
return (s, l) => (u(), _("div", zi, [
|
|
1960
|
+
g("div", null, [
|
|
1961
|
+
g("label", Si, f(d(o)("selection.phases")), 1),
|
|
1962
|
+
T(d(ve), {
|
|
1963
1963
|
id: "phases",
|
|
1964
1964
|
modelValue: d(i),
|
|
1965
1965
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null),
|
|
1966
1966
|
disabled: d(i) === null
|
|
1967
1967
|
}, {
|
|
1968
|
-
default:
|
|
1969
|
-
d(i) === null ? (
|
|
1970
|
-
(
|
|
1968
|
+
default: C(() => [
|
|
1969
|
+
d(i) === null ? (u(), _("option", Ii, f(d(o)("selection.noPhases")), 1)) : P("", !0),
|
|
1970
|
+
(u(!0), _(R, null, W(t.phases, (c) => (u(), _("option", {
|
|
1971
1971
|
key: c.phaseId,
|
|
1972
1972
|
value: c.phaseId
|
|
1973
|
-
},
|
|
1973
|
+
}, f(c.phaseName), 9, $i))), 128))
|
|
1974
1974
|
]),
|
|
1975
1975
|
_: 1
|
|
1976
1976
|
}, 8, ["modelValue", "disabled"])
|
|
1977
1977
|
]),
|
|
1978
|
-
t.isReportsVisible ? (
|
|
1979
|
-
|
|
1980
|
-
|
|
1978
|
+
t.isReportsVisible ? (u(), _("div", Ti, [
|
|
1979
|
+
g("label", Ni, f(d(o)("selection.report")), 1),
|
|
1980
|
+
T(d(ve), {
|
|
1981
1981
|
id: "report",
|
|
1982
1982
|
modelValue: d(n),
|
|
1983
1983
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
1984
1984
|
}, {
|
|
1985
|
-
default:
|
|
1986
|
-
(
|
|
1985
|
+
default: C(() => [
|
|
1986
|
+
(u(!0), _(R, null, W(t.reports, ({ value: c, name: p }) => (u(), _("option", {
|
|
1987
1987
|
key: c,
|
|
1988
1988
|
value: c
|
|
1989
|
-
},
|
|
1989
|
+
}, f(p), 9, Ci))), 128))
|
|
1990
1990
|
]),
|
|
1991
1991
|
_: 1
|
|
1992
1992
|
}, 8, ["modelValue"])
|
|
1993
|
-
])) :
|
|
1993
|
+
])) : P("", !0)
|
|
1994
1994
|
]));
|
|
1995
1995
|
}
|
|
1996
|
-
}, ur = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", pr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mr = '.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-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)}', vr = ".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}", Ai = ".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}", Ei = ".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}", Di = { class: "section-selector" }, Li = ["onClick"], Pi = { class: "section-selector" }, Mi = ["onClick"], ji = ["onClick"], Oi = ["onClick"], Gi = ["onClick"], Ri = {
|
|
1996
|
+
}, vr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", br = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", hr = '.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-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)}', fr = ".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}", Ei = ".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}", Di = ".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}", Pi = { class: "section-selector" }, Li = ["onClick"], Mi = { class: "section-selector" }, ji = ["onClick"], Oi = ["onClick"], Gi = ["onClick"], Ri = ["onClick"], Yi = {
|
|
1997
1997
|
__name: "Championship.ce",
|
|
1998
1998
|
props: {
|
|
1999
1999
|
locale: {
|
|
@@ -2026,122 +2026,122 @@ const fi = {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
},
|
|
2028
2028
|
setup(t) {
|
|
2029
|
-
const e = t, r =
|
|
2030
|
-
return (l, c) => (
|
|
2031
|
-
|
|
2029
|
+
const e = t, r = O(null), a = O(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: we, hu: xe }, n = (l) => bt(e.externalGameResolver, l), s = (l) => Qr(e.externalTeamResolver, l);
|
|
2030
|
+
return (l, c) => (u(), _("div", null, [
|
|
2031
|
+
T(d(ye), {
|
|
2032
2032
|
locale: e.locale,
|
|
2033
2033
|
messages: i
|
|
2034
2034
|
}, {
|
|
2035
|
-
default:
|
|
2036
|
-
|
|
2037
|
-
default:
|
|
2038
|
-
|
|
2035
|
+
default: C(({ t: p }) => [
|
|
2036
|
+
T(d(Ce), null, {
|
|
2037
|
+
default: C(({ error: m, hasError: y }) => [
|
|
2038
|
+
y ? (u(), D(d(Ae), {
|
|
2039
2039
|
key: 0,
|
|
2040
2040
|
error: m
|
|
2041
|
-
}, null, 8, ["error"])) :
|
|
2042
|
-
|
|
2041
|
+
}, null, 8, ["error"])) : P("", !0),
|
|
2042
|
+
T(yi, {
|
|
2043
2043
|
locale: t.locale,
|
|
2044
2044
|
timezone: a.value,
|
|
2045
2045
|
"championship-name": t.championshipName,
|
|
2046
2046
|
limit: t.limit,
|
|
2047
2047
|
"initial-phase-id": t.initialPhaseId
|
|
2048
2048
|
}, {
|
|
2049
|
-
default:
|
|
2050
|
-
sort:
|
|
2051
|
-
page:
|
|
2052
|
-
games:
|
|
2053
|
-
phases:
|
|
2049
|
+
default: C(({
|
|
2050
|
+
sort: v,
|
|
2051
|
+
page: k,
|
|
2052
|
+
games: b,
|
|
2053
|
+
phases: I,
|
|
2054
2054
|
report: x,
|
|
2055
2055
|
phaseId: z,
|
|
2056
|
-
columns:
|
|
2057
|
-
seasons:
|
|
2058
|
-
reports:
|
|
2056
|
+
columns: w,
|
|
2057
|
+
seasons: h,
|
|
2058
|
+
reports: $,
|
|
2059
2059
|
isLoading: E,
|
|
2060
|
-
selectedPanel:
|
|
2061
|
-
championships:
|
|
2062
|
-
championshipId:
|
|
2063
|
-
selectedChampionshipId:
|
|
2064
|
-
onSort:
|
|
2060
|
+
selectedPanel: S,
|
|
2061
|
+
championships: j,
|
|
2062
|
+
championshipId: L,
|
|
2063
|
+
selectedChampionshipId: J,
|
|
2064
|
+
onSort: se,
|
|
2065
2065
|
changePanel: te,
|
|
2066
|
-
changePhase:
|
|
2067
|
-
changeSeason:
|
|
2068
|
-
onChangeReport:
|
|
2069
|
-
onPaginatorChange:
|
|
2070
|
-
changeChampionship:
|
|
2066
|
+
changePhase: V,
|
|
2067
|
+
changeSeason: N,
|
|
2068
|
+
onChangeReport: G,
|
|
2069
|
+
onPaginatorChange: oe,
|
|
2070
|
+
changeChampionship: F
|
|
2071
2071
|
}) => [
|
|
2072
|
-
|
|
2073
|
-
seasons:
|
|
2074
|
-
"championship-id":
|
|
2075
|
-
"onUpdate:championshipId":
|
|
2072
|
+
T(ki, {
|
|
2073
|
+
seasons: h,
|
|
2074
|
+
"championship-id": L,
|
|
2075
|
+
"onUpdate:championshipId": N
|
|
2076
2076
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2077
|
-
|
|
2078
|
-
(
|
|
2077
|
+
g("div", Pi, [
|
|
2078
|
+
(u(!0), _(R, null, W(j, (re) => (u(), _("button", {
|
|
2079
2079
|
key: re.phaseId,
|
|
2080
|
-
class:
|
|
2081
|
-
onClick: (Ze) =>
|
|
2082
|
-
},
|
|
2080
|
+
class: B(["tab-button", { "is-active": re.sectionId === J }]),
|
|
2081
|
+
onClick: (Ze) => F(re.sectionId)
|
|
2082
|
+
}, f(re.sectionName), 11, Li))), 128))
|
|
2083
2083
|
]),
|
|
2084
|
-
|
|
2085
|
-
phases:
|
|
2084
|
+
T(Ai, {
|
|
2085
|
+
phases: I,
|
|
2086
2086
|
"phase-id": z,
|
|
2087
|
-
reports:
|
|
2087
|
+
reports: $,
|
|
2088
2088
|
report: x,
|
|
2089
|
-
"is-reports-visible":
|
|
2090
|
-
"onUpdate:phaseId":
|
|
2091
|
-
"onUpdate:report":
|
|
2089
|
+
"is-reports-visible": S === d(ue) || S === d(Me),
|
|
2090
|
+
"onUpdate:phaseId": V,
|
|
2091
|
+
"onUpdate:report": G
|
|
2092
2092
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
class:
|
|
2096
|
-
onClick: (re) => te(d(
|
|
2097
|
-
},
|
|
2098
|
-
|
|
2099
|
-
class:
|
|
2093
|
+
g("div", Mi, [
|
|
2094
|
+
g("button", {
|
|
2095
|
+
class: B(["tab-button", { "is-active": S === d(ze) }]),
|
|
2096
|
+
onClick: (re) => te(d(ze))
|
|
2097
|
+
}, f(p("selection.schedule")), 11, ji),
|
|
2098
|
+
g("button", {
|
|
2099
|
+
class: B(["tab-button", { "is-active": S === d(it) }]),
|
|
2100
2100
|
onClick: (re) => te(d(it))
|
|
2101
|
-
},
|
|
2102
|
-
|
|
2103
|
-
class:
|
|
2104
|
-
onClick: (re) => te(d(
|
|
2105
|
-
},
|
|
2106
|
-
|
|
2107
|
-
class:
|
|
2108
|
-
onClick: (re) => te(d(
|
|
2109
|
-
},
|
|
2101
|
+
}, f(p("selection.standings")), 11, Oi),
|
|
2102
|
+
g("button", {
|
|
2103
|
+
class: B(["tab-button", { "is-active": S === d(ue) }]),
|
|
2104
|
+
onClick: (re) => te(d(ue))
|
|
2105
|
+
}, f(p("selection.playerStats")), 11, Gi),
|
|
2106
|
+
g("button", {
|
|
2107
|
+
class: B(["tab-button", { "is-active": S === d(Me) }]),
|
|
2108
|
+
onClick: (re) => te(d(Me))
|
|
2109
|
+
}, f(p("selection.teamStats")), 11, Ri)
|
|
2110
2110
|
]),
|
|
2111
|
-
|
|
2112
|
-
columns:
|
|
2113
|
-
rows:
|
|
2114
|
-
sort:
|
|
2111
|
+
T(d(Qt), {
|
|
2112
|
+
columns: w,
|
|
2113
|
+
rows: b.rows,
|
|
2114
|
+
sort: v,
|
|
2115
2115
|
"is-loading": E,
|
|
2116
2116
|
"offset-name": o.value,
|
|
2117
2117
|
"external-team-resolver": s,
|
|
2118
2118
|
"external-game-resolver": n,
|
|
2119
2119
|
"append-to": r.value,
|
|
2120
|
-
"hide-columns":
|
|
2121
|
-
onSort:
|
|
2120
|
+
"hide-columns": S === d(ze) ? "broadcast" : "",
|
|
2121
|
+
onSort: se
|
|
2122
2122
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2123
|
-
|
|
2123
|
+
S === d(ue) ? (u(), D(d(Yr), {
|
|
2124
2124
|
key: 0,
|
|
2125
|
-
page:
|
|
2125
|
+
page: k,
|
|
2126
2126
|
"items-per-page": e.limit,
|
|
2127
|
-
"total-items":
|
|
2127
|
+
"total-items": b.totalItems,
|
|
2128
2128
|
"range-length": 5,
|
|
2129
|
-
onChange:
|
|
2130
|
-
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) :
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
rows:
|
|
2129
|
+
onChange: oe
|
|
2130
|
+
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : P("", !0),
|
|
2131
|
+
S === d(it) ? (u(), _(R, { key: 1 }, [
|
|
2132
|
+
T(d(Oe), {
|
|
2133
|
+
rows: b.rows,
|
|
2134
2134
|
"additional-key": "inheritedPoints"
|
|
2135
2135
|
}, null, 8, ["rows"]),
|
|
2136
|
-
|
|
2137
|
-
rows:
|
|
2136
|
+
T(d(Oe), {
|
|
2137
|
+
rows: b.rows,
|
|
2138
2138
|
"additional-key": "penaltyPoints"
|
|
2139
2139
|
}, null, 8, ["rows"])
|
|
2140
|
-
], 64)) :
|
|
2140
|
+
], 64)) : P("", !0)
|
|
2141
2141
|
]),
|
|
2142
2142
|
_: 2
|
|
2143
2143
|
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id"]),
|
|
2144
|
-
|
|
2144
|
+
g("div", {
|
|
2145
2145
|
ref_key: "tooltipContainer",
|
|
2146
2146
|
ref: r
|
|
2147
2147
|
}, null, 512)
|
|
@@ -2153,7 +2153,7 @@ const fi = {
|
|
|
2153
2153
|
}, 8, ["locale"])
|
|
2154
2154
|
]));
|
|
2155
2155
|
}
|
|
2156
|
-
},
|
|
2156
|
+
}, Ui = /* @__PURE__ */ ke(Yi, [["styles", [_e, Xe, Qe, vr, br, hr, fr, Ei, Di]]]), Ki = {
|
|
2157
2157
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2158
2158
|
viewBox: "0 0 24 24",
|
|
2159
2159
|
fill: "none",
|
|
@@ -2162,12 +2162,12 @@ const fi = {
|
|
|
2162
2162
|
"stroke-linecap": "round",
|
|
2163
2163
|
"stroke-linejoin": "round"
|
|
2164
2164
|
};
|
|
2165
|
-
function
|
|
2166
|
-
return
|
|
2167
|
-
|
|
2165
|
+
function Bi(t, e) {
|
|
2166
|
+
return u(), _("svg", Ki, e[0] || (e[0] = [
|
|
2167
|
+
g("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2168
2168
|
]));
|
|
2169
2169
|
}
|
|
2170
|
-
const Vi = { render:
|
|
2170
|
+
const Vi = { render: Bi }, Fi = {
|
|
2171
2171
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2172
2172
|
viewBox: "0 0 24 24",
|
|
2173
2173
|
fill: "none",
|
|
@@ -2176,15 +2176,15 @@ const Vi = { render: Ki }, Fi = {
|
|
|
2176
2176
|
"stroke-linecap": "round",
|
|
2177
2177
|
"stroke-linejoin": "round"
|
|
2178
2178
|
};
|
|
2179
|
-
function
|
|
2180
|
-
return
|
|
2181
|
-
|
|
2179
|
+
function qi(t, e) {
|
|
2180
|
+
return u(), _("svg", Fi, e[0] || (e[0] = [
|
|
2181
|
+
g("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2182
2182
|
]));
|
|
2183
2183
|
}
|
|
2184
|
-
const
|
|
2185
|
-
function
|
|
2186
|
-
const { execute: e } =
|
|
2187
|
-
(r) =>
|
|
2184
|
+
const zt = { render: qi }, yr = Symbol("CarouselContext");
|
|
2185
|
+
function Hi({ apiKey: t }) {
|
|
2186
|
+
const { execute: e } = Ha(
|
|
2187
|
+
(r) => aa("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
|
|
2188
2188
|
{},
|
|
2189
2189
|
{
|
|
2190
2190
|
immediate: !1,
|
|
@@ -2195,20 +2195,20 @@ function qi({ apiKey: t }) {
|
|
|
2195
2195
|
execute: e
|
|
2196
2196
|
};
|
|
2197
2197
|
}
|
|
2198
|
-
function
|
|
2199
|
-
const a =
|
|
2198
|
+
function Wi(t, e, r) {
|
|
2199
|
+
const a = Ji(e, r);
|
|
2200
2200
|
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2201
2201
|
}
|
|
2202
|
-
function
|
|
2202
|
+
function Ji(t, e) {
|
|
2203
2203
|
const r = /* @__PURE__ */ new Map();
|
|
2204
2204
|
for (const a of t)
|
|
2205
2205
|
r.set(a[e], a);
|
|
2206
2206
|
return r;
|
|
2207
2207
|
}
|
|
2208
|
-
function
|
|
2208
|
+
function Vt(t) {
|
|
2209
2209
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2210
2210
|
}
|
|
2211
|
-
const
|
|
2211
|
+
const Xi = { class: "games-timeline" }, Qi = ["disabled"], Zi = { ref: "container" }, en = ["disabled"], tn = {
|
|
2212
2212
|
__name: "Carousel",
|
|
2213
2213
|
props: {
|
|
2214
2214
|
initialIndex: {
|
|
@@ -2217,74 +2217,74 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2217
2217
|
}
|
|
2218
2218
|
},
|
|
2219
2219
|
setup(t) {
|
|
2220
|
-
const e = t, r =
|
|
2221
|
-
|
|
2222
|
-
register: (
|
|
2223
|
-
o.value.includes(
|
|
2220
|
+
const e = t, r = Sr("container"), a = O(e.initialIndex), o = O([]);
|
|
2221
|
+
Ir(yr, {
|
|
2222
|
+
register: (y) => {
|
|
2223
|
+
o.value.includes(y) || (o.value.push(y), o.value = Zr(o.value, (v) => pe(r.value).querySelector(`#${v}`)));
|
|
2224
2224
|
},
|
|
2225
|
-
unregister: (
|
|
2226
|
-
const
|
|
2227
|
-
|
|
2225
|
+
unregister: (y) => {
|
|
2226
|
+
const v = o.value.indexOf(y);
|
|
2227
|
+
v !== -1 && o.value.splice(v, 1);
|
|
2228
2228
|
}
|
|
2229
2229
|
});
|
|
2230
|
-
const { arrivedState: n } =
|
|
2231
|
-
() =>
|
|
2230
|
+
const { arrivedState: n } = Ja(r, { onStop: m }), s = A(
|
|
2231
|
+
() => pe(r).querySelector(`#${o.value[a.value]}`)
|
|
2232
2232
|
);
|
|
2233
|
-
|
|
2233
|
+
pt(() => p()), le(
|
|
2234
2234
|
() => e.initialIndex,
|
|
2235
|
-
(
|
|
2236
|
-
a.value =
|
|
2235
|
+
(y) => {
|
|
2236
|
+
a.value = y, Se(() => p());
|
|
2237
2237
|
}
|
|
2238
2238
|
);
|
|
2239
2239
|
function l() {
|
|
2240
|
-
n.left || (a.value--,
|
|
2240
|
+
n.left || (a.value--, p({ behavior: "smooth" }));
|
|
2241
2241
|
}
|
|
2242
2242
|
function c() {
|
|
2243
|
-
n.right || (a.value++,
|
|
2243
|
+
n.right || (a.value++, p({ behavior: "smooth" }));
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2246
|
-
var
|
|
2247
|
-
(
|
|
2245
|
+
function p(y) {
|
|
2246
|
+
var v;
|
|
2247
|
+
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...y });
|
|
2248
2248
|
}
|
|
2249
2249
|
function m() {
|
|
2250
|
-
var
|
|
2251
|
-
const
|
|
2252
|
-
(
|
|
2250
|
+
var k;
|
|
2251
|
+
const y = (k = pe(r).getBoundingClientRect()) == null ? void 0 : k.left, v = Array.from(pe(r).children).findIndex(
|
|
2252
|
+
(b) => Math.round(b.getBoundingClientRect().left - y) >= 0
|
|
2253
2253
|
);
|
|
2254
|
-
a.value =
|
|
2254
|
+
a.value = v;
|
|
2255
2255
|
}
|
|
2256
|
-
return (
|
|
2257
|
-
|
|
2256
|
+
return (y, v) => (u(), _("div", Xi, [
|
|
2257
|
+
g("button", {
|
|
2258
2258
|
type: "button",
|
|
2259
2259
|
disabled: d(n).left,
|
|
2260
2260
|
onClick: l
|
|
2261
2261
|
}, [
|
|
2262
|
-
|
|
2263
|
-
], 8,
|
|
2264
|
-
|
|
2265
|
-
ge(
|
|
2262
|
+
T(d(Vi))
|
|
2263
|
+
], 8, Qi),
|
|
2264
|
+
g("div", Zi, [
|
|
2265
|
+
ge(y.$slots, "default")
|
|
2266
2266
|
], 512),
|
|
2267
|
-
|
|
2267
|
+
g("button", {
|
|
2268
2268
|
type: "button",
|
|
2269
2269
|
disabled: d(n).right,
|
|
2270
2270
|
onClick: c
|
|
2271
2271
|
}, [
|
|
2272
|
-
|
|
2273
|
-
], 8,
|
|
2272
|
+
T(d(zt))
|
|
2273
|
+
], 8, en)
|
|
2274
2274
|
]));
|
|
2275
2275
|
}
|
|
2276
2276
|
}, nt = {
|
|
2277
2277
|
__name: "CarouselItem",
|
|
2278
2278
|
setup(t) {
|
|
2279
|
-
const e = `mjsz-vbr-carousel-item-${
|
|
2280
|
-
return
|
|
2279
|
+
const e = `mjsz-vbr-carousel-item-${$r()}`, r = Tr(yr, null);
|
|
2280
|
+
return pt(() => r == null ? void 0 : r.register(e)), Nr(() => r == null ? void 0 : r.unregister(e)), (a, o) => (u(), _("div", {
|
|
2281
2281
|
id: e,
|
|
2282
2282
|
class: "is-slide"
|
|
2283
2283
|
}, [
|
|
2284
2284
|
ge(a.$slots, "default")
|
|
2285
2285
|
]));
|
|
2286
2286
|
}
|
|
2287
|
-
},
|
|
2287
|
+
}, rn = { class: "games-timeline-schedule-link" }, Ft = {
|
|
2288
2288
|
__name: "ExternalSchedule",
|
|
2289
2289
|
props: {
|
|
2290
2290
|
title: {
|
|
@@ -2302,17 +2302,17 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2302
2302
|
function o() {
|
|
2303
2303
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2304
2304
|
}
|
|
2305
|
-
return (i, n) => (
|
|
2306
|
-
|
|
2305
|
+
return (i, n) => (u(), _("div", rn, [
|
|
2306
|
+
g("button", {
|
|
2307
2307
|
type: "button",
|
|
2308
2308
|
onClick: o
|
|
2309
2309
|
}, [
|
|
2310
|
-
|
|
2311
|
-
|
|
2310
|
+
ae(f(t.title), 1),
|
|
2311
|
+
T(d(zt))
|
|
2312
2312
|
])
|
|
2313
2313
|
]));
|
|
2314
2314
|
}
|
|
2315
|
-
},
|
|
2315
|
+
}, an = { class: "score-display" }, on = { class: "is-score" }, qt = {
|
|
2316
2316
|
__name: "ScoreDisplay",
|
|
2317
2317
|
props: {
|
|
2318
2318
|
score: {
|
|
@@ -2321,24 +2321,24 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2321
2321
|
}
|
|
2322
2322
|
},
|
|
2323
2323
|
setup(t) {
|
|
2324
|
-
return (e, r) => (
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
default:
|
|
2328
|
-
(
|
|
2324
|
+
return (e, r) => (u(), _("div", an, [
|
|
2325
|
+
g("div", on, [
|
|
2326
|
+
T(Cr, { name: "is-slide-transition" }, {
|
|
2327
|
+
default: C(() => [
|
|
2328
|
+
(u(), _("span", { key: t.score }, f(t.score), 1))
|
|
2329
2329
|
]),
|
|
2330
2330
|
_: 1
|
|
2331
2331
|
})
|
|
2332
2332
|
])
|
|
2333
2333
|
]));
|
|
2334
2334
|
}
|
|
2335
|
-
},
|
|
2335
|
+
}, nn = {
|
|
2336
2336
|
key: 0,
|
|
2337
2337
|
class: "is-badge"
|
|
2338
|
-
},
|
|
2338
|
+
}, sn = {
|
|
2339
2339
|
key: 1,
|
|
2340
2340
|
class: "is-badge"
|
|
2341
|
-
},
|
|
2341
|
+
}, ln = { class: "is-home-team-logo" }, cn = { class: "is-home-team-name" }, dn = { class: "is-home-team-score" }, gn = { class: "is-away-team-logo" }, pn = { class: "is-away-team-name" }, un = { class: "is-away-team-score" }, mn = { class: "is-status" }, vn = {
|
|
2342
2342
|
__name: "Game",
|
|
2343
2343
|
props: {
|
|
2344
2344
|
gameData: {
|
|
@@ -2352,68 +2352,68 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2352
2352
|
},
|
|
2353
2353
|
emits: ["navigateTo"],
|
|
2354
2354
|
setup(t, { emit: e }) {
|
|
2355
|
-
const r = t, a = e, { t: o } =
|
|
2356
|
-
const { gameStatus: s, championshipName: l, divisionName: c, period:
|
|
2357
|
-
return s !== 1 ? `${l} - ${c}` :
|
|
2355
|
+
const r = t, a = e, { t: o } = ne(), i = A(() => {
|
|
2356
|
+
const { gameStatus: s, championshipName: l, divisionName: c, period: p, periodTime: m } = r.gameData;
|
|
2357
|
+
return s !== 1 ? `${l} - ${c}` : p && Vt(p) ? `${o(`game.period.${p}`)} - ${m}` : p && !Vt(p) ? o(`game.period.${p}`) : "";
|
|
2358
2358
|
});
|
|
2359
2359
|
function n() {
|
|
2360
|
-
const {
|
|
2360
|
+
const { externalGameUrl: s, id: l } = r.gameData;
|
|
2361
2361
|
if (s)
|
|
2362
2362
|
return a("navigateTo", { url: s, target: "_blank" });
|
|
2363
|
-
const c =
|
|
2363
|
+
const c = bt(r.externalGameResolver, { gameId: l });
|
|
2364
2364
|
a("navigateTo", { url: c, target: "_self" });
|
|
2365
2365
|
}
|
|
2366
|
-
return (s, l) => (
|
|
2366
|
+
return (s, l) => (u(), _("div", {
|
|
2367
2367
|
class: "games-timeline-game",
|
|
2368
2368
|
onClick: n
|
|
2369
2369
|
}, [
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
t.gameData.isShootout ? (
|
|
2373
|
-
t.gameData.isOvertime ? (
|
|
2370
|
+
g("time", null, [
|
|
2371
|
+
ae(f(t.gameData.gameDateTime) + " ", 1),
|
|
2372
|
+
t.gameData.isShootout ? (u(), _("span", nn, f(d(o)("common.shootoutShort")), 1)) : P("", !0),
|
|
2373
|
+
t.gameData.isOvertime ? (u(), _("span", sn, f(d(o)("common.overtimeShort")), 1)) : P("", !0)
|
|
2374
2374
|
]),
|
|
2375
|
-
|
|
2376
|
-
|
|
2375
|
+
g("div", ln, [
|
|
2376
|
+
T(d(me), {
|
|
2377
2377
|
src: t.gameData.homeTeam.logo,
|
|
2378
2378
|
class: "is-team-logo"
|
|
2379
2379
|
}, null, 8, ["src"])
|
|
2380
2380
|
]),
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
t.gameData.homeTeamScore != null ? (
|
|
2381
|
+
g("div", cn, f(t.gameData.homeTeam.longName), 1),
|
|
2382
|
+
g("div", dn, [
|
|
2383
|
+
t.gameData.homeTeamScore != null ? (u(), D(qt, {
|
|
2384
2384
|
key: 0,
|
|
2385
|
-
class:
|
|
2385
|
+
class: B(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2386
2386
|
score: t.gameData.homeTeamScore
|
|
2387
2387
|
}, {
|
|
2388
|
-
default:
|
|
2389
|
-
|
|
2388
|
+
default: C(() => [
|
|
2389
|
+
ae(f(t.gameData.homeTeamScore), 1)
|
|
2390
2390
|
]),
|
|
2391
2391
|
_: 1
|
|
2392
|
-
}, 8, ["class", "score"])) :
|
|
2392
|
+
}, 8, ["class", "score"])) : P("", !0)
|
|
2393
2393
|
]),
|
|
2394
|
-
|
|
2395
|
-
|
|
2394
|
+
g("div", gn, [
|
|
2395
|
+
T(d(me), {
|
|
2396
2396
|
src: t.gameData.awayTeam.logo,
|
|
2397
2397
|
class: "is-team-logo"
|
|
2398
2398
|
}, null, 8, ["src"])
|
|
2399
2399
|
]),
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
t.gameData.awayTeamScore != null ? (
|
|
2400
|
+
g("div", pn, f(t.gameData.awayTeam.longName), 1),
|
|
2401
|
+
g("div", un, [
|
|
2402
|
+
t.gameData.awayTeamScore != null ? (u(), D(qt, {
|
|
2403
2403
|
key: 0,
|
|
2404
2404
|
score: t.gameData.awayTeamScore,
|
|
2405
|
-
class:
|
|
2405
|
+
class: B(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2406
2406
|
}, {
|
|
2407
|
-
default:
|
|
2408
|
-
|
|
2407
|
+
default: C(() => [
|
|
2408
|
+
ae(f(t.gameData.awayTeamScore), 1)
|
|
2409
2409
|
]),
|
|
2410
2410
|
_: 1
|
|
2411
|
-
}, 8, ["score", "class"])) :
|
|
2411
|
+
}, 8, ["score", "class"])) : P("", !0)
|
|
2412
2412
|
]),
|
|
2413
|
-
|
|
2413
|
+
g("div", mn, f(i.value), 1)
|
|
2414
2414
|
]));
|
|
2415
2415
|
}
|
|
2416
|
-
},
|
|
2416
|
+
}, bn = {
|
|
2417
2417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2418
2418
|
viewBox: "0 0 24 24",
|
|
2419
2419
|
fill: "none",
|
|
@@ -2422,16 +2422,16 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2422
2422
|
"stroke-linecap": "round",
|
|
2423
2423
|
"stroke-linejoin": "round"
|
|
2424
2424
|
};
|
|
2425
|
-
function
|
|
2426
|
-
return
|
|
2427
|
-
|
|
2428
|
-
|
|
2425
|
+
function hn(t, e) {
|
|
2426
|
+
return u(), _("svg", bn, e[0] || (e[0] = [
|
|
2427
|
+
g("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),
|
|
2428
|
+
g("line", {
|
|
2429
2429
|
x1: "12",
|
|
2430
2430
|
y1: "9",
|
|
2431
2431
|
x2: "12",
|
|
2432
2432
|
y2: "13"
|
|
2433
2433
|
}, null, -1),
|
|
2434
|
-
|
|
2434
|
+
g("line", {
|
|
2435
2435
|
x1: "12",
|
|
2436
2436
|
y1: "17",
|
|
2437
2437
|
x2: "12.01",
|
|
@@ -2439,27 +2439,27 @@ function bn(t, e) {
|
|
|
2439
2439
|
}, null, -1)
|
|
2440
2440
|
]));
|
|
2441
2441
|
}
|
|
2442
|
-
const
|
|
2442
|
+
const fn = { render: hn }, yn = { class: "games-timeline-error-indicator" }, wn = {
|
|
2443
2443
|
__name: "TryAgain",
|
|
2444
2444
|
emits: ["tryAgain"],
|
|
2445
2445
|
setup(t, { emit: e }) {
|
|
2446
|
-
const r = e, { t: a } =
|
|
2446
|
+
const r = e, { t: a } = ne();
|
|
2447
2447
|
function o() {
|
|
2448
2448
|
r("tryAgain");
|
|
2449
2449
|
}
|
|
2450
|
-
return (i, n) => (
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2450
|
+
return (i, n) => (u(), _("div", yn, [
|
|
2451
|
+
T(d(fn)),
|
|
2452
|
+
g("div", null, f(d(a)("gamesTimeline.errorText")), 1),
|
|
2453
|
+
g("button", {
|
|
2454
2454
|
type: "button",
|
|
2455
2455
|
onClick: o
|
|
2456
|
-
},
|
|
2456
|
+
}, f(d(a)("gamesTimeline.errorCta")), 1)
|
|
2457
2457
|
]));
|
|
2458
2458
|
}
|
|
2459
|
-
},
|
|
2459
|
+
}, xn = '.games-timeline{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}.games-timeline>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.games-timeline>div::-webkit-scrollbar{display:none}.games-timeline .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){.games-timeline .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){.games-timeline .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){.games-timeline .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){.games-timeline .is-slide{flex-basis:20%}}.games-timeline>button{position:relative;display:grid;place-content:center;height:100%}.games-timeline>button svg{display:block;height:22px;width:22px;color:var(--vbr-widget-games-timeline-arrow-color);transition:all .2s}.games-timeline>button:hover svg{color:var(--vbr-widget-games-timeline-arrow-hover-color)}.games-timeline>button:disabled{cursor:not-allowed}.games-timeline>button:disabled svg{color:var(--vbr-widget-games-timeline-arrow-disabled-color)}.games-timeline>button:before,.games-timeline>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}.games-timeline>button:first-of-type:after{right:0;border-right:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:1px 0 3px #0000001a}.games-timeline>button:last-of-type:before{left:0;border-left:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:-1px 0 3px #0000001a}.games-timeline>button:disabled:first-of-type:after,.games-timeline>button:disabled:last-of-type:before{opacity:0}.games-timeline-game{display:grid;grid-template-columns:20px 1fr 20px;grid-template-areas:"gamedate gamedate gamedate" "home-logo home-team home-score" "away-logo away-team away-score" "status status status";grid-template-rows:1fr 1fr 1fr 1fr;gap:5px;justify-items:center;align-items:center;padding:.625rem;line-height:1;cursor:pointer}.games-timeline-game:hover{background-image:var(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;font-size:var(--vbr-widget-games-timeline-game-date-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-date-color)}.games-timeline-game .is-home-team-logo{grid-area:home-logo}.games-timeline-game .is-away-team-logo{grid-area:away-logo}.games-timeline-game :is(.is-home-team-logo,.is-away-team-logo) .is-team-logo{display:block;width:20px;height:20px}.games-timeline-game :is(.is-home-team-name,.is-away-team-name){justify-self:start;font-size:var(--vbr-widget-games-timeline-game-team-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-team-color);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}.games-timeline-game .is-home-team-name{grid-area:home-team}.games-timeline-game .is-away-team-name{grid-area:away-team}.games-timeline-game .is-home-team-score{grid-area:home-score}.games-timeline-game .is-away-team-score{grid-area:away-score}.games-timeline-game .is-status{grid-area:status;font-size:var(--vbr-widget-games-timeline-game-status-size);color:var(--vbr-widget-games-timeline-game-status-color);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;text-align:center}.games-timeline-schedule-link{display:grid;place-content:center;height:100%}.games-timeline-schedule-link:hover{background-image:var(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--vbr-widget-games-timeline-external-link-size);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-games-timeline-external-link-color)}.games-timeline-schedule-link button svg{display:inline-block;width:14px}.games-timeline-error-indicator{display:flex;gap:.5rem;align-items:center;place-content:center;width:100%;font-size:var(--vbr-widget-typography-font-size-400);font-weight:500;color:var(--vbr-widget-error-notice-color)}.games-timeline-error-indicator svg{display:block;width:20px}.games-timeline-error-indicator button{text-decoration:underline}.score-display{height:20px;padding:0 5px!important}.score-display .is-score{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%)}.score-display .is-score>span{grid-area:stack;line-height:20px}.score-display .is-slide-transition-enter-active,.score-display .is-slide-transition-leave-active{transition:all .42s linear}.score-display .is-slide-transition-enter-from{transform:translateY(-100%)}.score-display .is-slide-transition-enter-to,.score-display .is-slide-transition-leave-from{transform:translateY(0)}.score-display .is-slide-transition-leave-to{transform:translateY(100%)}', _n = {
|
|
2460
2460
|
key: 0,
|
|
2461
2461
|
style: { width: "100%" }
|
|
2462
|
-
},
|
|
2462
|
+
}, kn = {
|
|
2463
2463
|
__name: "GamesTimeline.ce",
|
|
2464
2464
|
props: {
|
|
2465
2465
|
locale: {
|
|
@@ -2484,22 +2484,22 @@ const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn
|
|
|
2484
2484
|
}
|
|
2485
2485
|
},
|
|
2486
2486
|
setup(t) {
|
|
2487
|
-
const e = t, r = { en:
|
|
2487
|
+
const e = t, r = { en: we, hu: xe }, a = Fe();
|
|
2488
2488
|
let o = [];
|
|
2489
|
-
const i =
|
|
2489
|
+
const i = O(!1), { state: n, execute: s } = ee({
|
|
2490
2490
|
options: {
|
|
2491
2491
|
path: e.servicePath,
|
|
2492
2492
|
apiKey: e.apiKey,
|
|
2493
2493
|
params: {},
|
|
2494
2494
|
immediate: !0
|
|
2495
2495
|
},
|
|
2496
|
-
transform: (x) =>
|
|
2496
|
+
transform: (x) => Wi(x, n.value, "id").reverse(),
|
|
2497
2497
|
onError: () => {
|
|
2498
2498
|
i.value = !0;
|
|
2499
2499
|
},
|
|
2500
|
-
onSuccess:
|
|
2500
|
+
onSuccess: v
|
|
2501
2501
|
}), { resume: l, pause: c } = Ct(s, 1e3 * 60 * 5);
|
|
2502
|
-
|
|
2502
|
+
oa(
|
|
2503
2503
|
!0,
|
|
2504
2504
|
() => {
|
|
2505
2505
|
s(), l();
|
|
@@ -2508,89 +2508,89 @@ const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn
|
|
|
2508
2508
|
c(), o.map((x) => x == null ? void 0 : x()), o = [];
|
|
2509
2509
|
}
|
|
2510
2510
|
);
|
|
2511
|
-
const
|
|
2511
|
+
const p = A(() => ot(n.value) ? 0 : n.value.findIndex((x) => !er(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), m = A(
|
|
2512
2512
|
() => n.value.map((x) => ({
|
|
2513
2513
|
...x,
|
|
2514
|
-
gameDateTime: `${
|
|
2514
|
+
gameDateTime: `${Q(x.gameDate, "L LT", a, e.locale)} (${Ve(
|
|
2515
2515
|
x.gameDate,
|
|
2516
2516
|
a,
|
|
2517
2517
|
e.locale
|
|
2518
2518
|
)})`
|
|
2519
2519
|
}))
|
|
2520
|
-
), { execute:
|
|
2521
|
-
async function
|
|
2520
|
+
), { execute: y } = Hi({ apiKey: e.apiKey });
|
|
2521
|
+
async function v() {
|
|
2522
2522
|
i.value = !1, o.map((z) => z == null ? void 0 : z()), o = [];
|
|
2523
2523
|
const x = n.value.filter((z) => z.gameStatus === 1);
|
|
2524
2524
|
for (let z = 0; z < x.length; z++) {
|
|
2525
|
-
const
|
|
2526
|
-
|
|
2527
|
-
const { pause:
|
|
2528
|
-
o.push(
|
|
2525
|
+
const w = x[z].id;
|
|
2526
|
+
y(0, { gameId: w }).then(($) => k($));
|
|
2527
|
+
const { pause: h } = Ct(() => y(0, { gameId: w }).then(($) => k($)), 6e4);
|
|
2528
|
+
o.push(h);
|
|
2529
2529
|
}
|
|
2530
2530
|
}
|
|
2531
|
-
function
|
|
2532
|
-
const { gameId: z, gameStatus:
|
|
2533
|
-
|
|
2531
|
+
function k(x = {}) {
|
|
2532
|
+
const { gameId: z, gameStatus: w, homeTeamScore: h, awayTeamScore: $, period: E, periodTime: S } = x, j = n.value.find((L) => L.id === z);
|
|
2533
|
+
j.gameStatus = w, j.homeTeamScore = h, j.awayTeamScore = $, j.period = E, j.periodTime = S, Ar(n);
|
|
2534
2534
|
}
|
|
2535
|
-
function
|
|
2535
|
+
function b({ url: x, target: z }) {
|
|
2536
2536
|
window.open(x, z);
|
|
2537
2537
|
}
|
|
2538
|
-
function
|
|
2538
|
+
function I() {
|
|
2539
2539
|
i.value = !1, s();
|
|
2540
2540
|
}
|
|
2541
|
-
return (x, z) => (
|
|
2541
|
+
return (x, z) => (u(), D(d(ye), {
|
|
2542
2542
|
locale: t.locale,
|
|
2543
2543
|
messages: r
|
|
2544
2544
|
}, {
|
|
2545
|
-
default:
|
|
2546
|
-
|
|
2547
|
-
default:
|
|
2548
|
-
d(ot)(d(n)) && !i.value ? (
|
|
2549
|
-
|
|
2550
|
-
])) : i.value && d(ot)(d(n)) ? (
|
|
2545
|
+
default: C(({ t: w }) => [
|
|
2546
|
+
T(tn, { "initial-index": p.value }, {
|
|
2547
|
+
default: C(() => [
|
|
2548
|
+
d(ot)(d(n)) && !i.value ? (u(), _("div", _n, [
|
|
2549
|
+
T(d(vt))
|
|
2550
|
+
])) : i.value && d(ot)(d(n)) ? (u(), D(wn, {
|
|
2551
2551
|
key: 1,
|
|
2552
|
-
onTryAgain:
|
|
2553
|
-
})) : (
|
|
2554
|
-
|
|
2555
|
-
default:
|
|
2556
|
-
|
|
2552
|
+
onTryAgain: I
|
|
2553
|
+
})) : (u(), _(R, { key: 2 }, [
|
|
2554
|
+
T(nt, null, {
|
|
2555
|
+
default: C(() => [
|
|
2556
|
+
T(Ft, {
|
|
2557
2557
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2558
|
-
title:
|
|
2559
|
-
onNavigateTo:
|
|
2558
|
+
title: w("gamesTimeline.allSchedule"),
|
|
2559
|
+
onNavigateTo: b
|
|
2560
2560
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2561
2561
|
]),
|
|
2562
2562
|
_: 2
|
|
2563
2563
|
}, 1024),
|
|
2564
|
-
(
|
|
2565
|
-
const
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2564
|
+
(u(!0), _(R, null, W(m.value, (h, $, E, S) => {
|
|
2565
|
+
const j = [
|
|
2566
|
+
h.gameDateTime,
|
|
2567
|
+
h.gameStatus,
|
|
2568
|
+
h.homeTeamScore,
|
|
2569
|
+
h.awayTeamScore,
|
|
2570
|
+
h.period,
|
|
2571
|
+
h.actualTime
|
|
2572
2572
|
];
|
|
2573
|
-
if (
|
|
2574
|
-
const
|
|
2575
|
-
key:
|
|
2573
|
+
if (S && S.key === h.id && Er(S, j)) return S;
|
|
2574
|
+
const L = (u(), D(nt, {
|
|
2575
|
+
key: h.id
|
|
2576
2576
|
}, {
|
|
2577
|
-
default:
|
|
2578
|
-
|
|
2579
|
-
"game-data":
|
|
2577
|
+
default: C(() => [
|
|
2578
|
+
T(vn, {
|
|
2579
|
+
"game-data": h,
|
|
2580
2580
|
"external-game-resolver": t.externalGameResolver,
|
|
2581
|
-
onNavigateTo:
|
|
2581
|
+
onNavigateTo: b
|
|
2582
2582
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 2
|
|
2585
2585
|
}, 1024));
|
|
2586
|
-
return
|
|
2586
|
+
return L.memo = j, L;
|
|
2587
2587
|
}, z, 0), 128)),
|
|
2588
|
-
|
|
2589
|
-
default:
|
|
2590
|
-
|
|
2588
|
+
T(nt, null, {
|
|
2589
|
+
default: C(() => [
|
|
2590
|
+
T(Ft, {
|
|
2591
2591
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2592
|
-
title:
|
|
2593
|
-
onNavigateTo:
|
|
2592
|
+
title: w("gamesTimeline.allSchedule"),
|
|
2593
|
+
onNavigateTo: b
|
|
2594
2594
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2595
2595
|
]),
|
|
2596
2596
|
_: 2
|
|
@@ -2603,17 +2603,17 @@ const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn
|
|
|
2603
2603
|
_: 1
|
|
2604
2604
|
}, 8, ["locale"]));
|
|
2605
2605
|
}
|
|
2606
|
-
},
|
|
2607
|
-
function zn(t, e) {
|
|
2608
|
-
e.seasonsList = t, e.seasonId = Ae(Q, ie("id"))(t);
|
|
2609
|
-
}
|
|
2606
|
+
}, zn = /* @__PURE__ */ ke(kn, [["styles", [_e, xn]]]);
|
|
2610
2607
|
function Sn(t, e) {
|
|
2611
|
-
e.
|
|
2608
|
+
e.seasonsList = t, e.seasonId = De(H, ie("id"))(t);
|
|
2612
2609
|
}
|
|
2613
2610
|
function In(t, e) {
|
|
2614
|
-
e.
|
|
2611
|
+
e.championshipList = t, e.championshipId = De(H, ie("championshipId"))(t);
|
|
2615
2612
|
}
|
|
2616
|
-
|
|
2613
|
+
function $n(t, e) {
|
|
2614
|
+
e.sections = t, e.sectionId = De(H, ie("sectionId"))(t);
|
|
2615
|
+
}
|
|
2616
|
+
const Tn = {
|
|
2617
2617
|
__name: "DataProvider",
|
|
2618
2618
|
props: {
|
|
2619
2619
|
apiKey: {
|
|
@@ -2626,20 +2626,20 @@ const $n = {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
},
|
|
2628
2628
|
setup(t) {
|
|
2629
|
-
const e = t, r =
|
|
2629
|
+
const e = t, r = ce({
|
|
2630
2630
|
seasonsList: [],
|
|
2631
2631
|
seasonId: null,
|
|
2632
2632
|
championshipList: [],
|
|
2633
2633
|
championshipId: null,
|
|
2634
2634
|
sections: [],
|
|
2635
2635
|
sectionId: null
|
|
2636
|
-
}), { onError: a } =
|
|
2636
|
+
}), { onError: a } = Ee(), { isLoading: o, execute: i } = ee({
|
|
2637
2637
|
options: {
|
|
2638
2638
|
path: "/v2/all-season-list",
|
|
2639
2639
|
apiKey: e.apiKey,
|
|
2640
2640
|
params: {}
|
|
2641
2641
|
},
|
|
2642
|
-
transform: (
|
|
2642
|
+
transform: (b) => Sn(b, r),
|
|
2643
2643
|
onError: a
|
|
2644
2644
|
}), { isLoading: n, execute: s } = ee({
|
|
2645
2645
|
options: {
|
|
@@ -2647,7 +2647,7 @@ const $n = {
|
|
|
2647
2647
|
apiKey: e.apiKey,
|
|
2648
2648
|
params: A(() => ({ seasonId: r.seasonId }))
|
|
2649
2649
|
},
|
|
2650
|
-
transform: (
|
|
2650
|
+
transform: (b) => In(b, r),
|
|
2651
2651
|
onError: a
|
|
2652
2652
|
}), {
|
|
2653
2653
|
isLoading: l,
|
|
@@ -2658,39 +2658,39 @@ const $n = {
|
|
|
2658
2658
|
apiKey: e.apiKey,
|
|
2659
2659
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2660
2660
|
},
|
|
2661
|
-
transform: (
|
|
2661
|
+
transform: (b) => $n(b, r),
|
|
2662
2662
|
onError: a
|
|
2663
|
-
}),
|
|
2664
|
-
var
|
|
2665
|
-
return ((
|
|
2663
|
+
}), p = A(() => {
|
|
2664
|
+
var b, I;
|
|
2665
|
+
return ((I = (b = r.sections) == null ? void 0 : b.find((x) => x.sectionId === r.sectionId)) == null ? void 0 : I.phases) ?? [];
|
|
2666
2666
|
});
|
|
2667
|
-
|
|
2667
|
+
he([i, s, c]);
|
|
2668
2668
|
const m = A(() => [o.value, n.value, l.value].some(Boolean));
|
|
2669
|
-
function
|
|
2670
|
-
r.seasonId =
|
|
2669
|
+
function y(b) {
|
|
2670
|
+
r.seasonId = b, he([s, c]);
|
|
2671
2671
|
}
|
|
2672
|
-
function b
|
|
2673
|
-
r.championshipId =
|
|
2672
|
+
function v(b) {
|
|
2673
|
+
r.championshipId = b, c();
|
|
2674
2674
|
}
|
|
2675
|
-
function
|
|
2676
|
-
r.sectionId =
|
|
2675
|
+
function k(b) {
|
|
2676
|
+
r.sectionId = b;
|
|
2677
2677
|
}
|
|
2678
|
-
return (
|
|
2678
|
+
return (b, I) => ge(b.$slots, "default", Te(Ne({
|
|
2679
2679
|
...r,
|
|
2680
2680
|
isLoading: m.value,
|
|
2681
|
-
phaseData:
|
|
2682
|
-
onChangeSeason:
|
|
2683
|
-
onChangeSection:
|
|
2684
|
-
onChangeChampionship:
|
|
2681
|
+
phaseData: p.value,
|
|
2682
|
+
onChangeSeason: y,
|
|
2683
|
+
onChangeSection: k,
|
|
2684
|
+
onChangeChampionship: v
|
|
2685
2685
|
})));
|
|
2686
2686
|
}
|
|
2687
|
-
},
|
|
2687
|
+
}, Nn = { class: "is-mb-5" }, Cn = {
|
|
2688
2688
|
for: "season",
|
|
2689
2689
|
class: "label"
|
|
2690
|
-
},
|
|
2690
|
+
}, An = ["value"], En = {
|
|
2691
2691
|
for: "season",
|
|
2692
2692
|
class: "label"
|
|
2693
|
-
},
|
|
2693
|
+
}, Dn = ["value"], Pn = {
|
|
2694
2694
|
__name: "Selector",
|
|
2695
2695
|
props: {
|
|
2696
2696
|
seasonsList: {
|
|
@@ -2712,46 +2712,46 @@ const $n = {
|
|
|
2712
2712
|
},
|
|
2713
2713
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2714
2714
|
setup(t, { emit: e }) {
|
|
2715
|
-
const r = t, a = e, { t: o } =
|
|
2716
|
-
return (s, l) => (
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2715
|
+
const r = t, a = e, { t: o } = ne(), { seasonId: i, championshipId: n } = yt(r, a);
|
|
2716
|
+
return (s, l) => (u(), _(R, null, [
|
|
2717
|
+
g("div", Nn, [
|
|
2718
|
+
g("label", Cn, f(d(o)("selection.seasons")), 1),
|
|
2719
|
+
T(d(ve), {
|
|
2720
2720
|
id: "season",
|
|
2721
2721
|
modelValue: d(i),
|
|
2722
2722
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null)
|
|
2723
2723
|
}, {
|
|
2724
|
-
default:
|
|
2725
|
-
(
|
|
2724
|
+
default: C(() => [
|
|
2725
|
+
(u(!0), _(R, null, W(t.seasonsList, (c) => (u(), _("option", {
|
|
2726
2726
|
key: c.id,
|
|
2727
2727
|
value: c.id
|
|
2728
|
-
},
|
|
2728
|
+
}, f(c.seasonName), 9, An))), 128))
|
|
2729
2729
|
]),
|
|
2730
2730
|
_: 1
|
|
2731
2731
|
}, 8, ["modelValue"])
|
|
2732
2732
|
]),
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2733
|
+
g("div", null, [
|
|
2734
|
+
g("label", En, f(d(o)("selection.championships")), 1),
|
|
2735
|
+
T(d(ve), {
|
|
2736
2736
|
id: "season",
|
|
2737
2737
|
modelValue: d(n),
|
|
2738
2738
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
2739
2739
|
}, {
|
|
2740
|
-
default:
|
|
2741
|
-
(
|
|
2740
|
+
default: C(() => [
|
|
2741
|
+
(u(!0), _(R, null, W(t.championshipList, (c) => (u(), _("option", {
|
|
2742
2742
|
key: c.championshipId,
|
|
2743
2743
|
value: c.championshipId
|
|
2744
|
-
},
|
|
2744
|
+
}, f(c.championshipName), 9, Dn))), 128))
|
|
2745
2745
|
]),
|
|
2746
2746
|
_: 1
|
|
2747
2747
|
}, 8, ["modelValue"])
|
|
2748
2748
|
])
|
|
2749
2749
|
], 64));
|
|
2750
2750
|
}
|
|
2751
|
-
}, Ln = ".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}",
|
|
2751
|
+
}, Ln = ".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}", Mn = { class: "main-layout" }, jn = { class: "is-mb-5" }, On = { for: "seasonId" }, Gn = ["textContent"], Rn = { class: "is-mb-5" }, Yn = { for: "championshipName" }, Un = ["textContent"], Kn = { class: "is-mb-5" }, Bn = { for: "championshipId" }, Vn = ["textContent"], Fn = { class: "is-mb-5" }, qn = { for: "sections" }, Hn = {
|
|
2752
2752
|
id: "sections",
|
|
2753
2753
|
class: "toggle-group"
|
|
2754
|
-
},
|
|
2754
|
+
}, Wn = ["onClick"], Jn = { class: "is-mb-5" }, Xn = { for: "phases" }, Qn = ["textContent"], Zn = {
|
|
2755
2755
|
__name: "IvrIdentifiers.ce",
|
|
2756
2756
|
props: {
|
|
2757
2757
|
locale: {
|
|
@@ -2764,82 +2764,82 @@ const $n = {
|
|
|
2764
2764
|
}
|
|
2765
2765
|
},
|
|
2766
2766
|
setup(t) {
|
|
2767
|
-
const e = t, r = { en:
|
|
2768
|
-
return (a, o) => (
|
|
2767
|
+
const e = t, r = { en: we, hu: xe };
|
|
2768
|
+
return (a, o) => (u(), D(d(ye), {
|
|
2769
2769
|
locale: e.locale,
|
|
2770
2770
|
messages: r
|
|
2771
2771
|
}, {
|
|
2772
|
-
default:
|
|
2773
|
-
|
|
2774
|
-
default:
|
|
2775
|
-
s ? (
|
|
2772
|
+
default: C(({ t: i }) => [
|
|
2773
|
+
T(d(Ce), null, {
|
|
2774
|
+
default: C(({ error: n, hasError: s }) => [
|
|
2775
|
+
s ? (u(), D(d(Ae), {
|
|
2776
2776
|
key: 0,
|
|
2777
2777
|
error: n
|
|
2778
|
-
}, null, 8, ["error"])) :
|
|
2779
|
-
|
|
2780
|
-
default:
|
|
2778
|
+
}, null, 8, ["error"])) : P("", !0),
|
|
2779
|
+
T(Tn, null, {
|
|
2780
|
+
default: C(({
|
|
2781
2781
|
seasonsList: l,
|
|
2782
2782
|
seasonId: c,
|
|
2783
|
-
championshipList:
|
|
2783
|
+
championshipList: p,
|
|
2784
2784
|
championshipId: m,
|
|
2785
|
-
sections:
|
|
2786
|
-
sectionId:
|
|
2787
|
-
phaseData:
|
|
2788
|
-
onChangeSeason:
|
|
2789
|
-
onChangeSection:
|
|
2785
|
+
sections: y,
|
|
2786
|
+
sectionId: v,
|
|
2787
|
+
phaseData: k,
|
|
2788
|
+
onChangeSeason: b,
|
|
2789
|
+
onChangeSection: I,
|
|
2790
2790
|
onChangeChampionship: x
|
|
2791
2791
|
}) => {
|
|
2792
2792
|
var z;
|
|
2793
2793
|
return [
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2794
|
+
g("div", Mn, [
|
|
2795
|
+
g("div", null, [
|
|
2796
|
+
T(Pn, {
|
|
2797
2797
|
"seasons-list": l,
|
|
2798
2798
|
"season-id": c,
|
|
2799
|
-
"championship-list":
|
|
2799
|
+
"championship-list": p,
|
|
2800
2800
|
"championship-id": m,
|
|
2801
|
-
"onUpdate:seasonId":
|
|
2801
|
+
"onUpdate:seasonId": b,
|
|
2802
2802
|
"onUpdate:championshipId": x
|
|
2803
2803
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2804
2804
|
]),
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2805
|
+
g("div", null, [
|
|
2806
|
+
g("section", jn, [
|
|
2807
|
+
g("label", On, f(i("selection.seasonId")), 1),
|
|
2808
|
+
g("p", {
|
|
2809
2809
|
id: "seasonId",
|
|
2810
|
-
textContent:
|
|
2811
|
-
}, null, 8,
|
|
2810
|
+
textContent: f(c)
|
|
2811
|
+
}, null, 8, Gn)
|
|
2812
2812
|
]),
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2813
|
+
g("section", Rn, [
|
|
2814
|
+
g("label", Yn, f(i("selection.championshipName")), 1),
|
|
2815
|
+
g("p", {
|
|
2816
2816
|
id: "championshipName",
|
|
2817
|
-
textContent:
|
|
2818
|
-
}, null, 8,
|
|
2817
|
+
textContent: f((z = p.find((w) => w.championshipId === m)) == null ? void 0 : z.championshipName)
|
|
2818
|
+
}, null, 8, Un)
|
|
2819
2819
|
]),
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2820
|
+
g("section", Kn, [
|
|
2821
|
+
g("label", Bn, f(i("selection.championshipId")), 1),
|
|
2822
|
+
g("p", {
|
|
2823
2823
|
id: "championshipId",
|
|
2824
|
-
textContent:
|
|
2824
|
+
textContent: f(m)
|
|
2825
2825
|
}, null, 8, Vn)
|
|
2826
2826
|
]),
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
(
|
|
2831
|
-
key:
|
|
2832
|
-
class:
|
|
2833
|
-
onClick: (
|
|
2834
|
-
}, w
|
|
2827
|
+
g("section", Fn, [
|
|
2828
|
+
g("label", qn, f(i("selection.sections")) + ":", 1),
|
|
2829
|
+
g("div", Hn, [
|
|
2830
|
+
(u(!0), _(R, null, W(y, (w) => (u(), _("button", {
|
|
2831
|
+
key: w.sectionId,
|
|
2832
|
+
class: B({ "is-active": w.sectionId === v }),
|
|
2833
|
+
onClick: (h) => I(w.sectionId)
|
|
2834
|
+
}, f(w.sectionName), 11, Wn))), 128))
|
|
2835
2835
|
])
|
|
2836
2836
|
]),
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2837
|
+
g("section", Jn, [
|
|
2838
|
+
g("label", Xn, f(i("selection.phasesDivision")) + ":", 1),
|
|
2839
|
+
g("pre", {
|
|
2840
2840
|
id: "phases",
|
|
2841
|
-
textContent:
|
|
2842
|
-
}, null, 8,
|
|
2841
|
+
textContent: f(k)
|
|
2842
|
+
}, null, 8, Qn)
|
|
2843
2843
|
])
|
|
2844
2844
|
])
|
|
2845
2845
|
])
|
|
@@ -2854,10 +2854,10 @@ const $n = {
|
|
|
2854
2854
|
_: 1
|
|
2855
2855
|
}, 8, ["locale"]));
|
|
2856
2856
|
}
|
|
2857
|
-
},
|
|
2857
|
+
}, es = /* @__PURE__ */ ke(Zn, [["styles", [_e, Xe, Qe, Ln]], ["__scopeId", "data-v-10915a30"]]), ts = { class: "g-row" }, rs = {
|
|
2858
2858
|
for: "season",
|
|
2859
2859
|
class: "label"
|
|
2860
|
-
},
|
|
2860
|
+
}, as = ["value"], os = ["onClick"], is = {
|
|
2861
2861
|
__name: "SeasonSelector",
|
|
2862
2862
|
props: {
|
|
2863
2863
|
seasons: {
|
|
@@ -2879,7 +2879,7 @@ const $n = {
|
|
|
2879
2879
|
},
|
|
2880
2880
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2881
2881
|
setup(t, { emit: e }) {
|
|
2882
|
-
const r = t, a = e, { t: o } =
|
|
2882
|
+
const r = t, a = e, { t: o } = ne(), i = A({
|
|
2883
2883
|
get() {
|
|
2884
2884
|
return r.championshipId;
|
|
2885
2885
|
},
|
|
@@ -2890,48 +2890,48 @@ const $n = {
|
|
|
2890
2890
|
function n(s) {
|
|
2891
2891
|
a("onChangeSection", s);
|
|
2892
2892
|
}
|
|
2893
|
-
return (s, l) => (
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2893
|
+
return (s, l) => (u(), _(R, null, [
|
|
2894
|
+
g("div", ts, [
|
|
2895
|
+
g("div", null, [
|
|
2896
|
+
g("label", rs, f(d(o)("selection.season")), 1),
|
|
2897
|
+
T(d(ve), {
|
|
2898
2898
|
id: "season",
|
|
2899
2899
|
modelValue: i.value,
|
|
2900
2900
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2901
2901
|
}, {
|
|
2902
|
-
default:
|
|
2903
|
-
(
|
|
2902
|
+
default: C(() => [
|
|
2903
|
+
(u(!0), _(R, null, W(t.seasons, (c) => (u(), _("option", {
|
|
2904
2904
|
key: c.championshipId,
|
|
2905
2905
|
value: c.championshipId
|
|
2906
|
-
},
|
|
2906
|
+
}, f(c.seasonName), 9, as))), 128))
|
|
2907
2907
|
]),
|
|
2908
2908
|
_: 1
|
|
2909
2909
|
}, 8, ["modelValue"])
|
|
2910
2910
|
])
|
|
2911
2911
|
]),
|
|
2912
|
-
|
|
2913
|
-
(
|
|
2912
|
+
g("div", null, [
|
|
2913
|
+
(u(!0), _(R, null, W(t.sections, (c) => (u(), _("button", {
|
|
2914
2914
|
key: c.phaseId,
|
|
2915
|
-
class:
|
|
2916
|
-
onClick: (
|
|
2917
|
-
},
|
|
2915
|
+
class: B(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2916
|
+
onClick: (p) => n(c)
|
|
2917
|
+
}, f(c.sectionName), 11, os))), 128))
|
|
2918
2918
|
])
|
|
2919
2919
|
], 64));
|
|
2920
2920
|
}
|
|
2921
2921
|
};
|
|
2922
|
-
function
|
|
2922
|
+
function ns(t, e) {
|
|
2923
2923
|
if (t.length === 0)
|
|
2924
|
-
throw new
|
|
2925
|
-
e.seasons =
|
|
2924
|
+
throw new tr(Ge.message, Ge.options);
|
|
2925
|
+
e.seasons = ls(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function ss(t, e) {
|
|
2928
2928
|
var r;
|
|
2929
|
-
e.sections =
|
|
2929
|
+
e.sections = Ke(ie("sectionId"))(t), e.sectionId = kt(ie("sectionId"), H)(e.sections), e.phaseId = ((r = pr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
|
|
2930
2930
|
}
|
|
2931
|
-
function
|
|
2932
|
-
return
|
|
2931
|
+
function ls(t) {
|
|
2932
|
+
return kt(mr(gr(ie("seasonName"))), _t(ur(["championshipId", "seasonName"])))(t);
|
|
2933
2933
|
}
|
|
2934
|
-
const
|
|
2934
|
+
const cs = {
|
|
2935
2935
|
gameName: {
|
|
2936
2936
|
label: "table.gameName.short",
|
|
2937
2937
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2968,13 +2968,13 @@ const ls = {
|
|
|
2968
2968
|
class: "is-text-left"
|
|
2969
2969
|
}
|
|
2970
2970
|
};
|
|
2971
|
-
function
|
|
2972
|
-
return (e) =>
|
|
2971
|
+
function ds(t) {
|
|
2972
|
+
return (e) => _t((r) => ({
|
|
2973
2973
|
...r,
|
|
2974
2974
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2975
2975
|
}))(e);
|
|
2976
2976
|
}
|
|
2977
|
-
const
|
|
2977
|
+
const gs = {
|
|
2978
2978
|
__name: "DataProvider",
|
|
2979
2979
|
props: {
|
|
2980
2980
|
championshipName: {
|
|
@@ -3003,19 +3003,19 @@ const ds = {
|
|
|
3003
3003
|
}
|
|
3004
3004
|
},
|
|
3005
3005
|
setup(t) {
|
|
3006
|
-
const e = t, r =
|
|
3006
|
+
const e = t, r = ce({
|
|
3007
3007
|
seasons: [],
|
|
3008
3008
|
championshipId: null,
|
|
3009
3009
|
sections: [],
|
|
3010
3010
|
sectionId: null,
|
|
3011
3011
|
phaseId: null
|
|
3012
|
-
}), { onError: a } =
|
|
3012
|
+
}), { onError: a } = Ee(), { isLoading: o, execute: i } = ee({
|
|
3013
3013
|
options: {
|
|
3014
3014
|
path: "/v2/championship-seasons",
|
|
3015
3015
|
apiKey: e.apiKey,
|
|
3016
3016
|
params: { championshipName: e.championshipName }
|
|
3017
3017
|
},
|
|
3018
|
-
transform: (
|
|
3018
|
+
transform: (b) => ns(b, r),
|
|
3019
3019
|
onError: a
|
|
3020
3020
|
}), { isLoading: n, execute: s } = ee({
|
|
3021
3021
|
options: {
|
|
@@ -3023,37 +3023,37 @@ const ds = {
|
|
|
3023
3023
|
apiKey: e.apiKey,
|
|
3024
3024
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
3025
3025
|
},
|
|
3026
|
-
transform: (
|
|
3026
|
+
transform: (b) => ss(b, r),
|
|
3027
3027
|
onError: a
|
|
3028
3028
|
}), {
|
|
3029
3029
|
isLoading: l,
|
|
3030
3030
|
state: c,
|
|
3031
|
-
execute:
|
|
3031
|
+
execute: p
|
|
3032
3032
|
} = ee({
|
|
3033
3033
|
options: {
|
|
3034
3034
|
path: "/v2/games-list",
|
|
3035
3035
|
apiKey: e.apiKey,
|
|
3036
3036
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3037
3037
|
},
|
|
3038
|
-
transform: (
|
|
3038
|
+
transform: (b) => De(rr, ds(r.championshipId))(b),
|
|
3039
3039
|
onError: a
|
|
3040
|
-
}), m = A(() =>
|
|
3041
|
-
|
|
3042
|
-
const
|
|
3043
|
-
function b
|
|
3044
|
-
r.championshipId =
|
|
3040
|
+
}), m = A(() => Be(c.value).schedule(e.timezone, e.locale).value());
|
|
3041
|
+
he([i, s, p]);
|
|
3042
|
+
const y = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3043
|
+
function v(b) {
|
|
3044
|
+
r.championshipId = b, he([s, p]);
|
|
3045
3045
|
}
|
|
3046
|
-
function
|
|
3047
|
-
r.sectionId =
|
|
3046
|
+
function k(b) {
|
|
3047
|
+
r.sectionId = b.sectionId, r.phaseId = pr(["phases", 0, "phaseId"], b), p();
|
|
3048
3048
|
}
|
|
3049
|
-
return (
|
|
3049
|
+
return (b, I) => ge(b.$slots, "default", Te(Ne({
|
|
3050
3050
|
rows: m.value,
|
|
3051
|
-
isLoading:
|
|
3052
|
-
values: d(
|
|
3053
|
-
listeners: { onChangeSection:
|
|
3051
|
+
isLoading: y.value,
|
|
3052
|
+
values: d(Co)(["phaseId"], r),
|
|
3053
|
+
listeners: { onChangeSection: k, onChangeSeason: v }
|
|
3054
3054
|
})));
|
|
3055
3055
|
}
|
|
3056
|
-
},
|
|
3056
|
+
}, ps = ["href"], us = ["href"], ms = {
|
|
3057
3057
|
__name: "ScheduleCupDataTable",
|
|
3058
3058
|
props: {
|
|
3059
3059
|
columns: {
|
|
@@ -3074,47 +3074,47 @@ const ds = {
|
|
|
3074
3074
|
}
|
|
3075
3075
|
},
|
|
3076
3076
|
setup(t) {
|
|
3077
|
-
const e = t, r =
|
|
3077
|
+
const e = t, r = O(null), { columns: a } = ia(
|
|
3078
3078
|
e.columns,
|
|
3079
3079
|
null,
|
|
3080
3080
|
A(() => ({
|
|
3081
3081
|
offsetName: e.offsetName
|
|
3082
3082
|
}))
|
|
3083
|
-
), { t: o } =
|
|
3084
|
-
return (i, n) => (
|
|
3083
|
+
), { t: o } = ne();
|
|
3084
|
+
return (i, n) => (u(), _("div", {
|
|
3085
3085
|
ref_key: "tooltipContainer",
|
|
3086
3086
|
ref: r
|
|
3087
3087
|
}, [
|
|
3088
|
-
|
|
3089
|
-
default:
|
|
3090
|
-
|
|
3088
|
+
T(d(Zt), null, {
|
|
3089
|
+
default: C(() => [
|
|
3090
|
+
T(d(Ur), {
|
|
3091
3091
|
columns: d(a),
|
|
3092
3092
|
rows: t.rows,
|
|
3093
3093
|
"is-loading": t.isLoading,
|
|
3094
3094
|
"append-to": r.value
|
|
3095
3095
|
}, {
|
|
3096
|
-
"cell-homeTeamName":
|
|
3096
|
+
"cell-homeTeamName": C(({ row: s }) => {
|
|
3097
3097
|
var l;
|
|
3098
3098
|
return [
|
|
3099
|
-
|
|
3099
|
+
ae(f(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3100
3100
|
];
|
|
3101
3101
|
}),
|
|
3102
|
-
"cell-location":
|
|
3102
|
+
"cell-location": C(({ row: s }) => {
|
|
3103
3103
|
var l;
|
|
3104
3104
|
return [
|
|
3105
|
-
|
|
3105
|
+
ae(f(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3106
3106
|
];
|
|
3107
3107
|
}),
|
|
3108
|
-
"cell-document":
|
|
3109
|
-
s.schedule ? (
|
|
3108
|
+
"cell-document": C(({ row: s }) => [
|
|
3109
|
+
s.schedule ? (u(), _("a", {
|
|
3110
3110
|
key: 0,
|
|
3111
3111
|
href: s.schedule,
|
|
3112
3112
|
target: "_blank"
|
|
3113
|
-
},
|
|
3113
|
+
}, f(d(o)("schedule")), 9, ps)) : s.registration ? (u(), _("a", {
|
|
3114
3114
|
key: 1,
|
|
3115
3115
|
href: s.registration,
|
|
3116
3116
|
target: "_blank"
|
|
3117
|
-
},
|
|
3117
|
+
}, f(d(o)("registration")), 9, us)) : P("", !0)
|
|
3118
3118
|
]),
|
|
3119
3119
|
_: 1
|
|
3120
3120
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3123,7 +3123,7 @@ const ds = {
|
|
|
3123
3123
|
})
|
|
3124
3124
|
], 512));
|
|
3125
3125
|
}
|
|
3126
|
-
},
|
|
3126
|
+
}, vs = {
|
|
3127
3127
|
__name: "ScheduleCup.ce",
|
|
3128
3128
|
props: {
|
|
3129
3129
|
locale: {
|
|
@@ -3144,29 +3144,29 @@ const ds = {
|
|
|
3144
3144
|
// },
|
|
3145
3145
|
},
|
|
3146
3146
|
setup(t) {
|
|
3147
|
-
const e = t, r = { en:
|
|
3148
|
-
return (i, n) => (
|
|
3147
|
+
const e = t, r = { en: we, hu: xe }, a = O(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), a.value, e.locale));
|
|
3148
|
+
return (i, n) => (u(), D(d(ye), {
|
|
3149
3149
|
locale: e.locale,
|
|
3150
3150
|
messages: r
|
|
3151
3151
|
}, {
|
|
3152
|
-
default:
|
|
3153
|
-
|
|
3154
|
-
default:
|
|
3155
|
-
l ? (
|
|
3152
|
+
default: C(() => [
|
|
3153
|
+
T(d(Ce), null, {
|
|
3154
|
+
default: C(({ error: s, hasError: l }) => [
|
|
3155
|
+
l ? (u(), D(d(Ae), {
|
|
3156
3156
|
key: 0,
|
|
3157
3157
|
error: s
|
|
3158
|
-
}, null, 8, ["error"])) :
|
|
3159
|
-
|
|
3158
|
+
}, null, 8, ["error"])) : P("", !0),
|
|
3159
|
+
T(gs, {
|
|
3160
3160
|
"championship-name": t.championshipName,
|
|
3161
3161
|
locale: t.locale,
|
|
3162
3162
|
timezone: a.value
|
|
3163
3163
|
}, {
|
|
3164
|
-
default:
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
columns: d(
|
|
3164
|
+
default: C(({ rows: c, isLoading: p, values: m, listeners: y }) => [
|
|
3165
|
+
T(is, Wt(m, Dr(y)), null, 16),
|
|
3166
|
+
T(ms, {
|
|
3167
|
+
columns: d(cs),
|
|
3168
3168
|
rows: c.rows,
|
|
3169
|
-
"is-loading":
|
|
3169
|
+
"is-loading": p,
|
|
3170
3170
|
"offset-name": o.value
|
|
3171
3171
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3172
3172
|
]),
|
|
@@ -3179,19 +3179,19 @@ const ds = {
|
|
|
3179
3179
|
_: 1
|
|
3180
3180
|
}, 8, ["locale"]));
|
|
3181
3181
|
}
|
|
3182
|
-
},
|
|
3182
|
+
}, bs = /* @__PURE__ */ ke(vs, [["styles", [_e, Xe, Qe, vr, br, hr, fr]]]), hs = {
|
|
3183
3183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3184
3184
|
viewBox: "0 0 24 24"
|
|
3185
3185
|
};
|
|
3186
|
-
function
|
|
3187
|
-
return
|
|
3188
|
-
|
|
3186
|
+
function fs(t, e) {
|
|
3187
|
+
return u(), _("svg", hs, e[0] || (e[0] = [
|
|
3188
|
+
g("path", {
|
|
3189
3189
|
fill: "currentColor",
|
|
3190
3190
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3191
3191
|
}, null, -1)
|
|
3192
3192
|
]));
|
|
3193
3193
|
}
|
|
3194
|
-
const
|
|
3194
|
+
const ys = { render: fs }, ws = ["onClick", "onFocus", "onBlur"], xs = { class: "is-dropdown-menu" }, _s = ["onClick"], ks = /* @__PURE__ */ Object.assign({
|
|
3195
3195
|
inheritAttrs: !1
|
|
3196
3196
|
}, {
|
|
3197
3197
|
__name: "ChampionshipSelector",
|
|
@@ -3212,41 +3212,41 @@ const fs = { render: hs }, ys = ["onClick", "onFocus", "onBlur"], ws = { class:
|
|
|
3212
3212
|
emits: ["change"],
|
|
3213
3213
|
setup(t, { emit: e }) {
|
|
3214
3214
|
const r = e;
|
|
3215
|
-
return (a, o) => (
|
|
3215
|
+
return (a, o) => (u(), D(d(Kr), {
|
|
3216
3216
|
offset: 2,
|
|
3217
3217
|
placement: "bottom-end",
|
|
3218
3218
|
theme: "content",
|
|
3219
3219
|
"append-to": t.target,
|
|
3220
3220
|
"is-arrow-visible": !1
|
|
3221
3221
|
}, {
|
|
3222
|
-
default:
|
|
3223
|
-
|
|
3222
|
+
default: C(({ setRef: i, show: n, hide: s }) => [
|
|
3223
|
+
g("button", {
|
|
3224
3224
|
ref: i,
|
|
3225
3225
|
type: "button",
|
|
3226
|
-
onClick:
|
|
3226
|
+
onClick: Pr(n, ["stop"]),
|
|
3227
3227
|
onFocus: n,
|
|
3228
3228
|
onBlur: s
|
|
3229
3229
|
}, [
|
|
3230
|
-
|
|
3231
|
-
], 40,
|
|
3230
|
+
T(d(ys), { style: { display: "block", height: "20px" } })
|
|
3231
|
+
], 40, ws)
|
|
3232
3232
|
]),
|
|
3233
|
-
content:
|
|
3234
|
-
|
|
3235
|
-
(
|
|
3233
|
+
content: C(() => [
|
|
3234
|
+
g("ul", xs, [
|
|
3235
|
+
(u(!0), _(R, null, W(t.data, (i) => (u(), _("li", {
|
|
3236
3236
|
key: i.championshipId,
|
|
3237
|
-
class:
|
|
3237
|
+
class: B(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
|
|
3238
3238
|
onClick: (n) => r("change", i)
|
|
3239
|
-
},
|
|
3239
|
+
}, f(i.name) + " - " + f(i.phase), 11, _s))), 128))
|
|
3240
3240
|
])
|
|
3241
3241
|
]),
|
|
3242
3242
|
_: 1
|
|
3243
3243
|
}, 8, ["append-to"]));
|
|
3244
3244
|
}
|
|
3245
3245
|
});
|
|
3246
|
-
function
|
|
3247
|
-
return t.map((e) => ({ ...e, w:
|
|
3246
|
+
function zs(t) {
|
|
3247
|
+
return t.map((e) => ({ ...e, w: Yt([e.w, e.otw, e.sow]), l: Yt([e.l, e.otl, e.sol]) }));
|
|
3248
3248
|
}
|
|
3249
|
-
const
|
|
3249
|
+
const Ss = {
|
|
3250
3250
|
__name: "DataProvider",
|
|
3251
3251
|
props: {
|
|
3252
3252
|
apiKey: {
|
|
@@ -3259,28 +3259,86 @@ const zs = {
|
|
|
3259
3259
|
}
|
|
3260
3260
|
},
|
|
3261
3261
|
setup(t) {
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3262
|
+
var m, y, v;
|
|
3263
|
+
const e = t, { onError: r, reset: a } = Ee(), o = ce({
|
|
3264
|
+
championshipId: H(e.data).championshipId,
|
|
3265
|
+
phaseId: H(e.data).phaseId,
|
|
3266
|
+
path: ((m = H(e.data)) == null ? void 0 : m.path) ?? "",
|
|
3267
|
+
championshipName: H(e.data).name,
|
|
3268
|
+
phaseName: ((y = H(e.data)) == null ? void 0 : y.phase) ?? null,
|
|
3269
|
+
isPlayoffs: ((v = H(e.data)) == null ? void 0 : v.isPlayoffs) ?? !1
|
|
3270
|
+
}), { state: i, isLoading: n, execute: s } = ee({
|
|
3268
3271
|
options: {
|
|
3269
|
-
path: "/v2/standings",
|
|
3272
|
+
path: A(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3270
3273
|
apiKey: e.apiKey,
|
|
3271
|
-
params: A(() => ({ championshipId:
|
|
3274
|
+
params: A(() => ({ championshipId: o.championshipId, ...!o.isPlayoffs && { phaseId: o.phaseId } })),
|
|
3275
|
+
resetOnExecute: !0,
|
|
3276
|
+
immediate: !0
|
|
3272
3277
|
},
|
|
3273
|
-
transform: (
|
|
3274
|
-
|
|
3275
|
-
})
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3278
|
+
transform: (k) => zs(k),
|
|
3279
|
+
onError: r
|
|
3280
|
+
}), l = A(() => Be(i.value).addContinuousIndex().value()), c = A(() => ({
|
|
3281
|
+
tag: o.path ? "a" : "p",
|
|
3282
|
+
props: {
|
|
3283
|
+
...o.path && { href: o.path }
|
|
3284
|
+
}
|
|
3285
|
+
}));
|
|
3286
|
+
function p({ championshipId: k, phaseId: b, name: I, path: x, phase: z, isPlayoffs: w }) {
|
|
3287
|
+
o.championshipId = k, o.path = x || "", o.phaseId = b, o.championshipName = I, o.phaseName = z, o.isPlayoffs = w || !1, a(), s();
|
|
3288
|
+
}
|
|
3289
|
+
return (k, b) => ge(k.$slots, "default", Te(Ne({ convertedRows: l.value, isLoading: d(n), ...o, componentProps: c.value, onChange: p })));
|
|
3290
|
+
}
|
|
3291
|
+
}, Is = { class: "section-title" }, $s = { class: "is-team" }, Ts = { class: "is-team-name-short" }, Ns = { class: "is-team-name-long" }, Cs = { class: "is-badge is-extra-large is-dark" }, As = { class: "is-team" }, Es = { class: "is-team-name-short" }, Ds = { class: "is-team-name-long" }, Ps = {
|
|
3292
|
+
__name: "PlayoffsList",
|
|
3293
|
+
props: {
|
|
3294
|
+
playoffs: {
|
|
3295
|
+
type: Array,
|
|
3296
|
+
default: () => []
|
|
3297
|
+
},
|
|
3298
|
+
isLoading: {
|
|
3299
|
+
type: Boolean,
|
|
3300
|
+
default: !1
|
|
3280
3301
|
}
|
|
3281
|
-
|
|
3302
|
+
},
|
|
3303
|
+
setup(t) {
|
|
3304
|
+
const { t: e } = ne();
|
|
3305
|
+
return (r, a) => (u(), D(d(Zt), { class: "playoffs-minimal" }, {
|
|
3306
|
+
default: C(() => [
|
|
3307
|
+
t.isLoading ? (u(), D(d(vt), { key: 0 })) : P("", !0),
|
|
3308
|
+
(u(!0), _(R, null, W(t.playoffs, (o) => (u(), _("div", {
|
|
3309
|
+
key: `${o.divisionStage2Name}-${o.divisionStageNumber}`,
|
|
3310
|
+
class: "section"
|
|
3311
|
+
}, [
|
|
3312
|
+
g("div", Is, f(d(e)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
|
|
3313
|
+
g("ul", null, [
|
|
3314
|
+
g("li", $s, [
|
|
3315
|
+
g("span", Ts, f(o.homeTeam.shortName), 1),
|
|
3316
|
+
g("span", Ns, f(o.homeTeam.longName), 1)
|
|
3317
|
+
]),
|
|
3318
|
+
g("li", null, [
|
|
3319
|
+
T(d(me), {
|
|
3320
|
+
src: o.homeTeam.logo
|
|
3321
|
+
}, null, 8, ["src"])
|
|
3322
|
+
]),
|
|
3323
|
+
g("li", null, [
|
|
3324
|
+
g("span", Cs, f(o.seriesStandings), 1)
|
|
3325
|
+
]),
|
|
3326
|
+
g("li", null, [
|
|
3327
|
+
T(d(me), {
|
|
3328
|
+
src: o.awayTeam.logo
|
|
3329
|
+
}, null, 8, ["src"])
|
|
3330
|
+
]),
|
|
3331
|
+
g("li", As, [
|
|
3332
|
+
g("span", Es, f(o.awayTeam.shortName), 1),
|
|
3333
|
+
g("span", Ds, f(o.awayTeam.longName), 1)
|
|
3334
|
+
])
|
|
3335
|
+
])
|
|
3336
|
+
]))), 128))
|
|
3337
|
+
]),
|
|
3338
|
+
_: 1
|
|
3339
|
+
}));
|
|
3282
3340
|
}
|
|
3283
|
-
}, Ss = ".standings-selector-title{display:grid;grid-template-columns:auto 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 dt{font-weight:700}", Is = '.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-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)}', $s = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Cs = ".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}", Ts = ".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}", Ns = { class: "standings-selector" }, As = { class: "standings-selector-title" }, Es = {
|
|
3341
|
+
}, Ls = ".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}", Ms = '.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-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)}', js = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Os = ".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}", Gs = ".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}", Rs = ".playoffs .table-grid{display:grid;grid-template-columns:60px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 70px minmax(160px,1fr) minmax(180px,.9fr);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.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:visible;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 .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}.playoffs .table-grid .label:not(:last-of-type){margin-right:3px}.playoffs .table-grid .is-team-name-long{display:block}.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-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100);background-color:var(--vbr-widget-primary-color-700)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-primary-color-50)}@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}.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}}", Ys = { class: "standings-selector" }, Us = { class: "standings-selector-title" }, Ks = {
|
|
3284
3342
|
__name: "StandingsSelector.ce",
|
|
3285
3343
|
props: {
|
|
3286
3344
|
locale: {
|
|
@@ -3297,55 +3355,67 @@ const zs = {
|
|
|
3297
3355
|
}
|
|
3298
3356
|
},
|
|
3299
3357
|
setup(t) {
|
|
3300
|
-
const e = t, r = { en:
|
|
3301
|
-
return (i, n) => (
|
|
3358
|
+
const e = t, r = { en: we, hu: xe }, a = O(null), o = A(() => typeof e.data == "string" ? JSON.parse(e.data) : e.data);
|
|
3359
|
+
return (i, n) => (u(), D(d(ye), {
|
|
3302
3360
|
locale: e.locale,
|
|
3303
3361
|
messages: r
|
|
3304
3362
|
}, {
|
|
3305
|
-
default:
|
|
3306
|
-
|
|
3307
|
-
default:
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3363
|
+
default: C(() => [
|
|
3364
|
+
T(d(Ce), null, {
|
|
3365
|
+
default: C(({ error: s, hasError: l }) => [
|
|
3366
|
+
T(Ss, { data: o.value }, {
|
|
3367
|
+
default: C(({ convertedRows: c, isLoading: p, path: m, phaseName: y, componentProps: v, championshipName: k, phaseId: b, isPlayoffs: I, onChange: x }) => [
|
|
3368
|
+
g("div", Ys, [
|
|
3369
|
+
g("div", Us, [
|
|
3370
|
+
(u(), D(Lr(v.tag), Wt(v.props, { class: "is-title-text" }), {
|
|
3371
|
+
default: C(() => [
|
|
3372
|
+
g("b", null, f(k), 1),
|
|
3373
|
+
ae(" - " + f(y) + " ", 1),
|
|
3374
|
+
m ? (u(), D(d(zt), { key: 0 })) : P("", !0)
|
|
3375
|
+
]),
|
|
3376
|
+
_: 2
|
|
3377
|
+
}, 1040)),
|
|
3378
|
+
o.value.length > 1 ? (u(), D(ks, {
|
|
3379
|
+
key: 0,
|
|
3319
3380
|
data: o.value,
|
|
3320
3381
|
selected: b,
|
|
3321
3382
|
target: a.value,
|
|
3322
|
-
onChange:
|
|
3323
|
-
}, null, 8, ["data", "selected", "target", "onChange"])
|
|
3383
|
+
onChange: x
|
|
3384
|
+
}, null, 8, ["data", "selected", "target", "onChange"])) : P("", !0)
|
|
3324
3385
|
]),
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3386
|
+
I ? (u(), D(Ps, {
|
|
3387
|
+
key: 0,
|
|
3388
|
+
playoffs: c.rows,
|
|
3389
|
+
"is-loading": p
|
|
3390
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), D(d(Qt), {
|
|
3391
|
+
key: 1,
|
|
3392
|
+
"is-loading": p,
|
|
3393
|
+
columns: d(Gr),
|
|
3328
3394
|
rows: c.rows,
|
|
3329
3395
|
"append-to": a.value,
|
|
3330
3396
|
"external-team-resolver": () => {
|
|
3331
3397
|
}
|
|
3332
|
-
}, null, 8, ["is-loading", "columns", "rows", "append-to"]),
|
|
3333
|
-
|
|
3398
|
+
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3399
|
+
T(d(Oe), {
|
|
3334
3400
|
rows: c.rows,
|
|
3335
3401
|
"additional-key": "inheritedPoints"
|
|
3336
3402
|
}, null, 8, ["rows"]),
|
|
3337
|
-
|
|
3403
|
+
T(d(Oe), {
|
|
3338
3404
|
rows: c.rows,
|
|
3339
3405
|
"additional-key": "penaltyPoints"
|
|
3340
3406
|
}, null, 8, ["rows"])
|
|
3341
3407
|
]),
|
|
3342
|
-
|
|
3408
|
+
g("div", {
|
|
3343
3409
|
ref_key: "tooltipContainer",
|
|
3344
3410
|
ref: a
|
|
3345
3411
|
}, null, 512)
|
|
3346
3412
|
]),
|
|
3347
3413
|
_: 1
|
|
3348
|
-
}, 8, ["data"])
|
|
3414
|
+
}, 8, ["data"]),
|
|
3415
|
+
l ? (u(), D(d(Ae), {
|
|
3416
|
+
key: 0,
|
|
3417
|
+
error: s
|
|
3418
|
+
}, null, 8, ["error"])) : P("", !0)
|
|
3349
3419
|
]),
|
|
3350
3420
|
_: 1
|
|
3351
3421
|
})
|
|
@@ -3353,26 +3423,26 @@ const zs = {
|
|
|
3353
3423
|
_: 1
|
|
3354
3424
|
}, 8, ["locale"]));
|
|
3355
3425
|
}
|
|
3356
|
-
},
|
|
3357
|
-
function
|
|
3358
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3426
|
+
}, Bs = /* @__PURE__ */ ke(Ks, [["styles", [_e, Ls, Ms, js, Os, Gs, Rs]]]), Vs = fe(mi), Fs = fe(Ui), qs = fe(bs), Hs = fe(es), Ws = fe(zn), Js = fe(Bs);
|
|
3427
|
+
function Xs() {
|
|
3428
|
+
customElements.define("mjsz-vbr-calendar", Vs), customElements.define("mjsz-vbr-championship", Fs), customElements.define("mjsz-vbr-schedule-cup", qs), customElements.define("mjsz-vbr-ibr-identifiers", Hs), customElements.define("mjsz-vbr-games-timeline", Ws), customElements.define("mjsz-vbr-standings-selector", Js);
|
|
3359
3429
|
}
|
|
3360
|
-
const
|
|
3361
|
-
install: () =>
|
|
3430
|
+
const il = {
|
|
3431
|
+
install: () => Xs()
|
|
3362
3432
|
};
|
|
3363
3433
|
export {
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3434
|
+
mi as Calendar,
|
|
3435
|
+
Vs as CalendarCE,
|
|
3436
|
+
Ui as Championship,
|
|
3437
|
+
Fs as ChampionshipCE,
|
|
3438
|
+
zn as GamesTimeline,
|
|
3439
|
+
Ws as GamesTimelineCE,
|
|
3440
|
+
es as IVRIdentifiers,
|
|
3441
|
+
Hs as IVRIdentifiersCE,
|
|
3442
|
+
bs as ScheduleCup,
|
|
3443
|
+
qs as ScheduleCupCE,
|
|
3444
|
+
Bs as StandingsSelector,
|
|
3445
|
+
Js as StandingsSelectorCE,
|
|
3446
|
+
il as default,
|
|
3447
|
+
Xs as register
|
|
3378
3448
|
};
|