@mjsz-vbr-elements/extended 2.11.3 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +1599 -1431
- package/package.json +5 -6
package/dist/index.js
CHANGED
|
@@ -1,463 +1,463 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.13.0 - 21/01/2025, 19:42:21
|
|
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 xt, subtractDays as
|
|
10
|
-
import { Image as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { COLUMNS_SCHEDULE as Zt, COLUMNS_STANDINGS_P_3 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 g, 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 Xt, offsetName as Ke, getLocalTimezone as Fe, externalGameLinkResolver as pt, WidgetError as Jt, 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 Xr, externalTeamLinkResolver as Jr, 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 J } 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
|
|
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
38
|
min: xt().startDate,
|
|
39
39
|
max: xt().endDate,
|
|
40
40
|
month: null,
|
|
41
41
|
id: null
|
|
42
|
-
})).set(
|
|
43
|
-
const { year: e, month: r } =
|
|
42
|
+
})).set(ve, (t = null) => {
|
|
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(
|
|
50
|
-
const { year: e, month: r } =
|
|
49
|
+
}).set(Ie, (t = null) => {
|
|
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
|
-
const
|
|
65
|
+
const o = [], i = t;
|
|
66
66
|
for (; i <= e; ) {
|
|
67
|
-
const
|
|
68
|
-
n(
|
|
67
|
+
const s = i.toLocaleString(a, { month: "short" });
|
|
68
|
+
n(s), i.setMonth(i.getMonth() + 1);
|
|
69
69
|
}
|
|
70
70
|
if (i.getMonth() === e.getMonth()) {
|
|
71
|
-
const
|
|
72
|
-
n(
|
|
71
|
+
const s = e.toLocaleString(a, { month: "short" });
|
|
72
|
+
n(s);
|
|
73
73
|
}
|
|
74
|
-
function n(
|
|
75
|
-
|
|
74
|
+
function n(s) {
|
|
75
|
+
o.findIndex((l) => l.name === s) === -1 && o.push({
|
|
76
76
|
id: `${i.getFullYear()}-${i.getMonth()}`,
|
|
77
|
-
name:
|
|
77
|
+
name: s
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
return
|
|
80
|
+
return o;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function kt(t) {
|
|
83
83
|
if (!t)
|
|
84
|
-
return { year:
|
|
84
|
+
return { year: q.getFullYear(), month: q.getMonth() };
|
|
85
85
|
const [e, r] = t.split("-");
|
|
86
86
|
return { year: e, month: r };
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function 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
|
-
function
|
|
109
|
-
function r(...
|
|
110
|
-
return new Promise((
|
|
111
|
-
Promise.resolve(t(() => e.apply(this,
|
|
108
|
+
function mt(t, e) {
|
|
109
|
+
function r(...a) {
|
|
110
|
+
return new Promise((o, i) => {
|
|
111
|
+
Promise.resolve(t(() => e.apply(this, a), { fn: e, thisArg: this, args: a })).then(o).catch(i);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
return r;
|
|
115
115
|
}
|
|
116
116
|
const er = (t) => t();
|
|
117
|
-
function
|
|
118
|
-
let r,
|
|
119
|
-
const i = (
|
|
120
|
-
clearTimeout(
|
|
117
|
+
function Pa(t, e = {}) {
|
|
118
|
+
let r, a, o = H;
|
|
119
|
+
const i = (s) => {
|
|
120
|
+
clearTimeout(s), o(), o = H;
|
|
121
121
|
};
|
|
122
|
-
return (
|
|
123
|
-
const
|
|
124
|
-
return r && i(r),
|
|
125
|
-
|
|
126
|
-
r && i(r),
|
|
122
|
+
return (s) => {
|
|
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((u, m) => {
|
|
125
|
+
o = e.rejectOnCancel ? m : u, c && !a && (a = setTimeout(() => {
|
|
126
|
+
r && i(r), a = null, u(s());
|
|
127
127
|
}, c)), r = setTimeout(() => {
|
|
128
|
-
|
|
129
|
-
},
|
|
128
|
+
a && i(a), a = null, u(s());
|
|
129
|
+
}, l);
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
let e = 0, r,
|
|
135
|
-
!ce(t[0]) && typeof t[0] == "object" ? { delay: n, trailing:
|
|
136
|
-
const
|
|
137
|
-
r && (clearTimeout(r), r = void 0,
|
|
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
|
+
const u = () => {
|
|
137
|
+
r && (clearTimeout(r), r = void 0, o(), o = H);
|
|
138
138
|
};
|
|
139
|
-
return (
|
|
140
|
-
const
|
|
141
|
-
return
|
|
142
|
-
|
|
143
|
-
e = Date.now(),
|
|
144
|
-
}, Math.max(0,
|
|
145
|
-
})), !
|
|
139
|
+
return (f) => {
|
|
140
|
+
const v = U(n), S = Date.now() - e, h = () => i = f();
|
|
141
|
+
return u(), 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()), u();
|
|
144
|
+
}, Math.max(0, v - S));
|
|
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
|
}
|
|
153
|
-
function
|
|
153
|
+
function a() {
|
|
154
154
|
e.value = !0;
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const o = (...i) => {
|
|
157
157
|
e.value && t(...i);
|
|
158
158
|
};
|
|
159
|
-
return { isActive: wr(e), pause: r, resume:
|
|
159
|
+
return { isActive: wr(e), pause: r, resume: a, eventFilter: o };
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return new Promise((
|
|
163
|
-
setTimeout(e ? () =>
|
|
161
|
+
function st(t, e = !1, r = "Timeout") {
|
|
162
|
+
return new Promise((a, o) => {
|
|
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
|
-
function
|
|
169
|
+
function It(t) {
|
|
170
170
|
return Array.isArray(t) ? t : [t];
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
return
|
|
174
|
-
|
|
172
|
+
function Ga(t, e = 200, r = {}) {
|
|
173
|
+
return mt(
|
|
174
|
+
Pa(e, r),
|
|
175
175
|
t
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
return
|
|
180
|
-
|
|
178
|
+
function Ra(t, e = 200, r = !1, a = !0, o = !1) {
|
|
179
|
+
return mt(
|
|
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:
|
|
187
|
-
...
|
|
186
|
+
eventFilter: a = er,
|
|
187
|
+
...o
|
|
188
188
|
} = r;
|
|
189
|
-
return
|
|
189
|
+
return ne(
|
|
190
190
|
t,
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
mt(
|
|
192
|
+
a,
|
|
193
193
|
e
|
|
194
194
|
),
|
|
195
|
-
|
|
195
|
+
o
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ua(t, e, r = {}) {
|
|
199
199
|
const {
|
|
200
|
-
eventFilter:
|
|
201
|
-
...
|
|
202
|
-
} = r, { eventFilter: i, pause: n, resume:
|
|
203
|
-
return { stop:
|
|
200
|
+
eventFilter: a,
|
|
201
|
+
...o
|
|
202
|
+
} = r, { eventFilter: i, pause: n, resume: s, isActive: l } = ja(a);
|
|
203
|
+
return { stop: Ya(
|
|
204
204
|
t,
|
|
205
205
|
e,
|
|
206
206
|
{
|
|
207
|
-
...
|
|
207
|
+
...o,
|
|
208
208
|
eventFilter: i
|
|
209
209
|
}
|
|
210
|
-
), pause: n, resume:
|
|
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
|
-
b
|
|
221
|
+
(b) => {
|
|
222
|
+
m(b) !== e && (C ? C() : ze(() => C == null ? void 0 : C()), y(b));
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
flush:
|
|
226
|
-
deep:
|
|
225
|
+
flush: f,
|
|
226
|
+
deep: v,
|
|
227
227
|
immediate: !0
|
|
228
228
|
}
|
|
229
229
|
);
|
|
230
230
|
})];
|
|
231
|
-
return
|
|
232
|
-
|
|
233
|
-
), Promise.race(
|
|
234
|
-
}
|
|
235
|
-
function
|
|
236
|
-
if (!ce(
|
|
237
|
-
return r((
|
|
238
|
-
const { flush:
|
|
239
|
-
let
|
|
240
|
-
const
|
|
241
|
-
|
|
242
|
-
[t,
|
|
243
|
-
([
|
|
244
|
-
e !== (
|
|
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
|
-
flush:
|
|
248
|
-
deep:
|
|
247
|
+
flush: v,
|
|
248
|
+
deep: S,
|
|
249
249
|
immediate: !0
|
|
250
250
|
}
|
|
251
251
|
);
|
|
252
252
|
})];
|
|
253
|
-
return h != null &&
|
|
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
|
|
258
|
-
return r((
|
|
257
|
+
function o(m) {
|
|
258
|
+
return r((f) => !!f, m);
|
|
259
259
|
}
|
|
260
|
-
function i(
|
|
261
|
-
return
|
|
260
|
+
function i(m) {
|
|
261
|
+
return a(null, m);
|
|
262
262
|
}
|
|
263
|
-
function n(
|
|
264
|
-
return
|
|
263
|
+
function n(m) {
|
|
264
|
+
return a(void 0, m);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
return r(Number.isNaN,
|
|
266
|
+
function s(m) {
|
|
267
|
+
return r(Number.isNaN, m);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
return r((
|
|
271
|
-
const
|
|
272
|
-
return
|
|
273
|
-
},
|
|
269
|
+
function l(m, f) {
|
|
270
|
+
return r((v) => {
|
|
271
|
+
const S = Array.from(v);
|
|
272
|
+
return S.includes(m) || S.includes(U(m));
|
|
273
|
+
}, f);
|
|
274
274
|
}
|
|
275
|
-
function c(
|
|
276
|
-
return
|
|
275
|
+
function c(m) {
|
|
276
|
+
return u(1, m);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
279
|
-
let
|
|
280
|
-
return r(() => (
|
|
278
|
+
function u(m = 1, f) {
|
|
279
|
+
let v = -1;
|
|
280
|
+
return r(() => (v += 1, v >= m), f);
|
|
281
281
|
}
|
|
282
|
-
return Array.isArray(
|
|
282
|
+
return Array.isArray(U(t)) ? {
|
|
283
283
|
toMatch: r,
|
|
284
|
-
toContains:
|
|
284
|
+
toContains: l,
|
|
285
285
|
changed: c,
|
|
286
|
-
changedTimes:
|
|
286
|
+
changedTimes: u,
|
|
287
287
|
get not() {
|
|
288
|
-
return
|
|
288
|
+
return lt(t, !e);
|
|
289
289
|
}
|
|
290
290
|
} : {
|
|
291
291
|
toMatch: r,
|
|
292
|
-
toBe:
|
|
293
|
-
toBeTruthy:
|
|
292
|
+
toBe: a,
|
|
293
|
+
toBeTruthy: o,
|
|
294
294
|
toBeNull: i,
|
|
295
|
-
toBeNaN:
|
|
295
|
+
toBeNaN: s,
|
|
296
296
|
toBeUndefined: n,
|
|
297
297
|
changed: c,
|
|
298
|
-
changedTimes:
|
|
298
|
+
changedTimes: u,
|
|
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 {
|
|
309
|
-
immediate:
|
|
310
|
-
immediateCallback:
|
|
309
|
+
immediate: a = !0,
|
|
310
|
+
immediateCallback: o = !1
|
|
311
311
|
} = r;
|
|
312
312
|
let i = null;
|
|
313
|
-
const n =
|
|
314
|
-
function
|
|
313
|
+
const n = j(!1);
|
|
314
|
+
function s() {
|
|
315
315
|
i && (clearInterval(i), i = null);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
n.value = !1,
|
|
317
|
+
function l() {
|
|
318
|
+
n.value = !1, s();
|
|
319
319
|
}
|
|
320
320
|
function c() {
|
|
321
|
-
const
|
|
322
|
-
|
|
321
|
+
const u = U(e);
|
|
322
|
+
u <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, u)));
|
|
323
323
|
}
|
|
324
|
-
if (
|
|
325
|
-
const
|
|
326
|
-
n.value &&
|
|
324
|
+
if (a && nt && c(), ce(e) || typeof e == "function") {
|
|
325
|
+
const u = ne(e, () => {
|
|
326
|
+
n.value && nt && c();
|
|
327
327
|
});
|
|
328
|
-
|
|
328
|
+
it(u);
|
|
329
329
|
}
|
|
330
|
-
return
|
|
330
|
+
return it(l), {
|
|
331
331
|
isActive: n,
|
|
332
|
-
pause:
|
|
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
|
-
const r =
|
|
339
|
+
const r = U(t);
|
|
340
340
|
return (e = r == null ? void 0 : r.$el) != null ? e : r;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
let e, r,
|
|
344
|
-
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r,
|
|
342
|
+
function Re(...t) {
|
|
343
|
+
let e, r, a, o;
|
|
344
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, a, o] = t, e = vt) : [e, r, a, o] = t, !e)
|
|
345
345
|
return H;
|
|
346
|
-
r =
|
|
346
|
+
r = It(r), a = It(a);
|
|
347
347
|
const i = [], n = () => {
|
|
348
|
-
i.forEach((
|
|
349
|
-
},
|
|
350
|
-
() => [
|
|
351
|
-
([
|
|
352
|
-
if (n(), !
|
|
348
|
+
i.forEach((u) => u()), i.length = 0;
|
|
349
|
+
}, s = (u, m, f, v) => (u.addEventListener(m, f, v), () => u.removeEventListener(m, f, v)), l = ne(
|
|
350
|
+
() => [ue(e), U(o)],
|
|
351
|
+
([u, m]) => {
|
|
352
|
+
if (n(), !u)
|
|
353
353
|
return;
|
|
354
|
-
const
|
|
354
|
+
const f = La(m) ? { ...m } : m;
|
|
355
355
|
i.push(
|
|
356
|
-
...r.flatMap((
|
|
356
|
+
...r.flatMap((v) => a.map((S) => s(u, 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:
|
|
369
|
-
onFinished:
|
|
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
|
-
},
|
|
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
|
-
return
|
|
378
|
+
return o(), {
|
|
379
379
|
activeIndex: c,
|
|
380
|
-
result:
|
|
380
|
+
result: l
|
|
381
381
|
};
|
|
382
|
-
function
|
|
383
|
-
c.value++,
|
|
382
|
+
function u(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
|
+
u(n.aborted, new Error("aborted"));
|
|
389
389
|
return;
|
|
390
390
|
}
|
|
391
|
-
if (((
|
|
392
|
-
|
|
391
|
+
if (((S = l[c.value]) == null ? void 0 : S.state) === n.rejected && r) {
|
|
392
|
+
o();
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
const h =
|
|
396
|
-
return i ? Promise.race([h,
|
|
397
|
-
}).catch((
|
|
395
|
+
const h = f(v).then((C) => (u(n.fulfilled, C), c.value === t.length - 1 && o(), C));
|
|
396
|
+
return i ? Promise.race([h, Va(i)]) : h;
|
|
397
|
+
}).catch((v) => i != null && i.aborted ? (u(n.aborted, v), v) : (u(n.rejected, v), a(), v)), Promise.resolve()), {
|
|
398
398
|
activeIndex: c,
|
|
399
|
-
result:
|
|
399
|
+
result: l
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function Va(t) {
|
|
403
403
|
return new Promise((e, r) => {
|
|
404
|
-
const
|
|
405
|
-
t.aborted ? r(
|
|
404
|
+
const a = new Error("aborted");
|
|
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
|
-
immediate:
|
|
411
|
-
delay:
|
|
410
|
+
immediate: a = !0,
|
|
411
|
+
delay: o = 0,
|
|
412
412
|
onError: i = H,
|
|
413
413
|
onSuccess: n = H,
|
|
414
|
-
resetOnExecute:
|
|
415
|
-
shallow:
|
|
414
|
+
resetOnExecute: s = !0,
|
|
415
|
+
shallow: l = !0,
|
|
416
416
|
throwError: c
|
|
417
|
-
} = r ?? {},
|
|
418
|
-
async function
|
|
419
|
-
|
|
420
|
-
const
|
|
417
|
+
} = r ?? {}, u = l ? Pe(e) : j(e), m = j(!1), f = j(!1), v = Pe(void 0);
|
|
418
|
+
async function S(x = 0, ...z) {
|
|
419
|
+
s && (u.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
|
-
|
|
424
|
-
} catch (
|
|
425
|
-
if (
|
|
426
|
-
throw
|
|
422
|
+
const b = await y;
|
|
423
|
+
u.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
|
-
return
|
|
430
|
+
return u.value;
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
a && S(o);
|
|
433
433
|
const h = {
|
|
434
|
-
state:
|
|
435
|
-
isReady:
|
|
436
|
-
isLoading:
|
|
437
|
-
error:
|
|
438
|
-
execute:
|
|
434
|
+
state: u,
|
|
435
|
+
isReady: m,
|
|
436
|
+
isLoading: f,
|
|
437
|
+
error: v,
|
|
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
446
|
...h,
|
|
447
|
-
then(
|
|
448
|
-
return
|
|
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
455
|
const Ct = 1;
|
|
456
|
-
function
|
|
456
|
+
function Wa(t, e = {}) {
|
|
457
457
|
const {
|
|
458
458
|
throttle: r = 0,
|
|
459
|
-
idle:
|
|
460
|
-
onStop:
|
|
459
|
+
idle: a = 200,
|
|
460
|
+
onStop: o = H,
|
|
461
461
|
onScroll: i = H,
|
|
462
462
|
offset: n = {
|
|
463
463
|
left: 0,
|
|
@@ -465,256 +465,259 @@ function Fo(t, e = {}) {
|
|
|
465
465
|
top: 0,
|
|
466
466
|
bottom: 0
|
|
467
467
|
},
|
|
468
|
-
eventListenerOptions:
|
|
468
|
+
eventListenerOptions: s = {
|
|
469
469
|
capture: !1,
|
|
470
470
|
passive: !0
|
|
471
471
|
},
|
|
472
|
-
behavior:
|
|
473
|
-
window: c =
|
|
474
|
-
onError:
|
|
475
|
-
console.error(
|
|
472
|
+
behavior: l = "auto",
|
|
473
|
+
window: c = vt,
|
|
474
|
+
onError: u = (k) => {
|
|
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
|
-
set(
|
|
482
|
-
h(
|
|
481
|
+
set(k) {
|
|
482
|
+
h(k, void 0);
|
|
483
483
|
}
|
|
484
|
-
}),
|
|
484
|
+
}), S = A({
|
|
485
485
|
get() {
|
|
486
|
-
return
|
|
486
|
+
return f.value;
|
|
487
487
|
},
|
|
488
|
-
set(
|
|
489
|
-
h(void 0,
|
|
488
|
+
set(k) {
|
|
489
|
+
h(void 0, k);
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
|
-
function h(
|
|
493
|
-
var
|
|
492
|
+
function h(k, P) {
|
|
493
|
+
var D, X, ie, te;
|
|
494
494
|
if (!c)
|
|
495
495
|
return;
|
|
496
|
-
const
|
|
497
|
-
if (!
|
|
496
|
+
const V = U(t);
|
|
497
|
+
if (!V)
|
|
498
498
|
return;
|
|
499
|
-
(
|
|
500
|
-
top: (
|
|
501
|
-
left: (X =
|
|
502
|
-
behavior:
|
|
499
|
+
(ie = V instanceof Document ? c.document.body : V) == null || ie.scrollTo({
|
|
500
|
+
top: (D = U(P)) != null ? D : S.value,
|
|
501
|
+
left: (X = U(k)) != null ? X : v.value,
|
|
502
|
+
behavior: U(l)
|
|
503
503
|
});
|
|
504
|
-
const T = ((
|
|
505
|
-
|
|
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
|
|
524
|
-
|
|
525
|
-
const O = T *
|
|
526
|
-
X === "flex" &&
|
|
527
|
-
let
|
|
528
|
-
|
|
529
|
-
const
|
|
530
|
-
X === "flex" &&
|
|
531
|
-
},
|
|
523
|
+
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ue(k), { display: X, 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
|
+
X === "flex" && ie === "row-reverse" ? (x.left = ae, x.right = O) : (x.left = O, x.right = ae), m.value = T;
|
|
527
|
+
let B = D.scrollTop;
|
|
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
|
+
X === "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
|
-
const
|
|
536
|
-
|
|
535
|
+
const D = (P = k.target.documentElement) != null ? P : k.target;
|
|
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 ?
|
|
542
|
-
|
|
543
|
-
),
|
|
541
|
+
r ? Ra(E, r, !0, !1) : E,
|
|
542
|
+
s
|
|
543
|
+
), Ka(() => {
|
|
544
544
|
try {
|
|
545
|
-
const
|
|
546
|
-
if (!
|
|
545
|
+
const k = U(t);
|
|
546
|
+
if (!k)
|
|
547
547
|
return;
|
|
548
|
-
|
|
549
|
-
} catch (
|
|
550
|
-
|
|
548
|
+
I(k);
|
|
549
|
+
} catch (k) {
|
|
550
|
+
u(k);
|
|
551
551
|
}
|
|
552
|
-
}),
|
|
552
|
+
}), Re(
|
|
553
553
|
t,
|
|
554
554
|
"scrollend",
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
y,
|
|
556
|
+
s
|
|
557
557
|
), {
|
|
558
|
-
x:
|
|
559
|
-
y:
|
|
560
|
-
isScrolling:
|
|
561
|
-
arrivedState:
|
|
562
|
-
directions:
|
|
558
|
+
x: v,
|
|
559
|
+
y: S,
|
|
560
|
+
isScrolling: C,
|
|
561
|
+
arrivedState: x,
|
|
562
|
+
directions: z,
|
|
563
563
|
measure() {
|
|
564
|
-
const
|
|
565
|
-
c &&
|
|
564
|
+
const k = U(t);
|
|
565
|
+
c && k && I(k);
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
569
|
function tr(t = "history", e = {}) {
|
|
570
570
|
const {
|
|
571
571
|
initialValue: r = {},
|
|
572
|
-
removeNullishValues:
|
|
573
|
-
removeFalsyValues:
|
|
572
|
+
removeNullishValues: a = !0,
|
|
573
|
+
removeFalsyValues: o = !1,
|
|
574
574
|
write: i = !0,
|
|
575
575
|
writeMode: n = "replace",
|
|
576
|
-
window:
|
|
576
|
+
window: s = vt
|
|
577
577
|
} = e;
|
|
578
|
-
if (!
|
|
579
|
-
return
|
|
580
|
-
const
|
|
578
|
+
if (!s)
|
|
579
|
+
return se(r);
|
|
580
|
+
const l = se({});
|
|
581
581
|
function c() {
|
|
582
582
|
if (t === "history")
|
|
583
|
-
return
|
|
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
|
-
return (
|
|
588
|
+
return (s.location.hash || "").replace(/^#/, "");
|
|
589
589
|
}
|
|
590
|
-
function
|
|
591
|
-
const
|
|
590
|
+
function u(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 `${
|
|
596
|
-
const
|
|
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
|
|
603
|
-
const
|
|
604
|
-
for (const
|
|
605
|
-
const
|
|
606
|
-
|
|
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:
|
|
611
|
-
|
|
610
|
+
const { pause: v, resume: S } = Ua(
|
|
611
|
+
l,
|
|
612
612
|
() => {
|
|
613
|
-
const
|
|
614
|
-
Object.keys(
|
|
615
|
-
const
|
|
616
|
-
Array.isArray(
|
|
617
|
-
}), h(
|
|
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 h(
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
) :
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
),
|
|
631
|
-
}
|
|
632
|
-
function
|
|
633
|
-
i && h(
|
|
634
|
-
}
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
const
|
|
638
|
-
return
|
|
639
|
-
}
|
|
640
|
-
function
|
|
641
|
-
var
|
|
621
|
+
function h(y, b) {
|
|
622
|
+
v(), b && f(y), n === "replace" ? s.history.replaceState(
|
|
623
|
+
s.history.state,
|
|
624
|
+
s.document.title,
|
|
625
|
+
s.location.pathname + u(y)
|
|
626
|
+
) : s.history.pushState(
|
|
627
|
+
s.history.state,
|
|
628
|
+
s.document.title,
|
|
629
|
+
s.location.pathname + u(y)
|
|
630
|
+
), S();
|
|
631
|
+
}
|
|
632
|
+
function C() {
|
|
633
|
+
i && h(m(), !0);
|
|
634
|
+
}
|
|
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
|
+
}
|
|
640
|
+
function Ha(t, e, r, a = {}) {
|
|
641
|
+
var o, i, n;
|
|
642
642
|
const {
|
|
643
|
-
clone:
|
|
644
|
-
passive:
|
|
643
|
+
clone: s = !1,
|
|
644
|
+
passive: l = !1,
|
|
645
645
|
eventName: c,
|
|
646
|
-
deep:
|
|
647
|
-
defaultValue:
|
|
648
|
-
shouldEmit:
|
|
649
|
-
} =
|
|
646
|
+
deep: u = !1,
|
|
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
650
|
let h = c;
|
|
651
651
|
e || (e = "modelValue"), h = h || `update:${e.toString()}`;
|
|
652
|
-
const
|
|
653
|
-
|
|
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
|
-
if (
|
|
656
|
-
const
|
|
657
|
-
let
|
|
658
|
-
return
|
|
655
|
+
if (l) {
|
|
656
|
+
const y = x(), b = j(y);
|
|
657
|
+
let I = !1;
|
|
658
|
+
return ne(
|
|
659
659
|
() => t[e],
|
|
660
|
-
(
|
|
661
|
-
|
|
660
|
+
(E) => {
|
|
661
|
+
I || (I = !0, b.value = C(E), ze(() => I = !1));
|
|
662
662
|
}
|
|
663
|
-
),
|
|
664
|
-
|
|
665
|
-
(
|
|
666
|
-
!
|
|
663
|
+
), ne(
|
|
664
|
+
b,
|
|
665
|
+
(E) => {
|
|
666
|
+
!I && (E !== t[e] || u) && z(E);
|
|
667
667
|
},
|
|
668
|
-
{ deep:
|
|
669
|
-
),
|
|
668
|
+
{ deep: u }
|
|
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
|
|
681
|
-
const
|
|
682
|
-
for (const
|
|
683
|
-
o
|
|
680
|
+
function bt(t, e, r = {}) {
|
|
681
|
+
const a = {};
|
|
682
|
+
for (const o in t)
|
|
683
|
+
a[o] = Ha(
|
|
684
684
|
t,
|
|
685
|
-
|
|
685
|
+
o,
|
|
686
686
|
e,
|
|
687
687
|
r
|
|
688
688
|
);
|
|
689
|
-
return
|
|
689
|
+
return a;
|
|
690
690
|
}
|
|
691
691
|
function L(t) {
|
|
692
692
|
return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Y(t) {
|
|
695
695
|
return function e(r) {
|
|
696
696
|
return arguments.length === 0 || L(r) ? e : t.apply(this, arguments);
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
return function e(r,
|
|
699
|
+
function K(t) {
|
|
700
|
+
return function e(r, a) {
|
|
701
701
|
switch (arguments.length) {
|
|
702
702
|
case 0:
|
|
703
703
|
return e;
|
|
704
704
|
case 1:
|
|
705
|
-
return L(r) ? e :
|
|
706
|
-
return t(r,
|
|
705
|
+
return L(r) ? e : Y(function(o) {
|
|
706
|
+
return t(r, o);
|
|
707
707
|
});
|
|
708
708
|
default:
|
|
709
|
-
return L(r) && L(
|
|
710
|
-
return t(
|
|
711
|
-
}) : L(
|
|
712
|
-
return t(r,
|
|
713
|
-
}) : t(r,
|
|
709
|
+
return L(r) && L(a) ? e : L(r) ? Y(function(o) {
|
|
710
|
+
return t(o, a);
|
|
711
|
+
}) : L(a) ? Y(function(o) {
|
|
712
|
+
return t(r, o);
|
|
713
|
+
}) : t(r, a);
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
|
-
|
|
717
|
+
var Xa = /* @__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() {
|
|
@@ -725,39 +728,39 @@ function Fe(t, e) {
|
|
|
725
728
|
return e.apply(this, arguments);
|
|
726
729
|
};
|
|
727
730
|
case 2:
|
|
728
|
-
return function(r,
|
|
731
|
+
return function(r, a) {
|
|
729
732
|
return e.apply(this, arguments);
|
|
730
733
|
};
|
|
731
734
|
case 3:
|
|
732
|
-
return function(r,
|
|
735
|
+
return function(r, a, o) {
|
|
733
736
|
return e.apply(this, arguments);
|
|
734
737
|
};
|
|
735
738
|
case 4:
|
|
736
|
-
return function(r,
|
|
739
|
+
return function(r, a, o, i) {
|
|
737
740
|
return e.apply(this, arguments);
|
|
738
741
|
};
|
|
739
742
|
case 5:
|
|
740
|
-
return function(r,
|
|
743
|
+
return function(r, a, o, i, n) {
|
|
741
744
|
return e.apply(this, arguments);
|
|
742
745
|
};
|
|
743
746
|
case 6:
|
|
744
|
-
return function(r,
|
|
747
|
+
return function(r, a, o, i, n, s) {
|
|
745
748
|
return e.apply(this, arguments);
|
|
746
749
|
};
|
|
747
750
|
case 7:
|
|
748
|
-
return function(r,
|
|
751
|
+
return function(r, a, o, i, n, s, l) {
|
|
749
752
|
return e.apply(this, arguments);
|
|
750
753
|
};
|
|
751
754
|
case 8:
|
|
752
|
-
return function(r,
|
|
755
|
+
return function(r, a, o, i, n, s, l, c) {
|
|
753
756
|
return e.apply(this, arguments);
|
|
754
757
|
};
|
|
755
758
|
case 9:
|
|
756
|
-
return function(r,
|
|
759
|
+
return function(r, a, o, i, n, s, l, c, u) {
|
|
757
760
|
return e.apply(this, arguments);
|
|
758
761
|
};
|
|
759
762
|
case 10:
|
|
760
|
-
return function(r,
|
|
763
|
+
return function(r, a, o, i, n, s, l, c, u, m) {
|
|
761
764
|
return e.apply(this, arguments);
|
|
762
765
|
};
|
|
763
766
|
default:
|
|
@@ -766,76 +769,76 @@ function Fe(t, e) {
|
|
|
766
769
|
}
|
|
767
770
|
function rr(t, e, r) {
|
|
768
771
|
return function() {
|
|
769
|
-
for (var
|
|
770
|
-
var
|
|
771
|
-
n < e.length && (!L(e[n]) ||
|
|
772
|
+
for (var a = [], o = 0, i = t, n = 0, s = !1; n < e.length || o < arguments.length; ) {
|
|
773
|
+
var l;
|
|
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 !
|
|
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 ?
|
|
779
|
+
var Ja = /* @__PURE__ */ K(function(e, r) {
|
|
780
|
+
return e === 1 ? Y(r) : Be(e, rr(e, [], r));
|
|
778
781
|
});
|
|
779
782
|
function ht(t) {
|
|
780
|
-
return function e(r,
|
|
783
|
+
return function e(r, a, o) {
|
|
781
784
|
switch (arguments.length) {
|
|
782
785
|
case 0:
|
|
783
786
|
return e;
|
|
784
787
|
case 1:
|
|
785
|
-
return L(r) ? e :
|
|
788
|
+
return L(r) ? e : K(function(i, n) {
|
|
786
789
|
return t(r, i, n);
|
|
787
790
|
});
|
|
788
791
|
case 2:
|
|
789
|
-
return L(r) && L(
|
|
790
|
-
return t(i,
|
|
791
|
-
}) : L(
|
|
792
|
+
return L(r) && L(a) ? e : L(r) ? K(function(i, n) {
|
|
793
|
+
return t(i, a, n);
|
|
794
|
+
}) : L(a) ? K(function(i, n) {
|
|
792
795
|
return t(r, i, n);
|
|
793
|
-
}) :
|
|
794
|
-
return t(r,
|
|
796
|
+
}) : Y(function(i) {
|
|
797
|
+
return t(r, a, i);
|
|
795
798
|
});
|
|
796
799
|
default:
|
|
797
|
-
return L(r) && L(
|
|
798
|
-
return t(i, n,
|
|
799
|
-
}) : L(r) && L(
|
|
800
|
-
return t(i,
|
|
801
|
-
}) : L(
|
|
800
|
+
return L(r) && L(a) && L(o) ? e : L(r) && L(a) ? K(function(i, n) {
|
|
801
|
+
return t(i, n, o);
|
|
802
|
+
}) : L(r) && L(o) ? K(function(i, n) {
|
|
803
|
+
return t(i, a, n);
|
|
804
|
+
}) : L(a) && L(o) ? K(function(i, n) {
|
|
802
805
|
return t(r, i, n);
|
|
803
|
-
}) : L(r) ?
|
|
804
|
-
return t(i,
|
|
805
|
-
}) : L(
|
|
806
|
-
return t(r, i,
|
|
807
|
-
}) : L(
|
|
808
|
-
return t(r,
|
|
809
|
-
}) : t(r,
|
|
806
|
+
}) : L(r) ? Y(function(i) {
|
|
807
|
+
return t(i, a, o);
|
|
808
|
+
}) : L(a) ? Y(function(i) {
|
|
809
|
+
return t(r, i, o);
|
|
810
|
+
}) : L(o) ? Y(function(i) {
|
|
811
|
+
return t(r, a, i);
|
|
812
|
+
}) : t(r, a, o);
|
|
810
813
|
}
|
|
811
814
|
};
|
|
812
815
|
}
|
|
813
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
|
-
var
|
|
824
|
-
if (!qe(
|
|
825
|
-
for (var
|
|
826
|
-
if (typeof
|
|
827
|
-
return
|
|
828
|
-
|
|
826
|
+
var a = arguments[arguments.length - 1];
|
|
827
|
+
if (!qe(a)) {
|
|
828
|
+
for (var o = 0; o < t.length; ) {
|
|
829
|
+
if (typeof a[t[o]] == "function")
|
|
830
|
+
return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
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
|
-
return i(
|
|
835
|
+
return i(a);
|
|
833
836
|
}
|
|
834
837
|
}
|
|
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
|
},
|
|
@@ -843,96 +846,96 @@ const Nt = {
|
|
|
843
846
|
return this.xf["@@transducer/result"](t);
|
|
844
847
|
}
|
|
845
848
|
};
|
|
846
|
-
function
|
|
849
|
+
function Nt(t) {
|
|
847
850
|
for (var e = [], r; !(r = t.next()).done; )
|
|
848
851
|
e.push(r.value);
|
|
849
852
|
return e;
|
|
850
853
|
}
|
|
851
|
-
function
|
|
852
|
-
for (var
|
|
853
|
-
if (t(e, r[
|
|
854
|
+
function At(t, e, r) {
|
|
855
|
+
for (var a = 0, o = r.length; a < o; ) {
|
|
856
|
+
if (t(e, r[a]))
|
|
854
857
|
return !0;
|
|
855
|
-
|
|
858
|
+
a += 1;
|
|
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
|
|
871
|
-
return
|
|
872
|
-
return
|
|
872
|
+
const tt = typeof Object.is == "function" ? Object.is : to;
|
|
873
|
+
var Et = Object.prototype.toString, ar = /* @__PURE__ */ function() {
|
|
874
|
+
return Et.call(arguments) === "[object Arguments]" ? function(e) {
|
|
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
|
-
}.propertyIsEnumerable("toString"),
|
|
881
|
+
}.propertyIsEnumerable("toString"), Dt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Lt = /* @__PURE__ */ function() {
|
|
879
882
|
return arguments.propertyIsEnumerable("length");
|
|
880
|
-
}(),
|
|
881
|
-
for (var
|
|
882
|
-
if (e[
|
|
883
|
+
}(), ao = function(e, r) {
|
|
884
|
+
for (var a = 0; a < e.length; ) {
|
|
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,
|
|
895
|
+
var r, a, o = [], i = Lt && ar(e);
|
|
893
896
|
for (r in e)
|
|
894
|
-
|
|
895
|
-
if (
|
|
896
|
-
for (
|
|
897
|
-
r =
|
|
898
|
-
return
|
|
899
|
-
}),
|
|
897
|
+
Ye(r, e) && (!i || r !== "length") && (o[o.length] = r);
|
|
898
|
+
if (ro)
|
|
899
|
+
for (a = Dt.length - 1; a >= 0; )
|
|
900
|
+
r = Dt[a], Ye(r, e) && !ao(o, r) && (o[o.length] = r), a -= 1;
|
|
901
|
+
return o;
|
|
902
|
+
}), Pt = /* @__PURE__ */ Y(function(e) {
|
|
900
903
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
901
904
|
});
|
|
902
|
-
function
|
|
903
|
-
var
|
|
904
|
-
function n(
|
|
905
|
-
return ft(
|
|
905
|
+
function Mt(t, e, r, a) {
|
|
906
|
+
var o = Nt(t), i = Nt(e);
|
|
907
|
+
function n(s, l) {
|
|
908
|
+
return ft(s, l, r.slice(), a.slice());
|
|
906
909
|
}
|
|
907
|
-
return !
|
|
908
|
-
return !
|
|
909
|
-
}, i,
|
|
910
|
+
return !At(function(s, l) {
|
|
911
|
+
return !At(n, l, s);
|
|
912
|
+
}, i, o);
|
|
910
913
|
}
|
|
911
|
-
function ft(t, e, r,
|
|
912
|
-
if (
|
|
914
|
+
function ft(t, e, r, a) {
|
|
915
|
+
if (tt(t, e))
|
|
913
916
|
return !0;
|
|
914
|
-
var
|
|
915
|
-
if (
|
|
917
|
+
var o = Pt(t);
|
|
918
|
+
if (o !== Pt(e))
|
|
916
919
|
return !1;
|
|
917
920
|
if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
|
|
918
921
|
return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
|
|
919
922
|
if (typeof t.equals == "function" || typeof e.equals == "function")
|
|
920
923
|
return typeof t.equals == "function" && t.equals(e) && typeof e.equals == "function" && e.equals(t);
|
|
921
|
-
switch (
|
|
924
|
+
switch (o) {
|
|
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":
|
|
@@ -944,14 +947,14 @@ function ft(t, e, r, o) {
|
|
|
944
947
|
}
|
|
945
948
|
for (var i = r.length - 1; i >= 0; ) {
|
|
946
949
|
if (r[i] === t)
|
|
947
|
-
return
|
|
950
|
+
return a[i] === e;
|
|
948
951
|
i -= 1;
|
|
949
952
|
}
|
|
950
|
-
switch (
|
|
953
|
+
switch (o) {
|
|
951
954
|
case "Map":
|
|
952
|
-
return t.size !== e.size ? !1 :
|
|
955
|
+
return t.size !== e.size ? !1 : Mt(t.entries(), e.entries(), r.concat([t]), a.concat([e]));
|
|
953
956
|
case "Set":
|
|
954
|
-
return t.size !== e.size ? !1 :
|
|
957
|
+
return t.size !== e.size ? !1 : Mt(t.values(), e.values(), r.concat([t]), a.concat([e]));
|
|
955
958
|
case "Arguments":
|
|
956
959
|
case "Array":
|
|
957
960
|
case "Object":
|
|
@@ -975,60 +978,60 @@ function ft(t, e, r, o) {
|
|
|
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
|
-
var
|
|
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
|
|
993
|
+
var oo = /* @__PURE__ */ K(function(e, r) {
|
|
991
994
|
return ft(e, r, [], []);
|
|
992
995
|
});
|
|
993
|
-
function
|
|
994
|
-
for (var r = 0,
|
|
995
|
-
|
|
996
|
-
return
|
|
996
|
+
function io(t, e) {
|
|
997
|
+
for (var r = 0, a = e.length, o = Array(a); r < a; )
|
|
998
|
+
o[r] = t(e[r]), r += 1;
|
|
999
|
+
return o;
|
|
997
1000
|
}
|
|
998
|
-
function
|
|
999
|
-
for (var
|
|
1000
|
-
e = t(e, r[
|
|
1001
|
+
function no(t, e, r) {
|
|
1002
|
+
for (var a = 0, o = r.length; a < o; )
|
|
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 Ja(r.length, function() {
|
|
1021
1024
|
return e.call(this, r.apply(this, arguments));
|
|
1022
1025
|
});
|
|
1023
1026
|
case "[object Object]":
|
|
1024
|
-
return
|
|
1025
|
-
return o
|
|
1026
|
-
}, {},
|
|
1027
|
+
return no(function(a, o) {
|
|
1028
|
+
return a[o] = e(r[o]), a;
|
|
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
1037
|
function We(t) {
|
|
@@ -1038,58 +1041,58 @@ function He(t, e) {
|
|
|
1038
1041
|
var r = t < 0 ? e.length + t : t;
|
|
1039
1042
|
return We(e) ? e.charAt(r) : e[r];
|
|
1040
1043
|
}
|
|
1041
|
-
var
|
|
1044
|
+
var de = /* @__PURE__ */ K(function(e, r) {
|
|
1042
1045
|
if (r != null)
|
|
1043
|
-
return
|
|
1044
|
-
}),
|
|
1046
|
+
return or(e) ? He(e, r) : r[e];
|
|
1047
|
+
}), go = /* @__PURE__ */ Y(function(e) {
|
|
1045
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
|
-
}),
|
|
1047
|
-
function
|
|
1048
|
-
return function(
|
|
1049
|
-
if (
|
|
1050
|
-
return t(
|
|
1049
|
+
}), jt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1050
|
+
function uo(t, e, r) {
|
|
1051
|
+
return function(o, i, n) {
|
|
1052
|
+
if (go(n))
|
|
1053
|
+
return t(o, i, n);
|
|
1051
1054
|
if (n == null)
|
|
1052
1055
|
return i;
|
|
1053
1056
|
if (typeof n["fantasy-land/reduce"] == "function")
|
|
1054
|
-
return e(
|
|
1055
|
-
if (n[
|
|
1056
|
-
return r(
|
|
1057
|
+
return e(o, i, n, "fantasy-land/reduce");
|
|
1058
|
+
if (n[jt] != null)
|
|
1059
|
+
return r(o, i, n[jt]());
|
|
1057
1060
|
if (typeof n.next == "function")
|
|
1058
|
-
return r(
|
|
1061
|
+
return r(o, i, n);
|
|
1059
1062
|
if (typeof n.reduce == "function")
|
|
1060
|
-
return e(
|
|
1063
|
+
return e(o, i, n, "reduce");
|
|
1061
1064
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1062
1065
|
};
|
|
1063
1066
|
}
|
|
1064
|
-
function
|
|
1065
|
-
for (var
|
|
1066
|
-
if (e = t["@@transducer/step"](e, r[
|
|
1067
|
+
function po(t, e, r) {
|
|
1068
|
+
for (var a = 0, o = r.length; a < o; ) {
|
|
1069
|
+
if (e = t["@@transducer/step"](e, r[a]), e && e["@@transducer/reduced"]) {
|
|
1067
1070
|
e = e["@@transducer/value"];
|
|
1068
1071
|
break;
|
|
1069
1072
|
}
|
|
1070
|
-
|
|
1073
|
+
a += 1;
|
|
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
|
|
1080
|
-
for (var
|
|
1081
|
-
if (e = t["@@transducer/step"](e,
|
|
1082
|
+
function vo(t, e, r) {
|
|
1083
|
+
for (var a = r.next(); !a.done; ) {
|
|
1084
|
+
if (e = t["@@transducer/step"](e, a.value), e && e["@@transducer/reduced"]) {
|
|
1082
1085
|
e = e["@@transducer/value"];
|
|
1083
1086
|
break;
|
|
1084
1087
|
}
|
|
1085
|
-
|
|
1088
|
+
a = r.next();
|
|
1086
1089
|
}
|
|
1087
1090
|
return t["@@transducer/result"](e);
|
|
1088
1091
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return t["@@transducer/result"](r[
|
|
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 ma = /* @__PURE__ */ la(ca, va, ga), pa = /* @__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
|
-
var
|
|
1121
|
-
return qe(
|
|
1123
|
+
var a = arguments[r - 1];
|
|
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
|
|
1125
|
-
return Array.prototype.slice.call(
|
|
1126
|
-
})),
|
|
1127
|
-
function
|
|
1127
|
+
var xo = /* @__PURE__ */ ht(/* @__PURE__ */ nr("slice", function(e, r, a) {
|
|
1128
|
+
return Array.prototype.slice.call(a, e, r);
|
|
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
|
|
1135
|
+
var ko = /* @__PURE__ */ Y(function(e) {
|
|
1133
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
|
|
1143
|
+
var Z = /* @__PURE__ */ Y(function(t) {
|
|
1141
1144
|
return He(0, t);
|
|
1142
|
-
}),
|
|
1143
|
-
var
|
|
1144
|
-
return
|
|
1145
|
-
}),
|
|
1145
|
+
}), sr = /* @__PURE__ */ ht(function(e, r, a) {
|
|
1146
|
+
var o = e(r), i = e(a);
|
|
1147
|
+
return o > i ? -1 : o < i ? 1 : 0;
|
|
1148
|
+
}), zo = /* @__PURE__ */ Y(function(t) {
|
|
1146
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() : qe(e) ? [] : We(e) ? "" :
|
|
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
|
|
1160
|
-
for (var r = e,
|
|
1162
|
+
function $o(t, e) {
|
|
1163
|
+
for (var r = e, a = 0; a < t.length; a += 1) {
|
|
1161
1164
|
if (r == null)
|
|
1162
1165
|
return;
|
|
1163
|
-
var
|
|
1164
|
-
|
|
1166
|
+
var o = t[a];
|
|
1167
|
+
or(o) ? r = He(o, r) : r = r[o];
|
|
1165
1168
|
}
|
|
1166
1169
|
return r;
|
|
1167
1170
|
}
|
|
1168
|
-
var
|
|
1169
|
-
for (var
|
|
1170
|
-
|
|
1171
|
-
for (var
|
|
1172
|
-
|
|
1173
|
-
return
|
|
1174
|
-
}),
|
|
1175
|
-
for (var
|
|
1176
|
-
e[
|
|
1177
|
-
return
|
|
1178
|
-
}),
|
|
1171
|
+
var Ot = /* @__PURE__ */ ir(Xa, 0), Co = /* @__PURE__ */ K(function(e, r) {
|
|
1172
|
+
for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
|
|
1173
|
+
o[e[i]] = 1, i += 1;
|
|
1174
|
+
for (var s in r)
|
|
1175
|
+
o.hasOwnProperty(s) || (a[s] = r[s]);
|
|
1176
|
+
return a;
|
|
1177
|
+
}), lr = /* @__PURE__ */ K($o), cr = /* @__PURE__ */ K(function(e, r) {
|
|
1178
|
+
for (var a = {}, o = 0; o < e.length; )
|
|
1179
|
+
e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
|
|
1180
|
+
return a;
|
|
1181
|
+
}), dr = /* @__PURE__ */ K(function(e, r) {
|
|
1179
1182
|
return Array.prototype.slice.call(r, 0).sort(e);
|
|
1180
|
-
}),
|
|
1181
|
-
return Array.prototype.slice.call(r, 0).sort(function(
|
|
1182
|
-
var i = e(
|
|
1183
|
+
}), gr = /* @__PURE__ */ K(function(e, r) {
|
|
1184
|
+
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
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,89 +1207,89 @@ const Rt = 20, Sa = {
|
|
|
1204
1207
|
}
|
|
1205
1208
|
},
|
|
1206
1209
|
setup(t) {
|
|
1207
|
-
const e = t, { timezone: r, locale:
|
|
1208
|
-
firstGame:
|
|
1209
|
-
lastGame:
|
|
1210
|
-
}),
|
|
1211
|
-
min: Q(
|
|
1212
|
-
max: Q(
|
|
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({
|
|
1211
|
+
firstGame: q,
|
|
1212
|
+
lastGame: q
|
|
1213
|
+
}), u = Pe({
|
|
1214
|
+
min: Q(q, "YYYY-MM-DD"),
|
|
1215
|
+
max: Q(q, "YYYY-MM-DD")
|
|
1213
1216
|
}), {
|
|
1214
|
-
state:
|
|
1215
|
-
isLoading:
|
|
1216
|
-
execute:
|
|
1217
|
+
state: m,
|
|
1218
|
+
isLoading: f,
|
|
1219
|
+
execute: v
|
|
1217
1220
|
} = ee({
|
|
1218
1221
|
options: {
|
|
1219
1222
|
path: "/v2/games-calendar",
|
|
1220
1223
|
apiKey: e.apiKey,
|
|
1221
1224
|
params: A(() => ({
|
|
1222
1225
|
seasonId: e.seasonId,
|
|
1223
|
-
firstDate:
|
|
1224
|
-
lastDate:
|
|
1226
|
+
firstDate: u.value.min,
|
|
1227
|
+
lastDate: u.value.max
|
|
1225
1228
|
})),
|
|
1226
1229
|
resetOnExecute: !0
|
|
1227
1230
|
},
|
|
1228
|
-
transform: (
|
|
1229
|
-
onError:
|
|
1230
|
-
}),
|
|
1231
|
-
() =>
|
|
1231
|
+
transform: (b) => $a(b, c),
|
|
1232
|
+
onError: o
|
|
1233
|
+
}), S = A(
|
|
1234
|
+
() => Ue(m.value).schedule(r.value, a.value).more(0, l.value * Gt + Gt).groupByDays().value()
|
|
1232
1235
|
), h = A(
|
|
1233
|
-
() =>
|
|
1234
|
-
...
|
|
1235
|
-
n.value ===
|
|
1236
|
-
|
|
1236
|
+
() => Aa(
|
|
1237
|
+
...Ca.get(n.value)(c.value.firstGame, c.value.lastGame),
|
|
1238
|
+
n.value === ve,
|
|
1239
|
+
a.value
|
|
1237
1240
|
)
|
|
1238
1241
|
);
|
|
1239
|
-
|
|
1242
|
+
ne(
|
|
1240
1243
|
n,
|
|
1241
|
-
async (
|
|
1242
|
-
const { min:
|
|
1243
|
-
|
|
1244
|
+
async (b) => {
|
|
1245
|
+
const { min: I, max: E, id: k } = De.get(b)(i.month);
|
|
1246
|
+
u.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 =
|
|
1251
|
-
}
|
|
1252
|
-
function w(v) {
|
|
1253
|
-
const { min: _, max: C, id: S } = Ne.get(n.value)(v.id);
|
|
1254
|
-
l.value = S, i.month = S, g.value = {
|
|
1255
|
-
min: Q(_, "YYYY-MM-DD"),
|
|
1256
|
-
max: Q(C, "YYYY-MM-DD")
|
|
1257
|
-
}, d.value = 0, f();
|
|
1252
|
+
function C(b) {
|
|
1253
|
+
n.value = b, i.panel = b, l.value = 0, i.month = null;
|
|
1258
1254
|
}
|
|
1259
|
-
function
|
|
1260
|
-
|
|
1255
|
+
function x(b) {
|
|
1256
|
+
const { min: I, max: E, id: k } = De.get(n.value)(b.id);
|
|
1257
|
+
s.value = k, i.month = k, u.value = {
|
|
1258
|
+
min: Q(I, "YYYY-MM-DD"),
|
|
1259
|
+
max: Q(E, "YYYY-MM-DD")
|
|
1260
|
+
}, l.value = 0, v();
|
|
1261
1261
|
}
|
|
1262
1262
|
function z() {
|
|
1263
|
-
|
|
1264
|
-
|
|
1263
|
+
l.value += 1;
|
|
1264
|
+
}
|
|
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:
|
|
1269
|
-
return
|
|
1269
|
+
const { firstGame: b, lastGame: I } = c.value;
|
|
1270
|
+
if (Kr(q, b)) {
|
|
1271
|
+
const { min: P, max: D, id: X } = De.get(n.value)((E = Z(h.value)) == null ? void 0 : E.id);
|
|
1272
|
+
return u.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, s.value = X, v();
|
|
1270
1273
|
}
|
|
1271
|
-
if (Xt(
|
|
1272
|
-
const { min: P, max:
|
|
1273
|
-
|
|
1274
|
+
if (Xt(q, I)) {
|
|
1275
|
+
const { min: P, max: D, id: X } = De.get(n.value)((k = zo(h.value)) == null ? void 0 : k.id);
|
|
1276
|
+
u.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, s.value = X, v();
|
|
1274
1277
|
}
|
|
1275
1278
|
}
|
|
1276
|
-
return (
|
|
1277
|
-
today:
|
|
1279
|
+
return (b, I) => ge(b.$slots, "default", $e(Ce({
|
|
1280
|
+
today: d(q),
|
|
1278
1281
|
months: h.value,
|
|
1279
|
-
isLoading:
|
|
1280
|
-
datesFilter:
|
|
1281
|
-
selectedMonth:
|
|
1282
|
+
isLoading: d(f),
|
|
1283
|
+
datesFilter: u.value,
|
|
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,9 +1298,9 @@ const Rt = 20, Sa = {
|
|
|
1295
1298
|
"stroke-linecap": "round",
|
|
1296
1299
|
"stroke-linejoin": "round"
|
|
1297
1300
|
};
|
|
1298
|
-
function
|
|
1299
|
-
return p(),
|
|
1300
|
-
|
|
1301
|
+
function Ao(t, e) {
|
|
1302
|
+
return p(), _("svg", No, e[0] || (e[0] = [
|
|
1303
|
+
g("rect", {
|
|
1301
1304
|
x: "2",
|
|
1302
1305
|
y: "3",
|
|
1303
1306
|
width: "20",
|
|
@@ -1305,13 +1308,13 @@ function Ta(t, e) {
|
|
|
1305
1308
|
rx: "2",
|
|
1306
1309
|
ry: "2"
|
|
1307
1310
|
}, null, -1),
|
|
1308
|
-
|
|
1311
|
+
g("line", {
|
|
1309
1312
|
x1: "8",
|
|
1310
1313
|
y1: "21",
|
|
1311
1314
|
x2: "16",
|
|
1312
1315
|
y2: "21"
|
|
1313
1316
|
}, null, -1),
|
|
1314
|
-
|
|
1317
|
+
g("line", {
|
|
1315
1318
|
x1: "12",
|
|
1316
1319
|
y1: "17",
|
|
1317
1320
|
x2: "12",
|
|
@@ -1319,7 +1322,7 @@ function Ta(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 $a = { render: Ta }, Ca = {
|
|
|
1328
1331
|
"stroke-linecap": "round",
|
|
1329
1332
|
"stroke-linejoin": "round"
|
|
1330
1333
|
};
|
|
1331
|
-
function
|
|
1332
|
-
return p(),
|
|
1333
|
-
|
|
1334
|
-
|
|
1334
|
+
function Lo(t, e) {
|
|
1335
|
+
return p(), _("svg", Do, e[0] || (e[0] = [
|
|
1336
|
+
g("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1),
|
|
1337
|
+
g("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" }, Xo = { class: "is-team-name-long" }, Jo = {
|
|
1350
1353
|
__name: "Item",
|
|
1351
1354
|
props: {
|
|
1352
1355
|
game: {
|
|
@@ -1371,74 +1374,74 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["href"],
|
|
|
1371
1374
|
}
|
|
1372
1375
|
},
|
|
1373
1376
|
setup(t) {
|
|
1374
|
-
const { t: e } =
|
|
1375
|
-
return (r,
|
|
1376
|
-
class:
|
|
1377
|
+
const { t: e } = le();
|
|
1378
|
+
return (r, a) => (p(), _("div", {
|
|
1379
|
+
class: F(["card-item", { "is-optional": t.game.optional }])
|
|
1377
1380
|
}, [
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
t.game.broadcast ? (p(),
|
|
1381
|
-
|
|
1382
|
-
$(
|
|
1383
|
-
|
|
1381
|
+
g("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 ? (p(),
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
+
t.game.video ? (p(), _(R, { key: 1 }, [
|
|
1389
|
+
a[2] || (a[2] = oe(" - ")),
|
|
1390
|
+
g("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
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
(p(),
|
|
1398
|
+
g("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
|
+
g("div", Go, [
|
|
1400
|
+
g("span", Ro, w(t.game.homeTeam.shortName), 1),
|
|
1401
|
+
g("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
|
|
1403
1406
|
}, null, 8, ["src"]))
|
|
1404
1407
|
]),
|
|
1405
|
-
|
|
1406
|
-
class:
|
|
1408
|
+
g("div", {
|
|
1409
|
+
class: F(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
|
|
1407
1410
|
}, [
|
|
1408
|
-
|
|
1411
|
+
g("a", {
|
|
1409
1412
|
href: t.gameLink(t.game),
|
|
1410
1413
|
target: t.target
|
|
1411
1414
|
}, [
|
|
1412
|
-
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (p(),
|
|
1413
|
-
t.game.gameStatus === 3 ? (p(),
|
|
1414
|
-
t.game.gameStatus === 4 ? (p(),
|
|
1415
|
-
], 8,
|
|
1416
|
-
t.game.gameStatus > 0 ? (p(),
|
|
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
|
-
|
|
1419
|
-
Array.isArray(t.game.awayTeam) ? (p(),
|
|
1420
|
-
(p(),
|
|
1421
|
+
g("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
|
-
|
|
1426
|
-
|
|
1428
|
+
g("span", Ho, w(t.game.awayTeam.shortName), 1),
|
|
1429
|
+
g("span", Xo, w(t.game.awayTeam.longName), 1)
|
|
1427
1430
|
])
|
|
1428
1431
|
], 2));
|
|
1429
1432
|
}
|
|
1430
|
-
}, Ha = ".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}", Xa = "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-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}.mjsz-vbr-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)}.mjsz-vbr-error-notice .icon{margin-right:15px}.mjsz-vbr-timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.mjsz-vbr-timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Xe = `.mjsz-vbr-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}.mjsz-vbr-base-input:disabled{opacity:.3}.mjsz-vbr-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}.mjsz-vbr-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}.mjsz-vbr-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)}.mjsz-vbr-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)}.mjsz-vbr-toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.mjsz-vbr-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)}.mjsz-vbr-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)}`, Ja = ".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)}.mjsz-vbr-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)}.mjsz-vbr-card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.mjsz-vbr-card-item.is-optional:hover{opacity:1}.mjsz-vbr-card-item svg{display:block}.mjsz-vbr-card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.mjsz-vbr-card-item .is-team-name-long{display:none}.mjsz-vbr-card-item .is-team-name-short{display:block}}.mjsz-vbr-card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.mjsz-vbr-card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.mjsz-vbr-card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.mjsz-vbr-card-item .is-logo-image{width:40px}.mjsz-vbr-card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.mjsz-vbr-card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.mjsz-vbr-card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.mjsz-vbr-card-item .is-game-data.is-live,.mjsz-vbr-card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.mjsz-vbr-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)}.mjsz-vbr-main-image-wrapper:has(img.is-default){min-height:470px}.mjsz-vbr-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}.mjsz-vbr-main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.mjsz-vbr-main-image-wrapper .is-main-image img:not(.is-default){width:100%}.mjsz-vbr-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}.mjsz-vbr-main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Ie = (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}", Xe = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Je = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, 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
|
-
for (const [
|
|
1433
|
-
r[
|
|
1435
|
+
for (const [a, o] of e)
|
|
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,105 +1456,91 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["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 (
|
|
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
|
-
|
|
1467
|
+
default: N(({ t: l }) => [
|
|
1468
|
+
$(d(Te), null, {
|
|
1469
|
+
default: N(({ error: c, hasError: u }) => [
|
|
1470
|
+
u ? (p(), G(d(Ne), {
|
|
1468
1471
|
key: 0,
|
|
1469
|
-
error:
|
|
1472
|
+
error: c
|
|
1470
1473
|
}, null, 8, ["error"])) : M("", !0),
|
|
1471
|
-
$(
|
|
1474
|
+
$(To, {
|
|
1472
1475
|
locale: e.locale,
|
|
1473
|
-
timezone:
|
|
1476
|
+
timezone: a.value,
|
|
1474
1477
|
"season-id": t.seasonId,
|
|
1475
1478
|
"api-key": t.apiKey
|
|
1476
1479
|
}, {
|
|
1477
|
-
default:
|
|
1478
|
-
games:
|
|
1480
|
+
default: N(({
|
|
1481
|
+
games: m,
|
|
1479
1482
|
months: f,
|
|
1480
|
-
isLoading:
|
|
1481
|
-
selectedPanel:
|
|
1482
|
-
selectedMonth:
|
|
1483
|
-
more:
|
|
1484
|
-
setMonth:
|
|
1483
|
+
isLoading: v,
|
|
1484
|
+
selectedPanel: S,
|
|
1485
|
+
selectedMonth: h,
|
|
1486
|
+
more: C,
|
|
1487
|
+
setMonth: x,
|
|
1485
1488
|
changePanel: z
|
|
1486
1489
|
}) => [
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
class:
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
s(a),
|
|
1505
|
-
{ "is-active": h === s(ze) }
|
|
1506
|
-
]]),
|
|
1507
|
-
onClick: (v) => z(s(ze))
|
|
1508
|
-
}, y(c("calendar.nextGames")), 11, ti),
|
|
1509
|
-
m("button", {
|
|
1510
|
-
class: E(["basis-[fit-content] shrink-0", [
|
|
1511
|
-
s(a),
|
|
1512
|
-
{ "is-active": h === s(Pe) }
|
|
1513
|
-
]]),
|
|
1514
|
-
onClick: (v) => z(s(Pe))
|
|
1515
|
-
}, y(c("calendar.weekGames")), 11, ri)
|
|
1490
|
+
g("div", Zo, [
|
|
1491
|
+
g("button", {
|
|
1492
|
+
class: F(["tab-button", { "is-active": S === d(ve) }]),
|
|
1493
|
+
onClick: (y) => z(d(ve))
|
|
1494
|
+
}, w(l("calendar.gamesPlayed")), 11, ei),
|
|
1495
|
+
g("button", {
|
|
1496
|
+
class: F(["tab-button", { "is-active": S === d(Se) }]),
|
|
1497
|
+
onClick: (y) => z(d(Se))
|
|
1498
|
+
}, w(l("calendar.todaysGames")), 11, ti),
|
|
1499
|
+
g("button", {
|
|
1500
|
+
class: F(["tab-button", { "is-active": S === d(Ie) }]),
|
|
1501
|
+
onClick: (y) => z(d(Ie))
|
|
1502
|
+
}, w(l("calendar.nextGames")), 11, ri),
|
|
1503
|
+
g("button", {
|
|
1504
|
+
class: F(["tab-button", { "is-active": S === d(Ge) }]),
|
|
1505
|
+
onClick: (y) => z(d(Ge))
|
|
1506
|
+
}, w(l("calendar.weekGames")), 11, ai)
|
|
1516
1507
|
]),
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
(p(!0), x(R, null, Z(f, (v) => (p(), x("button", {
|
|
1521
|
-
key: v.id,
|
|
1508
|
+
g("div", oi, [
|
|
1509
|
+
(p(!0), _(R, null, W(f, (y) => (p(), _("button", {
|
|
1510
|
+
key: y.id,
|
|
1522
1511
|
type: "button",
|
|
1523
|
-
class:
|
|
1524
|
-
disabled:
|
|
1525
|
-
onClick: (
|
|
1526
|
-
}, y
|
|
1527
|
-
]
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
(p(!0),
|
|
1532
|
-
key:
|
|
1533
|
-
"data-gamedate":
|
|
1512
|
+
class: F({ "is-active": h === y.id }),
|
|
1513
|
+
disabled: v,
|
|
1514
|
+
onClick: (b) => x(y)
|
|
1515
|
+
}, w(y.name), 11, ii))), 128))
|
|
1516
|
+
]),
|
|
1517
|
+
m.totalItems === 0 && !v ? (p(), _("div", ni, w(l("calendar.noGame")), 1)) : M("", !0),
|
|
1518
|
+
g("div", null, [
|
|
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
|
|
1534
1523
|
}, [
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
(p(!0),
|
|
1538
|
-
key:
|
|
1539
|
-
game:
|
|
1524
|
+
g("span", li, w(d(Q)(new Date(b), "LL dddd", a.value, t.locale)), 1),
|
|
1525
|
+
g("div", ci, [
|
|
1526
|
+
(p(!0), _(R, null, W(y, (I) => (p(), G(Jo, {
|
|
1527
|
+
key: I.id,
|
|
1528
|
+
game: I,
|
|
1540
1529
|
locale: t.locale,
|
|
1541
|
-
timezone:
|
|
1542
|
-
"game-link":
|
|
1543
|
-
target:
|
|
1530
|
+
timezone: a.value,
|
|
1531
|
+
"game-link": i,
|
|
1532
|
+
target: o.value
|
|
1544
1533
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1545
1534
|
])
|
|
1546
|
-
], 8,
|
|
1535
|
+
], 8, si))), 128))
|
|
1547
1536
|
]),
|
|
1548
|
-
!
|
|
1537
|
+
!v && m.currentItems < m.totalItems ? (p(), G(d(Or), {
|
|
1549
1538
|
key: 1,
|
|
1550
1539
|
options: { rootMargin: "400px" },
|
|
1551
|
-
onIntersect:
|
|
1540
|
+
onIntersect: C
|
|
1552
1541
|
}, {
|
|
1553
|
-
default:
|
|
1554
|
-
|
|
1542
|
+
default: N(() => [
|
|
1543
|
+
g("button", { onClick: C }, w(l("calendar.more")), 9, di)
|
|
1555
1544
|
]),
|
|
1556
1545
|
_: 2
|
|
1557
1546
|
}, 1032, ["onIntersect"])) : M("", !0)
|
|
@@ -1565,29 +1554,29 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["href"],
|
|
|
1565
1554
|
_: 1
|
|
1566
1555
|
}, 8, ["locale"]));
|
|
1567
1556
|
}
|
|
1568
|
-
},
|
|
1569
|
-
function
|
|
1570
|
-
var r,
|
|
1571
|
-
e.championships =
|
|
1557
|
+
}, ui = /* @__PURE__ */ _e(gi, [["styles", [xe, Xe, Je, Qo]]]), ke = "schedule", at = "standings", pe = "players", Le = "teams";
|
|
1558
|
+
function pi(t, e) {
|
|
1559
|
+
var r, a, o, i;
|
|
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;
|
|
1572
1561
|
}
|
|
1573
|
-
const
|
|
1562
|
+
const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1574
1563
|
api: "/v2/games-list",
|
|
1575
1564
|
columns: Zt,
|
|
1576
1565
|
sort: {}
|
|
1577
1566
|
}).set("standings", {
|
|
1578
1567
|
api: "/v2/standings",
|
|
1579
|
-
columns:
|
|
1568
|
+
columns: ia,
|
|
1580
1569
|
sort: {}
|
|
1581
1570
|
}).set("points", {
|
|
1582
1571
|
api: "/v2/players-stats",
|
|
1583
|
-
columns:
|
|
1572
|
+
columns: Ee,
|
|
1584
1573
|
sort: {
|
|
1585
1574
|
sortTarget: "points",
|
|
1586
1575
|
orders: [{ target: "points", direction: J }]
|
|
1587
1576
|
}
|
|
1588
1577
|
}).set("goals", {
|
|
1589
1578
|
api: "/v2/players-stats",
|
|
1590
|
-
columns:
|
|
1579
|
+
columns: Ee,
|
|
1591
1580
|
sort: {
|
|
1592
1581
|
sortTarget: "goals",
|
|
1593
1582
|
orders: [
|
|
@@ -1597,7 +1586,7 @@ const vi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1597
1586
|
}
|
|
1598
1587
|
}).set("assists", {
|
|
1599
1588
|
api: "/v2/players-stats",
|
|
1600
|
-
columns:
|
|
1589
|
+
columns: Ee,
|
|
1601
1590
|
sort: {
|
|
1602
1591
|
sortTarget: "assists",
|
|
1603
1592
|
orders: [
|
|
@@ -1607,14 +1596,14 @@ const vi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1607
1596
|
}
|
|
1608
1597
|
}).set("plusminus", {
|
|
1609
1598
|
api: "/v2/players-stats",
|
|
1610
|
-
columns:
|
|
1599
|
+
columns: Ee,
|
|
1611
1600
|
sort: {
|
|
1612
1601
|
sortTarget: "plusMinus",
|
|
1613
1602
|
orders: [{ target: "plusMinus", direction: J }]
|
|
1614
1603
|
}
|
|
1615
1604
|
}).set("playerspenalties", {
|
|
1616
1605
|
api: "/v2/players-penalty",
|
|
1617
|
-
columns:
|
|
1606
|
+
columns: na,
|
|
1618
1607
|
sort: {
|
|
1619
1608
|
sortTarget: "pim",
|
|
1620
1609
|
orders: [{ target: "pim", direction: J }]
|
|
@@ -1622,7 +1611,7 @@ const vi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1622
1611
|
}).set("goalies", {
|
|
1623
1612
|
api: "/v2/players-goalie",
|
|
1624
1613
|
params: { more: !0 },
|
|
1625
|
-
columns:
|
|
1614
|
+
columns: _t,
|
|
1626
1615
|
sort: {
|
|
1627
1616
|
sortTarget: "svsPercent",
|
|
1628
1617
|
orders: [{ target: "svsPercent", direction: J }]
|
|
@@ -1630,41 +1619,41 @@ const vi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1630
1619
|
}).set("goaliesunderlimit", {
|
|
1631
1620
|
api: "/v2/players-goalie",
|
|
1632
1621
|
params: { less: !0 },
|
|
1633
|
-
columns:
|
|
1622
|
+
columns: _t,
|
|
1634
1623
|
sort: {
|
|
1635
1624
|
sortTarget: "svsPercent",
|
|
1636
1625
|
orders: [{ target: "svsPercent", direction: J }]
|
|
1637
1626
|
}
|
|
1638
1627
|
}).set("teamFairplay", {
|
|
1639
1628
|
api: "/v2/team-fairplay",
|
|
1640
|
-
columns:
|
|
1629
|
+
columns: sa,
|
|
1641
1630
|
sort: {
|
|
1642
1631
|
sortTarget: "pim",
|
|
1643
1632
|
orders: [{ target: "pim", direction: J }]
|
|
1644
1633
|
}
|
|
1645
1634
|
}).set("teamPenaltiKilling", {
|
|
1646
1635
|
api: "/v2/team-powerplay",
|
|
1647
|
-
columns:
|
|
1636
|
+
columns: la,
|
|
1648
1637
|
sort: {
|
|
1649
1638
|
sortTarget: "pkPercent",
|
|
1650
1639
|
orders: [{ target: "pkPercent", direction: J }]
|
|
1651
1640
|
}
|
|
1652
1641
|
}).set("teamPowerplay", {
|
|
1653
1642
|
api: "/v2/team-powerplay",
|
|
1654
|
-
columns:
|
|
1643
|
+
columns: ca,
|
|
1655
1644
|
sort: {
|
|
1656
1645
|
sortTarget: "ppPercent",
|
|
1657
1646
|
orders: [{ target: "ppPercent", direction: J }]
|
|
1658
1647
|
}
|
|
1659
1648
|
}).set("teamScoringEfficiency", {
|
|
1660
1649
|
api: "/v2/team-scoring-efficiency",
|
|
1661
|
-
columns:
|
|
1650
|
+
columns: da,
|
|
1662
1651
|
sort: {
|
|
1663
1652
|
sortTarget: "sp",
|
|
1664
1653
|
orders: [{ target: "sp", direction: J }]
|
|
1665
1654
|
}
|
|
1666
1655
|
});
|
|
1667
|
-
function
|
|
1656
|
+
function Rt(t) {
|
|
1668
1657
|
return [
|
|
1669
1658
|
{
|
|
1670
1659
|
name: t("report.points"),
|
|
@@ -1696,7 +1685,7 @@ function Yt(t) {
|
|
|
1696
1685
|
}
|
|
1697
1686
|
];
|
|
1698
1687
|
}
|
|
1699
|
-
function
|
|
1688
|
+
function Yt(t) {
|
|
1700
1689
|
return [
|
|
1701
1690
|
// {
|
|
1702
1691
|
// name: t('report.teamAttendance'),
|
|
@@ -1720,15 +1709,15 @@ function Ut(t) {
|
|
|
1720
1709
|
}
|
|
1721
1710
|
];
|
|
1722
1711
|
}
|
|
1723
|
-
function
|
|
1712
|
+
function vi(t, e) {
|
|
1724
1713
|
if (t.length === 0)
|
|
1725
|
-
throw new Jt(
|
|
1726
|
-
e.seasons =
|
|
1714
|
+
throw new Jt(Oe.message, Oe.options);
|
|
1715
|
+
e.seasons = bi(t), e.championshipId || (e.championshipId = Z(e.seasons).championshipId);
|
|
1727
1716
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return
|
|
1717
|
+
function bi(t) {
|
|
1718
|
+
return wt(dr(sr(de("seasonName"))), yt(cr(["championshipId", "seasonName"])))(t);
|
|
1730
1719
|
}
|
|
1731
|
-
const
|
|
1720
|
+
const hi = {
|
|
1732
1721
|
__name: "DataProvider",
|
|
1733
1722
|
props: {
|
|
1734
1723
|
championshipName: {
|
|
@@ -1757,7 +1746,7 @@ const bi = {
|
|
|
1757
1746
|
}
|
|
1758
1747
|
},
|
|
1759
1748
|
setup(t) {
|
|
1760
|
-
const e = t, r = tr("history"),
|
|
1749
|
+
const e = t, r = tr("history"), a = se({
|
|
1761
1750
|
loading: !1,
|
|
1762
1751
|
seasons: [],
|
|
1763
1752
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1766,103 +1755,106 @@ const bi = {
|
|
|
1766
1755
|
selectedChampionshipId: null,
|
|
1767
1756
|
sections: [],
|
|
1768
1757
|
section: r.section || null,
|
|
1769
|
-
selectedPanel:
|
|
1758
|
+
selectedPanel: ke,
|
|
1770
1759
|
api: "/v2/games-list",
|
|
1771
1760
|
apiParams: {},
|
|
1772
1761
|
columns: Zt,
|
|
1773
1762
|
sort: null,
|
|
1774
1763
|
report: "points"
|
|
1775
|
-
}),
|
|
1764
|
+
}), o = _r(e, "timezone"), { onError: i } = Ve(), { sort: n, change: s } = Zr({
|
|
1776
1765
|
sortTarget: "",
|
|
1777
1766
|
orders: []
|
|
1778
|
-
}), { page:
|
|
1767
|
+
}), { page: l, change: c } = ea(), { t: u } = le(), { isLoading: m, execute: f } = ee({
|
|
1779
1768
|
options: {
|
|
1780
1769
|
path: "/v2/championship-seasons",
|
|
1781
1770
|
apiKey: e.apiKey,
|
|
1782
1771
|
params: { championshipName: e.championshipName }
|
|
1783
1772
|
},
|
|
1784
|
-
transform: (T) =>
|
|
1773
|
+
transform: (T) => vi(T, a),
|
|
1785
1774
|
onError: i
|
|
1786
|
-
}), { isLoading:
|
|
1775
|
+
}), { isLoading: v, execute: S } = ee({
|
|
1787
1776
|
options: {
|
|
1788
1777
|
path: "/v2/championship-sections",
|
|
1789
1778
|
apiKey: e.apiKey,
|
|
1790
|
-
params: A(() => ({ championshipId:
|
|
1779
|
+
params: A(() => ({ championshipId: a.championshipId }))
|
|
1791
1780
|
},
|
|
1792
|
-
transform: (T) =>
|
|
1781
|
+
transform: (T) => pi(T, a),
|
|
1793
1782
|
onError: i
|
|
1794
1783
|
}), {
|
|
1795
1784
|
isLoading: h,
|
|
1796
|
-
state:
|
|
1797
|
-
execute:
|
|
1785
|
+
state: C,
|
|
1786
|
+
execute: x
|
|
1798
1787
|
} = ee({
|
|
1799
1788
|
options: {
|
|
1800
|
-
path: A(() =>
|
|
1789
|
+
path: A(() => a.api),
|
|
1801
1790
|
apiKey: e.apiKey,
|
|
1802
1791
|
resetOnExecute: !0,
|
|
1803
|
-
params: A(() => ({ championshipId:
|
|
1792
|
+
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1804
1793
|
},
|
|
1805
1794
|
transform: (T) => Qt(T),
|
|
1806
1795
|
onError: i
|
|
1807
|
-
}),
|
|
1808
|
-
|
|
1809
|
-
const
|
|
1810
|
-
() =>
|
|
1811
|
-
),
|
|
1812
|
-
const T =
|
|
1813
|
-
return
|
|
1814
|
-
}),
|
|
1815
|
-
() =>
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1796
|
+
}), z = ta([v, m, h], { delay: 1e3 });
|
|
1797
|
+
be([f, S, x]);
|
|
1798
|
+
const y = A(
|
|
1799
|
+
() => a.selectedPanel === pe ? Rt(u) : Yt(u)
|
|
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
|
+
Xr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1822
1811
|
)
|
|
1823
|
-
),
|
|
1812
|
+
), k = A(() => Ue(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), I.value).value());
|
|
1824
1813
|
function P(T) {
|
|
1825
|
-
|
|
1814
|
+
a.championshipId = T, r.championshipId = T, be([S, x]);
|
|
1826
1815
|
}
|
|
1827
|
-
function
|
|
1816
|
+
function D(T) {
|
|
1828
1817
|
var O;
|
|
1829
|
-
|
|
1818
|
+
a.selectedChampionshipId = T, a.phaseId = ((O = b.value[0]) == null ? void 0 : O.phaseId) ?? null, x();
|
|
1830
1819
|
}
|
|
1831
1820
|
function X(T) {
|
|
1832
|
-
|
|
1821
|
+
a.phaseId = T, x();
|
|
1833
1822
|
}
|
|
1834
|
-
function
|
|
1835
|
-
var
|
|
1836
|
-
|
|
1823
|
+
function ie(T) {
|
|
1824
|
+
var ae, B;
|
|
1825
|
+
a.selectedPanel = T;
|
|
1837
1826
|
let O = T;
|
|
1838
|
-
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);
|
|
1839
1828
|
}
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1829
|
+
function te(T) {
|
|
1830
|
+
V(T);
|
|
1842
1831
|
}
|
|
1843
|
-
function
|
|
1844
|
-
var
|
|
1845
|
-
const O =
|
|
1846
|
-
|
|
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);
|
|
1847
1836
|
}
|
|
1848
|
-
return (T, O) =>
|
|
1849
|
-
...
|
|
1850
|
-
sort:
|
|
1851
|
-
page:
|
|
1852
|
-
phases:
|
|
1853
|
-
isLoading:
|
|
1854
|
-
games:
|
|
1855
|
-
reports:
|
|
1856
|
-
onSort: s
|
|
1857
|
-
changePanel:
|
|
1837
|
+
return (T, O) => ge(T.$slots, "default", $e(Ce({
|
|
1838
|
+
...a,
|
|
1839
|
+
sort: d(n),
|
|
1840
|
+
page: d(l),
|
|
1841
|
+
phases: b.value,
|
|
1842
|
+
isLoading: d(z),
|
|
1843
|
+
games: k.value,
|
|
1844
|
+
reports: y.value,
|
|
1845
|
+
onSort: d(s),
|
|
1846
|
+
changePanel: ie,
|
|
1858
1847
|
changePhase: X,
|
|
1859
1848
|
changeSeason: P,
|
|
1860
|
-
onChangeReport:
|
|
1861
|
-
onPaginatorChange:
|
|
1862
|
-
changeChampionship:
|
|
1849
|
+
onChangeReport: te,
|
|
1850
|
+
onPaginatorChange: d(c),
|
|
1851
|
+
changeChampionship: D
|
|
1863
1852
|
})));
|
|
1864
1853
|
}
|
|
1865
|
-
},
|
|
1854
|
+
}, fi = { class: "g-row" }, yi = {
|
|
1855
|
+
for: "season",
|
|
1856
|
+
class: "label"
|
|
1857
|
+
}, wi = ["value"], xi = {
|
|
1866
1858
|
__name: "SeasonSelector",
|
|
1867
1859
|
props: {
|
|
1868
1860
|
seasons: {
|
|
@@ -1876,36 +1868,39 @@ const bi = {
|
|
|
1876
1868
|
},
|
|
1877
1869
|
emits: ["update:championshipId"],
|
|
1878
1870
|
setup(t, { emit: e }) {
|
|
1879
|
-
const r = t,
|
|
1880
|
-
return (
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
class: E(s(n))
|
|
1885
|
-
}, y(s(a)("selection.season")), 3),
|
|
1886
|
-
$(s(pe), {
|
|
1871
|
+
const r = t, a = e, { t: o } = le(), { championshipId: i } = bt(r, a);
|
|
1872
|
+
return (n, s) => (p(), _("div", fi, [
|
|
1873
|
+
g("div", null, [
|
|
1874
|
+
g("label", yi, w(d(o)("selection.season")), 1),
|
|
1875
|
+
$(d(me), {
|
|
1887
1876
|
id: "season",
|
|
1888
|
-
modelValue:
|
|
1889
|
-
"onUpdate:modelValue":
|
|
1877
|
+
modelValue: d(i),
|
|
1878
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => ce(i) ? i.value = l : null)
|
|
1890
1879
|
}, {
|
|
1891
|
-
default:
|
|
1892
|
-
(p(!0),
|
|
1893
|
-
key:
|
|
1894
|
-
value:
|
|
1895
|
-
},
|
|
1880
|
+
default: N(() => [
|
|
1881
|
+
(p(!0), _(R, null, W(t.seasons, (l) => (p(), _("option", {
|
|
1882
|
+
key: l.championshipId,
|
|
1883
|
+
value: l.championshipId
|
|
1884
|
+
}, w(l.seasonName), 9, wi))), 128))
|
|
1896
1885
|
]),
|
|
1897
1886
|
_: 1
|
|
1898
1887
|
}, 8, ["modelValue"])
|
|
1899
1888
|
])
|
|
1900
1889
|
]));
|
|
1901
1890
|
}
|
|
1902
|
-
},
|
|
1891
|
+
}, _i = {
|
|
1903
1892
|
class: "g-row",
|
|
1904
1893
|
style: { "column-gap": "8px" }
|
|
1905
|
-
},
|
|
1894
|
+
}, ki = {
|
|
1895
|
+
for: "phases",
|
|
1896
|
+
class: "label"
|
|
1897
|
+
}, zi = {
|
|
1906
1898
|
key: 0,
|
|
1907
1899
|
value: null
|
|
1908
|
-
},
|
|
1900
|
+
}, Si = ["value"], Ii = { key: 0 }, $i = {
|
|
1901
|
+
for: "report",
|
|
1902
|
+
class: "label"
|
|
1903
|
+
}, Ci = ["value"], Ti = {
|
|
1909
1904
|
__name: "Selector",
|
|
1910
1905
|
props: {
|
|
1911
1906
|
phases: {
|
|
@@ -1931,51 +1926,45 @@ const bi = {
|
|
|
1931
1926
|
},
|
|
1932
1927
|
emits: ["update:phaseId", "update:report"],
|
|
1933
1928
|
setup(t, { emit: e }) {
|
|
1934
|
-
const r = t,
|
|
1935
|
-
return (
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
class: E(s(l))
|
|
1940
|
-
}, y(s(a)("selection.phases")), 3),
|
|
1941
|
-
$(s(pe), {
|
|
1929
|
+
const r = t, a = e, { t: o } = le(), { phaseId: i, report: n } = bt(r, a);
|
|
1930
|
+
return (s, l) => (p(), _("div", _i, [
|
|
1931
|
+
g("div", null, [
|
|
1932
|
+
g("label", ki, w(d(o)("selection.phases")), 1),
|
|
1933
|
+
$(d(me), {
|
|
1942
1934
|
id: "phases",
|
|
1943
|
-
modelValue:
|
|
1944
|
-
"onUpdate:modelValue":
|
|
1945
|
-
disabled:
|
|
1935
|
+
modelValue: d(i),
|
|
1936
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => ce(i) ? i.value = c : null),
|
|
1937
|
+
disabled: d(i) === null
|
|
1946
1938
|
}, {
|
|
1947
|
-
default:
|
|
1948
|
-
|
|
1949
|
-
(p(!0),
|
|
1950
|
-
key:
|
|
1951
|
-
value:
|
|
1952
|
-
},
|
|
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", {
|
|
1942
|
+
key: c.phaseId,
|
|
1943
|
+
value: c.phaseId
|
|
1944
|
+
}, w(c.phaseName), 9, Si))), 128))
|
|
1953
1945
|
]),
|
|
1954
1946
|
_: 1
|
|
1955
1947
|
}, 8, ["modelValue", "disabled"])
|
|
1956
1948
|
]),
|
|
1957
|
-
t.isReportsVisible ? (p(),
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
class: E(s(l))
|
|
1961
|
-
}, y(s(a)("selection.report")), 3),
|
|
1962
|
-
$(s(pe), {
|
|
1949
|
+
t.isReportsVisible ? (p(), _("div", Ii, [
|
|
1950
|
+
g("label", $i, w(d(o)("selection.report")), 1),
|
|
1951
|
+
$(d(me), {
|
|
1963
1952
|
id: "report",
|
|
1964
|
-
modelValue:
|
|
1965
|
-
"onUpdate:modelValue":
|
|
1953
|
+
modelValue: d(n),
|
|
1954
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => ce(n) ? n.value = c : null)
|
|
1966
1955
|
}, {
|
|
1967
|
-
default:
|
|
1968
|
-
(p(!0),
|
|
1969
|
-
key:
|
|
1970
|
-
value:
|
|
1971
|
-
},
|
|
1956
|
+
default: N(() => [
|
|
1957
|
+
(p(!0), _(R, null, W(t.reports, ({ value: c, name: u }) => (p(), _("option", {
|
|
1958
|
+
key: c,
|
|
1959
|
+
value: c
|
|
1960
|
+
}, w(u), 9, Ci))), 128))
|
|
1972
1961
|
]),
|
|
1973
1962
|
_: 1
|
|
1974
1963
|
}, 8, ["modelValue"])
|
|
1975
1964
|
])) : M("", !0)
|
|
1976
1965
|
]));
|
|
1977
1966
|
}
|
|
1978
|
-
}, Je = "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-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}.mjsz-vbr-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)}.mjsz-vbr-error-notice .icon{margin-right:15px}.mjsz-vbr-timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.mjsz-vbr-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}", zt = ".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}", gr = ".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)}}", vr = ".mjsz-vbr-table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.mjsz-vbr-table-responsive table{width:100%}", mr = '.mjsz-vbr-table{border-collapse:collapse;border-spacing:0}.mjsz-vbr-table table,.mjsz-vbr-table caption,.mjsz-vbr-table tbody,.mjsz-vbr-table tfoot,.mjsz-vbr-table thead,.mjsz-vbr-table tr,.mjsz-vbr-table th,.mjsz-vbr-table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.mjsz-vbr-table{color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.mjsz-vbr-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}.mjsz-vbr-table th:focus-visible,.mjsz-vbr-table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.mjsz-vbr-table th.is-sortable{position:relative;cursor:pointer}.mjsz-vbr-table th.is-sortable .icon-sort{opacity:.5}.mjsz-vbr-table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.mjsz-vbr-table th.is-active .icon-sort{opacity:1}.mjsz-vbr-table th.is-asc,.mjsz-vbr-table th.is-desc{position:relative}.mjsz-vbr-table th.is-w-auto{width:auto}.mjsz-vbr-table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.mjsz-vbr-table td{text-align:center}.mjsz-vbr-table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background-color:var(--vbr-widget-table-active-bg-color)}.mjsz-vbr-table td.is-zero{color:var(--vbr-widget-table-zero-color)}.mjsz-vbr-table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.mjsz-vbr-table td .is-text-light,.mjsz-vbr-table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.mjsz-vbr-table td .is-text-dark,.mjsz-vbr-table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.mjsz-vbr-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)}.mjsz-vbr-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)}.mjsz-vbr-table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.mjsz-vbr-table td.is-text-bold{font-weight:700}.mjsz-vbr-table td.is-text-italic{font-style:italic}.mjsz-vbr-table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.mjsz-vbr-table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.mjsz-vbr-table td.is-w-auto{width:auto}.mjsz-vbr-table td.is-horizontal-content{display:inline-flex;align-items:center}.mjsz-vbr-table td.is-text-positive,.mjsz-vbr-table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-table td.is-text-negative,.mjsz-vbr-table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.mjsz-vbr-table td svg{width:16px;height:16px}.mjsz-vbr-table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.mjsz-vbr-table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.mjsz-vbr-table td button:active,.mjsz-vbr-table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.mjsz-vbr-table td a{text-decoration:none}.mjsz-vbr-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}.mjsz-vbr-table td .label:not(:last-of-type){margin-right:3px}.mjsz-vbr-table td a{color:var(--vbr-widget-link-color)}.mjsz-vbr-table td a:hover{color:var(--vbr-widget-hover-color)}.mjsz-vbr-table td .is-team-name-long{display:block}.mjsz-vbr-table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.mjsz-vbr-table td .is-team-name-long{display:none}.mjsz-vbr-table td .is-team-name-short{display:block}}.mjsz-vbr-table th,.mjsz-vbr-table td{padding:8px;white-space:nowrap;vertical-align:middle}.mjsz-vbr-table th.is-text-left,.mjsz-vbr-table td.is-text-left{text-align:left}.mjsz-vbr-table th.is-text-right,.mjsz-vbr-table td.is-text-right{text-align:right}.mjsz-vbr-table th.is-has-image,.mjsz-vbr-table td.is-has-image{padding:0 2px}.mjsz-vbr-table th .is-duplicated,.mjsz-vbr-table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.mjsz-vbr-table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.mjsz-vbr-table tr.is-optional{opacity:.5}.mjsz-vbr-table tr:nth-child(2n){background-color:var(--vbr-widget-table-stripped-bg-color)}.mjsz-vbr-table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.mjsz-vbr-table tr:focus-within,.mjsz-vbr-table tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.mjsz-vbr-table tr:focus-within td.is-active,.mjsz-vbr-table tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', pr = ".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 rgba(black,.3)}.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}", _i = ".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)}.mjsz-vbr-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)}.mjsz-vbr-card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.mjsz-vbr-card-item.is-optional:hover{opacity:1}.mjsz-vbr-card-item svg{display:block}.mjsz-vbr-card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.mjsz-vbr-card-item .is-team-name-long{display:none}.mjsz-vbr-card-item .is-team-name-short{display:block}}.mjsz-vbr-card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.mjsz-vbr-card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.mjsz-vbr-card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.mjsz-vbr-card-item .is-logo-image{width:40px}.mjsz-vbr-card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.mjsz-vbr-card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.mjsz-vbr-card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.mjsz-vbr-card-item .is-game-data.is-live,.mjsz-vbr-card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.mjsz-vbr-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)}.mjsz-vbr-main-image-wrapper:has(img.is-default){min-height:470px}.mjsz-vbr-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}.mjsz-vbr-main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.mjsz-vbr-main-image-wrapper .is-main-image img:not(.is-default){width:100%}.mjsz-vbr-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}.mjsz-vbr-main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Si = ".mjsz-vbr-paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.mjsz-vbr-paginator button,.mjsz-vbr-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}.mjsz-vbr-paginator button .icon,.mjsz-vbr-paginator div .icon{width:16px;height:16px;margin:0 -4px}.mjsz-vbr-paginator button:hover:not(.mjsz-vbr-paginator button.is-disabled,.mjsz-vbr-paginator button.is-active),.mjsz-vbr-paginator div:hover:not(.mjsz-vbr-paginator div.is-disabled,.mjsz-vbr-paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.mjsz-vbr-paginator button:disabled,.mjsz-vbr-paginator button.is-disabled,.mjsz-vbr-paginator div:disabled,.mjsz-vbr-paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.mjsz-vbr-paginator button.is-active,.mjsz-vbr-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}", Ii = ["onClick"], Ti = ["onClick"], $i = ["onClick"], Ci = ["onClick"], Ni = ["onClick"], Ai = {
|
|
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 = {
|
|
1979
1968
|
__name: "Championship.ce",
|
|
1980
1969
|
props: {
|
|
1981
1970
|
locale: {
|
|
@@ -2004,125 +1993,121 @@ const bi = {
|
|
|
2004
1993
|
}
|
|
2005
1994
|
},
|
|
2006
1995
|
setup(t) {
|
|
2007
|
-
const e = t, r =
|
|
2008
|
-
return (
|
|
2009
|
-
$(
|
|
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) => Jr(e.externalTeamResolver, l);
|
|
1997
|
+
return (l, c) => (p(), _("div", null, [
|
|
1998
|
+
$(d(fe), {
|
|
2010
1999
|
locale: e.locale,
|
|
2011
|
-
messages:
|
|
2000
|
+
messages: i
|
|
2012
2001
|
}, {
|
|
2013
|
-
default:
|
|
2014
|
-
$(
|
|
2015
|
-
default:
|
|
2016
|
-
|
|
2002
|
+
default: N(({ t: u }) => [
|
|
2003
|
+
$(d(Te), null, {
|
|
2004
|
+
default: N(({ error: m, hasError: f }) => [
|
|
2005
|
+
f ? (p(), G(d(Ne), {
|
|
2017
2006
|
key: 0,
|
|
2018
|
-
error:
|
|
2007
|
+
error: m
|
|
2019
2008
|
}, null, 8, ["error"])) : M("", !0),
|
|
2020
|
-
$(
|
|
2009
|
+
$(hi, {
|
|
2021
2010
|
locale: t.locale,
|
|
2022
|
-
timezone:
|
|
2011
|
+
timezone: a.value,
|
|
2023
2012
|
"championship-name": t.championshipName,
|
|
2024
2013
|
limit: t.limit
|
|
2025
2014
|
}, {
|
|
2026
|
-
default:
|
|
2027
|
-
sort:
|
|
2028
|
-
page:
|
|
2029
|
-
games:
|
|
2030
|
-
phases:
|
|
2031
|
-
report:
|
|
2032
|
-
phaseId:
|
|
2033
|
-
columns:
|
|
2034
|
-
seasons:
|
|
2035
|
-
reports:
|
|
2036
|
-
isLoading:
|
|
2037
|
-
selectedPanel:
|
|
2038
|
-
championships:
|
|
2039
|
-
championshipId:
|
|
2040
|
-
selectedChampionshipId:
|
|
2041
|
-
onSort:
|
|
2042
|
-
changePanel:
|
|
2043
|
-
changePhase:
|
|
2044
|
-
changeSeason:
|
|
2045
|
-
onChangeReport:
|
|
2046
|
-
onPaginatorChange:
|
|
2047
|
-
changeChampionship:
|
|
2015
|
+
default: N(({
|
|
2016
|
+
sort: v,
|
|
2017
|
+
page: S,
|
|
2018
|
+
games: h,
|
|
2019
|
+
phases: C,
|
|
2020
|
+
report: x,
|
|
2021
|
+
phaseId: z,
|
|
2022
|
+
columns: y,
|
|
2023
|
+
seasons: b,
|
|
2024
|
+
reports: I,
|
|
2025
|
+
isLoading: E,
|
|
2026
|
+
selectedPanel: k,
|
|
2027
|
+
championships: P,
|
|
2028
|
+
championshipId: D,
|
|
2029
|
+
selectedChampionshipId: X,
|
|
2030
|
+
onSort: ie,
|
|
2031
|
+
changePanel: te,
|
|
2032
|
+
changePhase: V,
|
|
2033
|
+
changeSeason: T,
|
|
2034
|
+
onChangeReport: O,
|
|
2035
|
+
onPaginatorChange: ae,
|
|
2036
|
+
changeChampionship: B
|
|
2048
2037
|
}) => [
|
|
2049
|
-
$(
|
|
2050
|
-
seasons:
|
|
2051
|
-
"championship-id":
|
|
2052
|
-
"onUpdate:championshipId":
|
|
2038
|
+
$(xi, {
|
|
2039
|
+
seasons: b,
|
|
2040
|
+
"championship-id": D,
|
|
2041
|
+
"onUpdate:championshipId": T
|
|
2053
2042
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
reports:
|
|
2067
|
-
|
|
2068
|
-
"
|
|
2069
|
-
"onUpdate:phaseId": O,
|
|
2070
|
-
"onUpdate:report": q
|
|
2043
|
+
g("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 === X }]),
|
|
2047
|
+
onClick: (Qe) => B(re.sectionId)
|
|
2048
|
+
}, w(re.sectionName), 11, Di))), 128))
|
|
2049
|
+
]),
|
|
2050
|
+
$(Ti, {
|
|
2051
|
+
phases: C,
|
|
2052
|
+
"phase-id": z,
|
|
2053
|
+
reports: I,
|
|
2054
|
+
report: x,
|
|
2055
|
+
"is-reports-visible": k === d(pe) || k === d(Le),
|
|
2056
|
+
"onUpdate:phaseId": V,
|
|
2057
|
+
"onUpdate:report": O
|
|
2071
2058
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
"
|
|
2097
|
-
"
|
|
2098
|
-
"external-team-resolver": c,
|
|
2099
|
-
"external-game-resolver": d,
|
|
2059
|
+
g("div", Li, [
|
|
2060
|
+
g("button", {
|
|
2061
|
+
class: F(["tab-button", { "is-active": k === d(ke) }]),
|
|
2062
|
+
onClick: (re) => te(d(ke))
|
|
2063
|
+
}, w(u("selection.schedule")), 11, Pi),
|
|
2064
|
+
g("button", {
|
|
2065
|
+
class: F(["tab-button", { "is-active": k === d(at) }]),
|
|
2066
|
+
onClick: (re) => te(d(at))
|
|
2067
|
+
}, w(u("selection.standings")), 11, Mi),
|
|
2068
|
+
g("button", {
|
|
2069
|
+
class: F(["tab-button", { "is-active": k === d(pe) }]),
|
|
2070
|
+
onClick: (re) => te(d(pe))
|
|
2071
|
+
}, w(u("selection.playerStats")), 11, ji),
|
|
2072
|
+
g("button", {
|
|
2073
|
+
class: F(["tab-button", { "is-active": k === d(Le) }]),
|
|
2074
|
+
onClick: (re) => te(d(Le))
|
|
2075
|
+
}, w(u("selection.teamStats")), 11, Oi)
|
|
2076
|
+
]),
|
|
2077
|
+
$(d(Ht), {
|
|
2078
|
+
columns: y,
|
|
2079
|
+
rows: h.rows,
|
|
2080
|
+
sort: v,
|
|
2081
|
+
"is-loading": E,
|
|
2082
|
+
"offset-name": o.value,
|
|
2083
|
+
"external-team-resolver": s,
|
|
2084
|
+
"external-game-resolver": n,
|
|
2100
2085
|
"append-to": r.value,
|
|
2101
|
-
"hide-columns":
|
|
2102
|
-
onSort:
|
|
2086
|
+
"hide-columns": k === d(ke) ? "broadcast" : "",
|
|
2087
|
+
onSort: ie
|
|
2103
2088
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2104
|
-
|
|
2089
|
+
k === d(pe) ? (p(), G(d(Gr), {
|
|
2105
2090
|
key: 0,
|
|
2106
|
-
page:
|
|
2091
|
+
page: S,
|
|
2107
2092
|
"items-per-page": e.limit,
|
|
2108
|
-
"total-items":
|
|
2093
|
+
"total-items": h.totalItems,
|
|
2109
2094
|
"range-length": 5,
|
|
2110
|
-
onChange:
|
|
2095
|
+
onChange: ae
|
|
2111
2096
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : M("", !0),
|
|
2112
|
-
|
|
2113
|
-
$(
|
|
2114
|
-
rows:
|
|
2097
|
+
k === d(at) ? (p(), _(R, { key: 1 }, [
|
|
2098
|
+
$(d(je), {
|
|
2099
|
+
rows: h.rows,
|
|
2115
2100
|
"additional-key": "inheritedPoints"
|
|
2116
2101
|
}, null, 8, ["rows"]),
|
|
2117
|
-
$(
|
|
2118
|
-
rows:
|
|
2102
|
+
$(d(je), {
|
|
2103
|
+
rows: h.rows,
|
|
2119
2104
|
"additional-key": "penaltyPoints"
|
|
2120
2105
|
}, null, 8, ["rows"])
|
|
2121
2106
|
], 64)) : M("", !0)
|
|
2122
2107
|
]),
|
|
2123
2108
|
_: 2
|
|
2124
2109
|
}, 1032, ["locale", "timezone", "championship-name", "limit"]),
|
|
2125
|
-
|
|
2110
|
+
g("div", {
|
|
2126
2111
|
ref_key: "tooltipContainer",
|
|
2127
2112
|
ref: r
|
|
2128
2113
|
}, null, 512)
|
|
@@ -2134,7 +2119,7 @@ const bi = {
|
|
|
2134
2119
|
}, 8, ["locale"])
|
|
2135
2120
|
]));
|
|
2136
2121
|
}
|
|
2137
|
-
},
|
|
2122
|
+
}, Ri = /* @__PURE__ */ _e(Gi, [["styles", [xe, Xe, Je, ur, pr, mr, vr, Ni, Ai]]]), Yi = {
|
|
2138
2123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2139
2124
|
viewBox: "0 0 24 24",
|
|
2140
2125
|
fill: "none",
|
|
@@ -2143,12 +2128,12 @@ const bi = {
|
|
|
2143
2128
|
"stroke-linecap": "round",
|
|
2144
2129
|
"stroke-linejoin": "round"
|
|
2145
2130
|
};
|
|
2146
|
-
function
|
|
2147
|
-
return p(),
|
|
2148
|
-
|
|
2131
|
+
function Ui(t, e) {
|
|
2132
|
+
return p(), _("svg", Yi, e[0] || (e[0] = [
|
|
2133
|
+
g("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2149
2134
|
]));
|
|
2150
2135
|
}
|
|
2151
|
-
const
|
|
2136
|
+
const Ki = { render: Ui }, Fi = {
|
|
2152
2137
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2153
2138
|
viewBox: "0 0 24 24",
|
|
2154
2139
|
fill: "none",
|
|
@@ -2157,15 +2142,15 @@ const Pi = { render: Li }, Mi = {
|
|
|
2157
2142
|
"stroke-linecap": "round",
|
|
2158
2143
|
"stroke-linejoin": "round"
|
|
2159
2144
|
};
|
|
2160
|
-
function
|
|
2161
|
-
return p(),
|
|
2162
|
-
|
|
2145
|
+
function Vi(t, e) {
|
|
2146
|
+
return p(), _("svg", Fi, e[0] || (e[0] = [
|
|
2147
|
+
g("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2163
2148
|
]));
|
|
2164
2149
|
}
|
|
2165
|
-
const br = { render:
|
|
2166
|
-
function
|
|
2167
|
-
const { execute: e } =
|
|
2168
|
-
(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 })),
|
|
2169
2154
|
{},
|
|
2170
2155
|
{
|
|
2171
2156
|
immediate: !1,
|
|
@@ -2176,20 +2161,20 @@ function Gi({ apiKey: t }) {
|
|
|
2176
2161
|
execute: e
|
|
2177
2162
|
};
|
|
2178
2163
|
}
|
|
2179
|
-
function
|
|
2180
|
-
const
|
|
2181
|
-
return t.reduce((i, n) => (
|
|
2164
|
+
function qi(t, e, r) {
|
|
2165
|
+
const a = Wi(e, r);
|
|
2166
|
+
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2182
2167
|
}
|
|
2183
|
-
function
|
|
2168
|
+
function Wi(t, e) {
|
|
2184
2169
|
const r = /* @__PURE__ */ new Map();
|
|
2185
|
-
for (const
|
|
2186
|
-
r.set(
|
|
2170
|
+
for (const a of t)
|
|
2171
|
+
r.set(a[e], a);
|
|
2187
2172
|
return r;
|
|
2188
2173
|
}
|
|
2189
|
-
function
|
|
2174
|
+
function Ut(t) {
|
|
2190
2175
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2191
2176
|
}
|
|
2192
|
-
const
|
|
2177
|
+
const Hi = { class: "games-timeline" }, Xi = ["disabled"], Ji = { ref: "container" }, Qi = ["disabled"], Zi = {
|
|
2193
2178
|
__name: "Carousel",
|
|
2194
2179
|
props: {
|
|
2195
2180
|
initialIndex: {
|
|
@@ -2198,76 +2183,74 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2198
2183
|
}
|
|
2199
2184
|
},
|
|
2200
2185
|
setup(t) {
|
|
2201
|
-
const e = t, r =
|
|
2202
|
-
|
|
2203
|
-
register: (
|
|
2204
|
-
|
|
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}`)));
|
|
2205
2190
|
},
|
|
2206
|
-
unregister: (
|
|
2207
|
-
const
|
|
2208
|
-
|
|
2191
|
+
unregister: (f) => {
|
|
2192
|
+
const v = o.value.indexOf(f);
|
|
2193
|
+
v !== -1 && o.value.splice(v, 1);
|
|
2209
2194
|
}
|
|
2210
2195
|
});
|
|
2211
|
-
const { arrivedState: n } =
|
|
2212
|
-
() =>
|
|
2196
|
+
const { arrivedState: n } = Wa(r, { onStop: m }), s = A(
|
|
2197
|
+
() => ue(r).querySelector(`#${o.value[a.value]}`)
|
|
2213
2198
|
);
|
|
2214
|
-
|
|
2199
|
+
dt(() => u()), ne(
|
|
2215
2200
|
() => e.initialIndex,
|
|
2216
|
-
(
|
|
2217
|
-
|
|
2201
|
+
(f) => {
|
|
2202
|
+
a.value = f, ze(() => u());
|
|
2218
2203
|
}
|
|
2219
2204
|
);
|
|
2220
|
-
function
|
|
2221
|
-
n.left || (
|
|
2205
|
+
function l() {
|
|
2206
|
+
n.left || (a.value--, u({ behavior: "smooth" }));
|
|
2222
2207
|
}
|
|
2223
2208
|
function c() {
|
|
2224
|
-
n.right || (
|
|
2209
|
+
n.right || (a.value++, u({ behavior: "smooth" }));
|
|
2225
2210
|
}
|
|
2226
|
-
function
|
|
2227
|
-
var
|
|
2228
|
-
(
|
|
2211
|
+
function u(f) {
|
|
2212
|
+
var v;
|
|
2213
|
+
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...f });
|
|
2229
2214
|
}
|
|
2230
|
-
function
|
|
2231
|
-
var
|
|
2232
|
-
const
|
|
2233
|
-
(h) => Math.round(h.getBoundingClientRect().left -
|
|
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
|
|
2234
2219
|
);
|
|
2235
|
-
|
|
2220
|
+
a.value = v;
|
|
2236
2221
|
}
|
|
2237
|
-
return (
|
|
2238
|
-
|
|
2239
|
-
}, [
|
|
2240
|
-
m("button", {
|
|
2222
|
+
return (f, v) => (p(), _("div", Hi, [
|
|
2223
|
+
g("button", {
|
|
2241
2224
|
type: "button",
|
|
2242
|
-
disabled:
|
|
2243
|
-
onClick:
|
|
2225
|
+
disabled: d(n).left,
|
|
2226
|
+
onClick: l
|
|
2244
2227
|
}, [
|
|
2245
|
-
$(
|
|
2246
|
-
], 8,
|
|
2247
|
-
|
|
2248
|
-
|
|
2228
|
+
$(d(Ki))
|
|
2229
|
+
], 8, Xi),
|
|
2230
|
+
g("div", Ji, [
|
|
2231
|
+
ge(f.$slots, "default")
|
|
2249
2232
|
], 512),
|
|
2250
|
-
|
|
2233
|
+
g("button", {
|
|
2251
2234
|
type: "button",
|
|
2252
|
-
disabled:
|
|
2235
|
+
disabled: d(n).right,
|
|
2253
2236
|
onClick: c
|
|
2254
2237
|
}, [
|
|
2255
|
-
$(
|
|
2256
|
-
], 8,
|
|
2257
|
-
]
|
|
2238
|
+
$(d(br))
|
|
2239
|
+
], 8, Qi)
|
|
2240
|
+
]));
|
|
2258
2241
|
}
|
|
2259
2242
|
}, ot = {
|
|
2260
2243
|
__name: "CarouselItem",
|
|
2261
2244
|
setup(t) {
|
|
2262
|
-
const e = `mjsz-vbr-carousel-item-${
|
|
2263
|
-
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", {
|
|
2264
2247
|
id: e,
|
|
2265
2248
|
class: "is-slide"
|
|
2266
2249
|
}, [
|
|
2267
|
-
|
|
2250
|
+
ge(a.$slots, "default")
|
|
2268
2251
|
]));
|
|
2269
2252
|
}
|
|
2270
|
-
}, Kt = {
|
|
2253
|
+
}, en = { class: "games-timeline-schedule-link" }, Kt = {
|
|
2271
2254
|
__name: "ExternalSchedule",
|
|
2272
2255
|
props: {
|
|
2273
2256
|
title: {
|
|
@@ -2281,23 +2264,21 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2281
2264
|
},
|
|
2282
2265
|
emits: ["navigateTo"],
|
|
2283
2266
|
setup(t, { emit: e }) {
|
|
2284
|
-
const r = t,
|
|
2285
|
-
function
|
|
2286
|
-
|
|
2267
|
+
const r = t, a = e;
|
|
2268
|
+
function o() {
|
|
2269
|
+
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2287
2270
|
}
|
|
2288
|
-
return (i, n) => (p(),
|
|
2289
|
-
|
|
2290
|
-
}, [
|
|
2291
|
-
m("button", {
|
|
2271
|
+
return (i, n) => (p(), _("div", en, [
|
|
2272
|
+
g("button", {
|
|
2292
2273
|
type: "button",
|
|
2293
|
-
onClick:
|
|
2274
|
+
onClick: o
|
|
2294
2275
|
}, [
|
|
2295
|
-
|
|
2296
|
-
$(
|
|
2276
|
+
oe(w(t.title), 1),
|
|
2277
|
+
$(d(br))
|
|
2297
2278
|
])
|
|
2298
|
-
]
|
|
2279
|
+
]));
|
|
2299
2280
|
}
|
|
2300
|
-
},
|
|
2281
|
+
}, tn = { class: "score-display" }, rn = { class: "is-score" }, Ft = {
|
|
2301
2282
|
__name: "ScoreDisplay",
|
|
2302
2283
|
props: {
|
|
2303
2284
|
score: {
|
|
@@ -2306,26 +2287,24 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2306
2287
|
}
|
|
2307
2288
|
},
|
|
2308
2289
|
setup(t) {
|
|
2309
|
-
return (e, r) => (p(),
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
default: D(() => [
|
|
2315
|
-
(p(), x("span", { key: t.score }, y(t.score), 1))
|
|
2290
|
+
return (e, r) => (p(), _("div", tn, [
|
|
2291
|
+
g("div", rn, [
|
|
2292
|
+
$(Cr, { name: "is-slide-transition" }, {
|
|
2293
|
+
default: N(() => [
|
|
2294
|
+
(p(), _("span", { key: t.score }, w(t.score), 1))
|
|
2316
2295
|
]),
|
|
2317
2296
|
_: 1
|
|
2318
2297
|
})
|
|
2319
2298
|
])
|
|
2320
|
-
]
|
|
2299
|
+
]));
|
|
2321
2300
|
}
|
|
2322
|
-
},
|
|
2301
|
+
}, an = {
|
|
2323
2302
|
key: 0,
|
|
2324
2303
|
class: "is-badge"
|
|
2325
|
-
},
|
|
2304
|
+
}, on = {
|
|
2326
2305
|
key: 1,
|
|
2327
2306
|
class: "is-badge"
|
|
2328
|
-
},
|
|
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 = {
|
|
2329
2308
|
__name: "Game",
|
|
2330
2309
|
props: {
|
|
2331
2310
|
gameData: {
|
|
@@ -2339,68 +2318,68 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2339
2318
|
},
|
|
2340
2319
|
emits: ["navigateTo"],
|
|
2341
2320
|
setup(t, { emit: e }) {
|
|
2342
|
-
const r = t,
|
|
2343
|
-
const { gameStatus:
|
|
2344
|
-
return
|
|
2321
|
+
const r = t, a = e, { t: o } = le(), i = A(() => {
|
|
2322
|
+
const { gameStatus: s, championshipName: l, divisionName: c, period: u, periodTime: m } = r.gameData;
|
|
2323
|
+
return s !== 1 ? `${l} - ${c}` : u && Ut(u) ? `${o(`game.period.${u}`)} - ${m}` : u && !Ut(u) ? o(`game.period.${u}`) : "";
|
|
2345
2324
|
});
|
|
2346
2325
|
function n() {
|
|
2347
|
-
const { externalUrl:
|
|
2348
|
-
if (
|
|
2349
|
-
return
|
|
2350
|
-
const c =
|
|
2351
|
-
|
|
2352
|
-
}
|
|
2353
|
-
return (
|
|
2354
|
-
class:
|
|
2326
|
+
const { externalUrl: s, id: l } = r.gameData;
|
|
2327
|
+
if (s)
|
|
2328
|
+
return a("navigateTo", { url: s, target: "_blank" });
|
|
2329
|
+
const c = pt(r.externalGameResolver, { gameId: l });
|
|
2330
|
+
a("navigateTo", { url: c, target: "_self" });
|
|
2331
|
+
}
|
|
2332
|
+
return (s, l) => (p(), _("div", {
|
|
2333
|
+
class: "games-timeline-game",
|
|
2355
2334
|
onClick: n
|
|
2356
2335
|
}, [
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
t.gameData.isShootout ? (p(),
|
|
2360
|
-
t.gameData.isOvertime ? (p(),
|
|
2336
|
+
g("time", null, [
|
|
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)
|
|
2361
2340
|
]),
|
|
2362
|
-
|
|
2363
|
-
$(
|
|
2341
|
+
g("div", nn, [
|
|
2342
|
+
$(d(Me), {
|
|
2364
2343
|
src: t.gameData.homeTeam.logo,
|
|
2365
2344
|
class: "is-team-logo"
|
|
2366
2345
|
}, null, 8, ["src"])
|
|
2367
2346
|
]),
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
t.gameData.homeTeamScore != null ? (p(),
|
|
2347
|
+
g("div", sn, w(t.gameData.homeTeam.longName), 1),
|
|
2348
|
+
g("div", ln, [
|
|
2349
|
+
t.gameData.homeTeamScore != null ? (p(), G(Ft, {
|
|
2371
2350
|
key: 0,
|
|
2372
|
-
class:
|
|
2351
|
+
class: F(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2373
2352
|
score: t.gameData.homeTeamScore
|
|
2374
2353
|
}, {
|
|
2375
|
-
default:
|
|
2376
|
-
|
|
2354
|
+
default: N(() => [
|
|
2355
|
+
oe(w(t.gameData.homeTeamScore), 1)
|
|
2377
2356
|
]),
|
|
2378
2357
|
_: 1
|
|
2379
2358
|
}, 8, ["class", "score"])) : M("", !0)
|
|
2380
2359
|
]),
|
|
2381
|
-
|
|
2382
|
-
$(
|
|
2360
|
+
g("div", cn, [
|
|
2361
|
+
$(d(Me), {
|
|
2383
2362
|
src: t.gameData.awayTeam.logo,
|
|
2384
2363
|
class: "is-team-logo"
|
|
2385
2364
|
}, null, 8, ["src"])
|
|
2386
2365
|
]),
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
t.gameData.awayTeamScore != null ? (p(),
|
|
2366
|
+
g("div", dn, w(t.gameData.awayTeam.longName), 1),
|
|
2367
|
+
g("div", gn, [
|
|
2368
|
+
t.gameData.awayTeamScore != null ? (p(), G(Ft, {
|
|
2390
2369
|
key: 0,
|
|
2391
2370
|
score: t.gameData.awayTeamScore,
|
|
2392
|
-
class:
|
|
2371
|
+
class: F(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2393
2372
|
}, {
|
|
2394
|
-
default:
|
|
2395
|
-
|
|
2373
|
+
default: N(() => [
|
|
2374
|
+
oe(w(t.gameData.awayTeamScore), 1)
|
|
2396
2375
|
]),
|
|
2397
2376
|
_: 1
|
|
2398
2377
|
}, 8, ["score", "class"])) : M("", !0)
|
|
2399
2378
|
]),
|
|
2400
|
-
|
|
2401
|
-
]
|
|
2379
|
+
g("div", un, w(i.value), 1)
|
|
2380
|
+
]));
|
|
2402
2381
|
}
|
|
2403
|
-
},
|
|
2382
|
+
}, mn = {
|
|
2404
2383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2405
2384
|
viewBox: "0 0 24 24",
|
|
2406
2385
|
fill: "none",
|
|
@@ -2409,16 +2388,16 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2409
2388
|
"stroke-linecap": "round",
|
|
2410
2389
|
"stroke-linejoin": "round"
|
|
2411
2390
|
};
|
|
2412
|
-
function
|
|
2413
|
-
return p(),
|
|
2414
|
-
|
|
2415
|
-
|
|
2391
|
+
function vn(t, e) {
|
|
2392
|
+
return p(), _("svg", mn, e[0] || (e[0] = [
|
|
2393
|
+
g("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1),
|
|
2394
|
+
g("line", {
|
|
2416
2395
|
x1: "12",
|
|
2417
2396
|
y1: "9",
|
|
2418
2397
|
x2: "12",
|
|
2419
2398
|
y2: "13"
|
|
2420
2399
|
}, null, -1),
|
|
2421
|
-
|
|
2400
|
+
g("line", {
|
|
2422
2401
|
x1: "12",
|
|
2423
2402
|
y1: "17",
|
|
2424
2403
|
x2: "12.01",
|
|
@@ -2426,29 +2405,27 @@ function an(t, e) {
|
|
|
2426
2405
|
}, null, -1)
|
|
2427
2406
|
]));
|
|
2428
2407
|
}
|
|
2429
|
-
const
|
|
2408
|
+
const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn = {
|
|
2430
2409
|
__name: "TryAgain",
|
|
2431
2410
|
emits: ["tryAgain"],
|
|
2432
2411
|
setup(t, { emit: e }) {
|
|
2433
|
-
const r = e, { t:
|
|
2434
|
-
function
|
|
2412
|
+
const r = e, { t: a } = le();
|
|
2413
|
+
function o() {
|
|
2435
2414
|
r("tryAgain");
|
|
2436
2415
|
}
|
|
2437
|
-
return (i, n) => (p(),
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
m("div", null, y(s(o)("gamesTimeline.errorText")), 1),
|
|
2442
|
-
m("button", {
|
|
2416
|
+
return (i, n) => (p(), _("div", hn, [
|
|
2417
|
+
$(d(bn)),
|
|
2418
|
+
g("div", null, w(d(a)("gamesTimeline.errorText")), 1),
|
|
2419
|
+
g("button", {
|
|
2443
2420
|
type: "button",
|
|
2444
|
-
onClick:
|
|
2445
|
-
},
|
|
2446
|
-
]
|
|
2421
|
+
onClick: o
|
|
2422
|
+
}, w(d(a)("gamesTimeline.errorCta")), 1)
|
|
2423
|
+
]));
|
|
2447
2424
|
}
|
|
2448
|
-
},
|
|
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 = {
|
|
2449
2426
|
key: 0,
|
|
2450
2427
|
style: { width: "100%" }
|
|
2451
|
-
},
|
|
2428
|
+
}, xn = {
|
|
2452
2429
|
__name: "GamesTimeline.ce",
|
|
2453
2430
|
props: {
|
|
2454
2431
|
locale: {
|
|
@@ -2473,112 +2450,112 @@ const nn = { render: an }, sn = {
|
|
|
2473
2450
|
}
|
|
2474
2451
|
},
|
|
2475
2452
|
setup(t) {
|
|
2476
|
-
const e = t, r = { en:
|
|
2477
|
-
let
|
|
2478
|
-
const i =
|
|
2453
|
+
const e = t, r = { en: ye, hu: we }, a = Fe();
|
|
2454
|
+
let o = [];
|
|
2455
|
+
const i = j(!1), { state: n, execute: s } = ee({
|
|
2479
2456
|
options: {
|
|
2480
2457
|
path: e.servicePath,
|
|
2481
2458
|
apiKey: e.apiKey,
|
|
2482
2459
|
params: {},
|
|
2483
2460
|
immediate: !0
|
|
2484
2461
|
},
|
|
2485
|
-
transform: (
|
|
2462
|
+
transform: (x) => qi(x, n.value, "id").reverse(),
|
|
2486
2463
|
onError: () => {
|
|
2487
2464
|
i.value = !0;
|
|
2488
2465
|
},
|
|
2489
|
-
onSuccess:
|
|
2490
|
-
}), { resume:
|
|
2491
|
-
|
|
2466
|
+
onSuccess: v
|
|
2467
|
+
}), { resume: l, pause: c } = $t(s, 1e3 * 60 * 5);
|
|
2468
|
+
aa(
|
|
2492
2469
|
!0,
|
|
2493
2470
|
() => {
|
|
2494
|
-
|
|
2471
|
+
s(), l();
|
|
2495
2472
|
},
|
|
2496
2473
|
() => {
|
|
2497
|
-
c(),
|
|
2474
|
+
c(), o.map((x) => x == null ? void 0 : x()), o = [];
|
|
2498
2475
|
}
|
|
2499
2476
|
);
|
|
2500
|
-
const
|
|
2501
|
-
() => n.value.map((
|
|
2502
|
-
...
|
|
2503
|
-
gameDateTime: `${Q(
|
|
2504
|
-
|
|
2505
|
-
|
|
2477
|
+
const u = A(() => rt(n.value) ? 0 : n.value.findIndex((x) => !Xt(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,
|
|
2482
|
+
a,
|
|
2506
2483
|
e.locale
|
|
2507
2484
|
)})`
|
|
2508
2485
|
}))
|
|
2509
|
-
), { execute:
|
|
2510
|
-
async function
|
|
2511
|
-
i.value = !1,
|
|
2512
|
-
const
|
|
2513
|
-
for (let
|
|
2514
|
-
const
|
|
2515
|
-
|
|
2516
|
-
const { pause:
|
|
2517
|
-
|
|
2486
|
+
), { execute: f } = Bi({ apiKey: e.apiKey });
|
|
2487
|
+
async function v() {
|
|
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);
|
|
2518
2495
|
}
|
|
2519
2496
|
}
|
|
2520
|
-
function
|
|
2521
|
-
const { gameId:
|
|
2522
|
-
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);
|
|
2523
2500
|
}
|
|
2524
|
-
function h({ url:
|
|
2525
|
-
window.open(
|
|
2501
|
+
function h({ url: x, target: z }) {
|
|
2502
|
+
window.open(x, z);
|
|
2526
2503
|
}
|
|
2527
|
-
function
|
|
2528
|
-
i.value = !1,
|
|
2504
|
+
function C() {
|
|
2505
|
+
i.value = !1, s();
|
|
2529
2506
|
}
|
|
2530
|
-
return (
|
|
2507
|
+
return (x, z) => (p(), G(d(fe), {
|
|
2531
2508
|
locale: t.locale,
|
|
2532
2509
|
messages: r
|
|
2533
2510
|
}, {
|
|
2534
|
-
default:
|
|
2535
|
-
$(
|
|
2536
|
-
default:
|
|
2537
|
-
|
|
2538
|
-
$(
|
|
2539
|
-
])) : i.value &&
|
|
2511
|
+
default: N(({ t: y }) => [
|
|
2512
|
+
$(Zi, { "initial-index": u.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, {
|
|
2540
2517
|
key: 1,
|
|
2541
|
-
onTryAgain:
|
|
2542
|
-
})) : (p(),
|
|
2518
|
+
onTryAgain: C
|
|
2519
|
+
})) : (p(), _(R, { key: 2 }, [
|
|
2543
2520
|
$(ot, null, {
|
|
2544
|
-
default:
|
|
2521
|
+
default: N(() => [
|
|
2545
2522
|
$(Kt, {
|
|
2546
2523
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2547
|
-
title:
|
|
2524
|
+
title: y("gamesTimeline.allSchedule"),
|
|
2548
2525
|
onNavigateTo: h
|
|
2549
2526
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2550
2527
|
]),
|
|
2551
2528
|
_: 2
|
|
2552
2529
|
}, 1024),
|
|
2553
|
-
(p(!0),
|
|
2530
|
+
(p(!0), _(R, null, W(m.value, (b, I, E, k) => {
|
|
2554
2531
|
const P = [
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2532
|
+
b.gameDateTime,
|
|
2533
|
+
b.gameStatus,
|
|
2534
|
+
b.homeTeamScore,
|
|
2535
|
+
b.awayTeamScore,
|
|
2536
|
+
b.period,
|
|
2537
|
+
b.actualTime
|
|
2561
2538
|
];
|
|
2562
|
-
if (
|
|
2563
|
-
const
|
|
2564
|
-
key:
|
|
2539
|
+
if (k && k.key === b.id && Nr(k, P)) return k;
|
|
2540
|
+
const D = (p(), G(ot, {
|
|
2541
|
+
key: b.id
|
|
2565
2542
|
}, {
|
|
2566
|
-
default:
|
|
2567
|
-
$(
|
|
2568
|
-
"game-data":
|
|
2543
|
+
default: N(() => [
|
|
2544
|
+
$(pn, {
|
|
2545
|
+
"game-data": b,
|
|
2569
2546
|
"external-game-resolver": t.externalGameResolver,
|
|
2570
2547
|
onNavigateTo: h
|
|
2571
2548
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2572
2549
|
]),
|
|
2573
2550
|
_: 2
|
|
2574
2551
|
}, 1024));
|
|
2575
|
-
return
|
|
2576
|
-
},
|
|
2552
|
+
return D.memo = P, D;
|
|
2553
|
+
}, z, 0), 128)),
|
|
2577
2554
|
$(ot, null, {
|
|
2578
|
-
default:
|
|
2555
|
+
default: N(() => [
|
|
2579
2556
|
$(Kt, {
|
|
2580
2557
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2581
|
-
title:
|
|
2558
|
+
title: y("gamesTimeline.allSchedule"),
|
|
2582
2559
|
onNavigateTo: h
|
|
2583
2560
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2584
2561
|
]),
|
|
@@ -2592,17 +2569,17 @@ const nn = { render: an }, sn = {
|
|
|
2592
2569
|
_: 1
|
|
2593
2570
|
}, 8, ["locale"]));
|
|
2594
2571
|
}
|
|
2595
|
-
},
|
|
2596
|
-
function
|
|
2597
|
-
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);
|
|
2598
2575
|
}
|
|
2599
|
-
function
|
|
2600
|
-
e.championshipList = t, e.championshipId =
|
|
2576
|
+
function zn(t, e) {
|
|
2577
|
+
e.championshipList = t, e.championshipId = Ae(Z, de("championshipId"))(t);
|
|
2601
2578
|
}
|
|
2602
|
-
function
|
|
2603
|
-
e.sections = t, e.sectionId =
|
|
2579
|
+
function Sn(t, e) {
|
|
2580
|
+
e.sections = t, e.sectionId = Ae(Z, de("sectionId"))(t);
|
|
2604
2581
|
}
|
|
2605
|
-
const
|
|
2582
|
+
const In = {
|
|
2606
2583
|
__name: "DataProvider",
|
|
2607
2584
|
props: {
|
|
2608
2585
|
apiKey: {
|
|
@@ -2615,31 +2592,31 @@ const bn = {
|
|
|
2615
2592
|
}
|
|
2616
2593
|
},
|
|
2617
2594
|
setup(t) {
|
|
2618
|
-
const e = t, r =
|
|
2595
|
+
const e = t, r = se({
|
|
2619
2596
|
seasonsList: [],
|
|
2620
2597
|
seasonId: null,
|
|
2621
2598
|
championshipList: [],
|
|
2622
2599
|
championshipId: null,
|
|
2623
2600
|
sections: [],
|
|
2624
2601
|
sectionId: null
|
|
2625
|
-
}), { onError:
|
|
2602
|
+
}), { onError: a } = Ve(), { isLoading: o, execute: i } = ee({
|
|
2626
2603
|
options: {
|
|
2627
2604
|
path: "/v2/all-season-list",
|
|
2628
2605
|
apiKey: e.apiKey,
|
|
2629
2606
|
params: {}
|
|
2630
2607
|
},
|
|
2631
|
-
transform: (h) =>
|
|
2632
|
-
onError:
|
|
2633
|
-
}), { isLoading: n, execute:
|
|
2608
|
+
transform: (h) => kn(h, r),
|
|
2609
|
+
onError: a
|
|
2610
|
+
}), { isLoading: n, execute: s } = ee({
|
|
2634
2611
|
options: {
|
|
2635
2612
|
path: "/v2/championship-list",
|
|
2636
2613
|
apiKey: e.apiKey,
|
|
2637
2614
|
params: A(() => ({ seasonId: r.seasonId }))
|
|
2638
2615
|
},
|
|
2639
|
-
transform: (h) =>
|
|
2640
|
-
onError:
|
|
2616
|
+
transform: (h) => zn(h, r),
|
|
2617
|
+
onError: a
|
|
2641
2618
|
}), {
|
|
2642
|
-
isLoading:
|
|
2619
|
+
isLoading: l,
|
|
2643
2620
|
execute: c
|
|
2644
2621
|
} = ee({
|
|
2645
2622
|
options: {
|
|
@@ -2647,33 +2624,39 @@ const bn = {
|
|
|
2647
2624
|
apiKey: e.apiKey,
|
|
2648
2625
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2649
2626
|
},
|
|
2650
|
-
transform: (h) =>
|
|
2651
|
-
onError:
|
|
2652
|
-
}),
|
|
2653
|
-
var h,
|
|
2654
|
-
return ((
|
|
2627
|
+
transform: (h) => Sn(h, r),
|
|
2628
|
+
onError: a
|
|
2629
|
+
}), u = A(() => {
|
|
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) ?? [];
|
|
2655
2632
|
});
|
|
2656
|
-
|
|
2657
|
-
const
|
|
2658
|
-
function u(h) {
|
|
2659
|
-
r.seasonId = h, ue([l, c]);
|
|
2660
|
-
}
|
|
2633
|
+
be([i, s, c]);
|
|
2634
|
+
const m = A(() => [o.value, n.value, l.value].some(Boolean));
|
|
2661
2635
|
function f(h) {
|
|
2636
|
+
r.seasonId = h, be([s, c]);
|
|
2637
|
+
}
|
|
2638
|
+
function v(h) {
|
|
2662
2639
|
r.championshipId = h, c();
|
|
2663
2640
|
}
|
|
2664
|
-
function
|
|
2641
|
+
function S(h) {
|
|
2665
2642
|
r.sectionId = h;
|
|
2666
2643
|
}
|
|
2667
|
-
return (h,
|
|
2644
|
+
return (h, C) => ge(h.$slots, "default", $e(Ce({
|
|
2668
2645
|
...r,
|
|
2669
|
-
isLoading:
|
|
2670
|
-
phaseData:
|
|
2671
|
-
onChangeSeason:
|
|
2672
|
-
onChangeSection:
|
|
2673
|
-
onChangeChampionship:
|
|
2646
|
+
isLoading: m.value,
|
|
2647
|
+
phaseData: u.value,
|
|
2648
|
+
onChangeSeason: f,
|
|
2649
|
+
onChangeSection: S,
|
|
2650
|
+
onChangeChampionship: v
|
|
2674
2651
|
})));
|
|
2675
2652
|
}
|
|
2676
|
-
},
|
|
2653
|
+
}, $n = { class: "is-mb-5" }, Cn = {
|
|
2654
|
+
for: "season",
|
|
2655
|
+
class: "label"
|
|
2656
|
+
}, Tn = ["value"], Nn = {
|
|
2657
|
+
for: "season",
|
|
2658
|
+
class: "label"
|
|
2659
|
+
}, An = ["value"], En = {
|
|
2677
2660
|
__name: "Selector",
|
|
2678
2661
|
props: {
|
|
2679
2662
|
seasonsList: {
|
|
@@ -2695,49 +2678,46 @@ const bn = {
|
|
|
2695
2678
|
},
|
|
2696
2679
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2697
2680
|
setup(t, { emit: e }) {
|
|
2698
|
-
const r = t,
|
|
2699
|
-
return (
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
class: E(s(K)("label"))
|
|
2704
|
-
}, y(s(a)("selection.seasons")), 3),
|
|
2705
|
-
$(s(pe), {
|
|
2681
|
+
const r = t, a = e, { t: o } = le(), { seasonId: i, championshipId: n } = bt(r, a);
|
|
2682
|
+
return (s, l) => (p(), _(R, null, [
|
|
2683
|
+
g("div", $n, [
|
|
2684
|
+
g("label", Cn, w(d(o)("selection.seasons")), 1),
|
|
2685
|
+
$(d(me), {
|
|
2706
2686
|
id: "season",
|
|
2707
|
-
modelValue:
|
|
2708
|
-
"onUpdate:modelValue":
|
|
2687
|
+
modelValue: d(i),
|
|
2688
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => ce(i) ? i.value = c : null)
|
|
2709
2689
|
}, {
|
|
2710
|
-
default:
|
|
2711
|
-
(p(!0),
|
|
2690
|
+
default: N(() => [
|
|
2691
|
+
(p(!0), _(R, null, W(t.seasonsList, (c) => (p(), _("option", {
|
|
2712
2692
|
key: c.id,
|
|
2713
2693
|
value: c.id
|
|
2714
|
-
},
|
|
2694
|
+
}, w(c.seasonName), 9, Tn))), 128))
|
|
2715
2695
|
]),
|
|
2716
2696
|
_: 1
|
|
2717
2697
|
}, 8, ["modelValue"])
|
|
2718
2698
|
]),
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
class: E(s(K)("label"))
|
|
2723
|
-
}, y(s(a)("selection.championships")), 3),
|
|
2724
|
-
$(s(pe), {
|
|
2699
|
+
g("div", null, [
|
|
2700
|
+
g("label", Nn, w(d(o)("selection.championships")), 1),
|
|
2701
|
+
$(d(me), {
|
|
2725
2702
|
id: "season",
|
|
2726
|
-
modelValue:
|
|
2727
|
-
"onUpdate:modelValue":
|
|
2703
|
+
modelValue: d(n),
|
|
2704
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => ce(n) ? n.value = c : null)
|
|
2728
2705
|
}, {
|
|
2729
|
-
default:
|
|
2730
|
-
(p(!0),
|
|
2706
|
+
default: N(() => [
|
|
2707
|
+
(p(!0), _(R, null, W(t.championshipList, (c) => (p(), _("option", {
|
|
2731
2708
|
key: c.championshipId,
|
|
2732
2709
|
value: c.championshipId
|
|
2733
|
-
},
|
|
2710
|
+
}, w(c.championshipName), 9, An))), 128))
|
|
2734
2711
|
]),
|
|
2735
2712
|
_: 1
|
|
2736
2713
|
}, 8, ["modelValue"])
|
|
2737
2714
|
])
|
|
2738
2715
|
], 64));
|
|
2739
2716
|
}
|
|
2740
|
-
},
|
|
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 = {
|
|
2718
|
+
id: "sections",
|
|
2719
|
+
class: "toggle-group"
|
|
2720
|
+
}, qn = ["onClick"], Wn = { class: "is-mb-5" }, Hn = { for: "phases" }, Xn = ["textContent"], Jn = {
|
|
2741
2721
|
__name: "IvrIdentifiers.ce",
|
|
2742
2722
|
props: {
|
|
2743
2723
|
locale: {
|
|
@@ -2750,85 +2730,82 @@ const bn = {
|
|
|
2750
2730
|
}
|
|
2751
2731
|
},
|
|
2752
2732
|
setup(t) {
|
|
2753
|
-
const e = t, r = { en:
|
|
2754
|
-
return (
|
|
2733
|
+
const e = t, r = { en: ye, hu: we };
|
|
2734
|
+
return (a, o) => (p(), G(d(fe), {
|
|
2755
2735
|
locale: e.locale,
|
|
2756
2736
|
messages: r
|
|
2757
2737
|
}, {
|
|
2758
|
-
default:
|
|
2759
|
-
$(
|
|
2760
|
-
default:
|
|
2761
|
-
|
|
2738
|
+
default: N(({ t: i }) => [
|
|
2739
|
+
$(d(Te), null, {
|
|
2740
|
+
default: N(({ error: n, hasError: s }) => [
|
|
2741
|
+
s ? (p(), G(d(Ne), {
|
|
2762
2742
|
key: 0,
|
|
2763
2743
|
error: n
|
|
2764
2744
|
}, null, 8, ["error"])) : M("", !0),
|
|
2765
|
-
$(
|
|
2766
|
-
default:
|
|
2767
|
-
seasonsList:
|
|
2745
|
+
$(In, null, {
|
|
2746
|
+
default: N(({
|
|
2747
|
+
seasonsList: l,
|
|
2768
2748
|
seasonId: c,
|
|
2769
|
-
championshipList:
|
|
2770
|
-
championshipId:
|
|
2771
|
-
sections:
|
|
2772
|
-
sectionId:
|
|
2773
|
-
phaseData:
|
|
2749
|
+
championshipList: u,
|
|
2750
|
+
championshipId: m,
|
|
2751
|
+
sections: f,
|
|
2752
|
+
sectionId: v,
|
|
2753
|
+
phaseData: S,
|
|
2774
2754
|
onChangeSeason: h,
|
|
2775
|
-
onChangeSection:
|
|
2776
|
-
onChangeChampionship:
|
|
2755
|
+
onChangeSection: C,
|
|
2756
|
+
onChangeChampionship: x
|
|
2777
2757
|
}) => {
|
|
2778
|
-
var
|
|
2758
|
+
var z;
|
|
2779
2759
|
return [
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
$(
|
|
2783
|
-
"seasons-list":
|
|
2760
|
+
g("div", Ln, [
|
|
2761
|
+
g("div", null, [
|
|
2762
|
+
$(En, {
|
|
2763
|
+
"seasons-list": l,
|
|
2784
2764
|
"season-id": c,
|
|
2785
|
-
"championship-list":
|
|
2786
|
-
"championship-id":
|
|
2765
|
+
"championship-list": u,
|
|
2766
|
+
"championship-id": m,
|
|
2787
2767
|
"onUpdate:seasonId": h,
|
|
2788
|
-
"onUpdate:championshipId":
|
|
2768
|
+
"onUpdate:championshipId": x
|
|
2789
2769
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2790
2770
|
]),
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2771
|
+
g("div", null, [
|
|
2772
|
+
g("section", Pn, [
|
|
2773
|
+
g("label", Mn, w(i("selection.seasonId")), 1),
|
|
2774
|
+
g("p", {
|
|
2795
2775
|
id: "seasonId",
|
|
2796
|
-
textContent:
|
|
2776
|
+
textContent: w(c)
|
|
2797
2777
|
}, null, 8, jn)
|
|
2798
2778
|
]),
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2779
|
+
g("section", On, [
|
|
2780
|
+
g("label", Gn, w(i("selection.championshipName")), 1),
|
|
2781
|
+
g("p", {
|
|
2802
2782
|
id: "championshipName",
|
|
2803
|
-
textContent:
|
|
2804
|
-
}, null, 8,
|
|
2783
|
+
textContent: w((z = u.find((y) => y.championshipId === m)) == null ? void 0 : z.championshipName)
|
|
2784
|
+
}, null, 8, Rn)
|
|
2805
2785
|
]),
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2786
|
+
g("section", Yn, [
|
|
2787
|
+
g("label", Un, w(i("selection.championshipId")), 1),
|
|
2788
|
+
g("p", {
|
|
2809
2789
|
id: "championshipId",
|
|
2810
|
-
textContent:
|
|
2811
|
-
}, null, 8,
|
|
2790
|
+
textContent: w(m)
|
|
2791
|
+
}, null, 8, Kn)
|
|
2812
2792
|
]),
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
onClick: (v) => I(z.sectionId)
|
|
2823
|
-
}, y(z.sectionName), 11, En))), 128))
|
|
2824
|
-
], 2)
|
|
2793
|
+
g("section", Fn, [
|
|
2794
|
+
g("label", Vn, w(i("selection.sections")) + ":", 1),
|
|
2795
|
+
g("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))
|
|
2801
|
+
])
|
|
2825
2802
|
]),
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2803
|
+
g("section", Wn, [
|
|
2804
|
+
g("label", Hn, w(i("selection.phasesDivision")) + ":", 1),
|
|
2805
|
+
g("pre", {
|
|
2829
2806
|
id: "phases",
|
|
2830
|
-
textContent:
|
|
2831
|
-
}, null, 8,
|
|
2807
|
+
textContent: w(S)
|
|
2808
|
+
}, null, 8, Xn)
|
|
2832
2809
|
])
|
|
2833
2810
|
])
|
|
2834
2811
|
])
|
|
@@ -2843,7 +2820,10 @@ const bn = {
|
|
|
2843
2820
|
_: 1
|
|
2844
2821
|
}, 8, ["locale"]));
|
|
2845
2822
|
}
|
|
2846
|
-
},
|
|
2823
|
+
}, Qn = /* @__PURE__ */ _e(Jn, [["styles", [xe, Xe, Je, Dn]], ["__scopeId", "data-v-10915a30"]]), Zn = { class: "g-row" }, es = {
|
|
2824
|
+
for: "season",
|
|
2825
|
+
class: "label"
|
|
2826
|
+
}, ts = ["value"], rs = ["onClick"], as = {
|
|
2847
2827
|
__name: "SeasonSelector",
|
|
2848
2828
|
props: {
|
|
2849
2829
|
seasons: {
|
|
@@ -2865,62 +2845,59 @@ const bn = {
|
|
|
2865
2845
|
},
|
|
2866
2846
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2867
2847
|
setup(t, { emit: e }) {
|
|
2868
|
-
const r = t,
|
|
2848
|
+
const r = t, a = e, { t: o } = le(), i = A({
|
|
2869
2849
|
get() {
|
|
2870
2850
|
return r.championshipId;
|
|
2871
2851
|
},
|
|
2872
|
-
set(
|
|
2873
|
-
|
|
2852
|
+
set(s) {
|
|
2853
|
+
a("onChangeSeason", s);
|
|
2874
2854
|
}
|
|
2875
2855
|
});
|
|
2876
|
-
function n(
|
|
2877
|
-
|
|
2878
|
-
}
|
|
2879
|
-
return (
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
class: E(s(K)("label"))
|
|
2885
|
-
}, y(s(a)("selection.season")), 3),
|
|
2886
|
-
$(s(pe), {
|
|
2856
|
+
function n(s) {
|
|
2857
|
+
a("onChangeSection", s);
|
|
2858
|
+
}
|
|
2859
|
+
return (s, l) => (p(), _(R, null, [
|
|
2860
|
+
g("div", Zn, [
|
|
2861
|
+
g("div", null, [
|
|
2862
|
+
g("label", es, w(d(o)("selection.season")), 1),
|
|
2863
|
+
$(d(me), {
|
|
2887
2864
|
id: "season",
|
|
2888
2865
|
modelValue: i.value,
|
|
2889
|
-
"onUpdate:modelValue":
|
|
2866
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2890
2867
|
}, {
|
|
2891
|
-
default:
|
|
2892
|
-
(p(!0),
|
|
2868
|
+
default: N(() => [
|
|
2869
|
+
(p(!0), _(R, null, W(t.seasons, (c) => (p(), _("option", {
|
|
2893
2870
|
key: c.championshipId,
|
|
2894
2871
|
value: c.championshipId
|
|
2895
|
-
},
|
|
2872
|
+
}, w(c.seasonName), 9, ts))), 128))
|
|
2896
2873
|
]),
|
|
2897
2874
|
_: 1
|
|
2898
2875
|
}, 8, ["modelValue"])
|
|
2899
2876
|
])
|
|
2900
2877
|
]),
|
|
2901
|
-
|
|
2902
|
-
(p(!0),
|
|
2878
|
+
g("div", null, [
|
|
2879
|
+
(p(!0), _(R, null, W(t.sections, (c) => (p(), _("button", {
|
|
2903
2880
|
key: c.phaseId,
|
|
2904
|
-
class:
|
|
2905
|
-
onClick: (
|
|
2906
|
-
},
|
|
2881
|
+
class: F(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2882
|
+
onClick: (u) => n(c)
|
|
2883
|
+
}, w(c.sectionName), 11, rs))), 128))
|
|
2907
2884
|
])
|
|
2908
2885
|
], 64));
|
|
2909
2886
|
}
|
|
2910
2887
|
};
|
|
2911
|
-
function
|
|
2888
|
+
function os(t, e) {
|
|
2912
2889
|
if (t.length === 0)
|
|
2913
|
-
throw new Jt(
|
|
2914
|
-
e.seasons =
|
|
2890
|
+
throw new Jt(Oe.message, Oe.options);
|
|
2891
|
+
e.seasons = ns(t), e.championshipId || (e.championshipId = Z(e.seasons).championshipId);
|
|
2915
2892
|
}
|
|
2916
|
-
function
|
|
2893
|
+
function is(t, e) {
|
|
2917
2894
|
var r;
|
|
2918
|
-
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;
|
|
2919
2896
|
}
|
|
2920
|
-
function
|
|
2921
|
-
return
|
|
2897
|
+
function ns(t) {
|
|
2898
|
+
return wt(dr(sr(de("seasonName"))), yt(cr(["championshipId", "seasonName"])))(t);
|
|
2922
2899
|
}
|
|
2923
|
-
const
|
|
2900
|
+
const ss = {
|
|
2924
2901
|
gameName: {
|
|
2925
2902
|
label: "table.gameName.short",
|
|
2926
2903
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2957,13 +2934,13 @@ const Fn = {
|
|
|
2957
2934
|
class: "is-text-left"
|
|
2958
2935
|
}
|
|
2959
2936
|
};
|
|
2960
|
-
function
|
|
2961
|
-
return (e) =>
|
|
2937
|
+
function ls(t) {
|
|
2938
|
+
return (e) => yt((r) => ({
|
|
2962
2939
|
...r,
|
|
2963
2940
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2964
2941
|
}))(e);
|
|
2965
2942
|
}
|
|
2966
|
-
const
|
|
2943
|
+
const cs = {
|
|
2967
2944
|
__name: "DataProvider",
|
|
2968
2945
|
props: {
|
|
2969
2946
|
championshipName: {
|
|
@@ -2992,57 +2969,57 @@ const Wn = {
|
|
|
2992
2969
|
}
|
|
2993
2970
|
},
|
|
2994
2971
|
setup(t) {
|
|
2995
|
-
const e = t, r =
|
|
2972
|
+
const e = t, r = se({
|
|
2996
2973
|
seasons: [],
|
|
2997
2974
|
championshipId: null,
|
|
2998
2975
|
sections: [],
|
|
2999
2976
|
sectionId: null,
|
|
3000
2977
|
phaseId: null
|
|
3001
|
-
}), { onError:
|
|
2978
|
+
}), { onError: a } = Ve(), { isLoading: o, execute: i } = ee({
|
|
3002
2979
|
options: {
|
|
3003
2980
|
path: "/v2/championship-seasons",
|
|
3004
2981
|
apiKey: e.apiKey,
|
|
3005
2982
|
params: { championshipName: e.championshipName }
|
|
3006
2983
|
},
|
|
3007
|
-
transform: (h) =>
|
|
3008
|
-
onError:
|
|
3009
|
-
}), { isLoading: n, execute:
|
|
2984
|
+
transform: (h) => os(h, r),
|
|
2985
|
+
onError: a
|
|
2986
|
+
}), { isLoading: n, execute: s } = ee({
|
|
3010
2987
|
options: {
|
|
3011
2988
|
path: "/v2/championship-sections",
|
|
3012
2989
|
apiKey: e.apiKey,
|
|
3013
2990
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
3014
2991
|
},
|
|
3015
|
-
transform: (h) =>
|
|
3016
|
-
onError:
|
|
2992
|
+
transform: (h) => is(h, r),
|
|
2993
|
+
onError: a
|
|
3017
2994
|
}), {
|
|
3018
|
-
isLoading:
|
|
2995
|
+
isLoading: l,
|
|
3019
2996
|
state: c,
|
|
3020
|
-
execute:
|
|
2997
|
+
execute: u
|
|
3021
2998
|
} = ee({
|
|
3022
2999
|
options: {
|
|
3023
3000
|
path: "/v2/games-list",
|
|
3024
3001
|
apiKey: e.apiKey,
|
|
3025
3002
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3026
3003
|
},
|
|
3027
|
-
transform: (h) =>
|
|
3028
|
-
onError:
|
|
3029
|
-
}),
|
|
3030
|
-
|
|
3031
|
-
const
|
|
3032
|
-
function
|
|
3033
|
-
r.championshipId = h,
|
|
3034
|
-
}
|
|
3035
|
-
function
|
|
3036
|
-
r.sectionId = h.sectionId, r.phaseId =
|
|
3037
|
-
}
|
|
3038
|
-
return (h,
|
|
3039
|
-
rows:
|
|
3040
|
-
isLoading:
|
|
3041
|
-
values:
|
|
3042
|
-
listeners: { onChangeSection:
|
|
3004
|
+
transform: (h) => Ae(Qt, ls(r.championshipId))(h),
|
|
3005
|
+
onError: a
|
|
3006
|
+
}), m = A(() => Ue(c.value).schedule(e.timezone, e.locale).value());
|
|
3007
|
+
be([i, s, u]);
|
|
3008
|
+
const f = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3009
|
+
function v(h) {
|
|
3010
|
+
r.championshipId = h, be([s, u]);
|
|
3011
|
+
}
|
|
3012
|
+
function S(h) {
|
|
3013
|
+
r.sectionId = h.sectionId, r.phaseId = lr(["phases", 0, "phaseId"], h), u();
|
|
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 }
|
|
3043
3020
|
})));
|
|
3044
3021
|
}
|
|
3045
|
-
},
|
|
3022
|
+
}, ds = ["href"], gs = ["href"], us = {
|
|
3046
3023
|
__name: "ScheduleCupDataTable",
|
|
3047
3024
|
props: {
|
|
3048
3025
|
columns: {
|
|
@@ -3063,47 +3040,47 @@ const Wn = {
|
|
|
3063
3040
|
}
|
|
3064
3041
|
},
|
|
3065
3042
|
setup(t) {
|
|
3066
|
-
const e = t, r =
|
|
3043
|
+
const e = t, r = j(null), { columns: a } = oa(
|
|
3067
3044
|
e.columns,
|
|
3068
3045
|
null,
|
|
3069
3046
|
A(() => ({
|
|
3070
3047
|
offsetName: e.offsetName
|
|
3071
3048
|
}))
|
|
3072
|
-
), { t:
|
|
3073
|
-
return (i, n) => (p(),
|
|
3049
|
+
), { t: o } = le();
|
|
3050
|
+
return (i, n) => (p(), _("div", {
|
|
3074
3051
|
ref_key: "tooltipContainer",
|
|
3075
3052
|
ref: r
|
|
3076
3053
|
}, [
|
|
3077
|
-
$(
|
|
3078
|
-
default:
|
|
3079
|
-
$(
|
|
3080
|
-
columns:
|
|
3054
|
+
$(d(Rr), null, {
|
|
3055
|
+
default: N(() => [
|
|
3056
|
+
$(d(Yr), {
|
|
3057
|
+
columns: d(a),
|
|
3081
3058
|
rows: t.rows,
|
|
3082
3059
|
"is-loading": t.isLoading,
|
|
3083
3060
|
"append-to": r.value
|
|
3084
3061
|
}, {
|
|
3085
|
-
"cell-homeTeamName":
|
|
3086
|
-
var
|
|
3062
|
+
"cell-homeTeamName": N(({ row: s }) => {
|
|
3063
|
+
var l;
|
|
3087
3064
|
return [
|
|
3088
|
-
|
|
3065
|
+
oe(w(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3089
3066
|
];
|
|
3090
3067
|
}),
|
|
3091
|
-
"cell-location":
|
|
3092
|
-
var
|
|
3068
|
+
"cell-location": N(({ row: s }) => {
|
|
3069
|
+
var l;
|
|
3093
3070
|
return [
|
|
3094
|
-
|
|
3071
|
+
oe(w(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3095
3072
|
];
|
|
3096
3073
|
}),
|
|
3097
|
-
"cell-document":
|
|
3098
|
-
|
|
3074
|
+
"cell-document": N(({ row: s }) => [
|
|
3075
|
+
s.schedule ? (p(), _("a", {
|
|
3099
3076
|
key: 0,
|
|
3100
|
-
href:
|
|
3077
|
+
href: s.schedule,
|
|
3101
3078
|
target: "_blank"
|
|
3102
|
-
},
|
|
3079
|
+
}, w(d(o)("schedule")), 9, ds)) : s.registration ? (p(), _("a", {
|
|
3103
3080
|
key: 1,
|
|
3104
|
-
href:
|
|
3081
|
+
href: s.registration,
|
|
3105
3082
|
target: "_blank"
|
|
3106
|
-
},
|
|
3083
|
+
}, w(d(o)("registration")), 9, gs)) : M("", !0)
|
|
3107
3084
|
]),
|
|
3108
3085
|
_: 1
|
|
3109
3086
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3112,7 +3089,7 @@ const Wn = {
|
|
|
3112
3089
|
})
|
|
3113
3090
|
], 512));
|
|
3114
3091
|
}
|
|
3115
|
-
},
|
|
3092
|
+
}, ps = {
|
|
3116
3093
|
__name: "ScheduleCup.ce",
|
|
3117
3094
|
props: {
|
|
3118
3095
|
locale: {
|
|
@@ -3133,30 +3110,30 @@ const Wn = {
|
|
|
3133
3110
|
// },
|
|
3134
3111
|
},
|
|
3135
3112
|
setup(t) {
|
|
3136
|
-
const e = t, r = { en:
|
|
3137
|
-
return (i, n) => (p(),
|
|
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), {
|
|
3138
3115
|
locale: e.locale,
|
|
3139
3116
|
messages: r
|
|
3140
3117
|
}, {
|
|
3141
|
-
default:
|
|
3142
|
-
$(
|
|
3143
|
-
default:
|
|
3144
|
-
|
|
3118
|
+
default: N(() => [
|
|
3119
|
+
$(d(Te), null, {
|
|
3120
|
+
default: N(({ error: s, hasError: l }) => [
|
|
3121
|
+
l ? (p(), G(d(Ne), {
|
|
3145
3122
|
key: 0,
|
|
3146
|
-
error:
|
|
3123
|
+
error: s
|
|
3147
3124
|
}, null, 8, ["error"])) : M("", !0),
|
|
3148
|
-
$(
|
|
3125
|
+
$(cs, {
|
|
3149
3126
|
"championship-name": t.championshipName,
|
|
3150
3127
|
locale: t.locale,
|
|
3151
|
-
timezone:
|
|
3128
|
+
timezone: a.value
|
|
3152
3129
|
}, {
|
|
3153
|
-
default:
|
|
3154
|
-
$(
|
|
3155
|
-
$(
|
|
3156
|
-
columns:
|
|
3130
|
+
default: N(({ rows: c, isLoading: u, values: m, listeners: f }) => [
|
|
3131
|
+
$(as, Ar(m, Er(f)), null, 16),
|
|
3132
|
+
$(us, {
|
|
3133
|
+
columns: d(ss),
|
|
3157
3134
|
rows: c.rows,
|
|
3158
|
-
"is-loading":
|
|
3159
|
-
"offset-name":
|
|
3135
|
+
"is-loading": u,
|
|
3136
|
+
"offset-name": o.value
|
|
3160
3137
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3161
3138
|
]),
|
|
3162
3139
|
_: 1
|
|
@@ -3168,24 +3145,215 @@ const Wn = {
|
|
|
3168
3145
|
_: 1
|
|
3169
3146
|
}, 8, ["locale"]));
|
|
3170
3147
|
}
|
|
3171
|
-
},
|
|
3172
|
-
|
|
3173
|
-
|
|
3148
|
+
}, ms = /* @__PURE__ */ _e(ps, [["styles", [xe, Xe, Je, 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
|
+
g("circle", {
|
|
3160
|
+
cx: "12",
|
|
3161
|
+
cy: "12",
|
|
3162
|
+
r: "1"
|
|
3163
|
+
}, null, -1),
|
|
3164
|
+
g("circle", {
|
|
3165
|
+
cx: "12",
|
|
3166
|
+
cy: "5",
|
|
3167
|
+
r: "1"
|
|
3168
|
+
}, null, -1),
|
|
3169
|
+
g("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 = {
|
|
3177
|
+
__name: "ChampionshipSelector",
|
|
3178
|
+
props: {
|
|
3179
|
+
data: {
|
|
3180
|
+
type: Array,
|
|
3181
|
+
default: () => []
|
|
3182
|
+
},
|
|
3183
|
+
selected: {
|
|
3184
|
+
type: [String, Number],
|
|
3185
|
+
default: ""
|
|
3186
|
+
},
|
|
3187
|
+
target: {
|
|
3188
|
+
type: Object,
|
|
3189
|
+
default: () => ({})
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
emits: ["change"],
|
|
3193
|
+
setup(t, { emit: e }) {
|
|
3194
|
+
const r = e;
|
|
3195
|
+
return (a, o) => (p(), G(d(Ur), {
|
|
3196
|
+
offset: 2,
|
|
3197
|
+
placement: "bottom-end",
|
|
3198
|
+
theme: "content",
|
|
3199
|
+
"append-to": t.target,
|
|
3200
|
+
"is-arrow-visible": !1
|
|
3201
|
+
}, {
|
|
3202
|
+
default: N(({ setRef: i, show: n, hide: s }) => [
|
|
3203
|
+
g("button", {
|
|
3204
|
+
ref: i,
|
|
3205
|
+
type: "button",
|
|
3206
|
+
onClick: Dr(n, ["stop"]),
|
|
3207
|
+
onFocus: n,
|
|
3208
|
+
onBlur: s
|
|
3209
|
+
}, [
|
|
3210
|
+
$(d(hs), { style: { width: "20px" } })
|
|
3211
|
+
], 40, fs)
|
|
3212
|
+
]),
|
|
3213
|
+
content: N(() => [
|
|
3214
|
+
g("ul", ys, [
|
|
3215
|
+
(p(!0), _(R, null, W(t.data, (i) => (p(), _("li", {
|
|
3216
|
+
key: i.championshipId,
|
|
3217
|
+
class: F(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
|
|
3218
|
+
onClick: (n) => r("change", i)
|
|
3219
|
+
}, w(i.name), 11, ws))), 128))
|
|
3220
|
+
])
|
|
3221
|
+
]),
|
|
3222
|
+
_: 1
|
|
3223
|
+
}, 8, ["append-to"]));
|
|
3224
|
+
}
|
|
3225
|
+
};
|
|
3226
|
+
function _s(t) {
|
|
3227
|
+
return t.map((e) => ({ ...e, w: Ot([e.w, e.otw, e.sow]), l: Ot([e.l, e.otl, e.sol]) }));
|
|
3228
|
+
}
|
|
3229
|
+
const ks = {
|
|
3230
|
+
__name: "DataProvider",
|
|
3231
|
+
props: {
|
|
3232
|
+
apiKey: {
|
|
3233
|
+
type: String,
|
|
3234
|
+
default: ""
|
|
3235
|
+
},
|
|
3236
|
+
data: {
|
|
3237
|
+
type: Array,
|
|
3238
|
+
default: () => []
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
setup(t) {
|
|
3242
|
+
const e = t, r = se({
|
|
3243
|
+
championshipId: Z(e.data).championshipId,
|
|
3244
|
+
phaseId: Z(e.data).phaseId,
|
|
3245
|
+
championshipName: Z(e.data).name,
|
|
3246
|
+
phaseName: Z(e.data).phase
|
|
3247
|
+
}), { state: a, isLoading: o, execute: i } = ee({
|
|
3248
|
+
options: {
|
|
3249
|
+
path: "/v2/standings",
|
|
3250
|
+
apiKey: e.apiKey,
|
|
3251
|
+
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3252
|
+
},
|
|
3253
|
+
transform: (l) => _s(l)
|
|
3254
|
+
// onError,
|
|
3255
|
+
});
|
|
3256
|
+
i();
|
|
3257
|
+
const n = A(() => Ue(a.value).addContinuousIndex().value());
|
|
3258
|
+
function s({ championshipId: l, phaseId: c, name: u, phase: m }) {
|
|
3259
|
+
r.championshipId = l, r.phaseId = c, r.championshipName = u, r.phaseName = m, i();
|
|
3260
|
+
}
|
|
3261
|
+
return (l, c) => ge(l.$slots, "default", $e(Ce({ convertedRows: n.value, isLoading: d(o), ...r, onChange: s })));
|
|
3262
|
+
}
|
|
3263
|
+
}, 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 = {
|
|
3264
|
+
__name: "StandingsSelector.ce",
|
|
3265
|
+
props: {
|
|
3266
|
+
locale: {
|
|
3267
|
+
type: String,
|
|
3268
|
+
default: "hu"
|
|
3269
|
+
},
|
|
3270
|
+
apiKey: {
|
|
3271
|
+
type: String,
|
|
3272
|
+
default: ""
|
|
3273
|
+
},
|
|
3274
|
+
data: {
|
|
3275
|
+
type: Array,
|
|
3276
|
+
default: () => []
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
setup(t) {
|
|
3280
|
+
const e = t, r = { en: ye, hu: we }, a = j(null);
|
|
3281
|
+
return (o, i) => (p(), G(d(fe), {
|
|
3282
|
+
locale: e.locale,
|
|
3283
|
+
messages: r
|
|
3284
|
+
}, {
|
|
3285
|
+
default: N(({ t: n }) => [
|
|
3286
|
+
$(d(Te), null, {
|
|
3287
|
+
default: N(({ error: s, hasError: l }) => [
|
|
3288
|
+
l ? (p(), G(d(Ne), {
|
|
3289
|
+
key: 0,
|
|
3290
|
+
error: s
|
|
3291
|
+
}, null, 8, ["error"])) : M("", !0),
|
|
3292
|
+
$(ks, { data: t.data }, {
|
|
3293
|
+
default: N(({ convertedRows: c, isLoading: u, phaseName: m, championshipName: f, phaseId: v, onChange: S }) => [
|
|
3294
|
+
g("div", Ts, [
|
|
3295
|
+
g("dl", null, [
|
|
3296
|
+
g("dt", null, w(n("selection.standings")), 1),
|
|
3297
|
+
g("dd", null, w(f) + " - " + w(m), 1),
|
|
3298
|
+
$(xs, {
|
|
3299
|
+
class: "is-championship-selector",
|
|
3300
|
+
data: t.data,
|
|
3301
|
+
selected: v,
|
|
3302
|
+
target: a.value,
|
|
3303
|
+
onChange: S
|
|
3304
|
+
}, null, 8, ["data", "selected", "target", "onChange"])
|
|
3305
|
+
]),
|
|
3306
|
+
$(d(Ht), {
|
|
3307
|
+
"is-loading": u,
|
|
3308
|
+
columns: d(jr),
|
|
3309
|
+
rows: c.rows,
|
|
3310
|
+
"append-to": a.value,
|
|
3311
|
+
"external-team-resolver": () => {
|
|
3312
|
+
}
|
|
3313
|
+
}, null, 8, ["is-loading", "columns", "rows", "append-to"]),
|
|
3314
|
+
$(d(je), {
|
|
3315
|
+
rows: c.rows,
|
|
3316
|
+
"additional-key": "inheritedPoints"
|
|
3317
|
+
}, null, 8, ["rows"]),
|
|
3318
|
+
$(d(je), {
|
|
3319
|
+
rows: c.rows,
|
|
3320
|
+
"additional-key": "penaltyPoints"
|
|
3321
|
+
}, null, 8, ["rows"])
|
|
3322
|
+
]),
|
|
3323
|
+
g("div", {
|
|
3324
|
+
ref_key: "tooltipContainer",
|
|
3325
|
+
ref: a
|
|
3326
|
+
}, null, 512)
|
|
3327
|
+
]),
|
|
3328
|
+
_: 2
|
|
3329
|
+
}, 1032, ["data"])
|
|
3330
|
+
]),
|
|
3331
|
+
_: 2
|
|
3332
|
+
}, 1024)
|
|
3333
|
+
]),
|
|
3334
|
+
_: 1
|
|
3335
|
+
}, 8, ["locale"]));
|
|
3336
|
+
}
|
|
3337
|
+
}, 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);
|
|
3338
|
+
function Os() {
|
|
3339
|
+
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);
|
|
3174
3340
|
}
|
|
3175
|
-
const
|
|
3176
|
-
install: () =>
|
|
3341
|
+
const Bs = {
|
|
3342
|
+
install: () => Os()
|
|
3177
3343
|
};
|
|
3178
3344
|
export {
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3345
|
+
ui as Calendar,
|
|
3346
|
+
Es as CalendarCE,
|
|
3347
|
+
Ri as Championship,
|
|
3348
|
+
Ds as ChampionshipCE,
|
|
3349
|
+
_n as GamesTimeline,
|
|
3350
|
+
Ms as GamesTimelineCE,
|
|
3351
|
+
Qn as IVRIdentifiers,
|
|
3352
|
+
Ps as IVRIdentifiersCE,
|
|
3353
|
+
ms as ScheduleCup,
|
|
3354
|
+
Ls as ScheduleCupCE,
|
|
3355
|
+
As as StandingsSelector,
|
|
3356
|
+
js as StandingsSelectorCE,
|
|
3357
|
+
Bs as default,
|
|
3358
|
+
Os as register
|
|
3191
3359
|
};
|