@mjsz-vbr-elements/extended 2.3.2 → 2.3.4

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,27 +1,27 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/extended
3
- * version: v2.3.2 - 09/03/2024, 10:12:52
3
+ * version: v2.3.4 - 12/03/2024, 09:57:02
4
4
  * (c) 2024
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { getCurrentScope as yt, onScopeDispose as wt, unref as s, ref as Y, readonly as xt, watch as ce, reactive as X, getCurrentInstance as zt, nextTick as _t, computed as I, toRef as St, renderSlot as ye, normalizeProps as we, guardReactiveProps as xe, openBlock as m, createElementBlock as z, createElementVNode as b, normalizeClass as A, toDisplayString as f, createVNode as k, isRef as oe, withCtx as C, Fragment as O, renderList as V, createCommentVNode as B, createBlock as q, createTextVNode as Ke, mergeProps as kt, toHandlers as jt, defineCustomElement as ze } from "vue";
9
- import { WidgetError as Xe, InvalidSeasonName as de, sortGames as qe, rawConvert as It, playerName as Nt, teamName as Ct, scheduleOptionalRowClass as Et, convertTimesMinToMinSec as Lt, convertTimesSecToMin as Pt, convert as Ze, getLocalTimezone as et, offsetName as tt, externalGameLinkResolver as At, externalTeamLinkResolver as Tt } from "@mjsz-vbr-elements/core/utils";
10
- import { BaseSelect as Z, I18NProvider as _e, ErrorProvider as Se, ErrorNotice as ke, StatisticsTable as $t, Paginator as Ot, AdditionalStandingsText as Me, ResponsiveTable as Rt, DataTable as Dt } from "@mjsz-vbr-elements/core/components";
11
- import { useError as je, useSort as Vt, usePage as Kt, useI18n as te, useServices as D, useLazyLoadingState as Mt, useMainClass as K, useColumns as Ut } from "@mjsz-vbr-elements/core/composables";
12
- import { COLUMNS_SCHEDULE as rt, COLUMNS_STANDINGS_P_3 as Ft, COLUMNS_FIELD_PLAYERS as se, COLUMNS_FIELD_PLAYERS_PENALTY as Bt, COLUMNS_GOALIES as Ue, COLUMNS_TEAMS_FAIRPLAY as Gt, COLUMNS_TEAMS_PENALTY_KILLING as Ht, COLUMNS_TEAMS_POWERPLAY as Wt, COLUMNS_SCORING_EFFICIENCY as Yt } from "@mjsz-vbr-elements/core/columns";
13
- import { SORT_STATE_DESCEND as T } from "@mjsz-vbr-elements/core/constants";
14
- function Jt(t) {
15
- return yt() ? (wt(t), !0) : !1;
8
+ import { getCurrentScope as wt, onScopeDispose as yt, unref as s, ref as Y, readonly as xt, watch as ce, reactive as X, getCurrentInstance as zt, nextTick as _t, computed as I, toRef as St, renderSlot as we, normalizeProps as ye, guardReactiveProps as xe, openBlock as m, createElementBlock as z, createElementVNode as b, normalizeClass as A, toDisplayString as f, createVNode as k, isRef as oe, withCtx as C, Fragment as O, renderList as V, createCommentVNode as B, createBlock as q, createTextVNode as Ke, mergeProps as kt, toHandlers as jt, defineCustomElement as ze } from "vue";
9
+ import { WidgetError as Xe, InvalidSeasonName as de, sortGames as qe, convertPhaseName as It, rawConvert as Nt, playerName as Ct, teamName as Et, scheduleOptionalRowClass as Lt, convertTimesMinToMinSec as Pt, convertTimesSecToMin as At, convert as Ze, getLocalTimezone as et, offsetName as tt, externalGameLinkResolver as $t, externalTeamLinkResolver as Tt } from "@mjsz-vbr-elements/core/utils";
10
+ import { BaseSelect as Z, I18NProvider as _e, ErrorProvider as Se, ErrorNotice as ke, StatisticsTable as Ot, Paginator as Rt, AdditionalStandingsText as Me, ResponsiveTable as Dt, DataTable as Vt } from "@mjsz-vbr-elements/core/components";
11
+ import { useError as je, useSort as Kt, usePage as Mt, useI18n as te, useServices as D, useLazyLoadingState as Ut, useMainClass as K, useColumns as Ft } from "@mjsz-vbr-elements/core/composables";
12
+ import { COLUMNS_SCHEDULE as rt, COLUMNS_STANDINGS_P_3 as Bt, COLUMNS_FIELD_PLAYERS as se, COLUMNS_FIELD_PLAYERS_PENALTY as Gt, COLUMNS_GOALIES as Ue, COLUMNS_TEAMS_FAIRPLAY as Ht, COLUMNS_TEAMS_PENALTY_KILLING as Wt, COLUMNS_TEAMS_POWERPLAY as Yt, COLUMNS_SCORING_EFFICIENCY as Jt } from "@mjsz-vbr-elements/core/columns";
13
+ import { SORT_STATE_DESCEND as $ } from "@mjsz-vbr-elements/core/constants";
14
+ function Qt(t) {
15
+ return wt() ? (yt(t), !0) : !1;
16
16
  }
17
17
  function ot(t) {
18
18
  return typeof t == "function" ? t() : s(t);
19
19
  }
20
- const Qt = typeof window < "u" && typeof document < "u";
20
+ const Xt = typeof window < "u" && typeof document < "u";
21
21
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
22
- const Xt = (t) => typeof t < "u", qt = Object.prototype.toString, Zt = (t) => qt.call(t) === "[object Object]", ae = () => {
22
+ const qt = (t) => typeof t < "u", Zt = Object.prototype.toString, er = (t) => Zt.call(t) === "[object Object]", ae = () => {
23
23
  };
24
- function er(t, e) {
24
+ function tr(t, e) {
25
25
  function r(...o) {
26
26
  return new Promise((a, i) => {
27
27
  Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(a).catch(i);
@@ -30,7 +30,7 @@ function er(t, e) {
30
30
  return r;
31
31
  }
32
32
  const at = (t) => t();
33
- function tr(t = at) {
33
+ function rr(t = at) {
34
34
  const e = Y(!0);
35
35
  function r() {
36
36
  e.value = !1;
@@ -43,26 +43,26 @@ function tr(t = at) {
43
43
  };
44
44
  return { isActive: xt(e), pause: r, resume: o, eventFilter: a };
45
45
  }
46
- function rr(t, e, r = {}) {
46
+ function or(t, e, r = {}) {
47
47
  const {
48
48
  eventFilter: o = at,
49
49
  ...a
50
50
  } = r;
51
51
  return ce(
52
52
  t,
53
- er(
53
+ tr(
54
54
  o,
55
55
  e
56
56
  ),
57
57
  a
58
58
  );
59
59
  }
60
- function or(t, e, r = {}) {
60
+ function ar(t, e, r = {}) {
61
61
  const {
62
62
  eventFilter: o,
63
63
  ...a
64
- } = r, { eventFilter: i, pause: n, resume: c, isActive: d } = tr(o);
65
- return { stop: rr(
64
+ } = r, { eventFilter: i, pause: n, resume: c, isActive: d } = rr(o);
65
+ return { stop: or(
66
66
  t,
67
67
  e,
68
68
  {
@@ -71,12 +71,12 @@ function or(t, e, r = {}) {
71
71
  }
72
72
  ), pause: n, resume: c, isActive: d };
73
73
  }
74
- function ar(t) {
74
+ function ir(t) {
75
75
  var e;
76
76
  const r = ot(t);
77
77
  return (e = r == null ? void 0 : r.$el) != null ? e : r;
78
78
  }
79
- const it = Qt ? window : void 0;
79
+ const it = Xt ? window : void 0;
80
80
  function Fe(...t) {
81
81
  let e, r, o, a;
82
82
  if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, o, a] = t, e = it) : [e, r, o, a] = t, !e)
@@ -85,11 +85,11 @@ function Fe(...t) {
85
85
  const i = [], n = () => {
86
86
  i.forEach((p) => p()), i.length = 0;
87
87
  }, c = (p, x, _, h) => (p.addEventListener(x, _, h), () => p.removeEventListener(x, _, h)), d = ce(
88
- () => [ar(e), ot(a)],
88
+ () => [ir(e), ot(a)],
89
89
  ([p, x]) => {
90
90
  if (n(), !p)
91
91
  return;
92
- const _ = Zt(x) ? { ...x } : x;
92
+ const _ = er(x) ? { ...x } : x;
93
93
  i.push(
94
94
  ...r.flatMap((h) => o.map((j) => c(p, h, j, _)))
95
95
  );
@@ -98,7 +98,7 @@ function Fe(...t) {
98
98
  ), l = () => {
99
99
  d(), n();
100
100
  };
101
- return Jt(l), l;
101
+ return Qt(l), l;
102
102
  }
103
103
  function ee(t, e) {
104
104
  const {
@@ -131,22 +131,22 @@ function ee(t, e) {
131
131
  return;
132
132
  }
133
133
  const g = _(h).then((N) => (p(n.fulfilled, N), l.value === t.length - 1 && a(), N));
134
- return i ? Promise.race([g, ir(i)]) : g;
134
+ return i ? Promise.race([g, nr(i)]) : g;
135
135
  }).catch((h) => i != null && i.aborted ? (p(n.aborted, h), h) : (p(n.rejected, h), o(), h)), Promise.resolve()), {
136
136
  activeIndex: l,
137
137
  result: d
138
138
  };
139
139
  }
140
- function ir(t) {
140
+ function nr(t) {
141
141
  return new Promise((e, r) => {
142
142
  const o = new Error("aborted");
143
143
  t.aborted ? r(o) : t.addEventListener("abort", () => r(o), { once: !0 });
144
144
  });
145
145
  }
146
- function nr(t) {
146
+ function sr(t) {
147
147
  return JSON.parse(JSON.stringify(t));
148
148
  }
149
- function sr(t = "history", e = {}) {
149
+ function lr(t = "history", e = {}) {
150
150
  const {
151
151
  initialValue: r = {},
152
152
  removeNullishValues: o = !0,
@@ -161,44 +161,44 @@ function sr(t = "history", e = {}) {
161
161
  if (t === "history")
162
162
  return n.location.search || "";
163
163
  if (t === "hash") {
164
- const u = n.location.hash || "", y = u.indexOf("?");
165
- return y > 0 ? u.slice(y) : "";
164
+ const u = n.location.hash || "", w = u.indexOf("?");
165
+ return w > 0 ? u.slice(w) : "";
166
166
  } else
167
167
  return (n.location.hash || "").replace(/^#/, "");
168
168
  }
169
169
  function l(u) {
170
- const y = u.toString();
170
+ const w = u.toString();
171
171
  if (t === "history")
172
- return `${y ? `?${y}` : ""}${n.location.hash || ""}`;
172
+ return `${w ? `?${w}` : ""}${n.location.hash || ""}`;
173
173
  if (t === "hash-params")
174
- return `${n.location.search || ""}${y ? `#${y}` : ""}`;
174
+ return `${n.location.search || ""}${w ? `#${w}` : ""}`;
175
175
  const v = n.location.hash || "#", L = v.indexOf("?");
176
- return L > 0 ? `${v.slice(0, L)}${y ? `?${y}` : ""}` : `${v}${y ? `?${y}` : ""}`;
176
+ return L > 0 ? `${v.slice(0, L)}${w ? `?${w}` : ""}` : `${v}${w ? `?${w}` : ""}`;
177
177
  }
178
178
  function p() {
179
179
  return new URLSearchParams(d());
180
180
  }
181
181
  function x(u) {
182
- const y = new Set(Object.keys(c));
182
+ const w = new Set(Object.keys(c));
183
183
  for (const v of u.keys()) {
184
184
  const L = u.getAll(v);
185
- c[v] = L.length > 1 ? L : u.get(v) || "", y.delete(v);
185
+ c[v] = L.length > 1 ? L : u.get(v) || "", w.delete(v);
186
186
  }
187
- Array.from(y).forEach((v) => delete c[v]);
187
+ Array.from(w).forEach((v) => delete c[v]);
188
188
  }
189
- const { pause: _, resume: h } = or(
189
+ const { pause: _, resume: h } = ar(
190
190
  c,
191
191
  () => {
192
192
  const u = new URLSearchParams("");
193
- Object.keys(c).forEach((y) => {
194
- const v = c[y];
195
- Array.isArray(v) ? v.forEach((L) => u.append(y, L)) : o && v == null || a && !v ? u.delete(y) : u.set(y, v);
193
+ Object.keys(c).forEach((w) => {
194
+ const v = c[w];
195
+ Array.isArray(v) ? v.forEach((L) => u.append(w, L)) : o && v == null || a && !v ? u.delete(w) : u.set(w, v);
196
196
  }), j(u);
197
197
  },
198
198
  { deep: !0 }
199
199
  );
200
- function j(u, y) {
201
- _(), y && x(u), n.history.replaceState(
200
+ function j(u, w) {
201
+ _(), w && x(u), n.history.replaceState(
202
202
  n.history.state,
203
203
  n.document.title,
204
204
  n.location.pathname + l(u)
@@ -211,7 +211,7 @@ function sr(t = "history", e = {}) {
211
211
  const N = p();
212
212
  return N.keys().next().value ? x(N) : Object.assign(c, r), c;
213
213
  }
214
- function lr(t, e, r, o = {}) {
214
+ function cr(t, e, r, o = {}) {
215
215
  var a, i, n;
216
216
  const {
217
217
  clone: c = !1,
@@ -223,7 +223,7 @@ function lr(t, e, r, o = {}) {
223
223
  } = o, h = zt(), j = r || (h == null ? void 0 : h.emit) || ((a = h == null ? void 0 : h.$emit) == null ? void 0 : a.bind(h)) || ((n = (i = h == null ? void 0 : h.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(h == null ? void 0 : h.proxy));
224
224
  let g = l;
225
225
  e || (e = "modelValue"), g = g || `update:${e.toString()}`;
226
- const N = (v) => c ? typeof c == "function" ? c(v) : nr(v) : v, u = () => Xt(t[e]) ? N(t[e]) : x, y = (v) => {
226
+ const N = (v) => c ? typeof c == "function" ? c(v) : sr(v) : v, u = () => qt(t[e]) ? N(t[e]) : x, w = (v) => {
227
227
  _ ? _(v) && j(g, v) : j(g, v);
228
228
  };
229
229
  if (d) {
@@ -237,7 +237,7 @@ function lr(t, e, r, o = {}) {
237
237
  ), ce(
238
238
  L,
239
239
  (U) => {
240
- !M && (U !== t[e] || p) && y(U);
240
+ !M && (U !== t[e] || p) && w(U);
241
241
  },
242
242
  { deep: p }
243
243
  ), L;
@@ -247,14 +247,14 @@ function lr(t, e, r, o = {}) {
247
247
  return u();
248
248
  },
249
249
  set(v) {
250
- y(v);
250
+ w(v);
251
251
  }
252
252
  });
253
253
  }
254
254
  function Ie(t, e, r = {}) {
255
255
  const o = {};
256
256
  for (const a in t)
257
- o[a] = lr(
257
+ o[a] = cr(
258
258
  t,
259
259
  a,
260
260
  e,
@@ -265,7 +265,7 @@ function Ie(t, e, r = {}) {
265
265
  function S(t) {
266
266
  return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
267
267
  }
268
- function $(t) {
268
+ function T(t) {
269
269
  return function e(r) {
270
270
  return arguments.length === 0 || S(r) ? e : t.apply(this, arguments);
271
271
  };
@@ -276,13 +276,13 @@ function P(t) {
276
276
  case 0:
277
277
  return e;
278
278
  case 1:
279
- return S(r) ? e : $(function(a) {
279
+ return S(r) ? e : T(function(a) {
280
280
  return t(r, a);
281
281
  });
282
282
  default:
283
- return S(r) && S(o) ? e : S(r) ? $(function(a) {
283
+ return S(r) && S(o) ? e : S(r) ? T(function(a) {
284
284
  return t(a, o);
285
- }) : S(o) ? $(function(a) {
285
+ }) : S(o) ? T(function(a) {
286
286
  return t(r, a);
287
287
  }) : t(r, o);
288
288
  }
@@ -347,8 +347,8 @@ function nt(t, e, r) {
347
347
  return !c && i <= 0 ? r.apply(this, o) : pe(Math.max(0, i), nt(t, o, r));
348
348
  };
349
349
  }
350
- var cr = /* @__PURE__ */ P(function(e, r) {
351
- return e === 1 ? $(r) : pe(e, nt(e, [], r));
350
+ var dr = /* @__PURE__ */ P(function(e, r) {
351
+ return e === 1 ? T(r) : pe(e, nt(e, [], r));
352
352
  });
353
353
  function Ne(t) {
354
354
  return function e(r, o, a) {
@@ -364,7 +364,7 @@ function Ne(t) {
364
364
  return t(i, o, n);
365
365
  }) : S(o) ? P(function(i, n) {
366
366
  return t(r, i, n);
367
- }) : $(function(i) {
367
+ }) : T(function(i) {
368
368
  return t(r, o, i);
369
369
  });
370
370
  default:
@@ -374,11 +374,11 @@ function Ne(t) {
374
374
  return t(i, o, n);
375
375
  }) : S(o) && S(a) ? P(function(i, n) {
376
376
  return t(r, i, n);
377
- }) : S(r) ? $(function(i) {
377
+ }) : S(r) ? T(function(i) {
378
378
  return t(i, o, a);
379
- }) : S(o) ? $(function(i) {
379
+ }) : S(o) ? T(function(i) {
380
380
  return t(r, i, a);
381
- }) : S(a) ? $(function(i) {
381
+ }) : S(a) ? T(function(i) {
382
382
  return t(r, o, i);
383
383
  }) : t(r, o, a);
384
384
  }
@@ -387,10 +387,10 @@ function Ne(t) {
387
387
  const Ce = Array.isArray || function(e) {
388
388
  return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
389
389
  };
390
- function dr(t) {
390
+ function pr(t) {
391
391
  return t != null && typeof t["@@transducer/step"] == "function";
392
392
  }
393
- function pr(t, e, r) {
393
+ function gr(t, e, r) {
394
394
  return function() {
395
395
  if (arguments.length === 0)
396
396
  return r();
@@ -401,7 +401,7 @@ function pr(t, e, r) {
401
401
  return o[t[a]].apply(o, Array.prototype.slice.call(arguments, 0, -1));
402
402
  a += 1;
403
403
  }
404
- if (dr(o)) {
404
+ if (pr(o)) {
405
405
  var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
406
406
  return i(o);
407
407
  }
@@ -420,47 +420,47 @@ const Be = {
420
420
  function fe(t, e) {
421
421
  return Object.prototype.hasOwnProperty.call(e, t);
422
422
  }
423
- var Ge = Object.prototype.toString, gr = /* @__PURE__ */ function() {
423
+ var Ge = Object.prototype.toString, vr = /* @__PURE__ */ function() {
424
424
  return Ge.call(arguments) === "[object Arguments]" ? function(e) {
425
425
  return Ge.call(e) === "[object Arguments]";
426
426
  } : function(e) {
427
427
  return fe("callee", e);
428
428
  };
429
- }(), vr = !/* @__PURE__ */ {
429
+ }(), br = !/* @__PURE__ */ {
430
430
  toString: null
431
431
  }.propertyIsEnumerable("toString"), He = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], We = /* @__PURE__ */ function() {
432
432
  return arguments.propertyIsEnumerable("length");
433
- }(), br = function(e, r) {
433
+ }(), ur = function(e, r) {
434
434
  for (var o = 0; o < e.length; ) {
435
435
  if (e[o] === r)
436
436
  return !0;
437
437
  o += 1;
438
438
  }
439
439
  return !1;
440
- }, ur = /* @__PURE__ */ $(typeof Object.keys == "function" && !We ? function(e) {
440
+ }, mr = /* @__PURE__ */ T(typeof Object.keys == "function" && !We ? function(e) {
441
441
  return Object(e) !== e ? [] : Object.keys(e);
442
442
  } : function(e) {
443
443
  if (Object(e) !== e)
444
444
  return [];
445
- var r, o, a = [], i = We && gr(e);
445
+ var r, o, a = [], i = We && vr(e);
446
446
  for (r in e)
447
447
  fe(r, e) && (!i || r !== "length") && (a[a.length] = r);
448
- if (vr)
448
+ if (br)
449
449
  for (o = He.length - 1; o >= 0; )
450
- r = He[o], fe(r, e) && !br(a, r) && (a[a.length] = r), o -= 1;
450
+ r = He[o], fe(r, e) && !ur(a, r) && (a[a.length] = r), o -= 1;
451
451
  return a;
452
452
  });
453
- function mr(t, e) {
453
+ function hr(t, e) {
454
454
  for (var r = 0, o = e.length, a = Array(o); r < o; )
455
455
  a[r] = t(e[r]), r += 1;
456
456
  return a;
457
457
  }
458
- function hr(t, e, r) {
458
+ function fr(t, e, r) {
459
459
  for (var o = 0, a = r.length; o < a; )
460
460
  e = t(e, r[o]), o += 1;
461
461
  return e;
462
462
  }
463
- var fr = /* @__PURE__ */ function() {
463
+ var wr = /* @__PURE__ */ function() {
464
464
  function t(e, r) {
465
465
  this.xf = r, this.f = e;
466
466
  }
@@ -469,23 +469,23 @@ var fr = /* @__PURE__ */ function() {
469
469
  }, t;
470
470
  }(), yr = function(e) {
471
471
  return function(r) {
472
- return new fr(e, r);
472
+ return new wr(e, r);
473
473
  };
474
474
  };
475
- const wr = yr;
475
+ const xr = yr;
476
476
  var Ee = /* @__PURE__ */ P(
477
- /* @__PURE__ */ pr(["fantasy-land/map", "map"], wr, function(e, r) {
477
+ /* @__PURE__ */ gr(["fantasy-land/map", "map"], xr, function(e, r) {
478
478
  switch (Object.prototype.toString.call(r)) {
479
479
  case "[object Function]":
480
- return cr(r.length, function() {
480
+ return dr(r.length, function() {
481
481
  return e.call(this, r.apply(this, arguments));
482
482
  });
483
483
  case "[object Object]":
484
- return hr(function(o, a) {
484
+ return fr(function(o, a) {
485
485
  return o[a] = e(r[a]), o;
486
- }, {}, ur(r));
486
+ }, {}, mr(r));
487
487
  default:
488
- return mr(e, r);
488
+ return hr(e, r);
489
489
  }
490
490
  })
491
491
  );
@@ -501,12 +501,12 @@ var Pe = /* @__PURE__ */ P(function(e, r) {
501
501
  }), J = /* @__PURE__ */ P(function(e, r) {
502
502
  if (r != null)
503
503
  return st(e) ? Pe(e, r) : r[e];
504
- }), xr = /* @__PURE__ */ $(function(e) {
504
+ }), zr = /* @__PURE__ */ T(function(e) {
505
505
  return Ce(e) ? !0 : !e || typeof e != "object" || Le(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
506
506
  }), Ye = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
507
- function zr(t, e, r) {
507
+ function _r(t, e, r) {
508
508
  return function(a, i, n) {
509
- if (xr(n))
509
+ if (zr(n))
510
510
  return t(a, i, n);
511
511
  if (n == null)
512
512
  return i;
@@ -521,7 +521,7 @@ function zr(t, e, r) {
521
521
  throw new TypeError("reduce: list must be array or iterable");
522
522
  };
523
523
  }
524
- function _r(t, e, r) {
524
+ function Sr(t, e, r) {
525
525
  for (var o = 0, a = r.length; o < a; ) {
526
526
  if (e = t["@@transducer/step"](e, r[o]), e && e["@@transducer/reduced"]) {
527
527
  e = e["@@transducer/value"];
@@ -531,12 +531,12 @@ function _r(t, e, r) {
531
531
  }
532
532
  return t["@@transducer/result"](e);
533
533
  }
534
- var Sr = /* @__PURE__ */ P(function(e, r) {
534
+ var kr = /* @__PURE__ */ P(function(e, r) {
535
535
  return pe(e.length, function() {
536
536
  return e.apply(r, arguments);
537
537
  });
538
538
  });
539
- function kr(t, e, r) {
539
+ function jr(t, e, r) {
540
540
  for (var o = r.next(); !o.done; ) {
541
541
  if (e = t["@@transducer/step"](e, o.value), e && e["@@transducer/reduced"]) {
542
542
  e = e["@@transducer/value"];
@@ -546,10 +546,10 @@ function kr(t, e, r) {
546
546
  }
547
547
  return t["@@transducer/result"](e);
548
548
  }
549
- function jr(t, e, r, o) {
550
- return t["@@transducer/result"](r[o](Sr(t["@@transducer/step"], t), e));
549
+ function Ir(t, e, r, o) {
550
+ return t["@@transducer/result"](r[o](kr(t["@@transducer/step"], t), e));
551
551
  }
552
- var Ir = /* @__PURE__ */ zr(_r, jr, kr), Nr = /* @__PURE__ */ function() {
552
+ var Nr = /* @__PURE__ */ _r(Sr, Ir, jr), Cr = /* @__PURE__ */ function() {
553
553
  function t(e) {
554
554
  this.f = e;
555
555
  }
@@ -561,13 +561,13 @@ var Ir = /* @__PURE__ */ zr(_r, jr, kr), Nr = /* @__PURE__ */ function() {
561
561
  return this.f(e, r);
562
562
  }, t;
563
563
  }();
564
- function Cr(t) {
565
- return new Nr(t);
564
+ function Er(t) {
565
+ return new Cr(t);
566
566
  }
567
- var Er = /* @__PURE__ */ Ne(function(t, e, r) {
568
- return Ir(typeof t == "function" ? Cr(t) : t, e, r);
567
+ var Lr = /* @__PURE__ */ Ne(function(t, e, r) {
568
+ return Nr(typeof t == "function" ? Er(t) : t, e, r);
569
569
  });
570
- function Lr(t, e) {
570
+ function Pr(t, e) {
571
571
  return function() {
572
572
  return e.call(this, t.apply(this, arguments));
573
573
  };
@@ -581,22 +581,22 @@ function lt(t, e) {
581
581
  return Ce(o) || typeof o[t] != "function" ? e.apply(this, arguments) : o[t].apply(o, Array.prototype.slice.call(arguments, 0, r - 1));
582
582
  };
583
583
  }
584
- var Pr = /* @__PURE__ */ Ne(
584
+ var Ar = /* @__PURE__ */ Ne(
585
585
  /* @__PURE__ */ lt("slice", function(e, r, o) {
586
586
  return Array.prototype.slice.call(o, e, r);
587
587
  })
588
- ), Ar = /* @__PURE__ */ $(
588
+ ), $r = /* @__PURE__ */ T(
589
589
  /* @__PURE__ */ lt(
590
590
  "tail",
591
- /* @__PURE__ */ Pr(1, 1 / 0)
591
+ /* @__PURE__ */ Ar(1, 1 / 0)
592
592
  )
593
593
  );
594
594
  function ie() {
595
595
  if (arguments.length === 0)
596
596
  throw new Error("pipe requires at least one argument");
597
- return pe(arguments[0].length, Er(Lr, arguments[0], Ar(arguments)));
597
+ return pe(arguments[0].length, Lr(Pr, arguments[0], $r(arguments)));
598
598
  }
599
- var Tr = /* @__PURE__ */ $(function(e) {
599
+ var Tr = /* @__PURE__ */ T(function(e) {
600
600
  return Le(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
601
601
  });
602
602
  function Ae() {
@@ -607,7 +607,7 @@ function Ae() {
607
607
  var G = /* @__PURE__ */ Pe(0), ct = /* @__PURE__ */ Ne(function(e, r, o) {
608
608
  var a = e(r), i = e(o);
609
609
  return a > i ? -1 : a < i ? 1 : 0;
610
- }), $r = /* @__PURE__ */ P(function(e, r) {
610
+ }), Or = /* @__PURE__ */ P(function(e, r) {
611
611
  return e.map(function(o) {
612
612
  for (var a = r, i = 0, n; i < o.length; ) {
613
613
  if (a == null)
@@ -617,60 +617,48 @@ var G = /* @__PURE__ */ Pe(0), ct = /* @__PURE__ */ Ne(function(e, r, o) {
617
617
  return a;
618
618
  });
619
619
  }), dt = /* @__PURE__ */ P(function(e, r) {
620
- return $r([e], r)[0];
621
- }), Or = /* @__PURE__ */ P(function(e, r) {
620
+ return Or([e], r)[0];
621
+ }), Rr = /* @__PURE__ */ P(function(e, r) {
622
622
  for (var o = {}, a = {}, i = 0, n = e.length; i < n; )
623
623
  a[e[i]] = 1, i += 1;
624
624
  for (var c in r)
625
625
  a.hasOwnProperty(c) || (o[c] = r[c]);
626
626
  return o;
627
627
  });
628
- const Rr = Or;
628
+ const Dr = Rr;
629
629
  var pt = /* @__PURE__ */ P(function(e, r) {
630
630
  for (var o = {}, a = 0; a < e.length; )
631
631
  e[a] in r && (o[e[a]] = r[e[a]]), a += 1;
632
632
  return o;
633
633
  }), gt = /* @__PURE__ */ P(function(e, r) {
634
634
  return Array.prototype.slice.call(r, 0).sort(e);
635
- }), Dr = /* @__PURE__ */ P(function(e, r) {
635
+ }), Vr = /* @__PURE__ */ P(function(e, r) {
636
636
  return Array.prototype.slice.call(r, 0).sort(function(o, a) {
637
637
  var i = e(o), n = e(a);
638
638
  return i < n ? -1 : i > n ? 1 : 0;
639
639
  });
640
640
  });
641
- const Vr = (t, e) => {
641
+ const Kr = (t, e) => {
642
642
  if (t.length === 0)
643
643
  throw new Xe(de.message, de.options);
644
- e.seasons = Kr(t), e.championshipId || (e.championshipId = G(e.seasons).championshipId);
645
- }, Kr = (t) => Ae(gt(ct(J("seasonName"))), Ee(pt(["championshipId", "seasonName"])))(t), re = "schedule", he = "standings", Q = "players", le = "teams", Mr = (t, e) => {
644
+ e.seasons = Mr(t), e.championshipId || (e.championshipId = G(e.seasons).championshipId);
645
+ }, Mr = (t) => Ae(gt(ct(J("seasonName"))), Ee(pt(["championshipId", "seasonName"])))(t), re = "schedule", he = "standings", Q = "players", le = "teams", Ur = (t, e) => {
646
646
  var r, o, a;
647
- e.championships = Dr(J("sectionName"))(t), e.selectedChampionshipId = (r = t == null ? void 0 : t[0]) == null ? void 0 : r.sectionId, e.phaseId = (a = (o = t == null ? void 0 : t[0]) == null ? void 0 : o.phases[0]) == null ? void 0 : a.phaseId;
648
- }, Ur = (t) => t.map((e) => {
649
- var r, o;
650
- return {
651
- phaseId: e.phaseId,
652
- phaseName: Object.values({
653
- phaseName: e.phaseName,
654
- ...((r = e.phaseType) == null ? void 0 : r.phaseTypeName) && e.phaseType.phaseTypeName !== e.phaseName && {
655
- phaseTypeName: e.phaseType.phaseTypeName
656
- },
657
- ...((o = e.phaseSubType) == null ? void 0 : o.phaseSubTypeName) && { phaseSubTypeName: e.phaseSubType.phaseSubTypeName }
658
- }).join("-")
659
- };
660
- }), Fr = (/* @__PURE__ */ new Map()).set("schedule", {
647
+ e.championships = Vr(J("sectionName"))(t), e.selectedChampionshipId = (r = t == null ? void 0 : t[0]) == null ? void 0 : r.sectionId, e.phaseId = (a = (o = t == null ? void 0 : t[0]) == null ? void 0 : o.phases[0]) == null ? void 0 : a.phaseId;
648
+ }, Fr = (/* @__PURE__ */ new Map()).set("schedule", {
661
649
  api: "/v2/games-list",
662
650
  columns: rt,
663
651
  sort: {}
664
652
  }).set("standings", {
665
653
  api: "/v2/standings",
666
- columns: Ft,
654
+ columns: Bt,
667
655
  sort: {}
668
656
  }).set("points", {
669
657
  api: "/v2/players-stats",
670
658
  columns: se,
671
659
  sort: {
672
660
  sortTarget: "points",
673
- orders: [{ target: "points", direction: T }]
661
+ orders: [{ target: "points", direction: $ }]
674
662
  }
675
663
  }).set("goals", {
676
664
  api: "/v2/players-stats",
@@ -678,8 +666,8 @@ const Vr = (t, e) => {
678
666
  sort: {
679
667
  sortTarget: "goals",
680
668
  orders: [
681
- { target: "goals", direction: T },
682
- { target: "assists", direction: T }
669
+ { target: "goals", direction: $ },
670
+ { target: "assists", direction: $ }
683
671
  ]
684
672
  }
685
673
  }).set("assists", {
@@ -688,8 +676,8 @@ const Vr = (t, e) => {
688
676
  sort: {
689
677
  sortTarget: "assists",
690
678
  orders: [
691
- { target: "assists", direction: T },
692
- { target: "goals", direction: T }
679
+ { target: "assists", direction: $ },
680
+ { target: "goals", direction: $ }
693
681
  ]
694
682
  }
695
683
  }).set("plusminus", {
@@ -697,14 +685,14 @@ const Vr = (t, e) => {
697
685
  columns: se,
698
686
  sort: {
699
687
  sortTarget: "plusMinus",
700
- orders: [{ target: "plusMinus", direction: T }]
688
+ orders: [{ target: "plusMinus", direction: $ }]
701
689
  }
702
690
  }).set("playerspenalties", {
703
691
  api: "/v2/players-penalty",
704
- columns: Bt,
692
+ columns: Gt,
705
693
  sort: {
706
694
  sortTarget: "pim",
707
- orders: [{ target: "pim", direction: T }]
695
+ orders: [{ target: "pim", direction: $ }]
708
696
  }
709
697
  }).set("goalies", {
710
698
  api: "/v2/players-goalie",
@@ -712,7 +700,7 @@ const Vr = (t, e) => {
712
700
  columns: Ue,
713
701
  sort: {
714
702
  sortTarget: "svsPercent",
715
- orders: [{ target: "svsPercent", direction: T }]
703
+ orders: [{ target: "svsPercent", direction: $ }]
716
704
  }
717
705
  }).set("goaliesunderlimit", {
718
706
  api: "/v2/players-goalie",
@@ -720,35 +708,35 @@ const Vr = (t, e) => {
720
708
  columns: Ue,
721
709
  sort: {
722
710
  sortTarget: "svsPercent",
723
- orders: [{ target: "svsPercent", direction: T }]
711
+ orders: [{ target: "svsPercent", direction: $ }]
724
712
  }
725
713
  }).set("teamFairplay", {
726
714
  api: "/v2/team-fairplay",
727
- columns: Gt,
715
+ columns: Ht,
728
716
  sort: {
729
717
  sortTarget: "pim",
730
- orders: [{ target: "pim", direction: T }]
718
+ orders: [{ target: "pim", direction: $ }]
731
719
  }
732
720
  }).set("teamPenaltiKilling", {
733
721
  api: "/v2/team-powerplay",
734
- columns: Ht,
722
+ columns: Wt,
735
723
  sort: {
736
724
  sortTarget: "pkPercent",
737
- orders: [{ target: "pkPercent", direction: T }]
725
+ orders: [{ target: "pkPercent", direction: $ }]
738
726
  }
739
727
  }).set("teamPowerplay", {
740
728
  api: "/v2/team-powerplay",
741
- columns: Wt,
729
+ columns: Yt,
742
730
  sort: {
743
731
  sortTarget: "ppPercent",
744
- orders: [{ target: "ppPercent", direction: T }]
732
+ orders: [{ target: "ppPercent", direction: $ }]
745
733
  }
746
734
  }).set("teamScoringEfficiency", {
747
735
  api: "/v2/team-scoring-efficiency",
748
- columns: Yt,
736
+ columns: Jt,
749
737
  sort: {
750
738
  sortTarget: "sp",
751
- orders: [{ target: "sp", direction: T }]
739
+ orders: [{ target: "sp", direction: $ }]
752
740
  }
753
741
  }), Je = (t) => [
754
742
  {
@@ -833,7 +821,7 @@ const Vr = (t, e) => {
833
821
  }
834
822
  },
835
823
  setup(t) {
836
- const e = t, r = sr("history"), o = X({
824
+ const e = t, r = lr("history"), o = X({
837
825
  loading: !1,
838
826
  seasons: [],
839
827
  championshipId: Number(r.championshipId) || 0,
@@ -848,16 +836,16 @@ const Vr = (t, e) => {
848
836
  columns: rt,
849
837
  sort: null,
850
838
  report: "points"
851
- }), a = St(e, "timezone"), { onError: i } = je(), { sort: n, change: c } = Vt({
839
+ }), a = St(e, "timezone"), { onError: i } = je(), { sort: n, change: c } = Kt({
852
840
  sortTarget: "",
853
841
  orders: []
854
- }), { page: d, change: l } = Kt(), { t: p } = te(), { isLoading: x, execute: _ } = D({
842
+ }), { page: d, change: l } = Mt(), { t: p } = te(), { isLoading: x, execute: _ } = D({
855
843
  options: {
856
844
  path: "/v2/championship-seasons",
857
845
  apiKey: e.apiKey,
858
846
  params: { championshipName: e.championshipName }
859
847
  },
860
- transform: (w) => Vr(w, o),
848
+ transform: (y) => Kr(y, o),
861
849
  onError: i
862
850
  }), { isLoading: h, execute: j } = D({
863
851
  options: {
@@ -865,7 +853,7 @@ const Vr = (t, e) => {
865
853
  apiKey: e.apiKey,
866
854
  params: I(() => ({ championshipId: o.championshipId }))
867
855
  },
868
- transform: (w) => Mr(w, o),
856
+ transform: (y) => Ur(y, o),
869
857
  onError: i
870
858
  }), {
871
859
  isLoading: g,
@@ -878,51 +866,51 @@ const Vr = (t, e) => {
878
866
  resetOnExecute: !0,
879
867
  params: I(() => ({ championshipId: o.championshipId, phaseId: o.phaseId, ...o.apiParams }))
880
868
  },
881
- transform: (w) => qe(w),
869
+ transform: (y) => qe(y),
882
870
  onError: i
883
- }), y = Mt([h, x, g], { delay: 1e3 });
871
+ }), w = Ut([h, x, g], { delay: 1e3 });
884
872
  ee([_, j, u]);
885
873
  const v = I(
886
874
  () => o.selectedPanel === Q ? Je(p) : Qe(p)
887
875
  ), L = I(() => {
888
- const w = o.championships.find((E) => E.sectionId === o.selectedChampionshipId);
889
- return Ur((w == null ? void 0 : w.phases) ?? []);
876
+ const y = o.championships.find((E) => E.sectionId === o.selectedChampionshipId);
877
+ return It((y == null ? void 0 : y.phases) ?? []);
890
878
  }), M = I(() => o.selectedPanel === re ? 0 : e.limit), U = I(
891
- () => It(
879
+ () => Nt(
892
880
  N.value,
893
- Nt,
894
881
  Ct,
895
882
  Et,
896
- Lt(["mip"]),
897
- Pt(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
883
+ Lt,
884
+ Pt(["mip"]),
885
+ At(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
898
886
  )
899
- ), ge = I(() => Ze(s(U)).sorted(n).addContinuousIndex().schedule(s(a), s(e.locale)).pagination(s(d), M.value).value()), ve = (w) => {
900
- o.championshipId = w, r.championshipId = w, ee([j, u]);
901
- }, R = (w) => {
887
+ ), ge = I(() => Ze(s(U)).sorted(n).addContinuousIndex().schedule(s(a), s(e.locale)).pagination(s(d), M.value).value()), ve = (y) => {
888
+ o.championshipId = y, r.championshipId = y, ee([j, u]);
889
+ }, R = (y) => {
902
890
  var E;
903
- o.selectedChampionshipId = w, o.phaseId = ((E = L.value[0]) == null ? void 0 : E.phaseId) ?? null, u();
904
- }, be = (w) => {
905
- o.phaseId = w, u();
906
- }, ue = (w) => {
891
+ o.selectedChampionshipId = y, o.phaseId = ((E = L.value[0]) == null ? void 0 : E.phaseId) ?? null, u();
892
+ }, be = (y) => {
893
+ o.phaseId = y, u();
894
+ }, ue = (y) => {
907
895
  var H, W;
908
- o.selectedPanel = w;
909
- let E = w;
910
- w === Q && (E = (H = G(Je(ae))) == null ? void 0 : H.value), w === le && (E = (W = G(Qe(ae))) == null ? void 0 : W.value), o.report = E, ne(E);
896
+ o.selectedPanel = y;
897
+ let E = y;
898
+ y === Q && (E = (H = G(Je(ae))) == null ? void 0 : H.value), y === le && (E = (W = G(Qe(ae))) == null ? void 0 : W.value), o.report = E, ne(E);
911
899
  };
912
- function me(w) {
913
- ne(w);
900
+ function me(y) {
901
+ ne(y);
914
902
  }
915
- function ne(w) {
903
+ function ne(y) {
916
904
  var H, W;
917
- const E = Fr.get(w);
905
+ const E = Fr.get(y);
918
906
  o.api = E.api, o.apiParams = E.params, o.columns = E.columns, n.sortTarget = ((H = E.sort) == null ? void 0 : H.sortTarget) ?? "", n.orders = ((W = E.sort) == null ? void 0 : W.orders) ?? [], u(), l(1);
919
907
  }
920
- return (w, E) => ye(w.$slots, "default", we(xe({
908
+ return (y, E) => we(y.$slots, "default", ye(xe({
921
909
  ...o,
922
910
  sort: s(n),
923
911
  page: s(d),
924
912
  phases: L.value,
925
- isLoading: s(y),
913
+ isLoading: s(w),
926
914
  games: ge.value,
927
915
  reports: v.value,
928
916
  onSort: s(c),
@@ -1105,7 +1093,7 @@ const Vr = (t, e) => {
1105
1093
  short: "Dokumentum",
1106
1094
  tooltip: "Jelentkezés/Sorsolás"
1107
1095
  }
1108
- }, Te = {
1096
+ }, $e = {
1109
1097
  schedule: eo,
1110
1098
  registration: to,
1111
1099
  selection: ro,
@@ -1170,7 +1158,7 @@ const Vr = (t, e) => {
1170
1158
  short: "Document",
1171
1159
  tooltip: "Application Form/Schedule"
1172
1160
  }
1173
- }, $e = {
1161
+ }, Te = {
1174
1162
  schedule: no,
1175
1163
  registration: so,
1176
1164
  selection: lo,
@@ -1182,7 +1170,7 @@ const Vr = (t, e) => {
1182
1170
  for (const [o, a] of e)
1183
1171
  r[o] = a;
1184
1172
  return r;
1185
- }, uo = ["onClick"], mo = ["onClick"], ho = ["onClick"], fo = ["onClick"], yo = ["onClick"], wo = {
1173
+ }, uo = ["onClick"], mo = ["onClick"], ho = ["onClick"], fo = ["onClick"], wo = ["onClick"], yo = {
1186
1174
  __name: "Championship.ce",
1187
1175
  props: {
1188
1176
  locale: {
@@ -1211,7 +1199,7 @@ const Vr = (t, e) => {
1211
1199
  }
1212
1200
  },
1213
1201
  setup(t) {
1214
- const e = t, r = Y(null), o = Y(et()), a = I(() => tt(/* @__PURE__ */ new Date(), s(o), e.locale)), i = K("tab-button"), n = K("section-selector"), c = { en: $e, hu: Te }, d = (p) => At(e.externalGameResolver, p), l = (p) => Tt(e.externalTeamResolver, p);
1202
+ const e = t, r = Y(null), o = Y(et()), a = I(() => tt(/* @__PURE__ */ new Date(), s(o), e.locale)), i = K("tab-button"), n = K("section-selector"), c = { en: Te, hu: $e }, d = (p) => $t(e.externalGameResolver, p), l = (p) => Tt(e.externalTeamResolver, p);
1215
1203
  return (p, x) => (m(), z("div", null, [
1216
1204
  k(s(_e), {
1217
1205
  locale: e.locale,
@@ -1234,7 +1222,7 @@ const Vr = (t, e) => {
1234
1222
  sort: g,
1235
1223
  page: N,
1236
1224
  games: u,
1237
- phases: y,
1225
+ phases: w,
1238
1226
  report: v,
1239
1227
  phaseId: L,
1240
1228
  columns: M,
@@ -1246,7 +1234,7 @@ const Vr = (t, e) => {
1246
1234
  championshipId: ue,
1247
1235
  selectedChampionshipId: me,
1248
1236
  onSort: ne,
1249
- changePanel: w,
1237
+ changePanel: y,
1250
1238
  changePhase: E,
1251
1239
  changeSeason: H,
1252
1240
  onChangeReport: W,
@@ -1268,7 +1256,7 @@ const Vr = (t, e) => {
1268
1256
  }, f(F.sectionName), 11, uo))), 128))
1269
1257
  ], 2),
1270
1258
  k(Zr, {
1271
- phases: y,
1259
+ phases: w,
1272
1260
  "phase-id": L,
1273
1261
  reports: ge,
1274
1262
  report: v,
@@ -1281,22 +1269,22 @@ const Vr = (t, e) => {
1281
1269
  }, [
1282
1270
  b("button", {
1283
1271
  class: A([s(i), { "is-active": R === s(re) }]),
1284
- onClick: (F) => w(s(re))
1272
+ onClick: (F) => y(s(re))
1285
1273
  }, f(_("selection.schedule")), 11, mo),
1286
1274
  b("button", {
1287
1275
  class: A([s(i), { "is-active": R === s(he) }]),
1288
- onClick: (F) => w(s(he))
1276
+ onClick: (F) => y(s(he))
1289
1277
  }, f(_("selection.standings")), 11, ho),
1290
1278
  b("button", {
1291
1279
  class: A([s(i), { "is-active": R === s(Q) }]),
1292
- onClick: (F) => w(s(Q))
1280
+ onClick: (F) => y(s(Q))
1293
1281
  }, f(_("selection.playerStats")), 11, fo),
1294
1282
  b("button", {
1295
1283
  class: A([s(i), { "is-active": R === s(le) }]),
1296
- onClick: (F) => w(s(le))
1297
- }, f(_("selection.teamStats")), 11, yo)
1284
+ onClick: (F) => y(s(le))
1285
+ }, f(_("selection.teamStats")), 11, wo)
1298
1286
  ], 2),
1299
- k(s($t), {
1287
+ k(s(Ot), {
1300
1288
  columns: M,
1301
1289
  rows: u.rows,
1302
1290
  sort: g,
@@ -1308,7 +1296,7 @@ const Vr = (t, e) => {
1308
1296
  "hide-columns": R === s(re) ? "broadcast" : "",
1309
1297
  onSort: ne
1310
1298
  }, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
1311
- R === s(Q) ? (m(), q(s(Ot), {
1299
+ R === s(Q) ? (m(), q(s(Rt), {
1312
1300
  key: 0,
1313
1301
  page: N,
1314
1302
  "items-per-page": e.limit,
@@ -1341,7 +1329,7 @@ const Vr = (t, e) => {
1341
1329
  }, 8, ["locale"])
1342
1330
  ]));
1343
1331
  }
1344
- }, xo = /* @__PURE__ */ Ve(wo, [["styles", [Oe, Re, De, vt, bt, ut, mt, vo, bo]]]), zo = { class: "g-row" }, _o = ["value"], So = ["onClick"], ko = {
1332
+ }, xo = /* @__PURE__ */ Ve(yo, [["styles", [Oe, Re, De, vt, bt, ut, mt, vo, bo]]]), zo = { class: "g-row" }, _o = ["value"], So = ["onClick"], ko = {
1345
1333
  __name: "SeasonSelector",
1346
1334
  props: {
1347
1335
  seasons: {
@@ -1523,14 +1511,14 @@ const Vr = (t, e) => {
1523
1511
  function j(g) {
1524
1512
  r.sectionId = g.sectionId, r.phaseId = dt(["phases", 0, "phaseId"], g), p();
1525
1513
  }
1526
- return (g, N) => ye(g.$slots, "default", we(xe({
1514
+ return (g, N) => we(g.$slots, "default", ye(xe({
1527
1515
  rows: x.value,
1528
1516
  isLoading: _.value,
1529
- values: s(Rr)(["phaseId"], r),
1517
+ values: s(Dr)(["phaseId"], r),
1530
1518
  listeners: { onChangeSection: j, onChangeSeason: h }
1531
1519
  })));
1532
1520
  }
1533
- }, Po = ["href"], Ao = ["href"], To = {
1521
+ }, Po = ["href"], Ao = ["href"], $o = {
1534
1522
  __name: "ScheduleCupDataTable",
1535
1523
  props: {
1536
1524
  columns: {
@@ -1551,7 +1539,7 @@ const Vr = (t, e) => {
1551
1539
  }
1552
1540
  },
1553
1541
  setup(t) {
1554
- const e = t, r = Y(null), { columns: o } = Ut(
1542
+ const e = t, r = Y(null), { columns: o } = Ft(
1555
1543
  e.columns,
1556
1544
  null,
1557
1545
  I(() => ({
@@ -1562,9 +1550,9 @@ const Vr = (t, e) => {
1562
1550
  ref_key: "tooltipContainer",
1563
1551
  ref: r
1564
1552
  }, [
1565
- k(s(Rt), null, {
1553
+ k(s(Dt), null, {
1566
1554
  default: C(() => [
1567
- k(s(Dt), {
1555
+ k(s(Vt), {
1568
1556
  columns: s(o),
1569
1557
  rows: t.rows,
1570
1558
  "is-loading": t.isLoading,
@@ -1600,7 +1588,7 @@ const Vr = (t, e) => {
1600
1588
  })
1601
1589
  ], 512));
1602
1590
  }
1603
- }, $o = {
1591
+ }, To = {
1604
1592
  __name: "ScheduleCup.ce",
1605
1593
  props: {
1606
1594
  locale: {
@@ -1621,7 +1609,7 @@ const Vr = (t, e) => {
1621
1609
  // },
1622
1610
  },
1623
1611
  setup(t) {
1624
- const e = t, r = { en: $e, hu: Te }, o = Y(et()), a = I(() => tt(/* @__PURE__ */ new Date(), o.value, e.locale));
1612
+ const e = t, r = { en: Te, hu: $e }, o = Y(et()), a = I(() => tt(/* @__PURE__ */ new Date(), o.value, e.locale));
1625
1613
  return (i, n) => (m(), q(s(_e), {
1626
1614
  locale: e.locale,
1627
1615
  messages: r
@@ -1640,7 +1628,7 @@ const Vr = (t, e) => {
1640
1628
  }, {
1641
1629
  default: C(({ rows: l, isLoading: p, values: x, listeners: _ }) => [
1642
1630
  k(ko, kt(x, jt(_)), null, 16),
1643
- k(To, {
1631
+ k($o, {
1644
1632
  columns: s(Co),
1645
1633
  rows: l.rows,
1646
1634
  "is-loading": p,
@@ -1656,7 +1644,7 @@ const Vr = (t, e) => {
1656
1644
  _: 1
1657
1645
  }, 8, ["locale"]));
1658
1646
  }
1659
- }, Oo = /* @__PURE__ */ Ve($o, [["styles", [Oe, Re, De, vt, bt, ut, mt]]]);
1647
+ }, Oo = /* @__PURE__ */ Ve(To, [["styles", [Oe, Re, De, vt, bt, ut, mt]]]);
1660
1648
  function Ro(t, e) {
1661
1649
  e.seasonsList = t, e.seasonId = ie(G, J("id"))(t);
1662
1650
  }
@@ -1728,7 +1716,7 @@ const Ko = {
1728
1716
  function j(g) {
1729
1717
  r.sectionId = g;
1730
1718
  }
1731
- return (g, N) => ye(g.$slots, "default", we(xe({
1719
+ return (g, N) => we(g.$slots, "default", ye(xe({
1732
1720
  ...r,
1733
1721
  isLoading: x.value,
1734
1722
  phaseData: p.value,
@@ -1814,7 +1802,7 @@ const Ko = {
1814
1802
  }
1815
1803
  },
1816
1804
  setup(t) {
1817
- const e = { en: $e, hu: Te }, r = t;
1805
+ const e = { en: Te, hu: $e }, r = t;
1818
1806
  return (o, a) => (m(), q(s(_e), {
1819
1807
  locale: r.locale,
1820
1808
  messages: e
@@ -1839,7 +1827,7 @@ const Ko = {
1839
1827
  onChangeSection: N,
1840
1828
  onChangeChampionship: u
1841
1829
  }) => {
1842
- var y;
1830
+ var w;
1843
1831
  return [
1844
1832
  b("div", Ho, [
1845
1833
  b("div", null, [
@@ -1864,7 +1852,7 @@ const Ko = {
1864
1852
  b("label", Xo, f(i("selection.championshipName")), 1),
1865
1853
  b("p", {
1866
1854
  id: "championshipName",
1867
- textContent: f((y = p.find((v) => v.championshipId === x)) == null ? void 0 : y.championshipName)
1855
+ textContent: f((w = p.find((v) => v.championshipId === x)) == null ? void 0 : w.championshipName)
1868
1856
  }, null, 8, qo)
1869
1857
  ]),
1870
1858
  b("section", Zo, [