@mjsz-vbr-elements/core 2.1.0-beta.41 → 2.1.0-beta.43

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,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.1.0-beta.41 - 01/11/2023, 15:53:03
3
+ * version: v2.1.0-beta.43 - 03/11/2023, 23:21:00
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1294,7 +1294,7 @@ const Sa = function(t, e) {
1294
1294
  });
1295
1295
  return () => Sn(t.tag, o);
1296
1296
  }
1297
- }), Ta = "https://api.icehockey.hu/vbr", Pa = "https://www.jegkorongszovetseg.hu/event/game/", Oa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Aa = "https://www.ersteliga.hu/stats/players#/player/", ka = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", wt = "original", y = "descend", j = "ascend", Ma = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Da = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Ul = 1e3 * 60 * 5, La = 1e3, Ea = {
1297
+ }), Ta = "https://api.icehockey.hu/vbr", Pa = "https://www.jegkorongszovetseg.hu/event/game/", Oa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Aa = "https://www.ersteliga.hu/stats/player/", ka = "https://www.ersteliga.hu/stats/team/", wt = "original", y = "descend", j = "ascend", Ma = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Da = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Wl = 1e3 * 60 * 5, La = 1e3, Ea = {
1298
1298
  "aria-hidden": "true",
1299
1299
  focusable: "false",
1300
1300
  "data-prefix": "fas",
@@ -2085,7 +2085,7 @@ const ds = (t) => {
2085
2085
  function Ss(t, e) {
2086
2086
  return S(), O("svg", vs, _s);
2087
2087
  }
2088
- const xs = { render: Ss }, Wl = {
2088
+ const xs = { render: Ss }, Kl = {
2089
2089
  __name: "ErrorNotice",
2090
2090
  props: {
2091
2091
  error: {
@@ -2118,7 +2118,7 @@ function dr(t, e, r) {
2118
2118
  }
2119
2119
  const tn = Symbol("ErrorProviderContext"), Ps = () => {
2120
2120
  const t = H(""), e = H({}), r = (o) => {
2121
- console.log({ error: o }), t.value = o.message || o.error.message, e.value = {
2121
+ console.error({ error: o }), t.value = o.message || o.error.message, e.value = {
2122
2122
  message: o.message,
2123
2123
  key: o.key || Ts(o.message),
2124
2124
  cause: o.cause
@@ -2130,9 +2130,9 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2130
2130
  t.value = "", e.value = {};
2131
2131
  }
2132
2132
  }), window.onerror = (o) => {
2133
- console.log("WINDOW_ONERROR:", o);
2133
+ console.error("WINDOW_ONERROR:", o);
2134
2134
  }, Tn((o, s, i) => {
2135
- console.log("onErrorCaptured:", o, s, i);
2135
+ console.error("onErrorCaptured:", o, s, i);
2136
2136
  }), {
2137
2137
  hasError: q(() => t.value.length > 0),
2138
2138
  message: t,
@@ -2150,7 +2150,7 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2150
2150
  if (t === null)
2151
2151
  throw new Error("Privider is missing a parent component.");
2152
2152
  return t;
2153
- }, Kl = {
2153
+ }, ql = {
2154
2154
  __name: "ErrorProvider",
2155
2155
  setup(t) {
2156
2156
  const { message: e, hasError: r, error: n } = Ps();
@@ -2182,7 +2182,7 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2182
2182
  tooltip: "Csapatnév"
2183
2183
  },
2184
2184
  game: {
2185
- short: "M",
2185
+ short: "GP",
2186
2186
  tooltip: "Mérkőzésszám"
2187
2187
  },
2188
2188
  wins: {
@@ -2310,11 +2310,11 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2310
2310
  tooltip: "Mérkőzésenkénti Büntetés Percek"
2311
2311
  },
2312
2312
  gpgk: {
2313
- short: "M",
2313
+ short: "GP",
2314
2314
  tooltip: "Mérkőzésre Nevezve"
2315
2315
  },
2316
2316
  gpi: {
2317
- short: "LM",
2317
+ short: "GPI",
2318
2318
  tooltip: "Mérkőzésen Játszott"
2319
2319
  },
2320
2320
  toi: {
@@ -2946,7 +2946,7 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2946
2946
  function Rs(t, e, r, n, a, o) {
2947
2947
  return it(t.$slots, "default", { t: t.translate });
2948
2948
  }
2949
- const ql = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src", "title"], It = /* @__PURE__ */ Object.assign({
2949
+ const Zl = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src", "title"], It = /* @__PURE__ */ Object.assign({
2950
2950
  inheritAttrs: !1
2951
2951
  }, {
2952
2952
  __name: "Image",
@@ -3042,7 +3042,7 @@ const Qs = { render: Js }, ti = ["disabled"], ei = ["disabled"], ri = {
3042
3042
  class: "is-disabled"
3043
3043
  }, ai = /* @__PURE__ */ P("span", null, "...", -1), si = [
3044
3044
  ai
3045
- ], ii = ["disabled"], li = ["disabled"], Zl = {
3045
+ ], ii = ["disabled"], li = ["disabled"], Xl = {
3046
3046
  __name: "Paginator",
3047
3047
  props: {
3048
3048
  page: {
@@ -3663,7 +3663,10 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
3663
3663
  }, xi = (t) => {
3664
3664
  const e = ~~(t / 60), r = ~~t % 60;
3665
3665
  return dr(e, "0", 2) + ":" + dr(r, "0", 2);
3666
- }, Ti = (t, e = "day") => et().isSameOrBefore(et(t), e), Xl = (t, e, r) => et(t).isBetween(e, et(r)), Jl = (t, e, r = "month") => et(t).isSame(e, r), Pi = ["onClick"], Ql = {
3666
+ }, Ti = (t) => {
3667
+ const e = Math.trunc(t), r = Math.round((t - e) / 10 * 60 * 10);
3668
+ return [e.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
3669
+ }, Pi = (t, e = "day") => et().isSameOrBefore(et(t), e), Jl = (t, e, r) => et(t).isBetween(e, et(r)), Ql = (t, e, r = "month") => et(t).isSame(e, r), Oi = ["onClick"], tc = {
3667
3670
  __name: "TimezoneSelector",
3668
3671
  props: {
3669
3672
  locale: {
@@ -3702,14 +3705,14 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
3702
3705
  href: "#",
3703
3706
  class: J({ "is-active": f.isActive }),
3704
3707
  onClick: Nt((u) => l(f.timezone), ["prevent"])
3705
- }, z(v(n)(`common.${f.countryLabelKey}`)) + " (" + z(f.zoneOffsetName) + ") ", 11, Pi))), 128))
3708
+ }, z(v(n)(`common.${f.countryLabelKey}`)) + " (" + z(f.zoneOffsetName) + ") ", 11, Oi))), 128))
3706
3709
  ], 2));
3707
3710
  }
3708
3711
  }, hn = (t, e = "", r = {}) => {
3709
3712
  const n = H(""), { t: a } = Dt(), o = q(() => {
3710
3713
  if (v(e))
3711
3714
  try {
3712
- const l = Oi(v(t), v(e));
3715
+ const l = Ai(v(t), v(e));
3713
3716
  return da(l, v(t));
3714
3717
  } catch (l) {
3715
3718
  n.value = l;
@@ -3724,7 +3727,7 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
3724
3727
  columns: q(() => kt(s, o.value)),
3725
3728
  error: n
3726
3729
  };
3727
- }, Oi = (t, e = "") => {
3730
+ }, Ai = (t, e = "") => {
3728
3731
  const r = kt(ne, Wt(",", e)), n = At(t);
3729
3732
  if (r[0] === "")
3730
3733
  return resolve([]);
@@ -3745,16 +3748,16 @@ const ie = {
3745
3748
  key: "undefined-column",
3746
3749
  cause: {}
3747
3750
  }
3748
- }, tc = {
3751
+ }, ec = {
3749
3752
  message: "Invalid season name",
3750
3753
  options: {
3751
3754
  key: "invalid-season-name",
3752
3755
  cause: {}
3753
3756
  }
3754
- }, Ai = { class: "is-portrait-image" }, ki = { class: "is-team-name-long" }, Mi = { class: "is-team-name-short" }, Di = { class: "is-team-name-long" }, Li = { class: "is-team-name-short" }, Ei = { class: "is-team-name-long" }, Ii = { class: "is-team-name-short" }, zi = ["href"], Ni = { class: "is-team-name-long" }, Ci = { class: "is-team-name-short" }, Gi = ["href"], Ri = {
3757
+ }, ki = { class: "is-portrait-image" }, Mi = { class: "is-team-name-long" }, Di = { class: "is-team-name-short" }, Li = { class: "is-team-name-long" }, Ei = { class: "is-team-name-short" }, Ii = { class: "is-team-name-long" }, zi = { class: "is-team-name-short" }, Ni = ["href"], Ci = { class: "is-team-name-long" }, Gi = { class: "is-team-name-short" }, Ri = ["href"], ji = {
3755
3758
  key: 0,
3756
3759
  class: "is-text-dark"
3757
- }, ji = ["href", "target"], ec = {
3760
+ }, Fi = ["href", "target"], rc = {
3758
3761
  __name: "StatisticsTable",
3759
3762
  props: {
3760
3763
  columns: {
@@ -3804,7 +3807,7 @@ const ie = {
3804
3807
  default: !1
3805
3808
  },
3806
3809
  appendTo: {
3807
- type: HTMLElement,
3810
+ type: [Object, String],
3808
3811
  default: null
3809
3812
  },
3810
3813
  offsetName: {
@@ -3844,10 +3847,10 @@ const ie = {
3844
3847
  }, z(u.index), 3)
3845
3848
  ]),
3846
3849
  "cell-playerPortrait": G(({ row: u }) => [
3847
- P("div", Ai, [
3850
+ P("div", ki, [
3848
3851
  (S(), at(It, {
3849
- key: u.id || u.playerId,
3850
- src: u.playerPortrait,
3852
+ key: u.player.playerId,
3853
+ src: u.player.picture,
3851
3854
  "default-src": v(Oa)
3852
3855
  }, null, 8, ["src", "default-src"]))
3853
3856
  ])
@@ -3885,22 +3888,22 @@ const ie = {
3885
3888
  "cell-teamName": G(({ row: u }) => {
3886
3889
  var d, m;
3887
3890
  return [
3888
- P("span", ki, z((d = u.team) == null ? void 0 : d.longName), 1),
3889
- P("span", Mi, z((m = u.team) == null ? void 0 : m.shortName), 1)
3891
+ P("span", Mi, z((d = u.team) == null ? void 0 : d.longName), 1),
3892
+ P("span", Di, z((m = u.team) == null ? void 0 : m.shortName), 1)
3890
3893
  ];
3891
3894
  }),
3892
3895
  "cell-homeTeamName": G(({ row: u }) => {
3893
3896
  var d, m;
3894
3897
  return [
3895
- P("span", Di, z((d = u.homeTeam) == null ? void 0 : d.longName), 1),
3896
- P("span", Li, z((m = u.homeTeam) == null ? void 0 : m.shortName), 1)
3898
+ P("span", Li, z((d = u.homeTeam) == null ? void 0 : d.longName), 1),
3899
+ P("span", Ei, z((m = u.homeTeam) == null ? void 0 : m.shortName), 1)
3897
3900
  ];
3898
3901
  }),
3899
3902
  "cell-awayTeamName": G(({ row: u }) => {
3900
3903
  var d, m;
3901
3904
  return [
3902
- P("span", Ei, z((d = u.awayTeam) == null ? void 0 : d.longName), 1),
3903
- P("span", Ii, z((m = u.awayTeam) == null ? void 0 : m.shortName), 1)
3905
+ P("span", Ii, z((d = u.awayTeam) == null ? void 0 : d.longName), 1),
3906
+ P("span", zi, z((m = u.awayTeam) == null ? void 0 : m.shortName), 1)
3904
3907
  ];
3905
3908
  }),
3906
3909
  "cell-location": G(({ row: u }) => {
@@ -3910,12 +3913,12 @@ const ie = {
3910
3913
  ];
3911
3914
  }),
3912
3915
  "cell-gameResult": G(({ row: u }) => [
3913
- u.gameStatus === 0 ? (S(), O("span", Ri, "-:-")) : (S(), O("a", {
3916
+ u.gameStatus === 0 ? (S(), O("span", ji, "-:-")) : (S(), O("a", {
3914
3917
  key: 1,
3915
3918
  href: t.externalGameResolver(u.gameId),
3916
3919
  target: t.externalGameResolverTarget,
3917
3920
  class: J({ "is-text-dark": u.gameStatus !== 1, "is-text-accent": u.gameStatus === 1 })
3918
- }, z(u.homeTeamScore) + ":" + z(u.awayTeamScore), 11, ji))
3921
+ }, z(u.homeTeamScore) + ":" + z(u.awayTeamScore), 11, Fi))
3919
3922
  ]),
3920
3923
  loading: G(() => [
3921
3924
  nt(nn)
@@ -3931,9 +3934,9 @@ const ie = {
3931
3934
  href: t.externalTeamResolver((d = u.team) == null ? void 0 : d.longName),
3932
3935
  target: "_blank"
3933
3936
  }, [
3934
- P("span", Ni, z((m = u.team) == null ? void 0 : m.longName), 1),
3935
- P("span", Ci, z((h = u.team) == null ? void 0 : h.shortName), 1)
3936
- ], 8, zi)
3937
+ P("span", Ci, z((m = u.team) == null ? void 0 : m.longName), 1),
3938
+ P("span", Gi, z((h = u.team) == null ? void 0 : h.shortName), 1)
3939
+ ], 8, Ni)
3937
3940
  ];
3938
3941
  }),
3939
3942
  key: "0"
@@ -3944,7 +3947,7 @@ const ie = {
3944
3947
  P("a", {
3945
3948
  href: t.externalPlayerResolver(u.id),
3946
3949
  target: "_blank"
3947
- }, z(u.name), 9, Gi)
3950
+ }, z(u.name), 9, Ri)
3948
3951
  ]),
3949
3952
  key: "1"
3950
3953
  } : void 0
@@ -3953,7 +3956,7 @@ const ie = {
3953
3956
  _: 1
3954
3957
  }));
3955
3958
  }
3956
- }, Fi = {
3959
+ }, Bi = {
3957
3960
  gameName: {
3958
3961
  label: "table.gameName.short",
3959
3962
  tooltip: "table.gameName.tooltip",
@@ -4007,7 +4010,7 @@ const ie = {
4007
4010
  more: {
4008
4011
  label: ""
4009
4012
  }
4010
- }, rc = {
4013
+ }, nc = {
4011
4014
  index: {
4012
4015
  label: "table.blank",
4013
4016
  class: "is-text-left"
@@ -4087,7 +4090,7 @@ const ie = {
4087
4090
  { target: "gf", direction: y }
4088
4091
  ]
4089
4092
  }
4090
- }, nc = {
4093
+ }, oc = {
4091
4094
  index: {
4092
4095
  label: "#",
4093
4096
  class: "is-text-left"
@@ -4149,7 +4152,7 @@ const ie = {
4149
4152
  class: "is-text-bold",
4150
4153
  sortOrders: [{ target: "points", direction: y }]
4151
4154
  }
4152
- }, oc = {
4155
+ }, ac = {
4153
4156
  index: {
4154
4157
  label: "#",
4155
4158
  class: "is-text-left"
@@ -4215,7 +4218,7 @@ const ie = {
4215
4218
  tooltip: "table.sogPercent.tooltip",
4216
4219
  sortOrders: [{ target: "shootPercent", direction: y }]
4217
4220
  }
4218
- }, ac = {
4221
+ }, sc = {
4219
4222
  index: {
4220
4223
  label: "table.blank",
4221
4224
  class: "is-text-left"
@@ -4290,7 +4293,7 @@ const ie = {
4290
4293
  tooltip: "table.pim.tooltip",
4291
4294
  sortOrders: [{ target: "pim", direction: y }]
4292
4295
  }
4293
- }, sc = {
4296
+ }, ic = {
4294
4297
  index: {
4295
4298
  label: "table.blank",
4296
4299
  class: "is-text-left"
@@ -4325,10 +4328,10 @@ const ie = {
4325
4328
  tooltip: "table.gpi.tooltip",
4326
4329
  sortOrders: [{ target: "gpi", direction: y }]
4327
4330
  },
4328
- mip: {
4331
+ mipMin: {
4329
4332
  label: "table.toi.short",
4330
4333
  tooltip: "table.toi.tooltip",
4331
- sortOrders: [{ target: "mipSec", direction: y }]
4334
+ sortOrders: [{ target: "mip", direction: y }]
4332
4335
  },
4333
4336
  mipPercent: {
4334
4337
  label: "table.toiPercent.short",
@@ -4345,10 +4348,10 @@ const ie = {
4345
4348
  tooltip: "table.gaa.tooltip",
4346
4349
  sortOrders: [{ target: "gaa", direction: y }]
4347
4350
  },
4348
- sa: {
4351
+ sog: {
4349
4352
  label: "table.sa.short",
4350
4353
  tooltip: "table.sa.tooltip",
4351
- sortOrders: [{ target: "sa", direction: y }]
4354
+ sortOrders: [{ target: "sog", direction: y }]
4352
4355
  },
4353
4356
  svs: {
4354
4357
  label: "table.svs.short",
@@ -4360,7 +4363,7 @@ const ie = {
4360
4363
  tooltip: "table.svsPercent.tooltip",
4361
4364
  sortOrders: [{ target: "svsPercent", direction: y }]
4362
4365
  }
4363
- }, ic = {
4366
+ }, lc = {
4364
4367
  index: {
4365
4368
  label: "table.blank",
4366
4369
  class: "is-text-left"
@@ -4429,7 +4432,7 @@ const ie = {
4429
4432
  tooltip: "table.totalAttendanceAvg.tooltip",
4430
4433
  sortOrders: [{ target: "totalAttendanceAvg", direction: y }]
4431
4434
  }
4432
- }, lc = {
4435
+ }, cc = {
4433
4436
  index: {
4434
4437
  label: "table.blank",
4435
4438
  class: "is-text-left"
@@ -4499,7 +4502,7 @@ const ie = {
4499
4502
  tooltip: "table.pim.tooltip",
4500
4503
  sortOrders: [{ target: "pim", direction: y }]
4501
4504
  }
4502
- }, cc = {
4505
+ }, uc = {
4503
4506
  index: {
4504
4507
  label: "table.blank",
4505
4508
  class: "is-text-left"
@@ -4524,17 +4527,17 @@ const ie = {
4524
4527
  tooltip: "table.powerplayDisadvantages.tooltip",
4525
4528
  sortOrders: [{ target: "dvg", direction: y }]
4526
4529
  },
4527
- dvgTime: {
4530
+ dvgTimeMin: {
4528
4531
  label: "table.dvgTime.short",
4529
4532
  tooltip: "table.dvgTime.tooltip",
4530
- sortOrders: [{ target: "dvgTimeSec", direction: y }]
4533
+ sortOrders: [{ target: "dvgTime", direction: y }]
4531
4534
  },
4532
- dvgTimePP1: {
4535
+ dvgTimePP1Min: {
4533
4536
  label: "table.dvgTimePP1.short",
4534
4537
  tooltip: "table.dvgTimePP1.tooltip",
4535
- sortOrders: [{ target: "dvgTimePP1Sec", direction: y }]
4538
+ sortOrders: [{ target: "dvgTimePP1", direction: y }]
4536
4539
  },
4537
- dvgTimePP2: {
4540
+ dvgTimePP2Min: {
4538
4541
  label: "table.dvgTimePP2.short",
4539
4542
  tooltip: "table.dvgTimePP2.tooltip",
4540
4543
  sortOrders: [{ target: "dvgTimePP2", direction: y }]
@@ -4554,7 +4557,7 @@ const ie = {
4554
4557
  tooltip: "table.pkPercent.tooltip",
4555
4558
  sortOrders: [{ target: "pkPercent", direction: y }]
4556
4559
  }
4557
- }, uc = {
4560
+ }, dc = {
4558
4561
  index: {
4559
4562
  label: "table.blank",
4560
4563
  class: "is-text-left"
@@ -4579,20 +4582,20 @@ const ie = {
4579
4582
  tooltip: "table.adv.tooltip",
4580
4583
  sortOrders: [{ target: "adv", direction: y }]
4581
4584
  },
4582
- advTime: {
4585
+ advTimeMin: {
4583
4586
  label: "table.advTime.short",
4584
4587
  tooltip: "table.advTime.tooltip",
4585
- sortOrders: [{ target: "advTimeSec", direction: y }]
4588
+ sortOrders: [{ target: "advTime", direction: y }]
4586
4589
  },
4587
- advTimePP1: {
4590
+ advTimePP1Min: {
4588
4591
  label: "table.advTimePP1.short",
4589
4592
  tooltip: "table.advTimePP1.tooltip",
4590
- sortOrders: [{ target: "advTimePP1Sec", direction: y }]
4593
+ sortOrders: [{ target: "advTimePP1", direction: y }]
4591
4594
  },
4592
- advTimePP2: {
4595
+ advTimePP2Min: {
4593
4596
  label: "table.advTimePP2.short",
4594
4597
  tooltip: "table.advTimePP2.tooltip",
4595
- sortOrders: [{ target: "advTimePP2Sec", direction: y }]
4598
+ sortOrders: [{ target: "advTimePP2", direction: y }]
4596
4599
  },
4597
4600
  ppgf: {
4598
4601
  label: "table.ppgf.short",
@@ -4609,7 +4612,7 @@ const ie = {
4609
4612
  tooltip: "table.ppPercent.tooltip",
4610
4613
  sortOrders: [{ target: "ppPercent", direction: y }]
4611
4614
  }
4612
- }, dc = {
4615
+ }, fc = {
4613
4616
  index: {
4614
4617
  label: "table.blank",
4615
4618
  class: "is-text-left"
@@ -4679,15 +4682,15 @@ const ie = {
4679
4682
  tooltip: "table.sogPercent.tooltip",
4680
4683
  sortOrders: [{ target: "GFShots", direction: y }]
4681
4684
  }
4682
- }, Bi = async (t, e, r) => {
4683
- const n = `${Ta}${v(t)}?${Vi(r)}`;
4685
+ }, Vi = async (t, e, r) => {
4686
+ const n = `${Ta}${v(t)}?${Hi(r)}`;
4684
4687
  return new Promise((a, o) => {
4685
4688
  fetch(n, {
4686
4689
  method: "GET",
4687
4690
  cache: "no-cache",
4688
4691
  headers: {
4689
4692
  "Content-Type": "application/json",
4690
- "X-API-KEY": Hi(e)
4693
+ "X-API-KEY": Yi(e)
4691
4694
  }
4692
4695
  }).then((s) => s.json()).then((s) => {
4693
4696
  if (s.error)
@@ -4697,11 +4700,11 @@ const ie = {
4697
4700
  o(s);
4698
4701
  });
4699
4702
  });
4700
- }, Vi = (t) => Object.keys(t).map((e) => e + "=" + t[e]).join("&"), Hi = (t) => {
4703
+ }, Hi = (t) => Object.keys(t).map((e) => e + "=" + t[e]).join("&"), Yi = (t) => {
4701
4704
  var e;
4702
4705
  return t || ((e = window.__MJSZ_VBR_WIDGET__) != null && e.apiKey ? window.__MJSZ_VBR_WIDGET__.apiKey : {}.NODE_ENV !== "production" ? "dd8adf5fdb738b3741fa579b5ede5ce69b681f62" : "");
4703
- }, fc = (t = {}) => {
4704
- const { initial: e = 1, items: r = [], limit: n, auto: a = !1 } = t, o = H(e), s = (c) => Ti(c, "day");
4706
+ }, pc = (t = {}) => {
4707
+ const { initial: e = 1, items: r = [], limit: n, auto: a = !1 } = t, o = H(e), s = (c) => Pi(c, "day");
4705
4708
  return Ln(r, () => {
4706
4709
  if (!a)
4707
4710
  return;
@@ -4713,13 +4716,13 @@ const ie = {
4713
4716
  o.value = c;
4714
4717
  }
4715
4718
  };
4716
- }, pc = ({ options: t = {}, transform: e = (a) => a, onError: r = yt, onSuccess: n = yt }) => {
4719
+ }, mc = ({ options: t = {}, transform: e = (a) => a, onError: r = yt, onSuccess: n = yt }) => {
4717
4720
  const { path: a, apiKey: o, params: s, resetOnExecute: i = !1, immediate: l = !1 } = t, {
4718
4721
  state: c,
4719
4722
  error: p,
4720
4723
  isLoading: f,
4721
4724
  execute: u
4722
- } = xr(() => Bi(a, o, v(s)).then((d) => e(d)), [], {
4725
+ } = xr(() => Vi(a, o, v(s)).then((d) => e(d)), [], {
4723
4726
  immediate: l,
4724
4727
  resetOnExecute: i,
4725
4728
  onError: r,
@@ -4770,7 +4773,7 @@ var pr;
4770
4773
  (function(t) {
4771
4774
  t[t.NotStarted = 0] = "NotStarted", t[t.Running = 1] = "Running", t[t.Stopped = 2] = "Stopped";
4772
4775
  })(pr || (pr = {}));
4773
- var Yi = { type: "xstate.init" };
4776
+ var Ui = { type: "xstate.init" };
4774
4777
  function $e(t) {
4775
4778
  return t === void 0 ? [] : [].concat(t);
4776
4779
  }
@@ -4782,7 +4785,7 @@ function De(t) {
4782
4785
  return t === e;
4783
4786
  };
4784
4787
  }
4785
- function Ui(t) {
4788
+ function Wi(t) {
4786
4789
  return typeof t == "string" ? { type: t } : t;
4787
4790
  }
4788
4791
  function hr(t, e) {
@@ -4801,12 +4804,12 @@ function gr(t, e, r) {
4801
4804
  return !0;
4802
4805
  }), n, a];
4803
4806
  }
4804
- function Wi(t, e) {
4807
+ function Ki(t, e) {
4805
4808
  e === void 0 && (e = {});
4806
4809
  var r = fr(gr($e(t.states[t.initial].entry).map(function(s) {
4807
4810
  return mr(s, e.actions);
4808
- }), t.context, Yi), 2), n = r[0], a = r[1], o = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: a, matches: De(t.initial) }, transition: function(s, i) {
4809
- var l, c, p = typeof s == "string" ? { value: s, context: t.context } : s, f = p.value, u = p.context, d = Ui(i), m = t.states[f];
4811
+ }), t.context, Ui), 2), n = r[0], a = r[1], o = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: a, matches: De(t.initial) }, transition: function(s, i) {
4812
+ var l, c, p = typeof s == "string" ? { value: s, context: t.context } : s, f = p.value, u = p.context, d = Wi(i), m = t.states[f];
4810
4813
  if (m.on) {
4811
4814
  var h = $e(m.on[d.type]);
4812
4815
  try {
@@ -4850,7 +4853,7 @@ function Wi(t, e) {
4850
4853
  } };
4851
4854
  return o;
4852
4855
  }
4853
- const Ki = Wi({
4856
+ const qi = Ki({
4854
4857
  id: "sort",
4855
4858
  initial: wt,
4856
4859
  states: {
@@ -4873,11 +4876,11 @@ const Ki = Wi({
4873
4876
  }
4874
4877
  }
4875
4878
  }
4876
- }), qi = (t, e) => {
4879
+ }), Zi = (t, e) => {
4877
4880
  const r = e === j ? "DIRECTION2" : "DIRECTION1";
4878
- return Ki.transition(t, r).value;
4881
+ return qi.transition(t, r).value;
4879
4882
  };
4880
- function mc(t = {}) {
4883
+ function hc(t = {}) {
4881
4884
  const { sortTarget: e = null, orders: r = [] } = t, n = vr({ sortTarget: e, orders: r });
4882
4885
  return {
4883
4886
  sort: n,
@@ -4888,13 +4891,13 @@ function mc(t = {}) {
4888
4891
  }
4889
4892
  const i = s.map((l, c) => ({
4890
4893
  ...l,
4891
- direction: qi(n.orders[c].direction, l.direction)
4894
+ direction: Zi(n.orders[c].direction, l.direction)
4892
4895
  }));
4893
4896
  n.sortTarget = o, n.orders = i;
4894
4897
  }
4895
4898
  };
4896
4899
  }
4897
- function hc(t = !1, e = yt, r = yt) {
4900
+ function gc(t = !1, e = yt, r = yt) {
4898
4901
  const n = Vn();
4899
4902
  mt(n, (a) => {
4900
4903
  if (v(t)) {
@@ -4904,7 +4907,7 @@ function hc(t = !1, e = yt, r = yt) {
4904
4907
  }
4905
4908
  });
4906
4909
  }
4907
- const gc = (t = []) => ({
4910
+ const yc = (t = []) => ({
4908
4911
  result: [...t],
4909
4912
  filteredRowsLength: 0,
4910
4913
  isFiltered: !1,
@@ -4978,31 +4981,38 @@ const gc = (t = []) => ({
4978
4981
  groupByDays() {
4979
4982
  return this.result = Zo((e) => we(e.gameDate, "YYYY-MM-DD"))(this.result), this;
4980
4983
  }
4981
- }), yc = (t, ...e) => kt(Nr(...e))(t), vc = (t) => ({
4982
- ...t,
4983
- ...t.lastName && { name: `${t.lastName} ${t.firstName}` }
4984
- }), bc = (t) => ({
4985
- ...t,
4986
- ...t.team.id && { teamName: t.team.longName }
4987
- }), wc = (t = []) => (e) => {
4984
+ }), vc = (t, ...e) => kt(Nr(...e))(t), bc = (t) => {
4985
+ var e;
4986
+ return {
4987
+ ...t,
4988
+ ...t.lastName && t.firstName && { name: `${t.lastName} ${t.firstName}` },
4989
+ ...((e = t.player) == null ? void 0 : e.playerId) && { name: `${t.player.lastName} ${t.player.firstName}` }
4990
+ };
4991
+ }, wc = (t) => {
4992
+ var e;
4993
+ return {
4994
+ ...t,
4995
+ ...((e = t == null ? void 0 : t.team) == null ? void 0 : e.id) && { teamName: t.team.longName }
4996
+ };
4997
+ }, $c = (t = []) => (e) => {
4988
4998
  var r;
4989
4999
  return {
4990
5000
  ...e,
4991
5001
  [t]: (r = e[t]) == null ? void 0 : r.toUpperCase()
4992
5002
  };
4993
- }, $c = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = mn(e[r]) : e), e), _c = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = xi(e[r])), e), Zi = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), Sc = Rr([Zi, Pe(Gt("id")), Pe(Gt("gameId"))]), xc = (t, e) => {
5003
+ }, _c = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = mn(e[r]) : e), e), Sc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Min`] = Ti(e[r]) : e), e), xc = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = xi(e[r])), e), Xi = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), Tc = Rr([Xi, Pe(Gt("id")), Pe(Gt("gameId"))]), Pc = (t, e) => {
4994
5004
  const r = Re("gameResolver") || t;
4995
5005
  return typeof r == "function" ? r(e) : r ? r + e : Pa + e;
4996
- }, Tc = (t, e) => {
5006
+ }, Oc = (t, e) => {
4997
5007
  const r = Re("teamResolver") || t;
4998
5008
  return typeof r == "function" ? r(e) : encodeURI(r ? r + e : ka + e);
4999
- }, Pc = (t, e) => {
5009
+ }, Ac = (t, e) => {
5000
5010
  const r = Re("playerResolver") || t;
5001
5011
  return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Aa + e);
5002
5012
  }, Re = (t = "") => {
5003
5013
  var e;
5004
5014
  return (e = window == null ? void 0 : window.__MJSZ_VBR_WIDGET__) == null ? void 0 : e[t];
5005
- }, Xi = {
5015
+ }, Ji = {
5006
5016
  xmlns: "http://www.w3.org/2000/svg",
5007
5017
  viewBox: "0 0 24 24",
5008
5018
  fill: "none",
@@ -5010,32 +5020,32 @@ const gc = (t = []) => ({
5010
5020
  "stroke-width": "2",
5011
5021
  "stroke-linecap": "round",
5012
5022
  "stroke-linejoin": "round"
5013
- }, Ji = /* @__PURE__ */ P("rect", {
5023
+ }, Qi = /* @__PURE__ */ P("rect", {
5014
5024
  x: "2",
5015
5025
  y: "3",
5016
5026
  width: "20",
5017
5027
  height: "14",
5018
5028
  rx: "2",
5019
5029
  ry: "2"
5020
- }, null, -1), Qi = /* @__PURE__ */ P("line", {
5030
+ }, null, -1), tl = /* @__PURE__ */ P("line", {
5021
5031
  x1: "8",
5022
5032
  y1: "21",
5023
5033
  x2: "16",
5024
5034
  y2: "21"
5025
- }, null, -1), tl = /* @__PURE__ */ P("line", {
5035
+ }, null, -1), el = /* @__PURE__ */ P("line", {
5026
5036
  x1: "12",
5027
5037
  y1: "17",
5028
5038
  x2: "12",
5029
5039
  y2: "21"
5030
- }, null, -1), el = [
5031
- Ji,
5040
+ }, null, -1), rl = [
5032
5041
  Qi,
5033
- tl
5042
+ tl,
5043
+ el
5034
5044
  ];
5035
- function rl(t, e) {
5036
- return S(), O("svg", Xi, el);
5045
+ function nl(t, e) {
5046
+ return S(), O("svg", Ji, rl);
5037
5047
  }
5038
- const nl = { render: rl }, ol = {
5048
+ const ol = { render: nl }, al = {
5039
5049
  xmlns: "http://www.w3.org/2000/svg",
5040
5050
  viewBox: "0 0 24 24",
5041
5051
  fill: "none",
@@ -5043,27 +5053,27 @@ const nl = { render: rl }, ol = {
5043
5053
  "stroke-width": "2",
5044
5054
  "stroke-linecap": "round",
5045
5055
  "stroke-linejoin": "round"
5046
- }, al = /* @__PURE__ */ P("circle", {
5056
+ }, sl = /* @__PURE__ */ P("circle", {
5047
5057
  cx: "12",
5048
5058
  cy: "12",
5049
5059
  r: "1"
5050
- }, null, -1), sl = /* @__PURE__ */ P("circle", {
5060
+ }, null, -1), il = /* @__PURE__ */ P("circle", {
5051
5061
  cx: "12",
5052
5062
  cy: "5",
5053
5063
  r: "1"
5054
- }, null, -1), il = /* @__PURE__ */ P("circle", {
5064
+ }, null, -1), ll = /* @__PURE__ */ P("circle", {
5055
5065
  cx: "12",
5056
5066
  cy: "19",
5057
5067
  r: "1"
5058
- }, null, -1), ll = [
5059
- al,
5068
+ }, null, -1), cl = [
5060
5069
  sl,
5061
- il
5070
+ il,
5071
+ ll
5062
5072
  ];
5063
- function cl(t, e) {
5064
- return S(), O("svg", ol, ll);
5073
+ function ul(t, e) {
5074
+ return S(), O("svg", al, cl);
5065
5075
  }
5066
- const ul = { render: cl }, dl = {
5076
+ const dl = { render: ul }, fl = {
5067
5077
  xmlns: "http://www.w3.org/2000/svg",
5068
5078
  viewBox: "0 0 24 24",
5069
5079
  fill: "none",
@@ -5071,21 +5081,21 @@ const ul = { render: cl }, dl = {
5071
5081
  "stroke-width": "2",
5072
5082
  "stroke-linecap": "round",
5073
5083
  "stroke-linejoin": "round"
5074
- }, fl = /* @__PURE__ */ P("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }, null, -1), pl = /* @__PURE__ */ P("rect", {
5084
+ }, pl = /* @__PURE__ */ P("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }, null, -1), ml = /* @__PURE__ */ P("rect", {
5075
5085
  x: "8",
5076
5086
  y: "2",
5077
5087
  width: "8",
5078
5088
  height: "4",
5079
5089
  rx: "1",
5080
5090
  ry: "1"
5081
- }, null, -1), ml = [
5082
- fl,
5083
- pl
5091
+ }, null, -1), hl = [
5092
+ pl,
5093
+ ml
5084
5094
  ];
5085
- function hl(t, e) {
5086
- return S(), O("svg", dl, ml);
5095
+ function gl(t, e) {
5096
+ return S(), O("svg", fl, hl);
5087
5097
  }
5088
- const gl = { render: hl }, yl = {
5098
+ const yl = { render: gl }, vl = {
5089
5099
  xmlns: "http://www.w3.org/2000/svg",
5090
5100
  viewBox: "0 0 24 24",
5091
5101
  fill: "none",
@@ -5093,26 +5103,26 @@ const gl = { render: hl }, yl = {
5093
5103
  "stroke-width": "2",
5094
5104
  "stroke-linecap": "round",
5095
5105
  "stroke-linejoin": "round"
5096
- }, vl = /* @__PURE__ */ P("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1), bl = /* @__PURE__ */ P("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), wl = [
5097
- vl,
5098
- bl
5106
+ }, bl = /* @__PURE__ */ P("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1), wl = /* @__PURE__ */ P("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), $l = [
5107
+ bl,
5108
+ wl
5099
5109
  ];
5100
- function $l(t, e) {
5101
- return S(), O("svg", yl, wl);
5110
+ function _l(t, e) {
5111
+ return S(), O("svg", vl, $l);
5102
5112
  }
5103
- const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "is-team-name-short" }, Tl = { class: "is-team-name-long" }, Pl = { class: "is-team-name-short" }, Ol = {
5113
+ const Sl = { render: _l }, xl = { class: "is-team-name-long" }, Tl = { class: "is-team-name-short" }, Pl = { class: "is-team-name-long" }, Ol = { class: "is-team-name-short" }, Al = {
5104
5114
  key: 0,
5105
5115
  class: "is-text-dark"
5106
- }, Al = ["href", "target"], kl = {
5116
+ }, kl = ["href", "target"], Ml = {
5107
5117
  key: 0,
5108
5118
  class: "label"
5109
- }, Ml = {
5119
+ }, Dl = {
5110
5120
  key: 1,
5111
5121
  class: "label"
5112
- }, Dl = {
5122
+ }, Ll = {
5113
5123
  key: 2,
5114
5124
  class: "label"
5115
- }, Ll = { key: 1 }, El = ["onClick", "onFocus", "onBlur"], Il = { class: "is-dropdown-menu" }, zl = ["href", "target"], Nl = { key: 0 }, Cl = ["href"], Oc = {
5125
+ }, El = { key: 1 }, Il = ["onClick", "onFocus", "onBlur"], zl = { class: "is-dropdown-menu" }, Nl = ["href", "target"], Cl = { key: 0 }, Gl = ["href"], kc = {
5116
5126
  __name: "ScheduleTable",
5117
5127
  props: {
5118
5128
  rows: {
@@ -5142,7 +5152,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5142
5152
  },
5143
5153
  setup(t) {
5144
5154
  const e = t, r = H(null), { onError: n } = en(), { columns: a, error: o } = hn(
5145
- Fi,
5155
+ Bi,
5146
5156
  q(() => e.hideColumns),
5147
5157
  q(() => ({
5148
5158
  offsetName: e.offsetName
@@ -5171,12 +5181,12 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5171
5181
  "append-to": r.value || c
5172
5182
  }, {
5173
5183
  "cell-homeTeamName": G(({ row: p }) => [
5174
- P("span", Sl, z(p.homeTeam.longName), 1),
5175
- P("span", xl, z(p.homeTeam.shortName), 1)
5184
+ P("span", xl, z(p.homeTeam.longName), 1),
5185
+ P("span", Tl, z(p.homeTeam.shortName), 1)
5176
5186
  ]),
5177
5187
  "cell-awayTeamName": G(({ row: p }) => [
5178
- P("span", Tl, z(p.awayTeam.longName), 1),
5179
- P("span", Pl, z(p.awayTeam.shortName), 1)
5188
+ P("span", Pl, z(p.awayTeam.longName), 1),
5189
+ P("span", Ol, z(p.awayTeam.shortName), 1)
5180
5190
  ]),
5181
5191
  "cell-homeTeamLogo": G(({ row: p }) => [
5182
5192
  (S(), at(It, {
@@ -5193,20 +5203,20 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5193
5203
  }, null, 8, ["src"]))
5194
5204
  ]),
5195
5205
  "cell-gameResult": G(({ row: p }) => [
5196
- p.gameStatus === 0 ? (S(), O("span", Ol, "-:-")) : (S(), O("a", {
5206
+ p.gameStatus === 0 ? (S(), O("span", Al, "-:-")) : (S(), O("a", {
5197
5207
  key: 1,
5198
5208
  href: t.externalGameResolver(p.gameId),
5199
5209
  target: t.externalGameResolverTarget,
5200
5210
  class: J({ "is-text-dark": p.gameStatus !== 1, "is-text-accent": p.gameStatus === 1 })
5201
- }, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11, Al))
5211
+ }, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11, kl))
5202
5212
  ]),
5203
5213
  "cell-gameResultType": G(({ row: p }) => [
5204
- p.isOvertime ? (S(), O("span", kl, z(v(s)("common.overtimeShort")), 1)) : X("", !0),
5205
- p.isShootout ? (S(), O("span", Ml, z(v(s)("common.shootoutShort")), 1)) : X("", !0),
5206
- p.seriesStandings ? (S(), O("span", Dl, z(p.seriesStandings), 1)) : X("", !0)
5214
+ p.isOvertime ? (S(), O("span", Ml, z(v(s)("common.overtimeShort")), 1)) : X("", !0),
5215
+ p.isShootout ? (S(), O("span", Dl, z(v(s)("common.shootoutShort")), 1)) : X("", !0),
5216
+ p.seriesStandings ? (S(), O("span", Ll, z(p.seriesStandings), 1)) : X("", !0)
5207
5217
  ]),
5208
5218
  "cell-broadcast": G(({ row: p }) => [
5209
- p.broadcast ? (S(), at(v(nl), { key: 0 })) : (S(), O("span", Ll))
5219
+ p.broadcast ? (S(), at(v(ol), { key: 0 })) : (S(), O("span", El))
5210
5220
  ]),
5211
5221
  "cell-location": G(({ row: p }) => {
5212
5222
  var f;
@@ -5228,30 +5238,30 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5228
5238
  onFocus: u,
5229
5239
  onBlur: d
5230
5240
  }, [
5231
- nt(v(ul))
5232
- ], 40, El)
5241
+ nt(v(dl))
5242
+ ], 40, Il)
5233
5243
  ]),
5234
5244
  content: G(() => [
5235
- P("ul", Il, [
5245
+ P("ul", zl, [
5236
5246
  P("li", null, [
5237
5247
  P("a", {
5238
5248
  href: t.externalGameResolver(p.gameId),
5239
5249
  class: "is-dropdown-item",
5240
5250
  target: t.externalGameResolverTarget
5241
5251
  }, [
5242
- nt(v(gl), { width: "14" }),
5252
+ nt(v(yl), { width: "14" }),
5243
5253
  gt(" " + z(v(s)("common.report")), 1)
5244
- ], 8, zl)
5254
+ ], 8, Nl)
5245
5255
  ]),
5246
- p.video ? (S(), O("li", Nl, [
5256
+ p.video ? (S(), O("li", Cl, [
5247
5257
  P("a", {
5248
5258
  href: p.video,
5249
5259
  class: "is-dropdown-item",
5250
5260
  target: "_blank"
5251
5261
  }, [
5252
- nt(v(_l), { width: "14" }),
5262
+ nt(v(Sl), { width: "14" }),
5253
5263
  gt(" " + z(v(s)("common.video")), 1)
5254
- ], 8, Cl)
5264
+ ], 8, Gl)
5255
5265
  ])) : X("", !0)
5256
5266
  ])
5257
5267
  ]),
@@ -5272,7 +5282,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5272
5282
  }, null, 512)
5273
5283
  ], 64));
5274
5284
  }
5275
- }, Gl = { class: "g-row" }, Rl = ["value"], jl = { key: 0 }, Fl = ["onClick"], Ac = {
5285
+ }, Rl = { class: "g-row" }, jl = ["value"], Fl = { key: 0 }, Bl = ["onClick"], Mc = {
5276
5286
  __name: "SeasonSelector",
5277
5287
  props: {
5278
5288
  seasons: {
@@ -5310,7 +5320,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5310
5320
  e("onChangeSection", s);
5311
5321
  }
5312
5322
  return (s, i) => (S(), O(ct, null, [
5313
- P("div", Gl, [
5323
+ P("div", Rl, [
5314
5324
  P("div", null, [
5315
5325
  P("label", {
5316
5326
  for: "season",
@@ -5325,26 +5335,26 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5325
5335
  (S(!0), O(ct, null, Pt(t.seasons, (l) => (S(), O("option", {
5326
5336
  key: l.championshipId,
5327
5337
  value: l.championshipId
5328
- }, z(l.seasonName), 9, Rl))), 128))
5338
+ }, z(l.seasonName), 9, jl))), 128))
5329
5339
  ]),
5330
5340
  _: 1
5331
5341
  }, 8, ["modelValue"])
5332
5342
  ])
5333
5343
  ]),
5334
- t.isSectionSelectionDisabled ? X("", !0) : (S(), O("div", jl, [
5344
+ t.isSectionSelectionDisabled ? X("", !0) : (S(), O("div", Fl, [
5335
5345
  (S(!0), O(ct, null, Pt(t.sections, (l) => (S(), O("button", {
5336
5346
  key: l.phaseId,
5337
5347
  onClick: (c) => o(l),
5338
5348
  class: J([v(_t)("tab-button"), { "is-active": l.sectionId === t.sectionId }])
5339
- }, z(l.sectionName), 11, Fl))), 128))
5349
+ }, z(l.sectionName), 11, Bl))), 128))
5340
5350
  ]))
5341
5351
  ], 64));
5342
5352
  }
5343
- }, Bl = {};
5344
- function Vl(t, e) {
5353
+ }, Vl = {};
5354
+ function Hl(t, e) {
5345
5355
  return S(), O("div", null, " Test-8 ");
5346
5356
  }
5347
- const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
5357
+ const Dc = /* @__PURE__ */ rn(Vl, [["render", Hl]]), Lc = {
5348
5358
  locale: {
5349
5359
  type: String,
5350
5360
  default: "hu"
@@ -5365,7 +5375,7 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
5365
5375
  type: String,
5366
5376
  default: ""
5367
5377
  }
5368
- }, Hl = {
5378
+ }, Yl = {
5369
5379
  externalTeamLink: {
5370
5380
  type: [String, Function],
5371
5381
  default: ""
@@ -5374,7 +5384,7 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
5374
5384
  type: Boolean,
5375
5385
  default: !1
5376
5386
  }
5377
- }, Dc = {
5387
+ }, Ec = {
5378
5388
  limit: {
5379
5389
  type: Number,
5380
5390
  default: 20
@@ -5391,8 +5401,8 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
5391
5401
  type: Boolean,
5392
5402
  default: !1
5393
5403
  },
5394
- ...Hl
5395
- }, Lc = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
5404
+ ...Yl
5405
+ }, Ic = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
5396
5406
  if (window.__MJSZ_VBR_WIDGET__ = { apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }, t.length === 0)
5397
5407
  throw new Error("At least one module must be set");
5398
5408
  t.forEach((o) => {
@@ -5404,83 +5414,85 @@ const kc = /* @__PURE__ */ rn(Bl, [["render", Vl]]), Mc = {
5404
5414
  export {
5405
5415
  Da as AVAILABLE_TIMEZONES_BY_COUNTRY,
5406
5416
  On as BaseSelect,
5407
- oc as COLUMNS_FIELD_PLAYERS,
5408
- ac as COLUMNS_FIELD_PLAYERS_PENALTY,
5409
- sc as COLUMNS_GOALIES,
5410
- Fi as COLUMNS_SCHEDULE,
5411
- dc as COLUMNS_SCORING_EFFICIENCY,
5412
- nc as COLUMNS_STANDINGS_P_2,
5413
- rc as COLUMNS_STANDINGS_P_3,
5414
- lc as COLUMNS_TEAMS_FAIRPLAY,
5415
- cc as COLUMNS_TEAMS_PENALTY_KILLING,
5416
- uc as COLUMNS_TEAMS_POWERPLAY,
5417
- ic as COLUMNS_TEAM_ATTENDANCE,
5417
+ ac as COLUMNS_FIELD_PLAYERS,
5418
+ sc as COLUMNS_FIELD_PLAYERS_PENALTY,
5419
+ ic as COLUMNS_GOALIES,
5420
+ Bi as COLUMNS_SCHEDULE,
5421
+ fc as COLUMNS_SCORING_EFFICIENCY,
5422
+ oc as COLUMNS_STANDINGS_P_2,
5423
+ nc as COLUMNS_STANDINGS_P_3,
5424
+ cc as COLUMNS_TEAMS_FAIRPLAY,
5425
+ uc as COLUMNS_TEAMS_PENALTY_KILLING,
5426
+ dc as COLUMNS_TEAMS_POWERPLAY,
5427
+ lc as COLUMNS_TEAM_ATTENDANCE,
5418
5428
  Pa as DEFAULT_EXTERNAL_BASE_URL,
5419
5429
  Aa as DEFAULT_EXTERNAL_PLAYER_URL,
5420
5430
  ka as DEFAULT_EXTERNAL_TEAM_URL,
5421
5431
  Oa as DEFAULT_PORTRAIT_IMAGE_URL,
5422
5432
  Qr as DataTable,
5423
- Wl as ErrorNotice,
5424
- Kl as ErrorProvider,
5433
+ Kl as ErrorNotice,
5434
+ ql as ErrorProvider,
5425
5435
  Jr as FloatingPanel,
5426
- ql as I18NProvider,
5436
+ Zl as I18NProvider,
5427
5437
  It as Image,
5428
- tc as InvalidSeasonName,
5438
+ ec as InvalidSeasonName,
5429
5439
  La as LAZY_LOADING_STATE_DELAY,
5430
5440
  Ma as LOCALE_FOR_LANG,
5431
5441
  nn as LoadingIndicator,
5432
- Zl as Paginator,
5433
- Ul as REFRESH_DELAY,
5442
+ Xl as Paginator,
5443
+ Wl as REFRESH_DELAY,
5434
5444
  on as ResponsiveTable,
5435
5445
  j as SORT_STATE_ASCEND,
5436
5446
  y as SORT_STATE_DESCEND,
5437
5447
  wt as SORT_STATE_ORIGINAL,
5438
- Oc as ScheduleTable,
5439
- Ac as SeasonSelector,
5440
- ec as StatisticsTable,
5441
- kc as Test,
5442
- Ql as TimezoneSelector,
5448
+ kc as ScheduleTable,
5449
+ Mc as SeasonSelector,
5450
+ rc as StatisticsTable,
5451
+ Dc as Test,
5452
+ tc as TimezoneSelector,
5443
5453
  ie as UndefinedColumn,
5444
5454
  Ta as VBR_API_BASE_URL,
5445
5455
  gn as WidgetError,
5446
5456
  cs as appendTo,
5447
- Mc as baseProps,
5448
- gc as convert,
5457
+ Lc as baseProps,
5458
+ yc as convert,
5459
+ Ti as convertMinToMinSec,
5449
5460
  mn as convertMinToSec,
5450
5461
  xi as convertSecToMin,
5451
- $c as convertTimes,
5452
- _c as convertTimesSecToMin,
5453
- Lc as createConfig,
5462
+ _c as convertTimes,
5463
+ Sc as convertTimesMinToMinSec,
5464
+ xc as convertTimesSecToMin,
5465
+ Ic as createConfig,
5454
5466
  $a as createI18n,
5455
- xc as externalGameLinkResolver,
5456
- Pc as externalPlayerLinkResolver,
5457
- Tc as externalTeamLinkResolver,
5458
- Bi as fetchVBRData,
5467
+ Pc as externalGameLinkResolver,
5468
+ Ac as externalPlayerLinkResolver,
5469
+ Oc as externalTeamLinkResolver,
5470
+ Vi as fetchVBRData,
5459
5471
  we as format,
5460
5472
  _i as getLocalTimezone,
5461
5473
  xa as i18n,
5462
- Xl as isBetween,
5463
- Jl as isSame,
5464
- Ti as isSameOrBefore,
5474
+ Jl as isBetween,
5475
+ Ql as isSame,
5476
+ Pi as isSameOrBefore,
5465
5477
  Jt as offsetName,
5466
- vc as playerName,
5467
- Dc as playerStatsProps,
5468
- yc as rawConvert,
5469
- Sc as sortGames,
5478
+ bc as playerName,
5479
+ Ec as playerStatsProps,
5480
+ vc as rawConvert,
5481
+ Tc as sortGames,
5470
5482
  dr as stringPadLeft,
5471
- bc as teamName,
5472
- Hl as teamStatsProps,
5483
+ wc as teamName,
5484
+ Yl as teamStatsProps,
5473
5485
  Ts as toKebabCase,
5474
- wc as upperCase,
5486
+ $c as upperCase,
5475
5487
  hn as useColumns,
5476
5488
  en as useError,
5477
5489
  Ps as useErrorProvider,
5478
5490
  Dt as useI18n,
5479
5491
  Zn as useLazyLoadingState,
5480
5492
  _t as useMainClass,
5481
- fc as usePage,
5482
- pc as useServices,
5483
- mc as useSort,
5484
- hc as useVisibilityChange,
5485
- Oi as validateColumnsName
5493
+ pc as usePage,
5494
+ mc as useServices,
5495
+ hc as useSort,
5496
+ gc as useVisibilityChange,
5497
+ Ai as validateColumnsName
5486
5498
  };