@mjsz-vbr-elements/extended 2.14.5 → 2.16.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 +1232 -1155
- 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.16.0 - 05/02/2025, 20:50:34
|
|
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, toDisplayString as f, createTextVNode as ae, Fragment as R, createVNode as T, createCommentVNode as D, createBlock as P, 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,28 @@ 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 = ["href"], Yo = { class: "is-info is-text-sm" }, Uo = { class: "is-home-team is-text-base" }, Ko = { class: "is-team-name-short" }, Bo = { class: "is-team-name-long" }, Vo = {
|
|
1364
1364
|
key: 0,
|
|
1365
1365
|
class: "is-text-xl is-text-bold"
|
|
1366
|
-
}, Fo = {
|
|
1366
|
+
}, Fo = ["href", "target"], qo = {
|
|
1367
|
+
key: 0,
|
|
1368
|
+
class: "is-text-xl is-text-bold"
|
|
1369
|
+
}, Ho = {
|
|
1367
1370
|
key: 1,
|
|
1368
1371
|
class: "is-text-xl is-text-bold"
|
|
1369
|
-
},
|
|
1372
|
+
}, Wo = {
|
|
1370
1373
|
key: 2,
|
|
1371
1374
|
class: "is-text-xl is-text-bold"
|
|
1372
|
-
},
|
|
1373
|
-
key:
|
|
1375
|
+
}, Jo = {
|
|
1376
|
+
key: 1,
|
|
1374
1377
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1375
|
-
},
|
|
1378
|
+
}, Xo = { class: "is-away-team is-text-base" }, Qo = { key: 0 }, Zo = { class: "is-team-name-short" }, ei = { class: "is-team-name-long" }, ti = {
|
|
1376
1379
|
__name: "Item",
|
|
1377
1380
|
props: {
|
|
1378
1381
|
game: {
|
|
@@ -1397,74 +1400,78 @@ const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"],
|
|
|
1397
1400
|
}
|
|
1398
1401
|
},
|
|
1399
1402
|
setup(t) {
|
|
1400
|
-
const { t: e } =
|
|
1401
|
-
return (r, a) => (
|
|
1402
|
-
class:
|
|
1403
|
+
const { t: e } = ne();
|
|
1404
|
+
return (r, a) => (u(), _("div", {
|
|
1405
|
+
class: B(["card-item", { "is-optional": t.game.optional }])
|
|
1403
1406
|
}, [
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
a[
|
|
1413
|
-
|
|
1407
|
+
g("div", Oo, [
|
|
1408
|
+
g("a", {
|
|
1409
|
+
href: t.gameLink(t.game)
|
|
1410
|
+
}, f(t.game.gameName), 9, Go),
|
|
1411
|
+
ae(" - " + f(t.game.championshipName) + " - " + f(t.game.divisionName) + " - " + f(t.game.location.locationName) + " ", 1),
|
|
1412
|
+
t.game.broadcast ? (u(), _(R, { key: 0 }, [
|
|
1413
|
+
a[0] || (a[0] = ae(" - ")),
|
|
1414
|
+
T(d(Po), { height: "16" }),
|
|
1415
|
+
a[1] || (a[1] = ae(" "))
|
|
1416
|
+
], 64)) : D("", !0),
|
|
1417
|
+
t.game.video ? (u(), _(R, { key: 1 }, [
|
|
1418
|
+
a[2] || (a[2] = ae(" - ")),
|
|
1419
|
+
g("a", {
|
|
1414
1420
|
href: t.game.video,
|
|
1415
1421
|
target: "_blank"
|
|
1416
1422
|
}, [
|
|
1417
|
-
|
|
1418
|
-
], 8,
|
|
1419
|
-
], 64)) :
|
|
1423
|
+
T(d(jo), { height: "18" })
|
|
1424
|
+
], 8, Ro)
|
|
1425
|
+
], 64)) : D("", !0)
|
|
1420
1426
|
]),
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
(
|
|
1427
|
+
g("div", Yo, f(d(Q)(t.game.gameDate, "L LT", null, t.locale)) + " (" + f(d(Ve)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1428
|
+
g("div", Uo, [
|
|
1429
|
+
g("span", Ko, f(t.game.homeTeam.shortName), 1),
|
|
1430
|
+
g("span", Bo, f(t.game.homeTeam.longName), 1),
|
|
1431
|
+
(u(), P(d(me), {
|
|
1426
1432
|
key: t.game.homeTeam.id,
|
|
1427
1433
|
class: "is-logo-image",
|
|
1428
1434
|
src: t.game.homeTeam.logo
|
|
1429
1435
|
}, null, 8, ["src"]))
|
|
1430
1436
|
]),
|
|
1431
|
-
|
|
1432
|
-
class:
|
|
1437
|
+
g("div", {
|
|
1438
|
+
class: B(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
|
|
1433
1439
|
}, [
|
|
1434
|
-
u("
|
|
1440
|
+
t.game.gameStatus === 0 ? (u(), _("span", Vo, " - : - ")) : D("", !0),
|
|
1441
|
+
g("a", {
|
|
1435
1442
|
href: t.gameLink(t.game),
|
|
1436
1443
|
target: t.target
|
|
1437
1444
|
}, [
|
|
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 ? (
|
|
1445
|
+
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (u(), _("span", qo, f(t.game.homeTeamScore) + " : " + f(t.game.awayTeamScore), 1)) : D("", !0),
|
|
1446
|
+
t.game.gameStatus === 3 ? (u(), _("span", Ho, f(d(e)("game.status.jury")), 1)) : D("", !0),
|
|
1447
|
+
t.game.gameStatus === 4 ? (u(), _("span", Wo, f(d(e)("game.status.delayed")), 1)) : D("", !0)
|
|
1448
|
+
], 8, Fo),
|
|
1449
|
+
t.game.gameStatus > 0 ? (u(), _("div", Jo, f(t.game.periodResults), 1)) : D("", !0)
|
|
1443
1450
|
], 2),
|
|
1444
|
-
|
|
1445
|
-
Array.isArray(t.game.awayTeam) ? (
|
|
1446
|
-
(
|
|
1451
|
+
g("div", Xo, [
|
|
1452
|
+
Array.isArray(t.game.awayTeam) ? (u(), _("span", Qo, "Torna")) : D("", !0),
|
|
1453
|
+
(u(), P(d(me), {
|
|
1447
1454
|
key: t.game.awayTeam.id,
|
|
1448
1455
|
class: "is-logo-image",
|
|
1449
1456
|
src: t.game.awayTeam.logo
|
|
1450
1457
|
}, null, 8, ["src"])),
|
|
1451
|
-
|
|
1452
|
-
|
|
1458
|
+
g("span", Zo, f(t.game.awayTeam.shortName), 1),
|
|
1459
|
+
g("span", ei, f(t.game.awayTeam.longName), 1)
|
|
1453
1460
|
])
|
|
1454
1461
|
], 2));
|
|
1455
1462
|
}
|
|
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) => {
|
|
1463
|
+
}, _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)}`, ri = ".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
1464
|
const r = t.__vccOpts || t;
|
|
1458
1465
|
for (const [a, o] of e)
|
|
1459
1466
|
r[a] = o;
|
|
1460
1467
|
return r;
|
|
1461
|
-
},
|
|
1468
|
+
}, ai = {
|
|
1462
1469
|
id: "top",
|
|
1463
1470
|
class: "flex overflow-x-auto is-mb-5"
|
|
1464
|
-
},
|
|
1471
|
+
}, oi = ["onClick"], ii = ["onClick"], ni = ["onClick"], si = ["onClick"], li = { class: "toggle-group" }, ci = ["disabled", "onClick"], di = {
|
|
1465
1472
|
key: 0,
|
|
1466
1473
|
class: "is-text-center"
|
|
1467
|
-
},
|
|
1474
|
+
}, gi = ["data-gamedate"], pi = { class: "is-text-base" }, ui = { class: "is-card" }, mi = ["onClick"], vi = {
|
|
1468
1475
|
__name: "Calendar.ce",
|
|
1469
1476
|
props: {
|
|
1470
1477
|
locale: {
|
|
@@ -1479,94 +1486,94 @@ const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"],
|
|
|
1479
1486
|
type: String,
|
|
1480
1487
|
default: ""
|
|
1481
1488
|
},
|
|
1482
|
-
...
|
|
1489
|
+
...Or
|
|
1483
1490
|
},
|
|
1484
1491
|
setup(t) {
|
|
1485
|
-
const e = t, r = { en:
|
|
1486
|
-
return (n, s) => (
|
|
1492
|
+
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);
|
|
1493
|
+
return (n, s) => (u(), P(d(ye), {
|
|
1487
1494
|
locale: e.locale,
|
|
1488
1495
|
messages: r
|
|
1489
1496
|
}, {
|
|
1490
|
-
default:
|
|
1491
|
-
|
|
1492
|
-
default:
|
|
1493
|
-
|
|
1497
|
+
default: C(({ t: l }) => [
|
|
1498
|
+
T(d(Ce), null, {
|
|
1499
|
+
default: C(({ error: c, hasError: p }) => [
|
|
1500
|
+
p ? (u(), P(d(Ae), {
|
|
1494
1501
|
key: 0,
|
|
1495
1502
|
error: c
|
|
1496
|
-
}, null, 8, ["error"])) :
|
|
1497
|
-
|
|
1503
|
+
}, null, 8, ["error"])) : D("", !0),
|
|
1504
|
+
T(Ao, {
|
|
1498
1505
|
locale: e.locale,
|
|
1499
1506
|
timezone: a.value,
|
|
1500
1507
|
"season-id": t.seasonId,
|
|
1501
1508
|
"api-key": t.apiKey
|
|
1502
1509
|
}, {
|
|
1503
|
-
default:
|
|
1510
|
+
default: C(({
|
|
1504
1511
|
games: m,
|
|
1505
|
-
months:
|
|
1506
|
-
isLoading:
|
|
1507
|
-
selectedPanel:
|
|
1508
|
-
selectedMonth:
|
|
1509
|
-
more:
|
|
1512
|
+
months: y,
|
|
1513
|
+
isLoading: v,
|
|
1514
|
+
selectedPanel: k,
|
|
1515
|
+
selectedMonth: b,
|
|
1516
|
+
more: I,
|
|
1510
1517
|
setMonth: x,
|
|
1511
1518
|
changePanel: z
|
|
1512
1519
|
}) => [
|
|
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
|
-
},
|
|
1520
|
+
g("div", ai, [
|
|
1521
|
+
g("button", {
|
|
1522
|
+
class: B(["tab-button", { "is-active": k === d(be) }]),
|
|
1523
|
+
onClick: (w) => z(d(be))
|
|
1524
|
+
}, f(l("calendar.gamesPlayed")), 11, oi),
|
|
1525
|
+
g("button", {
|
|
1526
|
+
class: B(["tab-button", { "is-active": k === d(Ie) }]),
|
|
1527
|
+
onClick: (w) => z(d(Ie))
|
|
1528
|
+
}, f(l("calendar.todaysGames")), 11, ii),
|
|
1529
|
+
g("button", {
|
|
1530
|
+
class: B(["tab-button", { "is-active": k === d($e) }]),
|
|
1531
|
+
onClick: (w) => z(d($e))
|
|
1532
|
+
}, f(l("calendar.nextGames")), 11, ni),
|
|
1533
|
+
g("button", {
|
|
1534
|
+
class: B(["tab-button", { "is-active": k === d(Re) }]),
|
|
1535
|
+
onClick: (w) => z(d(Re))
|
|
1536
|
+
}, f(l("calendar.weekGames")), 11, si)
|
|
1530
1537
|
]),
|
|
1531
|
-
|
|
1532
|
-
(
|
|
1533
|
-
key:
|
|
1538
|
+
g("div", li, [
|
|
1539
|
+
(u(!0), _(R, null, W(y, (w) => (u(), _("button", {
|
|
1540
|
+
key: w.id,
|
|
1534
1541
|
type: "button",
|
|
1535
|
-
class:
|
|
1536
|
-
disabled:
|
|
1537
|
-
onClick: (
|
|
1538
|
-
}, w
|
|
1542
|
+
class: B({ "is-active": b === w.id }),
|
|
1543
|
+
disabled: v,
|
|
1544
|
+
onClick: (h) => x(w)
|
|
1545
|
+
}, f(w.name), 11, ci))), 128))
|
|
1539
1546
|
]),
|
|
1540
|
-
m.totalItems === 0 && !
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
(
|
|
1544
|
-
key:
|
|
1545
|
-
"data-gamedate":
|
|
1547
|
+
m.totalItems === 0 && !v ? (u(), _("div", di, f(l("calendar.noGame")), 1)) : D("", !0),
|
|
1548
|
+
g("div", null, [
|
|
1549
|
+
v ? (u(), P(d(vt), { key: 0 })) : D("", !0),
|
|
1550
|
+
(u(!0), _(R, null, W(m.rows, (w, h) => (u(), _("div", {
|
|
1551
|
+
key: h,
|
|
1552
|
+
"data-gamedate": h
|
|
1546
1553
|
}, [
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
(
|
|
1550
|
-
key:
|
|
1551
|
-
game:
|
|
1554
|
+
g("span", pi, f(d(Q)(new Date(h), "LL dddd", a.value, t.locale)), 1),
|
|
1555
|
+
g("div", ui, [
|
|
1556
|
+
(u(!0), _(R, null, W(w, ($) => (u(), P(ti, {
|
|
1557
|
+
key: $.id,
|
|
1558
|
+
game: $,
|
|
1552
1559
|
locale: t.locale,
|
|
1553
1560
|
timezone: a.value,
|
|
1554
1561
|
"game-link": i,
|
|
1555
1562
|
target: o.value
|
|
1556
1563
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1557
1564
|
])
|
|
1558
|
-
], 8,
|
|
1565
|
+
], 8, gi))), 128))
|
|
1559
1566
|
]),
|
|
1560
|
-
!
|
|
1567
|
+
!v && m.currentItems < m.totalItems ? (u(), P(d(Rr), {
|
|
1561
1568
|
key: 1,
|
|
1562
1569
|
options: { rootMargin: "400px" },
|
|
1563
|
-
onIntersect:
|
|
1570
|
+
onIntersect: I
|
|
1564
1571
|
}, {
|
|
1565
|
-
default:
|
|
1566
|
-
|
|
1572
|
+
default: C(() => [
|
|
1573
|
+
g("button", { onClick: I }, f(l("calendar.more")), 9, mi)
|
|
1567
1574
|
]),
|
|
1568
1575
|
_: 2
|
|
1569
|
-
}, 1032, ["onIntersect"])) :
|
|
1576
|
+
}, 1032, ["onIntersect"])) : D("", !0)
|
|
1570
1577
|
]),
|
|
1571
1578
|
_: 2
|
|
1572
1579
|
}, 1032, ["locale", "timezone", "season-id", "api-key"])
|
|
@@ -1577,108 +1584,108 @@ const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"],
|
|
|
1577
1584
|
_: 1
|
|
1578
1585
|
}, 8, ["locale"]));
|
|
1579
1586
|
}
|
|
1580
|
-
},
|
|
1581
|
-
function
|
|
1587
|
+
}, bi = /* @__PURE__ */ ke(vi, [["styles", [_e, Xe, Qe, ri]]]), ze = "schedule", it = "standings", ue = "players", Me = "teams";
|
|
1588
|
+
function hi(t, e, r = null) {
|
|
1582
1589
|
var i, n, s, l;
|
|
1583
|
-
e.championships =
|
|
1584
|
-
const a =
|
|
1590
|
+
e.championships = Ke(ie("sectionId"))(t), e.selectedChampionshipId = (n = (i = e.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
|
|
1591
|
+
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
1592
|
e.phaseId = o > -1 ? Number(r) : (l = a[0]) == null ? void 0 : l.phaseId;
|
|
1586
1593
|
}
|
|
1587
|
-
const
|
|
1594
|
+
const fi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1588
1595
|
api: "/v2/games-list",
|
|
1589
|
-
columns:
|
|
1596
|
+
columns: ar,
|
|
1590
1597
|
sort: {}
|
|
1591
1598
|
}).set("standings", {
|
|
1592
1599
|
api: "/v2/standings",
|
|
1593
|
-
columns:
|
|
1600
|
+
columns: na,
|
|
1594
1601
|
sort: {}
|
|
1595
1602
|
}).set("points", {
|
|
1596
1603
|
api: "/v2/players-stats",
|
|
1597
|
-
columns:
|
|
1604
|
+
columns: Pe,
|
|
1598
1605
|
sort: {
|
|
1599
1606
|
sortTarget: "points",
|
|
1600
|
-
orders: [{ target: "points", direction:
|
|
1607
|
+
orders: [{ target: "points", direction: X }]
|
|
1601
1608
|
}
|
|
1602
1609
|
}).set("goals", {
|
|
1603
1610
|
api: "/v2/players-stats",
|
|
1604
|
-
columns:
|
|
1611
|
+
columns: Pe,
|
|
1605
1612
|
sort: {
|
|
1606
1613
|
sortTarget: "goals",
|
|
1607
1614
|
orders: [
|
|
1608
|
-
{ target: "goals", direction:
|
|
1609
|
-
{ target: "assists", direction:
|
|
1615
|
+
{ target: "goals", direction: X },
|
|
1616
|
+
{ target: "assists", direction: X }
|
|
1610
1617
|
]
|
|
1611
1618
|
}
|
|
1612
1619
|
}).set("assists", {
|
|
1613
1620
|
api: "/v2/players-stats",
|
|
1614
|
-
columns:
|
|
1621
|
+
columns: Pe,
|
|
1615
1622
|
sort: {
|
|
1616
1623
|
sortTarget: "assists",
|
|
1617
1624
|
orders: [
|
|
1618
|
-
{ target: "assists", direction:
|
|
1619
|
-
{ target: "goals", direction:
|
|
1625
|
+
{ target: "assists", direction: X },
|
|
1626
|
+
{ target: "goals", direction: X }
|
|
1620
1627
|
]
|
|
1621
1628
|
}
|
|
1622
1629
|
}).set("plusminus", {
|
|
1623
1630
|
api: "/v2/players-stats",
|
|
1624
|
-
columns:
|
|
1631
|
+
columns: Pe,
|
|
1625
1632
|
sort: {
|
|
1626
1633
|
sortTarget: "plusMinus",
|
|
1627
|
-
orders: [{ target: "plusMinus", direction:
|
|
1634
|
+
orders: [{ target: "plusMinus", direction: X }]
|
|
1628
1635
|
}
|
|
1629
1636
|
}).set("playerspenalties", {
|
|
1630
1637
|
api: "/v2/players-penalty",
|
|
1631
|
-
columns:
|
|
1638
|
+
columns: sa,
|
|
1632
1639
|
sort: {
|
|
1633
1640
|
sortTarget: "pim",
|
|
1634
|
-
orders: [{ target: "pim", direction:
|
|
1641
|
+
orders: [{ target: "pim", direction: X }]
|
|
1635
1642
|
}
|
|
1636
1643
|
}).set("goalies", {
|
|
1637
1644
|
api: "/v2/players-goalie",
|
|
1638
1645
|
params: { more: !0 },
|
|
1639
|
-
columns:
|
|
1646
|
+
columns: It,
|
|
1640
1647
|
sort: {
|
|
1641
1648
|
sortTarget: "svsPercent",
|
|
1642
|
-
orders: [{ target: "svsPercent", direction:
|
|
1649
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1643
1650
|
}
|
|
1644
1651
|
}).set("goaliesunderlimit", {
|
|
1645
1652
|
api: "/v2/players-goalie",
|
|
1646
1653
|
params: { less: !0 },
|
|
1647
|
-
columns:
|
|
1654
|
+
columns: It,
|
|
1648
1655
|
sort: {
|
|
1649
1656
|
sortTarget: "svsPercent",
|
|
1650
|
-
orders: [{ target: "svsPercent", direction:
|
|
1657
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1651
1658
|
}
|
|
1652
1659
|
}).set("teamFairplay", {
|
|
1653
1660
|
api: "/v2/team-fairplay",
|
|
1654
|
-
columns:
|
|
1661
|
+
columns: la,
|
|
1655
1662
|
sort: {
|
|
1656
1663
|
sortTarget: "pim",
|
|
1657
|
-
orders: [{ target: "pim", direction:
|
|
1664
|
+
orders: [{ target: "pim", direction: X }]
|
|
1658
1665
|
}
|
|
1659
1666
|
}).set("teamPenaltiKilling", {
|
|
1660
1667
|
api: "/v2/team-powerplay",
|
|
1661
|
-
columns:
|
|
1668
|
+
columns: ca,
|
|
1662
1669
|
sort: {
|
|
1663
1670
|
sortTarget: "pkPercent",
|
|
1664
|
-
orders: [{ target: "pkPercent", direction:
|
|
1671
|
+
orders: [{ target: "pkPercent", direction: X }]
|
|
1665
1672
|
}
|
|
1666
1673
|
}).set("teamPowerplay", {
|
|
1667
1674
|
api: "/v2/team-powerplay",
|
|
1668
|
-
columns:
|
|
1675
|
+
columns: da,
|
|
1669
1676
|
sort: {
|
|
1670
1677
|
sortTarget: "ppPercent",
|
|
1671
|
-
orders: [{ target: "ppPercent", direction:
|
|
1678
|
+
orders: [{ target: "ppPercent", direction: X }]
|
|
1672
1679
|
}
|
|
1673
1680
|
}).set("teamScoringEfficiency", {
|
|
1674
1681
|
api: "/v2/team-scoring-efficiency",
|
|
1675
|
-
columns:
|
|
1682
|
+
columns: ga,
|
|
1676
1683
|
sort: {
|
|
1677
1684
|
sortTarget: "sp",
|
|
1678
|
-
orders: [{ target: "sp", direction:
|
|
1685
|
+
orders: [{ target: "sp", direction: X }]
|
|
1679
1686
|
}
|
|
1680
1687
|
});
|
|
1681
|
-
function
|
|
1688
|
+
function Kt(t) {
|
|
1682
1689
|
return [
|
|
1683
1690
|
{
|
|
1684
1691
|
name: t("report.points"),
|
|
@@ -1710,7 +1717,7 @@ function Yt(t) {
|
|
|
1710
1717
|
}
|
|
1711
1718
|
];
|
|
1712
1719
|
}
|
|
1713
|
-
function
|
|
1720
|
+
function Bt(t) {
|
|
1714
1721
|
return [
|
|
1715
1722
|
// {
|
|
1716
1723
|
// name: t('report.teamAttendance'),
|
|
@@ -1734,15 +1741,15 @@ function Ut(t) {
|
|
|
1734
1741
|
}
|
|
1735
1742
|
];
|
|
1736
1743
|
}
|
|
1737
|
-
function
|
|
1744
|
+
function yi(t, e) {
|
|
1738
1745
|
if (t.length === 0)
|
|
1739
|
-
throw new
|
|
1740
|
-
e.seasons =
|
|
1746
|
+
throw new tr(Ge.message, Ge.options);
|
|
1747
|
+
e.seasons = wi(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
|
|
1741
1748
|
}
|
|
1742
|
-
function
|
|
1743
|
-
return
|
|
1749
|
+
function wi(t) {
|
|
1750
|
+
return kt(mr(gr(ie("seasonName"))), _t(ur(["championshipId", "seasonName"])))(t);
|
|
1744
1751
|
}
|
|
1745
|
-
const
|
|
1752
|
+
const xi = {
|
|
1746
1753
|
__name: "DataProvider",
|
|
1747
1754
|
props: {
|
|
1748
1755
|
championshipName: {
|
|
@@ -1775,7 +1782,7 @@ const fi = {
|
|
|
1775
1782
|
}
|
|
1776
1783
|
},
|
|
1777
1784
|
setup(t) {
|
|
1778
|
-
const e = t, r =
|
|
1785
|
+
const e = t, r = ir("history"), a = ce({
|
|
1779
1786
|
loading: !1,
|
|
1780
1787
|
seasons: [],
|
|
1781
1788
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1784,34 +1791,34 @@ const fi = {
|
|
|
1784
1791
|
selectedChampionshipId: null,
|
|
1785
1792
|
sections: [],
|
|
1786
1793
|
section: r.section || null,
|
|
1787
|
-
selectedPanel:
|
|
1794
|
+
selectedPanel: ze,
|
|
1788
1795
|
api: "/v2/games-list",
|
|
1789
1796
|
apiParams: {},
|
|
1790
|
-
columns:
|
|
1797
|
+
columns: ar,
|
|
1791
1798
|
sort: null,
|
|
1792
1799
|
report: "points"
|
|
1793
|
-
}), o =
|
|
1800
|
+
}), o = zr(e, "timezone"), { onError: i } = Ee(), { sort: n, change: s } = ea({
|
|
1794
1801
|
sortTarget: "",
|
|
1795
1802
|
orders: []
|
|
1796
|
-
}), { page: l, change: c } =
|
|
1803
|
+
}), { page: l, change: c } = ta(), { t: p } = ne(), { isLoading: m, execute: y } = ee({
|
|
1797
1804
|
options: {
|
|
1798
1805
|
path: "/v2/championship-seasons",
|
|
1799
1806
|
apiKey: e.apiKey,
|
|
1800
1807
|
params: { championshipName: e.championshipName }
|
|
1801
1808
|
},
|
|
1802
|
-
transform: (
|
|
1809
|
+
transform: (N) => yi(N, a),
|
|
1803
1810
|
onError: i
|
|
1804
|
-
}), { isLoading:
|
|
1811
|
+
}), { isLoading: v, execute: k } = ee({
|
|
1805
1812
|
options: {
|
|
1806
1813
|
path: "/v2/championship-sections",
|
|
1807
1814
|
apiKey: e.apiKey,
|
|
1808
1815
|
params: A(() => ({ championshipId: a.championshipId }))
|
|
1809
1816
|
},
|
|
1810
|
-
transform: (
|
|
1817
|
+
transform: (N) => hi(N, a, e.initialPhaseId),
|
|
1811
1818
|
onError: i
|
|
1812
1819
|
}), {
|
|
1813
|
-
isLoading:
|
|
1814
|
-
state:
|
|
1820
|
+
isLoading: b,
|
|
1821
|
+
state: I,
|
|
1815
1822
|
execute: x
|
|
1816
1823
|
} = ee({
|
|
1817
1824
|
options: {
|
|
@@ -1820,70 +1827,70 @@ const fi = {
|
|
|
1820
1827
|
resetOnExecute: !0,
|
|
1821
1828
|
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1822
1829
|
},
|
|
1823
|
-
transform: (
|
|
1830
|
+
transform: (N) => rr(N),
|
|
1824
1831
|
onError: i
|
|
1825
|
-
}), z =
|
|
1826
|
-
|
|
1827
|
-
const
|
|
1828
|
-
() => a.selectedPanel ===
|
|
1829
|
-
),
|
|
1830
|
-
const
|
|
1831
|
-
return Vr(
|
|
1832
|
-
}),
|
|
1832
|
+
}), z = ra([v, m, b], { delay: 1e3 });
|
|
1833
|
+
he([y, k, x]);
|
|
1834
|
+
const w = A(
|
|
1835
|
+
() => a.selectedPanel === ue ? Kt(p) : Bt(p)
|
|
1836
|
+
), h = A(() => {
|
|
1837
|
+
const N = a.championships.find((G) => G.sectionId === a.selectedChampionshipId);
|
|
1838
|
+
return Vr(Ke(ie("phaseId"))((N == null ? void 0 : N.phases) ?? []));
|
|
1839
|
+
}), $ = A(() => a.selectedPanel === ze ? 0 : e.limit), E = A(
|
|
1833
1840
|
() => Fr(
|
|
1834
|
-
|
|
1835
|
-
Br,
|
|
1841
|
+
I.value,
|
|
1836
1842
|
qr,
|
|
1837
1843
|
Hr,
|
|
1838
|
-
Wr
|
|
1839
|
-
Jr(["
|
|
1844
|
+
Wr,
|
|
1845
|
+
Jr(["mip"]),
|
|
1846
|
+
Xr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1840
1847
|
)
|
|
1841
|
-
),
|
|
1842
|
-
function
|
|
1843
|
-
a.championshipId =
|
|
1848
|
+
), S = A(() => Be(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), $.value).value());
|
|
1849
|
+
function j(N) {
|
|
1850
|
+
a.championshipId = N, r.championshipId = N, he([k, x]);
|
|
1844
1851
|
}
|
|
1845
|
-
function
|
|
1846
|
-
var
|
|
1847
|
-
a.selectedChampionshipId =
|
|
1852
|
+
function L(N) {
|
|
1853
|
+
var G;
|
|
1854
|
+
a.selectedChampionshipId = N, a.phaseId = ((G = h.value[0]) == null ? void 0 : G.phaseId) ?? null, x();
|
|
1848
1855
|
}
|
|
1849
|
-
function
|
|
1850
|
-
a.phaseId =
|
|
1856
|
+
function J(N) {
|
|
1857
|
+
a.phaseId = N, x();
|
|
1851
1858
|
}
|
|
1852
|
-
function
|
|
1853
|
-
var
|
|
1854
|
-
a.selectedPanel =
|
|
1855
|
-
let
|
|
1856
|
-
|
|
1859
|
+
function se(N) {
|
|
1860
|
+
var oe, F;
|
|
1861
|
+
a.selectedPanel = N;
|
|
1862
|
+
let G = N;
|
|
1863
|
+
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
1864
|
}
|
|
1858
|
-
function te(
|
|
1859
|
-
|
|
1865
|
+
function te(N) {
|
|
1866
|
+
V(N);
|
|
1860
1867
|
}
|
|
1861
|
-
function
|
|
1862
|
-
var
|
|
1863
|
-
const
|
|
1864
|
-
a.api =
|
|
1868
|
+
function V(N) {
|
|
1869
|
+
var oe, F;
|
|
1870
|
+
const G = fi.get(N);
|
|
1871
|
+
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
1872
|
}
|
|
1866
|
-
return (
|
|
1873
|
+
return (N, G) => ge(N.$slots, "default", Te(Ne({
|
|
1867
1874
|
...a,
|
|
1868
1875
|
sort: d(n),
|
|
1869
1876
|
page: d(l),
|
|
1870
|
-
phases:
|
|
1877
|
+
phases: h.value,
|
|
1871
1878
|
isLoading: d(z),
|
|
1872
|
-
games:
|
|
1873
|
-
reports:
|
|
1879
|
+
games: S.value,
|
|
1880
|
+
reports: w.value,
|
|
1874
1881
|
onSort: d(s),
|
|
1875
|
-
changePanel:
|
|
1876
|
-
changePhase:
|
|
1877
|
-
changeSeason:
|
|
1882
|
+
changePanel: se,
|
|
1883
|
+
changePhase: J,
|
|
1884
|
+
changeSeason: j,
|
|
1878
1885
|
onChangeReport: te,
|
|
1879
1886
|
onPaginatorChange: d(c),
|
|
1880
|
-
changeChampionship:
|
|
1887
|
+
changeChampionship: L
|
|
1881
1888
|
})));
|
|
1882
1889
|
}
|
|
1883
|
-
},
|
|
1890
|
+
}, _i = { class: "g-row" }, ki = {
|
|
1884
1891
|
for: "season",
|
|
1885
1892
|
class: "label"
|
|
1886
|
-
},
|
|
1893
|
+
}, zi = ["value"], Si = {
|
|
1887
1894
|
__name: "SeasonSelector",
|
|
1888
1895
|
props: {
|
|
1889
1896
|
seasons: {
|
|
@@ -1897,39 +1904,39 @@ const fi = {
|
|
|
1897
1904
|
},
|
|
1898
1905
|
emits: ["update:championshipId"],
|
|
1899
1906
|
setup(t, { emit: e }) {
|
|
1900
|
-
const r = t, a = e, { t: o } =
|
|
1901
|
-
return (n, s) => (
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1907
|
+
const r = t, a = e, { t: o } = ne(), { championshipId: i } = yt(r, a);
|
|
1908
|
+
return (n, s) => (u(), _("div", _i, [
|
|
1909
|
+
g("div", null, [
|
|
1910
|
+
g("label", ki, f(d(o)("selection.season")), 1),
|
|
1911
|
+
T(d(ve), {
|
|
1905
1912
|
id: "season",
|
|
1906
1913
|
modelValue: d(i),
|
|
1907
1914
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => de(i) ? i.value = l : null)
|
|
1908
1915
|
}, {
|
|
1909
|
-
default:
|
|
1910
|
-
(
|
|
1916
|
+
default: C(() => [
|
|
1917
|
+
(u(!0), _(R, null, W(t.seasons, (l) => (u(), _("option", {
|
|
1911
1918
|
key: l.championshipId,
|
|
1912
1919
|
value: l.championshipId
|
|
1913
|
-
},
|
|
1920
|
+
}, f(l.seasonName), 9, zi))), 128))
|
|
1914
1921
|
]),
|
|
1915
1922
|
_: 1
|
|
1916
1923
|
}, 8, ["modelValue"])
|
|
1917
1924
|
])
|
|
1918
1925
|
]));
|
|
1919
1926
|
}
|
|
1920
|
-
},
|
|
1927
|
+
}, Ii = {
|
|
1921
1928
|
class: "g-row",
|
|
1922
1929
|
style: { "column-gap": "8px" }
|
|
1923
|
-
},
|
|
1930
|
+
}, $i = {
|
|
1924
1931
|
for: "phases",
|
|
1925
1932
|
class: "label"
|
|
1926
|
-
},
|
|
1933
|
+
}, Ti = {
|
|
1927
1934
|
key: 0,
|
|
1928
1935
|
value: null
|
|
1929
|
-
},
|
|
1936
|
+
}, Ni = ["value"], Ci = { key: 0 }, Ai = {
|
|
1930
1937
|
for: "report",
|
|
1931
1938
|
class: "label"
|
|
1932
|
-
},
|
|
1939
|
+
}, Ei = ["value"], Di = {
|
|
1933
1940
|
__name: "Selector",
|
|
1934
1941
|
props: {
|
|
1935
1942
|
phases: {
|
|
@@ -1955,45 +1962,45 @@ const fi = {
|
|
|
1955
1962
|
},
|
|
1956
1963
|
emits: ["update:phaseId", "update:report"],
|
|
1957
1964
|
setup(t, { emit: e }) {
|
|
1958
|
-
const r = t, a = e, { t: o } =
|
|
1959
|
-
return (s, l) => (
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1965
|
+
const r = t, a = e, { t: o } = ne(), { phaseId: i, report: n } = yt(r, a);
|
|
1966
|
+
return (s, l) => (u(), _("div", Ii, [
|
|
1967
|
+
g("div", null, [
|
|
1968
|
+
g("label", $i, f(d(o)("selection.phases")), 1),
|
|
1969
|
+
T(d(ve), {
|
|
1963
1970
|
id: "phases",
|
|
1964
1971
|
modelValue: d(i),
|
|
1965
1972
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null),
|
|
1966
1973
|
disabled: d(i) === null
|
|
1967
1974
|
}, {
|
|
1968
|
-
default:
|
|
1969
|
-
d(i) === null ? (
|
|
1970
|
-
(
|
|
1975
|
+
default: C(() => [
|
|
1976
|
+
d(i) === null ? (u(), _("option", Ti, f(d(o)("selection.noPhases")), 1)) : D("", !0),
|
|
1977
|
+
(u(!0), _(R, null, W(t.phases, (c) => (u(), _("option", {
|
|
1971
1978
|
key: c.phaseId,
|
|
1972
1979
|
value: c.phaseId
|
|
1973
|
-
},
|
|
1980
|
+
}, f(c.phaseName), 9, Ni))), 128))
|
|
1974
1981
|
]),
|
|
1975
1982
|
_: 1
|
|
1976
1983
|
}, 8, ["modelValue", "disabled"])
|
|
1977
1984
|
]),
|
|
1978
|
-
t.isReportsVisible ? (
|
|
1979
|
-
|
|
1980
|
-
|
|
1985
|
+
t.isReportsVisible ? (u(), _("div", Ci, [
|
|
1986
|
+
g("label", Ai, f(d(o)("selection.report")), 1),
|
|
1987
|
+
T(d(ve), {
|
|
1981
1988
|
id: "report",
|
|
1982
1989
|
modelValue: d(n),
|
|
1983
1990
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
1984
1991
|
}, {
|
|
1985
|
-
default:
|
|
1986
|
-
(
|
|
1992
|
+
default: C(() => [
|
|
1993
|
+
(u(!0), _(R, null, W(t.reports, ({ value: c, name: p }) => (u(), _("option", {
|
|
1987
1994
|
key: c,
|
|
1988
1995
|
value: c
|
|
1989
|
-
},
|
|
1996
|
+
}, f(p), 9, Ei))), 128))
|
|
1990
1997
|
]),
|
|
1991
1998
|
_: 1
|
|
1992
1999
|
}, 8, ["modelValue"])
|
|
1993
|
-
])) :
|
|
2000
|
+
])) : D("", !0)
|
|
1994
2001
|
]));
|
|
1995
2002
|
}
|
|
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 = {
|
|
2003
|
+
}, 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}", Pi = ".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}", Li = ".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}", Mi = { class: "section-selector" }, ji = ["onClick"], Oi = { class: "section-selector" }, Gi = ["onClick"], Ri = ["onClick"], Yi = ["onClick"], Ui = ["onClick"], Ki = {
|
|
1997
2004
|
__name: "Championship.ce",
|
|
1998
2005
|
props: {
|
|
1999
2006
|
locale: {
|
|
@@ -2026,122 +2033,122 @@ const fi = {
|
|
|
2026
2033
|
}
|
|
2027
2034
|
},
|
|
2028
2035
|
setup(t) {
|
|
2029
|
-
const e = t, r =
|
|
2030
|
-
return (l, c) => (
|
|
2031
|
-
|
|
2036
|
+
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);
|
|
2037
|
+
return (l, c) => (u(), _("div", null, [
|
|
2038
|
+
T(d(ye), {
|
|
2032
2039
|
locale: e.locale,
|
|
2033
2040
|
messages: i
|
|
2034
2041
|
}, {
|
|
2035
|
-
default:
|
|
2036
|
-
|
|
2037
|
-
default:
|
|
2038
|
-
|
|
2042
|
+
default: C(({ t: p }) => [
|
|
2043
|
+
T(d(Ce), null, {
|
|
2044
|
+
default: C(({ error: m, hasError: y }) => [
|
|
2045
|
+
y ? (u(), P(d(Ae), {
|
|
2039
2046
|
key: 0,
|
|
2040
2047
|
error: m
|
|
2041
|
-
}, null, 8, ["error"])) :
|
|
2042
|
-
|
|
2048
|
+
}, null, 8, ["error"])) : D("", !0),
|
|
2049
|
+
T(xi, {
|
|
2043
2050
|
locale: t.locale,
|
|
2044
2051
|
timezone: a.value,
|
|
2045
2052
|
"championship-name": t.championshipName,
|
|
2046
2053
|
limit: t.limit,
|
|
2047
2054
|
"initial-phase-id": t.initialPhaseId
|
|
2048
2055
|
}, {
|
|
2049
|
-
default:
|
|
2050
|
-
sort:
|
|
2051
|
-
page:
|
|
2052
|
-
games:
|
|
2053
|
-
phases:
|
|
2056
|
+
default: C(({
|
|
2057
|
+
sort: v,
|
|
2058
|
+
page: k,
|
|
2059
|
+
games: b,
|
|
2060
|
+
phases: I,
|
|
2054
2061
|
report: x,
|
|
2055
2062
|
phaseId: z,
|
|
2056
|
-
columns:
|
|
2057
|
-
seasons:
|
|
2058
|
-
reports:
|
|
2063
|
+
columns: w,
|
|
2064
|
+
seasons: h,
|
|
2065
|
+
reports: $,
|
|
2059
2066
|
isLoading: E,
|
|
2060
|
-
selectedPanel:
|
|
2061
|
-
championships:
|
|
2062
|
-
championshipId:
|
|
2063
|
-
selectedChampionshipId:
|
|
2064
|
-
onSort:
|
|
2067
|
+
selectedPanel: S,
|
|
2068
|
+
championships: j,
|
|
2069
|
+
championshipId: L,
|
|
2070
|
+
selectedChampionshipId: J,
|
|
2071
|
+
onSort: se,
|
|
2065
2072
|
changePanel: te,
|
|
2066
|
-
changePhase:
|
|
2067
|
-
changeSeason:
|
|
2068
|
-
onChangeReport:
|
|
2069
|
-
onPaginatorChange:
|
|
2070
|
-
changeChampionship:
|
|
2073
|
+
changePhase: V,
|
|
2074
|
+
changeSeason: N,
|
|
2075
|
+
onChangeReport: G,
|
|
2076
|
+
onPaginatorChange: oe,
|
|
2077
|
+
changeChampionship: F
|
|
2071
2078
|
}) => [
|
|
2072
|
-
|
|
2073
|
-
seasons:
|
|
2074
|
-
"championship-id":
|
|
2075
|
-
"onUpdate:championshipId":
|
|
2079
|
+
T(Si, {
|
|
2080
|
+
seasons: h,
|
|
2081
|
+
"championship-id": L,
|
|
2082
|
+
"onUpdate:championshipId": N
|
|
2076
2083
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2077
|
-
|
|
2078
|
-
(
|
|
2084
|
+
g("div", Mi, [
|
|
2085
|
+
(u(!0), _(R, null, W(j, (re) => (u(), _("button", {
|
|
2079
2086
|
key: re.phaseId,
|
|
2080
|
-
class:
|
|
2081
|
-
onClick: (Ze) =>
|
|
2082
|
-
},
|
|
2087
|
+
class: B(["tab-button", { "is-active": re.sectionId === J }]),
|
|
2088
|
+
onClick: (Ze) => F(re.sectionId)
|
|
2089
|
+
}, f(re.sectionName), 11, ji))), 128))
|
|
2083
2090
|
]),
|
|
2084
|
-
|
|
2085
|
-
phases:
|
|
2091
|
+
T(Di, {
|
|
2092
|
+
phases: I,
|
|
2086
2093
|
"phase-id": z,
|
|
2087
|
-
reports:
|
|
2094
|
+
reports: $,
|
|
2088
2095
|
report: x,
|
|
2089
|
-
"is-reports-visible":
|
|
2090
|
-
"onUpdate:phaseId":
|
|
2091
|
-
"onUpdate:report":
|
|
2096
|
+
"is-reports-visible": S === d(ue) || S === d(Me),
|
|
2097
|
+
"onUpdate:phaseId": V,
|
|
2098
|
+
"onUpdate:report": G
|
|
2092
2099
|
}, 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:
|
|
2100
|
+
g("div", Oi, [
|
|
2101
|
+
g("button", {
|
|
2102
|
+
class: B(["tab-button", { "is-active": S === d(ze) }]),
|
|
2103
|
+
onClick: (re) => te(d(ze))
|
|
2104
|
+
}, f(p("selection.schedule")), 11, Gi),
|
|
2105
|
+
g("button", {
|
|
2106
|
+
class: B(["tab-button", { "is-active": S === d(it) }]),
|
|
2100
2107
|
onClick: (re) => te(d(it))
|
|
2101
|
-
},
|
|
2102
|
-
|
|
2103
|
-
class:
|
|
2104
|
-
onClick: (re) => te(d(
|
|
2105
|
-
},
|
|
2106
|
-
|
|
2107
|
-
class:
|
|
2108
|
-
onClick: (re) => te(d(
|
|
2109
|
-
},
|
|
2108
|
+
}, f(p("selection.standings")), 11, Ri),
|
|
2109
|
+
g("button", {
|
|
2110
|
+
class: B(["tab-button", { "is-active": S === d(ue) }]),
|
|
2111
|
+
onClick: (re) => te(d(ue))
|
|
2112
|
+
}, f(p("selection.playerStats")), 11, Yi),
|
|
2113
|
+
g("button", {
|
|
2114
|
+
class: B(["tab-button", { "is-active": S === d(Me) }]),
|
|
2115
|
+
onClick: (re) => te(d(Me))
|
|
2116
|
+
}, f(p("selection.teamStats")), 11, Ui)
|
|
2110
2117
|
]),
|
|
2111
|
-
|
|
2112
|
-
columns:
|
|
2113
|
-
rows:
|
|
2114
|
-
sort:
|
|
2118
|
+
T(d(Qt), {
|
|
2119
|
+
columns: w,
|
|
2120
|
+
rows: b.rows,
|
|
2121
|
+
sort: v,
|
|
2115
2122
|
"is-loading": E,
|
|
2116
2123
|
"offset-name": o.value,
|
|
2117
2124
|
"external-team-resolver": s,
|
|
2118
2125
|
"external-game-resolver": n,
|
|
2119
2126
|
"append-to": r.value,
|
|
2120
|
-
"hide-columns":
|
|
2121
|
-
onSort:
|
|
2127
|
+
"hide-columns": S === d(ze) ? "broadcast" : "",
|
|
2128
|
+
onSort: se
|
|
2122
2129
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2123
|
-
|
|
2130
|
+
S === d(ue) ? (u(), P(d(Yr), {
|
|
2124
2131
|
key: 0,
|
|
2125
|
-
page:
|
|
2132
|
+
page: k,
|
|
2126
2133
|
"items-per-page": e.limit,
|
|
2127
|
-
"total-items":
|
|
2134
|
+
"total-items": b.totalItems,
|
|
2128
2135
|
"range-length": 5,
|
|
2129
|
-
onChange:
|
|
2130
|
-
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) :
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
rows:
|
|
2136
|
+
onChange: oe
|
|
2137
|
+
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : D("", !0),
|
|
2138
|
+
S === d(it) ? (u(), _(R, { key: 1 }, [
|
|
2139
|
+
T(d(Oe), {
|
|
2140
|
+
rows: b.rows,
|
|
2134
2141
|
"additional-key": "inheritedPoints"
|
|
2135
2142
|
}, null, 8, ["rows"]),
|
|
2136
|
-
|
|
2137
|
-
rows:
|
|
2143
|
+
T(d(Oe), {
|
|
2144
|
+
rows: b.rows,
|
|
2138
2145
|
"additional-key": "penaltyPoints"
|
|
2139
2146
|
}, null, 8, ["rows"])
|
|
2140
|
-
], 64)) :
|
|
2147
|
+
], 64)) : D("", !0)
|
|
2141
2148
|
]),
|
|
2142
2149
|
_: 2
|
|
2143
2150
|
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id"]),
|
|
2144
|
-
|
|
2151
|
+
g("div", {
|
|
2145
2152
|
ref_key: "tooltipContainer",
|
|
2146
2153
|
ref: r
|
|
2147
2154
|
}, null, 512)
|
|
@@ -2153,7 +2160,7 @@ const fi = {
|
|
|
2153
2160
|
}, 8, ["locale"])
|
|
2154
2161
|
]));
|
|
2155
2162
|
}
|
|
2156
|
-
},
|
|
2163
|
+
}, Bi = /* @__PURE__ */ ke(Ki, [["styles", [_e, Xe, Qe, vr, br, hr, fr, Pi, Li]]]), Vi = {
|
|
2157
2164
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2158
2165
|
viewBox: "0 0 24 24",
|
|
2159
2166
|
fill: "none",
|
|
@@ -2162,12 +2169,12 @@ const fi = {
|
|
|
2162
2169
|
"stroke-linecap": "round",
|
|
2163
2170
|
"stroke-linejoin": "round"
|
|
2164
2171
|
};
|
|
2165
|
-
function
|
|
2166
|
-
return
|
|
2167
|
-
|
|
2172
|
+
function Fi(t, e) {
|
|
2173
|
+
return u(), _("svg", Vi, e[0] || (e[0] = [
|
|
2174
|
+
g("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2168
2175
|
]));
|
|
2169
2176
|
}
|
|
2170
|
-
const
|
|
2177
|
+
const qi = { render: Fi }, Hi = {
|
|
2171
2178
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2172
2179
|
viewBox: "0 0 24 24",
|
|
2173
2180
|
fill: "none",
|
|
@@ -2176,15 +2183,15 @@ const Vi = { render: Ki }, Fi = {
|
|
|
2176
2183
|
"stroke-linecap": "round",
|
|
2177
2184
|
"stroke-linejoin": "round"
|
|
2178
2185
|
};
|
|
2179
|
-
function
|
|
2180
|
-
return
|
|
2181
|
-
|
|
2186
|
+
function Wi(t, e) {
|
|
2187
|
+
return u(), _("svg", Hi, e[0] || (e[0] = [
|
|
2188
|
+
g("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2182
2189
|
]));
|
|
2183
2190
|
}
|
|
2184
|
-
const
|
|
2185
|
-
function
|
|
2186
|
-
const { execute: e } =
|
|
2187
|
-
(r) =>
|
|
2191
|
+
const zt = { render: Wi }, yr = Symbol("CarouselContext");
|
|
2192
|
+
function Ji({ apiKey: t }) {
|
|
2193
|
+
const { execute: e } = Ha(
|
|
2194
|
+
(r) => aa("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
|
|
2188
2195
|
{},
|
|
2189
2196
|
{
|
|
2190
2197
|
immediate: !1,
|
|
@@ -2195,20 +2202,20 @@ function qi({ apiKey: t }) {
|
|
|
2195
2202
|
execute: e
|
|
2196
2203
|
};
|
|
2197
2204
|
}
|
|
2198
|
-
function
|
|
2199
|
-
const a =
|
|
2205
|
+
function Xi(t, e, r) {
|
|
2206
|
+
const a = Qi(e, r);
|
|
2200
2207
|
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2201
2208
|
}
|
|
2202
|
-
function
|
|
2209
|
+
function Qi(t, e) {
|
|
2203
2210
|
const r = /* @__PURE__ */ new Map();
|
|
2204
2211
|
for (const a of t)
|
|
2205
2212
|
r.set(a[e], a);
|
|
2206
2213
|
return r;
|
|
2207
2214
|
}
|
|
2208
|
-
function
|
|
2215
|
+
function Vt(t) {
|
|
2209
2216
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2210
2217
|
}
|
|
2211
|
-
const
|
|
2218
|
+
const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "container" }, rn = ["disabled"], an = {
|
|
2212
2219
|
__name: "Carousel",
|
|
2213
2220
|
props: {
|
|
2214
2221
|
initialIndex: {
|
|
@@ -2217,74 +2224,74 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2217
2224
|
}
|
|
2218
2225
|
},
|
|
2219
2226
|
setup(t) {
|
|
2220
|
-
const e = t, r =
|
|
2221
|
-
|
|
2222
|
-
register: (
|
|
2223
|
-
o.value.includes(
|
|
2227
|
+
const e = t, r = Sr("container"), a = O(e.initialIndex), o = O([]);
|
|
2228
|
+
Ir(yr, {
|
|
2229
|
+
register: (y) => {
|
|
2230
|
+
o.value.includes(y) || (o.value.push(y), o.value = Zr(o.value, (v) => pe(r.value).querySelector(`#${v}`)));
|
|
2224
2231
|
},
|
|
2225
|
-
unregister: (
|
|
2226
|
-
const
|
|
2227
|
-
|
|
2232
|
+
unregister: (y) => {
|
|
2233
|
+
const v = o.value.indexOf(y);
|
|
2234
|
+
v !== -1 && o.value.splice(v, 1);
|
|
2228
2235
|
}
|
|
2229
2236
|
});
|
|
2230
|
-
const { arrivedState: n } =
|
|
2231
|
-
() =>
|
|
2237
|
+
const { arrivedState: n } = Ja(r, { onStop: m }), s = A(
|
|
2238
|
+
() => pe(r).querySelector(`#${o.value[a.value]}`)
|
|
2232
2239
|
);
|
|
2233
|
-
|
|
2240
|
+
pt(() => p()), le(
|
|
2234
2241
|
() => e.initialIndex,
|
|
2235
|
-
(
|
|
2236
|
-
a.value =
|
|
2242
|
+
(y) => {
|
|
2243
|
+
a.value = y, Se(() => p());
|
|
2237
2244
|
}
|
|
2238
2245
|
);
|
|
2239
2246
|
function l() {
|
|
2240
|
-
n.left || (a.value--,
|
|
2247
|
+
n.left || (a.value--, p({ behavior: "smooth" }));
|
|
2241
2248
|
}
|
|
2242
2249
|
function c() {
|
|
2243
|
-
n.right || (a.value++,
|
|
2250
|
+
n.right || (a.value++, p({ behavior: "smooth" }));
|
|
2244
2251
|
}
|
|
2245
|
-
function
|
|
2246
|
-
var
|
|
2247
|
-
(
|
|
2252
|
+
function p(y) {
|
|
2253
|
+
var v;
|
|
2254
|
+
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...y });
|
|
2248
2255
|
}
|
|
2249
2256
|
function m() {
|
|
2250
|
-
var
|
|
2251
|
-
const
|
|
2252
|
-
(
|
|
2257
|
+
var k;
|
|
2258
|
+
const y = (k = pe(r).getBoundingClientRect()) == null ? void 0 : k.left, v = Array.from(pe(r).children).findIndex(
|
|
2259
|
+
(b) => Math.round(b.getBoundingClientRect().left - y) >= 0
|
|
2253
2260
|
);
|
|
2254
|
-
a.value =
|
|
2261
|
+
a.value = v;
|
|
2255
2262
|
}
|
|
2256
|
-
return (
|
|
2257
|
-
|
|
2263
|
+
return (y, v) => (u(), _("div", Zi, [
|
|
2264
|
+
g("button", {
|
|
2258
2265
|
type: "button",
|
|
2259
2266
|
disabled: d(n).left,
|
|
2260
2267
|
onClick: l
|
|
2261
2268
|
}, [
|
|
2262
|
-
|
|
2263
|
-
], 8,
|
|
2264
|
-
|
|
2265
|
-
ge(
|
|
2269
|
+
T(d(qi))
|
|
2270
|
+
], 8, en),
|
|
2271
|
+
g("div", tn, [
|
|
2272
|
+
ge(y.$slots, "default")
|
|
2266
2273
|
], 512),
|
|
2267
|
-
|
|
2274
|
+
g("button", {
|
|
2268
2275
|
type: "button",
|
|
2269
2276
|
disabled: d(n).right,
|
|
2270
2277
|
onClick: c
|
|
2271
2278
|
}, [
|
|
2272
|
-
|
|
2273
|
-
], 8,
|
|
2279
|
+
T(d(zt))
|
|
2280
|
+
], 8, rn)
|
|
2274
2281
|
]));
|
|
2275
2282
|
}
|
|
2276
2283
|
}, nt = {
|
|
2277
2284
|
__name: "CarouselItem",
|
|
2278
2285
|
setup(t) {
|
|
2279
|
-
const e = `mjsz-vbr-carousel-item-${
|
|
2280
|
-
return
|
|
2286
|
+
const e = `mjsz-vbr-carousel-item-${$r()}`, r = Tr(yr, null);
|
|
2287
|
+
return pt(() => r == null ? void 0 : r.register(e)), Nr(() => r == null ? void 0 : r.unregister(e)), (a, o) => (u(), _("div", {
|
|
2281
2288
|
id: e,
|
|
2282
2289
|
class: "is-slide"
|
|
2283
2290
|
}, [
|
|
2284
2291
|
ge(a.$slots, "default")
|
|
2285
2292
|
]));
|
|
2286
2293
|
}
|
|
2287
|
-
},
|
|
2294
|
+
}, on = { class: "games-timeline-schedule-link" }, Ft = {
|
|
2288
2295
|
__name: "ExternalSchedule",
|
|
2289
2296
|
props: {
|
|
2290
2297
|
title: {
|
|
@@ -2302,17 +2309,17 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2302
2309
|
function o() {
|
|
2303
2310
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2304
2311
|
}
|
|
2305
|
-
return (i, n) => (
|
|
2306
|
-
|
|
2312
|
+
return (i, n) => (u(), _("div", on, [
|
|
2313
|
+
g("button", {
|
|
2307
2314
|
type: "button",
|
|
2308
2315
|
onClick: o
|
|
2309
2316
|
}, [
|
|
2310
|
-
|
|
2311
|
-
|
|
2317
|
+
ae(f(t.title), 1),
|
|
2318
|
+
T(d(zt))
|
|
2312
2319
|
])
|
|
2313
2320
|
]));
|
|
2314
2321
|
}
|
|
2315
|
-
},
|
|
2322
|
+
}, nn = { class: "score-display" }, sn = { class: "is-score" }, qt = {
|
|
2316
2323
|
__name: "ScoreDisplay",
|
|
2317
2324
|
props: {
|
|
2318
2325
|
score: {
|
|
@@ -2321,24 +2328,24 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2321
2328
|
}
|
|
2322
2329
|
},
|
|
2323
2330
|
setup(t) {
|
|
2324
|
-
return (e, r) => (
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
default:
|
|
2328
|
-
(
|
|
2331
|
+
return (e, r) => (u(), _("div", nn, [
|
|
2332
|
+
g("div", sn, [
|
|
2333
|
+
T(Cr, { name: "is-slide-transition" }, {
|
|
2334
|
+
default: C(() => [
|
|
2335
|
+
(u(), _("span", { key: t.score }, f(t.score), 1))
|
|
2329
2336
|
]),
|
|
2330
2337
|
_: 1
|
|
2331
2338
|
})
|
|
2332
2339
|
])
|
|
2333
2340
|
]));
|
|
2334
2341
|
}
|
|
2335
|
-
},
|
|
2342
|
+
}, ln = {
|
|
2336
2343
|
key: 0,
|
|
2337
2344
|
class: "is-badge"
|
|
2338
|
-
},
|
|
2345
|
+
}, cn = {
|
|
2339
2346
|
key: 1,
|
|
2340
2347
|
class: "is-badge"
|
|
2341
|
-
},
|
|
2348
|
+
}, dn = { class: "is-home-team-logo" }, gn = { class: "is-home-team-name" }, pn = { class: "is-home-team-score" }, un = { class: "is-away-team-logo" }, mn = { class: "is-away-team-name" }, vn = { class: "is-away-team-score" }, bn = { class: "is-status" }, hn = {
|
|
2342
2349
|
__name: "Game",
|
|
2343
2350
|
props: {
|
|
2344
2351
|
gameData: {
|
|
@@ -2352,68 +2359,68 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2352
2359
|
},
|
|
2353
2360
|
emits: ["navigateTo"],
|
|
2354
2361
|
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}` :
|
|
2362
|
+
const r = t, a = e, { t: o } = ne(), i = A(() => {
|
|
2363
|
+
const { gameStatus: s, championshipName: l, divisionName: c, period: p, periodTime: m } = r.gameData;
|
|
2364
|
+
return s !== 1 ? `${l} - ${c}` : p && Vt(p) ? `${o(`game.period.${p}`)} - ${m}` : p && !Vt(p) ? o(`game.period.${p}`) : "";
|
|
2358
2365
|
});
|
|
2359
2366
|
function n() {
|
|
2360
|
-
const {
|
|
2367
|
+
const { externalGameUrl: s, id: l } = r.gameData;
|
|
2361
2368
|
if (s)
|
|
2362
2369
|
return a("navigateTo", { url: s, target: "_blank" });
|
|
2363
|
-
const c =
|
|
2370
|
+
const c = bt(r.externalGameResolver, { gameId: l });
|
|
2364
2371
|
a("navigateTo", { url: c, target: "_self" });
|
|
2365
2372
|
}
|
|
2366
|
-
return (s, l) => (
|
|
2373
|
+
return (s, l) => (u(), _("div", {
|
|
2367
2374
|
class: "games-timeline-game",
|
|
2368
2375
|
onClick: n
|
|
2369
2376
|
}, [
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
t.gameData.isShootout ? (
|
|
2373
|
-
t.gameData.isOvertime ? (
|
|
2377
|
+
g("time", null, [
|
|
2378
|
+
ae(f(t.gameData.gameDateTime) + " ", 1),
|
|
2379
|
+
t.gameData.isShootout ? (u(), _("span", ln, f(d(o)("common.shootoutShort")), 1)) : D("", !0),
|
|
2380
|
+
t.gameData.isOvertime ? (u(), _("span", cn, f(d(o)("common.overtimeShort")), 1)) : D("", !0)
|
|
2374
2381
|
]),
|
|
2375
|
-
|
|
2376
|
-
|
|
2382
|
+
g("div", dn, [
|
|
2383
|
+
T(d(me), {
|
|
2377
2384
|
src: t.gameData.homeTeam.logo,
|
|
2378
2385
|
class: "is-team-logo"
|
|
2379
2386
|
}, null, 8, ["src"])
|
|
2380
2387
|
]),
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
t.gameData.homeTeamScore != null ? (
|
|
2388
|
+
g("div", gn, f(t.gameData.homeTeam.longName), 1),
|
|
2389
|
+
g("div", pn, [
|
|
2390
|
+
t.gameData.homeTeamScore != null ? (u(), P(qt, {
|
|
2384
2391
|
key: 0,
|
|
2385
|
-
class:
|
|
2392
|
+
class: B(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2386
2393
|
score: t.gameData.homeTeamScore
|
|
2387
2394
|
}, {
|
|
2388
|
-
default:
|
|
2389
|
-
|
|
2395
|
+
default: C(() => [
|
|
2396
|
+
ae(f(t.gameData.homeTeamScore), 1)
|
|
2390
2397
|
]),
|
|
2391
2398
|
_: 1
|
|
2392
|
-
}, 8, ["class", "score"])) :
|
|
2399
|
+
}, 8, ["class", "score"])) : D("", !0)
|
|
2393
2400
|
]),
|
|
2394
|
-
|
|
2395
|
-
|
|
2401
|
+
g("div", un, [
|
|
2402
|
+
T(d(me), {
|
|
2396
2403
|
src: t.gameData.awayTeam.logo,
|
|
2397
2404
|
class: "is-team-logo"
|
|
2398
2405
|
}, null, 8, ["src"])
|
|
2399
2406
|
]),
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
t.gameData.awayTeamScore != null ? (
|
|
2407
|
+
g("div", mn, f(t.gameData.awayTeam.longName), 1),
|
|
2408
|
+
g("div", vn, [
|
|
2409
|
+
t.gameData.awayTeamScore != null ? (u(), P(qt, {
|
|
2403
2410
|
key: 0,
|
|
2404
2411
|
score: t.gameData.awayTeamScore,
|
|
2405
|
-
class:
|
|
2412
|
+
class: B(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2406
2413
|
}, {
|
|
2407
|
-
default:
|
|
2408
|
-
|
|
2414
|
+
default: C(() => [
|
|
2415
|
+
ae(f(t.gameData.awayTeamScore), 1)
|
|
2409
2416
|
]),
|
|
2410
2417
|
_: 1
|
|
2411
|
-
}, 8, ["score", "class"])) :
|
|
2418
|
+
}, 8, ["score", "class"])) : D("", !0)
|
|
2412
2419
|
]),
|
|
2413
|
-
|
|
2420
|
+
g("div", bn, f(i.value), 1)
|
|
2414
2421
|
]));
|
|
2415
2422
|
}
|
|
2416
|
-
},
|
|
2423
|
+
}, fn = {
|
|
2417
2424
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2418
2425
|
viewBox: "0 0 24 24",
|
|
2419
2426
|
fill: "none",
|
|
@@ -2422,16 +2429,16 @@ const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "containe
|
|
|
2422
2429
|
"stroke-linecap": "round",
|
|
2423
2430
|
"stroke-linejoin": "round"
|
|
2424
2431
|
};
|
|
2425
|
-
function
|
|
2426
|
-
return
|
|
2427
|
-
|
|
2428
|
-
|
|
2432
|
+
function yn(t, e) {
|
|
2433
|
+
return u(), _("svg", fn, e[0] || (e[0] = [
|
|
2434
|
+
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),
|
|
2435
|
+
g("line", {
|
|
2429
2436
|
x1: "12",
|
|
2430
2437
|
y1: "9",
|
|
2431
2438
|
x2: "12",
|
|
2432
2439
|
y2: "13"
|
|
2433
2440
|
}, null, -1),
|
|
2434
|
-
|
|
2441
|
+
g("line", {
|
|
2435
2442
|
x1: "12",
|
|
2436
2443
|
y1: "17",
|
|
2437
2444
|
x2: "12.01",
|
|
@@ -2439,27 +2446,27 @@ function bn(t, e) {
|
|
|
2439
2446
|
}, null, -1)
|
|
2440
2447
|
]));
|
|
2441
2448
|
}
|
|
2442
|
-
const
|
|
2449
|
+
const wn = { render: yn }, xn = { class: "games-timeline-error-indicator" }, _n = {
|
|
2443
2450
|
__name: "TryAgain",
|
|
2444
2451
|
emits: ["tryAgain"],
|
|
2445
2452
|
setup(t, { emit: e }) {
|
|
2446
|
-
const r = e, { t: a } =
|
|
2453
|
+
const r = e, { t: a } = ne();
|
|
2447
2454
|
function o() {
|
|
2448
2455
|
r("tryAgain");
|
|
2449
2456
|
}
|
|
2450
|
-
return (i, n) => (
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2457
|
+
return (i, n) => (u(), _("div", xn, [
|
|
2458
|
+
T(d(wn)),
|
|
2459
|
+
g("div", null, f(d(a)("gamesTimeline.errorText")), 1),
|
|
2460
|
+
g("button", {
|
|
2454
2461
|
type: "button",
|
|
2455
2462
|
onClick: o
|
|
2456
|
-
},
|
|
2463
|
+
}, f(d(a)("gamesTimeline.errorCta")), 1)
|
|
2457
2464
|
]));
|
|
2458
2465
|
}
|
|
2459
|
-
},
|
|
2466
|
+
}, kn = '.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%)}', zn = {
|
|
2460
2467
|
key: 0,
|
|
2461
2468
|
style: { width: "100%" }
|
|
2462
|
-
},
|
|
2469
|
+
}, Sn = {
|
|
2463
2470
|
__name: "GamesTimeline.ce",
|
|
2464
2471
|
props: {
|
|
2465
2472
|
locale: {
|
|
@@ -2484,22 +2491,22 @@ const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn
|
|
|
2484
2491
|
}
|
|
2485
2492
|
},
|
|
2486
2493
|
setup(t) {
|
|
2487
|
-
const e = t, r = { en:
|
|
2494
|
+
const e = t, r = { en: we, hu: xe }, a = Fe();
|
|
2488
2495
|
let o = [];
|
|
2489
|
-
const i =
|
|
2496
|
+
const i = O(!1), { state: n, execute: s } = ee({
|
|
2490
2497
|
options: {
|
|
2491
2498
|
path: e.servicePath,
|
|
2492
2499
|
apiKey: e.apiKey,
|
|
2493
2500
|
params: {},
|
|
2494
2501
|
immediate: !0
|
|
2495
2502
|
},
|
|
2496
|
-
transform: (x) =>
|
|
2503
|
+
transform: (x) => Xi(x, n.value, "id").reverse(),
|
|
2497
2504
|
onError: () => {
|
|
2498
2505
|
i.value = !0;
|
|
2499
2506
|
},
|
|
2500
|
-
onSuccess:
|
|
2507
|
+
onSuccess: v
|
|
2501
2508
|
}), { resume: l, pause: c } = Ct(s, 1e3 * 60 * 5);
|
|
2502
|
-
|
|
2509
|
+
oa(
|
|
2503
2510
|
!0,
|
|
2504
2511
|
() => {
|
|
2505
2512
|
s(), l();
|
|
@@ -2508,89 +2515,89 @@ const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn
|
|
|
2508
2515
|
c(), o.map((x) => x == null ? void 0 : x()), o = [];
|
|
2509
2516
|
}
|
|
2510
2517
|
);
|
|
2511
|
-
const
|
|
2518
|
+
const p = A(() => ot(n.value) ? 0 : n.value.findIndex((x) => !er(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), m = A(
|
|
2512
2519
|
() => n.value.map((x) => ({
|
|
2513
2520
|
...x,
|
|
2514
|
-
gameDateTime: `${
|
|
2521
|
+
gameDateTime: `${Q(x.gameDate, "L LT", a, e.locale)} (${Ve(
|
|
2515
2522
|
x.gameDate,
|
|
2516
2523
|
a,
|
|
2517
2524
|
e.locale
|
|
2518
2525
|
)})`
|
|
2519
2526
|
}))
|
|
2520
|
-
), { execute:
|
|
2521
|
-
async function
|
|
2527
|
+
), { execute: y } = Ji({ apiKey: e.apiKey });
|
|
2528
|
+
async function v() {
|
|
2522
2529
|
i.value = !1, o.map((z) => z == null ? void 0 : z()), o = [];
|
|
2523
2530
|
const x = n.value.filter((z) => z.gameStatus === 1);
|
|
2524
2531
|
for (let z = 0; z < x.length; z++) {
|
|
2525
|
-
const
|
|
2526
|
-
|
|
2527
|
-
const { pause:
|
|
2528
|
-
o.push(
|
|
2532
|
+
const w = x[z].id;
|
|
2533
|
+
y(0, { gameId: w }).then(($) => k($));
|
|
2534
|
+
const { pause: h } = Ct(() => y(0, { gameId: w }).then(($) => k($)), 6e4);
|
|
2535
|
+
o.push(h);
|
|
2529
2536
|
}
|
|
2530
2537
|
}
|
|
2531
|
-
function
|
|
2532
|
-
const { gameId: z, gameStatus:
|
|
2533
|
-
|
|
2538
|
+
function k(x = {}) {
|
|
2539
|
+
const { gameId: z, gameStatus: w, homeTeamScore: h, awayTeamScore: $, period: E, periodTime: S } = x, j = n.value.find((L) => L.id === z);
|
|
2540
|
+
j.gameStatus = w, j.homeTeamScore = h, j.awayTeamScore = $, j.period = E, j.periodTime = S, Ar(n);
|
|
2534
2541
|
}
|
|
2535
|
-
function
|
|
2542
|
+
function b({ url: x, target: z }) {
|
|
2536
2543
|
window.open(x, z);
|
|
2537
2544
|
}
|
|
2538
|
-
function
|
|
2545
|
+
function I() {
|
|
2539
2546
|
i.value = !1, s();
|
|
2540
2547
|
}
|
|
2541
|
-
return (x, z) => (
|
|
2548
|
+
return (x, z) => (u(), P(d(ye), {
|
|
2542
2549
|
locale: t.locale,
|
|
2543
2550
|
messages: r
|
|
2544
2551
|
}, {
|
|
2545
|
-
default:
|
|
2546
|
-
|
|
2547
|
-
default:
|
|
2548
|
-
d(ot)(d(n)) && !i.value ? (
|
|
2549
|
-
|
|
2550
|
-
])) : i.value && d(ot)(d(n)) ? (
|
|
2552
|
+
default: C(({ t: w }) => [
|
|
2553
|
+
T(an, { "initial-index": p.value }, {
|
|
2554
|
+
default: C(() => [
|
|
2555
|
+
d(ot)(d(n)) && !i.value ? (u(), _("div", zn, [
|
|
2556
|
+
T(d(vt))
|
|
2557
|
+
])) : i.value && d(ot)(d(n)) ? (u(), P(_n, {
|
|
2551
2558
|
key: 1,
|
|
2552
|
-
onTryAgain:
|
|
2553
|
-
})) : (
|
|
2554
|
-
|
|
2555
|
-
default:
|
|
2556
|
-
|
|
2559
|
+
onTryAgain: I
|
|
2560
|
+
})) : (u(), _(R, { key: 2 }, [
|
|
2561
|
+
T(nt, null, {
|
|
2562
|
+
default: C(() => [
|
|
2563
|
+
T(Ft, {
|
|
2557
2564
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2558
|
-
title:
|
|
2559
|
-
onNavigateTo:
|
|
2565
|
+
title: w("gamesTimeline.allSchedule"),
|
|
2566
|
+
onNavigateTo: b
|
|
2560
2567
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2561
2568
|
]),
|
|
2562
2569
|
_: 2
|
|
2563
2570
|
}, 1024),
|
|
2564
|
-
(
|
|
2565
|
-
const
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2571
|
+
(u(!0), _(R, null, W(m.value, (h, $, E, S) => {
|
|
2572
|
+
const j = [
|
|
2573
|
+
h.gameDateTime,
|
|
2574
|
+
h.gameStatus,
|
|
2575
|
+
h.homeTeamScore,
|
|
2576
|
+
h.awayTeamScore,
|
|
2577
|
+
h.period,
|
|
2578
|
+
h.actualTime
|
|
2572
2579
|
];
|
|
2573
|
-
if (
|
|
2574
|
-
const
|
|
2575
|
-
key:
|
|
2580
|
+
if (S && S.key === h.id && Er(S, j)) return S;
|
|
2581
|
+
const L = (u(), P(nt, {
|
|
2582
|
+
key: h.id
|
|
2576
2583
|
}, {
|
|
2577
|
-
default:
|
|
2578
|
-
|
|
2579
|
-
"game-data":
|
|
2584
|
+
default: C(() => [
|
|
2585
|
+
T(hn, {
|
|
2586
|
+
"game-data": h,
|
|
2580
2587
|
"external-game-resolver": t.externalGameResolver,
|
|
2581
|
-
onNavigateTo:
|
|
2588
|
+
onNavigateTo: b
|
|
2582
2589
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2583
2590
|
]),
|
|
2584
2591
|
_: 2
|
|
2585
2592
|
}, 1024));
|
|
2586
|
-
return
|
|
2593
|
+
return L.memo = j, L;
|
|
2587
2594
|
}, z, 0), 128)),
|
|
2588
|
-
|
|
2589
|
-
default:
|
|
2590
|
-
|
|
2595
|
+
T(nt, null, {
|
|
2596
|
+
default: C(() => [
|
|
2597
|
+
T(Ft, {
|
|
2591
2598
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2592
|
-
title:
|
|
2593
|
-
onNavigateTo:
|
|
2599
|
+
title: w("gamesTimeline.allSchedule"),
|
|
2600
|
+
onNavigateTo: b
|
|
2594
2601
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2595
2602
|
]),
|
|
2596
2603
|
_: 2
|
|
@@ -2603,17 +2610,17 @@ const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn
|
|
|
2603
2610
|
_: 1
|
|
2604
2611
|
}, 8, ["locale"]));
|
|
2605
2612
|
}
|
|
2606
|
-
},
|
|
2607
|
-
function
|
|
2608
|
-
e.seasonsList = t, e.seasonId =
|
|
2613
|
+
}, In = /* @__PURE__ */ ke(Sn, [["styles", [_e, kn]]]);
|
|
2614
|
+
function $n(t, e) {
|
|
2615
|
+
e.seasonsList = t, e.seasonId = De(H, ie("id"))(t);
|
|
2609
2616
|
}
|
|
2610
|
-
function
|
|
2611
|
-
e.championshipList = t, e.championshipId =
|
|
2617
|
+
function Tn(t, e) {
|
|
2618
|
+
e.championshipList = t, e.championshipId = De(H, ie("championshipId"))(t);
|
|
2612
2619
|
}
|
|
2613
|
-
function
|
|
2614
|
-
e.sections = t, e.sectionId =
|
|
2620
|
+
function Nn(t, e) {
|
|
2621
|
+
e.sections = t, e.sectionId = De(H, ie("sectionId"))(t);
|
|
2615
2622
|
}
|
|
2616
|
-
const
|
|
2623
|
+
const Cn = {
|
|
2617
2624
|
__name: "DataProvider",
|
|
2618
2625
|
props: {
|
|
2619
2626
|
apiKey: {
|
|
@@ -2626,20 +2633,20 @@ const $n = {
|
|
|
2626
2633
|
}
|
|
2627
2634
|
},
|
|
2628
2635
|
setup(t) {
|
|
2629
|
-
const e = t, r =
|
|
2636
|
+
const e = t, r = ce({
|
|
2630
2637
|
seasonsList: [],
|
|
2631
2638
|
seasonId: null,
|
|
2632
2639
|
championshipList: [],
|
|
2633
2640
|
championshipId: null,
|
|
2634
2641
|
sections: [],
|
|
2635
2642
|
sectionId: null
|
|
2636
|
-
}), { onError: a } =
|
|
2643
|
+
}), { onError: a } = Ee(), { isLoading: o, execute: i } = ee({
|
|
2637
2644
|
options: {
|
|
2638
2645
|
path: "/v2/all-season-list",
|
|
2639
2646
|
apiKey: e.apiKey,
|
|
2640
2647
|
params: {}
|
|
2641
2648
|
},
|
|
2642
|
-
transform: (
|
|
2649
|
+
transform: (b) => $n(b, r),
|
|
2643
2650
|
onError: a
|
|
2644
2651
|
}), { isLoading: n, execute: s } = ee({
|
|
2645
2652
|
options: {
|
|
@@ -2647,7 +2654,7 @@ const $n = {
|
|
|
2647
2654
|
apiKey: e.apiKey,
|
|
2648
2655
|
params: A(() => ({ seasonId: r.seasonId }))
|
|
2649
2656
|
},
|
|
2650
|
-
transform: (
|
|
2657
|
+
transform: (b) => Tn(b, r),
|
|
2651
2658
|
onError: a
|
|
2652
2659
|
}), {
|
|
2653
2660
|
isLoading: l,
|
|
@@ -2658,39 +2665,39 @@ const $n = {
|
|
|
2658
2665
|
apiKey: e.apiKey,
|
|
2659
2666
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2660
2667
|
},
|
|
2661
|
-
transform: (
|
|
2668
|
+
transform: (b) => Nn(b, r),
|
|
2662
2669
|
onError: a
|
|
2663
|
-
}),
|
|
2664
|
-
var
|
|
2665
|
-
return ((
|
|
2670
|
+
}), p = A(() => {
|
|
2671
|
+
var b, I;
|
|
2672
|
+
return ((I = (b = r.sections) == null ? void 0 : b.find((x) => x.sectionId === r.sectionId)) == null ? void 0 : I.phases) ?? [];
|
|
2666
2673
|
});
|
|
2667
|
-
|
|
2674
|
+
he([i, s, c]);
|
|
2668
2675
|
const m = A(() => [o.value, n.value, l.value].some(Boolean));
|
|
2669
|
-
function
|
|
2670
|
-
r.seasonId =
|
|
2676
|
+
function y(b) {
|
|
2677
|
+
r.seasonId = b, he([s, c]);
|
|
2671
2678
|
}
|
|
2672
|
-
function b
|
|
2673
|
-
r.championshipId =
|
|
2679
|
+
function v(b) {
|
|
2680
|
+
r.championshipId = b, c();
|
|
2674
2681
|
}
|
|
2675
|
-
function
|
|
2676
|
-
r.sectionId =
|
|
2682
|
+
function k(b) {
|
|
2683
|
+
r.sectionId = b;
|
|
2677
2684
|
}
|
|
2678
|
-
return (
|
|
2685
|
+
return (b, I) => ge(b.$slots, "default", Te(Ne({
|
|
2679
2686
|
...r,
|
|
2680
2687
|
isLoading: m.value,
|
|
2681
|
-
phaseData:
|
|
2682
|
-
onChangeSeason:
|
|
2683
|
-
onChangeSection:
|
|
2684
|
-
onChangeChampionship:
|
|
2688
|
+
phaseData: p.value,
|
|
2689
|
+
onChangeSeason: y,
|
|
2690
|
+
onChangeSection: k,
|
|
2691
|
+
onChangeChampionship: v
|
|
2685
2692
|
})));
|
|
2686
2693
|
}
|
|
2687
|
-
},
|
|
2694
|
+
}, An = { class: "is-mb-5" }, En = {
|
|
2688
2695
|
for: "season",
|
|
2689
2696
|
class: "label"
|
|
2690
|
-
},
|
|
2697
|
+
}, Dn = ["value"], Pn = {
|
|
2691
2698
|
for: "season",
|
|
2692
2699
|
class: "label"
|
|
2693
|
-
},
|
|
2700
|
+
}, Ln = ["value"], Mn = {
|
|
2694
2701
|
__name: "Selector",
|
|
2695
2702
|
props: {
|
|
2696
2703
|
seasonsList: {
|
|
@@ -2712,46 +2719,46 @@ const $n = {
|
|
|
2712
2719
|
},
|
|
2713
2720
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2714
2721
|
setup(t, { emit: e }) {
|
|
2715
|
-
const r = t, a = e, { t: o } =
|
|
2716
|
-
return (s, l) => (
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2722
|
+
const r = t, a = e, { t: o } = ne(), { seasonId: i, championshipId: n } = yt(r, a);
|
|
2723
|
+
return (s, l) => (u(), _(R, null, [
|
|
2724
|
+
g("div", An, [
|
|
2725
|
+
g("label", En, f(d(o)("selection.seasons")), 1),
|
|
2726
|
+
T(d(ve), {
|
|
2720
2727
|
id: "season",
|
|
2721
2728
|
modelValue: d(i),
|
|
2722
2729
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null)
|
|
2723
2730
|
}, {
|
|
2724
|
-
default:
|
|
2725
|
-
(
|
|
2731
|
+
default: C(() => [
|
|
2732
|
+
(u(!0), _(R, null, W(t.seasonsList, (c) => (u(), _("option", {
|
|
2726
2733
|
key: c.id,
|
|
2727
2734
|
value: c.id
|
|
2728
|
-
},
|
|
2735
|
+
}, f(c.seasonName), 9, Dn))), 128))
|
|
2729
2736
|
]),
|
|
2730
2737
|
_: 1
|
|
2731
2738
|
}, 8, ["modelValue"])
|
|
2732
2739
|
]),
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2740
|
+
g("div", null, [
|
|
2741
|
+
g("label", Pn, f(d(o)("selection.championships")), 1),
|
|
2742
|
+
T(d(ve), {
|
|
2736
2743
|
id: "season",
|
|
2737
2744
|
modelValue: d(n),
|
|
2738
2745
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
2739
2746
|
}, {
|
|
2740
|
-
default:
|
|
2741
|
-
(
|
|
2747
|
+
default: C(() => [
|
|
2748
|
+
(u(!0), _(R, null, W(t.championshipList, (c) => (u(), _("option", {
|
|
2742
2749
|
key: c.championshipId,
|
|
2743
2750
|
value: c.championshipId
|
|
2744
|
-
},
|
|
2751
|
+
}, f(c.championshipName), 9, Ln))), 128))
|
|
2745
2752
|
]),
|
|
2746
2753
|
_: 1
|
|
2747
2754
|
}, 8, ["modelValue"])
|
|
2748
2755
|
])
|
|
2749
2756
|
], 64));
|
|
2750
2757
|
}
|
|
2751
|
-
},
|
|
2758
|
+
}, jn = ".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}", On = { class: "main-layout" }, Gn = { class: "is-mb-5" }, Rn = { for: "seasonId" }, Yn = ["textContent"], Un = { class: "is-mb-5" }, Kn = { for: "championshipName" }, Bn = ["textContent"], Vn = { class: "is-mb-5" }, Fn = { for: "championshipId" }, qn = ["textContent"], Hn = { class: "is-mb-5" }, Wn = { for: "sections" }, Jn = {
|
|
2752
2759
|
id: "sections",
|
|
2753
2760
|
class: "toggle-group"
|
|
2754
|
-
},
|
|
2761
|
+
}, Xn = ["onClick"], Qn = { class: "is-mb-5" }, Zn = { for: "phases" }, es = ["textContent"], ts = {
|
|
2755
2762
|
__name: "IvrIdentifiers.ce",
|
|
2756
2763
|
props: {
|
|
2757
2764
|
locale: {
|
|
@@ -2764,82 +2771,82 @@ const $n = {
|
|
|
2764
2771
|
}
|
|
2765
2772
|
},
|
|
2766
2773
|
setup(t) {
|
|
2767
|
-
const e = t, r = { en:
|
|
2768
|
-
return (a, o) => (
|
|
2774
|
+
const e = t, r = { en: we, hu: xe };
|
|
2775
|
+
return (a, o) => (u(), P(d(ye), {
|
|
2769
2776
|
locale: e.locale,
|
|
2770
2777
|
messages: r
|
|
2771
2778
|
}, {
|
|
2772
|
-
default:
|
|
2773
|
-
|
|
2774
|
-
default:
|
|
2775
|
-
s ? (
|
|
2779
|
+
default: C(({ t: i }) => [
|
|
2780
|
+
T(d(Ce), null, {
|
|
2781
|
+
default: C(({ error: n, hasError: s }) => [
|
|
2782
|
+
s ? (u(), P(d(Ae), {
|
|
2776
2783
|
key: 0,
|
|
2777
2784
|
error: n
|
|
2778
|
-
}, null, 8, ["error"])) :
|
|
2779
|
-
|
|
2780
|
-
default:
|
|
2785
|
+
}, null, 8, ["error"])) : D("", !0),
|
|
2786
|
+
T(Cn, null, {
|
|
2787
|
+
default: C(({
|
|
2781
2788
|
seasonsList: l,
|
|
2782
2789
|
seasonId: c,
|
|
2783
|
-
championshipList:
|
|
2790
|
+
championshipList: p,
|
|
2784
2791
|
championshipId: m,
|
|
2785
|
-
sections:
|
|
2786
|
-
sectionId:
|
|
2787
|
-
phaseData:
|
|
2788
|
-
onChangeSeason:
|
|
2789
|
-
onChangeSection:
|
|
2792
|
+
sections: y,
|
|
2793
|
+
sectionId: v,
|
|
2794
|
+
phaseData: k,
|
|
2795
|
+
onChangeSeason: b,
|
|
2796
|
+
onChangeSection: I,
|
|
2790
2797
|
onChangeChampionship: x
|
|
2791
2798
|
}) => {
|
|
2792
2799
|
var z;
|
|
2793
2800
|
return [
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2801
|
+
g("div", On, [
|
|
2802
|
+
g("div", null, [
|
|
2803
|
+
T(Mn, {
|
|
2797
2804
|
"seasons-list": l,
|
|
2798
2805
|
"season-id": c,
|
|
2799
|
-
"championship-list":
|
|
2806
|
+
"championship-list": p,
|
|
2800
2807
|
"championship-id": m,
|
|
2801
|
-
"onUpdate:seasonId":
|
|
2808
|
+
"onUpdate:seasonId": b,
|
|
2802
2809
|
"onUpdate:championshipId": x
|
|
2803
2810
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2804
2811
|
]),
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2812
|
+
g("div", null, [
|
|
2813
|
+
g("section", Gn, [
|
|
2814
|
+
g("label", Rn, f(i("selection.seasonId")), 1),
|
|
2815
|
+
g("p", {
|
|
2809
2816
|
id: "seasonId",
|
|
2810
|
-
textContent:
|
|
2811
|
-
}, null, 8,
|
|
2817
|
+
textContent: f(c)
|
|
2818
|
+
}, null, 8, Yn)
|
|
2812
2819
|
]),
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2820
|
+
g("section", Un, [
|
|
2821
|
+
g("label", Kn, f(i("selection.championshipName")), 1),
|
|
2822
|
+
g("p", {
|
|
2816
2823
|
id: "championshipName",
|
|
2817
|
-
textContent:
|
|
2818
|
-
}, null, 8,
|
|
2824
|
+
textContent: f((z = p.find((w) => w.championshipId === m)) == null ? void 0 : z.championshipName)
|
|
2825
|
+
}, null, 8, Bn)
|
|
2819
2826
|
]),
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2827
|
+
g("section", Vn, [
|
|
2828
|
+
g("label", Fn, f(i("selection.championshipId")), 1),
|
|
2829
|
+
g("p", {
|
|
2823
2830
|
id: "championshipId",
|
|
2824
|
-
textContent:
|
|
2825
|
-
}, null, 8,
|
|
2831
|
+
textContent: f(m)
|
|
2832
|
+
}, null, 8, qn)
|
|
2826
2833
|
]),
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
(
|
|
2831
|
-
key:
|
|
2832
|
-
class:
|
|
2833
|
-
onClick: (
|
|
2834
|
-
}, w
|
|
2834
|
+
g("section", Hn, [
|
|
2835
|
+
g("label", Wn, f(i("selection.sections")) + ":", 1),
|
|
2836
|
+
g("div", Jn, [
|
|
2837
|
+
(u(!0), _(R, null, W(y, (w) => (u(), _("button", {
|
|
2838
|
+
key: w.sectionId,
|
|
2839
|
+
class: B({ "is-active": w.sectionId === v }),
|
|
2840
|
+
onClick: (h) => I(w.sectionId)
|
|
2841
|
+
}, f(w.sectionName), 11, Xn))), 128))
|
|
2835
2842
|
])
|
|
2836
2843
|
]),
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2844
|
+
g("section", Qn, [
|
|
2845
|
+
g("label", Zn, f(i("selection.phasesDivision")) + ":", 1),
|
|
2846
|
+
g("pre", {
|
|
2840
2847
|
id: "phases",
|
|
2841
|
-
textContent:
|
|
2842
|
-
}, null, 8,
|
|
2848
|
+
textContent: f(k)
|
|
2849
|
+
}, null, 8, es)
|
|
2843
2850
|
])
|
|
2844
2851
|
])
|
|
2845
2852
|
])
|
|
@@ -2854,10 +2861,10 @@ const $n = {
|
|
|
2854
2861
|
_: 1
|
|
2855
2862
|
}, 8, ["locale"]));
|
|
2856
2863
|
}
|
|
2857
|
-
},
|
|
2864
|
+
}, rs = /* @__PURE__ */ ke(ts, [["styles", [_e, Xe, Qe, jn]], ["__scopeId", "data-v-10915a30"]]), as = { class: "g-row" }, os = {
|
|
2858
2865
|
for: "season",
|
|
2859
2866
|
class: "label"
|
|
2860
|
-
},
|
|
2867
|
+
}, is = ["value"], ns = ["onClick"], ss = {
|
|
2861
2868
|
__name: "SeasonSelector",
|
|
2862
2869
|
props: {
|
|
2863
2870
|
seasons: {
|
|
@@ -2879,7 +2886,7 @@ const $n = {
|
|
|
2879
2886
|
},
|
|
2880
2887
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2881
2888
|
setup(t, { emit: e }) {
|
|
2882
|
-
const r = t, a = e, { t: o } =
|
|
2889
|
+
const r = t, a = e, { t: o } = ne(), i = A({
|
|
2883
2890
|
get() {
|
|
2884
2891
|
return r.championshipId;
|
|
2885
2892
|
},
|
|
@@ -2890,48 +2897,48 @@ const $n = {
|
|
|
2890
2897
|
function n(s) {
|
|
2891
2898
|
a("onChangeSection", s);
|
|
2892
2899
|
}
|
|
2893
|
-
return (s, l) => (
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2900
|
+
return (s, l) => (u(), _(R, null, [
|
|
2901
|
+
g("div", as, [
|
|
2902
|
+
g("div", null, [
|
|
2903
|
+
g("label", os, f(d(o)("selection.season")), 1),
|
|
2904
|
+
T(d(ve), {
|
|
2898
2905
|
id: "season",
|
|
2899
2906
|
modelValue: i.value,
|
|
2900
2907
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2901
2908
|
}, {
|
|
2902
|
-
default:
|
|
2903
|
-
(
|
|
2909
|
+
default: C(() => [
|
|
2910
|
+
(u(!0), _(R, null, W(t.seasons, (c) => (u(), _("option", {
|
|
2904
2911
|
key: c.championshipId,
|
|
2905
2912
|
value: c.championshipId
|
|
2906
|
-
},
|
|
2913
|
+
}, f(c.seasonName), 9, is))), 128))
|
|
2907
2914
|
]),
|
|
2908
2915
|
_: 1
|
|
2909
2916
|
}, 8, ["modelValue"])
|
|
2910
2917
|
])
|
|
2911
2918
|
]),
|
|
2912
|
-
|
|
2913
|
-
(
|
|
2919
|
+
g("div", null, [
|
|
2920
|
+
(u(!0), _(R, null, W(t.sections, (c) => (u(), _("button", {
|
|
2914
2921
|
key: c.phaseId,
|
|
2915
|
-
class:
|
|
2916
|
-
onClick: (
|
|
2917
|
-
},
|
|
2922
|
+
class: B(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2923
|
+
onClick: (p) => n(c)
|
|
2924
|
+
}, f(c.sectionName), 11, ns))), 128))
|
|
2918
2925
|
])
|
|
2919
2926
|
], 64));
|
|
2920
2927
|
}
|
|
2921
2928
|
};
|
|
2922
|
-
function
|
|
2929
|
+
function ls(t, e) {
|
|
2923
2930
|
if (t.length === 0)
|
|
2924
|
-
throw new
|
|
2925
|
-
e.seasons =
|
|
2931
|
+
throw new tr(Ge.message, Ge.options);
|
|
2932
|
+
e.seasons = ds(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
|
|
2926
2933
|
}
|
|
2927
|
-
function
|
|
2934
|
+
function cs(t, e) {
|
|
2928
2935
|
var r;
|
|
2929
|
-
e.sections =
|
|
2936
|
+
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
2937
|
}
|
|
2931
|
-
function
|
|
2932
|
-
return
|
|
2938
|
+
function ds(t) {
|
|
2939
|
+
return kt(mr(gr(ie("seasonName"))), _t(ur(["championshipId", "seasonName"])))(t);
|
|
2933
2940
|
}
|
|
2934
|
-
const
|
|
2941
|
+
const gs = {
|
|
2935
2942
|
gameName: {
|
|
2936
2943
|
label: "table.gameName.short",
|
|
2937
2944
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2968,13 +2975,13 @@ const ls = {
|
|
|
2968
2975
|
class: "is-text-left"
|
|
2969
2976
|
}
|
|
2970
2977
|
};
|
|
2971
|
-
function
|
|
2972
|
-
return (e) =>
|
|
2978
|
+
function ps(t) {
|
|
2979
|
+
return (e) => _t((r) => ({
|
|
2973
2980
|
...r,
|
|
2974
2981
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2975
2982
|
}))(e);
|
|
2976
2983
|
}
|
|
2977
|
-
const
|
|
2984
|
+
const us = {
|
|
2978
2985
|
__name: "DataProvider",
|
|
2979
2986
|
props: {
|
|
2980
2987
|
championshipName: {
|
|
@@ -3003,19 +3010,19 @@ const ds = {
|
|
|
3003
3010
|
}
|
|
3004
3011
|
},
|
|
3005
3012
|
setup(t) {
|
|
3006
|
-
const e = t, r =
|
|
3013
|
+
const e = t, r = ce({
|
|
3007
3014
|
seasons: [],
|
|
3008
3015
|
championshipId: null,
|
|
3009
3016
|
sections: [],
|
|
3010
3017
|
sectionId: null,
|
|
3011
3018
|
phaseId: null
|
|
3012
|
-
}), { onError: a } =
|
|
3019
|
+
}), { onError: a } = Ee(), { isLoading: o, execute: i } = ee({
|
|
3013
3020
|
options: {
|
|
3014
3021
|
path: "/v2/championship-seasons",
|
|
3015
3022
|
apiKey: e.apiKey,
|
|
3016
3023
|
params: { championshipName: e.championshipName }
|
|
3017
3024
|
},
|
|
3018
|
-
transform: (
|
|
3025
|
+
transform: (b) => ls(b, r),
|
|
3019
3026
|
onError: a
|
|
3020
3027
|
}), { isLoading: n, execute: s } = ee({
|
|
3021
3028
|
options: {
|
|
@@ -3023,37 +3030,37 @@ const ds = {
|
|
|
3023
3030
|
apiKey: e.apiKey,
|
|
3024
3031
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
3025
3032
|
},
|
|
3026
|
-
transform: (
|
|
3033
|
+
transform: (b) => cs(b, r),
|
|
3027
3034
|
onError: a
|
|
3028
3035
|
}), {
|
|
3029
3036
|
isLoading: l,
|
|
3030
3037
|
state: c,
|
|
3031
|
-
execute:
|
|
3038
|
+
execute: p
|
|
3032
3039
|
} = ee({
|
|
3033
3040
|
options: {
|
|
3034
3041
|
path: "/v2/games-list",
|
|
3035
3042
|
apiKey: e.apiKey,
|
|
3036
3043
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3037
3044
|
},
|
|
3038
|
-
transform: (
|
|
3045
|
+
transform: (b) => De(rr, ps(r.championshipId))(b),
|
|
3039
3046
|
onError: a
|
|
3040
|
-
}), m = A(() =>
|
|
3041
|
-
|
|
3042
|
-
const
|
|
3043
|
-
function b
|
|
3044
|
-
r.championshipId =
|
|
3047
|
+
}), m = A(() => Be(c.value).schedule(e.timezone, e.locale).value());
|
|
3048
|
+
he([i, s, p]);
|
|
3049
|
+
const y = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3050
|
+
function v(b) {
|
|
3051
|
+
r.championshipId = b, he([s, p]);
|
|
3045
3052
|
}
|
|
3046
|
-
function
|
|
3047
|
-
r.sectionId =
|
|
3053
|
+
function k(b) {
|
|
3054
|
+
r.sectionId = b.sectionId, r.phaseId = pr(["phases", 0, "phaseId"], b), p();
|
|
3048
3055
|
}
|
|
3049
|
-
return (
|
|
3056
|
+
return (b, I) => ge(b.$slots, "default", Te(Ne({
|
|
3050
3057
|
rows: m.value,
|
|
3051
|
-
isLoading:
|
|
3052
|
-
values: d(
|
|
3053
|
-
listeners: { onChangeSection:
|
|
3058
|
+
isLoading: y.value,
|
|
3059
|
+
values: d(Co)(["phaseId"], r),
|
|
3060
|
+
listeners: { onChangeSection: k, onChangeSeason: v }
|
|
3054
3061
|
})));
|
|
3055
3062
|
}
|
|
3056
|
-
},
|
|
3063
|
+
}, ms = ["href"], vs = ["href"], bs = {
|
|
3057
3064
|
__name: "ScheduleCupDataTable",
|
|
3058
3065
|
props: {
|
|
3059
3066
|
columns: {
|
|
@@ -3074,47 +3081,47 @@ const ds = {
|
|
|
3074
3081
|
}
|
|
3075
3082
|
},
|
|
3076
3083
|
setup(t) {
|
|
3077
|
-
const e = t, r =
|
|
3084
|
+
const e = t, r = O(null), { columns: a } = ia(
|
|
3078
3085
|
e.columns,
|
|
3079
3086
|
null,
|
|
3080
3087
|
A(() => ({
|
|
3081
3088
|
offsetName: e.offsetName
|
|
3082
3089
|
}))
|
|
3083
|
-
), { t: o } =
|
|
3084
|
-
return (i, n) => (
|
|
3090
|
+
), { t: o } = ne();
|
|
3091
|
+
return (i, n) => (u(), _("div", {
|
|
3085
3092
|
ref_key: "tooltipContainer",
|
|
3086
3093
|
ref: r
|
|
3087
3094
|
}, [
|
|
3088
|
-
|
|
3089
|
-
default:
|
|
3090
|
-
|
|
3095
|
+
T(d(Zt), null, {
|
|
3096
|
+
default: C(() => [
|
|
3097
|
+
T(d(Ur), {
|
|
3091
3098
|
columns: d(a),
|
|
3092
3099
|
rows: t.rows,
|
|
3093
3100
|
"is-loading": t.isLoading,
|
|
3094
3101
|
"append-to": r.value
|
|
3095
3102
|
}, {
|
|
3096
|
-
"cell-homeTeamName":
|
|
3103
|
+
"cell-homeTeamName": C(({ row: s }) => {
|
|
3097
3104
|
var l;
|
|
3098
3105
|
return [
|
|
3099
|
-
|
|
3106
|
+
ae(f(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3100
3107
|
];
|
|
3101
3108
|
}),
|
|
3102
|
-
"cell-location":
|
|
3109
|
+
"cell-location": C(({ row: s }) => {
|
|
3103
3110
|
var l;
|
|
3104
3111
|
return [
|
|
3105
|
-
|
|
3112
|
+
ae(f(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3106
3113
|
];
|
|
3107
3114
|
}),
|
|
3108
|
-
"cell-document":
|
|
3109
|
-
s.schedule ? (
|
|
3115
|
+
"cell-document": C(({ row: s }) => [
|
|
3116
|
+
s.schedule ? (u(), _("a", {
|
|
3110
3117
|
key: 0,
|
|
3111
3118
|
href: s.schedule,
|
|
3112
3119
|
target: "_blank"
|
|
3113
|
-
},
|
|
3120
|
+
}, f(d(o)("schedule")), 9, ms)) : s.registration ? (u(), _("a", {
|
|
3114
3121
|
key: 1,
|
|
3115
3122
|
href: s.registration,
|
|
3116
3123
|
target: "_blank"
|
|
3117
|
-
},
|
|
3124
|
+
}, f(d(o)("registration")), 9, vs)) : D("", !0)
|
|
3118
3125
|
]),
|
|
3119
3126
|
_: 1
|
|
3120
3127
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3123,7 +3130,7 @@ const ds = {
|
|
|
3123
3130
|
})
|
|
3124
3131
|
], 512));
|
|
3125
3132
|
}
|
|
3126
|
-
},
|
|
3133
|
+
}, hs = {
|
|
3127
3134
|
__name: "ScheduleCup.ce",
|
|
3128
3135
|
props: {
|
|
3129
3136
|
locale: {
|
|
@@ -3144,29 +3151,29 @@ const ds = {
|
|
|
3144
3151
|
// },
|
|
3145
3152
|
},
|
|
3146
3153
|
setup(t) {
|
|
3147
|
-
const e = t, r = { en:
|
|
3148
|
-
return (i, n) => (
|
|
3154
|
+
const e = t, r = { en: we, hu: xe }, a = O(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), a.value, e.locale));
|
|
3155
|
+
return (i, n) => (u(), P(d(ye), {
|
|
3149
3156
|
locale: e.locale,
|
|
3150
3157
|
messages: r
|
|
3151
3158
|
}, {
|
|
3152
|
-
default:
|
|
3153
|
-
|
|
3154
|
-
default:
|
|
3155
|
-
l ? (
|
|
3159
|
+
default: C(() => [
|
|
3160
|
+
T(d(Ce), null, {
|
|
3161
|
+
default: C(({ error: s, hasError: l }) => [
|
|
3162
|
+
l ? (u(), P(d(Ae), {
|
|
3156
3163
|
key: 0,
|
|
3157
3164
|
error: s
|
|
3158
|
-
}, null, 8, ["error"])) :
|
|
3159
|
-
|
|
3165
|
+
}, null, 8, ["error"])) : D("", !0),
|
|
3166
|
+
T(us, {
|
|
3160
3167
|
"championship-name": t.championshipName,
|
|
3161
3168
|
locale: t.locale,
|
|
3162
3169
|
timezone: a.value
|
|
3163
3170
|
}, {
|
|
3164
|
-
default:
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
columns: d(
|
|
3171
|
+
default: C(({ rows: c, isLoading: p, values: m, listeners: y }) => [
|
|
3172
|
+
T(ss, Wt(m, Dr(y)), null, 16),
|
|
3173
|
+
T(bs, {
|
|
3174
|
+
columns: d(gs),
|
|
3168
3175
|
rows: c.rows,
|
|
3169
|
-
"is-loading":
|
|
3176
|
+
"is-loading": p,
|
|
3170
3177
|
"offset-name": o.value
|
|
3171
3178
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3172
3179
|
]),
|
|
@@ -3179,19 +3186,19 @@ const ds = {
|
|
|
3179
3186
|
_: 1
|
|
3180
3187
|
}, 8, ["locale"]));
|
|
3181
3188
|
}
|
|
3182
|
-
},
|
|
3189
|
+
}, fs = /* @__PURE__ */ ke(hs, [["styles", [_e, Xe, Qe, vr, br, hr, fr]]]), ys = {
|
|
3183
3190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3184
3191
|
viewBox: "0 0 24 24"
|
|
3185
3192
|
};
|
|
3186
|
-
function
|
|
3187
|
-
return
|
|
3188
|
-
|
|
3193
|
+
function ws(t, e) {
|
|
3194
|
+
return u(), _("svg", ys, e[0] || (e[0] = [
|
|
3195
|
+
g("path", {
|
|
3189
3196
|
fill: "currentColor",
|
|
3190
3197
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3191
3198
|
}, null, -1)
|
|
3192
3199
|
]));
|
|
3193
3200
|
}
|
|
3194
|
-
const
|
|
3201
|
+
const xs = { render: ws }, _s = ["onClick", "onFocus", "onBlur"], ks = { class: "is-dropdown-menu" }, zs = ["onClick"], Ss = /* @__PURE__ */ Object.assign({
|
|
3195
3202
|
inheritAttrs: !1
|
|
3196
3203
|
}, {
|
|
3197
3204
|
__name: "ChampionshipSelector",
|
|
@@ -3212,41 +3219,41 @@ const fs = { render: hs }, ys = ["onClick", "onFocus", "onBlur"], ws = { class:
|
|
|
3212
3219
|
emits: ["change"],
|
|
3213
3220
|
setup(t, { emit: e }) {
|
|
3214
3221
|
const r = e;
|
|
3215
|
-
return (a, o) => (
|
|
3222
|
+
return (a, o) => (u(), P(d(Kr), {
|
|
3216
3223
|
offset: 2,
|
|
3217
3224
|
placement: "bottom-end",
|
|
3218
3225
|
theme: "content",
|
|
3219
3226
|
"append-to": t.target,
|
|
3220
3227
|
"is-arrow-visible": !1
|
|
3221
3228
|
}, {
|
|
3222
|
-
default:
|
|
3223
|
-
|
|
3229
|
+
default: C(({ setRef: i, show: n, hide: s }) => [
|
|
3230
|
+
g("button", {
|
|
3224
3231
|
ref: i,
|
|
3225
3232
|
type: "button",
|
|
3226
|
-
onClick:
|
|
3233
|
+
onClick: Pr(n, ["stop"]),
|
|
3227
3234
|
onFocus: n,
|
|
3228
3235
|
onBlur: s
|
|
3229
3236
|
}, [
|
|
3230
|
-
|
|
3231
|
-
], 40,
|
|
3237
|
+
T(d(xs), { style: { display: "block", height: "20px" } })
|
|
3238
|
+
], 40, _s)
|
|
3232
3239
|
]),
|
|
3233
|
-
content:
|
|
3234
|
-
|
|
3235
|
-
(
|
|
3240
|
+
content: C(() => [
|
|
3241
|
+
g("ul", ks, [
|
|
3242
|
+
(u(!0), _(R, null, W(t.data, (i) => (u(), _("li", {
|
|
3236
3243
|
key: i.championshipId,
|
|
3237
|
-
class:
|
|
3244
|
+
class: B(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
|
|
3238
3245
|
onClick: (n) => r("change", i)
|
|
3239
|
-
},
|
|
3246
|
+
}, f(i.name) + " - " + f(i.phase), 11, zs))), 128))
|
|
3240
3247
|
])
|
|
3241
3248
|
]),
|
|
3242
3249
|
_: 1
|
|
3243
3250
|
}, 8, ["append-to"]));
|
|
3244
3251
|
}
|
|
3245
3252
|
});
|
|
3246
|
-
function
|
|
3247
|
-
return t.map((e) => ({ ...e, w:
|
|
3253
|
+
function Is(t) {
|
|
3254
|
+
return t.map((e) => ({ ...e, w: Yt([e.w, e.otw, e.sow]), l: Yt([e.l, e.otl, e.sol]) }));
|
|
3248
3255
|
}
|
|
3249
|
-
const
|
|
3256
|
+
const $s = {
|
|
3250
3257
|
__name: "DataProvider",
|
|
3251
3258
|
props: {
|
|
3252
3259
|
apiKey: {
|
|
@@ -3259,28 +3266,86 @@ const zs = {
|
|
|
3259
3266
|
}
|
|
3260
3267
|
},
|
|
3261
3268
|
setup(t) {
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3269
|
+
var m, y, v;
|
|
3270
|
+
const e = t, { onError: r, reset: a } = Ee(), o = ce({
|
|
3271
|
+
championshipId: H(e.data).championshipId,
|
|
3272
|
+
phaseId: H(e.data).phaseId,
|
|
3273
|
+
path: ((m = H(e.data)) == null ? void 0 : m.path) ?? "",
|
|
3274
|
+
championshipName: H(e.data).name,
|
|
3275
|
+
phaseName: ((y = H(e.data)) == null ? void 0 : y.phase) ?? null,
|
|
3276
|
+
isPlayoffs: ((v = H(e.data)) == null ? void 0 : v.isPlayoffs) ?? !1
|
|
3277
|
+
}), { state: i, isLoading: n, execute: s } = ee({
|
|
3268
3278
|
options: {
|
|
3269
|
-
path: "/v2/standings",
|
|
3279
|
+
path: A(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3270
3280
|
apiKey: e.apiKey,
|
|
3271
|
-
params: A(() => ({ championshipId:
|
|
3281
|
+
params: A(() => ({ championshipId: o.championshipId, ...!o.isPlayoffs && { phaseId: o.phaseId } })),
|
|
3282
|
+
resetOnExecute: !0,
|
|
3283
|
+
immediate: !0
|
|
3272
3284
|
},
|
|
3273
|
-
transform: (
|
|
3274
|
-
|
|
3275
|
-
})
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3285
|
+
transform: (k) => Is(k),
|
|
3286
|
+
onError: r
|
|
3287
|
+
}), l = A(() => Be(i.value).addContinuousIndex().value()), c = A(() => ({
|
|
3288
|
+
tag: o.path ? "a" : "p",
|
|
3289
|
+
props: {
|
|
3290
|
+
...o.path && { href: o.path }
|
|
3291
|
+
}
|
|
3292
|
+
}));
|
|
3293
|
+
function p({ championshipId: k, phaseId: b, name: I, path: x, phase: z, isPlayoffs: w }) {
|
|
3294
|
+
o.championshipId = k, o.path = x || "", o.phaseId = b, o.championshipName = I, o.phaseName = z, o.isPlayoffs = w || !1, a(), s();
|
|
3280
3295
|
}
|
|
3281
|
-
return (
|
|
3296
|
+
return (k, b) => ge(k.$slots, "default", Te(Ne({ convertedRows: l.value, isLoading: d(n), ...o, componentProps: c.value, onChange: p })));
|
|
3282
3297
|
}
|
|
3283
|
-
},
|
|
3298
|
+
}, Ts = { class: "section-title" }, Ns = { class: "is-team" }, Cs = { class: "is-team-name-short" }, As = { class: "is-team-name-long" }, Es = { class: "is-badge is-extra-large is-dark" }, Ds = { class: "is-team" }, Ps = { class: "is-team-name-short" }, Ls = { class: "is-team-name-long" }, Ms = {
|
|
3299
|
+
__name: "PlayoffsList",
|
|
3300
|
+
props: {
|
|
3301
|
+
playoffs: {
|
|
3302
|
+
type: Array,
|
|
3303
|
+
default: () => []
|
|
3304
|
+
},
|
|
3305
|
+
isLoading: {
|
|
3306
|
+
type: Boolean,
|
|
3307
|
+
default: !1
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
setup(t) {
|
|
3311
|
+
const { t: e } = ne();
|
|
3312
|
+
return (r, a) => (u(), P(d(Zt), { class: "playoffs-minimal" }, {
|
|
3313
|
+
default: C(() => [
|
|
3314
|
+
t.isLoading ? (u(), P(d(vt), { key: 0 })) : D("", !0),
|
|
3315
|
+
(u(!0), _(R, null, W(t.playoffs, (o) => (u(), _("div", {
|
|
3316
|
+
key: `${o.divisionStage2Name}-${o.divisionStageNumber}`,
|
|
3317
|
+
class: "section"
|
|
3318
|
+
}, [
|
|
3319
|
+
g("div", Ts, f(d(e)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
|
|
3320
|
+
g("ul", null, [
|
|
3321
|
+
g("li", Ns, [
|
|
3322
|
+
g("span", Cs, f(o.homeTeam.shortName), 1),
|
|
3323
|
+
g("span", As, f(o.homeTeam.longName), 1)
|
|
3324
|
+
]),
|
|
3325
|
+
g("li", null, [
|
|
3326
|
+
T(d(me), {
|
|
3327
|
+
src: o.homeTeam.logo
|
|
3328
|
+
}, null, 8, ["src"])
|
|
3329
|
+
]),
|
|
3330
|
+
g("li", null, [
|
|
3331
|
+
g("span", Es, f(o.seriesStandings), 1)
|
|
3332
|
+
]),
|
|
3333
|
+
g("li", null, [
|
|
3334
|
+
T(d(me), {
|
|
3335
|
+
src: o.awayTeam.logo
|
|
3336
|
+
}, null, 8, ["src"])
|
|
3337
|
+
]),
|
|
3338
|
+
g("li", Ds, [
|
|
3339
|
+
g("span", Ps, f(o.awayTeam.shortName), 1),
|
|
3340
|
+
g("span", Ls, f(o.awayTeam.longName), 1)
|
|
3341
|
+
])
|
|
3342
|
+
])
|
|
3343
|
+
]))), 128))
|
|
3344
|
+
]),
|
|
3345
|
+
_: 1
|
|
3346
|
+
}));
|
|
3347
|
+
}
|
|
3348
|
+
}, js = ".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}", Os = '.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)}', Gs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Rs = ".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}", Ys = ".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}", Us = ".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}}", Ks = { class: "standings-selector" }, Bs = { class: "standings-selector-title" }, Vs = {
|
|
3284
3349
|
__name: "StandingsSelector.ce",
|
|
3285
3350
|
props: {
|
|
3286
3351
|
locale: {
|
|
@@ -3297,55 +3362,67 @@ const zs = {
|
|
|
3297
3362
|
}
|
|
3298
3363
|
},
|
|
3299
3364
|
setup(t) {
|
|
3300
|
-
const e = t, r = { en:
|
|
3301
|
-
return (i, n) => (
|
|
3365
|
+
const e = t, r = { en: we, hu: xe }, a = O(null), o = A(() => typeof e.data == "string" ? JSON.parse(e.data) : e.data);
|
|
3366
|
+
return (i, n) => (u(), P(d(ye), {
|
|
3302
3367
|
locale: e.locale,
|
|
3303
3368
|
messages: r
|
|
3304
3369
|
}, {
|
|
3305
|
-
default:
|
|
3306
|
-
|
|
3307
|
-
default:
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3370
|
+
default: C(() => [
|
|
3371
|
+
T(d(Ce), null, {
|
|
3372
|
+
default: C(({ error: s, hasError: l }) => [
|
|
3373
|
+
T($s, { data: o.value }, {
|
|
3374
|
+
default: C(({ convertedRows: c, isLoading: p, path: m, phaseName: y, componentProps: v, championshipName: k, phaseId: b, isPlayoffs: I, onChange: x }) => [
|
|
3375
|
+
g("div", Ks, [
|
|
3376
|
+
g("div", Bs, [
|
|
3377
|
+
(u(), P(Lr(v.tag), Wt(v.props, { class: "is-title-text" }), {
|
|
3378
|
+
default: C(() => [
|
|
3379
|
+
g("b", null, f(k), 1),
|
|
3380
|
+
ae(" - " + f(y) + " ", 1),
|
|
3381
|
+
m ? (u(), P(d(zt), { key: 0 })) : D("", !0)
|
|
3382
|
+
]),
|
|
3383
|
+
_: 2
|
|
3384
|
+
}, 1040)),
|
|
3385
|
+
o.value.length > 1 ? (u(), P(Ss, {
|
|
3386
|
+
key: 0,
|
|
3319
3387
|
data: o.value,
|
|
3320
3388
|
selected: b,
|
|
3321
3389
|
target: a.value,
|
|
3322
|
-
onChange:
|
|
3323
|
-
}, null, 8, ["data", "selected", "target", "onChange"])
|
|
3390
|
+
onChange: x
|
|
3391
|
+
}, null, 8, ["data", "selected", "target", "onChange"])) : D("", !0)
|
|
3324
3392
|
]),
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3393
|
+
I ? (u(), P(Ms, {
|
|
3394
|
+
key: 0,
|
|
3395
|
+
playoffs: c.rows,
|
|
3396
|
+
"is-loading": p
|
|
3397
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), P(d(Qt), {
|
|
3398
|
+
key: 1,
|
|
3399
|
+
"is-loading": p,
|
|
3400
|
+
columns: d(Gr),
|
|
3328
3401
|
rows: c.rows,
|
|
3329
3402
|
"append-to": a.value,
|
|
3330
3403
|
"external-team-resolver": () => {
|
|
3331
3404
|
}
|
|
3332
|
-
}, null, 8, ["is-loading", "columns", "rows", "append-to"]),
|
|
3333
|
-
|
|
3405
|
+
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3406
|
+
T(d(Oe), {
|
|
3334
3407
|
rows: c.rows,
|
|
3335
3408
|
"additional-key": "inheritedPoints"
|
|
3336
3409
|
}, null, 8, ["rows"]),
|
|
3337
|
-
|
|
3410
|
+
T(d(Oe), {
|
|
3338
3411
|
rows: c.rows,
|
|
3339
3412
|
"additional-key": "penaltyPoints"
|
|
3340
3413
|
}, null, 8, ["rows"])
|
|
3341
3414
|
]),
|
|
3342
|
-
|
|
3415
|
+
g("div", {
|
|
3343
3416
|
ref_key: "tooltipContainer",
|
|
3344
3417
|
ref: a
|
|
3345
3418
|
}, null, 512)
|
|
3346
3419
|
]),
|
|
3347
3420
|
_: 1
|
|
3348
|
-
}, 8, ["data"])
|
|
3421
|
+
}, 8, ["data"]),
|
|
3422
|
+
l ? (u(), P(d(Ae), {
|
|
3423
|
+
key: 0,
|
|
3424
|
+
error: s
|
|
3425
|
+
}, null, 8, ["error"])) : D("", !0)
|
|
3349
3426
|
]),
|
|
3350
3427
|
_: 1
|
|
3351
3428
|
})
|
|
@@ -3353,26 +3430,26 @@ const zs = {
|
|
|
3353
3430
|
_: 1
|
|
3354
3431
|
}, 8, ["locale"]));
|
|
3355
3432
|
}
|
|
3356
|
-
},
|
|
3357
|
-
function
|
|
3358
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3433
|
+
}, Fs = /* @__PURE__ */ ke(Vs, [["styles", [_e, js, Os, Gs, Rs, Ys, Us]]]), qs = fe(bi), Hs = fe(Bi), Ws = fe(fs), Js = fe(rs), Xs = fe(In), Qs = fe(Fs);
|
|
3434
|
+
function Zs() {
|
|
3435
|
+
customElements.define("mjsz-vbr-calendar", qs), customElements.define("mjsz-vbr-championship", Hs), customElements.define("mjsz-vbr-schedule-cup", Ws), customElements.define("mjsz-vbr-ibr-identifiers", Js), customElements.define("mjsz-vbr-games-timeline", Xs), customElements.define("mjsz-vbr-standings-selector", Qs);
|
|
3359
3436
|
}
|
|
3360
|
-
const
|
|
3361
|
-
install: () =>
|
|
3437
|
+
const sl = {
|
|
3438
|
+
install: () => Zs()
|
|
3362
3439
|
};
|
|
3363
3440
|
export {
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3441
|
+
bi as Calendar,
|
|
3442
|
+
qs as CalendarCE,
|
|
3443
|
+
Bi as Championship,
|
|
3444
|
+
Hs as ChampionshipCE,
|
|
3445
|
+
In as GamesTimeline,
|
|
3446
|
+
Xs as GamesTimelineCE,
|
|
3447
|
+
rs as IVRIdentifiers,
|
|
3448
|
+
Js as IVRIdentifiersCE,
|
|
3449
|
+
fs as ScheduleCup,
|
|
3450
|
+
Ws as ScheduleCupCE,
|
|
3451
|
+
Fs as StandingsSelector,
|
|
3452
|
+
Qs as StandingsSelectorCE,
|
|
3453
|
+
sl as default,
|
|
3454
|
+
Zs as register
|
|
3378
3455
|
};
|