@mjsz-vbr-elements/core 2.1.0-rc.3 → 2.1.0-rc.5

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,11 +1,11 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.1.0-rc.3 - 22/11/2023, 22:50:31
3
+ * version: v2.1.0-rc.5 - 24/11/2023, 21:26:39
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { computed as Z, withDirectives as wn, openBlock as T, createElementBlock as A, normalizeClass as J, unref as y, renderSlot as st, vModelSelect as $n, ref as U, readonly as _n, watch as ht, nextTick as Sn, getCurrentScope as Tn, onScopeDispose as xn, isRef as wr, shallowRef as Ve, reactive as $r, defineComponent as _r, h as On, provide as Sr, inject as Tr, createElementVNode as O, Fragment as dt, normalizeStyle as He, createVNode as nt, Transition as Pn, withCtx as G, createTextVNode as yt, toDisplayString as N, createCommentVNode as X, toRefs as Ee, renderList as At, createBlock as at, withKeys as Ye, withModifiers as Ct, onErrorCaptured as An, createSlots as kn } from "vue";
8
+ import { computed as Z, withDirectives as wn, openBlock as T, createElementBlock as A, normalizeClass as J, unref as y, renderSlot as st, vModelSelect as $n, ref as U, readonly as _n, watch as ht, nextTick as Sn, getCurrentScope as Tn, onScopeDispose as xn, isRef as wr, shallowRef as Ve, reactive as $r, defineComponent as _r, h as On, provide as Sr, inject as Tr, createElementVNode as O, Fragment as dt, normalizeStyle as He, createVNode as nt, Transition as Pn, withCtx as G, createTextVNode as yt, toDisplayString as N, createCommentVNode as X, toRefs as Ie, renderList as At, createBlock as at, withKeys as Ye, withModifiers as Ct, onErrorCaptured as An, createSlots as kn } from "vue";
9
9
  const Tt = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, Mn = {
10
10
  __name: "BaseSelect",
11
11
  props: {
@@ -133,10 +133,10 @@ function Oe(t, e = !1) {
133
133
  }
134
134
  };
135
135
  }
136
- function In(t) {
136
+ function En(t) {
137
137
  return Oe(t);
138
138
  }
139
- function En(t, e, r = {}) {
139
+ function In(t, e, r = {}) {
140
140
  const {
141
141
  immediate: n = !0
142
142
  } = r, o = U(!1);
@@ -275,7 +275,7 @@ function Pr(t, e, r) {
275
275
  };
276
276
  function g() {
277
277
  return new Promise(($, S) => {
278
- In(u).toBe(!1).then(() => $(h)).catch(S);
278
+ En(u).toBe(!1).then(() => $(h)).catch(S);
279
279
  });
280
280
  }
281
281
  return Yn(Hn({}, h), {
@@ -324,7 +324,7 @@ function Qn(t = [], e = {}) {
324
324
  const { delay: r = 0 } = e, n = U(!1), o = Z(() => {
325
325
  const i = y(t);
326
326
  return Array.isArray(i) ? i.map((l) => y(l)).some(Boolean) : i;
327
- }), { start: a, stop: s } = En(() => {
327
+ }), { start: a, stop: s } = In(() => {
328
328
  n.value = !0;
329
329
  }, r);
330
330
  return ht(
@@ -744,10 +744,10 @@ var Lr = /* @__PURE__ */ V(
744
744
  ), fo = /* @__PURE__ */ V(function(e, r) {
745
745
  return Lr(io(e), r);
746
746
  });
747
- function Ir(t, e) {
747
+ function Er(t, e) {
748
748
  var r = function(s) {
749
749
  var i = e.concat([t]);
750
- return Mr(s, i) ? "<Circular>" : Ir(s, i);
750
+ return Mr(s, i) ? "<Circular>" : Er(s, i);
751
751
  }, n = function(a, s) {
752
752
  return oe(function(i) {
753
753
  return _e(i) + ": " + r(a[i]);
@@ -786,7 +786,7 @@ function Ir(t, e) {
786
786
  }
787
787
  }
788
788
  var Ae = /* @__PURE__ */ K(function(e) {
789
- return Ir(e, []);
789
+ return Er(e, []);
790
790
  }), po = /* @__PURE__ */ V(function(e, r) {
791
791
  if (e === r)
792
792
  return r;
@@ -835,12 +835,12 @@ const xt = go, ge = Number.isInteger || function(e) {
835
835
  function ye(t) {
836
836
  return Object.prototype.toString.call(t) === "[object String]";
837
837
  }
838
- var Er = /* @__PURE__ */ V(function(e, r) {
838
+ var Ir = /* @__PURE__ */ V(function(e, r) {
839
839
  var n = e < 0 ? r.length + e : e;
840
840
  return ye(r) ? r.charAt(n) : r[n];
841
841
  }), yo = /* @__PURE__ */ V(function(e, r) {
842
842
  if (r != null)
843
- return ge(e) ? Er(e, r) : r[e];
843
+ return ge(e) ? Ir(e, r) : r[e];
844
844
  });
845
845
  const Dt = yo;
846
846
  var vo = /* @__PURE__ */ V(function(e, r) {
@@ -946,7 +946,7 @@ function Do(t, e, r) {
946
946
  }
947
947
  var Lo = /* @__PURE__ */ K(function(e) {
948
948
  return e == null;
949
- }), Io = /* @__PURE__ */ ct(function t(e, r, n) {
949
+ }), Eo = /* @__PURE__ */ ct(function t(e, r, n) {
950
950
  if (e.length === 0)
951
951
  return r;
952
952
  var o = e[0];
@@ -955,8 +955,8 @@ var Lo = /* @__PURE__ */ K(function(e) {
955
955
  r = t(Array.prototype.slice.call(e, 1), r, a);
956
956
  }
957
957
  return Do(o, r, n);
958
- }), Eo = /* @__PURE__ */ ct(function(e, r, n) {
959
- return Io([e], r, n);
958
+ }), Io = /* @__PURE__ */ ct(function(e, r, n) {
959
+ return Eo([e], r, n);
960
960
  });
961
961
  function No(t) {
962
962
  var e = Object.prototype.toString.call(t);
@@ -1197,7 +1197,7 @@ var pa = /* @__PURE__ */ V(function(e, r) {
1197
1197
  for (var o = r, a = 0, s; a < n.length; ) {
1198
1198
  if (o == null)
1199
1199
  return;
1200
- s = n[a], o = ge(s) ? Er(s, o) : o[s], a += 1;
1200
+ s = n[a], o = ge(s) ? Ir(s, o) : o[s], a += 1;
1201
1201
  }
1202
1202
  return o;
1203
1203
  });
@@ -1206,7 +1206,7 @@ var pa = /* @__PURE__ */ V(function(e, r) {
1206
1206
  });
1207
1207
  const Ge = ha;
1208
1208
  var ga = /* @__PURE__ */ K(function(e) {
1209
- return pa(Dt(e), Eo(e));
1209
+ return pa(Dt(e), Io(e));
1210
1210
  });
1211
1211
  const ya = ga;
1212
1212
  var va = /* @__PURE__ */ ct(function(e, r, n) {
@@ -1268,10 +1268,10 @@ var La = /* @__PURE__ */ V(function(e, r) {
1268
1268
  });
1269
1269
  });
1270
1270
  const Br = La;
1271
- var Ia = /* @__PURE__ */ Gr(1, "split");
1272
- const Gt = Ia;
1273
- var Ea = /* @__PURE__ */ Gr(0, "toLowerCase");
1274
- const ar = Ea;
1271
+ var Ea = /* @__PURE__ */ Gr(1, "split");
1272
+ const Gt = Ea;
1273
+ var Ia = /* @__PURE__ */ Gr(0, "toLowerCase");
1274
+ const ar = Ia;
1275
1275
  var Yt = `
1276
1276
  \v\f\r                 \u2028\u2029\uFEFF`, Na = "​", za = typeof String.prototype.trim == "function", Ca = /* @__PURE__ */ K(!za || /* @__PURE__ */ Yt.trim() || !/* @__PURE__ */ Na.trim() ? function(e) {
1277
1277
  var r = new RegExp("^[" + Yt + "][" + Yt + "]*"), n = new RegExp("[" + Yt + "][" + Yt + "]*$");
@@ -1312,7 +1312,7 @@ const le = Ca, Fr = Symbol("I18nContext"), rt = $r({
1312
1312
  return Sr(Fr, i), {
1313
1313
  translate: n
1314
1314
  };
1315
- }, It = (t) => {
1315
+ }, Et = (t) => {
1316
1316
  t && (rt.messages = t.messages, rt.locale = t.locale, rt.fallbackLocale = t.fallbackLocale);
1317
1317
  const e = Ga();
1318
1318
  return {
@@ -1355,7 +1355,7 @@ const ja = function(t, e) {
1355
1355
  });
1356
1356
  return () => On(t.tag, a);
1357
1357
  }
1358
- }), Fa = "https://api.icehockey.hu/vbr", Va = "https://www.jegkorongszovetseg.hu/event/game/{gameId}", Ha = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Ya = "https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}", Ua = "https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}", Wa = "https://api.icehockey.hu/static/api/flag", _t = "original", v = "descend", j = "ascend", Ka = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), qa = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), yc = 1e3 * 60 * 5, Za = 1e3, Xa = {
1358
+ }), Fa = "https://api.icehockey.hu/vbr", Va = "https://www.jegkorongszovetseg.hu/event/game/{gameId}", Ha = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Ya = "https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}", Ua = "https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}", Wa = "https://api.icehockey.hu/static/api/flag", _t = "original", v = "descend", j = "ascend", Ka = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), qa = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), gc = 1e3 * 60 * 5, Za = 1e3, Xa = {
1359
1359
  "aria-hidden": "true",
1360
1360
  focusable: "false",
1361
1361
  "data-prefix": "fas",
@@ -1485,8 +1485,8 @@ const lr = (t) => ({ name: "arrow", options: t, async fn(e) {
1485
1485
  const p = Hr(n), f = { x: o, y: a }, u = te(s), d = je(u), m = await l.getDimensions(r), h = u === "y", g = h ? "top" : "left", $ = h ? "bottom" : "right", S = h ? "clientHeight" : "clientWidth", P = i.reference[d] + i.reference[u] - f[u] - i.floating[d], D = f[u] - i.reference[u], M = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(r));
1486
1486
  let z = M ? M[S] : 0;
1487
1487
  z && await (l.isElement == null ? void 0 : l.isElement(M)) || (z = c.floating[S] || i.floating[d]);
1488
- const B = P / 2 - D / 2, H = p[g], C = z - m[d] - p[$], I = z / 2 - m[d] / 2 + B, F = De(H, I, C), tt = Qt(s) != null && I != F && i.reference[d] / 2 - (I < H ? p[g] : p[$]) - m[d] / 2 < 0;
1489
- return { [u]: f[u] - (tt ? I < H ? H - I : C - I : 0), data: { [u]: F, centerOffset: I - F } };
1488
+ const B = P / 2 - D / 2, H = p[g], C = z - m[d] - p[$], E = z / 2 - m[d] / 2 + B, F = De(H, E, C), tt = Qt(s) != null && E != F && i.reference[d] / 2 - (E < H ? p[g] : p[$]) - m[d] / 2 < 0;
1489
+ return { [u]: f[u] - (tt ? E < H ? H - E : C - E : 0), data: { [u]: F, centerOffset: E - F } };
1490
1490
  } }), ms = ["top", "right", "bottom", "left"];
1491
1491
  ms.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
1492
1492
  const hs = { left: "right", right: "left", bottom: "top", top: "bottom" };
@@ -1512,12 +1512,12 @@ const vs = function(t) {
1512
1512
  }(s));
1513
1513
  f || d === "none" || P.push(...function(F, tt, k, _) {
1514
1514
  const w = Qt(F);
1515
- let x = function(b, L, E) {
1515
+ let x = function(b, L, I) {
1516
1516
  const R = ["left", "right"], q = ["right", "left"], W = ["top", "bottom"], et = ["bottom", "top"];
1517
1517
  switch (b) {
1518
1518
  case "top":
1519
1519
  case "bottom":
1520
- return E ? L ? q : R : L ? R : q;
1520
+ return I ? L ? q : R : L ? R : q;
1521
1521
  case "left":
1522
1522
  case "right":
1523
1523
  return L ? W : et;
@@ -1542,8 +1542,8 @@ const vs = function(t) {
1542
1542
  if (!k)
1543
1543
  switch (u) {
1544
1544
  case "bestFit": {
1545
- var I;
1546
- const _ = (I = B.map((w) => [w.placement, w.overflows.filter((x) => x > 0).reduce((x, b) => x + b, 0)]).sort((w, x) => w[1] - x[1])[0]) == null ? void 0 : I[0];
1545
+ var E;
1546
+ const _ = (E = B.map((w) => [w.placement, w.overflows.filter((x) => x > 0).reduce((x, b) => x + b, 0)]).sort((w, x) => w[1] - x[1])[0]) == null ? void 0 : E[0];
1547
1547
  _ && (k = _);
1548
1548
  break;
1549
1549
  }
@@ -1986,7 +1986,7 @@ const ks = (t) => {
1986
1986
  ], 12, Ms)
1987
1987
  ], 64));
1988
1988
  }
1989
- }, Ds = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], Ls = { key: 0 }, Is = ["colspan"], Es = { key: 1 }, Ns = ["colspan"], en = {
1989
+ }, Ds = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], Ls = { key: 0 }, Es = ["colspan"], Is = { key: 1 }, Ns = ["colspan"], en = {
1990
1990
  __name: "DataTable",
1991
1991
  props: {
1992
1992
  columns: {
@@ -2012,7 +2012,7 @@ const ks = (t) => {
2012
2012
  },
2013
2013
  emits: ["sort"],
2014
2014
  setup(t, { emit: e }) {
2015
- const r = t, { isLoading: n, appendTo: o } = Ee(r), a = Qn(n, { delay: Za }), { t: s } = It(), i = Tt("table"), l = Z(() => r.columns), c = Z(() => Object.keys(r.columns).length), p = (f, u) => {
2015
+ const r = t, { isLoading: n, appendTo: o } = Ie(r), a = Qn(n, { delay: Za }), { t: s } = Et(), i = Tt("table"), l = Z(() => r.columns), c = Z(() => Object.keys(r.columns).length), p = (f, u) => {
2016
2016
  f.sortOrders && e("sort", { target: u, orders: f.sortOrders });
2017
2017
  };
2018
2018
  return (f, u) => (T(), A("table", {
@@ -2107,10 +2107,10 @@ const ks = (t) => {
2107
2107
  st(f.$slots, "loading", {}, () => [
2108
2108
  yt(N(y(s)("common.loading")), 1)
2109
2109
  ])
2110
- ], 8, Is)
2110
+ ], 8, Es)
2111
2111
  ])
2112
2112
  ])) : X("", !0),
2113
- t.rows.length === 0 && !y(n) && !y(a) ? (T(), A("tfoot", Es, [
2113
+ t.rows.length === 0 && !y(n) && !y(a) ? (T(), A("tfoot", Is, [
2114
2114
  O("tr", null, [
2115
2115
  O("td", { colspan: c.value }, [
2116
2116
  st(f.$slots, "empty", {}, () => [
@@ -2147,7 +2147,7 @@ const ks = (t) => {
2147
2147
  function Bs(t, e) {
2148
2148
  return T(), A("svg", zs, js);
2149
2149
  }
2150
- const Fs = { render: Bs }, vc = {
2150
+ const Fs = { render: Bs }, yc = {
2151
2151
  __name: "ErrorNotice",
2152
2152
  props: {
2153
2153
  error: {
@@ -2156,7 +2156,7 @@ const Fs = { render: Bs }, vc = {
2156
2156
  }
2157
2157
  },
2158
2158
  setup(t) {
2159
- const e = t, { t: r, hasTranlation: n } = It(), o = Tt("error-notice"), a = Z(() => {
2159
+ const e = t, { t: r, hasTranlation: n } = Et(), o = Tt("error-notice"), a = Z(() => {
2160
2160
  var s;
2161
2161
  return n(`errors.${e.error.key}`) ? r(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(s = e.error) == null ? void 0 : s.message}`;
2162
2162
  });
@@ -2213,7 +2213,7 @@ const Bt = function(t = "", e = {}) {
2213
2213
  if (t === null)
2214
2214
  throw new Error("Privider is missing a parent component.");
2215
2215
  return t;
2216
- }, bc = {
2216
+ }, vc = {
2217
2217
  __name: "ErrorProvider",
2218
2218
  setup(t) {
2219
2219
  const { message: e, hasError: r, error: n } = Hs();
@@ -3033,7 +3033,7 @@ const Bt = function(t = "", e = {}) {
3033
3033
  function ni(t, e, r, n, o, a) {
3034
3034
  return st(t.$slots, "default", { t: t.translate });
3035
3035
  }
3036
- const wc = /* @__PURE__ */ on(ri, [["render", ni]]), oi = ["src"], ai = ["src", "title"], Nt = /* @__PURE__ */ Object.assign({
3036
+ const bc = /* @__PURE__ */ on(ri, [["render", ni]]), oi = ["src"], ai = ["src", "title"], Nt = /* @__PURE__ */ Object.assign({
3037
3037
  inheritAttrs: !1
3038
3038
  }, {
3039
3039
  __name: "Image",
@@ -3052,7 +3052,7 @@ const wc = /* @__PURE__ */ on(ri, [["render", ni]]), oi = ["src"], ai = ["src",
3052
3052
  }
3053
3053
  },
3054
3054
  setup(t) {
3055
- const e = t, { defaultSrc: r } = Ee(e), n = U({ src: e.src }), { error: o, isReady: a } = Jn(n, { resetOnExecute: !1, shallow: !1 });
3055
+ const e = t, { defaultSrc: r } = Ie(e), n = U({ src: e.src }), { error: o, isReady: a } = Jn(n, { resetOnExecute: !1, shallow: !1 });
3056
3056
  return (s, i) => (T(), A(dt, null, [
3057
3057
  y(o) && y(r) ? (T(), A("img", {
3058
3058
  key: 0,
@@ -3070,7 +3070,7 @@ const wc = /* @__PURE__ */ on(ri, [["render", ni]]), oi = ["src"], ai = ["src",
3070
3070
  }), si = { style: { "text-align": "center" } }, an = {
3071
3071
  __name: "LoadingIndicator",
3072
3072
  setup(t) {
3073
- const { t: e } = It();
3073
+ const { t: e } = Et();
3074
3074
  return (r, n) => (T(), A("div", si, N(y(e)("common.loading")), 1));
3075
3075
  }
3076
3076
  };
@@ -3129,7 +3129,7 @@ const yi = { render: gi }, vi = ["disabled"], bi = ["disabled"], wi = {
3129
3129
  class: "is-disabled"
3130
3130
  }, Si = /* @__PURE__ */ O("span", null, "...", -1), Ti = [
3131
3131
  Si
3132
- ], xi = ["disabled"], Oi = ["disabled"], $c = {
3132
+ ], xi = ["disabled"], Oi = ["disabled"], wc = {
3133
3133
  __name: "Paginator",
3134
3134
  props: {
3135
3135
  page: {
@@ -3247,8 +3247,8 @@ var ln = { exports: {} };
3247
3247
  }, m: function k(_, w) {
3248
3248
  if (_.date() < w.date())
3249
3249
  return -k(w, _);
3250
- var x = 12 * (w.year() - _.year()) + (w.month() - _.month()), b = _.clone().add(x, f), L = w - b < 0, E = _.clone().add(x + (L ? -1 : 1), f);
3251
- return +(-(x + (w - b) / (L ? b - E : E - b)) || 0);
3250
+ var x = 12 * (w.year() - _.year()) + (w.month() - _.month()), b = _.clone().add(x, f), L = w - b < 0, I = _.clone().add(x + (L ? -1 : 1), f);
3251
+ return +(-(x + (w - b) / (L ? b - I : I - b)) || 0);
3252
3252
  }, a: function(k) {
3253
3253
  return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
3254
3254
  }, p: function(k) {
@@ -3266,9 +3266,9 @@ var ln = { exports: {} };
3266
3266
  if (typeof _ == "string") {
3267
3267
  var L = _.toLowerCase();
3268
3268
  z[L] && (b = L), w && (z[L] = w, b = L);
3269
- var E = _.split("-");
3270
- if (!b && E.length > 1)
3271
- return k(E[0]);
3269
+ var I = _.split("-");
3270
+ if (!b && I.length > 1)
3271
+ return k(I[0]);
3272
3272
  } else {
3273
3273
  var R = _.name;
3274
3274
  z[R] = _, b = R;
@@ -3279,8 +3279,8 @@ var ln = { exports: {} };
3279
3279
  return k.clone();
3280
3280
  var w = typeof _ == "object" ? _ : {};
3281
3281
  return w.date = k, w.args = arguments, new F(w);
3282
- }, I = D;
3283
- I.l = H, I.i = B, I.w = function(k, _) {
3282
+ }, E = D;
3283
+ E.l = H, E.i = B, E.w = function(k, _) {
3284
3284
  return C(k, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
3285
3285
  };
3286
3286
  var F = function() {
@@ -3293,15 +3293,15 @@ var ln = { exports: {} };
3293
3293
  var b = x.date, L = x.utc;
3294
3294
  if (b === null)
3295
3295
  return /* @__PURE__ */ new Date(NaN);
3296
- if (I.u(b))
3296
+ if (E.u(b))
3297
3297
  return /* @__PURE__ */ new Date();
3298
3298
  if (b instanceof Date)
3299
3299
  return new Date(b);
3300
3300
  if (typeof b == "string" && !/Z$/i.test(b)) {
3301
- var E = b.match(g);
3302
- if (E) {
3303
- var R = E[2] - 1 || 0, q = (E[7] || "0").substring(0, 3);
3304
- return L ? new Date(Date.UTC(E[1], R, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q)) : new Date(E[1], R, E[3] || 1, E[4] || 0, E[5] || 0, E[6] || 0, q);
3301
+ var I = b.match(g);
3302
+ if (I) {
3303
+ var R = I[2] - 1 || 0, q = (I[7] || "0").substring(0, 3);
3304
+ return L ? new Date(Date.UTC(I[1], R, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0, q)) : new Date(I[1], R, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0, q);
3305
3305
  }
3306
3306
  }
3307
3307
  return new Date(b);
@@ -3310,7 +3310,7 @@ var ln = { exports: {} };
3310
3310
  var w = this.$d;
3311
3311
  this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds();
3312
3312
  }, _.$utils = function() {
3313
- return I;
3313
+ return E;
3314
3314
  }, _.isValid = function() {
3315
3315
  return this.$d.toString() !== h;
3316
3316
  }, _.isSame = function(w, x) {
@@ -3321,19 +3321,19 @@ var ln = { exports: {} };
3321
3321
  }, _.isBefore = function(w, x) {
3322
3322
  return this.endOf(x) < C(w);
3323
3323
  }, _.$g = function(w, x, b) {
3324
- return I.u(w) ? this[x] : this.set(b, w);
3324
+ return E.u(w) ? this[x] : this.set(b, w);
3325
3325
  }, _.unix = function() {
3326
3326
  return Math.floor(this.valueOf() / 1e3);
3327
3327
  }, _.valueOf = function() {
3328
3328
  return this.$d.getTime();
3329
3329
  }, _.startOf = function(w, x) {
3330
- var b = this, L = !!I.u(x) || x, E = I.p(w), R = function(Et, ot) {
3331
- var $t = I.w(b.$u ? Date.UTC(b.$y, ot, Et) : new Date(b.$y, ot, Et), b);
3330
+ var b = this, L = !!E.u(x) || x, I = E.p(w), R = function(It, ot) {
3331
+ var $t = E.w(b.$u ? Date.UTC(b.$y, ot, It) : new Date(b.$y, ot, It), b);
3332
3332
  return L ? $t : $t.endOf(c);
3333
- }, q = function(Et, ot) {
3334
- return I.w(b.toDate()[Et].apply(b.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ot)), b);
3333
+ }, q = function(It, ot) {
3334
+ return E.w(b.toDate()[It].apply(b.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ot)), b);
3335
3335
  }, W = this.$W, et = this.$M, wt = this.$D, gt = "set" + (this.$u ? "UTC" : "");
3336
- switch (E) {
3336
+ switch (I) {
3337
3337
  case d:
3338
3338
  return L ? R(1, 0) : R(31, 11);
3339
3339
  case f:
@@ -3356,7 +3356,7 @@ var ln = { exports: {} };
3356
3356
  }, _.endOf = function(w) {
3357
3357
  return this.startOf(w, !1);
3358
3358
  }, _.$set = function(w, x) {
3359
- var b, L = I.p(w), E = "set" + (this.$u ? "UTC" : ""), R = (b = {}, b[c] = E + "Date", b[m] = E + "Date", b[f] = E + "Month", b[d] = E + "FullYear", b[l] = E + "Hours", b[i] = E + "Minutes", b[s] = E + "Seconds", b[a] = E + "Milliseconds", b)[L], q = L === c ? this.$D + (x - this.$W) : x;
3359
+ var b, L = E.p(w), I = "set" + (this.$u ? "UTC" : ""), R = (b = {}, b[c] = I + "Date", b[m] = I + "Date", b[f] = I + "Month", b[d] = I + "FullYear", b[l] = I + "Hours", b[i] = I + "Minutes", b[s] = I + "Seconds", b[a] = I + "Milliseconds", b)[L], q = L === c ? this.$D + (x - this.$W) : x;
3360
3360
  if (L === f || L === d) {
3361
3361
  var W = this.clone().set(m, 1);
3362
3362
  W.$d[R](q), W.init(), this.$d = W.set(m, Math.min(this.$D, W.daysInMonth())).$d;
@@ -3366,46 +3366,46 @@ var ln = { exports: {} };
3366
3366
  }, _.set = function(w, x) {
3367
3367
  return this.clone().$set(w, x);
3368
3368
  }, _.get = function(w) {
3369
- return this[I.p(w)]();
3369
+ return this[E.p(w)]();
3370
3370
  }, _.add = function(w, x) {
3371
3371
  var b, L = this;
3372
3372
  w = Number(w);
3373
- var E = I.p(x), R = function(et) {
3373
+ var I = E.p(x), R = function(et) {
3374
3374
  var wt = C(L);
3375
- return I.w(wt.date(wt.date() + Math.round(et * w)), L);
3375
+ return E.w(wt.date(wt.date() + Math.round(et * w)), L);
3376
3376
  };
3377
- if (E === f)
3377
+ if (I === f)
3378
3378
  return this.set(f, this.$M + w);
3379
- if (E === d)
3379
+ if (I === d)
3380
3380
  return this.set(d, this.$y + w);
3381
- if (E === c)
3381
+ if (I === c)
3382
3382
  return R(1);
3383
- if (E === p)
3383
+ if (I === p)
3384
3384
  return R(7);
3385
- var q = (b = {}, b[i] = n, b[l] = o, b[s] = r, b)[E] || 1, W = this.$d.getTime() + w * q;
3386
- return I.w(W, this);
3385
+ var q = (b = {}, b[i] = n, b[l] = o, b[s] = r, b)[I] || 1, W = this.$d.getTime() + w * q;
3386
+ return E.w(W, this);
3387
3387
  }, _.subtract = function(w, x) {
3388
3388
  return this.add(-1 * w, x);
3389
3389
  }, _.format = function(w) {
3390
3390
  var x = this, b = this.$locale();
3391
3391
  if (!this.isValid())
3392
3392
  return b.invalidDate || h;
3393
- var L = w || "YYYY-MM-DDTHH:mm:ssZ", E = I.z(this), R = this.$H, q = this.$m, W = this.$M, et = b.weekdays, wt = b.months, gt = function(ot, $t, we, ee) {
3393
+ var L = w || "YYYY-MM-DDTHH:mm:ssZ", I = E.z(this), R = this.$H, q = this.$m, W = this.$M, et = b.weekdays, wt = b.months, gt = function(ot, $t, we, ee) {
3394
3394
  return ot && (ot[$t] || ot(x, L)) || we[$t].slice(0, ee);
3395
3395
  }, Ft = function(ot) {
3396
- return I.s(R % 12 || 12, ot, "0");
3396
+ return E.s(R % 12 || 12, ot, "0");
3397
3397
  }, Vt = b.meridiem || function(ot, $t, we) {
3398
3398
  var ee = ot < 12 ? "AM" : "PM";
3399
3399
  return we ? ee.toLowerCase() : ee;
3400
- }, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: W + 1, MM: I.s(W + 1, 2, "0"), MMM: gt(b.monthsShort, W, wt, 3), MMMM: gt(wt, W), D: this.$D, DD: I.s(this.$D, 2, "0"), d: String(this.$W), dd: gt(b.weekdaysMin, this.$W, et, 2), ddd: gt(b.weekdaysShort, this.$W, et, 3), dddd: et[this.$W], H: String(R), HH: I.s(R, 2, "0"), h: Ft(1), hh: Ft(2), a: Vt(R, q, !0), A: Vt(R, q, !1), m: String(q), mm: I.s(q, 2, "0"), s: String(this.$s), ss: I.s(this.$s, 2, "0"), SSS: I.s(this.$ms, 3, "0"), Z: E };
3400
+ }, It = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: W + 1, MM: E.s(W + 1, 2, "0"), MMM: gt(b.monthsShort, W, wt, 3), MMMM: gt(wt, W), D: this.$D, DD: E.s(this.$D, 2, "0"), d: String(this.$W), dd: gt(b.weekdaysMin, this.$W, et, 2), ddd: gt(b.weekdaysShort, this.$W, et, 3), dddd: et[this.$W], H: String(R), HH: E.s(R, 2, "0"), h: Ft(1), hh: Ft(2), a: Vt(R, q, !0), A: Vt(R, q, !1), m: String(q), mm: E.s(q, 2, "0"), s: String(this.$s), ss: E.s(this.$s, 2, "0"), SSS: E.s(this.$ms, 3, "0"), Z: I };
3401
3401
  return L.replace($, function(ot, $t) {
3402
- return $t || Et[ot] || E.replace(":", "");
3402
+ return $t || It[ot] || I.replace(":", "");
3403
3403
  });
3404
3404
  }, _.utcOffset = function() {
3405
3405
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3406
3406
  }, _.diff = function(w, x, b) {
3407
- var L, E = I.p(x), R = C(w), q = (R.utcOffset() - this.utcOffset()) * n, W = this - R, et = I.m(this, R);
3408
- return et = (L = {}, L[d] = et / 12, L[f] = et, L[u] = et / 3, L[p] = (W - q) / 6048e5, L[c] = (W - q) / 864e5, L[l] = W / o, L[i] = W / n, L[s] = W / r, L)[E] || W, b ? et : I.a(et);
3407
+ var L, I = E.p(x), R = C(w), q = (R.utcOffset() - this.utcOffset()) * n, W = this - R, et = E.m(this, R);
3408
+ return et = (L = {}, L[d] = et / 12, L[f] = et, L[u] = et / 3, L[p] = (W - q) / 6048e5, L[c] = (W - q) / 864e5, L[l] = W / o, L[i] = W / n, L[s] = W / r, L)[I] || W, b ? et : E.a(et);
3409
3409
  }, _.daysInMonth = function() {
3410
3410
  return this.endOf(f).$D;
3411
3411
  }, _.$locale = function() {
@@ -3416,7 +3416,7 @@ var ln = { exports: {} };
3416
3416
  var b = this.clone(), L = H(w, x, !0);
3417
3417
  return L && (b.$L = L), b;
3418
3418
  }, _.clone = function() {
3419
- return I.w(this.$d, this);
3419
+ return E.w(this.$d, this);
3420
3420
  }, _.toDate = function() {
3421
3421
  return new Date(this.valueOf());
3422
3422
  }, _.toJSON = function() {
@@ -3571,11 +3571,11 @@ var dn = { exports: {} };
3571
3571
  if (typeof u != "string")
3572
3572
  return s(u).tz(g);
3573
3573
  var S = function(z, B, H) {
3574
- var C = z - 60 * B * 1e3, I = c(C, H);
3575
- if (B === I)
3574
+ var C = z - 60 * B * 1e3, E = c(C, H);
3575
+ if (B === E)
3576
3576
  return [C, B];
3577
- var F = c(C -= 60 * (I - B) * 1e3, H);
3578
- return I === F ? [C, I] : [z - 60 * Math.min(I, F) * 1e3, Math.max(I, F)];
3577
+ var F = c(C -= 60 * (E - B) * 1e3, H);
3578
+ return E === F ? [C, E] : [z - 60 * Math.min(E, F) * 1e3, Math.max(E, F)];
3579
3579
  }(s.utc(u, h).valueOf(), $, g), P = S[0], D = S[1], M = s(P).utcOffset(D);
3580
3580
  return M.$x.$timezone = g, M;
3581
3581
  }, s.tz.guess = function() {
@@ -3651,8 +3651,8 @@ var pn = { exports: {} };
3651
3651
  };
3652
3652
  });
3653
3653
  })(pn);
3654
- var Ii = pn.exports;
3655
- const Ei = /* @__PURE__ */ Pt(Ii);
3654
+ var Ei = pn.exports;
3655
+ const Ii = /* @__PURE__ */ Pt(Ei);
3656
3656
  var mn = { exports: {} };
3657
3657
  (function(t, e) {
3658
3658
  (function(r, n) {
@@ -3779,7 +3779,7 @@ Q.extend(Mi);
3779
3779
  Q.extend(Li);
3780
3780
  Q.extend(ji);
3781
3781
  Q.extend(Ri);
3782
- Q.extend(Ei);
3782
+ Q.extend(Ii);
3783
3783
  Q.extend(zi);
3784
3784
  const Fi = () => Q.tz.guess(), qt = (t = "", e = "", r = "", n = "hu") => (r = r || Q.tz.guess(), Q(t).isValid() ? Q(t).tz(r).locale(n).format(e) : ""), re = (t = "", e = "", r = "hu") => {
3785
3785
  if (!Q(t).isValid())
@@ -3799,7 +3799,7 @@ const Fi = () => Q.tz.guess(), qt = (t = "", e = "", r = "", n = "hu") => (r = r
3799
3799
  }, Yi = (t) => {
3800
3800
  const e = Math.trunc(t), r = Math.round((t - e) / 10 * 60 * 10);
3801
3801
  return [e.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
3802
- }, Ui = (t, e = "day") => Q().isSameOrBefore(Q(t), e), _c = (t, e, r) => Q(t).isBetween(e, Q(r)), Sc = (t, e, r = "month") => Q(t).isSame(e, r), Tc = (t, e = "hu") => Q(t).locale(e).toNow(!0), Wi = ["onClick"], xc = {
3802
+ }, Ui = (t, e = "day") => Q().isSameOrBefore(Q(t), e), $c = (t, e, r) => Q(t).isBetween(e, Q(r)), _c = (t, e, r = "month") => Q(t).isSame(e, r), Sc = (t, e = "hu") => Q(t).locale(e).toNow(!0), Wi = ["onClick"], Tc = {
3803
3803
  __name: "TimezoneSelector",
3804
3804
  props: {
3805
3805
  locale: {
@@ -3813,7 +3813,7 @@ const Fi = () => Q.tz.guess(), qt = (t = "", e = "", r = "", n = "hu") => (r = r
3813
3813
  },
3814
3814
  emits: ["change"],
3815
3815
  setup(t, { emit: e }) {
3816
- const r = t, { t: n } = It(), o = Tt("timezone-selector"), a = Z(() => re(/* @__PURE__ */ new Date(), null, r.locale)), s = Fi(), i = Z(() => Array.from(qa.values()).map((c) => ({
3816
+ const r = t, { t: n } = Et(), o = Tt("timezone-selector"), a = Z(() => re(/* @__PURE__ */ new Date(), null, r.locale)), s = Fi(), i = Z(() => Array.from(qa.values()).map((c) => ({
3817
3817
  ...c,
3818
3818
  isActive: re(/* @__PURE__ */ new Date(), r.currentZone, r.locale) === re(/* @__PURE__ */ new Date(), c.timezone, r.locale),
3819
3819
  zoneOffsetName: re(/* @__PURE__ */ new Date(), c.timezone, r.locale)
@@ -3842,7 +3842,7 @@ const Fi = () => Q.tz.guess(), qt = (t = "", e = "", r = "", n = "hu") => (r = r
3842
3842
  ], 2));
3843
3843
  }
3844
3844
  }, vn = (t, e = "", r = {}) => {
3845
- const n = U(""), { t: o } = It(), a = Z(() => {
3845
+ const n = U(""), { t: o } = Et(), a = Z(() => {
3846
3846
  if (y(e))
3847
3847
  try {
3848
3848
  const l = Ki(y(t), y(e));
@@ -3881,7 +3881,7 @@ const fe = {
3881
3881
  key: "undefined-column",
3882
3882
  cause: {}
3883
3883
  }
3884
- }, Oc = {
3884
+ }, xc = {
3885
3885
  message: "Invalid season name",
3886
3886
  options: {
3887
3887
  key: "invalid-season-name",
@@ -3890,7 +3890,7 @@ const fe = {
3890
3890
  }, qi = { class: "is-portrait-image" }, Zi = { class: "is-team-name-long" }, Xi = { class: "is-team-name-short" }, Ji = { class: "is-team-name-long" }, Qi = { class: "is-team-name-short" }, tl = { class: "is-team-name-long" }, el = { class: "is-team-name-short" }, rl = ["href"], nl = { class: "is-team-name-long" }, ol = { class: "is-team-name-short" }, al = ["href"], sl = {
3891
3891
  key: 0,
3892
3892
  class: "is-text-dark"
3893
- }, il = ["href", "target"], Pc = {
3893
+ }, il = ["href", "target"], Oc = {
3894
3894
  __name: "StatisticsTable",
3895
3895
  props: {
3896
3896
  columns: {
@@ -3950,7 +3950,7 @@ const fe = {
3950
3950
  },
3951
3951
  emits: ["sort"],
3952
3952
  setup(t, { emit: e }) {
3953
- const r = t, { columns: n, hideColumns: o } = Ee(r), { onError: a } = nn(), { columns: s, error: i } = vn(
3953
+ const r = t, { columns: n, hideColumns: o } = Ie(r), { onError: a } = nn(), { columns: s, error: i } = vn(
3954
3954
  n,
3955
3955
  o,
3956
3956
  Z(() => ({
@@ -4048,7 +4048,7 @@ const fe = {
4048
4048
  "cell-gameResult": G(({ row: u }) => [
4049
4049
  u.gameStatus === 0 ? (T(), A("span", sl, "-:-")) : (T(), A("a", {
4050
4050
  key: 1,
4051
- href: t.externalGameResolver(u.gameId),
4051
+ href: t.externalGameResolver(u),
4052
4052
  target: t.externalGameResolverTarget,
4053
4053
  class: J({ "is-text-dark": u.gameStatus !== 1, "is-text-accent": u.gameStatus === 1 })
4054
4054
  }, N(u.homeTeamScore) + ":" + N(u.awayTeamScore), 11, il))
@@ -4061,14 +4061,14 @@ const fe = {
4061
4061
  t.isTeamLinked ? {
4062
4062
  name: "cell-teamName",
4063
4063
  fn: G(({ row: u }) => {
4064
- var d, m, h;
4064
+ var d, m;
4065
4065
  return [
4066
4066
  O("a", {
4067
- href: t.externalTeamResolver((d = u.team) == null ? void 0 : d.longName),
4067
+ href: t.externalTeamResolver(u),
4068
4068
  target: "_blank"
4069
4069
  }, [
4070
- O("span", nl, N((m = u.team) == null ? void 0 : m.longName), 1),
4071
- O("span", ol, N((h = u.team) == null ? void 0 : h.shortName), 1)
4070
+ O("span", nl, N((d = u.team) == null ? void 0 : d.longName), 1),
4071
+ O("span", ol, N((m = u.team) == null ? void 0 : m.shortName), 1)
4072
4072
  ], 8, rl)
4073
4073
  ];
4074
4074
  }),
@@ -4078,7 +4078,7 @@ const fe = {
4078
4078
  name: "cell-name",
4079
4079
  fn: G(({ row: u }) => [
4080
4080
  O("a", {
4081
- href: t.externalPlayerResolver(u.id),
4081
+ href: t.externalPlayerResolver(u),
4082
4082
  target: "_blank"
4083
4083
  }, N(u.name), 9, al)
4084
4084
  ]),
@@ -4143,7 +4143,7 @@ const fe = {
4143
4143
  more: {
4144
4144
  label: ""
4145
4145
  }
4146
- }, Ac = {
4146
+ }, Pc = {
4147
4147
  index: {
4148
4148
  label: "table.blank",
4149
4149
  class: "is-text-left"
@@ -4223,7 +4223,7 @@ const fe = {
4223
4223
  { target: "gf", direction: v }
4224
4224
  ]
4225
4225
  }
4226
- }, kc = {
4226
+ }, Ac = {
4227
4227
  index: {
4228
4228
  label: "#",
4229
4229
  class: "is-text-left"
@@ -4285,7 +4285,7 @@ const fe = {
4285
4285
  class: "is-text-bold",
4286
4286
  sortOrders: [{ target: "points", direction: v }]
4287
4287
  }
4288
- }, Mc = {
4288
+ }, kc = {
4289
4289
  index: {
4290
4290
  label: "#",
4291
4291
  class: "is-text-left"
@@ -4351,7 +4351,7 @@ const fe = {
4351
4351
  tooltip: "table.sogPercent.tooltip",
4352
4352
  sortOrders: [{ target: "shootPercent", direction: v }]
4353
4353
  }
4354
- }, Dc = {
4354
+ }, Mc = {
4355
4355
  index: {
4356
4356
  label: "table.blank",
4357
4357
  class: "is-text-left"
@@ -4426,7 +4426,7 @@ const fe = {
4426
4426
  tooltip: "table.pim.tooltip",
4427
4427
  sortOrders: [{ target: "pim", direction: v }]
4428
4428
  }
4429
- }, Lc = {
4429
+ }, Dc = {
4430
4430
  index: {
4431
4431
  label: "table.blank",
4432
4432
  class: "is-text-left"
@@ -4496,7 +4496,7 @@ const fe = {
4496
4496
  tooltip: "table.svsPercent.tooltip",
4497
4497
  sortOrders: [{ target: "svsPercent", direction: v }]
4498
4498
  }
4499
- }, Ic = {
4499
+ }, Lc = {
4500
4500
  index: {
4501
4501
  label: "table.blank",
4502
4502
  class: "is-text-left"
@@ -4635,7 +4635,7 @@ const fe = {
4635
4635
  tooltip: "table.pim.tooltip",
4636
4636
  sortOrders: [{ target: "pim", direction: v }]
4637
4637
  }
4638
- }, Nc = {
4638
+ }, Ic = {
4639
4639
  index: {
4640
4640
  label: "table.blank",
4641
4641
  class: "is-text-left"
@@ -4690,7 +4690,7 @@ const fe = {
4690
4690
  tooltip: "table.pkPercent.tooltip",
4691
4691
  sortOrders: [{ target: "pkPercent", direction: v }]
4692
4692
  }
4693
- }, zc = {
4693
+ }, Nc = {
4694
4694
  index: {
4695
4695
  label: "table.blank",
4696
4696
  class: "is-text-left"
@@ -4745,7 +4745,7 @@ const fe = {
4745
4745
  tooltip: "table.ppPercent.tooltip",
4746
4746
  sortOrders: [{ target: "ppPercent", direction: v }]
4747
4747
  }
4748
- }, Cc = {
4748
+ }, zc = {
4749
4749
  index: {
4750
4750
  label: "table.blank",
4751
4751
  class: "is-text-left"
@@ -4836,7 +4836,7 @@ const fe = {
4836
4836
  }, ul = (t) => Object.keys(t).map((e) => e + "=" + t[e]).join("&"), dl = (t) => {
4837
4837
  var e;
4838
4838
  return t || ((e = window.__MJSZ_VBR_WIDGET__) != null && e.apiKey ? window.__MJSZ_VBR_WIDGET__.apiKey : {}.NODE_ENV !== "production" ? "dd8adf5fdb738b3741fa579b5ede5ce69b681f62" : "");
4839
- }, Rc = (t = {}) => {
4839
+ }, Cc = (t = {}) => {
4840
4840
  const { initial: e = 1, items: r = [], limit: n, auto: o = !1 } = t, a = U(y(e)), s = (c) => Ui(c, "day");
4841
4841
  return Nn(r, () => {
4842
4842
  if (!o)
@@ -4849,7 +4849,7 @@ const fe = {
4849
4849
  a.value = c;
4850
4850
  }
4851
4851
  };
4852
- }, Gc = ({ options: t = {}, transform: e = (o) => o, onError: r = vt, onSuccess: n = vt }) => {
4852
+ }, Rc = ({ options: t = {}, transform: e = (o) => o, onError: r = vt, onSuccess: n = vt }) => {
4853
4853
  const { path: o, apiKey: a, params: s, resetOnExecute: i = !1, immediate: l = !1 } = t, {
4854
4854
  state: c,
4855
4855
  error: p,
@@ -4913,7 +4913,7 @@ function Te(t) {
4913
4913
  function yr(t, e) {
4914
4914
  return typeof (t = typeof t == "string" && e && e[t] ? e[t] : t) == "string" ? { type: t } : typeof t == "function" ? { type: t.name, exec: t } : t;
4915
4915
  }
4916
- function Ie(t) {
4916
+ function Ee(t) {
4917
4917
  return function(e) {
4918
4918
  return t === e;
4919
4919
  };
@@ -4922,7 +4922,7 @@ function pl(t) {
4922
4922
  return typeof t == "string" ? { type: t } : t;
4923
4923
  }
4924
4924
  function vr(t, e) {
4925
- return { value: t, context: e, actions: [], changed: !1, matches: Ie(t) };
4925
+ return { value: t, context: e, actions: [], changed: !1, matches: Ee(t) };
4926
4926
  }
4927
4927
  function br(t, e, r) {
4928
4928
  var n = e, o = !1;
@@ -4941,15 +4941,15 @@ function ml(t, e) {
4941
4941
  e === void 0 && (e = {});
4942
4942
  var r = hr(br(Te(t.states[t.initial].entry).map(function(s) {
4943
4943
  return yr(s, e.actions);
4944
- }), t.context, fl), 2), n = r[0], o = r[1], a = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: o, matches: Ie(t.initial) }, transition: function(s, i) {
4944
+ }), t.context, fl), 2), n = r[0], o = r[1], a = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: o, matches: Ee(t.initial) }, transition: function(s, i) {
4945
4945
  var l, c, p = typeof s == "string" ? { value: s, context: t.context } : s, f = p.value, u = p.context, d = pl(i), m = t.states[f];
4946
4946
  if (m.on) {
4947
4947
  var h = Te(m.on[d.type]);
4948
4948
  try {
4949
4949
  for (var g = function(b) {
4950
- var L = typeof Symbol == "function" && Symbol.iterator, E = L && b[L], R = 0;
4951
- if (E)
4952
- return E.call(b);
4950
+ var L = typeof Symbol == "function" && Symbol.iterator, I = L && b[L], R = 0;
4951
+ if (I)
4952
+ return I.call(b);
4953
4953
  if (b && typeof b.length == "number")
4954
4954
  return { next: function() {
4955
4955
  return b && R >= b.length && (b = void 0), { value: b && b[R++], done: !b };
@@ -4961,14 +4961,14 @@ function ml(t, e) {
4961
4961
  return vr(f, u);
4962
4962
  var P = typeof S == "string" ? { target: S } : S, D = P.target, M = P.actions, z = M === void 0 ? [] : M, B = P.cond, H = B === void 0 ? function() {
4963
4963
  return !0;
4964
- } : B, C = D === void 0, I = D ?? f, F = t.states[I];
4964
+ } : B, C = D === void 0, E = D ?? f, F = t.states[E];
4965
4965
  if (H(u, d)) {
4966
4966
  var tt = hr(br((C ? Te(z) : [].concat(m.exit, z, F.entry).filter(function(b) {
4967
4967
  return b;
4968
4968
  })).map(function(b) {
4969
4969
  return yr(b, a._options.actions);
4970
4970
  }), u, d), 3), k = tt[0], _ = tt[1], w = tt[2], x = D ?? f;
4971
- return { value: x, context: _, actions: k, changed: D !== f || k.length > 0 || w, matches: Ie(x) };
4971
+ return { value: x, context: _, actions: k, changed: D !== f || k.length > 0 || w, matches: Ee(x) };
4972
4972
  }
4973
4973
  }
4974
4974
  } catch (b) {
@@ -5013,7 +5013,7 @@ const hl = ml({
5013
5013
  const r = e === j ? "DIRECTION2" : "DIRECTION1";
5014
5014
  return hl.transition(t, r).value;
5015
5015
  };
5016
- function jc(t = {}) {
5016
+ function Gc(t = {}) {
5017
5017
  const { sortTarget: e = null, orders: r = [] } = t, n = $r({ sortTarget: e, orders: r });
5018
5018
  return {
5019
5019
  sort: n,
@@ -5030,7 +5030,7 @@ function jc(t = {}) {
5030
5030
  }
5031
5031
  };
5032
5032
  }
5033
- function Bc(t = !1, e = vt, r = vt) {
5033
+ function jc(t = !1, e = vt, r = vt) {
5034
5034
  const n = Un();
5035
5035
  ht(n, (o) => {
5036
5036
  if (y(t)) {
@@ -5040,7 +5040,7 @@ function Bc(t = !1, e = vt, r = vt) {
5040
5040
  }
5041
5041
  });
5042
5042
  }
5043
- const Fc = (t = []) => ({
5043
+ const Bc = (t = []) => ({
5044
5044
  result: [...t],
5045
5045
  filteredRowsLength: 0,
5046
5046
  isFiltered: !1,
@@ -5116,7 +5116,7 @@ const Fc = (t = []) => ({
5116
5116
  groupByDays() {
5117
5117
  return this.result = aa((e) => qt(e.gameDate, "YYYY-MM-DD"))(this.result), this;
5118
5118
  }
5119
- }), Vc = (t, ...e) => xt(Rr(...e))(t), Hc = (t) => {
5119
+ }), Fc = (t, ...e) => xt(Rr(...e))(t), Vc = (t) => {
5120
5120
  var e, r, n;
5121
5121
  return {
5122
5122
  ...t,
@@ -5126,32 +5126,32 @@ const Fc = (t = []) => ({
5126
5126
  name: (n = t.player) != null && n.nationality.includes("hu") ? `${t.player.lastName} ${t.player.firstName}` : `${t.player.lastName}, ${t.player.firstName}`
5127
5127
  }
5128
5128
  };
5129
- }, Yc = (t) => {
5129
+ }, Hc = (t) => {
5130
5130
  var e;
5131
5131
  return {
5132
5132
  ...t,
5133
5133
  ...((e = t == null ? void 0 : t.team) == null ? void 0 : e.id) && { teamName: t.team.longName }
5134
5134
  };
5135
- }, Uc = (t = "", e = "hu") => (r) => ({
5135
+ }, Yc = (t = "", e = "hu") => (r) => ({
5136
5136
  ...r,
5137
5137
  gameDateDate: qt(r.gameDate, "L dddd", t, e),
5138
5138
  gameDateTime: qt(r.gameDate, "HH:mm", t, e)
5139
- }), Wc = (t) => (e) => ({
5139
+ }), Uc = (t) => (e) => ({
5140
5140
  ...e,
5141
5141
  gameResult: wl(e)
5142
- }), Kc = (t) => ({
5142
+ }), Wc = (t) => ({
5143
5143
  ...t,
5144
5144
  opponent: bl(t)
5145
- }), qc = (t) => ({
5145
+ }), Kc = (t) => ({
5146
5146
  ...t,
5147
5147
  resultType: $l(t)
5148
- }), Zc = (t = []) => (e) => {
5148
+ }), qc = (t = []) => (e) => {
5149
5149
  var r;
5150
5150
  return {
5151
5151
  ...e,
5152
5152
  [t]: (r = e[t]) == null ? void 0 : r.toUpperCase()
5153
5153
  };
5154
- }, Xc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = yn(e[r]) : e), e), Jc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Min`] = Yi(e[r]) : e), e), Qc = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = Hi(e[r])), e), yl = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), tu = Br([yl, ke(Dt("id")), ke(Dt("gameId"))]), vl = (t) => (e, r) => e[t].localeCompare(r[t], "hu"), eu = Da(vl("name"));
5154
+ }, Zc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = yn(e[r]) : e), e), Xc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Min`] = Yi(e[r]) : e), e), Jc = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = Hi(e[r])), e), yl = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), Qc = Br([yl, ke(Dt("id")), ke(Dt("gameId"))]), vl = (t) => (e, r) => e[t].localeCompare(r[t], "hu"), tu = Da(vl("name"));
5155
5155
  function bl(t) {
5156
5156
  var e;
5157
5157
  return [t.isHomeGame ? null : "@", (e = t.opponent) == null ? void 0 : e.shortName].join(" ");
@@ -5164,16 +5164,16 @@ function $l(t) {
5164
5164
  const e = t.gameResult.split(":"), r = e[0] > e[1], n = e[0] < e[1];
5165
5165
  return r && t.isOvertime ? "OTW" : r && t.isShootout ? "SOW" : r ? "W" : n && t.isOvertime ? "OTL" : n && t.isShootout ? "SOL" : n ? "L" : "D";
5166
5166
  }
5167
- const ru = (t, e = {}) => {
5167
+ const eu = (t, e = {}) => {
5168
5168
  const r = Fe("gameResolver") || t;
5169
5169
  return typeof r == "function" ? r(e) : encodeURI(Bt(r || Va, e));
5170
- }, nu = (t, e = {}) => {
5170
+ }, ru = (t, e = {}) => {
5171
5171
  const r = Fe("teamResolver") || t;
5172
5172
  return typeof r == "function" ? r(e) : encodeURI(Bt(r || Ua, e));
5173
- }, ou = (t, e = {}) => {
5173
+ }, nu = (t, e = {}) => {
5174
5174
  const r = Fe("playerResolver") || t;
5175
5175
  return typeof r == "function" ? r(e) : encodeURI(Bt(r || Ya, e));
5176
- }, au = (t, e = "1x1") => `${Wa}/flag:${t}-${e}.svg`, Fe = (t = "") => {
5176
+ }, ou = (t, e = "1x1") => `${Wa}/flag:${t}-${e}.svg`, Fe = (t = "") => {
5177
5177
  var e;
5178
5178
  return (e = window == null ? void 0 : window.__MJSZ_VBR_WIDGET__) == null ? void 0 : e[t];
5179
5179
  }, _l = {
@@ -5229,15 +5229,15 @@ const Al = { render: Pl }, kl = {
5229
5229
  cx: "12",
5230
5230
  cy: "19",
5231
5231
  r: "1"
5232
- }, null, -1), Il = [
5232
+ }, null, -1), El = [
5233
5233
  Ml,
5234
5234
  Dl,
5235
5235
  Ll
5236
5236
  ];
5237
- function El(t, e) {
5238
- return T(), A("svg", kl, Il);
5237
+ function Il(t, e) {
5238
+ return T(), A("svg", kl, El);
5239
5239
  }
5240
- const Nl = { render: El }, zl = {
5240
+ const Nl = { render: Il }, zl = {
5241
5241
  xmlns: "http://www.w3.org/2000/svg",
5242
5242
  viewBox: "0 0 24 24",
5243
5243
  fill: "none",
@@ -5286,7 +5286,7 @@ const Wl = { render: Ul }, Kl = { class: "is-team-name-long" }, ql = { class: "i
5286
5286
  }, rc = {
5287
5287
  key: 2,
5288
5288
  class: "label"
5289
- }, nc = { key: 1 }, oc = ["onClick", "onFocus", "onBlur"], ac = { class: "is-dropdown-menu" }, sc = ["href", "target"], ic = { key: 0 }, lc = ["href"], su = {
5289
+ }, nc = { key: 1 }, oc = ["onClick", "onFocus", "onBlur"], ac = { class: "is-dropdown-menu" }, sc = ["href", "target"], ic = { key: 0 }, lc = ["href"], au = {
5290
5290
  __name: "ScheduleTable",
5291
5291
  props: {
5292
5292
  rows: {
@@ -5334,7 +5334,7 @@ const Wl = { render: Ul }, Kl = { class: "is-team-name-long" }, ql = { class: "i
5334
5334
  immediate: !0
5335
5335
  }
5336
5336
  );
5337
- const { t: s } = It();
5337
+ const { t: s } = Et();
5338
5338
  return (i, l) => (T(), A(dt, null, [
5339
5339
  nt(sn, null, {
5340
5340
  default: G(({ el: c }) => [
@@ -5446,7 +5446,7 @@ const Wl = { render: Ul }, Kl = { class: "is-team-name-long" }, ql = { class: "i
5446
5446
  }, null, 512)
5447
5447
  ], 64));
5448
5448
  }
5449
- }, cc = { class: "g-row g-gap-normal is-mb-5" }, uc = ["value"], dc = { key: 0 }, fc = ["onClick"], iu = {
5449
+ }, cc = { class: "g-row g-gap-normal is-mb-5" }, uc = ["value"], dc = { key: 0 }, fc = ["onClick"], su = {
5450
5450
  __name: "SeasonSelector",
5451
5451
  props: {
5452
5452
  seasons: {
@@ -5472,7 +5472,7 @@ const Wl = { render: Ul }, Kl = { class: "is-team-name-long" }, ql = { class: "i
5472
5472
  },
5473
5473
  emits: ["onChangeSeason", "onChangeSection"],
5474
5474
  setup(t, { emit: e }) {
5475
- const r = t, { t: n } = It(), o = Z({
5475
+ const r = t, { t: n } = Et(), o = Z({
5476
5476
  get() {
5477
5477
  return r.championshipId;
5478
5478
  },
@@ -5519,7 +5519,7 @@ const Wl = { render: Ul }, Kl = { class: "is-team-name-long" }, ql = { class: "i
5519
5519
  function mc(t, e) {
5520
5520
  return T(), A("div", null, " Test-8 ");
5521
5521
  }
5522
- const lu = /* @__PURE__ */ on(pc, [["render", mc]]), cu = {
5522
+ const iu = /* @__PURE__ */ on(pc, [["render", mc]]), lu = {
5523
5523
  locale: {
5524
5524
  type: String,
5525
5525
  default: "hu"
@@ -5532,6 +5532,10 @@ const lu = /* @__PURE__ */ on(pc, [["render", mc]]), cu = {
5532
5532
  type: String,
5533
5533
  default: ""
5534
5534
  },
5535
+ phaseId: {
5536
+ type: String,
5537
+ default: ""
5538
+ },
5535
5539
  apiKey: {
5536
5540
  type: String,
5537
5541
  default: ""
@@ -5540,8 +5544,8 @@ const lu = /* @__PURE__ */ on(pc, [["render", mc]]), cu = {
5540
5544
  type: String,
5541
5545
  default: ""
5542
5546
  }
5543
- }, hc = {
5544
- externalTeamLink: {
5547
+ }, cu = {
5548
+ externalTeamResolver: {
5545
5549
  type: [String, Function],
5546
5550
  default: ""
5547
5551
  },
@@ -5558,16 +5562,24 @@ const lu = /* @__PURE__ */ on(pc, [["render", mc]]), cu = {
5558
5562
  type: String,
5559
5563
  default: ""
5560
5564
  },
5561
- externalPlayerLink: {
5565
+ externalPlayerResolver: {
5562
5566
  type: [String, Function],
5563
5567
  default: ""
5564
5568
  },
5565
5569
  isPlayerLinked: {
5566
5570
  type: Boolean,
5567
5571
  default: !1
5572
+ }
5573
+ }, du = {
5574
+ externalGameResolver: {
5575
+ type: [String, Function],
5576
+ default: ""
5568
5577
  },
5569
- ...hc
5570
- }, du = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: o }) => {
5578
+ isGameTargetExternal: {
5579
+ type: Boolean,
5580
+ default: !1
5581
+ }
5582
+ }, fu = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: o }) => {
5571
5583
  if (window.__MJSZ_VBR_WIDGET__ = { apiKey: e, gameResolver: r, teamResolver: n, playerResolver: o }, t.length === 0)
5572
5584
  throw new Error("At least one module must be set");
5573
5585
  t.forEach((a) => {
@@ -5579,93 +5591,94 @@ const lu = /* @__PURE__ */ on(pc, [["render", mc]]), cu = {
5579
5591
  export {
5580
5592
  qa as AVAILABLE_TIMEZONES_BY_COUNTRY,
5581
5593
  Mn as BaseSelect,
5582
- Mc as COLUMNS_FIELD_PLAYERS,
5583
- Dc as COLUMNS_FIELD_PLAYERS_PENALTY,
5584
- Lc as COLUMNS_GOALIES,
5594
+ kc as COLUMNS_FIELD_PLAYERS,
5595
+ Mc as COLUMNS_FIELD_PLAYERS_PENALTY,
5596
+ Dc as COLUMNS_GOALIES,
5585
5597
  ll as COLUMNS_SCHEDULE,
5586
- Cc as COLUMNS_SCORING_EFFICIENCY,
5587
- kc as COLUMNS_STANDINGS_P_2,
5588
- Ac as COLUMNS_STANDINGS_P_3,
5598
+ zc as COLUMNS_SCORING_EFFICIENCY,
5599
+ Ac as COLUMNS_STANDINGS_P_2,
5600
+ Pc as COLUMNS_STANDINGS_P_3,
5589
5601
  Ec as COLUMNS_TEAMS_FAIRPLAY,
5590
- Nc as COLUMNS_TEAMS_PENALTY_KILLING,
5591
- zc as COLUMNS_TEAMS_POWERPLAY,
5592
- Ic as COLUMNS_TEAM_ATTENDANCE,
5602
+ Ic as COLUMNS_TEAMS_PENALTY_KILLING,
5603
+ Nc as COLUMNS_TEAMS_POWERPLAY,
5604
+ Lc as COLUMNS_TEAM_ATTENDANCE,
5593
5605
  Va as DEFAULT_EXTERNAL_GAME_URL,
5594
5606
  Ya as DEFAULT_EXTERNAL_PLAYER_URL,
5595
5607
  Ua as DEFAULT_EXTERNAL_TEAM_URL,
5596
5608
  Ha as DEFAULT_PORTRAIT_IMAGE_URL,
5597
5609
  en as DataTable,
5598
- vc as ErrorNotice,
5599
- bc as ErrorProvider,
5610
+ yc as ErrorNotice,
5611
+ vc as ErrorProvider,
5600
5612
  Wa as FLAG_BASE_URL,
5601
5613
  tn as FloatingPanel,
5602
- wc as I18NProvider,
5614
+ bc as I18NProvider,
5603
5615
  Nt as Image,
5604
- Oc as InvalidSeasonName,
5616
+ xc as InvalidSeasonName,
5605
5617
  Za as LAZY_LOADING_STATE_DELAY,
5606
5618
  Ka as LOCALE_FOR_LANG,
5607
5619
  an as LoadingIndicator,
5608
- $c as Paginator,
5609
- yc as REFRESH_DELAY,
5620
+ wc as Paginator,
5621
+ gc as REFRESH_DELAY,
5610
5622
  sn as ResponsiveTable,
5611
5623
  j as SORT_STATE_ASCEND,
5612
5624
  v as SORT_STATE_DESCEND,
5613
5625
  _t as SORT_STATE_ORIGINAL,
5614
- su as ScheduleTable,
5615
- iu as SeasonSelector,
5616
- Pc as StatisticsTable,
5617
- lu as Test,
5618
- xc as TimezoneSelector,
5626
+ au as ScheduleTable,
5627
+ su as SeasonSelector,
5628
+ Oc as StatisticsTable,
5629
+ iu as Test,
5630
+ Tc as TimezoneSelector,
5619
5631
  fe as UndefinedColumn,
5620
5632
  Fa as VBR_API_BASE_URL,
5621
5633
  bn as WidgetError,
5622
5634
  Ps as appendTo,
5623
- cu as baseProps,
5624
- Fc as convert,
5635
+ lu as baseProps,
5636
+ Bc as convert,
5625
5637
  Yi as convertMinToMinSec,
5626
5638
  yn as convertMinToSec,
5627
5639
  Hi as convertSecToMin,
5628
- Xc as convertTimes,
5629
- Jc as convertTimesMinToMinSec,
5630
- Qc as convertTimesSecToMin,
5631
- du as createConfig,
5640
+ Zc as convertTimes,
5641
+ Xc as convertTimesMinToMinSec,
5642
+ Jc as convertTimesSecToMin,
5643
+ fu as createConfig,
5632
5644
  Ra as createI18n,
5633
- ru as externalGameLinkResolver,
5634
- ou as externalPlayerLinkResolver,
5635
- nu as externalTeamLinkResolver,
5645
+ eu as externalGameLinkResolver,
5646
+ nu as externalPlayerLinkResolver,
5647
+ ru as externalTeamLinkResolver,
5636
5648
  cl as fetchVBRData,
5637
- au as flagResolver,
5649
+ ou as flagResolver,
5638
5650
  qt as format,
5639
- Uc as gameDateTime,
5640
- Wc as gameResult,
5651
+ Yc as gameDateTime,
5652
+ du as gameProps,
5653
+ Uc as gameResult,
5641
5654
  Fi as getLocalTimezone,
5642
5655
  Ba as i18n,
5643
- _c as isBetween,
5644
- Sc as isSame,
5656
+ $c as isBetween,
5657
+ _c as isSame,
5645
5658
  Ui as isSameOrBefore,
5646
- eu as localeSort,
5659
+ tu as localeSort,
5647
5660
  re as offsetName,
5648
- Hc as playerName,
5661
+ Vc as playerName,
5649
5662
  uu as playerStatsProps,
5650
- Vc as rawConvert,
5651
- tu as sortGames,
5652
- Yc as teamName,
5653
- Kc as teamOpponent,
5654
- qc as teamResultType,
5655
- hc as teamStatsProps,
5663
+ Fc as rawConvert,
5664
+ Qc as sortGames,
5665
+ Hc as teamName,
5666
+ Wc as teamOpponent,
5667
+ Kc as teamResultType,
5668
+ cu as teamStatsProps,
5656
5669
  Bt as templateReplacer,
5657
5670
  Vs as toKebabCase,
5658
- Zc as upperCase,
5671
+ qc as upperCase,
5659
5672
  vn as useColumns,
5660
5673
  nn as useError,
5661
5674
  Hs as useErrorProvider,
5662
- It as useI18n,
5675
+ Et as useI18n,
5663
5676
  Qn as useLazyLoadingState,
5664
5677
  Tt as useMainClass,
5665
- Rc as usePage,
5666
- Gc as useServices,
5667
- jc as useSort,
5668
- Bc as useVisibilityChange,
5678
+ Cc as usePage,
5679
+ Rc as useServices,
5680
+ Gc as useSort,
5681
+ jc as useVisibilityChange,
5669
5682
  Ki as validateColumnsName,
5670
- Tc as yearToNow
5683
+ Sc as yearToNow
5671
5684
  };