@mjsz-vbr-elements/liga 2.19.1 → 2.20.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 +893 -896
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/liga
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.20.0 - 09/03/2025, 08:40:39
|
|
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 { getCurrentScope as
|
|
9
|
-
import { ResponsiveTable as ie, DataTable as ce, FloatingPanel as ha, Image as V, I18NProvider as pe, ErrorProvider as ze, ErrorNotice as Se, SeasonSelector as fa, Paginator as ya, LoadingIndicator as at, BaseSelect as re, TimezoneSelector as
|
|
10
|
-
import { useError as ge, useServices as D, useI18n as Q, useColumns as ee, usePage as wa, useSort as At, useLazyLoadingState as Lt, useScrollToGameDate as
|
|
11
|
-
import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as
|
|
8
|
+
import { getCurrentScope as pr, onScopeDispose as gr, ref as K, isRef as Ie, watch as se, readonly as ba, nextTick as ma, toValue as $e, reactive as Z, computed as _, getCurrentInstance as ur, unref as n, renderSlot as xe, normalizeProps as ke, guardReactiveProps as _e, openBlock as d, createBlock as $, withCtx as k, createVNode as w, createElementVNode as c, normalizeClass as G, toDisplayString as b, createElementBlock as f, createCommentVNode as I, createTextVNode as W, setBlockTracking as Wt, Fragment as O, renderList as U, toRefs as va, toRef as br, withDirectives as mr, vModelText as vr, mergeProps as hr, toHandlers as fr, defineCustomElement as de } from "vue";
|
|
9
|
+
import { ResponsiveTable as ie, DataTable as ce, FloatingPanel as ha, Image as V, I18NProvider as pe, ErrorProvider as ze, ErrorNotice as Se, SeasonSelector as fa, Paginator as ya, LoadingIndicator as at, BaseSelect as re, TimezoneSelector as yr, AdditionalStandingsText as Yt, StatisticsTable as wr } from "@mjsz-vbr-elements/core/components";
|
|
10
|
+
import { useError as ge, useServices as D, useI18n as Q, useColumns as ee, usePage as wa, useSort as At, useLazyLoadingState as Lt, useScrollToGameDate as xr, useVisibilityChange as kr, fetchVBRData as Be } from "@mjsz-vbr-elements/core/composables";
|
|
11
|
+
import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as _r, rawConvert as rt, teamName as ot, convertTimesMinToMinSec as ka, sortGames as Ct, gameDateTime as _a, teamResultType as za, gameResult as Sa, teamOpponent as Ta, getLocalTimezone as it, offsetName as Et, externalGameLinkResolver as nt, flagResolver as Ia, playerName as lt, convert as Oe, externalPlayerLinkResolver as Ot, externalTeamLinkResolver as st, format as et, isBetween as zr, scrollToTop as Ht, convertPhaseName as Sr, convertTimesSecToMin as Tr, upperCase as Ir, localeSort as Jt } from "@mjsz-vbr-elements/core/utils";
|
|
12
12
|
import * as xt from "@mjsz-vbr-elements/core";
|
|
13
|
-
import { SORT_STATE_ASCEND as Ce, DEFAULT_PORTRAIT_IMAGE_URL as
|
|
13
|
+
import { SORT_STATE_ASCEND as Ce, DEFAULT_PORTRAIT_IMAGE_URL as Pr, gameProps as Pa, REFRESH_DELAY as Xt, SORT_STATE_DESCEND as B, playerStatsProps as Nr, teamStatsProps as $r } from "@mjsz-vbr-elements/core";
|
|
14
14
|
import { COLUMNS_STANDINGS_P_3 as Ar, COLUMNS_FIELD_PLAYERS as Ve, COLUMNS_FIELD_PLAYERS_PENALTY as Lr, COLUMNS_FIELD_PLAYERS_TOI as Cr, COLUMNS_GOALIES as Qt, COLUMNS_TEAM_ATTENDANCE as Er, COLUMNS_TEAMS_FAIRPLAY as Or, COLUMNS_TEAMS_PENALTY_KILLING as jr, COLUMNS_TEAMS_POWERPLAY as Rr, COLUMNS_SCORING_EFFICIENCY as Fr } from "@mjsz-vbr-elements/core/columns";
|
|
15
15
|
import { DEFAULT_PORTRAIT_IMAGE_URL as Zt } from "@mjsz-vbr-elements/core/constants";
|
|
16
16
|
const Gr = { report: "Report", video: "Video", season: "Season", section: "Section", phases: "Phases", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away" }, Mr = { nationality: { short: "Nationality", tooltip: "Nationality" }, birthDate: { short: "Birth Date", tooltip: "Birth Date" }, birthPlace: { short: "Birth Place", tooltip: "Birth Place" }, season: { short: "Season", tooltip: "Season" }, pp: { short: "PP", tooltip: "powerplay" }, pk: { short: "PK", tooltip: "Penalty Killing" } }, Dr = { toi: "Time On Ice", 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" }, Kr = { Negyeddöntő: "Quarterfinal", Elődöntő: "Semifinal", Döntő: "Final" }, Ur = { tabs: { teamInfo: "Informations", games: "Games" }, goalies: "Goalies", defenders: "Defenders", forwards: "Forwards", fieldPlayers: "Field Players", games: "Games", teamInfo: "Organization Informations", roster: "Roster", playerStats: "Player Stats", info: { organizationName: "Organization name:", organizationCountry: "Organization country:", organizationEmail: "Organization e-mail:", organizationWebpage: "Organization homepage:", organizationPhoneNumber: "Organization phone number:", organizationAddresses: "Organization address:", organizationFoundingDate: "Organization founding year:" } }, Br = { age: "{years} old", games: "Games", seasons: "Seasons" }, Vr = { live: "Live", default: "Overall" }, qr = { hu: "Hungarian", ro: "Romanian", us: "American", il: "Izraelian", ca: "Canadian", lv: "Latvian", ee: "Estonian", ru: "Russian", fi: "Finnish", si: "Slovenian", sk: "Slovakian", nl: "Netherlands", by: "Belarusian", cz: "Czech", ua: "Ukrainian", lt: "Lithuanian", it: "Italian", "gb-eng": "English", rs: "Serbian", se: "Swedish", de: "German", gb: "British", kz: "Kazah", dk: "Danish", pl: "Polish", at: "Austrian", ch: "Swiss", fr: "French", es: "Spanish", hr: "Croatian", no: "Norwegian" }, ue = {
|
|
@@ -33,7 +33,7 @@ const Gr = { report: "Report", video: "Video", season: "Season", section: "Secti
|
|
|
33
33
|
nationality: eo
|
|
34
34
|
};
|
|
35
35
|
function je(e) {
|
|
36
|
-
return
|
|
36
|
+
return pr() ? (gr(e), !0) : !1;
|
|
37
37
|
}
|
|
38
38
|
const Re = typeof window < "u" && typeof document < "u";
|
|
39
39
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -47,8 +47,8 @@ function oo(e, t) {
|
|
|
47
47
|
}
|
|
48
48
|
return a;
|
|
49
49
|
}
|
|
50
|
-
const
|
|
51
|
-
function io(e =
|
|
50
|
+
const Na = (e) => e();
|
|
51
|
+
function io(e = Na) {
|
|
52
52
|
const t = K(!0);
|
|
53
53
|
function a() {
|
|
54
54
|
t.value = !1;
|
|
@@ -66,7 +66,7 @@ function kt(e) {
|
|
|
66
66
|
}
|
|
67
67
|
function no(e, t, a = {}) {
|
|
68
68
|
const {
|
|
69
|
-
eventFilter: r =
|
|
69
|
+
eventFilter: r = Na,
|
|
70
70
|
...o
|
|
71
71
|
} = a;
|
|
72
72
|
return se(
|
|
@@ -82,7 +82,7 @@ function lo(e, t, a = {}) {
|
|
|
82
82
|
const {
|
|
83
83
|
eventFilter: r,
|
|
84
84
|
...o
|
|
85
|
-
} = a, { eventFilter: i, pause: l, resume: s, isActive:
|
|
85
|
+
} = a, { eventFilter: i, pause: l, resume: s, isActive: p } = io(r);
|
|
86
86
|
return { stop: no(
|
|
87
87
|
e,
|
|
88
88
|
t,
|
|
@@ -90,7 +90,7 @@ function lo(e, t, a = {}) {
|
|
|
90
90
|
...o,
|
|
91
91
|
eventFilter: i
|
|
92
92
|
}
|
|
93
|
-
), pause: l, resume: s, isActive:
|
|
93
|
+
), pause: l, resume: s, isActive: p };
|
|
94
94
|
}
|
|
95
95
|
function so(e, t = 1e3, a = {}) {
|
|
96
96
|
const {
|
|
@@ -102,26 +102,26 @@ function so(e, t = 1e3, a = {}) {
|
|
|
102
102
|
function s() {
|
|
103
103
|
i && (clearInterval(i), i = null);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function p() {
|
|
106
106
|
l.value = !1, s();
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function u() {
|
|
109
109
|
const v = $e(t);
|
|
110
110
|
v <= 0 || (l.value = !0, o && e(), s(), l.value && (i = setInterval(e, v)));
|
|
111
111
|
}
|
|
112
|
-
if (r && Re &&
|
|
112
|
+
if (r && Re && u(), Ie(t) || typeof t == "function") {
|
|
113
113
|
const v = se(t, () => {
|
|
114
|
-
l.value && Re &&
|
|
114
|
+
l.value && Re && u();
|
|
115
115
|
});
|
|
116
116
|
je(v);
|
|
117
117
|
}
|
|
118
|
-
return je(
|
|
118
|
+
return je(p), {
|
|
119
119
|
isActive: l,
|
|
120
|
-
pause:
|
|
121
|
-
resume:
|
|
120
|
+
pause: p,
|
|
121
|
+
resume: u
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function $a(e, t, a = {}) {
|
|
125
125
|
const {
|
|
126
126
|
immediate: r = !0
|
|
127
127
|
} = a, o = K(!1);
|
|
@@ -132,14 +132,14 @@ function Na(e, t, a = {}) {
|
|
|
132
132
|
function s() {
|
|
133
133
|
o.value = !1, l();
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function p(...u) {
|
|
136
136
|
l(), o.value = !0, i = setTimeout(() => {
|
|
137
|
-
o.value = !1, i = null, e(...
|
|
137
|
+
o.value = !1, i = null, e(...u);
|
|
138
138
|
}, $e(t));
|
|
139
139
|
}
|
|
140
|
-
return r && (o.value = !0, Re &&
|
|
140
|
+
return r && (o.value = !0, Re && p()), je(s), {
|
|
141
141
|
isPending: ba(o),
|
|
142
|
-
start:
|
|
142
|
+
start: p,
|
|
143
143
|
stop: s
|
|
144
144
|
};
|
|
145
145
|
}
|
|
@@ -157,8 +157,8 @@ function po(e, t, a) {
|
|
|
157
157
|
const r = se(e, (...o) => (ma(() => r()), t(...o)), a);
|
|
158
158
|
return r;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
160
|
+
const Aa = Re ? window : void 0;
|
|
161
|
+
function La(e) {
|
|
162
162
|
var t;
|
|
163
163
|
const a = $e(e);
|
|
164
164
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
@@ -166,28 +166,28 @@ function Aa(e) {
|
|
|
166
166
|
function ea(...e) {
|
|
167
167
|
const t = [], a = () => {
|
|
168
168
|
t.forEach((s) => s()), t.length = 0;
|
|
169
|
-
}, r = (s,
|
|
170
|
-
const s = kt($e(e[0])).filter((
|
|
171
|
-
return s.every((
|
|
169
|
+
}, r = (s, p, u, v) => (s.addEventListener(p, u, v), () => s.removeEventListener(p, u, v)), o = _(() => {
|
|
170
|
+
const s = kt($e(e[0])).filter((p) => p != null);
|
|
171
|
+
return s.every((p) => typeof p != "string") ? s : void 0;
|
|
172
172
|
}), i = co(
|
|
173
173
|
() => {
|
|
174
|
-
var s,
|
|
174
|
+
var s, p;
|
|
175
175
|
return [
|
|
176
|
-
(
|
|
176
|
+
(p = (s = o.value) == null ? void 0 : s.map((u) => La(u))) != null ? p : [Aa].filter((u) => u != null),
|
|
177
177
|
kt($e(o.value ? e[1] : e[0])),
|
|
178
178
|
kt(n(o.value ? e[2] : e[1])),
|
|
179
179
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
180
180
|
$e(o.value ? e[3] : e[2])
|
|
181
181
|
];
|
|
182
182
|
},
|
|
183
|
-
([s,
|
|
184
|
-
if (a(), !(s != null && s.length) || !(
|
|
183
|
+
([s, p, u, v]) => {
|
|
184
|
+
if (a(), !(s != null && s.length) || !(p != null && p.length) || !(u != null && u.length))
|
|
185
185
|
return;
|
|
186
|
-
const
|
|
186
|
+
const h = ro(v) ? { ...v } : v;
|
|
187
187
|
t.push(
|
|
188
188
|
...s.flatMap(
|
|
189
|
-
(m) =>
|
|
190
|
-
(
|
|
189
|
+
(m) => p.flatMap(
|
|
190
|
+
(g) => u.map((x) => r(m, g, x, h))
|
|
191
191
|
)
|
|
192
192
|
)
|
|
193
193
|
);
|
|
@@ -209,30 +209,30 @@ function te(e, t) {
|
|
|
209
209
|
fulfilled: "fulfilled",
|
|
210
210
|
pending: "pending",
|
|
211
211
|
rejected: "rejected"
|
|
212
|
-
}, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })),
|
|
212
|
+
}, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })), p = Z(s), u = K(-1);
|
|
213
213
|
if (!e || e.length === 0)
|
|
214
214
|
return o(), {
|
|
215
|
-
activeIndex:
|
|
216
|
-
result:
|
|
215
|
+
activeIndex: u,
|
|
216
|
+
result: p
|
|
217
217
|
};
|
|
218
|
-
function v(
|
|
219
|
-
|
|
218
|
+
function v(h, m) {
|
|
219
|
+
u.value++, p[u.value].data = m, p[u.value].state = h;
|
|
220
220
|
}
|
|
221
|
-
return e.reduce((
|
|
222
|
-
var
|
|
221
|
+
return e.reduce((h, m) => h.then((g) => {
|
|
222
|
+
var x;
|
|
223
223
|
if (i != null && i.aborted) {
|
|
224
224
|
v(l.aborted, new Error("aborted"));
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
if (((
|
|
227
|
+
if (((x = p[u.value]) == null ? void 0 : x.state) === l.rejected && a) {
|
|
228
228
|
o();
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
|
-
const P = m(
|
|
231
|
+
const P = m(g).then((A) => (v(l.fulfilled, A), u.value === e.length - 1 && o(), A));
|
|
232
232
|
return i ? Promise.race([P, go(i)]) : P;
|
|
233
|
-
}).catch((
|
|
234
|
-
activeIndex:
|
|
235
|
-
result:
|
|
233
|
+
}).catch((g) => i != null && i.aborted ? (v(l.aborted, g), g) : (v(l.rejected, g), r(), g)), Promise.resolve()), {
|
|
234
|
+
activeIndex: u,
|
|
235
|
+
result: p
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
238
|
function go(e) {
|
|
@@ -247,19 +247,19 @@ function uo(e) {
|
|
|
247
247
|
function bo(e, t, a = {}) {
|
|
248
248
|
const {
|
|
249
249
|
immediate: r = !0
|
|
250
|
-
} = a, { start: o } =
|
|
250
|
+
} = a, { start: o } = $a(l, t, { immediate: !1 }), i = K(!1);
|
|
251
251
|
async function l() {
|
|
252
252
|
i.value && (await e(), o());
|
|
253
253
|
}
|
|
254
254
|
function s() {
|
|
255
255
|
i.value || (i.value = !0, l());
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function p() {
|
|
258
258
|
i.value = !1;
|
|
259
259
|
}
|
|
260
|
-
return r && Re && s(), je(
|
|
260
|
+
return r && Re && s(), je(p), {
|
|
261
261
|
isActive: i,
|
|
262
|
-
pause:
|
|
262
|
+
pause: p,
|
|
263
263
|
resume: s
|
|
264
264
|
};
|
|
265
265
|
}
|
|
@@ -270,22 +270,22 @@ function Te(e = "history", t = {}) {
|
|
|
270
270
|
removeFalsyValues: o = !1,
|
|
271
271
|
write: i = !0,
|
|
272
272
|
writeMode: l = "replace",
|
|
273
|
-
window: s =
|
|
273
|
+
window: s = Aa
|
|
274
274
|
} = t;
|
|
275
275
|
if (!s)
|
|
276
276
|
return Z(a);
|
|
277
|
-
const
|
|
278
|
-
function
|
|
277
|
+
const p = Z({});
|
|
278
|
+
function u() {
|
|
279
279
|
if (e === "history")
|
|
280
280
|
return s.location.search || "";
|
|
281
281
|
if (e === "hash") {
|
|
282
|
-
const
|
|
283
|
-
return S > 0 ?
|
|
282
|
+
const y = s.location.hash || "", S = y.indexOf("?");
|
|
283
|
+
return S > 0 ? y.slice(S) : "";
|
|
284
284
|
} else
|
|
285
285
|
return (s.location.hash || "").replace(/^#/, "");
|
|
286
286
|
}
|
|
287
|
-
function v(
|
|
288
|
-
const S =
|
|
287
|
+
function v(y) {
|
|
288
|
+
const S = y.toString();
|
|
289
289
|
if (e === "history")
|
|
290
290
|
return `${S ? `?${S}` : ""}${s.location.hash || ""}`;
|
|
291
291
|
if (e === "hash-params")
|
|
@@ -293,69 +293,69 @@ function Te(e = "history", t = {}) {
|
|
|
293
293
|
const T = s.location.hash || "#", C = T.indexOf("?");
|
|
294
294
|
return C > 0 ? `${s.location.search || ""}${T.slice(0, C)}${S ? `?${S}` : ""}` : `${s.location.search || ""}${T}${S ? `?${S}` : ""}`;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return new URLSearchParams(
|
|
296
|
+
function h() {
|
|
297
|
+
return new URLSearchParams(u());
|
|
298
298
|
}
|
|
299
|
-
function m(
|
|
300
|
-
const S = new Set(Object.keys(
|
|
301
|
-
for (const T of
|
|
302
|
-
const C =
|
|
303
|
-
|
|
299
|
+
function m(y) {
|
|
300
|
+
const S = new Set(Object.keys(p));
|
|
301
|
+
for (const T of y.keys()) {
|
|
302
|
+
const C = y.getAll(T);
|
|
303
|
+
p[T] = C.length > 1 ? C : y.get(T) || "", S.delete(T);
|
|
304
304
|
}
|
|
305
|
-
Array.from(S).forEach((T) => delete
|
|
305
|
+
Array.from(S).forEach((T) => delete p[T]);
|
|
306
306
|
}
|
|
307
|
-
const { pause:
|
|
308
|
-
|
|
307
|
+
const { pause: g, resume: x } = lo(
|
|
308
|
+
p,
|
|
309
309
|
() => {
|
|
310
|
-
const
|
|
311
|
-
Object.keys(
|
|
312
|
-
const T =
|
|
313
|
-
Array.isArray(T) ? T.forEach((C) =>
|
|
314
|
-
}), P(
|
|
310
|
+
const y = new URLSearchParams("");
|
|
311
|
+
Object.keys(p).forEach((S) => {
|
|
312
|
+
const T = p[S];
|
|
313
|
+
Array.isArray(T) ? T.forEach((C) => y.append(S, C)) : r && T == null || o && !T ? y.delete(S) : y.set(S, T);
|
|
314
|
+
}), P(y, !1);
|
|
315
315
|
},
|
|
316
316
|
{ deep: !0 }
|
|
317
317
|
);
|
|
318
|
-
function P(
|
|
319
|
-
|
|
318
|
+
function P(y, S) {
|
|
319
|
+
g(), S && m(y), l === "replace" ? s.history.replaceState(
|
|
320
320
|
s.history.state,
|
|
321
321
|
s.document.title,
|
|
322
|
-
s.location.pathname + v(
|
|
322
|
+
s.location.pathname + v(y)
|
|
323
323
|
) : s.history.pushState(
|
|
324
324
|
s.history.state,
|
|
325
325
|
s.document.title,
|
|
326
|
-
s.location.pathname + v(
|
|
327
|
-
),
|
|
326
|
+
s.location.pathname + v(y)
|
|
327
|
+
), x();
|
|
328
328
|
}
|
|
329
|
-
function
|
|
330
|
-
i && P(
|
|
329
|
+
function A() {
|
|
330
|
+
i && P(h(), !0);
|
|
331
331
|
}
|
|
332
|
-
const
|
|
333
|
-
ea(s, "popstate",
|
|
334
|
-
const L =
|
|
335
|
-
return L.keys().next().value ? m(L) : Object.assign(
|
|
332
|
+
const z = { passive: !0 };
|
|
333
|
+
ea(s, "popstate", A, z), e !== "history" && ea(s, "hashchange", A, z);
|
|
334
|
+
const L = h();
|
|
335
|
+
return L.keys().next().value ? m(L) : Object.assign(p, a), p;
|
|
336
336
|
}
|
|
337
337
|
function mo(e, t, a, r = {}) {
|
|
338
338
|
var o, i, l;
|
|
339
339
|
const {
|
|
340
340
|
clone: s = !1,
|
|
341
|
-
passive:
|
|
342
|
-
eventName:
|
|
341
|
+
passive: p = !1,
|
|
342
|
+
eventName: u,
|
|
343
343
|
deep: v = !1,
|
|
344
|
-
defaultValue:
|
|
344
|
+
defaultValue: h,
|
|
345
345
|
shouldEmit: m
|
|
346
|
-
} = r,
|
|
347
|
-
let P =
|
|
346
|
+
} = r, g = ur(), x = a || (g == null ? void 0 : g.emit) || ((o = g == null ? void 0 : g.$emit) == null ? void 0 : o.bind(g)) || ((l = (i = g == null ? void 0 : g.proxy) == null ? void 0 : i.$emit) == null ? void 0 : l.bind(g == null ? void 0 : g.proxy));
|
|
347
|
+
let P = u;
|
|
348
348
|
t || (t = "modelValue"), P = P || `update:${t.toString()}`;
|
|
349
|
-
const
|
|
350
|
-
m ? m(
|
|
349
|
+
const A = (y) => s ? typeof s == "function" ? s(y) : uo(y) : y, z = () => to(e[t]) ? A(e[t]) : h, L = (y) => {
|
|
350
|
+
m ? m(y) && x(P, y) : x(P, y);
|
|
351
351
|
};
|
|
352
|
-
if (
|
|
353
|
-
const
|
|
352
|
+
if (p) {
|
|
353
|
+
const y = z(), S = K(y);
|
|
354
354
|
let T = !1;
|
|
355
355
|
return se(
|
|
356
356
|
() => e[t],
|
|
357
357
|
(C) => {
|
|
358
|
-
T || (T = !0, S.value =
|
|
358
|
+
T || (T = !0, S.value = A(C), ma(() => T = !1));
|
|
359
359
|
}
|
|
360
360
|
), se(
|
|
361
361
|
S,
|
|
@@ -367,14 +367,14 @@ function mo(e, t, a, r = {}) {
|
|
|
367
367
|
} else
|
|
368
368
|
return _({
|
|
369
369
|
get() {
|
|
370
|
-
return
|
|
370
|
+
return z();
|
|
371
371
|
},
|
|
372
|
-
set(
|
|
373
|
-
L(
|
|
372
|
+
set(y) {
|
|
373
|
+
L(y);
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Ca(e, t, a = {}) {
|
|
378
378
|
const r = {};
|
|
379
379
|
for (const o in e)
|
|
380
380
|
r[o] = mo(
|
|
@@ -442,19 +442,19 @@ function ct(e, t) {
|
|
|
442
442
|
return t.apply(this, arguments);
|
|
443
443
|
};
|
|
444
444
|
case 7:
|
|
445
|
-
return function(a, r, o, i, l, s,
|
|
445
|
+
return function(a, r, o, i, l, s, p) {
|
|
446
446
|
return t.apply(this, arguments);
|
|
447
447
|
};
|
|
448
448
|
case 8:
|
|
449
|
-
return function(a, r, o, i, l, s,
|
|
449
|
+
return function(a, r, o, i, l, s, p, u) {
|
|
450
450
|
return t.apply(this, arguments);
|
|
451
451
|
};
|
|
452
452
|
case 9:
|
|
453
|
-
return function(a, r, o, i, l, s,
|
|
453
|
+
return function(a, r, o, i, l, s, p, u, v) {
|
|
454
454
|
return t.apply(this, arguments);
|
|
455
455
|
};
|
|
456
456
|
case 10:
|
|
457
|
-
return function(a, r, o, i, l, s,
|
|
457
|
+
return function(a, r, o, i, l, s, p, u, v, h) {
|
|
458
458
|
return t.apply(this, arguments);
|
|
459
459
|
};
|
|
460
460
|
default:
|
|
@@ -464,13 +464,13 @@ function ct(e, t) {
|
|
|
464
464
|
function jt(e, t, a) {
|
|
465
465
|
return function() {
|
|
466
466
|
for (var r = [], o = 0, i = e, l = 0, s = !1; l < t.length || o < arguments.length; ) {
|
|
467
|
-
var
|
|
468
|
-
l < t.length && (!R(t[l]) || o >= arguments.length) ?
|
|
467
|
+
var p;
|
|
468
|
+
l < t.length && (!R(t[l]) || o >= arguments.length) ? p = t[l] : (p = arguments[o], o += 1), r[l] = p, R(p) ? s = !0 : i -= 1, l += 1;
|
|
469
469
|
}
|
|
470
470
|
return !s && i <= 0 ? a.apply(this, r) : ct(Math.max(0, i), jt(e, r, a));
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
var
|
|
473
|
+
var Ea = /* @__PURE__ */ F(function(t, a) {
|
|
474
474
|
return t === 1 ? M(a) : ct(t, jt(t, [], a));
|
|
475
475
|
});
|
|
476
476
|
function Y(e) {
|
|
@@ -570,7 +570,7 @@ function yo(e, t) {
|
|
|
570
570
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
571
571
|
}
|
|
572
572
|
const _t = typeof Object.is == "function" ? Object.is : yo;
|
|
573
|
-
var aa = Object.prototype.toString,
|
|
573
|
+
var aa = Object.prototype.toString, Oa = /* @__PURE__ */ function() {
|
|
574
574
|
return aa.call(arguments) === "[object Arguments]" ? function(t) {
|
|
575
575
|
return aa.call(t) === "[object Arguments]";
|
|
576
576
|
} : function(t) {
|
|
@@ -592,7 +592,7 @@ var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
|
|
|
592
592
|
} : function(t) {
|
|
593
593
|
if (Object(t) !== t)
|
|
594
594
|
return [];
|
|
595
|
-
var a, r, o = [], i = oa &&
|
|
595
|
+
var a, r, o = [], i = oa && Oa(t);
|
|
596
596
|
for (a in t)
|
|
597
597
|
X(a, t) && (!i || a !== "length") && (o[o.length] = a);
|
|
598
598
|
if (wo)
|
|
@@ -604,11 +604,11 @@ var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
|
|
|
604
604
|
});
|
|
605
605
|
function ia(e, t, a, r) {
|
|
606
606
|
var o = ta(e), i = ta(t);
|
|
607
|
-
function l(s,
|
|
608
|
-
return Ft(s,
|
|
607
|
+
function l(s, p) {
|
|
608
|
+
return Ft(s, p, a.slice(), r.slice());
|
|
609
609
|
}
|
|
610
|
-
return !Pt(function(s,
|
|
611
|
-
return !Pt(l,
|
|
610
|
+
return !Pt(function(s, p) {
|
|
611
|
+
return !Pt(l, p, s);
|
|
612
612
|
}, i, o);
|
|
613
613
|
}
|
|
614
614
|
function Ft(e, t, a, r) {
|
|
@@ -681,10 +681,10 @@ function Ft(e, t, a, r) {
|
|
|
681
681
|
var l = ye(e);
|
|
682
682
|
if (l.length !== ye(t).length)
|
|
683
683
|
return !1;
|
|
684
|
-
var s = a.concat([e]),
|
|
684
|
+
var s = a.concat([e]), p = r.concat([t]);
|
|
685
685
|
for (i = l.length - 1; i >= 0; ) {
|
|
686
|
-
var
|
|
687
|
-
if (!(X(
|
|
686
|
+
var u = l[i];
|
|
687
|
+
if (!(X(u, t) && Ft(t[u], e[u], s, p)))
|
|
688
688
|
return !1;
|
|
689
689
|
i -= 1;
|
|
690
690
|
}
|
|
@@ -693,7 +693,7 @@ function Ft(e, t, a, r) {
|
|
|
693
693
|
var dt = /* @__PURE__ */ F(function(t, a) {
|
|
694
694
|
return Ft(t, a, [], []);
|
|
695
695
|
});
|
|
696
|
-
function
|
|
696
|
+
function ja(e, t, a) {
|
|
697
697
|
var r, o;
|
|
698
698
|
if (typeof e.indexOf == "function")
|
|
699
699
|
switch (typeof t) {
|
|
@@ -732,7 +732,7 @@ function Oa(e, t, a) {
|
|
|
732
732
|
return -1;
|
|
733
733
|
}
|
|
734
734
|
function ko(e, t) {
|
|
735
|
-
return
|
|
735
|
+
return ja(t, e, 0) >= 0;
|
|
736
736
|
}
|
|
737
737
|
function qe(e, t) {
|
|
738
738
|
for (var a = 0, r = t.length, o = Array(r); a < r; )
|
|
@@ -755,17 +755,17 @@ function zo(e) {
|
|
|
755
755
|
return !e.apply(this, arguments);
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function Ra(e, t, a) {
|
|
759
759
|
for (var r = 0, o = a.length; r < o; )
|
|
760
760
|
t = e(t, a[r]), r += 1;
|
|
761
761
|
return t;
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Fa(e, t) {
|
|
764
764
|
for (var a = 0, r = t.length, o = []; a < r; )
|
|
765
765
|
e(t[a]) && (o[o.length] = t[a]), a += 1;
|
|
766
766
|
return o;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Ga(e) {
|
|
769
769
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
770
770
|
}
|
|
771
771
|
var So = /* @__PURE__ */ function() {
|
|
@@ -782,19 +782,19 @@ function To(e) {
|
|
|
782
782
|
};
|
|
783
783
|
}
|
|
784
784
|
var Gt = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/filter", "filter"], To, function(e, t) {
|
|
785
|
-
return
|
|
785
|
+
return Ga(t) ? Ra(function(a, r) {
|
|
786
786
|
return e(t[r]) && (a[r] = t[r]), a;
|
|
787
787
|
}, {}, ye(t)) : (
|
|
788
788
|
// else
|
|
789
|
-
|
|
789
|
+
Fa(e, t)
|
|
790
790
|
);
|
|
791
791
|
})), pt = /* @__PURE__ */ F(function(t, a) {
|
|
792
792
|
return Gt(zo(t), a);
|
|
793
793
|
});
|
|
794
|
-
function
|
|
794
|
+
function Ma(e, t) {
|
|
795
795
|
var a = function(l) {
|
|
796
796
|
var s = t.concat([e]);
|
|
797
|
-
return ko(l, s) ? "<Circular>" :
|
|
797
|
+
return ko(l, s) ? "<Circular>" : Ma(l, s);
|
|
798
798
|
}, r = function(i, l) {
|
|
799
799
|
return qe(function(s) {
|
|
800
800
|
return zt(s) + ": " + a(i[s]);
|
|
@@ -833,7 +833,7 @@ function Ga(e, t) {
|
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
var Io = /* @__PURE__ */ M(function(t) {
|
|
836
|
-
return
|
|
836
|
+
return Ma(t, []);
|
|
837
837
|
}), Po = /* @__PURE__ */ function() {
|
|
838
838
|
function e(t, a) {
|
|
839
839
|
this.xf = a, this.f = t;
|
|
@@ -848,11 +848,11 @@ var Io = /* @__PURE__ */ M(function(t) {
|
|
|
848
848
|
}, me = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/map", "map"], No, function(t, a) {
|
|
849
849
|
switch (Object.prototype.toString.call(a)) {
|
|
850
850
|
case "[object Function]":
|
|
851
|
-
return
|
|
851
|
+
return Ea(a.length, function() {
|
|
852
852
|
return t.call(this, a.apply(this, arguments));
|
|
853
853
|
});
|
|
854
854
|
case "[object Object]":
|
|
855
|
-
return
|
|
855
|
+
return Ra(function(r, o) {
|
|
856
856
|
return r[o] = t(a[o]), r;
|
|
857
857
|
}, {}, ye(a));
|
|
858
858
|
default:
|
|
@@ -920,7 +920,7 @@ function Eo(e, t, a) {
|
|
|
920
920
|
function Oo(e, t, a, r) {
|
|
921
921
|
return e["@@transducer/result"](a[r](Co(e["@@transducer/step"], e), t));
|
|
922
922
|
}
|
|
923
|
-
var
|
|
923
|
+
var Da = /* @__PURE__ */ Ao(Lo, Oo, Eo), jo = /* @__PURE__ */ function() {
|
|
924
924
|
function e(t) {
|
|
925
925
|
this.f = t;
|
|
926
926
|
}
|
|
@@ -932,12 +932,12 @@ var Ma = /* @__PURE__ */ Ao(Lo, Oo, Eo), jo = /* @__PURE__ */ function() {
|
|
|
932
932
|
return this.f(t, a);
|
|
933
933
|
}, e;
|
|
934
934
|
}();
|
|
935
|
-
function
|
|
935
|
+
function Ka(e) {
|
|
936
936
|
return new jo(e);
|
|
937
937
|
}
|
|
938
938
|
var Ro = /* @__PURE__ */ Y(function(e, t, a) {
|
|
939
|
-
return
|
|
940
|
-
}),
|
|
939
|
+
return Da(typeof e == "function" ? Ka(e) : e, t, a);
|
|
940
|
+
}), Ua = /* @__PURE__ */ M(function(t) {
|
|
941
941
|
for (var a = ye(t), r = a.length, o = [], i = 0; i < r; )
|
|
942
942
|
o[i] = t[a[i]], i += 1;
|
|
943
943
|
return o;
|
|
@@ -1067,18 +1067,18 @@ function Dt(e, t) {
|
|
|
1067
1067
|
var Yo = /* @__PURE__ */ Y(/* @__PURE__ */ Dt("slice", function(t, a, r) {
|
|
1068
1068
|
return Array.prototype.slice.call(r, t, a);
|
|
1069
1069
|
})), Ho = /* @__PURE__ */ M(/* @__PURE__ */ Dt("tail", /* @__PURE__ */ Yo(1, 1 / 0)));
|
|
1070
|
-
function
|
|
1070
|
+
function Ba() {
|
|
1071
1071
|
if (arguments.length === 0)
|
|
1072
1072
|
throw new Error("pipe requires at least one argument");
|
|
1073
1073
|
return ct(arguments[0].length, Ro(Wo, arguments[0], Ho(arguments)));
|
|
1074
1074
|
}
|
|
1075
|
-
var
|
|
1075
|
+
var Va = /* @__PURE__ */ M(function(t) {
|
|
1076
1076
|
return ut(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
|
|
1077
1077
|
});
|
|
1078
1078
|
function ae() {
|
|
1079
1079
|
if (arguments.length === 0)
|
|
1080
1080
|
throw new Error("compose requires at least one argument");
|
|
1081
|
-
return
|
|
1081
|
+
return Ba.apply(this, Va(arguments));
|
|
1082
1082
|
}
|
|
1083
1083
|
var fe = /* @__PURE__ */ M(function(e) {
|
|
1084
1084
|
return bt(0, e);
|
|
@@ -1104,16 +1104,16 @@ function Xo(e, t, a) {
|
|
|
1104
1104
|
return new Jo(e, t, a, r);
|
|
1105
1105
|
};
|
|
1106
1106
|
}
|
|
1107
|
-
var
|
|
1108
|
-
var i =
|
|
1109
|
-
var
|
|
1110
|
-
return
|
|
1107
|
+
var qa = /* @__PURE__ */ jt(4, [], /* @__PURE__ */ Rt([], Xo, function(t, a, r, o) {
|
|
1108
|
+
var i = Ka(function(l, s) {
|
|
1109
|
+
var p = r(s), u = t(X(p, l) ? l[p] : mt(a, !1), s);
|
|
1110
|
+
return u && u["@@transducer/reduced"] ? ho(l) : (l[p] = u, l);
|
|
1111
1111
|
});
|
|
1112
|
-
return
|
|
1112
|
+
return Da(i, {}, o);
|
|
1113
1113
|
})), Pe = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1114
1114
|
var o = t(a), i = t(r);
|
|
1115
1115
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1116
|
-
}),
|
|
1116
|
+
}), Wa = /* @__PURE__ */ M(function(e) {
|
|
1117
1117
|
return bt(-1, e);
|
|
1118
1118
|
});
|
|
1119
1119
|
function Qo(e) {
|
|
@@ -1121,17 +1121,17 @@ function Qo(e) {
|
|
|
1121
1121
|
return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
|
|
1122
1122
|
}
|
|
1123
1123
|
var Zo = /* @__PURE__ */ M(function(t) {
|
|
1124
|
-
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Ae(t) ? [] : ut(t) ? "" :
|
|
1124
|
+
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Ae(t) ? [] : ut(t) ? "" : Ga(t) ? {} : Oa(t) ? /* @__PURE__ */ function() {
|
|
1125
1125
|
return arguments;
|
|
1126
1126
|
}() : Qo(t) ? t.constructor.from("") : void 0;
|
|
1127
|
-
}), ei = /* @__PURE__ */ F(/* @__PURE__ */ Dt("groupBy", /* @__PURE__ */
|
|
1127
|
+
}), ei = /* @__PURE__ */ F(/* @__PURE__ */ Dt("groupBy", /* @__PURE__ */ qa(function(e, t) {
|
|
1128
1128
|
return e.push(t), e;
|
|
1129
|
-
}, []))), la = /* @__PURE__ */
|
|
1129
|
+
}, []))), la = /* @__PURE__ */ qa(function(e, t) {
|
|
1130
1130
|
return t;
|
|
1131
1131
|
}, null), ti = /* @__PURE__ */ F(function(t, a) {
|
|
1132
|
-
return typeof a.indexOf == "function" && !Ae(a) ? a.indexOf(t) :
|
|
1132
|
+
return typeof a.indexOf == "function" && !Ae(a) ? a.indexOf(t) : ja(a, t, 0);
|
|
1133
1133
|
}), ai = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1134
|
-
return
|
|
1134
|
+
return Fa(function(o) {
|
|
1135
1135
|
return Pt(t, o, r);
|
|
1136
1136
|
}, a);
|
|
1137
1137
|
});
|
|
@@ -1148,8 +1148,8 @@ function ri(e) {
|
|
|
1148
1148
|
return t;
|
|
1149
1149
|
}
|
|
1150
1150
|
const oi = typeof Object.assign == "function" ? Object.assign : ri;
|
|
1151
|
-
var
|
|
1152
|
-
return
|
|
1151
|
+
var Ya = /* @__PURE__ */ F(function(t, a) {
|
|
1152
|
+
return Ea(t + 1, function() {
|
|
1153
1153
|
var r = arguments[t];
|
|
1154
1154
|
if (r != null && Ko(r[a]))
|
|
1155
1155
|
return r[a].apply(r, Array.prototype.slice.call(arguments, 0, t));
|
|
@@ -1157,7 +1157,7 @@ var Wa = /* @__PURE__ */ F(function(t, a) {
|
|
|
1157
1157
|
});
|
|
1158
1158
|
}), ii = /* @__PURE__ */ M(function(t) {
|
|
1159
1159
|
return t != null && dt(t, Zo(t));
|
|
1160
|
-
}), ni = /* @__PURE__ */
|
|
1160
|
+
}), ni = /* @__PURE__ */ Ya(1, "join"), li = /* @__PURE__ */ F(function(t, a) {
|
|
1161
1161
|
return function(r) {
|
|
1162
1162
|
return function(o) {
|
|
1163
1163
|
return me(function(i) {
|
|
@@ -1166,7 +1166,7 @@ var Wa = /* @__PURE__ */ F(function(t, a) {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
};
|
|
1168
1168
|
});
|
|
1169
|
-
function
|
|
1169
|
+
function Ha(e, t) {
|
|
1170
1170
|
for (var a = t, r = 0; r < e.length; r += 1) {
|
|
1171
1171
|
if (a == null)
|
|
1172
1172
|
return;
|
|
@@ -1197,24 +1197,24 @@ var si = /* @__PURE__ */ M(function(t) {
|
|
|
1197
1197
|
for (var s in a)
|
|
1198
1198
|
o.hasOwnProperty(s) || (r[s] = a[s]);
|
|
1199
1199
|
return r;
|
|
1200
|
-
}),
|
|
1200
|
+
}), Ja = function(e) {
|
|
1201
1201
|
return {
|
|
1202
1202
|
value: e,
|
|
1203
1203
|
map: function(t) {
|
|
1204
|
-
return
|
|
1204
|
+
return Ja(t(e));
|
|
1205
1205
|
}
|
|
1206
1206
|
};
|
|
1207
1207
|
}, gi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1208
1208
|
return t(function(o) {
|
|
1209
|
-
return
|
|
1209
|
+
return Ja(a(o));
|
|
1210
1210
|
})(r).value;
|
|
1211
|
-
}), Ge = /* @__PURE__ */ F(
|
|
1212
|
-
return dt(
|
|
1211
|
+
}), Ge = /* @__PURE__ */ F(Ha), ui = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1212
|
+
return dt(Ha(a, r), t);
|
|
1213
1213
|
}), oe = /* @__PURE__ */ F(function(t, a) {
|
|
1214
1214
|
for (var r = {}, o = 0; o < t.length; )
|
|
1215
1215
|
t[o] in a && (r[t[o]] = a[t[o]]), o += 1;
|
|
1216
1216
|
return r;
|
|
1217
|
-
}),
|
|
1217
|
+
}), Xa = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1218
1218
|
return dt(t, q(a, r));
|
|
1219
1219
|
}), bi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1220
1220
|
return r.replace(t, a);
|
|
@@ -1231,7 +1231,7 @@ var si = /* @__PURE__ */ M(function(t) {
|
|
|
1231
1231
|
i = t[l](r, o), l += 1;
|
|
1232
1232
|
return i;
|
|
1233
1233
|
});
|
|
1234
|
-
}), vi = /* @__PURE__ */
|
|
1234
|
+
}), vi = /* @__PURE__ */ Ya(0, "toUpperCase");
|
|
1235
1235
|
function ht(e, t) {
|
|
1236
1236
|
if (e.length === 0)
|
|
1237
1237
|
throw new xa(Ze.message, Ze.options);
|
|
@@ -1242,18 +1242,18 @@ function hi(e, t) {
|
|
|
1242
1242
|
t.sections = ae(pt(a), Ge([0, "phases"]))(e), t.section = ae(q("phaseName"), fe)(t.sections);
|
|
1243
1243
|
}
|
|
1244
1244
|
function fi(e, t) {
|
|
1245
|
-
t.sections = [...e], t.section || (t.section = ae(q("name"),
|
|
1245
|
+
t.sections = [...e], t.section || (t.section = ae(q("name"), Wa)(t.sections));
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function Qa(e) {
|
|
1248
1248
|
return vt(Mt(q("teamName")), e);
|
|
1249
1249
|
}
|
|
1250
1250
|
function yi(e, t) {
|
|
1251
|
-
t.teams =
|
|
1251
|
+
t.teams = Qa(e);
|
|
1252
1252
|
}
|
|
1253
1253
|
function wi(e) {
|
|
1254
1254
|
return ae(vt(Pe(q("seasonName"))), me(oe(["championshipId", "seasonName"])))(e);
|
|
1255
1255
|
}
|
|
1256
|
-
const
|
|
1256
|
+
const Za = {
|
|
1257
1257
|
jerseyNr: {
|
|
1258
1258
|
label: "table.jerseyNumber.short",
|
|
1259
1259
|
tooltip: "table.jerseyNumber.tooltip",
|
|
@@ -1533,16 +1533,16 @@ function xi(e, t) {
|
|
|
1533
1533
|
return {
|
|
1534
1534
|
...e,
|
|
1535
1535
|
name: e.player.nationality.includes("hu") ? `${e.player.lastName} ${e.player.firstName}` : `${e.player.firstName} ${e.player.lastName}`,
|
|
1536
|
-
age:
|
|
1536
|
+
age: _r(e.birthDate, t),
|
|
1537
1537
|
position: vi(e.position)
|
|
1538
1538
|
};
|
|
1539
1539
|
}
|
|
1540
|
-
const ki = (e) => rt(
|
|
1540
|
+
const ki = (e) => rt(Va(e), ot, ka(["mip"]));
|
|
1541
1541
|
function _i(e, t) {
|
|
1542
|
-
return pt(
|
|
1542
|
+
return pt(Xa(e, "championshipId"))(t);
|
|
1543
1543
|
}
|
|
1544
1544
|
function zi(e, t) {
|
|
1545
|
-
return Gt(
|
|
1545
|
+
return Gt(Xa(e, "championshipId"))(t);
|
|
1546
1546
|
}
|
|
1547
1547
|
function Si(e, t, a, r) {
|
|
1548
1548
|
return rt(Ct(e), _a(r, a), za, Sa(t.teamId), Ta);
|
|
@@ -1586,11 +1586,11 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1586
1586
|
onError: i,
|
|
1587
1587
|
onSuccess: (T) => {
|
|
1588
1588
|
const { position: C } = T;
|
|
1589
|
-
C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0),
|
|
1589
|
+
C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0), y();
|
|
1590
1590
|
}
|
|
1591
1591
|
}), {
|
|
1592
|
-
state:
|
|
1593
|
-
isLoading:
|
|
1592
|
+
state: p,
|
|
1593
|
+
isLoading: u,
|
|
1594
1594
|
execute: v
|
|
1595
1595
|
} = D({
|
|
1596
1596
|
options: {
|
|
@@ -1602,9 +1602,9 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1602
1602
|
transform: (T) => ki(T),
|
|
1603
1603
|
onError: i
|
|
1604
1604
|
}), {
|
|
1605
|
-
state:
|
|
1605
|
+
state: h,
|
|
1606
1606
|
isLoading: m,
|
|
1607
|
-
execute:
|
|
1607
|
+
execute: g
|
|
1608
1608
|
} = D({
|
|
1609
1609
|
options: {
|
|
1610
1610
|
path: _(() => o.gamesApi),
|
|
@@ -1614,11 +1614,11 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1614
1614
|
},
|
|
1615
1615
|
transform: (T) => Si(T, o, t.locale, a),
|
|
1616
1616
|
onError: i
|
|
1617
|
-
}),
|
|
1618
|
-
() => _i(o.championshipId,
|
|
1617
|
+
}), x = _(
|
|
1618
|
+
() => _i(o.championshipId, p.value)
|
|
1619
1619
|
), P = _(
|
|
1620
|
-
() => zi(o.championshipId,
|
|
1621
|
-
),
|
|
1620
|
+
() => zi(o.championshipId, p.value)
|
|
1621
|
+
), A = _(
|
|
1622
1622
|
() => o.isGoalie ? oe(
|
|
1623
1623
|
["teamName", "gkd", "gpi", "mipMin", "mipPercent", "ga", "gaa", "sog", "svs", "svsPercent"],
|
|
1624
1624
|
Ne
|
|
@@ -1639,7 +1639,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1639
1639
|
],
|
|
1640
1640
|
Ne
|
|
1641
1641
|
)
|
|
1642
|
-
),
|
|
1642
|
+
), z = _(
|
|
1643
1643
|
() => o.isGoalie ? oe(
|
|
1644
1644
|
["season", "teamName", "gkd", "gpi", "mipMin", "ga", "gaa", "sog", "svs", "svsPercent"],
|
|
1645
1645
|
Ne
|
|
@@ -1702,8 +1702,8 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1702
1702
|
$t
|
|
1703
1703
|
)
|
|
1704
1704
|
);
|
|
1705
|
-
function
|
|
1706
|
-
te([v,
|
|
1705
|
+
function y() {
|
|
1706
|
+
te([v, g]);
|
|
1707
1707
|
}
|
|
1708
1708
|
function S(T) {
|
|
1709
1709
|
o.pane = T;
|
|
@@ -1711,15 +1711,15 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1711
1711
|
return (T, C) => xe(T.$slots, "default", ke(_e({
|
|
1712
1712
|
pane: o.pane,
|
|
1713
1713
|
isLoadingPlayerData: n(s),
|
|
1714
|
-
isPlayerSeasonsLoading: n(
|
|
1714
|
+
isPlayerSeasonsLoading: n(u),
|
|
1715
1715
|
isGamesLoading: n(m),
|
|
1716
1716
|
playerData: n(l),
|
|
1717
|
-
playerGames: n(
|
|
1718
|
-
playerSeasonStats:
|
|
1717
|
+
playerGames: n(h),
|
|
1718
|
+
playerSeasonStats: x.value,
|
|
1719
1719
|
currentSeasonStats: P.value,
|
|
1720
1720
|
gameColumns: L.value,
|
|
1721
|
-
currentSeasonColumns:
|
|
1722
|
-
seasonColumns:
|
|
1721
|
+
currentSeasonColumns: A.value,
|
|
1722
|
+
seasonColumns: z.value,
|
|
1723
1723
|
onChangePane: S
|
|
1724
1724
|
})));
|
|
1725
1725
|
}
|
|
@@ -1732,7 +1732,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1732
1732
|
}, ji = {
|
|
1733
1733
|
key: 1,
|
|
1734
1734
|
class: "label"
|
|
1735
|
-
},
|
|
1735
|
+
}, er = {
|
|
1736
1736
|
__name: "GamesDataTable",
|
|
1737
1737
|
props: {
|
|
1738
1738
|
columns: {
|
|
@@ -1764,14 +1764,14 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1764
1764
|
setup(e) {
|
|
1765
1765
|
const { t } = Q();
|
|
1766
1766
|
return (a, r) => (d(), $(n(ie), null, {
|
|
1767
|
-
default:
|
|
1767
|
+
default: k(() => [
|
|
1768
1768
|
w(n(ce), {
|
|
1769
1769
|
rows: e.rows,
|
|
1770
1770
|
columns: e.columns,
|
|
1771
1771
|
"is-loading": e.isLoading,
|
|
1772
1772
|
"append-to": e.appendTo
|
|
1773
1773
|
}, {
|
|
1774
|
-
"cell-resultType":
|
|
1774
|
+
"cell-resultType": k(({ row: o }) => [
|
|
1775
1775
|
c("span", {
|
|
1776
1776
|
class: G(["is-badge", [
|
|
1777
1777
|
{
|
|
@@ -1780,31 +1780,31 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1780
1780
|
"is-yellow": o.resultType === "D"
|
|
1781
1781
|
}
|
|
1782
1782
|
]])
|
|
1783
|
-
},
|
|
1783
|
+
}, b(o.resultType), 3)
|
|
1784
1784
|
]),
|
|
1785
|
-
"cell-teamName":
|
|
1785
|
+
"cell-teamName": k(({ row: o }) => {
|
|
1786
1786
|
var i, l;
|
|
1787
1787
|
return [
|
|
1788
|
-
c("span", Ai,
|
|
1789
|
-
c("span", Li,
|
|
1788
|
+
c("span", Ai, b((i = o.team) == null ? void 0 : i.longName), 1),
|
|
1789
|
+
c("span", Li, b((l = o.team) == null ? void 0 : l.shortName), 1)
|
|
1790
1790
|
];
|
|
1791
1791
|
}),
|
|
1792
|
-
"cell-gameResult":
|
|
1793
|
-
o.gameStatus === 0 ? (d(),
|
|
1792
|
+
"cell-gameResult": k(({ row: o }) => [
|
|
1793
|
+
o.gameStatus === 0 ? (d(), f("span", Ci, "-:-")) : (d(), f("a", {
|
|
1794
1794
|
key: 1,
|
|
1795
1795
|
href: e.gameResolver(o),
|
|
1796
1796
|
class: G({ "is-text-dark": o.gameStatus !== 1, "is-text-accent": o.gameStatus === 1 })
|
|
1797
|
-
},
|
|
1797
|
+
}, b(o.gameResult), 11, Ei))
|
|
1798
1798
|
]),
|
|
1799
|
-
"cell-gameResultType":
|
|
1800
|
-
o.isOvertime ? (d(),
|
|
1801
|
-
o.isShootout ? (d(),
|
|
1799
|
+
"cell-gameResultType": k(({ row: o }) => [
|
|
1800
|
+
o.isOvertime ? (d(), f("span", Oi, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
|
|
1801
|
+
o.isShootout ? (d(), f("span", ji, b(n(t)("common.shootoutShort")), 1)) : I("", !0)
|
|
1802
1802
|
]),
|
|
1803
|
-
"cell-powerplay":
|
|
1804
|
-
W(
|
|
1803
|
+
"cell-powerplay": k(({ row: o }) => [
|
|
1804
|
+
W(b(o.adv) + " / " + b(o.ppgf), 1)
|
|
1805
1805
|
]),
|
|
1806
|
-
"cell-penaltyKilling":
|
|
1807
|
-
W(
|
|
1806
|
+
"cell-penaltyKilling": k(({ row: o }) => [
|
|
1807
|
+
W(b(o.dvg) + " / " + b(o.pk), 1)
|
|
1808
1808
|
]),
|
|
1809
1809
|
_: 1
|
|
1810
1810
|
}, 8, ["rows", "columns", "is-loading", "append-to"])
|
|
@@ -1846,7 +1846,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1846
1846
|
null,
|
|
1847
1847
|
_(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
|
|
1848
1848
|
), r = (o) => nt(t.gameResolver, o);
|
|
1849
|
-
return (o, i) => (d(), $(
|
|
1849
|
+
return (o, i) => (d(), $(er, {
|
|
1850
1850
|
rows: e.rows,
|
|
1851
1851
|
columns: n(a),
|
|
1852
1852
|
"is-loading": e.isLoading,
|
|
@@ -1873,27 +1873,27 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1873
1873
|
const { t } = Q();
|
|
1874
1874
|
return (a, r) => {
|
|
1875
1875
|
var o, i, l;
|
|
1876
|
-
return n(ii)(e.data) ? I("", !0) : (d(),
|
|
1876
|
+
return n(ii)(e.data) ? I("", !0) : (d(), f("div", Fi, [
|
|
1877
1877
|
r[0] || (Wt(-1, !0), (r[0] = c("h2", { class: "is-heading-2" }, [
|
|
1878
|
-
W(
|
|
1879
|
-
c("span", Gi, "#" +
|
|
1878
|
+
W(b(e.data.name) + " ", 1),
|
|
1879
|
+
c("span", Gi, "#" + b(e.data.jerseyNr), 1)
|
|
1880
1880
|
])).cacheIndex = 0, Wt(1), r[0]),
|
|
1881
1881
|
c("div", Mi, [
|
|
1882
|
-
W(
|
|
1883
|
-
(d(!0),
|
|
1882
|
+
W(b(e.data.birthDate) + " (" + b(n(t)("players.age", { years: e.data.age })) + ") / ", 1),
|
|
1883
|
+
(d(!0), f(O, null, U(e.data.player.nationality, (s) => (d(), $(n(ha), {
|
|
1884
1884
|
key: s,
|
|
1885
1885
|
placement: "top",
|
|
1886
1886
|
content: n(t)(`nationality.${s}`),
|
|
1887
1887
|
"append-to": e.appendTo
|
|
1888
1888
|
}, {
|
|
1889
|
-
default:
|
|
1889
|
+
default: k(({ setRef: p, show: u, hide: v }) => [
|
|
1890
1890
|
c("span", {
|
|
1891
1891
|
ref_for: !0,
|
|
1892
|
-
ref:
|
|
1892
|
+
ref: p,
|
|
1893
1893
|
class: "is-rounded",
|
|
1894
|
-
onMouseenter:
|
|
1894
|
+
onMouseenter: u,
|
|
1895
1895
|
onMouseleave: v,
|
|
1896
|
-
onFocus:
|
|
1896
|
+
onFocus: u,
|
|
1897
1897
|
onBlur: v
|
|
1898
1898
|
}, [
|
|
1899
1899
|
w(n(V), {
|
|
@@ -1903,13 +1903,13 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1903
1903
|
]),
|
|
1904
1904
|
_: 2
|
|
1905
1905
|
}, 1032, ["content", "append-to"]))), 128)),
|
|
1906
|
-
W(" " +
|
|
1906
|
+
W(" " + b(e.data.birthPlace) + " / " + b(e.data.position) + " / ", 1),
|
|
1907
1907
|
(d(), $(n(V), {
|
|
1908
1908
|
key: (o = e.data.team) == null ? void 0 : o.id,
|
|
1909
1909
|
class: "is-logo-image is-w-7",
|
|
1910
1910
|
src: (i = e.data.team) == null ? void 0 : i.logo
|
|
1911
1911
|
}, null, 8, ["src"])),
|
|
1912
|
-
W(" " +
|
|
1912
|
+
W(" " + b((l = e.data.team) == null ? void 0 : l.longName), 1)
|
|
1913
1913
|
])
|
|
1914
1914
|
]));
|
|
1915
1915
|
};
|
|
@@ -1937,7 +1937,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1937
1937
|
setup(e) {
|
|
1938
1938
|
const t = e, { columns: a } = ee(_(() => t.columns));
|
|
1939
1939
|
return (r, o) => (d(), $(n(ie), null, {
|
|
1940
|
-
default:
|
|
1940
|
+
default: k(() => [
|
|
1941
1941
|
w(n(ce), {
|
|
1942
1942
|
rows: e.rows,
|
|
1943
1943
|
columns: n(a),
|
|
@@ -1971,10 +1971,10 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1971
1971
|
const t = e, { columns: a } = ee(_(() => t.columns));
|
|
1972
1972
|
return (r, o) => {
|
|
1973
1973
|
var i;
|
|
1974
|
-
return d(),
|
|
1975
|
-
c("h2", Bi,
|
|
1974
|
+
return d(), f(O, null, [
|
|
1975
|
+
c("h2", Bi, b(((i = e.rows[0]) == null ? void 0 : i.season) ?? ""), 1),
|
|
1976
1976
|
w(n(ie), null, {
|
|
1977
|
-
default:
|
|
1977
|
+
default: k(() => [
|
|
1978
1978
|
w(n(ce), {
|
|
1979
1979
|
rows: e.rows,
|
|
1980
1980
|
columns: n(a),
|
|
@@ -1987,7 +1987,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1987
1987
|
], 64);
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
|
-
}, ve = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-primary-color-400);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Ke = ".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}", Kt = ".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)}}", er = `.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)}`, qi = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", tr = ".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}", Wi = ".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}", Yi = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Hi = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", he = (e, t) => {
|
|
1990
|
+
}, ve = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-primary-color-400);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Ke = ".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}", Kt = ".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)}}", tr = `.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)}`, qi = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", ar = ".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}", Wi = ".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}", Yi = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Hi = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", he = (e, t) => {
|
|
1991
1991
|
const a = e.__vccOpts || e;
|
|
1992
1992
|
for (const [r, o] of t)
|
|
1993
1993
|
a[r] = o;
|
|
@@ -2025,15 +2025,15 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2025
2025
|
},
|
|
2026
2026
|
setup(e) {
|
|
2027
2027
|
const t = e, a = { en: ue, hu: be }, r = K(null);
|
|
2028
|
-
return (o, i) => (d(),
|
|
2028
|
+
return (o, i) => (d(), f("div", Ji, [
|
|
2029
2029
|
w(n(pe), {
|
|
2030
2030
|
locale: t.locale,
|
|
2031
2031
|
messages: a
|
|
2032
2032
|
}, {
|
|
2033
|
-
default:
|
|
2033
|
+
default: k(({ t: l }) => [
|
|
2034
2034
|
w(n(ze), null, {
|
|
2035
|
-
default:
|
|
2036
|
-
|
|
2035
|
+
default: k(({ error: s, hasError: p }) => [
|
|
2036
|
+
p ? (d(), $(n(Se), {
|
|
2037
2037
|
key: 0,
|
|
2038
2038
|
error: s
|
|
2039
2039
|
}, null, 8, ["error"])) : I("", !0),
|
|
@@ -2043,22 +2043,22 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2043
2043
|
"championship-id": e.championshipId,
|
|
2044
2044
|
"player-id": t.playerId
|
|
2045
2045
|
}, {
|
|
2046
|
-
default:
|
|
2047
|
-
pane:
|
|
2046
|
+
default: k(({
|
|
2047
|
+
pane: u,
|
|
2048
2048
|
isGamesLoading: v,
|
|
2049
|
-
isPlayerSeasonsLoading:
|
|
2049
|
+
isPlayerSeasonsLoading: h,
|
|
2050
2050
|
playerData: m,
|
|
2051
|
-
playerGames:
|
|
2052
|
-
playerSeasonStats:
|
|
2051
|
+
playerGames: g,
|
|
2052
|
+
playerSeasonStats: x,
|
|
2053
2053
|
currentSeasonStats: P,
|
|
2054
|
-
gameColumns:
|
|
2055
|
-
seasonColumns:
|
|
2054
|
+
gameColumns: A,
|
|
2055
|
+
seasonColumns: z,
|
|
2056
2056
|
currentSeasonColumns: L,
|
|
2057
|
-
onChangePane:
|
|
2057
|
+
onChangePane: y
|
|
2058
2058
|
}) => {
|
|
2059
2059
|
var S, T, C;
|
|
2060
2060
|
return [
|
|
2061
|
-
c("h1", Xi,
|
|
2061
|
+
c("h1", Xi, b(m.name), 1),
|
|
2062
2062
|
c("div", Qi, [
|
|
2063
2063
|
c("div", Zi, [
|
|
2064
2064
|
(d(), $(n(V), {
|
|
@@ -2081,33 +2081,33 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2081
2081
|
w(Vi, {
|
|
2082
2082
|
rows: P,
|
|
2083
2083
|
columns: L,
|
|
2084
|
-
"is-loading":
|
|
2084
|
+
"is-loading": h,
|
|
2085
2085
|
"append-to": r.value
|
|
2086
2086
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"]),
|
|
2087
2087
|
c("div", tn, [
|
|
2088
2088
|
c("button", {
|
|
2089
2089
|
type: "button",
|
|
2090
|
-
class: G(["tab-button", { "is-active":
|
|
2091
|
-
onClick: (H) =>
|
|
2092
|
-
},
|
|
2090
|
+
class: G(["tab-button", { "is-active": u === n(We) }]),
|
|
2091
|
+
onClick: (H) => y(n(We))
|
|
2092
|
+
}, b(l("players.games")), 11, an),
|
|
2093
2093
|
c("button", {
|
|
2094
2094
|
type: "button",
|
|
2095
|
-
class: G(["tab-button", { "is-active":
|
|
2096
|
-
onClick: (H) =>
|
|
2097
|
-
},
|
|
2095
|
+
class: G(["tab-button", { "is-active": u === n(St) }]),
|
|
2096
|
+
onClick: (H) => y(n(St))
|
|
2097
|
+
}, b(l("players.seasons")), 11, rn)
|
|
2098
2098
|
]),
|
|
2099
|
-
|
|
2099
|
+
u === n(We) ? (d(), $(Ri, {
|
|
2100
2100
|
key: 0,
|
|
2101
|
-
rows:
|
|
2102
|
-
columns:
|
|
2101
|
+
rows: g,
|
|
2102
|
+
columns: A,
|
|
2103
2103
|
"is-loading": v,
|
|
2104
2104
|
"append-to": r.value,
|
|
2105
2105
|
"game-resolver": t.externalGameResolver
|
|
2106
2106
|
}, null, 8, ["rows", "columns", "is-loading", "append-to", "game-resolver"])) : I("", !0),
|
|
2107
|
-
|
|
2107
|
+
u === n(St) ? (d(), $(Ui, {
|
|
2108
2108
|
key: 1,
|
|
2109
|
-
rows:
|
|
2110
|
-
columns:
|
|
2109
|
+
rows: x,
|
|
2110
|
+
columns: z,
|
|
2111
2111
|
"append-to": r.value
|
|
2112
2112
|
}, null, 8, ["rows", "columns", "append-to"])) : I("", !0),
|
|
2113
2113
|
c("div", {
|
|
@@ -2126,7 +2126,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2126
2126
|
}, 8, ["locale"])
|
|
2127
2127
|
]));
|
|
2128
2128
|
}
|
|
2129
|
-
}, nn = /* @__PURE__ */ he(on, [["styles", [ve, Ke, Kt,
|
|
2129
|
+
}, nn = /* @__PURE__ */ he(on, [["styles", [ve, Ke, Kt, tr, qi, ar, Wi, Yi, Hi]]]), ln = { class: "is-portrait-image" }, sn = ["href", "textContent"], cn = ["href", "textContent"], dn = { class: "g-row" }, pn = ["onMouseenter", "onMouseleave", "onFocus", "onBlur"], rr = {
|
|
2130
2130
|
__name: "PlayersDataTable",
|
|
2131
2131
|
props: {
|
|
2132
2132
|
columns: {
|
|
@@ -2165,8 +2165,8 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2165
2165
|
emits: ["sort"],
|
|
2166
2166
|
setup(e, { emit: t }) {
|
|
2167
2167
|
const a = e, r = t, { t: o } = Q(), { columns: i } = ee(a.columns), l = (s) => r("sort", s);
|
|
2168
|
-
return (s,
|
|
2169
|
-
default:
|
|
2168
|
+
return (s, p) => (d(), $(n(ie), null, {
|
|
2169
|
+
default: k(() => [
|
|
2170
2170
|
w(n(ce), {
|
|
2171
2171
|
columns: n(i),
|
|
2172
2172
|
rows: e.rows,
|
|
@@ -2175,44 +2175,44 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2175
2175
|
sort: e.sort,
|
|
2176
2176
|
onSort: l
|
|
2177
2177
|
}, {
|
|
2178
|
-
"cell-playerPortrait":
|
|
2178
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
2179
2179
|
c("div", ln, [
|
|
2180
2180
|
(d(), $(n(V), {
|
|
2181
|
-
key:
|
|
2182
|
-
src:
|
|
2183
|
-
"default-src": n(
|
|
2181
|
+
key: u.player.playerId,
|
|
2182
|
+
src: u.player.picture,
|
|
2183
|
+
"default-src": n(Pr)
|
|
2184
2184
|
}, null, 8, ["src", "default-src"]))
|
|
2185
2185
|
])
|
|
2186
2186
|
]),
|
|
2187
|
-
"cell-name":
|
|
2187
|
+
"cell-name": k(({ row: u }) => [
|
|
2188
2188
|
c("a", {
|
|
2189
|
-
href: e.playerResolver({ ...
|
|
2190
|
-
textContent: u
|
|
2189
|
+
href: e.playerResolver({ ...u, championshipId: e.championshipId }),
|
|
2190
|
+
textContent: b(u.name)
|
|
2191
2191
|
}, null, 8, sn)
|
|
2192
2192
|
]),
|
|
2193
|
-
"cell-teamName":
|
|
2193
|
+
"cell-teamName": k(({ row: u }) => [
|
|
2194
2194
|
c("a", {
|
|
2195
|
-
href: e.teamResolver({ ...
|
|
2196
|
-
textContent: u
|
|
2195
|
+
href: e.teamResolver({ ...u, championshipId: e.championshipId }),
|
|
2196
|
+
textContent: b(u.teamName)
|
|
2197
2197
|
}, null, 8, cn)
|
|
2198
2198
|
]),
|
|
2199
|
-
"cell-nationality":
|
|
2199
|
+
"cell-nationality": k(({ row: u }) => [
|
|
2200
2200
|
c("div", dn, [
|
|
2201
|
-
(d(!0),
|
|
2201
|
+
(d(!0), f(O, null, U(u.nationalityCode, (v) => (d(), $(n(ha), {
|
|
2202
2202
|
key: v,
|
|
2203
2203
|
placement: "top",
|
|
2204
2204
|
content: n(o)(`nationality.${v}`),
|
|
2205
2205
|
"append-to": e.appendTo
|
|
2206
2206
|
}, {
|
|
2207
|
-
default:
|
|
2207
|
+
default: k(({ setRef: h, show: m, hide: g }) => [
|
|
2208
2208
|
c("div", {
|
|
2209
2209
|
ref_for: !0,
|
|
2210
|
-
ref:
|
|
2210
|
+
ref: h,
|
|
2211
2211
|
class: "is-rounded is-w-5",
|
|
2212
2212
|
onMouseenter: m,
|
|
2213
|
-
onMouseleave:
|
|
2213
|
+
onMouseleave: g,
|
|
2214
2214
|
onFocus: m,
|
|
2215
|
-
onBlur:
|
|
2215
|
+
onBlur: g
|
|
2216
2216
|
}, [
|
|
2217
2217
|
w(n(V), {
|
|
2218
2218
|
src: n(Ia)(v)
|
|
@@ -2223,10 +2223,10 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2223
2223
|
}, 1032, ["content", "append-to"]))), 128))
|
|
2224
2224
|
])
|
|
2225
2225
|
]),
|
|
2226
|
-
"cell-position":
|
|
2226
|
+
"cell-position": k(({ row: u }) => {
|
|
2227
2227
|
var v;
|
|
2228
2228
|
return [
|
|
2229
|
-
W(
|
|
2229
|
+
W(b((v = u.position) == null ? void 0 : v.toUpperCase()), 1)
|
|
2230
2230
|
];
|
|
2231
2231
|
}),
|
|
2232
2232
|
_: 1
|
|
@@ -2261,21 +2261,21 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2261
2261
|
seasons: [],
|
|
2262
2262
|
championshipId: Number(a.championshipId) || 0,
|
|
2263
2263
|
query: ""
|
|
2264
|
-
}), { onError: o } = ge(), { page: i, change: l } = wa(), { sort: s, change:
|
|
2264
|
+
}), { onError: o } = ge(), { page: i, change: l } = wa(), { sort: s, change: p } = At({
|
|
2265
2265
|
sortTarget: "",
|
|
2266
2266
|
orders: []
|
|
2267
|
-
}), { isLoading:
|
|
2267
|
+
}), { isLoading: u, execute: v } = D({
|
|
2268
2268
|
options: {
|
|
2269
2269
|
path: "/v2/championship-seasons",
|
|
2270
2270
|
apiKey: t.apiKey,
|
|
2271
2271
|
params: { championshipName: r.championshipName }
|
|
2272
2272
|
},
|
|
2273
|
-
transform: (
|
|
2273
|
+
transform: (y) => ht(y, r),
|
|
2274
2274
|
onError: o
|
|
2275
2275
|
}), {
|
|
2276
|
-
isLoading:
|
|
2276
|
+
isLoading: h,
|
|
2277
2277
|
state: m,
|
|
2278
|
-
execute:
|
|
2278
|
+
execute: g
|
|
2279
2279
|
} = D({
|
|
2280
2280
|
options: {
|
|
2281
2281
|
path: "/v2/championship-players",
|
|
@@ -2284,34 +2284,34 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2284
2284
|
championshipId: r.championshipId
|
|
2285
2285
|
}))
|
|
2286
2286
|
},
|
|
2287
|
-
transform: (
|
|
2287
|
+
transform: (y) => gn(y),
|
|
2288
2288
|
onError: o
|
|
2289
|
-
}),
|
|
2290
|
-
te([v,
|
|
2289
|
+
}), x = Lt([u, h], { delay: 1e3 });
|
|
2290
|
+
te([v, g]);
|
|
2291
2291
|
const P = _(
|
|
2292
2292
|
() => Oe(m.value).sorted(s).filter(r.query, [["name"]]).pagination(i.value, t.limit).value()
|
|
2293
|
-
),
|
|
2294
|
-
function
|
|
2295
|
-
l(1), r.championshipId =
|
|
2293
|
+
), A = _(() => [(i.value - 1) * t.limit + 1, Math.min(i.value * t.limit, P.value.totalItems)]);
|
|
2294
|
+
function z(y) {
|
|
2295
|
+
l(1), r.championshipId = y, a.championshipId = y, r.query = "", a.query = null, te([g]);
|
|
2296
2296
|
}
|
|
2297
|
-
function L(
|
|
2298
|
-
const { value: S } =
|
|
2297
|
+
function L(y) {
|
|
2298
|
+
const { value: S } = y.target;
|
|
2299
2299
|
l(1), r.query = S, a.query = S;
|
|
2300
2300
|
}
|
|
2301
|
-
return (
|
|
2301
|
+
return (y, S) => xe(y.$slots, "default", ke(_e({
|
|
2302
2302
|
...r,
|
|
2303
2303
|
sort: n(s),
|
|
2304
2304
|
page: n(i),
|
|
2305
|
-
range:
|
|
2306
|
-
isLoading: n(
|
|
2305
|
+
range: A.value,
|
|
2306
|
+
isLoading: n(x),
|
|
2307
2307
|
players: P.value,
|
|
2308
|
-
onSort: n(
|
|
2308
|
+
onSort: n(p),
|
|
2309
2309
|
onInput: L,
|
|
2310
|
-
changeSeason:
|
|
2310
|
+
changeSeason: z,
|
|
2311
2311
|
onPaginatorChange: n(l)
|
|
2312
2312
|
})));
|
|
2313
2313
|
}
|
|
2314
|
-
}, Ut = ".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}", bn = ".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}", Bt = ".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)}}", rr = `.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)}`, or = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', ir = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mn = {
|
|
2314
|
+
}, Ut = ".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}", bn = ".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}", Bt = ".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)}}", or = `.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)}`, ir = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', nr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mn = {
|
|
2315
2315
|
for: "player",
|
|
2316
2316
|
class: "label"
|
|
2317
2317
|
}, vn = ["value", "onInput"], hn = { style: { display: "flex", "justify-content": "space-between", "align-items": "center" } }, fn = { key: 0 }, yn = {
|
|
@@ -2344,17 +2344,17 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2344
2344
|
},
|
|
2345
2345
|
setup(e) {
|
|
2346
2346
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => Ot(t.externalPlayerResolver, l), i = (l) => st(t.externalTeamResolver, l);
|
|
2347
|
-
return (l, s) => (d(),
|
|
2347
|
+
return (l, s) => (d(), f("div", null, [
|
|
2348
2348
|
w(n(pe), {
|
|
2349
2349
|
locale: t.locale,
|
|
2350
2350
|
messages: a
|
|
2351
2351
|
}, {
|
|
2352
|
-
default:
|
|
2352
|
+
default: k(({ t: p }) => [
|
|
2353
2353
|
w(n(ze), null, {
|
|
2354
|
-
default:
|
|
2354
|
+
default: k(({ error: u, hasError: v }) => [
|
|
2355
2355
|
v ? (d(), $(n(Se), {
|
|
2356
2356
|
key: 0,
|
|
2357
|
-
error:
|
|
2357
|
+
error: u
|
|
2358
2358
|
}, null, 8, ["error"])) : I("", !0),
|
|
2359
2359
|
w(un, {
|
|
2360
2360
|
"api-key": t.apiKey,
|
|
@@ -2362,46 +2362,46 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2362
2362
|
"championship-name": e.championshipName,
|
|
2363
2363
|
limit: e.limit
|
|
2364
2364
|
}, {
|
|
2365
|
-
default:
|
|
2366
|
-
range:
|
|
2365
|
+
default: k(({
|
|
2366
|
+
range: h,
|
|
2367
2367
|
players: m,
|
|
2368
|
-
seasons:
|
|
2369
|
-
isLoading:
|
|
2368
|
+
seasons: g,
|
|
2369
|
+
isLoading: x,
|
|
2370
2370
|
championshipId: P,
|
|
2371
|
-
page:
|
|
2372
|
-
query:
|
|
2371
|
+
page: A,
|
|
2372
|
+
query: z,
|
|
2373
2373
|
changeSeason: L,
|
|
2374
|
-
sort:
|
|
2374
|
+
sort: y,
|
|
2375
2375
|
onSort: S,
|
|
2376
2376
|
onPaginatorChange: T,
|
|
2377
2377
|
onInput: C
|
|
2378
2378
|
}) => [
|
|
2379
2379
|
w(n(fa), {
|
|
2380
|
-
seasons:
|
|
2380
|
+
seasons: g,
|
|
2381
2381
|
"championship-id": P,
|
|
2382
2382
|
"is-section-selection-disabled": "",
|
|
2383
2383
|
onOnChangeSeason: L
|
|
2384
2384
|
}, {
|
|
2385
|
-
default:
|
|
2385
|
+
default: k(() => [
|
|
2386
2386
|
c("div", null, [
|
|
2387
|
-
c("label", mn,
|
|
2387
|
+
c("label", mn, b(p("selection.filterName")), 1),
|
|
2388
2388
|
c("input", {
|
|
2389
2389
|
id: "player",
|
|
2390
2390
|
type: "text",
|
|
2391
2391
|
class: "base-input",
|
|
2392
|
-
value:
|
|
2392
|
+
value: z,
|
|
2393
2393
|
onInput: C
|
|
2394
2394
|
}, null, 40, vn)
|
|
2395
2395
|
])
|
|
2396
2396
|
]),
|
|
2397
2397
|
_: 2
|
|
2398
2398
|
}, 1032, ["seasons", "championship-id", "onOnChangeSeason"]),
|
|
2399
|
-
w(
|
|
2400
|
-
columns: n(
|
|
2399
|
+
w(rr, {
|
|
2400
|
+
columns: n(Za),
|
|
2401
2401
|
rows: m.rows,
|
|
2402
2402
|
"append-to": r.value,
|
|
2403
|
-
sort:
|
|
2404
|
-
"is-loading":
|
|
2403
|
+
sort: y,
|
|
2404
|
+
"is-loading": x,
|
|
2405
2405
|
"championship-id": P,
|
|
2406
2406
|
"player-resolver": o,
|
|
2407
2407
|
"team-resolver": i,
|
|
@@ -2409,13 +2409,13 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2409
2409
|
}, null, 8, ["columns", "rows", "append-to", "sort", "is-loading", "championship-id", "onSort"]),
|
|
2410
2410
|
c("div", hn, [
|
|
2411
2411
|
w(n(ya), {
|
|
2412
|
-
page:
|
|
2412
|
+
page: A,
|
|
2413
2413
|
"items-per-page": t.limit,
|
|
2414
2414
|
"total-items": m.totalItems,
|
|
2415
2415
|
"range-length": 5,
|
|
2416
2416
|
onChange: T
|
|
2417
2417
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2418
|
-
m.totalItems > 0 ? (d(),
|
|
2418
|
+
m.totalItems > 0 ? (d(), f("div", fn, b(h.join("-")) + " / " + b(m.totalItems), 1)) : I("", !0)
|
|
2419
2419
|
]),
|
|
2420
2420
|
c("div", {
|
|
2421
2421
|
ref_key: "tooltipContainer",
|
|
@@ -2432,19 +2432,13 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2432
2432
|
}, 8, ["locale"])
|
|
2433
2433
|
]));
|
|
2434
2434
|
}
|
|
2435
|
-
}, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt,
|
|
2435
|
+
}, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt, or, ir, nr]]]), xn = ".playoffs .table-grid{display:grid;grid-template-columns:70px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 30px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid:hover>div{background-color:var(--vbr-widget-table-hover-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-playoffs-header-size);font-weight:700;color:var(--vbr-widget-playoffs-header-color);background-color:var(--vbr-widget-playoffs-header-bg)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-playoffs-details-bg)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", kn = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", lr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', _n = { class: "playoffs" }, zn = { class: "section-title" }, Sn = { key: 0 }, Tn = { class: "section-details" }, In = { class: "is-team-name is-right" }, Pn = { class: "is-result" }, Nn = { class: "is-team-name" }, $n = { class: "is-text-right is-text-bold" }, An = { class: "is-team-name-long" }, Ln = { class: "is-team-name-short" }, Cn = { class: "is-text-center" }, En = {
|
|
2436
2436
|
key: 0,
|
|
2437
2437
|
class: "is-text-dark"
|
|
2438
|
-
},
|
|
2438
|
+
}, On = ["href", "target"], jn = {
|
|
2439
2439
|
key: 0,
|
|
2440
|
-
class: "
|
|
2441
|
-
},
|
|
2442
|
-
key: 1,
|
|
2443
|
-
class: "label"
|
|
2444
|
-
}, Rn = {
|
|
2445
|
-
key: 2,
|
|
2446
|
-
class: "label"
|
|
2447
|
-
}, Fn = { class: "is-text-bold" }, Gn = { class: "is-team-name-long" }, Mn = { class: "is-team-name-short" }, Dn = { class: "is-text-light is-truncate is-text-right" }, Kn = "/game/id/{gameId}", Un = {
|
|
2440
|
+
class: "is-badge is-dark"
|
|
2441
|
+
}, Rn = { class: "is-text-bold" }, Fn = { class: "is-team-name-long" }, Gn = { class: "is-team-name-short" }, Mn = { class: "is-text-light is-truncate is-text-right" }, Dn = "/game/id/{gameId}", Kn = {
|
|
2448
2442
|
__name: "Playoffs.ce",
|
|
2449
2443
|
props: {
|
|
2450
2444
|
locale: {
|
|
@@ -2458,7 +2452,9 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2458
2452
|
championshipId: {
|
|
2459
2453
|
type: Number,
|
|
2460
2454
|
default: 0
|
|
2461
|
-
}
|
|
2455
|
+
},
|
|
2456
|
+
// externalGameResolver, isGameTargetExternal
|
|
2457
|
+
...Pa
|
|
2462
2458
|
},
|
|
2463
2459
|
setup(e) {
|
|
2464
2460
|
const t = e, { state: a, isLoading: r, execute: o } = D({
|
|
@@ -2470,73 +2466,74 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2470
2466
|
});
|
|
2471
2467
|
o();
|
|
2472
2468
|
const i = it(), l = { en: ue, hu: be };
|
|
2473
|
-
function s(
|
|
2474
|
-
return nt(t.
|
|
2469
|
+
function s(h) {
|
|
2470
|
+
return nt(t.externalGameResolver || Dn, h);
|
|
2475
2471
|
}
|
|
2476
|
-
const
|
|
2477
|
-
return (
|
|
2472
|
+
const p = _(() => t.isGameTargetExternal ? "_blank" : "_self"), u = (h) => et(h, "L dddd", i, t.locale), v = (h) => et(h, "HH:mm", i, t.locale);
|
|
2473
|
+
return (h, m) => (d(), f("div", _n, [
|
|
2478
2474
|
w(n(pe), {
|
|
2479
2475
|
locale: t.locale,
|
|
2480
2476
|
messages: l
|
|
2481
2477
|
}, {
|
|
2482
|
-
default:
|
|
2478
|
+
default: k(({ t: g }) => [
|
|
2483
2479
|
n(r) ? (d(), $(n(at), { key: 0 })) : I("", !0),
|
|
2484
|
-
(d(!0),
|
|
2485
|
-
var
|
|
2486
|
-
return d(),
|
|
2487
|
-
key: `${
|
|
2480
|
+
(d(!0), f(O, null, U(n(a), (x) => {
|
|
2481
|
+
var P, A;
|
|
2482
|
+
return d(), f("div", {
|
|
2483
|
+
key: `${x.divisionStage2Name}-${x.divisionStageNumber}`
|
|
2488
2484
|
}, [
|
|
2489
|
-
c("div", zn,
|
|
2490
|
-
|
|
2491
|
-
|
|
2485
|
+
c("div", zn, [
|
|
2486
|
+
W(b(g(`playoffs.${x.divisionStage2Name}`)), 1),
|
|
2487
|
+
x.divisionStageNumber ? (d(), f("span", Sn, "-" + b(x.divisionStageNumber), 1)) : I("", !0)
|
|
2488
|
+
]),
|
|
2489
|
+
c("div", Tn, [
|
|
2490
|
+
c("div", In, b((P = x.homeTeam) == null ? void 0 : P.longName), 1),
|
|
2492
2491
|
c("div", null, [
|
|
2493
2492
|
w(n(V), {
|
|
2494
2493
|
class: "is-logo-image",
|
|
2495
|
-
src:
|
|
2494
|
+
src: x.homeTeam.logo
|
|
2496
2495
|
}, null, 8, ["src"])
|
|
2497
2496
|
]),
|
|
2498
|
-
c("div",
|
|
2497
|
+
c("div", Pn, b(x.seriesStandings), 1),
|
|
2499
2498
|
c("div", null, [
|
|
2500
2499
|
w(n(V), {
|
|
2501
2500
|
class: "is-logo-image",
|
|
2502
|
-
src:
|
|
2501
|
+
src: x.awayTeam.logo
|
|
2503
2502
|
}, null, 8, ["src"])
|
|
2504
2503
|
]),
|
|
2505
|
-
c("div",
|
|
2504
|
+
c("div", Nn, b((A = x.awayTeam) == null ? void 0 : A.longName), 1)
|
|
2506
2505
|
]),
|
|
2507
2506
|
w(n(ie), null, {
|
|
2508
|
-
default:
|
|
2509
|
-
(d(!0),
|
|
2510
|
-
var
|
|
2511
|
-
return d(),
|
|
2512
|
-
key:
|
|
2513
|
-
class: G(["table-grid", { "is-optional":
|
|
2507
|
+
default: k(() => [
|
|
2508
|
+
(d(!0), f(O, null, U(x.games, (z) => {
|
|
2509
|
+
var L, y, S, T, C;
|
|
2510
|
+
return d(), f("div", {
|
|
2511
|
+
key: z.id,
|
|
2512
|
+
class: G(["table-grid", { "is-optional": z.optional }])
|
|
2514
2513
|
}, [
|
|
2515
|
-
c("div", null,
|
|
2516
|
-
c("div", null, u(
|
|
2517
|
-
c("div", null,
|
|
2518
|
-
c("div",
|
|
2519
|
-
c("span",
|
|
2520
|
-
c("span",
|
|
2514
|
+
c("div", null, b(z.gameName), 1),
|
|
2515
|
+
c("div", null, b(u(z.gameDate)), 1),
|
|
2516
|
+
c("div", null, b(v(z.gameDate)), 1),
|
|
2517
|
+
c("div", $n, [
|
|
2518
|
+
c("span", An, b((L = z.homeTeam) == null ? void 0 : L.longName), 1),
|
|
2519
|
+
c("span", Ln, b((y = z.homeTeam) == null ? void 0 : y.shortName), 1)
|
|
2521
2520
|
]),
|
|
2522
|
-
c("div",
|
|
2523
|
-
|
|
2521
|
+
c("div", Cn, [
|
|
2522
|
+
z.gameStatus === 0 ? (d(), f("span", En, "-:-")) : (d(), f("a", {
|
|
2524
2523
|
key: 1,
|
|
2525
|
-
href: s(
|
|
2526
|
-
target:
|
|
2527
|
-
class: G(["is-text-bold", [{ "is-text-dark":
|
|
2528
|
-
},
|
|
2524
|
+
href: s(z),
|
|
2525
|
+
target: p.value,
|
|
2526
|
+
class: G(["is-text-bold", [{ "is-text-dark": z.gameStatus !== 1, "is-text-accent": z.gameStatus === 1 }]])
|
|
2527
|
+
}, b(z.homeTeamScore) + ":" + b(z.awayTeamScore), 11, On))
|
|
2529
2528
|
]),
|
|
2530
2529
|
c("div", null, [
|
|
2531
|
-
|
|
2532
|
-
k.isShootout ? (d(), h("span", jn, u(m("common.shootoutShort")), 1)) : I("", !0),
|
|
2533
|
-
k.seriesStandings ? (d(), h("span", Rn, u(k.seriesStandings), 1)) : I("", !0)
|
|
2530
|
+
z.seriesStandings ? (d(), f("span", jn, b(z.seriesStandings), 1)) : I("", !0)
|
|
2534
2531
|
]),
|
|
2535
|
-
c("div",
|
|
2536
|
-
c("span",
|
|
2537
|
-
c("span",
|
|
2532
|
+
c("div", Rn, [
|
|
2533
|
+
c("span", Fn, b((S = z.awayTeam) == null ? void 0 : S.longName), 1),
|
|
2534
|
+
c("span", Gn, b((T = z.awayTeam) == null ? void 0 : T.shortName), 1)
|
|
2538
2535
|
]),
|
|
2539
|
-
c("div",
|
|
2536
|
+
c("div", Mn, b(((C = z.location) == null ? void 0 : C.locationName) ?? ""), 1)
|
|
2540
2537
|
], 2);
|
|
2541
2538
|
}), 128))
|
|
2542
2539
|
]),
|
|
@@ -2549,18 +2546,18 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2549
2546
|
}, 8, ["locale"])
|
|
2550
2547
|
]));
|
|
2551
2548
|
}
|
|
2552
|
-
},
|
|
2553
|
-
function
|
|
2549
|
+
}, Un = /* @__PURE__ */ he(Kn, [["styles", [ve, xn, kn, lr]]]);
|
|
2550
|
+
function Bn(e = [], t = "hu", a = tt) {
|
|
2554
2551
|
const r = K([]), o = K(null), i = K([]), l = () => {
|
|
2555
|
-
i.value = e.value.reduce((
|
|
2556
|
-
var
|
|
2557
|
-
const v = new Date(
|
|
2558
|
-
return
|
|
2552
|
+
i.value = e.value.reduce((p, u) => {
|
|
2553
|
+
var g;
|
|
2554
|
+
const v = new Date(u.gameDate), h = (g = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(v)) == null ? void 0 : g.toLowerCase(), m = new Intl.DateTimeFormat(t.value, { month: "long" }).format(v);
|
|
2555
|
+
return p[h] || (p[h] = { value: v.getMonth(), name: Vn(m) }), p;
|
|
2559
2556
|
}, {}), r.value = Object.values(i.value);
|
|
2560
2557
|
}, s = () => {
|
|
2561
|
-
var
|
|
2562
|
-
const
|
|
2563
|
-
o.value = v &&
|
|
2558
|
+
var h, m, g, x;
|
|
2559
|
+
const p = zr(/* @__PURE__ */ new Date(), (h = fe(e.value)) == null ? void 0 : h.gameDate, (m = Wa(e.value)) == null ? void 0 : m.gameDate), u = (g = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(/* @__PURE__ */ new Date())) == null ? void 0 : g.toLowerCase(), v = oe([u], i.value);
|
|
2560
|
+
o.value = v && p ? (/* @__PURE__ */ new Date()).getMonth() : (x = fe(r.value)) == null ? void 0 : x.value, a(o.value);
|
|
2564
2561
|
};
|
|
2565
2562
|
return se([e, t], l), po(e, () => {
|
|
2566
2563
|
l(), s();
|
|
@@ -2569,13 +2566,13 @@ function Vn(e = [], t = "hu", a = tt) {
|
|
|
2569
2566
|
selectedMonth: o
|
|
2570
2567
|
};
|
|
2571
2568
|
}
|
|
2572
|
-
function
|
|
2569
|
+
function Vn(e) {
|
|
2573
2570
|
return e[0].toUpperCase() + e.slice(1);
|
|
2574
2571
|
}
|
|
2575
|
-
function
|
|
2572
|
+
function qn(e) {
|
|
2576
2573
|
return Me(({ name: a }) => ti(a, ["Negyeddöntő", "Elődöntő", "Döntő"]))(e);
|
|
2577
2574
|
}
|
|
2578
|
-
const
|
|
2575
|
+
const Wn = {
|
|
2579
2576
|
__name: "DataProvider",
|
|
2580
2577
|
props: {
|
|
2581
2578
|
championshipName: {
|
|
@@ -2632,7 +2629,7 @@ const Yn = {
|
|
|
2632
2629
|
selectedMonth: Number(a.selectedMonth) ?? null,
|
|
2633
2630
|
selectedTeam: Number(a.selectedTeam) || null,
|
|
2634
2631
|
selectedTeamGameType: a.selectedTeamGameType || "all"
|
|
2635
|
-
}), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError:
|
|
2632
|
+
}), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError: p } = ge(), u = _(() => {
|
|
2636
2633
|
switch (r.selectedTeamGameType) {
|
|
2637
2634
|
case "all":
|
|
2638
2635
|
return [
|
|
@@ -2644,33 +2641,33 @@ const Yn = {
|
|
|
2644
2641
|
default:
|
|
2645
2642
|
return [["awayTeam", "id"]];
|
|
2646
2643
|
}
|
|
2647
|
-
}), { isLoading: v, execute:
|
|
2644
|
+
}), { isLoading: v, execute: h } = D({
|
|
2648
2645
|
options: {
|
|
2649
2646
|
path: "/v2/championship-seasons",
|
|
2650
2647
|
apiKey: t.apiKey,
|
|
2651
2648
|
params: { championshipName: r.championshipName }
|
|
2652
2649
|
},
|
|
2653
2650
|
transform: (E) => ht(E, r),
|
|
2654
|
-
onError:
|
|
2655
|
-
}), { isLoading: m, execute:
|
|
2651
|
+
onError: p
|
|
2652
|
+
}), { isLoading: m, execute: g } = D({
|
|
2656
2653
|
options: {
|
|
2657
2654
|
path: "/v2/championship-phases",
|
|
2658
2655
|
apiKey: t.apiKey,
|
|
2659
2656
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
2660
2657
|
},
|
|
2661
2658
|
transform: (E) => fi(E, r),
|
|
2662
|
-
onError:
|
|
2663
|
-
}), { isLoading:
|
|
2659
|
+
onError: p
|
|
2660
|
+
}), { isLoading: x, execute: P } = D({
|
|
2664
2661
|
options: {
|
|
2665
2662
|
path: "/v2/championship-teams",
|
|
2666
2663
|
apiKey: t.apiKey,
|
|
2667
2664
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
2668
2665
|
},
|
|
2669
2666
|
transform: (E) => yi(E, r),
|
|
2670
|
-
onError:
|
|
2667
|
+
onError: p
|
|
2671
2668
|
}), {
|
|
2672
|
-
isLoading:
|
|
2673
|
-
state:
|
|
2669
|
+
isLoading: A,
|
|
2670
|
+
state: z,
|
|
2674
2671
|
execute: L
|
|
2675
2672
|
} = D({
|
|
2676
2673
|
options: {
|
|
@@ -2679,24 +2676,24 @@ const Yn = {
|
|
|
2679
2676
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
2680
2677
|
},
|
|
2681
2678
|
transform: (E) => Ct(E),
|
|
2682
|
-
onError:
|
|
2683
|
-
}),
|
|
2679
|
+
onError: p
|
|
2680
|
+
}), y = Lt([m, v, x, A], { delay: 1e3 }), { months: S } = Bn(z, br(t, "locale"), (E) => {
|
|
2684
2681
|
r.selectedMonth = Number(a.selectedMonth) || E;
|
|
2685
2682
|
});
|
|
2686
|
-
|
|
2683
|
+
xr({ items: z, element: i, offset: l, enabled: s });
|
|
2687
2684
|
const { pause: T, resume: C } = bo(L, Xt, { immediate: !1 });
|
|
2688
|
-
|
|
2689
|
-
const H = _(() => Oe(n(
|
|
2685
|
+
kr(t.autoRefresh, C, T);
|
|
2686
|
+
const H = _(() => Oe(n(z)).filter(r.selectedTeam, u.value, !0).schedule(n(o), n(t.locale)).filter(r.subPhase, [["divisionStage2Name"]], !0).gameDateFilter(n(r.selectedMonth)).groupByDays().value()), j = _(() => {
|
|
2690
2687
|
const E = r.sections.find((Ue) => Ue.name === r.section);
|
|
2691
|
-
return
|
|
2688
|
+
return qn((E == null ? void 0 : E.phases) ?? []);
|
|
2692
2689
|
});
|
|
2693
|
-
te([
|
|
2690
|
+
te([h, g, P, L], {
|
|
2694
2691
|
onFinished: () => {
|
|
2695
|
-
t.autoRefresh &&
|
|
2692
|
+
t.autoRefresh && $a(C, Xt);
|
|
2696
2693
|
}
|
|
2697
2694
|
});
|
|
2698
2695
|
function ne(E) {
|
|
2699
|
-
r.championshipId = E, a.championshipId = E, t.autoRefresh && C(), r.selectedTeam = null, a.selectedTeam = null, r.selectedMonth = null, a.selectedMonth = null, r.selectedTeamGameType = "all", a.selectedTeamGameType = null, r.subPhase = "", te([
|
|
2696
|
+
r.championshipId = E, a.championshipId = E, t.autoRefresh && C(), r.selectedTeam = null, a.selectedTeam = null, r.selectedMonth = null, a.selectedMonth = null, r.selectedTeamGameType = "all", a.selectedTeamGameType = null, r.subPhase = "", te([g, P, L]), t.autoRefresh && C(), Ht();
|
|
2700
2697
|
}
|
|
2701
2698
|
function N(E) {
|
|
2702
2699
|
r.selectedMonth = E, a.selectedMonth = E, Ht();
|
|
@@ -2716,7 +2713,7 @@ const Yn = {
|
|
|
2716
2713
|
return (E, Ue) => xe(E.$slots, "default", ke(_e({
|
|
2717
2714
|
...r,
|
|
2718
2715
|
months: n(S),
|
|
2719
|
-
isLoading: n(
|
|
2716
|
+
isLoading: n(y),
|
|
2720
2717
|
subPhases: j.value,
|
|
2721
2718
|
games: H.value,
|
|
2722
2719
|
changeSeason: ne,
|
|
@@ -2727,7 +2724,7 @@ const Yn = {
|
|
|
2727
2724
|
changeSubSection: ft
|
|
2728
2725
|
})));
|
|
2729
2726
|
}
|
|
2730
|
-
},
|
|
2727
|
+
}, Yn = {
|
|
2731
2728
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2732
2729
|
viewBox: "0 0 24 24",
|
|
2733
2730
|
fill: "none",
|
|
@@ -2736,8 +2733,8 @@ const Yn = {
|
|
|
2736
2733
|
"stroke-linecap": "round",
|
|
2737
2734
|
"stroke-linejoin": "round"
|
|
2738
2735
|
};
|
|
2739
|
-
function
|
|
2740
|
-
return d(),
|
|
2736
|
+
function Hn(e, t) {
|
|
2737
|
+
return d(), f("svg", Yn, t[0] || (t[0] = [
|
|
2741
2738
|
c("rect", {
|
|
2742
2739
|
x: "2",
|
|
2743
2740
|
y: "3",
|
|
@@ -2760,7 +2757,7 @@ function Jn(e, t) {
|
|
|
2760
2757
|
}, null, -1)
|
|
2761
2758
|
]));
|
|
2762
2759
|
}
|
|
2763
|
-
const
|
|
2760
|
+
const Jn = { render: Hn }, Xn = {
|
|
2764
2761
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2765
2762
|
viewBox: "0 0 24 24",
|
|
2766
2763
|
fill: "none",
|
|
@@ -2769,37 +2766,37 @@ const Xn = { render: Jn }, Qn = {
|
|
|
2769
2766
|
"stroke-linecap": "round",
|
|
2770
2767
|
"stroke-linejoin": "round"
|
|
2771
2768
|
};
|
|
2772
|
-
function
|
|
2773
|
-
return d(),
|
|
2769
|
+
function Qn(e, t) {
|
|
2770
|
+
return d(), f("svg", Xn, t[0] || (t[0] = [
|
|
2774
2771
|
c("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),
|
|
2775
2772
|
c("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
2776
2773
|
]));
|
|
2777
2774
|
}
|
|
2778
|
-
const
|
|
2775
|
+
const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"], al = { class: "is-home-team is-text-base" }, rl = { class: "is-team-name-short" }, ol = { class: "is-team-name-long" }, il = { class: "g-row" }, nl = {
|
|
2779
2776
|
key: 0,
|
|
2780
2777
|
class: "is-badge is-invert"
|
|
2781
|
-
},
|
|
2778
|
+
}, ll = {
|
|
2782
2779
|
key: 1,
|
|
2783
2780
|
class: "is-badge is-invert"
|
|
2784
|
-
},
|
|
2781
|
+
}, sl = {
|
|
2785
2782
|
key: 2,
|
|
2786
2783
|
class: "is-badge"
|
|
2787
|
-
},
|
|
2784
|
+
}, cl = ["href", "target"], dl = {
|
|
2788
2785
|
key: 0,
|
|
2789
2786
|
class: "is-text-xl is-text-bold"
|
|
2790
|
-
},
|
|
2787
|
+
}, pl = {
|
|
2791
2788
|
key: 1,
|
|
2792
2789
|
class: "is-text-xl is-text-bold"
|
|
2793
|
-
},
|
|
2790
|
+
}, gl = {
|
|
2794
2791
|
key: 2,
|
|
2795
2792
|
class: "is-text-xl is-text-bold"
|
|
2796
|
-
},
|
|
2793
|
+
}, ul = { key: 3 }, bl = {
|
|
2797
2794
|
key: 0,
|
|
2798
2795
|
class: "is-text-xs is-opacity-40"
|
|
2799
|
-
},
|
|
2796
|
+
}, ml = { class: "is-text-sm is-whitespace-nowrap" }, vl = {
|
|
2800
2797
|
key: 0,
|
|
2801
2798
|
class: "is-text-xs is-uppercase is-whitespace-nowrap"
|
|
2802
|
-
},
|
|
2799
|
+
}, hl = { class: "is-away-team is-text-base" }, fl = { class: "is-team-name-short" }, yl = { class: "is-team-name-long" }, wl = {
|
|
2803
2800
|
__name: "Item",
|
|
2804
2801
|
props: {
|
|
2805
2802
|
game: {
|
|
@@ -2821,29 +2818,29 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
2821
2818
|
},
|
|
2822
2819
|
setup(e) {
|
|
2823
2820
|
const { t } = Q();
|
|
2824
|
-
return (a, r) => (d(),
|
|
2821
|
+
return (a, r) => (d(), f("div", {
|
|
2825
2822
|
class: G(["card-item", { "is-optional": e.game.optional }])
|
|
2826
2823
|
}, [
|
|
2827
|
-
c("div",
|
|
2828
|
-
W(
|
|
2829
|
-
e.game.broadcast ? (d(),
|
|
2824
|
+
c("div", el, [
|
|
2825
|
+
W(b(e.game.gameName) + " - " + b(e.game.divisionName) + " - " + b(e.game.location.locationName) + " ", 1),
|
|
2826
|
+
e.game.broadcast ? (d(), f(O, { key: 0 }, [
|
|
2830
2827
|
r[0] || (r[0] = W(" - ")),
|
|
2831
|
-
w(n(
|
|
2828
|
+
w(n(Jn), { height: "16" }),
|
|
2832
2829
|
r[1] || (r[1] = W(" "))
|
|
2833
2830
|
], 64)) : I("", !0),
|
|
2834
|
-
e.game.video ? (d(),
|
|
2831
|
+
e.game.video ? (d(), f(O, { key: 1 }, [
|
|
2835
2832
|
r[2] || (r[2] = W(" - ")),
|
|
2836
2833
|
c("a", {
|
|
2837
2834
|
href: e.game.video,
|
|
2838
2835
|
target: "_blank"
|
|
2839
2836
|
}, [
|
|
2840
|
-
w(n(
|
|
2841
|
-
], 8,
|
|
2837
|
+
w(n(Zn), { height: "18" })
|
|
2838
|
+
], 8, tl)
|
|
2842
2839
|
], 64)) : I("", !0)
|
|
2843
2840
|
]),
|
|
2844
|
-
c("div",
|
|
2845
|
-
c("span",
|
|
2846
|
-
c("span",
|
|
2841
|
+
c("div", al, [
|
|
2842
|
+
c("span", rl, b(e.game.homeTeam.shortName), 1),
|
|
2843
|
+
c("span", ol, b(e.game.homeTeam.longName), 1),
|
|
2847
2844
|
(d(), $(n(V), {
|
|
2848
2845
|
key: e.game.homeTeam.id,
|
|
2849
2846
|
class: "is-logo-image",
|
|
@@ -2853,53 +2850,53 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
2853
2850
|
c("div", {
|
|
2854
2851
|
class: G(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
2855
2852
|
}, [
|
|
2856
|
-
c("div",
|
|
2857
|
-
e.game.isOvertime ? (d(),
|
|
2858
|
-
e.game.isShootout ? (d(),
|
|
2859
|
-
e.game.seriesStandings ? (d(),
|
|
2853
|
+
c("div", il, [
|
|
2854
|
+
e.game.isOvertime ? (d(), f("span", nl, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
|
|
2855
|
+
e.game.isShootout ? (d(), f("span", ll, b(n(t)("common.shootoutShort")), 1)) : I("", !0),
|
|
2856
|
+
e.game.seriesStandings ? (d(), f("span", sl, b(e.game.seriesStandings), 1)) : I("", !0)
|
|
2860
2857
|
]),
|
|
2861
2858
|
c("a", {
|
|
2862
2859
|
href: e.gameLink(e.game),
|
|
2863
2860
|
target: e.target
|
|
2864
2861
|
}, [
|
|
2865
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (d(),
|
|
2866
|
-
e.game.gameStatus === 3 ? (d(),
|
|
2867
|
-
e.game.gameStatus === 4 ? (d(),
|
|
2868
|
-
e.game.gameStatus === 0 ? (d(),
|
|
2869
|
-
], 8,
|
|
2870
|
-
e.game.gameStatus === 0 ? (d(),
|
|
2871
|
-
e.game.gameStatus > 0 ? (d(),
|
|
2872
|
-
c("div",
|
|
2873
|
-
e.game.gameStatus !== 2 ? (d(),
|
|
2862
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (d(), f("span", dl, b(e.game.homeTeamScore) + " : " + b(e.game.awayTeamScore), 1)) : I("", !0),
|
|
2863
|
+
e.game.gameStatus === 3 ? (d(), f("span", pl, b(n(t)("game.status.jury")), 1)) : I("", !0),
|
|
2864
|
+
e.game.gameStatus === 4 ? (d(), f("span", gl, b(n(t)("game.status.delayed")), 1)) : I("", !0),
|
|
2865
|
+
e.game.gameStatus === 0 ? (d(), f("span", ul, b(e.game.gameDateTime), 1)) : I("", !0)
|
|
2866
|
+
], 8, cl),
|
|
2867
|
+
e.game.gameStatus === 0 ? (d(), f("span", bl, "(" + b(e.offsetName) + ")", 1)) : I("", !0),
|
|
2868
|
+
e.game.gameStatus > 0 ? (d(), f(O, { key: 1 }, [
|
|
2869
|
+
c("div", ml, b(e.game.periodResults), 1),
|
|
2870
|
+
e.game.gameStatus !== 2 ? (d(), f("div", vl, b(n(t)(`game.period.${e.game.period}`)), 1)) : I("", !0)
|
|
2874
2871
|
], 64)) : I("", !0)
|
|
2875
2872
|
], 2),
|
|
2876
|
-
c("div",
|
|
2873
|
+
c("div", hl, [
|
|
2877
2874
|
(d(), $(n(V), {
|
|
2878
2875
|
key: e.game.awayTeam.id,
|
|
2879
2876
|
class: "is-logo-image",
|
|
2880
2877
|
src: e.game.awayTeam.logo
|
|
2881
2878
|
}, null, 8, ["src"])),
|
|
2882
|
-
c("span",
|
|
2883
|
-
c("span",
|
|
2879
|
+
c("span", fl, b(e.game.awayTeam.shortName), 1),
|
|
2880
|
+
c("span", yl, b(e.game.awayTeam.longName), 1)
|
|
2884
2881
|
])
|
|
2885
2882
|
], 2));
|
|
2886
2883
|
}
|
|
2887
|
-
},
|
|
2884
|
+
}, xl = {
|
|
2888
2885
|
class: "g-grid",
|
|
2889
2886
|
style: { "column-gap": "8px", "padding-block": "15px", "--columns-tablet": "repeat(4, max-content)" }
|
|
2890
|
-
},
|
|
2887
|
+
}, kl = {
|
|
2891
2888
|
for: "season",
|
|
2892
2889
|
class: "label"
|
|
2893
|
-
},
|
|
2890
|
+
}, _l = ["value"], zl = {
|
|
2894
2891
|
for: "months",
|
|
2895
2892
|
class: "label"
|
|
2896
|
-
},
|
|
2893
|
+
}, Sl = { value: null }, Tl = ["value"], Il = {
|
|
2897
2894
|
for: "teams",
|
|
2898
2895
|
class: "label"
|
|
2899
|
-
},
|
|
2896
|
+
}, Pl = { value: null }, Nl = ["value"], $l = {
|
|
2900
2897
|
for: "type",
|
|
2901
2898
|
class: "label"
|
|
2902
|
-
},
|
|
2899
|
+
}, Al = { value: "all" }, Ll = { value: "home" }, Cl = { value: "away" }, El = {
|
|
2903
2900
|
__name: "ScheduleSelector",
|
|
2904
2901
|
props: {
|
|
2905
2902
|
seasons: {
|
|
@@ -2938,80 +2935,80 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
2938
2935
|
"update:selectedTeamGameType"
|
|
2939
2936
|
],
|
|
2940
2937
|
setup(e, { emit: t }) {
|
|
2941
|
-
const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType:
|
|
2942
|
-
return (v,
|
|
2938
|
+
const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType: p } = Ca(a, r), u = _(() => s.value === null);
|
|
2939
|
+
return (v, h) => (d(), f("div", xl, [
|
|
2943
2940
|
c("div", null, [
|
|
2944
|
-
c("label",
|
|
2941
|
+
c("label", kl, b(n(o)("selection.season")), 1),
|
|
2945
2942
|
w(n(re), {
|
|
2946
2943
|
id: "season",
|
|
2947
2944
|
modelValue: n(i),
|
|
2948
|
-
"onUpdate:modelValue":
|
|
2945
|
+
"onUpdate:modelValue": h[0] || (h[0] = (m) => Ie(i) ? i.value = m : null)
|
|
2949
2946
|
}, {
|
|
2950
|
-
default:
|
|
2951
|
-
(d(!0),
|
|
2947
|
+
default: k(() => [
|
|
2948
|
+
(d(!0), f(O, null, U(e.seasons, (m) => (d(), f("option", {
|
|
2952
2949
|
key: m.championshipId,
|
|
2953
2950
|
value: m.championshipId
|
|
2954
|
-
},
|
|
2951
|
+
}, b(m.seasonName), 9, _l))), 128))
|
|
2955
2952
|
]),
|
|
2956
2953
|
_: 1
|
|
2957
2954
|
}, 8, ["modelValue"])
|
|
2958
2955
|
]),
|
|
2959
2956
|
c("div", null, [
|
|
2960
|
-
c("label",
|
|
2957
|
+
c("label", zl, b(n(o)("selection.month")), 1),
|
|
2961
2958
|
w(n(re), {
|
|
2962
2959
|
id: "months",
|
|
2963
2960
|
modelValue: n(l),
|
|
2964
|
-
"onUpdate:modelValue":
|
|
2961
|
+
"onUpdate:modelValue": h[1] || (h[1] = (m) => Ie(l) ? l.value = m : null)
|
|
2965
2962
|
}, {
|
|
2966
|
-
default:
|
|
2967
|
-
c("option",
|
|
2968
|
-
(d(!0),
|
|
2963
|
+
default: k(() => [
|
|
2964
|
+
c("option", Sl, b(n(o)("common.all")), 1),
|
|
2965
|
+
(d(!0), f(O, null, U(e.months, (m) => (d(), f("option", {
|
|
2969
2966
|
key: m.value,
|
|
2970
2967
|
value: m.value
|
|
2971
|
-
},
|
|
2968
|
+
}, b(m.name), 9, Tl))), 128))
|
|
2972
2969
|
]),
|
|
2973
2970
|
_: 1
|
|
2974
2971
|
}, 8, ["modelValue"])
|
|
2975
2972
|
]),
|
|
2976
2973
|
c("div", null, [
|
|
2977
|
-
c("label",
|
|
2974
|
+
c("label", Il, b(n(o)("selection.teams")), 1),
|
|
2978
2975
|
w(n(re), {
|
|
2979
2976
|
id: "teams",
|
|
2980
2977
|
modelValue: n(s),
|
|
2981
|
-
"onUpdate:modelValue":
|
|
2978
|
+
"onUpdate:modelValue": h[2] || (h[2] = (m) => Ie(s) ? s.value = m : null)
|
|
2982
2979
|
}, {
|
|
2983
|
-
default:
|
|
2984
|
-
c("option",
|
|
2985
|
-
(d(!0),
|
|
2980
|
+
default: k(() => [
|
|
2981
|
+
c("option", Pl, b(n(o)("common.all")), 1),
|
|
2982
|
+
(d(!0), f(O, null, U(e.teams, (m) => (d(), f("option", {
|
|
2986
2983
|
key: m.teamId,
|
|
2987
2984
|
value: m.teamId
|
|
2988
|
-
},
|
|
2985
|
+
}, b(m.teamName), 9, Nl))), 128))
|
|
2989
2986
|
]),
|
|
2990
2987
|
_: 1
|
|
2991
2988
|
}, 8, ["modelValue"])
|
|
2992
2989
|
]),
|
|
2993
2990
|
c("div", null, [
|
|
2994
|
-
c("label",
|
|
2991
|
+
c("label", $l, b(n(o)("selection.homeOrAway")), 1),
|
|
2995
2992
|
w(n(re), {
|
|
2996
2993
|
id: "type",
|
|
2997
|
-
modelValue: n(
|
|
2998
|
-
"onUpdate:modelValue":
|
|
2999
|
-
disabled:
|
|
2994
|
+
modelValue: n(p),
|
|
2995
|
+
"onUpdate:modelValue": h[3] || (h[3] = (m) => Ie(p) ? p.value = m : null),
|
|
2996
|
+
disabled: u.value
|
|
3000
2997
|
}, {
|
|
3001
|
-
default:
|
|
3002
|
-
c("option",
|
|
3003
|
-
c("option",
|
|
3004
|
-
c("option",
|
|
2998
|
+
default: k(() => [
|
|
2999
|
+
c("option", Al, b(n(o)("common.all")), 1),
|
|
3000
|
+
c("option", Ll, b(n(o)("selection.home")), 1),
|
|
3001
|
+
c("option", Cl, b(n(o)("selection.away")), 1)
|
|
3005
3002
|
]),
|
|
3006
3003
|
_: 1
|
|
3007
3004
|
}, 8, ["modelValue", "disabled"])
|
|
3008
3005
|
])
|
|
3009
3006
|
]));
|
|
3010
3007
|
}
|
|
3011
|
-
},
|
|
3008
|
+
}, Ol = ".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}", jl = ".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}", Rl = { class: "section-selector" }, Fl = ["onClick"], Gl = {
|
|
3012
3009
|
key: 0,
|
|
3013
3010
|
class: "toggle-group"
|
|
3014
|
-
},
|
|
3011
|
+
}, Ml = ["onClick"], Dl = ["onClick"], Kl = ["data-gamedate"], Ul = { class: "is-text-base" }, Bl = { class: "is-card" }, Vl = "/game/id/{gameId}", ql = {
|
|
3015
3012
|
__name: "ScheduleLiga.ce",
|
|
3016
3013
|
props: {
|
|
3017
3014
|
locale: {
|
|
@@ -3038,21 +3035,21 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3038
3035
|
type: String,
|
|
3039
3036
|
default: "true"
|
|
3040
3037
|
},
|
|
3041
|
-
...
|
|
3038
|
+
...Pa
|
|
3042
3039
|
},
|
|
3043
3040
|
setup(e) {
|
|
3044
|
-
const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(it()), l = _(() => Et(/* @__PURE__ */ new Date(), n(i), t.locale)), s = _(() => t.scrollToGameDate.toLowerCase() === "true"),
|
|
3041
|
+
const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(it()), l = _(() => Et(/* @__PURE__ */ new Date(), n(i), t.locale)), s = _(() => t.scrollToGameDate.toLowerCase() === "true"), p = _(() => {
|
|
3045
3042
|
var m;
|
|
3046
|
-
return ((m =
|
|
3043
|
+
return ((m = La(o)) == null ? void 0 : m.clientHeight) ?? 0;
|
|
3047
3044
|
});
|
|
3048
|
-
function
|
|
3045
|
+
function u(m) {
|
|
3049
3046
|
i.value = m;
|
|
3050
3047
|
}
|
|
3051
3048
|
function v(m) {
|
|
3052
|
-
return nt(t.externalGameResolver ||
|
|
3049
|
+
return nt(t.externalGameResolver || Vl, m);
|
|
3053
3050
|
}
|
|
3054
|
-
const
|
|
3055
|
-
return (m,
|
|
3051
|
+
const h = _(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
3052
|
+
return (m, g) => (d(), f("div", {
|
|
3056
3053
|
ref_key: "mainElement",
|
|
3057
3054
|
ref: r
|
|
3058
3055
|
}, [
|
|
@@ -3060,26 +3057,26 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3060
3057
|
locale: t.locale,
|
|
3061
3058
|
messages: a
|
|
3062
3059
|
}, {
|
|
3063
|
-
default:
|
|
3060
|
+
default: k(({ t: x }) => [
|
|
3064
3061
|
w(n(ze), null, {
|
|
3065
|
-
default:
|
|
3066
|
-
|
|
3062
|
+
default: k(({ error: P, hasError: A }) => [
|
|
3063
|
+
A ? (d(), $(n(Se), {
|
|
3067
3064
|
key: 0,
|
|
3068
3065
|
error: P
|
|
3069
3066
|
}, null, 8, ["error"])) : I("", !0),
|
|
3070
|
-
w(
|
|
3067
|
+
w(Wn, {
|
|
3071
3068
|
locale: e.locale,
|
|
3072
3069
|
timezone: i.value,
|
|
3073
3070
|
"championship-name": e.championshipName,
|
|
3074
3071
|
"main-element": r.value,
|
|
3075
3072
|
"auto-refresh": t.autoRefresh,
|
|
3076
|
-
"scroll-offset":
|
|
3073
|
+
"scroll-offset": p.value,
|
|
3077
3074
|
"scroll-to-game-date": s.value
|
|
3078
3075
|
}, {
|
|
3079
|
-
default:
|
|
3080
|
-
seasons:
|
|
3076
|
+
default: k(({
|
|
3077
|
+
seasons: z,
|
|
3081
3078
|
championshipId: L,
|
|
3082
|
-
sections:
|
|
3079
|
+
sections: y,
|
|
3083
3080
|
section: S,
|
|
3084
3081
|
teams: T,
|
|
3085
3082
|
games: C,
|
|
@@ -3093,15 +3090,15 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3093
3090
|
changeSeason: wt,
|
|
3094
3091
|
changeMonth: E,
|
|
3095
3092
|
changeSection: Ue,
|
|
3096
|
-
changeTeam:
|
|
3097
|
-
changeTeamType:
|
|
3093
|
+
changeTeam: cr,
|
|
3094
|
+
changeTeamType: dr,
|
|
3098
3095
|
changeSubSection: Vt
|
|
3099
3096
|
}) => [
|
|
3100
|
-
w(
|
|
3097
|
+
w(El, {
|
|
3101
3098
|
ref_key: "selectorElement",
|
|
3102
3099
|
ref: o,
|
|
3103
3100
|
class: "is-sticky is-blured-bg",
|
|
3104
|
-
seasons:
|
|
3101
|
+
seasons: z,
|
|
3105
3102
|
"championship-id": L,
|
|
3106
3103
|
months: H,
|
|
3107
3104
|
"selected-month": le,
|
|
@@ -3110,49 +3107,49 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3110
3107
|
"selected-team-game-type": yt,
|
|
3111
3108
|
"onUpdate:championshipId": wt,
|
|
3112
3109
|
"onUpdate:selectedMonth": E,
|
|
3113
|
-
"onUpdate:selectedTeam":
|
|
3114
|
-
"onUpdate:selectedTeamGameType":
|
|
3110
|
+
"onUpdate:selectedTeam": cr,
|
|
3111
|
+
"onUpdate:selectedTeamGameType": dr
|
|
3115
3112
|
}, null, 8, ["seasons", "championship-id", "months", "selected-month", "teams", "selected-team", "selected-team-game-type", "onUpdate:championshipId", "onUpdate:selectedMonth", "onUpdate:selectedTeam", "onUpdate:selectedTeamGameType"]),
|
|
3116
|
-
c("div",
|
|
3117
|
-
(d(!0),
|
|
3113
|
+
c("div", Rl, [
|
|
3114
|
+
(d(!0), f(O, null, U(y, (J) => (d(), f("button", {
|
|
3118
3115
|
key: J.id,
|
|
3119
3116
|
class: G(["tab-button", { "is-active": J.name === S }]),
|
|
3120
3117
|
onClick: (Le) => Ue(J.name)
|
|
3121
|
-
},
|
|
3118
|
+
}, b(J.name), 11, Fl))), 128))
|
|
3122
3119
|
]),
|
|
3123
|
-
ne.length > 1 ? (d(),
|
|
3120
|
+
ne.length > 1 ? (d(), f("div", Gl, [
|
|
3124
3121
|
c("button", {
|
|
3125
3122
|
class: G({ "is-active": N === "" }),
|
|
3126
3123
|
onClick: (J) => Vt("")
|
|
3127
|
-
},
|
|
3128
|
-
(d(!0),
|
|
3124
|
+
}, b(x("common.all")), 11, Ml),
|
|
3125
|
+
(d(!0), f(O, null, U(ne, ({ name: J }) => (d(), f("button", {
|
|
3129
3126
|
key: J,
|
|
3130
3127
|
class: G({ "is-active": J === N }),
|
|
3131
3128
|
onClick: (Le) => Vt(J)
|
|
3132
|
-
},
|
|
3129
|
+
}, b(J), 11, Dl))), 128))
|
|
3133
3130
|
])) : I("", !0),
|
|
3134
|
-
t.timezoneSelector ? (d(), $(n(
|
|
3131
|
+
t.timezoneSelector ? (d(), $(n(yr), {
|
|
3135
3132
|
key: t.locale,
|
|
3136
3133
|
class: "is-mb-5",
|
|
3137
3134
|
locale: t.locale,
|
|
3138
3135
|
"current-zone": i.value,
|
|
3139
|
-
onChange:
|
|
3136
|
+
onChange: u
|
|
3140
3137
|
}, null, 8, ["locale", "current-zone"])) : I("", !0),
|
|
3141
|
-
j ? (d(), $(n(at), { key: 2 })) : (d(!0),
|
|
3138
|
+
j ? (d(), $(n(at), { key: 2 })) : (d(!0), f(O, { key: 3 }, U(C.rows, (J, Le) => (d(), f("div", {
|
|
3142
3139
|
key: Le,
|
|
3143
3140
|
"data-gamedate": Le
|
|
3144
3141
|
}, [
|
|
3145
|
-
c("span",
|
|
3146
|
-
c("div",
|
|
3147
|
-
(d(!0),
|
|
3142
|
+
c("span", Ul, b(n(et)(new Date(Le), "L dddd", i.value, e.locale)), 1),
|
|
3143
|
+
c("div", Bl, [
|
|
3144
|
+
(d(!0), f(O, null, U(J, (qt) => (d(), $(wl, {
|
|
3148
3145
|
key: qt.id,
|
|
3149
3146
|
game: qt,
|
|
3150
3147
|
"offset-name": l.value,
|
|
3151
3148
|
"game-link": v,
|
|
3152
|
-
target:
|
|
3149
|
+
target: h.value
|
|
3153
3150
|
}, null, 8, ["game", "offset-name", "target"]))), 128))
|
|
3154
3151
|
])
|
|
3155
|
-
], 8,
|
|
3152
|
+
], 8, Kl))), 128))
|
|
3156
3153
|
]),
|
|
3157
3154
|
_: 2
|
|
3158
3155
|
}, 1032, ["locale", "timezone", "championship-name", "main-element", "auto-refresh", "scroll-offset", "scroll-to-game-date"])
|
|
@@ -3164,7 +3161,7 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3164
3161
|
}, 8, ["locale"])
|
|
3165
3162
|
], 512));
|
|
3166
3163
|
}
|
|
3167
|
-
},
|
|
3164
|
+
}, Wl = /* @__PURE__ */ he(ql, [["styles", [ve, Ol, Kt, tr, jl]]]), Ye = "live", Tt = "default", Yl = 1e3 * 60 * 2, Hl = {
|
|
3168
3165
|
index: {
|
|
3169
3166
|
label: "table.blank",
|
|
3170
3167
|
class: "is-text-left"
|
|
@@ -3228,28 +3225,28 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3228
3225
|
class: "is-text-bold"
|
|
3229
3226
|
}
|
|
3230
3227
|
};
|
|
3231
|
-
function
|
|
3232
|
-
const a = _(() => (n(t) || []).filter((l) => l.gameStatus === 1) || []), r = _(() => a.value.length > 0), o = _(() =>
|
|
3228
|
+
function Jl(e = [], t = []) {
|
|
3229
|
+
const a = _(() => (n(t) || []).filter((l) => l.gameStatus === 1) || []), r = _(() => a.value.length > 0), o = _(() => Xl(n(e) || [], a.value)), i = _(() => Zl(n(e) || [], o.value));
|
|
3233
3230
|
return {
|
|
3234
3231
|
isActive: r,
|
|
3235
3232
|
rows: i
|
|
3236
3233
|
};
|
|
3237
3234
|
}
|
|
3238
|
-
function
|
|
3235
|
+
function Xl(e = [], t = []) {
|
|
3239
3236
|
return qo(e).map((r) => {
|
|
3240
3237
|
const o = t.find((i) => i.homeTeam.id === r.team.id || i.awayTeam.id === r.team.id);
|
|
3241
3238
|
if (r.isActiveGame = !!o, o) {
|
|
3242
3239
|
const l = r.team.id === o.homeTeam.id ? [o.homeTeamScore, o.awayTeamScore] : [o.awayTeamScore, o.homeTeamScore];
|
|
3243
|
-
r.score = l.join(":"), r.scoreType =
|
|
3240
|
+
r.score = l.join(":"), r.scoreType = es(l), r.points = r.points + Ql(l, o), r.gf = r.gf + l[0], r.ga = r.ga + l[1], r.gd = r.gf - r.ga, r.gamesPlayed = r.gamesPlayed + 1, r.rowClasses = "is-highlighted";
|
|
3244
3241
|
}
|
|
3245
3242
|
return r;
|
|
3246
3243
|
});
|
|
3247
3244
|
}
|
|
3248
|
-
function
|
|
3245
|
+
function Ql(e, t) {
|
|
3249
3246
|
const a = t.isOvertime || t.isShootout;
|
|
3250
3247
|
return e[0] > e[1] ? a ? 2 : 3 : e[0] < e[1] ? a ? 1 : 0 : 1;
|
|
3251
3248
|
}
|
|
3252
|
-
function
|
|
3249
|
+
function Zl(e, t) {
|
|
3253
3250
|
const a = mi([
|
|
3254
3251
|
Pe(q("points")),
|
|
3255
3252
|
Mt(q("gamesPlayed")),
|
|
@@ -3262,10 +3259,10 @@ function es(e, t) {
|
|
|
3262
3259
|
return r.diff = o - i, r;
|
|
3263
3260
|
});
|
|
3264
3261
|
}
|
|
3265
|
-
function
|
|
3262
|
+
function es(e) {
|
|
3266
3263
|
return e[0] > e[1] ? "W" : e[0] < e[1] ? "L" : "D";
|
|
3267
3264
|
}
|
|
3268
|
-
const
|
|
3265
|
+
const ts = {
|
|
3269
3266
|
__name: "DataProvider",
|
|
3270
3267
|
props: {
|
|
3271
3268
|
championshipName: {
|
|
@@ -3293,7 +3290,7 @@ const as = {
|
|
|
3293
3290
|
}), { onError: o } = ge(), { sort: i, change: l } = At({
|
|
3294
3291
|
sortTarget: "",
|
|
3295
3292
|
orders: []
|
|
3296
|
-
}), { isLoading: s, execute:
|
|
3293
|
+
}), { isLoading: s, execute: p } = D({
|
|
3297
3294
|
options: {
|
|
3298
3295
|
path: "/v2/championship-seasons",
|
|
3299
3296
|
apiKey: t.apiKey,
|
|
@@ -3301,7 +3298,7 @@ const as = {
|
|
|
3301
3298
|
},
|
|
3302
3299
|
transform: (j) => ht(j, r),
|
|
3303
3300
|
onError: o
|
|
3304
|
-
}), { isLoading:
|
|
3301
|
+
}), { isLoading: u, execute: v } = D({
|
|
3305
3302
|
options: {
|
|
3306
3303
|
path: "/v2/championship-sections",
|
|
3307
3304
|
apiKey: t.apiKey,
|
|
@@ -3310,9 +3307,9 @@ const as = {
|
|
|
3310
3307
|
transform: (j) => hi(j, r),
|
|
3311
3308
|
onError: o
|
|
3312
3309
|
}), {
|
|
3313
|
-
isLoading:
|
|
3310
|
+
isLoading: h,
|
|
3314
3311
|
state: m,
|
|
3315
|
-
execute:
|
|
3312
|
+
execute: g
|
|
3316
3313
|
} = D({
|
|
3317
3314
|
options: {
|
|
3318
3315
|
path: "/v2/standings",
|
|
@@ -3320,20 +3317,20 @@ const as = {
|
|
|
3320
3317
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
3321
3318
|
},
|
|
3322
3319
|
onError: o
|
|
3323
|
-
}), { state:
|
|
3320
|
+
}), { state: x, execute: P } = D({
|
|
3324
3321
|
options: {
|
|
3325
3322
|
path: "/v2/games-list",
|
|
3326
3323
|
apiKey: t.apiKey,
|
|
3327
3324
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
3328
3325
|
},
|
|
3329
3326
|
onError: o
|
|
3330
|
-
}), { isActive:
|
|
3331
|
-
te([
|
|
3327
|
+
}), { isActive: A, rows: z } = Jl(m, x), L = _(() => [u.value, s.value, h.value].some(Boolean)), y = _(() => Oe(n(m)).teamName().sorted(i).addContinuousIndex().value()), S = _(() => Oe(n(z)).addContinuousIndex().value());
|
|
3328
|
+
te([p, v, g, P]), so(P, Yl);
|
|
3332
3329
|
function T(j) {
|
|
3333
|
-
r.championshipId = j, a.championshipId = j, a.section = null, te([v,
|
|
3330
|
+
r.championshipId = j, a.championshipId = j, a.section = null, te([v, g]);
|
|
3334
3331
|
}
|
|
3335
3332
|
function C(j) {
|
|
3336
|
-
r.section = j, a.section = j,
|
|
3333
|
+
r.section = j, a.section = j, g();
|
|
3337
3334
|
}
|
|
3338
3335
|
function H(j) {
|
|
3339
3336
|
r.standingsType = j;
|
|
@@ -3342,8 +3339,8 @@ const as = {
|
|
|
3342
3339
|
...r,
|
|
3343
3340
|
sort: n(i),
|
|
3344
3341
|
isLoading: L.value,
|
|
3345
|
-
isLiveStandingsActive: n(
|
|
3346
|
-
teams:
|
|
3342
|
+
isLiveStandingsActive: n(A),
|
|
3343
|
+
teams: y.value,
|
|
3347
3344
|
liveRows: S.value,
|
|
3348
3345
|
onSort: n(l),
|
|
3349
3346
|
changeSeason: T,
|
|
@@ -3351,13 +3348,13 @@ const as = {
|
|
|
3351
3348
|
onChangeStandingsType: H
|
|
3352
3349
|
})));
|
|
3353
3350
|
}
|
|
3354
|
-
},
|
|
3351
|
+
}, as = {
|
|
3355
3352
|
class: "g-row",
|
|
3356
3353
|
style: { "column-gap": "8px", "padding-block-start": "15px" }
|
|
3357
|
-
},
|
|
3354
|
+
}, rs = {
|
|
3358
3355
|
for: "season",
|
|
3359
3356
|
class: "label"
|
|
3360
|
-
},
|
|
3357
|
+
}, os = ["value"], is = {
|
|
3361
3358
|
__name: "Selector",
|
|
3362
3359
|
props: {
|
|
3363
3360
|
seasons: {
|
|
@@ -3396,51 +3393,51 @@ const as = {
|
|
|
3396
3393
|
"update:selectedTeamGameType"
|
|
3397
3394
|
],
|
|
3398
3395
|
setup(e, { emit: t }) {
|
|
3399
|
-
const a = e, r = t, { t: o } = Q(), { championshipId: i } =
|
|
3400
|
-
return (l, s) => (d(),
|
|
3396
|
+
const a = e, r = t, { t: o } = Q(), { championshipId: i } = Ca(a, r);
|
|
3397
|
+
return (l, s) => (d(), f("div", as, [
|
|
3401
3398
|
c("div", null, [
|
|
3402
|
-
c("label",
|
|
3399
|
+
c("label", rs, b(n(o)("selection.season")), 1),
|
|
3403
3400
|
w(n(re), {
|
|
3404
3401
|
id: "season",
|
|
3405
3402
|
modelValue: n(i),
|
|
3406
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
3403
|
+
"onUpdate:modelValue": s[0] || (s[0] = (p) => Ie(i) ? i.value = p : null)
|
|
3407
3404
|
}, {
|
|
3408
|
-
default:
|
|
3409
|
-
(d(!0),
|
|
3410
|
-
key:
|
|
3411
|
-
value:
|
|
3412
|
-
},
|
|
3405
|
+
default: k(() => [
|
|
3406
|
+
(d(!0), f(O, null, U(e.seasons, (p) => (d(), f("option", {
|
|
3407
|
+
key: p.championshipId,
|
|
3408
|
+
value: p.championshipId
|
|
3409
|
+
}, b(p.seasonName), 9, os))), 128))
|
|
3413
3410
|
]),
|
|
3414
3411
|
_: 1
|
|
3415
3412
|
}, 8, ["modelValue"])
|
|
3416
3413
|
])
|
|
3417
3414
|
]));
|
|
3418
3415
|
}
|
|
3419
|
-
},
|
|
3416
|
+
}, ns = {
|
|
3420
3417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3421
3418
|
viewBox: "0 0 24 24"
|
|
3422
3419
|
};
|
|
3423
|
-
function
|
|
3424
|
-
return d(),
|
|
3420
|
+
function ls(e, t) {
|
|
3421
|
+
return d(), f("svg", ns, t[0] || (t[0] = [
|
|
3425
3422
|
c("path", {
|
|
3426
3423
|
fill: "currentColor",
|
|
3427
3424
|
d: "M8.12 9.29 12 13.17l3.88-3.88a.996.996 0 1 1 1.41 1.41l-4.59 4.59a.996.996 0 0 1-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"
|
|
3428
3425
|
}, null, -1)
|
|
3429
3426
|
]));
|
|
3430
3427
|
}
|
|
3431
|
-
const sa = { render:
|
|
3428
|
+
const sa = { render: ls }, ss = {
|
|
3432
3429
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3433
3430
|
viewBox: "0 0 24 24"
|
|
3434
3431
|
};
|
|
3435
|
-
function
|
|
3436
|
-
return d(),
|
|
3432
|
+
function cs(e, t) {
|
|
3433
|
+
return d(), f("svg", ss, t[0] || (t[0] = [
|
|
3437
3434
|
c("path", {
|
|
3438
3435
|
fill: "currentColor",
|
|
3439
3436
|
d: "M8.12 14.71L12 10.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0"
|
|
3440
3437
|
}, null, -1)
|
|
3441
3438
|
]));
|
|
3442
3439
|
}
|
|
3443
|
-
const ca = { render:
|
|
3440
|
+
const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, gs = { class: "is-team-name-short" }, us = { class: "is-team-name-long" }, bs = { key: 0 }, ms = { class: "is-team-name-short" }, vs = { key: 0 }, da = {
|
|
3444
3441
|
__name: "StandingsTable",
|
|
3445
3442
|
props: {
|
|
3446
3443
|
columns: {
|
|
@@ -3500,114 +3497,114 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3500
3497
|
},
|
|
3501
3498
|
emits: ["sort"],
|
|
3502
3499
|
setup(e, { emit: t }) {
|
|
3503
|
-
const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = ge(), { columns: s, error:
|
|
3500
|
+
const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = ge(), { columns: s, error: p } = ee(
|
|
3504
3501
|
o,
|
|
3505
3502
|
i,
|
|
3506
3503
|
_(() => ({
|
|
3507
3504
|
offsetName: a.offsetName
|
|
3508
3505
|
}))
|
|
3509
3506
|
);
|
|
3510
|
-
|
|
3507
|
+
p.value && l(
|
|
3511
3508
|
new xt.WidgetError(xt.UndefinedColumn.message, {
|
|
3512
3509
|
...xt.UndefinedColumn.options,
|
|
3513
|
-
cause: { column:
|
|
3510
|
+
cause: { column: p.value }
|
|
3514
3511
|
})
|
|
3515
3512
|
);
|
|
3516
|
-
const
|
|
3517
|
-
return (v,
|
|
3518
|
-
default:
|
|
3513
|
+
const u = (v) => r("sort", v);
|
|
3514
|
+
return (v, h) => (d(), $(n(ie), null, {
|
|
3515
|
+
default: k(({ el: m }) => [
|
|
3519
3516
|
w(n(ce), {
|
|
3520
3517
|
columns: n(s),
|
|
3521
3518
|
sort: a.sort,
|
|
3522
3519
|
rows: a.rows,
|
|
3523
3520
|
"is-loading": e.isLoading,
|
|
3524
3521
|
"append-to": e.appendTo || m,
|
|
3525
|
-
onSort:
|
|
3522
|
+
onSort: u
|
|
3526
3523
|
}, {
|
|
3527
|
-
"cell-index":
|
|
3524
|
+
"cell-index": k(({ row: g }) => [
|
|
3528
3525
|
c("span", {
|
|
3529
|
-
class: G(
|
|
3530
|
-
},
|
|
3526
|
+
class: G(g.indexClass)
|
|
3527
|
+
}, b(g.index), 3)
|
|
3531
3528
|
]),
|
|
3532
|
-
"cell-teamLogo":
|
|
3533
|
-
var
|
|
3529
|
+
"cell-teamLogo": k(({ row: g }) => {
|
|
3530
|
+
var x, P;
|
|
3534
3531
|
return [
|
|
3535
3532
|
(d(), $(n(V), {
|
|
3536
|
-
key: ((
|
|
3533
|
+
key: ((x = g.team) == null ? void 0 : x.id) ?? g.id,
|
|
3537
3534
|
class: "is-logo-image",
|
|
3538
|
-
src: (P =
|
|
3535
|
+
src: (P = g.team) == null ? void 0 : P.logo
|
|
3539
3536
|
}, null, 8, ["src"]))
|
|
3540
3537
|
];
|
|
3541
3538
|
}),
|
|
3542
|
-
"cell-teamName":
|
|
3543
|
-
var
|
|
3539
|
+
"cell-teamName": k(({ row: g }) => {
|
|
3540
|
+
var x, P, A, z, L;
|
|
3544
3541
|
return [
|
|
3545
|
-
e.isTeamLinked ? (d(),
|
|
3542
|
+
e.isTeamLinked ? (d(), f("a", {
|
|
3546
3543
|
key: 0,
|
|
3547
|
-
href: e.externalTeamResolver((
|
|
3544
|
+
href: e.externalTeamResolver((x = g.team) == null ? void 0 : x.longName),
|
|
3548
3545
|
target: "_blank"
|
|
3549
3546
|
}, [
|
|
3550
|
-
c("span",
|
|
3551
|
-
c("span",
|
|
3552
|
-
|
|
3553
|
-
|
|
3547
|
+
c("span", ps, b((P = g.team) == null ? void 0 : P.longName), 1),
|
|
3548
|
+
c("span", gs, b((A = g.team) == null ? void 0 : A.shortName), 1),
|
|
3549
|
+
g.isActiveGame && g.diff !== 0 ? (d(), f(O, { key: 0 }, [
|
|
3550
|
+
g.diff > 0 ? (d(), $(n(ca), {
|
|
3554
3551
|
key: 0,
|
|
3555
3552
|
width: "12",
|
|
3556
3553
|
height: "12",
|
|
3557
3554
|
class: "is-text-positive"
|
|
3558
3555
|
})) : I("", !0),
|
|
3559
|
-
|
|
3556
|
+
g.diff < 0 ? (d(), $(n(sa), {
|
|
3560
3557
|
key: 1,
|
|
3561
3558
|
width: "12",
|
|
3562
3559
|
height: "12",
|
|
3563
3560
|
class: "is-text-negative"
|
|
3564
3561
|
})) : I("", !0),
|
|
3565
3562
|
c("span", {
|
|
3566
|
-
class: G({ "is-text-positive":
|
|
3567
|
-
},
|
|
3563
|
+
class: G({ "is-text-positive": g.diff > 0, "is-text-negative": g.diff < 0 })
|
|
3564
|
+
}, b(g.diff), 3)
|
|
3568
3565
|
], 64)) : I("", !0)
|
|
3569
|
-
], 8,
|
|
3570
|
-
c("span",
|
|
3571
|
-
W(
|
|
3572
|
-
|
|
3566
|
+
], 8, ds)) : (d(), f(O, { key: 1 }, [
|
|
3567
|
+
c("span", us, [
|
|
3568
|
+
W(b((z = g.team) == null ? void 0 : z.longName) + " ", 1),
|
|
3569
|
+
g.penaltyPoints ? (d(), f("span", bs, h[0] || (h[0] = [
|
|
3573
3570
|
c("sup", null, "*", -1)
|
|
3574
3571
|
]))) : I("", !0)
|
|
3575
3572
|
]),
|
|
3576
|
-
c("span",
|
|
3577
|
-
W(
|
|
3578
|
-
|
|
3573
|
+
c("span", ms, [
|
|
3574
|
+
W(b((L = g.team) == null ? void 0 : L.shortName) + " ", 1),
|
|
3575
|
+
g.penaltyPoints ? (d(), f("span", vs, h[1] || (h[1] = [
|
|
3579
3576
|
c("sup", null, "*", -1)
|
|
3580
3577
|
]))) : I("", !0)
|
|
3581
3578
|
]),
|
|
3582
|
-
|
|
3583
|
-
|
|
3579
|
+
g.isActiveGame && g.diff !== 0 ? (d(), f(O, { key: 0 }, [
|
|
3580
|
+
g.diff > 0 ? (d(), $(n(ca), {
|
|
3584
3581
|
key: 0,
|
|
3585
3582
|
width: "12",
|
|
3586
3583
|
height: "12",
|
|
3587
3584
|
class: "is-text-positive"
|
|
3588
3585
|
})) : I("", !0),
|
|
3589
|
-
|
|
3586
|
+
g.diff < 0 ? (d(), $(n(sa), {
|
|
3590
3587
|
key: 1,
|
|
3591
3588
|
width: "12",
|
|
3592
3589
|
height: "12",
|
|
3593
3590
|
class: "is-text-negative"
|
|
3594
3591
|
})) : I("", !0),
|
|
3595
3592
|
c("span", {
|
|
3596
|
-
class: G({ "is-text-positive":
|
|
3597
|
-
},
|
|
3593
|
+
class: G({ "is-text-positive": g.diff > 0, "is-text-negative": g.diff < 0 })
|
|
3594
|
+
}, b(g.diff), 3)
|
|
3598
3595
|
], 64)) : I("", !0)
|
|
3599
3596
|
], 64))
|
|
3600
3597
|
];
|
|
3601
3598
|
}),
|
|
3602
|
-
"cell-score":
|
|
3603
|
-
|
|
3599
|
+
"cell-score": k(({ row: g }) => [
|
|
3600
|
+
g.isActiveGame ? (d(), f("span", {
|
|
3604
3601
|
key: 0,
|
|
3605
3602
|
class: G(["is-badge is-large", [
|
|
3606
|
-
{ "is-green":
|
|
3603
|
+
{ "is-green": g.scoreType === "W", "is-red": g.scoreType === "L", "is-yellow": g.scoreType === "D" }
|
|
3607
3604
|
]])
|
|
3608
|
-
},
|
|
3605
|
+
}, b(g.score), 3)) : I("", !0)
|
|
3609
3606
|
]),
|
|
3610
|
-
loading:
|
|
3607
|
+
loading: k(() => [
|
|
3611
3608
|
w(n(at))
|
|
3612
3609
|
]),
|
|
3613
3610
|
_: 2
|
|
@@ -3616,10 +3613,10 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3616
3613
|
_: 1
|
|
3617
3614
|
}));
|
|
3618
3615
|
}
|
|
3619
|
-
},
|
|
3616
|
+
}, hs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", fs = { class: "section-selector" }, ys = ["onClick"], ws = {
|
|
3620
3617
|
key: 0,
|
|
3621
3618
|
class: "toggle-group"
|
|
3622
|
-
},
|
|
3619
|
+
}, xs = ["onClick"], ks = ["onClick"], _s = {
|
|
3623
3620
|
__name: "StandingsLiga.ce",
|
|
3624
3621
|
props: {
|
|
3625
3622
|
locale: {
|
|
@@ -3641,84 +3638,84 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3641
3638
|
},
|
|
3642
3639
|
setup(e) {
|
|
3643
3640
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (i) => st(t.externalTeamResolver, i);
|
|
3644
|
-
return (i, l) => (d(),
|
|
3641
|
+
return (i, l) => (d(), f("div", null, [
|
|
3645
3642
|
w(n(pe), {
|
|
3646
3643
|
locale: t.locale,
|
|
3647
3644
|
messages: a
|
|
3648
3645
|
}, {
|
|
3649
|
-
default:
|
|
3646
|
+
default: k(({ t: s }) => [
|
|
3650
3647
|
w(n(ze), null, {
|
|
3651
|
-
default:
|
|
3652
|
-
|
|
3648
|
+
default: k(({ error: p, hasError: u }) => [
|
|
3649
|
+
u ? (d(), $(n(Se), {
|
|
3653
3650
|
key: 0,
|
|
3654
|
-
error:
|
|
3651
|
+
error: p
|
|
3655
3652
|
}, null, 8, ["error"])) : I("", !0),
|
|
3656
|
-
w(
|
|
3653
|
+
w(ts, {
|
|
3657
3654
|
locale: e.locale,
|
|
3658
3655
|
"championship-name": e.championshipName
|
|
3659
3656
|
}, {
|
|
3660
|
-
default:
|
|
3657
|
+
default: k(({
|
|
3661
3658
|
sort: v,
|
|
3662
|
-
teams:
|
|
3659
|
+
teams: h,
|
|
3663
3660
|
seasons: m,
|
|
3664
|
-
section:
|
|
3665
|
-
sections:
|
|
3661
|
+
section: g,
|
|
3662
|
+
sections: x,
|
|
3666
3663
|
liveRows: P,
|
|
3667
|
-
isLoading:
|
|
3668
|
-
standingsType:
|
|
3664
|
+
isLoading: A,
|
|
3665
|
+
standingsType: z,
|
|
3669
3666
|
championshipId: L,
|
|
3670
|
-
isLiveStandingsActive:
|
|
3667
|
+
isLiveStandingsActive: y,
|
|
3671
3668
|
onSort: S,
|
|
3672
3669
|
changeSeason: T,
|
|
3673
3670
|
changeSection: C,
|
|
3674
3671
|
onChangeStandingsType: H
|
|
3675
3672
|
}) => [
|
|
3676
|
-
w(
|
|
3673
|
+
w(is, {
|
|
3677
3674
|
seasons: m,
|
|
3678
3675
|
"championship-id": L,
|
|
3679
3676
|
"onUpdate:championshipId": T
|
|
3680
3677
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
3681
|
-
c("div",
|
|
3682
|
-
(d(!0),
|
|
3678
|
+
c("div", fs, [
|
|
3679
|
+
(d(!0), f(O, null, U(x, (j) => (d(), f("button", {
|
|
3683
3680
|
key: j.phaseId,
|
|
3684
|
-
class: G(["tab-button", { "is-active": j.phaseName ===
|
|
3681
|
+
class: G(["tab-button", { "is-active": j.phaseName === g }]),
|
|
3685
3682
|
onClick: (ne) => C(j.phaseName)
|
|
3686
|
-
},
|
|
3683
|
+
}, b(j.phaseName), 11, ys))), 128))
|
|
3687
3684
|
]),
|
|
3688
|
-
|
|
3685
|
+
y ? (d(), f("div", ws, [
|
|
3689
3686
|
c("button", {
|
|
3690
|
-
class: G({ "is-active":
|
|
3687
|
+
class: G({ "is-active": z === n(Ye) }),
|
|
3691
3688
|
onClick: (j) => H(n(Ye))
|
|
3692
|
-
},
|
|
3689
|
+
}, b(s("standings.live")), 11, xs),
|
|
3693
3690
|
c("button", {
|
|
3694
|
-
class: G({ "is-active":
|
|
3691
|
+
class: G({ "is-active": z === n(Tt) }),
|
|
3695
3692
|
onClick: (j) => H(n(Tt))
|
|
3696
|
-
},
|
|
3693
|
+
}, b(s("standings.default")), 11, ks)
|
|
3697
3694
|
])) : I("", !0),
|
|
3698
|
-
|
|
3695
|
+
z === n(Ye) && y ? (d(), $(da, {
|
|
3699
3696
|
key: 1,
|
|
3700
3697
|
rows: P.rows,
|
|
3701
|
-
columns: n(
|
|
3698
|
+
columns: n(Hl),
|
|
3702
3699
|
"external-team-resolver": o,
|
|
3703
|
-
"is-loading":
|
|
3700
|
+
"is-loading": A,
|
|
3704
3701
|
"append-to": r.value
|
|
3705
3702
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"])) : I("", !0),
|
|
3706
|
-
|
|
3703
|
+
z === n(Tt) || !y ? (d(), $(da, {
|
|
3707
3704
|
key: 2,
|
|
3708
|
-
rows:
|
|
3705
|
+
rows: h.rows,
|
|
3709
3706
|
columns: n(Ar),
|
|
3710
3707
|
sort: v,
|
|
3711
3708
|
"external-team-resolver": o,
|
|
3712
3709
|
"append-to": r.value,
|
|
3713
|
-
"is-loading":
|
|
3710
|
+
"is-loading": A,
|
|
3714
3711
|
onSort: S
|
|
3715
3712
|
}, null, 8, ["rows", "columns", "sort", "append-to", "is-loading", "onSort"])) : I("", !0),
|
|
3716
3713
|
w(n(Yt), {
|
|
3717
|
-
rows:
|
|
3714
|
+
rows: h.rows,
|
|
3718
3715
|
"additional-key": "inheritedPoints"
|
|
3719
3716
|
}, null, 8, ["rows"]),
|
|
3720
3717
|
w(n(Yt), {
|
|
3721
|
-
rows:
|
|
3718
|
+
rows: h.rows,
|
|
3722
3719
|
"additional-key": "penaltyPoints"
|
|
3723
3720
|
}, null, 8, ["rows"])
|
|
3724
3721
|
]),
|
|
@@ -3736,7 +3733,7 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3736
3733
|
}, 8, ["locale"])
|
|
3737
3734
|
]));
|
|
3738
3735
|
}
|
|
3739
|
-
},
|
|
3736
|
+
}, zs = /* @__PURE__ */ he(_s, [["styles", [ve, Ke, Ut, lr, Bt, or, hs]]]), De = "players", pa = "teams", ga = (/* @__PURE__ */ new Map()).set("points", {
|
|
3740
3737
|
api: "/v2/players-stats",
|
|
3741
3738
|
columns: Ve,
|
|
3742
3739
|
sort: {
|
|
@@ -3836,7 +3833,7 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3836
3833
|
orders: [{ target: "sp", direction: B }]
|
|
3837
3834
|
}
|
|
3838
3835
|
});
|
|
3839
|
-
function
|
|
3836
|
+
function Ss(e) {
|
|
3840
3837
|
return [
|
|
3841
3838
|
{
|
|
3842
3839
|
name: e("report.points"),
|
|
@@ -3872,7 +3869,7 @@ function Ts(e) {
|
|
|
3872
3869
|
}
|
|
3873
3870
|
];
|
|
3874
3871
|
}
|
|
3875
|
-
function
|
|
3872
|
+
function Ts(e) {
|
|
3876
3873
|
return [
|
|
3877
3874
|
{
|
|
3878
3875
|
name: e("report.teamAttendance"),
|
|
@@ -3896,32 +3893,32 @@ function Is(e) {
|
|
|
3896
3893
|
}
|
|
3897
3894
|
];
|
|
3898
3895
|
}
|
|
3899
|
-
function
|
|
3896
|
+
function Is(e) {
|
|
3900
3897
|
return ae(vt(Pe(q("championshipId"))), me(oe(["championshipId", "seasonName"])))(e);
|
|
3901
3898
|
}
|
|
3902
|
-
const
|
|
3903
|
-
function
|
|
3899
|
+
const Ps = (e) => vt(Mt(q("teamName")), e);
|
|
3900
|
+
function Ns(e) {
|
|
3904
3901
|
return e.report ? e.report : e.type ? e.type === De ? "points" : "teamAttandance" : "points";
|
|
3905
3902
|
}
|
|
3906
|
-
const
|
|
3903
|
+
const $s = {
|
|
3907
3904
|
class: "g-row is-mb-5",
|
|
3908
3905
|
style: { "flex-wrap": "wrap", gap: "20px", margin: "20px 0" }
|
|
3909
|
-
},
|
|
3906
|
+
}, As = {
|
|
3910
3907
|
for: "season",
|
|
3911
3908
|
class: "label"
|
|
3912
|
-
},
|
|
3909
|
+
}, Ls = ["value"], Cs = {
|
|
3913
3910
|
for: "section",
|
|
3914
3911
|
class: "label"
|
|
3915
|
-
},
|
|
3912
|
+
}, Es = ["value"], Os = {
|
|
3916
3913
|
for: "report",
|
|
3917
3914
|
class: "label"
|
|
3918
|
-
},
|
|
3915
|
+
}, js = ["value"], Rs = {
|
|
3919
3916
|
for: "teams",
|
|
3920
3917
|
class: "label"
|
|
3921
|
-
},
|
|
3918
|
+
}, Fs = { value: null }, Gs = ["value"], Ms = {
|
|
3922
3919
|
for: "player",
|
|
3923
3920
|
class: "label"
|
|
3924
|
-
},
|
|
3921
|
+
}, Ds = ["disabled"], Ks = {
|
|
3925
3922
|
__name: "StatisticSelector",
|
|
3926
3923
|
props: {
|
|
3927
3924
|
seasons: {
|
|
@@ -3976,102 +3973,102 @@ const As = {
|
|
|
3976
3973
|
setup(e, { emit: t }) {
|
|
3977
3974
|
const a = e, r = t, { t: o } = Q(), i = _({
|
|
3978
3975
|
get: () => a.championshipId,
|
|
3979
|
-
set: (
|
|
3976
|
+
set: (h) => r("onSeasonChange", h)
|
|
3980
3977
|
}), l = _({
|
|
3981
3978
|
get: () => a.phaseId,
|
|
3982
|
-
set: (
|
|
3979
|
+
set: (h) => r("onSectionChange", h)
|
|
3983
3980
|
}), s = _({
|
|
3984
3981
|
get: () => a.currentReport,
|
|
3985
|
-
set: (
|
|
3986
|
-
}),
|
|
3982
|
+
set: (h) => r("onReportChange", h)
|
|
3983
|
+
}), p = _({
|
|
3987
3984
|
get: () => a.teamFilter,
|
|
3988
|
-
set: (
|
|
3989
|
-
}),
|
|
3985
|
+
set: (h) => r("onTeamChange", h)
|
|
3986
|
+
}), u = _({
|
|
3990
3987
|
get: () => a.playerFilter,
|
|
3991
|
-
set: (
|
|
3988
|
+
set: (h) => r("onPlayerInput", h)
|
|
3992
3989
|
});
|
|
3993
|
-
function v(
|
|
3994
|
-
r("onStatTypeChange",
|
|
3990
|
+
function v(h) {
|
|
3991
|
+
r("onStatTypeChange", h);
|
|
3995
3992
|
}
|
|
3996
|
-
return (
|
|
3997
|
-
c("div",
|
|
3993
|
+
return (h, m) => (d(), f(O, null, [
|
|
3994
|
+
c("div", $s, [
|
|
3998
3995
|
c("div", null, [
|
|
3999
|
-
c("label",
|
|
3996
|
+
c("label", As, b(n(o)("selection.season")), 1),
|
|
4000
3997
|
w(n(re), {
|
|
4001
3998
|
id: "season",
|
|
4002
3999
|
modelValue: i.value,
|
|
4003
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
4000
|
+
"onUpdate:modelValue": m[0] || (m[0] = (g) => i.value = g)
|
|
4004
4001
|
}, {
|
|
4005
|
-
default:
|
|
4006
|
-
(d(!0),
|
|
4007
|
-
key:
|
|
4008
|
-
value:
|
|
4009
|
-
},
|
|
4002
|
+
default: k(() => [
|
|
4003
|
+
(d(!0), f(O, null, U(e.seasons, (g) => (d(), f("option", {
|
|
4004
|
+
key: g.championshipId,
|
|
4005
|
+
value: g.championshipId
|
|
4006
|
+
}, b(g.seasonName), 9, Ls))), 128))
|
|
4010
4007
|
]),
|
|
4011
4008
|
_: 1
|
|
4012
4009
|
}, 8, ["modelValue"])
|
|
4013
4010
|
]),
|
|
4014
4011
|
c("div", null, [
|
|
4015
|
-
c("label",
|
|
4012
|
+
c("label", Cs, b(n(o)("selection.section")), 1),
|
|
4016
4013
|
w(n(re), {
|
|
4017
4014
|
id: "section",
|
|
4018
4015
|
modelValue: l.value,
|
|
4019
|
-
"onUpdate:modelValue": m[1] || (m[1] = (
|
|
4016
|
+
"onUpdate:modelValue": m[1] || (m[1] = (g) => l.value = g)
|
|
4020
4017
|
}, {
|
|
4021
|
-
default:
|
|
4022
|
-
(d(!0),
|
|
4023
|
-
key:
|
|
4024
|
-
value:
|
|
4025
|
-
},
|
|
4018
|
+
default: k(() => [
|
|
4019
|
+
(d(!0), f(O, null, U(e.sections, (g) => (d(), f("option", {
|
|
4020
|
+
key: g.phaseId,
|
|
4021
|
+
value: g.phaseId
|
|
4022
|
+
}, b(g.phaseName), 9, Es))), 128))
|
|
4026
4023
|
]),
|
|
4027
4024
|
_: 1
|
|
4028
4025
|
}, 8, ["modelValue"])
|
|
4029
4026
|
]),
|
|
4030
4027
|
c("div", null, [
|
|
4031
|
-
c("label",
|
|
4028
|
+
c("label", Os, b(n(o)("selection.report")), 1),
|
|
4032
4029
|
w(n(re), {
|
|
4033
4030
|
id: "report",
|
|
4034
4031
|
modelValue: s.value,
|
|
4035
|
-
"onUpdate:modelValue": m[2] || (m[2] = (
|
|
4032
|
+
"onUpdate:modelValue": m[2] || (m[2] = (g) => s.value = g)
|
|
4036
4033
|
}, {
|
|
4037
|
-
default:
|
|
4038
|
-
(d(!0),
|
|
4039
|
-
key:
|
|
4040
|
-
value:
|
|
4041
|
-
},
|
|
4034
|
+
default: k(() => [
|
|
4035
|
+
(d(!0), f(O, null, U(e.reports, ({ name: g, value: x }) => (d(), f("option", {
|
|
4036
|
+
key: x,
|
|
4037
|
+
value: x
|
|
4038
|
+
}, b(g), 9, js))), 128))
|
|
4042
4039
|
]),
|
|
4043
4040
|
_: 1
|
|
4044
4041
|
}, 8, ["modelValue"])
|
|
4045
4042
|
]),
|
|
4046
|
-
e.reportType === "players" ? (d(),
|
|
4043
|
+
e.reportType === "players" ? (d(), f(O, { key: 0 }, [
|
|
4047
4044
|
c("div", null, [
|
|
4048
|
-
c("label",
|
|
4045
|
+
c("label", Rs, b(n(o)("selection.teams")), 1),
|
|
4049
4046
|
w(n(re), {
|
|
4050
4047
|
id: "teams",
|
|
4051
|
-
modelValue:
|
|
4052
|
-
"onUpdate:modelValue": m[3] || (m[3] = (
|
|
4048
|
+
modelValue: p.value,
|
|
4049
|
+
"onUpdate:modelValue": m[3] || (m[3] = (g) => p.value = g),
|
|
4053
4050
|
disabled: e.reportType !== "players"
|
|
4054
4051
|
}, {
|
|
4055
|
-
default:
|
|
4056
|
-
c("option",
|
|
4057
|
-
(d(!0),
|
|
4058
|
-
key:
|
|
4059
|
-
value:
|
|
4060
|
-
},
|
|
4052
|
+
default: k(() => [
|
|
4053
|
+
c("option", Fs, b(n(o)("common.all")), 1),
|
|
4054
|
+
(d(!0), f(O, null, U(e.teams, ({ teamId: g, teamName: x }) => (d(), f("option", {
|
|
4055
|
+
key: g,
|
|
4056
|
+
value: g
|
|
4057
|
+
}, b(x), 9, Gs))), 128))
|
|
4061
4058
|
]),
|
|
4062
4059
|
_: 1
|
|
4063
4060
|
}, 8, ["modelValue", "disabled"])
|
|
4064
4061
|
]),
|
|
4065
4062
|
c("div", null, [
|
|
4066
|
-
c("label",
|
|
4067
|
-
|
|
4063
|
+
c("label", Ms, b(n(o)("selection.filterName")), 1),
|
|
4064
|
+
mr(c("input", {
|
|
4068
4065
|
id: "player",
|
|
4069
|
-
"onUpdate:modelValue": m[4] || (m[4] = (
|
|
4066
|
+
"onUpdate:modelValue": m[4] || (m[4] = (g) => u.value = g),
|
|
4070
4067
|
type: "text",
|
|
4071
4068
|
class: "base-input",
|
|
4072
4069
|
disabled: e.reportType !== "players"
|
|
4073
|
-
}, null, 8,
|
|
4074
|
-
[
|
|
4070
|
+
}, null, 8, Ds), [
|
|
4071
|
+
[vr, u.value]
|
|
4075
4072
|
])
|
|
4076
4073
|
])
|
|
4077
4074
|
], 64)) : I("", !0)
|
|
@@ -4080,17 +4077,17 @@ const As = {
|
|
|
4080
4077
|
c("button", {
|
|
4081
4078
|
type: "button",
|
|
4082
4079
|
class: G(["tab-button", { "is-active": e.reportType === n(De) }]),
|
|
4083
|
-
onClick: m[5] || (m[5] = (
|
|
4084
|
-
},
|
|
4080
|
+
onClick: m[5] || (m[5] = (g) => v(n(De)))
|
|
4081
|
+
}, b(n(o)("selection.players")), 3),
|
|
4085
4082
|
c("button", {
|
|
4086
4083
|
type: "button",
|
|
4087
4084
|
class: G(["tab-button", { "is-active": e.reportType === n(pa) }]),
|
|
4088
|
-
onClick: m[6] || (m[6] = (
|
|
4089
|
-
},
|
|
4085
|
+
onClick: m[6] || (m[6] = (g) => v(n(pa)))
|
|
4086
|
+
}, b(n(o)("selection.teams")), 3)
|
|
4090
4087
|
])
|
|
4091
4088
|
], 64));
|
|
4092
4089
|
}
|
|
4093
|
-
},
|
|
4090
|
+
}, Us = {
|
|
4094
4091
|
__name: "StatisticsProvider",
|
|
4095
4092
|
props: {
|
|
4096
4093
|
championshipName: {
|
|
@@ -4123,7 +4120,7 @@ const As = {
|
|
|
4123
4120
|
playerFilter: "",
|
|
4124
4121
|
reportType: o.type || De,
|
|
4125
4122
|
reports: null,
|
|
4126
|
-
currentReport:
|
|
4123
|
+
currentReport: Ns(o),
|
|
4127
4124
|
rows: [],
|
|
4128
4125
|
columns: null,
|
|
4129
4126
|
api: null,
|
|
@@ -4131,8 +4128,8 @@ const As = {
|
|
|
4131
4128
|
}), l = ga.get("points");
|
|
4132
4129
|
i.columns = l.columns, i.api = l.api;
|
|
4133
4130
|
const s = _(
|
|
4134
|
-
() => i.reportType === De ?
|
|
4135
|
-
), { page:
|
|
4131
|
+
() => i.reportType === De ? Ss(a) : Ts(a)
|
|
4132
|
+
), { page: p, change: u } = wa(), { sort: v, change: h } = At({
|
|
4136
4133
|
sortTarget: "points",
|
|
4137
4134
|
orders: [{ target: "points", direction: B }]
|
|
4138
4135
|
});
|
|
@@ -4144,30 +4141,30 @@ const As = {
|
|
|
4144
4141
|
});
|
|
4145
4142
|
if (N.length === 0)
|
|
4146
4143
|
throw new xa(Ze.message, Ze.options);
|
|
4147
|
-
i.seasons =
|
|
4144
|
+
i.seasons = Is(N), i.championshipId || (i.championshipId = fe(i.seasons).championshipId);
|
|
4148
4145
|
} catch (N) {
|
|
4149
4146
|
r(N);
|
|
4150
4147
|
} finally {
|
|
4151
4148
|
i.loading = !1;
|
|
4152
4149
|
}
|
|
4153
4150
|
}
|
|
4154
|
-
async function
|
|
4151
|
+
async function g() {
|
|
4155
4152
|
var N;
|
|
4156
4153
|
try {
|
|
4157
4154
|
i.loading = !0;
|
|
4158
4155
|
const le = await Be("/v2/championship-sections", t.apiKey, {
|
|
4159
4156
|
championshipId: i.championshipId
|
|
4160
4157
|
});
|
|
4161
|
-
i.sections = Me(q("phaseName"))(
|
|
4158
|
+
i.sections = Me(q("phaseName"))(Sr(Ge([0, "phases"], le))), i.phaseId = i.phaseId || ((N = fe(i.sections)) == null ? void 0 : N.phaseId);
|
|
4162
4159
|
} catch (le) {
|
|
4163
4160
|
r(le);
|
|
4164
4161
|
} finally {
|
|
4165
4162
|
i.loading = !1;
|
|
4166
4163
|
}
|
|
4167
4164
|
}
|
|
4168
|
-
async function
|
|
4165
|
+
async function x() {
|
|
4169
4166
|
try {
|
|
4170
|
-
i.loading = !0, i.rows = [],
|
|
4167
|
+
i.loading = !0, i.rows = [], u(1);
|
|
4171
4168
|
const N = await Be(i.api, t.apiKey, {
|
|
4172
4169
|
championshipId: i.championshipId,
|
|
4173
4170
|
phaseId: i.phaseId,
|
|
@@ -4178,7 +4175,7 @@ const As = {
|
|
|
4178
4175
|
lt,
|
|
4179
4176
|
ot,
|
|
4180
4177
|
ka(["mip"]),
|
|
4181
|
-
|
|
4178
|
+
Tr([
|
|
4182
4179
|
"dvgTime",
|
|
4183
4180
|
"dvgTimePP1",
|
|
4184
4181
|
"dvgTimePP2",
|
|
@@ -4211,47 +4208,47 @@ const As = {
|
|
|
4211
4208
|
const N = await Be("/v2/championship-teams", t.apiKey, {
|
|
4212
4209
|
championshipId: i.championshipId
|
|
4213
4210
|
});
|
|
4214
|
-
i.teams =
|
|
4211
|
+
i.teams = Ps(N);
|
|
4215
4212
|
} catch (N) {
|
|
4216
4213
|
r(N);
|
|
4217
4214
|
} finally {
|
|
4218
4215
|
i.loading = !1;
|
|
4219
4216
|
}
|
|
4220
4217
|
}
|
|
4221
|
-
const
|
|
4222
|
-
() => Oe(i.rows).filter(i.teamFilter, [["team", "id"]], !0).filter(i.playerFilter, ["name"]).sorted(v).addIndex(v.sortTarget).pagination(n(
|
|
4223
|
-
),
|
|
4218
|
+
const A = _(
|
|
4219
|
+
() => Oe(i.rows).filter(i.teamFilter, [["team", "id"]], !0).filter(i.playerFilter, ["name"]).sorted(v).addIndex(v.sortTarget).pagination(n(p), t.limit).value()
|
|
4220
|
+
), z = _(() => [(p.value - 1) * t.limit + 1, Math.min(p.value * t.limit, A.value.totalItems)]);
|
|
4224
4221
|
function L() {
|
|
4225
4222
|
const N = ga.get(i.currentReport);
|
|
4226
4223
|
i.columns = N.columns, i.api = N.api, i.apiParams = N.params || {}, v.sortTarget = N.sort.sortTarget, v.orders = N.sort.orders;
|
|
4227
4224
|
}
|
|
4228
|
-
async function
|
|
4229
|
-
i.championshipId = N, o.championshipId = N, i.phaseId = null, o.phaseId = null, await
|
|
4225
|
+
async function y(N) {
|
|
4226
|
+
i.championshipId = N, o.championshipId = N, i.phaseId = null, o.phaseId = null, await g(), o.section = i.section, await P(), await x();
|
|
4230
4227
|
}
|
|
4231
4228
|
async function S(N) {
|
|
4232
|
-
i.phaseId = N, o.phaseId = N, await
|
|
4229
|
+
i.phaseId = N, o.phaseId = N, await x();
|
|
4233
4230
|
}
|
|
4234
4231
|
function T(N) {
|
|
4235
|
-
i.currentReport = N, o.report = N, L(),
|
|
4232
|
+
i.currentReport = N, o.report = N, L(), x();
|
|
4236
4233
|
}
|
|
4237
4234
|
function C(N) {
|
|
4238
|
-
|
|
4235
|
+
u(1), i.teamFilter = Number(N) || null, o.teamFilter = N || null;
|
|
4239
4236
|
}
|
|
4240
4237
|
function H(N) {
|
|
4241
|
-
|
|
4238
|
+
u(1), N instanceof Event && (N = N.target.value), i.playerFilter = N;
|
|
4242
4239
|
}
|
|
4243
4240
|
function j(N) {
|
|
4244
|
-
i.reportType = N, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = N, L(),
|
|
4241
|
+
i.reportType = N, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = N, L(), x();
|
|
4245
4242
|
}
|
|
4246
4243
|
async function ne() {
|
|
4247
|
-
await m(), await
|
|
4244
|
+
await m(), await g(), await P(), L(), await x();
|
|
4248
4245
|
}
|
|
4249
4246
|
return ne(), (N, le) => xe(N.$slots, "default", ke(_e({
|
|
4250
4247
|
...i,
|
|
4251
|
-
rows:
|
|
4248
|
+
rows: A.value,
|
|
4252
4249
|
sort: n(v),
|
|
4253
|
-
page: n(
|
|
4254
|
-
range:
|
|
4250
|
+
page: n(p),
|
|
4251
|
+
range: z.value,
|
|
4255
4252
|
selectorProps: {
|
|
4256
4253
|
reports: s.value,
|
|
4257
4254
|
...n(oe)(
|
|
@@ -4270,21 +4267,21 @@ const As = {
|
|
|
4270
4267
|
)
|
|
4271
4268
|
},
|
|
4272
4269
|
selectorListeners: {
|
|
4273
|
-
onSeasonChange:
|
|
4270
|
+
onSeasonChange: y,
|
|
4274
4271
|
onSectionChange: S,
|
|
4275
4272
|
onReportChange: T,
|
|
4276
4273
|
onStatTypeChange: j,
|
|
4277
4274
|
onTeamChange: C,
|
|
4278
4275
|
onPlayerInput: H
|
|
4279
4276
|
},
|
|
4280
|
-
onPaginatorChange: n(
|
|
4281
|
-
onSort: n(
|
|
4277
|
+
onPaginatorChange: n(u),
|
|
4278
|
+
onSort: n(h)
|
|
4282
4279
|
})));
|
|
4283
4280
|
}
|
|
4284
|
-
},
|
|
4281
|
+
}, Bs = `.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)}`, Vs = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', qs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Ws = ".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}", Ys = { style: { display: "flex", "align-items": "center" } }, Hs = {
|
|
4285
4282
|
key: 0,
|
|
4286
4283
|
style: { "flex-grow": "1", "text-align": "right" }
|
|
4287
|
-
},
|
|
4284
|
+
}, Js = {
|
|
4288
4285
|
__name: "Statistics.ce",
|
|
4289
4286
|
props: {
|
|
4290
4287
|
locale: {
|
|
@@ -4312,38 +4309,38 @@ const As = {
|
|
|
4312
4309
|
},
|
|
4313
4310
|
setup(e) {
|
|
4314
4311
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => st(t.externalTeamResolver, l), i = (l) => Ot(t.externalPlayerLink, l);
|
|
4315
|
-
return (l, s) => (d(),
|
|
4312
|
+
return (l, s) => (d(), f("div", null, [
|
|
4316
4313
|
w(n(pe), {
|
|
4317
4314
|
locale: t.locale,
|
|
4318
4315
|
messages: a
|
|
4319
4316
|
}, {
|
|
4320
|
-
default:
|
|
4317
|
+
default: k(() => [
|
|
4321
4318
|
w(n(ze), null, {
|
|
4322
|
-
default:
|
|
4323
|
-
w(
|
|
4319
|
+
default: k(({ hasError: p, error: u }) => [
|
|
4320
|
+
w(Us, {
|
|
4324
4321
|
"championship-name": e.championshipName,
|
|
4325
4322
|
"championship-id": e.championshipId,
|
|
4326
4323
|
limit: t.limit,
|
|
4327
4324
|
"api-key": e.apiKey
|
|
4328
4325
|
}, {
|
|
4329
|
-
default:
|
|
4326
|
+
default: k(({
|
|
4330
4327
|
sort: v,
|
|
4331
|
-
columns:
|
|
4328
|
+
columns: h,
|
|
4332
4329
|
rows: m,
|
|
4333
|
-
page:
|
|
4334
|
-
range:
|
|
4330
|
+
page: g,
|
|
4331
|
+
range: x,
|
|
4335
4332
|
loading: P,
|
|
4336
|
-
selectorProps:
|
|
4337
|
-
selectorListeners:
|
|
4333
|
+
selectorProps: A,
|
|
4334
|
+
selectorListeners: z,
|
|
4338
4335
|
onPaginatorChange: L,
|
|
4339
|
-
onSort:
|
|
4336
|
+
onSort: y
|
|
4340
4337
|
}) => [
|
|
4341
|
-
|
|
4338
|
+
p ? (d(), $(n(Se), {
|
|
4342
4339
|
key: 0,
|
|
4343
|
-
error:
|
|
4344
|
-
}, null, 8, ["error"])) : (d(), $(
|
|
4345
|
-
w(n(
|
|
4346
|
-
columns:
|
|
4340
|
+
error: u
|
|
4341
|
+
}, null, 8, ["error"])) : (d(), $(Ks, hr({ key: 1 }, A, fr(z)), null, 16)),
|
|
4342
|
+
w(n(wr), {
|
|
4343
|
+
columns: h,
|
|
4347
4344
|
rows: m.rows,
|
|
4348
4345
|
sort: v,
|
|
4349
4346
|
"is-loading": P,
|
|
@@ -4353,17 +4350,17 @@ const As = {
|
|
|
4353
4350
|
"is-player-linked": l.isPlayerLinked,
|
|
4354
4351
|
"hide-columns": e.hideColumns,
|
|
4355
4352
|
"append-to": r.value,
|
|
4356
|
-
onSort:
|
|
4353
|
+
onSort: y
|
|
4357
4354
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "is-team-linked", "is-player-linked", "hide-columns", "append-to", "onSort"]),
|
|
4358
|
-
c("div",
|
|
4355
|
+
c("div", Ys, [
|
|
4359
4356
|
w(n(ya), {
|
|
4360
|
-
page:
|
|
4357
|
+
page: g,
|
|
4361
4358
|
"items-per-page": t.limit,
|
|
4362
4359
|
"total-items": m.totalItems,
|
|
4363
4360
|
"range-length": 5,
|
|
4364
4361
|
onChange: L
|
|
4365
4362
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
4366
|
-
m.totalItems > 0 ? (d(),
|
|
4363
|
+
m.totalItems > 0 ? (d(), f("div", Hs, b(x.join("-")) + " / " + b(m.totalItems) + " db ", 1)) : I("", !0)
|
|
4367
4364
|
]),
|
|
4368
4365
|
c("div", {
|
|
4369
4366
|
ref_key: "tooltipContainer",
|
|
@@ -4380,7 +4377,7 @@ const As = {
|
|
|
4380
4377
|
}, 8, ["locale"])
|
|
4381
4378
|
]));
|
|
4382
4379
|
}
|
|
4383
|
-
},
|
|
4380
|
+
}, Xs = /* @__PURE__ */ he(Js, [["styles", [ve, Bs, Vs, qs, Bt, Ws]]]), He = "Info", Je = "Games", Xe = "Stats", Qe = "Roster", Qs = {
|
|
4384
4381
|
teamKeyIntl: {
|
|
4385
4382
|
label: "table.blank",
|
|
4386
4383
|
class: "is-text-left"
|
|
@@ -4390,51 +4387,51 @@ const As = {
|
|
|
4390
4387
|
class: "is-text-left"
|
|
4391
4388
|
}
|
|
4392
4389
|
};
|
|
4393
|
-
function
|
|
4390
|
+
function Zs(e) {
|
|
4394
4391
|
const t = we(
|
|
4395
4392
|
["team", "organizationType", "organizationShortName", "organizationLogo", "organizationRepresentatives", "arenas"],
|
|
4396
4393
|
e
|
|
4397
4394
|
), a = [];
|
|
4398
4395
|
for (let [r, o] of Object.entries(t))
|
|
4399
|
-
r === "organizationFoundingDate" && (o = et(o, "YYYY")), r === "organizationAddresses" && (o =
|
|
4396
|
+
r === "organizationFoundingDate" && (o = et(o, "YYYY")), r === "organizationAddresses" && (o = oc((o == null ? void 0 : o.headquarter) ?? {})), a.push({ teamKey: r, teamValue: o });
|
|
4400
4397
|
return { team: e == null ? void 0 : e.team, organizationInfo: a };
|
|
4401
4398
|
}
|
|
4402
|
-
function
|
|
4399
|
+
function ec(e) {
|
|
4403
4400
|
return ae(
|
|
4404
|
-
ei(
|
|
4401
|
+
ei(ac),
|
|
4405
4402
|
Me((t) => {
|
|
4406
4403
|
var a, r;
|
|
4407
4404
|
return ["ld", "rd", "d"].includes((a = t.position) == null ? void 0 : a.toLowerCase()) ? 1 : ["lw", "rw", "c"].includes((r = t.position) == null ? void 0 : r.toLowerCase()) ? 2 : 0;
|
|
4408
4405
|
}),
|
|
4409
|
-
Me(
|
|
4410
|
-
me(ae(lt, ot,
|
|
4406
|
+
Me(rc),
|
|
4407
|
+
me(ae(lt, ot, Ir(["position"])))
|
|
4411
4408
|
)(e);
|
|
4412
4409
|
}
|
|
4413
4410
|
function It(e, t) {
|
|
4414
|
-
return
|
|
4411
|
+
return Ba(Gt(ui(t, ["team", "id"])), me(lt))(e);
|
|
4415
4412
|
}
|
|
4416
4413
|
function ua(e, t) {
|
|
4417
|
-
return
|
|
4414
|
+
return Ua(pi(di, la(Ge(["player", "playerId"]), e), la(Ge(["player", "playerId"]), t)));
|
|
4418
4415
|
}
|
|
4419
|
-
function
|
|
4420
|
-
const r = me(Ge(["player", "playerId"]))(e), i = pt((
|
|
4416
|
+
function tc({ goalieStats: e, fieldPlayers: t, playersPenalty: a }) {
|
|
4417
|
+
const r = me(Ge(["player", "playerId"]))(e), i = pt((u) => r.includes(u.player.playerId))(a), l = ai((u, v) => u.player.playerId === v, a, r), s = ua(t, i), p = ua(e, l);
|
|
4421
4418
|
return {
|
|
4422
4419
|
fieldPlayers: Jt(s),
|
|
4423
|
-
goalies: Jt(
|
|
4420
|
+
goalies: Jt(p)
|
|
4424
4421
|
};
|
|
4425
4422
|
}
|
|
4426
|
-
function
|
|
4423
|
+
function ac(e) {
|
|
4427
4424
|
var t, a;
|
|
4428
4425
|
return ["ld", "rd"].includes((t = e.position) == null ? void 0 : t.toLowerCase()) ? "defenders" : ["lw", "rw", "c"].includes((a = e.position) == null ? void 0 : a.toLowerCase()) ? "forwards" : "goalies";
|
|
4429
4426
|
}
|
|
4430
|
-
function
|
|
4427
|
+
function rc(e) {
|
|
4431
4428
|
return Number(e.jerseyNr);
|
|
4432
4429
|
}
|
|
4433
|
-
function
|
|
4430
|
+
function oc(e) {
|
|
4434
4431
|
const t = e.city ? gi(si("city"), bi(/$/, ",")) : () => ({});
|
|
4435
|
-
return ae(ni(" "),
|
|
4432
|
+
return ae(ni(" "), Ua, t, we(["type"]))(e);
|
|
4436
4433
|
}
|
|
4437
|
-
const
|
|
4434
|
+
const ic = {
|
|
4438
4435
|
__name: "DataProvider",
|
|
4439
4436
|
props: {
|
|
4440
4437
|
apiKey: {
|
|
@@ -4468,53 +4465,53 @@ const nc = {
|
|
|
4468
4465
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId })),
|
|
4469
4466
|
immediate: !0
|
|
4470
4467
|
},
|
|
4471
|
-
transform: (
|
|
4468
|
+
transform: (y) => Zs(y),
|
|
4472
4469
|
onError: i
|
|
4473
|
-
}), { state: s, execute:
|
|
4470
|
+
}), { state: s, execute: p } = D({
|
|
4474
4471
|
options: {
|
|
4475
4472
|
path: "/v2/team-games",
|
|
4476
4473
|
apiKey: t.apiKey,
|
|
4477
4474
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
|
|
4478
4475
|
},
|
|
4479
|
-
transform: (
|
|
4480
|
-
Ct(
|
|
4476
|
+
transform: (y) => rt(
|
|
4477
|
+
Ct(y),
|
|
4481
4478
|
_a(a, t.locale),
|
|
4482
4479
|
za,
|
|
4483
4480
|
Sa(o.teamId),
|
|
4484
4481
|
Ta
|
|
4485
4482
|
),
|
|
4486
4483
|
onError: i
|
|
4487
|
-
}), { state:
|
|
4484
|
+
}), { state: u, execute: v } = D({
|
|
4488
4485
|
options: {
|
|
4489
4486
|
path: "/v2/championship-players",
|
|
4490
4487
|
apiKey: t.apiKey,
|
|
4491
4488
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
|
|
4492
4489
|
},
|
|
4493
|
-
transform: (
|
|
4490
|
+
transform: (y) => ec(y, o.teamId),
|
|
4494
4491
|
onError: i
|
|
4495
|
-
}), { state:
|
|
4492
|
+
}), { state: h, execute: m } = D({
|
|
4496
4493
|
options: {
|
|
4497
4494
|
path: "/v2/players-stats",
|
|
4498
4495
|
apiKey: t.apiKey,
|
|
4499
4496
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4500
4497
|
},
|
|
4501
|
-
transform: (
|
|
4498
|
+
transform: (y) => It(y, o.teamId),
|
|
4502
4499
|
onError: i
|
|
4503
|
-
}), { state:
|
|
4500
|
+
}), { state: g, execute: x } = D({
|
|
4504
4501
|
options: {
|
|
4505
4502
|
path: "/v2/players-penalty",
|
|
4506
4503
|
apiKey: t.apiKey,
|
|
4507
4504
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4508
4505
|
},
|
|
4509
|
-
transform: (
|
|
4506
|
+
transform: (y) => It(y, o.teamId),
|
|
4510
4507
|
onError: i
|
|
4511
|
-
}), { state: P, execute:
|
|
4508
|
+
}), { state: P, execute: A } = D({
|
|
4512
4509
|
options: {
|
|
4513
4510
|
path: "/v2/players-goalie",
|
|
4514
4511
|
apiKey: t.apiKey,
|
|
4515
4512
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4516
4513
|
},
|
|
4517
|
-
transform: (
|
|
4514
|
+
transform: (y) => It(y, o.teamId),
|
|
4518
4515
|
onError: i
|
|
4519
4516
|
});
|
|
4520
4517
|
se(
|
|
@@ -4526,33 +4523,33 @@ const nc = {
|
|
|
4526
4523
|
immediate: !0
|
|
4527
4524
|
}
|
|
4528
4525
|
);
|
|
4529
|
-
function
|
|
4530
|
-
o.page =
|
|
4526
|
+
function z(y) {
|
|
4527
|
+
o.page = y, r.page = y;
|
|
4531
4528
|
}
|
|
4532
|
-
function L(
|
|
4533
|
-
switch (
|
|
4529
|
+
function L(y) {
|
|
4530
|
+
switch (y) {
|
|
4534
4531
|
case Je:
|
|
4535
|
-
|
|
4532
|
+
p();
|
|
4536
4533
|
break;
|
|
4537
4534
|
case Qe:
|
|
4538
4535
|
v();
|
|
4539
4536
|
break;
|
|
4540
4537
|
case Xe:
|
|
4541
|
-
o.isStatsLoading = !0, te([
|
|
4538
|
+
o.isStatsLoading = !0, te([A, m, x], {
|
|
4542
4539
|
onFinished: () => {
|
|
4543
|
-
o.isStatsLoading = !1, o.statistics =
|
|
4540
|
+
o.isStatsLoading = !1, o.statistics = tc({
|
|
4544
4541
|
goalieStats: P.value,
|
|
4545
|
-
fieldPlayers:
|
|
4546
|
-
playersPenalty:
|
|
4542
|
+
fieldPlayers: h.value,
|
|
4543
|
+
playersPenalty: g.value
|
|
4547
4544
|
});
|
|
4548
4545
|
}
|
|
4549
4546
|
});
|
|
4550
4547
|
break;
|
|
4551
4548
|
}
|
|
4552
4549
|
}
|
|
4553
|
-
return (
|
|
4550
|
+
return (y, S) => xe(y.$slots, "default", ke(_e({ ...o, games: n(s), teamInfo: n(l), roster: n(u), fieldPlayers: n(h), fieldPlayersPenalty: n(g), onChangePage: z })));
|
|
4554
4551
|
}
|
|
4555
|
-
},
|
|
4552
|
+
}, nc = { class: "is-heading-2" }, lc = {
|
|
4556
4553
|
__name: "Games",
|
|
4557
4554
|
props: {
|
|
4558
4555
|
data: {
|
|
@@ -4584,9 +4581,9 @@ const nc = {
|
|
|
4584
4581
|
null,
|
|
4585
4582
|
_(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
|
|
4586
4583
|
);
|
|
4587
|
-
return (o, i) => (d(),
|
|
4588
|
-
c("h2",
|
|
4589
|
-
w(
|
|
4584
|
+
return (o, i) => (d(), f(O, null, [
|
|
4585
|
+
c("h2", nc, b(n(a)("teams.games")), 1),
|
|
4586
|
+
w(er, {
|
|
4590
4587
|
rows: e.data,
|
|
4591
4588
|
columns: n(r),
|
|
4592
4589
|
"game-resolver": e.gameResolver,
|
|
@@ -4598,7 +4595,7 @@ const nc = {
|
|
|
4598
4595
|
}, null, 512)
|
|
4599
4596
|
], 64));
|
|
4600
4597
|
}
|
|
4601
|
-
},
|
|
4598
|
+
}, sc = { class: "is-heading-2" }, cc = ["href"], dc = ["href"], pc = {
|
|
4602
4599
|
__name: "Info",
|
|
4603
4600
|
props: {
|
|
4604
4601
|
data: {
|
|
@@ -4607,26 +4604,26 @@ const nc = {
|
|
|
4607
4604
|
}
|
|
4608
4605
|
},
|
|
4609
4606
|
setup(e) {
|
|
4610
|
-
const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(
|
|
4611
|
-
return (l, s) => (d(),
|
|
4612
|
-
c("h2",
|
|
4607
|
+
const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(Qs), i = _(() => me((l) => ({ ...l, teamKeyIntl: r(`teams.info.${l.teamKey}`) }))(t.data));
|
|
4608
|
+
return (l, s) => (d(), f("div", null, [
|
|
4609
|
+
c("h2", sc, b(n(r)("teams.teamInfo")), 1),
|
|
4613
4610
|
w(n(ie), null, {
|
|
4614
|
-
default:
|
|
4611
|
+
default: k(() => [
|
|
4615
4612
|
w(n(ce), {
|
|
4616
4613
|
columns: n(o),
|
|
4617
4614
|
rows: i.value,
|
|
4618
4615
|
"append-to": a.value
|
|
4619
4616
|
}, {
|
|
4620
|
-
"cell-teamValue":
|
|
4621
|
-
|
|
4617
|
+
"cell-teamValue": k(({ row: p }) => [
|
|
4618
|
+
p.teamKey === "organizationEmail" ? (d(), f("a", {
|
|
4622
4619
|
key: 0,
|
|
4623
|
-
href: `mailto:${
|
|
4624
|
-
},
|
|
4625
|
-
|
|
4620
|
+
href: `mailto:${p.teamValue}`
|
|
4621
|
+
}, b(p.teamValue), 9, cc)) : I("", !0),
|
|
4622
|
+
p.teamKey === "organizationWebpage" ? (d(), f("a", {
|
|
4626
4623
|
key: 1,
|
|
4627
|
-
href: `https://${
|
|
4624
|
+
href: `https://${p.teamValue}`,
|
|
4628
4625
|
target: "_blank"
|
|
4629
|
-
},
|
|
4626
|
+
}, b(p.teamValue), 9, dc)) : I("", !0)
|
|
4630
4627
|
]),
|
|
4631
4628
|
_: 1
|
|
4632
4629
|
}, 8, ["columns", "rows", "append-to"])
|
|
@@ -4639,7 +4636,7 @@ const nc = {
|
|
|
4639
4636
|
}, null, 512)
|
|
4640
4637
|
]));
|
|
4641
4638
|
}
|
|
4642
|
-
},
|
|
4639
|
+
}, gc = { class: "is-heading-2" }, uc = {
|
|
4643
4640
|
__name: "Roster",
|
|
4644
4641
|
props: {
|
|
4645
4642
|
data: {
|
|
@@ -4660,11 +4657,11 @@ const nc = {
|
|
|
4660
4657
|
}
|
|
4661
4658
|
},
|
|
4662
4659
|
setup(e) {
|
|
4663
|
-
const t = K(null), { t: a } = Q(), { columns: r } = ee(we(["teamName"],
|
|
4664
|
-
return (o, i) => (d(),
|
|
4665
|
-
(d(!0),
|
|
4666
|
-
c("h2",
|
|
4667
|
-
w(
|
|
4660
|
+
const t = K(null), { t: a } = Q(), { columns: r } = ee(we(["teamName"], Za));
|
|
4661
|
+
return (o, i) => (d(), f(O, null, [
|
|
4662
|
+
(d(!0), f(O, null, U(e.data, (l, s) => (d(), f(O, { key: s }, [
|
|
4663
|
+
c("h2", gc, b(n(a)(`teams.${s}`)), 1),
|
|
4664
|
+
w(rr, {
|
|
4668
4665
|
rows: l,
|
|
4669
4666
|
columns: n(r),
|
|
4670
4667
|
"championship-id": e.championshipId,
|
|
@@ -4678,7 +4675,7 @@ const nc = {
|
|
|
4678
4675
|
}, null, 512)
|
|
4679
4676
|
], 64));
|
|
4680
4677
|
}
|
|
4681
|
-
},
|
|
4678
|
+
}, bc = { class: "is-heading-2" }, mc = { class: "is-portrait-image" }, vc = ["href", "textContent"], hc = { class: "is-heading-2" }, fc = { class: "is-portrait-image" }, yc = ["href", "textContent"], wc = {
|
|
4682
4679
|
__name: "Statistics",
|
|
4683
4680
|
props: {
|
|
4684
4681
|
fieldPlayers: {
|
|
@@ -4724,59 +4721,59 @@ const nc = {
|
|
|
4724
4721
|
],
|
|
4725
4722
|
Ne
|
|
4726
4723
|
), r = K(null), { t: o } = Q(), { columns: i } = ee(t), { columns: l } = ee(a);
|
|
4727
|
-
return (s,
|
|
4728
|
-
c("h2",
|
|
4724
|
+
return (s, p) => (d(), f("div", null, [
|
|
4725
|
+
c("h2", bc, b(n(o)("teams.fieldPlayers")), 1),
|
|
4729
4726
|
w(n(ie), null, {
|
|
4730
|
-
default:
|
|
4727
|
+
default: k(() => [
|
|
4731
4728
|
w(n(ce), {
|
|
4732
4729
|
columns: n(i),
|
|
4733
4730
|
rows: e.fieldPlayers,
|
|
4734
4731
|
"is-loading": e.isLoading,
|
|
4735
4732
|
"append-to": r.value
|
|
4736
4733
|
}, {
|
|
4737
|
-
"cell-playerPortrait":
|
|
4738
|
-
c("div",
|
|
4734
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
4735
|
+
c("div", mc, [
|
|
4739
4736
|
(d(), $(n(V), {
|
|
4740
|
-
key:
|
|
4741
|
-
src:
|
|
4737
|
+
key: u.player.playerId,
|
|
4738
|
+
src: u.player.picture,
|
|
4742
4739
|
"default-src": n(Zt)
|
|
4743
4740
|
}, null, 8, ["src", "default-src"]))
|
|
4744
4741
|
])
|
|
4745
4742
|
]),
|
|
4746
|
-
"cell-name":
|
|
4743
|
+
"cell-name": k(({ row: u }) => [
|
|
4747
4744
|
c("a", {
|
|
4748
|
-
href: e.externalPlayerResolver({ ...
|
|
4749
|
-
textContent: u
|
|
4750
|
-
}, null, 8,
|
|
4745
|
+
href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
|
|
4746
|
+
textContent: b(u.name)
|
|
4747
|
+
}, null, 8, vc)
|
|
4751
4748
|
]),
|
|
4752
4749
|
_: 1
|
|
4753
4750
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
4754
4751
|
]),
|
|
4755
4752
|
_: 1
|
|
4756
4753
|
}),
|
|
4757
|
-
c("h2",
|
|
4754
|
+
c("h2", hc, b(n(o)("teams.goalies")), 1),
|
|
4758
4755
|
w(n(ie), null, {
|
|
4759
|
-
default:
|
|
4756
|
+
default: k(() => [
|
|
4760
4757
|
w(n(ce), {
|
|
4761
4758
|
columns: n(l),
|
|
4762
4759
|
rows: e.goalies,
|
|
4763
4760
|
"is-loading": e.isLoading,
|
|
4764
4761
|
"append-to": r.value
|
|
4765
4762
|
}, {
|
|
4766
|
-
"cell-playerPortrait":
|
|
4767
|
-
c("div",
|
|
4763
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
4764
|
+
c("div", fc, [
|
|
4768
4765
|
(d(), $(n(V), {
|
|
4769
|
-
key:
|
|
4770
|
-
src:
|
|
4766
|
+
key: u.player.playerId,
|
|
4767
|
+
src: u.player.picture,
|
|
4771
4768
|
"default-src": n(Zt)
|
|
4772
4769
|
}, null, 8, ["src", "default-src"]))
|
|
4773
4770
|
])
|
|
4774
4771
|
]),
|
|
4775
|
-
"cell-name":
|
|
4772
|
+
"cell-name": k(({ row: u }) => [
|
|
4776
4773
|
c("a", {
|
|
4777
|
-
href: e.externalPlayerResolver({ ...
|
|
4778
|
-
textContent: u
|
|
4779
|
-
}, null, 8,
|
|
4774
|
+
href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
|
|
4775
|
+
textContent: b(u.name)
|
|
4776
|
+
}, null, 8, yc)
|
|
4780
4777
|
]),
|
|
4781
4778
|
_: 1
|
|
4782
4779
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -4789,10 +4786,10 @@ const nc = {
|
|
|
4789
4786
|
}, null, 512)
|
|
4790
4787
|
]));
|
|
4791
4788
|
}
|
|
4792
|
-
},
|
|
4789
|
+
}, xc = ".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)}}", sr = `.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)}`, kc = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", _c = { class: "is-mb-5" }, zc = { class: "is-heading-1 is-uppercase is-mb-5" }, Sc = {
|
|
4793
4790
|
class: "main-image-wrapper",
|
|
4794
4791
|
style: { "--overlay-radius": "0px" }
|
|
4795
|
-
},
|
|
4792
|
+
}, Tc = { class: "is-main-image" }, Ic = { class: "is-ovarlay-image" }, Pc = { class: "is-mt-5" }, Nc = ["onClick"], $c = ["onClick"], Ac = ["onClick"], Lc = ["onClick"], Cc = {
|
|
4796
4793
|
__name: "Team.ce",
|
|
4797
4794
|
props: {
|
|
4798
4795
|
locale: {
|
|
@@ -4822,86 +4819,86 @@ const nc = {
|
|
|
4822
4819
|
},
|
|
4823
4820
|
setup(e) {
|
|
4824
4821
|
const t = e, a = { en: ue, hu: be }, r = (i) => Ot(t.externalPlayerResolver, i), o = (i) => nt(t.externalGameResolver, i);
|
|
4825
|
-
return (i, l) => (d(),
|
|
4822
|
+
return (i, l) => (d(), f("div", _c, [
|
|
4826
4823
|
w(n(pe), {
|
|
4827
4824
|
locale: t.locale,
|
|
4828
4825
|
messages: a
|
|
4829
4826
|
}, {
|
|
4830
|
-
default:
|
|
4827
|
+
default: k(({ t: s }) => [
|
|
4831
4828
|
w(n(ze), null, {
|
|
4832
|
-
default:
|
|
4833
|
-
|
|
4829
|
+
default: k(({ hasError: p, error: u }) => [
|
|
4830
|
+
p ? (d(), $(n(Se), {
|
|
4834
4831
|
key: 0,
|
|
4835
|
-
error:
|
|
4832
|
+
error: u
|
|
4836
4833
|
}, null, 8, ["error"])) : I("", !0),
|
|
4837
|
-
w(
|
|
4834
|
+
w(ic, {
|
|
4838
4835
|
"api-key": t.apiKey,
|
|
4839
4836
|
"championship-id": e.championshipId,
|
|
4840
4837
|
"team-id": e.teamId
|
|
4841
4838
|
}, {
|
|
4842
|
-
default:
|
|
4839
|
+
default: k(({
|
|
4843
4840
|
teamInfo: v,
|
|
4844
|
-
page:
|
|
4841
|
+
page: h,
|
|
4845
4842
|
roster: m,
|
|
4846
|
-
games:
|
|
4847
|
-
statistics:
|
|
4843
|
+
games: g,
|
|
4844
|
+
statistics: x,
|
|
4848
4845
|
isStatsLoading: P,
|
|
4849
|
-
onChangePage:
|
|
4846
|
+
onChangePage: A
|
|
4850
4847
|
}) => {
|
|
4851
|
-
var
|
|
4848
|
+
var z, L, y, S, T;
|
|
4852
4849
|
return [
|
|
4853
|
-
c("h1",
|
|
4854
|
-
c("div",
|
|
4855
|
-
c("div",
|
|
4850
|
+
c("h1", zc, b((z = v == null ? void 0 : v.team) == null ? void 0 : z.longName), 1),
|
|
4851
|
+
c("div", Sc, [
|
|
4852
|
+
c("div", Tc, [
|
|
4856
4853
|
(d(), $(n(V), {
|
|
4857
4854
|
key: (L = v == null ? void 0 : v.team) == null ? void 0 : L.id,
|
|
4858
|
-
src: (
|
|
4855
|
+
src: (y = v == null ? void 0 : v.team) == null ? void 0 : y.teamPhoto,
|
|
4859
4856
|
"default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
|
|
4860
4857
|
}, null, 8, ["src"]))
|
|
4861
4858
|
]),
|
|
4862
|
-
c("div",
|
|
4859
|
+
c("div", Ic, [
|
|
4863
4860
|
(d(), $(n(V), {
|
|
4864
4861
|
key: (S = v == null ? void 0 : v.team) == null ? void 0 : S.id,
|
|
4865
4862
|
src: (T = v == null ? void 0 : v.team) == null ? void 0 : T.logo
|
|
4866
4863
|
}, null, 8, ["src"]))
|
|
4867
4864
|
])
|
|
4868
4865
|
]),
|
|
4869
|
-
c("div",
|
|
4866
|
+
c("div", Pc, [
|
|
4870
4867
|
c("button", {
|
|
4871
|
-
class: G(["tab-button", { "is-active":
|
|
4872
|
-
onClick: (C) =>
|
|
4873
|
-
},
|
|
4868
|
+
class: G(["tab-button", { "is-active": h === n(He) }]),
|
|
4869
|
+
onClick: (C) => A(n(He))
|
|
4870
|
+
}, b(s("teams.tabs.teamInfo")), 11, Nc),
|
|
4874
4871
|
c("button", {
|
|
4875
|
-
class: G(["tab-button", { "is-active":
|
|
4876
|
-
onClick: (C) =>
|
|
4877
|
-
},
|
|
4872
|
+
class: G(["tab-button", { "is-active": h === n(Je) }]),
|
|
4873
|
+
onClick: (C) => A(n(Je))
|
|
4874
|
+
}, b(s("teams.tabs.games")), 11, $c),
|
|
4878
4875
|
c("button", {
|
|
4879
|
-
class: G(["tab-button", { "is-active":
|
|
4880
|
-
onClick: (C) =>
|
|
4881
|
-
},
|
|
4876
|
+
class: G(["tab-button", { "is-active": h === n(Xe) }]),
|
|
4877
|
+
onClick: (C) => A(n(Xe))
|
|
4878
|
+
}, b(s("teams.playerStats")), 11, Ac),
|
|
4882
4879
|
c("button", {
|
|
4883
|
-
class: G(["tab-button", { "is-active":
|
|
4884
|
-
onClick: (C) =>
|
|
4885
|
-
},
|
|
4880
|
+
class: G(["tab-button", { "is-active": h === n(Qe) }]),
|
|
4881
|
+
onClick: (C) => A(n(Qe))
|
|
4882
|
+
}, b(s("teams.roster")), 11, Lc)
|
|
4886
4883
|
]),
|
|
4887
|
-
|
|
4884
|
+
h === n(He) ? (d(), $(pc, {
|
|
4888
4885
|
key: 0,
|
|
4889
4886
|
data: v.organizationInfo
|
|
4890
4887
|
}, null, 8, ["data"])) : I("", !0),
|
|
4891
|
-
|
|
4888
|
+
h === n(Je) ? (d(), $(lc, {
|
|
4892
4889
|
key: 1,
|
|
4893
|
-
data:
|
|
4890
|
+
data: g,
|
|
4894
4891
|
"game-resolver": o
|
|
4895
4892
|
}, null, 8, ["data"])) : I("", !0),
|
|
4896
|
-
|
|
4893
|
+
h === n(Xe) ? (d(), $(wc, {
|
|
4897
4894
|
key: 2,
|
|
4898
|
-
"field-players":
|
|
4899
|
-
goalies:
|
|
4895
|
+
"field-players": x.fieldPlayers,
|
|
4896
|
+
goalies: x.goalies,
|
|
4900
4897
|
"championship-id": e.championshipId,
|
|
4901
4898
|
"is-loading": P,
|
|
4902
4899
|
"external-player-resolver": r
|
|
4903
4900
|
}, null, 8, ["field-players", "goalies", "championship-id", "is-loading"])) : I("", !0),
|
|
4904
|
-
|
|
4901
|
+
h === n(Qe) ? (d(), $(uc, {
|
|
4905
4902
|
key: 3,
|
|
4906
4903
|
data: m,
|
|
4907
4904
|
"championship-id": e.championshipId,
|
|
@@ -4919,7 +4916,7 @@ const nc = {
|
|
|
4919
4916
|
}, 8, ["locale"])
|
|
4920
4917
|
]));
|
|
4921
4918
|
}
|
|
4922
|
-
},
|
|
4919
|
+
}, Ec = /* @__PURE__ */ he(Cc, [["styles", [ve, Ke, Ut, xc, sr, kc, ir, nr]]]), Oc = {
|
|
4923
4920
|
__name: "DataProvider",
|
|
4924
4921
|
props: {
|
|
4925
4922
|
championshipName: {
|
|
@@ -4950,33 +4947,33 @@ const nc = {
|
|
|
4950
4947
|
onError: o
|
|
4951
4948
|
}), {
|
|
4952
4949
|
isLoading: s,
|
|
4953
|
-
state:
|
|
4954
|
-
execute:
|
|
4950
|
+
state: p,
|
|
4951
|
+
execute: u
|
|
4955
4952
|
} = D({
|
|
4956
4953
|
options: {
|
|
4957
4954
|
path: "/v2/championship-teams",
|
|
4958
4955
|
apiKey: t.apiKey,
|
|
4959
4956
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
4960
4957
|
},
|
|
4961
|
-
transform:
|
|
4958
|
+
transform: Qa,
|
|
4962
4959
|
onError: o
|
|
4963
4960
|
}), v = Lt([i, s], { delay: 1e3 });
|
|
4964
|
-
te([l,
|
|
4965
|
-
function
|
|
4966
|
-
r.championshipId = m, a.championshipId = m, te([
|
|
4961
|
+
te([l, u]);
|
|
4962
|
+
function h(m) {
|
|
4963
|
+
r.championshipId = m, a.championshipId = m, te([u]);
|
|
4967
4964
|
}
|
|
4968
|
-
return (m,
|
|
4965
|
+
return (m, g) => xe(m.$slots, "default", ke(_e({
|
|
4969
4966
|
...r,
|
|
4970
|
-
teams: n(
|
|
4967
|
+
teams: n(p),
|
|
4971
4968
|
isLoading: n(v),
|
|
4972
|
-
changeSeason:
|
|
4969
|
+
changeSeason: h
|
|
4973
4970
|
})));
|
|
4974
4971
|
}
|
|
4975
|
-
},
|
|
4972
|
+
}, jc = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", Rc = {
|
|
4976
4973
|
key: 1,
|
|
4977
4974
|
class: "wrapped-grid",
|
|
4978
4975
|
style: { "--min-width": "80px", "--max-width": "160px" }
|
|
4979
|
-
},
|
|
4976
|
+
}, Fc = ["href"], Gc = {
|
|
4980
4977
|
__name: "Teams.ce",
|
|
4981
4978
|
props: {
|
|
4982
4979
|
locale: {
|
|
@@ -5001,45 +4998,45 @@ const nc = {
|
|
|
5001
4998
|
function r(o, i) {
|
|
5002
4999
|
return st(t.externalTeamResolver, { team: { id: o }, championshipId: i });
|
|
5003
5000
|
}
|
|
5004
|
-
return (o, i) => (d(),
|
|
5001
|
+
return (o, i) => (d(), f("div", null, [
|
|
5005
5002
|
w(n(pe), {
|
|
5006
5003
|
locale: t.locale,
|
|
5007
5004
|
messages: a
|
|
5008
5005
|
}, {
|
|
5009
|
-
default:
|
|
5006
|
+
default: k(() => [
|
|
5010
5007
|
w(n(ze), null, {
|
|
5011
|
-
default:
|
|
5008
|
+
default: k(({ error: l, hasError: s }) => [
|
|
5012
5009
|
s ? (d(), $(n(Se), {
|
|
5013
5010
|
key: 0,
|
|
5014
5011
|
error: l
|
|
5015
5012
|
}, null, 8, ["error"])) : I("", !0),
|
|
5016
|
-
w(
|
|
5013
|
+
w(Oc, {
|
|
5017
5014
|
"api-key": t.apiKey,
|
|
5018
5015
|
locale: e.locale,
|
|
5019
5016
|
"championship-name": e.championshipName
|
|
5020
5017
|
}, {
|
|
5021
|
-
default:
|
|
5018
|
+
default: k(({ teams: p, seasons: u, isLoading: v, championshipId: h, changeSeason: m }) => [
|
|
5022
5019
|
w(n(fa), {
|
|
5023
|
-
seasons:
|
|
5024
|
-
"championship-id":
|
|
5020
|
+
seasons: u,
|
|
5021
|
+
"championship-id": h,
|
|
5025
5022
|
"is-section-selection-disabled": "",
|
|
5026
5023
|
onOnChangeSeason: m
|
|
5027
5024
|
}, null, 8, ["seasons", "championship-id", "onOnChangeSeason"]),
|
|
5028
|
-
v ? (d(), $(n(at), { key: 0 })) : (d(),
|
|
5029
|
-
(d(!0),
|
|
5030
|
-
key:
|
|
5025
|
+
v ? (d(), $(n(at), { key: 0 })) : (d(), f("ul", Rc, [
|
|
5026
|
+
(d(!0), f(O, null, U(p, (g) => (d(), f("li", {
|
|
5027
|
+
key: g.teamId
|
|
5031
5028
|
}, [
|
|
5032
5029
|
c("a", {
|
|
5033
|
-
href: r(
|
|
5030
|
+
href: r(g.teamId, h),
|
|
5034
5031
|
class: "is-text-lg is-text-bold"
|
|
5035
5032
|
}, [
|
|
5036
5033
|
(d(), $(n(V), {
|
|
5037
|
-
key:
|
|
5034
|
+
key: g.teamId,
|
|
5038
5035
|
class: "is-team-logo",
|
|
5039
|
-
src:
|
|
5036
|
+
src: g.teamLogo
|
|
5040
5037
|
}, null, 8, ["src"])),
|
|
5041
|
-
W(" " +
|
|
5042
|
-
], 8,
|
|
5038
|
+
W(" " + b(g.teamName), 1)
|
|
5039
|
+
], 8, Fc)
|
|
5043
5040
|
]))), 128))
|
|
5044
5041
|
]))
|
|
5045
5042
|
]),
|
|
@@ -5053,30 +5050,30 @@ const nc = {
|
|
|
5053
5050
|
}, 8, ["locale"])
|
|
5054
5051
|
]));
|
|
5055
5052
|
}
|
|
5056
|
-
},
|
|
5057
|
-
function
|
|
5058
|
-
customElements.define("mjsz-vbr-statistics",
|
|
5053
|
+
}, Mc = /* @__PURE__ */ he(Gc, [["styles", [ve, Ke, Kt, jc, sr, ar]]]), Dc = de(Xs), Kc = de(Wl), Uc = de(Un), Bc = de(zs), Vc = de(Mc), qc = de(Ec), Wc = de(wn), Yc = de(nn);
|
|
5054
|
+
function Hc() {
|
|
5055
|
+
customElements.define("mjsz-vbr-statistics", Dc), customElements.define("mjsz-vbr-schedule-liga", Kc), customElements.define("mjsz-vbr-playoffs", Uc), customElements.define("mjsz-vbr-standings-liga", Bc), customElements.define("mjsz-vbr-teams-liga", Vc), customElements.define("mjsz-vbr-players-liga", Wc), customElements.define("mjsz-vbr-player-liga", Yc), customElements.define("mjsz-vbr-team-liga", qc);
|
|
5059
5056
|
}
|
|
5060
|
-
const
|
|
5061
|
-
install: () =>
|
|
5057
|
+
const rd = {
|
|
5058
|
+
install: () => Hc()
|
|
5062
5059
|
};
|
|
5063
5060
|
export {
|
|
5064
5061
|
nn as PlayerLiga,
|
|
5065
|
-
|
|
5062
|
+
Yc as PlayerLigaCE,
|
|
5066
5063
|
wn as PlayersLiga,
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5064
|
+
Wc as PlayersLigaCE,
|
|
5065
|
+
Un as Playoffs,
|
|
5066
|
+
Uc as PlayoffsCE,
|
|
5067
|
+
Wl as ScheduleLiga,
|
|
5068
|
+
Kc as ScheduleLigaCE,
|
|
5069
|
+
zs as StandingsLiga,
|
|
5070
|
+
Bc as StandingsLigaCE,
|
|
5071
|
+
Xs as Statistics,
|
|
5072
|
+
Dc as StatisticsCE,
|
|
5073
|
+
Ec as TeamLiga,
|
|
5074
|
+
qc as TeamLigaCE,
|
|
5075
|
+
Mc as TeamsLiga,
|
|
5076
|
+
Vc as TeamsLigaCE,
|
|
5077
|
+
rd as default,
|
|
5078
|
+
Hc as register
|
|
5082
5079
|
};
|