@mjsz-vbr-elements/liga 2.14.0 → 2.14.3
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 +1090 -1068
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/liga
|
|
3
|
-
* version: v2.14.
|
|
3
|
+
* version: v2.14.3 - 30/01/2025, 11:44:40
|
|
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 dr, onScopeDispose as pr, ref as K, isRef as Ie, watch as se, readonly as ba, nextTick as ma, toValue 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, BaseSelect as re, TimezoneSelector as fr, LoadingIndicator as
|
|
10
|
-
import { useError as ge, useServices as D, useI18n as Q, useColumns as ee, usePage as wa, useSort as
|
|
11
|
-
import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as kr, rawConvert as at, teamName as rt, convertTimesMinToMinSec as ka, sortGames as
|
|
8
|
+
import { getCurrentScope as dr, onScopeDispose as pr, 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 gr, unref as n, renderSlot as xe, normalizeProps as ke, guardReactiveProps as _e, openBlock as d, createBlock as $, withCtx as k, createVNode as x, createElementVNode as c, normalizeClass as G, toDisplayString as b, createElementBlock as h, createCommentVNode as I, createTextVNode as W, setBlockTracking as Wt, Fragment as O, renderList as U, toRefs as va, toRef as ur, withDirectives as br, vModelText as mr, mergeProps as vr, toHandlers as hr, 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, BaseSelect as re, TimezoneSelector as fr, LoadingIndicator as $t, AdditionalStandingsText as Yt, StatisticsTable as yr } 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 wr, useVisibilityChange as xr, fetchVBRData as Be } from "@mjsz-vbr-elements/core/composables";
|
|
11
|
+
import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as kr, rawConvert as at, teamName as rt, convertTimesMinToMinSec as ka, sortGames as Ct, gameDateTime as _a, teamResultType as za, gameResult as Sa, teamOpponent as Ta, getLocalTimezone as ot, offsetName as Et, externalGameLinkResolver as it, flagResolver as Ia, playerName as nt, convert as Oe, externalPlayerLinkResolver as Ot, externalTeamLinkResolver as lt, format as et, isBetween as _r, scrollToTop as Ht, convertPhaseName as zr, convertTimesSecToMin as Sr, upperCase as Tr, localeSort as Jt } from "@mjsz-vbr-elements/core/utils";
|
|
12
12
|
import * as wt from "@mjsz-vbr-elements/core";
|
|
13
|
-
import { SORT_STATE_ASCEND as
|
|
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
|
|
15
|
-
import { DEFAULT_PORTRAIT_IMAGE_URL as
|
|
13
|
+
import { SORT_STATE_ASCEND as Ce, DEFAULT_PORTRAIT_IMAGE_URL as Ir, REFRESH_DELAY as Xt, gameProps as Pr, SORT_STATE_DESCEND as B, playerStatsProps as Nr, teamStatsProps as $r } from "@mjsz-vbr-elements/core";
|
|
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
|
+
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 = {
|
|
17
17
|
selection: Gr,
|
|
18
18
|
table: Mr,
|
|
@@ -32,12 +32,12 @@ const Gr = { report: "Report", video: "Video", season: "Season", section: "Secti
|
|
|
32
32
|
standings: Zr,
|
|
33
33
|
nationality: eo
|
|
34
34
|
};
|
|
35
|
-
function
|
|
35
|
+
function je(e) {
|
|
36
36
|
return dr() ? (pr(e), !0) : !1;
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const Re = typeof window < "u" && typeof document < "u";
|
|
39
39
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
40
|
-
const to = (e) => typeof e < "u", ao = Object.prototype.toString, ro = (e) => ao.call(e) === "[object Object]",
|
|
40
|
+
const to = (e) => typeof e < "u", ao = Object.prototype.toString, ro = (e) => ao.call(e) === "[object Object]", tt = () => {
|
|
41
41
|
};
|
|
42
42
|
function oo(e, t) {
|
|
43
43
|
function a(...r) {
|
|
@@ -61,7 +61,7 @@ function io(e = Pa) {
|
|
|
61
61
|
};
|
|
62
62
|
return { isActive: ba(t), pause: a, resume: r, eventFilter: o };
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function xt(e) {
|
|
65
65
|
return Array.isArray(e) ? e : [e];
|
|
66
66
|
}
|
|
67
67
|
function no(e, t, a = {}) {
|
|
@@ -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:
|
|
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:
|
|
93
|
+
), pause: l, resume: s, isActive: p };
|
|
94
94
|
}
|
|
95
95
|
function so(e, t = 1e3, a = {}) {
|
|
96
96
|
const {
|
|
@@ -99,26 +99,26 @@ function so(e, t = 1e3, a = {}) {
|
|
|
99
99
|
} = a;
|
|
100
100
|
let i = null;
|
|
101
101
|
const l = K(!1);
|
|
102
|
-
function
|
|
102
|
+
function s() {
|
|
103
103
|
i && (clearInterval(i), i = null);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
l.value = !1,
|
|
105
|
+
function p() {
|
|
106
|
+
l.value = !1, s();
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
const v =
|
|
110
|
-
v <= 0 || (l.value = !0, o && e(),
|
|
108
|
+
function u() {
|
|
109
|
+
const v = $e(t);
|
|
110
|
+
v <= 0 || (l.value = !0, o && e(), s(), l.value && (i = setInterval(e, v)));
|
|
111
111
|
}
|
|
112
|
-
if (r &&
|
|
112
|
+
if (r && Re && u(), Ie(t) || typeof t == "function") {
|
|
113
113
|
const v = se(t, () => {
|
|
114
|
-
l.value &&
|
|
114
|
+
l.value && Re && u();
|
|
115
115
|
});
|
|
116
|
-
|
|
116
|
+
je(v);
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return je(p), {
|
|
119
119
|
isActive: l,
|
|
120
|
-
pause:
|
|
121
|
-
resume:
|
|
120
|
+
pause: p,
|
|
121
|
+
resume: u
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function Na(e, t, a = {}) {
|
|
@@ -129,116 +129,138 @@ function Na(e, t, a = {}) {
|
|
|
129
129
|
function l() {
|
|
130
130
|
i && (clearTimeout(i), i = null);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
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(...
|
|
138
|
-
},
|
|
137
|
+
o.value = !1, i = null, e(...u);
|
|
138
|
+
}, $e(t));
|
|
139
139
|
}
|
|
140
|
-
return r && (o.value = !0,
|
|
140
|
+
return r && (o.value = !0, Re && p()), je(s), {
|
|
141
141
|
isPending: ba(o),
|
|
142
|
-
start:
|
|
143
|
-
stop:
|
|
142
|
+
start: p,
|
|
143
|
+
stop: s
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
function co(e, t, a) {
|
|
147
|
+
return se(
|
|
148
|
+
e,
|
|
149
|
+
t,
|
|
150
|
+
{
|
|
151
|
+
...a,
|
|
152
|
+
immediate: !0
|
|
153
|
+
}
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
function po(e, t, a) {
|
|
147
157
|
const r = se(e, (...o) => (ma(() => r()), t(...o)), a);
|
|
148
158
|
return r;
|
|
149
159
|
}
|
|
150
|
-
const $a =
|
|
160
|
+
const $a = Re ? window : void 0;
|
|
151
161
|
function Aa(e) {
|
|
152
162
|
var t;
|
|
153
|
-
const a =
|
|
163
|
+
const a = $e(e);
|
|
154
164
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
155
165
|
}
|
|
156
166
|
function ea(...e) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
+
const t = [], a = () => {
|
|
168
|
+
t.forEach((s) => s()), t.length = 0;
|
|
169
|
+
}, r = (s, p, u, v) => (s.addEventListener(p, u, v), () => s.removeEventListener(p, u, v)), o = _(() => {
|
|
170
|
+
const s = xt($e(e[0])).filter((p) => p != null);
|
|
171
|
+
return s.every((p) => typeof p != "string") ? s : void 0;
|
|
172
|
+
}), i = co(
|
|
173
|
+
() => {
|
|
174
|
+
var s, p;
|
|
175
|
+
return [
|
|
176
|
+
(p = (s = o.value) == null ? void 0 : s.map((u) => Aa(u))) != null ? p : [$a].filter((u) => u != null),
|
|
177
|
+
xt($e(o.value ? e[1] : e[0])),
|
|
178
|
+
xt(n(o.value ? e[2] : e[1])),
|
|
179
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
180
|
+
$e(o.value ? e[3] : e[2])
|
|
181
|
+
];
|
|
182
|
+
},
|
|
183
|
+
([s, p, u, v]) => {
|
|
184
|
+
if (a(), !(s != null && s.length) || !(p != null && p.length) || !(u != null && u.length))
|
|
167
185
|
return;
|
|
168
|
-
const
|
|
169
|
-
|
|
170
|
-
...
|
|
186
|
+
const f = ro(v) ? { ...v } : v;
|
|
187
|
+
t.push(
|
|
188
|
+
...s.flatMap(
|
|
189
|
+
(m) => p.flatMap(
|
|
190
|
+
(g) => u.map((z) => r(m, g, z, f))
|
|
191
|
+
)
|
|
192
|
+
)
|
|
171
193
|
);
|
|
172
194
|
},
|
|
173
|
-
{
|
|
174
|
-
),
|
|
175
|
-
|
|
195
|
+
{ flush: "post" }
|
|
196
|
+
), l = () => {
|
|
197
|
+
i(), a();
|
|
176
198
|
};
|
|
177
|
-
return
|
|
199
|
+
return je(a), l;
|
|
178
200
|
}
|
|
179
201
|
function te(e, t) {
|
|
180
202
|
const {
|
|
181
203
|
interrupt: a = !0,
|
|
182
|
-
onError: r =
|
|
183
|
-
onFinished: o =
|
|
204
|
+
onError: r = tt,
|
|
205
|
+
onFinished: o = tt,
|
|
184
206
|
signal: i
|
|
185
207
|
} = t || {}, l = {
|
|
186
208
|
aborted: "aborted",
|
|
187
209
|
fulfilled: "fulfilled",
|
|
188
210
|
pending: "pending",
|
|
189
211
|
rejected: "rejected"
|
|
190
|
-
},
|
|
212
|
+
}, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })), p = Z(s), u = K(-1);
|
|
191
213
|
if (!e || e.length === 0)
|
|
192
214
|
return o(), {
|
|
193
|
-
activeIndex:
|
|
194
|
-
result:
|
|
215
|
+
activeIndex: u,
|
|
216
|
+
result: p
|
|
195
217
|
};
|
|
196
|
-
function v(
|
|
197
|
-
|
|
218
|
+
function v(f, m) {
|
|
219
|
+
u.value++, p[u.value].data = m, p[u.value].state = f;
|
|
198
220
|
}
|
|
199
|
-
return e.reduce((
|
|
221
|
+
return e.reduce((f, m) => f.then((g) => {
|
|
200
222
|
var z;
|
|
201
223
|
if (i != null && i.aborted) {
|
|
202
224
|
v(l.aborted, new Error("aborted"));
|
|
203
225
|
return;
|
|
204
226
|
}
|
|
205
|
-
if (((z =
|
|
227
|
+
if (((z = p[u.value]) == null ? void 0 : z.state) === l.rejected && a) {
|
|
206
228
|
o();
|
|
207
229
|
return;
|
|
208
230
|
}
|
|
209
|
-
const w = g
|
|
210
|
-
return i ? Promise.race([w,
|
|
211
|
-
}).catch((
|
|
212
|
-
activeIndex:
|
|
213
|
-
result:
|
|
231
|
+
const w = m(g).then((N) => (v(l.fulfilled, N), u.value === e.length - 1 && o(), N));
|
|
232
|
+
return i ? Promise.race([w, go(i)]) : w;
|
|
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
|
|
214
236
|
};
|
|
215
237
|
}
|
|
216
|
-
function
|
|
238
|
+
function go(e) {
|
|
217
239
|
return new Promise((t, a) => {
|
|
218
240
|
const r = new Error("aborted");
|
|
219
241
|
e.aborted ? a(r) : e.addEventListener("abort", () => a(r), { once: !0 });
|
|
220
242
|
});
|
|
221
243
|
}
|
|
222
|
-
function
|
|
244
|
+
function uo(e) {
|
|
223
245
|
return JSON.parse(JSON.stringify(e));
|
|
224
246
|
}
|
|
225
|
-
function
|
|
247
|
+
function bo(e, t, a = {}) {
|
|
226
248
|
const {
|
|
227
249
|
immediate: r = !0
|
|
228
250
|
} = a, { start: o } = Na(l, t, { immediate: !1 }), i = K(!1);
|
|
229
251
|
async function l() {
|
|
230
252
|
i.value && (await e(), o());
|
|
231
253
|
}
|
|
232
|
-
function
|
|
254
|
+
function s() {
|
|
233
255
|
i.value || (i.value = !0, l());
|
|
234
256
|
}
|
|
235
|
-
function
|
|
257
|
+
function p() {
|
|
236
258
|
i.value = !1;
|
|
237
259
|
}
|
|
238
|
-
return r &&
|
|
260
|
+
return r && Re && s(), je(p), {
|
|
239
261
|
isActive: i,
|
|
240
|
-
pause:
|
|
241
|
-
resume:
|
|
262
|
+
pause: p,
|
|
263
|
+
resume: s
|
|
242
264
|
};
|
|
243
265
|
}
|
|
244
266
|
function Te(e = "history", t = {}) {
|
|
@@ -248,86 +270,86 @@ function Te(e = "history", t = {}) {
|
|
|
248
270
|
removeFalsyValues: o = !1,
|
|
249
271
|
write: i = !0,
|
|
250
272
|
writeMode: l = "replace",
|
|
251
|
-
window:
|
|
273
|
+
window: s = $a
|
|
252
274
|
} = t;
|
|
253
|
-
if (!
|
|
275
|
+
if (!s)
|
|
254
276
|
return Z(a);
|
|
255
|
-
const
|
|
256
|
-
function
|
|
277
|
+
const p = Z({});
|
|
278
|
+
function u() {
|
|
257
279
|
if (e === "history")
|
|
258
|
-
return
|
|
280
|
+
return s.location.search || "";
|
|
259
281
|
if (e === "hash") {
|
|
260
|
-
const y =
|
|
282
|
+
const y = s.location.hash || "", S = y.indexOf("?");
|
|
261
283
|
return S > 0 ? y.slice(S) : "";
|
|
262
284
|
} else
|
|
263
|
-
return (
|
|
285
|
+
return (s.location.hash || "").replace(/^#/, "");
|
|
264
286
|
}
|
|
265
287
|
function v(y) {
|
|
266
288
|
const S = y.toString();
|
|
267
289
|
if (e === "history")
|
|
268
|
-
return `${S ? `?${S}` : ""}${
|
|
290
|
+
return `${S ? `?${S}` : ""}${s.location.hash || ""}`;
|
|
269
291
|
if (e === "hash-params")
|
|
270
|
-
return `${
|
|
271
|
-
const T =
|
|
272
|
-
return C > 0 ? `${
|
|
292
|
+
return `${s.location.search || ""}${S ? `#${S}` : ""}`;
|
|
293
|
+
const T = s.location.hash || "#", C = T.indexOf("?");
|
|
294
|
+
return C > 0 ? `${s.location.search || ""}${T.slice(0, C)}${S ? `?${S}` : ""}` : `${s.location.search || ""}${T}${S ? `?${S}` : ""}`;
|
|
273
295
|
}
|
|
274
|
-
function
|
|
275
|
-
return new URLSearchParams(
|
|
296
|
+
function f() {
|
|
297
|
+
return new URLSearchParams(u());
|
|
276
298
|
}
|
|
277
|
-
function
|
|
278
|
-
const S = new Set(Object.keys(
|
|
299
|
+
function m(y) {
|
|
300
|
+
const S = new Set(Object.keys(p));
|
|
279
301
|
for (const T of y.keys()) {
|
|
280
302
|
const C = y.getAll(T);
|
|
281
|
-
|
|
303
|
+
p[T] = C.length > 1 ? C : y.get(T) || "", S.delete(T);
|
|
282
304
|
}
|
|
283
|
-
Array.from(S).forEach((T) => delete
|
|
305
|
+
Array.from(S).forEach((T) => delete p[T]);
|
|
284
306
|
}
|
|
285
|
-
const { pause:
|
|
286
|
-
|
|
307
|
+
const { pause: g, resume: z } = lo(
|
|
308
|
+
p,
|
|
287
309
|
() => {
|
|
288
310
|
const y = new URLSearchParams("");
|
|
289
|
-
Object.keys(
|
|
290
|
-
const T =
|
|
311
|
+
Object.keys(p).forEach((S) => {
|
|
312
|
+
const T = p[S];
|
|
291
313
|
Array.isArray(T) ? T.forEach((C) => y.append(S, C)) : r && T == null || o && !T ? y.delete(S) : y.set(S, T);
|
|
292
314
|
}), w(y, !1);
|
|
293
315
|
},
|
|
294
316
|
{ deep: !0 }
|
|
295
317
|
);
|
|
296
318
|
function w(y, S) {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
) :
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
319
|
+
g(), S && m(y), l === "replace" ? s.history.replaceState(
|
|
320
|
+
s.history.state,
|
|
321
|
+
s.document.title,
|
|
322
|
+
s.location.pathname + v(y)
|
|
323
|
+
) : s.history.pushState(
|
|
324
|
+
s.history.state,
|
|
325
|
+
s.document.title,
|
|
326
|
+
s.location.pathname + v(y)
|
|
305
327
|
), z();
|
|
306
328
|
}
|
|
307
329
|
function N() {
|
|
308
|
-
i && w(
|
|
330
|
+
i && w(f(), !0);
|
|
309
331
|
}
|
|
310
332
|
const A = { passive: !0 };
|
|
311
|
-
ea(
|
|
312
|
-
const L =
|
|
313
|
-
return L.keys().next().value ?
|
|
333
|
+
ea(s, "popstate", N, A), e !== "history" && ea(s, "hashchange", N, A);
|
|
334
|
+
const L = f();
|
|
335
|
+
return L.keys().next().value ? m(L) : Object.assign(p, a), p;
|
|
314
336
|
}
|
|
315
|
-
function
|
|
337
|
+
function mo(e, t, a, r = {}) {
|
|
316
338
|
var o, i, l;
|
|
317
339
|
const {
|
|
318
|
-
clone:
|
|
319
|
-
passive:
|
|
320
|
-
eventName:
|
|
340
|
+
clone: s = !1,
|
|
341
|
+
passive: p = !1,
|
|
342
|
+
eventName: u,
|
|
321
343
|
deep: v = !1,
|
|
322
|
-
defaultValue:
|
|
323
|
-
shouldEmit:
|
|
324
|
-
} = r,
|
|
325
|
-
let w =
|
|
344
|
+
defaultValue: f,
|
|
345
|
+
shouldEmit: m
|
|
346
|
+
} = r, g = gr(), z = 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 w = u;
|
|
326
348
|
t || (t = "modelValue"), w = w || `update:${t.toString()}`;
|
|
327
|
-
const N = (y) =>
|
|
328
|
-
|
|
349
|
+
const N = (y) => s ? typeof s == "function" ? s(y) : uo(y) : y, A = () => to(e[t]) ? N(e[t]) : f, L = (y) => {
|
|
350
|
+
m ? m(y) && z(w, y) : z(w, y);
|
|
329
351
|
};
|
|
330
|
-
if (
|
|
352
|
+
if (p) {
|
|
331
353
|
const y = A(), S = K(y);
|
|
332
354
|
let T = !1;
|
|
333
355
|
return se(
|
|
@@ -355,7 +377,7 @@ function bo(e, t, a, r = {}) {
|
|
|
355
377
|
function La(e, t, a = {}) {
|
|
356
378
|
const r = {};
|
|
357
379
|
for (const o in e)
|
|
358
|
-
r[o] =
|
|
380
|
+
r[o] = mo(
|
|
359
381
|
e,
|
|
360
382
|
o,
|
|
361
383
|
t,
|
|
@@ -416,40 +438,40 @@ function st(e, t) {
|
|
|
416
438
|
return t.apply(this, arguments);
|
|
417
439
|
};
|
|
418
440
|
case 6:
|
|
419
|
-
return function(a, r, o, i, l,
|
|
441
|
+
return function(a, r, o, i, l, s) {
|
|
420
442
|
return t.apply(this, arguments);
|
|
421
443
|
};
|
|
422
444
|
case 7:
|
|
423
|
-
return function(a, r, o, i, l,
|
|
445
|
+
return function(a, r, o, i, l, s, p) {
|
|
424
446
|
return t.apply(this, arguments);
|
|
425
447
|
};
|
|
426
448
|
case 8:
|
|
427
|
-
return function(a, r, o, i, l,
|
|
449
|
+
return function(a, r, o, i, l, s, p, u) {
|
|
428
450
|
return t.apply(this, arguments);
|
|
429
451
|
};
|
|
430
452
|
case 9:
|
|
431
|
-
return function(a, r, o, i, l,
|
|
453
|
+
return function(a, r, o, i, l, s, p, u, v) {
|
|
432
454
|
return t.apply(this, arguments);
|
|
433
455
|
};
|
|
434
456
|
case 10:
|
|
435
|
-
return function(a, r, o, i, l,
|
|
457
|
+
return function(a, r, o, i, l, s, p, u, v, f) {
|
|
436
458
|
return t.apply(this, arguments);
|
|
437
459
|
};
|
|
438
460
|
default:
|
|
439
461
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
440
462
|
}
|
|
441
463
|
}
|
|
442
|
-
function
|
|
464
|
+
function jt(e, t, a) {
|
|
443
465
|
return function() {
|
|
444
|
-
for (var r = [], o = 0, i = e, l = 0,
|
|
445
|
-
var
|
|
446
|
-
l < t.length && (!R(t[l]) || o >= arguments.length) ?
|
|
466
|
+
for (var r = [], o = 0, i = e, l = 0, s = !1; l < t.length || 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;
|
|
447
469
|
}
|
|
448
|
-
return !
|
|
470
|
+
return !s && i <= 0 ? a.apply(this, r) : st(Math.max(0, i), jt(e, r, a));
|
|
449
471
|
};
|
|
450
472
|
}
|
|
451
473
|
var Ca = /* @__PURE__ */ F(function(t, a) {
|
|
452
|
-
return t === 1 ? M(a) : st(t,
|
|
474
|
+
return t === 1 ? M(a) : st(t, jt(t, [], a));
|
|
453
475
|
});
|
|
454
476
|
function Y(e) {
|
|
455
477
|
return function t(a, r, o) {
|
|
@@ -485,24 +507,24 @@ function Y(e) {
|
|
|
485
507
|
}
|
|
486
508
|
};
|
|
487
509
|
}
|
|
488
|
-
const
|
|
510
|
+
const Ae = Array.isArray || function(t) {
|
|
489
511
|
return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
|
|
490
512
|
};
|
|
491
|
-
function
|
|
513
|
+
function vo(e) {
|
|
492
514
|
return e != null && typeof e["@@transducer/step"] == "function";
|
|
493
515
|
}
|
|
494
|
-
function
|
|
516
|
+
function Rt(e, t, a) {
|
|
495
517
|
return function() {
|
|
496
518
|
if (arguments.length === 0)
|
|
497
519
|
return a();
|
|
498
520
|
var r = arguments[arguments.length - 1];
|
|
499
|
-
if (
|
|
521
|
+
if (!Ae(r)) {
|
|
500
522
|
for (var o = 0; o < e.length; ) {
|
|
501
523
|
if (typeof r[e[o]] == "function")
|
|
502
524
|
return r[e[o]].apply(r, Array.prototype.slice.call(arguments, 0, -1));
|
|
503
525
|
o += 1;
|
|
504
526
|
}
|
|
505
|
-
if (
|
|
527
|
+
if (vo(r)) {
|
|
506
528
|
var i = t.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
507
529
|
return i(r);
|
|
508
530
|
}
|
|
@@ -510,7 +532,7 @@ function jt(e, t, a) {
|
|
|
510
532
|
return a.apply(this, arguments);
|
|
511
533
|
};
|
|
512
534
|
}
|
|
513
|
-
function
|
|
535
|
+
function ho(e) {
|
|
514
536
|
return e && e["@@transducer/reduced"] ? e : {
|
|
515
537
|
"@@transducer/value": e,
|
|
516
538
|
"@@transducer/reduced": !0
|
|
@@ -529,7 +551,7 @@ function ta(e) {
|
|
|
529
551
|
t.push(a.value);
|
|
530
552
|
return t;
|
|
531
553
|
}
|
|
532
|
-
function
|
|
554
|
+
function It(e, t, a) {
|
|
533
555
|
for (var r = 0, o = a.length; r < o; ) {
|
|
534
556
|
if (e(t, a[r]))
|
|
535
557
|
return !0;
|
|
@@ -537,28 +559,28 @@ function Tt(e, t, a) {
|
|
|
537
559
|
}
|
|
538
560
|
return !1;
|
|
539
561
|
}
|
|
540
|
-
function
|
|
562
|
+
function fo(e) {
|
|
541
563
|
var t = String(e).match(/^function (\w*)/);
|
|
542
564
|
return t == null ? "" : t[1];
|
|
543
565
|
}
|
|
544
566
|
function X(e, t) {
|
|
545
567
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
546
568
|
}
|
|
547
|
-
function
|
|
569
|
+
function yo(e, t) {
|
|
548
570
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
549
571
|
}
|
|
550
|
-
const
|
|
572
|
+
const kt = typeof Object.is == "function" ? Object.is : yo;
|
|
551
573
|
var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
|
|
552
574
|
return aa.call(arguments) === "[object Arguments]" ? function(t) {
|
|
553
575
|
return aa.call(t) === "[object Arguments]";
|
|
554
576
|
} : function(t) {
|
|
555
577
|
return X("callee", t);
|
|
556
578
|
};
|
|
557
|
-
}(),
|
|
579
|
+
}(), wo = !/* @__PURE__ */ {
|
|
558
580
|
toString: null
|
|
559
581
|
}.propertyIsEnumerable("toString"), ra = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], oa = /* @__PURE__ */ function() {
|
|
560
582
|
return arguments.propertyIsEnumerable("length");
|
|
561
|
-
}(),
|
|
583
|
+
}(), xo = function(t, a) {
|
|
562
584
|
for (var r = 0; r < t.length; ) {
|
|
563
585
|
if (t[r] === a)
|
|
564
586
|
return !0;
|
|
@@ -573,27 +595,27 @@ var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
|
|
|
573
595
|
var a, r, o = [], i = oa && Ea(t);
|
|
574
596
|
for (a in t)
|
|
575
597
|
X(a, t) && (!i || a !== "length") && (o[o.length] = a);
|
|
576
|
-
if (
|
|
598
|
+
if (wo)
|
|
577
599
|
for (r = ra.length - 1; r >= 0; )
|
|
578
|
-
a = ra[r], X(a, t) && !
|
|
600
|
+
a = ra[r], X(a, t) && !xo(o, a) && (o[o.length] = a), r -= 1;
|
|
579
601
|
return o;
|
|
580
|
-
}),
|
|
602
|
+
}), Pt = /* @__PURE__ */ M(function(t) {
|
|
581
603
|
return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
|
|
582
604
|
});
|
|
583
605
|
function ia(e, t, a, r) {
|
|
584
606
|
var o = ta(e), i = ta(t);
|
|
585
|
-
function l(
|
|
586
|
-
return
|
|
607
|
+
function l(s, p) {
|
|
608
|
+
return Ft(s, p, a.slice(), r.slice());
|
|
587
609
|
}
|
|
588
|
-
return !
|
|
589
|
-
return !
|
|
610
|
+
return !It(function(s, p) {
|
|
611
|
+
return !It(l, p, s);
|
|
590
612
|
}, i, o);
|
|
591
613
|
}
|
|
592
|
-
function
|
|
593
|
-
if (
|
|
614
|
+
function Ft(e, t, a, r) {
|
|
615
|
+
if (kt(e, t))
|
|
594
616
|
return !0;
|
|
595
|
-
var o =
|
|
596
|
-
if (o !==
|
|
617
|
+
var o = Pt(e);
|
|
618
|
+
if (o !== Pt(t))
|
|
597
619
|
return !1;
|
|
598
620
|
if (typeof e["fantasy-land/equals"] == "function" || typeof t["fantasy-land/equals"] == "function")
|
|
599
621
|
return typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t) && typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e);
|
|
@@ -603,17 +625,17 @@ function Rt(e, t, a, r) {
|
|
|
603
625
|
case "Arguments":
|
|
604
626
|
case "Array":
|
|
605
627
|
case "Object":
|
|
606
|
-
if (typeof e.constructor == "function" &&
|
|
628
|
+
if (typeof e.constructor == "function" && fo(e.constructor) === "Promise")
|
|
607
629
|
return e === t;
|
|
608
630
|
break;
|
|
609
631
|
case "Boolean":
|
|
610
632
|
case "Number":
|
|
611
633
|
case "String":
|
|
612
|
-
if (!(typeof e == typeof t &&
|
|
634
|
+
if (!(typeof e == typeof t && kt(e.valueOf(), t.valueOf())))
|
|
613
635
|
return !1;
|
|
614
636
|
break;
|
|
615
637
|
case "Date":
|
|
616
|
-
if (!
|
|
638
|
+
if (!kt(e.valueOf(), t.valueOf()))
|
|
617
639
|
return !1;
|
|
618
640
|
break;
|
|
619
641
|
case "Error":
|
|
@@ -659,17 +681,17 @@ function Rt(e, t, a, r) {
|
|
|
659
681
|
var l = ye(e);
|
|
660
682
|
if (l.length !== ye(t).length)
|
|
661
683
|
return !1;
|
|
662
|
-
var
|
|
684
|
+
var s = a.concat([e]), p = r.concat([t]);
|
|
663
685
|
for (i = l.length - 1; i >= 0; ) {
|
|
664
|
-
var
|
|
665
|
-
if (!(X(
|
|
686
|
+
var u = l[i];
|
|
687
|
+
if (!(X(u, t) && Ft(t[u], e[u], s, p)))
|
|
666
688
|
return !1;
|
|
667
689
|
i -= 1;
|
|
668
690
|
}
|
|
669
691
|
return !0;
|
|
670
692
|
}
|
|
671
693
|
var ct = /* @__PURE__ */ F(function(t, a) {
|
|
672
|
-
return
|
|
694
|
+
return Ft(t, a, [], []);
|
|
673
695
|
});
|
|
674
696
|
function Oa(e, t, a) {
|
|
675
697
|
var r, o;
|
|
@@ -709,7 +731,7 @@ function Oa(e, t, a) {
|
|
|
709
731
|
}
|
|
710
732
|
return -1;
|
|
711
733
|
}
|
|
712
|
-
function
|
|
734
|
+
function ko(e, t) {
|
|
713
735
|
return Oa(t, e, 0) >= 0;
|
|
714
736
|
}
|
|
715
737
|
function qe(e, t) {
|
|
@@ -717,18 +739,18 @@ function qe(e, t) {
|
|
|
717
739
|
o[a] = e(t[a]), a += 1;
|
|
718
740
|
return o;
|
|
719
741
|
}
|
|
720
|
-
function
|
|
742
|
+
function _t(e) {
|
|
721
743
|
var t = e.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\f/g, "\\f").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t").replace(/\v/g, "\\v").replace(/\0/g, "\\0");
|
|
722
744
|
return '"' + t.replace(/"/g, '\\"') + '"';
|
|
723
745
|
}
|
|
724
|
-
var
|
|
746
|
+
var Ee = function(t) {
|
|
725
747
|
return (t < 10 ? "0" : "") + t;
|
|
726
|
-
},
|
|
748
|
+
}, _o = typeof Date.prototype.toISOString == "function" ? function(t) {
|
|
727
749
|
return t.toISOString();
|
|
728
750
|
} : function(t) {
|
|
729
|
-
return t.getUTCFullYear() + "-" +
|
|
751
|
+
return t.getUTCFullYear() + "-" + Ee(t.getUTCMonth() + 1) + "-" + Ee(t.getUTCDate()) + "T" + Ee(t.getUTCHours()) + ":" + Ee(t.getUTCMinutes()) + ":" + Ee(t.getUTCSeconds()) + "." + (t.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
|
|
730
752
|
};
|
|
731
|
-
function
|
|
753
|
+
function zo(e) {
|
|
732
754
|
return function() {
|
|
733
755
|
return !e.apply(this, arguments);
|
|
734
756
|
};
|
|
@@ -746,7 +768,7 @@ function Ra(e, t) {
|
|
|
746
768
|
function Fa(e) {
|
|
747
769
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
748
770
|
}
|
|
749
|
-
var
|
|
771
|
+
var So = /* @__PURE__ */ function() {
|
|
750
772
|
function e(t, a) {
|
|
751
773
|
this.xf = a, this.f = t;
|
|
752
774
|
}
|
|
@@ -754,12 +776,12 @@ var zo = /* @__PURE__ */ function() {
|
|
|
754
776
|
return this.f(a) ? this.xf["@@transducer/step"](t, a) : t;
|
|
755
777
|
}, e;
|
|
756
778
|
}();
|
|
757
|
-
function
|
|
779
|
+
function To(e) {
|
|
758
780
|
return function(t) {
|
|
759
|
-
return new
|
|
781
|
+
return new So(e, t);
|
|
760
782
|
};
|
|
761
783
|
}
|
|
762
|
-
var
|
|
784
|
+
var Gt = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/filter", "filter"], To, function(e, t) {
|
|
763
785
|
return Fa(t) ? ja(function(a, r) {
|
|
764
786
|
return e(t[r]) && (a[r] = t[r]), a;
|
|
765
787
|
}, {}, ye(t)) : (
|
|
@@ -767,15 +789,15 @@ var Ft = /* @__PURE__ */ F(/* @__PURE__ */ jt(["fantasy-land/filter", "filter"],
|
|
|
767
789
|
Ra(e, t)
|
|
768
790
|
);
|
|
769
791
|
})), dt = /* @__PURE__ */ F(function(t, a) {
|
|
770
|
-
return
|
|
792
|
+
return Gt(zo(t), a);
|
|
771
793
|
});
|
|
772
794
|
function Ga(e, t) {
|
|
773
795
|
var a = function(l) {
|
|
774
|
-
var
|
|
775
|
-
return
|
|
796
|
+
var s = t.concat([e]);
|
|
797
|
+
return ko(l, s) ? "<Circular>" : Ga(l, s);
|
|
776
798
|
}, r = function(i, l) {
|
|
777
|
-
return qe(function(
|
|
778
|
-
return
|
|
799
|
+
return qe(function(s) {
|
|
800
|
+
return _t(s) + ": " + a(i[s]);
|
|
779
801
|
}, l.slice().sort());
|
|
780
802
|
};
|
|
781
803
|
switch (Object.prototype.toString.call(e)) {
|
|
@@ -788,7 +810,7 @@ function Ga(e, t) {
|
|
|
788
810
|
case "[object Boolean]":
|
|
789
811
|
return typeof e == "object" ? "new Boolean(" + a(e.valueOf()) + ")" : e.toString();
|
|
790
812
|
case "[object Date]":
|
|
791
|
-
return "new Date(" + (isNaN(e.valueOf()) ? a(NaN) :
|
|
813
|
+
return "new Date(" + (isNaN(e.valueOf()) ? a(NaN) : _t(_o(e))) + ")";
|
|
792
814
|
case "[object Map]":
|
|
793
815
|
return "new Map(" + a(Array.from(e)) + ")";
|
|
794
816
|
case "[object Null]":
|
|
@@ -798,7 +820,7 @@ function Ga(e, t) {
|
|
|
798
820
|
case "[object Set]":
|
|
799
821
|
return "new Set(" + a(Array.from(e).sort()) + ")";
|
|
800
822
|
case "[object String]":
|
|
801
|
-
return typeof e == "object" ? "new String(" + a(e.valueOf()) + ")" :
|
|
823
|
+
return typeof e == "object" ? "new String(" + a(e.valueOf()) + ")" : _t(e);
|
|
802
824
|
case "[object Undefined]":
|
|
803
825
|
return "undefined";
|
|
804
826
|
default:
|
|
@@ -810,20 +832,20 @@ function Ga(e, t) {
|
|
|
810
832
|
return "{" + r(e, ye(e)).join(", ") + "}";
|
|
811
833
|
}
|
|
812
834
|
}
|
|
813
|
-
var
|
|
835
|
+
var Io = /* @__PURE__ */ M(function(t) {
|
|
814
836
|
return Ga(t, []);
|
|
815
|
-
}),
|
|
837
|
+
}), Po = /* @__PURE__ */ function() {
|
|
816
838
|
function e(t, a) {
|
|
817
839
|
this.xf = a, this.f = t;
|
|
818
840
|
}
|
|
819
841
|
return e.prototype["@@transducer/init"] = Fe.init, e.prototype["@@transducer/result"] = Fe.result, e.prototype["@@transducer/step"] = function(t, a) {
|
|
820
842
|
return this.xf["@@transducer/step"](t, this.f(a));
|
|
821
843
|
}, e;
|
|
822
|
-
}(),
|
|
844
|
+
}(), No = function(t) {
|
|
823
845
|
return function(a) {
|
|
824
|
-
return new
|
|
846
|
+
return new Po(t, a);
|
|
825
847
|
};
|
|
826
|
-
}, me = /* @__PURE__ */ F(/* @__PURE__ */
|
|
848
|
+
}, me = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/map", "map"], No, function(t, a) {
|
|
827
849
|
switch (Object.prototype.toString.call(a)) {
|
|
828
850
|
case "[object Function]":
|
|
829
851
|
return Ca(a.length, function() {
|
|
@@ -850,12 +872,12 @@ function ut(e, t) {
|
|
|
850
872
|
var q = /* @__PURE__ */ F(function(t, a) {
|
|
851
873
|
if (a != null)
|
|
852
874
|
return pt(t) ? ut(t, a) : a[t];
|
|
853
|
-
}),
|
|
854
|
-
return
|
|
875
|
+
}), $o = /* @__PURE__ */ M(function(t) {
|
|
876
|
+
return Ae(t) ? !0 : !t || typeof t != "object" || gt(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
|
|
855
877
|
}), na = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
856
|
-
function
|
|
878
|
+
function Ao(e, t, a) {
|
|
857
879
|
return function(o, i, l) {
|
|
858
|
-
if (
|
|
880
|
+
if ($o(l))
|
|
859
881
|
return e(o, i, l);
|
|
860
882
|
if (l == null)
|
|
861
883
|
return i;
|
|
@@ -870,7 +892,7 @@ function $o(e, t, a) {
|
|
|
870
892
|
throw new TypeError("reduce: list must be array or iterable");
|
|
871
893
|
};
|
|
872
894
|
}
|
|
873
|
-
function
|
|
895
|
+
function Lo(e, t, a) {
|
|
874
896
|
for (var r = 0, o = a.length; r < o; ) {
|
|
875
897
|
if (t = e["@@transducer/step"](t, a[r]), t && t["@@transducer/reduced"]) {
|
|
876
898
|
t = t["@@transducer/value"];
|
|
@@ -880,12 +902,12 @@ function Ao(e, t, a) {
|
|
|
880
902
|
}
|
|
881
903
|
return e["@@transducer/result"](t);
|
|
882
904
|
}
|
|
883
|
-
var
|
|
905
|
+
var Co = /* @__PURE__ */ F(function(t, a) {
|
|
884
906
|
return st(t.length, function() {
|
|
885
907
|
return t.apply(a, arguments);
|
|
886
908
|
});
|
|
887
909
|
});
|
|
888
|
-
function
|
|
910
|
+
function Eo(e, t, a) {
|
|
889
911
|
for (var r = a.next(); !r.done; ) {
|
|
890
912
|
if (t = e["@@transducer/step"](t, r.value), t && t["@@transducer/reduced"]) {
|
|
891
913
|
t = t["@@transducer/value"];
|
|
@@ -895,10 +917,10 @@ function Co(e, t, a) {
|
|
|
895
917
|
}
|
|
896
918
|
return e["@@transducer/result"](t);
|
|
897
919
|
}
|
|
898
|
-
function
|
|
899
|
-
return e["@@transducer/result"](a[r](
|
|
920
|
+
function Oo(e, t, a, r) {
|
|
921
|
+
return e["@@transducer/result"](a[r](Co(e["@@transducer/step"], e), t));
|
|
900
922
|
}
|
|
901
|
-
var Ma = /* @__PURE__ */
|
|
923
|
+
var Ma = /* @__PURE__ */ Ao(Lo, Oo, Eo), jo = /* @__PURE__ */ function() {
|
|
902
924
|
function e(t) {
|
|
903
925
|
this.f = t;
|
|
904
926
|
}
|
|
@@ -911,20 +933,20 @@ var Ma = /* @__PURE__ */ $o(Ao, Eo, Co), Oo = /* @__PURE__ */ function() {
|
|
|
911
933
|
}, e;
|
|
912
934
|
}();
|
|
913
935
|
function Da(e) {
|
|
914
|
-
return new
|
|
936
|
+
return new jo(e);
|
|
915
937
|
}
|
|
916
|
-
var
|
|
938
|
+
var Ro = /* @__PURE__ */ Y(function(e, t, a) {
|
|
917
939
|
return Ma(typeof e == "function" ? Da(e) : e, t, a);
|
|
918
940
|
}), Ka = /* @__PURE__ */ M(function(t) {
|
|
919
941
|
for (var a = ye(t), r = a.length, o = [], i = 0; i < r; )
|
|
920
942
|
o[i] = t[a[i]], i += 1;
|
|
921
943
|
return o;
|
|
922
|
-
}),
|
|
944
|
+
}), Mt = /* @__PURE__ */ Y(function(t, a, r) {
|
|
923
945
|
var o = t(a), i = t(r);
|
|
924
946
|
return o < i ? -1 : o > i ? 1 : 0;
|
|
925
947
|
});
|
|
926
|
-
function
|
|
927
|
-
if (pt(e) &&
|
|
948
|
+
function Fo(e, t, a) {
|
|
949
|
+
if (pt(e) && Ae(a)) {
|
|
928
950
|
var r = [].concat(a);
|
|
929
951
|
return r[e] = t, r;
|
|
930
952
|
}
|
|
@@ -933,40 +955,40 @@ function Ro(e, t, a) {
|
|
|
933
955
|
o[i] = a[i];
|
|
934
956
|
return o[e] = t, o;
|
|
935
957
|
}
|
|
936
|
-
var
|
|
958
|
+
var Go = /* @__PURE__ */ M(function(t) {
|
|
937
959
|
return t == null;
|
|
938
|
-
}),
|
|
960
|
+
}), Mo = /* @__PURE__ */ Y(function e(t, a, r) {
|
|
939
961
|
if (t.length === 0)
|
|
940
962
|
return a;
|
|
941
963
|
var o = t[0];
|
|
942
964
|
if (t.length > 1) {
|
|
943
|
-
var i = !
|
|
965
|
+
var i = !Go(r) && X(o, r) && typeof r[o] == "object" ? r[o] : pt(t[1]) ? [] : {};
|
|
944
966
|
a = e(Array.prototype.slice.call(t, 1), a, i);
|
|
945
967
|
}
|
|
946
|
-
return
|
|
947
|
-
}),
|
|
948
|
-
return
|
|
968
|
+
return Fo(o, a, r);
|
|
969
|
+
}), Do = /* @__PURE__ */ Y(function(t, a, r) {
|
|
970
|
+
return Mo([t], a, r);
|
|
949
971
|
});
|
|
950
|
-
function
|
|
972
|
+
function Ko(e) {
|
|
951
973
|
var t = Object.prototype.toString.call(e);
|
|
952
974
|
return t === "[object Function]" || t === "[object AsyncFunction]" || t === "[object GeneratorFunction]" || t === "[object AsyncGeneratorFunction]";
|
|
953
975
|
}
|
|
954
|
-
function
|
|
976
|
+
function Uo(e) {
|
|
955
977
|
return new RegExp(e.source, e.flags ? e.flags : (e.global ? "g" : "") + (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.sticky ? "y" : "") + (e.unicode ? "u" : "") + (e.dotAll ? "s" : ""));
|
|
956
978
|
}
|
|
957
979
|
function bt(e, t, a) {
|
|
958
|
-
if (a || (a = new
|
|
980
|
+
if (a || (a = new Vo()), Bo(e))
|
|
959
981
|
return e;
|
|
960
982
|
var r = function(i) {
|
|
961
983
|
var l = a.get(e);
|
|
962
984
|
if (l)
|
|
963
985
|
return l;
|
|
964
986
|
a.set(e, i);
|
|
965
|
-
for (var
|
|
966
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
987
|
+
for (var s in e)
|
|
988
|
+
Object.prototype.hasOwnProperty.call(e, s) && (i[s] = t ? bt(e[s], !0, a) : e[s]);
|
|
967
989
|
return i;
|
|
968
990
|
};
|
|
969
|
-
switch (
|
|
991
|
+
switch (Pt(e)) {
|
|
970
992
|
case "Object":
|
|
971
993
|
return r(Object.create(Object.getPrototypeOf(e)));
|
|
972
994
|
case "Array":
|
|
@@ -974,7 +996,7 @@ function bt(e, t, a) {
|
|
|
974
996
|
case "Date":
|
|
975
997
|
return new Date(e.valueOf());
|
|
976
998
|
case "RegExp":
|
|
977
|
-
return
|
|
999
|
+
return Uo(e);
|
|
978
1000
|
case "Int8Array":
|
|
979
1001
|
case "Uint8Array":
|
|
980
1002
|
case "Uint8ClampedArray":
|
|
@@ -991,11 +1013,11 @@ function bt(e, t, a) {
|
|
|
991
1013
|
return e;
|
|
992
1014
|
}
|
|
993
1015
|
}
|
|
994
|
-
function
|
|
1016
|
+
function Bo(e) {
|
|
995
1017
|
var t = typeof e;
|
|
996
1018
|
return e == null || t != "object" && t != "function";
|
|
997
1019
|
}
|
|
998
|
-
var
|
|
1020
|
+
var Vo = /* @__PURE__ */ function() {
|
|
999
1021
|
function e() {
|
|
1000
1022
|
this.map = {}, this.length = 0;
|
|
1001
1023
|
}
|
|
@@ -1025,30 +1047,30 @@ var Bo = /* @__PURE__ */ function() {
|
|
|
1025
1047
|
return o[1];
|
|
1026
1048
|
}
|
|
1027
1049
|
}, e;
|
|
1028
|
-
}(),
|
|
1050
|
+
}(), qo = /* @__PURE__ */ M(function(t) {
|
|
1029
1051
|
return t != null && typeof t.clone == "function" ? t.clone() : bt(t, !0);
|
|
1030
1052
|
});
|
|
1031
|
-
function
|
|
1053
|
+
function Wo(e, t) {
|
|
1032
1054
|
return function() {
|
|
1033
1055
|
return t.call(this, e.apply(this, arguments));
|
|
1034
1056
|
};
|
|
1035
1057
|
}
|
|
1036
|
-
function
|
|
1058
|
+
function Dt(e, t) {
|
|
1037
1059
|
return function() {
|
|
1038
1060
|
var a = arguments.length;
|
|
1039
1061
|
if (a === 0)
|
|
1040
1062
|
return t();
|
|
1041
1063
|
var r = arguments[a - 1];
|
|
1042
|
-
return
|
|
1064
|
+
return Ae(r) || typeof r[e] != "function" ? t.apply(this, arguments) : r[e].apply(r, Array.prototype.slice.call(arguments, 0, a - 1));
|
|
1043
1065
|
};
|
|
1044
1066
|
}
|
|
1045
|
-
var
|
|
1067
|
+
var Yo = /* @__PURE__ */ Y(/* @__PURE__ */ Dt("slice", function(t, a, r) {
|
|
1046
1068
|
return Array.prototype.slice.call(r, t, a);
|
|
1047
|
-
})),
|
|
1069
|
+
})), Ho = /* @__PURE__ */ M(/* @__PURE__ */ Dt("tail", /* @__PURE__ */ Yo(1, 1 / 0)));
|
|
1048
1070
|
function Ua() {
|
|
1049
1071
|
if (arguments.length === 0)
|
|
1050
1072
|
throw new Error("pipe requires at least one argument");
|
|
1051
|
-
return st(arguments[0].length,
|
|
1073
|
+
return st(arguments[0].length, Ro(Wo, arguments[0], Ho(arguments)));
|
|
1052
1074
|
}
|
|
1053
1075
|
var Ba = /* @__PURE__ */ M(function(t) {
|
|
1054
1076
|
return gt(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
|
|
@@ -1060,7 +1082,7 @@ function ae() {
|
|
|
1060
1082
|
}
|
|
1061
1083
|
var fe = /* @__PURE__ */ M(function(e) {
|
|
1062
1084
|
return ut(0, e);
|
|
1063
|
-
}),
|
|
1085
|
+
}), Jo = /* @__PURE__ */ function() {
|
|
1064
1086
|
function e(t, a, r, o) {
|
|
1065
1087
|
this.valueFn = t, this.valueAcc = a, this.keyFn = r, this.xf = o, this.inputs = {};
|
|
1066
1088
|
}
|
|
@@ -1077,15 +1099,15 @@ var fe = /* @__PURE__ */ M(function(e) {
|
|
|
1077
1099
|
return this.inputs[r] = this.inputs[r] || [r, bt(this.valueAcc, !1)], this.inputs[r][1] = this.valueFn(this.inputs[r][1], a), t;
|
|
1078
1100
|
}, e;
|
|
1079
1101
|
}();
|
|
1080
|
-
function
|
|
1102
|
+
function Xo(e, t, a) {
|
|
1081
1103
|
return function(r) {
|
|
1082
|
-
return new
|
|
1104
|
+
return new Jo(e, t, a, r);
|
|
1083
1105
|
};
|
|
1084
1106
|
}
|
|
1085
|
-
var Va = /* @__PURE__ */
|
|
1086
|
-
var i = Da(function(l,
|
|
1087
|
-
var
|
|
1088
|
-
return
|
|
1107
|
+
var Va = /* @__PURE__ */ jt(4, [], /* @__PURE__ */ Rt([], Xo, function(t, a, r, o) {
|
|
1108
|
+
var i = Da(function(l, s) {
|
|
1109
|
+
var p = r(s), u = t(X(p, l) ? l[p] : bt(a, !1), s);
|
|
1110
|
+
return u && u["@@transducer/reduced"] ? ho(l) : (l[p] = u, l);
|
|
1089
1111
|
});
|
|
1090
1112
|
return Ma(i, {}, o);
|
|
1091
1113
|
})), Pe = /* @__PURE__ */ Y(function(t, a, r) {
|
|
@@ -1094,26 +1116,26 @@ var Va = /* @__PURE__ */ Ot(4, [], /* @__PURE__ */ jt([], Jo, function(t, a, r,
|
|
|
1094
1116
|
}), qa = /* @__PURE__ */ M(function(e) {
|
|
1095
1117
|
return ut(-1, e);
|
|
1096
1118
|
});
|
|
1097
|
-
function
|
|
1119
|
+
function Qo(e) {
|
|
1098
1120
|
var t = Object.prototype.toString.call(e);
|
|
1099
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]";
|
|
1100
1122
|
}
|
|
1101
|
-
var
|
|
1102
|
-
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() :
|
|
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) ? [] : gt(t) ? "" : Fa(t) ? {} : Ea(t) ? /* @__PURE__ */ function() {
|
|
1103
1125
|
return arguments;
|
|
1104
|
-
}() :
|
|
1105
|
-
}),
|
|
1126
|
+
}() : Qo(t) ? t.constructor.from("") : void 0;
|
|
1127
|
+
}), ei = /* @__PURE__ */ F(/* @__PURE__ */ Dt("groupBy", /* @__PURE__ */ Va(function(e, t) {
|
|
1106
1128
|
return e.push(t), e;
|
|
1107
1129
|
}, []))), la = /* @__PURE__ */ Va(function(e, t) {
|
|
1108
1130
|
return t;
|
|
1109
|
-
}, null),
|
|
1110
|
-
return typeof a.indexOf == "function" &&
|
|
1111
|
-
}),
|
|
1131
|
+
}, null), ti = /* @__PURE__ */ F(function(t, a) {
|
|
1132
|
+
return typeof a.indexOf == "function" && !Ae(a) ? a.indexOf(t) : Oa(a, t, 0);
|
|
1133
|
+
}), ai = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1112
1134
|
return Ra(function(o) {
|
|
1113
|
-
return
|
|
1135
|
+
return It(t, o, r);
|
|
1114
1136
|
}, a);
|
|
1115
1137
|
});
|
|
1116
|
-
function
|
|
1138
|
+
function ri(e) {
|
|
1117
1139
|
if (e == null)
|
|
1118
1140
|
throw new TypeError("Cannot convert undefined or null to object");
|
|
1119
1141
|
for (var t = Object(e), a = 1, r = arguments.length; a < r; ) {
|
|
@@ -1125,17 +1147,17 @@ function ai(e) {
|
|
|
1125
1147
|
}
|
|
1126
1148
|
return t;
|
|
1127
1149
|
}
|
|
1128
|
-
const
|
|
1150
|
+
const oi = typeof Object.assign == "function" ? Object.assign : ri;
|
|
1129
1151
|
var Wa = /* @__PURE__ */ F(function(t, a) {
|
|
1130
1152
|
return Ca(t + 1, function() {
|
|
1131
1153
|
var r = arguments[t];
|
|
1132
|
-
if (r != null &&
|
|
1154
|
+
if (r != null && Ko(r[a]))
|
|
1133
1155
|
return r[a].apply(r, Array.prototype.slice.call(arguments, 0, t));
|
|
1134
|
-
throw new TypeError(
|
|
1156
|
+
throw new TypeError(Io(r) + ' does not have a method named "' + a + '"');
|
|
1135
1157
|
});
|
|
1136
|
-
}),
|
|
1137
|
-
return t != null && ct(t,
|
|
1138
|
-
}),
|
|
1158
|
+
}), ii = /* @__PURE__ */ M(function(t) {
|
|
1159
|
+
return t != null && ct(t, Zo(t));
|
|
1160
|
+
}), ni = /* @__PURE__ */ Wa(1, "join"), li = /* @__PURE__ */ F(function(t, a) {
|
|
1139
1161
|
return function(r) {
|
|
1140
1162
|
return function(o) {
|
|
1141
1163
|
return me(function(i) {
|
|
@@ -1153,9 +1175,9 @@ function Ya(e, t) {
|
|
|
1153
1175
|
}
|
|
1154
1176
|
return a;
|
|
1155
1177
|
}
|
|
1156
|
-
var
|
|
1157
|
-
return
|
|
1158
|
-
}),
|
|
1178
|
+
var si = /* @__PURE__ */ M(function(t) {
|
|
1179
|
+
return li(q(t), Do(t));
|
|
1180
|
+
}), ci = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1159
1181
|
var o = {}, i;
|
|
1160
1182
|
a = a || {}, r = r || {};
|
|
1161
1183
|
for (i in a)
|
|
@@ -1163,17 +1185,17 @@ var li = /* @__PURE__ */ M(function(t) {
|
|
|
1163
1185
|
for (i in r)
|
|
1164
1186
|
X(i, r) && !X(i, o) && (o[i] = r[i]);
|
|
1165
1187
|
return o;
|
|
1166
|
-
}),
|
|
1167
|
-
return
|
|
1168
|
-
}),
|
|
1169
|
-
return
|
|
1188
|
+
}), di = /* @__PURE__ */ F(function(t, a) {
|
|
1189
|
+
return oi({}, a, t);
|
|
1190
|
+
}), pi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1191
|
+
return ci(function(o, i, l) {
|
|
1170
1192
|
return t(i, l);
|
|
1171
1193
|
}, a, r);
|
|
1172
1194
|
}), we = /* @__PURE__ */ F(function(t, a) {
|
|
1173
1195
|
for (var r = {}, o = {}, i = 0, l = t.length; i < l; )
|
|
1174
1196
|
o[t[i]] = 1, i += 1;
|
|
1175
|
-
for (var
|
|
1176
|
-
o.hasOwnProperty(
|
|
1197
|
+
for (var s in a)
|
|
1198
|
+
o.hasOwnProperty(s) || (r[s] = a[s]);
|
|
1177
1199
|
return r;
|
|
1178
1200
|
}), Ha = function(e) {
|
|
1179
1201
|
return {
|
|
@@ -1182,11 +1204,11 @@ var li = /* @__PURE__ */ M(function(t) {
|
|
|
1182
1204
|
return Ha(t(e));
|
|
1183
1205
|
}
|
|
1184
1206
|
};
|
|
1185
|
-
},
|
|
1207
|
+
}, gi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1186
1208
|
return t(function(o) {
|
|
1187
1209
|
return Ha(a(o));
|
|
1188
1210
|
})(r).value;
|
|
1189
|
-
}), Ge = /* @__PURE__ */ F(Ya),
|
|
1211
|
+
}), Ge = /* @__PURE__ */ F(Ya), ui = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1190
1212
|
return ct(Ya(a, r), t);
|
|
1191
1213
|
}), oe = /* @__PURE__ */ F(function(t, a) {
|
|
1192
1214
|
for (var r = {}, o = 0; o < t.length; )
|
|
@@ -1194,7 +1216,7 @@ var li = /* @__PURE__ */ M(function(t) {
|
|
|
1194
1216
|
return r;
|
|
1195
1217
|
}), Ja = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1196
1218
|
return ct(t, q(a, r));
|
|
1197
|
-
}),
|
|
1219
|
+
}), bi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1198
1220
|
return r.replace(t, a);
|
|
1199
1221
|
}), mt = /* @__PURE__ */ F(function(t, a) {
|
|
1200
1222
|
return Array.prototype.slice.call(a, 0).sort(t);
|
|
@@ -1203,32 +1225,32 @@ var li = /* @__PURE__ */ M(function(t) {
|
|
|
1203
1225
|
var i = t(r), l = t(o);
|
|
1204
1226
|
return i < l ? -1 : i > l ? 1 : 0;
|
|
1205
1227
|
});
|
|
1206
|
-
}),
|
|
1228
|
+
}), mi = /* @__PURE__ */ F(function(t, a) {
|
|
1207
1229
|
return Array.prototype.slice.call(a, 0).sort(function(r, o) {
|
|
1208
1230
|
for (var i = 0, l = 0; i === 0 && l < t.length; )
|
|
1209
1231
|
i = t[l](r, o), l += 1;
|
|
1210
1232
|
return i;
|
|
1211
1233
|
});
|
|
1212
|
-
}),
|
|
1234
|
+
}), vi = /* @__PURE__ */ Wa(0, "toUpperCase");
|
|
1213
1235
|
function vt(e, t) {
|
|
1214
1236
|
if (e.length === 0)
|
|
1215
1237
|
throw new xa(Ze.message, Ze.options);
|
|
1216
|
-
t.seasons =
|
|
1238
|
+
t.seasons = wi(e), t.championshipId || (t.championshipId = fe(t.seasons).championshipId);
|
|
1217
1239
|
}
|
|
1218
|
-
function
|
|
1240
|
+
function hi(e, t) {
|
|
1219
1241
|
const a = (r) => ["Rájátszás", "Újrajátszandó"].includes(r.phaseName);
|
|
1220
1242
|
t.sections = ae(dt(a), Ge([0, "phases"]))(e), t.section = ae(q("phaseName"), fe)(t.sections);
|
|
1221
1243
|
}
|
|
1222
|
-
function
|
|
1244
|
+
function fi(e, t) {
|
|
1223
1245
|
t.sections = [...e], t.section || (t.section = ae(q("name"), qa)(t.sections));
|
|
1224
1246
|
}
|
|
1225
1247
|
function Xa(e) {
|
|
1226
|
-
return mt(
|
|
1248
|
+
return mt(Mt(q("teamName")), e);
|
|
1227
1249
|
}
|
|
1228
|
-
function
|
|
1250
|
+
function yi(e, t) {
|
|
1229
1251
|
t.teams = Xa(e);
|
|
1230
1252
|
}
|
|
1231
|
-
function
|
|
1253
|
+
function wi(e) {
|
|
1232
1254
|
return ae(mt(Pe(q("seasonName"))), me(oe(["championshipId", "seasonName"])))(e);
|
|
1233
1255
|
}
|
|
1234
1256
|
const Qa = {
|
|
@@ -1236,7 +1258,7 @@ const Qa = {
|
|
|
1236
1258
|
label: "table.jerseyNumber.short",
|
|
1237
1259
|
tooltip: "table.jerseyNumber.tooltip",
|
|
1238
1260
|
class: "is-text-bold is-text-xl",
|
|
1239
|
-
sortOrders: [{ target: "jerseyNr", direction:
|
|
1261
|
+
sortOrders: [{ target: "jerseyNr", direction: Ce }]
|
|
1240
1262
|
},
|
|
1241
1263
|
playerPortrait: {
|
|
1242
1264
|
label: "",
|
|
@@ -1246,13 +1268,13 @@ const Qa = {
|
|
|
1246
1268
|
label: "table.name.short",
|
|
1247
1269
|
tooltip: "table.name.tooltip",
|
|
1248
1270
|
class: "is-text-left is-w-auto is-text-bold",
|
|
1249
|
-
sortOrders: [{ target: "name", direction:
|
|
1271
|
+
sortOrders: [{ target: "name", direction: Ce }]
|
|
1250
1272
|
},
|
|
1251
1273
|
teamName: {
|
|
1252
1274
|
label: "table.team.short",
|
|
1253
1275
|
tooltip: "table.team.tooltip",
|
|
1254
1276
|
class: "is-text-left is-w-auto is-text-bold",
|
|
1255
|
-
sortOrders: [{ target: "teamName", direction:
|
|
1277
|
+
sortOrders: [{ target: "teamName", direction: Ce }]
|
|
1256
1278
|
},
|
|
1257
1279
|
position: {
|
|
1258
1280
|
label: "table.position.short",
|
|
@@ -1266,15 +1288,15 @@ const Qa = {
|
|
|
1266
1288
|
label: "table.birthDate.short",
|
|
1267
1289
|
tooltip: "table.birthDate.tooltip",
|
|
1268
1290
|
class: "is-text-right",
|
|
1269
|
-
sortOrders: [{ target: "birthDate", direction:
|
|
1291
|
+
sortOrders: [{ target: "birthDate", direction: Ce }]
|
|
1270
1292
|
},
|
|
1271
1293
|
birthPlace: {
|
|
1272
1294
|
label: "table.birthPlace.short",
|
|
1273
1295
|
tooltip: "table.birthPlace.tooltip",
|
|
1274
1296
|
class: "is-text-right",
|
|
1275
|
-
sortOrders: [{ target: "birthPlace", direction:
|
|
1297
|
+
sortOrders: [{ target: "birthPlace", direction: Ce }]
|
|
1276
1298
|
}
|
|
1277
|
-
},
|
|
1299
|
+
}, Nt = {
|
|
1278
1300
|
gameDateDate: {
|
|
1279
1301
|
label: "table.gameDate.short",
|
|
1280
1302
|
tooltip: "table.gameDate.tooltip",
|
|
@@ -1506,26 +1528,26 @@ const Qa = {
|
|
|
1506
1528
|
label: "table.pimPerGame.short",
|
|
1507
1529
|
tooltip: "table.pimPerGame.tooltip"
|
|
1508
1530
|
}
|
|
1509
|
-
}, We = "games",
|
|
1510
|
-
function
|
|
1531
|
+
}, We = "games", zt = "seasons";
|
|
1532
|
+
function xi(e, t) {
|
|
1511
1533
|
return {
|
|
1512
1534
|
...e,
|
|
1513
1535
|
name: e.player.nationality.includes("hu") ? `${e.player.lastName} ${e.player.firstName}` : `${e.player.firstName} ${e.player.lastName}`,
|
|
1514
1536
|
age: kr(e.birthDate, t),
|
|
1515
|
-
position:
|
|
1537
|
+
position: vi(e.position)
|
|
1516
1538
|
};
|
|
1517
1539
|
}
|
|
1518
|
-
const
|
|
1519
|
-
function
|
|
1540
|
+
const ki = (e) => at(Ba(e), rt, ka(["mip"]));
|
|
1541
|
+
function _i(e, t) {
|
|
1520
1542
|
return dt(Ja(e, "championshipId"))(t);
|
|
1521
1543
|
}
|
|
1522
|
-
function
|
|
1523
|
-
return
|
|
1544
|
+
function zi(e, t) {
|
|
1545
|
+
return Gt(Ja(e, "championshipId"))(t);
|
|
1524
1546
|
}
|
|
1525
|
-
function
|
|
1526
|
-
return at(
|
|
1547
|
+
function Si(e, t, a, r) {
|
|
1548
|
+
return at(Ct(e), _a(r, a), za, Sa(t.teamId), Ta);
|
|
1527
1549
|
}
|
|
1528
|
-
const
|
|
1550
|
+
const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/player-games", Ni = "/v2/goalie-games", $i = {
|
|
1529
1551
|
__name: "DataProvider",
|
|
1530
1552
|
props: {
|
|
1531
1553
|
apiKey: {
|
|
@@ -1549,26 +1571,26 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1549
1571
|
const t = e, a = ot(), r = Te("history"), o = Z({
|
|
1550
1572
|
playerId: Number(r.playerId) || Number(t.playerId),
|
|
1551
1573
|
championshipId: Number(r.championshipId) || Number(t.championshipId),
|
|
1552
|
-
seasonApi:
|
|
1553
|
-
gamesApi:
|
|
1574
|
+
seasonApi: Ti,
|
|
1575
|
+
gamesApi: Pi,
|
|
1554
1576
|
isGoalie: !1,
|
|
1555
1577
|
pane: We
|
|
1556
|
-
}), { onError: i } = ge(), { state: l, isLoading:
|
|
1578
|
+
}), { onError: i } = ge(), { state: l, isLoading: s } = D({
|
|
1557
1579
|
options: {
|
|
1558
1580
|
path: "/v2/player-data",
|
|
1559
1581
|
apiKey: t.apiKey,
|
|
1560
1582
|
params: _(() => ({ championshipId: o.championshipId, playerId: o.playerId })),
|
|
1561
1583
|
immediate: !0
|
|
1562
1584
|
},
|
|
1563
|
-
transform: (T) =>
|
|
1585
|
+
transform: (T) => xi(T, t.locale),
|
|
1564
1586
|
onError: i,
|
|
1565
1587
|
onSuccess: (T) => {
|
|
1566
1588
|
const { position: C } = T;
|
|
1567
|
-
C.toLowerCase() === "gk" && (o.seasonApi =
|
|
1589
|
+
C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0), y();
|
|
1568
1590
|
}
|
|
1569
1591
|
}), {
|
|
1570
|
-
state:
|
|
1571
|
-
isLoading:
|
|
1592
|
+
state: p,
|
|
1593
|
+
isLoading: u,
|
|
1572
1594
|
execute: v
|
|
1573
1595
|
} = D({
|
|
1574
1596
|
options: {
|
|
@@ -1577,12 +1599,12 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1577
1599
|
params: _(() => ({ playerId: o.playerId })),
|
|
1578
1600
|
immediate: !1
|
|
1579
1601
|
},
|
|
1580
|
-
transform: (T) =>
|
|
1602
|
+
transform: (T) => ki(T),
|
|
1581
1603
|
onError: i
|
|
1582
1604
|
}), {
|
|
1583
|
-
state:
|
|
1584
|
-
isLoading:
|
|
1585
|
-
execute:
|
|
1605
|
+
state: f,
|
|
1606
|
+
isLoading: m,
|
|
1607
|
+
execute: g
|
|
1586
1608
|
} = D({
|
|
1587
1609
|
options: {
|
|
1588
1610
|
path: _(() => o.gamesApi),
|
|
@@ -1590,12 +1612,12 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1590
1612
|
params: _(() => ({ championshipId: o.championshipId, playerId: o.playerId })),
|
|
1591
1613
|
immediate: !1
|
|
1592
1614
|
},
|
|
1593
|
-
transform: (T) =>
|
|
1615
|
+
transform: (T) => Si(T, o, t.locale, a),
|
|
1594
1616
|
onError: i
|
|
1595
1617
|
}), z = _(
|
|
1596
|
-
() =>
|
|
1618
|
+
() => _i(o.championshipId, p.value)
|
|
1597
1619
|
), w = _(
|
|
1598
|
-
() =>
|
|
1620
|
+
() => zi(o.championshipId, p.value)
|
|
1599
1621
|
), N = _(
|
|
1600
1622
|
() => o.isGoalie ? oe(
|
|
1601
1623
|
["teamName", "gkd", "gpi", "mipMin", "mipPercent", "ga", "gaa", "sog", "svs", "svsPercent"],
|
|
@@ -1659,7 +1681,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1659
1681
|
"gaa",
|
|
1660
1682
|
"svsPercent"
|
|
1661
1683
|
],
|
|
1662
|
-
|
|
1684
|
+
Nt
|
|
1663
1685
|
) : oe(
|
|
1664
1686
|
[
|
|
1665
1687
|
"gameDateDate",
|
|
@@ -1677,22 +1699,22 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1677
1699
|
"shotPercent",
|
|
1678
1700
|
"pim"
|
|
1679
1701
|
],
|
|
1680
|
-
|
|
1702
|
+
Nt
|
|
1681
1703
|
)
|
|
1682
1704
|
);
|
|
1683
1705
|
function y() {
|
|
1684
|
-
te([v,
|
|
1706
|
+
te([v, g]);
|
|
1685
1707
|
}
|
|
1686
1708
|
function S(T) {
|
|
1687
1709
|
o.pane = T;
|
|
1688
1710
|
}
|
|
1689
1711
|
return (T, C) => xe(T.$slots, "default", ke(_e({
|
|
1690
1712
|
pane: o.pane,
|
|
1691
|
-
isLoadingPlayerData: n(
|
|
1692
|
-
isPlayerSeasonsLoading: n(
|
|
1693
|
-
isGamesLoading: n(
|
|
1713
|
+
isLoadingPlayerData: n(s),
|
|
1714
|
+
isPlayerSeasonsLoading: n(u),
|
|
1715
|
+
isGamesLoading: n(m),
|
|
1694
1716
|
playerData: n(l),
|
|
1695
|
-
playerGames: n(
|
|
1717
|
+
playerGames: n(f),
|
|
1696
1718
|
playerSeasonStats: z.value,
|
|
1697
1719
|
currentSeasonStats: w.value,
|
|
1698
1720
|
gameColumns: L.value,
|
|
@@ -1701,13 +1723,13 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1701
1723
|
onChangePane: S
|
|
1702
1724
|
})));
|
|
1703
1725
|
}
|
|
1704
|
-
},
|
|
1726
|
+
}, Ai = { class: "is-team-name-long" }, Li = { class: "is-team-name-short" }, Ci = {
|
|
1705
1727
|
key: 0,
|
|
1706
1728
|
class: "is-text-dark"
|
|
1707
|
-
},
|
|
1729
|
+
}, Ei = ["href"], Oi = {
|
|
1708
1730
|
key: 0,
|
|
1709
1731
|
class: "label"
|
|
1710
|
-
},
|
|
1732
|
+
}, ji = {
|
|
1711
1733
|
key: 1,
|
|
1712
1734
|
class: "label"
|
|
1713
1735
|
}, Za = {
|
|
@@ -1741,7 +1763,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1741
1763
|
},
|
|
1742
1764
|
setup(e) {
|
|
1743
1765
|
const { t } = Q();
|
|
1744
|
-
return (a, r) => (
|
|
1766
|
+
return (a, r) => (d(), $(n(ie), null, {
|
|
1745
1767
|
default: k(() => [
|
|
1746
1768
|
x(n(ce), {
|
|
1747
1769
|
rows: e.rows,
|
|
@@ -1750,7 +1772,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1750
1772
|
"append-to": e.appendTo
|
|
1751
1773
|
}, {
|
|
1752
1774
|
"cell-resultType": k(({ row: o }) => [
|
|
1753
|
-
|
|
1775
|
+
c("span", {
|
|
1754
1776
|
class: G(["is-badge", [
|
|
1755
1777
|
{
|
|
1756
1778
|
"is-green": ["W", "OTW", "SOW"].includes(o.resultType),
|
|
@@ -1758,31 +1780,31 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1758
1780
|
"is-yellow": o.resultType === "D"
|
|
1759
1781
|
}
|
|
1760
1782
|
]])
|
|
1761
|
-
},
|
|
1783
|
+
}, b(o.resultType), 3)
|
|
1762
1784
|
]),
|
|
1763
1785
|
"cell-teamName": k(({ row: o }) => {
|
|
1764
1786
|
var i, l;
|
|
1765
1787
|
return [
|
|
1766
|
-
|
|
1767
|
-
|
|
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)
|
|
1768
1790
|
];
|
|
1769
1791
|
}),
|
|
1770
1792
|
"cell-gameResult": k(({ row: o }) => [
|
|
1771
|
-
o.gameStatus === 0 ? (
|
|
1793
|
+
o.gameStatus === 0 ? (d(), h("span", Ci, "-:-")) : (d(), h("a", {
|
|
1772
1794
|
key: 1,
|
|
1773
1795
|
href: e.gameResolver(o),
|
|
1774
1796
|
class: G({ "is-text-dark": o.gameStatus !== 1, "is-text-accent": o.gameStatus === 1 })
|
|
1775
|
-
},
|
|
1797
|
+
}, b(o.gameResult), 11, Ei))
|
|
1776
1798
|
]),
|
|
1777
1799
|
"cell-gameResultType": k(({ row: o }) => [
|
|
1778
|
-
o.isOvertime ? (
|
|
1779
|
-
o.isShootout ? (
|
|
1800
|
+
o.isOvertime ? (d(), h("span", Oi, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
|
|
1801
|
+
o.isShootout ? (d(), h("span", ji, b(n(t)("common.shootoutShort")), 1)) : I("", !0)
|
|
1780
1802
|
]),
|
|
1781
1803
|
"cell-powerplay": k(({ row: o }) => [
|
|
1782
|
-
W(
|
|
1804
|
+
W(b(o.adv) + " / " + b(o.ppgf), 1)
|
|
1783
1805
|
]),
|
|
1784
1806
|
"cell-penaltyKilling": k(({ row: o }) => [
|
|
1785
|
-
W(
|
|
1807
|
+
W(b(o.dvg) + " / " + b(o.pk), 1)
|
|
1786
1808
|
]),
|
|
1787
1809
|
_: 1
|
|
1788
1810
|
}, 8, ["rows", "columns", "is-loading", "append-to"])
|
|
@@ -1790,7 +1812,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1790
1812
|
_: 1
|
|
1791
1813
|
}));
|
|
1792
1814
|
}
|
|
1793
|
-
},
|
|
1815
|
+
}, Ri = {
|
|
1794
1816
|
__name: "Games",
|
|
1795
1817
|
props: {
|
|
1796
1818
|
columns: {
|
|
@@ -1822,9 +1844,9 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1822
1844
|
const t = e, { columns: a } = ee(
|
|
1823
1845
|
_(() => t.columns),
|
|
1824
1846
|
null,
|
|
1825
|
-
_(() => ({ offsetName:
|
|
1847
|
+
_(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
|
|
1826
1848
|
), r = (o) => it(t.gameResolver, o);
|
|
1827
|
-
return (o, i) => (
|
|
1849
|
+
return (o, i) => (d(), $(Za, {
|
|
1828
1850
|
rows: e.rows,
|
|
1829
1851
|
columns: n(a),
|
|
1830
1852
|
"is-loading": e.isLoading,
|
|
@@ -1832,10 +1854,10 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1832
1854
|
"game-resolver": r
|
|
1833
1855
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"]));
|
|
1834
1856
|
}
|
|
1835
|
-
},
|
|
1857
|
+
}, Fi = {
|
|
1836
1858
|
key: 0,
|
|
1837
1859
|
style: { "text-align": "center" }
|
|
1838
|
-
},
|
|
1860
|
+
}, Gi = { class: "is-text-italic" }, Mi = { style: { display: "flex", "align-items": "center", "justify-content": "center" } }, Di = ["onMouseenter", "onMouseleave", "onFocus", "onBlur"], Ki = {
|
|
1839
1861
|
__name: "PlayerInfo",
|
|
1840
1862
|
props: {
|
|
1841
1863
|
data: {
|
|
@@ -1851,48 +1873,48 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1851
1873
|
const { t } = Q();
|
|
1852
1874
|
return (a, r) => {
|
|
1853
1875
|
var o, i, l;
|
|
1854
|
-
return n(
|
|
1855
|
-
r[0] || (
|
|
1856
|
-
W(
|
|
1857
|
-
|
|
1858
|
-
])).cacheIndex = 0,
|
|
1859
|
-
|
|
1860
|
-
W(
|
|
1861
|
-
(
|
|
1862
|
-
key:
|
|
1876
|
+
return n(ii)(e.data) ? I("", !0) : (d(), h("div", Fi, [
|
|
1877
|
+
r[0] || (Wt(-1, !0), (r[0] = c("h2", { class: "is-heading-2" }, [
|
|
1878
|
+
W(b(e.data.name) + " ", 1),
|
|
1879
|
+
c("span", Gi, "#" + b(e.data.jerseyNr), 1)
|
|
1880
|
+
])).cacheIndex = 0, Wt(1), r[0]),
|
|
1881
|
+
c("div", Mi, [
|
|
1882
|
+
W(b(e.data.birthDate) + " (" + b(n(t)("players.age", { years: e.data.age })) + ") / ", 1),
|
|
1883
|
+
(d(!0), h(O, null, U(e.data.player.nationality, (s) => (d(), $(n(ha), {
|
|
1884
|
+
key: s,
|
|
1863
1885
|
placement: "top",
|
|
1864
|
-
content: n(t)(`nationality.${
|
|
1886
|
+
content: n(t)(`nationality.${s}`),
|
|
1865
1887
|
"append-to": e.appendTo
|
|
1866
1888
|
}, {
|
|
1867
|
-
default: k(({ setRef:
|
|
1868
|
-
|
|
1889
|
+
default: k(({ setRef: p, show: u, hide: v }) => [
|
|
1890
|
+
c("span", {
|
|
1869
1891
|
ref_for: !0,
|
|
1870
|
-
ref:
|
|
1892
|
+
ref: p,
|
|
1871
1893
|
class: "is-rounded",
|
|
1872
|
-
onMouseenter:
|
|
1894
|
+
onMouseenter: u,
|
|
1873
1895
|
onMouseleave: v,
|
|
1874
|
-
onFocus:
|
|
1896
|
+
onFocus: u,
|
|
1875
1897
|
onBlur: v
|
|
1876
1898
|
}, [
|
|
1877
1899
|
x(n(V), {
|
|
1878
|
-
src: n(Ia)(
|
|
1900
|
+
src: n(Ia)(s)
|
|
1879
1901
|
}, null, 8, ["src"])
|
|
1880
|
-
], 40,
|
|
1902
|
+
], 40, Di)
|
|
1881
1903
|
]),
|
|
1882
1904
|
_: 2
|
|
1883
1905
|
}, 1032, ["content", "append-to"]))), 128)),
|
|
1884
|
-
W(" " +
|
|
1885
|
-
(
|
|
1906
|
+
W(" " + b(e.data.birthPlace) + " / " + b(e.data.position) + " / ", 1),
|
|
1907
|
+
(d(), $(n(V), {
|
|
1886
1908
|
key: (o = e.data.team) == null ? void 0 : o.id,
|
|
1887
1909
|
class: "is-logo-image is-w-7",
|
|
1888
1910
|
src: (i = e.data.team) == null ? void 0 : i.logo
|
|
1889
1911
|
}, null, 8, ["src"])),
|
|
1890
|
-
W(" " +
|
|
1912
|
+
W(" " + b((l = e.data.team) == null ? void 0 : l.longName), 1)
|
|
1891
1913
|
])
|
|
1892
1914
|
]));
|
|
1893
1915
|
};
|
|
1894
1916
|
}
|
|
1895
|
-
},
|
|
1917
|
+
}, Ui = {
|
|
1896
1918
|
__name: "Seasons",
|
|
1897
1919
|
props: {
|
|
1898
1920
|
columns: {
|
|
@@ -1914,7 +1936,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1914
1936
|
},
|
|
1915
1937
|
setup(e) {
|
|
1916
1938
|
const t = e, { columns: a } = ee(_(() => t.columns));
|
|
1917
|
-
return (r, o) => (
|
|
1939
|
+
return (r, o) => (d(), $(n(ie), null, {
|
|
1918
1940
|
default: k(() => [
|
|
1919
1941
|
x(n(ce), {
|
|
1920
1942
|
rows: e.rows,
|
|
@@ -1925,7 +1947,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1925
1947
|
_: 1
|
|
1926
1948
|
}));
|
|
1927
1949
|
}
|
|
1928
|
-
},
|
|
1950
|
+
}, Bi = { class: "is-heading-2" }, Vi = {
|
|
1929
1951
|
__name: "SeasonStats",
|
|
1930
1952
|
props: {
|
|
1931
1953
|
columns: {
|
|
@@ -1949,8 +1971,8 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1949
1971
|
const t = e, { columns: a } = ee(_(() => t.columns));
|
|
1950
1972
|
return (r, o) => {
|
|
1951
1973
|
var i;
|
|
1952
|
-
return
|
|
1953
|
-
|
|
1974
|
+
return d(), h(O, null, [
|
|
1975
|
+
c("h2", Bi, b(((i = e.rows[0]) == null ? void 0 : i.season) ?? ""), 1),
|
|
1954
1976
|
x(n(ie), null, {
|
|
1955
1977
|
default: k(() => [
|
|
1956
1978
|
x(n(ce), {
|
|
@@ -1965,15 +1987,15 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
1965
1987
|
], 64);
|
|
1966
1988
|
};
|
|
1967
1989
|
}
|
|
1968
|
-
}, 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: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s linear(0,.009,.035 2.1%,.141,.281 6.7%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", 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}", Dt = ".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)}`, Vi = ".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}", qi = ".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}", Wi = '.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)}', Yi = ".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: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s linear(0,.009,.035 2.1%,.141,.281 6.7%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", 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) => {
|
|
1969
1991
|
const a = e.__vccOpts || e;
|
|
1970
1992
|
for (const [r, o] of t)
|
|
1971
1993
|
a[r] = o;
|
|
1972
1994
|
return a;
|
|
1973
|
-
},
|
|
1995
|
+
}, Ji = { class: "is-mb-5" }, Xi = { class: "is-heading-1 is-uppercase" }, Qi = {
|
|
1974
1996
|
class: "main-image-wrapper",
|
|
1975
1997
|
style: { "--overlay-size": "180px" }
|
|
1976
|
-
},
|
|
1998
|
+
}, Zi = { class: "is-main-image" }, en = { class: "is-ovarlay-image" }, tn = { class: "is-mt-5" }, an = ["onClick"], rn = ["onClick"], on = {
|
|
1977
1999
|
__name: "Player.ce",
|
|
1978
2000
|
props: {
|
|
1979
2001
|
locale: {
|
|
@@ -2003,30 +2025,30 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2003
2025
|
},
|
|
2004
2026
|
setup(e) {
|
|
2005
2027
|
const t = e, a = { en: ue, hu: be }, r = K(null);
|
|
2006
|
-
return (o, i) => (
|
|
2028
|
+
return (o, i) => (d(), h("div", Ji, [
|
|
2007
2029
|
x(n(pe), {
|
|
2008
2030
|
locale: t.locale,
|
|
2009
2031
|
messages: a
|
|
2010
2032
|
}, {
|
|
2011
2033
|
default: k(({ t: l }) => [
|
|
2012
2034
|
x(n(ze), null, {
|
|
2013
|
-
default: k(({ error:
|
|
2014
|
-
|
|
2035
|
+
default: k(({ error: s, hasError: p }) => [
|
|
2036
|
+
p ? (d(), $(n(Se), {
|
|
2015
2037
|
key: 0,
|
|
2016
|
-
error:
|
|
2038
|
+
error: s
|
|
2017
2039
|
}, null, 8, ["error"])) : I("", !0),
|
|
2018
|
-
x(
|
|
2040
|
+
x($i, {
|
|
2019
2041
|
"api-key": t.apiKey,
|
|
2020
2042
|
locale: e.locale,
|
|
2021
2043
|
"championship-id": e.championshipId,
|
|
2022
2044
|
"player-id": t.playerId
|
|
2023
2045
|
}, {
|
|
2024
2046
|
default: k(({
|
|
2025
|
-
pane:
|
|
2047
|
+
pane: u,
|
|
2026
2048
|
isGamesLoading: v,
|
|
2027
|
-
isPlayerSeasonsLoading:
|
|
2028
|
-
playerData:
|
|
2029
|
-
playerGames:
|
|
2049
|
+
isPlayerSeasonsLoading: f,
|
|
2050
|
+
playerData: m,
|
|
2051
|
+
playerGames: g,
|
|
2030
2052
|
playerSeasonStats: z,
|
|
2031
2053
|
currentSeasonStats: w,
|
|
2032
2054
|
gameColumns: N,
|
|
@@ -2036,59 +2058,59 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2036
2058
|
}) => {
|
|
2037
2059
|
var S, T, C;
|
|
2038
2060
|
return [
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
(
|
|
2043
|
-
key: (S =
|
|
2044
|
-
src:
|
|
2061
|
+
c("h1", Xi, b(m.name), 1),
|
|
2062
|
+
c("div", Qi, [
|
|
2063
|
+
c("div", Zi, [
|
|
2064
|
+
(d(), $(n(V), {
|
|
2065
|
+
key: (S = m.player) == null ? void 0 : S.playerId,
|
|
2066
|
+
src: m.playerAction,
|
|
2045
2067
|
"default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
|
|
2046
2068
|
}, null, 8, ["src"]))
|
|
2047
2069
|
]),
|
|
2048
|
-
|
|
2049
|
-
(
|
|
2050
|
-
key: (T =
|
|
2051
|
-
src: (C =
|
|
2070
|
+
c("div", en, [
|
|
2071
|
+
(d(), $(n(V), {
|
|
2072
|
+
key: (T = m.player) == null ? void 0 : T.playerId,
|
|
2073
|
+
src: (C = m == null ? void 0 : m.player) == null ? void 0 : C.picture
|
|
2052
2074
|
}, null, 8, ["src"]))
|
|
2053
2075
|
])
|
|
2054
2076
|
]),
|
|
2055
|
-
x(
|
|
2056
|
-
data:
|
|
2077
|
+
x(Ki, {
|
|
2078
|
+
data: m,
|
|
2057
2079
|
"append-to": r.value
|
|
2058
2080
|
}, null, 8, ["data", "append-to"]),
|
|
2059
|
-
x(
|
|
2081
|
+
x(Vi, {
|
|
2060
2082
|
rows: w,
|
|
2061
2083
|
columns: L,
|
|
2062
|
-
"is-loading":
|
|
2084
|
+
"is-loading": f,
|
|
2063
2085
|
"append-to": r.value
|
|
2064
2086
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"]),
|
|
2065
|
-
|
|
2066
|
-
|
|
2087
|
+
c("div", tn, [
|
|
2088
|
+
c("button", {
|
|
2067
2089
|
type: "button",
|
|
2068
|
-
class: G(["tab-button", { "is-active":
|
|
2090
|
+
class: G(["tab-button", { "is-active": u === n(We) }]),
|
|
2069
2091
|
onClick: (H) => y(n(We))
|
|
2070
|
-
},
|
|
2071
|
-
|
|
2092
|
+
}, b(l("players.games")), 11, an),
|
|
2093
|
+
c("button", {
|
|
2072
2094
|
type: "button",
|
|
2073
|
-
class: G(["tab-button", { "is-active":
|
|
2074
|
-
onClick: (H) => y(n(
|
|
2075
|
-
},
|
|
2095
|
+
class: G(["tab-button", { "is-active": u === n(zt) }]),
|
|
2096
|
+
onClick: (H) => y(n(zt))
|
|
2097
|
+
}, b(l("players.seasons")), 11, rn)
|
|
2076
2098
|
]),
|
|
2077
|
-
|
|
2099
|
+
u === n(We) ? (d(), $(Ri, {
|
|
2078
2100
|
key: 0,
|
|
2079
|
-
rows:
|
|
2101
|
+
rows: g,
|
|
2080
2102
|
columns: N,
|
|
2081
2103
|
"is-loading": v,
|
|
2082
2104
|
"append-to": r.value,
|
|
2083
2105
|
"game-resolver": t.externalGameResolver
|
|
2084
2106
|
}, null, 8, ["rows", "columns", "is-loading", "append-to", "game-resolver"])) : I("", !0),
|
|
2085
|
-
|
|
2107
|
+
u === n(zt) ? (d(), $(Ui, {
|
|
2086
2108
|
key: 1,
|
|
2087
2109
|
rows: z,
|
|
2088
2110
|
columns: A,
|
|
2089
2111
|
"append-to": r.value
|
|
2090
2112
|
}, null, 8, ["rows", "columns", "append-to"])) : I("", !0),
|
|
2091
|
-
|
|
2113
|
+
c("div", {
|
|
2092
2114
|
ref_key: "tooltipContainer",
|
|
2093
2115
|
ref: r
|
|
2094
2116
|
}, null, 512)
|
|
@@ -2104,7 +2126,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2104
2126
|
}, 8, ["locale"])
|
|
2105
2127
|
]));
|
|
2106
2128
|
}
|
|
2107
|
-
},
|
|
2129
|
+
}, nn = /* @__PURE__ */ he(on, [["styles", [ve, Ke, Kt, er, qi, tr, Wi, Yi, Hi]]]), ln = { class: "is-portrait-image" }, sn = ["href", "textContent"], cn = ["href", "textContent"], dn = { class: "g-row" }, pn = ["onMouseenter", "onMouseleave", "onFocus", "onBlur"], ar = {
|
|
2108
2130
|
__name: "PlayersDataTable",
|
|
2109
2131
|
props: {
|
|
2110
2132
|
columns: {
|
|
@@ -2142,8 +2164,8 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2142
2164
|
},
|
|
2143
2165
|
emits: ["sort"],
|
|
2144
2166
|
setup(e, { emit: t }) {
|
|
2145
|
-
const a = e, r = t, { t: o } = Q(), { columns: i } = ee(a.columns), l = (
|
|
2146
|
-
return (
|
|
2167
|
+
const a = e, r = t, { t: o } = Q(), { columns: i } = ee(a.columns), l = (s) => r("sort", s);
|
|
2168
|
+
return (s, p) => (d(), $(n(ie), null, {
|
|
2147
2169
|
default: k(() => [
|
|
2148
2170
|
x(n(ce), {
|
|
2149
2171
|
columns: n(i),
|
|
@@ -2153,58 +2175,58 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2153
2175
|
sort: e.sort,
|
|
2154
2176
|
onSort: l
|
|
2155
2177
|
}, {
|
|
2156
|
-
"cell-playerPortrait": k(({ row:
|
|
2157
|
-
|
|
2158
|
-
(
|
|
2159
|
-
key:
|
|
2160
|
-
src:
|
|
2178
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
2179
|
+
c("div", ln, [
|
|
2180
|
+
(d(), $(n(V), {
|
|
2181
|
+
key: u.player.playerId,
|
|
2182
|
+
src: u.player.picture,
|
|
2161
2183
|
"default-src": n(Ir)
|
|
2162
2184
|
}, null, 8, ["src", "default-src"]))
|
|
2163
2185
|
])
|
|
2164
2186
|
]),
|
|
2165
|
-
"cell-name": k(({ row:
|
|
2166
|
-
|
|
2167
|
-
href: e.playerResolver({ ...
|
|
2168
|
-
textContent: u
|
|
2169
|
-
}, null, 8, ln)
|
|
2170
|
-
]),
|
|
2171
|
-
"cell-teamName": k(({ row: m }) => [
|
|
2172
|
-
s("a", {
|
|
2173
|
-
href: e.teamResolver({ ...m, championshipId: e.championshipId }),
|
|
2174
|
-
textContent: u(m.teamName)
|
|
2187
|
+
"cell-name": k(({ row: u }) => [
|
|
2188
|
+
c("a", {
|
|
2189
|
+
href: e.playerResolver({ ...u, championshipId: e.championshipId }),
|
|
2190
|
+
textContent: b(u.name)
|
|
2175
2191
|
}, null, 8, sn)
|
|
2176
2192
|
]),
|
|
2177
|
-
"cell-
|
|
2178
|
-
|
|
2179
|
-
|
|
2193
|
+
"cell-teamName": k(({ row: u }) => [
|
|
2194
|
+
c("a", {
|
|
2195
|
+
href: e.teamResolver({ ...u, championshipId: e.championshipId }),
|
|
2196
|
+
textContent: b(u.teamName)
|
|
2197
|
+
}, null, 8, cn)
|
|
2198
|
+
]),
|
|
2199
|
+
"cell-nationality": k(({ row: u }) => [
|
|
2200
|
+
c("div", dn, [
|
|
2201
|
+
(d(!0), h(O, null, U(u.nationalityCode, (v) => (d(), $(n(ha), {
|
|
2180
2202
|
key: v,
|
|
2181
2203
|
placement: "top",
|
|
2182
2204
|
content: n(o)(`nationality.${v}`),
|
|
2183
2205
|
"append-to": e.appendTo
|
|
2184
2206
|
}, {
|
|
2185
|
-
default: k(({ setRef:
|
|
2186
|
-
|
|
2207
|
+
default: k(({ setRef: f, show: m, hide: g }) => [
|
|
2208
|
+
c("div", {
|
|
2187
2209
|
ref_for: !0,
|
|
2188
|
-
ref:
|
|
2210
|
+
ref: f,
|
|
2189
2211
|
class: "is-rounded is-w-5",
|
|
2190
|
-
onMouseenter:
|
|
2191
|
-
onMouseleave:
|
|
2192
|
-
onFocus:
|
|
2193
|
-
onBlur:
|
|
2212
|
+
onMouseenter: m,
|
|
2213
|
+
onMouseleave: g,
|
|
2214
|
+
onFocus: m,
|
|
2215
|
+
onBlur: g
|
|
2194
2216
|
}, [
|
|
2195
2217
|
x(n(V), {
|
|
2196
2218
|
src: n(Ia)(v)
|
|
2197
2219
|
}, null, 8, ["src"])
|
|
2198
|
-
], 40,
|
|
2220
|
+
], 40, pn)
|
|
2199
2221
|
]),
|
|
2200
2222
|
_: 2
|
|
2201
2223
|
}, 1032, ["content", "append-to"]))), 128))
|
|
2202
2224
|
])
|
|
2203
2225
|
]),
|
|
2204
|
-
"cell-position": k(({ row:
|
|
2226
|
+
"cell-position": k(({ row: u }) => {
|
|
2205
2227
|
var v;
|
|
2206
2228
|
return [
|
|
2207
|
-
W(
|
|
2229
|
+
W(b((v = u.position) == null ? void 0 : v.toUpperCase()), 1)
|
|
2208
2230
|
];
|
|
2209
2231
|
}),
|
|
2210
2232
|
_: 1
|
|
@@ -2213,7 +2235,7 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2213
2235
|
_: 1
|
|
2214
2236
|
}));
|
|
2215
2237
|
}
|
|
2216
|
-
},
|
|
2238
|
+
}, gn = (e) => ae(Me(q("name")), me(ae(nt, rt)))(e), un = {
|
|
2217
2239
|
__name: "DataProvider",
|
|
2218
2240
|
props: {
|
|
2219
2241
|
championshipName: {
|
|
@@ -2239,10 +2261,10 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2239
2261
|
seasons: [],
|
|
2240
2262
|
championshipId: Number(a.championshipId) || 0,
|
|
2241
2263
|
query: ""
|
|
2242
|
-
}), { onError: o } = ge(), { page: i, change: l } = wa(), { sort:
|
|
2264
|
+
}), { onError: o } = ge(), { page: i, change: l } = wa(), { sort: s, change: p } = At({
|
|
2243
2265
|
sortTarget: "",
|
|
2244
2266
|
orders: []
|
|
2245
|
-
}), { isLoading:
|
|
2267
|
+
}), { isLoading: u, execute: v } = D({
|
|
2246
2268
|
options: {
|
|
2247
2269
|
path: "/v2/championship-seasons",
|
|
2248
2270
|
apiKey: t.apiKey,
|
|
@@ -2251,9 +2273,9 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2251
2273
|
transform: (y) => vt(y, r),
|
|
2252
2274
|
onError: o
|
|
2253
2275
|
}), {
|
|
2254
|
-
isLoading:
|
|
2255
|
-
state:
|
|
2256
|
-
execute:
|
|
2276
|
+
isLoading: f,
|
|
2277
|
+
state: m,
|
|
2278
|
+
execute: g
|
|
2257
2279
|
} = D({
|
|
2258
2280
|
options: {
|
|
2259
2281
|
path: "/v2/championship-players",
|
|
@@ -2262,15 +2284,15 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2262
2284
|
championshipId: r.championshipId
|
|
2263
2285
|
}))
|
|
2264
2286
|
},
|
|
2265
|
-
transform: (y) =>
|
|
2287
|
+
transform: (y) => gn(y),
|
|
2266
2288
|
onError: o
|
|
2267
|
-
}), z =
|
|
2268
|
-
te([v,
|
|
2289
|
+
}), z = Lt([u, f], { delay: 1e3 });
|
|
2290
|
+
te([v, g]);
|
|
2269
2291
|
const w = _(
|
|
2270
|
-
() =>
|
|
2292
|
+
() => Oe(m.value).sorted(s).filter(r.query, [["name"]]).pagination(i.value, t.limit).value()
|
|
2271
2293
|
), N = _(() => [(i.value - 1) * t.limit + 1, Math.min(i.value * t.limit, w.value.totalItems)]);
|
|
2272
2294
|
function A(y) {
|
|
2273
|
-
l(1), r.championshipId = y, a.championshipId = y, r.query = "", a.query = null, te([
|
|
2295
|
+
l(1), r.championshipId = y, a.championshipId = y, r.query = "", a.query = null, te([g]);
|
|
2274
2296
|
}
|
|
2275
2297
|
function L(y) {
|
|
2276
2298
|
const { value: S } = y.target;
|
|
@@ -2278,21 +2300,21 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2278
2300
|
}
|
|
2279
2301
|
return (y, S) => xe(y.$slots, "default", ke(_e({
|
|
2280
2302
|
...r,
|
|
2281
|
-
sort: n(
|
|
2303
|
+
sort: n(s),
|
|
2282
2304
|
page: n(i),
|
|
2283
2305
|
range: N.value,
|
|
2284
2306
|
isLoading: n(z),
|
|
2285
2307
|
players: w.value,
|
|
2286
|
-
onSort: n(
|
|
2308
|
+
onSort: n(p),
|
|
2287
2309
|
onInput: L,
|
|
2288
2310
|
changeSeason: A,
|
|
2289
2311
|
onPaginatorChange: n(l)
|
|
2290
2312
|
})));
|
|
2291
2313
|
}
|
|
2292
|
-
}, Kt = ".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}", un = ".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}", Ut = ".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%}", bn = {
|
|
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 = {
|
|
2293
2315
|
for: "player",
|
|
2294
2316
|
class: "label"
|
|
2295
|
-
},
|
|
2317
|
+
}, vn = ["value", "onInput"], hn = { style: { display: "flex", "justify-content": "space-between", "align-items": "center" } }, fn = { key: 0 }, yn = {
|
|
2296
2318
|
__name: "Players.ce",
|
|
2297
2319
|
props: {
|
|
2298
2320
|
locale: {
|
|
@@ -2321,29 +2343,29 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2321
2343
|
}
|
|
2322
2344
|
},
|
|
2323
2345
|
setup(e) {
|
|
2324
|
-
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) =>
|
|
2325
|
-
return (l,
|
|
2346
|
+
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => Ot(t.externalPlayerResolver, l), i = (l) => lt(t.externalTeamResolver, l);
|
|
2347
|
+
return (l, s) => (d(), h("div", null, [
|
|
2326
2348
|
x(n(pe), {
|
|
2327
2349
|
locale: t.locale,
|
|
2328
2350
|
messages: a
|
|
2329
2351
|
}, {
|
|
2330
|
-
default: k(({ t:
|
|
2352
|
+
default: k(({ t: p }) => [
|
|
2331
2353
|
x(n(ze), null, {
|
|
2332
|
-
default: k(({ error:
|
|
2333
|
-
v ? (
|
|
2354
|
+
default: k(({ error: u, hasError: v }) => [
|
|
2355
|
+
v ? (d(), $(n(Se), {
|
|
2334
2356
|
key: 0,
|
|
2335
|
-
error:
|
|
2357
|
+
error: u
|
|
2336
2358
|
}, null, 8, ["error"])) : I("", !0),
|
|
2337
|
-
x(
|
|
2359
|
+
x(un, {
|
|
2338
2360
|
"api-key": t.apiKey,
|
|
2339
2361
|
locale: e.locale,
|
|
2340
2362
|
"championship-name": e.championshipName,
|
|
2341
2363
|
limit: e.limit
|
|
2342
2364
|
}, {
|
|
2343
2365
|
default: k(({
|
|
2344
|
-
range:
|
|
2345
|
-
players:
|
|
2346
|
-
seasons:
|
|
2366
|
+
range: f,
|
|
2367
|
+
players: m,
|
|
2368
|
+
seasons: g,
|
|
2347
2369
|
isLoading: z,
|
|
2348
2370
|
championshipId: w,
|
|
2349
2371
|
page: N,
|
|
@@ -2355,28 +2377,28 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2355
2377
|
onInput: C
|
|
2356
2378
|
}) => [
|
|
2357
2379
|
x(n(fa), {
|
|
2358
|
-
seasons:
|
|
2380
|
+
seasons: g,
|
|
2359
2381
|
"championship-id": w,
|
|
2360
2382
|
"is-section-selection-disabled": "",
|
|
2361
2383
|
onOnChangeSeason: L
|
|
2362
2384
|
}, {
|
|
2363
2385
|
default: k(() => [
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2386
|
+
c("div", null, [
|
|
2387
|
+
c("label", mn, b(p("selection.filterName")), 1),
|
|
2388
|
+
c("input", {
|
|
2367
2389
|
id: "player",
|
|
2368
2390
|
type: "text",
|
|
2369
2391
|
class: "base-input",
|
|
2370
2392
|
value: A,
|
|
2371
2393
|
onInput: C
|
|
2372
|
-
}, null, 40,
|
|
2394
|
+
}, null, 40, vn)
|
|
2373
2395
|
])
|
|
2374
2396
|
]),
|
|
2375
2397
|
_: 2
|
|
2376
2398
|
}, 1032, ["seasons", "championship-id", "onOnChangeSeason"]),
|
|
2377
2399
|
x(ar, {
|
|
2378
2400
|
columns: n(Qa),
|
|
2379
|
-
rows:
|
|
2401
|
+
rows: m.rows,
|
|
2380
2402
|
"append-to": r.value,
|
|
2381
2403
|
sort: y,
|
|
2382
2404
|
"is-loading": z,
|
|
@@ -2385,17 +2407,17 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2385
2407
|
"team-resolver": i,
|
|
2386
2408
|
onSort: S
|
|
2387
2409
|
}, null, 8, ["columns", "rows", "append-to", "sort", "is-loading", "championship-id", "onSort"]),
|
|
2388
|
-
|
|
2410
|
+
c("div", hn, [
|
|
2389
2411
|
x(n(ya), {
|
|
2390
2412
|
page: N,
|
|
2391
2413
|
"items-per-page": t.limit,
|
|
2392
|
-
"total-items":
|
|
2414
|
+
"total-items": m.totalItems,
|
|
2393
2415
|
"range-length": 5,
|
|
2394
2416
|
onChange: T
|
|
2395
2417
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2396
|
-
|
|
2418
|
+
m.totalItems > 0 ? (d(), h("div", fn, b(f.join("-")) + " / " + b(m.totalItems), 1)) : I("", !0)
|
|
2397
2419
|
]),
|
|
2398
|
-
|
|
2420
|
+
c("div", {
|
|
2399
2421
|
ref_key: "tooltipContainer",
|
|
2400
2422
|
ref: r
|
|
2401
2423
|
}, null, 512)
|
|
@@ -2410,19 +2432,19 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2410
2432
|
}, 8, ["locale"])
|
|
2411
2433
|
]));
|
|
2412
2434
|
}
|
|
2413
|
-
},
|
|
2435
|
+
}, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt, rr, or, ir]]]), xn = ".playoffs .table-grid{display:grid;grid-template-columns:60px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 70px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:visible;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.playoffs .table-grid .label:not(:last-of-type){margin-right:3px}.playoffs .table-grid .is-team-name-long{display:block}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100);background-color:var(--vbr-widget-primary-color-700)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-primary-color-50)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}", kn = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", nr = '.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)}', _n = { class: "playoffs" }, zn = { class: "section-title" }, Sn = { class: "section-details" }, Tn = { class: "is-team-name is-right" }, In = { class: "is-result" }, Pn = { class: "is-team-name" }, Nn = { class: "is-text-right is-text-bold" }, $n = { class: "is-team-name-long" }, An = { class: "is-team-name-short" }, Ln = { class: "is-text-center" }, Cn = {
|
|
2414
2436
|
key: 0,
|
|
2415
2437
|
class: "is-text-dark"
|
|
2416
|
-
},
|
|
2438
|
+
}, En = ["href"], On = {
|
|
2417
2439
|
key: 0,
|
|
2418
2440
|
class: "label"
|
|
2419
|
-
},
|
|
2441
|
+
}, jn = {
|
|
2420
2442
|
key: 1,
|
|
2421
2443
|
class: "label"
|
|
2422
|
-
},
|
|
2444
|
+
}, Rn = {
|
|
2423
2445
|
key: 2,
|
|
2424
2446
|
class: "label"
|
|
2425
|
-
},
|
|
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 = {
|
|
2426
2448
|
__name: "Playoffs.ce",
|
|
2427
2449
|
props: {
|
|
2428
2450
|
locale: {
|
|
@@ -2448,72 +2470,72 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2448
2470
|
});
|
|
2449
2471
|
r();
|
|
2450
2472
|
const o = ot(), i = { en: ue, hu: be };
|
|
2451
|
-
function l(
|
|
2452
|
-
return it(t.externalGameLink ||
|
|
2473
|
+
function l(u) {
|
|
2474
|
+
return it(t.externalGameLink || Kn, u);
|
|
2453
2475
|
}
|
|
2454
|
-
const
|
|
2455
|
-
return (
|
|
2476
|
+
const s = (u) => et(u, "L dddd", o, t.locale), p = (u) => et(u, "HH:mm", o, t.locale);
|
|
2477
|
+
return (u, v) => (d(), h("div", _n, [
|
|
2456
2478
|
x(n(pe), {
|
|
2457
2479
|
locale: t.locale,
|
|
2458
2480
|
messages: i
|
|
2459
2481
|
}, {
|
|
2460
|
-
default: k(({ t:
|
|
2461
|
-
(
|
|
2462
|
-
var
|
|
2463
|
-
return
|
|
2464
|
-
key: `${
|
|
2482
|
+
default: k(({ t: f }) => [
|
|
2483
|
+
(d(!0), h(O, null, U(n(a), (m) => {
|
|
2484
|
+
var g, z;
|
|
2485
|
+
return d(), h("div", {
|
|
2486
|
+
key: `${m.divisionStage2Name}-${m.divisionStageNumber}`
|
|
2465
2487
|
}, [
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2488
|
+
c("div", zn, b(f(`playoffs.${m.divisionStage2Name}`)) + "-" + b(m.divisionStageNumber), 1),
|
|
2489
|
+
c("div", Sn, [
|
|
2490
|
+
c("div", Tn, b((g = m.homeTeam) == null ? void 0 : g.longName), 1),
|
|
2491
|
+
c("div", null, [
|
|
2470
2492
|
x(n(V), {
|
|
2471
2493
|
class: "is-logo-image",
|
|
2472
|
-
src:
|
|
2494
|
+
src: m.homeTeam.logo
|
|
2473
2495
|
}, null, 8, ["src"])
|
|
2474
2496
|
]),
|
|
2475
|
-
|
|
2476
|
-
|
|
2497
|
+
c("div", In, b(m.seriesStandings), 1),
|
|
2498
|
+
c("div", null, [
|
|
2477
2499
|
x(n(V), {
|
|
2478
2500
|
class: "is-logo-image",
|
|
2479
|
-
src:
|
|
2501
|
+
src: m.awayTeam.logo
|
|
2480
2502
|
}, null, 8, ["src"])
|
|
2481
2503
|
]),
|
|
2482
|
-
|
|
2504
|
+
c("div", Pn, b((z = m.awayTeam) == null ? void 0 : z.longName), 1)
|
|
2483
2505
|
]),
|
|
2484
2506
|
x(n(ie), null, {
|
|
2485
2507
|
default: k(() => [
|
|
2486
|
-
(
|
|
2508
|
+
(d(!0), h(O, null, U(m.games, (w) => {
|
|
2487
2509
|
var N, A, L, y, S;
|
|
2488
|
-
return
|
|
2510
|
+
return d(), h("div", {
|
|
2489
2511
|
key: w.id,
|
|
2490
2512
|
class: G(["table-grid", { "is-optional": w.optional }])
|
|
2491
2513
|
}, [
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2514
|
+
c("div", null, b(w.gameName), 1),
|
|
2515
|
+
c("div", null, b(s(w.gameDate)), 1),
|
|
2516
|
+
c("div", null, b(p(w.gameDate)), 1),
|
|
2517
|
+
c("div", Nn, [
|
|
2518
|
+
c("span", $n, b((N = w.homeTeam) == null ? void 0 : N.longName), 1),
|
|
2519
|
+
c("span", An, b((A = w.homeTeam) == null ? void 0 : A.shortName), 1)
|
|
2498
2520
|
]),
|
|
2499
|
-
|
|
2500
|
-
w.gameStatus === 0 ? (
|
|
2521
|
+
c("div", Ln, [
|
|
2522
|
+
w.gameStatus === 0 ? (d(), h("span", Cn, "-:-")) : (d(), h("a", {
|
|
2501
2523
|
key: 1,
|
|
2502
2524
|
href: l(w),
|
|
2503
2525
|
target: "_blank",
|
|
2504
2526
|
class: G(["is-text-bold", [{ "is-text-dark": w.gameStatus !== 1, "is-text-accent": w.gameStatus === 1 }]])
|
|
2505
|
-
},
|
|
2527
|
+
}, b(w.homeTeamScore) + ":" + b(w.awayTeamScore), 11, En))
|
|
2506
2528
|
]),
|
|
2507
|
-
|
|
2508
|
-
w.isOvertime ? (
|
|
2509
|
-
w.isShootout ? (
|
|
2510
|
-
w.seriesStandings ? (
|
|
2529
|
+
c("div", null, [
|
|
2530
|
+
w.isOvertime ? (d(), h("span", On, b(f("common.overtimeShort")), 1)) : I("", !0),
|
|
2531
|
+
w.isShootout ? (d(), h("span", jn, b(f("common.shootoutShort")), 1)) : I("", !0),
|
|
2532
|
+
w.seriesStandings ? (d(), h("span", Rn, b(w.seriesStandings), 1)) : I("", !0)
|
|
2511
2533
|
]),
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2534
|
+
c("div", Fn, [
|
|
2535
|
+
c("span", Gn, b((L = w.awayTeam) == null ? void 0 : L.longName), 1),
|
|
2536
|
+
c("span", Mn, b((y = w.awayTeam) == null ? void 0 : y.shortName), 1)
|
|
2515
2537
|
]),
|
|
2516
|
-
|
|
2538
|
+
c("div", Dn, b(((S = w.location) == null ? void 0 : S.locationName) ?? ""), 1)
|
|
2517
2539
|
], 2);
|
|
2518
2540
|
}), 128))
|
|
2519
2541
|
]),
|
|
@@ -2526,33 +2548,33 @@ const Si = "/v2/player-season-stats", Ti = "/v2/goalie-season-stats", Ii = "/v2/
|
|
|
2526
2548
|
}, 8, ["locale"])
|
|
2527
2549
|
]));
|
|
2528
2550
|
}
|
|
2529
|
-
},
|
|
2530
|
-
function
|
|
2551
|
+
}, Bn = /* @__PURE__ */ he(Un, [["styles", [ve, xn, kn, nr]]]);
|
|
2552
|
+
function Vn(e = [], t = "hu", a = tt) {
|
|
2531
2553
|
const r = K([]), o = K(null), i = K([]), l = () => {
|
|
2532
|
-
i.value = e.value.reduce((
|
|
2533
|
-
var
|
|
2534
|
-
const v = new Date(
|
|
2535
|
-
return
|
|
2554
|
+
i.value = e.value.reduce((p, u) => {
|
|
2555
|
+
var g;
|
|
2556
|
+
const v = new Date(u.gameDate), f = (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);
|
|
2557
|
+
return p[f] || (p[f] = { value: v.getMonth(), name: qn(m) }), p;
|
|
2536
2558
|
}, {}), r.value = Object.values(i.value);
|
|
2537
|
-
},
|
|
2538
|
-
var
|
|
2539
|
-
const
|
|
2540
|
-
o.value = v &&
|
|
2559
|
+
}, s = () => {
|
|
2560
|
+
var f, m, g, z;
|
|
2561
|
+
const p = _r(/* @__PURE__ */ new Date(), (f = fe(e.value)) == null ? void 0 : f.gameDate, (m = qa(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);
|
|
2562
|
+
o.value = v && p ? (/* @__PURE__ */ new Date()).getMonth() : (z = fe(r.value)) == null ? void 0 : z.value, a(o.value);
|
|
2541
2563
|
};
|
|
2542
|
-
return se([e, t], l),
|
|
2543
|
-
l(),
|
|
2564
|
+
return se([e, t], l), po(e, () => {
|
|
2565
|
+
l(), s();
|
|
2544
2566
|
}), {
|
|
2545
2567
|
months: r,
|
|
2546
2568
|
selectedMonth: o
|
|
2547
2569
|
};
|
|
2548
2570
|
}
|
|
2549
|
-
function
|
|
2571
|
+
function qn(e) {
|
|
2550
2572
|
return e[0].toUpperCase() + e.slice(1);
|
|
2551
2573
|
}
|
|
2552
|
-
function
|
|
2553
|
-
return Me(({ name: a }) =>
|
|
2574
|
+
function Wn(e) {
|
|
2575
|
+
return Me(({ name: a }) => ti(a, ["Negyeddöntő", "Elődöntő", "Döntő"]))(e);
|
|
2554
2576
|
}
|
|
2555
|
-
const
|
|
2577
|
+
const Yn = {
|
|
2556
2578
|
__name: "DataProvider",
|
|
2557
2579
|
props: {
|
|
2558
2580
|
championshipName: {
|
|
@@ -2609,7 +2631,7 @@ const Wn = {
|
|
|
2609
2631
|
selectedMonth: Number(a.selectedMonth) ?? null,
|
|
2610
2632
|
selectedTeam: Number(a.selectedTeam) || null,
|
|
2611
2633
|
selectedTeamGameType: a.selectedTeamGameType || "all"
|
|
2612
|
-
}), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate:
|
|
2634
|
+
}), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError: p } = ge(), u = _(() => {
|
|
2613
2635
|
switch (r.selectedTeamGameType) {
|
|
2614
2636
|
case "all":
|
|
2615
2637
|
return [
|
|
@@ -2621,30 +2643,30 @@ const Wn = {
|
|
|
2621
2643
|
default:
|
|
2622
2644
|
return [["awayTeam", "id"]];
|
|
2623
2645
|
}
|
|
2624
|
-
}), { isLoading: v, execute:
|
|
2646
|
+
}), { isLoading: v, execute: f } = D({
|
|
2625
2647
|
options: {
|
|
2626
2648
|
path: "/v2/championship-seasons",
|
|
2627
2649
|
apiKey: t.apiKey,
|
|
2628
2650
|
params: { championshipName: r.championshipName }
|
|
2629
2651
|
},
|
|
2630
2652
|
transform: (E) => vt(E, r),
|
|
2631
|
-
onError:
|
|
2632
|
-
}), { isLoading:
|
|
2653
|
+
onError: p
|
|
2654
|
+
}), { isLoading: m, execute: g } = D({
|
|
2633
2655
|
options: {
|
|
2634
2656
|
path: "/v2/championship-phases",
|
|
2635
2657
|
apiKey: t.apiKey,
|
|
2636
2658
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
2637
2659
|
},
|
|
2638
|
-
transform: (E) =>
|
|
2639
|
-
onError:
|
|
2660
|
+
transform: (E) => fi(E, r),
|
|
2661
|
+
onError: p
|
|
2640
2662
|
}), { isLoading: z, execute: w } = D({
|
|
2641
2663
|
options: {
|
|
2642
2664
|
path: "/v2/championship-teams",
|
|
2643
2665
|
apiKey: t.apiKey,
|
|
2644
2666
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
2645
2667
|
},
|
|
2646
|
-
transform: (E) =>
|
|
2647
|
-
onError:
|
|
2668
|
+
transform: (E) => yi(E, r),
|
|
2669
|
+
onError: p
|
|
2648
2670
|
}), {
|
|
2649
2671
|
isLoading: N,
|
|
2650
2672
|
state: A,
|
|
@@ -2655,28 +2677,28 @@ const Wn = {
|
|
|
2655
2677
|
apiKey: t.apiKey,
|
|
2656
2678
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
2657
2679
|
},
|
|
2658
|
-
transform: (E) =>
|
|
2659
|
-
onError:
|
|
2660
|
-
}), y =
|
|
2680
|
+
transform: (E) => Ct(E),
|
|
2681
|
+
onError: p
|
|
2682
|
+
}), y = Lt([m, v, z, N], { delay: 1e3 }), { months: S } = Vn(A, ur(t, "locale"), (E) => {
|
|
2661
2683
|
r.selectedMonth = Number(a.selectedMonth) || E;
|
|
2662
2684
|
});
|
|
2663
|
-
wr({ items: A, element: i, offset: l, enabled:
|
|
2664
|
-
const { pause: T, resume: C } =
|
|
2685
|
+
wr({ items: A, element: i, offset: l, enabled: s });
|
|
2686
|
+
const { pause: T, resume: C } = bo(L, Xt, { immediate: !1 });
|
|
2665
2687
|
xr(t.autoRefresh, C, T);
|
|
2666
|
-
const H = _(() =>
|
|
2688
|
+
const H = _(() => Oe(n(A)).filter(r.selectedTeam, u.value, !0).schedule(n(o), n(t.locale)).filter(r.subPhase, [["divisionStage2Name"]], !0).gameDateFilter(n(r.selectedMonth)).groupByDays().value()), j = _(() => {
|
|
2667
2689
|
const E = r.sections.find((Ue) => Ue.name === r.section);
|
|
2668
|
-
return
|
|
2690
|
+
return Wn((E == null ? void 0 : E.phases) ?? []);
|
|
2669
2691
|
});
|
|
2670
|
-
te([
|
|
2692
|
+
te([f, g, w, L], {
|
|
2671
2693
|
onFinished: () => {
|
|
2672
|
-
t.autoRefresh && Na(C,
|
|
2694
|
+
t.autoRefresh && Na(C, Xt);
|
|
2673
2695
|
}
|
|
2674
2696
|
});
|
|
2675
2697
|
function ne(E) {
|
|
2676
|
-
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([
|
|
2698
|
+
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, w, L]), t.autoRefresh && C(), Ht();
|
|
2677
2699
|
}
|
|
2678
2700
|
function P(E) {
|
|
2679
|
-
r.selectedMonth = E, a.selectedMonth = E,
|
|
2701
|
+
r.selectedMonth = E, a.selectedMonth = E, Ht();
|
|
2680
2702
|
}
|
|
2681
2703
|
function le(E) {
|
|
2682
2704
|
r.section = E, a.section = E, r.selectedMonth = null, a.selectedMonth = null, r.subPhase = "", L();
|
|
@@ -2704,7 +2726,7 @@ const Wn = {
|
|
|
2704
2726
|
changeSubSection: ht
|
|
2705
2727
|
})));
|
|
2706
2728
|
}
|
|
2707
|
-
},
|
|
2729
|
+
}, Hn = {
|
|
2708
2730
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2709
2731
|
viewBox: "0 0 24 24",
|
|
2710
2732
|
fill: "none",
|
|
@@ -2713,9 +2735,9 @@ const Wn = {
|
|
|
2713
2735
|
"stroke-linecap": "round",
|
|
2714
2736
|
"stroke-linejoin": "round"
|
|
2715
2737
|
};
|
|
2716
|
-
function
|
|
2717
|
-
return
|
|
2718
|
-
|
|
2738
|
+
function Jn(e, t) {
|
|
2739
|
+
return d(), h("svg", Hn, t[0] || (t[0] = [
|
|
2740
|
+
c("rect", {
|
|
2719
2741
|
x: "2",
|
|
2720
2742
|
y: "3",
|
|
2721
2743
|
width: "20",
|
|
@@ -2723,13 +2745,13 @@ function Hn(e, t) {
|
|
|
2723
2745
|
rx: "2",
|
|
2724
2746
|
ry: "2"
|
|
2725
2747
|
}, null, -1),
|
|
2726
|
-
|
|
2748
|
+
c("line", {
|
|
2727
2749
|
x1: "8",
|
|
2728
2750
|
y1: "21",
|
|
2729
2751
|
x2: "16",
|
|
2730
2752
|
y2: "21"
|
|
2731
2753
|
}, null, -1),
|
|
2732
|
-
|
|
2754
|
+
c("line", {
|
|
2733
2755
|
x1: "12",
|
|
2734
2756
|
y1: "17",
|
|
2735
2757
|
x2: "12",
|
|
@@ -2737,7 +2759,7 @@ function Hn(e, t) {
|
|
|
2737
2759
|
}, null, -1)
|
|
2738
2760
|
]));
|
|
2739
2761
|
}
|
|
2740
|
-
const
|
|
2762
|
+
const Xn = { render: Jn }, Qn = {
|
|
2741
2763
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2742
2764
|
viewBox: "0 0 24 24",
|
|
2743
2765
|
fill: "none",
|
|
@@ -2746,37 +2768,37 @@ const Jn = { render: Hn }, Xn = {
|
|
|
2746
2768
|
"stroke-linecap": "round",
|
|
2747
2769
|
"stroke-linejoin": "round"
|
|
2748
2770
|
};
|
|
2749
|
-
function
|
|
2750
|
-
return
|
|
2751
|
-
|
|
2752
|
-
|
|
2771
|
+
function Zn(e, t) {
|
|
2772
|
+
return d(), h("svg", Qn, t[0] || (t[0] = [
|
|
2773
|
+
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),
|
|
2774
|
+
c("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
2753
2775
|
]));
|
|
2754
2776
|
}
|
|
2755
|
-
const
|
|
2777
|
+
const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"], rl = { class: "is-home-team is-text-base" }, ol = { class: "is-team-name-short" }, il = { class: "is-team-name-long" }, nl = { class: "g-row" }, ll = {
|
|
2756
2778
|
key: 0,
|
|
2757
2779
|
class: "is-badge is-invert"
|
|
2758
|
-
},
|
|
2780
|
+
}, sl = {
|
|
2759
2781
|
key: 1,
|
|
2760
2782
|
class: "is-badge is-invert"
|
|
2761
|
-
},
|
|
2783
|
+
}, cl = {
|
|
2762
2784
|
key: 2,
|
|
2763
2785
|
class: "is-badge"
|
|
2764
|
-
},
|
|
2786
|
+
}, dl = ["href", "target"], pl = {
|
|
2765
2787
|
key: 0,
|
|
2766
2788
|
class: "is-text-xl is-text-bold"
|
|
2767
|
-
},
|
|
2789
|
+
}, gl = {
|
|
2768
2790
|
key: 1,
|
|
2769
2791
|
class: "is-text-xl is-text-bold"
|
|
2770
|
-
},
|
|
2792
|
+
}, ul = {
|
|
2771
2793
|
key: 2,
|
|
2772
2794
|
class: "is-text-xl is-text-bold"
|
|
2773
|
-
},
|
|
2795
|
+
}, bl = { key: 3 }, ml = {
|
|
2774
2796
|
key: 0,
|
|
2775
2797
|
class: "is-text-xs is-opacity-40"
|
|
2776
|
-
},
|
|
2798
|
+
}, vl = { class: "is-text-sm is-whitespace-nowrap" }, hl = {
|
|
2777
2799
|
key: 0,
|
|
2778
2800
|
class: "is-text-xs is-uppercase is-whitespace-nowrap"
|
|
2779
|
-
},
|
|
2801
|
+
}, fl = { class: "is-away-team is-text-base" }, yl = { class: "is-team-name-short" }, wl = { class: "is-team-name-long" }, xl = {
|
|
2780
2802
|
__name: "Item",
|
|
2781
2803
|
props: {
|
|
2782
2804
|
game: {
|
|
@@ -2789,7 +2811,7 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
2789
2811
|
},
|
|
2790
2812
|
gameLink: {
|
|
2791
2813
|
type: Function,
|
|
2792
|
-
default:
|
|
2814
|
+
default: tt
|
|
2793
2815
|
},
|
|
2794
2816
|
target: {
|
|
2795
2817
|
type: String,
|
|
@@ -2798,85 +2820,85 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
2798
2820
|
},
|
|
2799
2821
|
setup(e) {
|
|
2800
2822
|
const { t } = Q();
|
|
2801
|
-
return (a, r) => (
|
|
2823
|
+
return (a, r) => (d(), h("div", {
|
|
2802
2824
|
class: G(["card-item", { "is-optional": e.game.optional }])
|
|
2803
2825
|
}, [
|
|
2804
|
-
|
|
2805
|
-
W(
|
|
2806
|
-
e.game.broadcast ? (
|
|
2826
|
+
c("div", tl, [
|
|
2827
|
+
W(b(e.game.gameName) + " - " + b(e.game.divisionName) + " - " + b(e.game.location.locationName) + " ", 1),
|
|
2828
|
+
e.game.broadcast ? (d(), h(O, { key: 0 }, [
|
|
2807
2829
|
r[0] || (r[0] = W(" - ")),
|
|
2808
|
-
x(n(
|
|
2830
|
+
x(n(Xn), { height: "16" }),
|
|
2809
2831
|
r[1] || (r[1] = W(" "))
|
|
2810
2832
|
], 64)) : I("", !0),
|
|
2811
|
-
e.game.video ? (
|
|
2833
|
+
e.game.video ? (d(), h(O, { key: 1 }, [
|
|
2812
2834
|
r[2] || (r[2] = W(" - ")),
|
|
2813
|
-
|
|
2835
|
+
c("a", {
|
|
2814
2836
|
href: e.game.video,
|
|
2815
2837
|
target: "_blank"
|
|
2816
2838
|
}, [
|
|
2817
|
-
x(n(
|
|
2818
|
-
], 8,
|
|
2839
|
+
x(n(el), { height: "18" })
|
|
2840
|
+
], 8, al)
|
|
2819
2841
|
], 64)) : I("", !0)
|
|
2820
2842
|
]),
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
(
|
|
2843
|
+
c("div", rl, [
|
|
2844
|
+
c("span", ol, b(e.game.homeTeam.shortName), 1),
|
|
2845
|
+
c("span", il, b(e.game.homeTeam.longName), 1),
|
|
2846
|
+
(d(), $(n(V), {
|
|
2825
2847
|
key: e.game.homeTeam.id,
|
|
2826
2848
|
class: "is-logo-image",
|
|
2827
2849
|
src: e.game.homeTeam.logo
|
|
2828
2850
|
}, null, 8, ["src"]))
|
|
2829
2851
|
]),
|
|
2830
|
-
|
|
2852
|
+
c("div", {
|
|
2831
2853
|
class: G(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
2832
2854
|
}, [
|
|
2833
|
-
|
|
2834
|
-
e.game.isOvertime ? (
|
|
2835
|
-
e.game.isShootout ? (
|
|
2836
|
-
e.game.seriesStandings ? (
|
|
2855
|
+
c("div", nl, [
|
|
2856
|
+
e.game.isOvertime ? (d(), h("span", ll, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
|
|
2857
|
+
e.game.isShootout ? (d(), h("span", sl, b(n(t)("common.shootoutShort")), 1)) : I("", !0),
|
|
2858
|
+
e.game.seriesStandings ? (d(), h("span", cl, b(e.game.seriesStandings), 1)) : I("", !0)
|
|
2837
2859
|
]),
|
|
2838
|
-
|
|
2860
|
+
c("a", {
|
|
2839
2861
|
href: e.gameLink(e.game),
|
|
2840
2862
|
target: e.target
|
|
2841
2863
|
}, [
|
|
2842
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (
|
|
2843
|
-
e.game.gameStatus === 3 ? (
|
|
2844
|
-
e.game.gameStatus === 4 ? (
|
|
2845
|
-
e.game.gameStatus === 0 ? (
|
|
2846
|
-
], 8,
|
|
2847
|
-
e.game.gameStatus === 0 ? (
|
|
2848
|
-
e.game.gameStatus > 0 ? (
|
|
2849
|
-
|
|
2850
|
-
e.game.gameStatus !== 2 ? (
|
|
2864
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (d(), h("span", pl, b(e.game.homeTeamScore) + " - " + b(e.game.awayTeamScore), 1)) : I("", !0),
|
|
2865
|
+
e.game.gameStatus === 3 ? (d(), h("span", gl, b(n(t)("game.status.jury")), 1)) : I("", !0),
|
|
2866
|
+
e.game.gameStatus === 4 ? (d(), h("span", ul, b(n(t)("game.status.delayed")), 1)) : I("", !0),
|
|
2867
|
+
e.game.gameStatus === 0 ? (d(), h("span", bl, b(e.game.gameDateTime), 1)) : I("", !0)
|
|
2868
|
+
], 8, dl),
|
|
2869
|
+
e.game.gameStatus === 0 ? (d(), h("span", ml, "(" + b(e.offsetName) + ")", 1)) : I("", !0),
|
|
2870
|
+
e.game.gameStatus > 0 ? (d(), h(O, { key: 1 }, [
|
|
2871
|
+
c("div", vl, b(e.game.periodResults), 1),
|
|
2872
|
+
e.game.gameStatus !== 2 ? (d(), h("div", hl, b(n(t)(`game.period.${e.game.period}`)), 1)) : I("", !0)
|
|
2851
2873
|
], 64)) : I("", !0)
|
|
2852
2874
|
], 2),
|
|
2853
|
-
|
|
2854
|
-
(
|
|
2875
|
+
c("div", fl, [
|
|
2876
|
+
(d(), $(n(V), {
|
|
2855
2877
|
key: e.game.awayTeam.id,
|
|
2856
2878
|
class: "is-logo-image",
|
|
2857
2879
|
src: e.game.awayTeam.logo
|
|
2858
2880
|
}, null, 8, ["src"])),
|
|
2859
|
-
|
|
2860
|
-
|
|
2881
|
+
c("span", yl, b(e.game.awayTeam.shortName), 1),
|
|
2882
|
+
c("span", wl, b(e.game.awayTeam.longName), 1)
|
|
2861
2883
|
])
|
|
2862
2884
|
], 2));
|
|
2863
2885
|
}
|
|
2864
|
-
},
|
|
2886
|
+
}, kl = {
|
|
2865
2887
|
class: "g-grid",
|
|
2866
2888
|
style: { "column-gap": "8px", "padding-block": "15px", "--columns-tablet": "repeat(4, max-content)" }
|
|
2867
|
-
},
|
|
2889
|
+
}, _l = {
|
|
2868
2890
|
for: "season",
|
|
2869
2891
|
class: "label"
|
|
2870
|
-
},
|
|
2892
|
+
}, zl = ["value"], Sl = {
|
|
2871
2893
|
for: "months",
|
|
2872
2894
|
class: "label"
|
|
2873
|
-
},
|
|
2895
|
+
}, Tl = { value: null }, Il = ["value"], Pl = {
|
|
2874
2896
|
for: "teams",
|
|
2875
2897
|
class: "label"
|
|
2876
|
-
},
|
|
2898
|
+
}, Nl = { value: null }, $l = ["value"], Al = {
|
|
2877
2899
|
for: "type",
|
|
2878
2900
|
class: "label"
|
|
2879
|
-
},
|
|
2901
|
+
}, Ll = { value: "all" }, Cl = { value: "home" }, El = { value: "away" }, Ol = {
|
|
2880
2902
|
__name: "ScheduleSelector",
|
|
2881
2903
|
props: {
|
|
2882
2904
|
seasons: {
|
|
@@ -2915,80 +2937,80 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
2915
2937
|
"update:selectedTeamGameType"
|
|
2916
2938
|
],
|
|
2917
2939
|
setup(e, { emit: t }) {
|
|
2918
|
-
const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam:
|
|
2919
|
-
return (v,
|
|
2920
|
-
|
|
2921
|
-
|
|
2940
|
+
const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType: p } = La(a, r), u = _(() => s.value === null);
|
|
2941
|
+
return (v, f) => (d(), h("div", kl, [
|
|
2942
|
+
c("div", null, [
|
|
2943
|
+
c("label", _l, b(n(o)("selection.season")), 1),
|
|
2922
2944
|
x(n(re), {
|
|
2923
2945
|
id: "season",
|
|
2924
2946
|
modelValue: n(i),
|
|
2925
|
-
"onUpdate:modelValue":
|
|
2947
|
+
"onUpdate:modelValue": f[0] || (f[0] = (m) => Ie(i) ? i.value = m : null)
|
|
2926
2948
|
}, {
|
|
2927
2949
|
default: k(() => [
|
|
2928
|
-
(
|
|
2929
|
-
key:
|
|
2930
|
-
value:
|
|
2931
|
-
},
|
|
2950
|
+
(d(!0), h(O, null, U(e.seasons, (m) => (d(), h("option", {
|
|
2951
|
+
key: m.championshipId,
|
|
2952
|
+
value: m.championshipId
|
|
2953
|
+
}, b(m.seasonName), 9, zl))), 128))
|
|
2932
2954
|
]),
|
|
2933
2955
|
_: 1
|
|
2934
2956
|
}, 8, ["modelValue"])
|
|
2935
2957
|
]),
|
|
2936
|
-
|
|
2937
|
-
|
|
2958
|
+
c("div", null, [
|
|
2959
|
+
c("label", Sl, b(n(o)("selection.month")), 1),
|
|
2938
2960
|
x(n(re), {
|
|
2939
2961
|
id: "months",
|
|
2940
2962
|
modelValue: n(l),
|
|
2941
|
-
"onUpdate:modelValue":
|
|
2963
|
+
"onUpdate:modelValue": f[1] || (f[1] = (m) => Ie(l) ? l.value = m : null)
|
|
2942
2964
|
}, {
|
|
2943
2965
|
default: k(() => [
|
|
2944
|
-
|
|
2945
|
-
(
|
|
2946
|
-
key:
|
|
2947
|
-
value:
|
|
2948
|
-
},
|
|
2966
|
+
c("option", Tl, b(n(o)("common.all")), 1),
|
|
2967
|
+
(d(!0), h(O, null, U(e.months, (m) => (d(), h("option", {
|
|
2968
|
+
key: m.value,
|
|
2969
|
+
value: m.value
|
|
2970
|
+
}, b(m.name), 9, Il))), 128))
|
|
2949
2971
|
]),
|
|
2950
2972
|
_: 1
|
|
2951
2973
|
}, 8, ["modelValue"])
|
|
2952
2974
|
]),
|
|
2953
|
-
|
|
2954
|
-
|
|
2975
|
+
c("div", null, [
|
|
2976
|
+
c("label", Pl, b(n(o)("selection.teams")), 1),
|
|
2955
2977
|
x(n(re), {
|
|
2956
2978
|
id: "teams",
|
|
2957
|
-
modelValue: n(
|
|
2958
|
-
"onUpdate:modelValue":
|
|
2979
|
+
modelValue: n(s),
|
|
2980
|
+
"onUpdate:modelValue": f[2] || (f[2] = (m) => Ie(s) ? s.value = m : null)
|
|
2959
2981
|
}, {
|
|
2960
2982
|
default: k(() => [
|
|
2961
|
-
|
|
2962
|
-
(
|
|
2963
|
-
key:
|
|
2964
|
-
value:
|
|
2965
|
-
},
|
|
2983
|
+
c("option", Nl, b(n(o)("common.all")), 1),
|
|
2984
|
+
(d(!0), h(O, null, U(e.teams, (m) => (d(), h("option", {
|
|
2985
|
+
key: m.teamId,
|
|
2986
|
+
value: m.teamId
|
|
2987
|
+
}, b(m.teamName), 9, $l))), 128))
|
|
2966
2988
|
]),
|
|
2967
2989
|
_: 1
|
|
2968
2990
|
}, 8, ["modelValue"])
|
|
2969
2991
|
]),
|
|
2970
|
-
|
|
2971
|
-
|
|
2992
|
+
c("div", null, [
|
|
2993
|
+
c("label", Al, b(n(o)("selection.homeOrAway")), 1),
|
|
2972
2994
|
x(n(re), {
|
|
2973
2995
|
id: "type",
|
|
2974
|
-
modelValue: n(
|
|
2975
|
-
"onUpdate:modelValue":
|
|
2976
|
-
disabled:
|
|
2996
|
+
modelValue: n(p),
|
|
2997
|
+
"onUpdate:modelValue": f[3] || (f[3] = (m) => Ie(p) ? p.value = m : null),
|
|
2998
|
+
disabled: u.value
|
|
2977
2999
|
}, {
|
|
2978
3000
|
default: k(() => [
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
3001
|
+
c("option", Ll, b(n(o)("common.all")), 1),
|
|
3002
|
+
c("option", Cl, b(n(o)("selection.home")), 1),
|
|
3003
|
+
c("option", El, b(n(o)("selection.away")), 1)
|
|
2982
3004
|
]),
|
|
2983
3005
|
_: 1
|
|
2984
3006
|
}, 8, ["modelValue", "disabled"])
|
|
2985
3007
|
])
|
|
2986
3008
|
]));
|
|
2987
3009
|
}
|
|
2988
|
-
},
|
|
3010
|
+
}, jl = ".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}", Rl = ".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}", Fl = { class: "section-selector" }, Gl = ["onClick"], Ml = {
|
|
2989
3011
|
key: 0,
|
|
2990
3012
|
class: "toggle-group"
|
|
2991
|
-
},
|
|
3013
|
+
}, Dl = ["onClick"], Kl = ["onClick"], Ul = ["data-gamedate"], Bl = { class: "is-text-base" }, Vl = { class: "is-card" }, ql = "/game/id/{gameId}", Wl = {
|
|
2992
3014
|
__name: "ScheduleLiga.ce",
|
|
2993
3015
|
props: {
|
|
2994
3016
|
locale: {
|
|
@@ -3018,18 +3040,18 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
3018
3040
|
...Pr
|
|
3019
3041
|
},
|
|
3020
3042
|
setup(e) {
|
|
3021
|
-
const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(ot()), l = _(() =>
|
|
3022
|
-
var
|
|
3023
|
-
return ((
|
|
3043
|
+
const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(ot()), l = _(() => Et(/* @__PURE__ */ new Date(), n(i), t.locale)), s = _(() => t.scrollToGameDate.toLowerCase() === "true"), p = _(() => {
|
|
3044
|
+
var m;
|
|
3045
|
+
return ((m = Aa(o)) == null ? void 0 : m.clientHeight) ?? 0;
|
|
3024
3046
|
});
|
|
3025
|
-
function m
|
|
3026
|
-
i.value =
|
|
3047
|
+
function u(m) {
|
|
3048
|
+
i.value = m;
|
|
3027
3049
|
}
|
|
3028
|
-
function v(
|
|
3029
|
-
return it(t.externalGameResolver ||
|
|
3050
|
+
function v(m) {
|
|
3051
|
+
return it(t.externalGameResolver || ql, m);
|
|
3030
3052
|
}
|
|
3031
|
-
const
|
|
3032
|
-
return (
|
|
3053
|
+
const f = _(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
3054
|
+
return (m, g) => (d(), h("div", {
|
|
3033
3055
|
ref_key: "mainElement",
|
|
3034
3056
|
ref: r
|
|
3035
3057
|
}, [
|
|
@@ -3040,18 +3062,18 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
3040
3062
|
default: k(({ t: z }) => [
|
|
3041
3063
|
x(n(ze), null, {
|
|
3042
3064
|
default: k(({ error: w, hasError: N }) => [
|
|
3043
|
-
N ? (
|
|
3065
|
+
N ? (d(), $(n(Se), {
|
|
3044
3066
|
key: 0,
|
|
3045
3067
|
error: w
|
|
3046
3068
|
}, null, 8, ["error"])) : I("", !0),
|
|
3047
|
-
x(
|
|
3069
|
+
x(Yn, {
|
|
3048
3070
|
locale: e.locale,
|
|
3049
3071
|
timezone: i.value,
|
|
3050
3072
|
"championship-name": e.championshipName,
|
|
3051
3073
|
"main-element": r.value,
|
|
3052
3074
|
"auto-refresh": t.autoRefresh,
|
|
3053
|
-
"scroll-offset":
|
|
3054
|
-
"scroll-to-game-date":
|
|
3075
|
+
"scroll-offset": p.value,
|
|
3076
|
+
"scroll-to-game-date": s.value
|
|
3055
3077
|
}, {
|
|
3056
3078
|
default: k(({
|
|
3057
3079
|
seasons: A,
|
|
@@ -3072,9 +3094,9 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
3072
3094
|
changeSection: Ue,
|
|
3073
3095
|
changeTeam: sr,
|
|
3074
3096
|
changeTeamType: cr,
|
|
3075
|
-
changeSubSection:
|
|
3097
|
+
changeSubSection: Vt
|
|
3076
3098
|
}) => [
|
|
3077
|
-
x(
|
|
3099
|
+
x(Ol, {
|
|
3078
3100
|
ref_key: "selectorElement",
|
|
3079
3101
|
ref: o,
|
|
3080
3102
|
class: "is-sticky is-blured-bg",
|
|
@@ -3090,46 +3112,46 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
3090
3112
|
"onUpdate:selectedTeam": sr,
|
|
3091
3113
|
"onUpdate:selectedTeamGameType": cr
|
|
3092
3114
|
}, null, 8, ["seasons", "championship-id", "months", "selected-month", "teams", "selected-team", "selected-team-game-type", "onUpdate:championshipId", "onUpdate:selectedMonth", "onUpdate:selectedTeam", "onUpdate:selectedTeamGameType"]),
|
|
3093
|
-
|
|
3094
|
-
(
|
|
3115
|
+
c("div", Fl, [
|
|
3116
|
+
(d(!0), h(O, null, U(y, (J) => (d(), h("button", {
|
|
3095
3117
|
key: J.id,
|
|
3096
3118
|
class: G(["tab-button", { "is-active": J.name === S }]),
|
|
3097
|
-
onClick: (
|
|
3098
|
-
},
|
|
3119
|
+
onClick: (Le) => Ue(J.name)
|
|
3120
|
+
}, b(J.name), 11, Gl))), 128))
|
|
3099
3121
|
]),
|
|
3100
|
-
ne.length > 1 ? (
|
|
3101
|
-
|
|
3122
|
+
ne.length > 1 ? (d(), h("div", Ml, [
|
|
3123
|
+
c("button", {
|
|
3102
3124
|
class: G({ "is-active": P === "" }),
|
|
3103
|
-
onClick: (J) =>
|
|
3104
|
-
},
|
|
3105
|
-
(
|
|
3125
|
+
onClick: (J) => Vt("")
|
|
3126
|
+
}, b(z("common.all")), 11, Dl),
|
|
3127
|
+
(d(!0), h(O, null, U(ne, ({ name: J }) => (d(), h("button", {
|
|
3106
3128
|
key: J,
|
|
3107
3129
|
class: G({ "is-active": J === P }),
|
|
3108
|
-
onClick: (
|
|
3109
|
-
},
|
|
3130
|
+
onClick: (Le) => Vt(J)
|
|
3131
|
+
}, b(J), 11, Kl))), 128))
|
|
3110
3132
|
])) : I("", !0),
|
|
3111
|
-
t.timezoneSelector ? (
|
|
3133
|
+
t.timezoneSelector ? (d(), $(n(fr), {
|
|
3112
3134
|
key: t.locale,
|
|
3113
3135
|
class: "is-mb-5",
|
|
3114
3136
|
locale: t.locale,
|
|
3115
3137
|
"current-zone": i.value,
|
|
3116
|
-
onChange:
|
|
3138
|
+
onChange: u
|
|
3117
3139
|
}, null, 8, ["locale", "current-zone"])) : I("", !0),
|
|
3118
|
-
j ? (
|
|
3119
|
-
key:
|
|
3120
|
-
"data-gamedate":
|
|
3140
|
+
j ? (d(), $(n($t), { key: 2 })) : (d(!0), h(O, { key: 3 }, U(C.rows, (J, Le) => (d(), h("div", {
|
|
3141
|
+
key: Le,
|
|
3142
|
+
"data-gamedate": Le
|
|
3121
3143
|
}, [
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
(
|
|
3125
|
-
key:
|
|
3126
|
-
game:
|
|
3144
|
+
c("span", Bl, b(n(et)(new Date(Le), "L dddd", i.value, e.locale)), 1),
|
|
3145
|
+
c("div", Vl, [
|
|
3146
|
+
(d(!0), h(O, null, U(J, (qt) => (d(), $(xl, {
|
|
3147
|
+
key: qt.id,
|
|
3148
|
+
game: qt,
|
|
3127
3149
|
"offset-name": l.value,
|
|
3128
3150
|
"game-link": v,
|
|
3129
|
-
target:
|
|
3151
|
+
target: f.value
|
|
3130
3152
|
}, null, 8, ["game", "offset-name", "target"]))), 128))
|
|
3131
3153
|
])
|
|
3132
|
-
], 8,
|
|
3154
|
+
], 8, Ul))), 128))
|
|
3133
3155
|
]),
|
|
3134
3156
|
_: 2
|
|
3135
3157
|
}, 1032, ["locale", "timezone", "championship-name", "main-element", "auto-refresh", "scroll-offset", "scroll-to-game-date"])
|
|
@@ -3141,7 +3163,7 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
3141
3163
|
}, 8, ["locale"])
|
|
3142
3164
|
], 512));
|
|
3143
3165
|
}
|
|
3144
|
-
},
|
|
3166
|
+
}, Yl = /* @__PURE__ */ he(Wl, [["styles", [ve, jl, Kt, er, Rl]]]), Ye = "live", St = "default", Hl = 1e3 * 60 * 2, Jl = {
|
|
3145
3167
|
index: {
|
|
3146
3168
|
label: "table.blank",
|
|
3147
3169
|
class: "is-text-left"
|
|
@@ -3205,31 +3227,31 @@ const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"]
|
|
|
3205
3227
|
class: "is-text-bold"
|
|
3206
3228
|
}
|
|
3207
3229
|
};
|
|
3208
|
-
function
|
|
3209
|
-
const a = _(() => (n(t) || []).filter((l) => l.gameStatus === 1) || []), r = _(() => a.value.length > 0), o = _(() =>
|
|
3230
|
+
function Xl(e = [], t = []) {
|
|
3231
|
+
const a = _(() => (n(t) || []).filter((l) => l.gameStatus === 1) || []), r = _(() => a.value.length > 0), o = _(() => Ql(n(e) || [], a.value)), i = _(() => es(n(e) || [], o.value));
|
|
3210
3232
|
return {
|
|
3211
3233
|
isActive: r,
|
|
3212
3234
|
rows: i
|
|
3213
3235
|
};
|
|
3214
3236
|
}
|
|
3215
|
-
function
|
|
3216
|
-
return
|
|
3237
|
+
function Ql(e = [], t = []) {
|
|
3238
|
+
return qo(e).map((r) => {
|
|
3217
3239
|
const o = t.find((i) => i.homeTeam.id === r.team.id || i.awayTeam.id === r.team.id);
|
|
3218
3240
|
if (r.isActiveGame = !!o, o) {
|
|
3219
3241
|
const l = r.team.id === o.homeTeam.id ? [o.homeTeamScore, o.awayTeamScore] : [o.awayTeamScore, o.homeTeamScore];
|
|
3220
|
-
r.score = l.join(":"), r.scoreType =
|
|
3242
|
+
r.score = l.join(":"), r.scoreType = ts(l), r.points = r.points + Zl(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";
|
|
3221
3243
|
}
|
|
3222
3244
|
return r;
|
|
3223
3245
|
});
|
|
3224
3246
|
}
|
|
3225
|
-
function
|
|
3247
|
+
function Zl(e, t) {
|
|
3226
3248
|
const a = t.isOvertime || t.isShootout;
|
|
3227
3249
|
return e[0] > e[1] ? a ? 2 : 3 : e[0] < e[1] ? a ? 1 : 0 : 1;
|
|
3228
3250
|
}
|
|
3229
|
-
function
|
|
3230
|
-
const a =
|
|
3251
|
+
function es(e, t) {
|
|
3252
|
+
const a = mi([
|
|
3231
3253
|
Pe(q("points")),
|
|
3232
|
-
|
|
3254
|
+
Mt(q("gamesPlayed")),
|
|
3233
3255
|
Pe(q("w")),
|
|
3234
3256
|
Pe(q("gd")),
|
|
3235
3257
|
Pe(q("gf"))
|
|
@@ -3239,10 +3261,10 @@ function Zl(e, t) {
|
|
|
3239
3261
|
return r.diff = o - i, r;
|
|
3240
3262
|
});
|
|
3241
3263
|
}
|
|
3242
|
-
function
|
|
3264
|
+
function ts(e) {
|
|
3243
3265
|
return e[0] > e[1] ? "W" : e[0] < e[1] ? "L" : "D";
|
|
3244
3266
|
}
|
|
3245
|
-
const
|
|
3267
|
+
const as = {
|
|
3246
3268
|
__name: "DataProvider",
|
|
3247
3269
|
props: {
|
|
3248
3270
|
championshipName: {
|
|
@@ -3267,10 +3289,10 @@ const ts = {
|
|
|
3267
3289
|
sections: [],
|
|
3268
3290
|
section: a.section || null,
|
|
3269
3291
|
standingsType: Ye
|
|
3270
|
-
}), { onError: o } = ge(), { sort: i, change: l } =
|
|
3292
|
+
}), { onError: o } = ge(), { sort: i, change: l } = At({
|
|
3271
3293
|
sortTarget: "",
|
|
3272
3294
|
orders: []
|
|
3273
|
-
}), { isLoading:
|
|
3295
|
+
}), { isLoading: s, execute: p } = D({
|
|
3274
3296
|
options: {
|
|
3275
3297
|
path: "/v2/championship-seasons",
|
|
3276
3298
|
apiKey: t.apiKey,
|
|
@@ -3278,18 +3300,18 @@ const ts = {
|
|
|
3278
3300
|
},
|
|
3279
3301
|
transform: (j) => vt(j, r),
|
|
3280
3302
|
onError: o
|
|
3281
|
-
}), { isLoading:
|
|
3303
|
+
}), { isLoading: u, execute: v } = D({
|
|
3282
3304
|
options: {
|
|
3283
3305
|
path: "/v2/championship-sections",
|
|
3284
3306
|
apiKey: t.apiKey,
|
|
3285
3307
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
3286
3308
|
},
|
|
3287
|
-
transform: (j) =>
|
|
3309
|
+
transform: (j) => hi(j, r),
|
|
3288
3310
|
onError: o
|
|
3289
3311
|
}), {
|
|
3290
|
-
isLoading:
|
|
3291
|
-
state:
|
|
3292
|
-
execute:
|
|
3312
|
+
isLoading: f,
|
|
3313
|
+
state: m,
|
|
3314
|
+
execute: g
|
|
3293
3315
|
} = D({
|
|
3294
3316
|
options: {
|
|
3295
3317
|
path: "/v2/standings",
|
|
@@ -3304,13 +3326,13 @@ const ts = {
|
|
|
3304
3326
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
3305
3327
|
},
|
|
3306
3328
|
onError: o
|
|
3307
|
-
}), { isActive: N, rows: A } =
|
|
3308
|
-
te([
|
|
3329
|
+
}), { isActive: N, rows: A } = Xl(m, z), L = _(() => [u.value, s.value, f.value].some(Boolean)), y = _(() => Oe(n(m)).teamName().sorted(i).addContinuousIndex().value()), S = _(() => Oe(n(A)).addContinuousIndex().value());
|
|
3330
|
+
te([p, v, g, w]), so(w, Hl);
|
|
3309
3331
|
function T(j) {
|
|
3310
|
-
r.championshipId = j, a.championshipId = j, a.section = null, te([v,
|
|
3332
|
+
r.championshipId = j, a.championshipId = j, a.section = null, te([v, g]);
|
|
3311
3333
|
}
|
|
3312
3334
|
function C(j) {
|
|
3313
|
-
r.section = j, a.section = j,
|
|
3335
|
+
r.section = j, a.section = j, g();
|
|
3314
3336
|
}
|
|
3315
3337
|
function H(j) {
|
|
3316
3338
|
r.standingsType = j;
|
|
@@ -3328,13 +3350,13 @@ const ts = {
|
|
|
3328
3350
|
onChangeStandingsType: H
|
|
3329
3351
|
})));
|
|
3330
3352
|
}
|
|
3331
|
-
},
|
|
3353
|
+
}, rs = {
|
|
3332
3354
|
class: "g-row",
|
|
3333
3355
|
style: { "column-gap": "8px", "padding-block-start": "15px" }
|
|
3334
|
-
},
|
|
3356
|
+
}, os = {
|
|
3335
3357
|
for: "season",
|
|
3336
3358
|
class: "label"
|
|
3337
|
-
},
|
|
3359
|
+
}, is = ["value"], ns = {
|
|
3338
3360
|
__name: "Selector",
|
|
3339
3361
|
props: {
|
|
3340
3362
|
seasons: {
|
|
@@ -3374,50 +3396,50 @@ const ts = {
|
|
|
3374
3396
|
],
|
|
3375
3397
|
setup(e, { emit: t }) {
|
|
3376
3398
|
const a = e, r = t, { t: o } = Q(), { championshipId: i } = La(a, r);
|
|
3377
|
-
return (l,
|
|
3378
|
-
|
|
3379
|
-
|
|
3399
|
+
return (l, s) => (d(), h("div", rs, [
|
|
3400
|
+
c("div", null, [
|
|
3401
|
+
c("label", os, b(n(o)("selection.season")), 1),
|
|
3380
3402
|
x(n(re), {
|
|
3381
3403
|
id: "season",
|
|
3382
3404
|
modelValue: n(i),
|
|
3383
|
-
"onUpdate:modelValue":
|
|
3405
|
+
"onUpdate:modelValue": s[0] || (s[0] = (p) => Ie(i) ? i.value = p : null)
|
|
3384
3406
|
}, {
|
|
3385
3407
|
default: k(() => [
|
|
3386
|
-
(
|
|
3387
|
-
key:
|
|
3388
|
-
value:
|
|
3389
|
-
},
|
|
3408
|
+
(d(!0), h(O, null, U(e.seasons, (p) => (d(), h("option", {
|
|
3409
|
+
key: p.championshipId,
|
|
3410
|
+
value: p.championshipId
|
|
3411
|
+
}, b(p.seasonName), 9, is))), 128))
|
|
3390
3412
|
]),
|
|
3391
3413
|
_: 1
|
|
3392
3414
|
}, 8, ["modelValue"])
|
|
3393
3415
|
])
|
|
3394
3416
|
]));
|
|
3395
3417
|
}
|
|
3396
|
-
},
|
|
3418
|
+
}, ls = {
|
|
3397
3419
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3398
3420
|
viewBox: "0 0 24 24"
|
|
3399
3421
|
};
|
|
3400
|
-
function
|
|
3401
|
-
return
|
|
3402
|
-
|
|
3422
|
+
function ss(e, t) {
|
|
3423
|
+
return d(), h("svg", ls, t[0] || (t[0] = [
|
|
3424
|
+
c("path", {
|
|
3403
3425
|
fill: "currentColor",
|
|
3404
3426
|
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"
|
|
3405
3427
|
}, null, -1)
|
|
3406
3428
|
]));
|
|
3407
3429
|
}
|
|
3408
|
-
const sa = { render:
|
|
3430
|
+
const sa = { render: ss }, cs = {
|
|
3409
3431
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3410
3432
|
viewBox: "0 0 24 24"
|
|
3411
3433
|
};
|
|
3412
|
-
function
|
|
3413
|
-
return
|
|
3414
|
-
|
|
3434
|
+
function ds(e, t) {
|
|
3435
|
+
return d(), h("svg", cs, t[0] || (t[0] = [
|
|
3436
|
+
c("path", {
|
|
3415
3437
|
fill: "currentColor",
|
|
3416
3438
|
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"
|
|
3417
3439
|
}, null, -1)
|
|
3418
3440
|
]));
|
|
3419
3441
|
}
|
|
3420
|
-
const ca = { render:
|
|
3442
|
+
const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, us = { class: "is-team-name-short" }, bs = { class: "is-team-name-long" }, ms = { key: 0 }, vs = { class: "is-team-name-short" }, hs = { key: 0 }, da = {
|
|
3421
3443
|
__name: "StandingsTable",
|
|
3422
3444
|
props: {
|
|
3423
3445
|
columns: {
|
|
@@ -3477,115 +3499,115 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3477
3499
|
},
|
|
3478
3500
|
emits: ["sort"],
|
|
3479
3501
|
setup(e, { emit: t }) {
|
|
3480
|
-
const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = ge(), { columns:
|
|
3502
|
+
const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = ge(), { columns: s, error: p } = ee(
|
|
3481
3503
|
o,
|
|
3482
3504
|
i,
|
|
3483
3505
|
_(() => ({
|
|
3484
3506
|
offsetName: a.offsetName
|
|
3485
3507
|
}))
|
|
3486
3508
|
);
|
|
3487
|
-
|
|
3509
|
+
p.value && l(
|
|
3488
3510
|
new wt.WidgetError(wt.UndefinedColumn.message, {
|
|
3489
3511
|
...wt.UndefinedColumn.options,
|
|
3490
|
-
cause: { column:
|
|
3512
|
+
cause: { column: p.value }
|
|
3491
3513
|
})
|
|
3492
3514
|
);
|
|
3493
|
-
const
|
|
3494
|
-
return (v,
|
|
3495
|
-
default: k(({ el:
|
|
3515
|
+
const u = (v) => r("sort", v);
|
|
3516
|
+
return (v, f) => (d(), $(n(ie), null, {
|
|
3517
|
+
default: k(({ el: m }) => [
|
|
3496
3518
|
x(n(ce), {
|
|
3497
|
-
columns: n(
|
|
3519
|
+
columns: n(s),
|
|
3498
3520
|
sort: a.sort,
|
|
3499
3521
|
rows: a.rows,
|
|
3500
3522
|
"is-loading": e.isLoading,
|
|
3501
|
-
"append-to": e.appendTo ||
|
|
3502
|
-
onSort:
|
|
3523
|
+
"append-to": e.appendTo || m,
|
|
3524
|
+
onSort: u
|
|
3503
3525
|
}, {
|
|
3504
|
-
"cell-index": k(({ row:
|
|
3505
|
-
|
|
3506
|
-
class: G(
|
|
3507
|
-
},
|
|
3526
|
+
"cell-index": k(({ row: g }) => [
|
|
3527
|
+
c("span", {
|
|
3528
|
+
class: G(g.indexClass)
|
|
3529
|
+
}, b(g.index), 3)
|
|
3508
3530
|
]),
|
|
3509
|
-
"cell-teamLogo": k(({ row:
|
|
3531
|
+
"cell-teamLogo": k(({ row: g }) => {
|
|
3510
3532
|
var z, w;
|
|
3511
3533
|
return [
|
|
3512
|
-
(
|
|
3513
|
-
key: ((z =
|
|
3534
|
+
(d(), $(n(V), {
|
|
3535
|
+
key: ((z = g.team) == null ? void 0 : z.id) ?? g.id,
|
|
3514
3536
|
class: "is-logo-image",
|
|
3515
|
-
src: (w =
|
|
3537
|
+
src: (w = g.team) == null ? void 0 : w.logo
|
|
3516
3538
|
}, null, 8, ["src"]))
|
|
3517
3539
|
];
|
|
3518
3540
|
}),
|
|
3519
|
-
"cell-teamName": k(({ row:
|
|
3541
|
+
"cell-teamName": k(({ row: g }) => {
|
|
3520
3542
|
var z, w, N, A, L;
|
|
3521
3543
|
return [
|
|
3522
|
-
e.isTeamLinked ? (
|
|
3544
|
+
e.isTeamLinked ? (d(), h("a", {
|
|
3523
3545
|
key: 0,
|
|
3524
|
-
href: e.externalTeamResolver((z =
|
|
3546
|
+
href: e.externalTeamResolver((z = g.team) == null ? void 0 : z.longName),
|
|
3525
3547
|
target: "_blank"
|
|
3526
3548
|
}, [
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3549
|
+
c("span", gs, b((w = g.team) == null ? void 0 : w.longName), 1),
|
|
3550
|
+
c("span", us, b((N = g.team) == null ? void 0 : N.shortName), 1),
|
|
3551
|
+
g.isActiveGame && g.diff !== 0 ? (d(), h(O, { key: 0 }, [
|
|
3552
|
+
g.diff > 0 ? (d(), $(n(ca), {
|
|
3531
3553
|
key: 0,
|
|
3532
3554
|
width: "12",
|
|
3533
3555
|
height: "12",
|
|
3534
3556
|
class: "is-text-positive"
|
|
3535
3557
|
})) : I("", !0),
|
|
3536
|
-
|
|
3558
|
+
g.diff < 0 ? (d(), $(n(sa), {
|
|
3537
3559
|
key: 1,
|
|
3538
3560
|
width: "12",
|
|
3539
3561
|
height: "12",
|
|
3540
3562
|
class: "is-text-negative"
|
|
3541
3563
|
})) : I("", !0),
|
|
3542
|
-
|
|
3543
|
-
class: G({ "is-text-positive":
|
|
3544
|
-
},
|
|
3564
|
+
c("span", {
|
|
3565
|
+
class: G({ "is-text-positive": g.diff > 0, "is-text-negative": g.diff < 0 })
|
|
3566
|
+
}, b(g.diff), 3)
|
|
3545
3567
|
], 64)) : I("", !0)
|
|
3546
|
-
], 8,
|
|
3547
|
-
|
|
3548
|
-
W(
|
|
3549
|
-
|
|
3550
|
-
|
|
3568
|
+
], 8, ps)) : (d(), h(O, { key: 1 }, [
|
|
3569
|
+
c("span", bs, [
|
|
3570
|
+
W(b((A = g.team) == null ? void 0 : A.longName) + " ", 1),
|
|
3571
|
+
g.penaltyPoints ? (d(), h("span", ms, f[0] || (f[0] = [
|
|
3572
|
+
c("sup", null, "*", -1)
|
|
3551
3573
|
]))) : I("", !0)
|
|
3552
3574
|
]),
|
|
3553
|
-
|
|
3554
|
-
W(
|
|
3555
|
-
|
|
3556
|
-
|
|
3575
|
+
c("span", vs, [
|
|
3576
|
+
W(b((L = g.team) == null ? void 0 : L.shortName) + " ", 1),
|
|
3577
|
+
g.penaltyPoints ? (d(), h("span", hs, f[1] || (f[1] = [
|
|
3578
|
+
c("sup", null, "*", -1)
|
|
3557
3579
|
]))) : I("", !0)
|
|
3558
3580
|
]),
|
|
3559
|
-
|
|
3560
|
-
|
|
3581
|
+
g.isActiveGame && g.diff !== 0 ? (d(), h(O, { key: 0 }, [
|
|
3582
|
+
g.diff > 0 ? (d(), $(n(ca), {
|
|
3561
3583
|
key: 0,
|
|
3562
3584
|
width: "12",
|
|
3563
3585
|
height: "12",
|
|
3564
3586
|
class: "is-text-positive"
|
|
3565
3587
|
})) : I("", !0),
|
|
3566
|
-
|
|
3588
|
+
g.diff < 0 ? (d(), $(n(sa), {
|
|
3567
3589
|
key: 1,
|
|
3568
3590
|
width: "12",
|
|
3569
3591
|
height: "12",
|
|
3570
3592
|
class: "is-text-negative"
|
|
3571
3593
|
})) : I("", !0),
|
|
3572
|
-
|
|
3573
|
-
class: G({ "is-text-positive":
|
|
3574
|
-
},
|
|
3594
|
+
c("span", {
|
|
3595
|
+
class: G({ "is-text-positive": g.diff > 0, "is-text-negative": g.diff < 0 })
|
|
3596
|
+
}, b(g.diff), 3)
|
|
3575
3597
|
], 64)) : I("", !0)
|
|
3576
3598
|
], 64))
|
|
3577
3599
|
];
|
|
3578
3600
|
}),
|
|
3579
|
-
"cell-score": k(({ row:
|
|
3580
|
-
|
|
3601
|
+
"cell-score": k(({ row: g }) => [
|
|
3602
|
+
g.isActiveGame ? (d(), h("span", {
|
|
3581
3603
|
key: 0,
|
|
3582
3604
|
class: G(["is-badge is-large", [
|
|
3583
|
-
{ "is-green":
|
|
3605
|
+
{ "is-green": g.scoreType === "W", "is-red": g.scoreType === "L", "is-yellow": g.scoreType === "D" }
|
|
3584
3606
|
]])
|
|
3585
|
-
},
|
|
3607
|
+
}, b(g.score), 3)) : I("", !0)
|
|
3586
3608
|
]),
|
|
3587
3609
|
loading: k(() => [
|
|
3588
|
-
x(n(
|
|
3610
|
+
x(n($t))
|
|
3589
3611
|
]),
|
|
3590
3612
|
_: 2
|
|
3591
3613
|
}, 1032, ["columns", "sort", "rows", "is-loading", "append-to"])
|
|
@@ -3593,10 +3615,10 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3593
3615
|
_: 1
|
|
3594
3616
|
}));
|
|
3595
3617
|
}
|
|
3596
|
-
},
|
|
3618
|
+
}, fs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", ys = { class: "section-selector" }, ws = ["onClick"], xs = {
|
|
3597
3619
|
key: 0,
|
|
3598
3620
|
class: "toggle-group"
|
|
3599
|
-
},
|
|
3621
|
+
}, ks = ["onClick"], _s = ["onClick"], zs = {
|
|
3600
3622
|
__name: "StandingsLiga.ce",
|
|
3601
3623
|
props: {
|
|
3602
3624
|
locale: {
|
|
@@ -3618,27 +3640,27 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3618
3640
|
},
|
|
3619
3641
|
setup(e) {
|
|
3620
3642
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (i) => lt(t.externalTeamResolver, i);
|
|
3621
|
-
return (i, l) => (
|
|
3643
|
+
return (i, l) => (d(), h("div", null, [
|
|
3622
3644
|
x(n(pe), {
|
|
3623
3645
|
locale: t.locale,
|
|
3624
3646
|
messages: a
|
|
3625
3647
|
}, {
|
|
3626
|
-
default: k(({ t:
|
|
3648
|
+
default: k(({ t: s }) => [
|
|
3627
3649
|
x(n(ze), null, {
|
|
3628
|
-
default: k(({ error:
|
|
3629
|
-
|
|
3650
|
+
default: k(({ error: p, hasError: u }) => [
|
|
3651
|
+
u ? (d(), $(n(Se), {
|
|
3630
3652
|
key: 0,
|
|
3631
|
-
error:
|
|
3653
|
+
error: p
|
|
3632
3654
|
}, null, 8, ["error"])) : I("", !0),
|
|
3633
|
-
x(
|
|
3655
|
+
x(as, {
|
|
3634
3656
|
locale: e.locale,
|
|
3635
3657
|
"championship-name": e.championshipName
|
|
3636
3658
|
}, {
|
|
3637
3659
|
default: k(({
|
|
3638
3660
|
sort: v,
|
|
3639
|
-
teams:
|
|
3640
|
-
seasons:
|
|
3641
|
-
section:
|
|
3661
|
+
teams: f,
|
|
3662
|
+
seasons: m,
|
|
3663
|
+
section: g,
|
|
3642
3664
|
sections: z,
|
|
3643
3665
|
liveRows: w,
|
|
3644
3666
|
isLoading: N,
|
|
@@ -3650,39 +3672,39 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3650
3672
|
changeSection: C,
|
|
3651
3673
|
onChangeStandingsType: H
|
|
3652
3674
|
}) => [
|
|
3653
|
-
x(
|
|
3654
|
-
seasons:
|
|
3675
|
+
x(ns, {
|
|
3676
|
+
seasons: m,
|
|
3655
3677
|
"championship-id": L,
|
|
3656
3678
|
"onUpdate:championshipId": T
|
|
3657
3679
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
3658
|
-
|
|
3659
|
-
(
|
|
3680
|
+
c("div", ys, [
|
|
3681
|
+
(d(!0), h(O, null, U(z, (j) => (d(), h("button", {
|
|
3660
3682
|
key: j.phaseId,
|
|
3661
|
-
class: G(["tab-button", { "is-active": j.phaseName ===
|
|
3683
|
+
class: G(["tab-button", { "is-active": j.phaseName === g }]),
|
|
3662
3684
|
onClick: (ne) => C(j.phaseName)
|
|
3663
|
-
},
|
|
3685
|
+
}, b(j.phaseName), 11, ws))), 128))
|
|
3664
3686
|
]),
|
|
3665
|
-
y ? (
|
|
3666
|
-
|
|
3687
|
+
y ? (d(), h("div", xs, [
|
|
3688
|
+
c("button", {
|
|
3667
3689
|
class: G({ "is-active": A === n(Ye) }),
|
|
3668
3690
|
onClick: (j) => H(n(Ye))
|
|
3669
|
-
},
|
|
3670
|
-
|
|
3671
|
-
class: G({ "is-active": A === n(
|
|
3672
|
-
onClick: (j) => H(n(
|
|
3673
|
-
},
|
|
3691
|
+
}, b(s("standings.live")), 11, ks),
|
|
3692
|
+
c("button", {
|
|
3693
|
+
class: G({ "is-active": A === n(St) }),
|
|
3694
|
+
onClick: (j) => H(n(St))
|
|
3695
|
+
}, b(s("standings.default")), 11, _s)
|
|
3674
3696
|
])) : I("", !0),
|
|
3675
|
-
A === n(Ye) && y ? (
|
|
3697
|
+
A === n(Ye) && y ? (d(), $(da, {
|
|
3676
3698
|
key: 1,
|
|
3677
3699
|
rows: w.rows,
|
|
3678
|
-
columns: n(
|
|
3700
|
+
columns: n(Jl),
|
|
3679
3701
|
"external-team-resolver": o,
|
|
3680
3702
|
"is-loading": N,
|
|
3681
3703
|
"append-to": r.value
|
|
3682
3704
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"])) : I("", !0),
|
|
3683
|
-
A === n(
|
|
3705
|
+
A === n(St) || !y ? (d(), $(da, {
|
|
3684
3706
|
key: 2,
|
|
3685
|
-
rows:
|
|
3707
|
+
rows: f.rows,
|
|
3686
3708
|
columns: n(Ar),
|
|
3687
3709
|
sort: v,
|
|
3688
3710
|
"external-team-resolver": o,
|
|
@@ -3690,18 +3712,18 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3690
3712
|
"is-loading": N,
|
|
3691
3713
|
onSort: S
|
|
3692
3714
|
}, null, 8, ["rows", "columns", "sort", "append-to", "is-loading", "onSort"])) : I("", !0),
|
|
3693
|
-
x(n(
|
|
3694
|
-
rows:
|
|
3715
|
+
x(n(Yt), {
|
|
3716
|
+
rows: f.rows,
|
|
3695
3717
|
"additional-key": "inheritedPoints"
|
|
3696
3718
|
}, null, 8, ["rows"]),
|
|
3697
|
-
x(n(
|
|
3698
|
-
rows:
|
|
3719
|
+
x(n(Yt), {
|
|
3720
|
+
rows: f.rows,
|
|
3699
3721
|
"additional-key": "penaltyPoints"
|
|
3700
3722
|
}, null, 8, ["rows"])
|
|
3701
3723
|
]),
|
|
3702
3724
|
_: 2
|
|
3703
3725
|
}, 1032, ["locale", "championship-name"]),
|
|
3704
|
-
|
|
3726
|
+
c("div", {
|
|
3705
3727
|
ref_key: "tooltipContainer",
|
|
3706
3728
|
ref: r
|
|
3707
3729
|
}, null, 512)
|
|
@@ -3713,7 +3735,7 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3713
3735
|
}, 8, ["locale"])
|
|
3714
3736
|
]));
|
|
3715
3737
|
}
|
|
3716
|
-
},
|
|
3738
|
+
}, Ss = /* @__PURE__ */ he(zs, [["styles", [ve, Ke, Ut, nr, Bt, rr, fs]]]), De = "players", pa = "teams", ga = (/* @__PURE__ */ new Map()).set("points", {
|
|
3717
3739
|
api: "/v2/players-stats",
|
|
3718
3740
|
columns: Ve,
|
|
3719
3741
|
sort: {
|
|
@@ -3764,7 +3786,7 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3764
3786
|
}).set("goalies", {
|
|
3765
3787
|
api: "/v2/players-goalie",
|
|
3766
3788
|
params: { more: !0 },
|
|
3767
|
-
columns:
|
|
3789
|
+
columns: Qt,
|
|
3768
3790
|
sort: {
|
|
3769
3791
|
sortTarget: "svsPercent",
|
|
3770
3792
|
orders: [{ target: "svsPercent", direction: B }]
|
|
@@ -3772,7 +3794,7 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3772
3794
|
}).set("goaliesunderlimit", {
|
|
3773
3795
|
api: "/v2/players-goalie",
|
|
3774
3796
|
params: { less: !0 },
|
|
3775
|
-
columns:
|
|
3797
|
+
columns: Qt,
|
|
3776
3798
|
sort: {
|
|
3777
3799
|
sortTarget: "svsPercent",
|
|
3778
3800
|
orders: [{ target: "svsPercent", direction: B }]
|
|
@@ -3813,7 +3835,7 @@ const ca = { render: cs }, ds = ["href"], ps = { class: "is-team-name-long" }, g
|
|
|
3813
3835
|
orders: [{ target: "sp", direction: B }]
|
|
3814
3836
|
}
|
|
3815
3837
|
});
|
|
3816
|
-
function
|
|
3838
|
+
function Ts(e) {
|
|
3817
3839
|
return [
|
|
3818
3840
|
{
|
|
3819
3841
|
name: e("report.points"),
|
|
@@ -3849,7 +3871,7 @@ function Ss(e) {
|
|
|
3849
3871
|
}
|
|
3850
3872
|
];
|
|
3851
3873
|
}
|
|
3852
|
-
function
|
|
3874
|
+
function Is(e) {
|
|
3853
3875
|
return [
|
|
3854
3876
|
{
|
|
3855
3877
|
name: e("report.teamAttendance"),
|
|
@@ -3873,32 +3895,32 @@ function Ts(e) {
|
|
|
3873
3895
|
}
|
|
3874
3896
|
];
|
|
3875
3897
|
}
|
|
3876
|
-
function
|
|
3898
|
+
function Ps(e) {
|
|
3877
3899
|
return ae(mt(Pe(q("championshipId"))), me(oe(["championshipId", "seasonName"])))(e);
|
|
3878
3900
|
}
|
|
3879
|
-
const
|
|
3880
|
-
function
|
|
3901
|
+
const Ns = (e) => mt(Mt(q("teamName")), e);
|
|
3902
|
+
function $s(e) {
|
|
3881
3903
|
return e.report ? e.report : e.type ? e.type === De ? "points" : "teamAttandance" : "points";
|
|
3882
3904
|
}
|
|
3883
|
-
const
|
|
3905
|
+
const As = {
|
|
3884
3906
|
class: "g-row is-mb-5",
|
|
3885
3907
|
style: { "flex-wrap": "wrap", gap: "20px", margin: "20px 0" }
|
|
3886
|
-
},
|
|
3908
|
+
}, Ls = {
|
|
3887
3909
|
for: "season",
|
|
3888
3910
|
class: "label"
|
|
3889
|
-
},
|
|
3911
|
+
}, Cs = ["value"], Es = {
|
|
3890
3912
|
for: "section",
|
|
3891
3913
|
class: "label"
|
|
3892
|
-
},
|
|
3914
|
+
}, Os = ["value"], js = {
|
|
3893
3915
|
for: "report",
|
|
3894
3916
|
class: "label"
|
|
3895
|
-
},
|
|
3917
|
+
}, Rs = ["value"], Fs = {
|
|
3896
3918
|
for: "teams",
|
|
3897
3919
|
class: "label"
|
|
3898
|
-
},
|
|
3920
|
+
}, Gs = { value: null }, Ms = ["value"], Ds = {
|
|
3899
3921
|
for: "player",
|
|
3900
3922
|
class: "label"
|
|
3901
|
-
},
|
|
3923
|
+
}, Ks = ["disabled"], Us = {
|
|
3902
3924
|
__name: "StatisticSelector",
|
|
3903
3925
|
props: {
|
|
3904
3926
|
seasons: {
|
|
@@ -3953,121 +3975,121 @@ const $s = {
|
|
|
3953
3975
|
setup(e, { emit: t }) {
|
|
3954
3976
|
const a = e, r = t, { t: o } = Q(), i = _({
|
|
3955
3977
|
get: () => a.championshipId,
|
|
3956
|
-
set: (
|
|
3978
|
+
set: (f) => r("onSeasonChange", f)
|
|
3957
3979
|
}), l = _({
|
|
3958
3980
|
get: () => a.phaseId,
|
|
3959
|
-
set: (
|
|
3960
|
-
}),
|
|
3981
|
+
set: (f) => r("onSectionChange", f)
|
|
3982
|
+
}), s = _({
|
|
3961
3983
|
get: () => a.currentReport,
|
|
3962
|
-
set: (
|
|
3963
|
-
}),
|
|
3984
|
+
set: (f) => r("onReportChange", f)
|
|
3985
|
+
}), p = _({
|
|
3964
3986
|
get: () => a.teamFilter,
|
|
3965
|
-
set: (
|
|
3966
|
-
}),
|
|
3987
|
+
set: (f) => r("onTeamChange", f)
|
|
3988
|
+
}), u = _({
|
|
3967
3989
|
get: () => a.playerFilter,
|
|
3968
|
-
set: (
|
|
3990
|
+
set: (f) => r("onPlayerInput", f)
|
|
3969
3991
|
});
|
|
3970
|
-
function v(
|
|
3971
|
-
r("onStatTypeChange",
|
|
3992
|
+
function v(f) {
|
|
3993
|
+
r("onStatTypeChange", f);
|
|
3972
3994
|
}
|
|
3973
|
-
return (
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3995
|
+
return (f, m) => (d(), h(O, null, [
|
|
3996
|
+
c("div", As, [
|
|
3997
|
+
c("div", null, [
|
|
3998
|
+
c("label", Ls, b(n(o)("selection.season")), 1),
|
|
3977
3999
|
x(n(re), {
|
|
3978
4000
|
id: "season",
|
|
3979
4001
|
modelValue: i.value,
|
|
3980
|
-
"onUpdate:modelValue":
|
|
4002
|
+
"onUpdate:modelValue": m[0] || (m[0] = (g) => i.value = g)
|
|
3981
4003
|
}, {
|
|
3982
4004
|
default: k(() => [
|
|
3983
|
-
(
|
|
3984
|
-
key:
|
|
3985
|
-
value:
|
|
3986
|
-
},
|
|
4005
|
+
(d(!0), h(O, null, U(e.seasons, (g) => (d(), h("option", {
|
|
4006
|
+
key: g.championshipId,
|
|
4007
|
+
value: g.championshipId
|
|
4008
|
+
}, b(g.seasonName), 9, Cs))), 128))
|
|
3987
4009
|
]),
|
|
3988
4010
|
_: 1
|
|
3989
4011
|
}, 8, ["modelValue"])
|
|
3990
4012
|
]),
|
|
3991
|
-
|
|
3992
|
-
|
|
4013
|
+
c("div", null, [
|
|
4014
|
+
c("label", Es, b(n(o)("selection.section")), 1),
|
|
3993
4015
|
x(n(re), {
|
|
3994
4016
|
id: "section",
|
|
3995
4017
|
modelValue: l.value,
|
|
3996
|
-
"onUpdate:modelValue":
|
|
4018
|
+
"onUpdate:modelValue": m[1] || (m[1] = (g) => l.value = g)
|
|
3997
4019
|
}, {
|
|
3998
4020
|
default: k(() => [
|
|
3999
|
-
(
|
|
4000
|
-
key:
|
|
4001
|
-
value:
|
|
4002
|
-
},
|
|
4021
|
+
(d(!0), h(O, null, U(e.sections, (g) => (d(), h("option", {
|
|
4022
|
+
key: g.phaseId,
|
|
4023
|
+
value: g.phaseId
|
|
4024
|
+
}, b(g.phaseName), 9, Os))), 128))
|
|
4003
4025
|
]),
|
|
4004
4026
|
_: 1
|
|
4005
4027
|
}, 8, ["modelValue"])
|
|
4006
4028
|
]),
|
|
4007
|
-
|
|
4008
|
-
|
|
4029
|
+
c("div", null, [
|
|
4030
|
+
c("label", js, b(n(o)("selection.report")), 1),
|
|
4009
4031
|
x(n(re), {
|
|
4010
4032
|
id: "report",
|
|
4011
|
-
modelValue:
|
|
4012
|
-
"onUpdate:modelValue":
|
|
4033
|
+
modelValue: s.value,
|
|
4034
|
+
"onUpdate:modelValue": m[2] || (m[2] = (g) => s.value = g)
|
|
4013
4035
|
}, {
|
|
4014
4036
|
default: k(() => [
|
|
4015
|
-
(
|
|
4037
|
+
(d(!0), h(O, null, U(e.reports, ({ name: g, value: z }) => (d(), h("option", {
|
|
4016
4038
|
key: z,
|
|
4017
4039
|
value: z
|
|
4018
|
-
},
|
|
4040
|
+
}, b(g), 9, Rs))), 128))
|
|
4019
4041
|
]),
|
|
4020
4042
|
_: 1
|
|
4021
4043
|
}, 8, ["modelValue"])
|
|
4022
4044
|
]),
|
|
4023
|
-
e.reportType === "players" ? (
|
|
4024
|
-
|
|
4025
|
-
|
|
4045
|
+
e.reportType === "players" ? (d(), h(O, { key: 0 }, [
|
|
4046
|
+
c("div", null, [
|
|
4047
|
+
c("label", Fs, b(n(o)("selection.teams")), 1),
|
|
4026
4048
|
x(n(re), {
|
|
4027
4049
|
id: "teams",
|
|
4028
|
-
modelValue:
|
|
4029
|
-
"onUpdate:modelValue":
|
|
4050
|
+
modelValue: p.value,
|
|
4051
|
+
"onUpdate:modelValue": m[3] || (m[3] = (g) => p.value = g),
|
|
4030
4052
|
disabled: e.reportType !== "players"
|
|
4031
4053
|
}, {
|
|
4032
4054
|
default: k(() => [
|
|
4033
|
-
|
|
4034
|
-
(
|
|
4035
|
-
key:
|
|
4036
|
-
value:
|
|
4037
|
-
},
|
|
4055
|
+
c("option", Gs, b(n(o)("common.all")), 1),
|
|
4056
|
+
(d(!0), h(O, null, U(e.teams, ({ teamId: g, teamName: z }) => (d(), h("option", {
|
|
4057
|
+
key: g,
|
|
4058
|
+
value: g
|
|
4059
|
+
}, b(z), 9, Ms))), 128))
|
|
4038
4060
|
]),
|
|
4039
4061
|
_: 1
|
|
4040
4062
|
}, 8, ["modelValue", "disabled"])
|
|
4041
4063
|
]),
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
br(
|
|
4064
|
+
c("div", null, [
|
|
4065
|
+
c("label", Ds, b(n(o)("selection.filterName")), 1),
|
|
4066
|
+
br(c("input", {
|
|
4045
4067
|
id: "player",
|
|
4046
|
-
"onUpdate:modelValue":
|
|
4068
|
+
"onUpdate:modelValue": m[4] || (m[4] = (g) => u.value = g),
|
|
4047
4069
|
type: "text",
|
|
4048
4070
|
class: "base-input",
|
|
4049
4071
|
disabled: e.reportType !== "players"
|
|
4050
|
-
}, null, 8,
|
|
4051
|
-
[mr,
|
|
4072
|
+
}, null, 8, Ks), [
|
|
4073
|
+
[mr, u.value]
|
|
4052
4074
|
])
|
|
4053
4075
|
])
|
|
4054
4076
|
], 64)) : I("", !0)
|
|
4055
4077
|
]),
|
|
4056
|
-
|
|
4057
|
-
|
|
4078
|
+
c("div", null, [
|
|
4079
|
+
c("button", {
|
|
4058
4080
|
type: "button",
|
|
4059
4081
|
class: G(["tab-button", { "is-active": e.reportType === n(De) }]),
|
|
4060
|
-
onClick:
|
|
4061
|
-
},
|
|
4062
|
-
|
|
4082
|
+
onClick: m[5] || (m[5] = (g) => v(n(De)))
|
|
4083
|
+
}, b(n(o)("selection.players")), 3),
|
|
4084
|
+
c("button", {
|
|
4063
4085
|
type: "button",
|
|
4064
4086
|
class: G(["tab-button", { "is-active": e.reportType === n(pa) }]),
|
|
4065
|
-
onClick:
|
|
4066
|
-
},
|
|
4087
|
+
onClick: m[6] || (m[6] = (g) => v(n(pa)))
|
|
4088
|
+
}, b(n(o)("selection.teams")), 3)
|
|
4067
4089
|
])
|
|
4068
4090
|
], 64));
|
|
4069
4091
|
}
|
|
4070
|
-
},
|
|
4092
|
+
}, Bs = {
|
|
4071
4093
|
__name: "StatisticsProvider",
|
|
4072
4094
|
props: {
|
|
4073
4095
|
championshipName: {
|
|
@@ -4100,20 +4122,20 @@ const $s = {
|
|
|
4100
4122
|
playerFilter: "",
|
|
4101
4123
|
reportType: o.type || De,
|
|
4102
4124
|
reports: null,
|
|
4103
|
-
currentReport:
|
|
4125
|
+
currentReport: $s(o),
|
|
4104
4126
|
rows: [],
|
|
4105
4127
|
columns: null,
|
|
4106
4128
|
api: null,
|
|
4107
4129
|
apiParams: {}
|
|
4108
4130
|
}), l = ga.get("points");
|
|
4109
4131
|
i.columns = l.columns, i.api = l.api;
|
|
4110
|
-
const
|
|
4111
|
-
() => i.reportType === De ?
|
|
4112
|
-
), { page:
|
|
4132
|
+
const s = _(
|
|
4133
|
+
() => i.reportType === De ? Ts(a) : Is(a)
|
|
4134
|
+
), { page: p, change: u } = wa(), { sort: v, change: f } = At({
|
|
4113
4135
|
sortTarget: "points",
|
|
4114
4136
|
orders: [{ target: "points", direction: B }]
|
|
4115
4137
|
});
|
|
4116
|
-
async function
|
|
4138
|
+
async function m() {
|
|
4117
4139
|
try {
|
|
4118
4140
|
i.loading = !0;
|
|
4119
4141
|
const P = await Be("/v2/championship-seasons", t.apiKey, {
|
|
@@ -4121,14 +4143,14 @@ const $s = {
|
|
|
4121
4143
|
});
|
|
4122
4144
|
if (P.length === 0)
|
|
4123
4145
|
throw new xa(Ze.message, Ze.options);
|
|
4124
|
-
i.seasons =
|
|
4146
|
+
i.seasons = Ps(P), i.championshipId || (i.championshipId = fe(i.seasons).championshipId);
|
|
4125
4147
|
} catch (P) {
|
|
4126
4148
|
r(P);
|
|
4127
4149
|
} finally {
|
|
4128
4150
|
i.loading = !1;
|
|
4129
4151
|
}
|
|
4130
4152
|
}
|
|
4131
|
-
async function
|
|
4153
|
+
async function g() {
|
|
4132
4154
|
var P;
|
|
4133
4155
|
try {
|
|
4134
4156
|
i.loading = !0;
|
|
@@ -4144,7 +4166,7 @@ const $s = {
|
|
|
4144
4166
|
}
|
|
4145
4167
|
async function z() {
|
|
4146
4168
|
try {
|
|
4147
|
-
i.loading = !0, i.rows = [],
|
|
4169
|
+
i.loading = !0, i.rows = [], u(1);
|
|
4148
4170
|
const P = await Be(i.api, t.apiKey, {
|
|
4149
4171
|
championshipId: i.championshipId,
|
|
4150
4172
|
phaseId: i.phaseId,
|
|
@@ -4188,7 +4210,7 @@ const $s = {
|
|
|
4188
4210
|
const P = await Be("/v2/championship-teams", t.apiKey, {
|
|
4189
4211
|
championshipId: i.championshipId
|
|
4190
4212
|
});
|
|
4191
|
-
i.teams =
|
|
4213
|
+
i.teams = Ns(P);
|
|
4192
4214
|
} catch (P) {
|
|
4193
4215
|
r(P);
|
|
4194
4216
|
} finally {
|
|
@@ -4196,14 +4218,14 @@ const $s = {
|
|
|
4196
4218
|
}
|
|
4197
4219
|
}
|
|
4198
4220
|
const N = _(
|
|
4199
|
-
() =>
|
|
4200
|
-
), A = _(() => [(
|
|
4221
|
+
() => Oe(i.rows).filter(i.teamFilter, [["team", "id"]], !0).filter(i.playerFilter, ["name"]).sorted(v).addIndex(v.sortTarget).pagination(n(p), t.limit).value()
|
|
4222
|
+
), A = _(() => [(p.value - 1) * t.limit + 1, Math.min(p.value * t.limit, N.value.totalItems)]);
|
|
4201
4223
|
function L() {
|
|
4202
4224
|
const P = ga.get(i.currentReport);
|
|
4203
4225
|
i.columns = P.columns, i.api = P.api, i.apiParams = P.params || {}, v.sortTarget = P.sort.sortTarget, v.orders = P.sort.orders;
|
|
4204
4226
|
}
|
|
4205
4227
|
async function y(P) {
|
|
4206
|
-
i.championshipId = P, o.championshipId = P, i.phaseId = null, o.phaseId = null, await
|
|
4228
|
+
i.championshipId = P, o.championshipId = P, i.phaseId = null, o.phaseId = null, await g(), o.section = i.section, await w(), await z();
|
|
4207
4229
|
}
|
|
4208
4230
|
async function S(P) {
|
|
4209
4231
|
i.phaseId = P, o.phaseId = P, await z();
|
|
@@ -4212,25 +4234,25 @@ const $s = {
|
|
|
4212
4234
|
i.currentReport = P, o.report = P, L(), z();
|
|
4213
4235
|
}
|
|
4214
4236
|
function C(P) {
|
|
4215
|
-
|
|
4237
|
+
u(1), i.teamFilter = Number(P) || null, o.teamFilter = P || null;
|
|
4216
4238
|
}
|
|
4217
4239
|
function H(P) {
|
|
4218
|
-
|
|
4240
|
+
u(1), P instanceof Event && (P = P.target.value), i.playerFilter = P;
|
|
4219
4241
|
}
|
|
4220
4242
|
function j(P) {
|
|
4221
|
-
i.reportType = P, i.currentReport = fe(
|
|
4243
|
+
i.reportType = P, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = P, L(), z();
|
|
4222
4244
|
}
|
|
4223
4245
|
async function ne() {
|
|
4224
|
-
await
|
|
4246
|
+
await m(), await g(), await w(), L(), await z();
|
|
4225
4247
|
}
|
|
4226
4248
|
return ne(), (P, le) => xe(P.$slots, "default", ke(_e({
|
|
4227
4249
|
...i,
|
|
4228
4250
|
rows: N.value,
|
|
4229
4251
|
sort: n(v),
|
|
4230
|
-
page: n(
|
|
4252
|
+
page: n(p),
|
|
4231
4253
|
range: A.value,
|
|
4232
4254
|
selectorProps: {
|
|
4233
|
-
reports:
|
|
4255
|
+
reports: s.value,
|
|
4234
4256
|
...n(oe)(
|
|
4235
4257
|
[
|
|
4236
4258
|
"seasons",
|
|
@@ -4254,14 +4276,14 @@ const $s = {
|
|
|
4254
4276
|
onTeamChange: C,
|
|
4255
4277
|
onPlayerInput: H
|
|
4256
4278
|
},
|
|
4257
|
-
onPaginatorChange: n(
|
|
4258
|
-
onSort: n(
|
|
4279
|
+
onPaginatorChange: n(u),
|
|
4280
|
+
onSort: n(f)
|
|
4259
4281
|
})));
|
|
4260
4282
|
}
|
|
4261
|
-
},
|
|
4283
|
+
}, Vs = `.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)}`, qs = '.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)}', Ws = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Ys = ".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}", Hs = { style: { display: "flex", "align-items": "center" } }, Js = {
|
|
4262
4284
|
key: 0,
|
|
4263
4285
|
style: { "flex-grow": "1", "text-align": "right" }
|
|
4264
|
-
},
|
|
4286
|
+
}, Xs = {
|
|
4265
4287
|
__name: "Statistics.ce",
|
|
4266
4288
|
props: {
|
|
4267
4289
|
locale: {
|
|
@@ -4288,16 +4310,16 @@ const $s = {
|
|
|
4288
4310
|
...$r
|
|
4289
4311
|
},
|
|
4290
4312
|
setup(e) {
|
|
4291
|
-
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => lt(t.externalTeamResolver, l), i = (l) =>
|
|
4292
|
-
return (l,
|
|
4313
|
+
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => lt(t.externalTeamResolver, l), i = (l) => Ot(t.externalPlayerLink, l);
|
|
4314
|
+
return (l, s) => (d(), h("div", null, [
|
|
4293
4315
|
x(n(pe), {
|
|
4294
4316
|
locale: t.locale,
|
|
4295
4317
|
messages: a
|
|
4296
4318
|
}, {
|
|
4297
4319
|
default: k(() => [
|
|
4298
4320
|
x(n(ze), null, {
|
|
4299
|
-
default: k(({ hasError:
|
|
4300
|
-
x(
|
|
4321
|
+
default: k(({ hasError: p, error: u }) => [
|
|
4322
|
+
x(Bs, {
|
|
4301
4323
|
"championship-name": e.championshipName,
|
|
4302
4324
|
"championship-id": e.championshipId,
|
|
4303
4325
|
limit: t.limit,
|
|
@@ -4305,9 +4327,9 @@ const $s = {
|
|
|
4305
4327
|
}, {
|
|
4306
4328
|
default: k(({
|
|
4307
4329
|
sort: v,
|
|
4308
|
-
columns:
|
|
4309
|
-
rows:
|
|
4310
|
-
page:
|
|
4330
|
+
columns: f,
|
|
4331
|
+
rows: m,
|
|
4332
|
+
page: g,
|
|
4311
4333
|
range: z,
|
|
4312
4334
|
loading: w,
|
|
4313
4335
|
selectorProps: N,
|
|
@@ -4315,13 +4337,13 @@ const $s = {
|
|
|
4315
4337
|
onPaginatorChange: L,
|
|
4316
4338
|
onSort: y
|
|
4317
4339
|
}) => [
|
|
4318
|
-
|
|
4340
|
+
p ? (d(), $(n(Se), {
|
|
4319
4341
|
key: 0,
|
|
4320
|
-
error:
|
|
4321
|
-
}, null, 8, ["error"])) : (
|
|
4342
|
+
error: u
|
|
4343
|
+
}, null, 8, ["error"])) : (d(), $(Us, vr({ key: 1 }, N, hr(A)), null, 16)),
|
|
4322
4344
|
x(n(yr), {
|
|
4323
|
-
columns:
|
|
4324
|
-
rows:
|
|
4345
|
+
columns: f,
|
|
4346
|
+
rows: m.rows,
|
|
4325
4347
|
sort: v,
|
|
4326
4348
|
"is-loading": w,
|
|
4327
4349
|
"external-team-resolver": o,
|
|
@@ -4332,17 +4354,17 @@ const $s = {
|
|
|
4332
4354
|
"append-to": r.value,
|
|
4333
4355
|
onSort: y
|
|
4334
4356
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "is-team-linked", "is-player-linked", "hide-columns", "append-to", "onSort"]),
|
|
4335
|
-
|
|
4357
|
+
c("div", Hs, [
|
|
4336
4358
|
x(n(ya), {
|
|
4337
|
-
page:
|
|
4359
|
+
page: g,
|
|
4338
4360
|
"items-per-page": t.limit,
|
|
4339
|
-
"total-items":
|
|
4361
|
+
"total-items": m.totalItems,
|
|
4340
4362
|
"range-length": 5,
|
|
4341
4363
|
onChange: L
|
|
4342
4364
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
4343
|
-
|
|
4365
|
+
m.totalItems > 0 ? (d(), h("div", Js, b(z.join("-")) + " / " + b(m.totalItems) + " db ", 1)) : I("", !0)
|
|
4344
4366
|
]),
|
|
4345
|
-
|
|
4367
|
+
c("div", {
|
|
4346
4368
|
ref_key: "tooltipContainer",
|
|
4347
4369
|
ref: r
|
|
4348
4370
|
}, null, 512)
|
|
@@ -4357,7 +4379,7 @@ const $s = {
|
|
|
4357
4379
|
}, 8, ["locale"])
|
|
4358
4380
|
]));
|
|
4359
4381
|
}
|
|
4360
|
-
},
|
|
4382
|
+
}, Qs = /* @__PURE__ */ he(Xs, [["styles", [ve, Vs, qs, Ws, Bt, Ys]]]), He = "Info", Je = "Games", Xe = "Stats", Qe = "Roster", Zs = {
|
|
4361
4383
|
teamKeyIntl: {
|
|
4362
4384
|
label: "table.blank",
|
|
4363
4385
|
class: "is-text-left"
|
|
@@ -4367,51 +4389,51 @@ const $s = {
|
|
|
4367
4389
|
class: "is-text-left"
|
|
4368
4390
|
}
|
|
4369
4391
|
};
|
|
4370
|
-
function
|
|
4392
|
+
function ec(e) {
|
|
4371
4393
|
const t = we(
|
|
4372
4394
|
["team", "organizationType", "organizationShortName", "organizationLogo", "organizationRepresentatives", "arenas"],
|
|
4373
4395
|
e
|
|
4374
4396
|
), a = [];
|
|
4375
4397
|
for (let [r, o] of Object.entries(t))
|
|
4376
|
-
r === "organizationFoundingDate" && (o = et(o, "YYYY")), r === "organizationAddresses" && (o =
|
|
4398
|
+
r === "organizationFoundingDate" && (o = et(o, "YYYY")), r === "organizationAddresses" && (o = ic((o == null ? void 0 : o.headquarter) ?? {})), a.push({ teamKey: r, teamValue: o });
|
|
4377
4399
|
return { team: e == null ? void 0 : e.team, organizationInfo: a };
|
|
4378
4400
|
}
|
|
4379
|
-
function
|
|
4401
|
+
function tc(e) {
|
|
4380
4402
|
return ae(
|
|
4381
|
-
|
|
4403
|
+
ei(rc),
|
|
4382
4404
|
Me((t) => {
|
|
4383
4405
|
var a, r;
|
|
4384
4406
|
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;
|
|
4385
4407
|
}),
|
|
4386
|
-
Me(
|
|
4408
|
+
Me(oc),
|
|
4387
4409
|
me(ae(nt, rt, Tr(["position"])))
|
|
4388
4410
|
)(e);
|
|
4389
4411
|
}
|
|
4390
|
-
function
|
|
4391
|
-
return Ua(
|
|
4412
|
+
function Tt(e, t) {
|
|
4413
|
+
return Ua(Gt(ui(t, ["team", "id"])), me(nt))(e);
|
|
4392
4414
|
}
|
|
4393
4415
|
function ua(e, t) {
|
|
4394
|
-
return Ka(di
|
|
4416
|
+
return Ka(pi(di, la(Ge(["player", "playerId"]), e), la(Ge(["player", "playerId"]), t)));
|
|
4395
4417
|
}
|
|
4396
|
-
function
|
|
4397
|
-
const r = me(Ge(["player", "playerId"]))(e), i = dt((
|
|
4418
|
+
function ac({ goalieStats: e, fieldPlayers: t, playersPenalty: a }) {
|
|
4419
|
+
const r = me(Ge(["player", "playerId"]))(e), i = dt((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);
|
|
4398
4420
|
return {
|
|
4399
|
-
fieldPlayers:
|
|
4400
|
-
goalies:
|
|
4421
|
+
fieldPlayers: Jt(s),
|
|
4422
|
+
goalies: Jt(p)
|
|
4401
4423
|
};
|
|
4402
4424
|
}
|
|
4403
|
-
function
|
|
4425
|
+
function rc(e) {
|
|
4404
4426
|
var t, a;
|
|
4405
4427
|
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";
|
|
4406
4428
|
}
|
|
4407
|
-
function
|
|
4429
|
+
function oc(e) {
|
|
4408
4430
|
return Number(e.jerseyNr);
|
|
4409
4431
|
}
|
|
4410
|
-
function
|
|
4411
|
-
const t = e.city ?
|
|
4412
|
-
return ae(
|
|
4432
|
+
function ic(e) {
|
|
4433
|
+
const t = e.city ? gi(si("city"), bi(/$/, ",")) : () => ({});
|
|
4434
|
+
return ae(ni(" "), Ka, t, we(["type"]))(e);
|
|
4413
4435
|
}
|
|
4414
|
-
const
|
|
4436
|
+
const nc = {
|
|
4415
4437
|
__name: "DataProvider",
|
|
4416
4438
|
props: {
|
|
4417
4439
|
apiKey: {
|
|
@@ -4445,45 +4467,45 @@ const ic = {
|
|
|
4445
4467
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId })),
|
|
4446
4468
|
immediate: !0
|
|
4447
4469
|
},
|
|
4448
|
-
transform: (y) =>
|
|
4470
|
+
transform: (y) => ec(y),
|
|
4449
4471
|
onError: i
|
|
4450
|
-
}), { state:
|
|
4472
|
+
}), { state: s, execute: p } = D({
|
|
4451
4473
|
options: {
|
|
4452
4474
|
path: "/v2/team-games",
|
|
4453
4475
|
apiKey: t.apiKey,
|
|
4454
4476
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
|
|
4455
4477
|
},
|
|
4456
4478
|
transform: (y) => at(
|
|
4457
|
-
|
|
4479
|
+
Ct(y),
|
|
4458
4480
|
_a(a, t.locale),
|
|
4459
4481
|
za,
|
|
4460
4482
|
Sa(o.teamId),
|
|
4461
4483
|
Ta
|
|
4462
4484
|
),
|
|
4463
4485
|
onError: i
|
|
4464
|
-
}), { state:
|
|
4486
|
+
}), { state: u, execute: v } = D({
|
|
4465
4487
|
options: {
|
|
4466
4488
|
path: "/v2/championship-players",
|
|
4467
4489
|
apiKey: t.apiKey,
|
|
4468
4490
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
|
|
4469
4491
|
},
|
|
4470
|
-
transform: (y) =>
|
|
4492
|
+
transform: (y) => tc(y, o.teamId),
|
|
4471
4493
|
onError: i
|
|
4472
|
-
}), { state:
|
|
4494
|
+
}), { state: f, execute: m } = D({
|
|
4473
4495
|
options: {
|
|
4474
4496
|
path: "/v2/players-stats",
|
|
4475
4497
|
apiKey: t.apiKey,
|
|
4476
4498
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4477
4499
|
},
|
|
4478
|
-
transform: (y) =>
|
|
4500
|
+
transform: (y) => Tt(y, o.teamId),
|
|
4479
4501
|
onError: i
|
|
4480
|
-
}), { state:
|
|
4502
|
+
}), { state: g, execute: z } = D({
|
|
4481
4503
|
options: {
|
|
4482
4504
|
path: "/v2/players-penalty",
|
|
4483
4505
|
apiKey: t.apiKey,
|
|
4484
4506
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4485
4507
|
},
|
|
4486
|
-
transform: (y) =>
|
|
4508
|
+
transform: (y) => Tt(y, o.teamId),
|
|
4487
4509
|
onError: i
|
|
4488
4510
|
}), { state: w, execute: N } = D({
|
|
4489
4511
|
options: {
|
|
@@ -4491,7 +4513,7 @@ const ic = {
|
|
|
4491
4513
|
apiKey: t.apiKey,
|
|
4492
4514
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4493
4515
|
},
|
|
4494
|
-
transform: (y) =>
|
|
4516
|
+
transform: (y) => Tt(y, o.teamId),
|
|
4495
4517
|
onError: i
|
|
4496
4518
|
});
|
|
4497
4519
|
se(
|
|
@@ -4509,27 +4531,27 @@ const ic = {
|
|
|
4509
4531
|
function L(y) {
|
|
4510
4532
|
switch (y) {
|
|
4511
4533
|
case Je:
|
|
4512
|
-
|
|
4534
|
+
p();
|
|
4513
4535
|
break;
|
|
4514
4536
|
case Qe:
|
|
4515
4537
|
v();
|
|
4516
4538
|
break;
|
|
4517
4539
|
case Xe:
|
|
4518
|
-
o.isStatsLoading = !0, te([N,
|
|
4540
|
+
o.isStatsLoading = !0, te([N, m, z], {
|
|
4519
4541
|
onFinished: () => {
|
|
4520
|
-
o.isStatsLoading = !1, o.statistics =
|
|
4542
|
+
o.isStatsLoading = !1, o.statistics = ac({
|
|
4521
4543
|
goalieStats: w.value,
|
|
4522
|
-
fieldPlayers:
|
|
4523
|
-
playersPenalty:
|
|
4544
|
+
fieldPlayers: f.value,
|
|
4545
|
+
playersPenalty: g.value
|
|
4524
4546
|
});
|
|
4525
4547
|
}
|
|
4526
4548
|
});
|
|
4527
4549
|
break;
|
|
4528
4550
|
}
|
|
4529
4551
|
}
|
|
4530
|
-
return (y, S) => xe(y.$slots, "default", ke(_e({ ...o, games: n(
|
|
4552
|
+
return (y, S) => xe(y.$slots, "default", ke(_e({ ...o, games: n(s), teamInfo: n(l), roster: n(u), fieldPlayers: n(f), fieldPlayersPenalty: n(g), onChangePage: A })));
|
|
4531
4553
|
}
|
|
4532
|
-
},
|
|
4554
|
+
}, lc = { class: "is-heading-2" }, sc = {
|
|
4533
4555
|
__name: "Games",
|
|
4534
4556
|
props: {
|
|
4535
4557
|
data: {
|
|
@@ -4556,26 +4578,26 @@ const ic = {
|
|
|
4556
4578
|
"powerplay",
|
|
4557
4579
|
"penaltyKilling"
|
|
4558
4580
|
],
|
|
4559
|
-
|
|
4581
|
+
Nt
|
|
4560
4582
|
),
|
|
4561
4583
|
null,
|
|
4562
|
-
_(() => ({ offsetName:
|
|
4584
|
+
_(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
|
|
4563
4585
|
);
|
|
4564
|
-
return (o, i) => (
|
|
4565
|
-
|
|
4586
|
+
return (o, i) => (d(), h(O, null, [
|
|
4587
|
+
c("h2", lc, b(n(a)("teams.games")), 1),
|
|
4566
4588
|
x(Za, {
|
|
4567
4589
|
rows: e.data,
|
|
4568
4590
|
columns: n(r),
|
|
4569
4591
|
"game-resolver": e.gameResolver,
|
|
4570
4592
|
"append-to": t.value
|
|
4571
4593
|
}, null, 8, ["rows", "columns", "game-resolver", "append-to"]),
|
|
4572
|
-
|
|
4594
|
+
c("div", {
|
|
4573
4595
|
ref_key: "tooltipContainer",
|
|
4574
4596
|
ref: t
|
|
4575
4597
|
}, null, 512)
|
|
4576
4598
|
], 64));
|
|
4577
4599
|
}
|
|
4578
|
-
},
|
|
4600
|
+
}, cc = { class: "is-heading-2" }, dc = ["href"], pc = ["href"], gc = {
|
|
4579
4601
|
__name: "Info",
|
|
4580
4602
|
props: {
|
|
4581
4603
|
data: {
|
|
@@ -4584,9 +4606,9 @@ const ic = {
|
|
|
4584
4606
|
}
|
|
4585
4607
|
},
|
|
4586
4608
|
setup(e) {
|
|
4587
|
-
const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(
|
|
4588
|
-
return (l,
|
|
4589
|
-
|
|
4609
|
+
const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(Zs), i = _(() => me((l) => ({ ...l, teamKeyIntl: r(`teams.info.${l.teamKey}`) }))(t.data));
|
|
4610
|
+
return (l, s) => (d(), h("div", null, [
|
|
4611
|
+
c("h2", cc, b(n(r)("teams.teamInfo")), 1),
|
|
4590
4612
|
x(n(ie), null, {
|
|
4591
4613
|
default: k(() => [
|
|
4592
4614
|
x(n(ce), {
|
|
@@ -4594,29 +4616,29 @@ const ic = {
|
|
|
4594
4616
|
rows: i.value,
|
|
4595
4617
|
"append-to": a.value
|
|
4596
4618
|
}, {
|
|
4597
|
-
"cell-teamValue": k(({ row:
|
|
4598
|
-
|
|
4619
|
+
"cell-teamValue": k(({ row: p }) => [
|
|
4620
|
+
p.teamKey === "organizationEmail" ? (d(), h("a", {
|
|
4599
4621
|
key: 0,
|
|
4600
|
-
href: `mailto:${
|
|
4601
|
-
},
|
|
4602
|
-
|
|
4622
|
+
href: `mailto:${p.teamValue}`
|
|
4623
|
+
}, b(p.teamValue), 9, dc)) : I("", !0),
|
|
4624
|
+
p.teamKey === "organizationWebpage" ? (d(), h("a", {
|
|
4603
4625
|
key: 1,
|
|
4604
|
-
href: `https://${
|
|
4626
|
+
href: `https://${p.teamValue}`,
|
|
4605
4627
|
target: "_blank"
|
|
4606
|
-
},
|
|
4628
|
+
}, b(p.teamValue), 9, pc)) : I("", !0)
|
|
4607
4629
|
]),
|
|
4608
4630
|
_: 1
|
|
4609
4631
|
}, 8, ["columns", "rows", "append-to"])
|
|
4610
4632
|
]),
|
|
4611
4633
|
_: 1
|
|
4612
4634
|
}),
|
|
4613
|
-
|
|
4635
|
+
c("div", {
|
|
4614
4636
|
ref_key: "tooltipContainer",
|
|
4615
4637
|
ref: a
|
|
4616
4638
|
}, null, 512)
|
|
4617
4639
|
]));
|
|
4618
4640
|
}
|
|
4619
|
-
},
|
|
4641
|
+
}, uc = { class: "is-heading-2" }, bc = {
|
|
4620
4642
|
__name: "Roster",
|
|
4621
4643
|
props: {
|
|
4622
4644
|
data: {
|
|
@@ -4638,9 +4660,9 @@ const ic = {
|
|
|
4638
4660
|
},
|
|
4639
4661
|
setup(e) {
|
|
4640
4662
|
const t = K(null), { t: a } = Q(), { columns: r } = ee(we(["teamName"], Qa));
|
|
4641
|
-
return (o, i) => (
|
|
4642
|
-
(
|
|
4643
|
-
|
|
4663
|
+
return (o, i) => (d(), h(O, null, [
|
|
4664
|
+
(d(!0), h(O, null, U(e.data, (l, s) => (d(), h(O, { key: s }, [
|
|
4665
|
+
c("h2", uc, b(n(a)(`teams.${s}`)), 1),
|
|
4644
4666
|
x(ar, {
|
|
4645
4667
|
rows: l,
|
|
4646
4668
|
columns: n(r),
|
|
@@ -4649,13 +4671,13 @@ const ic = {
|
|
|
4649
4671
|
"append-to": t.value
|
|
4650
4672
|
}, null, 8, ["rows", "columns", "championship-id", "player-resolver", "append-to"])
|
|
4651
4673
|
], 64))), 128)),
|
|
4652
|
-
|
|
4674
|
+
c("div", {
|
|
4653
4675
|
ref_key: "tooltipContainer",
|
|
4654
4676
|
ref: t
|
|
4655
4677
|
}, null, 512)
|
|
4656
4678
|
], 64));
|
|
4657
4679
|
}
|
|
4658
|
-
},
|
|
4680
|
+
}, mc = { class: "is-heading-2" }, vc = { class: "is-portrait-image" }, hc = ["href", "textContent"], fc = { class: "is-heading-2" }, yc = { class: "is-portrait-image" }, wc = ["href", "textContent"], xc = {
|
|
4659
4681
|
__name: "Statistics",
|
|
4660
4682
|
props: {
|
|
4661
4683
|
fieldPlayers: {
|
|
@@ -4701,8 +4723,8 @@ const ic = {
|
|
|
4701
4723
|
],
|
|
4702
4724
|
Ne
|
|
4703
4725
|
), r = K(null), { t: o } = Q(), { columns: i } = ee(t), { columns: l } = ee(a);
|
|
4704
|
-
return (
|
|
4705
|
-
|
|
4726
|
+
return (s, p) => (d(), h("div", null, [
|
|
4727
|
+
c("h2", mc, b(n(o)("teams.fieldPlayers")), 1),
|
|
4706
4728
|
x(n(ie), null, {
|
|
4707
4729
|
default: k(() => [
|
|
4708
4730
|
x(n(ce), {
|
|
@@ -4711,27 +4733,27 @@ const ic = {
|
|
|
4711
4733
|
"is-loading": e.isLoading,
|
|
4712
4734
|
"append-to": r.value
|
|
4713
4735
|
}, {
|
|
4714
|
-
"cell-playerPortrait": k(({ row:
|
|
4715
|
-
|
|
4716
|
-
(
|
|
4717
|
-
key:
|
|
4718
|
-
src:
|
|
4719
|
-
"default-src": n(
|
|
4736
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
4737
|
+
c("div", vc, [
|
|
4738
|
+
(d(), $(n(V), {
|
|
4739
|
+
key: u.player.playerId,
|
|
4740
|
+
src: u.player.picture,
|
|
4741
|
+
"default-src": n(Zt)
|
|
4720
4742
|
}, null, 8, ["src", "default-src"]))
|
|
4721
4743
|
])
|
|
4722
4744
|
]),
|
|
4723
|
-
"cell-name": k(({ row:
|
|
4724
|
-
|
|
4725
|
-
href: e.externalPlayerResolver({ ...
|
|
4726
|
-
textContent: u
|
|
4727
|
-
}, null, 8,
|
|
4745
|
+
"cell-name": k(({ row: u }) => [
|
|
4746
|
+
c("a", {
|
|
4747
|
+
href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
|
|
4748
|
+
textContent: b(u.name)
|
|
4749
|
+
}, null, 8, hc)
|
|
4728
4750
|
]),
|
|
4729
4751
|
_: 1
|
|
4730
4752
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
4731
4753
|
]),
|
|
4732
4754
|
_: 1
|
|
4733
4755
|
}),
|
|
4734
|
-
|
|
4756
|
+
c("h2", fc, b(n(o)("teams.goalies")), 1),
|
|
4735
4757
|
x(n(ie), null, {
|
|
4736
4758
|
default: k(() => [
|
|
4737
4759
|
x(n(ce), {
|
|
@@ -4740,36 +4762,36 @@ const ic = {
|
|
|
4740
4762
|
"is-loading": e.isLoading,
|
|
4741
4763
|
"append-to": r.value
|
|
4742
4764
|
}, {
|
|
4743
|
-
"cell-playerPortrait": k(({ row:
|
|
4744
|
-
|
|
4745
|
-
(
|
|
4746
|
-
key:
|
|
4747
|
-
src:
|
|
4748
|
-
"default-src": n(
|
|
4765
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
4766
|
+
c("div", yc, [
|
|
4767
|
+
(d(), $(n(V), {
|
|
4768
|
+
key: u.player.playerId,
|
|
4769
|
+
src: u.player.picture,
|
|
4770
|
+
"default-src": n(Zt)
|
|
4749
4771
|
}, null, 8, ["src", "default-src"]))
|
|
4750
4772
|
])
|
|
4751
4773
|
]),
|
|
4752
|
-
"cell-name": k(({ row:
|
|
4753
|
-
|
|
4754
|
-
href: e.externalPlayerResolver({ ...
|
|
4755
|
-
textContent: u
|
|
4756
|
-
}, null, 8,
|
|
4774
|
+
"cell-name": k(({ row: u }) => [
|
|
4775
|
+
c("a", {
|
|
4776
|
+
href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
|
|
4777
|
+
textContent: b(u.name)
|
|
4778
|
+
}, null, 8, wc)
|
|
4757
4779
|
]),
|
|
4758
4780
|
_: 1
|
|
4759
4781
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
4760
4782
|
]),
|
|
4761
4783
|
_: 1
|
|
4762
4784
|
}),
|
|
4763
|
-
|
|
4785
|
+
c("div", {
|
|
4764
4786
|
ref_key: "tooltipContainer",
|
|
4765
4787
|
ref: r
|
|
4766
4788
|
}, null, 512)
|
|
4767
4789
|
]));
|
|
4768
4790
|
}
|
|
4769
|
-
},
|
|
4791
|
+
}, kc = ".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)}}", lr = `.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)}`, _c = ".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}", zc = { class: "is-mb-5" }, Sc = { class: "is-heading-1 is-uppercase is-mb-5" }, Tc = {
|
|
4770
4792
|
class: "main-image-wrapper",
|
|
4771
4793
|
style: { "--overlay-radius": "0px" }
|
|
4772
|
-
},
|
|
4794
|
+
}, Ic = { class: "is-main-image" }, Pc = { class: "is-ovarlay-image" }, Nc = { class: "is-mt-5" }, $c = ["onClick"], Ac = ["onClick"], Lc = ["onClick"], Cc = ["onClick"], Ec = {
|
|
4773
4795
|
__name: "Team.ce",
|
|
4774
4796
|
props: {
|
|
4775
4797
|
locale: {
|
|
@@ -4798,79 +4820,79 @@ const ic = {
|
|
|
4798
4820
|
}
|
|
4799
4821
|
},
|
|
4800
4822
|
setup(e) {
|
|
4801
|
-
const t = e, a = { en: ue, hu: be }, r = (i) =>
|
|
4802
|
-
return (i, l) => (
|
|
4823
|
+
const t = e, a = { en: ue, hu: be }, r = (i) => Ot(t.externalPlayerResolver, i), o = (i) => it(t.externalGameResolver, i);
|
|
4824
|
+
return (i, l) => (d(), h("div", zc, [
|
|
4803
4825
|
x(n(pe), {
|
|
4804
4826
|
locale: t.locale,
|
|
4805
4827
|
messages: a
|
|
4806
4828
|
}, {
|
|
4807
|
-
default: k(({ t:
|
|
4829
|
+
default: k(({ t: s }) => [
|
|
4808
4830
|
x(n(ze), null, {
|
|
4809
|
-
default: k(({ hasError:
|
|
4810
|
-
|
|
4831
|
+
default: k(({ hasError: p, error: u }) => [
|
|
4832
|
+
p ? (d(), $(n(Se), {
|
|
4811
4833
|
key: 0,
|
|
4812
|
-
error:
|
|
4834
|
+
error: u
|
|
4813
4835
|
}, null, 8, ["error"])) : I("", !0),
|
|
4814
|
-
x(
|
|
4836
|
+
x(nc, {
|
|
4815
4837
|
"api-key": t.apiKey,
|
|
4816
4838
|
"championship-id": e.championshipId,
|
|
4817
4839
|
"team-id": e.teamId
|
|
4818
4840
|
}, {
|
|
4819
4841
|
default: k(({
|
|
4820
4842
|
teamInfo: v,
|
|
4821
|
-
page:
|
|
4822
|
-
roster:
|
|
4823
|
-
games:
|
|
4843
|
+
page: f,
|
|
4844
|
+
roster: m,
|
|
4845
|
+
games: g,
|
|
4824
4846
|
statistics: z,
|
|
4825
4847
|
isStatsLoading: w,
|
|
4826
4848
|
onChangePage: N
|
|
4827
4849
|
}) => {
|
|
4828
4850
|
var A, L, y, S, T;
|
|
4829
4851
|
return [
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
(
|
|
4852
|
+
c("h1", Sc, b((A = v == null ? void 0 : v.team) == null ? void 0 : A.longName), 1),
|
|
4853
|
+
c("div", Tc, [
|
|
4854
|
+
c("div", Ic, [
|
|
4855
|
+
(d(), $(n(V), {
|
|
4834
4856
|
key: (L = v == null ? void 0 : v.team) == null ? void 0 : L.id,
|
|
4835
4857
|
src: (y = v == null ? void 0 : v.team) == null ? void 0 : y.teamPhoto,
|
|
4836
4858
|
"default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
|
|
4837
4859
|
}, null, 8, ["src"]))
|
|
4838
4860
|
]),
|
|
4839
|
-
|
|
4840
|
-
(
|
|
4861
|
+
c("div", Pc, [
|
|
4862
|
+
(d(), $(n(V), {
|
|
4841
4863
|
key: (S = v == null ? void 0 : v.team) == null ? void 0 : S.id,
|
|
4842
4864
|
src: (T = v == null ? void 0 : v.team) == null ? void 0 : T.logo
|
|
4843
4865
|
}, null, 8, ["src"]))
|
|
4844
4866
|
])
|
|
4845
4867
|
]),
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
class: G(["tab-button", { "is-active":
|
|
4868
|
+
c("div", Nc, [
|
|
4869
|
+
c("button", {
|
|
4870
|
+
class: G(["tab-button", { "is-active": f === n(He) }]),
|
|
4849
4871
|
onClick: (C) => N(n(He))
|
|
4850
|
-
},
|
|
4851
|
-
|
|
4852
|
-
class: G(["tab-button", { "is-active":
|
|
4872
|
+
}, b(s("teams.tabs.teamInfo")), 11, $c),
|
|
4873
|
+
c("button", {
|
|
4874
|
+
class: G(["tab-button", { "is-active": f === n(Je) }]),
|
|
4853
4875
|
onClick: (C) => N(n(Je))
|
|
4854
|
-
},
|
|
4855
|
-
|
|
4856
|
-
class: G(["tab-button", { "is-active":
|
|
4876
|
+
}, b(s("teams.tabs.games")), 11, Ac),
|
|
4877
|
+
c("button", {
|
|
4878
|
+
class: G(["tab-button", { "is-active": f === n(Xe) }]),
|
|
4857
4879
|
onClick: (C) => N(n(Xe))
|
|
4858
|
-
},
|
|
4859
|
-
|
|
4860
|
-
class: G(["tab-button", { "is-active":
|
|
4880
|
+
}, b(s("teams.playerStats")), 11, Lc),
|
|
4881
|
+
c("button", {
|
|
4882
|
+
class: G(["tab-button", { "is-active": f === n(Qe) }]),
|
|
4861
4883
|
onClick: (C) => N(n(Qe))
|
|
4862
|
-
},
|
|
4884
|
+
}, b(s("teams.roster")), 11, Cc)
|
|
4863
4885
|
]),
|
|
4864
|
-
|
|
4886
|
+
f === n(He) ? (d(), $(gc, {
|
|
4865
4887
|
key: 0,
|
|
4866
4888
|
data: v.organizationInfo
|
|
4867
4889
|
}, null, 8, ["data"])) : I("", !0),
|
|
4868
|
-
|
|
4890
|
+
f === n(Je) ? (d(), $(sc, {
|
|
4869
4891
|
key: 1,
|
|
4870
|
-
data:
|
|
4892
|
+
data: g,
|
|
4871
4893
|
"game-resolver": o
|
|
4872
4894
|
}, null, 8, ["data"])) : I("", !0),
|
|
4873
|
-
|
|
4895
|
+
f === n(Xe) ? (d(), $(xc, {
|
|
4874
4896
|
key: 2,
|
|
4875
4897
|
"field-players": z.fieldPlayers,
|
|
4876
4898
|
goalies: z.goalies,
|
|
@@ -4878,9 +4900,9 @@ const ic = {
|
|
|
4878
4900
|
"is-loading": w,
|
|
4879
4901
|
"external-player-resolver": r
|
|
4880
4902
|
}, null, 8, ["field-players", "goalies", "championship-id", "is-loading"])) : I("", !0),
|
|
4881
|
-
|
|
4903
|
+
f === n(Qe) ? (d(), $(bc, {
|
|
4882
4904
|
key: 3,
|
|
4883
|
-
data:
|
|
4905
|
+
data: m,
|
|
4884
4906
|
"championship-id": e.championshipId,
|
|
4885
4907
|
"external-player-resolver": r
|
|
4886
4908
|
}, null, 8, ["data", "championship-id"])) : I("", !0)
|
|
@@ -4896,7 +4918,7 @@ const ic = {
|
|
|
4896
4918
|
}, 8, ["locale"])
|
|
4897
4919
|
]));
|
|
4898
4920
|
}
|
|
4899
|
-
},
|
|
4921
|
+
}, Oc = /* @__PURE__ */ he(Ec, [["styles", [ve, Ke, Ut, kc, lr, _c, or, ir]]]), jc = {
|
|
4900
4922
|
__name: "DataProvider",
|
|
4901
4923
|
props: {
|
|
4902
4924
|
championshipName: {
|
|
@@ -4923,12 +4945,12 @@ const ic = {
|
|
|
4923
4945
|
apiKey: t.apiKey,
|
|
4924
4946
|
params: { championshipName: r.championshipName }
|
|
4925
4947
|
},
|
|
4926
|
-
transform: (
|
|
4948
|
+
transform: (m) => vt(m, r),
|
|
4927
4949
|
onError: o
|
|
4928
4950
|
}), {
|
|
4929
|
-
isLoading:
|
|
4930
|
-
state:
|
|
4931
|
-
execute:
|
|
4951
|
+
isLoading: s,
|
|
4952
|
+
state: p,
|
|
4953
|
+
execute: u
|
|
4932
4954
|
} = D({
|
|
4933
4955
|
options: {
|
|
4934
4956
|
path: "/v2/championship-teams",
|
|
@@ -4937,23 +4959,23 @@ const ic = {
|
|
|
4937
4959
|
},
|
|
4938
4960
|
transform: Xa,
|
|
4939
4961
|
onError: o
|
|
4940
|
-
}), v =
|
|
4941
|
-
te([l,
|
|
4942
|
-
function
|
|
4943
|
-
r.championshipId =
|
|
4962
|
+
}), v = Lt([i, s], { delay: 1e3 });
|
|
4963
|
+
te([l, u]);
|
|
4964
|
+
function f(m) {
|
|
4965
|
+
r.championshipId = m, a.championshipId = m, te([u]);
|
|
4944
4966
|
}
|
|
4945
|
-
return (
|
|
4967
|
+
return (m, g) => xe(m.$slots, "default", ke(_e({
|
|
4946
4968
|
...r,
|
|
4947
|
-
teams: n(
|
|
4969
|
+
teams: n(p),
|
|
4948
4970
|
isLoading: n(v),
|
|
4949
|
-
changeSeason:
|
|
4971
|
+
changeSeason: f
|
|
4950
4972
|
})));
|
|
4951
4973
|
}
|
|
4952
|
-
},
|
|
4974
|
+
}, Rc = ".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}", Fc = {
|
|
4953
4975
|
key: 1,
|
|
4954
4976
|
class: "wrapped-grid",
|
|
4955
4977
|
style: { "--min-width": "80px", "--max-width": "160px" }
|
|
4956
|
-
},
|
|
4978
|
+
}, Gc = ["href"], Mc = {
|
|
4957
4979
|
__name: "Teams.ce",
|
|
4958
4980
|
props: {
|
|
4959
4981
|
locale: {
|
|
@@ -4978,45 +5000,45 @@ const ic = {
|
|
|
4978
5000
|
function r(o, i) {
|
|
4979
5001
|
return lt(t.externalTeamResolver, { team: { id: o }, championshipId: i });
|
|
4980
5002
|
}
|
|
4981
|
-
return (o, i) => (
|
|
5003
|
+
return (o, i) => (d(), h("div", null, [
|
|
4982
5004
|
x(n(pe), {
|
|
4983
5005
|
locale: t.locale,
|
|
4984
5006
|
messages: a
|
|
4985
5007
|
}, {
|
|
4986
5008
|
default: k(() => [
|
|
4987
5009
|
x(n(ze), null, {
|
|
4988
|
-
default: k(({ error: l, hasError:
|
|
4989
|
-
|
|
5010
|
+
default: k(({ error: l, hasError: s }) => [
|
|
5011
|
+
s ? (d(), $(n(Se), {
|
|
4990
5012
|
key: 0,
|
|
4991
5013
|
error: l
|
|
4992
5014
|
}, null, 8, ["error"])) : I("", !0),
|
|
4993
|
-
x(
|
|
5015
|
+
x(jc, {
|
|
4994
5016
|
"api-key": t.apiKey,
|
|
4995
5017
|
locale: e.locale,
|
|
4996
5018
|
"championship-name": e.championshipName
|
|
4997
5019
|
}, {
|
|
4998
|
-
default: k(({ teams:
|
|
5020
|
+
default: k(({ teams: p, seasons: u, isLoading: v, championshipId: f, changeSeason: m }) => [
|
|
4999
5021
|
x(n(fa), {
|
|
5000
|
-
seasons:
|
|
5001
|
-
"championship-id":
|
|
5022
|
+
seasons: u,
|
|
5023
|
+
"championship-id": f,
|
|
5002
5024
|
"is-section-selection-disabled": "",
|
|
5003
|
-
onOnChangeSeason:
|
|
5025
|
+
onOnChangeSeason: m
|
|
5004
5026
|
}, null, 8, ["seasons", "championship-id", "onOnChangeSeason"]),
|
|
5005
|
-
v ? (
|
|
5006
|
-
(
|
|
5007
|
-
key:
|
|
5027
|
+
v ? (d(), $(n($t), { key: 0 })) : (d(), h("ul", Fc, [
|
|
5028
|
+
(d(!0), h(O, null, U(p, (g) => (d(), h("li", {
|
|
5029
|
+
key: g.teamId
|
|
5008
5030
|
}, [
|
|
5009
|
-
|
|
5010
|
-
href: r(
|
|
5031
|
+
c("a", {
|
|
5032
|
+
href: r(g.teamId, f),
|
|
5011
5033
|
class: "is-text-lg is-text-bold"
|
|
5012
5034
|
}, [
|
|
5013
|
-
(
|
|
5014
|
-
key:
|
|
5035
|
+
(d(), $(n(V), {
|
|
5036
|
+
key: g.teamId,
|
|
5015
5037
|
class: "is-team-logo",
|
|
5016
|
-
src:
|
|
5038
|
+
src: g.teamLogo
|
|
5017
5039
|
}, null, 8, ["src"])),
|
|
5018
|
-
W(" " +
|
|
5019
|
-
], 8,
|
|
5040
|
+
W(" " + b(g.teamName), 1)
|
|
5041
|
+
], 8, Gc)
|
|
5020
5042
|
]))), 128))
|
|
5021
5043
|
]))
|
|
5022
5044
|
]),
|
|
@@ -5030,30 +5052,30 @@ const ic = {
|
|
|
5030
5052
|
}, 8, ["locale"])
|
|
5031
5053
|
]));
|
|
5032
5054
|
}
|
|
5033
|
-
},
|
|
5034
|
-
function
|
|
5035
|
-
customElements.define("mjsz-vbr-statistics",
|
|
5055
|
+
}, Dc = /* @__PURE__ */ he(Mc, [["styles", [ve, Ke, Kt, Rc, lr, tr]]]), Kc = de(Qs), Uc = de(Yl), Bc = de(Bn), Vc = de(Ss), qc = de(Dc), Wc = de(Oc), Yc = de(wn), Hc = de(nn);
|
|
5056
|
+
function Jc() {
|
|
5057
|
+
customElements.define("mjsz-vbr-statistics", Kc), customElements.define("mjsz-vbr-schedule-liga", Uc), customElements.define("mjsz-vbr-playoffs", Bc), customElements.define("mjsz-vbr-standings-liga", Vc), customElements.define("mjsz-vbr-teams-liga", qc), customElements.define("mjsz-vbr-players-liga", Yc), customElements.define("mjsz-vbr-player-liga", Hc), customElements.define("mjsz-vbr-team-liga", Wc);
|
|
5036
5058
|
}
|
|
5037
|
-
const
|
|
5038
|
-
install: () =>
|
|
5059
|
+
const od = {
|
|
5060
|
+
install: () => Jc()
|
|
5039
5061
|
};
|
|
5040
5062
|
export {
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5063
|
+
nn as PlayerLiga,
|
|
5064
|
+
Hc as PlayerLigaCE,
|
|
5065
|
+
wn as PlayersLiga,
|
|
5066
|
+
Yc as PlayersLigaCE,
|
|
5067
|
+
Bn as Playoffs,
|
|
5068
|
+
Bc as PlayoffsCE,
|
|
5069
|
+
Yl as ScheduleLiga,
|
|
5070
|
+
Uc as ScheduleLigaCE,
|
|
5071
|
+
Ss as StandingsLiga,
|
|
5072
|
+
Vc as StandingsLigaCE,
|
|
5073
|
+
Qs as Statistics,
|
|
5074
|
+
Kc as StatisticsCE,
|
|
5075
|
+
Oc as TeamLiga,
|
|
5076
|
+
Wc as TeamLigaCE,
|
|
5077
|
+
Dc as TeamsLiga,
|
|
5078
|
+
qc as TeamsLigaCE,
|
|
5079
|
+
od as default,
|
|
5080
|
+
Jc as register
|
|
5059
5081
|
};
|