@mjsz-vbr-elements/liga 2.38.4 → 2.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/liga
3
- * version: v2.38.4 - 20/12/2025, 18:01:14
3
+ * version: v2.39.0 - 21/12/2025, 15:29:34
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { computed as x, toValue as he, shallowRef as Qe, isRef as Ce, watch as ue, shallowReadonly as Ot, getCurrentScope as wa, onScopeDispose as fa, readonly as Gt, toRef as Dt, ref as j, customRef as ya, reactive as Z, getCurrentInstance as xa, nextTick as ka, unref as a, renderSlot as fe, normalizeProps as ye, guardReactiveProps as xe, createBlock as N, openBlock as n, withCtx as y, createVNode as f, createTextVNode as V, toDisplayString as v, createElementBlock as g, createCommentVNode as _, normalizeClass as H, createElementVNode as s, setBlockTracking as St, Fragment as A, renderList as F, mergeProps as vt, toRefs as Mt, withDirectives as _a, vModelText as za, toHandlers as Sa, defineCustomElement as re } from "vue";
8
+ import { computed as x, toValue as he, shallowRef as Qe, isRef as Ce, watch as ue, shallowReadonly as Ot, getCurrentScope as fa, onScopeDispose as wa, readonly as Gt, toRef as Dt, ref as j, customRef as ya, reactive as Z, getCurrentInstance as xa, nextTick as ka, unref as a, renderSlot as we, normalizeProps as ye, guardReactiveProps as xe, createBlock as N, openBlock as n, withCtx as y, createVNode as w, createTextVNode as V, toDisplayString as v, createElementBlock as u, createCommentVNode as _, normalizeClass as H, createElementVNode as s, setBlockTracking as St, Fragment as A, renderList as F, mergeProps as vt, toRefs as Mt, withDirectives as _a, vModelText as za, toHandlers as Sa, defineCustomElement as re } from "vue";
9
9
  import { ResponsiveTable as oe, DataTable as ge, FloatingPanel as Ft, Image as B, I18NProvider as le, ErrorProvider as ke, ErrorNotice as ie, SeasonSelector as ht, FormField as X, Paginator as Kt, LoadingIndicator as Oe, BaseSelect as pe, TimezoneSelector as Ta, AdditionalStandingsText as Tt, StatisticsTable as Ia } from "@mjsz-vbr-elements/core/components";
10
10
  import { useError as be, useServices as O, useI18n as q, useColumns as ee, usePage as jt, useSort as ut, useLazyLoadingState as gt, useErrorProvider as Bt, useScrollToGameDate as Pa, useVisibilityChange as $a, fetchVBRData as Fe } from "@mjsz-vbr-elements/core/composables";
11
11
  import * as nt from "@mjsz-vbr-elements/core/utils";
12
- import { WidgetError as Vt, InvalidSeasonName as He, convertSeasons as Ut, head as Pe, selectLastSections as Na, convertTeams as bt, removeUnneededPhases as La, selectFirstPhaseName as Ca, rawConvert as Xe, yearToNow as Ea, reverse as Ra, teamName as Yt, convertTimesMinToMinSec as Wt, sortGames as wt, gameDateTime as Ht, teamResultType as qt, gameResult as Jt, teamOpponent as Qt, getLocalTimezone as Ze, removeCurrentFromSeasonStats as Aa, transformCurrentSeasonStats as Oa, pick as ve, omit as $e, offsetName as ft, externalGameLinkResolver as et, isEmpty as Xt, flagResolver as Zt, transformPlayers as Ga, convert as W, externalTeamLinkResolver as Ge, externalPlayerLinkResolver as tt, format as qe, sortBy as ea, isBetween as Da, last as ta, scrollToTop as It, clone as Ma, standingTableSort as Fa, prop as Ka, convertPhaseName as ja, path as Ba, playerName as Va, convertTimesSecToMin as Ua, convertAddress as Ya, map as Wa, transformRosters as Ha, transformFieledPlayersStats as st, mergePlayerStats as qa, externalStatisticLinkResolver as Ja } from "@mjsz-vbr-elements/core/utils";
12
+ import { WidgetError as Vt, InvalidSeasonName as He, convertSeasons as Ut, head as Pe, selectLastSections as Na, convertTeams as bt, removeUnneededPhases as La, selectFirstPhaseName as Ca, rawConvert as Xe, yearToNow as Ea, reverse as Ra, teamName as Yt, convertTimesMinToMinSec as Wt, sortGames as ft, gameDateTime as Ht, teamResultType as qt, gameResult as Jt, teamOpponent as Qt, getLocalTimezone as Ze, removeCurrentFromSeasonStats as Aa, transformCurrentSeasonStats as Oa, pick as ve, omit as $e, offsetName as wt, externalGameLinkResolver as et, isEmpty as Xt, flagResolver as Zt, transformPlayers as Ga, convert as W, externalTeamLinkResolver as Ge, externalPlayerLinkResolver as tt, format as qe, sortBy as ea, isBetween as Da, last as ta, scrollToTop as It, clone as Ma, standingTableSort as Fa, prop as Ka, convertPhaseName as ja, path as Ba, playerName as Va, convertTimesSecToMin as Ua, convertAddress as Ya, map as Wa, transformRosters as Ha, transformFieledPlayersStats as st, mergePlayerStats as qa, externalStatisticLinkResolver as Ja } from "@mjsz-vbr-elements/core/utils";
13
13
  import { SORT_STATE_ASCEND as Le, DEFAULT_PORTRAIT_IMAGE_URL as Je, REFRESH_DELAY as Pt } from "@mjsz-vbr-elements/core/constants";
14
14
  import { COLUMNS_STANDINGS_P_3 as Qa, COLUMNS_FIELD_PLAYERS as Ke, COLUMNS_FIELD_PLAYERS_PENALTY as Xa, COLUMNS_FIELD_PLAYERS_TOI as Za, COLUMNS_GOALIES as $t, COLUMNS_TEAM_ATTENDANCE as eo, COLUMNS_TEAMS_FAIRPLAY as to, COLUMNS_TEAMS_PENALTY_KILLING as ao, COLUMNS_TEAMS_POWERPLAY as oo, COLUMNS_SCORING_EFFICIENCY as ro } from "@mjsz-vbr-elements/core/columns";
15
15
  import { SORT_STATE_DESCEND as G } from "@mjsz-vbr-elements/core";
@@ -22,18 +22,18 @@ const lo = { report: "Report", video: "Video", season: "Season", section: "Secti
22
22
  players: mo,
23
23
  standings: po,
24
24
  nationality: vo
25
- }, ho = { report: "Riport", video: "Videó", season: "Szezon", section: "Szakasz", phases: "Szakaszok", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég" }, uo = { nationality: { short: "Nemzetiség", tooltip: "Nemzetiség" }, birthDate: { short: "Szülétési idő", tooltip: "Szülétési idő" }, birthPlace: { short: "Születési hely", tooltip: "Születési hely" }, season: { short: "Szezon", tooltip: "Szezon" }, pp: { short: "PP", tooltip: "Emberelőnyök" }, pk: { short: "PK", tooltip: "Emberhátrányos Védekezés" } }, go = { toi: "Jégen töltött idő", points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, bo = { Negyeddöntő: "Negyeddöntő", Elődöntő: "Elődöntő", Döntő: "Döntő" }, wo = { tabs: { teamInfo: "Információk", games: "Mérkőzések" }, goalies: "Kapusok", defenders: "Védők", forwards: "Támadók", fieldPlayers: "Mezőnyjátékosok", games: "Lejátszott mérkőzések", teamInfo: "Szervezeti Információk", roster: "Játékoskeret", playerStats: "Játékos statisztikák", info: { organizationName: "Szervezet neve:", organizationCountry: "Szervezet országa:", organizationEmail: "Szervezet e-mail címe:", organizationWebpage: "Szervezet honlapja:", organizationPhoneNumber: "Szervezet telefonszáma:", organizationAddresses: "Szervezet címe:", organizationFoundingDate: "Szervezet alapítási éve:" } }, fo = { age: "{years}es", games: "Mérkőzések", seasons: "Szezonok" }, yo = { live: "Élő", default: "Összesített" }, xo = { hu: "Magyar", ro: "Román", us: "Amerikai", il: "Izraeli", ca: "Kanadai", lv: "Lett", ee: "Észt", ru: "Orosz", fi: "Finn", si: "Szlovén", sk: "Szlovák", nl: "Holland", by: "Fehérorosz", cz: "Cseh", ua: "Ukrán", lt: "Litván", it: "Olasz", "gb-eng": "Angol", rs: "Szerb", se: "Svéd", de: "Német", gb: "Brit", kz: "Kazah", dk: "Dán", pl: "Lengyel", at: "Osztrák", ch: "Svájci", fr: "Francia", es: "Spanyol", hr: "Horvát", no: "Norvég" }, se = {
25
+ }, ho = { report: "Riport", video: "Videó", season: "Szezon", section: "Szakasz", phases: "Szakaszok", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég" }, uo = { nationality: { short: "Nemzetiség", tooltip: "Nemzetiség" }, birthDate: { short: "Szülétési idő", tooltip: "Szülétési idő" }, birthPlace: { short: "Születési hely", tooltip: "Születési hely" }, season: { short: "Szezon", tooltip: "Szezon" }, pp: { short: "PP", tooltip: "Emberelőnyök" }, pk: { short: "PK", tooltip: "Emberhátrányos Védekezés" } }, go = { toi: "Jégen töltött idő", points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, bo = { Negyeddöntő: "Negyeddöntő", Elődöntő: "Elődöntő", Döntő: "Döntő" }, fo = { tabs: { teamInfo: "Információk", games: "Mérkőzések" }, goalies: "Kapusok", defenders: "Védők", forwards: "Támadók", fieldPlayers: "Mezőnyjátékosok", games: "Lejátszott mérkőzések", teamInfo: "Szervezeti Információk", roster: "Játékoskeret", playerStats: "Játékos statisztikák", info: { organizationName: "Szervezet neve:", organizationCountry: "Szervezet országa:", organizationEmail: "Szervezet e-mail címe:", organizationWebpage: "Szervezet honlapja:", organizationPhoneNumber: "Szervezet telefonszáma:", organizationAddresses: "Szervezet címe:", organizationFoundingDate: "Szervezet alapítási éve:" } }, wo = { age: "{years}es", games: "Mérkőzések", seasons: "Szezonok" }, yo = { live: "Élő", default: "Összesített" }, xo = { hu: "Magyar", ro: "Román", us: "Amerikai", il: "Izraeli", ca: "Kanadai", lv: "Lett", ee: "Észt", ru: "Orosz", fi: "Finn", si: "Szlovén", sk: "Szlovák", nl: "Holland", by: "Fehérorosz", cz: "Cseh", ua: "Ukrán", lt: "Litván", it: "Olasz", "gb-eng": "Angol", rs: "Szerb", se: "Svéd", de: "Német", gb: "Brit", kz: "Kazah", dk: "Dán", pl: "Lengyel", at: "Osztrák", ch: "Svájci", fr: "Francia", es: "Spanyol", hr: "Horvát", no: "Norvég" }, se = {
26
26
  selection: ho,
27
27
  table: uo,
28
28
  report: go,
29
29
  playoffs: bo,
30
- teams: wo,
31
- players: fo,
30
+ teams: fo,
31
+ players: wo,
32
32
  standings: yo,
33
33
  nationality: xo
34
34
  };
35
35
  function Ee(e) {
36
- return wa() ? (fa(e), !0) : !1;
36
+ return fa() ? (wa(e), !0) : !1;
37
37
  }
38
38
  const Re = typeof window < "u" && typeof document < "u";
39
39
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -91,7 +91,7 @@ function $o(e, t, i = {}) {
91
91
  eventFilter: o,
92
92
  initialState: r = "active",
93
93
  ...l
94
- } = i, { eventFilter: d, pause: p, resume: u, isActive: m } = Io(o, { initialState: r });
94
+ } = i, { eventFilter: d, pause: p, resume: g, isActive: m } = Io(o, { initialState: r });
95
95
  return { stop: Po(
96
96
  e,
97
97
  t,
@@ -99,7 +99,7 @@ function $o(e, t, i = {}) {
99
99
  ...l,
100
100
  eventFilter: d
101
101
  }
102
- ), pause: p, resume: u, isActive: m };
102
+ ), pause: p, resume: g, isActive: m };
103
103
  }
104
104
  function No(e, t) {
105
105
  return x(() => he(e).some((i, o, r) => t(he(i), o, r)));
@@ -114,22 +114,22 @@ function Lo(e, t = 1e3, i = {}) {
114
114
  function p() {
115
115
  l && (clearInterval(l), l = null);
116
116
  }
117
- function u() {
117
+ function g() {
118
118
  d.value = !1, p();
119
119
  }
120
120
  function m() {
121
- const w = he(t);
122
- w <= 0 || (d.value = !0, r && e(), p(), d.value && (l = setInterval(e, w)));
121
+ const f = he(t);
122
+ f <= 0 || (d.value = !0, r && e(), p(), d.value && (l = setInterval(e, f)));
123
123
  }
124
124
  if (o && Re && m(), Ce(t) || typeof t == "function") {
125
- const w = ue(t, () => {
125
+ const f = ue(t, () => {
126
126
  d.value && Re && m();
127
127
  });
128
- Ee(w);
128
+ Ee(f);
129
129
  }
130
- return Ee(u), {
130
+ return Ee(g), {
131
131
  isActive: Ot(d),
132
- pause: u,
132
+ pause: g,
133
133
  resume: m
134
134
  };
135
135
  }
@@ -142,18 +142,18 @@ function oa(e, t, i = {}) {
142
142
  function p() {
143
143
  d && (clearTimeout(d), d = void 0);
144
144
  }
145
- function u() {
145
+ function g() {
146
146
  l.value = !1, p();
147
147
  }
148
- function m(...w) {
148
+ function m(...f) {
149
149
  r && e(), p(), l.value = !0, d = setTimeout(() => {
150
- l.value = !1, d = void 0, e(...w);
150
+ l.value = !1, d = void 0, e(...f);
151
151
  }, he(t));
152
152
  }
153
- return o && (l.value = !0, Re && m()), Ee(u), {
153
+ return o && (l.value = !0, Re && m()), Ee(g), {
154
154
  isPending: Ot(l),
155
155
  start: m,
156
- stop: u
156
+ stop: g
157
157
  };
158
158
  }
159
159
  function Co(e, t, i) {
@@ -185,27 +185,27 @@ function la(e) {
185
185
  function Nt(...e) {
186
186
  const t = [], i = () => {
187
187
  t.forEach((p) => p()), t.length = 0;
188
- }, o = (p, u, m, w) => (p.addEventListener(u, m, w), () => p.removeEventListener(u, m, w)), r = x(() => {
189
- const p = ct(he(e[0])).filter((u) => u != null);
190
- return p.every((u) => typeof u != "string") ? p : void 0;
188
+ }, o = (p, g, m, f) => (p.addEventListener(g, m, f), () => p.removeEventListener(g, m, f)), r = x(() => {
189
+ const p = ct(he(e[0])).filter((g) => g != null);
190
+ return p.every((g) => typeof g != "string") ? p : void 0;
191
191
  }), l = Co(
192
192
  () => {
193
- var p, u;
193
+ var p, g;
194
194
  return [
195
- (u = (p = r.value) == null ? void 0 : p.map((m) => la(m))) != null ? u : [ra].filter((m) => m != null),
195
+ (g = (p = r.value) == null ? void 0 : p.map((m) => la(m))) != null ? g : [ra].filter((m) => m != null),
196
196
  ct(he(r.value ? e[1] : e[0])),
197
197
  ct(a(r.value ? e[2] : e[1])),
198
198
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
199
199
  he(r.value ? e[3] : e[2])
200
200
  ];
201
201
  },
202
- ([p, u, m, w]) => {
203
- if (i(), !p?.length || !u?.length || !m?.length)
202
+ ([p, g, m, f]) => {
203
+ if (i(), !p?.length || !g?.length || !m?.length)
204
204
  return;
205
- const b = zo(w) ? { ...w } : w;
205
+ const b = zo(f) ? { ...f } : f;
206
206
  t.push(
207
207
  ...p.flatMap(
208
- (h) => u.flatMap(
208
+ (h) => g.flatMap(
209
209
  (c) => m.map((T) => o(h, c, T, b))
210
210
  )
211
211
  )
@@ -228,30 +228,30 @@ function te(e, t) {
228
228
  fulfilled: "fulfilled",
229
229
  pending: "pending",
230
230
  rejected: "rejected"
231
- }, p = Array.from(Array.from({ length: e.length }), () => ({ state: d.pending, data: null })), u = Z(p), m = Qe(-1);
231
+ }, p = Array.from(Array.from({ length: e.length }), () => ({ state: d.pending, data: null })), g = Z(p), m = Qe(-1);
232
232
  if (!e || e.length === 0)
233
233
  return r(), {
234
234
  activeIndex: m,
235
- result: u
235
+ result: g
236
236
  };
237
- function w(b, h) {
238
- m.value++, u[m.value].data = h, u[m.value].state = b;
237
+ function f(b, h) {
238
+ m.value++, g[m.value].data = h, g[m.value].state = b;
239
239
  }
240
240
  return e.reduce((b, h) => b.then((c) => {
241
241
  var T;
242
242
  if (l?.aborted) {
243
- w(d.aborted, new Error("aborted"));
243
+ f(d.aborted, new Error("aborted"));
244
244
  return;
245
245
  }
246
- if (((T = u[m.value]) == null ? void 0 : T.state) === d.rejected && i) {
246
+ if (((T = g[m.value]) == null ? void 0 : T.state) === d.rejected && i) {
247
247
  r();
248
248
  return;
249
249
  }
250
- const L = h(c).then((C) => (w(d.fulfilled, C), m.value === e.length - 1 && r(), C));
250
+ const L = h(c).then((C) => (f(d.fulfilled, C), m.value === e.length - 1 && r(), C));
251
251
  return l ? Promise.race([L, Ro(l)]) : L;
252
- }).catch((c) => l?.aborted ? (w(d.aborted, c), c) : (w(d.rejected, c), o(), c)), Promise.resolve()), {
252
+ }).catch((c) => l?.aborted ? (f(d.aborted, c), c) : (f(d.rejected, c), o(), c)), Promise.resolve()), {
253
253
  activeIndex: m,
254
- result: u
254
+ result: g
255
255
  };
256
256
  }
257
257
  function Ro(e) {
@@ -271,16 +271,16 @@ function Oo(e, t, i = {}) {
271
271
  async function p() {
272
272
  d.value && (await e(), l());
273
273
  }
274
- function u() {
274
+ function g() {
275
275
  d.value || (d.value = !0, r && e(), l());
276
276
  }
277
277
  function m() {
278
278
  d.value = !1;
279
279
  }
280
- return o && Re && u(), Ee(m), {
280
+ return o && Re && g(), Ee(m), {
281
281
  isActive: d,
282
282
  pause: m,
283
- resume: u
283
+ resume: g
284
284
  };
285
285
  }
286
286
  function _e(e = "history", t = {}) {
@@ -291,12 +291,12 @@ function _e(e = "history", t = {}) {
291
291
  write: l = !0,
292
292
  writeMode: d = "replace",
293
293
  window: p = ra,
294
- stringify: u = ($) => $.toString()
294
+ stringify: g = ($) => $.toString()
295
295
  } = t;
296
296
  if (!p)
297
297
  return Z(i);
298
298
  const m = Z({});
299
- function w() {
299
+ function f() {
300
300
  if (e === "history")
301
301
  return p.location.search || "";
302
302
  if (e === "hash") {
@@ -306,7 +306,7 @@ function _e(e = "history", t = {}) {
306
306
  return (p.location.hash || "").replace(/^#/, "");
307
307
  }
308
308
  function b($) {
309
- const S = u($);
309
+ const S = g($);
310
310
  if (e === "history")
311
311
  return `${S ? `?${S}` : ""}${p.location.hash || ""}`;
312
312
  if (e === "hash-params")
@@ -315,7 +315,7 @@ function _e(e = "history", t = {}) {
315
315
  return M > 0 ? `${p.location.search || ""}${E.slice(0, M)}${S ? `?${S}` : ""}` : `${p.location.search || ""}${E}${S ? `?${S}` : ""}`;
316
316
  }
317
317
  function h() {
318
- return new URLSearchParams(w());
318
+ return new URLSearchParams(f());
319
319
  }
320
320
  function c($) {
321
321
  const S = new Set(Object.keys(m));
@@ -359,9 +359,9 @@ function Go(e, t, i, o = {}) {
359
359
  var r, l, d;
360
360
  const {
361
361
  clone: p = !1,
362
- passive: u = !1,
362
+ passive: g = !1,
363
363
  eventName: m,
364
- deep: w = !1,
364
+ deep: f = !1,
365
365
  defaultValue: b,
366
366
  shouldEmit: h
367
367
  } = o, c = xa(), T = i || c?.emit || ((r = c?.$emit) == null ? void 0 : r.bind(c)) || ((d = (l = c?.proxy) == null ? void 0 : l.$emit) == null ? void 0 : d.bind(c?.proxy));
@@ -370,7 +370,7 @@ function Go(e, t, i, o = {}) {
370
370
  const C = (k) => p ? typeof p == "function" ? p(k) : Ao(k) : k, P = () => ko(e[t]) ? C(e[t]) : b, z = (k) => {
371
371
  h ? h(k) && T(L, k) : T(L, k);
372
372
  };
373
- if (u) {
373
+ if (g) {
374
374
  const k = P(), $ = j(k);
375
375
  let S = !1;
376
376
  return ue(
@@ -381,9 +381,9 @@ function Go(e, t, i, o = {}) {
381
381
  ), ue(
382
382
  $,
383
383
  (E) => {
384
- !S && (E !== e[t] || w) && z(E);
384
+ !S && (E !== e[t] || f) && z(E);
385
385
  },
386
- { deep: w }
386
+ { deep: f }
387
387
  ), $;
388
388
  } else
389
389
  return x({
@@ -706,7 +706,7 @@ function jo(e, t) {
706
706
  }
707
707
  const Bo = (e) => Xe(Ra(e), Yt, Wt(["mip"]));
708
708
  function Vo(e, t, i, o) {
709
- return Xe(wt(e), Ht(o, i), qt, Jt(t.teamId), Qt);
709
+ return Xe(ft(e), Ht(o, i), qt, Jt(t.teamId), Qt);
710
710
  }
711
711
  const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/player-games", Ho = "/v2/goalie-games", qo = {
712
712
  __name: "DataProvider",
@@ -750,9 +750,9 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
750
750
  E.toLowerCase() === "gk" && (r.seasonApi = Yo, r.gamesApi = Ho, r.isGoalie = !0), k();
751
751
  }
752
752
  }), {
753
- state: u,
753
+ state: g,
754
754
  isLoading: m,
755
- execute: w
755
+ execute: f
756
756
  } = O({
757
757
  options: {
758
758
  path: x(() => r.seasonApi),
@@ -776,9 +776,9 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
776
776
  transform: (S) => Vo(S, r, t.locale, i),
777
777
  onError: l
778
778
  }), T = x(
779
- () => Aa(r.championshipId, u.value)
779
+ () => Aa(r.championshipId, g.value)
780
780
  ), L = x(
781
- () => Oa(r.championshipId, u.value)
781
+ () => Oa(r.championshipId, g.value)
782
782
  ), C = x(
783
783
  () => r.isGoalie ? ve(
784
784
  ["teamName", "gkd", "gpi", "mipMin", "mipPercent", "ga", "gaa", "sog", "svs", "svsPercent"],
@@ -864,12 +864,12 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
864
864
  )
865
865
  );
866
866
  function k() {
867
- te([w, c]);
867
+ te([f, c]);
868
868
  }
869
869
  function $(S) {
870
870
  r.pane = S;
871
871
  }
872
- return (S, E) => fe(S.$slots, "default", ye(xe({
872
+ return (S, E) => we(S.$slots, "default", ye(xe({
873
873
  pane: r.pane,
874
874
  isLoadingPlayerData: a(p),
875
875
  isPlayerSeasonsLoading: a(m),
@@ -926,7 +926,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
926
926
  const { t } = q();
927
927
  return (i, o) => (n(), N(a(oe), null, {
928
928
  default: y(() => [
929
- f(a(ge), {
929
+ w(a(ge), {
930
930
  rows: e.rows,
931
931
  columns: e.columns,
932
932
  "is-loading": e.isLoading,
@@ -948,15 +948,15 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
948
948
  s("span", Qo, v(r.team?.shortName), 1)
949
949
  ]),
950
950
  "cell-gameResult": y(({ row: r }) => [
951
- r.gameStatus === 0 ? (n(), g("span", Xo, "-:-")) : (n(), g("a", {
951
+ r.gameStatus === 0 ? (n(), u("span", Xo, "-:-")) : (n(), u("a", {
952
952
  key: 1,
953
953
  href: e.gameResolver(r),
954
954
  class: H({ "text-highlighted": r.gameStatus !== 1, "is-text-accent": r.gameStatus === 1 })
955
955
  }, v(r.gameResult), 11, Zo))
956
956
  ]),
957
957
  "cell-gameResultType": y(({ row: r }) => [
958
- r.isOvertime ? (n(), g("span", er, v(a(t)("common.overtimeShort")), 1)) : _("", !0),
959
- r.isShootout ? (n(), g("span", tr, v(a(t)("common.shootoutShort")), 1)) : _("", !0)
958
+ r.isOvertime ? (n(), u("span", er, v(a(t)("common.overtimeShort")), 1)) : _("", !0),
959
+ r.isShootout ? (n(), u("span", tr, v(a(t)("common.shootoutShort")), 1)) : _("", !0)
960
960
  ]),
961
961
  "cell-powerplay": y(({ row: r }) => [
962
962
  V(v(r.adv) + " / " + v(r.ppgf), 1)
@@ -1002,7 +1002,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1002
1002
  const t = e, { columns: i } = ee(
1003
1003
  x(() => t.columns),
1004
1004
  null,
1005
- x(() => ({ offsetName: ft(/* @__PURE__ */ new Date(), null, "hu") }))
1005
+ x(() => ({ offsetName: wt(/* @__PURE__ */ new Date(), null, "hu") }))
1006
1006
  ), o = (r) => et(t.gameResolver, r);
1007
1007
  return (r, l) => (n(), N(na, {
1008
1008
  rows: e.rows,
@@ -1032,14 +1032,14 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1032
1032
  },
1033
1033
  setup(e) {
1034
1034
  const { t } = q();
1035
- return (i, o) => a(Xt)(e.data) ? _("", !0) : (n(), g("div", or, [
1035
+ return (i, o) => a(Xt)(e.data) ? _("", !0) : (n(), u("div", or, [
1036
1036
  o[0] || (St(-1, !0), (o[0] = s("h2", null, [
1037
1037
  V(v(e.data.name) + " ", 1),
1038
1038
  s("span", rr, "#" + v(e.data.jerseyNr), 1)
1039
1039
  ])).cacheIndex = 0, St(1), o[0]),
1040
1040
  s("div", lr, [
1041
1041
  V(v(e.data.birthDate) + " (" + v(a(t)("players.age", { years: e.data.age })) + ") /  ", 1),
1042
- (n(!0), g(A, null, F(e.data.player.nationality, (r) => (n(), N(a(Ft), {
1042
+ (n(!0), u(A, null, F(e.data.player.nationality, (r) => (n(), N(a(Ft), {
1043
1043
  key: r,
1044
1044
  placement: "top",
1045
1045
  content: a(t)(`nationality.${r}`),
@@ -1051,7 +1051,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1051
1051
  ref: l,
1052
1052
  class: "avatar"
1053
1053
  }, { ref_for: !0 }, d), [
1054
- f(a(B), {
1054
+ w(a(B), {
1055
1055
  src: a(Zt)(r)
1056
1056
  }, null, 8, ["src"])
1057
1057
  ], 16)
@@ -1093,7 +1093,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1093
1093
  const t = e, { columns: i } = ee(x(() => t.columns));
1094
1094
  return (o, r) => (n(), N(a(oe), null, {
1095
1095
  default: y(() => [
1096
- f(a(ge), {
1096
+ w(a(ge), {
1097
1097
  rows: e.rows,
1098
1098
  columns: a(i),
1099
1099
  "append-to": e.appendTo
@@ -1124,11 +1124,11 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1124
1124
  },
1125
1125
  setup(e) {
1126
1126
  const t = e, { columns: i } = ee(x(() => t.columns));
1127
- return (o, r) => (n(), g(A, null, [
1127
+ return (o, r) => (n(), u(A, null, [
1128
1128
  s("h2", null, v(e.rows[0]?.season ?? ""), 1),
1129
- f(a(oe), { class: "mb-md" }, {
1129
+ w(a(oe), { class: "mb-md" }, {
1130
1130
  default: y(() => [
1131
- f(a(ge), {
1131
+ w(a(ge), {
1132
1132
  rows: e.rows,
1133
1133
  columns: a(i),
1134
1134
  "is-loading": e.isLoading,
@@ -1147,7 +1147,10 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1147
1147
  }, cr = { class: "is-mb-5" }, mr = { class: "uppercase" }, dr = {
1148
1148
  class: "hero",
1149
1149
  style: { "--overlay-size": "180px" }
1150
- }, pr = { class: "is-main-image" }, vr = { class: "is-ovarlay-image" }, hr = { class: "tabs underlined" }, ur = ["aria-label"], gr = ["aria-selected", "onClick"], br = ["aria-selected", "onClick"], wr = {
1150
+ }, pr = {
1151
+ key: 0,
1152
+ class: "is-main-image"
1153
+ }, vr = { class: "is-ovarlay-image" }, hr = { class: "tabs underlined" }, ur = ["aria-label"], gr = ["aria-selected", "onClick"], br = ["aria-selected", "onClick"], fr = {
1151
1154
  __name: "Player.ce",
1152
1155
  props: {
1153
1156
  locale: {
@@ -1173,23 +1176,27 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1173
1176
  externalTeamResolver: {
1174
1177
  type: String,
1175
1178
  default: ""
1179
+ },
1180
+ disableActionImage: {
1181
+ type: Boolean,
1182
+ default: !1
1176
1183
  }
1177
1184
  },
1178
1185
  setup(e) {
1179
1186
  const t = e, i = { en: ne, hu: se }, o = j(null);
1180
- return (r, l) => (n(), g("div", cr, [
1181
- f(a(le), {
1187
+ return (r, l) => (n(), u("div", cr, [
1188
+ w(a(le), {
1182
1189
  locale: t.locale,
1183
1190
  messages: i
1184
1191
  }, {
1185
1192
  default: y(({ t: d }) => [
1186
- f(a(ke), null, {
1187
- default: y(({ error: p, hasError: u }) => [
1188
- u ? (n(), N(a(ie), {
1193
+ w(a(ke), null, {
1194
+ default: y(({ error: p, hasError: g }) => [
1195
+ g ? (n(), N(a(ie), {
1189
1196
  key: 0,
1190
1197
  error: p
1191
1198
  }, null, 8, ["error"])) : _("", !0),
1192
- f(qo, {
1199
+ w(qo, {
1193
1200
  "api-key": t.apiKey,
1194
1201
  locale: e.locale,
1195
1202
  "championship-id": e.championshipId,
@@ -1197,7 +1204,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1197
1204
  }, {
1198
1205
  default: y(({
1199
1206
  pane: m,
1200
- isGamesLoading: w,
1207
+ isGamesLoading: f,
1201
1208
  isPlayerSeasonsLoading: b,
1202
1209
  playerData: h,
1203
1210
  playerGames: c,
@@ -1210,13 +1217,13 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1210
1217
  }) => [
1211
1218
  s("h1", mr, v(h.name), 1),
1212
1219
  s("div", dr, [
1213
- s("div", pr, [
1220
+ e.disableActionImage ? _("", !0) : (n(), u("div", pr, [
1214
1221
  (n(), N(a(B), {
1215
1222
  key: h.player?.playerId,
1216
1223
  src: h.playerAction,
1217
1224
  "default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
1218
1225
  }, null, 8, ["src"]))
1219
- ]),
1226
+ ])),
1220
1227
  s("div", vr, [
1221
1228
  (n(), N(a(B), {
1222
1229
  key: h.player?.playerId,
@@ -1224,11 +1231,11 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1224
1231
  }, null, 8, ["src"]))
1225
1232
  ])
1226
1233
  ]),
1227
- f(ir, {
1234
+ w(ir, {
1228
1235
  data: h,
1229
1236
  "append-to": o.value
1230
1237
  }, null, 8, ["data", "append-to"]),
1231
- f(sr, {
1238
+ w(sr, {
1232
1239
  rows: L,
1233
1240
  columns: z,
1234
1241
  "is-loading": b,
@@ -1257,7 +1264,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1257
1264
  key: 0,
1258
1265
  rows: c,
1259
1266
  columns: C,
1260
- "is-loading": w,
1267
+ "is-loading": f,
1261
1268
  "append-to": o.value,
1262
1269
  "game-resolver": t.externalGameResolver
1263
1270
  }, null, 8, ["rows", "columns", "is-loading", "append-to", "game-resolver"])) : _("", !0),
@@ -1282,7 +1289,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1282
1289
  }, 8, ["locale"])
1283
1290
  ]));
1284
1291
  }
1285
- }, fr = /* @__PURE__ */ me(wr, [["styles", [ce, De, ot, rt, Me, lt, it, yt, xt, sa]]]), yr = { class: "avatar" }, xr = ["href", "textContent"], kr = ["href", "textContent"], ca = {
1292
+ }, wr = /* @__PURE__ */ me(fr, [["styles", [ce, De, ot, rt, Me, lt, it, yt, xt, sa]]]), yr = { class: "avatar" }, xr = ["href", "textContent"], kr = ["href", "textContent"], ca = {
1286
1293
  __name: "PlayersDataTable",
1287
1294
  props: {
1288
1295
  columns: {
@@ -1321,9 +1328,9 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1321
1328
  emits: ["sort"],
1322
1329
  setup(e, { emit: t }) {
1323
1330
  const i = e, o = t, { t: r } = q(), { columns: l } = ee(i.columns), d = (p) => o("sort", p);
1324
- return (p, u) => (n(), N(a(oe), null, {
1331
+ return (p, g) => (n(), N(a(oe), null, {
1325
1332
  default: y(() => [
1326
- f(a(ge), {
1333
+ w(a(ge), {
1327
1334
  columns: a(l),
1328
1335
  rows: e.rows,
1329
1336
  "is-loading": e.isLoading,
@@ -1353,10 +1360,10 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1353
1360
  }, null, 8, kr)
1354
1361
  ]),
1355
1362
  "cell-nationality": y(({ row: m }) => [
1356
- (n(!0), g(A, null, F(m.player.nationality, (w) => (n(), N(a(Ft), {
1357
- key: w,
1363
+ (n(!0), u(A, null, F(m.player.nationality, (f) => (n(), N(a(Ft), {
1364
+ key: f,
1358
1365
  placement: "top",
1359
- content: a(r)(`nationality.${w}`),
1366
+ content: a(r)(`nationality.${f}`),
1360
1367
  "append-to": e.appendTo
1361
1368
  }, {
1362
1369
  default: y(({ setRef: b, events: h }) => [
@@ -1365,8 +1372,8 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1365
1372
  ref: b,
1366
1373
  class: "avatar"
1367
1374
  }, { ref_for: !0 }, h), [
1368
- f(a(B), {
1369
- src: a(Zt)(w)
1375
+ w(a(B), {
1376
+ src: a(Zt)(f)
1370
1377
  }, null, 8, ["src"])
1371
1378
  ], 16)
1372
1379
  ]),
@@ -1408,10 +1415,10 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1408
1415
  seasons: [],
1409
1416
  championshipId: Number(i.championshipId) || 0,
1410
1417
  query: ""
1411
- }), { onError: r } = be(), { page: l, change: d } = jt(), { sort: p, change: u } = ut({
1418
+ }), { onError: r } = be(), { page: l, change: d } = jt(), { sort: p, change: g } = ut({
1412
1419
  sortTarget: "",
1413
1420
  orders: []
1414
- }), { isLoading: m, execute: w } = O({
1421
+ }), { isLoading: m, execute: f } = O({
1415
1422
  options: {
1416
1423
  path: "/v2/championship-seasons",
1417
1424
  apiKey: t.apiKey,
@@ -1434,7 +1441,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1434
1441
  transform: (k) => Ga(k),
1435
1442
  onError: r
1436
1443
  }), T = gt([m, b], { delay: 1e3 });
1437
- te([w, c]);
1444
+ te([f, c]);
1438
1445
  const L = x(
1439
1446
  () => W(h.value).sorted(p).filter(o.query, [["name"]]).pagination(l.value, t.limit).value()
1440
1447
  ), C = x(() => [(l.value - 1) * t.limit + 1, Math.min(l.value * t.limit, L.value.totalItems)]);
@@ -1445,14 +1452,14 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1445
1452
  const { value: $ } = k.target;
1446
1453
  d(1), o.query = $, i.query = $;
1447
1454
  }
1448
- return (k, $) => fe(k.$slots, "default", ye(xe({
1455
+ return (k, $) => we(k.$slots, "default", ye(xe({
1449
1456
  ...o,
1450
1457
  sort: a(p),
1451
1458
  page: a(l),
1452
1459
  range: C.value,
1453
1460
  isLoading: a(T),
1454
1461
  players: L.value,
1455
- onSort: a(u),
1462
+ onSort: a(g),
1456
1463
  onInput: z,
1457
1464
  changeSeason: P,
1458
1465
  onPaginatorChange: a(d)
@@ -1491,19 +1498,19 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1491
1498
  },
1492
1499
  setup(e) {
1493
1500
  const t = e, i = { en: ne, hu: se }, o = j(null), r = (d) => tt(t.externalPlayerResolver, d), l = (d) => Ge(t.externalTeamResolver, d);
1494
- return (d, p) => (n(), g("div", null, [
1495
- f(a(le), {
1501
+ return (d, p) => (n(), u("div", null, [
1502
+ w(a(le), {
1496
1503
  locale: t.locale,
1497
1504
  messages: i
1498
1505
  }, {
1499
- default: y(({ t: u }) => [
1500
- f(a(ke), null, {
1501
- default: y(({ error: m, hasError: w }) => [
1502
- w ? (n(), N(a(ie), {
1506
+ default: y(({ t: g }) => [
1507
+ w(a(ke), null, {
1508
+ default: y(({ error: m, hasError: f }) => [
1509
+ f ? (n(), N(a(ie), {
1503
1510
  key: 0,
1504
1511
  error: m
1505
1512
  }, null, 8, ["error"])) : _("", !0),
1506
- f(_r, {
1513
+ w(_r, {
1507
1514
  "api-key": t.apiKey,
1508
1515
  locale: e.locale,
1509
1516
  "championship-name": e.championshipName,
@@ -1523,21 +1530,21 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1523
1530
  onPaginatorChange: S,
1524
1531
  onInput: E
1525
1532
  }) => [
1526
- f(a(ht), {
1533
+ w(a(ht), {
1527
1534
  seasons: c,
1528
1535
  "championship-id": L,
1529
1536
  "is-section-selection-disabled": "",
1530
1537
  onOnChangeSeason: z
1531
1538
  }, {
1532
1539
  default: y(() => [
1533
- f(a(X), {
1534
- label: u("selection.filterName"),
1540
+ w(a(X), {
1541
+ label: g("selection.filterName"),
1535
1542
  name: "player"
1536
1543
  }, {
1537
1544
  default: y(() => [
1538
1545
  s("input", {
1539
1546
  id: "player",
1540
- type: "text",
1547
+ type: "search",
1541
1548
  class: "base-input",
1542
1549
  value: P,
1543
1550
  onInput: E
@@ -1548,7 +1555,7 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1548
1555
  ]),
1549
1556
  _: 2
1550
1557
  }, 1032, ["seasons", "championship-id", "onOnChangeSeason"]),
1551
- f(ca, {
1558
+ w(ca, {
1552
1559
  columns: a(ia),
1553
1560
  rows: h.rows,
1554
1561
  "append-to": o.value,
@@ -1560,14 +1567,14 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1560
1567
  onSort: $
1561
1568
  }, null, 8, ["columns", "rows", "append-to", "sort", "is-loading", "championship-id", "onSort"]),
1562
1569
  s("div", Nr, [
1563
- f(a(Kt), {
1570
+ w(a(Kt), {
1564
1571
  page: C,
1565
1572
  "items-per-page": t.limit,
1566
1573
  "total-items": h.totalItems,
1567
1574
  "range-length": 5,
1568
1575
  onChange: S
1569
1576
  }, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
1570
- h.totalItems > 0 ? (n(), g("div", Lr, v(b.join("-")) + " / " + v(h.totalItems), 1)) : _("", !0)
1577
+ h.totalItems > 0 ? (n(), u("div", Lr, v(b.join("-")) + " / " + v(h.totalItems), 1)) : _("", !0)
1571
1578
  ]),
1572
1579
  s("div", {
1573
1580
  ref_key: "tooltipContainer",
@@ -1653,13 +1660,13 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1653
1660
  onError: i
1654
1661
  });
1655
1662
  p();
1656
- const u = Ze(), m = { en: ne, hu: se };
1657
- function w(T) {
1663
+ const g = Ze(), m = { en: ne, hu: se };
1664
+ function f(T) {
1658
1665
  return et(t.externalGameResolver || nl, T);
1659
1666
  }
1660
- const b = x(() => t.isGameTargetExternal ? "_blank" : "_self"), h = (T) => qe(T, "L dddd", u, t.locale), c = (T) => qe(T, "HH:mm", u, t.locale);
1661
- return (T, L) => (n(), g("div", Dr, [
1662
- f(a(le), {
1667
+ const b = x(() => t.isGameTargetExternal ? "_blank" : "_self"), h = (T) => qe(T, "L dddd", g, t.locale), c = (T) => qe(T, "HH:mm", g, t.locale);
1668
+ return (T, L) => (n(), u("div", Dr, [
1669
+ w(a(le), {
1663
1670
  locale: t.locale,
1664
1671
  messages: m
1665
1672
  }, {
@@ -1669,33 +1676,33 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1669
1676
  error: a(o)
1670
1677
  }, null, 8, ["error"])) : _("", !0),
1671
1678
  a(d) ? (n(), N(a(Oe), { key: 1 })) : _("", !0),
1672
- (n(!0), g(A, null, F(a(l), (P) => (n(), g("div", {
1679
+ (n(!0), u(A, null, F(a(l), (P) => (n(), u("div", {
1673
1680
  key: `${P.divisionStage2Name}-${P.divisionStageNumber}`
1674
1681
  }, [
1675
1682
  s("div", Mr, [
1676
1683
  V(v(C(`playoffs.${P.divisionStage2Name}`)), 1),
1677
- P.divisionStageNumber ? (n(), g("span", Fr, "-" + v(P.divisionStageNumber), 1)) : _("", !0)
1684
+ P.divisionStageNumber ? (n(), u("span", Fr, "-" + v(P.divisionStageNumber), 1)) : _("", !0)
1678
1685
  ]),
1679
1686
  s("div", Kr, [
1680
1687
  s("div", jr, v(P.homeTeam?.longName), 1),
1681
1688
  s("div", null, [
1682
- f(a(B), {
1689
+ w(a(B), {
1683
1690
  class: "is-logo-image",
1684
1691
  src: P.homeTeam.logo
1685
1692
  }, null, 8, ["src"])
1686
1693
  ]),
1687
1694
  s("div", Br, v(P.seriesStandings), 1),
1688
1695
  s("div", null, [
1689
- f(a(B), {
1696
+ w(a(B), {
1690
1697
  class: "is-logo-image",
1691
1698
  src: P.awayTeam.logo
1692
1699
  }, null, 8, ["src"])
1693
1700
  ]),
1694
1701
  s("div", Vr, v(P.awayTeam?.longName), 1)
1695
1702
  ]),
1696
- f(a(oe), null, {
1703
+ w(a(oe), null, {
1697
1704
  default: y(() => [
1698
- (n(!0), g(A, null, F(P.games, (z) => (n(), g("div", {
1705
+ (n(!0), u(A, null, F(P.games, (z) => (n(), u("div", {
1699
1706
  key: z.id,
1700
1707
  class: H(["table-grid", { "is-optional": z.optional }])
1701
1708
  }, [
@@ -1709,15 +1716,15 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1709
1716
  ])
1710
1717
  ]),
1711
1718
  s("div", Xr, [
1712
- z.gameStatus === 0 ? (n(), g("span", Zr, "-:-")) : (n(), g("a", {
1719
+ z.gameStatus === 0 ? (n(), u("span", Zr, "-:-")) : (n(), u("a", {
1713
1720
  key: 1,
1714
- href: w(z),
1721
+ href: f(z),
1715
1722
  target: b.value,
1716
1723
  class: H(["font-bold", [{ "text-highlighted": z.gameStatus !== 1, "is-text-accent": z.gameStatus === 1 }]])
1717
1724
  }, v(z.homeTeamScore) + ":" + v(z.awayTeamScore), 11, el))
1718
1725
  ]),
1719
1726
  s("div", null, [
1720
- z.seriesStandings ? (n(), g("span", tl, v(z.seriesStandings), 1)) : _("", !0)
1727
+ z.seriesStandings ? (n(), u("span", tl, v(z.seriesStandings), 1)) : _("", !0)
1721
1728
  ]),
1722
1729
  s("div", al, [
1723
1730
  s("div", ol, [
@@ -1739,13 +1746,13 @@ const Uo = "/v2/player-season-stats", Yo = "/v2/goalie-season-stats", Wo = "/v2/
1739
1746
  }, cl = /* @__PURE__ */ me(sl, [["styles", [ce, De, Or, Gr, da]]]);
1740
1747
  function ml(e = [], t = "hu", i = Ne) {
1741
1748
  const o = j([]), r = j(null), l = j([]), d = () => {
1742
- l.value = e.value.reduce((u, m) => {
1743
- const w = new Date(m.gameDate), b = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(w)?.toLowerCase(), h = new Intl.DateTimeFormat(t.value, { month: "long" }).format(w);
1744
- return u[b] || (u[b] = { value: w.getMonth(), name: dl(h) }), u;
1749
+ l.value = e.value.reduce((g, m) => {
1750
+ const f = new Date(m.gameDate), b = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(f)?.toLowerCase(), h = new Intl.DateTimeFormat(t.value, { month: "long" }).format(f);
1751
+ return g[b] || (g[b] = { value: f.getMonth(), name: dl(h) }), g;
1745
1752
  }, {}), o.value = Object.values(l.value);
1746
1753
  }, p = () => {
1747
- const u = Da(/* @__PURE__ */ new Date(), Pe(e.value)?.gameDate, ta(e.value)?.gameDate), m = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(/* @__PURE__ */ new Date())?.toLowerCase(), w = ve([m], l.value);
1748
- r.value = w && u ? (/* @__PURE__ */ new Date()).getMonth() : Pe(o.value)?.value, i(r.value);
1754
+ const g = Da(/* @__PURE__ */ new Date(), Pe(e.value)?.gameDate, ta(e.value)?.gameDate), m = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(/* @__PURE__ */ new Date())?.toLowerCase(), f = ve([m], l.value);
1755
+ r.value = f && g ? (/* @__PURE__ */ new Date()).getMonth() : Pe(o.value)?.value, i(r.value);
1749
1756
  };
1750
1757
  return ue([e, t], d), Eo(e, () => {
1751
1758
  d(), p();
@@ -1817,7 +1824,7 @@ const vl = {
1817
1824
  selectedMonth: Number(i.selectedMonth) ?? null,
1818
1825
  selectedTeam: Number(i.selectedTeam) || null,
1819
1826
  selectedTeamGameType: i.selectedTeamGameType || "all"
1820
- }), { timezone: r, mainElement: l, scrollOffset: d, scrollToGameDate: p } = Mt(t), { onError: u } = be(), m = x(() => {
1827
+ }), { timezone: r, mainElement: l, scrollOffset: d, scrollToGameDate: p } = Mt(t), { onError: g } = be(), m = x(() => {
1821
1828
  switch (o.selectedTeamGameType) {
1822
1829
  case "all":
1823
1830
  return [
@@ -1829,14 +1836,14 @@ const vl = {
1829
1836
  default:
1830
1837
  return [["awayTeam", "id"]];
1831
1838
  }
1832
- }), { isLoading: w, execute: b } = O({
1839
+ }), { isLoading: f, execute: b } = O({
1833
1840
  options: {
1834
1841
  path: "/v2/championship-seasons",
1835
1842
  apiKey: t.apiKey,
1836
1843
  params: { championshipName: o.championshipName }
1837
1844
  },
1838
1845
  transform: (R) => at(R, o),
1839
- onError: u
1846
+ onError: g
1840
1847
  }), { isLoading: h, execute: c } = O({
1841
1848
  options: {
1842
1849
  path: "/v2/championship-phases",
@@ -1844,7 +1851,7 @@ const vl = {
1844
1851
  params: x(() => ({ championshipId: o.championshipId }))
1845
1852
  },
1846
1853
  transform: (R) => Fo(R, o),
1847
- onError: u
1854
+ onError: g
1848
1855
  }), { isLoading: T, execute: L } = O({
1849
1856
  options: {
1850
1857
  path: "/v2/championship-teams",
@@ -1852,7 +1859,7 @@ const vl = {
1852
1859
  params: x(() => ({ championshipId: o.championshipId }))
1853
1860
  },
1854
1861
  transform: (R) => Ko(R, o),
1855
- onError: u
1862
+ onError: g
1856
1863
  }), {
1857
1864
  isLoading: C,
1858
1865
  state: P,
@@ -1863,9 +1870,9 @@ const vl = {
1863
1870
  apiKey: t.apiKey,
1864
1871
  params: x(() => ({ championshipId: o.championshipId, division: o.section }))
1865
1872
  },
1866
- transform: (R) => wt(R),
1867
- onError: u
1868
- }), k = gt([h, w, T, C], { delay: 1e3 }), { months: $ } = ml(P, Dt(t, "locale"), (R) => {
1873
+ transform: (R) => ft(R),
1874
+ onError: g
1875
+ }), k = gt([h, f, T, C], { delay: 1e3 }), { months: $ } = ml(P, Dt(t, "locale"), (R) => {
1869
1876
  o.selectedMonth = Number(i.selectedMonth) || R;
1870
1877
  });
1871
1878
  Pa({ items: P, element: l, offset: d, enabled: p });
@@ -1895,10 +1902,10 @@ const vl = {
1895
1902
  function Q(R) {
1896
1903
  o.selectedTeam = R, i.selectedTeam = R, R || (o.selectedTeamGameType = "all", i.selectedTeamGameType = null);
1897
1904
  }
1898
- function we(R) {
1905
+ function fe(R) {
1899
1906
  o.selectedTeamGameType = R, i.selectedTeamGameType = R;
1900
1907
  }
1901
- return (R, ze) => fe(R.$slots, "default", ye(xe({
1908
+ return (R, ze) => we(R.$slots, "default", ye(xe({
1902
1909
  ...o,
1903
1910
  months: a($),
1904
1911
  isLoading: a(k),
@@ -1908,7 +1915,7 @@ const vl = {
1908
1915
  changeMonth: I,
1909
1916
  changeSection: Y,
1910
1917
  changeTeam: Q,
1911
- changeTeamType: we,
1918
+ changeTeamType: fe,
1912
1919
  changeSubSection: J
1913
1920
  })));
1914
1921
  }
@@ -1917,7 +1924,7 @@ const vl = {
1917
1924
  viewBox: "0 0 24 24"
1918
1925
  };
1919
1926
  function pa(e, t) {
1920
- return n(), g("svg", hl, [...t[0] || (t[0] = [
1927
+ return n(), u("svg", hl, [...t[0] || (t[0] = [
1921
1928
  s("path", {
1922
1929
  fill: "currentColor",
1923
1930
  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"
@@ -1933,7 +1940,7 @@ const ul = { render: pa }, Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1933
1940
  viewBox: "0 0 24 24"
1934
1941
  };
1935
1942
  function va(e, t) {
1936
- return n(), g("svg", gl, [...t[0] || (t[0] = [
1943
+ return n(), u("svg", gl, [...t[0] || (t[0] = [
1937
1944
  s("path", {
1938
1945
  fill: "currentColor",
1939
1946
  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"
@@ -1944,7 +1951,7 @@ const bl = { render: va }, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1944
1951
  __proto__: null,
1945
1952
  default: bl,
1946
1953
  render: va
1947
- }, Symbol.toStringTag, { value: "Module" })), wl = {
1954
+ }, Symbol.toStringTag, { value: "Module" })), fl = {
1948
1955
  xmlns: "http://www.w3.org/2000/svg",
1949
1956
  viewBox: "0 0 24 24",
1950
1957
  fill: "none",
@@ -1954,7 +1961,7 @@ const bl = { render: va }, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1954
1961
  "stroke-linejoin": "round"
1955
1962
  };
1956
1963
  function ha(e, t) {
1957
- return n(), g("svg", wl, [...t[0] || (t[0] = [
1964
+ return n(), u("svg", fl, [...t[0] || (t[0] = [
1958
1965
  s("rect", {
1959
1966
  x: "2",
1960
1967
  y: "3",
@@ -1977,9 +1984,9 @@ function ha(e, t) {
1977
1984
  }, null, -1)
1978
1985
  ])]);
1979
1986
  }
1980
- const fl = { render: ha }, yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1987
+ const wl = { render: ha }, yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1981
1988
  __proto__: null,
1982
- default: fl,
1989
+ default: wl,
1983
1990
  render: ha
1984
1991
  }, Symbol.toStringTag, { value: "Module" })), xl = {
1985
1992
  xmlns: "http://www.w3.org/2000/svg",
@@ -1991,7 +1998,7 @@ const fl = { render: ha }, yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1991
1998
  "stroke-linejoin": "round"
1992
1999
  };
1993
2000
  function ua(e, t) {
1994
- return n(), g("svg", xl, [...t[0] || (t[0] = [
2001
+ return n(), u("svg", xl, [...t[0] || (t[0] = [
1995
2002
  s("polyline", { points: "9 18 15 12 9 6" }, null, -1)
1996
2003
  ])]);
1997
2004
  }
@@ -2009,7 +2016,7 @@ const kl = { render: ua }, _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2009
2016
  "stroke-linejoin": "round"
2010
2017
  };
2011
2018
  function ga(e, t) {
2012
- return n(), g("svg", zl, [...t[0] || (t[0] = [
2019
+ return n(), u("svg", zl, [...t[0] || (t[0] = [
2013
2020
  s("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),
2014
2021
  s("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
2015
2022
  ])]);
@@ -2082,29 +2089,29 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2082
2089
  },
2083
2090
  setup(e) {
2084
2091
  const { t } = q();
2085
- return (i, o) => (n(), g("div", {
2092
+ return (i, o) => (n(), u("div", {
2086
2093
  class: H(["card-item", { "is-optional": e.game.optional }]),
2087
2094
  style: Xl
2088
2095
  }, [
2089
2096
  s("div", Il, [
2090
2097
  V(v(e.game.gameName) + " - " + v(e.game.divisionName) + " - " + v(e.game.location.locationName) + " ", 1),
2091
- e.game.broadcast ? (n(), g(A, { key: 0 }, [
2098
+ e.game.broadcast ? (n(), u(A, { key: 0 }, [
2092
2099
  o[0] || (o[0] = V(" - ", -1)),
2093
- f(a(yl), { height: "16" }),
2100
+ w(a(yl), { height: "16" }),
2094
2101
  o[1] || (o[1] = V("  ", -1))
2095
2102
  ], 64)) : _("", !0),
2096
- e.game.video ? (n(), g(A, { key: 1 }, [
2103
+ e.game.video ? (n(), u(A, { key: 1 }, [
2097
2104
  o[2] || (o[2] = V(" - ", -1)),
2098
2105
  s("a", {
2099
2106
  href: e.game.video,
2100
2107
  target: "_blank"
2101
2108
  }, [
2102
- f(a(Tl), { height: "18" })
2109
+ w(a(Tl), { height: "18" })
2103
2110
  ], 8, Pl)
2104
2111
  ], 64)) : _("", !0)
2105
2112
  ]),
2106
2113
  s("div", $l, [
2107
- e.game.homeTeam ? (n(), g("div", Nl, [
2114
+ e.game.homeTeam ? (n(), u("div", Nl, [
2108
2115
  s("span", Ll, v(e.game.homeTeam.shortName), 1),
2109
2116
  s("span", Cl, v(e.game.homeTeam.longName), 1)
2110
2117
  ])) : _("", !0)
@@ -2117,24 +2124,24 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2117
2124
  ]),
2118
2125
  s("div", Rl, [
2119
2126
  s("div", Al, [
2120
- e.game.isOvertime ? (n(), g("span", Ol, v(a(t)("common.overtimeShort")), 1)) : _("", !0),
2121
- e.game.isShootout ? (n(), g("span", Gl, v(a(t)("common.shootoutShort")), 1)) : _("", !0),
2122
- e.game.seriesStandings ? (n(), g("span", Dl, v(e.game.seriesStandings), 1)) : _("", !0)
2127
+ e.game.isOvertime ? (n(), u("span", Ol, v(a(t)("common.overtimeShort")), 1)) : _("", !0),
2128
+ e.game.isShootout ? (n(), u("span", Gl, v(a(t)("common.shootoutShort")), 1)) : _("", !0),
2129
+ e.game.seriesStandings ? (n(), u("span", Dl, v(e.game.seriesStandings), 1)) : _("", !0)
2123
2130
  ]),
2124
2131
  s("a", {
2125
2132
  href: e.gameLink(e.game),
2126
2133
  target: e.target,
2127
2134
  class: H(["game-result", [{ "is-live": e.game.gameStatus === 1 }]])
2128
2135
  }, [
2129
- e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (n(), g("span", Fl, v(e.game.homeTeamScore) + " : " + v(e.game.awayTeamScore), 1)) : _("", !0),
2130
- e.game.gameStatus === 3 ? (n(), g("span", Kl, v(a(t)("game.status.jury")), 1)) : _("", !0),
2131
- e.game.gameStatus === 4 ? (n(), g("span", jl, v(a(t)("game.status.delayed")), 1)) : _("", !0),
2132
- e.game.gameStatus === 0 ? (n(), g("span", Bl, v(e.game.gameDateTime), 1)) : _("", !0)
2136
+ e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (n(), u("span", Fl, v(e.game.homeTeamScore) + " : " + v(e.game.awayTeamScore), 1)) : _("", !0),
2137
+ e.game.gameStatus === 3 ? (n(), u("span", Kl, v(a(t)("game.status.jury")), 1)) : _("", !0),
2138
+ e.game.gameStatus === 4 ? (n(), u("span", jl, v(a(t)("game.status.delayed")), 1)) : _("", !0),
2139
+ e.game.gameStatus === 0 ? (n(), u("span", Bl, v(e.game.gameDateTime), 1)) : _("", !0)
2133
2140
  ], 10, Ml),
2134
- e.game.gameStatus === 0 ? (n(), g("span", Vl, "(" + v(e.offsetName) + ")", 1)) : _("", !0),
2135
- e.game.gameStatus > 0 ? (n(), g(A, { key: 1 }, [
2141
+ e.game.gameStatus === 0 ? (n(), u("span", Vl, "(" + v(e.offsetName) + ")", 1)) : _("", !0),
2142
+ e.game.gameStatus > 0 ? (n(), u(A, { key: 1 }, [
2136
2143
  s("div", Ul, v(e.game.periodResults), 1),
2137
- e.game.gameStatus !== 2 ? (n(), g("div", Yl, v(a(t)(`game.period.${e.game.period}`)), 1)) : _("", !0)
2144
+ e.game.gameStatus !== 2 ? (n(), u("div", Yl, v(a(t)(`game.period.${e.game.period}`)), 1)) : _("", !0)
2138
2145
  ], 64)) : _("", !0)
2139
2146
  ]),
2140
2147
  s("div", Wl, [
@@ -2145,7 +2152,7 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2145
2152
  }, null, 8, ["src"]))
2146
2153
  ]),
2147
2154
  s("div", Hl, [
2148
- e.game.awayTeam ? (n(), g("div", ql, [
2155
+ e.game.awayTeam ? (n(), u("div", ql, [
2149
2156
  s("span", Jl, v(e.game.awayTeam.shortName), 1),
2150
2157
  s("span", Ql, v(e.game.awayTeam.longName), 1)
2151
2158
  ])) : _("", !0)
@@ -2191,20 +2198,20 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2191
2198
  "update:selectedTeamGameType"
2192
2199
  ],
2193
2200
  setup(e, { emit: t }) {
2194
- const i = e, o = t, { t: r } = q(), { championshipId: l, selectedMonth: d, selectedTeam: p, selectedTeamGameType: u } = Do(i, o), m = x(() => p.value === null);
2195
- return (w, b) => (n(), g("div", ei, [
2196
- f(a(X), {
2201
+ const i = e, o = t, { t: r } = q(), { championshipId: l, selectedMonth: d, selectedTeam: p, selectedTeamGameType: g } = Do(i, o), m = x(() => p.value === null);
2202
+ return (f, b) => (n(), u("div", ei, [
2203
+ w(a(X), {
2197
2204
  name: "season",
2198
2205
  label: a(r)("selection.season")
2199
2206
  }, {
2200
2207
  default: y(() => [
2201
- f(a(pe), {
2208
+ w(a(pe), {
2202
2209
  id: "season",
2203
2210
  modelValue: a(l),
2204
2211
  "onUpdate:modelValue": b[0] || (b[0] = (h) => Ce(l) ? l.value = h : null)
2205
2212
  }, {
2206
2213
  default: y(() => [
2207
- (n(!0), g(A, null, F(e.seasons, (h) => (n(), g("option", {
2214
+ (n(!0), u(A, null, F(e.seasons, (h) => (n(), u("option", {
2208
2215
  key: h.championshipId,
2209
2216
  value: h.championshipId
2210
2217
  }, v(h.seasonName), 9, ti))), 128))
@@ -2214,19 +2221,19 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2214
2221
  ]),
2215
2222
  _: 1
2216
2223
  }, 8, ["label"]),
2217
- f(a(X), {
2224
+ w(a(X), {
2218
2225
  name: "months",
2219
2226
  label: a(r)("selection.month")
2220
2227
  }, {
2221
2228
  default: y(() => [
2222
- f(a(pe), {
2229
+ w(a(pe), {
2223
2230
  id: "months",
2224
2231
  modelValue: a(d),
2225
2232
  "onUpdate:modelValue": b[1] || (b[1] = (h) => Ce(d) ? d.value = h : null)
2226
2233
  }, {
2227
2234
  default: y(() => [
2228
2235
  s("option", ai, v(a(r)("common.all")), 1),
2229
- (n(!0), g(A, null, F(e.months, (h) => (n(), g("option", {
2236
+ (n(!0), u(A, null, F(e.months, (h) => (n(), u("option", {
2230
2237
  key: h.value,
2231
2238
  value: h.value
2232
2239
  }, v(h.name), 9, oi))), 128))
@@ -2236,19 +2243,19 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2236
2243
  ]),
2237
2244
  _: 1
2238
2245
  }, 8, ["label"]),
2239
- f(a(X), {
2246
+ w(a(X), {
2240
2247
  name: "teams",
2241
2248
  label: a(r)("selection.teams")
2242
2249
  }, {
2243
2250
  default: y(() => [
2244
- f(a(pe), {
2251
+ w(a(pe), {
2245
2252
  id: "teams",
2246
2253
  modelValue: a(p),
2247
2254
  "onUpdate:modelValue": b[2] || (b[2] = (h) => Ce(p) ? p.value = h : null)
2248
2255
  }, {
2249
2256
  default: y(() => [
2250
2257
  s("option", ri, v(a(r)("common.all")), 1),
2251
- (n(!0), g(A, null, F(e.teams, (h) => (n(), g("option", {
2258
+ (n(!0), u(A, null, F(e.teams, (h) => (n(), u("option", {
2252
2259
  key: h.teamId,
2253
2260
  value: h.teamId
2254
2261
  }, v(h.teamName), 9, li))), 128))
@@ -2258,15 +2265,15 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2258
2265
  ]),
2259
2266
  _: 1
2260
2267
  }, 8, ["label"]),
2261
- f(a(X), {
2268
+ w(a(X), {
2262
2269
  name: "type",
2263
2270
  label: a(r)("selection.homeOrAway")
2264
2271
  }, {
2265
2272
  default: y(() => [
2266
- f(a(pe), {
2273
+ w(a(pe), {
2267
2274
  id: "type",
2268
- modelValue: a(u),
2269
- "onUpdate:modelValue": b[3] || (b[3] = (h) => Ce(u) ? u.value = h : null),
2275
+ modelValue: a(g),
2276
+ "onUpdate:modelValue": b[3] || (b[3] = (h) => Ce(g) ? g.value = h : null),
2270
2277
  disabled: m.value
2271
2278
  }, {
2272
2279
  default: y(() => [
@@ -2281,7 +2288,7 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2281
2288
  }, 8, ["label"])
2282
2289
  ]));
2283
2290
  }
2284
- }, ba = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", mi = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", di = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', pi = "@layer components.variables{:where(:host){--mvw-timezone-selector-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-500));--mvw-timezone-selector-font-size: var(--font-size-300)}}@layer components{:where(.timezone-selector){padding:3px 0;color:var(--mvw-timezone-selector-color);font-size:var(--mvw-timezone-selector-font-size);font-weight:500}:where(.timezone-selector) button+button{margin-inline-start:var(--size-4)}}", vi = "@layer components{:where(button){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h)}:where(button)[data-variant=link]{padding:0;color:var(--mvw-link-color);cursor:pointer}:where(button)[data-variant=link]:hover{color:light-dark(var(--_darken),var(--_lighten))}:where(button)[data-variant=link].is-active{font-weight:700;color:light-dark(var(--_darken),var(--_lighten))}}", hi = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", ui = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", gi = { class: "tabs underlined mb-md" }, bi = { role: "tablist" }, wi = ["aria-selected", "onClick"], fi = {
2291
+ }, ba = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", mi = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", di = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', pi = "@layer components.variables{:where(:host){--mvw-timezone-selector-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-500));--mvw-timezone-selector-font-size: var(--font-size-300)}}@layer components{:where(.timezone-selector){padding:3px 0;color:var(--mvw-timezone-selector-color);font-size:var(--mvw-timezone-selector-font-size);font-weight:500}:where(.timezone-selector) button+button{margin-inline-start:var(--size-4)}}", vi = "@layer components{:where(button){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h)}:where(button)[data-variant=link]{padding:0;color:var(--mvw-link-color);cursor:pointer}:where(button)[data-variant=link]:hover{color:light-dark(var(--_darken),var(--_lighten))}:where(button)[data-variant=link].is-active{font-weight:700;color:light-dark(var(--_darken),var(--_lighten))}}", hi = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", ui = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", gi = { class: "tabs underlined mb-md" }, bi = { role: "tablist" }, fi = ["aria-selected", "onClick"], wi = {
2285
2292
  key: 0,
2286
2293
  class: "tabs filled"
2287
2294
  }, yi = { role: "tablist" }, xi = ["aria-selected", "onClick"], ki = ["aria-selected", "onClick"], _i = ["data-gamedate"], zi = { class: "card" }, Si = "/game/id/{gameId}", Ti = {
@@ -2314,36 +2321,36 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2314
2321
  ...ma
2315
2322
  },
2316
2323
  setup(e) {
2317
- const t = e, i = { en: ne, hu: se }, o = j(null), r = j(null), l = j(Ze()), d = x(() => ft(/* @__PURE__ */ new Date(), a(l), t.locale)), p = x(() => t.scrollToGameDate.toLowerCase() === "true"), u = x(() => la(r)?.clientHeight ?? 0);
2324
+ const t = e, i = { en: ne, hu: se }, o = j(null), r = j(null), l = j(Ze()), d = x(() => wt(/* @__PURE__ */ new Date(), a(l), t.locale)), p = x(() => t.scrollToGameDate.toLowerCase() === "true"), g = x(() => la(r)?.clientHeight ?? 0);
2318
2325
  function m(h) {
2319
2326
  l.value = h;
2320
2327
  }
2321
- function w(h) {
2328
+ function f(h) {
2322
2329
  return et(t.externalGameResolver || Si, h);
2323
2330
  }
2324
2331
  const b = x(() => t.isGameTargetExternal ? "_blank" : "_self");
2325
- return (h, c) => (n(), g("div", {
2332
+ return (h, c) => (n(), u("div", {
2326
2333
  ref_key: "mainElement",
2327
2334
  ref: o
2328
2335
  }, [
2329
- f(a(le), {
2336
+ w(a(le), {
2330
2337
  locale: t.locale,
2331
2338
  messages: i
2332
2339
  }, {
2333
2340
  default: y(({ t: T }) => [
2334
- f(a(ke), null, {
2341
+ w(a(ke), null, {
2335
2342
  default: y(({ error: L, hasError: C }) => [
2336
2343
  C ? (n(), N(a(ie), {
2337
2344
  key: 0,
2338
2345
  error: L
2339
2346
  }, null, 8, ["error"])) : _("", !0),
2340
- f(vl, {
2347
+ w(vl, {
2341
2348
  locale: e.locale,
2342
2349
  timezone: l.value,
2343
2350
  "championship-name": e.championshipName,
2344
2351
  "main-element": o.value,
2345
2352
  "auto-refresh": t.autoRefresh,
2346
- "scroll-offset": u.value,
2353
+ "scroll-offset": g.value,
2347
2354
  "scroll-to-game-date": p.value
2348
2355
  }, {
2349
2356
  default: y(({
@@ -2360,14 +2367,14 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2360
2367
  selectedMonth: Y,
2361
2368
  selectedTeam: J,
2362
2369
  selectedTeamGameType: Q,
2363
- changeSeason: we,
2370
+ changeSeason: fe,
2364
2371
  changeMonth: R,
2365
2372
  changeSection: ze,
2366
2373
  changeTeam: U,
2367
2374
  changeTeamType: _t,
2368
2375
  changeSubSection: de
2369
2376
  }) => [
2370
- f(ci, {
2377
+ w(ci, {
2371
2378
  ref_key: "selectorElement",
2372
2379
  ref: r,
2373
2380
  class: "sticky blured-bg",
@@ -2378,23 +2385,23 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2378
2385
  teams: S,
2379
2386
  "selected-team": J,
2380
2387
  "selected-team-game-type": Q,
2381
- "onUpdate:championshipId": we,
2388
+ "onUpdate:championshipId": fe,
2382
2389
  "onUpdate:selectedMonth": R,
2383
2390
  "onUpdate:selectedTeam": U,
2384
2391
  "onUpdate:selectedTeamGameType": _t
2385
2392
  }, null, 8, ["seasons", "championship-id", "months", "selected-month", "teams", "selected-team", "selected-team-game-type", "onUpdate:championshipId", "onUpdate:selectedMonth", "onUpdate:selectedTeam", "onUpdate:selectedTeamGameType"]),
2386
2393
  s("nav", gi, [
2387
2394
  s("div", bi, [
2388
- (n(!0), g(A, null, F(k, (K) => (n(), g("button", {
2395
+ (n(!0), u(A, null, F(k, (K) => (n(), u("button", {
2389
2396
  key: K.id,
2390
2397
  role: "tab",
2391
2398
  type: "button",
2392
2399
  "aria-selected": K.phaseName === $,
2393
2400
  onClick: (Se) => ze(K.phaseName)
2394
- }, v(K.phaseName), 9, wi))), 128))
2401
+ }, v(K.phaseName), 9, fi))), 128))
2395
2402
  ])
2396
2403
  ]),
2397
- ae.length > 1 ? (n(), g("nav", fi, [
2404
+ ae.length > 1 ? (n(), u("nav", wi, [
2398
2405
  s("div", yi, [
2399
2406
  s("button", {
2400
2407
  role: "tab",
@@ -2402,7 +2409,7 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2402
2409
  "aria-selected": I === "",
2403
2410
  onClick: (K) => de("")
2404
2411
  }, v(T("common.all")), 9, xi),
2405
- (n(!0), g(A, null, F(ae, ({ phaseTypeName: K }) => (n(), g("button", {
2412
+ (n(!0), u(A, null, F(ae, ({ phaseTypeName: K }) => (n(), u("button", {
2406
2413
  key: K,
2407
2414
  role: "tab",
2408
2415
  type: "button",
@@ -2418,17 +2425,17 @@ const Sl = { render: ga }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
2418
2425
  "current-zone": l.value,
2419
2426
  onChange: m
2420
2427
  }, null, 8, ["locale", "current-zone"])) : _("", !0),
2421
- D ? (n(), N(a(Oe), { key: 2 })) : (n(!0), g(A, { key: 3 }, F(E.rows, (K, Se) => (n(), g("div", {
2428
+ D ? (n(), N(a(Oe), { key: 2 })) : (n(!0), u(A, { key: 3 }, F(E.rows, (K, Se) => (n(), u("div", {
2422
2429
  key: Se,
2423
2430
  "data-gamedate": Se
2424
2431
  }, [
2425
2432
  s("h6", null, v(a(qe)(new Date(Se), "L dddd", l.value, e.locale)), 1),
2426
2433
  s("div", zi, [
2427
- (n(!0), g(A, null, F(K, (zt) => (n(), N(Zl, {
2434
+ (n(!0), u(A, null, F(K, (zt) => (n(), N(Zl, {
2428
2435
  key: zt.id,
2429
2436
  game: zt,
2430
2437
  "offset-name": d.value,
2431
- "game-link": w,
2438
+ "game-link": f,
2432
2439
  target: b.value
2433
2440
  }, null, 8, ["game", "offset-name", "target"]))), 128))
2434
2441
  ])
@@ -2567,7 +2574,7 @@ const Ai = {
2567
2574
  }), { onError: r } = be(), { sort: l, change: d } = ut({
2568
2575
  sortTarget: "",
2569
2576
  orders: []
2570
- }), { isLoading: p, execute: u } = O({
2577
+ }), { isLoading: p, execute: g } = O({
2571
2578
  options: {
2572
2579
  path: "/v2/championship-seasons",
2573
2580
  apiKey: t.apiKey,
@@ -2575,7 +2582,7 @@ const Ai = {
2575
2582
  },
2576
2583
  transform: (D) => at(D, o),
2577
2584
  onError: r
2578
- }), { isLoading: m, execute: w } = O({
2585
+ }), { isLoading: m, execute: f } = O({
2579
2586
  options: {
2580
2587
  path: "/v2/championship-sections",
2581
2588
  apiKey: t.apiKey,
@@ -2602,9 +2609,9 @@ const Ai = {
2602
2609
  },
2603
2610
  onError: r
2604
2611
  }), { isActive: C, rows: P } = Ni(h, T), z = x(() => [m.value, p.value, b.value].some(Boolean)), k = x(() => W(a(h)).teamName().sorted(l).addContinuousIndex().value()), $ = x(() => W(a(P)).addContinuousIndex().value());
2605
- te([u, w, c, L]), Lo(L, Pi);
2612
+ te([g, f, c, L]), Lo(L, Pi);
2606
2613
  function S(D) {
2607
- o.championshipId = D, i.championshipId = D, i.section = null, te([w, c]);
2614
+ o.championshipId = D, i.championshipId = D, i.section = null, te([f, c]);
2608
2615
  }
2609
2616
  function E(D) {
2610
2617
  o.section = D, i.section = D, c();
@@ -2612,7 +2619,7 @@ const Ai = {
2612
2619
  function M(D) {
2613
2620
  o.standingsType = D;
2614
2621
  }
2615
- return (D, ae) => fe(D.$slots, "default", ye(xe({
2622
+ return (D, ae) => we(D.$slots, "default", ye(xe({
2616
2623
  ...o,
2617
2624
  sort: a(l),
2618
2625
  isLoading: z.value,
@@ -2685,23 +2692,23 @@ const Ai = {
2685
2692
  },
2686
2693
  emits: ["sort"],
2687
2694
  setup(e, { emit: t }) {
2688
- const i = e, o = t, { columns: r, hideColumns: l } = Mt(i), { onError: d } = be(), { columns: p, error: u } = ee(
2695
+ const i = e, o = t, { columns: r, hideColumns: l } = Mt(i), { onError: d } = be(), { columns: p, error: g } = ee(
2689
2696
  r,
2690
2697
  l,
2691
2698
  x(() => ({
2692
2699
  offsetName: i.offsetName
2693
2700
  }))
2694
2701
  );
2695
- u.value && d(
2702
+ g.value && d(
2696
2703
  new nt.WidgetError(nt.UndefinedColumn.message, {
2697
2704
  ...nt.UndefinedColumn.options,
2698
- cause: { column: u.value }
2705
+ cause: { column: g.value }
2699
2706
  })
2700
2707
  );
2701
- const m = (w) => o("sort", w);
2702
- return (w, b) => (n(), N(a(oe), null, {
2708
+ const m = (f) => o("sort", f);
2709
+ return (f, b) => (n(), N(a(oe), null, {
2703
2710
  default: y(({ el: h }) => [
2704
- f(a(ge), {
2711
+ w(a(ge), {
2705
2712
  columns: a(p),
2706
2713
  sort: i.sort,
2707
2714
  rows: i.rows,
@@ -2722,14 +2729,14 @@ const Ai = {
2722
2729
  }, null, 8, ["src"]))
2723
2730
  ]),
2724
2731
  "cell-teamName": y(({ row: c }) => [
2725
- e.isTeamLinked ? (n(), g("a", {
2732
+ e.isTeamLinked ? (n(), u("a", {
2726
2733
  key: 0,
2727
2734
  href: e.externalTeamResolver(c.team?.longName),
2728
2735
  target: "_blank"
2729
2736
  }, [
2730
2737
  s("span", Gi, v(c.team?.longName), 1),
2731
2738
  s("span", Di, v(c.team?.shortName), 1),
2732
- c.isActiveGame && c.diff !== 0 ? (n(), g("div", {
2739
+ c.isActiveGame && c.diff !== 0 ? (n(), u("div", {
2733
2740
  key: 0,
2734
2741
  class: H(["badge mx-sm", { live: c.diff > 0, error: c.diff < 0 }])
2735
2742
  }, [
@@ -2745,20 +2752,20 @@ const Ai = {
2745
2752
  })) : _("", !0),
2746
2753
  s("span", null, v(`${c.diff > 0 ? "+" : ""}${c.diff}`), 1)
2747
2754
  ], 2)) : _("", !0)
2748
- ], 8, Oi)) : (n(), g(A, { key: 1 }, [
2755
+ ], 8, Oi)) : (n(), u(A, { key: 1 }, [
2749
2756
  s("span", Mi, [
2750
2757
  V(v(c.team?.longName) + " ", 1),
2751
- c.penaltyPoints ? (n(), g("span", Fi, [...b[0] || (b[0] = [
2758
+ c.penaltyPoints ? (n(), u("span", Fi, [...b[0] || (b[0] = [
2752
2759
  s("sup", null, "*", -1)
2753
2760
  ])])) : _("", !0)
2754
2761
  ]),
2755
2762
  s("span", Ki, [
2756
2763
  V(v(c.team?.shortName) + " ", 1),
2757
- c.penaltyPoints ? (n(), g("span", ji, [...b[1] || (b[1] = [
2764
+ c.penaltyPoints ? (n(), u("span", ji, [...b[1] || (b[1] = [
2758
2765
  s("sup", null, "*", -1)
2759
2766
  ])])) : _("", !0)
2760
2767
  ]),
2761
- c.isActiveGame && c.diff !== 0 ? (n(), g("div", {
2768
+ c.isActiveGame && c.diff !== 0 ? (n(), u("div", {
2762
2769
  key: 0,
2763
2770
  class: H(["badge mx-sm", { live: c.diff > 0, error: c.diff < 0 }])
2764
2771
  }, [
@@ -2777,7 +2784,7 @@ const Ai = {
2777
2784
  ], 64))
2778
2785
  ]),
2779
2786
  "cell-score": y(({ row: c }) => [
2780
- c.isActiveGame ? (n(), g("span", {
2787
+ c.isActiveGame ? (n(), u("span", {
2781
2788
  key: 0,
2782
2789
  class: H(["badge lg", [
2783
2790
  { live: c.scoreType === "W", error: c.scoreType === "L", warning: c.scoreType === "D" }
@@ -2785,7 +2792,7 @@ const Ai = {
2785
2792
  }, v(c.score), 3)) : _("", !0)
2786
2793
  ]),
2787
2794
  loading: y(() => [
2788
- f(a(Oe))
2795
+ w(a(Oe))
2789
2796
  ]),
2790
2797
  _: 1
2791
2798
  }, 8, ["columns", "sort", "rows", "is-loading", "append-to"])
@@ -2818,24 +2825,24 @@ const Ai = {
2818
2825
  },
2819
2826
  setup(e) {
2820
2827
  const t = e, i = { en: ne, hu: se }, o = j(null), r = (l) => Ge(t.externalTeamResolver, l);
2821
- return (l, d) => (n(), g("div", null, [
2822
- f(a(le), {
2828
+ return (l, d) => (n(), u("div", null, [
2829
+ w(a(le), {
2823
2830
  locale: t.locale,
2824
2831
  messages: i
2825
2832
  }, {
2826
2833
  default: y(({ t: p }) => [
2827
- f(a(ke), null, {
2828
- default: y(({ error: u, hasError: m }) => [
2834
+ w(a(ke), null, {
2835
+ default: y(({ error: g, hasError: m }) => [
2829
2836
  m ? (n(), N(a(ie), {
2830
2837
  key: 0,
2831
- error: u
2838
+ error: g
2832
2839
  }, null, 8, ["error"])) : _("", !0),
2833
- f(Ai, {
2840
+ w(Ai, {
2834
2841
  locale: e.locale,
2835
2842
  "championship-name": e.championshipName
2836
2843
  }, {
2837
2844
  default: y(({
2838
- sort: w,
2845
+ sort: f,
2839
2846
  teams: b,
2840
2847
  seasons: h,
2841
2848
  section: c,
@@ -2850,7 +2857,7 @@ const Ai = {
2850
2857
  changeSection: E,
2851
2858
  onChangeStandingsType: M
2852
2859
  }) => [
2853
- f(a(ht), {
2860
+ w(a(ht), {
2854
2861
  seasons: h,
2855
2862
  "championship-id": z,
2856
2863
  sections: T,
@@ -2858,7 +2865,7 @@ const Ai = {
2858
2865
  onOnChangeSeason: S,
2859
2866
  onOnChangeSection: E
2860
2867
  }, null, 8, ["seasons", "championship-id", "sections", "section-id", "onOnChangeSeason", "onOnChangeSection"]),
2861
- k ? (n(), g("nav", Vi, [
2868
+ k ? (n(), u("nav", Vi, [
2862
2869
  s("div", {
2863
2870
  role: "tablist",
2864
2871
  "aria-label": p("selection.sections")
@@ -2889,17 +2896,17 @@ const Ai = {
2889
2896
  key: 2,
2890
2897
  rows: b.rows,
2891
2898
  columns: a(Qa),
2892
- sort: w,
2899
+ sort: f,
2893
2900
  "external-team-resolver": r,
2894
2901
  "append-to": o.value,
2895
2902
  "is-loading": C,
2896
2903
  onSort: $
2897
2904
  }, null, 8, ["rows", "columns", "sort", "append-to", "is-loading", "onSort"])) : _("", !0),
2898
- f(a(Tt), {
2905
+ w(a(Tt), {
2899
2906
  rows: b.rows,
2900
2907
  "additional-key": "inheritedPoints"
2901
2908
  }, null, 8, ["rows"]),
2902
- f(a(Tt), {
2909
+ w(a(Tt), {
2903
2910
  rows: b.rows,
2904
2911
  "additional-key": "penaltyPoints"
2905
2912
  }, null, 8, ["rows"])
@@ -3143,30 +3150,30 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3143
3150
  }), p = x({
3144
3151
  get: () => i.currentReport,
3145
3152
  set: (b) => o("onReportChange", b)
3146
- }), u = x({
3153
+ }), g = x({
3147
3154
  get: () => i.teamFilter,
3148
3155
  set: (b) => o("onTeamChange", b)
3149
3156
  }), m = x({
3150
3157
  get: () => i.playerFilter,
3151
3158
  set: (b) => o("onPlayerInput", b)
3152
3159
  });
3153
- function w(b) {
3160
+ function f(b) {
3154
3161
  o("onStatTypeChange", b);
3155
3162
  }
3156
- return (b, h) => (n(), g(A, null, [
3163
+ return (b, h) => (n(), u(A, null, [
3157
3164
  s("div", Zi, [
3158
- f(a(X), {
3165
+ w(a(X), {
3159
3166
  label: a(r)("selection.season"),
3160
3167
  name: "season"
3161
3168
  }, {
3162
3169
  default: y(() => [
3163
- f(a(pe), {
3170
+ w(a(pe), {
3164
3171
  id: "season",
3165
3172
  modelValue: l.value,
3166
3173
  "onUpdate:modelValue": h[0] || (h[0] = (c) => l.value = c)
3167
3174
  }, {
3168
3175
  default: y(() => [
3169
- (n(!0), g(A, null, F(e.seasons, (c) => (n(), g("option", {
3176
+ (n(!0), u(A, null, F(e.seasons, (c) => (n(), u("option", {
3170
3177
  key: c.championshipId,
3171
3178
  value: c.championshipId
3172
3179
  }, v(c.seasonName), 9, en))), 128))
@@ -3176,18 +3183,18 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3176
3183
  ]),
3177
3184
  _: 1
3178
3185
  }, 8, ["label"]),
3179
- f(a(X), {
3186
+ w(a(X), {
3180
3187
  label: a(r)("selection.section"),
3181
3188
  name: "section"
3182
3189
  }, {
3183
3190
  default: y(() => [
3184
- f(a(pe), {
3191
+ w(a(pe), {
3185
3192
  id: "section",
3186
3193
  modelValue: d.value,
3187
3194
  "onUpdate:modelValue": h[1] || (h[1] = (c) => d.value = c)
3188
3195
  }, {
3189
3196
  default: y(() => [
3190
- (n(!0), g(A, null, F(e.sections, (c) => (n(), g("option", {
3197
+ (n(!0), u(A, null, F(e.sections, (c) => (n(), u("option", {
3191
3198
  key: c.phaseId,
3192
3199
  value: c.phaseId
3193
3200
  }, v(c.phaseName), 9, tn))), 128))
@@ -3197,18 +3204,18 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3197
3204
  ]),
3198
3205
  _: 1
3199
3206
  }, 8, ["label"]),
3200
- f(a(X), {
3207
+ w(a(X), {
3201
3208
  label: a(r)("selection.report"),
3202
3209
  name: "report"
3203
3210
  }, {
3204
3211
  default: y(() => [
3205
- f(a(pe), {
3212
+ w(a(pe), {
3206
3213
  id: "report",
3207
3214
  modelValue: p.value,
3208
3215
  "onUpdate:modelValue": h[2] || (h[2] = (c) => p.value = c)
3209
3216
  }, {
3210
3217
  default: y(() => [
3211
- (n(!0), g(A, null, F(e.reports, ({ name: c, value: T }) => (n(), g("option", {
3218
+ (n(!0), u(A, null, F(e.reports, ({ name: c, value: T }) => (n(), u("option", {
3212
3219
  key: T,
3213
3220
  value: T
3214
3221
  }, v(c), 9, an))), 128))
@@ -3218,21 +3225,21 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3218
3225
  ]),
3219
3226
  _: 1
3220
3227
  }, 8, ["label"]),
3221
- e.reportType === "players" ? (n(), g(A, { key: 0 }, [
3222
- f(a(X), {
3228
+ e.reportType === "players" ? (n(), u(A, { key: 0 }, [
3229
+ w(a(X), {
3223
3230
  label: a(r)("selection.teams"),
3224
3231
  name: "teams"
3225
3232
  }, {
3226
3233
  default: y(() => [
3227
- f(a(pe), {
3234
+ w(a(pe), {
3228
3235
  id: "teams",
3229
- modelValue: u.value,
3230
- "onUpdate:modelValue": h[3] || (h[3] = (c) => u.value = c),
3236
+ modelValue: g.value,
3237
+ "onUpdate:modelValue": h[3] || (h[3] = (c) => g.value = c),
3231
3238
  disabled: e.reportType !== "players"
3232
3239
  }, {
3233
3240
  default: y(() => [
3234
3241
  s("option", on, v(a(r)("common.all")), 1),
3235
- (n(!0), g(A, null, F(e.teams, ({ teamId: c, teamName: T }) => (n(), g("option", {
3242
+ (n(!0), u(A, null, F(e.teams, ({ teamId: c, teamName: T }) => (n(), u("option", {
3236
3243
  key: c,
3237
3244
  value: c
3238
3245
  }, v(T), 9, rn))), 128))
@@ -3242,7 +3249,7 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3242
3249
  ]),
3243
3250
  _: 1
3244
3251
  }, 8, ["label"]),
3245
- f(a(X), {
3252
+ w(a(X), {
3246
3253
  label: a(r)("selection.filterName"),
3247
3254
  name: "player"
3248
3255
  }, {
@@ -3250,7 +3257,7 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3250
3257
  _a(s("input", {
3251
3258
  id: "player",
3252
3259
  "onUpdate:modelValue": h[4] || (h[4] = (c) => m.value = c),
3253
- type: "text",
3260
+ type: "search",
3254
3261
  class: "base-input",
3255
3262
  disabled: e.reportType !== "players"
3256
3263
  }, null, 8, ln), [
@@ -3270,13 +3277,13 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3270
3277
  role: "tab",
3271
3278
  type: "button",
3272
3279
  "aria-selected": e.reportType === a(Ae),
3273
- onClick: h[5] || (h[5] = (c) => w(a(Ae)))
3280
+ onClick: h[5] || (h[5] = (c) => f(a(Ae)))
3274
3281
  }, v(a(r)("selection.players")), 9, cn),
3275
3282
  s("button", {
3276
3283
  role: "tab",
3277
3284
  type: "button",
3278
3285
  "aria-selected": e.reportType === a(Rt),
3279
- onClick: h[6] || (h[6] = (c) => w(a(Rt)))
3286
+ onClick: h[6] || (h[6] = (c) => f(a(Rt)))
3280
3287
  }, v(a(r)("selection.teams")), 9, mn)
3281
3288
  ], 8, sn)
3282
3289
  ])
@@ -3324,7 +3331,7 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3324
3331
  l.columns = d.columns, l.api = d.api;
3325
3332
  const p = x(
3326
3333
  () => l.reportType === Ae ? Ji(i) : Qi(i)
3327
- ), { page: u, change: m } = jt(), { sort: w, change: b } = ut({
3334
+ ), { page: g, change: m } = jt(), { sort: f, change: b } = ut({
3328
3335
  sortTarget: "points",
3329
3336
  orders: [{ target: "points", direction: G }]
3330
3337
  });
@@ -3410,11 +3417,11 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3410
3417
  }
3411
3418
  }
3412
3419
  const C = x(
3413
- () => W(l.rows).filter(l.teamFilter, [["team", "id"]], !0).filter(l.playerFilter, ["name"]).sorted(w).addIndex(w.sortTarget).pagination(a(u), t.limit).value()
3414
- ), P = x(() => [(u.value - 1) * t.limit + 1, Math.min(u.value * t.limit, C.value.totalItems)]);
3420
+ () => W(l.rows).filter(l.teamFilter, [["team", "id"]], !0).filter(l.playerFilter, ["name"]).sorted(f).addIndex(f.sortTarget).pagination(a(g), t.limit).value()
3421
+ ), P = x(() => [(g.value - 1) * t.limit + 1, Math.min(g.value * t.limit, C.value.totalItems)]);
3415
3422
  function z() {
3416
3423
  const I = At.get(l.currentReport);
3417
- l.columns = I.columns, l.api = I.api, l.apiParams = I.params || {}, w.sortTarget = I.sort.sortTarget, w.orders = I.sort.orders;
3424
+ l.columns = I.columns, l.api = I.api, l.apiParams = I.params || {}, f.sortTarget = I.sort.sortTarget, f.orders = I.sort.orders;
3418
3425
  }
3419
3426
  async function k(I) {
3420
3427
  l.championshipId = I, r.championshipId = I, l.phaseId = null, r.phaseId = null, await c(), r.section = l.section, await L(), await T();
@@ -3437,11 +3444,11 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3437
3444
  async function ae() {
3438
3445
  await h(), await c(), await L(), z(), await T();
3439
3446
  }
3440
- return ae(), (I, Y) => fe(I.$slots, "default", ye(xe({
3447
+ return ae(), (I, Y) => we(I.$slots, "default", ye(xe({
3441
3448
  ...l,
3442
3449
  rows: C.value,
3443
- sort: a(w),
3444
- page: a(u),
3450
+ sort: a(f),
3451
+ page: a(g),
3445
3452
  range: P.value,
3446
3453
  selectorProps: {
3447
3454
  reports: p.value,
@@ -3503,15 +3510,15 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3503
3510
  },
3504
3511
  setup(e) {
3505
3512
  const t = e, i = { en: ne, hu: se }, o = j(null), r = (d) => Ge(t.externalTeamResolver, d), l = (d) => tt(t.externalPlayerLink, d);
3506
- return (d, p) => (n(), g("div", null, [
3507
- f(a(le), {
3513
+ return (d, p) => (n(), u("div", null, [
3514
+ w(a(le), {
3508
3515
  locale: t.locale,
3509
3516
  messages: i
3510
3517
  }, {
3511
- default: y(({ t: u }) => [
3512
- f(a(ke), null, {
3513
- default: y(({ hasError: m, error: w }) => [
3514
- f(pn, {
3518
+ default: y(({ t: g }) => [
3519
+ w(a(ke), null, {
3520
+ default: y(({ hasError: m, error: f }) => [
3521
+ w(pn, {
3515
3522
  "championship-name": e.championshipName,
3516
3523
  "championship-id": e.championshipId,
3517
3524
  limit: t.limit,
@@ -3531,9 +3538,9 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3531
3538
  }) => [
3532
3539
  m ? (n(), N(a(ie), {
3533
3540
  key: 0,
3534
- error: w
3541
+ error: f
3535
3542
  }, null, 8, ["error"])) : (n(), N(dn, vt({ key: 1 }, P, Sa(z)), null, 16)),
3536
- f(a(Ia), {
3543
+ w(a(Ia), {
3537
3544
  columns: h,
3538
3545
  rows: c.rows,
3539
3546
  sort: b,
@@ -3547,14 +3554,14 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3547
3554
  onSort: $
3548
3555
  }, null, 8, ["columns", "rows", "sort", "is-loading", "is-team-linked", "is-player-linked", "hide-columns", "append-to", "onSort"]),
3549
3556
  s("div", un, [
3550
- f(a(Kt), {
3557
+ w(a(Kt), {
3551
3558
  page: T,
3552
3559
  "items-per-page": t.limit,
3553
3560
  "total-items": c.totalItems,
3554
3561
  "range-length": 5,
3555
3562
  onChange: k
3556
3563
  }, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
3557
- c.totalItems > 0 ? (n(), g("div", gn, v(u("table.info", { min: L[0], max: L[1], total: c.totalItems })), 1)) : _("", !0)
3564
+ c.totalItems > 0 ? (n(), u("div", gn, v(g("table.info", { min: L[0], max: L[1], total: c.totalItems })), 1)) : _("", !0)
3558
3565
  ]),
3559
3566
  s("div", {
3560
3567
  ref_key: "tooltipContainer",
@@ -3571,7 +3578,7 @@ const Zi = { class: "flex-container mb-md" }, en = ["value"], tn = ["value"], an
3571
3578
  }, 8, ["locale"])
3572
3579
  ]));
3573
3580
  }
3574
- }, wn = /* @__PURE__ */ me(bn, [["styles", [ce, De, ot, rt, Me, lt, it, vn, hn]]]), Ve = "Info", Ue = "Games", Ye = "Stats", We = "Roster", fn = {
3581
+ }, fn = /* @__PURE__ */ me(bn, [["styles", [ce, De, ot, rt, Me, lt, it, vn, hn]]]), Ve = "Info", Ue = "Games", Ye = "Stats", We = "Roster", wn = {
3575
3582
  teamKeyIntl: {
3576
3583
  label: "table.blank",
3577
3584
  class: "text-start"
@@ -3629,21 +3636,21 @@ const kn = {
3629
3636
  },
3630
3637
  transform: (k) => yn(k),
3631
3638
  onError: l
3632
- }), { state: p, execute: u } = O({
3639
+ }), { state: p, execute: g } = O({
3633
3640
  options: {
3634
3641
  path: "/v2/team-games",
3635
3642
  apiKey: t.apiKey,
3636
3643
  params: x(() => ({ championshipId: r.championshipId, teamId: r.teamId }))
3637
3644
  },
3638
3645
  transform: (k) => Xe(
3639
- wt(k),
3646
+ ft(k),
3640
3647
  Ht(i, t.locale),
3641
3648
  qt,
3642
3649
  Jt(r.teamId),
3643
3650
  Qt
3644
3651
  ),
3645
3652
  onError: l
3646
- }), { state: m, execute: w } = O({
3653
+ }), { state: m, execute: f } = O({
3647
3654
  options: {
3648
3655
  path: "/v2/championship-players",
3649
3656
  apiKey: t.apiKey,
@@ -3691,10 +3698,10 @@ const kn = {
3691
3698
  function z(k) {
3692
3699
  switch (k) {
3693
3700
  case Ue:
3694
- u();
3701
+ g();
3695
3702
  break;
3696
3703
  case We:
3697
- w();
3704
+ f();
3698
3705
  break;
3699
3706
  case Ye:
3700
3707
  r.isStatsLoading = !0, te([C, h, T], {
@@ -3709,7 +3716,7 @@ const kn = {
3709
3716
  break;
3710
3717
  }
3711
3718
  }
3712
- return (k, $) => fe(k.$slots, "default", ye(xe({ ...r, games: a(p), teamInfo: a(d), roster: a(m), fieldPlayers: a(b), fieldPlayersPenalty: a(c), onChangePage: P })));
3719
+ return (k, $) => we(k.$slots, "default", ye(xe({ ...r, games: a(p), teamInfo: a(d), roster: a(m), fieldPlayers: a(b), fieldPlayersPenalty: a(c), onChangePage: P })));
3713
3720
  }
3714
3721
  }, _n = {
3715
3722
  __name: "Games",
@@ -3741,11 +3748,11 @@ const kn = {
3741
3748
  pt
3742
3749
  ),
3743
3750
  null,
3744
- x(() => ({ offsetName: ft(/* @__PURE__ */ new Date(), null, "hu") }))
3751
+ x(() => ({ offsetName: wt(/* @__PURE__ */ new Date(), null, "hu") }))
3745
3752
  );
3746
- return (r, l) => (n(), g(A, null, [
3753
+ return (r, l) => (n(), u(A, null, [
3747
3754
  s("h2", null, v(a(i)("teams.games")), 1),
3748
- f(na, {
3755
+ w(na, {
3749
3756
  rows: e.data,
3750
3757
  columns: a(o),
3751
3758
  "game-resolver": e.gameResolver,
@@ -3766,26 +3773,26 @@ const kn = {
3766
3773
  }
3767
3774
  },
3768
3775
  setup(e) {
3769
- const t = e, i = j(null), { t: o } = q(), { columns: r } = ee(fn), l = x(() => t.data.map((d) => ({ ...d, teamKeyIntl: o(`teams.info.${d.teamKey}`) })));
3770
- return (d, p) => (n(), g("div", null, [
3776
+ const t = e, i = j(null), { t: o } = q(), { columns: r } = ee(wn), l = x(() => t.data.map((d) => ({ ...d, teamKeyIntl: o(`teams.info.${d.teamKey}`) })));
3777
+ return (d, p) => (n(), u("div", null, [
3771
3778
  s("h2", null, v(a(o)("teams.teamInfo")), 1),
3772
- f(a(oe), null, {
3779
+ w(a(oe), null, {
3773
3780
  default: y(() => [
3774
- f(a(ge), {
3781
+ w(a(ge), {
3775
3782
  columns: a(r),
3776
3783
  rows: l.value,
3777
3784
  "append-to": i.value
3778
3785
  }, {
3779
- "cell-teamValue": y(({ row: u }) => [
3780
- u.teamKey === "organizationEmail" ? (n(), g("a", {
3786
+ "cell-teamValue": y(({ row: g }) => [
3787
+ g.teamKey === "organizationEmail" ? (n(), u("a", {
3781
3788
  key: 0,
3782
- href: `mailto:${u.teamValue}`
3783
- }, v(u.teamValue), 9, zn)) : _("", !0),
3784
- u.teamKey === "organizationWebpage" ? (n(), g("a", {
3789
+ href: `mailto:${g.teamValue}`
3790
+ }, v(g.teamValue), 9, zn)) : _("", !0),
3791
+ g.teamKey === "organizationWebpage" ? (n(), u("a", {
3785
3792
  key: 1,
3786
- href: `https://${u.teamValue}`,
3793
+ href: `https://${g.teamValue}`,
3787
3794
  target: "_blank"
3788
- }, v(u.teamValue), 9, Sn)) : _("", !0)
3795
+ }, v(g.teamValue), 9, Sn)) : _("", !0)
3789
3796
  ]),
3790
3797
  _: 1
3791
3798
  }, 8, ["columns", "rows", "append-to"])
@@ -3820,10 +3827,10 @@ const kn = {
3820
3827
  },
3821
3828
  setup(e) {
3822
3829
  const t = j(null), { t: i } = q(), { columns: o } = ee($e(["teamName"], xn(ia)));
3823
- return (r, l) => (n(), g(A, null, [
3824
- (n(!0), g(A, null, F(e.data, (d, p) => (n(), g(A, { key: p }, [
3830
+ return (r, l) => (n(), u(A, null, [
3831
+ (n(!0), u(A, null, F(e.data, (d, p) => (n(), u(A, { key: p }, [
3825
3832
  s("h2", null, v(a(i)(`teams.${p}`)), 1),
3826
- f(ca, {
3833
+ w(ca, {
3827
3834
  rows: d,
3828
3835
  columns: a(o),
3829
3836
  "championship-id": e.championshipId,
@@ -3883,11 +3890,11 @@ const kn = {
3883
3890
  ],
3884
3891
  Ie
3885
3892
  ), o = j(null), { t: r } = q(), { columns: l } = ee(t), { columns: d } = ee(i);
3886
- return (p, u) => (n(), g("div", null, [
3893
+ return (p, g) => (n(), u("div", null, [
3887
3894
  s("h2", null, v(a(r)("teams.fieldPlayers")), 1),
3888
- f(a(oe), null, {
3895
+ w(a(oe), null, {
3889
3896
  default: y(() => [
3890
- f(a(ge), {
3897
+ w(a(ge), {
3891
3898
  columns: a(l),
3892
3899
  rows: e.fieldPlayers,
3893
3900
  "is-loading": e.isLoading,
@@ -3914,9 +3921,9 @@ const kn = {
3914
3921
  _: 1
3915
3922
  }),
3916
3923
  s("h2", null, v(a(r)("teams.goalies")), 1),
3917
- f(a(oe), null, {
3924
+ w(a(oe), null, {
3918
3925
  default: y(() => [
3919
- f(a(ge), {
3926
+ w(a(ge), {
3920
3927
  columns: a(d),
3921
3928
  rows: e.goalies,
3922
3929
  "is-loading": e.isLoading,
@@ -3981,25 +3988,25 @@ const kn = {
3981
3988
  },
3982
3989
  setup(e) {
3983
3990
  const t = e, i = { en: ne, hu: se }, o = (l) => tt(t.externalPlayerResolver, l), r = (l) => et(t.externalGameResolver, l);
3984
- return (l, d) => (n(), g("div", En, [
3985
- f(a(le), {
3991
+ return (l, d) => (n(), u("div", En, [
3992
+ w(a(le), {
3986
3993
  locale: t.locale,
3987
3994
  messages: i
3988
3995
  }, {
3989
3996
  default: y(({ t: p }) => [
3990
- f(a(ke), null, {
3991
- default: y(({ hasError: u, error: m }) => [
3992
- u ? (n(), N(a(ie), {
3997
+ w(a(ke), null, {
3998
+ default: y(({ hasError: g, error: m }) => [
3999
+ g ? (n(), N(a(ie), {
3993
4000
  key: 0,
3994
4001
  error: m
3995
4002
  }, null, 8, ["error"])) : _("", !0),
3996
- f(kn, {
4003
+ w(kn, {
3997
4004
  "api-key": t.apiKey,
3998
4005
  "championship-id": e.championshipId,
3999
4006
  "team-id": e.teamId
4000
4007
  }, {
4001
4008
  default: y(({
4002
- teamInfo: w,
4009
+ teamInfo: f,
4003
4010
  page: b,
4004
4011
  roster: h,
4005
4012
  games: c,
@@ -4007,19 +4014,19 @@ const kn = {
4007
4014
  isStatsLoading: L,
4008
4015
  onChangePage: C
4009
4016
  }) => [
4010
- s("h1", Rn, v(w?.team?.longName), 1),
4017
+ s("h1", Rn, v(f?.team?.longName), 1),
4011
4018
  s("div", An, [
4012
4019
  s("div", On, [
4013
4020
  (n(), N(a(B), {
4014
- key: w?.team?.id,
4015
- src: w?.team?.teamPhoto,
4021
+ key: f?.team?.id,
4022
+ src: f?.team?.teamPhoto,
4016
4023
  "default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
4017
4024
  }, null, 8, ["src"]))
4018
4025
  ]),
4019
4026
  s("div", Gn, [
4020
4027
  (n(), N(a(B), {
4021
- key: w?.team?.id,
4022
- src: w?.team?.logo
4028
+ key: f?.team?.id,
4029
+ src: f?.team?.logo
4023
4030
  }, null, 8, ["src"]))
4024
4031
  ])
4025
4032
  ]),
@@ -4056,7 +4063,7 @@ const kn = {
4056
4063
  ]),
4057
4064
  b === a(Ve) ? (n(), N(Tn, {
4058
4065
  key: 0,
4059
- data: w.organizationInfo
4066
+ data: f.organizationInfo
4060
4067
  }, null, 8, ["data"])) : _("", !0),
4061
4068
  b === a(Ue) ? (n(), N(_n, {
4062
4069
  key: 1,
@@ -4119,7 +4126,7 @@ const kn = {
4119
4126
  onError: r
4120
4127
  }), {
4121
4128
  isLoading: p,
4122
- state: u,
4129
+ state: g,
4123
4130
  execute: m
4124
4131
  } = O({
4125
4132
  options: {
@@ -4129,15 +4136,15 @@ const kn = {
4129
4136
  },
4130
4137
  transform: bt,
4131
4138
  onError: r
4132
- }), w = gt([l, p], { delay: 1e3 });
4139
+ }), f = gt([l, p], { delay: 1e3 });
4133
4140
  te([d, m]);
4134
4141
  function b(h) {
4135
4142
  o.championshipId = h, i.championshipId = h, te([m]);
4136
4143
  }
4137
- return (h, c) => fe(h.$slots, "default", ye(xe({
4144
+ return (h, c) => we(h.$slots, "default", ye(xe({
4138
4145
  ...o,
4139
- teams: a(u),
4140
- isLoading: a(w),
4146
+ teams: a(g),
4147
+ isLoading: a(f),
4141
4148
  changeSeason: b
4142
4149
  })));
4143
4150
  }
@@ -4171,13 +4178,13 @@ const kn = {
4171
4178
  function o(r, l) {
4172
4179
  return Ge(t.externalTeamResolver, { team: { id: r }, championshipId: l });
4173
4180
  }
4174
- return (r, l) => (n(), g("div", null, [
4175
- f(a(le), {
4181
+ return (r, l) => (n(), u("div", null, [
4182
+ w(a(le), {
4176
4183
  locale: t.locale,
4177
4184
  messages: i
4178
4185
  }, {
4179
4186
  default: y(() => [
4180
- f(a(ke), null, {
4187
+ w(a(ke), null, {
4181
4188
  default: y(({ error: d, hasError: p }) => [
4182
4189
  p ? (n(), N(a(ie), {
4183
4190
  key: 0,
@@ -4189,15 +4196,15 @@ const kn = {
4189
4196
  locale: e.locale,
4190
4197
  "championship-name": e.championshipName
4191
4198
  }, {
4192
- default: y(({ teams: u, seasons: m, isLoading: w, championshipId: b, changeSeason: h }) => [
4193
- f(a(ht), {
4199
+ default: y(({ teams: g, seasons: m, isLoading: f, championshipId: b, changeSeason: h }) => [
4200
+ w(a(ht), {
4194
4201
  seasons: m,
4195
4202
  "championship-id": b,
4196
4203
  "is-section-selection-disabled": "",
4197
4204
  onOnChangeSeason: h
4198
4205
  }, null, 8, ["seasons", "championship-id", "onOnChangeSeason"]),
4199
- w ? (n(), N(a(Oe), { key: 0 })) : (n(), g("div", Wn, [
4200
- (n(!0), g(A, null, F(u, (c) => (n(), g("div", {
4206
+ f ? (n(), N(a(Oe), { key: 0 })) : (n(), u("div", Wn, [
4207
+ (n(!0), u(A, null, F(g, (c) => (n(), u("div", {
4201
4208
  key: c.teamId,
4202
4209
  role: "listitem"
4203
4210
  }, [
@@ -4263,23 +4270,23 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4263
4270
  }
4264
4271
  },
4265
4272
  setup(e) {
4266
- return (t, i) => (n(), g("div", Zn, [
4273
+ return (t, i) => (n(), u("div", Zn, [
4267
4274
  s("h2", null, [
4268
4275
  V(v(e.title) + " ", 1),
4269
4276
  s("a", {
4270
4277
  href: e.statResolver(e.externalId)
4271
4278
  }, [
4272
- f(a(_l))
4279
+ w(a(_l))
4273
4280
  ], 8, es)
4274
4281
  ]),
4275
4282
  s("div", ts, [
4276
- (n(!0), g(A, null, F(e.list, (o, r) => (n(), g("div", {
4283
+ (n(!0), u(A, null, F(e.list, (o, r) => (n(), u("div", {
4277
4284
  key: o.player.playerId,
4278
4285
  role: "listitem",
4279
4286
  class: H({ "is-large": r === 0 })
4280
4287
  }, [
4281
4288
  s("div", as, [
4282
- f(a(B), {
4289
+ w(a(B), {
4283
4290
  class: "is-player truncate",
4284
4291
  src: o.player.picture,
4285
4292
  "default-src": a(Je)
@@ -4349,7 +4356,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4349
4356
  }
4350
4357
  },
4351
4358
  setup(e) {
4352
- const t = e, i = { en: ne, hu: se }, o = j(0), { onError: r, error: l, hasError: d, reset: p } = Bt(), { isLoading: u, state: m, execute: w } = O({
4359
+ const t = e, i = { en: ne, hu: se }, o = j(0), { onError: r, error: l, hasError: d, reset: p } = Bt(), { isLoading: g, state: m, execute: f } = O({
4353
4360
  options: {
4354
4361
  path: "/v2/championship-sections",
4355
4362
  apiKey: t.apiKey,
@@ -4358,7 +4365,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4358
4365
  },
4359
4366
  transform: (U) => Xn(U[0].phases || []),
4360
4367
  onSuccess: (U) => {
4361
- o.value = ta(U)?.phaseBaseId ?? 0, we();
4368
+ o.value = ta(U)?.phaseBaseId ?? 0, fe();
4362
4369
  },
4363
4370
  onError: r
4364
4371
  }), { isLoading: b, state: h, execute: c } = O({
@@ -4385,7 +4392,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4385
4392
  immediate: !1
4386
4393
  },
4387
4394
  onError: r
4388
- }), $ = No([b, T, P, u], Boolean), S = x(() => W(h.value).sorted({
4395
+ }), $ = No([b, T, P, g], Boolean), S = x(() => W(h.value).sorted({
4389
4396
  sortTarget: "points",
4390
4397
  orders: [{ target: "points", direction: G }, { target: "goals", direction: G }]
4391
4398
  }).slice(t.limit).playerName().value()), E = x(() => W(h.value).sorted({
@@ -4404,14 +4411,14 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4404
4411
  sortTarget: "pim",
4405
4412
  orders: [{ target: "pim", direction: G }]
4406
4413
  }).slice(t.limit).playerName().value()), Y = (U) => tt(t.externalPlayerResolver, { ...U, championshipId: t.championshipId }), J = (U) => Ge(t.externalTeamResolver, { ...U, championshipId: t.championshipId }), Q = (U) => Ja(t.externalStatisticResolver, { id: U });
4407
- function we() {
4414
+ function fe() {
4408
4415
  c(), C(), k();
4409
4416
  }
4410
4417
  function R(U) {
4411
- o.value = U, we();
4418
+ o.value = U, fe();
4412
4419
  }
4413
4420
  function ze() {
4414
- p(), w(), we();
4421
+ p(), f(), fe();
4415
4422
  }
4416
4423
  return (U, _t) => (n(), N(a(le), {
4417
4424
  locale: t.locale,
@@ -4419,16 +4426,16 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4419
4426
  }, {
4420
4427
  default: y(({ t: de }) => [
4421
4428
  s("div", cs, [
4422
- a(d) ? (n(), g("div", ms, [
4423
- f(a(ie), {
4429
+ a(d) ? (n(), u("div", ms, [
4430
+ w(a(ie), {
4424
4431
  error: a(l),
4425
4432
  "use-retry": "",
4426
4433
  onRetry: ze
4427
4434
  }, null, 8, ["error"])
4428
- ])) : (n(), g(A, { key: 1 }, [
4429
- !a(Xt)(a(m)) && a(m).length > 1 ? (n(), g("nav", ds, [
4435
+ ])) : (n(), u(A, { key: 1 }, [
4436
+ !a(Xt)(a(m)) && a(m).length > 1 ? (n(), u("nav", ds, [
4430
4437
  s("div", ps, [
4431
- (n(!0), g(A, null, F(a(m), (K) => (n(), g("button", {
4438
+ (n(!0), u(A, null, F(a(m), (K) => (n(), u("button", {
4432
4439
  key: K.phaseBaseId,
4433
4440
  role: "tab",
4434
4441
  type: "button",
@@ -4437,8 +4444,8 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4437
4444
  }, v(K.phaseName), 9, vs))), 128))
4438
4445
  ])
4439
4446
  ])) : _("", !0),
4440
- a($) ? (n(), N(a(Oe), { key: 1 })) : (n(), g("div", hs, [
4441
- f(Te, {
4447
+ a($) ? (n(), N(a(Oe), { key: 1 })) : (n(), u("div", hs, [
4448
+ w(Te, {
4442
4449
  title: de("report.points"),
4443
4450
  list: S.value.rows,
4444
4451
  "data-key": "points",
@@ -4447,7 +4454,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4447
4454
  "team-resolver": J,
4448
4455
  "stat-resolver": Q
4449
4456
  }, null, 8, ["title", "list"]),
4450
- f(Te, {
4457
+ w(Te, {
4451
4458
  title: de("report.goals"),
4452
4459
  list: E.value.rows,
4453
4460
  "data-key": "goals",
@@ -4456,7 +4463,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4456
4463
  "team-resolver": J,
4457
4464
  "stat-resolver": Q
4458
4465
  }, null, 8, ["title", "list"]),
4459
- f(Te, {
4466
+ w(Te, {
4460
4467
  title: de("report.assists"),
4461
4468
  list: M.value.rows,
4462
4469
  "data-key": "assists",
@@ -4465,7 +4472,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4465
4472
  "team-resolver": J,
4466
4473
  "stat-resolver": Q
4467
4474
  }, null, 8, ["title", "list"]),
4468
- f(Te, {
4475
+ w(Te, {
4469
4476
  title: de("report.goalies"),
4470
4477
  list: ae.value.rows,
4471
4478
  "data-key": "svsPercent",
@@ -4474,7 +4481,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4474
4481
  "team-resolver": J,
4475
4482
  "stat-resolver": Q
4476
4483
  }, null, 8, ["title", "list"]),
4477
- f(Te, {
4484
+ w(Te, {
4478
4485
  title: de("report.penalties"),
4479
4486
  list: I.value.rows,
4480
4487
  "data-key": "pim",
@@ -4483,7 +4490,7 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4483
4490
  "team-resolver": J,
4484
4491
  "stat-resolver": Q
4485
4492
  }, null, 8, ["title", "list"]),
4486
- f(Te, {
4493
+ w(Te, {
4487
4494
  title: "+/-",
4488
4495
  list: D.value.rows,
4489
4496
  "data-key": "plusMinus",
@@ -4499,25 +4506,25 @@ const Zn = { class: "top-list-container" }, es = ["href"], ts = { role: "list" }
4499
4506
  _: 1
4500
4507
  }, 8, ["locale"]));
4501
4508
  }
4502
- }, gs = /* @__PURE__ */ me(us, [["styles", [ce, is, ns, ss, da]]]), bs = re(wn), ws = re(Ii), fs = re(cl), ys = re(qi), xs = re(Qn), ks = re(Un), _s = re(Er), zs = re(fr), Ss = re(gs);
4509
+ }, gs = /* @__PURE__ */ me(us, [["styles", [ce, is, ns, ss, da]]]), bs = re(fn), fs = re(Ii), ws = re(cl), ys = re(qi), xs = re(Qn), ks = re(Un), _s = re(Er), zs = re(wr), Ss = re(gs);
4503
4510
  function Ts() {
4504
- customElements.define("mjsz-vbr-statistics", bs), customElements.define("mjsz-vbr-schedule-liga", ws), customElements.define("mjsz-vbr-playoffs", fs), customElements.define("mjsz-vbr-standings-liga", ys), customElements.define("mjsz-vbr-teams-liga", xs), customElements.define("mjsz-vbr-players-liga", _s), customElements.define("mjsz-vbr-player-liga", zs), customElements.define("mjsz-vbr-team-liga", ks), customElements.define("mjsz-vbr-top-list-liga", Ss);
4511
+ customElements.define("mjsz-vbr-statistics", bs), customElements.define("mjsz-vbr-schedule-liga", fs), customElements.define("mjsz-vbr-playoffs", ws), customElements.define("mjsz-vbr-standings-liga", ys), customElements.define("mjsz-vbr-teams-liga", xs), customElements.define("mjsz-vbr-players-liga", _s), customElements.define("mjsz-vbr-player-liga", zs), customElements.define("mjsz-vbr-team-liga", ks), customElements.define("mjsz-vbr-top-list-liga", Ss);
4505
4512
  }
4506
4513
  const Rs = {
4507
4514
  install: () => Ts()
4508
4515
  };
4509
4516
  export {
4510
- fr as PlayerLiga,
4517
+ wr as PlayerLiga,
4511
4518
  zs as PlayerLigaCE,
4512
4519
  Er as PlayersLiga,
4513
4520
  _s as PlayersLigaCE,
4514
4521
  cl as Playoffs,
4515
- fs as PlayoffsCE,
4522
+ ws as PlayoffsCE,
4516
4523
  Ii as ScheduleLiga,
4517
- ws as ScheduleLigaCE,
4524
+ fs as ScheduleLigaCE,
4518
4525
  qi as StandingsLiga,
4519
4526
  ys as StandingsLigaCE,
4520
- wn as Statistics,
4527
+ fn as Statistics,
4521
4528
  bs as StatisticsCE,
4522
4529
  Un as TeamLiga,
4523
4530
  ks as TeamLigaCE,