@mjsz-vbr-elements/extended 2.12.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +1219 -1023
- 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.13.1 - 21/01/2025, 20:56:53
|
|
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 Ve, useServices as
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
8
|
+
import { ref as j, isRef as ce, watch as ne, getCurrentScope as fr, onScopeDispose as yr, toValue as U, readonly as wr, onMounted as dt, nextTick as ze, getCurrentInstance as Vt, reactive as se, shallowRef as Pe, computed as A, toRefs as xr, renderSlot as ge, normalizeProps as $e, guardReactiveProps as Ce, unref as d, openBlock as p, createElementBlock as _, createElementVNode as u, normalizeClass as F, createTextVNode as oe, toDisplayString as w, Fragment as R, createVNode as $, createCommentVNode as M, createBlock as G, withCtx as N, renderList as W, toRef as _r, useTemplateRef as kr, provide as zr, useId as Sr, inject as Ir, onUnmounted as $r, Transition as Cr, triggerRef as Tr, isMemoSame as Nr, mergeProps as Ar, toHandlers as Er, withModifiers as Dr, defineCustomElement as he } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as xt, subtractDays as Bt, addDays as qt, isBefore as gt, isAfter as ut, startOfMonth as Ze, endOfMonth as et, rawConvert as Lr, convertGamePeriodResults as Pr, gameProps as Mr, COLUMNS_STANDINGS_SHORT as jr } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as Me, I18NProvider as fe, ErrorProvider as Te, ErrorNotice as Ne, LoadingIndicator as Wt, FetchMoreObserver as Or, BaseSelect as me, StatisticsTable as Ht, Paginator as Gr, AdditionalStandingsText as je, ResponsiveTable as Rr, DataTable as Yr, FloatingPanel as Ur } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as Q, convert as Ue, isBefore as Kr, isAfter as Jt, offsetName as Ke, getLocalTimezone as Fe, externalGameLinkResolver as pt, WidgetError as Xt, InvalidSeasonName as Oe, sortGames as Qt, convertPhaseName as Fr, rawConvert as Vr, playerName as Br, teamName as qr, scheduleOptionalRowClass as Wr, convertTimesMinToMinSec as Hr, convertTimesSecToMin as Jr, externalTeamLinkResolver as Xr, sortByDomNode as Qr } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { useError as Ve, useServices as ee, useI18n as le, useSort as Zr, usePage as ea, useLazyLoadingState as ta, fetchVBRData as ra, useVisibilityChange as aa, useColumns as oa } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { COLUMNS_SCHEDULE as Zt, COLUMNS_STANDINGS_P_3 as ia, COLUMNS_FIELD_PLAYERS as Ee, COLUMNS_FIELD_PLAYERS_PENALTY as na, COLUMNS_GOALIES as _t, COLUMNS_TEAMS_FAIRPLAY as sa, COLUMNS_TEAMS_PENALTY_KILLING as la, COLUMNS_TEAMS_POWERPLAY as ca, COLUMNS_SCORING_EFFICIENCY as da } from "@mjsz-vbr-elements/core/columns";
|
|
14
14
|
import { SORT_STATE_DESCEND as X } from "@mjsz-vbr-elements/core/constants";
|
|
15
|
-
const
|
|
16
|
-
schedule:
|
|
17
|
-
registration:
|
|
18
|
-
selection:
|
|
19
|
-
report:
|
|
20
|
-
playoffs:
|
|
21
|
-
table:
|
|
22
|
-
calendar:
|
|
23
|
-
gamesTimeline:
|
|
24
|
-
},
|
|
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:
|
|
15
|
+
const ga = "Schedule", ua = "Application form", pa = { 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):" }, ma = { 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" }, va = { 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" }, ba = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, ha = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, fa = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, ye = {
|
|
16
|
+
schedule: ga,
|
|
17
|
+
registration: ua,
|
|
18
|
+
selection: pa,
|
|
19
|
+
report: ma,
|
|
20
|
+
playoffs: va,
|
|
21
|
+
table: ba,
|
|
22
|
+
calendar: ha,
|
|
23
|
+
gamesTimeline: fa
|
|
24
|
+
}, ya = "Sorsolás", wa = "Jelentkezés", xa = { 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):" }, _a = { 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" }, ka = { 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ő" }, za = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Sa = { 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" }, Ia = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra" }, we = {
|
|
25
|
+
schedule: ya,
|
|
26
|
+
registration: wa,
|
|
27
|
+
selection: xa,
|
|
28
|
+
report: _a,
|
|
29
|
+
playoffs: ka,
|
|
30
|
+
table: za,
|
|
31
|
+
calendar: Sa,
|
|
32
|
+
gamesTimeline: Ia
|
|
33
|
+
}, ve = "gamesPlayed", Se = "todaysGames", Ie = "nextGames", Ge = "weekGames";
|
|
34
|
+
function $a(t, e) {
|
|
35
|
+
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Lr(t.games, Pr);
|
|
36
|
+
}
|
|
37
|
+
const q = /* @__PURE__ */ new Date(), De = (/* @__PURE__ */ new Map()).set(Se, () => ({ min: q, max: q, month: null, id: null })).set(Ge, () => ({
|
|
38
|
+
min: xt().startDate,
|
|
39
|
+
max: xt().endDate,
|
|
40
40
|
month: null,
|
|
41
41
|
id: null
|
|
42
|
-
})).set(
|
|
42
|
+
})).set(ve, (t = null) => {
|
|
43
43
|
const { year: e, month: r } = kt(t);
|
|
44
44
|
return {
|
|
45
|
-
min:
|
|
46
|
-
max:
|
|
45
|
+
min: zt(new Date(e, r, 1), !0),
|
|
46
|
+
max: St(new Date(e, r, 1), !0),
|
|
47
47
|
id: `${e}-${r}`
|
|
48
48
|
};
|
|
49
|
-
}).set(
|
|
49
|
+
}).set(Ie, (t = null) => {
|
|
50
50
|
const { year: e, month: r } = kt(t);
|
|
51
51
|
return {
|
|
52
|
-
min:
|
|
53
|
-
max:
|
|
52
|
+
min: zt(new Date(e, r, 1)),
|
|
53
|
+
max: St(new Date(e, r, 1)),
|
|
54
54
|
id: `${e}-${r}`
|
|
55
55
|
};
|
|
56
|
-
}),
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
}), Ca = (/* @__PURE__ */ new Map()).set(Se, () => []).set(ve, (t, e) => Ta(Bt(q, 1), t, e)).set(Ie, (t, e) => Na(qt(q, 1), t, e)).set(Ge, () => []);
|
|
57
|
+
function Ta(t, e, r) {
|
|
58
|
+
return gt(t, e) ? [] : ut(t, r) ? [e, r] : [e, t];
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function Na(t, e, r) {
|
|
61
|
+
return gt(t, e) ? [e, r] : ut(t, r) ? [] : [t, r];
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Aa(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 <= e; ) {
|
|
@@ -85,25 +85,25 @@ function kt(t) {
|
|
|
85
85
|
const [e, r] = t.split("-");
|
|
86
86
|
return { year: e, month: r };
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function zt(t, e) {
|
|
89
89
|
if (e)
|
|
90
|
-
return
|
|
91
|
-
const r =
|
|
92
|
-
return
|
|
90
|
+
return Ze(t);
|
|
91
|
+
const r = qt(q, 1);
|
|
92
|
+
return gt(Ze(t), r) ? r : Ze(t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function St(t, e = !1) {
|
|
95
95
|
if (e) {
|
|
96
|
-
const r =
|
|
97
|
-
return
|
|
96
|
+
const r = Bt(q, 1);
|
|
97
|
+
return ut(et(t), r) ? r : et(t);
|
|
98
98
|
}
|
|
99
|
-
return
|
|
99
|
+
return et(t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function it(t) {
|
|
102
|
+
return fr() ? (yr(t), !0) : !1;
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const nt = typeof window < "u" && typeof document < "u";
|
|
105
105
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
106
|
-
const
|
|
106
|
+
const Ea = (t) => typeof t < "u", Da = Object.prototype.toString, La = (t) => Da.call(t) === "[object Object]", H = () => {
|
|
107
107
|
};
|
|
108
108
|
function mt(t, e) {
|
|
109
109
|
function r(...a) {
|
|
@@ -113,16 +113,16 @@ function mt(t, e) {
|
|
|
113
113
|
}
|
|
114
114
|
return r;
|
|
115
115
|
}
|
|
116
|
-
const
|
|
117
|
-
function
|
|
118
|
-
let r, a, o =
|
|
116
|
+
const er = (t) => t();
|
|
117
|
+
function Pa(t, e = {}) {
|
|
118
|
+
let r, a, o = H;
|
|
119
119
|
const i = (s) => {
|
|
120
|
-
clearTimeout(s), o(), o =
|
|
120
|
+
clearTimeout(s), o(), o = H;
|
|
121
121
|
};
|
|
122
122
|
return (s) => {
|
|
123
123
|
const l = U(t), c = U(e.maxWait);
|
|
124
|
-
return r && i(r), l <= 0 || c !== void 0 && c <= 0 ? (a && (i(a), a = null), Promise.resolve(s())) : new Promise((g,
|
|
125
|
-
o = e.rejectOnCancel ?
|
|
124
|
+
return r && i(r), l <= 0 || c !== void 0 && c <= 0 ? (a && (i(a), a = null), Promise.resolve(s())) : new Promise((g, m) => {
|
|
125
|
+
o = e.rejectOnCancel ? m : g, c && !a && (a = setTimeout(() => {
|
|
126
126
|
r && i(r), a = null, g(s());
|
|
127
127
|
}, c)), r = setTimeout(() => {
|
|
128
128
|
a && i(a), a = null, g(s());
|
|
@@ -130,23 +130,23 @@ function Na(t, e = {}) {
|
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
let e = 0, r, a = !0, o =
|
|
135
|
-
!
|
|
133
|
+
function Ma(...t) {
|
|
134
|
+
let e = 0, r, a = !0, o = H, i, n, s, l, c;
|
|
135
|
+
!ce(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;
|
|
136
136
|
const g = () => {
|
|
137
|
-
r && (clearTimeout(r), r = void 0, o(), o =
|
|
137
|
+
r && (clearTimeout(r), r = void 0, o(), o = H);
|
|
138
138
|
};
|
|
139
|
-
return (
|
|
140
|
-
const v = U(n),
|
|
141
|
-
return g(), v <= 0 ? (e = Date.now(),
|
|
142
|
-
o = c ?
|
|
143
|
-
e = Date.now(), a = !0,
|
|
144
|
-
}, Math.max(0, v -
|
|
139
|
+
return (f) => {
|
|
140
|
+
const v = U(n), S = Date.now() - e, h = () => i = f();
|
|
141
|
+
return g(), v <= 0 ? (e = Date.now(), h()) : (S > v && (l || !a) ? (e = Date.now(), h()) : s && (i = new Promise((C, x) => {
|
|
142
|
+
o = c ? x : C, r = setTimeout(() => {
|
|
143
|
+
e = Date.now(), a = !0, C(h()), g();
|
|
144
|
+
}, Math.max(0, v - S));
|
|
145
145
|
})), !l && !r && (r = setTimeout(() => a = !0, v)), a = !1, i);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
const e =
|
|
148
|
+
function ja(t = er) {
|
|
149
|
+
const e = j(!0);
|
|
150
150
|
function r() {
|
|
151
151
|
e.value = !1;
|
|
152
152
|
}
|
|
@@ -156,37 +156,37 @@ function Ea(t = Qt) {
|
|
|
156
156
|
const o = (...i) => {
|
|
157
157
|
e.value && t(...i);
|
|
158
158
|
};
|
|
159
|
-
return { isActive:
|
|
159
|
+
return { isActive: wr(e), pause: r, resume: a, eventFilter: o };
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function st(t, e = !1, r = "Timeout") {
|
|
162
162
|
return new Promise((a, o) => {
|
|
163
163
|
setTimeout(e ? () => o(r) : a, t);
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
166
|
+
function Oa(t) {
|
|
167
|
+
return Vt();
|
|
168
168
|
}
|
|
169
169
|
function It(t) {
|
|
170
170
|
return Array.isArray(t) ? t : [t];
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Ga(t, e = 200, r = {}) {
|
|
173
173
|
return mt(
|
|
174
|
-
|
|
174
|
+
Pa(e, r),
|
|
175
175
|
t
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Ra(t, e = 200, r = !1, a = !0, o = !1) {
|
|
179
179
|
return mt(
|
|
180
|
-
|
|
180
|
+
Ma(e, r, a, o),
|
|
181
181
|
t
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Ya(t, e, r = {}) {
|
|
185
185
|
const {
|
|
186
|
-
eventFilter: a =
|
|
186
|
+
eventFilter: a = er,
|
|
187
187
|
...o
|
|
188
188
|
} = r;
|
|
189
|
-
return
|
|
189
|
+
return ne(
|
|
190
190
|
t,
|
|
191
191
|
mt(
|
|
192
192
|
a,
|
|
@@ -195,12 +195,12 @@ function Ma(t, e, r = {}) {
|
|
|
195
195
|
o
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ua(t, e, r = {}) {
|
|
199
199
|
const {
|
|
200
200
|
eventFilter: a,
|
|
201
201
|
...o
|
|
202
|
-
} = r, { eventFilter: i, pause: n, resume: s, isActive: l } =
|
|
203
|
-
return { stop:
|
|
202
|
+
} = r, { eventFilter: i, pause: n, resume: s, isActive: l } = ja(a);
|
|
203
|
+
return { stop: Ya(
|
|
204
204
|
t,
|
|
205
205
|
e,
|
|
206
206
|
{
|
|
@@ -209,75 +209,75 @@ function ja(t, e, r = {}) {
|
|
|
209
209
|
}
|
|
210
210
|
), pause: n, resume: s, isActive: l };
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
|
|
212
|
+
function Ka(t, e = !0, r) {
|
|
213
|
+
Oa() ? dt(t, r) : e ? t() : ze(t);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
function r(
|
|
217
|
-
let
|
|
218
|
-
const
|
|
219
|
-
|
|
215
|
+
function lt(t, e = !1) {
|
|
216
|
+
function r(m, { flush: f = "sync", deep: v = !1, timeout: S, throwOnTimeout: h } = {}) {
|
|
217
|
+
let C = null;
|
|
218
|
+
const z = [new Promise((y) => {
|
|
219
|
+
C = ne(
|
|
220
220
|
t,
|
|
221
|
-
(
|
|
222
|
-
|
|
221
|
+
(b) => {
|
|
222
|
+
m(b) !== e && (C ? C() : ze(() => C == null ? void 0 : C()), y(b));
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
flush:
|
|
225
|
+
flush: f,
|
|
226
226
|
deep: v,
|
|
227
227
|
immediate: !0
|
|
228
228
|
}
|
|
229
229
|
);
|
|
230
230
|
})];
|
|
231
|
-
return
|
|
232
|
-
|
|
233
|
-
), Promise.race(
|
|
234
|
-
}
|
|
235
|
-
function a(
|
|
236
|
-
if (!
|
|
237
|
-
return r((
|
|
238
|
-
const { flush: v = "sync", deep:
|
|
239
|
-
let
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
[t,
|
|
243
|
-
([I,
|
|
244
|
-
e !== (I ===
|
|
231
|
+
return S != null && z.push(
|
|
232
|
+
st(S, h).then(() => U(t)).finally(() => C == null ? void 0 : C())
|
|
233
|
+
), Promise.race(z);
|
|
234
|
+
}
|
|
235
|
+
function a(m, f) {
|
|
236
|
+
if (!ce(m))
|
|
237
|
+
return r((b) => b === m, f);
|
|
238
|
+
const { flush: v = "sync", deep: S = !1, timeout: h, throwOnTimeout: C } = f ?? {};
|
|
239
|
+
let x = null;
|
|
240
|
+
const y = [new Promise((b) => {
|
|
241
|
+
x = ne(
|
|
242
|
+
[t, m],
|
|
243
|
+
([I, E]) => {
|
|
244
|
+
e !== (I === E) && (x ? x() : ze(() => x == null ? void 0 : x()), b(I));
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
flush: v,
|
|
248
|
-
deep:
|
|
248
|
+
deep: S,
|
|
249
249
|
immediate: !0
|
|
250
250
|
}
|
|
251
251
|
);
|
|
252
252
|
})];
|
|
253
|
-
return
|
|
254
|
-
|
|
255
|
-
), Promise.race(
|
|
253
|
+
return h != null && y.push(
|
|
254
|
+
st(h, C).then(() => U(t)).finally(() => (x == null || x(), U(t)))
|
|
255
|
+
), Promise.race(y);
|
|
256
256
|
}
|
|
257
|
-
function o(
|
|
258
|
-
return r((
|
|
257
|
+
function o(m) {
|
|
258
|
+
return r((f) => !!f, m);
|
|
259
259
|
}
|
|
260
|
-
function i(
|
|
261
|
-
return a(null,
|
|
260
|
+
function i(m) {
|
|
261
|
+
return a(null, m);
|
|
262
262
|
}
|
|
263
|
-
function n(
|
|
264
|
-
return a(void 0,
|
|
263
|
+
function n(m) {
|
|
264
|
+
return a(void 0, m);
|
|
265
265
|
}
|
|
266
|
-
function s(
|
|
267
|
-
return r(Number.isNaN,
|
|
266
|
+
function s(m) {
|
|
267
|
+
return r(Number.isNaN, m);
|
|
268
268
|
}
|
|
269
|
-
function l(
|
|
269
|
+
function l(m, f) {
|
|
270
270
|
return r((v) => {
|
|
271
|
-
const
|
|
272
|
-
return
|
|
273
|
-
},
|
|
271
|
+
const S = Array.from(v);
|
|
272
|
+
return S.includes(m) || S.includes(U(m));
|
|
273
|
+
}, f);
|
|
274
274
|
}
|
|
275
|
-
function c(
|
|
276
|
-
return g(1,
|
|
275
|
+
function c(m) {
|
|
276
|
+
return g(1, m);
|
|
277
277
|
}
|
|
278
|
-
function g(
|
|
278
|
+
function g(m = 1, f) {
|
|
279
279
|
let v = -1;
|
|
280
|
-
return r(() => (v += 1, v >=
|
|
280
|
+
return r(() => (v += 1, v >= m), f);
|
|
281
281
|
}
|
|
282
282
|
return Array.isArray(U(t)) ? {
|
|
283
283
|
toMatch: r,
|
|
@@ -285,7 +285,7 @@ function nt(t, e = !1) {
|
|
|
285
285
|
changed: c,
|
|
286
286
|
changedTimes: g,
|
|
287
287
|
get not() {
|
|
288
|
-
return
|
|
288
|
+
return lt(t, !e);
|
|
289
289
|
}
|
|
290
290
|
} : {
|
|
291
291
|
toMatch: r,
|
|
@@ -297,12 +297,12 @@ function nt(t, e = !1) {
|
|
|
297
297
|
changed: c,
|
|
298
298
|
changedTimes: g,
|
|
299
299
|
get not() {
|
|
300
|
-
return
|
|
300
|
+
return lt(t, !e);
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return
|
|
304
|
+
function Fa(t) {
|
|
305
|
+
return lt(t);
|
|
306
306
|
}
|
|
307
307
|
function $t(t, e = 1e3, r = {}) {
|
|
308
308
|
const {
|
|
@@ -310,7 +310,7 @@ function $t(t, e = 1e3, r = {}) {
|
|
|
310
310
|
immediateCallback: o = !1
|
|
311
311
|
} = r;
|
|
312
312
|
let i = null;
|
|
313
|
-
const n =
|
|
313
|
+
const n = j(!1);
|
|
314
314
|
function s() {
|
|
315
315
|
i && (clearInterval(i), i = null);
|
|
316
316
|
}
|
|
@@ -321,144 +321,144 @@ function $t(t, e = 1e3, r = {}) {
|
|
|
321
321
|
const g = U(e);
|
|
322
322
|
g <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, g)));
|
|
323
323
|
}
|
|
324
|
-
if (a &&
|
|
325
|
-
const g =
|
|
326
|
-
n.value &&
|
|
324
|
+
if (a && nt && c(), ce(e) || typeof e == "function") {
|
|
325
|
+
const g = ne(e, () => {
|
|
326
|
+
n.value && nt && c();
|
|
327
327
|
});
|
|
328
|
-
|
|
328
|
+
it(g);
|
|
329
329
|
}
|
|
330
|
-
return
|
|
330
|
+
return it(l), {
|
|
331
331
|
isActive: n,
|
|
332
332
|
pause: l,
|
|
333
333
|
resume: c
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
-
const
|
|
337
|
-
function
|
|
336
|
+
const vt = nt ? window : void 0;
|
|
337
|
+
function ue(t) {
|
|
338
338
|
var e;
|
|
339
339
|
const r = U(t);
|
|
340
340
|
return (e = r == null ? void 0 : r.$el) != null ? e : r;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Re(...t) {
|
|
343
343
|
let e, r, a, o;
|
|
344
|
-
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, a, o] = t, e =
|
|
345
|
-
return
|
|
344
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, a, o] = t, e = vt) : [e, r, a, o] = t, !e)
|
|
345
|
+
return H;
|
|
346
346
|
r = It(r), a = It(a);
|
|
347
347
|
const i = [], n = () => {
|
|
348
348
|
i.forEach((g) => g()), i.length = 0;
|
|
349
|
-
}, s = (g,
|
|
350
|
-
() => [
|
|
351
|
-
([g,
|
|
349
|
+
}, s = (g, m, f, v) => (g.addEventListener(m, f, v), () => g.removeEventListener(m, f, v)), l = ne(
|
|
350
|
+
() => [ue(e), U(o)],
|
|
351
|
+
([g, m]) => {
|
|
352
352
|
if (n(), !g)
|
|
353
353
|
return;
|
|
354
|
-
const
|
|
354
|
+
const f = La(m) ? { ...m } : m;
|
|
355
355
|
i.push(
|
|
356
|
-
...r.flatMap((v) => a.map((
|
|
356
|
+
...r.flatMap((v) => a.map((S) => s(g, v, S, f)))
|
|
357
357
|
);
|
|
358
358
|
},
|
|
359
359
|
{ immediate: !0, flush: "post" }
|
|
360
360
|
), c = () => {
|
|
361
361
|
l(), n();
|
|
362
362
|
};
|
|
363
|
-
return
|
|
363
|
+
return it(c), c;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function be(t, e) {
|
|
366
366
|
const {
|
|
367
367
|
interrupt: r = !0,
|
|
368
|
-
onError: a =
|
|
369
|
-
onFinished: o =
|
|
368
|
+
onError: a = H,
|
|
369
|
+
onFinished: o = H,
|
|
370
370
|
signal: i
|
|
371
371
|
} = {}, n = {
|
|
372
372
|
aborted: "aborted",
|
|
373
373
|
fulfilled: "fulfilled",
|
|
374
374
|
pending: "pending",
|
|
375
375
|
rejected: "rejected"
|
|
376
|
-
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l =
|
|
376
|
+
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l = se(s), c = j(-1);
|
|
377
377
|
if (!t || t.length === 0)
|
|
378
378
|
return o(), {
|
|
379
379
|
activeIndex: c,
|
|
380
380
|
result: l
|
|
381
381
|
};
|
|
382
|
-
function g(
|
|
383
|
-
c.value++, l[c.value].data =
|
|
382
|
+
function g(m, f) {
|
|
383
|
+
c.value++, l[c.value].data = f, l[c.value].state = m;
|
|
384
384
|
}
|
|
385
|
-
return t.reduce((
|
|
386
|
-
var
|
|
385
|
+
return t.reduce((m, f) => m.then((v) => {
|
|
386
|
+
var S;
|
|
387
387
|
if (i != null && i.aborted) {
|
|
388
388
|
g(n.aborted, new Error("aborted"));
|
|
389
389
|
return;
|
|
390
390
|
}
|
|
391
|
-
if (((
|
|
391
|
+
if (((S = l[c.value]) == null ? void 0 : S.state) === n.rejected && r) {
|
|
392
392
|
o();
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
const
|
|
396
|
-
return i ? Promise.race([
|
|
395
|
+
const h = f(v).then((C) => (g(n.fulfilled, C), c.value === t.length - 1 && o(), C));
|
|
396
|
+
return i ? Promise.race([h, Va(i)]) : h;
|
|
397
397
|
}).catch((v) => i != null && i.aborted ? (g(n.aborted, v), v) : (g(n.rejected, v), a(), v)), Promise.resolve()), {
|
|
398
398
|
activeIndex: c,
|
|
399
399
|
result: l
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function Va(t) {
|
|
403
403
|
return new Promise((e, r) => {
|
|
404
404
|
const a = new Error("aborted");
|
|
405
405
|
t.aborted ? r(a) : t.addEventListener("abort", () => r(a), { once: !0 });
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Ba(t, e, r) {
|
|
409
409
|
const {
|
|
410
410
|
immediate: a = !0,
|
|
411
411
|
delay: o = 0,
|
|
412
|
-
onError: i =
|
|
413
|
-
onSuccess: n =
|
|
412
|
+
onError: i = H,
|
|
413
|
+
onSuccess: n = H,
|
|
414
414
|
resetOnExecute: s = !0,
|
|
415
415
|
shallow: l = !0,
|
|
416
416
|
throwError: c
|
|
417
|
-
} = r ?? {}, g = l ?
|
|
418
|
-
async function
|
|
419
|
-
s && (g.value = e), v.value = void 0,
|
|
420
|
-
const
|
|
417
|
+
} = r ?? {}, g = l ? Pe(e) : j(e), m = j(!1), f = j(!1), v = Pe(void 0);
|
|
418
|
+
async function S(x = 0, ...z) {
|
|
419
|
+
s && (g.value = e), v.value = void 0, m.value = !1, f.value = !0, x > 0 && await st(x);
|
|
420
|
+
const y = typeof t == "function" ? t(...z) : t;
|
|
421
421
|
try {
|
|
422
|
-
const
|
|
423
|
-
g.value =
|
|
424
|
-
} catch (
|
|
425
|
-
if (v.value =
|
|
426
|
-
throw
|
|
422
|
+
const b = await y;
|
|
423
|
+
g.value = b, m.value = !0, n(b);
|
|
424
|
+
} catch (b) {
|
|
425
|
+
if (v.value = b, i(b), c)
|
|
426
|
+
throw b;
|
|
427
427
|
} finally {
|
|
428
|
-
|
|
428
|
+
f.value = !1;
|
|
429
429
|
}
|
|
430
430
|
return g.value;
|
|
431
431
|
}
|
|
432
|
-
a &&
|
|
433
|
-
const
|
|
432
|
+
a && S(o);
|
|
433
|
+
const h = {
|
|
434
434
|
state: g,
|
|
435
|
-
isReady:
|
|
436
|
-
isLoading:
|
|
435
|
+
isReady: m,
|
|
436
|
+
isLoading: f,
|
|
437
437
|
error: v,
|
|
438
|
-
execute:
|
|
438
|
+
execute: S
|
|
439
439
|
};
|
|
440
|
-
function
|
|
441
|
-
return new Promise((
|
|
442
|
-
|
|
440
|
+
function C() {
|
|
441
|
+
return new Promise((x, z) => {
|
|
442
|
+
Fa(f).toBe(!1).then(() => x(h)).catch(z);
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
445
|
return {
|
|
446
|
-
...
|
|
447
|
-
then(
|
|
448
|
-
return
|
|
446
|
+
...h,
|
|
447
|
+
then(x, z) {
|
|
448
|
+
return C().then(x, z);
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function qa(t) {
|
|
453
453
|
return JSON.parse(JSON.stringify(t));
|
|
454
454
|
}
|
|
455
|
-
const
|
|
456
|
-
function
|
|
455
|
+
const Ct = 1;
|
|
456
|
+
function Wa(t, e = {}) {
|
|
457
457
|
const {
|
|
458
458
|
throttle: r = 0,
|
|
459
459
|
idle: a = 200,
|
|
460
|
-
onStop: o =
|
|
461
|
-
onScroll: i =
|
|
460
|
+
onStop: o = H,
|
|
461
|
+
onScroll: i = H,
|
|
462
462
|
offset: n = {
|
|
463
463
|
left: 0,
|
|
464
464
|
right: 0,
|
|
@@ -470,77 +470,77 @@ function Va(t, e = {}) {
|
|
|
470
470
|
passive: !0
|
|
471
471
|
},
|
|
472
472
|
behavior: l = "auto",
|
|
473
|
-
window: c =
|
|
473
|
+
window: c = vt,
|
|
474
474
|
onError: g = (k) => {
|
|
475
475
|
console.error(k);
|
|
476
476
|
}
|
|
477
|
-
} = e,
|
|
477
|
+
} = e, m = j(0), f = j(0), v = A({
|
|
478
478
|
get() {
|
|
479
|
-
return
|
|
479
|
+
return m.value;
|
|
480
480
|
},
|
|
481
481
|
set(k) {
|
|
482
|
-
|
|
482
|
+
h(k, void 0);
|
|
483
483
|
}
|
|
484
|
-
}),
|
|
484
|
+
}), S = A({
|
|
485
485
|
get() {
|
|
486
|
-
return
|
|
486
|
+
return f.value;
|
|
487
487
|
},
|
|
488
488
|
set(k) {
|
|
489
|
-
|
|
489
|
+
h(void 0, k);
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
|
-
function
|
|
493
|
-
var D,
|
|
492
|
+
function h(k, P) {
|
|
493
|
+
var D, J, ie, te;
|
|
494
494
|
if (!c)
|
|
495
495
|
return;
|
|
496
496
|
const V = U(t);
|
|
497
497
|
if (!V)
|
|
498
498
|
return;
|
|
499
|
-
(
|
|
500
|
-
top: (D = U(P)) != null ? D :
|
|
501
|
-
left: (
|
|
499
|
+
(ie = V instanceof Document ? c.document.body : V) == null || ie.scrollTo({
|
|
500
|
+
top: (D = U(P)) != null ? D : S.value,
|
|
501
|
+
left: (J = U(k)) != null ? J : v.value,
|
|
502
502
|
behavior: U(l)
|
|
503
503
|
});
|
|
504
|
-
const
|
|
505
|
-
v != null && (
|
|
504
|
+
const T = ((te = V == null ? void 0 : V.document) == null ? void 0 : te.documentElement) || (V == null ? void 0 : V.documentElement) || V;
|
|
505
|
+
v != null && (m.value = T.scrollLeft), S != null && (f.value = T.scrollTop);
|
|
506
506
|
}
|
|
507
|
-
const
|
|
507
|
+
const C = j(!1), x = se({
|
|
508
508
|
left: !0,
|
|
509
509
|
right: !1,
|
|
510
510
|
top: !0,
|
|
511
511
|
bottom: !1
|
|
512
|
-
}),
|
|
512
|
+
}), z = se({
|
|
513
513
|
left: !1,
|
|
514
514
|
right: !1,
|
|
515
515
|
top: !1,
|
|
516
516
|
bottom: !1
|
|
517
|
-
}),
|
|
518
|
-
|
|
519
|
-
},
|
|
517
|
+
}), y = (k) => {
|
|
518
|
+
C.value && (C.value = !1, z.left = !1, z.right = !1, z.top = !1, z.bottom = !1, o(k));
|
|
519
|
+
}, b = Ga(y, r + a), I = (k) => {
|
|
520
520
|
var P;
|
|
521
521
|
if (!c)
|
|
522
522
|
return;
|
|
523
|
-
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) ||
|
|
524
|
-
|
|
525
|
-
const
|
|
526
|
-
|
|
523
|
+
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ue(k), { display: J, flexDirection: ie, direction: te } = getComputedStyle(D), V = te === "rtl" ? -1 : 1, T = D.scrollLeft;
|
|
524
|
+
z.left = T < m.value, z.right = T > m.value;
|
|
525
|
+
const O = T * V <= (n.left || 0), ae = T * V + D.clientWidth >= D.scrollWidth - (n.right || 0) - Ct;
|
|
526
|
+
J === "flex" && ie === "row-reverse" ? (x.left = ae, x.right = O) : (x.left = O, x.right = ae), m.value = T;
|
|
527
527
|
let B = D.scrollTop;
|
|
528
|
-
k === c.document && !B && (B = c.document.body.scrollTop),
|
|
529
|
-
const
|
|
530
|
-
|
|
531
|
-
},
|
|
528
|
+
k === c.document && !B && (B = c.document.body.scrollTop), z.top = B < f.value, z.bottom = B > f.value;
|
|
529
|
+
const re = B <= (n.top || 0), Qe = B + D.clientHeight >= D.scrollHeight - (n.bottom || 0) - Ct;
|
|
530
|
+
J === "flex" && ie === "column-reverse" ? (x.top = Qe, x.bottom = re) : (x.top = re, x.bottom = Qe), f.value = B;
|
|
531
|
+
}, E = (k) => {
|
|
532
532
|
var P;
|
|
533
533
|
if (!c)
|
|
534
534
|
return;
|
|
535
535
|
const D = (P = k.target.documentElement) != null ? P : k.target;
|
|
536
|
-
I(D),
|
|
536
|
+
I(D), C.value = !0, b(k), i(k);
|
|
537
537
|
};
|
|
538
|
-
return
|
|
538
|
+
return Re(
|
|
539
539
|
t,
|
|
540
540
|
"scroll",
|
|
541
|
-
r ?
|
|
541
|
+
r ? Ra(E, r, !0, !1) : E,
|
|
542
542
|
s
|
|
543
|
-
),
|
|
543
|
+
), Ka(() => {
|
|
544
544
|
try {
|
|
545
545
|
const k = U(t);
|
|
546
546
|
if (!k)
|
|
@@ -549,138 +549,138 @@ function Va(t, e = {}) {
|
|
|
549
549
|
} catch (k) {
|
|
550
550
|
g(k);
|
|
551
551
|
}
|
|
552
|
-
}),
|
|
552
|
+
}), Re(
|
|
553
553
|
t,
|
|
554
554
|
"scrollend",
|
|
555
|
-
|
|
555
|
+
y,
|
|
556
556
|
s
|
|
557
557
|
), {
|
|
558
558
|
x: v,
|
|
559
|
-
y:
|
|
560
|
-
isScrolling:
|
|
561
|
-
arrivedState:
|
|
562
|
-
directions:
|
|
559
|
+
y: S,
|
|
560
|
+
isScrolling: C,
|
|
561
|
+
arrivedState: x,
|
|
562
|
+
directions: z,
|
|
563
563
|
measure() {
|
|
564
564
|
const k = U(t);
|
|
565
565
|
c && k && I(k);
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function tr(t = "history", e = {}) {
|
|
570
570
|
const {
|
|
571
571
|
initialValue: r = {},
|
|
572
572
|
removeNullishValues: a = !0,
|
|
573
573
|
removeFalsyValues: o = !1,
|
|
574
574
|
write: i = !0,
|
|
575
575
|
writeMode: n = "replace",
|
|
576
|
-
window: s =
|
|
576
|
+
window: s = vt
|
|
577
577
|
} = e;
|
|
578
578
|
if (!s)
|
|
579
|
-
return
|
|
580
|
-
const l =
|
|
579
|
+
return se(r);
|
|
580
|
+
const l = se({});
|
|
581
581
|
function c() {
|
|
582
582
|
if (t === "history")
|
|
583
583
|
return s.location.search || "";
|
|
584
584
|
if (t === "hash") {
|
|
585
|
-
const
|
|
586
|
-
return
|
|
585
|
+
const y = s.location.hash || "", b = y.indexOf("?");
|
|
586
|
+
return b > 0 ? y.slice(b) : "";
|
|
587
587
|
} else
|
|
588
588
|
return (s.location.hash || "").replace(/^#/, "");
|
|
589
589
|
}
|
|
590
|
-
function g(
|
|
591
|
-
const
|
|
590
|
+
function g(y) {
|
|
591
|
+
const b = y.toString();
|
|
592
592
|
if (t === "history")
|
|
593
|
-
return `${
|
|
593
|
+
return `${b ? `?${b}` : ""}${s.location.hash || ""}`;
|
|
594
594
|
if (t === "hash-params")
|
|
595
|
-
return `${s.location.search || ""}${
|
|
596
|
-
const I = s.location.hash || "#",
|
|
597
|
-
return
|
|
595
|
+
return `${s.location.search || ""}${b ? `#${b}` : ""}`;
|
|
596
|
+
const I = s.location.hash || "#", E = I.indexOf("?");
|
|
597
|
+
return E > 0 ? `${s.location.search || ""}${I.slice(0, E)}${b ? `?${b}` : ""}` : `${s.location.search || ""}${I}${b ? `?${b}` : ""}`;
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function m() {
|
|
600
600
|
return new URLSearchParams(c());
|
|
601
601
|
}
|
|
602
|
-
function y
|
|
603
|
-
const
|
|
604
|
-
for (const I of
|
|
605
|
-
const
|
|
606
|
-
l[I] =
|
|
602
|
+
function f(y) {
|
|
603
|
+
const b = new Set(Object.keys(l));
|
|
604
|
+
for (const I of y.keys()) {
|
|
605
|
+
const E = y.getAll(I);
|
|
606
|
+
l[I] = E.length > 1 ? E : y.get(I) || "", b.delete(I);
|
|
607
607
|
}
|
|
608
|
-
Array.from(
|
|
608
|
+
Array.from(b).forEach((I) => delete l[I]);
|
|
609
609
|
}
|
|
610
|
-
const { pause: v, resume:
|
|
610
|
+
const { pause: v, resume: S } = Ua(
|
|
611
611
|
l,
|
|
612
612
|
() => {
|
|
613
|
-
const
|
|
614
|
-
Object.keys(l).forEach((
|
|
615
|
-
const I = l[
|
|
616
|
-
Array.isArray(I) ? I.forEach((
|
|
617
|
-
}),
|
|
613
|
+
const y = new URLSearchParams("");
|
|
614
|
+
Object.keys(l).forEach((b) => {
|
|
615
|
+
const I = l[b];
|
|
616
|
+
Array.isArray(I) ? I.forEach((E) => y.append(b, E)) : a && I == null || o && !I ? y.delete(b) : y.set(b, I);
|
|
617
|
+
}), h(y, !1);
|
|
618
618
|
},
|
|
619
619
|
{ deep: !0 }
|
|
620
620
|
);
|
|
621
|
-
function
|
|
622
|
-
v(),
|
|
621
|
+
function h(y, b) {
|
|
622
|
+
v(), b && f(y), n === "replace" ? s.history.replaceState(
|
|
623
623
|
s.history.state,
|
|
624
624
|
s.document.title,
|
|
625
|
-
s.location.pathname + g(
|
|
625
|
+
s.location.pathname + g(y)
|
|
626
626
|
) : s.history.pushState(
|
|
627
627
|
s.history.state,
|
|
628
628
|
s.document.title,
|
|
629
|
-
s.location.pathname + g(
|
|
630
|
-
),
|
|
629
|
+
s.location.pathname + g(y)
|
|
630
|
+
), S();
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
i &&
|
|
632
|
+
function C() {
|
|
633
|
+
i && h(m(), !0);
|
|
634
634
|
}
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
const
|
|
638
|
-
return
|
|
635
|
+
const x = { passive: !0 };
|
|
636
|
+
Re(s, "popstate", C, x), t !== "history" && Re(s, "hashchange", C, x);
|
|
637
|
+
const z = m();
|
|
638
|
+
return z.keys().next().value ? f(z) : Object.assign(l, r), l;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Ha(t, e, r, a = {}) {
|
|
641
641
|
var o, i, n;
|
|
642
642
|
const {
|
|
643
643
|
clone: s = !1,
|
|
644
644
|
passive: l = !1,
|
|
645
645
|
eventName: c,
|
|
646
646
|
deep: g = !1,
|
|
647
|
-
defaultValue:
|
|
648
|
-
shouldEmit:
|
|
649
|
-
} = a, v =
|
|
650
|
-
let
|
|
651
|
-
e || (e = "modelValue"),
|
|
652
|
-
const
|
|
653
|
-
|
|
647
|
+
defaultValue: m,
|
|
648
|
+
shouldEmit: f
|
|
649
|
+
} = a, v = Vt(), S = 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));
|
|
650
|
+
let h = c;
|
|
651
|
+
e || (e = "modelValue"), h = h || `update:${e.toString()}`;
|
|
652
|
+
const C = (y) => s ? typeof s == "function" ? s(y) : qa(y) : y, x = () => Ea(t[e]) ? C(t[e]) : m, z = (y) => {
|
|
653
|
+
f ? f(y) && S(h, y) : S(h, y);
|
|
654
654
|
};
|
|
655
655
|
if (l) {
|
|
656
|
-
const
|
|
656
|
+
const y = x(), b = j(y);
|
|
657
657
|
let I = !1;
|
|
658
|
-
return
|
|
658
|
+
return ne(
|
|
659
659
|
() => t[e],
|
|
660
|
-
(
|
|
661
|
-
I || (I = !0,
|
|
660
|
+
(E) => {
|
|
661
|
+
I || (I = !0, b.value = C(E), ze(() => I = !1));
|
|
662
662
|
}
|
|
663
|
-
),
|
|
664
|
-
|
|
665
|
-
(
|
|
666
|
-
!I && (
|
|
663
|
+
), ne(
|
|
664
|
+
b,
|
|
665
|
+
(E) => {
|
|
666
|
+
!I && (E !== t[e] || g) && z(E);
|
|
667
667
|
},
|
|
668
668
|
{ deep: g }
|
|
669
|
-
),
|
|
669
|
+
), b;
|
|
670
670
|
} else
|
|
671
671
|
return A({
|
|
672
672
|
get() {
|
|
673
|
-
return
|
|
673
|
+
return x();
|
|
674
674
|
},
|
|
675
|
-
set(
|
|
676
|
-
|
|
675
|
+
set(y) {
|
|
676
|
+
z(y);
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function bt(t, e, r = {}) {
|
|
681
681
|
const a = {};
|
|
682
682
|
for (const o in t)
|
|
683
|
-
a[o] =
|
|
683
|
+
a[o] = Ha(
|
|
684
684
|
t,
|
|
685
685
|
o,
|
|
686
686
|
e,
|
|
@@ -714,7 +714,10 @@ function K(t) {
|
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
|
-
|
|
717
|
+
var Ja = /* @__PURE__ */ K(function(e, r) {
|
|
718
|
+
return Number(e) + Number(r);
|
|
719
|
+
});
|
|
720
|
+
function Be(t, e) {
|
|
718
721
|
switch (t) {
|
|
719
722
|
case 0:
|
|
720
723
|
return function() {
|
|
@@ -757,24 +760,24 @@ function Ke(t, e) {
|
|
|
757
760
|
return e.apply(this, arguments);
|
|
758
761
|
};
|
|
759
762
|
case 10:
|
|
760
|
-
return function(r, a, o, i, n, s, l, c, g,
|
|
763
|
+
return function(r, a, o, i, n, s, l, c, g, m) {
|
|
761
764
|
return e.apply(this, arguments);
|
|
762
765
|
};
|
|
763
766
|
default:
|
|
764
767
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
765
768
|
}
|
|
766
769
|
}
|
|
767
|
-
function
|
|
770
|
+
function rr(t, e, r) {
|
|
768
771
|
return function() {
|
|
769
772
|
for (var a = [], o = 0, i = t, n = 0, s = !1; n < e.length || o < arguments.length; ) {
|
|
770
773
|
var l;
|
|
771
774
|
n < e.length && (!L(e[n]) || o >= arguments.length) ? l = e[n] : (l = arguments[o], o += 1), a[n] = l, L(l) ? s = !0 : i -= 1, n += 1;
|
|
772
775
|
}
|
|
773
|
-
return !s && i <= 0 ? r.apply(this, a) :
|
|
776
|
+
return !s && i <= 0 ? r.apply(this, a) : Be(Math.max(0, i), rr(t, a, r));
|
|
774
777
|
};
|
|
775
778
|
}
|
|
776
|
-
var
|
|
777
|
-
return e === 1 ? Y(r) :
|
|
779
|
+
var Xa = /* @__PURE__ */ K(function(e, r) {
|
|
780
|
+
return e === 1 ? Y(r) : Be(e, rr(e, [], r));
|
|
778
781
|
});
|
|
779
782
|
function ht(t) {
|
|
780
783
|
return function e(r, a, o) {
|
|
@@ -810,24 +813,24 @@ function ht(t) {
|
|
|
810
813
|
}
|
|
811
814
|
};
|
|
812
815
|
}
|
|
813
|
-
const
|
|
816
|
+
const qe = Array.isArray || function(e) {
|
|
814
817
|
return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
|
|
815
818
|
};
|
|
816
|
-
function
|
|
819
|
+
function Qa(t) {
|
|
817
820
|
return t != null && typeof t["@@transducer/step"] == "function";
|
|
818
821
|
}
|
|
819
|
-
function
|
|
822
|
+
function Za(t, e, r) {
|
|
820
823
|
return function() {
|
|
821
824
|
if (arguments.length === 0)
|
|
822
825
|
return r();
|
|
823
826
|
var a = arguments[arguments.length - 1];
|
|
824
|
-
if (!
|
|
827
|
+
if (!qe(a)) {
|
|
825
828
|
for (var o = 0; o < t.length; ) {
|
|
826
829
|
if (typeof a[t[o]] == "function")
|
|
827
830
|
return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
828
831
|
o += 1;
|
|
829
832
|
}
|
|
830
|
-
if (
|
|
833
|
+
if (Qa(a)) {
|
|
831
834
|
var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
832
835
|
return i(a);
|
|
833
836
|
}
|
|
@@ -835,7 +838,7 @@ function qa(t, e, r) {
|
|
|
835
838
|
return r.apply(this, arguments);
|
|
836
839
|
};
|
|
837
840
|
}
|
|
838
|
-
const
|
|
841
|
+
const Tt = {
|
|
839
842
|
init: function() {
|
|
840
843
|
return this.xf["@@transducer/init"]();
|
|
841
844
|
},
|
|
@@ -856,45 +859,45 @@ function At(t, e, r) {
|
|
|
856
859
|
}
|
|
857
860
|
return !1;
|
|
858
861
|
}
|
|
859
|
-
function
|
|
862
|
+
function eo(t) {
|
|
860
863
|
var e = String(t).match(/^function (\w*)/);
|
|
861
864
|
return e == null ? "" : e[1];
|
|
862
865
|
}
|
|
863
|
-
function
|
|
866
|
+
function Ye(t, e) {
|
|
864
867
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
865
868
|
}
|
|
866
|
-
function
|
|
869
|
+
function to(t, e) {
|
|
867
870
|
return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
|
|
868
871
|
}
|
|
869
|
-
const
|
|
870
|
-
var Et = Object.prototype.toString,
|
|
872
|
+
const tt = typeof Object.is == "function" ? Object.is : to;
|
|
873
|
+
var Et = Object.prototype.toString, ar = /* @__PURE__ */ function() {
|
|
871
874
|
return Et.call(arguments) === "[object Arguments]" ? function(e) {
|
|
872
875
|
return Et.call(e) === "[object Arguments]";
|
|
873
876
|
} : function(e) {
|
|
874
|
-
return
|
|
877
|
+
return Ye("callee", e);
|
|
875
878
|
};
|
|
876
|
-
}(),
|
|
879
|
+
}(), ro = !/* @__PURE__ */ {
|
|
877
880
|
toString: null
|
|
878
881
|
}.propertyIsEnumerable("toString"), Dt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Lt = /* @__PURE__ */ function() {
|
|
879
882
|
return arguments.propertyIsEnumerable("length");
|
|
880
|
-
}(),
|
|
883
|
+
}(), ao = function(e, r) {
|
|
881
884
|
for (var a = 0; a < e.length; ) {
|
|
882
885
|
if (e[a] === r)
|
|
883
886
|
return !0;
|
|
884
887
|
a += 1;
|
|
885
888
|
}
|
|
886
889
|
return !1;
|
|
887
|
-
},
|
|
890
|
+
}, ct = /* @__PURE__ */ Y(typeof Object.keys == "function" && !Lt ? function(e) {
|
|
888
891
|
return Object(e) !== e ? [] : Object.keys(e);
|
|
889
892
|
} : function(e) {
|
|
890
893
|
if (Object(e) !== e)
|
|
891
894
|
return [];
|
|
892
|
-
var r, a, o = [], i = Lt &&
|
|
895
|
+
var r, a, o = [], i = Lt && ar(e);
|
|
893
896
|
for (r in e)
|
|
894
|
-
|
|
895
|
-
if (
|
|
897
|
+
Ye(r, e) && (!i || r !== "length") && (o[o.length] = r);
|
|
898
|
+
if (ro)
|
|
896
899
|
for (a = Dt.length - 1; a >= 0; )
|
|
897
|
-
r = Dt[a],
|
|
900
|
+
r = Dt[a], Ye(r, e) && !ao(o, r) && (o[o.length] = r), a -= 1;
|
|
898
901
|
return o;
|
|
899
902
|
}), Pt = /* @__PURE__ */ Y(function(e) {
|
|
900
903
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -902,14 +905,14 @@ var Et = Object.prototype.toString, tr = /* @__PURE__ */ function() {
|
|
|
902
905
|
function Mt(t, e, r, a) {
|
|
903
906
|
var o = Nt(t), i = Nt(e);
|
|
904
907
|
function n(s, l) {
|
|
905
|
-
return
|
|
908
|
+
return ft(s, l, r.slice(), a.slice());
|
|
906
909
|
}
|
|
907
910
|
return !At(function(s, l) {
|
|
908
911
|
return !At(n, l, s);
|
|
909
912
|
}, i, o);
|
|
910
913
|
}
|
|
911
|
-
function
|
|
912
|
-
if (
|
|
914
|
+
function ft(t, e, r, a) {
|
|
915
|
+
if (tt(t, e))
|
|
913
916
|
return !0;
|
|
914
917
|
var o = Pt(t);
|
|
915
918
|
if (o !== Pt(e))
|
|
@@ -922,17 +925,17 @@ function bt(t, e, r, a) {
|
|
|
922
925
|
case "Arguments":
|
|
923
926
|
case "Array":
|
|
924
927
|
case "Object":
|
|
925
|
-
if (typeof t.constructor == "function" &&
|
|
928
|
+
if (typeof t.constructor == "function" && eo(t.constructor) === "Promise")
|
|
926
929
|
return t === e;
|
|
927
930
|
break;
|
|
928
931
|
case "Boolean":
|
|
929
932
|
case "Number":
|
|
930
933
|
case "String":
|
|
931
|
-
if (!(typeof t == typeof e &&
|
|
934
|
+
if (!(typeof t == typeof e && tt(t.valueOf(), e.valueOf())))
|
|
932
935
|
return !1;
|
|
933
936
|
break;
|
|
934
937
|
case "Date":
|
|
935
|
-
if (!
|
|
938
|
+
if (!tt(t.valueOf(), e.valueOf()))
|
|
936
939
|
return !1;
|
|
937
940
|
break;
|
|
938
941
|
case "Error":
|
|
@@ -975,78 +978,78 @@ function bt(t, e, r, a) {
|
|
|
975
978
|
default:
|
|
976
979
|
return !1;
|
|
977
980
|
}
|
|
978
|
-
var n =
|
|
979
|
-
if (n.length !==
|
|
981
|
+
var n = ct(t);
|
|
982
|
+
if (n.length !== ct(e).length)
|
|
980
983
|
return !1;
|
|
981
984
|
var s = r.concat([t]), l = a.concat([e]);
|
|
982
985
|
for (i = n.length - 1; i >= 0; ) {
|
|
983
986
|
var c = n[i];
|
|
984
|
-
if (!(
|
|
987
|
+
if (!(Ye(c, e) && ft(e[c], t[c], s, l)))
|
|
985
988
|
return !1;
|
|
986
989
|
i -= 1;
|
|
987
990
|
}
|
|
988
991
|
return !0;
|
|
989
992
|
}
|
|
990
|
-
var
|
|
991
|
-
return
|
|
993
|
+
var oo = /* @__PURE__ */ K(function(e, r) {
|
|
994
|
+
return ft(e, r, [], []);
|
|
992
995
|
});
|
|
993
|
-
function
|
|
996
|
+
function io(t, e) {
|
|
994
997
|
for (var r = 0, a = e.length, o = Array(a); r < a; )
|
|
995
998
|
o[r] = t(e[r]), r += 1;
|
|
996
999
|
return o;
|
|
997
1000
|
}
|
|
998
|
-
function
|
|
1001
|
+
function no(t, e, r) {
|
|
999
1002
|
for (var a = 0, o = r.length; a < o; )
|
|
1000
1003
|
e = t(e, r[a]), a += 1;
|
|
1001
1004
|
return e;
|
|
1002
1005
|
}
|
|
1003
|
-
function
|
|
1006
|
+
function so(t) {
|
|
1004
1007
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
1005
1008
|
}
|
|
1006
|
-
var
|
|
1009
|
+
var lo = /* @__PURE__ */ function() {
|
|
1007
1010
|
function t(e, r) {
|
|
1008
1011
|
this.xf = r, this.f = e;
|
|
1009
1012
|
}
|
|
1010
|
-
return t.prototype["@@transducer/init"] =
|
|
1013
|
+
return t.prototype["@@transducer/init"] = Tt.init, t.prototype["@@transducer/result"] = Tt.result, t.prototype["@@transducer/step"] = function(e, r) {
|
|
1011
1014
|
return this.xf["@@transducer/step"](e, this.f(r));
|
|
1012
1015
|
}, t;
|
|
1013
|
-
}(),
|
|
1016
|
+
}(), co = function(e) {
|
|
1014
1017
|
return function(r) {
|
|
1015
|
-
return new
|
|
1018
|
+
return new lo(e, r);
|
|
1016
1019
|
};
|
|
1017
|
-
},
|
|
1020
|
+
}, yt = /* @__PURE__ */ K(/* @__PURE__ */ Za(["fantasy-land/map", "map"], co, function(e, r) {
|
|
1018
1021
|
switch (Object.prototype.toString.call(r)) {
|
|
1019
1022
|
case "[object Function]":
|
|
1020
|
-
return
|
|
1023
|
+
return Xa(r.length, function() {
|
|
1021
1024
|
return e.call(this, r.apply(this, arguments));
|
|
1022
1025
|
});
|
|
1023
1026
|
case "[object Object]":
|
|
1024
|
-
return
|
|
1027
|
+
return no(function(a, o) {
|
|
1025
1028
|
return a[o] = e(r[o]), a;
|
|
1026
|
-
}, {},
|
|
1029
|
+
}, {}, ct(r));
|
|
1027
1030
|
default:
|
|
1028
|
-
return
|
|
1031
|
+
return io(e, r);
|
|
1029
1032
|
}
|
|
1030
1033
|
}));
|
|
1031
|
-
const
|
|
1034
|
+
const or = Number.isInteger || function(e) {
|
|
1032
1035
|
return e << 0 === e;
|
|
1033
1036
|
};
|
|
1034
|
-
function
|
|
1037
|
+
function We(t) {
|
|
1035
1038
|
return Object.prototype.toString.call(t) === "[object String]";
|
|
1036
1039
|
}
|
|
1037
|
-
function
|
|
1040
|
+
function He(t, e) {
|
|
1038
1041
|
var r = t < 0 ? e.length + t : t;
|
|
1039
|
-
return
|
|
1042
|
+
return We(e) ? e.charAt(r) : e[r];
|
|
1040
1043
|
}
|
|
1041
1044
|
var de = /* @__PURE__ */ K(function(e, r) {
|
|
1042
1045
|
if (r != null)
|
|
1043
|
-
return
|
|
1044
|
-
}),
|
|
1045
|
-
return
|
|
1046
|
+
return or(e) ? He(e, r) : r[e];
|
|
1047
|
+
}), go = /* @__PURE__ */ Y(function(e) {
|
|
1048
|
+
return qe(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;
|
|
1046
1049
|
}), jt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1047
|
-
function
|
|
1050
|
+
function uo(t, e, r) {
|
|
1048
1051
|
return function(o, i, n) {
|
|
1049
|
-
if (
|
|
1052
|
+
if (go(n))
|
|
1050
1053
|
return t(o, i, n);
|
|
1051
1054
|
if (n == null)
|
|
1052
1055
|
return i;
|
|
@@ -1061,7 +1064,7 @@ function io(t, e, r) {
|
|
|
1061
1064
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1062
1065
|
};
|
|
1063
1066
|
}
|
|
1064
|
-
function
|
|
1067
|
+
function po(t, e, r) {
|
|
1065
1068
|
for (var a = 0, o = r.length; a < o; ) {
|
|
1066
1069
|
if (e = t["@@transducer/step"](e, r[a]), e && e["@@transducer/reduced"]) {
|
|
1067
1070
|
e = e["@@transducer/value"];
|
|
@@ -1071,12 +1074,12 @@ function no(t, e, r) {
|
|
|
1071
1074
|
}
|
|
1072
1075
|
return t["@@transducer/result"](e);
|
|
1073
1076
|
}
|
|
1074
|
-
var
|
|
1075
|
-
return
|
|
1077
|
+
var mo = /* @__PURE__ */ K(function(e, r) {
|
|
1078
|
+
return Be(e.length, function() {
|
|
1076
1079
|
return e.apply(r, arguments);
|
|
1077
1080
|
});
|
|
1078
1081
|
});
|
|
1079
|
-
function
|
|
1082
|
+
function vo(t, e, r) {
|
|
1080
1083
|
for (var a = r.next(); !a.done; ) {
|
|
1081
1084
|
if (e = t["@@transducer/step"](e, a.value), e && e["@@transducer/reduced"]) {
|
|
1082
1085
|
e = e["@@transducer/value"];
|
|
@@ -1086,10 +1089,10 @@ function lo(t, e, r) {
|
|
|
1086
1089
|
}
|
|
1087
1090
|
return t["@@transducer/result"](e);
|
|
1088
1091
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return t["@@transducer/result"](r[a](
|
|
1092
|
+
function bo(t, e, r, a) {
|
|
1093
|
+
return t["@@transducer/result"](r[a](mo(t["@@transducer/step"], t), e));
|
|
1091
1094
|
}
|
|
1092
|
-
var
|
|
1095
|
+
var ho = /* @__PURE__ */ uo(po, bo, vo), fo = /* @__PURE__ */ function() {
|
|
1093
1096
|
function t(e) {
|
|
1094
1097
|
this.f = e;
|
|
1095
1098
|
}
|
|
@@ -1101,89 +1104,89 @@ var go = /* @__PURE__ */ io(no, co, lo), uo = /* @__PURE__ */ function() {
|
|
|
1101
1104
|
return this.f(e, r);
|
|
1102
1105
|
}, t;
|
|
1103
1106
|
}();
|
|
1104
|
-
function
|
|
1105
|
-
return new
|
|
1107
|
+
function yo(t) {
|
|
1108
|
+
return new fo(t);
|
|
1106
1109
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1110
|
+
var ir = /* @__PURE__ */ ht(function(t, e, r) {
|
|
1111
|
+
return ho(typeof t == "function" ? yo(t) : t, e, r);
|
|
1109
1112
|
});
|
|
1110
|
-
function
|
|
1113
|
+
function wo(t, e) {
|
|
1111
1114
|
return function() {
|
|
1112
1115
|
return e.call(this, t.apply(this, arguments));
|
|
1113
1116
|
};
|
|
1114
1117
|
}
|
|
1115
|
-
function
|
|
1118
|
+
function nr(t, e) {
|
|
1116
1119
|
return function() {
|
|
1117
1120
|
var r = arguments.length;
|
|
1118
1121
|
if (r === 0)
|
|
1119
1122
|
return e();
|
|
1120
1123
|
var a = arguments[r - 1];
|
|
1121
|
-
return
|
|
1124
|
+
return qe(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1122
1125
|
};
|
|
1123
1126
|
}
|
|
1124
|
-
var
|
|
1127
|
+
var xo = /* @__PURE__ */ ht(/* @__PURE__ */ nr("slice", function(e, r, a) {
|
|
1125
1128
|
return Array.prototype.slice.call(a, e, r);
|
|
1126
|
-
})),
|
|
1127
|
-
function
|
|
1129
|
+
})), _o = /* @__PURE__ */ Y(/* @__PURE__ */ nr("tail", /* @__PURE__ */ xo(1, 1 / 0)));
|
|
1130
|
+
function Ae() {
|
|
1128
1131
|
if (arguments.length === 0)
|
|
1129
1132
|
throw new Error("pipe requires at least one argument");
|
|
1130
|
-
return
|
|
1133
|
+
return Be(arguments[0].length, ir(wo, arguments[0], _o(arguments)));
|
|
1131
1134
|
}
|
|
1132
|
-
var
|
|
1133
|
-
return
|
|
1135
|
+
var ko = /* @__PURE__ */ Y(function(e) {
|
|
1136
|
+
return We(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
|
|
1134
1137
|
});
|
|
1135
|
-
function
|
|
1138
|
+
function wt() {
|
|
1136
1139
|
if (arguments.length === 0)
|
|
1137
1140
|
throw new Error("compose requires at least one argument");
|
|
1138
|
-
return
|
|
1141
|
+
return Ae.apply(this, ko(arguments));
|
|
1139
1142
|
}
|
|
1140
|
-
var
|
|
1141
|
-
return
|
|
1142
|
-
}),
|
|
1143
|
+
var Z = /* @__PURE__ */ Y(function(t) {
|
|
1144
|
+
return He(0, t);
|
|
1145
|
+
}), sr = /* @__PURE__ */ ht(function(e, r, a) {
|
|
1143
1146
|
var o = e(r), i = e(a);
|
|
1144
1147
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1145
|
-
}),
|
|
1146
|
-
return
|
|
1148
|
+
}), zo = /* @__PURE__ */ Y(function(t) {
|
|
1149
|
+
return He(-1, t);
|
|
1147
1150
|
});
|
|
1148
|
-
function
|
|
1151
|
+
function So(t) {
|
|
1149
1152
|
var e = Object.prototype.toString.call(t);
|
|
1150
1153
|
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]";
|
|
1151
1154
|
}
|
|
1152
|
-
var
|
|
1153
|
-
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() :
|
|
1155
|
+
var Io = /* @__PURE__ */ Y(function(e) {
|
|
1156
|
+
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() : qe(e) ? [] : We(e) ? "" : so(e) ? {} : ar(e) ? /* @__PURE__ */ function() {
|
|
1154
1157
|
return arguments;
|
|
1155
|
-
}() :
|
|
1156
|
-
}),
|
|
1157
|
-
return e != null &&
|
|
1158
|
+
}() : So(e) ? e.constructor.from("") : void 0;
|
|
1159
|
+
}), rt = /* @__PURE__ */ Y(function(e) {
|
|
1160
|
+
return e != null && oo(e, Io(e));
|
|
1158
1161
|
});
|
|
1159
|
-
function
|
|
1162
|
+
function $o(t, e) {
|
|
1160
1163
|
for (var r = e, a = 0; a < t.length; a += 1) {
|
|
1161
1164
|
if (r == null)
|
|
1162
1165
|
return;
|
|
1163
1166
|
var o = t[a];
|
|
1164
|
-
|
|
1167
|
+
or(o) ? r = He(o, r) : r = r[o];
|
|
1165
1168
|
}
|
|
1166
1169
|
return r;
|
|
1167
1170
|
}
|
|
1168
|
-
var
|
|
1171
|
+
var Ot = /* @__PURE__ */ ir(Ja, 0), Co = /* @__PURE__ */ K(function(e, r) {
|
|
1169
1172
|
for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
|
|
1170
1173
|
o[e[i]] = 1, i += 1;
|
|
1171
1174
|
for (var s in r)
|
|
1172
1175
|
o.hasOwnProperty(s) || (a[s] = r[s]);
|
|
1173
1176
|
return a;
|
|
1174
|
-
}),
|
|
1177
|
+
}), lr = /* @__PURE__ */ K($o), cr = /* @__PURE__ */ K(function(e, r) {
|
|
1175
1178
|
for (var a = {}, o = 0; o < e.length; )
|
|
1176
1179
|
e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
|
|
1177
1180
|
return a;
|
|
1178
|
-
}),
|
|
1181
|
+
}), dr = /* @__PURE__ */ K(function(e, r) {
|
|
1179
1182
|
return Array.prototype.slice.call(r, 0).sort(e);
|
|
1180
|
-
}),
|
|
1183
|
+
}), gr = /* @__PURE__ */ K(function(e, r) {
|
|
1181
1184
|
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1182
1185
|
var i = e(a), n = e(o);
|
|
1183
1186
|
return i < n ? -1 : i > n ? 1 : 0;
|
|
1184
1187
|
});
|
|
1185
1188
|
});
|
|
1186
|
-
const
|
|
1189
|
+
const Gt = 20, To = {
|
|
1187
1190
|
__name: "DataProvider",
|
|
1188
1191
|
props: {
|
|
1189
1192
|
locale: {
|
|
@@ -1204,17 +1207,17 @@ const Ot = 20, So = {
|
|
|
1204
1207
|
}
|
|
1205
1208
|
},
|
|
1206
1209
|
setup(t) {
|
|
1207
|
-
const e = t, { timezone: r, locale: a } =
|
|
1210
|
+
const e = t, { timezone: r, locale: a } = xr(e), { onError: o } = Ve(), i = tr("history"), n = j(i.panel || Se), s = j(null), l = j(0), c = Pe({
|
|
1208
1211
|
firstGame: q,
|
|
1209
1212
|
lastGame: q
|
|
1210
|
-
}), g =
|
|
1211
|
-
min:
|
|
1212
|
-
max:
|
|
1213
|
+
}), g = Pe({
|
|
1214
|
+
min: Q(q, "YYYY-MM-DD"),
|
|
1215
|
+
max: Q(q, "YYYY-MM-DD")
|
|
1213
1216
|
}), {
|
|
1214
|
-
state:
|
|
1215
|
-
isLoading:
|
|
1217
|
+
state: m,
|
|
1218
|
+
isLoading: f,
|
|
1216
1219
|
execute: v
|
|
1217
|
-
} =
|
|
1220
|
+
} = ee({
|
|
1218
1221
|
options: {
|
|
1219
1222
|
path: "/v2/games-calendar",
|
|
1220
1223
|
apiKey: e.apiKey,
|
|
@@ -1225,68 +1228,68 @@ const Ot = 20, So = {
|
|
|
1225
1228
|
})),
|
|
1226
1229
|
resetOnExecute: !0
|
|
1227
1230
|
},
|
|
1228
|
-
transform: (
|
|
1231
|
+
transform: (b) => $a(b, c),
|
|
1229
1232
|
onError: o
|
|
1230
|
-
}),
|
|
1231
|
-
() =>
|
|
1232
|
-
),
|
|
1233
|
-
() =>
|
|
1234
|
-
...
|
|
1235
|
-
n.value ===
|
|
1233
|
+
}), S = A(
|
|
1234
|
+
() => Ue(m.value).schedule(r.value, a.value).more(0, l.value * Gt + Gt).groupByDays().value()
|
|
1235
|
+
), h = A(
|
|
1236
|
+
() => Aa(
|
|
1237
|
+
...Ca.get(n.value)(c.value.firstGame, c.value.lastGame),
|
|
1238
|
+
n.value === ve,
|
|
1236
1239
|
a.value
|
|
1237
1240
|
)
|
|
1238
1241
|
);
|
|
1239
|
-
|
|
1242
|
+
ne(
|
|
1240
1243
|
n,
|
|
1241
|
-
async (
|
|
1242
|
-
const { min: I, max:
|
|
1243
|
-
g.value = { min:
|
|
1244
|
+
async (b) => {
|
|
1245
|
+
const { min: I, max: E, id: k } = De.get(b)(i.month);
|
|
1246
|
+
g.value = { min: Q(I, "YYYY-MM-DD"), max: Q(E, "YYYY-MM-DD") }, s.value = k, await v(), i.month || y();
|
|
1244
1247
|
},
|
|
1245
1248
|
{
|
|
1246
1249
|
immediate: !0
|
|
1247
1250
|
}
|
|
1248
1251
|
);
|
|
1249
|
-
function
|
|
1250
|
-
n.value =
|
|
1252
|
+
function C(b) {
|
|
1253
|
+
n.value = b, i.panel = b, l.value = 0, i.month = null;
|
|
1251
1254
|
}
|
|
1252
|
-
function
|
|
1253
|
-
const { min: I, max:
|
|
1255
|
+
function x(b) {
|
|
1256
|
+
const { min: I, max: E, id: k } = De.get(n.value)(b.id);
|
|
1254
1257
|
s.value = k, i.month = k, g.value = {
|
|
1255
|
-
min:
|
|
1256
|
-
max:
|
|
1258
|
+
min: Q(I, "YYYY-MM-DD"),
|
|
1259
|
+
max: Q(E, "YYYY-MM-DD")
|
|
1257
1260
|
}, l.value = 0, v();
|
|
1258
1261
|
}
|
|
1259
|
-
function
|
|
1262
|
+
function z() {
|
|
1260
1263
|
l.value += 1;
|
|
1261
1264
|
}
|
|
1262
|
-
function
|
|
1263
|
-
var
|
|
1264
|
-
if (![
|
|
1265
|
+
function y() {
|
|
1266
|
+
var E, k;
|
|
1267
|
+
if (![ve, Ie].includes(n.value))
|
|
1265
1268
|
return;
|
|
1266
|
-
const { firstGame:
|
|
1267
|
-
if (
|
|
1268
|
-
const { min: P, max: D, id:
|
|
1269
|
-
return g.value = { min:
|
|
1269
|
+
const { firstGame: b, lastGame: I } = c.value;
|
|
1270
|
+
if (Kr(q, b)) {
|
|
1271
|
+
const { min: P, max: D, id: J } = De.get(n.value)((E = Z(h.value)) == null ? void 0 : E.id);
|
|
1272
|
+
return g.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, s.value = J, v();
|
|
1270
1273
|
}
|
|
1271
|
-
if (
|
|
1272
|
-
const { min: P, max: D, id:
|
|
1273
|
-
g.value = { min:
|
|
1274
|
+
if (Jt(q, I)) {
|
|
1275
|
+
const { min: P, max: D, id: J } = De.get(n.value)((k = zo(h.value)) == null ? void 0 : k.id);
|
|
1276
|
+
g.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, s.value = J, v();
|
|
1274
1277
|
}
|
|
1275
1278
|
}
|
|
1276
|
-
return (
|
|
1279
|
+
return (b, I) => ge(b.$slots, "default", $e(Ce({
|
|
1277
1280
|
today: d(q),
|
|
1278
|
-
months:
|
|
1279
|
-
isLoading: d(
|
|
1281
|
+
months: h.value,
|
|
1282
|
+
isLoading: d(f),
|
|
1280
1283
|
datesFilter: g.value,
|
|
1281
1284
|
selectedMonth: s.value,
|
|
1282
1285
|
selectedPanel: n.value,
|
|
1283
|
-
games:
|
|
1284
|
-
more:
|
|
1285
|
-
setMonth:
|
|
1286
|
-
changePanel:
|
|
1286
|
+
games: S.value,
|
|
1287
|
+
more: z,
|
|
1288
|
+
setMonth: x,
|
|
1289
|
+
changePanel: C
|
|
1287
1290
|
})));
|
|
1288
1291
|
}
|
|
1289
|
-
},
|
|
1292
|
+
}, No = {
|
|
1290
1293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1291
1294
|
viewBox: "0 0 24 24",
|
|
1292
1295
|
fill: "none",
|
|
@@ -1295,8 +1298,8 @@ const Ot = 20, So = {
|
|
|
1295
1298
|
"stroke-linecap": "round",
|
|
1296
1299
|
"stroke-linejoin": "round"
|
|
1297
1300
|
};
|
|
1298
|
-
function
|
|
1299
|
-
return
|
|
1301
|
+
function Ao(t, e) {
|
|
1302
|
+
return p(), _("svg", No, e[0] || (e[0] = [
|
|
1300
1303
|
u("rect", {
|
|
1301
1304
|
x: "2",
|
|
1302
1305
|
y: "3",
|
|
@@ -1319,7 +1322,7 @@ function Io(t, e) {
|
|
|
1319
1322
|
}, null, -1)
|
|
1320
1323
|
]));
|
|
1321
1324
|
}
|
|
1322
|
-
const
|
|
1325
|
+
const Eo = { render: Ao }, Do = {
|
|
1323
1326
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1324
1327
|
viewBox: "0 0 24 24",
|
|
1325
1328
|
fill: "none",
|
|
@@ -1328,25 +1331,25 @@ const $o = { render: Io }, To = {
|
|
|
1328
1331
|
"stroke-linecap": "round",
|
|
1329
1332
|
"stroke-linejoin": "round"
|
|
1330
1333
|
};
|
|
1331
|
-
function
|
|
1332
|
-
return
|
|
1334
|
+
function Lo(t, e) {
|
|
1335
|
+
return p(), _("svg", Do, e[0] || (e[0] = [
|
|
1333
1336
|
u("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),
|
|
1334
1337
|
u("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1335
1338
|
]));
|
|
1336
1339
|
}
|
|
1337
|
-
const
|
|
1340
|
+
const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"], Oo = { class: "is-info is-text-sm" }, Go = { class: "is-home-team is-text-base" }, Ro = { class: "is-team-name-short" }, Yo = { class: "is-team-name-long" }, Uo = ["href", "target"], Ko = {
|
|
1338
1341
|
key: 0,
|
|
1339
1342
|
class: "is-text-xl is-text-bold"
|
|
1340
|
-
},
|
|
1343
|
+
}, Fo = {
|
|
1341
1344
|
key: 1,
|
|
1342
1345
|
class: "is-text-xl is-text-bold"
|
|
1343
|
-
},
|
|
1346
|
+
}, Vo = {
|
|
1344
1347
|
key: 2,
|
|
1345
1348
|
class: "is-text-xl is-text-bold"
|
|
1346
|
-
},
|
|
1349
|
+
}, Bo = {
|
|
1347
1350
|
key: 0,
|
|
1348
1351
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1349
|
-
},
|
|
1352
|
+
}, qo = { class: "is-away-team is-text-base" }, Wo = { key: 0 }, Ho = { class: "is-team-name-short" }, Jo = { class: "is-team-name-long" }, Xo = {
|
|
1350
1353
|
__name: "Item",
|
|
1351
1354
|
props: {
|
|
1352
1355
|
game: {
|
|
@@ -1363,7 +1366,7 @@ const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"],
|
|
|
1363
1366
|
},
|
|
1364
1367
|
gameLink: {
|
|
1365
1368
|
type: Function,
|
|
1366
|
-
default:
|
|
1369
|
+
default: H
|
|
1367
1370
|
},
|
|
1368
1371
|
target: {
|
|
1369
1372
|
type: String,
|
|
@@ -1371,32 +1374,32 @@ const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"],
|
|
|
1371
1374
|
}
|
|
1372
1375
|
},
|
|
1373
1376
|
setup(t) {
|
|
1374
|
-
const { t: e } =
|
|
1375
|
-
return (r, a) => (
|
|
1377
|
+
const { t: e } = le();
|
|
1378
|
+
return (r, a) => (p(), _("div", {
|
|
1376
1379
|
class: F(["card-item", { "is-optional": t.game.optional }])
|
|
1377
1380
|
}, [
|
|
1378
|
-
u("div",
|
|
1379
|
-
|
|
1380
|
-
t.game.broadcast ? (
|
|
1381
|
-
a[0] || (a[0] =
|
|
1382
|
-
|
|
1383
|
-
a[1] || (a[1] =
|
|
1381
|
+
u("div", Mo, [
|
|
1382
|
+
oe(w(t.game.gameName) + " - " + w(t.game.championshipName) + " - " + w(t.game.divisionName) + " - " + w(t.game.location.locationName) + " ", 1),
|
|
1383
|
+
t.game.broadcast ? (p(), _(R, { key: 0 }, [
|
|
1384
|
+
a[0] || (a[0] = oe(" - ")),
|
|
1385
|
+
$(d(Eo), { height: "16" }),
|
|
1386
|
+
a[1] || (a[1] = oe(" "))
|
|
1384
1387
|
], 64)) : M("", !0),
|
|
1385
|
-
t.game.video ? (
|
|
1386
|
-
a[2] || (a[2] =
|
|
1388
|
+
t.game.video ? (p(), _(R, { key: 1 }, [
|
|
1389
|
+
a[2] || (a[2] = oe(" - ")),
|
|
1387
1390
|
u("a", {
|
|
1388
1391
|
href: t.game.video,
|
|
1389
1392
|
target: "_blank"
|
|
1390
1393
|
}, [
|
|
1391
|
-
|
|
1392
|
-
], 8,
|
|
1394
|
+
$(d(Po), { height: "18" })
|
|
1395
|
+
], 8, jo)
|
|
1393
1396
|
], 64)) : M("", !0)
|
|
1394
1397
|
]),
|
|
1395
|
-
u("div",
|
|
1396
|
-
u("div",
|
|
1397
|
-
u("span",
|
|
1398
|
-
u("span",
|
|
1399
|
-
(
|
|
1398
|
+
u("div", Oo, w(d(Q)(t.game.gameDate, "L LT", null, t.locale)) + " (" + w(d(Ke)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1399
|
+
u("div", Go, [
|
|
1400
|
+
u("span", Ro, w(t.game.homeTeam.shortName), 1),
|
|
1401
|
+
u("span", Yo, w(t.game.homeTeam.longName), 1),
|
|
1402
|
+
(p(), G(d(Me), {
|
|
1400
1403
|
key: t.game.homeTeam.id,
|
|
1401
1404
|
class: "is-logo-image",
|
|
1402
1405
|
src: t.game.homeTeam.logo
|
|
@@ -1409,36 +1412,36 @@ const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"],
|
|
|
1409
1412
|
href: t.gameLink(t.game),
|
|
1410
1413
|
target: t.target
|
|
1411
1414
|
}, [
|
|
1412
|
-
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (
|
|
1413
|
-
t.game.gameStatus === 3 ? (
|
|
1414
|
-
t.game.gameStatus === 4 ? (
|
|
1415
|
-
], 8,
|
|
1416
|
-
t.game.gameStatus > 0 ? (
|
|
1415
|
+
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (p(), _("span", Ko, w(t.game.homeTeamScore) + " - " + w(t.game.awayTeamScore), 1)) : M("", !0),
|
|
1416
|
+
t.game.gameStatus === 3 ? (p(), _("span", Fo, w(d(e)("game.status.jury")), 1)) : M("", !0),
|
|
1417
|
+
t.game.gameStatus === 4 ? (p(), _("span", Vo, w(d(e)("game.status.delayed")), 1)) : M("", !0)
|
|
1418
|
+
], 8, Uo),
|
|
1419
|
+
t.game.gameStatus > 0 ? (p(), _("div", Bo, w(t.game.periodResults), 1)) : M("", !0)
|
|
1417
1420
|
], 2),
|
|
1418
|
-
u("div",
|
|
1419
|
-
Array.isArray(t.game.awayTeam) ? (
|
|
1420
|
-
(
|
|
1421
|
+
u("div", qo, [
|
|
1422
|
+
Array.isArray(t.game.awayTeam) ? (p(), _("span", Wo, "Torna")) : M("", !0),
|
|
1423
|
+
(p(), G(d(Me), {
|
|
1421
1424
|
key: t.game.awayTeam.id,
|
|
1422
1425
|
class: "is-logo-image",
|
|
1423
1426
|
src: t.game.awayTeam.logo
|
|
1424
1427
|
}, null, 8, ["src"])),
|
|
1425
|
-
u("span",
|
|
1426
|
-
u("span",
|
|
1428
|
+
u("span", Ho, w(t.game.awayTeam.shortName), 1),
|
|
1429
|
+
u("span", Jo, w(t.game.awayTeam.longName), 1)
|
|
1427
1430
|
])
|
|
1428
1431
|
], 2));
|
|
1429
1432
|
}
|
|
1430
|
-
}, Ie = "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-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-$(variant)) * 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-600);--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-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)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .25s ease}.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}", We = ".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}", He = `.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)}`, qo = ".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) => {
|
|
1433
|
+
}, 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-700);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-standings-selector-title-weight: 700;--vbr-widget-standings-selector-title-transform: uppercase;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-subtitle-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-subtitle-padding: .25em .625em;--vbr-widget-standings-selector-subtitle-color: var(--vbr-widget-primary-color-500);--vbr-widget-standings-selector-subtitle-border-color: var(--vbr-widget-primary-color-200)}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}", Je = ".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}", Xe = `.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)}`, Qo = ".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) => {
|
|
1431
1434
|
const r = t.__vccOpts || t;
|
|
1432
1435
|
for (const [a, o] of e)
|
|
1433
1436
|
r[a] = o;
|
|
1434
1437
|
return r;
|
|
1435
|
-
},
|
|
1438
|
+
}, Zo = {
|
|
1436
1439
|
id: "top",
|
|
1437
1440
|
class: "flex overflow-x-auto is-mb-5"
|
|
1438
|
-
},
|
|
1441
|
+
}, ei = ["onClick"], ti = ["onClick"], ri = ["onClick"], ai = ["onClick"], oi = { class: "toggle-group" }, ii = ["disabled", "onClick"], ni = {
|
|
1439
1442
|
key: 0,
|
|
1440
1443
|
class: "is-text-center"
|
|
1441
|
-
},
|
|
1444
|
+
}, si = ["data-gamedate"], li = { class: "is-text-base" }, ci = { class: "is-card" }, di = ["onClick"], gi = {
|
|
1442
1445
|
__name: "Calendar.ce",
|
|
1443
1446
|
props: {
|
|
1444
1447
|
locale: {
|
|
@@ -1453,74 +1456,74 @@ const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"],
|
|
|
1453
1456
|
type: String,
|
|
1454
1457
|
default: ""
|
|
1455
1458
|
},
|
|
1456
|
-
...
|
|
1459
|
+
...Mr
|
|
1457
1460
|
},
|
|
1458
1461
|
setup(t) {
|
|
1459
|
-
const e = t, r = { en:
|
|
1460
|
-
return (n, s) => (
|
|
1462
|
+
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => pt(e.externalGameResolver || "/game/id/{id}", n);
|
|
1463
|
+
return (n, s) => (p(), G(d(fe), {
|
|
1461
1464
|
locale: e.locale,
|
|
1462
1465
|
messages: r
|
|
1463
1466
|
}, {
|
|
1464
|
-
default:
|
|
1465
|
-
|
|
1466
|
-
default:
|
|
1467
|
-
g ? (
|
|
1467
|
+
default: N(({ t: l }) => [
|
|
1468
|
+
$(d(Te), null, {
|
|
1469
|
+
default: N(({ error: c, hasError: g }) => [
|
|
1470
|
+
g ? (p(), G(d(Ne), {
|
|
1468
1471
|
key: 0,
|
|
1469
1472
|
error: c
|
|
1470
1473
|
}, null, 8, ["error"])) : M("", !0),
|
|
1471
|
-
|
|
1474
|
+
$(To, {
|
|
1472
1475
|
locale: e.locale,
|
|
1473
1476
|
timezone: a.value,
|
|
1474
1477
|
"season-id": t.seasonId,
|
|
1475
1478
|
"api-key": t.apiKey
|
|
1476
1479
|
}, {
|
|
1477
|
-
default:
|
|
1478
|
-
games:
|
|
1479
|
-
months:
|
|
1480
|
+
default: N(({
|
|
1481
|
+
games: m,
|
|
1482
|
+
months: f,
|
|
1480
1483
|
isLoading: v,
|
|
1481
|
-
selectedPanel:
|
|
1482
|
-
selectedMonth:
|
|
1483
|
-
more:
|
|
1484
|
-
setMonth:
|
|
1485
|
-
changePanel:
|
|
1484
|
+
selectedPanel: S,
|
|
1485
|
+
selectedMonth: h,
|
|
1486
|
+
more: C,
|
|
1487
|
+
setMonth: x,
|
|
1488
|
+
changePanel: z
|
|
1486
1489
|
}) => [
|
|
1487
|
-
u("div",
|
|
1490
|
+
u("div", Zo, [
|
|
1488
1491
|
u("button", {
|
|
1489
|
-
class: F(["tab-button", { "is-active":
|
|
1490
|
-
onClick: (
|
|
1491
|
-
},
|
|
1492
|
+
class: F(["tab-button", { "is-active": S === d(ve) }]),
|
|
1493
|
+
onClick: (y) => z(d(ve))
|
|
1494
|
+
}, w(l("calendar.gamesPlayed")), 11, ei),
|
|
1492
1495
|
u("button", {
|
|
1493
|
-
class: F(["tab-button", { "is-active":
|
|
1494
|
-
onClick: (
|
|
1495
|
-
},
|
|
1496
|
+
class: F(["tab-button", { "is-active": S === d(Se) }]),
|
|
1497
|
+
onClick: (y) => z(d(Se))
|
|
1498
|
+
}, w(l("calendar.todaysGames")), 11, ti),
|
|
1496
1499
|
u("button", {
|
|
1497
|
-
class: F(["tab-button", { "is-active":
|
|
1498
|
-
onClick: (
|
|
1499
|
-
},
|
|
1500
|
+
class: F(["tab-button", { "is-active": S === d(Ie) }]),
|
|
1501
|
+
onClick: (y) => z(d(Ie))
|
|
1502
|
+
}, w(l("calendar.nextGames")), 11, ri),
|
|
1500
1503
|
u("button", {
|
|
1501
|
-
class: F(["tab-button", { "is-active":
|
|
1502
|
-
onClick: (
|
|
1503
|
-
},
|
|
1504
|
+
class: F(["tab-button", { "is-active": S === d(Ge) }]),
|
|
1505
|
+
onClick: (y) => z(d(Ge))
|
|
1506
|
+
}, w(l("calendar.weekGames")), 11, ai)
|
|
1504
1507
|
]),
|
|
1505
|
-
u("div",
|
|
1506
|
-
(
|
|
1507
|
-
key:
|
|
1508
|
+
u("div", oi, [
|
|
1509
|
+
(p(!0), _(R, null, W(f, (y) => (p(), _("button", {
|
|
1510
|
+
key: y.id,
|
|
1508
1511
|
type: "button",
|
|
1509
|
-
class: F({ "is-active":
|
|
1512
|
+
class: F({ "is-active": h === y.id }),
|
|
1510
1513
|
disabled: v,
|
|
1511
|
-
onClick: (
|
|
1512
|
-
},
|
|
1514
|
+
onClick: (b) => x(y)
|
|
1515
|
+
}, w(y.name), 11, ii))), 128))
|
|
1513
1516
|
]),
|
|
1514
|
-
|
|
1517
|
+
m.totalItems === 0 && !v ? (p(), _("div", ni, w(l("calendar.noGame")), 1)) : M("", !0),
|
|
1515
1518
|
u("div", null, [
|
|
1516
|
-
v ? (
|
|
1517
|
-
(
|
|
1518
|
-
key:
|
|
1519
|
-
"data-gamedate":
|
|
1519
|
+
v ? (p(), G(d(Wt), { key: 0 })) : M("", !0),
|
|
1520
|
+
(p(!0), _(R, null, W(m.rows, (y, b) => (p(), _("div", {
|
|
1521
|
+
key: b,
|
|
1522
|
+
"data-gamedate": b
|
|
1520
1523
|
}, [
|
|
1521
|
-
u("span",
|
|
1522
|
-
u("div",
|
|
1523
|
-
(
|
|
1524
|
+
u("span", li, w(d(Q)(new Date(b), "LL dddd", a.value, t.locale)), 1),
|
|
1525
|
+
u("div", ci, [
|
|
1526
|
+
(p(!0), _(R, null, W(y, (I) => (p(), G(Xo, {
|
|
1524
1527
|
key: I.id,
|
|
1525
1528
|
game: I,
|
|
1526
1529
|
locale: t.locale,
|
|
@@ -1529,15 +1532,15 @@ const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"],
|
|
|
1529
1532
|
target: o.value
|
|
1530
1533
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1531
1534
|
])
|
|
1532
|
-
], 8,
|
|
1535
|
+
], 8, si))), 128))
|
|
1533
1536
|
]),
|
|
1534
|
-
!v &&
|
|
1537
|
+
!v && m.currentItems < m.totalItems ? (p(), G(d(Or), {
|
|
1535
1538
|
key: 1,
|
|
1536
1539
|
options: { rootMargin: "400px" },
|
|
1537
|
-
onIntersect:
|
|
1540
|
+
onIntersect: C
|
|
1538
1541
|
}, {
|
|
1539
|
-
default:
|
|
1540
|
-
u("button", { onClick:
|
|
1542
|
+
default: N(() => [
|
|
1543
|
+
u("button", { onClick: C }, w(l("calendar.more")), 9, di)
|
|
1541
1544
|
]),
|
|
1542
1545
|
_: 2
|
|
1543
1546
|
}, 1032, ["onIntersect"])) : M("", !0)
|
|
@@ -1551,29 +1554,29 @@ const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"],
|
|
|
1551
1554
|
_: 1
|
|
1552
1555
|
}, 8, ["locale"]));
|
|
1553
1556
|
}
|
|
1554
|
-
},
|
|
1555
|
-
function
|
|
1557
|
+
}, ui = /* @__PURE__ */ _e(gi, [["styles", [xe, Je, Xe, Qo]]]), ke = "schedule", at = "standings", pe = "players", Le = "teams";
|
|
1558
|
+
function pi(t, e) {
|
|
1556
1559
|
var r, a, o, i;
|
|
1557
|
-
e.championships =
|
|
1560
|
+
e.championships = gr(de("sectionId"))(t), e.selectedChampionshipId = (a = (r = e.championships) == null ? void 0 : r[0]) == null ? void 0 : a.sectionId, e.phaseId = (i = (o = t == null ? void 0 : t[0]) == null ? void 0 : o.phases[0]) == null ? void 0 : i.phaseId;
|
|
1558
1561
|
}
|
|
1559
|
-
const
|
|
1562
|
+
const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1560
1563
|
api: "/v2/games-list",
|
|
1561
|
-
columns:
|
|
1564
|
+
columns: Zt,
|
|
1562
1565
|
sort: {}
|
|
1563
1566
|
}).set("standings", {
|
|
1564
1567
|
api: "/v2/standings",
|
|
1565
|
-
columns:
|
|
1568
|
+
columns: ia,
|
|
1566
1569
|
sort: {}
|
|
1567
1570
|
}).set("points", {
|
|
1568
1571
|
api: "/v2/players-stats",
|
|
1569
|
-
columns:
|
|
1572
|
+
columns: Ee,
|
|
1570
1573
|
sort: {
|
|
1571
1574
|
sortTarget: "points",
|
|
1572
1575
|
orders: [{ target: "points", direction: X }]
|
|
1573
1576
|
}
|
|
1574
1577
|
}).set("goals", {
|
|
1575
1578
|
api: "/v2/players-stats",
|
|
1576
|
-
columns:
|
|
1579
|
+
columns: Ee,
|
|
1577
1580
|
sort: {
|
|
1578
1581
|
sortTarget: "goals",
|
|
1579
1582
|
orders: [
|
|
@@ -1583,7 +1586,7 @@ const ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1583
1586
|
}
|
|
1584
1587
|
}).set("assists", {
|
|
1585
1588
|
api: "/v2/players-stats",
|
|
1586
|
-
columns:
|
|
1589
|
+
columns: Ee,
|
|
1587
1590
|
sort: {
|
|
1588
1591
|
sortTarget: "assists",
|
|
1589
1592
|
orders: [
|
|
@@ -1593,14 +1596,14 @@ const ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1593
1596
|
}
|
|
1594
1597
|
}).set("plusminus", {
|
|
1595
1598
|
api: "/v2/players-stats",
|
|
1596
|
-
columns:
|
|
1599
|
+
columns: Ee,
|
|
1597
1600
|
sort: {
|
|
1598
1601
|
sortTarget: "plusMinus",
|
|
1599
1602
|
orders: [{ target: "plusMinus", direction: X }]
|
|
1600
1603
|
}
|
|
1601
1604
|
}).set("playerspenalties", {
|
|
1602
1605
|
api: "/v2/players-penalty",
|
|
1603
|
-
columns:
|
|
1606
|
+
columns: na,
|
|
1604
1607
|
sort: {
|
|
1605
1608
|
sortTarget: "pim",
|
|
1606
1609
|
orders: [{ target: "pim", direction: X }]
|
|
@@ -1623,34 +1626,34 @@ const ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1623
1626
|
}
|
|
1624
1627
|
}).set("teamFairplay", {
|
|
1625
1628
|
api: "/v2/team-fairplay",
|
|
1626
|
-
columns:
|
|
1629
|
+
columns: sa,
|
|
1627
1630
|
sort: {
|
|
1628
1631
|
sortTarget: "pim",
|
|
1629
1632
|
orders: [{ target: "pim", direction: X }]
|
|
1630
1633
|
}
|
|
1631
1634
|
}).set("teamPenaltiKilling", {
|
|
1632
1635
|
api: "/v2/team-powerplay",
|
|
1633
|
-
columns:
|
|
1636
|
+
columns: la,
|
|
1634
1637
|
sort: {
|
|
1635
1638
|
sortTarget: "pkPercent",
|
|
1636
1639
|
orders: [{ target: "pkPercent", direction: X }]
|
|
1637
1640
|
}
|
|
1638
1641
|
}).set("teamPowerplay", {
|
|
1639
1642
|
api: "/v2/team-powerplay",
|
|
1640
|
-
columns:
|
|
1643
|
+
columns: ca,
|
|
1641
1644
|
sort: {
|
|
1642
1645
|
sortTarget: "ppPercent",
|
|
1643
1646
|
orders: [{ target: "ppPercent", direction: X }]
|
|
1644
1647
|
}
|
|
1645
1648
|
}).set("teamScoringEfficiency", {
|
|
1646
1649
|
api: "/v2/team-scoring-efficiency",
|
|
1647
|
-
columns:
|
|
1650
|
+
columns: da,
|
|
1648
1651
|
sort: {
|
|
1649
1652
|
sortTarget: "sp",
|
|
1650
1653
|
orders: [{ target: "sp", direction: X }]
|
|
1651
1654
|
}
|
|
1652
1655
|
});
|
|
1653
|
-
function
|
|
1656
|
+
function Rt(t) {
|
|
1654
1657
|
return [
|
|
1655
1658
|
{
|
|
1656
1659
|
name: t("report.points"),
|
|
@@ -1682,7 +1685,7 @@ function Gt(t) {
|
|
|
1682
1685
|
}
|
|
1683
1686
|
];
|
|
1684
1687
|
}
|
|
1685
|
-
function
|
|
1688
|
+
function Yt(t) {
|
|
1686
1689
|
return [
|
|
1687
1690
|
// {
|
|
1688
1691
|
// name: t('report.teamAttendance'),
|
|
@@ -1706,15 +1709,15 @@ function Rt(t) {
|
|
|
1706
1709
|
}
|
|
1707
1710
|
];
|
|
1708
1711
|
}
|
|
1709
|
-
function
|
|
1712
|
+
function vi(t, e) {
|
|
1710
1713
|
if (t.length === 0)
|
|
1711
|
-
throw new
|
|
1712
|
-
e.seasons =
|
|
1714
|
+
throw new Xt(Oe.message, Oe.options);
|
|
1715
|
+
e.seasons = bi(t), e.championshipId || (e.championshipId = Z(e.seasons).championshipId);
|
|
1713
1716
|
}
|
|
1714
|
-
function
|
|
1715
|
-
return
|
|
1717
|
+
function bi(t) {
|
|
1718
|
+
return wt(dr(sr(de("seasonName"))), yt(cr(["championshipId", "seasonName"])))(t);
|
|
1716
1719
|
}
|
|
1717
|
-
const
|
|
1720
|
+
const hi = {
|
|
1718
1721
|
__name: "DataProvider",
|
|
1719
1722
|
props: {
|
|
1720
1723
|
championshipName: {
|
|
@@ -1743,7 +1746,7 @@ const ui = {
|
|
|
1743
1746
|
}
|
|
1744
1747
|
},
|
|
1745
1748
|
setup(t) {
|
|
1746
|
-
const e = t, r =
|
|
1749
|
+
const e = t, r = tr("history"), a = se({
|
|
1747
1750
|
loading: !1,
|
|
1748
1751
|
seasons: [],
|
|
1749
1752
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1752,106 +1755,106 @@ const ui = {
|
|
|
1752
1755
|
selectedChampionshipId: null,
|
|
1753
1756
|
sections: [],
|
|
1754
1757
|
section: r.section || null,
|
|
1755
|
-
selectedPanel:
|
|
1758
|
+
selectedPanel: ke,
|
|
1756
1759
|
api: "/v2/games-list",
|
|
1757
1760
|
apiParams: {},
|
|
1758
|
-
columns:
|
|
1761
|
+
columns: Zt,
|
|
1759
1762
|
sort: null,
|
|
1760
1763
|
report: "points"
|
|
1761
|
-
}), o =
|
|
1764
|
+
}), o = _r(e, "timezone"), { onError: i } = Ve(), { sort: n, change: s } = Zr({
|
|
1762
1765
|
sortTarget: "",
|
|
1763
1766
|
orders: []
|
|
1764
|
-
}), { page: l, change: c } =
|
|
1767
|
+
}), { page: l, change: c } = ea(), { t: g } = le(), { isLoading: m, execute: f } = ee({
|
|
1765
1768
|
options: {
|
|
1766
1769
|
path: "/v2/championship-seasons",
|
|
1767
1770
|
apiKey: e.apiKey,
|
|
1768
1771
|
params: { championshipName: e.championshipName }
|
|
1769
1772
|
},
|
|
1770
|
-
transform: (
|
|
1773
|
+
transform: (T) => vi(T, a),
|
|
1771
1774
|
onError: i
|
|
1772
|
-
}), { isLoading: v, execute:
|
|
1775
|
+
}), { isLoading: v, execute: S } = ee({
|
|
1773
1776
|
options: {
|
|
1774
1777
|
path: "/v2/championship-sections",
|
|
1775
1778
|
apiKey: e.apiKey,
|
|
1776
1779
|
params: A(() => ({ championshipId: a.championshipId }))
|
|
1777
1780
|
},
|
|
1778
|
-
transform: (
|
|
1781
|
+
transform: (T) => pi(T, a),
|
|
1779
1782
|
onError: i
|
|
1780
1783
|
}), {
|
|
1781
|
-
isLoading:
|
|
1782
|
-
state:
|
|
1783
|
-
execute:
|
|
1784
|
-
} =
|
|
1784
|
+
isLoading: h,
|
|
1785
|
+
state: C,
|
|
1786
|
+
execute: x
|
|
1787
|
+
} = ee({
|
|
1785
1788
|
options: {
|
|
1786
1789
|
path: A(() => a.api),
|
|
1787
1790
|
apiKey: e.apiKey,
|
|
1788
1791
|
resetOnExecute: !0,
|
|
1789
1792
|
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1790
1793
|
},
|
|
1791
|
-
transform: (
|
|
1794
|
+
transform: (T) => Qt(T),
|
|
1792
1795
|
onError: i
|
|
1793
|
-
}),
|
|
1794
|
-
|
|
1795
|
-
const
|
|
1796
|
-
() => a.selectedPanel ===
|
|
1797
|
-
),
|
|
1798
|
-
const
|
|
1799
|
-
return
|
|
1800
|
-
}), I = A(() => a.selectedPanel ===
|
|
1801
|
-
() =>
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1796
|
+
}), z = ta([v, m, h], { delay: 1e3 });
|
|
1797
|
+
be([f, S, x]);
|
|
1798
|
+
const y = A(
|
|
1799
|
+
() => a.selectedPanel === pe ? Rt(g) : Yt(g)
|
|
1800
|
+
), b = A(() => {
|
|
1801
|
+
const T = a.championships.find((O) => O.sectionId === a.selectedChampionshipId);
|
|
1802
|
+
return Fr((T == null ? void 0 : T.phases) ?? []);
|
|
1803
|
+
}), I = A(() => a.selectedPanel === ke ? 0 : e.limit), E = A(
|
|
1804
|
+
() => Vr(
|
|
1805
|
+
C.value,
|
|
1806
|
+
Br,
|
|
1807
|
+
qr,
|
|
1808
|
+
Wr,
|
|
1809
|
+
Hr(["mip"]),
|
|
1810
|
+
Jr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1808
1811
|
)
|
|
1809
|
-
), k = A(() =>
|
|
1810
|
-
function P(
|
|
1811
|
-
a.championshipId =
|
|
1812
|
+
), k = A(() => Ue(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), I.value).value());
|
|
1813
|
+
function P(T) {
|
|
1814
|
+
a.championshipId = T, r.championshipId = T, be([S, x]);
|
|
1812
1815
|
}
|
|
1813
|
-
function D(
|
|
1814
|
-
var
|
|
1815
|
-
a.selectedChampionshipId =
|
|
1816
|
+
function D(T) {
|
|
1817
|
+
var O;
|
|
1818
|
+
a.selectedChampionshipId = T, a.phaseId = ((O = b.value[0]) == null ? void 0 : O.phaseId) ?? null, x();
|
|
1816
1819
|
}
|
|
1817
|
-
function
|
|
1818
|
-
a.phaseId =
|
|
1820
|
+
function J(T) {
|
|
1821
|
+
a.phaseId = T, x();
|
|
1819
1822
|
}
|
|
1820
|
-
function
|
|
1821
|
-
var
|
|
1822
|
-
a.selectedPanel =
|
|
1823
|
-
let
|
|
1824
|
-
|
|
1823
|
+
function ie(T) {
|
|
1824
|
+
var ae, B;
|
|
1825
|
+
a.selectedPanel = T;
|
|
1826
|
+
let O = T;
|
|
1827
|
+
T === pe && (O = (ae = Z(Rt(H))) == null ? void 0 : ae.value), T === Le && (O = (B = Z(Yt(H))) == null ? void 0 : B.value), a.report = O, V(O);
|
|
1825
1828
|
}
|
|
1826
|
-
function
|
|
1827
|
-
V(
|
|
1829
|
+
function te(T) {
|
|
1830
|
+
V(T);
|
|
1828
1831
|
}
|
|
1829
|
-
function V(
|
|
1830
|
-
var
|
|
1831
|
-
const
|
|
1832
|
-
a.api =
|
|
1832
|
+
function V(T) {
|
|
1833
|
+
var ae, B;
|
|
1834
|
+
const O = mi.get(T);
|
|
1835
|
+
a.api = O.api, a.apiParams = O.params, a.columns = O.columns, n.sortTarget = ((ae = O.sort) == null ? void 0 : ae.sortTarget) ?? "", n.orders = ((B = O.sort) == null ? void 0 : B.orders) ?? [], x(), c(1);
|
|
1833
1836
|
}
|
|
1834
|
-
return (
|
|
1837
|
+
return (T, O) => ge(T.$slots, "default", $e(Ce({
|
|
1835
1838
|
...a,
|
|
1836
1839
|
sort: d(n),
|
|
1837
1840
|
page: d(l),
|
|
1838
|
-
phases:
|
|
1839
|
-
isLoading: d(
|
|
1841
|
+
phases: b.value,
|
|
1842
|
+
isLoading: d(z),
|
|
1840
1843
|
games: k.value,
|
|
1841
|
-
reports:
|
|
1844
|
+
reports: y.value,
|
|
1842
1845
|
onSort: d(s),
|
|
1843
|
-
changePanel:
|
|
1844
|
-
changePhase:
|
|
1846
|
+
changePanel: ie,
|
|
1847
|
+
changePhase: J,
|
|
1845
1848
|
changeSeason: P,
|
|
1846
|
-
onChangeReport:
|
|
1849
|
+
onChangeReport: te,
|
|
1847
1850
|
onPaginatorChange: d(c),
|
|
1848
1851
|
changeChampionship: D
|
|
1849
1852
|
})));
|
|
1850
1853
|
}
|
|
1851
|
-
},
|
|
1854
|
+
}, fi = { class: "g-row" }, yi = {
|
|
1852
1855
|
for: "season",
|
|
1853
1856
|
class: "label"
|
|
1854
|
-
},
|
|
1857
|
+
}, wi = ["value"], xi = {
|
|
1855
1858
|
__name: "SeasonSelector",
|
|
1856
1859
|
props: {
|
|
1857
1860
|
seasons: {
|
|
@@ -1865,39 +1868,39 @@ const ui = {
|
|
|
1865
1868
|
},
|
|
1866
1869
|
emits: ["update:championshipId"],
|
|
1867
1870
|
setup(t, { emit: e }) {
|
|
1868
|
-
const r = t, a = e, { t: o } =
|
|
1869
|
-
return (n, s) => (
|
|
1871
|
+
const r = t, a = e, { t: o } = le(), { championshipId: i } = bt(r, a);
|
|
1872
|
+
return (n, s) => (p(), _("div", fi, [
|
|
1870
1873
|
u("div", null, [
|
|
1871
|
-
u("label",
|
|
1872
|
-
|
|
1874
|
+
u("label", yi, w(d(o)("selection.season")), 1),
|
|
1875
|
+
$(d(me), {
|
|
1873
1876
|
id: "season",
|
|
1874
1877
|
modelValue: d(i),
|
|
1875
|
-
"onUpdate:modelValue": s[0] || (s[0] = (l) =>
|
|
1878
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => ce(i) ? i.value = l : null)
|
|
1876
1879
|
}, {
|
|
1877
|
-
default:
|
|
1878
|
-
(
|
|
1880
|
+
default: N(() => [
|
|
1881
|
+
(p(!0), _(R, null, W(t.seasons, (l) => (p(), _("option", {
|
|
1879
1882
|
key: l.championshipId,
|
|
1880
1883
|
value: l.championshipId
|
|
1881
|
-
},
|
|
1884
|
+
}, w(l.seasonName), 9, wi))), 128))
|
|
1882
1885
|
]),
|
|
1883
1886
|
_: 1
|
|
1884
1887
|
}, 8, ["modelValue"])
|
|
1885
1888
|
])
|
|
1886
1889
|
]));
|
|
1887
1890
|
}
|
|
1888
|
-
},
|
|
1891
|
+
}, _i = {
|
|
1889
1892
|
class: "g-row",
|
|
1890
1893
|
style: { "column-gap": "8px" }
|
|
1891
|
-
},
|
|
1894
|
+
}, ki = {
|
|
1892
1895
|
for: "phases",
|
|
1893
1896
|
class: "label"
|
|
1894
|
-
},
|
|
1897
|
+
}, zi = {
|
|
1895
1898
|
key: 0,
|
|
1896
1899
|
value: null
|
|
1897
|
-
},
|
|
1900
|
+
}, Si = ["value"], Ii = { key: 0 }, $i = {
|
|
1898
1901
|
for: "report",
|
|
1899
1902
|
class: "label"
|
|
1900
|
-
},
|
|
1903
|
+
}, Ci = ["value"], Ti = {
|
|
1901
1904
|
__name: "Selector",
|
|
1902
1905
|
props: {
|
|
1903
1906
|
phases: {
|
|
@@ -1923,45 +1926,45 @@ const ui = {
|
|
|
1923
1926
|
},
|
|
1924
1927
|
emits: ["update:phaseId", "update:report"],
|
|
1925
1928
|
setup(t, { emit: e }) {
|
|
1926
|
-
const r = t, a = e, { t: o } =
|
|
1927
|
-
return (s, l) => (
|
|
1929
|
+
const r = t, a = e, { t: o } = le(), { phaseId: i, report: n } = bt(r, a);
|
|
1930
|
+
return (s, l) => (p(), _("div", _i, [
|
|
1928
1931
|
u("div", null, [
|
|
1929
|
-
u("label",
|
|
1930
|
-
|
|
1932
|
+
u("label", ki, w(d(o)("selection.phases")), 1),
|
|
1933
|
+
$(d(me), {
|
|
1931
1934
|
id: "phases",
|
|
1932
1935
|
modelValue: d(i),
|
|
1933
|
-
"onUpdate:modelValue": l[0] || (l[0] = (c) =>
|
|
1936
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => ce(i) ? i.value = c : null),
|
|
1934
1937
|
disabled: d(i) === null
|
|
1935
1938
|
}, {
|
|
1936
|
-
default:
|
|
1937
|
-
d(i) === null ? (
|
|
1938
|
-
(
|
|
1939
|
+
default: N(() => [
|
|
1940
|
+
d(i) === null ? (p(), _("option", zi, w(d(o)("selection.noPhases")), 1)) : M("", !0),
|
|
1941
|
+
(p(!0), _(R, null, W(t.phases, (c) => (p(), _("option", {
|
|
1939
1942
|
key: c.phaseId,
|
|
1940
1943
|
value: c.phaseId
|
|
1941
|
-
},
|
|
1944
|
+
}, w(c.phaseName), 9, Si))), 128))
|
|
1942
1945
|
]),
|
|
1943
1946
|
_: 1
|
|
1944
1947
|
}, 8, ["modelValue", "disabled"])
|
|
1945
1948
|
]),
|
|
1946
|
-
t.isReportsVisible ? (
|
|
1947
|
-
u("label",
|
|
1948
|
-
|
|
1949
|
+
t.isReportsVisible ? (p(), _("div", Ii, [
|
|
1950
|
+
u("label", $i, w(d(o)("selection.report")), 1),
|
|
1951
|
+
$(d(me), {
|
|
1949
1952
|
id: "report",
|
|
1950
1953
|
modelValue: d(n),
|
|
1951
|
-
"onUpdate:modelValue": l[1] || (l[1] = (c) =>
|
|
1954
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => ce(n) ? n.value = c : null)
|
|
1952
1955
|
}, {
|
|
1953
|
-
default:
|
|
1954
|
-
(
|
|
1956
|
+
default: N(() => [
|
|
1957
|
+
(p(!0), _(R, null, W(t.reports, ({ value: c, name: g }) => (p(), _("option", {
|
|
1955
1958
|
key: c,
|
|
1956
1959
|
value: c
|
|
1957
|
-
},
|
|
1960
|
+
}, w(g), 9, Ci))), 128))
|
|
1958
1961
|
]),
|
|
1959
1962
|
_: 1
|
|
1960
1963
|
}, 8, ["modelValue"])
|
|
1961
1964
|
])) : M("", !0)
|
|
1962
1965
|
]));
|
|
1963
1966
|
}
|
|
1964
|
-
}, cr = ".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)}}", dr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", gr = '.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 th{width:var(--vbr-widget-table-default-column-width);background-color: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);text-align:center}.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{text-align:center}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background-color: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 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 th,.table td{padding:8px;white-space:nowrap;vertical-align:middle}.table th.is-text-left,.table td.is-text-left{text-align:left}.table th.is-text-right,.table td.is-text-right{text-align:right}.table th.is-has-image,.table td.is-has-image{padding:0 2px}.table th .is-duplicated,.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background-color: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 tr:focus-within,.table tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tr:focus-within td.is-active,.table tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', ur = ".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}.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 svg{margin-right:8px}", zi = ".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}", Ii = ".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}", $i = { class: "section-selector" }, Ti = ["onClick"], Ci = { class: "section-selector" }, Ni = ["onClick"], Ai = ["onClick"], Ei = ["onClick"], Di = ["onClick"], Li = {
|
|
1967
|
+
}, 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-color: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}", Ni = ".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}", Ai = ".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}", Ei = { class: "section-selector" }, Di = ["onClick"], Li = { class: "section-selector" }, Pi = ["onClick"], Mi = ["onClick"], ji = ["onClick"], Oi = ["onClick"], Gi = {
|
|
1965
1968
|
__name: "Championship.ce",
|
|
1966
1969
|
props: {
|
|
1967
1970
|
locale: {
|
|
@@ -1990,114 +1993,114 @@ const ui = {
|
|
|
1990
1993
|
}
|
|
1991
1994
|
},
|
|
1992
1995
|
setup(t) {
|
|
1993
|
-
const e = t, r =
|
|
1994
|
-
return (l, c) => (
|
|
1995
|
-
|
|
1996
|
+
const e = t, r = j(null), a = j(Fe()), o = A(() => Ke(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: ye, hu: we }, n = (l) => pt(e.externalGameResolver, l), s = (l) => Xr(e.externalTeamResolver, l);
|
|
1997
|
+
return (l, c) => (p(), _("div", null, [
|
|
1998
|
+
$(d(fe), {
|
|
1996
1999
|
locale: e.locale,
|
|
1997
2000
|
messages: i
|
|
1998
2001
|
}, {
|
|
1999
|
-
default:
|
|
2000
|
-
|
|
2001
|
-
default:
|
|
2002
|
-
|
|
2002
|
+
default: N(({ t: g }) => [
|
|
2003
|
+
$(d(Te), null, {
|
|
2004
|
+
default: N(({ error: m, hasError: f }) => [
|
|
2005
|
+
f ? (p(), G(d(Ne), {
|
|
2003
2006
|
key: 0,
|
|
2004
|
-
error:
|
|
2007
|
+
error: m
|
|
2005
2008
|
}, null, 8, ["error"])) : M("", !0),
|
|
2006
|
-
|
|
2009
|
+
$(hi, {
|
|
2007
2010
|
locale: t.locale,
|
|
2008
2011
|
timezone: a.value,
|
|
2009
2012
|
"championship-name": t.championshipName,
|
|
2010
2013
|
limit: t.limit
|
|
2011
2014
|
}, {
|
|
2012
|
-
default:
|
|
2015
|
+
default: N(({
|
|
2013
2016
|
sort: v,
|
|
2014
|
-
page:
|
|
2015
|
-
games:
|
|
2016
|
-
phases:
|
|
2017
|
-
report:
|
|
2018
|
-
phaseId:
|
|
2019
|
-
columns:
|
|
2020
|
-
seasons:
|
|
2017
|
+
page: S,
|
|
2018
|
+
games: h,
|
|
2019
|
+
phases: C,
|
|
2020
|
+
report: x,
|
|
2021
|
+
phaseId: z,
|
|
2022
|
+
columns: y,
|
|
2023
|
+
seasons: b,
|
|
2021
2024
|
reports: I,
|
|
2022
|
-
isLoading:
|
|
2025
|
+
isLoading: E,
|
|
2023
2026
|
selectedPanel: k,
|
|
2024
2027
|
championships: P,
|
|
2025
2028
|
championshipId: D,
|
|
2026
|
-
selectedChampionshipId:
|
|
2027
|
-
onSort:
|
|
2028
|
-
changePanel:
|
|
2029
|
+
selectedChampionshipId: J,
|
|
2030
|
+
onSort: ie,
|
|
2031
|
+
changePanel: te,
|
|
2029
2032
|
changePhase: V,
|
|
2030
|
-
changeSeason:
|
|
2031
|
-
onChangeReport:
|
|
2032
|
-
onPaginatorChange:
|
|
2033
|
+
changeSeason: T,
|
|
2034
|
+
onChangeReport: O,
|
|
2035
|
+
onPaginatorChange: ae,
|
|
2033
2036
|
changeChampionship: B
|
|
2034
2037
|
}) => [
|
|
2035
|
-
|
|
2036
|
-
seasons:
|
|
2038
|
+
$(xi, {
|
|
2039
|
+
seasons: b,
|
|
2037
2040
|
"championship-id": D,
|
|
2038
|
-
"onUpdate:championshipId":
|
|
2041
|
+
"onUpdate:championshipId": T
|
|
2039
2042
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2040
|
-
u("div",
|
|
2041
|
-
(
|
|
2042
|
-
key:
|
|
2043
|
-
class: F(["tab-button", { "is-active":
|
|
2044
|
-
onClick: (
|
|
2045
|
-
},
|
|
2043
|
+
u("div", Ei, [
|
|
2044
|
+
(p(!0), _(R, null, W(P, (re) => (p(), _("button", {
|
|
2045
|
+
key: re.phaseId,
|
|
2046
|
+
class: F(["tab-button", { "is-active": re.sectionId === J }]),
|
|
2047
|
+
onClick: (Qe) => B(re.sectionId)
|
|
2048
|
+
}, w(re.sectionName), 11, Di))), 128))
|
|
2046
2049
|
]),
|
|
2047
|
-
|
|
2048
|
-
phases:
|
|
2049
|
-
"phase-id":
|
|
2050
|
+
$(Ti, {
|
|
2051
|
+
phases: C,
|
|
2052
|
+
"phase-id": z,
|
|
2050
2053
|
reports: I,
|
|
2051
|
-
report:
|
|
2052
|
-
"is-reports-visible": k === d(
|
|
2054
|
+
report: x,
|
|
2055
|
+
"is-reports-visible": k === d(pe) || k === d(Le),
|
|
2053
2056
|
"onUpdate:phaseId": V,
|
|
2054
|
-
"onUpdate:report":
|
|
2057
|
+
"onUpdate:report": O
|
|
2055
2058
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2056
|
-
u("div",
|
|
2059
|
+
u("div", Li, [
|
|
2057
2060
|
u("button", {
|
|
2058
|
-
class: F(["tab-button", { "is-active": k === d(
|
|
2059
|
-
onClick: (
|
|
2060
|
-
},
|
|
2061
|
+
class: F(["tab-button", { "is-active": k === d(ke) }]),
|
|
2062
|
+
onClick: (re) => te(d(ke))
|
|
2063
|
+
}, w(g("selection.schedule")), 11, Pi),
|
|
2061
2064
|
u("button", {
|
|
2062
|
-
class: F(["tab-button", { "is-active": k === d(
|
|
2063
|
-
onClick: (
|
|
2064
|
-
},
|
|
2065
|
+
class: F(["tab-button", { "is-active": k === d(at) }]),
|
|
2066
|
+
onClick: (re) => te(d(at))
|
|
2067
|
+
}, w(g("selection.standings")), 11, Mi),
|
|
2065
2068
|
u("button", {
|
|
2066
|
-
class: F(["tab-button", { "is-active": k === d(
|
|
2067
|
-
onClick: (
|
|
2068
|
-
},
|
|
2069
|
+
class: F(["tab-button", { "is-active": k === d(pe) }]),
|
|
2070
|
+
onClick: (re) => te(d(pe))
|
|
2071
|
+
}, w(g("selection.playerStats")), 11, ji),
|
|
2069
2072
|
u("button", {
|
|
2070
|
-
class: F(["tab-button", { "is-active": k === d(
|
|
2071
|
-
onClick: (
|
|
2072
|
-
},
|
|
2073
|
+
class: F(["tab-button", { "is-active": k === d(Le) }]),
|
|
2074
|
+
onClick: (re) => te(d(Le))
|
|
2075
|
+
}, w(g("selection.teamStats")), 11, Oi)
|
|
2073
2076
|
]),
|
|
2074
|
-
|
|
2075
|
-
columns:
|
|
2076
|
-
rows:
|
|
2077
|
+
$(d(Ht), {
|
|
2078
|
+
columns: y,
|
|
2079
|
+
rows: h.rows,
|
|
2077
2080
|
sort: v,
|
|
2078
|
-
"is-loading":
|
|
2081
|
+
"is-loading": E,
|
|
2079
2082
|
"offset-name": o.value,
|
|
2080
2083
|
"external-team-resolver": s,
|
|
2081
2084
|
"external-game-resolver": n,
|
|
2082
2085
|
"append-to": r.value,
|
|
2083
|
-
"hide-columns": k === d(
|
|
2084
|
-
onSort:
|
|
2086
|
+
"hide-columns": k === d(ke) ? "broadcast" : "",
|
|
2087
|
+
onSort: ie
|
|
2085
2088
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2086
|
-
k === d(
|
|
2089
|
+
k === d(pe) ? (p(), G(d(Gr), {
|
|
2087
2090
|
key: 0,
|
|
2088
|
-
page:
|
|
2091
|
+
page: S,
|
|
2089
2092
|
"items-per-page": e.limit,
|
|
2090
|
-
"total-items":
|
|
2093
|
+
"total-items": h.totalItems,
|
|
2091
2094
|
"range-length": 5,
|
|
2092
|
-
onChange:
|
|
2095
|
+
onChange: ae
|
|
2093
2096
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : M("", !0),
|
|
2094
|
-
k === d(
|
|
2095
|
-
|
|
2096
|
-
rows:
|
|
2097
|
+
k === d(at) ? (p(), _(R, { key: 1 }, [
|
|
2098
|
+
$(d(je), {
|
|
2099
|
+
rows: h.rows,
|
|
2097
2100
|
"additional-key": "inheritedPoints"
|
|
2098
2101
|
}, null, 8, ["rows"]),
|
|
2099
|
-
|
|
2100
|
-
rows:
|
|
2102
|
+
$(d(je), {
|
|
2103
|
+
rows: h.rows,
|
|
2101
2104
|
"additional-key": "penaltyPoints"
|
|
2102
2105
|
}, null, 8, ["rows"])
|
|
2103
2106
|
], 64)) : M("", !0)
|
|
@@ -2116,7 +2119,7 @@ const ui = {
|
|
|
2116
2119
|
}, 8, ["locale"])
|
|
2117
2120
|
]));
|
|
2118
2121
|
}
|
|
2119
|
-
},
|
|
2122
|
+
}, Ri = /* @__PURE__ */ _e(Gi, [["styles", [xe, Je, Xe, ur, pr, mr, vr, Ni, Ai]]]), Yi = {
|
|
2120
2123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2121
2124
|
viewBox: "0 0 24 24",
|
|
2122
2125
|
fill: "none",
|
|
@@ -2125,12 +2128,12 @@ const ui = {
|
|
|
2125
2128
|
"stroke-linecap": "round",
|
|
2126
2129
|
"stroke-linejoin": "round"
|
|
2127
2130
|
};
|
|
2128
|
-
function
|
|
2129
|
-
return
|
|
2131
|
+
function Ui(t, e) {
|
|
2132
|
+
return p(), _("svg", Yi, e[0] || (e[0] = [
|
|
2130
2133
|
u("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2131
2134
|
]));
|
|
2132
2135
|
}
|
|
2133
|
-
const
|
|
2136
|
+
const Ki = { render: Ui }, Fi = {
|
|
2134
2137
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2135
2138
|
viewBox: "0 0 24 24",
|
|
2136
2139
|
fill: "none",
|
|
@@ -2139,15 +2142,15 @@ const Oi = { render: ji }, Gi = {
|
|
|
2139
2142
|
"stroke-linecap": "round",
|
|
2140
2143
|
"stroke-linejoin": "round"
|
|
2141
2144
|
};
|
|
2142
|
-
function
|
|
2143
|
-
return
|
|
2145
|
+
function Vi(t, e) {
|
|
2146
|
+
return p(), _("svg", Fi, e[0] || (e[0] = [
|
|
2144
2147
|
u("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2145
2148
|
]));
|
|
2146
2149
|
}
|
|
2147
|
-
const
|
|
2148
|
-
function
|
|
2149
|
-
const { execute: e } =
|
|
2150
|
-
(r) =>
|
|
2150
|
+
const br = { render: Vi }, hr = Symbol("CarouselContext");
|
|
2151
|
+
function Bi({ apiKey: t }) {
|
|
2152
|
+
const { execute: e } = Ba(
|
|
2153
|
+
(r) => ra("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
|
|
2151
2154
|
{},
|
|
2152
2155
|
{
|
|
2153
2156
|
immediate: !1,
|
|
@@ -2158,20 +2161,20 @@ function Yi({ apiKey: t }) {
|
|
|
2158
2161
|
execute: e
|
|
2159
2162
|
};
|
|
2160
2163
|
}
|
|
2161
|
-
function
|
|
2162
|
-
const a =
|
|
2164
|
+
function qi(t, e, r) {
|
|
2165
|
+
const a = Wi(e, r);
|
|
2163
2166
|
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2164
2167
|
}
|
|
2165
|
-
function
|
|
2168
|
+
function Wi(t, e) {
|
|
2166
2169
|
const r = /* @__PURE__ */ new Map();
|
|
2167
2170
|
for (const a of t)
|
|
2168
2171
|
r.set(a[e], a);
|
|
2169
2172
|
return r;
|
|
2170
2173
|
}
|
|
2171
|
-
function
|
|
2174
|
+
function Ut(t) {
|
|
2172
2175
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2173
2176
|
}
|
|
2174
|
-
const
|
|
2177
|
+
const Hi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "container" }, Qi = ["disabled"], Zi = {
|
|
2175
2178
|
__name: "Carousel",
|
|
2176
2179
|
props: {
|
|
2177
2180
|
initialIndex: {
|
|
@@ -2180,23 +2183,23 @@ const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "containe
|
|
|
2180
2183
|
}
|
|
2181
2184
|
},
|
|
2182
2185
|
setup(t) {
|
|
2183
|
-
const e = t, r =
|
|
2184
|
-
|
|
2185
|
-
register: (
|
|
2186
|
-
o.value.includes(
|
|
2186
|
+
const e = t, r = kr("container"), a = j(e.initialIndex), o = j([]);
|
|
2187
|
+
zr(hr, {
|
|
2188
|
+
register: (f) => {
|
|
2189
|
+
o.value.includes(f) || (o.value.push(f), o.value = Qr(o.value, (v) => ue(r.value).querySelector(`#${v}`)));
|
|
2187
2190
|
},
|
|
2188
|
-
unregister: (
|
|
2189
|
-
const v = o.value.indexOf(
|
|
2191
|
+
unregister: (f) => {
|
|
2192
|
+
const v = o.value.indexOf(f);
|
|
2190
2193
|
v !== -1 && o.value.splice(v, 1);
|
|
2191
2194
|
}
|
|
2192
2195
|
});
|
|
2193
|
-
const { arrivedState: n } =
|
|
2194
|
-
() =>
|
|
2196
|
+
const { arrivedState: n } = Wa(r, { onStop: m }), s = A(
|
|
2197
|
+
() => ue(r).querySelector(`#${o.value[a.value]}`)
|
|
2195
2198
|
);
|
|
2196
|
-
|
|
2199
|
+
dt(() => g()), ne(
|
|
2197
2200
|
() => e.initialIndex,
|
|
2198
|
-
(
|
|
2199
|
-
a.value =
|
|
2201
|
+
(f) => {
|
|
2202
|
+
a.value = f, ze(() => g());
|
|
2200
2203
|
}
|
|
2201
2204
|
);
|
|
2202
2205
|
function l() {
|
|
@@ -2205,49 +2208,49 @@ const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "containe
|
|
|
2205
2208
|
function c() {
|
|
2206
2209
|
n.right || (a.value++, g({ behavior: "smooth" }));
|
|
2207
2210
|
}
|
|
2208
|
-
function g(
|
|
2211
|
+
function g(f) {
|
|
2209
2212
|
var v;
|
|
2210
|
-
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...
|
|
2213
|
+
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...f });
|
|
2211
2214
|
}
|
|
2212
|
-
function
|
|
2213
|
-
var
|
|
2214
|
-
const
|
|
2215
|
-
(
|
|
2215
|
+
function m() {
|
|
2216
|
+
var S;
|
|
2217
|
+
const f = (S = ue(r).getBoundingClientRect()) == null ? void 0 : S.left, v = Array.from(ue(r).children).findIndex(
|
|
2218
|
+
(h) => Math.round(h.getBoundingClientRect().left - f) >= 0
|
|
2216
2219
|
);
|
|
2217
2220
|
a.value = v;
|
|
2218
2221
|
}
|
|
2219
|
-
return (
|
|
2222
|
+
return (f, v) => (p(), _("div", Hi, [
|
|
2220
2223
|
u("button", {
|
|
2221
2224
|
type: "button",
|
|
2222
2225
|
disabled: d(n).left,
|
|
2223
2226
|
onClick: l
|
|
2224
2227
|
}, [
|
|
2225
|
-
|
|
2226
|
-
], 8,
|
|
2227
|
-
u("div",
|
|
2228
|
-
|
|
2228
|
+
$(d(Ki))
|
|
2229
|
+
], 8, Ji),
|
|
2230
|
+
u("div", Xi, [
|
|
2231
|
+
ge(f.$slots, "default")
|
|
2229
2232
|
], 512),
|
|
2230
2233
|
u("button", {
|
|
2231
2234
|
type: "button",
|
|
2232
2235
|
disabled: d(n).right,
|
|
2233
2236
|
onClick: c
|
|
2234
2237
|
}, [
|
|
2235
|
-
|
|
2236
|
-
], 8,
|
|
2238
|
+
$(d(br))
|
|
2239
|
+
], 8, Qi)
|
|
2237
2240
|
]));
|
|
2238
2241
|
}
|
|
2239
|
-
},
|
|
2242
|
+
}, ot = {
|
|
2240
2243
|
__name: "CarouselItem",
|
|
2241
2244
|
setup(t) {
|
|
2242
|
-
const e = `mjsz-vbr-carousel-item-${
|
|
2243
|
-
return
|
|
2245
|
+
const e = `mjsz-vbr-carousel-item-${Sr()}`, r = Ir(hr, null);
|
|
2246
|
+
return dt(() => r == null ? void 0 : r.register(e)), $r(() => r == null ? void 0 : r.unregister(e)), (a, o) => (p(), _("div", {
|
|
2244
2247
|
id: e,
|
|
2245
2248
|
class: "is-slide"
|
|
2246
2249
|
}, [
|
|
2247
|
-
|
|
2250
|
+
ge(a.$slots, "default")
|
|
2248
2251
|
]));
|
|
2249
2252
|
}
|
|
2250
|
-
},
|
|
2253
|
+
}, en = { class: "games-timeline-schedule-link" }, Kt = {
|
|
2251
2254
|
__name: "ExternalSchedule",
|
|
2252
2255
|
props: {
|
|
2253
2256
|
title: {
|
|
@@ -2265,17 +2268,17 @@ const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "containe
|
|
|
2265
2268
|
function o() {
|
|
2266
2269
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2267
2270
|
}
|
|
2268
|
-
return (i, n) => (
|
|
2271
|
+
return (i, n) => (p(), _("div", en, [
|
|
2269
2272
|
u("button", {
|
|
2270
2273
|
type: "button",
|
|
2271
2274
|
onClick: o
|
|
2272
2275
|
}, [
|
|
2273
|
-
|
|
2274
|
-
|
|
2276
|
+
oe(w(t.title), 1),
|
|
2277
|
+
$(d(br))
|
|
2275
2278
|
])
|
|
2276
2279
|
]));
|
|
2277
2280
|
}
|
|
2278
|
-
},
|
|
2281
|
+
}, tn = { class: "score-display" }, rn = { class: "is-score" }, Ft = {
|
|
2279
2282
|
__name: "ScoreDisplay",
|
|
2280
2283
|
props: {
|
|
2281
2284
|
score: {
|
|
@@ -2284,24 +2287,24 @@ const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "containe
|
|
|
2284
2287
|
}
|
|
2285
2288
|
},
|
|
2286
2289
|
setup(t) {
|
|
2287
|
-
return (e, r) => (
|
|
2288
|
-
u("div",
|
|
2289
|
-
|
|
2290
|
-
default:
|
|
2291
|
-
(
|
|
2290
|
+
return (e, r) => (p(), _("div", tn, [
|
|
2291
|
+
u("div", rn, [
|
|
2292
|
+
$(Cr, { name: "is-slide-transition" }, {
|
|
2293
|
+
default: N(() => [
|
|
2294
|
+
(p(), _("span", { key: t.score }, w(t.score), 1))
|
|
2292
2295
|
]),
|
|
2293
2296
|
_: 1
|
|
2294
2297
|
})
|
|
2295
2298
|
])
|
|
2296
2299
|
]));
|
|
2297
2300
|
}
|
|
2298
|
-
},
|
|
2301
|
+
}, an = {
|
|
2299
2302
|
key: 0,
|
|
2300
2303
|
class: "is-badge"
|
|
2301
|
-
},
|
|
2304
|
+
}, on = {
|
|
2302
2305
|
key: 1,
|
|
2303
2306
|
class: "is-badge"
|
|
2304
|
-
},
|
|
2307
|
+
}, nn = { class: "is-home-team-logo" }, sn = { class: "is-home-team-name" }, ln = { class: "is-home-team-score" }, cn = { class: "is-away-team-logo" }, dn = { class: "is-away-team-name" }, gn = { class: "is-away-team-score" }, un = { class: "is-status" }, pn = {
|
|
2305
2308
|
__name: "Game",
|
|
2306
2309
|
props: {
|
|
2307
2310
|
gameData: {
|
|
@@ -2315,68 +2318,68 @@ const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "containe
|
|
|
2315
2318
|
},
|
|
2316
2319
|
emits: ["navigateTo"],
|
|
2317
2320
|
setup(t, { emit: e }) {
|
|
2318
|
-
const r = t, a = e, { t: o } =
|
|
2319
|
-
const { gameStatus: s, championshipName: l, divisionName: c, period: g, periodTime:
|
|
2320
|
-
return s !== 1 ? `${l} - ${c}` : g &&
|
|
2321
|
+
const r = t, a = e, { t: o } = le(), i = A(() => {
|
|
2322
|
+
const { gameStatus: s, championshipName: l, divisionName: c, period: g, periodTime: m } = r.gameData;
|
|
2323
|
+
return s !== 1 ? `${l} - ${c}` : g && Ut(g) ? `${o(`game.period.${g}`)} - ${m}` : g && !Ut(g) ? o(`game.period.${g}`) : "";
|
|
2321
2324
|
});
|
|
2322
2325
|
function n() {
|
|
2323
2326
|
const { externalUrl: s, id: l } = r.gameData;
|
|
2324
2327
|
if (s)
|
|
2325
2328
|
return a("navigateTo", { url: s, target: "_blank" });
|
|
2326
|
-
const c =
|
|
2329
|
+
const c = pt(r.externalGameResolver, { gameId: l });
|
|
2327
2330
|
a("navigateTo", { url: c, target: "_self" });
|
|
2328
2331
|
}
|
|
2329
|
-
return (s, l) => (
|
|
2332
|
+
return (s, l) => (p(), _("div", {
|
|
2330
2333
|
class: "games-timeline-game",
|
|
2331
2334
|
onClick: n
|
|
2332
2335
|
}, [
|
|
2333
2336
|
u("time", null, [
|
|
2334
|
-
|
|
2335
|
-
t.gameData.isShootout ? (
|
|
2336
|
-
t.gameData.isOvertime ? (
|
|
2337
|
+
oe(w(t.gameData.gameDateTime) + " ", 1),
|
|
2338
|
+
t.gameData.isShootout ? (p(), _("span", an, w(d(o)("common.shootoutShort")), 1)) : M("", !0),
|
|
2339
|
+
t.gameData.isOvertime ? (p(), _("span", on, w(d(o)("common.overtimeShort")), 1)) : M("", !0)
|
|
2337
2340
|
]),
|
|
2338
|
-
u("div",
|
|
2339
|
-
|
|
2341
|
+
u("div", nn, [
|
|
2342
|
+
$(d(Me), {
|
|
2340
2343
|
src: t.gameData.homeTeam.logo,
|
|
2341
2344
|
class: "is-team-logo"
|
|
2342
2345
|
}, null, 8, ["src"])
|
|
2343
2346
|
]),
|
|
2344
|
-
u("div",
|
|
2345
|
-
u("div",
|
|
2346
|
-
t.gameData.homeTeamScore != null ? (
|
|
2347
|
+
u("div", sn, w(t.gameData.homeTeam.longName), 1),
|
|
2348
|
+
u("div", ln, [
|
|
2349
|
+
t.gameData.homeTeamScore != null ? (p(), G(Ft, {
|
|
2347
2350
|
key: 0,
|
|
2348
2351
|
class: F(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2349
2352
|
score: t.gameData.homeTeamScore
|
|
2350
2353
|
}, {
|
|
2351
|
-
default:
|
|
2352
|
-
|
|
2354
|
+
default: N(() => [
|
|
2355
|
+
oe(w(t.gameData.homeTeamScore), 1)
|
|
2353
2356
|
]),
|
|
2354
2357
|
_: 1
|
|
2355
2358
|
}, 8, ["class", "score"])) : M("", !0)
|
|
2356
2359
|
]),
|
|
2357
|
-
u("div",
|
|
2358
|
-
|
|
2360
|
+
u("div", cn, [
|
|
2361
|
+
$(d(Me), {
|
|
2359
2362
|
src: t.gameData.awayTeam.logo,
|
|
2360
2363
|
class: "is-team-logo"
|
|
2361
2364
|
}, null, 8, ["src"])
|
|
2362
2365
|
]),
|
|
2363
|
-
u("div",
|
|
2364
|
-
u("div",
|
|
2365
|
-
t.gameData.awayTeamScore != null ? (
|
|
2366
|
+
u("div", dn, w(t.gameData.awayTeam.longName), 1),
|
|
2367
|
+
u("div", gn, [
|
|
2368
|
+
t.gameData.awayTeamScore != null ? (p(), G(Ft, {
|
|
2366
2369
|
key: 0,
|
|
2367
2370
|
score: t.gameData.awayTeamScore,
|
|
2368
2371
|
class: F(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2369
2372
|
}, {
|
|
2370
|
-
default:
|
|
2371
|
-
|
|
2373
|
+
default: N(() => [
|
|
2374
|
+
oe(w(t.gameData.awayTeamScore), 1)
|
|
2372
2375
|
]),
|
|
2373
2376
|
_: 1
|
|
2374
2377
|
}, 8, ["score", "class"])) : M("", !0)
|
|
2375
2378
|
]),
|
|
2376
|
-
u("div",
|
|
2379
|
+
u("div", un, w(i.value), 1)
|
|
2377
2380
|
]));
|
|
2378
2381
|
}
|
|
2379
|
-
},
|
|
2382
|
+
}, mn = {
|
|
2380
2383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2381
2384
|
viewBox: "0 0 24 24",
|
|
2382
2385
|
fill: "none",
|
|
@@ -2385,8 +2388,8 @@ const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "containe
|
|
|
2385
2388
|
"stroke-linecap": "round",
|
|
2386
2389
|
"stroke-linejoin": "round"
|
|
2387
2390
|
};
|
|
2388
|
-
function
|
|
2389
|
-
return
|
|
2391
|
+
function vn(t, e) {
|
|
2392
|
+
return p(), _("svg", mn, e[0] || (e[0] = [
|
|
2390
2393
|
u("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),
|
|
2391
2394
|
u("line", {
|
|
2392
2395
|
x1: "12",
|
|
@@ -2402,27 +2405,27 @@ function dn(t, e) {
|
|
|
2402
2405
|
}, null, -1)
|
|
2403
2406
|
]));
|
|
2404
2407
|
}
|
|
2405
|
-
const
|
|
2408
|
+
const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn = {
|
|
2406
2409
|
__name: "TryAgain",
|
|
2407
2410
|
emits: ["tryAgain"],
|
|
2408
2411
|
setup(t, { emit: e }) {
|
|
2409
|
-
const r = e, { t: a } =
|
|
2412
|
+
const r = e, { t: a } = le();
|
|
2410
2413
|
function o() {
|
|
2411
2414
|
r("tryAgain");
|
|
2412
2415
|
}
|
|
2413
|
-
return (i, n) => (
|
|
2414
|
-
|
|
2415
|
-
u("div", null,
|
|
2416
|
+
return (i, n) => (p(), _("div", hn, [
|
|
2417
|
+
$(d(bn)),
|
|
2418
|
+
u("div", null, w(d(a)("gamesTimeline.errorText")), 1),
|
|
2416
2419
|
u("button", {
|
|
2417
2420
|
type: "button",
|
|
2418
2421
|
onClick: o
|
|
2419
|
-
},
|
|
2422
|
+
}, w(d(a)("gamesTimeline.errorCta")), 1)
|
|
2420
2423
|
]));
|
|
2421
2424
|
}
|
|
2422
|
-
},
|
|
2425
|
+
}, yn = '.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%)}', wn = {
|
|
2423
2426
|
key: 0,
|
|
2424
2427
|
style: { width: "100%" }
|
|
2425
|
-
},
|
|
2428
|
+
}, xn = {
|
|
2426
2429
|
__name: "GamesTimeline.ce",
|
|
2427
2430
|
props: {
|
|
2428
2431
|
locale: {
|
|
@@ -2447,113 +2450,113 @@ const gn = { render: dn }, un = { class: "games-timeline-error-indicator" }, mn
|
|
|
2447
2450
|
}
|
|
2448
2451
|
},
|
|
2449
2452
|
setup(t) {
|
|
2450
|
-
const e = t, r = { en:
|
|
2453
|
+
const e = t, r = { en: ye, hu: we }, a = Fe();
|
|
2451
2454
|
let o = [];
|
|
2452
|
-
const i =
|
|
2455
|
+
const i = j(!1), { state: n, execute: s } = ee({
|
|
2453
2456
|
options: {
|
|
2454
2457
|
path: e.servicePath,
|
|
2455
2458
|
apiKey: e.apiKey,
|
|
2456
2459
|
params: {},
|
|
2457
2460
|
immediate: !0
|
|
2458
2461
|
},
|
|
2459
|
-
transform: (
|
|
2462
|
+
transform: (x) => qi(x, n.value, "id").reverse(),
|
|
2460
2463
|
onError: () => {
|
|
2461
2464
|
i.value = !0;
|
|
2462
2465
|
},
|
|
2463
2466
|
onSuccess: v
|
|
2464
2467
|
}), { resume: l, pause: c } = $t(s, 1e3 * 60 * 5);
|
|
2465
|
-
|
|
2468
|
+
aa(
|
|
2466
2469
|
!0,
|
|
2467
2470
|
() => {
|
|
2468
2471
|
s(), l();
|
|
2469
2472
|
},
|
|
2470
2473
|
() => {
|
|
2471
|
-
c(), o.map((
|
|
2474
|
+
c(), o.map((x) => x == null ? void 0 : x()), o = [];
|
|
2472
2475
|
}
|
|
2473
2476
|
);
|
|
2474
|
-
const g = A(() =>
|
|
2475
|
-
() => n.value.map((
|
|
2476
|
-
...
|
|
2477
|
-
gameDateTime: `${
|
|
2478
|
-
|
|
2477
|
+
const g = A(() => rt(n.value) ? 0 : n.value.findIndex((x) => !Jt(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), m = A(
|
|
2478
|
+
() => n.value.map((x) => ({
|
|
2479
|
+
...x,
|
|
2480
|
+
gameDateTime: `${Q(x.gameDate, "L LT", a, e.locale)} (${Ke(
|
|
2481
|
+
x.gameDate,
|
|
2479
2482
|
a,
|
|
2480
2483
|
e.locale
|
|
2481
2484
|
)})`
|
|
2482
2485
|
}))
|
|
2483
|
-
), { execute:
|
|
2486
|
+
), { execute: f } = Bi({ apiKey: e.apiKey });
|
|
2484
2487
|
async function v() {
|
|
2485
|
-
i.value = !1, o.map((
|
|
2486
|
-
const
|
|
2487
|
-
for (let
|
|
2488
|
-
const
|
|
2489
|
-
|
|
2490
|
-
const { pause:
|
|
2491
|
-
o.push(
|
|
2488
|
+
i.value = !1, o.map((z) => z == null ? void 0 : z()), o = [];
|
|
2489
|
+
const x = n.value.filter((z) => z.gameStatus === 1);
|
|
2490
|
+
for (let z = 0; z < x.length; z++) {
|
|
2491
|
+
const y = x[z].id;
|
|
2492
|
+
f(0, { gameId: y }).then((I) => S(I));
|
|
2493
|
+
const { pause: b } = $t(() => f(0, { gameId: y }).then((I) => S(I)), 6e4);
|
|
2494
|
+
o.push(b);
|
|
2492
2495
|
}
|
|
2493
2496
|
}
|
|
2494
|
-
function
|
|
2495
|
-
const { gameId:
|
|
2496
|
-
P.gameStatus =
|
|
2497
|
+
function S(x = {}) {
|
|
2498
|
+
const { gameId: z, gameStatus: y, homeTeamScore: b, awayTeamScore: I, period: E, periodTime: k } = x, P = n.value.find((D) => D.id === z);
|
|
2499
|
+
P.gameStatus = y, P.homeTeamScore = b, P.awayTeamScore = I, P.period = E, P.periodTime = k, Tr(n);
|
|
2497
2500
|
}
|
|
2498
|
-
function
|
|
2499
|
-
window.open(
|
|
2501
|
+
function h({ url: x, target: z }) {
|
|
2502
|
+
window.open(x, z);
|
|
2500
2503
|
}
|
|
2501
|
-
function
|
|
2504
|
+
function C() {
|
|
2502
2505
|
i.value = !1, s();
|
|
2503
2506
|
}
|
|
2504
|
-
return (
|
|
2507
|
+
return (x, z) => (p(), G(d(fe), {
|
|
2505
2508
|
locale: t.locale,
|
|
2506
2509
|
messages: r
|
|
2507
2510
|
}, {
|
|
2508
|
-
default:
|
|
2509
|
-
|
|
2510
|
-
default:
|
|
2511
|
-
d(
|
|
2512
|
-
|
|
2513
|
-
])) : i.value && d(
|
|
2511
|
+
default: N(({ t: y }) => [
|
|
2512
|
+
$(Zi, { "initial-index": g.value }, {
|
|
2513
|
+
default: N(() => [
|
|
2514
|
+
d(rt)(d(n)) && !i.value ? (p(), _("div", wn, [
|
|
2515
|
+
$(d(Wt))
|
|
2516
|
+
])) : i.value && d(rt)(d(n)) ? (p(), G(fn, {
|
|
2514
2517
|
key: 1,
|
|
2515
|
-
onTryAgain:
|
|
2516
|
-
})) : (
|
|
2517
|
-
|
|
2518
|
-
default:
|
|
2519
|
-
|
|
2518
|
+
onTryAgain: C
|
|
2519
|
+
})) : (p(), _(R, { key: 2 }, [
|
|
2520
|
+
$(ot, null, {
|
|
2521
|
+
default: N(() => [
|
|
2522
|
+
$(Kt, {
|
|
2520
2523
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2521
|
-
title:
|
|
2522
|
-
onNavigateTo:
|
|
2524
|
+
title: y("gamesTimeline.allSchedule"),
|
|
2525
|
+
onNavigateTo: h
|
|
2523
2526
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2524
2527
|
]),
|
|
2525
2528
|
_: 2
|
|
2526
2529
|
}, 1024),
|
|
2527
|
-
(
|
|
2530
|
+
(p(!0), _(R, null, W(m.value, (b, I, E, k) => {
|
|
2528
2531
|
const P = [
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2532
|
+
b.gameDateTime,
|
|
2533
|
+
b.gameStatus,
|
|
2534
|
+
b.homeTeamScore,
|
|
2535
|
+
b.awayTeamScore,
|
|
2536
|
+
b.period,
|
|
2537
|
+
b.actualTime
|
|
2535
2538
|
];
|
|
2536
|
-
if (k && k.key ===
|
|
2537
|
-
const D = (
|
|
2538
|
-
key:
|
|
2539
|
+
if (k && k.key === b.id && Nr(k, P)) return k;
|
|
2540
|
+
const D = (p(), G(ot, {
|
|
2541
|
+
key: b.id
|
|
2539
2542
|
}, {
|
|
2540
|
-
default:
|
|
2541
|
-
|
|
2542
|
-
"game-data":
|
|
2543
|
+
default: N(() => [
|
|
2544
|
+
$(pn, {
|
|
2545
|
+
"game-data": b,
|
|
2543
2546
|
"external-game-resolver": t.externalGameResolver,
|
|
2544
|
-
onNavigateTo:
|
|
2547
|
+
onNavigateTo: h
|
|
2545
2548
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2546
2549
|
]),
|
|
2547
2550
|
_: 2
|
|
2548
2551
|
}, 1024));
|
|
2549
2552
|
return D.memo = P, D;
|
|
2550
|
-
},
|
|
2551
|
-
|
|
2552
|
-
default:
|
|
2553
|
-
|
|
2553
|
+
}, z, 0), 128)),
|
|
2554
|
+
$(ot, null, {
|
|
2555
|
+
default: N(() => [
|
|
2556
|
+
$(Kt, {
|
|
2554
2557
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2555
|
-
title:
|
|
2556
|
-
onNavigateTo:
|
|
2558
|
+
title: y("gamesTimeline.allSchedule"),
|
|
2559
|
+
onNavigateTo: h
|
|
2557
2560
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2558
2561
|
]),
|
|
2559
2562
|
_: 2
|
|
@@ -2566,17 +2569,17 @@ const gn = { render: dn }, un = { class: "games-timeline-error-indicator" }, mn
|
|
|
2566
2569
|
_: 1
|
|
2567
2570
|
}, 8, ["locale"]));
|
|
2568
2571
|
}
|
|
2569
|
-
},
|
|
2570
|
-
function
|
|
2571
|
-
e.seasonsList = t, e.seasonId =
|
|
2572
|
+
}, _n = /* @__PURE__ */ _e(xn, [["styles", [xe, yn]]]);
|
|
2573
|
+
function kn(t, e) {
|
|
2574
|
+
e.seasonsList = t, e.seasonId = Ae(Z, de("id"))(t);
|
|
2572
2575
|
}
|
|
2573
|
-
function
|
|
2574
|
-
e.championshipList = t, e.championshipId =
|
|
2576
|
+
function zn(t, e) {
|
|
2577
|
+
e.championshipList = t, e.championshipId = Ae(Z, de("championshipId"))(t);
|
|
2575
2578
|
}
|
|
2576
|
-
function
|
|
2577
|
-
e.sections = t, e.sectionId =
|
|
2579
|
+
function Sn(t, e) {
|
|
2580
|
+
e.sections = t, e.sectionId = Ae(Z, de("sectionId"))(t);
|
|
2578
2581
|
}
|
|
2579
|
-
const
|
|
2582
|
+
const In = {
|
|
2580
2583
|
__name: "DataProvider",
|
|
2581
2584
|
props: {
|
|
2582
2585
|
apiKey: {
|
|
@@ -2589,71 +2592,71 @@ const xn = {
|
|
|
2589
2592
|
}
|
|
2590
2593
|
},
|
|
2591
2594
|
setup(t) {
|
|
2592
|
-
const e = t, r =
|
|
2595
|
+
const e = t, r = se({
|
|
2593
2596
|
seasonsList: [],
|
|
2594
2597
|
seasonId: null,
|
|
2595
2598
|
championshipList: [],
|
|
2596
2599
|
championshipId: null,
|
|
2597
2600
|
sections: [],
|
|
2598
2601
|
sectionId: null
|
|
2599
|
-
}), { onError: a } = Ve(), { isLoading: o, execute: i } =
|
|
2602
|
+
}), { onError: a } = Ve(), { isLoading: o, execute: i } = ee({
|
|
2600
2603
|
options: {
|
|
2601
2604
|
path: "/v2/all-season-list",
|
|
2602
2605
|
apiKey: e.apiKey,
|
|
2603
2606
|
params: {}
|
|
2604
2607
|
},
|
|
2605
|
-
transform: (
|
|
2608
|
+
transform: (h) => kn(h, r),
|
|
2606
2609
|
onError: a
|
|
2607
|
-
}), { isLoading: n, execute: s } =
|
|
2610
|
+
}), { isLoading: n, execute: s } = ee({
|
|
2608
2611
|
options: {
|
|
2609
2612
|
path: "/v2/championship-list",
|
|
2610
2613
|
apiKey: e.apiKey,
|
|
2611
2614
|
params: A(() => ({ seasonId: r.seasonId }))
|
|
2612
2615
|
},
|
|
2613
|
-
transform: (
|
|
2616
|
+
transform: (h) => zn(h, r),
|
|
2614
2617
|
onError: a
|
|
2615
2618
|
}), {
|
|
2616
2619
|
isLoading: l,
|
|
2617
2620
|
execute: c
|
|
2618
|
-
} =
|
|
2621
|
+
} = ee({
|
|
2619
2622
|
options: {
|
|
2620
2623
|
path: "/v2/championship-sections",
|
|
2621
2624
|
apiKey: e.apiKey,
|
|
2622
2625
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2623
2626
|
},
|
|
2624
|
-
transform: (
|
|
2627
|
+
transform: (h) => Sn(h, r),
|
|
2625
2628
|
onError: a
|
|
2626
2629
|
}), g = A(() => {
|
|
2627
|
-
var
|
|
2628
|
-
return ((
|
|
2630
|
+
var h, C;
|
|
2631
|
+
return ((C = (h = r.sections) == null ? void 0 : h.find((x) => x.sectionId === r.sectionId)) == null ? void 0 : C.phases) ?? [];
|
|
2629
2632
|
});
|
|
2630
|
-
|
|
2631
|
-
const
|
|
2632
|
-
function
|
|
2633
|
-
r.seasonId =
|
|
2633
|
+
be([i, s, c]);
|
|
2634
|
+
const m = A(() => [o.value, n.value, l.value].some(Boolean));
|
|
2635
|
+
function f(h) {
|
|
2636
|
+
r.seasonId = h, be([s, c]);
|
|
2634
2637
|
}
|
|
2635
|
-
function v(
|
|
2636
|
-
r.championshipId =
|
|
2638
|
+
function v(h) {
|
|
2639
|
+
r.championshipId = h, c();
|
|
2637
2640
|
}
|
|
2638
|
-
function
|
|
2639
|
-
r.sectionId =
|
|
2641
|
+
function S(h) {
|
|
2642
|
+
r.sectionId = h;
|
|
2640
2643
|
}
|
|
2641
|
-
return (
|
|
2644
|
+
return (h, C) => ge(h.$slots, "default", $e(Ce({
|
|
2642
2645
|
...r,
|
|
2643
|
-
isLoading:
|
|
2646
|
+
isLoading: m.value,
|
|
2644
2647
|
phaseData: g.value,
|
|
2645
|
-
onChangeSeason:
|
|
2646
|
-
onChangeSection:
|
|
2648
|
+
onChangeSeason: f,
|
|
2649
|
+
onChangeSection: S,
|
|
2647
2650
|
onChangeChampionship: v
|
|
2648
2651
|
})));
|
|
2649
2652
|
}
|
|
2650
|
-
},
|
|
2653
|
+
}, $n = { class: "is-mb-5" }, Cn = {
|
|
2651
2654
|
for: "season",
|
|
2652
2655
|
class: "label"
|
|
2653
|
-
},
|
|
2656
|
+
}, Tn = ["value"], Nn = {
|
|
2654
2657
|
for: "season",
|
|
2655
2658
|
class: "label"
|
|
2656
|
-
},
|
|
2659
|
+
}, An = ["value"], En = {
|
|
2657
2660
|
__name: "Selector",
|
|
2658
2661
|
props: {
|
|
2659
2662
|
seasonsList: {
|
|
@@ -2675,46 +2678,46 @@ const xn = {
|
|
|
2675
2678
|
},
|
|
2676
2679
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2677
2680
|
setup(t, { emit: e }) {
|
|
2678
|
-
const r = t, a = e, { t: o } =
|
|
2679
|
-
return (s, l) => (
|
|
2680
|
-
u("div",
|
|
2681
|
-
u("label",
|
|
2682
|
-
|
|
2681
|
+
const r = t, a = e, { t: o } = le(), { seasonId: i, championshipId: n } = bt(r, a);
|
|
2682
|
+
return (s, l) => (p(), _(R, null, [
|
|
2683
|
+
u("div", $n, [
|
|
2684
|
+
u("label", Cn, w(d(o)("selection.seasons")), 1),
|
|
2685
|
+
$(d(me), {
|
|
2683
2686
|
id: "season",
|
|
2684
2687
|
modelValue: d(i),
|
|
2685
|
-
"onUpdate:modelValue": l[0] || (l[0] = (c) =>
|
|
2688
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => ce(i) ? i.value = c : null)
|
|
2686
2689
|
}, {
|
|
2687
|
-
default:
|
|
2688
|
-
(
|
|
2690
|
+
default: N(() => [
|
|
2691
|
+
(p(!0), _(R, null, W(t.seasonsList, (c) => (p(), _("option", {
|
|
2689
2692
|
key: c.id,
|
|
2690
2693
|
value: c.id
|
|
2691
|
-
},
|
|
2694
|
+
}, w(c.seasonName), 9, Tn))), 128))
|
|
2692
2695
|
]),
|
|
2693
2696
|
_: 1
|
|
2694
2697
|
}, 8, ["modelValue"])
|
|
2695
2698
|
]),
|
|
2696
2699
|
u("div", null, [
|
|
2697
|
-
u("label",
|
|
2698
|
-
|
|
2700
|
+
u("label", Nn, w(d(o)("selection.championships")), 1),
|
|
2701
|
+
$(d(me), {
|
|
2699
2702
|
id: "season",
|
|
2700
2703
|
modelValue: d(n),
|
|
2701
|
-
"onUpdate:modelValue": l[1] || (l[1] = (c) =>
|
|
2704
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => ce(n) ? n.value = c : null)
|
|
2702
2705
|
}, {
|
|
2703
|
-
default:
|
|
2704
|
-
(
|
|
2706
|
+
default: N(() => [
|
|
2707
|
+
(p(!0), _(R, null, W(t.championshipList, (c) => (p(), _("option", {
|
|
2705
2708
|
key: c.championshipId,
|
|
2706
2709
|
value: c.championshipId
|
|
2707
|
-
},
|
|
2710
|
+
}, w(c.championshipName), 9, An))), 128))
|
|
2708
2711
|
]),
|
|
2709
2712
|
_: 1
|
|
2710
2713
|
}, 8, ["modelValue"])
|
|
2711
2714
|
])
|
|
2712
2715
|
], 64));
|
|
2713
2716
|
}
|
|
2714
|
-
},
|
|
2717
|
+
}, Dn = ".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}", Ln = { class: "main-layout" }, Pn = { class: "is-mb-5" }, Mn = { for: "seasonId" }, jn = ["textContent"], On = { class: "is-mb-5" }, Gn = { for: "championshipName" }, Rn = ["textContent"], Yn = { class: "is-mb-5" }, Un = { for: "championshipId" }, Kn = ["textContent"], Fn = { class: "is-mb-5" }, Vn = { for: "sections" }, Bn = {
|
|
2715
2718
|
id: "sections",
|
|
2716
2719
|
class: "toggle-group"
|
|
2717
|
-
},
|
|
2720
|
+
}, qn = ["onClick"], Wn = { class: "is-mb-5" }, Hn = { for: "phases" }, Jn = ["textContent"], Xn = {
|
|
2718
2721
|
__name: "IvrIdentifiers.ce",
|
|
2719
2722
|
props: {
|
|
2720
2723
|
locale: {
|
|
@@ -2727,82 +2730,82 @@ const xn = {
|
|
|
2727
2730
|
}
|
|
2728
2731
|
},
|
|
2729
2732
|
setup(t) {
|
|
2730
|
-
const e = t, r = { en:
|
|
2731
|
-
return (a, o) => (
|
|
2733
|
+
const e = t, r = { en: ye, hu: we };
|
|
2734
|
+
return (a, o) => (p(), G(d(fe), {
|
|
2732
2735
|
locale: e.locale,
|
|
2733
2736
|
messages: r
|
|
2734
2737
|
}, {
|
|
2735
|
-
default:
|
|
2736
|
-
|
|
2737
|
-
default:
|
|
2738
|
-
s ? (
|
|
2738
|
+
default: N(({ t: i }) => [
|
|
2739
|
+
$(d(Te), null, {
|
|
2740
|
+
default: N(({ error: n, hasError: s }) => [
|
|
2741
|
+
s ? (p(), G(d(Ne), {
|
|
2739
2742
|
key: 0,
|
|
2740
2743
|
error: n
|
|
2741
2744
|
}, null, 8, ["error"])) : M("", !0),
|
|
2742
|
-
|
|
2743
|
-
default:
|
|
2745
|
+
$(In, null, {
|
|
2746
|
+
default: N(({
|
|
2744
2747
|
seasonsList: l,
|
|
2745
2748
|
seasonId: c,
|
|
2746
2749
|
championshipList: g,
|
|
2747
|
-
championshipId:
|
|
2748
|
-
sections:
|
|
2750
|
+
championshipId: m,
|
|
2751
|
+
sections: f,
|
|
2749
2752
|
sectionId: v,
|
|
2750
|
-
phaseData:
|
|
2751
|
-
onChangeSeason:
|
|
2752
|
-
onChangeSection:
|
|
2753
|
-
onChangeChampionship:
|
|
2753
|
+
phaseData: S,
|
|
2754
|
+
onChangeSeason: h,
|
|
2755
|
+
onChangeSection: C,
|
|
2756
|
+
onChangeChampionship: x
|
|
2754
2757
|
}) => {
|
|
2755
|
-
var
|
|
2758
|
+
var z;
|
|
2756
2759
|
return [
|
|
2757
|
-
u("div",
|
|
2760
|
+
u("div", Ln, [
|
|
2758
2761
|
u("div", null, [
|
|
2759
|
-
|
|
2762
|
+
$(En, {
|
|
2760
2763
|
"seasons-list": l,
|
|
2761
2764
|
"season-id": c,
|
|
2762
2765
|
"championship-list": g,
|
|
2763
|
-
"championship-id":
|
|
2764
|
-
"onUpdate:seasonId":
|
|
2765
|
-
"onUpdate:championshipId":
|
|
2766
|
+
"championship-id": m,
|
|
2767
|
+
"onUpdate:seasonId": h,
|
|
2768
|
+
"onUpdate:championshipId": x
|
|
2766
2769
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2767
2770
|
]),
|
|
2768
2771
|
u("div", null, [
|
|
2769
|
-
u("section",
|
|
2770
|
-
u("label",
|
|
2772
|
+
u("section", Pn, [
|
|
2773
|
+
u("label", Mn, w(i("selection.seasonId")), 1),
|
|
2771
2774
|
u("p", {
|
|
2772
2775
|
id: "seasonId",
|
|
2773
|
-
textContent:
|
|
2774
|
-
}, null, 8,
|
|
2776
|
+
textContent: w(c)
|
|
2777
|
+
}, null, 8, jn)
|
|
2775
2778
|
]),
|
|
2776
|
-
u("section",
|
|
2777
|
-
u("label",
|
|
2779
|
+
u("section", On, [
|
|
2780
|
+
u("label", Gn, w(i("selection.championshipName")), 1),
|
|
2778
2781
|
u("p", {
|
|
2779
2782
|
id: "championshipName",
|
|
2780
|
-
textContent:
|
|
2781
|
-
}, null, 8,
|
|
2783
|
+
textContent: w((z = g.find((y) => y.championshipId === m)) == null ? void 0 : z.championshipName)
|
|
2784
|
+
}, null, 8, Rn)
|
|
2782
2785
|
]),
|
|
2783
|
-
u("section",
|
|
2784
|
-
u("label",
|
|
2786
|
+
u("section", Yn, [
|
|
2787
|
+
u("label", Un, w(i("selection.championshipId")), 1),
|
|
2785
2788
|
u("p", {
|
|
2786
2789
|
id: "championshipId",
|
|
2787
|
-
textContent:
|
|
2788
|
-
}, null, 8,
|
|
2790
|
+
textContent: w(m)
|
|
2791
|
+
}, null, 8, Kn)
|
|
2789
2792
|
]),
|
|
2790
|
-
u("section",
|
|
2791
|
-
u("label",
|
|
2792
|
-
u("div",
|
|
2793
|
-
(
|
|
2794
|
-
key:
|
|
2795
|
-
class: F({ "is-active":
|
|
2796
|
-
onClick: (
|
|
2797
|
-
},
|
|
2793
|
+
u("section", Fn, [
|
|
2794
|
+
u("label", Vn, w(i("selection.sections")) + ":", 1),
|
|
2795
|
+
u("div", Bn, [
|
|
2796
|
+
(p(!0), _(R, null, W(f, (y) => (p(), _("button", {
|
|
2797
|
+
key: y.sectionId,
|
|
2798
|
+
class: F({ "is-active": y.sectionId === v }),
|
|
2799
|
+
onClick: (b) => C(y.sectionId)
|
|
2800
|
+
}, w(y.sectionName), 11, qn))), 128))
|
|
2798
2801
|
])
|
|
2799
2802
|
]),
|
|
2800
|
-
u("section",
|
|
2801
|
-
u("label",
|
|
2803
|
+
u("section", Wn, [
|
|
2804
|
+
u("label", Hn, w(i("selection.phasesDivision")) + ":", 1),
|
|
2802
2805
|
u("pre", {
|
|
2803
2806
|
id: "phases",
|
|
2804
|
-
textContent:
|
|
2805
|
-
}, null, 8,
|
|
2807
|
+
textContent: w(S)
|
|
2808
|
+
}, null, 8, Jn)
|
|
2806
2809
|
])
|
|
2807
2810
|
])
|
|
2808
2811
|
])
|
|
@@ -2817,10 +2820,10 @@ const xn = {
|
|
|
2817
2820
|
_: 1
|
|
2818
2821
|
}, 8, ["locale"]));
|
|
2819
2822
|
}
|
|
2820
|
-
},
|
|
2823
|
+
}, Qn = /* @__PURE__ */ _e(Xn, [["styles", [xe, Je, Xe, Dn]], ["__scopeId", "data-v-10915a30"]]), Zn = { class: "g-row" }, es = {
|
|
2821
2824
|
for: "season",
|
|
2822
2825
|
class: "label"
|
|
2823
|
-
},
|
|
2826
|
+
}, ts = ["value"], rs = ["onClick"], as = {
|
|
2824
2827
|
__name: "SeasonSelector",
|
|
2825
2828
|
props: {
|
|
2826
2829
|
seasons: {
|
|
@@ -2842,7 +2845,7 @@ const xn = {
|
|
|
2842
2845
|
},
|
|
2843
2846
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2844
2847
|
setup(t, { emit: e }) {
|
|
2845
|
-
const r = t, a = e, { t: o } =
|
|
2848
|
+
const r = t, a = e, { t: o } = le(), i = A({
|
|
2846
2849
|
get() {
|
|
2847
2850
|
return r.championshipId;
|
|
2848
2851
|
},
|
|
@@ -2853,48 +2856,48 @@ const xn = {
|
|
|
2853
2856
|
function n(s) {
|
|
2854
2857
|
a("onChangeSection", s);
|
|
2855
2858
|
}
|
|
2856
|
-
return (s, l) => (
|
|
2857
|
-
u("div",
|
|
2859
|
+
return (s, l) => (p(), _(R, null, [
|
|
2860
|
+
u("div", Zn, [
|
|
2858
2861
|
u("div", null, [
|
|
2859
|
-
u("label",
|
|
2860
|
-
|
|
2862
|
+
u("label", es, w(d(o)("selection.season")), 1),
|
|
2863
|
+
$(d(me), {
|
|
2861
2864
|
id: "season",
|
|
2862
2865
|
modelValue: i.value,
|
|
2863
2866
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2864
2867
|
}, {
|
|
2865
|
-
default:
|
|
2866
|
-
(
|
|
2868
|
+
default: N(() => [
|
|
2869
|
+
(p(!0), _(R, null, W(t.seasons, (c) => (p(), _("option", {
|
|
2867
2870
|
key: c.championshipId,
|
|
2868
2871
|
value: c.championshipId
|
|
2869
|
-
},
|
|
2872
|
+
}, w(c.seasonName), 9, ts))), 128))
|
|
2870
2873
|
]),
|
|
2871
2874
|
_: 1
|
|
2872
2875
|
}, 8, ["modelValue"])
|
|
2873
2876
|
])
|
|
2874
2877
|
]),
|
|
2875
2878
|
u("div", null, [
|
|
2876
|
-
(
|
|
2879
|
+
(p(!0), _(R, null, W(t.sections, (c) => (p(), _("button", {
|
|
2877
2880
|
key: c.phaseId,
|
|
2878
2881
|
class: F(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2879
2882
|
onClick: (g) => n(c)
|
|
2880
|
-
},
|
|
2883
|
+
}, w(c.sectionName), 11, rs))), 128))
|
|
2881
2884
|
])
|
|
2882
2885
|
], 64));
|
|
2883
2886
|
}
|
|
2884
2887
|
};
|
|
2885
|
-
function
|
|
2888
|
+
function os(t, e) {
|
|
2886
2889
|
if (t.length === 0)
|
|
2887
|
-
throw new
|
|
2888
|
-
e.seasons =
|
|
2890
|
+
throw new Xt(Oe.message, Oe.options);
|
|
2891
|
+
e.seasons = ns(t), e.championshipId || (e.championshipId = Z(e.seasons).championshipId);
|
|
2889
2892
|
}
|
|
2890
|
-
function
|
|
2893
|
+
function is(t, e) {
|
|
2891
2894
|
var r;
|
|
2892
|
-
e.sections =
|
|
2895
|
+
e.sections = gr(de("sectionId"))(t), e.sectionId = wt(de("sectionId"), Z)(e.sections), e.phaseId = ((r = lr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
|
|
2893
2896
|
}
|
|
2894
|
-
function
|
|
2895
|
-
return
|
|
2897
|
+
function ns(t) {
|
|
2898
|
+
return wt(dr(sr(de("seasonName"))), yt(cr(["championshipId", "seasonName"])))(t);
|
|
2896
2899
|
}
|
|
2897
|
-
const
|
|
2900
|
+
const ss = {
|
|
2898
2901
|
gameName: {
|
|
2899
2902
|
label: "table.gameName.short",
|
|
2900
2903
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2931,13 +2934,13 @@ const rs = {
|
|
|
2931
2934
|
class: "is-text-left"
|
|
2932
2935
|
}
|
|
2933
2936
|
};
|
|
2934
|
-
function
|
|
2935
|
-
return (e) =>
|
|
2937
|
+
function ls(t) {
|
|
2938
|
+
return (e) => yt((r) => ({
|
|
2936
2939
|
...r,
|
|
2937
2940
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2938
2941
|
}))(e);
|
|
2939
2942
|
}
|
|
2940
|
-
const
|
|
2943
|
+
const cs = {
|
|
2941
2944
|
__name: "DataProvider",
|
|
2942
2945
|
props: {
|
|
2943
2946
|
championshipName: {
|
|
@@ -2966,57 +2969,57 @@ const os = {
|
|
|
2966
2969
|
}
|
|
2967
2970
|
},
|
|
2968
2971
|
setup(t) {
|
|
2969
|
-
const e = t, r =
|
|
2972
|
+
const e = t, r = se({
|
|
2970
2973
|
seasons: [],
|
|
2971
2974
|
championshipId: null,
|
|
2972
2975
|
sections: [],
|
|
2973
2976
|
sectionId: null,
|
|
2974
2977
|
phaseId: null
|
|
2975
|
-
}), { onError: a } = Ve(), { isLoading: o, execute: i } =
|
|
2978
|
+
}), { onError: a } = Ve(), { isLoading: o, execute: i } = ee({
|
|
2976
2979
|
options: {
|
|
2977
2980
|
path: "/v2/championship-seasons",
|
|
2978
2981
|
apiKey: e.apiKey,
|
|
2979
2982
|
params: { championshipName: e.championshipName }
|
|
2980
2983
|
},
|
|
2981
|
-
transform: (
|
|
2984
|
+
transform: (h) => os(h, r),
|
|
2982
2985
|
onError: a
|
|
2983
|
-
}), { isLoading: n, execute: s } =
|
|
2986
|
+
}), { isLoading: n, execute: s } = ee({
|
|
2984
2987
|
options: {
|
|
2985
2988
|
path: "/v2/championship-sections",
|
|
2986
2989
|
apiKey: e.apiKey,
|
|
2987
2990
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2988
2991
|
},
|
|
2989
|
-
transform: (
|
|
2992
|
+
transform: (h) => is(h, r),
|
|
2990
2993
|
onError: a
|
|
2991
2994
|
}), {
|
|
2992
2995
|
isLoading: l,
|
|
2993
2996
|
state: c,
|
|
2994
2997
|
execute: g
|
|
2995
|
-
} =
|
|
2998
|
+
} = ee({
|
|
2996
2999
|
options: {
|
|
2997
3000
|
path: "/v2/games-list",
|
|
2998
3001
|
apiKey: e.apiKey,
|
|
2999
3002
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3000
3003
|
},
|
|
3001
|
-
transform: (
|
|
3004
|
+
transform: (h) => Ae(Qt, ls(r.championshipId))(h),
|
|
3002
3005
|
onError: a
|
|
3003
|
-
}),
|
|
3004
|
-
|
|
3005
|
-
const
|
|
3006
|
-
function v(
|
|
3007
|
-
r.championshipId =
|
|
3008
|
-
}
|
|
3009
|
-
function
|
|
3010
|
-
r.sectionId =
|
|
3011
|
-
}
|
|
3012
|
-
return (
|
|
3013
|
-
rows:
|
|
3014
|
-
isLoading:
|
|
3015
|
-
values: d(
|
|
3016
|
-
listeners: { onChangeSection:
|
|
3006
|
+
}), m = A(() => Ue(c.value).schedule(e.timezone, e.locale).value());
|
|
3007
|
+
be([i, s, g]);
|
|
3008
|
+
const f = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3009
|
+
function v(h) {
|
|
3010
|
+
r.championshipId = h, be([s, g]);
|
|
3011
|
+
}
|
|
3012
|
+
function S(h) {
|
|
3013
|
+
r.sectionId = h.sectionId, r.phaseId = lr(["phases", 0, "phaseId"], h), g();
|
|
3014
|
+
}
|
|
3015
|
+
return (h, C) => ge(h.$slots, "default", $e(Ce({
|
|
3016
|
+
rows: m.value,
|
|
3017
|
+
isLoading: f.value,
|
|
3018
|
+
values: d(Co)(["phaseId"], r),
|
|
3019
|
+
listeners: { onChangeSection: S, onChangeSeason: v }
|
|
3017
3020
|
})));
|
|
3018
3021
|
}
|
|
3019
|
-
},
|
|
3022
|
+
}, ds = ["href"], gs = ["href"], us = {
|
|
3020
3023
|
__name: "ScheduleCupDataTable",
|
|
3021
3024
|
props: {
|
|
3022
3025
|
columns: {
|
|
@@ -3037,47 +3040,47 @@ const os = {
|
|
|
3037
3040
|
}
|
|
3038
3041
|
},
|
|
3039
3042
|
setup(t) {
|
|
3040
|
-
const e = t, r =
|
|
3043
|
+
const e = t, r = j(null), { columns: a } = oa(
|
|
3041
3044
|
e.columns,
|
|
3042
3045
|
null,
|
|
3043
3046
|
A(() => ({
|
|
3044
3047
|
offsetName: e.offsetName
|
|
3045
3048
|
}))
|
|
3046
|
-
), { t: o } =
|
|
3047
|
-
return (i, n) => (
|
|
3049
|
+
), { t: o } = le();
|
|
3050
|
+
return (i, n) => (p(), _("div", {
|
|
3048
3051
|
ref_key: "tooltipContainer",
|
|
3049
3052
|
ref: r
|
|
3050
3053
|
}, [
|
|
3051
|
-
|
|
3052
|
-
default:
|
|
3053
|
-
|
|
3054
|
+
$(d(Rr), null, {
|
|
3055
|
+
default: N(() => [
|
|
3056
|
+
$(d(Yr), {
|
|
3054
3057
|
columns: d(a),
|
|
3055
3058
|
rows: t.rows,
|
|
3056
3059
|
"is-loading": t.isLoading,
|
|
3057
3060
|
"append-to": r.value
|
|
3058
3061
|
}, {
|
|
3059
|
-
"cell-homeTeamName":
|
|
3062
|
+
"cell-homeTeamName": N(({ row: s }) => {
|
|
3060
3063
|
var l;
|
|
3061
3064
|
return [
|
|
3062
|
-
|
|
3065
|
+
oe(w(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3063
3066
|
];
|
|
3064
3067
|
}),
|
|
3065
|
-
"cell-location":
|
|
3068
|
+
"cell-location": N(({ row: s }) => {
|
|
3066
3069
|
var l;
|
|
3067
3070
|
return [
|
|
3068
|
-
|
|
3071
|
+
oe(w(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3069
3072
|
];
|
|
3070
3073
|
}),
|
|
3071
|
-
"cell-document":
|
|
3072
|
-
s.schedule ? (
|
|
3074
|
+
"cell-document": N(({ row: s }) => [
|
|
3075
|
+
s.schedule ? (p(), _("a", {
|
|
3073
3076
|
key: 0,
|
|
3074
3077
|
href: s.schedule,
|
|
3075
3078
|
target: "_blank"
|
|
3076
|
-
},
|
|
3079
|
+
}, w(d(o)("schedule")), 9, ds)) : s.registration ? (p(), _("a", {
|
|
3077
3080
|
key: 1,
|
|
3078
3081
|
href: s.registration,
|
|
3079
3082
|
target: "_blank"
|
|
3080
|
-
},
|
|
3083
|
+
}, w(d(o)("registration")), 9, gs)) : M("", !0)
|
|
3081
3084
|
]),
|
|
3082
3085
|
_: 1
|
|
3083
3086
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3086,7 +3089,7 @@ const os = {
|
|
|
3086
3089
|
})
|
|
3087
3090
|
], 512));
|
|
3088
3091
|
}
|
|
3089
|
-
},
|
|
3092
|
+
}, ps = {
|
|
3090
3093
|
__name: "ScheduleCup.ce",
|
|
3091
3094
|
props: {
|
|
3092
3095
|
locale: {
|
|
@@ -3107,27 +3110,27 @@ const os = {
|
|
|
3107
3110
|
// },
|
|
3108
3111
|
},
|
|
3109
3112
|
setup(t) {
|
|
3110
|
-
const e = t, r = { en:
|
|
3111
|
-
return (i, n) => (
|
|
3113
|
+
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => Ke(/* @__PURE__ */ new Date(), a.value, e.locale));
|
|
3114
|
+
return (i, n) => (p(), G(d(fe), {
|
|
3112
3115
|
locale: e.locale,
|
|
3113
3116
|
messages: r
|
|
3114
3117
|
}, {
|
|
3115
|
-
default:
|
|
3116
|
-
|
|
3117
|
-
default:
|
|
3118
|
-
l ? (
|
|
3118
|
+
default: N(() => [
|
|
3119
|
+
$(d(Te), null, {
|
|
3120
|
+
default: N(({ error: s, hasError: l }) => [
|
|
3121
|
+
l ? (p(), G(d(Ne), {
|
|
3119
3122
|
key: 0,
|
|
3120
3123
|
error: s
|
|
3121
3124
|
}, null, 8, ["error"])) : M("", !0),
|
|
3122
|
-
|
|
3125
|
+
$(cs, {
|
|
3123
3126
|
"championship-name": t.championshipName,
|
|
3124
3127
|
locale: t.locale,
|
|
3125
3128
|
timezone: a.value
|
|
3126
3129
|
}, {
|
|
3127
|
-
default:
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
columns: d(
|
|
3130
|
+
default: N(({ rows: c, isLoading: g, values: m, listeners: f }) => [
|
|
3131
|
+
$(as, Ar(m, Er(f)), null, 16),
|
|
3132
|
+
$(us, {
|
|
3133
|
+
columns: d(ss),
|
|
3131
3134
|
rows: c.rows,
|
|
3132
3135
|
"is-loading": g,
|
|
3133
3136
|
"offset-name": o.value
|
|
@@ -3142,24 +3145,217 @@ const os = {
|
|
|
3142
3145
|
_: 1
|
|
3143
3146
|
}, 8, ["locale"]));
|
|
3144
3147
|
}
|
|
3145
|
-
},
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
+
}, ms = /* @__PURE__ */ _e(ps, [["styles", [xe, Je, Xe, ur, pr, mr, vr]]]), vs = {
|
|
3149
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3150
|
+
viewBox: "0 0 24 24",
|
|
3151
|
+
fill: "none",
|
|
3152
|
+
stroke: "currentColor",
|
|
3153
|
+
"stroke-width": "2",
|
|
3154
|
+
"stroke-linecap": "round",
|
|
3155
|
+
"stroke-linejoin": "round"
|
|
3156
|
+
};
|
|
3157
|
+
function bs(t, e) {
|
|
3158
|
+
return p(), _("svg", vs, e[0] || (e[0] = [
|
|
3159
|
+
u("circle", {
|
|
3160
|
+
cx: "12",
|
|
3161
|
+
cy: "12",
|
|
3162
|
+
r: "1"
|
|
3163
|
+
}, null, -1),
|
|
3164
|
+
u("circle", {
|
|
3165
|
+
cx: "12",
|
|
3166
|
+
cy: "5",
|
|
3167
|
+
r: "1"
|
|
3168
|
+
}, null, -1),
|
|
3169
|
+
u("circle", {
|
|
3170
|
+
cx: "12",
|
|
3171
|
+
cy: "19",
|
|
3172
|
+
r: "1"
|
|
3173
|
+
}, null, -1)
|
|
3174
|
+
]));
|
|
3175
|
+
}
|
|
3176
|
+
const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class: "is-dropdown-menu" }, ws = ["onClick"], xs = /* @__PURE__ */ Object.assign({
|
|
3177
|
+
inheritAttrs: !1
|
|
3178
|
+
}, {
|
|
3179
|
+
__name: "ChampionshipSelector",
|
|
3180
|
+
props: {
|
|
3181
|
+
data: {
|
|
3182
|
+
type: Array,
|
|
3183
|
+
default: () => []
|
|
3184
|
+
},
|
|
3185
|
+
selected: {
|
|
3186
|
+
type: [String, Number],
|
|
3187
|
+
default: ""
|
|
3188
|
+
},
|
|
3189
|
+
target: {
|
|
3190
|
+
type: Object,
|
|
3191
|
+
default: () => ({})
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
emits: ["change"],
|
|
3195
|
+
setup(t, { emit: e }) {
|
|
3196
|
+
const r = e;
|
|
3197
|
+
return (a, o) => (p(), G(d(Ur), {
|
|
3198
|
+
offset: 2,
|
|
3199
|
+
placement: "bottom-end",
|
|
3200
|
+
theme: "content",
|
|
3201
|
+
"append-to": t.target,
|
|
3202
|
+
"is-arrow-visible": !1
|
|
3203
|
+
}, {
|
|
3204
|
+
default: N(({ setRef: i, show: n, hide: s }) => [
|
|
3205
|
+
u("button", {
|
|
3206
|
+
ref: i,
|
|
3207
|
+
type: "button",
|
|
3208
|
+
onClick: Dr(n, ["stop"]),
|
|
3209
|
+
onFocus: n,
|
|
3210
|
+
onBlur: s
|
|
3211
|
+
}, [
|
|
3212
|
+
$(d(hs), { style: { width: "20px" } })
|
|
3213
|
+
], 40, fs)
|
|
3214
|
+
]),
|
|
3215
|
+
content: N(() => [
|
|
3216
|
+
u("ul", ys, [
|
|
3217
|
+
(p(!0), _(R, null, W(t.data, (i) => (p(), _("li", {
|
|
3218
|
+
key: i.championshipId,
|
|
3219
|
+
class: F(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
|
|
3220
|
+
onClick: (n) => r("change", i)
|
|
3221
|
+
}, w(i.name), 11, ws))), 128))
|
|
3222
|
+
])
|
|
3223
|
+
]),
|
|
3224
|
+
_: 1
|
|
3225
|
+
}, 8, ["append-to"]));
|
|
3226
|
+
}
|
|
3227
|
+
});
|
|
3228
|
+
function _s(t) {
|
|
3229
|
+
return t.map((e) => ({ ...e, w: Ot([e.w, e.otw, e.sow]), l: Ot([e.l, e.otl, e.sol]) }));
|
|
3148
3230
|
}
|
|
3149
3231
|
const ks = {
|
|
3150
|
-
|
|
3232
|
+
__name: "DataProvider",
|
|
3233
|
+
props: {
|
|
3234
|
+
apiKey: {
|
|
3235
|
+
type: String,
|
|
3236
|
+
default: ""
|
|
3237
|
+
},
|
|
3238
|
+
data: {
|
|
3239
|
+
type: Array,
|
|
3240
|
+
default: () => []
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
setup(t) {
|
|
3244
|
+
const e = t, r = se({
|
|
3245
|
+
championshipId: Z(e.data).championshipId,
|
|
3246
|
+
phaseId: Z(e.data).phaseId,
|
|
3247
|
+
championshipName: Z(e.data).name,
|
|
3248
|
+
phaseName: Z(e.data).phase
|
|
3249
|
+
}), { state: a, isLoading: o, execute: i } = ee({
|
|
3250
|
+
options: {
|
|
3251
|
+
path: "/v2/standings",
|
|
3252
|
+
apiKey: e.apiKey,
|
|
3253
|
+
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3254
|
+
},
|
|
3255
|
+
transform: (l) => _s(l)
|
|
3256
|
+
// onError,
|
|
3257
|
+
});
|
|
3258
|
+
i();
|
|
3259
|
+
const n = A(() => Ue(a.value).addContinuousIndex().value());
|
|
3260
|
+
function s({ championshipId: l, phaseId: c, name: g, phase: m }) {
|
|
3261
|
+
r.championshipId = l, r.phaseId = c, r.championshipName = g, r.phaseName = m, i();
|
|
3262
|
+
}
|
|
3263
|
+
return (l, c) => ge(l.$slots, "default", $e(Ce({ convertedRows: n.value, isLoading: d(o), ...r, onChange: s })));
|
|
3264
|
+
}
|
|
3265
|
+
}, zs = '.standings-selector dl{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title selector" "subtitle subtitle";align-items:center}.standings-selector dt{grid-area:title;padding:var(--vbr-widget-standings-selector-title-padding);font-size:var(--vbr-widget-standings-selector-title-size);font-weight:var(--vbr-widget-standings-selector-title-weight);color:var(--vbr-widget-standings-selector-title-color);text-transform:var(--vbr-widget-standings-selector-title-transform)}.standings-selector dd{padding:var(--vbr-widget-standings-selector-subtitle-padding);grid-area:subtitle;font-size:var(--vbr-widget-standings-selector-subtitle-size);color:var(--vbr-widget-standings-selector-subtitle-color);border-top:1px solid var(--vbr-widget-standings-selector-subtitle-border-color);border-bottom:1px solid var(--vbr-widget-standings-selector-subtitle-border-color)}.standings-selector .is-championship-selector{grid-area:selector}', Ss = '.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-color: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)}', Is = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", $s = ".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}", Cs = ".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}", Ts = { class: "standings-selector" }, Ns = {
|
|
3266
|
+
__name: "StandingsSelector.ce",
|
|
3267
|
+
props: {
|
|
3268
|
+
locale: {
|
|
3269
|
+
type: String,
|
|
3270
|
+
default: "hu"
|
|
3271
|
+
},
|
|
3272
|
+
apiKey: {
|
|
3273
|
+
type: String,
|
|
3274
|
+
default: ""
|
|
3275
|
+
},
|
|
3276
|
+
data: {
|
|
3277
|
+
type: [Array, String],
|
|
3278
|
+
default: () => []
|
|
3279
|
+
}
|
|
3280
|
+
},
|
|
3281
|
+
setup(t) {
|
|
3282
|
+
const e = t, r = { en: ye, hu: we }, a = j(null), o = A(() => typeof e.data == "string" ? JSON.parse(e.data) : e.data);
|
|
3283
|
+
return (i, n) => (p(), G(d(fe), {
|
|
3284
|
+
locale: e.locale,
|
|
3285
|
+
messages: r
|
|
3286
|
+
}, {
|
|
3287
|
+
default: N(({ t: s }) => [
|
|
3288
|
+
$(d(Te), null, {
|
|
3289
|
+
default: N(({ error: l, hasError: c }) => [
|
|
3290
|
+
c ? (p(), G(d(Ne), {
|
|
3291
|
+
key: 0,
|
|
3292
|
+
error: l
|
|
3293
|
+
}, null, 8, ["error"])) : M("", !0),
|
|
3294
|
+
$(ks, { data: o.value }, {
|
|
3295
|
+
default: N(({ convertedRows: g, isLoading: m, phaseName: f, championshipName: v, phaseId: S, onChange: h }) => [
|
|
3296
|
+
u("div", Ts, [
|
|
3297
|
+
u("dl", null, [
|
|
3298
|
+
u("dt", null, w(s("selection.standings")), 1),
|
|
3299
|
+
u("dd", null, w(v) + " - " + w(f), 1),
|
|
3300
|
+
$(xs, {
|
|
3301
|
+
class: "is-championship-selector",
|
|
3302
|
+
data: o.value,
|
|
3303
|
+
selected: S,
|
|
3304
|
+
target: a.value,
|
|
3305
|
+
onChange: h
|
|
3306
|
+
}, null, 8, ["data", "selected", "target", "onChange"])
|
|
3307
|
+
]),
|
|
3308
|
+
$(d(Ht), {
|
|
3309
|
+
"is-loading": m,
|
|
3310
|
+
columns: d(jr),
|
|
3311
|
+
rows: g.rows,
|
|
3312
|
+
"append-to": a.value,
|
|
3313
|
+
"external-team-resolver": () => {
|
|
3314
|
+
}
|
|
3315
|
+
}, null, 8, ["is-loading", "columns", "rows", "append-to"]),
|
|
3316
|
+
$(d(je), {
|
|
3317
|
+
rows: g.rows,
|
|
3318
|
+
"additional-key": "inheritedPoints"
|
|
3319
|
+
}, null, 8, ["rows"]),
|
|
3320
|
+
$(d(je), {
|
|
3321
|
+
rows: g.rows,
|
|
3322
|
+
"additional-key": "penaltyPoints"
|
|
3323
|
+
}, null, 8, ["rows"])
|
|
3324
|
+
]),
|
|
3325
|
+
u("div", {
|
|
3326
|
+
ref_key: "tooltipContainer",
|
|
3327
|
+
ref: a
|
|
3328
|
+
}, null, 512)
|
|
3329
|
+
]),
|
|
3330
|
+
_: 2
|
|
3331
|
+
}, 1032, ["data"])
|
|
3332
|
+
]),
|
|
3333
|
+
_: 2
|
|
3334
|
+
}, 1024)
|
|
3335
|
+
]),
|
|
3336
|
+
_: 1
|
|
3337
|
+
}, 8, ["locale"]));
|
|
3338
|
+
}
|
|
3339
|
+
}, As = /* @__PURE__ */ _e(Ns, [["styles", [xe, zs, Ss, Is, $s, Cs]]]), Es = he(ui), Ds = he(Ri), Ls = he(ms), Ps = he(Qn), Ms = he(_n), js = he(As);
|
|
3340
|
+
function Os() {
|
|
3341
|
+
customElements.define("mjsz-vbr-calendar", Es), customElements.define("mjsz-vbr-championship", Ds), customElements.define("mjsz-vbr-schedule-cup", Ls), customElements.define("mjsz-vbr-ibr-identifiers", Ps), customElements.define("mjsz-vbr-games-timeline", Ms), customElements.define("mjsz-vbr-standings-selector", js);
|
|
3342
|
+
}
|
|
3343
|
+
const Bs = {
|
|
3344
|
+
install: () => Os()
|
|
3151
3345
|
};
|
|
3152
3346
|
export {
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3347
|
+
ui as Calendar,
|
|
3348
|
+
Es as CalendarCE,
|
|
3349
|
+
Ri as Championship,
|
|
3350
|
+
Ds as ChampionshipCE,
|
|
3351
|
+
_n as GamesTimeline,
|
|
3352
|
+
Ms as GamesTimelineCE,
|
|
3353
|
+
Qn as IVRIdentifiers,
|
|
3354
|
+
Ps as IVRIdentifiersCE,
|
|
3355
|
+
ms as ScheduleCup,
|
|
3356
|
+
Ls as ScheduleCupCE,
|
|
3357
|
+
As as StandingsSelector,
|
|
3358
|
+
js as StandingsSelectorCE,
|
|
3359
|
+
Bs as default,
|
|
3360
|
+
Os as register
|
|
3165
3361
|
};
|